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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
02d2de8629626de6b798c45d57cec46020ad9d3d | 28,047 | cc | C++ | Simulation/OMNeT++/inet/src/inet/linklayer/bmac/BMacLayer.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | 1 | 2017-03-13T15:51:22.000Z | 2017-03-13T15:51:22.000Z | Simulation/OMNeT++/inet/src/inet/linklayer/bmac/BMacLayer.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | null | null | null | Simulation/OMNeT++/inet/src/inet/linklayer/bmac/BMacLayer.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | null | null | null | //
// 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 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will... | 36.519531 | 139 | 0.563162 | StarStuffSteve |
02d31868361dd0c9f4989a93a35b15ca4e87301c | 1,705 | cpp | C++ | console/src/boost_1_78_0/libs/utility/test/operators_constexpr_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 106 | 2015-08-07T04:23:50.000Z | 2020-12-27T18:25:15.000Z | console/src/boost_1_78_0/libs/utility/test/operators_constexpr_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 130 | 2016-06-22T22:11:25.000Z | 2020-11-29T20:24:09.000Z | Libs/boost_1_76_0/libs/utility/test/operators_constexpr_test.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 41 | 2015-07-08T19:18:35.000Z | 2021-01-14T16:39:56.000Z | /*
Copyright 2020 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/config.hpp>
#if !defined(BOOST_NO_CXX11_CONSTEXPR) && \
(!defined(BOOST_MSVC) || (BOOST_MSVC >= 1922))
#include <boost/operators.hpp>
#i... | 28.416667 | 62 | 0.702639 | vany152 |
02d405e120039570fa69a9d5976388c2d4f8c6c0 | 839 | hpp | C++ | libs/fnd/tuple/include/bksge/fnd/tuple/tuple_sort_type.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/tuple/include/bksge/fnd/tuple/tuple_sort_type.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/tuple/include/bksge/fnd/tuple/tuple_sort_type.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file tuple_sort_type.hpp
*
* @brief tuple_sort_type の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_TUPLE_TUPLE_SORT_TYPE_HPP
#define BKSGE_FND_TUPLE_TUPLE_SORT_TYPE_HPP
#include <bksge/fnd/tuple/fwd/tuple_sort_type_fwd.hpp>
#include <bksge/fnd/type_traits/bool_constant.hpp>
namespace bksge... | 20.463415 | 61 | 0.72944 | myoukaku |
02d6224b81e8b04d4ebb04c1be415b210f277c0a | 363 | cpp | C++ | DBusTest/main.cpp | tomoyuki-nakabayashi/MyQtSamples | 2bb2d74b989bd3895338a9d3740c26d813e76b74 | [
"MIT"
] | null | null | null | DBusTest/main.cpp | tomoyuki-nakabayashi/MyQtSamples | 2bb2d74b989bd3895338a9d3740c26d813e76b74 | [
"MIT"
] | 5 | 2018-03-31T11:54:59.000Z | 2018-10-14T10:32:15.000Z | DBusTest/main.cpp | tomoyuki-nakabayashi/MyQtSamples | 2bb2d74b989bd3895338a9d3740c26d813e76b74 | [
"MIT"
] | null | null | null | /**
* Copyright <2017> <Tomoyuki Nakabayashi>
* This software is released under the MIT License, see LICENSE.
*/
#include <gtest/gtest.h>
#include <QCoreApplication>
#include "global_args.h"
int g_argc;
char **g_argv;
int main(int argc, char *argv[])
{
g_argc = argc;
g_argv = argv;
::testing::InitGoogleTest... | 18.15 | 64 | 0.69146 | tomoyuki-nakabayashi |
02d7f248a3a5cb7a7b1b32564d7a828421783999 | 5,757 | cpp | C++ | frameworks/compile/mclinker/lib/Support/LEB128.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2022-01-07T01:53:19.000Z | 2022-01-07T01:53:19.000Z | frameworks/compile/mclinker/lib/Support/LEB128.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | null | null | null | frameworks/compile/mclinker/lib/Support/LEB128.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2020-02-28T02:48:42.000Z | 2020-02-28T02:48:42.000Z | //===- LEB128.cpp ---------------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------------------... | 25.139738 | 80 | 0.521278 | touxiong88 |
02db2d20c68010573dd0c6b7d4ec63c9c7df75c2 | 135 | hxx | C++ | src/Providers/UNIXProviders/CertificateAuthority/UNIX_CertificateAuthority_HPUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/CertificateAuthority/UNIX_CertificateAuthority_HPUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/CertificateAuthority/UNIX_CertificateAuthority_HPUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_HPUX
#ifndef __UNIX_CERTIFICATEAUTHORITY_PRIVATE_H
#define __UNIX_CERTIFICATEAUTHORITY_PRIVATE_H
#endif
#endif
| 11.25 | 45 | 0.859259 | brunolauze |
02dc2055b349786bb8ad10b4a80f7ab9db515591 | 1,528 | cpp | C++ | firmware/src/LUTFunction.cpp | BrianBalke/bldc-controller | 0288769a21869b079a17aa79d8df6618bfc3d43a | [
"MIT"
] | 14 | 2019-04-10T07:42:13.000Z | 2019-12-11T08:58:39.000Z | firmware/src/LUTFunction.cpp | BrianBalke/bldc-controller | 0288769a21869b079a17aa79d8df6618bfc3d43a | [
"MIT"
] | 8 | 2020-07-24T06:51:55.000Z | 2021-05-24T04:24:32.000Z | firmware/src/LUTFunction.cpp | BrianBalke/bldc-controller | 0288769a21869b079a17aa79d8df6618bfc3d43a | [
"MIT"
] | 16 | 2020-03-06T20:21:56.000Z | 2022-03-22T16:59:14.000Z | #include "LUTFunction.hpp"
#include <stdint.h>
#include <cmath>
namespace motor_driver {
namespace math {
template <typename T> float LUTFunction<T>::lookup(float arg) const {
float norm_arg = (arg - x_first_) / (x_last_ - x_first_);
float norm_arg_integral = std::floor(norm_arg);
float norm_arg_fraction = no... | 28.830189 | 76 | 0.706806 | BrianBalke |
02dcf646b7728ef3218663f118d5154625f77059 | 53,615 | cc | C++ | third_party/blink/renderer/modules/manifest/manifest_parser.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-11-16T13:10:29.000Z | 2021-11-16T13:10:29.000Z | third_party/blink/renderer/modules/manifest/manifest_parser.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/manifest/manifest_parser.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "third_party/blink/renderer/modules/manifest/manifest_parser.h"
#include <string>
#include "base/feature_list.h"
#include "base/strings/stringp... | 34.36859 | 93 | 0.685405 | zealoussnow |
02de07040b0226dffadcc518590d25af474dd846 | 11,185 | cpp | C++ | third_party/7z/CPP/7zip/Compress/Rar1Decoder.cpp | VirtualLib/juice | 3d5912059f3a80ec1fef5c5031a395578904fe9c | [
"MIT"
] | 8 | 2019-08-22T01:33:07.000Z | 2022-03-06T11:21:26.000Z | third_party/7z/CPP/7zip/Compress/Rar1Decoder.cpp | VirtualLib/juice | 3d5912059f3a80ec1fef5c5031a395578904fe9c | [
"MIT"
] | 1 | 2020-07-02T16:05:19.000Z | 2020-07-03T08:25:44.000Z | third_party/7z/CPP/7zip/Compress/Rar1Decoder.cpp | VirtualLib/juice | 3d5912059f3a80ec1fef5c5031a395578904fe9c | [
"MIT"
] | 1 | 2021-02-28T10:19:00.000Z | 2021-02-28T10:19:00.000Z | // Rar1Decoder.cpp
// According to unRAR license, this code may not be used to develop
// a program that creates RAR archives
#include "StdAfx.h"
#include "Rar1Decoder.h"
namespace NCompress {
namespace NRar1 {
static const unsigned kNumBits = 12;
static const Byte kShortLen1[16 * 3] =
{
0,0xa0,0... | 21.634429 | 92 | 0.534645 | VirtualLib |
02e1573b9440bf259520e82979dbafa8e3864373 | 54,742 | cc | C++ | src/bin/perfdhcp/command_options.cc | piskyscan/kea | 72c0a679a1101aada8d22c98abf7bde615fa7a11 | [
"Apache-2.0"
] | null | null | null | src/bin/perfdhcp/command_options.cc | piskyscan/kea | 72c0a679a1101aada8d22c98abf7bde615fa7a11 | [
"Apache-2.0"
] | null | null | null | src/bin/perfdhcp/command_options.cc | piskyscan/kea | 72c0a679a1101aada8d22c98abf7bde615fa7a11 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2012-2020 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <perfdhcp/comma... | 40.370206 | 139 | 0.564101 | piskyscan |
02e35b35354239e1a7ac3fa5e1e1a8095133d691 | 2,841 | cpp | C++ | app/rtkget_qt/getoptdlg.cpp | mws-rmain/RTKLIB | 3cd1f799b04da433f29473332c250b0518aa762c | [
"BSD-2-Clause"
] | 2 | 2021-11-06T07:23:27.000Z | 2021-11-07T14:29:21.000Z | app/rtkget_qt/getoptdlg.cpp | mws-rmain/RTKLIB | 3cd1f799b04da433f29473332c250b0518aa762c | [
"BSD-2-Clause"
] | null | null | null | app/rtkget_qt/getoptdlg.cpp | mws-rmain/RTKLIB | 3cd1f799b04da433f29473332c250b0518aa762c | [
"BSD-2-Clause"
] | 3 | 2020-09-28T02:42:26.000Z | 2020-09-28T09:01:08.000Z | //---------------------------------------------------------------------------
#include "getoptdlg.h"
#include "getmain.h"
#include <QFileDialog>
#include <QShowEvent>
#include <QIntValidator>
#include <QCompleter>
#include <QFileSystemModel>
extern MainForm *mainForm;
//---------------------------------------------... | 36.423077 | 108 | 0.55931 | mws-rmain |
02e51ae1940317f8e02b1331ef02dc27354018cb | 2,358 | hpp | C++ | include/Aether/utils/SDL2_gfx_ext.hpp | NightYoshi370/Aether | 87d2b81f5d3143e39c363a9c81c195d440d7a4e8 | [
"MIT"
] | 9 | 2020-05-06T20:23:22.000Z | 2022-01-19T10:37:46.000Z | include/Aether/utils/SDL2_gfx_ext.hpp | NightYoshi370/Aether | 87d2b81f5d3143e39c363a9c81c195d440d7a4e8 | [
"MIT"
] | 11 | 2020-03-22T03:40:50.000Z | 2020-06-09T00:53:13.000Z | include/Aether/utils/SDL2_gfx_ext.hpp | NightYoshi370/Aether | 87d2b81f5d3143e39c363a9c81c195d440d7a4e8 | [
"MIT"
] | 6 | 2020-05-03T06:59:36.000Z | 2020-07-15T04:21:59.000Z | #ifndef SDL2_GFX_EXT
#define SDL2_GFX_EXT
#include <SDL2/SDL.h>
int thickEllipseRGBA(SDL_Renderer * renderer, Sint16 xc, Sint16 yc, Sint16 xr, Sint16 yr, Uint8 r, Uint8 g, Uint8 b, Uint8 a, Uint8 thick);
int thickArcRGBA(SDL_Renderer * renderer, Sint16 xc, Sint16 yc, Sint16 rad, Sint16 start, Sint16 end, Uint8 r, Uin... | 94.32 | 159 | 0.751484 | NightYoshi370 |
02e636df583bd7fd127a07153f3b4695dc27f1d2 | 2,933 | cpp | C++ | CinemaMaps.cpp | Natan-holanda/POO-UFC | c2a856695f3f1070ade028f70b6fcf9e1018d482 | [
"MIT"
] | null | null | null | CinemaMaps.cpp | Natan-holanda/POO-UFC | c2a856695f3f1070ade028f70b6fcf9e1018d482 | [
"MIT"
] | null | null | null | CinemaMaps.cpp | Natan-holanda/POO-UFC | c2a856695f3f1070ade028f70b6fcf9e1018d482 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <map>
#include <vector>
#include <sstream>
#include <algorithm>
using namespace std;
class Cliente {
std::string nome;
int id;
int pos;
public :
Cliente (std::string nome = "", int id = 0, int pos = 0) {
this->nome = nome;
this->id = id;... | 25.068376 | 111 | 0.458575 | Natan-holanda |
02e7d5d02e81380481cac3ffe38520d690fe2867 | 2,799 | hpp | C++ | rest-server/src/services/logger_interface.hpp | OS-WASABI/CADG | b214edff82d4238e51569a42a6bdfab6806d768f | [
"BSD-3-Clause"
] | null | null | null | rest-server/src/services/logger_interface.hpp | OS-WASABI/CADG | b214edff82d4238e51569a42a6bdfab6806d768f | [
"BSD-3-Clause"
] | 22 | 2018-10-26T17:30:24.000Z | 2019-04-15T23:38:18.000Z | rest-server/src/services/logger_interface.hpp | OS-WASABI/CADG | b214edff82d4238e51569a42a6bdfab6806d768f | [
"BSD-3-Clause"
] | 1 | 2019-03-23T16:02:17.000Z | 2019-03-23T16:02:17.000Z | /// An interface logging.
/**
* This defines the interface for a logger. A logger handles general application
* logging as well as network logging.
*
* Copyright 2018 Vaniya Agrawal, Ross Arcemont, Kristofer Hoadley, Shawn Hulce, Michael McCulley
*
* @file logger_interface.hpp
* @authors Kristofer H... | 37.824324 | 103 | 0.674169 | OS-WASABI |
02ea0b29a0cc34befee3e8e9b63b5e3ff4a7ed27 | 1,267 | hpp | C++ | infra/stream/LimitedInputStream.hpp | oguzcanphilips/embeddedinfralib | f1b083d61a34d123d34ab7cd51267377aa2f7855 | [
"Unlicense"
] | 1 | 2021-05-18T07:21:59.000Z | 2021-05-18T07:21:59.000Z | infra/stream/LimitedInputStream.hpp | oguzcanphilips/embeddedinfralib | f1b083d61a34d123d34ab7cd51267377aa2f7855 | [
"Unlicense"
] | null | null | null | infra/stream/LimitedInputStream.hpp | oguzcanphilips/embeddedinfralib | f1b083d61a34d123d34ab7cd51267377aa2f7855 | [
"Unlicense"
] | null | null | null | #ifndef INFRA_LIMITED_INPUT_STREAM_HPP
#define INFRA_LIMITED_INPUT_STREAM_HPP
#include "infra/stream/InputStream.hpp"
namespace infra
{
class LimitedStreamReader
: public StreamReader
{
public:
LimitedStreamReader(StreamReader& input, uint32_t length);
LimitedStreamReader(const Lim... | 28.795455 | 87 | 0.719021 | oguzcanphilips |
02eb0c24bccfa926ae99a65c1b81051a05d09128 | 5,145 | hpp | C++ | include/memoria/core/types/typehash.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2021-07-30T16:54:24.000Z | 2021-09-08T15:48:17.000Z | include/memoria/core/types/typehash.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | null | null | null | include/memoria/core/types/typehash.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2020-03-14T15:15:25.000Z | 2020-06-15T11:26:56.000Z |
// Copyright 2011 Victor Smirnov
//
// 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... | 29.067797 | 107 | 0.727114 | victor-smirnov |
02ee7972294d1553333cb4cf01e0c191fd4dbac0 | 1,328 | cpp | C++ | Ouroboros/Source/oMemory/memcmp4.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/Source/oMemory/memcmp4.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/Source/oMemory/memcmp4.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | // Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use.
#include "memduff.h"
namespace ouro {
bool memcmp4(const void* mem, long value, size_t bytes)
{
// Compares a run of memory against a constant value.
// this compares a full int value rather than a char value.
// First move mem up t... | 27.102041 | 114 | 0.662651 | jiangzhu1212 |
02f2e7dd765e5691574e3565a1b326eb34d7fed5 | 32,806 | cc | C++ | base/message_loop/message_pump_win.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 6 | 2020-12-22T05:48:31.000Z | 2022-02-08T19:49:49.000Z | base/message_loop/message_pump_win.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2020-05-22T18:36:43.000Z | 2021-05-19T10:20:23.000Z | base/message_loop/message_pump_win.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-12-06T11:48:16.000Z | 2021-09-16T04:44:47.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/message_loop/message_pump_win.h"
#include <algorithm>
#include <cstdint>
#include <type_traits>
#include "base/bind.h"
#include "base... | 39.668682 | 94 | 0.703652 | blockspacer |
02f6134e7c0329203cce9b5369b63d189093b5ad | 50,126 | cpp | C++ | LAVFilters/decoder/LAVVideo/decoders/dxva2dec.cpp | lcmftianci/licodeanalysis | 62e2722eba1b75ef82f7c1328585873d08bb41cc | [
"Apache-2.0"
] | 2 | 2019-11-17T14:01:21.000Z | 2019-12-24T14:29:45.000Z | LAVFilters/decoder/LAVVideo/decoders/dxva2dec.cpp | lcmftianci/licodeanalysis | 62e2722eba1b75ef82f7c1328585873d08bb41cc | [
"Apache-2.0"
] | null | null | null | LAVFilters/decoder/LAVVideo/decoders/dxva2dec.cpp | lcmftianci/licodeanalysis | 62e2722eba1b75ef82f7c1328585873d08bb41cc | [
"Apache-2.0"
] | 3 | 2019-08-28T14:37:01.000Z | 2020-06-17T16:46:32.000Z | /*
* Copyright (C) 2011-2019 Hendrik Leppkes
* http://www.1f0.de
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any... | 29.961745 | 211 | 0.677353 | lcmftianci |
02f6a8f9b10969bde216f003eec631b6db4be7fe | 4,637 | cpp | C++ | src/JSEUILabel.cpp | imzcy/JavaScriptExecutable | 723a13f433aafad84faa609f62955ce826063c66 | [
"MIT"
] | 3 | 2015-03-18T03:12:27.000Z | 2020-11-19T10:40:12.000Z | src/JSEUILabel.cpp | imzcy/JavaScriptExecutable | 723a13f433aafad84faa609f62955ce826063c66 | [
"MIT"
] | null | null | null | src/JSEUILabel.cpp | imzcy/JavaScriptExecutable | 723a13f433aafad84faa609f62955ce826063c66 | [
"MIT"
] | null | null | null | #include "JSE.h"
#include "JSEUILabel.h"
using namespace v8;
namespace JSE { namespace UI {
void JSEUILabel::SetMethods(Isolate *&isolate, Handle<FunctionTemplate> &tpl)
{
tpl->SetClassName(String::NewFromUtf8(isolate, "Label"));
JSE_UI_SET_ACCESSOR(tpl, "left", Get_left, Set_left);
JSE_UI_SET_ACCE... | 27.276471 | 108 | 0.704119 | imzcy |
02f7deae038905e176a07113de95cd7fd55d963d | 3,260 | cc | C++ | src/libxtp/grids/regular_grid.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | src/libxtp/grids/regular_grid.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | src/libxtp/grids/regular_grid.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2020 The VOTCA Development Team
* (http://www.votca.org)
*
* 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... | 34.680851 | 78 | 0.636503 | rubengerritsen |
02f8bbc0d7d583e213b9f02c8795387551ab968b | 929 | cpp | C++ | 0138. Copy List with Random Pointer/solution_o1.cpp | Pluto-Zy/LeetCode | 3bb39fc5c000b344fd8727883b095943bd29c247 | [
"MIT"
] | null | null | null | 0138. Copy List with Random Pointer/solution_o1.cpp | Pluto-Zy/LeetCode | 3bb39fc5c000b344fd8727883b095943bd29c247 | [
"MIT"
] | null | null | null | 0138. Copy List with Random Pointer/solution_o1.cpp | Pluto-Zy/LeetCode | 3bb39fc5c000b344fd8727883b095943bd29c247 | [
"MIT"
] | null | null | null | /*
// Definition for a Node.
class Node {
public:
int val;
Node* next;
Node* random;
Node(int _val) {
val = _val;
next = NULL;
random = NULL;
}
};
*/
class Solution {
public:
Node* copyRandomList(Node* head) {
if (!head)
return nullptr;
// 在每个节点后复制一个新节点
... | 22.658537 | 106 | 0.543595 | Pluto-Zy |
02fc52df9f9d4341ec35fa32645fab1aab4fd47a | 5,956 | cpp | C++ | src/cbb/power_of_2.test.cpp | connorsmacd/Cbb | 494a8d822b1d7ac19b3714439d9bcdcb2e5079d7 | [
"MIT"
] | null | null | null | src/cbb/power_of_2.test.cpp | connorsmacd/Cbb | 494a8d822b1d7ac19b3714439d9bcdcb2e5079d7 | [
"MIT"
] | null | null | null | src/cbb/power_of_2.test.cpp | connorsmacd/Cbb | 494a8d822b1d7ac19b3714439d9bcdcb2e5079d7 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
#include <cbb/power_of_2_constants.hpp>
using namespace cbb;
using namespace ieme::fraction_literals;
TEST_CASE("power_of_2 construction", "[power_of_2]")
{
SECTION("default") { STATIC_REQUIRE(power_of_2().get_exponent() == 0); }
SECTION("from exponent")
... | 30.860104 | 80 | 0.660678 | connorsmacd |
02fdd9d7db3de78875bf306b76b89691409e5d26 | 4,504 | cpp | C++ | sdk_core/src/third_party/FastCRC/FastCRCsw.cpp | elapidae/Livox-SDK | c51d62ab2a6ce7dd8efb059da6600b755ea75a39 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | 345 | 2019-01-16T02:19:08.000Z | 2022-03-27T14:23:04.000Z | sdk_core/src/third_party/FastCRC/FastCRCsw.cpp | elapidae/Livox-SDK | c51d62ab2a6ce7dd8efb059da6600b755ea75a39 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | 152 | 2019-01-31T06:53:01.000Z | 2022-03-30T18:34:02.000Z | sdk_core/src/third_party/FastCRC/FastCRCsw.cpp | elapidae/Livox-SDK | c51d62ab2a6ce7dd8efb059da6600b755ea75a39 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | 171 | 2019-01-24T09:54:32.000Z | 2022-03-25T22:18:55.000Z | /* FastCRC library code is placed under the MIT license
* Copyright (c) 2014,2015,2016 Frank Bosing
*
* 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
... | 29.058065 | 73 | 0.620337 | elapidae |
f301d325055aa027df3128f876c75b953d67701e | 13,341 | cpp | C++ | zodiacgraph/plug.cpp | IEEM-HsKA/Automotive-Security-Threat-Modelling-Tool | e3b2ea5a188b11aaa4bb329edcc0d3d1b47ae07b | [
"MIT"
] | 1 | 2021-12-08T13:27:22.000Z | 2021-12-08T13:27:22.000Z | zodiacgraph/plug.cpp | IEEM-HsKA/Automotive-Security-Threat-Modelling-Tool | e3b2ea5a188b11aaa4bb329edcc0d3d1b47ae07b | [
"MIT"
] | null | null | null | zodiacgraph/plug.cpp | IEEM-HsKA/Automotive-Security-Threat-Modelling-Tool | e3b2ea5a188b11aaa4bb329edcc0d3d1b47ae07b | [
"MIT"
] | null | null | null | #include "plug.h"
#include <QGraphicsSceneMouseEvent>
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QtMath> // for M_PI, qRadiansToDegrees
#include "drawedge.h"
#include "node.h"
#include "perimeter.h"
#include "plugedge.h"
#include "pluglabel.h"
#include "scene.h"
#include "utils.h"
static QGrap... | 29.580931 | 99 | 0.673188 | IEEM-HsKA |
f3042e91410e62719a0f494a6f58c2247191ffe1 | 2,007 | hpp | C++ | ext/src/javax/swing/Action.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/javax/swing/Action.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/javax/swing/Action.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#pragma once
#include <fwd-POI.hpp>
#include <java/beans/fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <javax/swing/fwd-POI.hpp>
#include <java/awt/event/ActionListener.hpp>
struct javax::swing::Action
: pu... | 39.352941 | 99 | 0.691081 | pebble2015 |
f3054f24f5c217346d346593114e97f462aee9fb | 327 | cpp | C++ | contains-duplicate/contains-duplicate.cpp | deb-dutta-01/Leetcode_Practise | 3c577e0eb8fb1ce6b145e19083372b2989143f0d | [
"Apache-2.0"
] | null | null | null | contains-duplicate/contains-duplicate.cpp | deb-dutta-01/Leetcode_Practise | 3c577e0eb8fb1ce6b145e19083372b2989143f0d | [
"Apache-2.0"
] | null | null | null | contains-duplicate/contains-duplicate.cpp | deb-dutta-01/Leetcode_Practise | 3c577e0eb8fb1ce6b145e19083372b2989143f0d | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
bool containsDuplicate(vector<int>& nums) {
unordered_set<int> res;
for(int num:nums){
if(res.find(num) == res.end()){
res.insert(num);
}
else
return true;
}
return false;
... | 20.4375 | 47 | 0.428135 | deb-dutta-01 |
f3056323c7da80c5632d6798e7657bc4eafb2e40 | 3,895 | hpp | C++ | ql/methods/finitedifferences/operators/triplebandlinearop.hpp | autoantwort/QuantLib | 3261dde01de1b9c7ceb6c0cd1a2920da6e38eb3c | [
"BSD-3-Clause"
] | 1 | 2021-02-27T22:25:54.000Z | 2021-02-27T22:25:54.000Z | ql/methods/finitedifferences/operators/triplebandlinearop.hpp | autoantwort/QuantLib | 3261dde01de1b9c7ceb6c0cd1a2920da6e38eb3c | [
"BSD-3-Clause"
] | 16 | 2020-11-23T08:00:31.000Z | 2022-03-28T07:57:41.000Z | ql/methods/finitedifferences/operators/triplebandlinearop.hpp | fabianfh/QuantLib | 44230ddeb91629015ff6ff9aa079b07912dd2002 | [
"BSD-3-Clause"
] | 1 | 2016-11-01T13:51:45.000Z | 2016-11-01T13:51:45.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Andreas Gaida
Copyright (C) 2008 Ralph Schreyer
Copyright (C) 2008 Klaus Spanderen
Copyright (C) 2014 Johannes Göttker-Schnetmann
This file is part of QuantLib, a free-software/open-source library
for financial... | 34.469027 | 98 | 0.691913 | autoantwort |
f305fe08d9bca25526b9ca438afbff6c37ddddea | 650 | cpp | C++ | src/errors.cpp | miniriley2012/flags | 3f001f16100e66bbd9aa4a07661900466318f972 | [
"MIT"
] | null | null | null | src/errors.cpp | miniriley2012/flags | 3f001f16100e66bbd9aa4a07661900466318f972 | [
"MIT"
] | null | null | null | src/errors.cpp | miniriley2012/flags | 3f001f16100e66bbd9aa4a07661900466318f972 | [
"MIT"
] | null | null | null | //
// Created by Riley Quinn on 6/14/20.
//
#include "flags/errors.hpp"
std::string flags::errors::make_option_error_str(const option_error err, const std::string &option_name) {
switch (err) {
case undefined: {
return "Undefined option '" + option_name + "'.";
}
case missing_v... | 29.545455 | 106 | 0.58 | miniriley2012 |
f307086c0b7891029d7533d424657dcc26b150b8 | 2,257 | cpp | C++ | Roguelike/Code/Game/PursueBehavior.cpp | cugone/Roguelike | 0f53a1ae2a37e683773c1707ce4aeb056973af13 | [
"MIT"
] | null | null | null | Roguelike/Code/Game/PursueBehavior.cpp | cugone/Roguelike | 0f53a1ae2a37e683773c1707ce4aeb056973af13 | [
"MIT"
] | 4 | 2021-05-04T03:21:49.000Z | 2021-10-06T05:21:24.000Z | Roguelike/Code/Game/PursueBehavior.cpp | cugone/Roguelike | 0f53a1ae2a37e683773c1707ce4aeb056973af13 | [
"MIT"
] | 2 | 2020-01-19T00:50:34.000Z | 2021-04-01T07:51:02.000Z | #include "Game/PursueBehavior.hpp"
#include "Engine/Math/MathUtils.hpp"
#include "Game/Actor.hpp"
#include "Game/Command.hpp"
#include "Game/RestCommand.hpp"
#include "Game/MoveCommand.hpp"
#include "Game/MoveNorthCommand.hpp"
#include "Game/MoveSouthCommand.hpp"
#include "Game/MoveEastCommand.hpp"
#include "Game/Mov... | 28.935897 | 73 | 0.671245 | cugone |
f30996556ecddf8e348c2fe2bbfb2caa636bfef6 | 3,200 | cpp | C++ | util/scanner_sim/servescanner.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 7 | 2015-02-10T17:00:49.000Z | 2021-07-27T22:09:43.000Z | util/scanner_sim/servescanner.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 11 | 2015-02-22T19:15:53.000Z | 2021-08-04T17:26:18.000Z | util/scanner_sim/servescanner.cpp | cdla/murfi2 | 45dba5eb90e7f573f01706a50e584265f0f8ffa7 | [
"Apache-2.0"
] | 8 | 2015-07-06T22:31:51.000Z | 2019-04-22T21:22:07.000Z |
#include"ace/SOCK_Stream.h"
#include"ace/SOCK_Connector.h"
#include"ace/SOCK_Stream.h"
#include<iostream>
#include<cstring>
#include<cstdio>
#include"../../src/io/RtExternalSenderImageInfo.h"
using namespace std;
// noise proerties
bool noise = false;
unsigned short max_noise = 50;
int
ACE_TMAIN (int argc, ACE_TC... | 25.19685 | 80 | 0.633125 | cdla |
f30ab6821b9bacb341deb9e33549570028efce01 | 21,145 | cc | C++ | media/cast/net/pacing/paced_sender_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-11-16T13:10:29.000Z | 2021-11-16T13:10:29.000Z | media/cast/net/pacing/paced_sender_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/cast/net/pacing/paced_sender_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <memory>
#include "base/big_endian.h"
#include "base/containers/circular_deque.h"
... | 39.157407 | 80 | 0.745188 | zealoussnow |
f30d097d8f4efc7f6f03b5c7ebba090089f4f309 | 8,176 | hpp | C++ | deps/boost/include/boost/hana/lazy.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | deps/boost/include/boost/hana/lazy.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | deps/boost/include/boost/hana/lazy.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | /*!
@file
Defines `boost::hana::lazy`.
@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_LAZY_HPP
#define BOOST_HANA_LAZY_HPP
#include <boost/hana/fwd/lazy.hpp>... | 35.547826 | 86 | 0.481898 | kindlychung |
f30d9ac3cad16ec92c2833349edb4f175231e7b3 | 984 | hpp | C++ | modules/core/src/Slot/gmSlotInputList.hpp | GraphMIC/GraphMIC | 8fc2aeb0143ee1292c6757f010fc9e8c68823e2b | [
"BSD-3-Clause"
] | 43 | 2016-04-11T11:34:05.000Z | 2022-03-31T03:37:57.000Z | modules/core/src/Slot/gmSlotInputList.hpp | kevinlq/GraphMIC | 8fc2aeb0143ee1292c6757f010fc9e8c68823e2b | [
"BSD-3-Clause"
] | 1 | 2016-05-17T12:58:16.000Z | 2016-05-17T12:58:16.000Z | modules/core/src/Slot/gmSlotInputList.hpp | kevinlq/GraphMIC | 8fc2aeb0143ee1292c6757f010fc9e8c68823e2b | [
"BSD-3-Clause"
] | 14 | 2016-05-13T20:23:16.000Z | 2021-12-20T10:33:19.000Z | #pragma once
#include <QAbstractListModel>
namespace gm
{
namespace Slot
{
class InputBase;
class GM_CORE_EXPORT InputList : public QAbstractListModel
{
Q_OBJECT
public:
enum Roles
{
Slot = Qt::UserRole + 1,
... | 27.333333 | 82 | 0.521341 | GraphMIC |
f3128b4eb981ed891d063c8c1a187bf0ebc33e66 | 1,492 | cpp | C++ | Wrappers/C/Testing/main.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | Wrappers/C/Testing/main.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | Wrappers/C/Testing/main.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include "rrLogger.h"
#include "rrUtils.h"
#include "UnitTest++.h"
#include "XmlTestReporter.h"
#include "TestReporterStdOut.h"
using namespace std;
using namespace rr;
using namespace UnitTest;
int main(int argc, char* argv[])
{
string outFolder;
string repo... | 23.68254 | 94 | 0.628686 | gregmedlock |
f314a4ce2b04e7ebe935165e14b5e2cc73bf4a5a | 1,239 | cpp | C++ | test/unit/scaled_int/rounding/elastic/int.cpp | JuanluMorales/cnl | fb0ad2be9315471809bea58643c8c90729644cd7 | [
"BSL-1.0"
] | 523 | 2017-07-27T02:43:25.000Z | 2022-03-24T21:27:22.000Z | test/unit/scaled_int/rounding/elastic/int.cpp | JuanluMorales/cnl | fb0ad2be9315471809bea58643c8c90729644cd7 | [
"BSL-1.0"
] | 377 | 2017-07-28T04:09:46.000Z | 2022-03-19T12:20:11.000Z | test/unit/scaled_int/rounding/elastic/int.cpp | JuanluMorales/cnl | fb0ad2be9315471809bea58643c8c90729644cd7 | [
"BSL-1.0"
] | 63 | 2017-08-16T14:43:40.000Z | 2022-03-21T16:07:02.000Z |
// Copyright John McFarlane 2015 - 2016.
// 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 <cnl/_impl/config.h>
#include <cnl/elastic_integer.h>
#include <cnl/rounding_integer.h>... | 32.605263 | 108 | 0.687651 | JuanluMorales |
f317bf26c62298afacd2d8b80beba4b56eba5d40 | 9,281 | cpp | C++ | GTE/Samples/Geometrics/ConformalMapping/ConformalMappingWindow3.cpp | tranthaiphi/GeometricTools | 451e412a0715dbb4fcafbe486ca33d84a404b78d | [
"BSL-1.0"
] | 452 | 2020-09-16T02:23:30.000Z | 2022-03-27T23:11:38.000Z | GTE/Samples/Geometrics/ConformalMapping/ConformalMappingWindow3.cpp | tranthaiphi/GeometricTools | 451e412a0715dbb4fcafbe486ca33d84a404b78d | [
"BSL-1.0"
] | 34 | 2020-10-11T03:56:17.000Z | 2022-03-04T17:29:34.000Z | GTE/Samples/Geometrics/ConformalMapping/ConformalMappingWindow3.cpp | tranthaiphi/GeometricTools | 451e412a0715dbb4fcafbe486ca33d84a404b78d | [
"BSL-1.0"
] | 91 | 2020-09-28T16:59:40.000Z | 2022-03-25T16:20:06.000Z | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2021
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#include "ConformalMappingWindow3.h"
#include <... | 32.911348 | 104 | 0.631721 | tranthaiphi |
f318d8d41b0c5473d3d34297caca397328155695 | 2,898 | cc | C++ | depends/dbcommon/src/dbcommon/function/arith-func.cc | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 1 | 2020-05-11T01:39:13.000Z | 2020-05-11T01:39:13.000Z | depends/dbcommon/src/dbcommon/function/arith-func.cc | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 1 | 2021-03-01T02:57:26.000Z | 2021-03-01T02:57:26.000Z | depends/dbcommon/src/dbcommon/function/arith-func.cc | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 1 | 2020-05-03T07:29:21.000Z | 2020-05-03T07:29:21.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 ... | 33.310345 | 258 | 0.687716 | YangHao666666 |
f318f5cc1e8c211864502d9b9fe50847e1a62e6b | 2,319 | cpp | C++ | 06. Functions/08. pass_by_reference.cpp | ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari | 36aacdca116628264724cc2624d64fcb1e0c1148 | [
"MIT"
] | 1 | 2022-02-15T21:11:42.000Z | 2022-02-15T21:11:42.000Z | 06. Functions/08. pass_by_reference.cpp | ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari | 36aacdca116628264724cc2624d64fcb1e0c1148 | [
"MIT"
] | null | null | null | 06. Functions/08. pass_by_reference.cpp | ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari | 36aacdca116628264724cc2624d64fcb1e0c1148 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void swap(int &a, int &b)
{
int temp;
temp = a;
a = b;
b = temp;
}
int main()
{
int x = 10, y = 20;
cout << "Value of actual parameters x and y before swap(x,y) :\nx = " << x << "\ty = " << y << endl;
cout << "Address of actual parameters x and y bef... | 48.3125 | 123 | 0.718413 | ManthanUgemuge |
f31931228d23b8001fc847cc9f10645b5df7d98d | 2,309 | cpp | C++ | xiaoV/src/base/qtmudprecvvoice.cpp | bianshifeng/QtRobot | c3353f71c6cf6a820b74bad11deafb99236fde84 | [
"MIT"
] | null | null | null | xiaoV/src/base/qtmudprecvvoice.cpp | bianshifeng/QtRobot | c3353f71c6cf6a820b74bad11deafb99236fde84 | [
"MIT"
] | null | null | null | xiaoV/src/base/qtmudprecvvoice.cpp | bianshifeng/QtRobot | c3353f71c6cf6a820b74bad11deafb99236fde84 | [
"MIT"
] | null | null | null | #include "qtmudprecvvoice.h"
#include <QThread>
#include <QCoreApplication>
QTmUDPRecvVoice::QTmUDPRecvVoice(QObject *parent) : QObject(parent)
{
m_bStartRecvData = false;
connect(&m_connectTimer,SIGNAL(timeout()),this,SLOT(slot_timer()));
}
bool QTmUDPRecvVoice::init(qint32 nPort)
{
qDebug()<<"init udp s... | 28.158537 | 138 | 0.686444 | bianshifeng |
f31a2ea069e70de1e74bb77c693af7f5d5aaad49 | 758 | cpp | C++ | TOI16/Camp-1/Grader [S] 2019/famous/famous.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | TOI16/Camp-1/Grader [S] 2019/famous/famous.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | TOI16/Camp-1/Grader [S] 2019/famous/famous.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<list>
using namespace std;
int social()
{
int n,m,k;
cin>>n>>m>>k;
vector<vector<int> > vec(n,vector<int>(n, 0));
list<int> famous;
int x,y;
for(int i=0;i<m;i++)
{
cin>>x>>y;
x--; y--;
vec[x][y]=1;
vec[y][x]=1;
}
for(int i=0;i<n;i++)
{
int fol=0;
for(i... | 14.301887 | 47 | 0.532982 | mrmuffinnxz |
f31c701b28f88b65ab044546809d12467e81e9bf | 8,208 | cpp | C++ | Source/bindings/core/v8/PageScriptDebugServer.cpp | prepare/Blink_only_permissive_lic_files | 8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4 | [
"BSD-3-Clause"
] | null | null | null | Source/bindings/core/v8/PageScriptDebugServer.cpp | prepare/Blink_only_permissive_lic_files | 8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4 | [
"BSD-3-Clause"
] | null | null | null | Source/bindings/core/v8/PageScriptDebugServer.cpp | prepare/Blink_only_permissive_lic_files | 8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 37.140271 | 271 | 0.766326 | prepare |
f31cc9af2c3e6b9b69ab7e2eb9da1b00e442a37e | 16,903 | cpp | C++ | folly/net/TcpInfo.cpp | Aoikiseki/folly | df3633c731d08bab0173039a050a30853fb47212 | [
"Apache-2.0"
] | 19,046 | 2015-01-01T17:01:10.000Z | 2022-03-31T23:01:43.000Z | folly/net/TcpInfo.cpp | Aoikiseki/folly | df3633c731d08bab0173039a050a30853fb47212 | [
"Apache-2.0"
] | 1,493 | 2015-01-11T15:47:13.000Z | 2022-03-28T18:13:58.000Z | folly/net/TcpInfo.cpp | Aoikiseki/folly | df3633c731d08bab0173039a050a30853fb47212 | [
"Apache-2.0"
] | 4,818 | 2015-01-01T12:28:16.000Z | 2022-03-31T16:22:10.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 28.649153 | 80 | 0.734308 | Aoikiseki |
f31d22c24146abcfa94858a786060e27daf2220c | 3,369 | hxx | C++ | main/xmloff/inc/XMLBasicExportFilter.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/xmloff/inc/XMLBasicExportFilter.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/xmloff/inc/XMLBasicExportFilter.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.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 y... | 48.826087 | 136 | 0.64856 | Grosskopf |
f31f8ab0fb06f8dc72dfcefe3fe18cc450c766e3 | 668 | cpp | C++ | test/pre_reserch/plag_original_codes/05_045_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | 13 | 2021-01-20T19:53:16.000Z | 2021-11-14T16:30:32.000Z | test/training_data/plag_original_codes/05_045_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | test/training_data/plag_original_codes/05_045_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | // 引用元 : https://atcoder.jp/contests/abc121/submissions/12412105
// 得点 : 300
// コード長 : 553
// 実行時間 : 77
#include <bits/stdc++.h>
using namespace std;
using lli = long long int;
using ll = long long ;
using ld=long double;
using d= double;
int main() {
int n,m;
cin>>n>>m;
vector<pair<ll,ll>> p(n)... | 18.054054 | 65 | 0.505988 | xryuseix |
f32194a350b7d3d0fed543ada2d1803f2e7d326b | 1,290 | hpp | C++ | Sources/Graphics/DrawBMP/example/cube3d.hpp | wurui1994/test | 027cef75f98dbb252b322113dacd4a9a6997d84f | [
"MIT"
] | 27 | 2017-12-19T09:15:36.000Z | 2021-07-30T13:02:00.000Z | Sources/Graphics/DrawBMP/example/cube3d.hpp | wurui1994/test | 027cef75f98dbb252b322113dacd4a9a6997d84f | [
"MIT"
] | null | null | null | Sources/Graphics/DrawBMP/example/cube3d.hpp | wurui1994/test | 027cef75f98dbb252b322113dacd4a9a6997d84f | [
"MIT"
] | 29 | 2018-04-10T13:25:54.000Z | 2021-12-24T01:51:03.000Z | //No ZBuffer
double a[]= {
-100,-100,100,
100,-100,100,
100,100,100,
-100,100,100,
};//前
double b[]= {
-100,-100,-100,
100,-100,-100,
100,100,-100,
-100,100,-100,
};//后
double c[]= {
-100,-100,-100,
100,-100,-100,
100,-100,100,
-100,-100,100,
};//下
double d[]= {
-100,100,-100,
100,100... | 18.169014 | 35 | 0.589922 | wurui1994 |
f32355e03839a83bad7d9187cc78a14aea1ec7af | 11,113 | cc | C++ | components/pdf/browser/pdf_web_contents_helper.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-11-16T13:10:29.000Z | 2021-11-16T13:10:29.000Z | components/pdf/browser/pdf_web_contents_helper.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/pdf/browser/pdf_web_contents_helper.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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 "components/pdf/browser/pdf_web_contents_helper.h"
#include <utility>
#include "base/feature_list.h"
#include "base/memory/ptr_util.h"
#inc... | 34.619938 | 96 | 0.739944 | zealoussnow |
f32468a1a872663e2cbb24395756fcc4acba7944 | 616,154 | cpp | C++ | tests/cuda2.2/tests/Particles/radixsort_kernel.cu.cpp | florianjacob/gpuocelot | fa63920ee7c5f9a86e264cd8acd4264657cbd190 | [
"BSD-3-Clause"
] | 221 | 2015-03-29T02:05:49.000Z | 2022-03-25T01:45:36.000Z | tests/cuda2.2/tests/Particles/radixsort_kernel.cu.cpp | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 106 | 2015-03-29T01:28:42.000Z | 2022-02-15T19:38:23.000Z | tests/cuda2.2/tests/Particles/radixsort_kernel.cu.cpp | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 83 | 2015-07-10T23:09:57.000Z | 2022-03-25T03:01:00.000Z | # 1 "/tmp/tmpxft_00000a86_00000000-1_radixsort_kernel.cudafe1.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/tmpxft_00000a86_00000000-1_radixsort_kernel.cudafe1.cpp"
# 1 "/home/normal/checkout/gpuocelot/tests-ptx-2.1/cuda2.2/tests/particles/radixsort_kernel.cu"
# 46 "/usr/local/cuda/bin/../include/device_types.h"... | 51.561004 | 1,214 | 0.765546 | florianjacob |
f324a156d7594e9e513d4d60b5c2fc7049dd224b | 11,897 | hpp | C++ | cpp/include/dataframe/serializer/bson/data_writer.hpp | fairtide/DataFrame | 2c1a7a84dd5fc49f25b74af3d5878004ac72aba4 | [
"Apache-2.0"
] | 5 | 2019-06-19T01:47:42.000Z | 2022-01-10T07:36:25.000Z | cpp/include/dataframe/serializer/bson/data_writer.hpp | fairtide/DataFrame | 2c1a7a84dd5fc49f25b74af3d5878004ac72aba4 | [
"Apache-2.0"
] | 1 | 2019-03-02T20:11:25.000Z | 2019-04-05T20:25:07.000Z | cpp/include/dataframe/serializer/bson/data_writer.hpp | fairtide/DataFrame | 2c1a7a84dd5fc49f25b74af3d5878004ac72aba4 | [
"Apache-2.0"
] | 2 | 2020-04-13T07:33:12.000Z | 2021-11-07T12:59:04.000Z | //============================================================================
// Copyright 2019 Fairtide Pte. 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.apa... | 33.32493 | 79 | 0.530974 | fairtide |
f326f527d760c60ebbbee51cfdea9e4d7036ecb7 | 5,547 | cpp | C++ | webkit/WebCore/inspector/InjectedScriptHost.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/inspector/InjectedScriptHost.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/inspector/InjectedScriptHost.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | 28.890625 | 111 | 0.754822 | s1rcheese |
f327444821e89594c0f4f112fa4ace3381c66dd4 | 18,633 | cpp | C++ | base/src/TextureManager.cpp | rohith10/P6 | 0ff618a5aae09f678d699a1fe0db31010d077785 | [
"BSD-4-Clause-UC"
] | null | null | null | base/src/TextureManager.cpp | rohith10/P6 | 0ff618a5aae09f678d699a1fe0db31010d077785 | [
"BSD-4-Clause-UC"
] | null | null | null | base/src/TextureManager.cpp | rohith10/P6 | 0ff618a5aae09f678d699a1fe0db31010d077785 | [
"BSD-4-Clause-UC"
] | null | null | null | #include "TextureManager.h"
#include <algorithm>
#include <string>
#include <sstream>
#include "GLRenderer.h"
#include "Utility.h"
#include "gl/glew.h"
extern "C"
{
#include "SOIL/SOIL.h"
#include "SOIL/image_DXT.h"
#include "SOIL/image_helper.h"
}
std::weak_ptr<TextureManager> TextureManager::singleton;
... | 35.356736 | 151 | 0.552085 | rohith10 |
f329b6343a63a6d99e1c333a8a3c93bb0c202be4 | 1,712 | cpp | C++ | CodeGeneration/codegen/mex/yolov2_detect/MWDepthConcatenationLayer.cpp | matlab-deep-learning/Object-Detection-Using-YOLO-v2-Deep-Learning | 4db074adf074e6e7471e430799355509e72fd033 | [
"BSD-2-Clause"
] | 38 | 2020-03-17T21:00:55.000Z | 2021-12-06T02:02:25.000Z | CodeGeneration/codegen/mex/yolov2_detect/MWDepthConcatenationLayer.cpp | matlab-deep-learning/Object-Detection-Using-YOLO-v2-Deep-Learning | 4db074adf074e6e7471e430799355509e72fd033 | [
"BSD-2-Clause"
] | 1 | 2020-05-01T02:21:40.000Z | 2020-05-13T18:55:40.000Z | CodeGeneration/codegen/mex/yolov2_detect/MWDepthConcatenationLayer.cpp | matlab-deep-learning/Object-Detection-Using-YOLO-v2-Deep-Learning | 4db074adf074e6e7471e430799355509e72fd033 | [
"BSD-2-Clause"
] | 14 | 2020-04-16T16:08:41.000Z | 2021-12-08T14:46:37.000Z | /* Copyright 2017 The MathWorks, Inc. */
#include "MWDepthConcatenationLayer.hpp"
#include "MWDepthConcatenationLayerImpl.hpp"
#include <stdarg.h>
#include <cassert>
MWDepthConcatenationLayer::MWDepthConcatenationLayer()
{
}
MWDepthConcatenationLayer::~MWDepthConcatenationLayer()
{
}
void MWDepthConcatenationL... | 32.923077 | 113 | 0.608645 | matlab-deep-learning |
f329d9fafcdce123e5782ec5eade51ff203ad081 | 2,513 | cpp | C++ | src/core/DefaultAudioDestinationNode.cpp | doc22940/LabSound | 0f2379661dc9d0c2faa798a1be16791803c12621 | [
"BSD-2-Clause"
] | null | null | null | src/core/DefaultAudioDestinationNode.cpp | doc22940/LabSound | 0f2379661dc9d0c2faa798a1be16791803c12621 | [
"BSD-2-Clause"
] | null | null | null | src/core/DefaultAudioDestinationNode.cpp | doc22940/LabSound | 0f2379661dc9d0c2faa798a1be16791803c12621 | [
"BSD-2-Clause"
] | null | null | null | // License: BSD 2 Clause
// Copyright (C) 2011, Google Inc. All rights reserved.
// Copyright (C) 2015+, The LabSound Authors. All rights reserved.
#include "LabSound/core/DefaultAudioDestinationNode.h"
#include "LabSound/extended/AudioContextLock.h"
#include "LabSound/extended/Logging.h"
#include "internal/Assertio... | 27.315217 | 139 | 0.720653 | doc22940 |
f32b6c6dbdbb92f74e7652c21d7933deefd85685 | 20,266 | cpp | C++ | 3rdparty/webkit/Source/WebCore/html/HTMLLinkElement.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/WebCore/html/HTMLLinkElement.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/WebCore/html/HTMLLinkElement.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | 1 | 2019-01-25T13:55:25.000Z | 2019-01-25T13:55:25.000Z | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2003-2017 Apple Inc. All rights reserved.
* Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
* Copyright (C) 2011 Google Inc. All rights rese... | 32.270701 | 242 | 0.701421 | mchiasson |
f32d7ee7a2372ad8f6eac2ceb65a3334e8c41719 | 39,610 | cpp | C++ | external/vulkancts/modules/vulkan/wsi/vktWsiPresentIdWaitTests.cpp | twoerner/VK-GL-CTS | 8e89717bf4ed2d67c58231d1847d2c8f574f300c | [
"Apache-2.0"
] | 354 | 2017-01-24T17:12:38.000Z | 2022-03-30T07:40:19.000Z | external/vulkancts/modules/vulkan/wsi/vktWsiPresentIdWaitTests.cpp | twoerner/VK-GL-CTS | 8e89717bf4ed2d67c58231d1847d2c8f574f300c | [
"Apache-2.0"
] | 275 | 2017-01-24T20:10:36.000Z | 2022-03-24T16:24:50.000Z | external/vulkancts/modules/vulkan/wsi/vktWsiPresentIdWaitTests.cpp | twoerner/VK-GL-CTS | 8e89717bf4ed2d67c58231d1847d2c8f574f300c | [
"Apache-2.0"
] | 190 | 2017-01-24T18:02:04.000Z | 2022-03-27T13:11:23.000Z | /*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2019 The Khronos Group Inc.
* Copyright (c) 2019 Valve Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... | 35.911151 | 299 | 0.711638 | twoerner |
f32f21450e4f81f7e68e7627fde0fdef2010e74d | 6,080 | hpp | C++ | Lib/Chip/CM7/STMicro/STM32H7x3/IWDG.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/CM7/STMicro/STM32H7x3/IWDG.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/CM7/STMicro/STM32H7x3/IWDG.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//IWDG
namespace IwdgIwdgKr{ ///<Key register
using Addr = Register::Address<0x58004800,0xffff0000,0x00000000,std::uint32_t>;
///Key value (write only, read 0x0000) These bits must be written by software at regular ... | 173.714286 | 1,029 | 0.657072 | operativeF |
f32f6a1b88639795a21a9acb6f1b81aba5657f8f | 9,429 | cc | C++ | content/browser/renderer_host/font_utils_linux.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-05-24T13:52:28.000Z | 2021-05-24T13:53:10.000Z | content/browser/renderer_host/font_utils_linux.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/renderer_host/font_utils_linux.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-03-12T07:58:10.000Z | 2019-08-31T04:53:58.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 <fcntl.h>
#include <fontconfig/fontconfig.h>
#include <stddef.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stri... | 35.447368 | 80 | 0.667091 | metux |
f3316659c5ed86abe7cf0809057ca8e9f234857a | 3,364 | cpp | C++ | MyFirstGame/map/TileSet.cpp | NullBy7e/MyFIrstGame | 487596cfc52c5a943585fa874cd9ccd33cd92cc9 | [
"MIT"
] | 1 | 2019-04-24T16:12:46.000Z | 2019-04-24T16:12:46.000Z | MyFirstGame/map/TileSet.cpp | NullBy7e/MyFIrstGame | 487596cfc52c5a943585fa874cd9ccd33cd92cc9 | [
"MIT"
] | null | null | null | MyFirstGame/map/TileSet.cpp | NullBy7e/MyFIrstGame | 487596cfc52c5a943585fa874cd9ccd33cd92cc9 | [
"MIT"
] | null | null | null | #include "TileSet.hpp"
#include <SFML/System/Vector2.hpp>
#include <iostream>
#include <filesystem>
#include <fstream>
#include <sstream>
#include <functional>
#include "spdlog/spdlog.h"
#include "spdlog/sinks/stdout_color_sinks.h"
#include "../Logger.hpp"
TileSet::TileSet(const std::string& name, const std::string& ... | 25.104478 | 164 | 0.62396 | NullBy7e |
f3325937ea46cade47c63620d6e195f9736264c2 | 4,185 | cpp | C++ | src/param_json_editor.cpp | billyfish/grassroots-client-qt-desktop | daa3b8f2bb70c759ef037270b9f5d36643060a39 | [
"Apache-2.0"
] | 1 | 2018-01-08T09:06:23.000Z | 2018-01-08T09:06:23.000Z | src/param_json_editor.cpp | TGAC/grassroots-client-qt-desktop | 39c559ff00d7386da3d6477c1b83a4705c1ca1dc | [
"Apache-2.0"
] | null | null | null | src/param_json_editor.cpp | TGAC/grassroots-client-qt-desktop | 39c559ff00d7386da3d6477c1b83a4705c1ca1dc | [
"Apache-2.0"
] | null | null | null | /*
** Copyright 2014-2016 The Earlham Institute
**
** 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 la... | 21.352041 | 149 | 0.702748 | billyfish |
f334313f095636754c2c8f696efec44b2deb58c2 | 3,030 | cpp | C++ | SCSGA/coalitional_values_generator_NRD.cpp | Friduric/scsga-aaai21 | 58030865964c6bc44b12f2acc40970bdbed25874 | [
"MIT"
] | 1 | 2021-06-21T06:22:34.000Z | 2021-06-21T06:22:34.000Z | SCSGA/coalitional_values_generator_NRD.cpp | Friduric/scsga-aaai21 | 58030865964c6bc44b12f2acc40970bdbed25874 | [
"MIT"
] | null | null | null | SCSGA/coalitional_values_generator_NRD.cpp | Friduric/scsga-aaai21 | 58030865964c6bc44b12f2acc40970bdbed25874 | [
"MIT"
] | null | null | null | #include "coalitional_values_generator_NRD.h"
#include "utility.h"
#include <cassert>
coalitional_values_generator_NRD::coalitional_values_generator_NRD() :
nrd_generator(coalition::value_t(0), coalition::value_t(0.1)), AgentToAgentToTaskSkillLevel{}
{
}
void coalitional_values_generator_NRD::reset
(
u... | 36.071429 | 120 | 0.732673 | Friduric |
f33576684a053e5c042c5de540423ddd1cf1c2ca | 960 | hpp | C++ | release/include/mlclient/internals/Conversions.hpp | adamfowleruk/mlcplusplus | bd8b47b8e92c7f66a22ecfe98353f3e8a621802d | [
"Apache-2.0"
] | 4 | 2016-04-21T06:27:40.000Z | 2017-01-20T12:10:54.000Z | release/include/mlclient/internals/Conversions.hpp | marklogic/mlcplusplus | bd8b47b8e92c7f66a22ecfe98353f3e8a621802d | [
"Apache-2.0"
] | 239 | 2015-11-26T23:10:33.000Z | 2017-01-03T23:48:23.000Z | release/include/mlclient/internals/Conversions.hpp | adamfowleruk/mlcplusplus | bd8b47b8e92c7f66a22ecfe98353f3e8a621802d | [
"Apache-2.0"
] | 3 | 2016-05-13T10:00:01.000Z | 2017-01-20T12:15:20.000Z | /*
* Copyright (c) MarkLogic Corporation. 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 ... | 29.090909 | 76 | 0.70625 | adamfowleruk |
f3359f4ed8018b23113970a5044bfc0cb87181e9 | 3,259 | cpp | C++ | OpenGl/src/shadowMapping/shadowMappingDepth.cpp | luckmoney/Cocos2dx | 909a23852b226b28f7d910e7eecc2d451884ad57 | [
"Apache-2.0"
] | 1 | 2020-01-25T14:57:32.000Z | 2020-01-25T14:57:32.000Z | OpenGl/src/shadowMapping/shadowMappingDepth.cpp | luckmoney/Cocos2dx | 909a23852b226b28f7d910e7eecc2d451884ad57 | [
"Apache-2.0"
] | null | null | null | OpenGl/src/shadowMapping/shadowMappingDepth.cpp | luckmoney/Cocos2dx | 909a23852b226b28f7d910e7eecc2d451884ad57 | [
"Apache-2.0"
] | null | null | null |
#include "shadowMapping/shadowMappingDepth.h"
const unsigned int SHADOW_WIDTH = 1024, SHADOW_HEIGHT = 1024;
ShadowMappingDepth::~ShadowMappingDepth()
{
}
void ShadowMappingDepth::Init()
{
glEnable(GL_DEPTH_TEST);
m_depthShader = new Shader("../Cocos2dx/src/shadowMapping/shadow_mapping_depth.vs",
"../Cocos2d... | 27.618644 | 120 | 0.742252 | luckmoney |
f33779290df54ca16cff666e281aba7f74ad4937 | 14,328 | tcc | C++ | source/adios2/toolkit/format/bp/BPSerializer.tcc | gregorweiss/ADIOS2 | 25f91bb256ff004fccbe128dd9b0c584c3c674b3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | source/adios2/toolkit/format/bp/BPSerializer.tcc | gregorweiss/ADIOS2 | 25f91bb256ff004fccbe128dd9b0c584c3c674b3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | source/adios2/toolkit/format/bp/BPSerializer.tcc | gregorweiss/ADIOS2 | 25f91bb256ff004fccbe128dd9b0c584c3c674b3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* BPSerializer.tcc
*
* Created on: Sep 16, 2019
* Author: William F Godoy godoywf@ornl.gov
*/
#ifndef ADIOS2_TOOLKIT_FORMAT_BP_BPSERIALIZER_TCC_
#define ADIOS2_TOOLKIT_FORMAT_BP_BPSE... | 34.776699 | 80 | 0.619277 | gregorweiss |
f33a0e519b7456f690c3e53c0357bf64a3912503 | 2,586 | cpp | C++ | velox/serializers/tests/PrestoOutputStreamListenerTest.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 1 | 2022-03-04T20:01:57.000Z | 2022-03-04T20:01:57.000Z | velox/serializers/tests/PrestoOutputStreamListenerTest.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 1 | 2022-03-08T18:23:48.000Z | 2022-03-08T18:23:48.000Z | velox/serializers/tests/PrestoOutputStreamListenerTest.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 35.424658 | 80 | 0.700696 | vancexu |
f33b2405e72d886ca33cac1a3c8593996da8b1a6 | 7,705 | cpp | C++ | SNesoid/sneslib_comp/screenshot.cpp | Pretz/SNesoid | a9381085e07c5aabbe8e371854d579fede0893ae | [
"Xnet",
"X11"
] | 17 | 2015-01-19T05:33:25.000Z | 2021-10-05T23:24:33.000Z | snes9x/src/main/cpp/sneslib/screenshot.cpp | CharlesNascimento/K-SNES | 10f97fdf28e647b484a68aecd1387ec549290c62 | [
"MIT"
] | 5 | 2015-01-19T09:24:55.000Z | 2019-08-09T18:55:58.000Z | SNesoid/sneslib_comp/screenshot.cpp | Pretz/SNesoid | a9381085e07c5aabbe8e371854d579fede0893ae | [
"Xnet",
"X11"
] | 22 | 2015-01-17T00:24:52.000Z | 2021-08-13T02:51:30.000Z | /*******************************************************************************
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
(c) Copyright 1996 - 2002 Gary Henderson (gary.henderson@ntlworld.com) and
Jerremy Koot (jkoot@snes9x.com)
(c) Copyright 2001 - 2004 ... | 32.648305 | 84 | 0.609215 | Pretz |
f33baed1673db87d7f1c6beb271a91f4a07f49e0 | 139 | cpp | C++ | assets/code_box/boj_sum.cpp | happyOBO/happyOBO.github.io | 96e60a67b9b84c26f01312f8ca5ade35803c521f | [
"MIT"
] | 2 | 2020-10-24T03:25:30.000Z | 2021-08-01T05:18:18.000Z | assets/code_box/boj_sum.cpp | happyOBO/happyOBO.github.io | 96e60a67b9b84c26f01312f8ca5ade35803c521f | [
"MIT"
] | 2 | 2020-12-05T14:31:19.000Z | 2020-12-06T05:09:43.000Z | assets/code_box/boj_sum.cpp | happyOBO/happyOBO.github.io | 96e60a67b9b84c26f01312f8ca5ade35803c521f | [
"MIT"
] | 4 | 2020-08-26T10:02:11.000Z | 2020-10-22T05:55:18.000Z | #include <iostream>
#include <algorithm>
using namespace std;
long long sum(void)
{
long long result = 0LL;
return result;
}
| 12.636364 | 27 | 0.661871 | happyOBO |
f33bb1ff7130234d64747dd585b822ca967b94cb | 12,005 | cpp | C++ | example/DomainDecomposition/EBINS/src/BCGVelAdvect.cpp | OscarAntepara/Chombo_4 | 87e0a282f7bab94249a3c8f56935ea77905c883d | [
"BSD-3-Clause-LBNL"
] | null | null | null | example/DomainDecomposition/EBINS/src/BCGVelAdvect.cpp | OscarAntepara/Chombo_4 | 87e0a282f7bab94249a3c8f56935ea77905c883d | [
"BSD-3-Clause-LBNL"
] | null | null | null | example/DomainDecomposition/EBINS/src/BCGVelAdvect.cpp | OscarAntepara/Chombo_4 | 87e0a282f7bab94249a3c8f56935ea77905c883d | [
"BSD-3-Clause-LBNL"
] | null | null | null |
#include "BCGVelAdvect.H"
#include "EBAdvectionFunctions.H"
#include "Chombo_ParmParse.H"
#include "Chombo_NamespaceHeader.H"
///
void
BCGVelAdvect::
applyVeloFluxBCs(EBFluxData<Real, 1> & a_flux,
const DataIndex & a_dit,
EBFluxData<Real, 1> & a_scalarLo,
EBFluxDa... | 34.398281 | 124 | 0.622574 | OscarAntepara |
f33f00eb3798df2cf9624cb1970dfbb60930ba65 | 24,568 | cc | C++ | src/EMBase.cc | MIRTK/NeoSeg | d2ff4e307638727d66aff3ece25496677bbd8df1 | [
"Apache-2.0"
] | 16 | 2016-03-25T22:39:48.000Z | 2021-07-07T09:35:23.000Z | src/EMBase.cc | MIRTK/NeoSeg | d2ff4e307638727d66aff3ece25496677bbd8df1 | [
"Apache-2.0"
] | 24 | 2016-02-24T16:22:11.000Z | 2021-10-05T12:34:39.000Z | src/EMBase.cc | MIRTK/NeoSeg | d2ff4e307638727d66aff3ece25496677bbd8df1 | [
"Apache-2.0"
] | 13 | 2016-03-17T03:41:01.000Z | 2021-11-13T02:43:49.000Z | /*
* Developing brain Region Annotation With Expectation-Maximization (Draw-EM)
*
* Copyright 2013-2020 Imperial College London
* Copyright 2013-2020 Christian Ledig
* Copyright 2013-2020 Antonios Makropoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... | 23.221172 | 133 | 0.589303 | MIRTK |
f34018b38a84f45fef0b9b1dae7b58a1c53a7c46 | 1,350 | cpp | C++ | hippo/src/input/keyboard.cpp | progrematic/hippo | fefc65b7db5468ef29f0ca1d1e42a4b62c255b64 | [
"MIT"
] | 11 | 2021-05-10T14:57:59.000Z | 2022-03-14T06:37:31.000Z | hippo/src/input/keyboard.cpp | progrematic/hippo | fefc65b7db5468ef29f0ca1d1e42a4b62c255b64 | [
"MIT"
] | null | null | null | hippo/src/input/keyboard.cpp | progrematic/hippo | fefc65b7db5468ef29f0ca1d1e42a4b62c255b64 | [
"MIT"
] | 8 | 2021-07-13T13:16:42.000Z | 2022-03-22T16:52:13.000Z | #include "hippo/input/keyboard.h"
#include "hippo/log.h"
#include <algorithm>
#include "SDL2/SDL_keyboard.h"
namespace hippo::input
{
std::array<bool, Keyboard::KeyCount> Keyboard::keys;
std::array<bool, Keyboard::KeyCount> Keyboard::keysLast;
void Keyboard::Initialize()
{
std::fill(keys.begin()... | 23.275862 | 89 | 0.637778 | progrematic |
f34062ec29c0bfb11b1a8912f673f016913244e8 | 1,802 | cpp | C++ | SearchEngine/SortingProperty.cpp | AnnaKrykora/indexer-plus-plus | 99998b5205bf80ada23e2fdbd6aa2cc6be7f5ed1 | [
"MIT"
] | 59 | 2016-07-27T20:36:04.000Z | 2022-02-21T07:39:43.000Z | SearchEngine/SortingProperty.cpp | Stateford/indexer-plus-plus | 6ffc46d85a00fd83f0117b358ffe3eaae82ea575 | [
"MIT"
] | 43 | 2016-08-18T15:59:50.000Z | 2021-01-18T09:16:50.000Z | SearchEngine/SortingProperty.cpp | Stateford/indexer-plus-plus | 6ffc46d85a00fd83f0117b358ffe3eaae82ea575 | [
"MIT"
] | 13 | 2016-07-28T16:08:41.000Z | 2020-12-17T06:06:27.000Z | // This file is the part of the Indexer++ project.
// Copyright (C) 2016 Anna Krykora <krykoraanna@gmail.com>. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
#include "SortingProperty.h"
namespace indexer {
SortingProperty Propert... | 48.702703 | 101 | 0.689234 | AnnaKrykora |
f3421fa9f1a2c98b318a9761005c572ca1c53f6b | 24,678 | cc | C++ | src/common/json.cc | asprasad/xgboost | bb47fd8c496ccd25e6499f722f0d9f2ee3965500 | [
"Apache-2.0"
] | null | null | null | src/common/json.cc | asprasad/xgboost | bb47fd8c496ccd25e6499f722f0d9f2ee3965500 | [
"Apache-2.0"
] | 1 | 2022-02-01T16:14:41.000Z | 2022-02-01T16:14:41.000Z | src/common/json.cc | asprasad/xgboost | bb47fd8c496ccd25e6499f722f0d9f2ee3965500 | [
"Apache-2.0"
] | null | null | null | /*!
* Copyright (c) by Contributors 2019-2022
*/
#include "xgboost/json.h"
#include <dmlc/endian.h>
#include <cctype>
#include <cmath>
#include <cstddef>
#include <iterator>
#include <limits>
#include <sstream>
#include "./math.h"
#include "charconv.h"
#include "xgboost/base.h"
#include "xgboost/json_io.h"
#includ... | 25.079268 | 98 | 0.579139 | asprasad |
f34a5dacbb7582163b72d3d60a654716a90e8edf | 8,935 | cc | C++ | src/server/endpoint.cc | dlinten/pistache | 22d74298038cadd3a2bc5e5424d352b7e58984d9 | [
"Apache-2.0"
] | null | null | null | src/server/endpoint.cc | dlinten/pistache | 22d74298038cadd3a2bc5e5424d352b7e58984d9 | [
"Apache-2.0"
] | null | null | null | src/server/endpoint.cc | dlinten/pistache | 22d74298038cadd3a2bc5e5424d352b7e58984d9 | [
"Apache-2.0"
] | null | null | null | /* endpoint.cc
Mathieu Stefani, 22 janvier 2016
Implementation of the http endpoint
*/
#include <pistache/config.h>
#include <pistache/endpoint.h>
#include <pistache/peer.h>
#include <pistache/tcp.h>
#include <array>
#include <chrono>
namespace Pistache
{
namespace Http
{
class TransportImpl ... | 32.02509 | 128 | 0.550979 | dlinten |
f34ac9c8fbbc092e5435a0c038450cd88850425f | 12,934 | cpp | C++ | opencl/test/unit_test/mem_obj/get_mem_object_info_tests.cpp | sanjaymsh/compute-runtime | 1bf270a804d47745dc6ee0bd2bf6232b2a4d835b | [
"MIT"
] | 1 | 2020-09-03T17:10:38.000Z | 2020-09-03T17:10:38.000Z | opencl/test/unit_test/mem_obj/get_mem_object_info_tests.cpp | sanjaymsh/compute-runtime | 1bf270a804d47745dc6ee0bd2bf6232b2a4d835b | [
"MIT"
] | null | null | null | opencl/test/unit_test/mem_obj/get_mem_object_info_tests.cpp | sanjaymsh/compute-runtime | 1bf270a804d47745dc6ee0bd2bf6232b2a4d835b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/helpers/aligned_memory.h"
#include "shared/source/helpers/ptr_math.h"
#include "shared/test/unit_test/helpers/debug_manager_state_restore.h"... | 30.868735 | 133 | 0.685789 | sanjaymsh |
f34dc131c2555722a1b1b690fa3d1d0a0e939584 | 3,506 | cpp | C++ | modules/task_1/bezrodnov_d_radix_sort_double_batcher/radix_sort_double_batcher.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/bezrodnov_d_radix_sort_double_batcher/radix_sort_double_batcher.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/bezrodnov_d_radix_sort_double_batcher/radix_sort_double_batcher.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | 2 | 2022-03-31T17:48:22.000Z | 2022-03-31T18:06:07.000Z | // Copyright 2022 Bezrodnov Dmitry
#include "../../../modules/task_1/bezrodnov_d_radix_sort_double_batcher/radix_sort_double_batcher.h"
#include <random>
#include <cmath>
#include<algorithm>
std::vector<std::vector<int>> get_vector_part(const std::vector<int>& vec,
int ... | 31.303571 | 100 | 0.554478 | allnes |
f34dc40cd24090eb337c0d42e224a37c223c04aa | 43,653 | cpp | C++ | sources/libengine/engine/graphics/dispatch.cpp | Gaeldrin/cage | 6399a5cdcb3932e8d422901ce7d72099dc09273c | [
"MIT"
] | null | null | null | sources/libengine/engine/graphics/dispatch.cpp | Gaeldrin/cage | 6399a5cdcb3932e8d422901ce7d72099dc09273c | [
"MIT"
] | null | null | null | sources/libengine/engine/graphics/dispatch.cpp | Gaeldrin/cage | 6399a5cdcb3932e8d422901ce7d72099dc09273c | [
"MIT"
] | null | null | null | #include <cage-core/geometry.h>
#include <cage-core/config.h>
#include <cage-core/serialization.h>
#include <cage-core/flatSet.h>
#include <cage-engine/graphics.h>
#include <cage-engine/opengl.h>
#include <cage-engine/shaderConventions.h>
#include <cage-engine/window.h>
#include "../engine.h"
#include "graphics.h"
#i... | 34.453828 | 251 | 0.70041 | Gaeldrin |
f353cc7deba62399e60d4fa94dee21bd570a77c6 | 5,308 | cc | C++ | src/cascade/target/core/sw/sw_compiler.cc | 3Nigma/cascade | 44f7cf20719822f2cba5df7065083a15db217c30 | [
"BSD-2-Clause"
] | 425 | 2018-10-17T19:47:32.000Z | 2021-06-16T18:03:08.000Z | src/cascade/target/core/sw/sw_compiler.cc | 3Nigma/cascade | 44f7cf20719822f2cba5df7065083a15db217c30 | [
"BSD-2-Clause"
] | 196 | 2018-09-17T20:42:33.000Z | 2020-05-15T00:00:24.000Z | src/cascade/target/core/sw/sw_compiler.cc | 3Nigma/cascade | 44f7cf20719822f2cba5df7065083a15db217c30 | [
"BSD-2-Clause"
] | 39 | 2018-11-07T21:16:21.000Z | 2021-06-08T16:24:12.000Z | // Copyright 2017-2019 VMware, Inc.
// SPDX-License-Identifier: BSD-2-Clause
//
// The BSD-2 license (the License) set forth below applies to all parts of the
// Cascade project. You may not use this file except in compliance with the
// License.
//
// BSD-2 License
//
// Redistribution and use in source and binary fo... | 30.331429 | 103 | 0.694989 | 3Nigma |
f3555b8bc3721d607c340db22af5d773d512cd4f | 2,637 | cpp | C++ | include/workqueue.cpp | yyzhuxin/ilibevent | c9444b3600f5ac9eae0130e3f11753b6bd58017a | [
"MIT"
] | 1 | 2017-04-02T12:33:04.000Z | 2017-04-02T12:33:04.000Z | include/workqueue.cpp | yyzhuxin/ilibevent | c9444b3600f5ac9eae0130e3f11753b6bd58017a | [
"MIT"
] | null | null | null | include/workqueue.cpp | yyzhuxin/ilibevent | c9444b3600f5ac9eae0130e3f11753b6bd58017a | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "workqueue.hpp"
#define LL_ADD(item, list) { \
item->prev = NULL; \
item->next = list; \
list = item; \
}
#define LL_REMOVE(item, list) { \
if (item->prev != NULL) item->prev->next = item->next; \
if (item->next != NULL) item->next->prev = item-... | 22.538462 | 84 | 0.68449 | yyzhuxin |
f355d1fac8057ee33c8a28cc09f6fe3dbfc60607 | 1,661 | cpp | C++ | aws-cpp-sdk-glue/source/model/BatchGetCrawlersRequest.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-glue/source/model/BatchGetCrawlersRequest.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-glue/source/model/BatchGetCrawlersRequest.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 28.152542 | 113 | 0.7646 | curiousjgeorge |
f358d96b90e05b4e769c3f18a08c50de9b94fdd0 | 3,545 | cpp | C++ | Classes/uiloader/loaders/UIButtonLoader.cpp | youlanhai/cc-qt-framework | 35b19d253cdbe2800ecb8068e476efa408f76242 | [
"MIT"
] | null | null | null | Classes/uiloader/loaders/UIButtonLoader.cpp | youlanhai/cc-qt-framework | 35b19d253cdbe2800ecb8068e476efa408f76242 | [
"MIT"
] | null | null | null | Classes/uiloader/loaders/UIButtonLoader.cpp | youlanhai/cc-qt-framework | 35b19d253cdbe2800ecb8068e476efa408f76242 | [
"MIT"
] | 2 | 2015-11-05T08:25:14.000Z | 2018-03-07T07:29:48.000Z | //
// UIButtonLoader.cpp
// Clover
//
// Created by C218-pc on 15/6/29.
//
//
#include "UIButtonLoader.h"
#include "UIButton.h"
#include "UIHelper.h"
cocos2d::Node * UIButtonLoader::createObject(rapidjson::Value & config)
{
return uilib::Button::create();
}
bool UIButtonLoader::setProperty(cocos2d::Node *p, c... | 25.688406 | 139 | 0.521016 | youlanhai |
f3601d9449452b3ed499080a6131888a603b4454 | 426 | cpp | C++ | libs/dg_cli.cpp | xmac1/udpserver | d392eaf716f7762ec40bc01710a108364e0b2ca2 | [
"Apache-2.0"
] | null | null | null | libs/dg_cli.cpp | xmac1/udpserver | d392eaf716f7762ec40bc01710a108364e0b2ca2 | [
"Apache-2.0"
] | null | null | null | libs/dg_cli.cpp | xmac1/udpserver | d392eaf716f7762ec40bc01710a108364e0b2ca2 | [
"Apache-2.0"
] | null | null | null | //
// Created by xmac on 18-10-22.
//
#include "../include/unp.h"
void dg_cli(FILE* fp, int sockfd, const SA* servaddr, socklen_t addrlen) {
int n;
int recvline[MAXLINE], sendline[MAXLINE];
while(Fgets(sendline, MAXLINE, fp) != NULL) {
Sendto(sockfd, sendline, strlen(recvline), 0, servaddr, addrl... | 25.058824 | 74 | 0.633803 | xmac1 |
f360c0f3174cc8666055ba588bca76206daa4f53 | 1,099 | cpp | C++ | HomeWork/HomeWork220126/HomeWork220126.cpp | Munjongyun/HomeWork | 9215fdcf283e70591cc67acd41f5b19fa6d6c22e | [
"MIT"
] | null | null | null | HomeWork/HomeWork220126/HomeWork220126.cpp | Munjongyun/HomeWork | 9215fdcf283e70591cc67acd41f5b19fa6d6c22e | [
"MIT"
] | null | null | null | HomeWork/HomeWork220126/HomeWork220126.cpp | Munjongyun/HomeWork | 9215fdcf283e70591cc67acd41f5b19fa6d6c22e | [
"MIT"
] | null | null | null | // HomeWork220126.cpp : 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다.
//
#include <iostream>
class MyInt
{
public:
int Value;
public:
MyInt(int _Value)
: Value(_Value)
{
}
MyInt& operator++()
{
Value += 1;
return *this;
}
MyInt operator++(int)
{
... | 16.907692 | 96 | 0.519563 | Munjongyun |
f364bd2777c2dfa159ae5e9b20004d1541c05fad | 13,424 | cpp | C++ | src/v_palette.cpp | 351ELEC/lzdoom | 2ee3ea91bc9c052b3143f44c96d85df22851426f | [
"RSA-MD"
] | 2 | 2020-04-19T13:37:34.000Z | 2021-06-09T04:26:25.000Z | src/v_palette.cpp | 351ELEC/lzdoom | 2ee3ea91bc9c052b3143f44c96d85df22851426f | [
"RSA-MD"
] | null | null | null | src/v_palette.cpp | 351ELEC/lzdoom | 2ee3ea91bc9c052b3143f44c96d85df22851426f | [
"RSA-MD"
] | null | null | null | /*
** v_palette.cpp
** Automatic colormap generation for "colored lights", etc.
**
**---------------------------------------------------------------------------
** Copyright 1998-2006 Randy Heit
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitt... | 23.675485 | 109 | 0.610623 | 351ELEC |
f364f98554b8570a3c01ed661bdc0ded28f229aa | 1,004 | cpp | C++ | GOOGLETEST/RangeValidator/testRunner.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/RangeValidator/testRunner.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/RangeValidator/testRunner.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | #include <iostream>
// #include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "checker.h"
/////////////////////////////////////////////////////////////
//fixture class for parameters
class RangeCheckerFixture: public testing::TestWithParam<double>{
public:
RangeCheckerFixture() = default;
protected:
RangeC... | 31.375 | 94 | 0.479084 | Amit-Khobragade |
f3692526af1e199b77934e57ac9e25971c840cf6 | 30,478 | cc | C++ | src/perf_data_converter.cc | EricMountain/perf_data_converter | 1684499f7d18cefef820fbfec45309ac998e3c25 | [
"BSD-3-Clause"
] | null | null | null | src/perf_data_converter.cc | EricMountain/perf_data_converter | 1684499f7d18cefef820fbfec45309ac998e3c25 | [
"BSD-3-Clause"
] | null | null | null | src/perf_data_converter.cc | EricMountain/perf_data_converter | 1684499f7d18cefef820fbfec45309ac998e3c25 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016, Google Inc.
* All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/perf_data_converter.h"
#include <algorithm>
#include <deque>
#include <map>
#include <sstream>
#include <utility>
#include <vector>
#... | 38.924649 | 151 | 0.686725 | EricMountain |
f36943983cbb129ac4ea3529f8001b09153510c3 | 991 | cpp | C++ | CWin/CWin/control/radio_check_button_control_group.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | CWin/CWin/control/radio_check_button_control_group.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | CWin/CWin/control/radio_check_button_control_group.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | #include "../hook/responsive_hooks.h"
#include "radio_check_button_control_group.h"
cwin::control::radio_group::radio_group(){
insert_object<hook::contain>(nullptr);
}
cwin::control::radio_group::radio_group(tree &parent)
: radio_group(parent, static_cast<std::size_t>(-1)){}
cwin::control::radio_group::radio_grou... | 24.775 | 109 | 0.732593 | benbraide |
f36b433e6ea74cad89816d4e70986e1300f005b6 | 2,762 | cpp | C++ | oneflow/core/operator/acc_tick_op.cpp | wangyuyue/oneflow | 0a71c22fe8355392acc8dc0e301589faee4c4832 | [
"Apache-2.0"
] | 3,285 | 2020-07-31T05:51:22.000Z | 2022-03-31T15:20:16.000Z | oneflow/core/operator/acc_tick_op.cpp | wangyuyue/oneflow | 0a71c22fe8355392acc8dc0e301589faee4c4832 | [
"Apache-2.0"
] | 2,417 | 2020-07-31T06:28:58.000Z | 2022-03-31T23:04:14.000Z | oneflow/core/operator/acc_tick_op.cpp | wangyuyue/oneflow | 0a71c22fe8355392acc8dc0e301589faee4c4832 | [
"Apache-2.0"
] | 520 | 2020-07-31T05:52:42.000Z | 2022-03-29T02:38:11.000Z | /*
Copyright 2020 The OneFlow 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 agre... | 34.098765 | 100 | 0.742578 | wangyuyue |
f36c78f92557a31e38faeadc6bec86270965f2fc | 2,107 | cpp | C++ | processcreate.cpp | fossabot/Allocation-and-Reclaim | 53662c00fd845cbb2891e7ff5b8b06b7cea15a92 | [
"MIT"
] | 1 | 2021-11-07T13:53:38.000Z | 2021-11-07T13:53:38.000Z | processcreate.cpp | fossabot/Allocation-and-Reclaim | 53662c00fd845cbb2891e7ff5b8b06b7cea15a92 | [
"MIT"
] | 1 | 2022-01-18T16:40:42.000Z | 2022-01-18T16:40:42.000Z | processcreate.cpp | fossabot/Allocation-and-Reclaim | 53662c00fd845cbb2891e7ff5b8b06b7cea15a92 | [
"MIT"
] | 1 | 2022-01-18T16:38:20.000Z | 2022-01-18T16:38:20.000Z | #include "processcreate.h"
#include "ui_processcreate.h"
#include <QDebug>
ProcessCreate::ProcessCreate(QWidget *parent) :
QWidget(parent),
ui(new Ui::ProcessCreate)
{
ui->setupUi(this);
this->setWindowTitle("创建进程 - PowerSimulator");
this->setFixedSize(this->width(),this->height());
this->setWi... | 23.153846 | 180 | 0.668723 | fossabot |
f36de8688e0e1b1ff148c279b4264465268d51c7 | 4,033 | hpp | C++ | agency/execution/execution_policy/parallel_execution_policy.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 129 | 2016-08-18T23:24:15.000Z | 2022-03-25T12:06:05.000Z | agency/execution/execution_policy/parallel_execution_policy.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 86 | 2016-08-19T03:43:33.000Z | 2020-07-20T14:27:41.000Z | agency/execution/execution_policy/parallel_execution_policy.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 23 | 2016-08-18T23:52:13.000Z | 2022-02-28T16:28:20.000Z | /// \file
/// \brief Contains definition of parallel_execution_policy.
///
#pragma once
#include <agency/detail/config.hpp>
#include <agency/execution/executor/parallel_executor.hpp>
#include <agency/execution/execution_agent.hpp>
#include <agency/execution/execution_policy/basic_execution_policy.hpp>
namespace age... | 34.470085 | 174 | 0.782544 | nerikhman |
f36ec0beb28f0bdaab7502b50c403b3e88fbdd75 | 1,762 | cxx | C++ | src/configuration/BeaconCacheConfiguration.cxx | jeanmarcwatson/openkit-native | bb02b6555e992eae0e3632394ad587f345e92fcb | [
"Apache-2.0"
] | null | null | null | src/configuration/BeaconCacheConfiguration.cxx | jeanmarcwatson/openkit-native | bb02b6555e992eae0e3632394ad587f345e92fcb | [
"Apache-2.0"
] | null | null | null | src/configuration/BeaconCacheConfiguration.cxx | jeanmarcwatson/openkit-native | bb02b6555e992eae0e3632394ad587f345e92fcb | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018-2019 Dynatrace 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 i... | 35.24 | 143 | 0.799092 | jeanmarcwatson |
f375d8dc43244f5ebb18cd29f5bc8deab1553f14 | 2,967 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/hana/test/ext/boost/mpl/list/iterable.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/hana/test/ext/boost/mpl/list/iterable.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-04-04T18:00:00.000Z | 2019-04-04T18:00:00.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/hana/test/ext/boost/mpl/list/iterable.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/ext/boost/mpl/list.hpp>
#include <boost/hana/assert.hpp>
#include <boost/hana/drop_front_exactly.hpp>
#includ... | 30.90625 | 85 | 0.564206 | Wultyc |
f37895c257050ca50b6d9b1ea631903c0ccee7e7 | 46,311 | cpp | C++ | shell/ext/ratings/msrating/parselbl.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/ext/ratings/msrating/parselbl.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/ext/ratings/msrating/parselbl.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "msrating.h"
#include <npassert.h>
#include "array.h"
#include "msluglob.h"
#include "parselbl.h"
#include "debug.h"
#include <convtime.h>
#include <wininet.h>
extern BOOL LoadWinINet();
COptionsBase::COptionsBase()
{
m_cRef = 1;
m_timeUntil = 0xffffffff; /* as far in the future as ... | 28.962477 | 170 | 0.574097 | npocmaka |
f3796fcf86116b59f70a9ffe916bc4182eba9155 | 10,048 | cc | C++ | tensorflow/core/grappler/graph_analyzer/graph_analyzer.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tensorflow/core/grappler/graph_analyzer/graph_analyzer.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tensorflow/core/grappler/graph_analyzer/graph_analyzer.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.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... | 29.380117 | 80 | 0.619924 | abhaikollara |
f37b9708cabd854b47d663424a149a05a7e84e72 | 7,196 | cpp | C++ | src/TundraCore/Script/Script.cpp | realXtend/tundra-urho3d | 436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8 | [
"Apache-2.0"
] | 13 | 2015-02-25T02:42:38.000Z | 2018-07-31T11:40:56.000Z | src/TundraCore/Script/Script.cpp | realXtend/tundra-urho3d | 436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8 | [
"Apache-2.0"
] | 8 | 2015-02-12T22:27:05.000Z | 2017-01-21T15:59:17.000Z | src/TundraCore/Script/Script.cpp | realXtend/tundra-urho3d | 436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8 | [
"Apache-2.0"
] | 12 | 2015-03-25T21:10:50.000Z | 2019-04-10T09:03:10.000Z | // For conditions of distribution and use, see copyright notice in LICENSE
#include "StableHeaders.h"
#include "Script.h"
#include "IScriptInstance.h"
#include "ScriptAsset.h"
#include "AssetAPI.h"
#include "Framework.h"
#include "IAttribute.h"
#include "AttributeMetadata.h"
#include "IAssetTransfer.h"
#include "Enti... | 29.371429 | 131 | 0.6505 | realXtend |
3ce18297a386f1e8912d40bf2e36749f0b7bbfca | 31,907 | cpp | C++ | Ogitor/src/PGInstanceManager.cpp | nexustheru/ogitor | a700f8fefffa4ac51c5c20ad155e97e6700aabd4 | [
"MIT"
] | null | null | null | Ogitor/src/PGInstanceManager.cpp | nexustheru/ogitor | a700f8fefffa4ac51c5c20ad155e97e6700aabd4 | [
"MIT"
] | null | null | null | Ogitor/src/PGInstanceManager.cpp | nexustheru/ogitor | a700f8fefffa4ac51c5c20ad155e97e6700aabd4 | [
"MIT"
] | 2 | 2021-04-02T03:53:18.000Z | 2022-03-03T07:12:16.000Z | /*/////////////////////////////////////////////////////////////////////////////////
/// An
/// ___ ____ ___ _____ ___ ____
/// / _ \ / ___|_ _|_ _/ _ \| _ \
/// | | | | | _ | | | || | | | |_) |
/// | |_| | |_| || | | || |_| | _ <
/// \___/ \____|___| |_| \___/|_| \_\
/// ... | 35.334441 | 171 | 0.551133 | nexustheru |
3ce3623a40bc8290b36449418088e85ccbafb816 | 2,518 | hpp | C++ | alpaka/include/alpaka/time/TimeOmp.hpp | alpaka-group/mallocMC | ddba224b764885f816c42a7719551b14e6f5752b | [
"MIT"
] | 6 | 2021-02-01T09:01:39.000Z | 2021-11-14T17:09:03.000Z | alpaka/include/alpaka/time/TimeOmp.hpp | alpaka-group/mallocMC | ddba224b764885f816c42a7719551b14e6f5752b | [
"MIT"
] | 17 | 2020-11-09T14:13:50.000Z | 2021-11-03T11:54:54.000Z | alpaka/include/alpaka/time/TimeOmp.hpp | alpaka-group/mallocMC | ddba224b764885f816c42a7719551b14e6f5752b | [
"MIT"
] | null | null | null | /* Copyright 2019 Axel Huebl, Benjamin Worpitz
*
* This file is part of alpaka.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#ifdef _OPENMP... | 39.968254 | 117 | 0.42772 | alpaka-group |
3ce52e50af98affa2ee425a05fe1443b443327ed | 2,397 | cpp | C++ | tests/unittests/CompliantByDefaultEventFilterModuleTests.cpp | lalitb/cpp_client_telemetry | 728b656c6cfaca7cc1f2dd418372d210219a49e8 | [
"Apache-2.0"
] | 30 | 2021-01-12T07:42:00.000Z | 2022-03-02T05:18:58.000Z | tests/unittests/CompliantByDefaultEventFilterModuleTests.cpp | lalitb/cpp_client_telemetry | 728b656c6cfaca7cc1f2dd418372d210219a49e8 | [
"Apache-2.0"
] | 173 | 2021-01-06T22:44:50.000Z | 2022-03-30T11:20:53.000Z | tests/unittests/CompliantByDefaultEventFilterModuleTests.cpp | lalitb/cpp_client_telemetry | 728b656c6cfaca7cc1f2dd418372d210219a49e8 | [
"Apache-2.0"
] | 29 | 2021-01-25T10:10:16.000Z | 2022-02-21T12:35:16.000Z | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
#include "common/Common.hpp"
#include "common/MockILogManagerInternal.hpp"
#include "modules/filter/CompliantByDefaultEventFilterModule.hpp"
using namespace MAT;
using namespace testing;
class CompliantByDefaul... | 28.535714 | 115 | 0.804339 | lalitb |
3ce7ed4adf5a2f71aad64ff2b4cfd04321b8d76a | 976 | hpp | C++ | include/afsm/detail/event_identity.hpp | galek/afsm | 49181bf52fa2ab8bcea6017d11b3cd321b56c13c | [
"Artistic-2.0"
] | 133 | 2016-11-20T18:23:09.000Z | 2022-03-28T07:25:04.000Z | include/afsm/detail/event_identity.hpp | galek/afsm | 49181bf52fa2ab8bcea6017d11b3cd321b56c13c | [
"Artistic-2.0"
] | 24 | 2016-11-14T17:13:50.000Z | 2021-08-31T15:48:48.000Z | include/afsm/detail/event_identity.hpp | galek/afsm | 49181bf52fa2ab8bcea6017d11b3cd321b56c13c | [
"Artistic-2.0"
] | 24 | 2019-02-06T22:13:42.000Z | 2022-01-20T05:42:52.000Z | /*
* event_identity.hpp
*
* Created on: Dec 20, 2016
* Author: zmij
*/
#ifndef AFSM_DETAIL_EVENT_IDENTITY_HPP_
#define AFSM_DETAIL_EVENT_IDENTITY_HPP_
#include <type_traits>
#include <set>
#include <pushkin/meta/type_tuple.hpp>
namespace afsm {
namespace detail {
struct event_base {
struct id_type {}... | 18.415094 | 67 | 0.667008 | galek |
3ce88288f981e822d7dc3a960bbfa493615d0028 | 9,954 | cpp | C++ | DoorMotor_GarageDoor.cpp | james-prior/chicken-coop | a9b49c391e94c2a42c18bd4e6dfe0aada8107638 | [
"Unlicense"
] | null | null | null | DoorMotor_GarageDoor.cpp | james-prior/chicken-coop | a9b49c391e94c2a42c18bd4e6dfe0aada8107638 | [
"Unlicense"
] | null | null | null | DoorMotor_GarageDoor.cpp | james-prior/chicken-coop | a9b49c391e94c2a42c18bd4e6dfe0aada8107638 | [
"Unlicense"
] | null | null | null | ////////////////////////////////////////////////////////////
// Door Motor - Open / close coop door by cycling a relay
////////////////////////////////////////////////////////////
#include <Arduino.h>
#include <GPSParser.h>
#include <SaveController.h>
#include "ICommInterface.h"
#include "TelemetryTags.h"
#include "T... | 26.97561 | 114 | 0.705947 | james-prior |
3ce8c3614b5df8bcaf7ea8c3aa5a8cf339ae9d6a | 6,873 | cxx | C++ | src/lib/SceMi/tlmxactors/ValidRequest.cxx | GaloisInc/BESSPIN-BSC | 21a0a8cba9e643ef5afcb87eac164cc33ea83e94 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2022-02-11T01:52:42.000Z | 2022-02-11T01:52:42.000Z | src/lib/SceMi/tlmxactors/ValidRequest.cxx | GaloisInc/BESSPIN-BSC | 21a0a8cba9e643ef5afcb87eac164cc33ea83e94 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | src/lib/SceMi/tlmxactors/ValidRequest.cxx | GaloisInc/BESSPIN-BSC | 21a0a8cba9e643ef5afcb87eac164cc33ea83e94 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | #include "ValidRequest.h"
#include "dllexport.h"
using TLMUtilities::E_XactorType ;
template<unsigned A, unsigned D, unsigned U>
unsigned ValidRequest<A,D,U>::isValid (TLMUtilities::E_XactorType xtype
, const TLMRequest<A,D,U> &req
, TLMUtiliti... | 33.526829 | 85 | 0.714244 | GaloisInc |
3cea3a42e1f668bfaee9d5f603c2c8b4ad171a4c | 24,260 | cpp | C++ | src/Application/JavascriptModule/qscript_Circle.cpp | Joosua/tundra | c170c597d9af73a5ef08ea8ef4566665addc6664 | [
"Apache-2.0"
] | 31 | 2015-01-12T15:20:29.000Z | 2022-02-03T10:04:17.000Z | src/Application/JavascriptModule/qscript_Circle.cpp | Joosua/tundra | c170c597d9af73a5ef08ea8ef4566665addc6664 | [
"Apache-2.0"
] | 2 | 2015-02-04T12:58:05.000Z | 2016-01-04T15:46:48.000Z | src/Application/JavascriptModule/qscript_Circle.cpp | Joosua/tundra | c170c597d9af73a5ef08ea8ef4566665addc6664 | [
"Apache-2.0"
] | 20 | 2015-03-04T02:31:33.000Z | 2022-02-13T18:12:55.000Z | #include "QtScriptBindingsHelpers.h"
void ToExistingScriptValue_Circle(QScriptEngine *engine, const Circle &value, QScriptValue obj)
{
obj.setProperty("pos", qScriptValueFromValue(engine, value.pos), QScriptValue::Undeletable);
obj.setProperty("normal", qScriptValueFromValue(engine, value.normal), QScriptValue... | 69.712644 | 302 | 0.758739 | Joosua |