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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
812bcd9ab6ef9725264aa2ced5f9a91a6c3b4c75 | 4,196 | hpp | C++ | src/util/socket_inet_address.hpp | direktspeed/ardb | 78e9480f6b385ff6b63f5c9c568a5716bc13386d | [
"BSD-3-Clause"
] | 1 | 2019-08-04T02:39:56.000Z | 2019-08-04T02:39:56.000Z | src/util/socket_inet_address.hpp | direktspeed/ardb | 78e9480f6b385ff6b63f5c9c568a5716bc13386d | [
"BSD-3-Clause"
] | null | null | null | src/util/socket_inet_address.hpp | direktspeed/ardb | 78e9480f6b385ff6b63f5c9c568a5716bc13386d | [
"BSD-3-Clause"
] | null | null | null | /*
*Copyright (c) 2013-2013, yinqiwen <yinqiwen@gmail.com>
*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... | 35.260504 | 80 | 0.569113 | direktspeed |
813152d1d59a570600bbae97b80e0ea3af93a9ec | 5,331 | cpp | C++ | bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonDocument/MemberProxy.cpp | adrienlacombe-ledger/bitcoinPoS | 2a4701c445c7eeec88c8abc2bd7940916899e79c | [
"MIT"
] | 81 | 2022-01-22T17:35:01.000Z | 2022-03-08T09:59:02.000Z | bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonDocument/MemberProxy.cpp | adrienlacombe-ledger/bitcoinPoS | 2a4701c445c7eeec88c8abc2bd7940916899e79c | [
"MIT"
] | 6 | 2022-01-25T20:23:08.000Z | 2022-03-07T23:50:32.000Z | bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonDocument/MemberProxy.cpp | adrienlacombe-ledger/bitcoinPoS | 2a4701c445c7eeec88c8abc2bd7940916899e79c | [
"MIT"
] | 14 | 2022-01-22T18:16:11.000Z | 2022-03-07T21:32:41.000Z | // ArduinoJson - https://arduinojson.org
// Copyright © 2014-2022, Benoit BLANCHON
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
using namespace ARDUINOJSON_NAMESPACE;
TEST_CASE("MemberProxy::add()") {
DynamicJsonDocument doc(4096);
MemberProxy<JsonDocument &, const char *> mp = doc["hello"];
S... | 21.495968 | 80 | 0.5423 | adrienlacombe-ledger |
8134723c429243193afd8ed7ad5fb89a82c069ec | 8,799 | cpp | C++ | brlycmbd/CrdBrlyLeg/QryBrlyLegMNLocation.cpp | mpsitech/brly-BeamRelay | 481ccb3e83ea6151fb78eba293b44ade62a0ec78 | [
"MIT"
] | null | null | null | brlycmbd/CrdBrlyLeg/QryBrlyLegMNLocation.cpp | mpsitech/brly-BeamRelay | 481ccb3e83ea6151fb78eba293b44ade62a0ec78 | [
"MIT"
] | null | null | null | brlycmbd/CrdBrlyLeg/QryBrlyLegMNLocation.cpp | mpsitech/brly-BeamRelay | 481ccb3e83ea6151fb78eba293b44ade62a0ec78 | [
"MIT"
] | null | null | null | /**
* \file QryBrlyLegMNLocation.cpp
* job handler for job QryBrlyLegMNLocation (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 11 Jan 2021
*/
// IP header --- ABOVE
#ifdef BRLYCMBD
#include <Brlycmbd.h>
#else
#include <Brly... | 25.284483 | 301 | 0.673486 | mpsitech |
8134b0ccfcbec5b9325435f9d4f55f1a533026ef | 1,189 | cpp | C++ | BashuOJ-Code/1074.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/1074.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/1074.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#define ri register int
#define ll long long
using namespace std;
const int Mod=1e4+7;
int n,Hash[Mod],Ans;
string a,b,a1[15],b1[15];
inline int getint()
{
int nu... | 18.873016 | 57 | 0.615643 | magicgh |
813559f2544ebe9ca6c74895f0b942a5c71e3155 | 946 | cpp | C++ | test/test-base/FakeLauncher.cpp | azubieta/appimage-appsdir | 76da0cac1542fe8159a63615b4614de2a1486b8c | [
"MIT"
] | 1 | 2019-08-19T16:52:41.000Z | 2019-08-19T16:52:41.000Z | test/test-base/FakeLauncher.cpp | azubieta/appimage-appsfolder | 76da0cac1542fe8159a63615b4614de2a1486b8c | [
"MIT"
] | 1 | 2019-08-21T07:31:46.000Z | 2019-08-21T07:31:46.000Z | test/test-base/FakeLauncher.cpp | azubieta/appimage-appsfolder | 76da0cac1542fe8159a63615b4614de2a1486b8c | [
"MIT"
] | null | null | null | #include "FakeLauncher.h"
void FakeLauncher::launch(const QString& command, const QStringList& args) {
launchCalled = true;
}
bool FakeLauncher::wasLaunchCalled() const {
return launchCalled;
}
bool FakeLauncher::registerApp(const QString& appImagePath) {
registerAppCalled = true;
return true;
}
boo... | 20.565217 | 76 | 0.729387 | azubieta |
81357d128906824f6fb6f52e722c5fb7168774d3 | 1,339 | cc | C++ | average-pv.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | average-pv.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | average-pv.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | #include "Application.hh"
#include "PV.hh"
APPLICATION
using namespace Permute;
// Accepts many model files on the command line and outputs the model with the
// average feature weight.
class AveragePV : public Application {
public:
AveragePV () :
Application ("average-pv")
{}
int main (const std::vector ... | 24.345455 | 78 | 0.59522 | lemrobotry |
8136d25e55bbba02f190a30d782e08a8688ac850 | 22 | cpp | C++ | P03/CPP/Animal.cpp | xtrm0/PO-LEIC-2015 | eb77bacaf4f38291893ca44651856b4465dfd1c0 | [
"WTFPL"
] | null | null | null | P03/CPP/Animal.cpp | xtrm0/PO-LEIC-2015 | eb77bacaf4f38291893ca44651856b4465dfd1c0 | [
"WTFPL"
] | null | null | null | P03/CPP/Animal.cpp | xtrm0/PO-LEIC-2015 | eb77bacaf4f38291893ca44651856b4465dfd1c0 | [
"WTFPL"
] | null | null | null | #include "Animal.hpp"
| 11 | 21 | 0.727273 | xtrm0 |
8138b1367fe48b9431a737f88da8d5009ed23dec | 18,605 | hh | C++ | extra/witre.old/WitreGraph.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | extra/witre.old/WitreGraph.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | extra/witre.old/WitreGraph.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | #ifndef WITREGRAPH
#define WITREGRAPH
#include<Wt/WPaintedWidget>
#include<Wt/WPainter>
#include<Wt/WPaintDevice>
#include<Wt/WPointF>
#include <Wt/WRectArea>
#include "WitreServer.hh"
#include <trex/transaction/TeleoReactor.hh>
# if defined(__clang__)
// clang annoys me by putting plenty of warnings on unused vari... | 37.969388 | 134 | 0.40172 | miatauro |
8138e46fcfb2ab5ad3e428a8d389b9e3c2a99aa2 | 179 | cpp | C++ | projects/PathosEngine/src/pathos/named_object.cpp | codeonwort/pathosengine | ea568afeac9af3ebe3f2e53cc5abeecb40714466 | [
"MIT"
] | 11 | 2016-08-30T12:01:35.000Z | 2021-12-29T15:34:03.000Z | projects/PathosEngine/src/pathos/named_object.cpp | codeonwort/pathosengine | ea568afeac9af3ebe3f2e53cc5abeecb40714466 | [
"MIT"
] | 9 | 2016-05-19T03:14:22.000Z | 2021-01-17T05:45:52.000Z | projects/PathosEngine/src/pathos/named_object.cpp | codeonwort/pathosengine | ea568afeac9af3ebe3f2e53cc5abeecb40714466 | [
"MIT"
] | null | null | null | #include "named_object.h"
namespace pathos {
const std::string& NamedObject::getName() const { return name; }
void NamedObject::setName(const std::string& n) { name = n; }
}
| 19.888889 | 65 | 0.692737 | codeonwort |
813b8a2c1142556b6e4fbbfa66354601e175e132 | 2,071 | cpp | C++ | website/archive/binaries/mac/src/muscle/ppscore.cpp | homiak/jabaws | f9c48c1311a07bffd99866f3d70a82e889f10493 | [
"Apache-2.0"
] | 1 | 2019-06-30T00:40:32.000Z | 2019-06-30T00:40:32.000Z | website/archive/binaries/mac/src/muscle/ppscore.cpp | homiak/jabaws | f9c48c1311a07bffd99866f3d70a82e889f10493 | [
"Apache-2.0"
] | null | null | null | website/archive/binaries/mac/src/muscle/ppscore.cpp | homiak/jabaws | f9c48c1311a07bffd99866f3d70a82e889f10493 | [
"Apache-2.0"
] | null | null | null | #include "muscle.h"
#include "textfile.h"
#include "msa.h"
#include "tree.h"
#include "profile.h"
#include "objscore.h"
bool g_bTracePPScore = false;
MSA *g_ptrPPScoreMSA1 = 0;
MSA *g_ptrPPScoreMSA2 = 0;
static ProfPos *ProfileFromMSALocal(MSA &msa, Tree &tree)
{
const unsigned uSeqCount = msa.GetSeqCo... | 22.031915 | 84 | 0.687108 | homiak |
813e03d4596c812960a575ff34c48c41e66fe650 | 942 | cpp | C++ | Recursion-Backtracking/25_print_encodings.cpp | anuanu0-0/pepcoding_dsa_level_1 | e94ea67da72360994cc30136fbced1e1227aafde | [
"MIT"
] | null | null | null | Recursion-Backtracking/25_print_encodings.cpp | anuanu0-0/pepcoding_dsa_level_1 | e94ea67da72360994cc30136fbced1e1227aafde | [
"MIT"
] | null | null | null | Recursion-Backtracking/25_print_encodings.cpp | anuanu0-0/pepcoding_dsa_level_1 | e94ea67da72360994cc30136fbced1e1227aafde | [
"MIT"
] | null | null | null | #include <iostream>
#include<string>
using namespace std;
string codes[] = {"", "a", "b", "c", "d", "e" ,"f" ,"g" ,"h",
"i", "j", "k", "l", "m" ,"n" ,"o" ,"p" ,
"q", "r", "s", "t", "u", "v", "w", "x",
"y", "z"};
void printEncoding(str... | 22.97561 | 61 | 0.419321 | anuanu0-0 |
81406861c52531c44afb07e3108a5bec1977121a | 2,483 | cpp | C++ | src/Functions/lcm.cpp | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | 2 | 2019-09-05T17:17:27.000Z | 2020-09-06T20:27:32.000Z | src/Functions/lcm.cpp | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | 1 | 2020-03-26T01:50:51.000Z | 2020-03-26T01:50:51.000Z | src/Functions/lcm.cpp | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | 1 | 2022-03-29T06:54:31.000Z | 2022-03-29T06:54:31.000Z | #include <Functions/FunctionFactory.h>
#include <Functions/FunctionBinaryArithmetic.h>
#include <numeric>
#include <limits>
#include <type_traits>
namespace
{
template <typename T>
constexpr T abs(T value) noexcept
{
if constexpr (std::is_signed_v<T>)
{
if (value >= 0 || value == std::numeric_limits... | 27.285714 | 126 | 0.679017 | lizhichao |
81417438e047999b33f80bf24cd746d7630711bd | 17,049 | cpp | C++ | gui/main_window/settings/SettingsTab.cpp | Vavilon3000/icq | 9fe7a3c42c07eb665d2e3b0ec50052de382fd89c | [
"Apache-2.0"
] | 1 | 2021-03-18T20:00:07.000Z | 2021-03-18T20:00:07.000Z | gui/main_window/settings/SettingsTab.cpp | Vavilon3000/icq | 9fe7a3c42c07eb665d2e3b0ec50052de382fd89c | [
"Apache-2.0"
] | null | null | null | gui/main_window/settings/SettingsTab.cpp | Vavilon3000/icq | 9fe7a3c42c07eb665d2e3b0ec50052de382fd89c | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "SettingsTab.h"
#include "../contact_list/Common.h"
#include "../../core_dispatcher.h"
#include "../../gui_settings.h"
#include "../../utils/utils.h"
#include "../../utils/InterConnector.h"
#include "../../utils/gui_coll_helper.h"
#include "../../controls/CustomButton.h"
#include "../../co... | 52.783282 | 166 | 0.704206 | Vavilon3000 |
8148ac0cbcc383a7ea3e6fbbc5d6ad46ea24756b | 2,028 | cpp | C++ | Source/core/dom/DOMMatrixReadOnly.cpp | Fusion-Rom/android_external_chromium_org_third_party_WebKit | 8865f83aaf400ef5f7c234a70da404d3fc5e1272 | [
"BSD-3-Clause"
] | 2 | 2016-05-19T10:37:25.000Z | 2019-09-18T04:37:14.000Z | Source/core/dom/DOMMatrixReadOnly.cpp | Fusion-Rom/android_external_chromium_org_third_party_WebKit | 8865f83aaf400ef5f7c234a70da404d3fc5e1272 | [
"BSD-3-Clause"
] | null | null | null | Source/core/dom/DOMMatrixReadOnly.cpp | Fusion-Rom/android_external_chromium_org_third_party_WebKit | 8865f83aaf400ef5f7c234a70da404d3fc5e1272 | [
"BSD-3-Clause"
] | 7 | 2015-09-23T09:56:29.000Z | 2022-01-20T10:36:06.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "core/dom/DOMMatrix.h"
namespace blink {
bool DOMMatrixReadOnly::is2D() const
{
return m_is2D;
}
bool DOMMatrixReadOnl... | 28.56338 | 84 | 0.689349 | Fusion-Rom |
814a90f48a4ac25f3142bf0a10aca34e3014e087 | 2,128 | cpp | C++ | HandTest/src/main.cpp | yaqwsx/TimeMachine | 5b492aea46aaad5ba29d76e0a1b4b5fd8ceb3a99 | [
"MIT"
] | 1 | 2020-07-22T07:31:28.000Z | 2020-07-22T07:31:28.000Z | HandTest/src/main.cpp | yaqwsx/TimeMachine | 5b492aea46aaad5ba29d76e0a1b4b5fd8ceb3a99 | [
"MIT"
] | null | null | null | HandTest/src/main.cpp | yaqwsx/TimeMachine | 5b492aea46aaad5ba29d76e0a1b4b5fd8ceb3a99 | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
const char *SECRET1 = "slovo1";
const char *SECRET2 = "slovo2";
const char *SECRET3 = "slovo3";
const char *SECRET4 = "slovo4";
const char *SECRET5 = "slovo5";
const char *SECRET6 = "slovo6";
const char *SECRET7 = "slovo7";
static const in... | 23.644444 | 73 | 0.584586 | yaqwsx |
814b3ece7df9c082a695e6b022a7207f0280e018 | 3,816 | cpp | C++ | be/test/exprs/agg/json_each_test.cpp | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | 1 | 2022-03-08T09:13:32.000Z | 2022-03-08T09:13:32.000Z | be/test/exprs/agg/json_each_test.cpp | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | be/test/exprs/agg/json_each_test.cpp | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#include <gtest/gtest.h>
#include "exprs/table_function/table_function.h"
#include "exprs/table_function/table_function_factory.h"
#include "gen_cpp/Types_types.h"
#include "runtime/runtime_state.h"
#include "testutil/a... | 32.896552 | 118 | 0.582547 | stephen-shelby |
814bcac929e8933dd5252a86359de0e02343b476 | 2,303 | cpp | C++ | src/d3d12/ResourceHeapAllocatorD3D12.cpp | bbernhar/GPGMM | 82618e725c33ddd49680684a9ed90040dda55e0e | [
"Apache-2.0"
] | null | null | null | src/d3d12/ResourceHeapAllocatorD3D12.cpp | bbernhar/GPGMM | 82618e725c33ddd49680684a9ed90040dda55e0e | [
"Apache-2.0"
] | null | null | null | src/d3d12/ResourceHeapAllocatorD3D12.cpp | bbernhar/GPGMM | 82618e725c33ddd49680684a9ed90040dda55e0e | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 The Dawn Authors
// Copyright 2021 The GPGMM Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... | 42.648148 | 98 | 0.625271 | bbernhar |
814c3ac07706c9608f5d2e6034e0600e6ad5dd99 | 5,500 | cpp | C++ | lottie_qt/Classes/Models/LOTLayer.cpp | Conntac/lottie-qt | 90a80263880c5408d2933527b7c9242a39954d5f | [
"Apache-2.0"
] | 5 | 2019-01-11T14:13:58.000Z | 2020-08-05T04:10:20.000Z | lottie_qt/Classes/Models/LOTLayer.cpp | Conntac/lottie-qt | 90a80263880c5408d2933527b7c9242a39954d5f | [
"Apache-2.0"
] | null | null | null | lottie_qt/Classes/Models/LOTLayer.cpp | Conntac/lottie-qt | 90a80263880c5408d2933527b7c9242a39954d5f | [
"Apache-2.0"
] | 2 | 2019-02-14T12:44:38.000Z | 2020-05-27T12:22:11.000Z | //
// LOTLayer.m
// LottieAnimator
//
// Created by Brandon Withrow on 12/14/15.
// Copyright © 2015 Brandon Withrow. All rights reserved.
//
#include "LOTLayer.h"
#include "LOTAsset.h"
#include "LOTAssetGroup.h"
#include "LOTShapeGroup.h"
#include "LOTComposition.h"
#include "LOTHelpers.h"
#include "LOTMask.h"
#i... | 31.428571 | 141 | 0.624909 | Conntac |
814d3c64f7f5a92069926a7fc872e0fefdab0de8 | 805 | cpp | C++ | src/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/shape_of.cpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/shape_of.cpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/shape_of.cpp | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include "single_layer_tests/shape_of.hpp"
#include "common_test_utils/test_constants.hpp"
using namespace LayerTestsDefinitions;
namespace {
const std::vector<InferenceEngine::Precision> netPrecisions = {
... | 35 | 89 | 0.596273 | pazamelin |
814f894e431b2d108e977d40ce9f0ec1cd13640e | 9,039 | cpp | C++ | Gamepad.cpp | Raattis/SFML_GamepadSupport | 73e35a315037fbba0d8789b6652065e187fda71b | [
"MIT"
] | null | null | null | Gamepad.cpp | Raattis/SFML_GamepadSupport | 73e35a315037fbba0d8789b6652065e187fda71b | [
"MIT"
] | null | null | null | Gamepad.cpp | Raattis/SFML_GamepadSupport | 73e35a315037fbba0d8789b6652065e187fda71b | [
"MIT"
] | null | null | null | #include "Gamepad.h"
#include <SFML/Graphics.hpp>
#include <string>
#include <fstream>
#include <iostream>
/// XInput
#include "Windows.h"
#include "Xinput.h"
#pragma comment(lib,"XInput.lib") // include libraries
#pragma comment(lib,"Xinput9_1_0.lib") // include libraries
Gamepad::Gamepad(int number, bool XInput) :... | 29.442997 | 102 | 0.664897 | Raattis |
814ff2bd85517eb66a0b93f7cb38e1beea79e3ff | 20,188 | cpp | C++ | src/util/sound/gme/Spc_Dsp.cpp | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | 1 | 2021-06-16T15:25:47.000Z | 2021-06-16T15:25:47.000Z | src/util/sound/gme/Spc_Dsp.cpp | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | null | null | null | src/util/sound/gme/Spc_Dsp.cpp | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | null | null | null | // Game_Music_Emu 0.5.5. http://www.slack.net/~ant/
// Based on Brad Martin's OpenSPC DSP emulator
#include "Spc_Dsp.h"
#include "blargg_endian.h"
#include <string.h>
/* Copyright (C) 2002 Brad Martin */
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it un... | 30.266867 | 98 | 0.588865 | marstau |
8151a76754506bee9852f224111f50244b999c55 | 2,614 | cpp | C++ | gym/100518/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/100518/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/100518/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
typedef long long ll;
typedef pair<ll, ll> pii;
const int maxn = 300 + 5;
int n;
vector<int> g[maxn];
bool visited[maxn];
int cnt = 0;
bool ok = false;
vector<int> path, comb;
void print(){
for(int i = 0; i < (int)path.size(); i++)
cout << path... | 14.768362 | 58 | 0.466335 | albexl |
8152aee6b8f10a4e5a78477f105e4548c53f0eea | 32,524 | cpp | C++ | src/context.cpp | winsider/libsass | a3e4df0ea5bdf2728a663294b8b84a3c7574be29 | [
"MIT"
] | null | null | null | src/context.cpp | winsider/libsass | a3e4df0ea5bdf2728a663294b8b84a3c7574be29 | [
"MIT"
] | null | null | null | src/context.cpp | winsider/libsass | a3e4df0ea5bdf2728a663294b8b84a3c7574be29 | [
"MIT"
] | null | null | null | // sass.hpp must go before all system headers to get the
// __EXTENSIONS__ fix on Solaris.
#include "sass.hpp"
#include "ast.hpp"
#include "remove_placeholders.hpp"
#include "sass_functions.hpp"
#include "check_nesting.hpp"
#include "fn_selectors.hpp"
#include "fn_strings.hpp"
#include "fn_numbers.hpp"
#include "fn_co... | 37.774681 | 173 | 0.661727 | winsider |
8152dc0356a4de52efab6d2494348c83e5e59bde | 306 | hpp | C++ | test/game/sudoku_test.hpp | edwinkepler/sudoku | d227f5ce49dfb2467ec693693a9ec6db648dff8a | [
"MIT"
] | null | null | null | test/game/sudoku_test.hpp | edwinkepler/sudoku | d227f5ce49dfb2467ec693693a9ec6db648dff8a | [
"MIT"
] | null | null | null | test/game/sudoku_test.hpp | edwinkepler/sudoku | d227f5ce49dfb2467ec693693a9ec6db648dff8a | [
"MIT"
] | null | null | null | /*
* @copyright 2017 Edwin Kepler
* @license MIT
*/
#ifndef SUDOKU_TEST_HPP
#define SUDOKU_TEST_HPP
#include "game/sudoku.hpp"
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
using namespace std;
BOOST_AUTO_TEST_CASE(test)
{
BOOST_REQUIRE_EQUAL(1, 1);
}
#endif // SUDOKU_TEST_HPP
| 13.304348 | 35 | 0.74183 | edwinkepler |
81551bfb538e3d73623ce24d7c4f9b2138867733 | 2,020 | cpp | C++ | Source/Novah.AdvancedMath/Plane.cpp | jorgy343/NovahTracer | d430d8ff4871bd838dafd7beef9d745193206fa7 | [
"MIT"
] | null | null | null | Source/Novah.AdvancedMath/Plane.cpp | jorgy343/NovahTracer | d430d8ff4871bd838dafd7beef9d745193206fa7 | [
"MIT"
] | null | null | null | Source/Novah.AdvancedMath/Plane.cpp | jorgy343/NovahTracer | d430d8ff4871bd838dafd7beef9d745193206fa7 | [
"MIT"
] | null | null | null | #include "NovahAdvancedMath.h"
using namespace Novah::AdvancedMath;
Plane::Plane(Vector3 normal, float d)
: Normal(normal), D(d)
{
}
Plane::Plane(Vector3 normal, Vector3 point)
: Normal(normal), D(-Vector3::Dot(normal, point))
{
}
const Surface* Plane::IntersectRay(const Ray& ray, IntersectionData* inte... | 32.063492 | 109 | 0.584653 | jorgy343 |
81576d063e89e2bd2fbb87c1659fb599a2cb7e7b | 1,679 | hpp | C++ | a3/map_metadata_f/Tanoa/ferry01.hpp | tom4897/a3_map_metadata_f | bcb23baa3b1111629077e2d6b56faa5cd9ccd741 | [
"AAL"
] | null | null | null | a3/map_metadata_f/Tanoa/ferry01.hpp | tom4897/a3_map_metadata_f | bcb23baa3b1111629077e2d6b56faa5cd9ccd741 | [
"AAL"
] | null | null | null | a3/map_metadata_f/Tanoa/ferry01.hpp | tom4897/a3_map_metadata_f | bcb23baa3b1111629077e2d6b56faa5cd9ccd741 | [
"AAL"
] | null | null | null | /* [2017,10,10,13,52] */
/* CfgWorlds >> Tanoa >> Names >> ferry01 */
areaPosition[]={4609.91, 5239.02}; // Position x, y
areaRadiusA=105.64; // radius A of the location
areaRadiusB=110.88; // radius B of the location
areaAngle=21.54; // Rotation of the location
demography=CIV; // Demography
accessPoints[] = // Typ... | 36.5 | 114 | 0.656343 | tom4897 |
815977dab6177a746f0a9d137a5777477ed8d8ff | 10,681 | cc | C++ | PhysicsTools/IsolationAlgos/plugins/CITKPFIsolationSumProducerForPUPPI.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | PhysicsTools/IsolationAlgos/plugins/CITKPFIsolationSumProducerForPUPPI.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | PhysicsTools/IsolationAlgos/plugins/CITKPFIsolationSumProducerForPUPPI.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
#include "DataFormats/RecoCandidate/inter... | 48.55 | 150 | 0.698905 | ckamtsikis |
8159941cbc55bd7630e79388944dee599eb34ae5 | 2,867 | cpp | C++ | bindings/python/src/LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp | cowlicks/library-mathematics | f1ff3257bb2da5371a9eacfcec538b2c00871696 | [
"Apache-2.0"
] | null | null | null | bindings/python/src/LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp | cowlicks/library-mathematics | f1ff3257bb2da5371a9eacfcec538b2c00871696 | [
"Apache-2.0"
] | null | null | null | bindings/python/src/LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp | cowlicks/library-mathematics | f1ff3257bb2da5371a9eacfcec538b2c00871696 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @project Library/Mathematics
/// @file LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp
/// @author Lucas Brémond <lucas@loft... | 50.298246 | 160 | 0.506104 | cowlicks |
815a08991af598df07f46ae0567d4d381bbe3fca | 5,165 | cpp | C++ | core/test/base/exception.cpp | prinz7/ginkgo | de51ee9a4fbec45d4af99c877a3a49ab94c8cdb5 | [
"BSD-3-Clause"
] | null | null | null | core/test/base/exception.cpp | prinz7/ginkgo | de51ee9a4fbec45d4af99c877a3a49ab94c8cdb5 | [
"BSD-3-Clause"
] | null | null | null | core/test/base/exception.cpp | prinz7/ginkgo | de51ee9a4fbec45d4af99c877a3a49ab94c8cdb5 | [
"BSD-3-Clause"
] | null | null | null | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2019, the Ginkgo 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:
1. Redistributions of source co... | 34.66443 | 80 | 0.690416 | prinz7 |
815b14b485089a156761b4770017dfe945773353 | 1,766 | hpp | C++ | src/parser.hpp | Grypesl/ccloxx | 44d1414152ef0c5418247e8f9819c74e68393979 | [
"MIT"
] | 5 | 2020-04-08T08:58:22.000Z | 2020-09-02T07:49:03.000Z | src/parser.hpp | Gryphnl/ccloxx | 44d1414152ef0c5418247e8f9819c74e68393979 | [
"MIT"
] | null | null | null | src/parser.hpp | Gryphnl/ccloxx | 44d1414152ef0c5418247e8f9819c74e68393979 | [
"MIT"
] | null | null | null | #ifndef PARSER_HPP
#define PARSER_HPP
#include <vector>
#include "scanner.hpp"
#include "ast.hpp"
namespace lox
{
using ExprPtr = std::shared_ptr<Expr>;
using StmtPtr = std::shared_ptr<Stmt>;
using ExprList = std::vector<ExprPtr>;
using StmtList = std::vector<StmtPtr>;
class Parser
{
pr... | 17.66 | 100 | 0.583239 | Grypesl |
815ba3b2bec22c716492e7752abe98c543a0043b | 839 | cpp | C++ | kernel/lib/rand.cpp | panix-os/Panix | 1047fc384696684a7583bda035fa580da4adbd5b | [
"MIT"
] | 68 | 2020-10-10T03:56:04.000Z | 2021-07-22T19:15:47.000Z | kernel/lib/rand.cpp | panix-os/Panix | 1047fc384696684a7583bda035fa580da4adbd5b | [
"MIT"
] | 88 | 2020-10-01T23:36:44.000Z | 2021-07-22T03:11:43.000Z | kernel/lib/rand.cpp | panix-os/Panix | 1047fc384696684a7583bda035fa580da4adbd5b | [
"MIT"
] | 5 | 2021-06-25T16:56:46.000Z | 2021-07-21T02:38:41.000Z | /**
* @file rand.cpp
* @author Brian Kernighan, Dennis Ritchie (C Standard Authors)
* Michel (JMallone) Gomes (michels@utfpr.edu.br)
* @brief Portable implementation of rand and srand as according to the
* C standard implementation by K&R.
* @version 0.1
* @date 2021-07-20
*
* @copyright C Programming Language... | 25.424242 | 78 | 0.716329 | panix-os |
815c128a504e242aa428e8ed91a5ceb2cd48a285 | 2,364 | cpp | C++ | aws-cpp-sdk-config/source/model/SourceDetail.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-config/source/model/SourceDetail.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-config/source/model/SourceDetail.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/config/model/SourceDetail.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace... | 25.419355 | 153 | 0.776227 | Neusoft-Technology-Solutions |
815c6a2665777855d0e1224dde4bc22039fa7eb0 | 3,515 | cpp | C++ | Solution.cpp | allenbrubaker/guided-local-search | 22b882a3677d445393ecd2d33bf5b8f337db2c37 | [
"MIT"
] | 1 | 2017-07-25T19:12:12.000Z | 2017-07-25T19:12:12.000Z | Solution.cpp | allenbrubaker/guided-local-search | 22b882a3677d445393ecd2d33bf5b8f337db2c37 | [
"MIT"
] | null | null | null | Solution.cpp | allenbrubaker/guided-local-search | 22b882a3677d445393ecd2d33bf5b8f337db2c37 | [
"MIT"
] | 2 | 2019-07-28T02:46:25.000Z | 2020-08-05T02:38:53.000Z | #pragma once
#include "Instance.cpp"
#include "Global.cpp"
#include "Permutation.cpp"
class Solution : public Permutation
{
private:
double *Fitness;
int LastSwap[2];
public:
double *LastSwapCost;
const Instance& Problem;
Solution(const Instance& instance) : Permutation(instance.Size), Problem(instance), LastSw... | 26.832061 | 134 | 0.599147 | allenbrubaker |
815d3004c3670acaeedb4c7ba93a4bebaf0cdc7d | 2,860 | cpp | C++ | src/Graphical/GUI/MainMenu.cpp | Khsime-Marwane/indie_studio | 75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc | [
"MIT"
] | null | null | null | src/Graphical/GUI/MainMenu.cpp | Khsime-Marwane/indie_studio | 75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc | [
"MIT"
] | null | null | null | src/Graphical/GUI/MainMenu.cpp | Khsime-Marwane/indie_studio | 75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc | [
"MIT"
] | null | null | null | #include "Common/GUI.hpp"
std::vector<std::unique_ptr<indie::IComponent>> indie::GUI::loadMenu() {
std::vector<std::unique_ptr<indie::IComponent>> res;
_posBackground = 0;
///Load menu components
res.push_back(createComponent(SpriteId::MAIN_MENU_GUI, 0.0f, 0.0f, 1.0f, 1.0f, indie::Color::White, indie... | 30.105263 | 126 | 0.570979 | Khsime-Marwane |
815e92f7c7cd8d87227523c1f8753a9df8ce284b | 141 | cpp | C++ | src/Game.cpp | dogukanteber/Snake | 7a4dfbbce8d823284226784f251404caed52f8a3 | [
"MIT"
] | null | null | null | src/Game.cpp | dogukanteber/Snake | 7a4dfbbce8d823284226784f251404caed52f8a3 | [
"MIT"
] | null | null | null | src/Game.cpp | dogukanteber/Snake | 7a4dfbbce8d823284226784f251404caed52f8a3 | [
"MIT"
] | null | null | null | #include "../include/GameManager.hpp"
int main(int argc, char const *argv[])
{
GameManager gameManager;
gameManager.start();
return 0;
} | 15.666667 | 38 | 0.70922 | dogukanteber |
815f3a045551cf11a4f03fb6ef7c677b75e82324 | 5,432 | cpp | C++ | deps/lld/ELF/Target.cpp | coypoop/zig | f57182456d52615ece1133db9c33ef57e3ae187b | [
"MIT"
] | 3 | 2019-12-24T08:57:11.000Z | 2020-12-01T06:51:10.000Z | deps/lld/ELF/Target.cpp | coypoop/zig | f57182456d52615ece1133db9c33ef57e3ae187b | [
"MIT"
] | 1 | 2020-10-30T18:22:23.000Z | 2020-10-30T21:50:34.000Z | deps/lld/ELF/Target.cpp | coypoop/zig | f57182456d52615ece1133db9c33ef57e3ae187b | [
"MIT"
] | 1 | 2019-05-13T17:35:42.000Z | 2019-05-13T17:35:42.000Z | //===- Target.cpp ---------------------------------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | 29.846154 | 80 | 0.651141 | coypoop |
8162eb8581cb71494518fd0b34458ae2c5ded592 | 838 | cpp | C++ | c++/.leetcode/701.insert-into-a-binary-search-tree.cpp | ming197/MyLeetCode | eba575765976b12db07be0857faad85b9c60d723 | [
"Apache-2.0"
] | null | null | null | c++/.leetcode/701.insert-into-a-binary-search-tree.cpp | ming197/MyLeetCode | eba575765976b12db07be0857faad85b9c60d723 | [
"Apache-2.0"
] | null | null | null | c++/.leetcode/701.insert-into-a-binary-search-tree.cpp | ming197/MyLeetCode | eba575765976b12db07be0857faad85b9c60d723 | [
"Apache-2.0"
] | null | null | null | /*
* @lc app=leetcode id=701 lang=cpp
*
* [701] Insert into a Binary Search Tree
*/
// @lc code=start
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeN... | 22.648649 | 94 | 0.571599 | ming197 |
81631f93031c3568f1e212e14ae6f673856d82f6 | 3,637 | cpp | C++ | Oem/dbxml/xqilla/src/items/ATDurationOrDerived.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 2 | 2017-04-19T01:38:30.000Z | 2020-07-31T03:05:32.000Z | Oem/dbxml/xqilla/src/items/ATDurationOrDerived.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | null | null | null | Oem/dbxml/xqilla/src/items/ATDurationOrDerived.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 1 | 2021-12-29T10:46:12.000Z | 2021-12-29T10:46:12.000Z | /*
* Copyright (c) 2001-2008
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004-2008
* Oracle. 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... | 51.957143 | 139 | 0.825406 | achilex |
8164b18fa129a7113292443dd28f77226f1f0253 | 2,104 | cc | C++ | CondCore/DBOutputService/test/stubs/writeBlob.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CondCore/DBOutputService/test/stubs/writeBlob.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CondCore/DBOutputService/test/stubs/writeBlob.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "FWCore/ServiceRegistry/interface/Service.h"
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "CondFormats/Calibration/interface/mySiStripNoises.h"
#include <boost/random/linear_congruential.hpp>
#include <boost/random/uniform_real.hpp>
#include <boost/random/variate_generator.hpp>... | 33.396825 | 92 | 0.718631 | nistefan |
8164f1def063371e5f58cffa2d827be8c84e2e52 | 256 | cpp | C++ | exemplos/4_Condicionais/impar.cpp | danielgs83/cpe-unb | f958d2a4899a8d4d5c1465637d1d1b10610661e4 | [
"CC0-1.0"
] | 1 | 2022-02-04T17:16:50.000Z | 2022-02-04T17:16:50.000Z | exemplos/4_Condicionais/impar.cpp | danielgs83/cpe-unb | f958d2a4899a8d4d5c1465637d1d1b10610661e4 | [
"CC0-1.0"
] | null | null | null | exemplos/4_Condicionais/impar.cpp | danielgs83/cpe-unb | f958d2a4899a8d4d5c1465637d1d1b10610661e4 | [
"CC0-1.0"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int a;
cin >> a;
if((a%2) == 0)
cout << "O valor e par.\n";
else
cout << "O valor e impar.\n";
return 0;
}
| 14.222222 | 51 | 0.371094 | danielgs83 |
816854a669380e169a580ff0929399eb62ac6531 | 5,145 | cpp | C++ | flume/runtime/common/loader_executor_test.cpp | tushushu/bigflow | ab494e49a02b446bb2f504a2652f866c924c1baf | [
"Apache-2.0"
] | 1,236 | 2017-11-14T11:10:10.000Z | 2022-03-08T11:54:41.000Z | flume/runtime/common/loader_executor_test.cpp | tushushu/bigflow | ab494e49a02b446bb2f504a2652f866c924c1baf | [
"Apache-2.0"
] | 38 | 2017-11-14T16:29:12.000Z | 2020-01-23T08:32:04.000Z | flume/runtime/common/loader_executor_test.cpp | tushushu/bigflow | ab494e49a02b446bb2f504a2652f866c924c1baf | [
"Apache-2.0"
] | 184 | 2017-11-27T07:23:36.000Z | 2022-03-14T02:54:16.000Z | /***************************************************************************
*
* Copyright (c) 2013 Baidu, Inc. 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
*
... | 34.072848 | 84 | 0.664334 | tushushu |
816ed5161ff3760309159aecfa482e7d8d98d99a | 4,222 | cpp | C++ | samples/common/postprocess/postprocess_classification.cpp | HFauto/CNStream | 1d4847327fff83eedbc8de6911855c5f7bb2bf22 | [
"Apache-2.0"
] | 172 | 2019-08-24T10:05:14.000Z | 2022-03-29T07:45:18.000Z | samples/common/postprocess/postprocess_classification.cpp | HFauto/CNStream | 1d4847327fff83eedbc8de6911855c5f7bb2bf22 | [
"Apache-2.0"
] | 27 | 2019-09-01T11:04:45.000Z | 2022-01-17T09:27:07.000Z | samples/common/postprocess/postprocess_classification.cpp | HFauto/CNStream | 1d4847327fff83eedbc8de6911855c5f7bb2bf22 | [
"Apache-2.0"
] | 72 | 2019-08-24T10:13:06.000Z | 2022-03-28T08:26:05.000Z | /*************************************************************************
* Copyright (C) [2019] by Cambricon, Inc. 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 a... | 37.035088 | 118 | 0.648271 | HFauto |
8173d5c1184cbc7093297f9866d086e3c429948c | 3,311 | cpp | C++ | test/filtering/segmentation_test.cpp | bradparks/Restore__3d_model_from_pics_2d_multiple_images | 58f935130693e6eba2db133ce8dec3fd6a3d3dd0 | [
"MIT"
] | 21 | 2018-07-17T02:35:43.000Z | 2022-02-25T00:45:09.000Z | test/filtering/segmentation_test.cpp | bradparks/Restore__3d_model_from_pics_2d_multiple_images | 58f935130693e6eba2db133ce8dec3fd6a3d3dd0 | [
"MIT"
] | null | null | null | test/filtering/segmentation_test.cpp | bradparks/Restore__3d_model_from_pics_2d_multiple_images | 58f935130693e6eba2db133ce8dec3fd6a3d3dd0 | [
"MIT"
] | 11 | 2018-09-06T17:29:36.000Z | 2022-01-29T12:20:59.000Z | // Copyright (c) 2015-2016, Kai Wolf
//
// 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 rights
// to use, copy, modify, merge, publish... | 39.416667 | 80 | 0.702205 | bradparks |
8176bc277fa038fca15ad0423c08d15b301a2379 | 31,595 | hpp | C++ | sdk/include/XEvt1.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/XEvt1.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/XEvt1.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | #define WM_NULL 0x0000
#define WM_CREATE 0x0001
#define WM_DESTROY 0x0002
#define WM_MOVE 0x0003
#define WM_SIZE 0x0005
#define WM_ACTIVATE 0x0006
#define WM_SETFOCUS ... | 36.067352 | 128 | 0.585061 | qianxj |
40be5d932f39af6bb9ef75177c111f5a14254c39 | 1,274 | cpp | C++ | src/common/persistence/base/Save.cpp | dataliz9r/MDE4CPP | 9c5ce01c800fb754c371f1a67f648366eeabae49 | [
"MIT"
] | 12 | 2017-02-17T10:33:51.000Z | 2022-03-01T02:48:10.000Z | src/common/persistence/base/Save.cpp | dataliz9r/MDE4CPP | 9c5ce01c800fb754c371f1a67f648366eeabae49 | [
"MIT"
] | 28 | 2017-10-17T20:23:52.000Z | 2021-03-04T16:07:13.000Z | src/common/persistence/base/Save.cpp | dataliz9r/MDE4CPP | 9c5ce01c800fb754c371f1a67f648366eeabae49 | [
"MIT"
] | 22 | 2017-03-24T19:03:58.000Z | 2022-03-31T12:10:07.000Z | /*
* Save.cpp
*
* Created on: 29.05.2017
* Author: Alexander
*/
#include "persistence/base/Save.hpp"
#include "PersistenceDefine.hpp"
#include <iostream>
#include "ecore/EClass.hpp"
#include "ecore/EObject.hpp"
#include "ecore/EPackage.hpp"
#include "persistence/base/SaveHandler.hpp"
using namespace pers... | 24.037736 | 149 | 0.716641 | dataliz9r |
40c0a29e8ce3ab91099d5ed63819888d963c1c46 | 12,809 | cpp | C++ | python/igeScene.cpp | indigames/igeScene | caf6e5c7575ac9fb4d7e887764707d4faa5d168e | [
"MIT"
] | null | null | null | python/igeScene.cpp | indigames/igeScene | caf6e5c7575ac9fb4d7e887764707d4faa5d168e | [
"MIT"
] | null | null | null | python/igeScene.cpp | indigames/igeScene | caf6e5c7575ac9fb4d7e887764707d4faa5d168e | [
"MIT"
] | null | null | null | #include <Python.h>
#include <pythonResource.h>
#include "python/igeScene.h"
#include "python/igeScene_doc_en.h"
#include "python/pyScene.h"
#include "python/pySceneManager.h"
#include "python/pySceneObject.h"
#include "python/pyScript.h"
#include "python/pyComponent.h"
#include "python/pyTransformComponent.h"
#incl... | 42.413907 | 105 | 0.769537 | indigames |
40c0cb5eba57979db28f413db9844ed5ce854eff | 71,437 | cc | C++ | third_party/blink/renderer/modules/accessibility/ax_selection_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/accessibility/ax_selection_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/accessibility/ax_selection_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/accessibility/ax_selection.h"
#include <string>
#include "testing/gtest/include/gtest/gtest.h"
#include "th... | 40.520136 | 98 | 0.720257 | sarang-apps |
40c450720b3a5058eb1a32c7295502c7f29aa13b | 6,445 | cpp | C++ | dp/third-party/hyperscan/unit/hyperscan/allocators.cpp | jtravee/neuvector | a88b9363108fc5c412be3007c3d4fb700d18decc | [
"Apache-2.0"
] | 2,868 | 2017-10-26T02:25:23.000Z | 2022-03-31T23:24:16.000Z | unit/hyperscan/allocators.cpp | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 270 | 2017-10-30T19:53:54.000Z | 2022-03-30T22:03:17.000Z | unit/hyperscan/allocators.cpp | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 403 | 2017-11-02T01:18:22.000Z | 2022-03-14T08:46:20.000Z | /*
* Copyright (c) 2015-2016, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 32.550505 | 80 | 0.729247 | jtravee |
40c4bf0ab793a0b5bc0137b6276f0ffa962c014a | 1,812 | cpp | C++ | src/kits/debugger/jobs/WriteValueNodeJob.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/kits/debugger/jobs/WriteValueNodeJob.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/kits/debugger/jobs/WriteValueNodeJob.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2015, Rene Gollent, rene@gollent.com.
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#include "Jobs.h"
#include <AutoLocker.h>
#include "Architecture.h"
#include "CpuState.h"
#include "DebuggerInterface.h"
#include "TeamTypeInformation.h... | 22.37037 | 74 | 0.770971 | Kirishikesan |
40c6f54b09a261ce5d9cc090bf9027d6d8db7a07 | 2,333 | cpp | C++ | modules/largest-subseq/src/largest_subseq.cpp | gurylev-nikita/devtools-course-practice | bab6ba4e39f04940e27c9ac148505eb152c05d17 | [
"CC-BY-4.0"
] | null | null | null | modules/largest-subseq/src/largest_subseq.cpp | gurylev-nikita/devtools-course-practice | bab6ba4e39f04940e27c9ac148505eb152c05d17 | [
"CC-BY-4.0"
] | 3 | 2021-04-22T17:12:19.000Z | 2021-05-14T12:16:25.000Z | modules/largest-subseq/src/largest_subseq.cpp | taktaev-artyom/devtools-course-practice | 7cf19defe061c07cfb3ebb71579456e807430a5d | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2021 Kirillov Konstantin
#include "include/largest_subseq.h"
#include <vector>
#include <limits>
#include <algorithm>
#include <string>
Sequential::Sequential(std::vector <int> seq)
:
m_seq(seq) {
}
std::vector<int> Sequential::findLargSubseqNlogN(std::vector <int> fSec) {
int n = fSec.size()... | 24.051546 | 74 | 0.474068 | gurylev-nikita |
40c9abfbf1387bb1c04b7fcdd8524289ef1d8f96 | 7,895 | cc | C++ | coela_luckypipe/src/implementation/frame_registration.cc | timstaley/coelacanth | d8adc49bac5dac54fdce600ea0260c526ce361af | [
"BSD-2-Clause"
] | 1 | 2020-10-22T03:08:45.000Z | 2020-10-22T03:08:45.000Z | coela_luckypipe/src/implementation/frame_registration.cc | timstaley/coelacanth | d8adc49bac5dac54fdce600ea0260c526ce361af | [
"BSD-2-Clause"
] | null | null | null | coela_luckypipe/src/implementation/frame_registration.cc | timstaley/coelacanth | d8adc49bac5dac54fdce600ea0260c526ce361af | [
"BSD-2-Clause"
] | null | null | null | #include "../frame_registration.h"
#include "coela_core/src/image_utils.h"
#include "coela_core/src/convolution.h"
#include <utility>
#include <stdexcept>
#include <iostream>
#include <coela_utility/src/misc_math.h>
using std::cerr; using std::endl;
using std::pair;
namespace coela {
namespace frame_registration {
usi... | 44.60452 | 117 | 0.627106 | timstaley |
40ca2c120728ebbe9e5be0b6a999262a9be1af5e | 7,215 | cpp | C++ | x3daudio1_7/xaudio2-hook/XAPO/HrtfEffect.cpp | kosumosu/x3daudio1_7_hrtf | 28cd541ee2cfee91f69b5099e202272d0710e4c8 | [
"Unlicense"
] | 239 | 2015-07-25T21:12:51.000Z | 2022-02-25T23:22:43.000Z | x3daudio1_7/xaudio2-hook/XAPO/HrtfEffect.cpp | kosumosu/x3daudio1_7_hrtf | 28cd541ee2cfee91f69b5099e202272d0710e4c8 | [
"Unlicense"
] | 28 | 2017-06-05T06:11:52.000Z | 2022-02-21T07:09:31.000Z | x3daudio1_7/xaudio2-hook/XAPO/HrtfEffect.cpp | kosumosu/x3daudio1_7_hrtf | 28cd541ee2cfee91f69b5099e202272d0710e4c8 | [
"Unlicense"
] | 25 | 2016-08-13T22:01:12.000Z | 2021-12-01T05:40:25.000Z | #include "stdafx.h"
#include "HrtfEffect.h"
#include "logger.h"
#include <algorithm>
#include <numeric>
#include <utility>
constexpr UINT32 OutputChannelCount = 2;
XAPO_REGISTRATION_PROPERTIES HrtfXapoEffect::_regProps = {
__uuidof(HrtfXapoEffect),
L"HRTF Effect",
L"Copyright (C)2015 Roman Zavalov",
1,
0,
XAPO... | 33.873239 | 248 | 0.752737 | kosumosu |
40cae87d90849d68c7d3a9bca671d0d6d0374b4a | 2,156 | cc | C++ | tensorflow/compiler/xla/service/memory_space_assignment_tuning_utils.cc | piquark6046/tensorflow | 57771c5d008f6d16fd147110213855d145a7e0bc | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/xla/service/memory_space_assignment_tuning_utils.cc | piquark6046/tensorflow | 57771c5d008f6d16fd147110213855d145a7e0bc | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/xla/service/memory_space_assignment_tuning_utils.cc | piquark6046/tensorflow | 57771c5d008f6d16fd147110213855d145a7e0bc | [
"Apache-2.0"
] | null | null | null | /* Copyright 2021 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... | 37.172414 | 81 | 0.732375 | piquark6046 |
40cb83bb7071f5999098b4efb86f0ebc364d9363 | 10,204 | hpp | C++ | include/optimizer.hpp | lefticus/x86-to-6502 | 165c63701a7af0a1302dfa7c6415b7d8524b922d | [
"Unlicense"
] | 200 | 2016-07-07T14:25:14.000Z | 2021-05-04T15:54:57.000Z | include/optimizer.hpp | lefticus/6502-cpp | 165c63701a7af0a1302dfa7c6415b7d8524b922d | [
"Unlicense"
] | 8 | 2016-07-13T01:33:28.000Z | 2018-10-02T15:51:07.000Z | include/optimizer.hpp | lefticus/x86-to-6502 | 165c63701a7af0a1302dfa7c6415b7d8524b922d | [
"Unlicense"
] | 28 | 2016-10-01T18:28:51.000Z | 2021-01-25T16:49:58.000Z | #ifndef INC_6502_CPP_OPTIMIZER_HPP
#define INC_6502_CPP_OPTIMIZER_HPP
#include "6502.hpp"
#include "personality.hpp"
#include <span>
#include <vector>
constexpr bool consume_directives(auto &begin, const auto &end)
{
if (begin != end && begin->type == ASMLine::Type::Directive) {
++begin;
return true;
}
... | 33.788079 | 117 | 0.588887 | lefticus |
40cdafcb3b49a493545e423051ddbe81f6f708d1 | 11,392 | cc | C++ | flare/base/net/endpoint.cc | AriCheng/flare | b2c84588fe4ac52f0875791d22284d7e063fd057 | [
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 868 | 2021-05-28T04:00:22.000Z | 2022-03-31T08:57:14.000Z | flare/base/net/endpoint.cc | AriCheng/flare | b2c84588fe4ac52f0875791d22284d7e063fd057 | [
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 33 | 2021-05-28T08:44:47.000Z | 2021-09-26T13:09:21.000Z | flare/base/net/endpoint.cc | AriCheng/flare | b2c84588fe4ac52f0875791d22284d7e063fd057 | [
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 122 | 2021-05-28T08:22:23.000Z | 2022-03-29T09:52:09.000Z | // Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of the
// License at
//
// https://opensource.org/licenses/BSD-3-Clause
//
// Unless req... | 30.378667 | 80 | 0.62658 | AriCheng |
40ceac4d5e300ffdc3e3c474e44ccab4bd583da7 | 4,222 | cpp | C++ | moveit_ros/planning/planning_components_tools/src/publish_scene_from_text.cpp | FabianSchuetze/moveit2 | d1960f3994daff215c4a51de15c96ce618f4d97d | [
"BSD-3-Clause"
] | 383 | 2019-02-16T01:24:30.000Z | 2022-03-28T13:55:02.000Z | moveit_ros/planning/planning_components_tools/src/publish_scene_from_text.cpp | FabianSchuetze/moveit2 | d1960f3994daff215c4a51de15c96ce618f4d97d | [
"BSD-3-Clause"
] | 1,036 | 2019-02-19T08:53:31.000Z | 2022-03-31T21:05:52.000Z | moveit_ros/planning/planning_components_tools/src/publish_scene_from_text.cpp | FabianSchuetze/moveit2 | d1960f3994daff215c4a51de15c96ce618f4d97d | [
"BSD-3-Clause"
] | 223 | 2019-02-19T06:40:12.000Z | 2022-03-31T12:57:54.000Z | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, Ioan A. Sucan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | 38.381818 | 118 | 0.693273 | FabianSchuetze |
40d027beb002931d2e47bc43e282154a2a0755be | 2,050 | cpp | C++ | Sudoku/Solvers/C++/Dynamic/alg06d/dynamic6.cpp | oddbear/Algorithms | f229be3e96899def1f662d0c8a16955097b8acea | [
"MIT"
] | null | null | null | Sudoku/Solvers/C++/Dynamic/alg06d/dynamic6.cpp | oddbear/Algorithms | f229be3e96899def1f662d0c8a16955097b8acea | [
"MIT"
] | null | null | null | Sudoku/Solvers/C++/Dynamic/alg06d/dynamic6.cpp | oddbear/Algorithms | f229be3e96899def1f662d0c8a16955097b8acea | [
"MIT"
] | null | null | null | /*
* A version that does support dynamic sizes of the board.
*/
#include "dynamic6.h"
using namespace std;
namespace d6
{
int LWIDTH;
int LHEIGHT;
int COLUMNS;
int SIZE;
int FindUsedForLocal(int n, int s[]);
bool find_solution(int n, int s[]);
void find_solution(int arr[], int x, int y)
{
LWIDTH = x;
... | 27.333333 | 109 | 0.616098 | oddbear |
40d6b2c4987daea6ad6b94ba5ff9a370eeeb5100 | 53 | cpp | C++ | msvc/gloop/dummy.cpp | practisebody/gloop | ff34fb821fc8d35b29d831ba2fcce430b09095f8 | [
"MIT"
] | null | null | null | msvc/gloop/dummy.cpp | practisebody/gloop | ff34fb821fc8d35b29d831ba2fcce430b09095f8 | [
"MIT"
] | null | null | null | msvc/gloop/dummy.cpp | practisebody/gloop | ff34fb821fc8d35b29d831ba2fcce430b09095f8 | [
"MIT"
] | null | null | null | #include <gloop/gloop.hpp>
int main()
{
return 0;
} | 8.833333 | 26 | 0.641509 | practisebody |
40dbbf8cf248e09243532432f140e226da93f8fa | 1,167 | cc | C++ | src/RTT_Format_Reader/Flags.cc | keadyk/Draco | 129fbff1d74a3f5498670e952b7d4142f37b2aac | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2020-03-19T07:05:08.000Z | 2020-03-19T07:05:08.000Z | src/RTT_Format_Reader/Flags.cc | 5l1v3r1/Draco | 0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/RTT_Format_Reader/Flags.cc | 5l1v3r1/Draco | 0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*--------------------------------//
/*!
* \file RTT_Format_Reader/Flags.cc
* \author B.T. Adams
* \date Wed Jun 7 10:33:26 2000
* \brief Implementation file for RTT_Format_Reader/Flags class.
* \note Copyright (C) 2016-2020 Triad National Security, LLC.
* A... | 33.342857 | 80 | 0.448158 | keadyk |
40dbdacf29ef221a79f50f40bea55cc496975ca6 | 6,468 | hpp | C++ | src/COM/serial.hpp | outech-robotic/lowlevel-servo | ccba13645570850c9131b601c5faa70c39df3041 | [
"MIT"
] | null | null | null | src/COM/serial.hpp | outech-robotic/lowlevel-servo | ccba13645570850c9131b601c5faa70c39df3041 | [
"MIT"
] | null | null | null | src/COM/serial.hpp | outech-robotic/lowlevel-servo | ccba13645570850c9131b601c5faa70c39df3041 | [
"MIT"
] | null | null | null | /*
* usart_base.hpp
*
* Created on: 4 janv. 2020
* Author: ticta
*/
#ifndef COM_SERIAL_HPP_
#define COM_SERIAL_HPP_
#include <stm32f0xx_ll_bus.h>
#include <stm32f0xx_ll_usart.h>
#include <cstdarg>
#include <cstdio>
#include "GPIO/gpio.h"
#include "UTILITY/timing.h"
#include "UTILITY/ring_buffer.hpp"
#in... | 29.806452 | 177 | 0.630643 | outech-robotic |
40ddb133bfba5cf77b8266289e01f885350398e7 | 13,511 | cpp | C++ | compiler/logo/src/Passes/SimplifyDomainConversionPass.cpp | glistening/ONE-1 | cadf3a4da4f4340081862abbd3900af7c4b0e22d | [
"Apache-2.0"
] | null | null | null | compiler/logo/src/Passes/SimplifyDomainConversionPass.cpp | glistening/ONE-1 | cadf3a4da4f4340081862abbd3900af7c4b0e22d | [
"Apache-2.0"
] | null | null | null | compiler/logo/src/Passes/SimplifyDomainConversionPass.cpp | glistening/ONE-1 | cadf3a4da4f4340081862abbd3900af7c4b0e22d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 Samsung Electronics Co., Ltd. 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... | 30.361798 | 100 | 0.635186 | glistening |
40de6017e3bbbbd1d28fa1b4ef4fb338beb91475 | 410 | cpp | C++ | Problems/Problem_005/main.cpp | AriaaRy/Project-Euler | 6d40f9e0b2ea877773bfef3370d39858a0c13e85 | [
"MIT"
] | 2 | 2020-09-11T17:17:46.000Z | 2020-11-19T05:29:20.000Z | Problems/Problem_005/main.cpp | AriaaRy/Project-Euler | 6d40f9e0b2ea877773bfef3370d39858a0c13e85 | [
"MIT"
] | null | null | null | Problems/Problem_005/main.cpp | AriaaRy/Project-Euler | 6d40f9e0b2ea877773bfef3370d39858a0c13e85 | [
"MIT"
] | 1 | 2020-09-23T18:44:07.000Z | 2020-09-23T18:44:07.000Z | #include <iostream>
int main() {
int range = 20;
long number = 1;
while(true) {
bool isMine = true;
for (int i = 1; i <= range; i++) {
if (number % i) {
isMine = false;
break;
}
}
if (isMine) {
std::cout << ... | 18.636364 | 45 | 0.370732 | AriaaRy |
40dfb684fca0f5a4ac0256df744b91116d0d0717 | 5,724 | hh | C++ | src/outlinertypes.hh | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 4 | 2021-09-02T16:52:23.000Z | 2022-02-07T16:39:50.000Z | src/outlinertypes.hh | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 87 | 2021-09-12T06:09:57.000Z | 2022-02-15T00:05:43.000Z | src/outlinertypes.hh | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 1 | 2021-09-28T21:38:30.000Z | 2021-09-28T21:38:30.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
//
// CCC AAA V V ... | 60.252632 | 133 | 0.306254 | jariarkko |
40dfd22879b70836dc79ba119597719233ac142a | 1,226 | cpp | C++ | src/square_judge.cpp | nathiss/Darwin | 5248376e6179ed1ba461e4d01aa92c51ecc1632d | [
"MIT"
] | null | null | null | src/square_judge.cpp | nathiss/Darwin | 5248376e6179ed1ba461e4d01aa92c51ecc1632d | [
"MIT"
] | null | null | null | src/square_judge.cpp | nathiss/Darwin | 5248376e6179ed1ba461e4d01aa92c51ecc1632d | [
"MIT"
] | null | null | null | //
// Created by nathiss on 10/11/2019.
//
#include <darwin/exceptions.hpp>
#include <darwin/score/square_judge.hpp>
namespace darwin::fitness {
std::size_t SquareJudge::operator()(const Image& lhs, const Image& rhs, file::PixelMode mode) const {
const auto lhs_size = lhs.getMetadata().size;
const auto rhs_size ... | 31.435897 | 101 | 0.641925 | nathiss |
40e254e80a5927fcc65287581d1b4c066430e8c8 | 1,183 | cpp | C++ | unittests/ObjectPoolTest.cpp | zavadovsky/stingraykit | 33e6587535325f08769bd8392381d70d4d316410 | [
"0BSD"
] | 24 | 2015-03-04T16:30:03.000Z | 2022-02-04T15:03:42.000Z | unittests/ObjectPoolTest.cpp | zavadovsky/stingraykit | 33e6587535325f08769bd8392381d70d4d316410 | [
"0BSD"
] | null | null | null | unittests/ObjectPoolTest.cpp | zavadovsky/stingraykit | 33e6587535325f08769bd8392381d70d4d316410 | [
"0BSD"
] | 7 | 2015-04-08T12:22:58.000Z | 2018-06-14T09:58:45.000Z | #include <stingraykit/thread/Thread.h>
#include <stingraykit/time/ElapsedTime.h>
#include <stingraykit/ObjectPool.h>
#include <gtest/gtest.h>
using namespace stingray;
namespace
{
class SomeObject
{
private:
bool& _threadNameError;
std::string _threadName;
public:
SomeObject(bool& threadNameError, con... | 18.2 | 90 | 0.724429 | zavadovsky |
40e754945536704df2a5c9ba1e81ab58c5fec024 | 1,517 | hh | C++ | cc/report.hh | acorg/hidb-make | 3db8e408d548eda83070f793d1e5d94b71e6c562 | [
"MIT"
] | null | null | null | cc/report.hh | acorg/hidb-make | 3db8e408d548eda83070f793d1e5d94b71e6c562 | [
"MIT"
] | null | null | null | cc/report.hh | acorg/hidb-make | 3db8e408d548eda83070f793d1e5d94b71e6c562 | [
"MIT"
] | null | null | null | #pragma once
#include "hidb-5/hidb.hh"
// ----------------------------------------------------------------------
namespace hidb
{
enum class report_tables { none, all, oldest, recent };
void report_antigens(const hidb::HiDb& hidb, const AntigenIndexList& aIndexes, report_tables aReportTables, std::string_vie... | 63.208333 | 215 | 0.669743 | acorg |
40e7e174c785c18426d4497176dbe7ba79615a38 | 908 | cc | C++ | chromeos/services/device_sync/switches.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chromeos/services/device_sync/switches.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chromeos/services/device_sync/switches.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2015 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 "chromeos/services/device_sync/switches.h"
namespace chromeos {
namespace device_sync {
namespace switches {
// Overrides the default URL for... | 28.375 | 78 | 0.763216 | zealoussnow |
40ea5371bf90732f5c8ea768b4d9bb80bb158eee | 13,787 | cc | C++ | chrome/browser/mac/relauncher.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/browser/mac/relauncher.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/mac/relauncher.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/mac/relauncher.h"
#include <ApplicationServices/ApplicationServices.h>
#include <AvailabilityMacros.h>
#include <crt_externs.h>
... | 36.091623 | 80 | 0.693842 | Wzzzx |
40ec6fcce57904e044d6ec9dfe5aa77b2e2a7123 | 4,237 | cpp | C++ | Anim/AnimSet.cpp | gildor2/SkelEdit | 7e413703962e3618b2c52f2a08bf6a0da46e3ab9 | [
"BSD-3-Clause"
] | 41 | 2020-02-19T12:37:29.000Z | 2021-11-18T22:39:55.000Z | Anim/AnimSet.cpp | gildor2/SkelEdit | 7e413703962e3618b2c52f2a08bf6a0da46e3ab9 | [
"BSD-3-Clause"
] | null | null | null | Anim/AnimSet.cpp | gildor2/SkelEdit | 7e413703962e3618b2c52f2a08bf6a0da46e3ab9 | [
"BSD-3-Clause"
] | 7 | 2020-02-27T08:11:21.000Z | 2022-02-12T13:11:38.000Z | #include "Core.h"
#include "AnimClasses.h"
/*-----------------------------------------------------------------------------
CMeshAnimSeq class
-----------------------------------------------------------------------------*/
#define MAX_LINEAR_KEYS 4
// debugging staff ...
//#define DEBUG_BIN_SEARCH 1
#if 0
# defi... | 21.728205 | 111 | 0.548501 | gildor2 |
40ed214d96d422eafbe2cfc3d6b03b4c090f5aee | 4,413 | hpp | C++ | include/adapters/net.hpp | jamespeapen/polybar | 1ee11f7c9e72719f62981167a24fe7239774fa69 | [
"MIT"
] | 4,807 | 2016-11-19T05:17:55.000Z | 2019-05-05T16:41:43.000Z | include/adapters/net.hpp | jamespeapen/polybar | 1ee11f7c9e72719f62981167a24fe7239774fa69 | [
"MIT"
] | 1,482 | 2016-11-19T15:48:40.000Z | 2019-05-05T12:47:25.000Z | include/adapters/net.hpp | jamespeapen/polybar | 1ee11f7c9e72719f62981167a24fe7239774fa69 | [
"MIT"
] | 392 | 2016-11-21T01:41:42.000Z | 2019-05-04T14:42:02.000Z | #pragma once
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <chrono>
#include <cstdlib>
#include "common.hpp"
#include "components/logger.hpp"
#include "errors.hpp"
#include "settings.hpp"
#include "utils/math.hpp"
#if WITH_LIBNL
#include <net/if.h>
struct nl_msg;
struct nlattr;
#else
#include <iwlib.h>
/*
... | 22.984375 | 105 | 0.677317 | jamespeapen |
40f2abbbc6192694e248fa16c3c138f604bae9ad | 11,386 | cpp | C++ | dali/array/op/col2im.cpp | bzcheeseman/Dali | a77c7ce60b20ce150a5927747e128688657907eb | [
"MIT"
] | null | null | null | dali/array/op/col2im.cpp | bzcheeseman/Dali | a77c7ce60b20ce150a5927747e128688657907eb | [
"MIT"
] | null | null | null | dali/array/op/col2im.cpp | bzcheeseman/Dali | a77c7ce60b20ce150a5927747e128688657907eb | [
"MIT"
] | null | null | null | #include "col2im.h"
#include <map>
#include "dali/array/op/spatial_utils.h"
#include "dali/array/jit/jit.h"
#include "dali/array/jit/jit_utils.h"
#include "dali/array/op/elementwise_operation.h"
#include "dali/utils/make_message.h"
namespace {
inline int get_channel_dim(const std::vector<int>& image_shape,
... | 48.245763 | 197 | 0.483488 | bzcheeseman |
40f42109804cf6df38aebdf0264f592d1509ae45 | 4,027 | hpp | C++ | include/GlobalNamespace/RandomAnimatorStartTime.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/RandomAnimatorStartTime.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/RandomAnimatorStartTime.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.MonoBehav... | 47.376471 | 175 | 0.735783 | Fernthedev |
40f495d41a93bf3646c6efdfa69a67f567bf4b7e | 7,721 | hpp | C++ | include/cppdevtk/base/any.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | include/cppdevtk/base/any.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | include/cppdevtk/base/any.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// \file
///
/// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n
/// Licensed under the Apache License, Version 2.0 (the "License");\n
/// you may not use this file e... | 30.397638 | 155 | 0.666364 | CoSoSys |
40f57cfb922844131b2059f14c4b0551b0eb06b7 | 517 | cpp | C++ | external/RNAlib/plot/forceclass.cpp | tsznxx/rsq | 8c2da449445445c55a1b07c21644b380f0809781 | [
"CNRI-Python"
] | null | null | null | external/RNAlib/plot/forceclass.cpp | tsznxx/rsq | 8c2da449445445c55a1b07c21644b380f0809781 | [
"CNRI-Python"
] | null | null | null | external/RNAlib/plot/forceclass.cpp | tsznxx/rsq | 8c2da449445445c55a1b07c21644b380f0809781 | [
"CNRI-Python"
] | null | null | null |
#include "forceclass.h"
// forceclass encapsulates a large 2-d arrays of char used by the
// dynamic algorithm to enforce folding constraints
forceclass::forceclass(int size) {
Size = size;
register int i,j;
dg = new char *[size+1];
for (i=0;i<=(size);i++) {
dg[i] = new char [size+1];
}
for (i=0;... | 16.15625 | 65 | 0.539652 | tsznxx |
40f6bada032c0e78bc2407801e5540474d105715 | 4,716 | cpp | C++ | JCSNetP_Src/Support/JCSNetP_SocketUtil.cpp | jcs090218/JCSNetP_Framework | c323e154187534736bb6347aec5f52d01f40056b | [
"MIT"
] | null | null | null | JCSNetP_Src/Support/JCSNetP_SocketUtil.cpp | jcs090218/JCSNetP_Framework | c323e154187534736bb6347aec5f52d01f40056b | [
"MIT"
] | null | null | null | JCSNetP_Src/Support/JCSNetP_SocketUtil.cpp | jcs090218/JCSNetP_Framework | c323e154187534736bb6347aec5f52d01f40056b | [
"MIT"
] | null | null | null | /**
* $File: JCSNetP_SocketUtil.cpp $
* $Date: 2017-04-11 22:23:50 $
* $Revision: $
* $Creator: Jen-Chieh Shen $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright (c) 2017 by Shen, Jen-Chieh $
*/
#include "../JCSNetP.h"
NS_JCS_BEGIN
// Initialize socket da... | 20.96 | 86 | 0.703774 | jcs090218 |
40f7254ab99db7415129a4612bc58f63d5c90a7f | 87 | cpp | C++ | src/_gists.cpp | steve02081504/tama | ea3ec2ae3760aa6aed0e4c5ee922f2934d0529a4 | [
"Unlicense"
] | null | null | null | src/_gists.cpp | steve02081504/tama | ea3ec2ae3760aa6aed0e4c5ee922f2934d0529a4 | [
"Unlicense"
] | null | null | null | src/_gists.cpp | steve02081504/tama | ea3ec2ae3760aa6aed0e4c5ee922f2934d0529a4 | [
"Unlicense"
] | null | null | null | #include "my-gists/windows/SetIcon.cpp"
#include "my-gists/ukagaka/shiori_loader.cpp"
| 29 | 45 | 0.781609 | steve02081504 |
40f999e05b98eaee3caf37a504e7133bc73a729a | 2,670 | cpp | C++ | llvm/lib/IR/FPEnv.cpp | tiwaria1/llvm | 616a396db0610ae0c1992361af005a869ef81897 | [
"Apache-2.0"
] | 1 | 2020-09-10T01:00:18.000Z | 2020-09-10T01:00:18.000Z | llvm/lib/IR/FPEnv.cpp | coolstar/llvm-project | e21ccdd5b5667de50de65ee8903a89a21020e89a | [
"Apache-2.0"
] | 9 | 2020-04-24T21:51:04.000Z | 2020-11-06T01:04:09.000Z | llvm/lib/IR/FPEnv.cpp | coolstar/llvm-project | e21ccdd5b5667de50de65ee8903a89a21020e89a | [
"Apache-2.0"
] | null | null | null | //===-- FPEnv.cpp ---- FP Environment -------------------------------------===//
//
// 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
//
//===---------------------------... | 31.785714 | 80 | 0.659925 | tiwaria1 |
40fa8716676ed52d0d6cfc067b77a96d6744c125 | 10,087 | hpp | C++ | src/media.hpp | rainstormstudio/TetrisD3 | 5079a33781e08b00eac2e01a3149a1d2b10b9e36 | [
"MIT"
] | null | null | null | src/media.hpp | rainstormstudio/TetrisD3 | 5079a33781e08b00eac2e01a3149a1d2b10b9e36 | [
"MIT"
] | null | null | null | src/media.hpp | rainstormstudio/TetrisD3 | 5079a33781e08b00eac2e01a3149a1d2b10b9e36 | [
"MIT"
] | null | null | null | /**
* @file media.hpp
* @author Daneil Hongyu Ding
* @brief This is a simple media port using SDL2
* @version 0.5
* @date 2020-08-18
*
* @copyright Copyright (c) 2020
*
*/
#ifndef MEDIA_HPP
#define MEDIA_HPP
#ifdef __linux__
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#include "SDL2/SDL_mixer.h"
#inc... | 28.414085 | 139 | 0.614256 | rainstormstudio |
40facce97f486d751c8e5283195af85e13d8a2da | 1,015 | cpp | C++ | src/Trinity.C/src/Runtime/init.cpp | qdoop/GraphEngine | d83381c781edc4040824c1e31057789939530eff | [
"MIT"
] | null | null | null | src/Trinity.C/src/Runtime/init.cpp | qdoop/GraphEngine | d83381c781edc4040824c1e31057789939530eff | [
"MIT"
] | null | null | null | src/Trinity.C/src/Runtime/init.cpp | qdoop/GraphEngine | d83381c781edc4040824c1e31057789939530eff | [
"MIT"
] | null | null | null | // Graph Engine
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
#include "TrinityCommon.h"
#include "Memory/Memory.h"
#include "BackgroundThread/BackgroundThread.h"
#include "Trinity/Diagnostics/LogAutoFlushTask... | 26.025641 | 104 | 0.73399 | qdoop |
40fb023f18317b408decf779d2805e30f9ba4d90 | 1,733 | cc | C++ | rtc_tools/force_mic_volume_max/force_mic_volume_max.cc | ebasdee/webrtc | 9b16e2d354e80ca0f2a65ee39464cfc2cf70cbf0 | [
"DOC",
"BSD-3-Clause"
] | 6 | 2020-03-18T08:21:45.000Z | 2021-02-06T14:37:57.000Z | rtc_tools/force_mic_volume_max/force_mic_volume_max.cc | ebasdee/webrtc | 9b16e2d354e80ca0f2a65ee39464cfc2cf70cbf0 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | rtc_tools/force_mic_volume_max/force_mic_volume_max.cc | ebasdee/webrtc | 9b16e2d354e80ca0f2a65ee39464cfc2cf70cbf0 | [
"DOC",
"BSD-3-Clause"
] | 3 | 2018-07-23T04:52:42.000Z | 2021-12-18T07:37:15.000Z | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 29.372881 | 80 | 0.693595 | ebasdee |
40fc73745607bc540f6171afd59e50c1b6a486d6 | 32,505 | cpp | C++ | unittests/API/SynthTraceTest.cpp | 0xgpapad/hermes | 903ca2b44ae0434a5d548af1ec1c10e34bc31836 | [
"MIT"
] | 1 | 2022-02-10T10:51:29.000Z | 2022-02-10T10:51:29.000Z | unittests/API/SynthTraceTest.cpp | 0xgpapad/hermes | 903ca2b44ae0434a5d548af1ec1c10e34bc31836 | [
"MIT"
] | null | null | null | unittests/API/SynthTraceTest.cpp | 0xgpapad/hermes | 903ca2b44ae0434a5d548af1ec1c10e34bc31836 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <hermes/SynthTrace.h>
#include <hermes/TraceInterpreter.h>
#include <hermes/TracingRuntime.h>
#include "llvh/Support/S... | 32.833333 | 80 | 0.663344 | 0xgpapad |
40fcdab0cdfefac160088ec0bf51ab8f35c5e8f8 | 790 | cxx | C++ | examples/HasNegativeCycle.cxx | razmikTovmas/Graph | 895404f72b33755d02374dd6ff428014635f79a5 | [
"MIT"
] | 1 | 2021-09-23T14:14:33.000Z | 2021-09-23T14:14:33.000Z | examples/HasNegativeCycle.cxx | razmikTovmas/Graph | 895404f72b33755d02374dd6ff428014635f79a5 | [
"MIT"
] | null | null | null | examples/HasNegativeCycle.cxx | razmikTovmas/Graph | 895404f72b33755d02374dd6ff428014635f79a5 | [
"MIT"
] | null | null | null | #include <iostream>
#include "core/graph.hpp"
int main()
{
impl::graph g;
g.add_edge("A", "B", -1);
g.add_edge("A", "C", 4);
g.add_edge("B", "C", 3);
g.add_edge("B", "D", 2);
g.add_edge("A", "E", 2);
g.add_edge("D", "C", 5);
g.add_edge("D", "B", 1);
g.add_edge("E", "D", -3);
... | 23.235294 | 71 | 0.5 | razmikTovmas |
dc045a40a699d3936dec782623a943b86fc551fb | 4,660 | cpp | C++ | clang/unittests/Interpreter/InterpreterTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | null | null | null | clang/unittests/Interpreter/InterpreterTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | null | null | null | clang/unittests/Interpreter/InterpreterTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | null | null | null | //===- unittests/Interpreter/InterpreterTest.cpp --- Interpreter tests ----===//
//
// 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
//
//===---------------------------... | 36.692913 | 80 | 0.683262 | mkinsner |
dc066885b20131cb1ebc4b7efbc27f5e292f7fe1 | 11,693 | cc | C++ | Validation/MtdValidation/plugins/BtlSimHitsValidation.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 1 | 2020-06-08T11:39:24.000Z | 2020-06-08T11:39:24.000Z | Validation/MtdValidation/plugins/BtlSimHitsValidation.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | Validation/MtdValidation/plugins/BtlSimHitsValidation.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 1 | 2020-07-26T16:42:20.000Z | 2020-07-26T16:42:20.000Z |
// -*- C++ -*-
//
// Package: Validation/MtdValidation
// Class: BtlSimHitsValidation
//
/**\class BtlSimHitsValidation BtlSimHitsValidation.cc Validation/MtdValidation/plugins/BtlSimHitsValidation.cc
Description: BTL SIM hits validation
Implementation:
[Notes on implementation]
*/
#include <string>
... | 39.37037 | 118 | 0.681775 | NTrevisani |
dc089aa8fe8e93698c2e10dc56b81bc7a564f721 | 24,648 | cpp | C++ | src/powerful.cpp | patrick-schwarz/HElib | cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59 | [
"Apache-2.0"
] | 1 | 2020-12-01T07:18:47.000Z | 2020-12-01T07:18:47.000Z | src/powerful.cpp | wangjinglin0721/HElib | cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59 | [
"Apache-2.0"
] | null | null | null | src/powerful.cpp | wangjinglin0721/HElib | cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59 | [
"Apache-2.0"
] | null | null | null | /* Copyright (C) 2012-2019 IBM Corp.
* This program is 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... | 31.042821 | 110 | 0.581954 | patrick-schwarz |
dc097bd611910a7220604f3f0b96b9acdac5aea5 | 1,815 | cpp | C++ | regression/esbmc-cpp/inheritance/ch22_4/derived.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 143 | 2015-06-22T12:30:01.000Z | 2022-03-21T08:41:17.000Z | regression/esbmc-cpp/inheritance/ch22_4/derived.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 542 | 2017-06-02T13:46:26.000Z | 2022-03-31T16:35:17.000Z | regression/esbmc-cpp/inheritance/ch22_4/derived.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 81 | 2015-10-21T22:21:59.000Z | 2022-03-24T14:07:55.000Z | // Fig. 22.17: derived.cpp
// Member function definitions for class Derived
#include "derived.h"
// constructor for Derived calls constructors for
// class Base1 and class Base2.
// use member initializers to call base-class constructors
Derived::Derived( int integer, char character, double double1 )
: Base1( integ... | 46.538462 | 75 | 0.579063 | shmarovfedor |
dc0aa4d8cbd81f32d58f0fcce5e51a839829d98e | 2,504 | cpp | C++ | src/utility/SuspendMonitor.cpp | d4ddi0/uldaq | cf0445561d9b511e42c10bb04a61289887b51aee | [
"MIT"
] | 73 | 2018-05-11T02:36:01.000Z | 2022-03-24T22:41:51.000Z | src/utility/SuspendMonitor.cpp | d4ddi0/uldaq | cf0445561d9b511e42c10bb04a61289887b51aee | [
"MIT"
] | 35 | 2018-06-05T13:04:11.000Z | 2022-03-31T17:38:56.000Z | src/utility/SuspendMonitor.cpp | d4ddi0/uldaq | cf0445561d9b511e42c10bb04a61289887b51aee | [
"MIT"
] | 30 | 2018-06-21T21:07:04.000Z | 2022-03-30T21:13:37.000Z | /*
* SuspendMonitor.cpp
*
* Author: Measurement Computing Corporation
*/
#include <unistd.h>
#include <stdint.h>
#include <sys/resource.h>
#include "SuspendMonitor.h"
#include "FnLog.h"
namespace ul
{
SuspendMonitor::SuspendMonitor()
{
mSuspendDetectionThread = 0;
mTerminateSuspendDetectionThread = false;... | 21.964912 | 124 | 0.740815 | d4ddi0 |
dc0abba903146a0c86b5229e8dfc01dc4889daec | 72,877 | cpp | C++ | Source/HoudiniEngineRuntime/Private/HoudiniAssetBlueprintComponent.cpp | Mu-L/HoudiniEngineForUnreal-v2 | bf4fb4c1bb87d1252bd19272d06e5eb6f65cc5dd | [
"BSD-3-Clause"
] | 274 | 2020-08-10T22:28:07.000Z | 2022-03-31T15:24:00.000Z | Source/HoudiniEngineRuntime/Private/HoudiniAssetBlueprintComponent.cpp | Mu-L/HoudiniEngineForUnreal-v2 | bf4fb4c1bb87d1252bd19272d06e5eb6f65cc5dd | [
"BSD-3-Clause"
] | 144 | 2020-08-12T23:20:45.000Z | 2022-03-08T19:22:33.000Z | Source/HoudiniEngineRuntime/Private/HoudiniAssetBlueprintComponent.cpp | Mu-L/HoudiniEngineForUnreal-v2 | bf4fb4c1bb87d1252bd19272d06e5eb6f65cc5dd | [
"BSD-3-Clause"
] | 91 | 2020-08-11T01:11:09.000Z | 2022-03-17T17:40:06.000Z | /*
* Copyright (c) <2021> Side Effects Software Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of... | 30.685053 | 215 | 0.746532 | Mu-L |
dc0e7e8d1856fb2eafbd7a6d6912e1d36e0276e3 | 10,966 | cpp | C++ | src/sht/sht.cpp | haampie/SIRIUS | 716c74b9e40f2dc514547b13861ce8c977f50e6c | [
"BSD-2-Clause"
] | null | null | null | src/sht/sht.cpp | haampie/SIRIUS | 716c74b9e40f2dc514547b13861ce8c977f50e6c | [
"BSD-2-Clause"
] | 10 | 2020-10-05T16:11:47.000Z | 2021-03-15T20:31:26.000Z | src/sht/sht.cpp | haampie/SIRIUS | 716c74b9e40f2dc514547b13861ce8c977f50e6c | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2013-2017 Anton Kozhevnikov, Thomas Schulthess
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that
// the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, ... | 38.886525 | 133 | 0.524713 | haampie |
dc102e98f19381cd8114f74f6418da370458be12 | 10,780 | cpp | C++ | gdal/frmts/pcidsk/gdal_edb.cpp | tbonfort/gdal | 173e0659bc3f2e6b97c2c07332a3066478afb821 | [
"MIT"
] | 1 | 2015-04-21T19:52:03.000Z | 2015-04-21T19:52:03.000Z | gdal/frmts/pcidsk/gdal_edb.cpp | tbonfort/gdal | 173e0659bc3f2e6b97c2c07332a3066478afb821 | [
"MIT"
] | 1 | 2016-04-04T09:14:19.000Z | 2016-04-14T19:17:10.000Z | gdal/frmts/pcidsk/gdal_edb.cpp | pramsey/gdal | 965421b79fe4d3332b0f2f633b072fdcab2b700a | [
"MIT"
] | null | null | null | /******************************************************************************
* $Id$
*
* Project: PCIDSK Database File
* Purpose: External Database access interface implementation (EDBFile).
* Author: Frank Warmerdam, warmerdam@pobox.com
*
*******************************************************************... | 35 | 94 | 0.457236 | tbonfort |
dc123bc43140a1398a1eac4b30944d99543e193d | 6,294 | hpp | C++ | OREData/ored/configuration/capfloorvolcurveconfig.hpp | nvolfango/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2021-03-30T17:24:17.000Z | 2021-03-30T17:24:17.000Z | OREData/ored/configuration/capfloorvolcurveconfig.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | OREData/ored/configuration/capfloorvolcurveconfig.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (C) 2016 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 43.109589 | 120 | 0.739276 | nvolfango |
dc1537396e97c3eb1ef478aa66752bfa877cec46 | 20,364 | cc | C++ | src/lib/fidl/llcpp/tests/dispatcher/client_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/lib/fidl/llcpp/tests/dispatcher/client_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 5 | 2019-12-04T15:13:37.000Z | 2020-02-19T08:11:38.000Z | src/lib/fidl/llcpp/tests/dispatcher/client_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/fidl/epitaph.h>
#include <lib/fidl/llcpp/client.h>
#include <lib/fid... | 35.354167 | 100 | 0.726036 | wwjiang007 |
dc16068a80592b1b0fe1cbaee5c28166a1c707b1 | 6,128 | cpp | C++ | redis/src/v20180412/model/InstanceParamHistory.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | redis/src/v20180412/model/InstanceParamHistory.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | redis/src/v20180412/model/InstanceParamHistory.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.239631 | 149 | 0.691743 | suluner |
dc18858c7b4de0402fd268f26309f7d6c9c6a182 | 24,089 | cpp | C++ | OpenCLMocker/src/API.cpp | DrizztDoUrden/OpenCLMocker | f3382ce780483f2af9c44b112ee76a2d374f097c | [
"MIT"
] | null | null | null | OpenCLMocker/src/API.cpp | DrizztDoUrden/OpenCLMocker | f3382ce780483f2af9c44b112ee76a2d374f097c | [
"MIT"
] | null | null | null | OpenCLMocker/src/API.cpp | DrizztDoUrden/OpenCLMocker | f3382ce780483f2af9c44b112ee76a2d374f097c | [
"MIT"
] | null | null | null | #include <OpenCLMocker/Buffer.hpp>
#include <OpenCLMocker/Context.hpp>
#include <OpenCLMocker/Device.hpp>
#include <OpenCLMocker/Event.hpp>
#include <OpenCLMocker/Kernel.hpp>
#include <OpenCLMocker/Platform.hpp>
#include <OpenCLMocker/Program.hpp>
#include <OpenCLMocker/Queue.hpp>
#include <CL/cl.h>
#include <algori... | 34.911594 | 343 | 0.752916 | DrizztDoUrden |
dc19742bfcb720ab23dcf47060eea87b6feb27b6 | 11,184 | cpp | C++ | src/utils/socket_client_udp.cpp | evaesteban/brainflow | 4310cdd61903992e06f855d65a6f6f42c2970757 | [
"MIT"
] | 1 | 2021-01-26T07:08:00.000Z | 2021-01-26T07:08:00.000Z | src/utils/socket_client_udp.cpp | TimurGolovinov/brainflow | 1199dd38438b32aefb6d91352832f54c306ef687 | [
"MIT"
] | 5 | 2021-02-08T14:35:32.000Z | 2021-04-24T00:37:08.000Z | src/utils/socket_client_udp.cpp | xloem/brainflow | b8faafc84df6eb728f94e3dbf102289633756adb | [
"MIT"
] | 2 | 2021-01-10T18:18:15.000Z | 2022-02-01T16:44:33.000Z | #include <string.h>
#include "socket_client_udp.h"
///////////////////////////////
/////////// WINDOWS ///////////
//////////////////////////////
#ifdef _WIN32
#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Mswsock.lib")
#pragma comment(lib, "AdvApi32.lib")
int SocketClientUDP::get_local_ip_addr (const c... | 28.676923 | 129 | 0.638501 | evaesteban |
dc1ad09c76faab1df241f506398d925bc23b8f3c | 18,286 | cc | C++ | ns3/ns-3.26/src/lte/model/lte-rrc-protocol-ideal.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 7 | 2017-08-11T06:06:47.000Z | 2022-02-27T07:34:33.000Z | ns3/ns-3.26/src/lte/model/lte-rrc-protocol-ideal.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-11T03:04:59.000Z | 2017-09-11T14:01:14.000Z | ns3/ns-3.26/src/lte/model/lte-rrc-protocol-ideal.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-08T13:36:30.000Z | 2018-07-04T09:49:41.000Z | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fre... | 28.616588 | 145 | 0.691075 | Aedemon |
dc1c7e66b98a377fb74b1dfa4e498861406b3717 | 1,258 | cpp | C++ | Firmware/commonSrc/Commands.cpp | usatiuk/EggbotWireless | 4b46fc080c91d4d2b4c5d9c5d559a33500e68c56 | [
"MIT"
] | 1 | 2021-09-24T14:39:28.000Z | 2021-09-24T14:39:28.000Z | Firmware/commonSrc/Commands.cpp | usatiuk/EggbotWireless | 4b46fc080c91d4d2b4c5d9c5d559a33500e68c56 | [
"MIT"
] | 4 | 2020-12-06T14:25:52.000Z | 2021-11-15T19:50:37.000Z | Firmware/commonSrc/Commands.cpp | usatiuk/EggbotWireless | 4b46fc080c91d4d2b4c5d9c5d559a33500e68c56 | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include "common/Commands.h"
Command::Command(CommandType type, float arg1, float arg2, float arg3,
float arg4, float arg5, float arg6)
: type(type),
arg1(arg1),
arg2(arg2),
arg3(arg3),
arg4(arg4),
arg5(arg5),
arg6(arg6){};
Command::Comman... | 23.296296 | 70 | 0.5938 | usatiuk |
dc1d751141187edb7738e42c41514614d4d399b0 | 14,418 | cc | C++ | paddle/fluid/platform/device_tracer.cc | SnailTowardThesun/Paddle | 7a5f3f750bcbe084796f7840ae2937925432b413 | [
"Apache-2.0"
] | 9 | 2017-12-04T02:58:01.000Z | 2020-12-03T14:46:30.000Z | paddle/fluid/platform/device_tracer.cc | SnailTowardThesun/Paddle | 7a5f3f750bcbe084796f7840ae2937925432b413 | [
"Apache-2.0"
] | 7 | 2017-12-05T20:29:08.000Z | 2018-10-15T08:57:40.000Z | paddle/fluid/platform/device_tracer.cc | SnailTowardThesun/Paddle | 7a5f3f750bcbe084796f7840ae2937925432b413 | [
"Apache-2.0"
] | 6 | 2018-03-19T22:38:46.000Z | 2019-11-01T22:28:27.000Z | /* Copyright (c) 2018 PaddlePaddle 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... | 36.969231 | 80 | 0.656749 | SnailTowardThesun |
dc1e8b439335e35359c13f1a52f16c405dc8e2cb | 9,490 | cpp | C++ | thirdparty/physx/APEXSDK/module/emitter/src/EmitterGeomSphere.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | thirdparty/physx/APEXSDK/module/emitter/src/EmitterGeomSphere.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | thirdparty/physx/APEXSDK/module/emitter/src/EmitterGeomSphere.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | 36.92607 | 145 | 0.74215 | johndpope |
dc1f071a699d3e87803557214e721d9c606290b6 | 698 | cc | C++ | chrome/common/safe_browsing/archive_analyzer_results.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/common/safe_browsing/archive_analyzer_results.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/common/safe_browsing/archive_analyzer_results.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file contains the archive file analysis implementation for download
// protection, which runs in a sandboxed utility process.
#include "chrome/... | 34.9 | 75 | 0.790831 | zipated |