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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33371d55c6d953c8d210b52621050f6fbdcb22e3 | 4,119 | cc | C++ | cpp/src/arrow/testing/generator.cc | timkpaine/arrow | a96297e65e17e728e4321cdecc7ace146e1363fb | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 9,734 | 2016-02-17T13:22:12.000Z | 2022-03-31T09:35:00.000Z | cpp/src/arrow/testing/generator.cc | timkpaine/arrow | a96297e65e17e728e4321cdecc7ace146e1363fb | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 11,470 | 2016-02-19T15:30:28.000Z | 2022-03-31T23:27:21.000Z | cpp/src/arrow/testing/generator.cc | XpressAI/arrow | eafd885e06f6bbc1eb169ed64016f804c1810bec | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 2,637 | 2016-02-17T10:56:29.000Z | 2022-03-31T08:20:13.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 37.108108 | 90 | 0.705511 | timkpaine |
333842bdc5e627c3a5cd7ec03cfda40bada3e80b | 23,696 | cc | C++ | caffe2/utils/proto_utils.cc | deltabravozulu/pytorch | c6eef589971e45bbedacc7f65533d1b8f80a6895 | [
"Intel"
] | null | null | null | caffe2/utils/proto_utils.cc | deltabravozulu/pytorch | c6eef589971e45bbedacc7f65533d1b8f80a6895 | [
"Intel"
] | 1 | 2021-04-12T19:49:08.000Z | 2021-04-12T19:49:08.000Z | caffe2/utils/proto_utils.cc | deltabravozulu/pytorch | c6eef589971e45bbedacc7f65533d1b8f80a6895 | [
"Intel"
] | 1 | 2022-02-23T02:34:50.000Z | 2022-02-23T02:34:50.000Z | #include "caffe2/utils/proto_utils.h"
#include <c10/core/DeviceType.h>
#include <fcntl.h>
#include <cerrno>
#include <fstream>
#include <unordered_set>
#include <google/protobuf/io/coded_stream.h>
#ifndef CAFFE2_USE_LITE_PROTO
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/text_form... | 33.803138 | 115 | 0.606516 | deltabravozulu |
3338b8f28b4a7cab27a2275623972b7ccd6a5711 | 13,992 | cpp | C++ | src/CardScanner.cpp | DarkMaguz/ccg-scanner-gtk2 | 5a1e5b63884e0f8e73467db39c9a1d194124eba4 | [
"MIT"
] | null | null | null | src/CardScanner.cpp | DarkMaguz/ccg-scanner-gtk2 | 5a1e5b63884e0f8e73467db39c9a1d194124eba4 | [
"MIT"
] | null | null | null | src/CardScanner.cpp | DarkMaguz/ccg-scanner-gtk2 | 5a1e5b63884e0f8e73467db39c9a1d194124eba4 | [
"MIT"
] | null | null | null | /*
* CardScanner.cpp
*
* Created on: 18/10/2014
* Author: magnus
*/
#include "CardScanner.h"
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <mysql++.h>
#include <ssqls.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
CardScanner::CardScanner() :
m_... | 28.496945 | 203 | 0.658162 | DarkMaguz |
3338e39d62c0d3f9024b522efb11518c16cda176 | 2,573 | cpp | C++ | 2015/14/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | 2015/14/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | 2015/14/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <regex>
#include <string>
#include <vector>
struct Reindeer {
long speed;
long flying_duration;
long resting_duration;
long cycle_duration;
Reindeer(long speed, long flying_duration, long resting_duration)
: speed(speed)
, flying_duration(f... | 27.967391 | 144 | 0.647882 | adrian-stanciu |
333942a730724d50cb03a147c0f0b02f250a3c1a | 607 | cpp | C++ | src/util/MetricResetter.cpp | tangchain/tang-core | b112fc43f7df6153406810fc0ffb6676418d20c8 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/util/MetricResetter.cpp | tangchain/tang-core | b112fc43f7df6153406810fc0ffb6676418d20c8 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/util/MetricResetter.cpp | tangchain/tang-core | b112fc43f7df6153406810fc0ffb6676418d20c8 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "MetricResetter.h"
namespace tang
{
void
MetricResetter::Process(medida::Counter& co... | 17.852941 | 75 | 0.729819 | tangchain |
333aacf72fd8676fd37eab6f4aa331996e2c9ea3 | 9,396 | cpp | C++ | src/webots/app/WbPhysicsVectorRepresentation.cpp | victorhu3/webots | 60d173850f0b4714c500db004e69f2df8cfb9e8a | [
"Apache-2.0"
] | 1 | 2020-06-08T13:38:11.000Z | 2020-06-08T13:38:11.000Z | src/webots/app/WbPhysicsVectorRepresentation.cpp | victorhu3/webots | 60d173850f0b4714c500db004e69f2df8cfb9e8a | [
"Apache-2.0"
] | 2 | 2020-05-18T12:49:14.000Z | 2020-12-01T15:13:43.000Z | src/webots/app/WbPhysicsVectorRepresentation.cpp | victorhu3/webots | 60d173850f0b4714c500db004e69f2df8cfb9e8a | [
"Apache-2.0"
] | 1 | 2022-02-25T12:34:18.000Z | 2022-02-25T12:34:18.000Z | // Copyright 1996-2020 Cyberbotics Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 40.32618 | 120 | 0.760324 | victorhu3 |
333acef27caf2e124f6cd65a8810be545b94daae | 2,040 | cc | C++ | content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc | hujiajie/pa-chromium | 1816ff80336a6efd1616f9e936880af460b1e105 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"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 "content/renderer/fetchers/multi_resolution_image_resource_fetcher.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "third_... | 32.380952 | 78 | 0.726471 | hujiajie |
333b2768e6a9432fc193618bd65d5257af3680f1 | 290 | hpp | C++ | admin/cys/mys/setcomerror.hpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/cys/mys/setcomerror.hpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/cys/mys/setcomerror.hpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // Copyright (C) 1999-2000 Microsoft Corporation
//
// SetComError routines
//
// sburns 5-3-99
void
SetComError(
const String& desciption,
DWORD helpContext = 0);
void
SetComError(
unsigned descriptionMessageResID,
DWORD helpContext = 0);
| 14.5 | 49 | 0.631034 | npocmaka |
333cde17578ece8e8c733b49b5adf58a9d21593b | 2,243 | cc | C++ | deps/lcb/src/metrics/metrics-internal.cc | florinspataru1/couchnode | b6e8f7b835388d9d47b8fca0e1181e9e4267f89a | [
"Apache-2.0"
] | 329 | 2015-01-11T20:16:03.000Z | 2022-03-21T02:21:55.000Z | deps/lcb/src/metrics/metrics-internal.cc | florinspataru1/couchnode | b6e8f7b835388d9d47b8fca0e1181e9e4267f89a | [
"Apache-2.0"
] | 108 | 2017-01-27T15:00:32.000Z | 2021-12-06T15:06:47.000Z | deps/lcb/src/metrics/metrics-internal.cc | florinspataru1/couchnode | b6e8f7b835388d9d47b8fca0e1181e9e4267f89a | [
"Apache-2.0"
] | 181 | 2015-01-06T13:10:12.000Z | 2022-03-21T07:00:26.000Z | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2011-2020 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 35.046875 | 111 | 0.68346 | florinspataru1 |
333fbefc53ee6cdf578bb113b9fcc4958e42adca | 11,179 | cpp | C++ | native/avlib/src/WinMMDevice.cpp | Fry98/fx-rack | f2094d60857ec466e85d8f2bce656d547dcb8cde | [
"MIT"
] | null | null | null | native/avlib/src/WinMMDevice.cpp | Fry98/fx-rack | f2094d60857ec466e85d8f2bce656d547dcb8cde | [
"MIT"
] | null | null | null | native/avlib/src/WinMMDevice.cpp | Fry98/fx-rack | f2094d60857ec466e85d8f2bce656d547dcb8cde | [
"MIT"
] | null | null | null | /**
* @file WinMMDevice.cpp
*
* @date 19.1.2013
* @author Zdenek Travnicek <travnicek@iim.cz>
* @copyright GNU Public License 3.0
*
*/
#include "iimavlib/WinMMDevice.h"
#include "iimavlib/Utils.h"
#include <map>
#include <stdexcept>
#include <algorithm>
#pragma comment(lib, "winmm.lib")
namespace iimavlib {... | 34.291411 | 133 | 0.726451 | Fry98 |
33406282fb9e979e26e578f4f54eac7a8a9508a9 | 12,055 | cpp | C++ | be/src/olap/column_vector.cpp | stgztsw/incubator-doris | f622ce0497bea35e05bc67708e15d7eb2f271f3a | [
"Apache-2.0"
] | 1 | 2022-03-09T03:37:21.000Z | 2022-03-09T03:37:21.000Z | be/src/olap/column_vector.cpp | stgztsw/incubator-doris | f622ce0497bea35e05bc67708e15d7eb2f271f3a | [
"Apache-2.0"
] | null | null | null | be/src/olap/column_vector.cpp | stgztsw/incubator-doris | f622ce0497bea35e05bc67708e15d7eb2f271f3a | [
"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"); you may... | 42.15035 | 115 | 0.624637 | stgztsw |
3340762e762e7f0220a3c5b2abeaccb21c930924 | 4,435 | cpp | C++ | src/luaruntime/LuaRuntime.cpp | Dreae/SourceLua | 5737eaf3d77bbd715b258df78ab101265890662c | [
"Apache-2.0"
] | null | null | null | src/luaruntime/LuaRuntime.cpp | Dreae/SourceLua | 5737eaf3d77bbd715b258df78ab101265890662c | [
"Apache-2.0"
] | null | null | null | src/luaruntime/LuaRuntime.cpp | Dreae/SourceLua | 5737eaf3d77bbd715b258df78ab101265890662c | [
"Apache-2.0"
] | null | null | null | #include "luaruntime/LuaRuntime.hpp"
#include "luaruntime/lualibs/Server.hpp"
#include "luaruntime/lualibs/Curl.hpp"
LuaRuntime g_LuaRuntime;
LuaRuntime::LuaRuntime() {
L = luaL_newstate();
this->basePath = new char[PATH_MAX];
}
void LuaRuntime::OnPluginStart() {
const char *gameDir = g_SMAPI->GetBaseDir();
... | 27.71875 | 109 | 0.660203 | Dreae |
33415069ea6176d20da69d149d1e6ae99054abc0 | 136 | cpp | C++ | src/examples/04_module/01_bank/checking_account.cpp | acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-HienVuong-1337 | d3ea38455829954cd558b8a1c1aa70416d50efd0 | [
"MIT"
] | null | null | null | src/examples/04_module/01_bank/checking_account.cpp | acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-HienVuong-1337 | d3ea38455829954cd558b8a1c1aa70416d50efd0 | [
"MIT"
] | null | null | null | src/examples/04_module/01_bank/checking_account.cpp | acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-HienVuong-1337 | d3ea38455829954cd558b8a1c1aa70416d50efd0 | [
"MIT"
] | null | null | null | //checking_account.cpp
#include "checking_account.h"
int CheckingAccount::get_balance() const
{
return BankAccount::get_balance();
}
| 15.111111 | 40 | 0.772059 | acc-cosc-1337-fall-2019 |
33417393672a3e71dca1c67200d26f6f5b120408 | 7,788 | cc | C++ | MELA/src/MELANCSpline_1D_fast.cc | mostafa1993/JHUGenMELA | a28f39043d98319f1f27493cf899a13646221eda | [
"Apache-2.0"
] | null | null | null | MELA/src/MELANCSpline_1D_fast.cc | mostafa1993/JHUGenMELA | a28f39043d98319f1f27493cf899a13646221eda | [
"Apache-2.0"
] | 8 | 2020-10-02T20:02:44.000Z | 2022-01-19T15:41:05.000Z | MELA/src/MELANCSpline_1D_fast.cc | mostafa1993/JHUGenMELA | a28f39043d98319f1f27493cf899a13646221eda | [
"Apache-2.0"
] | 11 | 2020-10-07T17:15:30.000Z | 2022-03-19T10:41:52.000Z | #include "MELANCSpline_1D_fast.h"
#include <cmath>
#include "TMath.h"
#include "Riostream.h"
#include "RooAbsReal.h"
using namespace TMath;
using namespace RooFit;
using namespace std;
using namespace TNumericUtil;
ClassImp(MELANCSpline_1D_fast)
MELANCSpline_1D_fast::MELANCSpline_1D_fast() :
MELANCSplineCore()... | 34.157895 | 204 | 0.681947 | mostafa1993 |
334373b4db55f6022451cb91b33ee31d50e70b6e | 5,586 | cpp | C++ | iceoryx_utils/test/moduletests/test_index_queue_unique_index.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | null | null | null | iceoryx_utils/test/moduletests/test_index_queue_unique_index.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | null | null | null | iceoryx_utils/test/moduletests/test_index_queue_unique_index.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | 1 | 2020-04-06T04:56:24.000Z | 2020-04-06T04:56:24.000Z | // Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 26.102804 | 86 | 0.712137 | surendra210 |
334500b5c95f180949beb4ad0514e693500d552b | 5,210 | hh | C++ | source/neuropod/multiprocess/mq/ipc_message_queue.hh | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 887 | 2020-06-08T16:10:28.000Z | 2022-03-27T21:55:43.000Z | source/neuropod/multiprocess/mq/ipc_message_queue.hh | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 150 | 2020-06-09T10:43:15.000Z | 2022-03-30T02:48:39.000Z | source/neuropod/multiprocess/mq/ipc_message_queue.hh | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 70 | 2020-06-08T18:43:12.000Z | 2022-03-18T20:37:51.000Z | /* Copyright (c) 2020 UATC, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | 33.612903 | 107 | 0.750864 | qiyanz |
334701b8bda119ec30e0aa624ee8a57e77ca526a | 25,448 | cpp | C++ | src/libtsduck/dtv/tsNames.cpp | ASTRO-Strobel/tsduck | f1da3d49df35b3d9740fb2c8031c92d0f261829a | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/tsNames.cpp | ASTRO-Strobel/tsduck | f1da3d49df35b3d9740fb2c8031c92d0f261829a | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/tsNames.cpp | ASTRO-Strobel/tsduck | f1da3d49df35b3d9740fb2c8031c92d0f261829a | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 35.591608 | 167 | 0.562009 | ASTRO-Strobel |
3348ba349334df652784ce461727725f95bf804c | 5,636 | cc | C++ | tpccbench/src/randomgenerator.cc | mkatsa/PENVMTool | c63de91036cd84d36cd8ac54f2033ea141a292dc | [
"Apache-2.0"
] | 1 | 2022-03-22T15:16:56.000Z | 2022-03-22T15:16:56.000Z | tpccbench/src/randomgenerator.cc | mkatsa/PENVMTool | c63de91036cd84d36cd8ac54f2033ea141a292dc | [
"Apache-2.0"
] | null | null | null | tpccbench/src/randomgenerator.cc | mkatsa/PENVMTool | c63de91036cd84d36cd8ac54f2033ea141a292dc | [
"Apache-2.0"
] | null | null | null | #include "randomgenerator.h"
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include "assert.h"
namespace tpcc
{
NURandC NURandC::makeRandom(RandomGenerator *generator)
{
NURandC c;
c.c_last_ = generator->number(0, 255);
c.c_id_ = generator->number(0, 1023)... | 24.719298 | 99 | 0.599006 | mkatsa |
3348d8d81436aab611d0eb640e00ba1c59e3b35d | 1,886 | cpp | C++ | src/Graphics/Shader/ShaderManager.cpp | chrismile/sgl | 03748cadbd1661285081c47775213091b665cb86 | [
"MIT",
"Unlicense",
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2018-10-20T19:13:10.000Z | 2021-08-17T01:45:10.000Z | src/Graphics/Shader/ShaderManager.cpp | chrismile/sgl | 03748cadbd1661285081c47775213091b665cb86 | [
"MIT",
"Unlicense",
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-10-20T20:56:13.000Z | 2022-03-28T20:32:46.000Z | src/Graphics/Shader/ShaderManager.cpp | chrismile/sgl | 03748cadbd1661285081c47775213091b665cb86 | [
"MIT",
"Unlicense",
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-12-01T13:02:58.000Z | 2021-08-24T06:39:46.000Z | /*
* BSD 2-Clause License
*
* Copyright (c) 2015, Christoph Neuhauser
* 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 ... | 40.12766 | 120 | 0.770414 | chrismile |
334b46165bd882a4a1837fc0dc4dcb4bf2cfeae8 | 3,782 | hpp | C++ | src/HF_pure.hpp | ahmadadam96/Hackflight | a733930e10aeb28085367c63a74d2161935f3caf | [
"MIT"
] | null | null | null | src/HF_pure.hpp | ahmadadam96/Hackflight | a733930e10aeb28085367c63a74d2161935f3caf | [
"MIT"
] | null | null | null | src/HF_pure.hpp | ahmadadam96/Hackflight | a733930e10aeb28085367c63a74d2161935f3caf | [
"MIT"
] | null | null | null | /*
Core Hackflight class
Copyright (c) 2021 Simon D. Levy
MIT License
*/
#pragma once
#include "HF_sensor.hpp"
#include "HF_board.hpp"
#include "HF_pidtask.hpp"
#include "HF_pidcontroller.hpp"
#include "HF_receiver.hpp"
#include "HF_mixer.hpp"
#include "HF_state.hpp"
#include "HF_update_scheduler.hpp"
na... | 30.5 | 99 | 0.52459 | ahmadadam96 |
334c89eff71929f2cb27bc6978dfc403e26e8198 | 4,210 | cpp | C++ | ZibenEngine/Source/Renderer/VertexArray.cpp | NavkaGleb/Ziben | 6729a74a67aea8e780e958438642895e27043745 | [
"MIT"
] | 3 | 2021-06-10T05:59:09.000Z | 2021-06-10T18:29:02.000Z | ZibenEngine/Source/Renderer/VertexArray.cpp | navkagleb/Ziben | 6729a74a67aea8e780e958438642895e27043745 | [
"MIT"
] | null | null | null | ZibenEngine/Source/Renderer/VertexArray.cpp | navkagleb/Ziben | 6729a74a67aea8e780e958438642895e27043745 | [
"MIT"
] | null | null | null | #include "VertexArray.hpp"
namespace Ziben {
Ref<VertexArray> VertexArray::Create() {
return CreateRef<VertexArray>();
}
void VertexArray::Bind(const Ref<VertexArray>& vertexArray) {
ZIBEN_PROFILE_FUNCTION();
glBindVertexArray(vertexArray->m_Handle);
}
void VertexArray::... | 32.890625 | 102 | 0.517102 | NavkaGleb |
334ca67864c0900db9476eea85254248cb258a68 | 417 | cpp | C++ | C++/problem0766.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0766.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0766.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | class Solution {
public:
bool isToeplitzMatrix(vector<vector<int>>& matrix) {
int m = matrix.size(), n = matrix[0].size();
for (int i = 1; i < m; ++i)
{
for (int j = 1; j < n; ++j)
{
if (matrix[i][j] != matrix[i - 1][j - 1])
{
... | 23.166667 | 57 | 0.357314 | 1050669722 |
334e7d49f8db548a51cb913417dbf677b37471b2 | 2,718 | cc | C++ | src/atlas/grid/detail/pl/classic_gaussian/N400.cc | mlange05/atlas | d8198435a9e39fbf67bfc467fe734203414af608 | [
"Apache-2.0"
] | null | null | null | src/atlas/grid/detail/pl/classic_gaussian/N400.cc | mlange05/atlas | d8198435a9e39fbf67bfc467fe734203414af608 | [
"Apache-2.0"
] | null | null | null | src/atlas/grid/detail/pl/classic_gaussian/N400.cc | mlange05/atlas | d8198435a9e39fbf67bfc467fe734203414af608 | [
"Apache-2.0"
] | null | null | null | // TL799
#include "N.h"
namespace atlas {
namespace grid {
namespace detail {
namespace pl {
namespace classic_gaussian {
DEFINE_POINTS_PER_LATITUDE(
400,
LIST( 18, 25, 32, 40, 45, 50, 60, 60, 72, 72, 75, 81, 90, 96, 100, 108, 120, 120, 125, 128, 144, 144, 150, 160, 160,
180, 180, 192, 192, 200, 20... | 67.95 | 120 | 0.598602 | mlange05 |
33506923fe1a77601d513acc3218f566d177d33a | 19,674 | hpp | C++ | nano/node/lmdb.hpp | grendias/NANO-1 | 98d04d2579214ac5215c01488cdba5c2b3f76ea7 | [
"BSD-2-Clause"
] | null | null | null | nano/node/lmdb.hpp | grendias/NANO-1 | 98d04d2579214ac5215c01488cdba5c2b3f76ea7 | [
"BSD-2-Clause"
] | null | null | null | nano/node/lmdb.hpp | grendias/NANO-1 | 98d04d2579214ac5215c01488cdba5c2b3f76ea7 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
#include <lmdb/libraries/liblmdb/lmdb.h>
#include <nano/lib/config.hpp>
#include <nano/lib/numbers.hpp>
#include <nano/node/logging.hpp>
#include <nano/secure/blockstore.hpp>
#include <nano/secure/common.hpp>
#include <thread>
namespace nano... | 45.753488 | 174 | 0.742045 | grendias |
3351c853ca3396f3e30718bc0ff434b084e64489 | 3,491 | cpp | C++ | src/engine/guidance/verbosity_reduction.cpp | EricWang1hitsz/osrm-backend | ff1af413d6c78f8e454584fe978d5468d984d74a | [
"BSD-2-Clause"
] | 4,526 | 2015-01-01T15:31:00.000Z | 2022-03-31T17:33:49.000Z | src/engine/guidance/verbosity_reduction.cpp | wsx9527/osrm-backend | 1e70b645e480946dad313b67f6a7d331baecfe3c | [
"BSD-2-Clause"
] | 4,497 | 2015-01-01T15:29:12.000Z | 2022-03-31T19:19:35.000Z | src/engine/guidance/verbosity_reduction.cpp | wsx9527/osrm-backend | 1e70b645e480946dad313b67f6a7d331baecfe3c | [
"BSD-2-Clause"
] | 3,023 | 2015-01-01T18:40:53.000Z | 2022-03-30T13:30:46.000Z | #include "engine/guidance/verbosity_reduction.hpp"
#include "engine/guidance/collapsing_utility.hpp"
#include <boost/assert.hpp>
#include <iterator>
namespace osrm
{
namespace engine
{
namespace guidance
{
using namespace osrm::guidance;
std::vector<RouteStep> suppressShortNameSegments(std::vector<RouteStep> steps)
... | 38.362637 | 99 | 0.642796 | EricWang1hitsz |
3353afd776b2d103053be541684e276474234714 | 1,481 | hpp | C++ | interface/libraymarching_interfaceexception.hpp | dabastynator/LibRayMarching | 190c3f0f649896c04ba6ea00ebf13edbd4754c84 | [
"MIT"
] | null | null | null | interface/libraymarching_interfaceexception.hpp | dabastynator/LibRayMarching | 190c3f0f649896c04ba6ea00ebf13edbd4754c84 | [
"MIT"
] | null | null | null | interface/libraymarching_interfaceexception.hpp | dabastynator/LibRayMarching | 190c3f0f649896c04ba6ea00ebf13edbd4754c84 | [
"MIT"
] | null | null | null | /*++
Copyright (C) 2019 PrimeDevelopers
All rights reserved.
This file has been generated by the Automatic Component Toolkit (ACT) version 1.6.0.
Abstract: This is an autogenerated C++ Header file with the basic internal
exception type in order to allow an easy use of Ray Marching Library
Interface version: 2.0.0... | 24.278689 | 123 | 0.647535 | dabastynator |
33553452e7676867be725d91788a265e27b859f8 | 2,397 | cc | C++ | genfit/fields/src/BellField.cc | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | genfit/fields/src/BellField.cc | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | genfit/fields/src/BellField.cc | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | /* Copyright 2008-2010, Technische Universitaet Muenchen,
Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
This file is part of GENFIT.
GENFIT is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Sof... | 33.760563 | 114 | 0.652899 | Plamenna |
3355cea5478a9e036a3b11c83108daf1aec61d36 | 16,910 | cpp | C++ | openstudiocore/src/resultsviewer/TableView.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2017-10-13T09:23:04.000Z | 2017-10-13T09:23:04.000Z | openstudiocore/src/resultsviewer/TableView.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | null | null | null | openstudiocore/src/resultsviewer/TableView.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2022-03-20T13:19:42.000Z | 2022-03-20T13:19:42.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... | 39.053118 | 149 | 0.680662 | OpenStudioThailand |
33580d980d54fcab81497d57da9d64051c6a83fb | 6,813 | cpp | C++ | boxModel.cpp | subhajit1412/cs675-iitb | 91bd8d9338005117ce8804a32d413ea2342ad48c | [
"MIT"
] | 1 | 2017-09-29T18:55:18.000Z | 2017-09-29T18:55:18.000Z | boxModel.cpp | subhajit1412/cs675-iitb | 91bd8d9338005117ce8804a32d413ea2342ad48c | [
"MIT"
] | null | null | null | boxModel.cpp | subhajit1412/cs675-iitb | 91bd8d9338005117ce8804a32d413ea2342ad48c | [
"MIT"
] | null | null | null | #include<iostream>
class box_t
{
public:
GLfloat x;
GLfloat y;
GLfloat z;
GLfloat tx;
GLfloat ty;
GLfloat tz;
GLfloat yl;
int theta;
GLuint tex12;
box_t(GLfloat width, GLfloat height, GLfloat depth, GLfloat thickness)
{
x=width;
y=height;
z=-depth;
tx=thickness;
ty=thickness;
tz=-thickness;
... | 25.327138 | 138 | 0.659621 | subhajit1412 |
335a7a445384786d76f8deb6e85963762e2d083e | 1,849 | cpp | C++ | src/cmastats.cpp | rdkcmf/rdk-sys_mon_tools-sys_resource | 02e5ee8349aa21d19451ee65a5360f49b1aed401 | [
"Apache-2.0"
] | null | null | null | src/cmastats.cpp | rdkcmf/rdk-sys_mon_tools-sys_resource | 02e5ee8349aa21d19451ee65a5360f49b1aed401 | [
"Apache-2.0"
] | null | null | null | src/cmastats.cpp | rdkcmf/rdk-sys_mon_tools-sys_resource | 02e5ee8349aa21d19451ee65a5360f49b1aed401 | [
"Apache-2.0"
] | 1 | 2018-08-16T19:17:31.000Z | 2018-08-16T19:17:31.000Z | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2016 RDK Management
*
* 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 ... | 22.54878 | 153 | 0.693889 | rdkcmf |
335b0bce896b8532508fdb932ef53baa80455ac1 | 12,235 | cpp | C++ | src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/filter/particlefilter.cpp | alexoterno/turtlebot2_with_head | ac714f77379dd0f47ddb76d83896fdabee269a03 | [
"MIT"
] | null | null | null | src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/filter/particlefilter.cpp | alexoterno/turtlebot2_with_head | ac714f77379dd0f47ddb76d83896fdabee269a03 | [
"MIT"
] | null | null | null | src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/filter/particlefilter.cpp | alexoterno/turtlebot2_with_head | ac714f77379dd0f47ddb76d83896fdabee269a03 | [
"MIT"
] | null | null | null | // Copyright (C) 2003 Klaas Gadeyne <first dot last at gmail dot com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any l... | 31.053299 | 126 | 0.673886 | alexoterno |
335b77a301bd57e76667491f4afff40ef517dfc8 | 3,843 | hpp | C++ | include/customizer/files.hpp | EricWang1hitsz/osrm-backend | ff1af413d6c78f8e454584fe978d5468d984d74a | [
"BSD-2-Clause"
] | 4,526 | 2015-01-01T15:31:00.000Z | 2022-03-31T17:33:49.000Z | include/customizer/files.hpp | wsx9527/osrm-backend | 1e70b645e480946dad313b67f6a7d331baecfe3c | [
"BSD-2-Clause"
] | 4,497 | 2015-01-01T15:29:12.000Z | 2022-03-31T19:19:35.000Z | include/customizer/files.hpp | wsx9527/osrm-backend | 1e70b645e480946dad313b67f6a7d331baecfe3c | [
"BSD-2-Clause"
] | 3,023 | 2015-01-01T18:40:53.000Z | 2022-03-30T13:30:46.000Z | #ifndef OSRM_CUSTOMIZER_FILES_HPP
#define OSRM_CUSTOMIZER_FILES_HPP
#include "customizer/serialization.hpp"
#include "storage/tar.hpp"
#include "util/integer_range.hpp"
#include <unordered_map>
namespace osrm
{
namespace customizer
{
namespace files
{
// reads .osrm.cell_metrics file
template <typename CellMetric... | 33.710526 | 100 | 0.668228 | EricWang1hitsz |
335ba765ebc4cbca9627f4f5183e65c281a038c3 | 308 | cpp | C++ | extras2/Masina/Dacia.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | extras2/Masina/Dacia.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | extras2/Masina/Dacia.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | #include "Dacia.h"
string Dacia::GetName()
{
return "Dacia";
}
int Dacia::getCapacitate()
{
return capacitate;
}
string Dacia::getCuloare()
{
return culoare;
}
void Dacia::setCapacitate(int c)
{
this->capacitate = c;
}
void Dacia::setCuloare(string color)
{
this->culoare = color;
}
| 11.407407 | 36 | 0.649351 | stefanaciudin |
335d21072305a03c629e39222cb5c3a8abf7e2da | 32,245 | cpp | C++ | pxr/usd/pcp/layerStack.cpp | gomez-addams/USD | ebac0a8b6703f4fa1c27115f1f013bb9819662f4 | [
"BSD-2-Clause"
] | 4 | 2020-04-17T11:54:43.000Z | 2020-04-18T04:32:47.000Z | pxr/usd/pcp/layerStack.cpp | Yangxindao/USD | ebac0a8b6703f4fa1c27115f1f013bb9819662f4 | [
"BSD-2-Clause"
] | null | null | null | pxr/usd/pcp/layerStack.cpp | Yangxindao/USD | ebac0a8b6703f4fa1c27115f1f013bb9819662f4 | [
"BSD-2-Clause"
] | 1 | 2020-07-05T10:18:29.000Z | 2020-07-05T10:18:29.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 36.558957 | 82 | 0.630547 | gomez-addams |
335d52e2fddea25865a41314668a64fba42ff76b | 20,904 | cpp | C++ | src/maskgeneration.cpp | 3d-pli/PLImig | db4075ddd0f6f8d82b3f61f645002c788fa9a46c | [
"MIT"
] | null | null | null | src/maskgeneration.cpp | 3d-pli/PLImig | db4075ddd0f6f8d82b3f61f645002c788fa9a46c | [
"MIT"
] | null | null | null | src/maskgeneration.cpp | 3d-pli/PLImig | db4075ddd0f6f8d82b3f61f645002c788fa9a46c | [
"MIT"
] | 1 | 2022-02-13T03:59:40.000Z | 2022-02-13T03:59:40.000Z | /*
MIT License
Copyright (c) 2021 Forschungszentrum Jülich / Jan André Reuter.
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 limitati... | 45.641921 | 186 | 0.615098 | 3d-pli |
335ea74d325299934fac2d0bc5ad9f85dc464677 | 27,950 | cpp | C++ | src/BundleAdjustment2Viewes.cpp | cashiwamochi/SimpleBundleAdjustment | 2b4e5249835c5a798fc1ddd03f101e8579d70213 | [
"MIT"
] | 27 | 2018-08-01T08:53:46.000Z | 2021-12-16T11:58:35.000Z | src/BundleAdjustment2Viewes.cpp | cashiwamochi/SimpleBundleAdjustment | 2b4e5249835c5a798fc1ddd03f101e8579d70213 | [
"MIT"
] | 4 | 2019-04-12T10:34:13.000Z | 2022-03-26T06:10:08.000Z | src/BundleAdjustment2Viewes.cpp | cashiwamochi/SimpleBundleAdjustment | 2b4e5249835c5a798fc1ddd03f101e8579d70213 | [
"MIT"
] | 8 | 2019-05-06T08:54:57.000Z | 2021-04-11T21:48:41.000Z | #include "BundleAdjustment2Viewes.hpp"
#include <cmath>
#include <random>
namespace BA2Viewes {
Optimizer::Optimizer(const PoseAndStructure _pose_and_structure, const BAMode _mode)
: m_pose_and_structure(_pose_and_structure), me_mode(_mode)
{
mb_verbose = false;
mpm_images = std::make_pair(cv::noArray(... | 44.506369 | 173 | 0.607549 | cashiwamochi |
335f041f48c6d8a83ffb138d79d13054773d5096 | 236 | cpp | C++ | src/plugin/resources/skeletons/common/test/cpp/test-Device.cpp | pongasoft/re-quickstart | 607484d5fd5463bcbe340f27f8535db276390dae | [
"Apache-2.0"
] | 1 | 2022-02-11T05:06:41.000Z | 2022-02-11T05:06:41.000Z | src/plugin/resources/skeletons/common/test/cpp/test-Device.cpp | pongasoft/re-quickstart | 607484d5fd5463bcbe340f27f8535db276390dae | [
"Apache-2.0"
] | null | null | null | src/plugin/resources/skeletons/common/test/cpp/test-Device.cpp | pongasoft/re-quickstart | 607484d5fd5463bcbe340f27f8535db276390dae | [
"Apache-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include <Device.h>
#include <logging.h>
// Device - SampleRate
TEST(Device, SampleRate)
{
DLOG_F(INFO, "Demonstrating test capability");
Device device{44100};
ASSERT_EQ(44100, device.getSampleRate());
}
| 19.666667 | 48 | 0.720339 | pongasoft |
336248702c8dfde524f6915199f2777db9d43832 | 4,501 | cpp | C++ | src/Application.cpp | lucas-bremond/toto-splash | 3cc38ad4f296b8d0c39cf590c6f4a3387c2838dd | [
"MIT"
] | null | null | null | src/Application.cpp | lucas-bremond/toto-splash | 3cc38ad4f296b8d0c39cf590c6f4a3387c2838dd | [
"MIT"
] | null | null | null | src/Application.cpp | lucas-bremond/toto-splash | 3cc38ad4f296b8d0c39cf590c6f4a3387c2838dd | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// This file is part of the TotoSplash library.
///
//////////////////////////////////////////////////////////////////////////////////////////////////////////////... | 21.956098 | 152 | 0.478116 | lucas-bremond |
33646ccc21fa4e3063f45dde7e41b10ec981ac77 | 12,868 | cpp | C++ | code/steelth_renderer_opengl_bake.cpp | jessecalvert/steelth | 6f1e4db5bdfb5b519708aace7c133dadc71dd540 | [
"MIT"
] | null | null | null | code/steelth_renderer_opengl_bake.cpp | jessecalvert/steelth | 6f1e4db5bdfb5b519708aace7c133dadc71dd540 | [
"MIT"
] | null | null | null | code/steelth_renderer_opengl_bake.cpp | jessecalvert/steelth | 6f1e4db5bdfb5b519708aace7c133dadc71dd540 | [
"MIT"
] | null | null | null | /*@H
* File: steelth_renderer_opengl_bake.cpp
* Author: Jesse Calvert
* Created: April 23, 2019, 16:15
* Last modified: April 24, 2019, 20:46
*/
internal u32
HashSurfel(opengl_baked_data *BakedData, v3i PositionIndex, u32 PrincipalNormal)
{
u32 HashValue = 2*(u32)(PositionIndex.x) +
3*(u32)(PositionIndex.y) +
7*(... | 30.932692 | 105 | 0.711532 | jessecalvert |
336486c02e42eb1da9c8bc33c1c3874ae9270cd1 | 1,626 | cpp | C++ | 043_ofShader/src/ofApp.cpp | KangWeon/openFrameworksTutorialSeries | de396349bf895f7bc8205deeb25feb155d1e3bcc | [
"MIT"
] | 168 | 2015-04-15T09:17:44.000Z | 2022-03-29T13:41:06.000Z | 043_ofShader/src/ofApp.cpp | KangWeon/openFrameworksTutorialSeries | de396349bf895f7bc8205deeb25feb155d1e3bcc | [
"MIT"
] | 1 | 2020-04-23T16:55:45.000Z | 2020-04-23T16:56:07.000Z | 043_ofShader/src/ofApp.cpp | KangWeon/openFrameworksTutorialSeries | de396349bf895f7bc8205deeb25feb155d1e3bcc | [
"MIT"
] | 41 | 2015-04-26T15:48:41.000Z | 2022-03-16T03:44:03.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
shader.load("shader");
}
//--------------------------------------------------------------
void ofApp::update(){
}
//--------------------------------------------------------------
void ofApp::draw(){
shader.b... | 21.972973 | 64 | 0.292743 | KangWeon |
33649d5d61f6bab4541246776ac60d87ebc6bfe7 | 35,658 | cpp | C++ | src/cpp/fastdds/publisher/DataWriterImpl.cpp | mspiegel/Fast-RTPS | 82fd67e58a5a18f22c19209936b15356c063d3aa | [
"Apache-2.0"
] | null | null | null | src/cpp/fastdds/publisher/DataWriterImpl.cpp | mspiegel/Fast-RTPS | 82fd67e58a5a18f22c19209936b15356c063d3aa | [
"Apache-2.0"
] | null | null | null | src/cpp/fastdds/publisher/DataWriterImpl.cpp | mspiegel/Fast-RTPS | 82fd67e58a5a18f22c19209936b15356c063d3aa | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 32.564384 | 131 | 0.656318 | mspiegel |
33656921ce406ddcc199e4e400ea5e37f99da666 | 15,470 | hpp | C++ | ql/experimental/shortrate/generalizedhullwhite.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/experimental/shortrate/generalizedhullwhite.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/experimental/shortrate/generalizedhullwhite.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2010 SunTrust Bank
Copyright (C) 2010, 2014 Cavit Hafizoglu
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is fr... | 39.065657 | 93 | 0.576794 | SoftwareIngenieur |
33670eaa57ac44f5bef7db0cf63c2faf9970507f | 2,406 | cpp | C++ | external/glm/test/ext/ext_vector_ulp.cpp | diabl0-NEMESIS/enigma-android | 6768df01003254245de660a0b9593f54a113e49d | [
"MIT"
] | 83 | 2019-09-18T16:14:43.000Z | 2022-03-22T05:56:43.000Z | external/glm/test/ext/ext_vector_ulp.cpp | diabl0-NEMESIS/enigma-android | 6768df01003254245de660a0b9593f54a113e49d | [
"MIT"
] | 7 | 2019-10-18T00:44:19.000Z | 2021-02-09T17:22:15.000Z | external/glm/test/ext/ext_vector_ulp.cpp | diabl0-NEMESIS/enigma-android | 6768df01003254245de660a0b9593f54a113e49d | [
"MIT"
] | 7 | 2019-10-11T21:27:42.000Z | 2021-01-14T16:22:49.000Z | #include <glm/ext/vector_ulp.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vector_float4.hpp>
#include <glm/ext/vector_double4.hpp>
#include <glm/ext/vector_int4.hpp>
static int test_ulp_float_dist()
{
int Error = 0;
glm::vec4 const A(1.0f);
glm::vec4 const B = glm::next_float(A);
... | 24.06 | 53 | 0.577722 | diabl0-NEMESIS |
3368534221b65ce82858b4f4faad2883b8f012fb | 45,634 | cpp | C++ | FindSecret/Classes/Native/Il2CppCompilerCalculateTypeValues_12Table.cpp | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | FindSecret/Classes/Native/Il2CppCompilerCalculateTypeValues_12Table.cpp | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | FindSecret/Classes/Native/Il2CppCompilerCalculateTypeValues_12Table.cpp | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "Mono_Security... | 54.455847 | 202 | 0.853048 | GodIsWord |
3369019c571fa2efd02f13d1542695fc3c0bef1a | 387 | cpp | C++ | C++/0422-Valid-Word-Square/soln.cpp | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | C++/0422-Valid-Word-Square/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | C++/0422-Valid-Word-Square/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | class Solution {
public:
bool validWordSquare(vector<string>& words) {
int m = words.size();
for(auto i = 0; i < m; ++i)
{
for(auto j = 0; j < words[i].size(); ++j)
{
if(j >= m || i >= words[j].size() || words[i][j] != words[j][i])
... | 25.8 | 80 | 0.390181 | wyaadarsh |
3369244b55e33e18ba8f678f463c492165e09c3b | 12,604 | cpp | C++ | src/scrabble.cpp | mianfg/scrabble-word-finder | 58dda8200b4ad44ada5903fab45289a1e5913d69 | [
"MIT"
] | null | null | null | src/scrabble.cpp | mianfg/scrabble-word-finder | 58dda8200b4ad44ada5903fab45289a1e5913d69 | [
"MIT"
] | null | null | null | src/scrabble.cpp | mianfg/scrabble-word-finder | 58dda8200b4ad44ada5903fab45289a1e5913d69 | [
"MIT"
] | null | null | null | #include <iostream>
#include <chrono>
#include "Diccionario.h"
#include "Letras.h" // no es necesario
using namespace std;
/*! \mainpage
*
* # Práctica final de Estructura de Datos
* ## 2º DGIIM UGR, curso 2018/2019
*
* ### Alumnos
* - Miguel Ángel Fernández Gutiérrez (<mianfg@correo.ugr.es>)
* - Juan Manue... | 40.268371 | 83 | 0.527928 | mianfg |
3369fefd9be637f9e6361ab63c0187f6829a9b96 | 4,829 | cpp | C++ | CS302/PA02/postfix.cpp | T-R0D/Past-Courses | 0edc83a7bf09515f0d01d23a26df2ff90c0f458a | [
"MIT"
] | 7 | 2017-03-13T17:32:26.000Z | 2021-09-27T16:51:22.000Z | CS302/PA02/postfix.cpp | T-R0D/Past-Courses | 0edc83a7bf09515f0d01d23a26df2ff90c0f458a | [
"MIT"
] | 1 | 2021-05-29T19:54:02.000Z | 2021-05-29T19:54:52.000Z | CS302/PA02/postfix.cpp | T-R0D/Past-Courses | 0edc83a7bf09515f0d01d23a26df2ff90c0f458a | [
"MIT"
] | 25 | 2016-10-18T03:31:44.000Z | 2020-12-29T13:23:10.000Z | ////////////////////////////////////////////////////////////////////////////////
//
// Title:
// Created By:
// Reviewed By:
// Course:
//
// Summary:
//
// Last Modified:
//
////////////////////////////////////////////////////////////////////////////////
//=====================================... | 25.68617 | 80 | 0.427625 | T-R0D |
336a235d27b53c1358cbb327e397ba3556f57d8c | 1,411 | cpp | C++ | src/util/readwritefile.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/util/readwritefile.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/util/readwritefile.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2020 The Beans Core developers
// Copyright (c) 2017 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <fs.h>
#include <limits>
#include <stdio.h>
#include <string>
#include <ut... | 29.395833 | 119 | 0.610206 | BakedInside |
336c6b0ccc9fd48a9fb63322afb29b68c5a9f6d1 | 124,672 | cc | C++ | tensorflow/core/kernels/training_ops.cc | gnoses/TensorFlow | 63a21e054007d86269ed1ad0145ebce04ee57a81 | [
"Apache-2.0"
] | 1 | 2017-02-24T05:09:40.000Z | 2017-02-24T05:09:40.000Z | tensorflow/core/kernels/training_ops.cc | gnoses/TensorFlow | 63a21e054007d86269ed1ad0145ebce04ee57a81 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/training_ops.cc | gnoses/TensorFlow | 63a21e054007d86269ed1ad0145ebce04ee57a81 | [
"Apache-2.0"
] | 1 | 2022-01-22T05:39:49.000Z | 2022-01-22T05:39:49.000Z | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 42.872077 | 95 | 0.568436 | gnoses |
3370097f1a8cc5d45c2465013e6bd1440f77ef40 | 4,696 | cpp | C++ | pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp | facebookresearch/pytorch3d | 7660ed187683bff6cb21f68bf8659cd88b83062c | [
"BSD-3-Clause"
] | 6,041 | 2020-01-23T23:29:41.000Z | 2022-03-31T21:35:13.000Z | pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp | facebookresearch/pytorch3d | 7660ed187683bff6cb21f68bf8659cd88b83062c | [
"BSD-3-Clause"
] | 1,054 | 2020-01-24T15:23:15.000Z | 2022-03-31T15:31:59.000Z | pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp | facebookresearch/pytorch3d | 7660ed187683bff6cb21f68bf8659cd88b83062c | [
"BSD-3-Clause"
] | 943 | 2020-01-24T00:10:30.000Z | 2022-03-31T04:02:35.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* 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.
*/
#include <torch/extension.h>
#include <torch/torch.h>
#include <list>
#include <numeric>
#include <qu... | 38.178862 | 79 | 0.636286 | facebookresearch |
3371a4433b82352e233e1fdd1a132500d8d30da2 | 33,821 | cc | C++ | test/cctest/test-disasm-x64.cc | jizillon/v8 | 3276083a63efd0ff5cec29f7756226432880a22d | [
"BSD-3-Clause"
] | null | null | null | test/cctest/test-disasm-x64.cc | jizillon/v8 | 3276083a63efd0ff5cec29f7756226432880a22d | [
"BSD-3-Clause"
] | null | null | null | test/cctest/test-disasm-x64.cc | jizillon/v8 | 3276083a63efd0ff5cec29f7756226432880a22d | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | 33.854855 | 79 | 0.626475 | jizillon |
33750ca7457e45cf51412cd83630a1f7c1993efc | 1,093 | cpp | C++ | newton-4.00/applications/ndSandbox/demos/ndBasicRigidBody.cpp | Libertus-Lab/newton-dynamics | af6e6635c7f563c697b8e5b088d68ba24fa8fe9c | [
"Zlib"
] | null | null | null | newton-4.00/applications/ndSandbox/demos/ndBasicRigidBody.cpp | Libertus-Lab/newton-dynamics | af6e6635c7f563c697b8e5b088d68ba24fa8fe9c | [
"Zlib"
] | null | null | null | newton-4.00/applications/ndSandbox/demos/ndBasicRigidBody.cpp | Libertus-Lab/newton-dynamics | af6e6635c7f563c697b8e5b088d68ba24fa8fe9c | [
"Zlib"
] | null | null | null | /* Copyright (c) <2003-2021> <Newton Game Dynamics>
*
* 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 purpose,
* includi... | 30.361111 | 72 | 0.742909 | Libertus-Lab |
3375a6cd410e3ef974d9abdd2c23853a62874e1b | 26,436 | hpp | C++ | Container/Sequence/forward_list.hpp | chestnutme/MiniSTL | d8b8b5f51d13623490aceb58f3fdb623d38d8e24 | [
"MIT"
] | 2 | 2019-02-24T09:47:04.000Z | 2020-08-06T02:35:03.000Z | Container/Sequence/forward_list.hpp | chestnutme/MiniSTL | d8b8b5f51d13623490aceb58f3fdb623d38d8e24 | [
"MIT"
] | null | null | null | Container/Sequence/forward_list.hpp | chestnutme/MiniSTL | d8b8b5f51d13623490aceb58f3fdb623d38d8e24 | [
"MIT"
] | null | null | null | #pragma once
#include <initializer_list>
#include <cstdint>
#include <utility>
#include "Allocator/memory.hpp"
#include "Traits/type_traits.hpp"
#include "Iterator/iterator.hpp"
namespace MiniSTL {
struct forward_list_node_base {
forward_list_node_base* next;
};
inline forward_list_node_base*
__make_link(forw... | 28.986842 | 91 | 0.594795 | chestnutme |
3376ada4729de4f11172fde68f8487cf32a18fc3 | 273 | cpp | C++ | lib/attiny85/interrupt/EE_RDY.cpp | rkojedzinszky/thermo-sensor | f0b5aa6dbf231b566e00a683c5bb1551569d2463 | [
"BSD-3-Clause"
] | 2 | 2019-04-25T17:38:02.000Z | 2020-03-03T22:50:04.000Z | lib/attiny85/interrupt/EE_RDY.cpp | rkojedzinszky/thermo-sensor | f0b5aa6dbf231b566e00a683c5bb1551569d2463 | [
"BSD-3-Clause"
] | null | null | null | lib/attiny85/interrupt/EE_RDY.cpp | rkojedzinszky/thermo-sensor | f0b5aa6dbf231b566e00a683c5bb1551569d2463 | [
"BSD-3-Clause"
] | null | null | null | #include <avr/interrupt.h>
#include <interrupt/EE_RDY.hpp>
ISR(EE_RDY_vect, ISR_NAKED)
{
asm(
"push r24\n"
"ldi r24, 1\n"
"sts %0, r24\n"
"pop r24\n"
"reti\n"
:
: "m" (EE_RDYInterrupt::fire_)
);
}
template <>
volatile bool EE_RDYInterrupt::fire_ = false;
| 14.368421 | 45 | 0.6337 | rkojedzinszky |
3376efb5693ae250d93c67378b963845078e2e73 | 2,407 | cpp | C++ | JanuaEngine/JanuaEngine/Query.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 98 | 2015-01-13T16:23:23.000Z | 2022-02-14T21:51:07.000Z | JanuaEngine/JanuaEngine/Query.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 1 | 2016-06-30T22:07:54.000Z | 2016-06-30T22:07:54.000Z | JanuaEngine/JanuaEngine/Query.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 13 | 2015-08-26T11:19:08.000Z | 2021-07-12T03:41:50.000Z | #include "StdAfx.h"
#include "Query.h"
using std::logic_error;
Query::Query(const PVSDatabase& pvsDatabase) : m_pvsDatabase(pvsDatabase)
{
}
const QueryResult Query::getPotentiallyVisibleObjectsFromRegion( const Vector3f position )
{
//TODO: Optimize this.
vector<shared_ptr<Cell>> cells;
const Vector3f voxelSi... | 25.606383 | 90 | 0.678438 | gigc |
337b5c28812214a7f1f360c6780e64aacda08478 | 534 | hpp | C++ | src/Griddly/Core/Observers/TensorObservationInterface.hpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/TensorObservationInterface.hpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/TensorObservationInterface.hpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "ObservationInterface.hpp"
namespace griddly {
class TensorObservationInterface : public ObservationInterface<uint8_t> {
public:
virtual ~TensorObservationInterface() = default;
virtual std::vector<uint32_t> getShape() const {
return observationShape_;
}
virtua... | 19.777778 | 73 | 0.745318 | Thaigun |
337c438cc0759e8df63f1b0200fb67a3718b0ef0 | 1,789 | cpp | C++ | third_party/di-cpp14/benchmark/bind_value/dicpp.cpp | robhendriks/city-defence | 6567222087fc74bf374423d4aab5512cbe86ac07 | [
"MIT"
] | null | null | null | third_party/di-cpp14/benchmark/bind_value/dicpp.cpp | robhendriks/city-defence | 6567222087fc74bf374423d4aab5512cbe86ac07 | [
"MIT"
] | null | null | null | third_party/di-cpp14/benchmark/bind_value/dicpp.cpp | robhendriks/city-defence | 6567222087fc74bf374423d4aab5512cbe86ac07 | [
"MIT"
] | 1 | 2022-03-29T02:01:56.000Z | 2022-03-29T02:01:56.000Z | //
// Copyright (c) 2012-2016 Krzysztof Jusiak (krzysztof at jusiak dot net)
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <di/registry.hpp>
#include <di/injector.hpp>
void module(di::registry& r) ... | 24.175676 | 90 | 0.622694 | robhendriks |
337c9338ea7d7e7057e4307cc9e32853b49e8dfe | 2,689 | cpp | C++ | src/test/fuzz/netbase_dns_lookup.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/test/fuzz/netbase_dns_lookup.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/test/fuzz/netbase_dns_lookup.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The Beans Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <netaddress.h>
#include <netbase.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fu... | 37.347222 | 115 | 0.679807 | BakedInside |
337d6c2379b8f8b908890b92c29f6796d8203766 | 3,096 | cpp | C++ | Tools/GacGen/GacGen/GacGenObjectModel.cpp | JamesLinus/GacUI | b16f5919e03d5e24cb1e4509111e12aa28e6b827 | [
"MS-PL"
] | 1 | 2019-04-22T09:09:37.000Z | 2019-04-22T09:09:37.000Z | Tools/GacGen/GacGen/GacGenObjectModel.cpp | JamesLinus/GacUI | b16f5919e03d5e24cb1e4509111e12aa28e6b827 | [
"MS-PL"
] | null | null | null | Tools/GacGen/GacGen/GacGenObjectModel.cpp | JamesLinus/GacUI | b16f5919e03d5e24cb1e4509111e12aa28e6b827 | [
"MS-PL"
] | null | null | null | #include "GacGen.h"
/***********************************************************************
Instance
***********************************************************************/
WString Instance::GetFullName()
{
return From(namespaces)
.Aggregate(WString(), [](const WString& a, const WString& b)->WString
{
retur... | 27.39823 | 119 | 0.578165 | JamesLinus |
337e31563e947fcc2bd6fadea5323da548cff11d | 862 | cpp | C++ | src/veil/ringct/temprecipient.cpp | PeterL73/veil | 2825d735275cd592b1fd5207b0dfdca2d4e3e78c | [
"MIT"
] | 124 | 2018-12-25T00:01:18.000Z | 2021-12-26T19:38:43.000Z | src/veil/ringct/temprecipient.cpp | PeterL73/veil | 2825d735275cd592b1fd5207b0dfdca2d4e3e78c | [
"MIT"
] | 702 | 2018-12-16T18:07:18.000Z | 2022-03-18T16:52:14.000Z | src/veil/ringct/temprecipient.cpp | PeterL73/veil | 2825d735275cd592b1fd5207b0dfdca2d4e3e78c | [
"MIT"
] | 151 | 2018-12-13T07:33:34.000Z | 2022-01-29T11:35:23.000Z | // Copyright (c) 2017-2019 The Particl Core developers
// Copyright (c) 2018-2019 Veil developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <veil/ringct/temprecipient.h>
bool CTempRecipient::ApplySubFee(CAmount n... | 35.916667 | 106 | 0.663573 | PeterL73 |
337f0be76e9099975c03b68c5f32331d2df64560 | 29,429 | cpp | C++ | legacy/project/src/common/FreeType.cpp | charmdev/lime | 96f5cea3c6687c4d1663b1c0e5a47e0ed4ba1c94 | [
"MIT"
] | null | null | null | legacy/project/src/common/FreeType.cpp | charmdev/lime | 96f5cea3c6687c4d1663b1c0e5a47e0ed4ba1c94 | [
"MIT"
] | null | null | null | legacy/project/src/common/FreeType.cpp | charmdev/lime | 96f5cea3c6687c4d1663b1c0e5a47e0ed4ba1c94 | [
"MIT"
] | null | null | null | #include <Font.h>
#include <Utils.h>
#include <map>
#ifdef HX_WINRT
#define generic userGeneric
#endif
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_BITMAP_H
#include FT_SFNT_NAMES_H
#include FT_TRUETYPE_IDS_H
#include <ftoutln.h>
#ifdef ANDROID
#include <android/log.h>
#endif
#ifdef WEBOS
#include "PDL.... | 26.299374 | 140 | 0.573312 | charmdev |
337fe21b4be1260931b3726c1f626b405674570e | 58,194 | cc | C++ | chrome/test/ppapi/ppapi_browsertest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/test/ppapi/ppapi_browsertest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/test/ppapi/ppapi_browsertest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"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 "chrome/test/ppapi/ppapi_test.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#include "chrome/browser/content_setti... | 36.462406 | 80 | 0.793226 | nagineni |
337fff59d92dbf0912a7118fd8256a127858efeb | 621 | cpp | C++ | 2018/14_Longest_Common_Prefix.cpp | CanftIn/leetcode | 97f45e1ffb0a917ae4fd2321636856e55f615d12 | [
"MIT"
] | 4 | 2018-05-30T10:27:07.000Z | 2020-03-07T08:38:53.000Z | 2018/14_Longest_Common_Prefix.cpp | CanftIn/leetcode | 97f45e1ffb0a917ae4fd2321636856e55f615d12 | [
"MIT"
] | 1 | 2018-05-30T04:29:32.000Z | 2018-05-31T10:15:40.000Z | 2018/14_Longest_Common_Prefix.cpp | CanftIn/leetcode | 97f45e1ffb0a917ae4fd2321636856e55f615d12 | [
"MIT"
] | null | null | null | class Solution {
public:
string longestCommonPrefix(vector<string>& strs) {
if(strs.empty()) return "";
sort(strs.begin(), strs.end(), [](const string str1, const string str2)->bool{
return str1 < str2;
});
string prefix = strs[0];
for(int i = 1; i < strs... | 27 | 86 | 0.405797 | CanftIn |
338126597488eab1b0b7c1f734d799768a18b796 | 6,939 | cpp | C++ | src/Open3D/Visualization/Visualizer/ViewTrajectory.cpp | Forest75/Open3D | 61b90a6e06a2c209ad2b9f1c57fbd5f21e879dae | [
"MIT"
] | 113 | 2018-11-12T03:32:52.000Z | 2022-03-29T13:58:54.000Z | src/Open3D/Visualization/Visualizer/ViewTrajectory.cpp | Forest75/Open3D | 61b90a6e06a2c209ad2b9f1c57fbd5f21e879dae | [
"MIT"
] | 3 | 2018-10-19T12:09:57.000Z | 2020-04-22T11:55:54.000Z | src/Open3D/Visualization/Visualizer/ViewTrajectory.cpp | Forest75/Open3D | 61b90a6e06a2c209ad2b9f1c57fbd5f21e879dae | [
"MIT"
] | 27 | 2018-10-16T20:01:18.000Z | 2021-07-26T08:02:20.000Z | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | 34.695 | 80 | 0.55397 | Forest75 |
33816a22ca51b75cf0335ed6bd632a0142080f02 | 5,191 | cpp | C++ | Plugin~/WebRTCPluginTest/VideoCodecTest.cpp | Mu-L/com.unity.webrtc | 38690a3169341cf6ca456b415fafff2dcfd415a2 | [
"Apache-2.0"
] | null | null | null | Plugin~/WebRTCPluginTest/VideoCodecTest.cpp | Mu-L/com.unity.webrtc | 38690a3169341cf6ca456b415fafff2dcfd415a2 | [
"Apache-2.0"
] | null | null | null | Plugin~/WebRTCPluginTest/VideoCodecTest.cpp | Mu-L/com.unity.webrtc | 38690a3169341cf6ca456b415fafff2dcfd415a2 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "VideoCodecTest.h"
static const int kEncodeTimeoutMs = 100;
static const int kDecodeTimeoutMs = 100;
namespace unity
{
namespace webrtc
{
VideoEncoder::Capabilities kCapabilities() { return VideoEncoder::Capabilities(false); }
std::string kProfileLevelIdString() { return *H264Profil... | 35.8 | 120 | 0.645926 | Mu-L |
3381b8caf4605d072d0ed4f6a32bc37d192b03ec | 1,206 | cpp | C++ | products/BellHybrid/apps/application-bell-settings/models/TemperatureUnitModel.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 369 | 2021-11-10T09:20:29.000Z | 2022-03-30T06:36:58.000Z | products/BellHybrid/apps/application-bell-settings/models/TemperatureUnitModel.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 149 | 2021-11-10T08:38:35.000Z | 2022-03-31T23:01:52.000Z | products/BellHybrid/apps/application-bell-settings/models/TemperatureUnitModel.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 41 | 2021-11-10T08:30:37.000Z | 2022-03-29T08:12:46.000Z | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "models/TemperatureUnitModel.hpp"
#include <apps-common/ApplicationCommon.hpp>
#include <service-db/Settings.hpp>
#include <db/SystemSettings.hpp>
namespace
{
constexpr ... | 30.923077 | 113 | 0.696517 | bitigchi |
3383b30513f14b03f7a7c88f796e315e334a84bd | 21,179 | cpp | C++ | src/prod/src/Common/Threadpool.Linux.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Common/Threadpool.Linux.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Common/Threadpool.Linux.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
// This was adapted from open ... | 22.995657 | 123 | 0.621134 | gridgentoo |
338553e158bd719f404d587c0a38468e4fa66775 | 6,517 | cpp | C++ | src/apps/spout/main.cpp | sgct/sgct | 0a4596ff2ea90c9f0dfbddd7b14f7ecee783baf1 | [
"libpng-2.0"
] | 7 | 2020-02-11T15:03:48.000Z | 2022-01-08T04:04:58.000Z | src/apps/spout/main.cpp | sgct/sgct | 0a4596ff2ea90c9f0dfbddd7b14f7ecee783baf1 | [
"libpng-2.0"
] | 28 | 2020-01-24T11:24:43.000Z | 2022-03-03T15:48:10.000Z | src/apps/spout/main.cpp | sgct/sgct | 0a4596ff2ea90c9f0dfbddd7b14f7ecee783baf1 | [
"libpng-2.0"
] | 5 | 2020-02-19T08:26:25.000Z | 2022-01-08T04:05:10.000Z | /*****************************************************************************************
* SGCT *
* Simple Graphics Cluster Toolkit *
* ... | 26.278226 | 90 | 0.582937 | sgct |
338687471381a0b4808315b73141ebda5a4dd174 | 2,246 | cc | C++ | src/asset/Music.cc | shiromino/shiromino | 10e9bc650417ea05d5990836c64709af3f82ec5e | [
"CC-BY-4.0"
] | 23 | 2020-07-12T22:49:10.000Z | 2022-03-15T17:58:22.000Z | src/asset/Music.cc | shiromino/shiromino | 10e9bc650417ea05d5990836c64709af3f82ec5e | [
"CC-BY-4.0"
] | 64 | 2020-07-12T22:27:53.000Z | 2022-01-02T23:10:24.000Z | src/asset/Music.cc | shiromino/shiromino | 10e9bc650417ea05d5990836c64709af3f82ec5e | [
"CC-BY-4.0"
] | 8 | 2020-08-30T04:16:17.000Z | 2021-06-28T17:12:06.000Z | #include "asset/Music.h"
#include <cassert>
#include <iostream>
#include <algorithm>
namespace Shiro {
MusicAssetLoader::MusicAssetLoader(const std::filesystem::path &assetDirectory) :
assetDirectory(assetDirectory) {}
std::unique_ptr<Asset> MusicAssetLoader::create(const std::filesystem::path &location... | 38.724138 | 165 | 0.615761 | shiromino |
338688193716dc7233e1751351e1d8988f96c05f | 5,409 | cc | C++ | chrome/browser/ui/passwords/password_manager_presenter_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-11-28T10:46:52.000Z | 2019-11-28T10:46:52.000Z | chrome/browser/ui/passwords/password_manager_presenter_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/passwords/password_manager_presenter_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/password_manager/mock_password_store_service.h"
#include "chrome/browser/passwor... | 36.302013 | 78 | 0.728785 | kjthegod |
3386e72c9195efb80a02551374a291797befff6f | 5,567 | cpp | C++ | libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp | cbjeukendrup/llvm-project | 4c11c3e0f978a9ebdd05822e6e130630fa8680c2 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp | cbjeukendrup/llvm-project | 4c11c3e0f978a9ebdd05822e6e130630fa8680c2 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp | cbjeukendrup/llvm-project | 4c11c3e0f978a9ebdd05822e6e130630fa8680c2 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 26.89372 | 97 | 0.639842 | cbjeukendrup |
3387b193b9ce49610b0d19a83fa3d652af92c459 | 10,446 | cpp | C++ | modules/ts/src/ocl_test.cpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"BSD-3-Clause"
] | 1 | 2019-04-19T22:56:53.000Z | 2019-04-19T22:56:53.000Z | modules/ts/src/ocl_test.cpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"BSD-3-Clause"
] | null | null | null | modules/ts/src/ocl_test.cpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"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, instal... | 35.530612 | 162 | 0.621673 | lastlegion |
338cbae03ee370b28ab7c2c09f825cc4220289f7 | 4,445 | cpp | C++ | e-Paper/src/SPIHandler.cpp | PDA-UR/Dumb-e-Paper | 99aecce5fbcb64d32b7e47809df393e0e2e7fab4 | [
"MIT"
] | 2 | 2019-01-30T13:48:14.000Z | 2021-10-30T16:11:03.000Z | e-Paper/src/SPIHandler.cpp | PDA-UR/Dumb-e-Paper | 99aecce5fbcb64d32b7e47809df393e0e2e7fab4 | [
"MIT"
] | null | null | null | e-Paper/src/SPIHandler.cpp | PDA-UR/Dumb-e-Paper | 99aecce5fbcb64d32b7e47809df393e0e2e7fab4 | [
"MIT"
] | 2 | 2018-02-14T12:45:59.000Z | 2021-12-17T20:57:02.000Z | #include "SPIHandler.hpp"
long SPIHandler::spiTime = 0;
long SPIHandler::lastSpiTime = 0;
void SPIHandler::printSpiTime()
{
Serial.print("SPI time: ");
Serial.println(spiTime);
}
void SPIHandler::init()
{
// initialize SPI:
SPI.begin();
//SPI.setClockDivider (SPI_CLOCK_DIV8); //slow the clock do... | 24.832402 | 98 | 0.624522 | PDA-UR |
338ce5de31bfffb5a2b83d6ce3020cd515549cd1 | 2,928 | cc | C++ | orly/data/matrix.cc | orlyatomics/orly | d413f999f51a8e553832dab4e3baa7ca68928840 | [
"Apache-2.0"
] | 69 | 2015-01-06T05:12:57.000Z | 2021-11-06T20:34:10.000Z | orly/data/matrix.cc | waderly/orly | 9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee | [
"Apache-2.0"
] | 5 | 2015-07-09T02:21:50.000Z | 2021-08-13T11:10:26.000Z | orly/data/matrix.cc | waderly/orly | 9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee | [
"Apache-2.0"
] | 15 | 2015-01-23T13:34:05.000Z | 2020-06-15T16:46:50.000Z | /* <orly/data/matrix.cc>
Generates a core-vector file with matrix data
Copyright 2010-2014 OrlyAtomics, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.... | 28.427184 | 107 | 0.68306 | orlyatomics |
338d1ae1a3114314a140e603fce941038f5bb8aa | 2,497 | cxx | C++ | com/netfx/src/framework/xsp/deadcode/codegen/jscomp.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/framework/xsp/deadcode/codegen/jscomp.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/framework/xsp/deadcode/codegen/jscomp.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /**
* Code to invoke the JS compiler and build managed DLL's.
*
* Copyright (c) 1999 Microsoft Corporation
*/
#include "precomp.h"
#include "codegen.h"
//////////////////////////////////////////////////////////////////////////////
// Prototypes for functions defined here
extern "C"
{
// This fu... | 21.903509 | 79 | 0.585503 | npocmaka |
338dca44d419f5221660f02c955b519a3c009213 | 3,676 | hpp | C++ | shared/src/shared/scene/component_data.hpp | dumheter/wind_simulation | adf731847cb6145a85792a0ebceacc725a3acf9e | [
"MIT"
] | 1 | 2021-04-26T11:24:02.000Z | 2021-04-26T11:24:02.000Z | shared/src/shared/scene/component_data.hpp | dumheter/wind_simulation | adf731847cb6145a85792a0ebceacc725a3acf9e | [
"MIT"
] | 1 | 2020-06-09T08:53:07.000Z | 2020-06-16T13:37:15.000Z | shared/src/shared/scene/component_data.hpp | dumheter/wind_simulation | adf731847cb6145a85792a0ebceacc725a3acf9e | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2020 Filip Bj�rklund, Christoffer Gustafsson
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rig... | 29.174603 | 80 | 0.668662 | dumheter |
338ddeb1324987492a95bc227ed31b88f7b54563 | 709 | hpp | C++ | querier/BlockSeriesSet.hpp | Jimx-/tsdb-fork | f92cfa0a998c03b3a2cb4c8e46990de8b47aae15 | [
"Apache-2.0"
] | 1 | 2020-06-04T06:56:40.000Z | 2020-06-04T06:56:40.000Z | querier/BlockSeriesSet.hpp | Jimx-/tsdb-fork | f92cfa0a998c03b3a2cb4c8e46990de8b47aae15 | [
"Apache-2.0"
] | null | null | null | querier/BlockSeriesSet.hpp | Jimx-/tsdb-fork | f92cfa0a998c03b3a2cb4c8e46990de8b47aae15 | [
"Apache-2.0"
] | 1 | 2020-06-04T03:35:58.000Z | 2020-06-04T03:35:58.000Z | #ifndef BLOCKSERIESSET_H
#define BLOCKSERIESSET_H
#include "querier/ChunkSeriesSetInterface.hpp"
#include "querier/SeriesInterface.hpp"
#include "querier/SeriesSetInterface.hpp"
namespace tsdb{
namespace querier{
class BlockSeriesSet: public SeriesSetInterface{
private:
std::shared_ptr<ChunkSeriesSetInte... | 22.870968 | 112 | 0.713681 | Jimx- |
338e609cba03482e791980e3222b6d78880b9209 | 434 | cpp | C++ | software_package/development/test/test_no_deps/test_states.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | 5 | 2020-10-21T23:35:18.000Z | 2021-02-02T19:44:46.000Z | software_package/development/test/test_states/test_states.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | null | null | null | software_package/development/test/test_states/test_states.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | 1 | 2020-10-26T05:13:21.000Z | 2020-10-26T05:13:21.000Z | #include "state_machine.h"
#include "states.h"
#include "unity.h"
void setUp(void) {
// set stuff up here
}
void tearDown(void) {
// clean stuff up here
}
void test_init_state() {
StateMachine sm;
if (PreLaunchState* initialStateInstance =
dynamic_cast<PreLaunchState*>(sm.currentState)) {
TEST_... | 15.5 | 59 | 0.668203 | scottzach1 |
338ecdfdd427bba421031330983577d638d79406 | 1,706 | cpp | C++ | testinc/testinc.cpp | gongluck/cghttp | 19c41972c7a08d910b31b92cff4d4f26bc951197 | [
"MIT"
] | null | null | null | testinc/testinc.cpp | gongluck/cghttp | 19c41972c7a08d910b31b92cff4d4f26bc951197 | [
"MIT"
] | null | null | null | testinc/testinc.cpp | gongluck/cghttp | 19c41972c7a08d910b31b92cff4d4f26bc951197 | [
"MIT"
] | null | null | null | /*
* @Author: gongluck
* @Date: 2020-06-18 11:08:13
* @Last Modified by: gongluck
* @Last Modified time: 2020-06-18 17:30:42
*/
#include <stdio.h>
#include <time.h>
#include <thread>
#include <mutex>
std::mutex g_mutex;
#include "../cghttp.h"
int TESTTIMES = 100;
void test_get()
{
char* body = NULL;
... | 20.554217 | 91 | 0.519343 | gongluck |
338f0b7fdf58b11240ee6d5064d66cd8ba10a7b4 | 2,180 | cpp | C++ | SDK/ARKSurvivalEvolved_DroppedItemTorch_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DroppedItemTorch_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DroppedItemTorch_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DroppedItemTorch_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------------------... | 23.956044 | 131 | 0.724312 | 2bite |
339058bce89fce4feab81cc17aba3e39233219e7 | 3,571 | cpp | C++ | Cocos2dx-3x/PhotoExample/cocos2d/cocos/editor-support/cocosbuilder/CCNodeLoaderLibrary.cpp | ezibyte/EziSocial-PhotoExample | 12818880696d3f76ffd5b66646bab21fa3619821 | [
"Apache-2.0"
] | 39 | 2016-05-07T06:39:54.000Z | 2021-04-13T15:00:52.000Z | Cocos2dx-3x/PhotoExample/cocos2d/cocos/editor-support/cocosbuilder/CCNodeLoaderLibrary.cpp | ezibyte/EziSocial-PhotoExample | 12818880696d3f76ffd5b66646bab21fa3619821 | [
"Apache-2.0"
] | 8 | 2016-07-17T06:39:54.000Z | 2021-07-06T15:14:19.000Z | Cocos2dx-3x/PhotoExample/cocos2d/cocos/editor-support/cocosbuilder/CCNodeLoaderLibrary.cpp | ezibyte/EziSocial-PhotoExample | 12818880696d3f76ffd5b66646bab21fa3619821 | [
"Apache-2.0"
] | 19 | 2015-04-23T19:50:43.000Z | 2022-03-26T06:12:24.000Z | #include "CCNodeLoaderLibrary.h"
#include "CCLayerLoader.h"
#include "CCLayerColorLoader.h"
#include "CCLayerGradientLoader.h"
#include "CCLabelBMFontLoader.h"
#include "CCLabelTTFLoader.h"
#include "CCSpriteLoader.h"
#include "CCScale9SpriteLoader.h"
#include "CCBFileLoader.h"
#include "CCMenuLoader.h"
#include "CCMe... | 33.688679 | 108 | 0.74965 | ezibyte |
33925374f928c0ddd651a33a2eb1d7e34b0235cd | 148 | cpp | C++ | src/test/class4.cpp | ifritJP/lctags | dd877c6f6f10b9299c59cfbc05755b7680c7dd80 | [
"MIT"
] | 17 | 2017-10-24T15:19:49.000Z | 2021-12-19T00:49:48.000Z | src/test/class4.cpp | ifritJP/lctags | dd877c6f6f10b9299c59cfbc05755b7680c7dd80 | [
"MIT"
] | 1 | 2021-02-24T15:49:11.000Z | 2021-02-26T07:45:05.000Z | src/test/class4.cpp | ifritJP/lctags | dd877c6f6f10b9299c59cfbc05755b7680c7dd80 | [
"MIT"
] | 1 | 2017-11-08T17:39:51.000Z | 2017-11-08T17:39:51.000Z | #include <functional>
class VVVV {
int eeee;
};
static void func()
{
std::function<void(int)> sub = [=](int a){
VVVV val;
val.
};
}
| 10.571429 | 44 | 0.554054 | ifritJP |
339360375a15d21d28fafa150117ffb04cacb89d | 1,980 | cpp | C++ | dataset/test/modification/1471_all/8/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1471_all/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1471_all/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | #include <iomanip>
#include <iostream>
#include<bits/stdc++.h>
#include <unordered_map>
#include<unordered_set>
using namespace std;
#define _USE_MATH_DEFINES
# define M_PI 3.14159265358979323846
#define ll long long
#define ull unsigned long long
#define ld long double
#define vbe(v) ((v).begin(... | 21.758242 | 76 | 0.506061 | Karina5005 |
33948f697b9c2710e2f00e89bc6cb7c982141f40 | 10,289 | cpp | C++ | modules/drivers/velodyne/velodyne_pointcloud/src/compensator.cpp | mzweilin/apollo | 13f533429d76c61a75c5280a719ef8ae80ca2889 | [
"Apache-2.0"
] | 2 | 2018-05-27T10:00:10.000Z | 2020-06-03T01:59:57.000Z | modules/drivers/velodyne/velodyne_pointcloud/src/compensator.cpp | mzweilin/apollo | 13f533429d76c61a75c5280a719ef8ae80ca2889 | [
"Apache-2.0"
] | null | null | null | modules/drivers/velodyne/velodyne_pointcloud/src/compensator.cpp | mzweilin/apollo | 13f533429d76c61a75c5280a719ef8ae80ca2889 | [
"Apache-2.0"
] | 1 | 2018-05-27T10:00:24.000Z | 2018-05-27T10:00:24.000Z | /******************************************************************************
* Copyright 2017 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 33.624183 | 80 | 0.631257 | mzweilin |
3395248f24298b9b46414a6c941ac43168e2b829 | 406 | cpp | C++ | 20octombrie/Problema7.cpp | NegreanV/MyAlgorithms | 7dd16d677d537d34280c3858ccf4cbea4b3ddf26 | [
"Apache-2.0"
] | 1 | 2015-10-24T10:02:06.000Z | 2015-10-24T10:02:06.000Z | 20octombrie/Problema7.cpp | NegreanV/MyAlgorithms | 7dd16d677d537d34280c3858ccf4cbea4b3ddf26 | [
"Apache-2.0"
] | null | null | null | 20octombrie/Problema7.cpp | NegreanV/MyAlgorithms | 7dd16d677d537d34280c3858ccf4cbea4b3ddf26 | [
"Apache-2.0"
] | null | null | null | /*Se citeste un numar natural n cu cel mult 2 cifre.
* Afisati pe ecran o figura formata din caracterul * ca in exemplul alaturat pentru n=5. */
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for (int i = 1; i <= n; i++)
{
for (int j = 1; j <= n * 2 - i; j++)
{
cout << " ";
}
... | 15.615385 | 92 | 0.512315 | NegreanV |
339585efbfcb1d93d63b89f170734beaaee6265c | 79 | cpp | C++ | gui/personal_file_gui_qt/controller.cpp | puzzzzzzle/-personal_file_protector | d38eb7e8ea3c957a0bc09c51e3431e1aa453d039 | [
"BSD-3-Clause-Clear"
] | null | null | null | gui/personal_file_gui_qt/controller.cpp | puzzzzzzle/-personal_file_protector | d38eb7e8ea3c957a0bc09c51e3431e1aa453d039 | [
"BSD-3-Clause-Clear"
] | null | null | null | gui/personal_file_gui_qt/controller.cpp | puzzzzzzle/-personal_file_protector | d38eb7e8ea3c957a0bc09c51e3431e1aa453d039 | [
"BSD-3-Clause-Clear"
] | null | null | null | #include "controller.h"
AbstractListModel *dataList = new AbstractListModel();
| 26.333333 | 54 | 0.797468 | puzzzzzzle |
339613466662194a82b854af5ef85dc1ac7a386c | 1,824 | cpp | C++ | src/Native/libcryptonight/xmrig/common/cpu/BasicCpuInfo_arm.cpp | lurchinms/miningcore-2 | 1ab7d1ce1b3dd3c28e35348e0b701fd5b5e264b1 | [
"MIT"
] | 28 | 2018-05-24T06:35:38.000Z | 2021-11-29T17:18:32.000Z | src/Native/libcryptonight/xmrig/common/cpu/BasicCpuInfo_arm.cpp | lurchinms/miningcore-2 | 1ab7d1ce1b3dd3c28e35348e0b701fd5b5e264b1 | [
"MIT"
] | 19 | 2019-03-30T23:23:02.000Z | 2021-12-19T09:12:00.000Z | src/Native/libcryptonight/xmrig/common/cpu/BasicCpuInfo_arm.cpp | lurchinms/miningcore-2 | 1ab7d1ce1b3dd3c28e35348e0b701fd5b5e264b1 | [
"MIT"
] | 37 | 2021-03-19T02:56:14.000Z | 2022-03-19T16:42:51.000Z | /* XMRig
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
* C... | 30.915254 | 100 | 0.702303 | lurchinms |
339645d29f49ab8ac3dfa26919427c6534e1b24b | 540 | cpp | C++ | src/UOJ_1038 - (1658937) Accepted.cpp | dreamtocode/URI | 1f402853e8ae43f3761fc3099e7694bff721d5bc | [
"MIT"
] | 1 | 2015-04-26T03:55:07.000Z | 2015-04-26T03:55:07.000Z | src/UOJ_1038 - (1658937) Accepted.cpp | dreamtocode/URI | 1f402853e8ae43f3761fc3099e7694bff721d5bc | [
"MIT"
] | null | null | null | src/UOJ_1038 - (1658937) Accepted.cpp | dreamtocode/URI | 1f402853e8ae43f3761fc3099e7694bff721d5bc | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
using namespace std;
int main() {
double a, b, c=4, d=4.5, e=5, f=2, l=1.5, m;
cin>>a>>b;
cout<<fixed<<setprecision(2);
if(a==1) {
m=b*c;
cout<<"Total: R$ "<<m<<"\n";
}
if(a==2) {
m=b*d;
cout<<"Total: R$ "<<m<<"\n";
}
if(a==3) {
m=b*... | 18 | 48 | 0.375926 | dreamtocode |
339cf550950327bed0f6466ca1bfb5b263ec8194 | 916 | hpp | C++ | include/caffe/layers/func/noise_label_layer.hpp | JEF1056/MetaLearning-Neural-Style | 94ac33cb6a62c4de8ff2aeac3572afd61f1bda5d | [
"MIT"
] | 126 | 2017-09-14T01:53:15.000Z | 2021-03-24T08:57:41.000Z | include/caffe/layers/func/noise_label_layer.hpp | hli1221/styletransfer | 5101f2c024638d3e111644c64398b3290fdeaec6 | [
"BSD-2-Clause"
] | 17 | 2017-09-14T09:11:50.000Z | 2019-11-27T08:56:52.000Z | include/caffe/layers/func/noise_label_layer.hpp | hli1221/styletransfer | 5101f2c024638d3e111644c64398b3290fdeaec6 | [
"BSD-2-Clause"
] | 34 | 2017-09-14T09:14:21.000Z | 2020-12-16T09:49:40.000Z |
#ifndef CAFFE_NoiseLabel_LAYER_HPP_
#define CAFFE_NoiseLabel_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
class NoiseLabelLayer : public Layer {
public:
explicit NoiseLabelLayer(const LayerParameter& param): Layer(param) ... | 27.757576 | 85 | 0.742358 | JEF1056 |
339f7de9a941e45b7b1b8859a3e4381504c5ffd9 | 7,273 | cpp | C++ | rclcpp/src/rclcpp/intra_process_manager.cpp | asorbini/rclcpp | bc9abd02cd1f34107449e5e849063de7f0e9f71f | [
"Apache-2.0"
] | null | null | null | rclcpp/src/rclcpp/intra_process_manager.cpp | asorbini/rclcpp | bc9abd02cd1f34107449e5e849063de7f0e9f71f | [
"Apache-2.0"
] | null | null | null | rclcpp/src/rclcpp/intra_process_manager.cpp | asorbini/rclcpp | bc9abd02cd1f34107449e5e849063de7f0e9f71f | [
"Apache-2.0"
] | null | null | null | // Copyright 2015 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 31.081197 | 96 | 0.744672 | asorbini |
33a0f921b328e2226f5529336e43725440b3a24a | 1,555 | cc | C++ | zircon/kernel/object/buffer_chain.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | zircon/kernel/object/buffer_chain.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | zircon/kernel/object/buffer_chain.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2018 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 "object/buffer_chain.h"
#include <lib/boot-options/boot-options.h>
#include <lk/init.h>
// Makes a const char* look li... | 33.085106 | 97 | 0.755627 | allansrc |
33a3cbe3eaa1159a77c6aeac91361b3b7b3b2a24 | 6,434 | cc | C++ | Google/benchmarks/transformer/implementations/transformer-research-TF-tpu-v4-16/lingvo/core/ops/ascii_tokenizer.cc | goswamig/training_results_v0.7 | 4278ce8a0f3d4db6b5e6054277724ca36278d7a3 | [
"Apache-2.0"
] | 48 | 2020-07-29T18:09:23.000Z | 2021-10-09T01:53:33.000Z | Google/benchmarks/transformer/implementations/transformer-research-TF-tpu-v4-16/lingvo/core/ops/ascii_tokenizer.cc | goswamig/training_results_v0.7 | 4278ce8a0f3d4db6b5e6054277724ca36278d7a3 | [
"Apache-2.0"
] | 9 | 2021-04-02T02:28:07.000Z | 2022-03-26T18:23:59.000Z | Google/benchmarks/transformer/implementations/transformer-research-TF-tpu-v4-16/lingvo/core/ops/ascii_tokenizer.cc | lablup/training_results_v0.7 | f5bb59aa0f8b18b602763abe47d1d24d0d54b197 | [
"Apache-2.0"
] | 42 | 2020-08-01T06:41:24.000Z | 2022-01-20T10:33:08.000Z | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 36.556818 | 113 | 0.551912 | goswamig |
33a595320de14e89176a2d493257f78c829dddc7 | 2,217 | hpp | C++ | utils/UI.hpp | mad-penguins/Antarctica | 2edb237283b652a280c0fb58cdb15e9290fca562 | [
"MIT"
] | null | null | null | utils/UI.hpp | mad-penguins/Antarctica | 2edb237283b652a280c0fb58cdb15e9290fca562 | [
"MIT"
] | 4 | 2019-04-19T19:29:57.000Z | 2019-05-31T20:14:45.000Z | utils/UI.hpp | mad-penguins/Antarctica | 2edb237283b652a280c0fb58cdb15e9290fca562 | [
"MIT"
] | 5 | 2019-04-27T10:00:07.000Z | 2019-06-07T14:32:27.000Z | /*!
* \file
* \author Nikita Mironov <nickfrom22nd@gmail.com>
* \brief Some GUI utilities
*
* \section LICENSE
*
* Copyright (c) 2019 Penguins of Madagascar
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to... | 35.758065 | 94 | 0.709517 | mad-penguins |
33a63c26f4e2e1a7e2035feeab5e0a21b0c4268c | 9,780 | cpp | C++ | head/contrib/llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 17 | 2015-02-04T05:21:14.000Z | 2021-05-30T21:03:48.000Z | head/contrib/llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | head/contrib/llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 3 | 2018-03-18T23:11:44.000Z | 2019-09-05T11:47:19.000Z | //===- NVPTXInstrInfo.cpp - NVPTX Instruction Information -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 35.693431 | 80 | 0.670757 | dplbsd |
33a725eeb9e6216ba74f3cd9948074afcb96c878 | 4,714 | cpp | C++ | src/uscxml/plugins/ioprocessor/scxml/SCXMLIOProcessor.cpp | stil/uscxml | 647ed9387053a7694bdd35c115a6615114a6a4cb | [
"BSD-2-Clause"
] | 82 | 2015-01-22T01:08:06.000Z | 2021-12-18T13:09:33.000Z | src/uscxml/plugins/ioprocessor/scxml/SCXMLIOProcessor.cpp | stil/uscxml | 647ed9387053a7694bdd35c115a6615114a6a4cb | [
"BSD-2-Clause"
] | 117 | 2015-07-08T10:30:44.000Z | 2021-06-29T12:37:39.000Z | src/uscxml/plugins/ioprocessor/scxml/SCXMLIOProcessor.cpp | stil/uscxml | 647ed9387053a7694bdd35c115a6615114a6a4cb | [
"BSD-2-Clause"
] | 51 | 2015-01-06T10:08:24.000Z | 2022-03-21T09:29:21.000Z | /**
* @file
* @author 2012-2013 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de)
* @copyright Simplified BSD
*
* @cond
* This program is free software: you can redistribute it and/or modify
* it under the terms of the FreeBSD license as published by the FreeBSD
* project.
*
* This program is ... | 30.217949 | 101 | 0.705982 | stil |
33a981d9a552d0dbe862e7262d6265a5937ce047 | 13,993 | cpp | C++ | src/CodeGen_PTX_Dev.cpp | pstanczyk/Halide | 19360a7462e713aef3287652b4cf6bee3f3a1cea | [
"MIT"
] | 1 | 2019-08-16T21:18:48.000Z | 2019-08-16T21:18:48.000Z | src/CodeGen_PTX_Dev.cpp | pstanczyk/Halide | 19360a7462e713aef3287652b4cf6bee3f3a1cea | [
"MIT"
] | null | null | null | src/CodeGen_PTX_Dev.cpp | pstanczyk/Halide | 19360a7462e713aef3287652b4cf6bee3f3a1cea | [
"MIT"
] | null | null | null | #include "CodeGen_PTX_Dev.h"
#include "IROperator.h"
#include "IRPrinter.h"
#include "Debug.h"
#include "Target.h"
#include "LLVM_Headers.h"
// This is declared in NVPTX.h, which is not exported. Ugly, but seems better than
// hardcoding a path to the .h file.
#if WITH_PTX
namespace llvm { ModulePass *createNVVMReflec... | 33.396181 | 120 | 0.631602 | pstanczyk |
33ab4fe88ba325e10828a59b01d06ef348474ec8 | 11,719 | hxx | C++ | Modules/Core/Common/include/itkTetrahedronCell.hxx | eile/ITK | 2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/include/itkTetrahedronCell.hxx | eile/ITK | 2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/include/itkTetrahedronCell.hxx | eile/ITK | 2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 24.619748 | 86 | 0.652018 | eile |
33ac04b5394584f969b608712ab5d590012a9ba9 | 41,070 | cpp | C++ | src/thirdparty/cryptopp860/rijndael.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/thirdparty/cryptopp860/rijndael.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/thirdparty/cryptopp860/rijndael.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | // rijndael.cpp - modified by Chris Morgan <cmorgan@wpi.edu>
// and Wei Dai from Paulo Baretto's Rijndael implementation
// The original code and all modifications are in the public domain.
// use "cl /EP /P /DCRYPTOPP_GENERATE_X64_MASM rijndael.cpp" to generate MASM code
/*
July 2018: Added support for ARMv7... | 30.764045 | 162 | 0.648113 | cstom4994 |
33acebd5876abb212519be52af8454507df6bacb | 1,950 | cpp | C++ | Utilities/timeLog.cpp | TitoGrine/CAL_Project | f5f89bc1e9ee8766554953c21909b6b5e2631f78 | [
"MIT"
] | null | null | null | Utilities/timeLog.cpp | TitoGrine/CAL_Project | f5f89bc1e9ee8766554953c21909b6b5e2631f78 | [
"MIT"
] | null | null | null | Utilities/timeLog.cpp | TitoGrine/CAL_Project | f5f89bc1e9ee8766554953c21909b6b5e2631f78 | [
"MIT"
] | null | null | null | #include "timeLog.h"
#include <chrono>
#include <fstream>
#include <string>
#include <windows.h>
using namespace std;
#define INFO_BUFFER_SIZE 32767
TCHAR infoBuf[INFO_BUFFER_SIZE];
DWORD bufCharCount = INFO_BUFFER_SIZE;
static chrono::high_resolution_clock::time_point startingTime;
const static string timesFil... | 23.214286 | 137 | 0.702564 | TitoGrine |
33acfa33f7b3dff96051567ebb9205afd317288c | 1,851 | cpp | C++ | tests/Bluzelle/TWCoinTypeTests.cpp | Raden-Hor/wallet-core | 3e64de57ab70e2ce8ecd78e43cdaf290bf334821 | [
"MIT"
] | 1,306 | 2019-08-08T13:25:24.000Z | 2022-03-31T23:32:28.000Z | tests/Bluzelle/TWCoinTypeTests.cpp | Raden-Hor/wallet-core | 3e64de57ab70e2ce8ecd78e43cdaf290bf334821 | [
"MIT"
] | 1,179 | 2019-08-08T07:06:10.000Z | 2022-03-31T12:33:47.000Z | tests/Bluzelle/TWCoinTypeTests.cpp | Raden-Hor/wallet-core | 3e64de57ab70e2ce8ecd78e43cdaf290bf334821 | [
"MIT"
] | 811 | 2019-08-08T13:27:44.000Z | 2022-03-31T21:22:53.000Z | // Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
//
// This is a GENERATED FILE, changes made here MAY BE LOS... | 52.885714 | 146 | 0.801189 | Raden-Hor |