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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f740d2dea703267eb20f1a1586544eafacac4f6 | 46,492 | cc | C++ | src/kudu/consensus/raft_consensus_quorum-test.cc | SuckShit/kudu | ec5d1e29e019d4e5274231ae57cc14e7a4d52a72 | [
"Apache-2.0"
] | 6 | 2020-05-12T02:18:48.000Z | 2021-04-15T20:39:21.000Z | src/kudu/consensus/raft_consensus_quorum-test.cc | toddlipcon/kudu | e5ee5e08c68c9c661ce676ad629b4ad3abf57def | [
"Apache-2.0"
] | null | null | null | src/kudu/consensus/raft_consensus_quorum-test.cc | toddlipcon/kudu | e5ee5e08c68c9c661ce676ad629b4ad3abf57def | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 39.736752 | 99 | 0.701691 | SuckShit |
4f74db3448e89bb73b21b28aafe1d95c66e17f1c | 3,129 | hpp | C++ | deps/src/boost_1_65_1/boost/regex/v4/mem_block_cache.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | deps/src/boost_1_65_1/boost/regex/v4/mem_block_cache.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | deps/src/boost_1_65_1/boost/regex/v4/mem_block_cache.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /*
* Copyright (c) 2002
* John Maddock
*
* Use, modification and distribution are subject to 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)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent version.
* ... | 21.57931 | 75 | 0.644295 | shreyasvj25 |
4f74de8e6bb34d1a6f22570763a7341fdbc1b2aa | 3,850 | cpp | C++ | src/Renderer/Camera.cpp | vilfa/gold-rush | a6d936c3a3df841d567a65500aa9bcb4c7407318 | [
"MIT"
] | null | null | null | src/Renderer/Camera.cpp | vilfa/gold-rush | a6d936c3a3df841d567a65500aa9bcb4c7407318 | [
"MIT"
] | null | null | null | src/Renderer/Camera.cpp | vilfa/gold-rush | a6d936c3a3df841d567a65500aa9bcb4c7407318 | [
"MIT"
] | null | null | null | #include "Renderer/Camera.h"
const float Camera::_FRUSTUM_NEAR_ = 0.1f;
const float Camera::_FRUSTUM_FAR_ = 100.0f;
const float Camera::_YAW_ = 0.0f;
const float Camera::_PITCH_ = 0.0f;
const float Camera::_SPEED_ = 3.5f;
const float Camera::_SPEED_FAST_ = 7.0f;
const float Camera::_SENSITIVITY_ = 0.08f;
cons... | 32.352941 | 94 | 0.637403 | vilfa |
4f757a4e25d897e43ae10ced92b2998ed5d93446 | 1,992 | cpp | C++ | sdk/boost_1_30_0/libs/type_traits/test/remove_bounds_test.cpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | 2 | 2020-01-30T12:51:49.000Z | 2020-08-31T08:36:49.000Z | sdk/boost_1_30_0/libs/type_traits/test/remove_bounds_test.cpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null | sdk/boost_1_30_0/libs/type_traits/test/remove_bounds_test.cpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null |
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
... | 40.653061 | 96 | 0.7751 | acidicMercury8 |
4f78d7537f9a917aa50ebcd6fcd56688262b3b96 | 355 | hpp | C++ | src/utils/IIterrator.hpp | Vict0rynox/ft_retro | fe3ab75fb86406367837ba393e1c221133590bf4 | [
"MIT"
] | null | null | null | src/utils/IIterrator.hpp | Vict0rynox/ft_retro | fe3ab75fb86406367837ba393e1c221133590bf4 | [
"MIT"
] | null | null | null | src/utils/IIterrator.hpp | Vict0rynox/ft_retro | fe3ab75fb86406367837ba393e1c221133590bf4 | [
"MIT"
] | null | null | null | //
// Created by Victor Vasiliev on 11/4/17.
//
#ifndef FT_RETRO_IITERRATOR_HPP
#define FT_RETRO_IITERRATOR_HPP
namespace Utils
{
template <class T>
class IIterrator {
public:
virtual T curr() = 0;
virtual bool isEnd() = 0;
virtual void next() = 0;
virtual void prev() = 0;
virtual void reset() = 0;
};
}... | 16.136364 | 41 | 0.687324 | Vict0rynox |
4f7983eaa644cea5fa78e69e1ad66e2bc75d0fc2 | 27,397 | cpp | C++ | libgpos/server/src/unittest/gpos/memory/CCacheTest.cpp | soumyadeep2007/gporca | f255dea5a93a9e1fdd1b3303779866799fd13cb5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpos/server/src/unittest/gpos/memory/CCacheTest.cpp | soumyadeep2007/gporca | f255dea5a93a9e1fdd1b3303779866799fd13cb5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpos/server/src/unittest/gpos/memory/CCacheTest.cpp | soumyadeep2007/gporca | f255dea5a93a9e1fdd1b3303779866799fd13cb5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC CORP.
//
// @filename:
// CCacheTest.cpp
//
// @doc:
// Tests for CCache
//---------------------------------------------------------------------------
#include "gpos/error/CAutoTrace.h"
#incl... | 27.260697 | 126 | 0.638245 | soumyadeep2007 |
4f7a47f47f5c2936a021bdd471bcef92905fc271 | 40,660 | cpp | C++ | src/pal/src/thread/threadsusp.cpp | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 1 | 2015-05-22T14:11:51.000Z | 2015-05-22T14:11:51.000Z | src/pal/src/thread/threadsusp.cpp | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | null | null | null | src/pal/src/thread/threadsusp.cpp | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | null | null | null | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*++
Module Name:
threadsusp.cpp
Abstract:
Implementation of functions related to threads.
Revision History:
--*/
#include "pal/corunix.hpp"
... | 32.269841 | 143 | 0.697049 | CyberSys |
4f7b0b54b537ceb2d02a0147f50c33123ddfc8ef | 1,914 | cpp | C++ | assignment07/assignment7-2.cpp | qpakzk/SSU-CSE-Problem-Solving | 44cc6b913d86008c2f23536ed0c395115b6ccef6 | [
"MIT"
] | null | null | null | assignment07/assignment7-2.cpp | qpakzk/SSU-CSE-Problem-Solving | 44cc6b913d86008c2f23536ed0c395115b6ccef6 | [
"MIT"
] | null | null | null | assignment07/assignment7-2.cpp | qpakzk/SSU-CSE-Problem-Solving | 44cc6b913d86008c2f23536ed0c395115b6ccef6 | [
"MIT"
] | null | null | null | /*
* Problem Solving Assignment7-2 : 여행 계획 세우기
* https://www.acmicpc.net/problem/2152
*/
#include <cstdio>
#include <vector>
#include <stack>
#include <cstring>
#define MAXLEN 10001
using namespace std;
int N, M, S, T;
vector<vector<int> > G, GI, GG;
bool visited[MAXLEN];
int g_num, group[MAXLEN], g_cnt[MAXLEN], r... | 21.505618 | 58 | 0.474399 | qpakzk |
4f7c5b63f1b16711787957c7c62659cdfd576be3 | 1,656 | cpp | C++ | host/display/balance_layer.cpp | wmax351/airball-embedded | 204189922415b0f3cbef5dda14fa137e3c806a7d | [
"MIT"
] | null | null | null | host/display/balance_layer.cpp | wmax351/airball-embedded | 204189922415b0f3cbef5dda14fa137e3c806a7d | [
"MIT"
] | null | null | null | host/display/balance_layer.cpp | wmax351/airball-embedded | 204189922415b0f3cbef5dda14fa137e3c806a7d | [
"MIT"
] | null | null | null | #include "balance_layer.h"
#include <algorithm>
#include <mutex>
namespace airball {
double valid_gain(double x) {
return std::max(0.0, std::min(1.0, x));
}
balance_layer::balance_layer(
double left_gain,
double right_gain,
snd_pcm_uframes_t ramp_period) {
goal_ = {
valid_gain(left_gain),
... | 22.684932 | 70 | 0.688406 | wmax351 |
4f7ca119e6142e3d538b5b0114dd6849cbacc1a6 | 9,291 | cc | C++ | tests/unittests/stream_unittest.cc | curasystems/cef | 75bf737f56659bdc8e441b2e4e0cb8b343936dc4 | [
"BSD-3-Clause"
] | 1 | 2015-11-23T12:12:08.000Z | 2015-11-23T12:12:08.000Z | tests/unittests/stream_unittest.cc | curasystems/cef | 75bf737f56659bdc8e441b2e4e0cb8b343936dc4 | [
"BSD-3-Clause"
] | null | null | null | tests/unittests/stream_unittest.cc | curasystems/cef | 75bf737f56659bdc8e441b2e4e0cb8b343936dc4 | [
"BSD-3-Clause"
] | 1 | 2020-02-13T08:12:07.000Z | 2020-02-13T08:12:07.000Z | // Copyright (c) 2009 The Chromium Embedded Framework 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 "include/cef_stream.h"
#include "testing/gtest/include/gtest/gtest.h"
static void VerifyStreamReadBehavior(CefRefPtr<CefS... | 25.110811 | 80 | 0.695619 | curasystems |
4f7eb75ca02211e9d57b738f09468d203c753a14 | 6,754 | cpp | C++ | android/android_9/hardware/intel/img/hwcomposer/merrifield/ips/tangier/TngGrallocBufferMapper.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/hardware/intel/img/hwcomposer/merrifield/ips/tangier/TngGrallocBufferMapper.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/hardware/intel/img/hwcomposer/merrifield/ips/tangier/TngGrallocBufferMapper.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
// Copyright (c) 2014 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 25.583333 | 89 | 0.591205 | yakuizhao |
4f807b5468915e0a2916fcce813a2e5961542a20 | 10,727 | cpp | C++ | hanse_ros/hanse_sonarlocalization/src/particle_filter.cpp | iti-luebeck/HANSE2012 | fd2348823a6a51baf87cd493529f085fb22d65a7 | [
"BSD-3-Clause"
] | null | null | null | hanse_ros/hanse_sonarlocalization/src/particle_filter.cpp | iti-luebeck/HANSE2012 | fd2348823a6a51baf87cd493529f085fb22d65a7 | [
"BSD-3-Clause"
] | null | null | null | hanse_ros/hanse_sonarlocalization/src/particle_filter.cpp | iti-luebeck/HANSE2012 | fd2348823a6a51baf87cd493529f085fb22d65a7 | [
"BSD-3-Clause"
] | null | null | null | #include <algorithm>
#include "util.h"
#include "particle_filter.h"
#include <trng/mt19937.hpp>
#include <trng/normal_dist.hpp>
ParticleFilter::ParticleFilter(hanse_sonarlocalization::ParticleFilterConfig config, Params params) :
config(config),
worldMap(params.map_image, params.map_pixel_size, params.map_thre... | 33.210526 | 134 | 0.693577 | iti-luebeck |
4f80f069bca4f2900e7e1a112f4e2836fc3506a2 | 5,954 | cpp | C++ | ClientMigration/TRedirectServer/ServerMain.cpp | Fiskmans/ClientMigration | ab863986fb580b790c5918819878f86e8c5b4d6b | [
"MIT"
] | 1 | 2020-03-16T12:19:42.000Z | 2020-03-16T12:19:42.000Z | ClientMigration/TRedirectServer/ServerMain.cpp | Fiskmans/ClientMigration | ab863986fb580b790c5918819878f86e8c5b4d6b | [
"MIT"
] | null | null | null | ClientMigration/TRedirectServer/ServerMain.cpp | Fiskmans/ClientMigration | ab863986fb580b790c5918819878f86e8c5b4d6b | [
"MIT"
] | null | null | null | #include <pch.h>
#include "ServerMain.h"
#include <string>
#include <SetupMessage.h>
#include <StatusMessage.h>
#include <thread>
#include <TimeHelper.h>
#include <Random.h>
RedirectServer::RedirectServer()
{
}
RedirectServer::~RedirectServer()
{
}
#define PORT 5763
#define CLIENTPORT 5764
int CalculateBroadcast... | 21.97048 | 211 | 0.656533 | Fiskmans |
4f80f1efcf5e79d0d25cc0815ff7189e5fadff0a | 4,337 | cxx | C++ | build2/libodb-2.5.0-b.9/odb/query-dynamic.cxx | yssource/conan-libodb | e29c9867a90170372a8f7ecb218fabd2b633cb00 | [
"MIT"
] | null | null | null | build2/libodb-2.5.0-b.9/odb/query-dynamic.cxx | yssource/conan-libodb | e29c9867a90170372a8f7ecb218fabd2b633cb00 | [
"MIT"
] | null | null | null | build2/libodb-2.5.0-b.9/odb/query-dynamic.cxx | yssource/conan-libodb | e29c9867a90170372a8f7ecb218fabd2b633cb00 | [
"MIT"
] | null | null | null | // file : odb/query-dynamic.cxx
// copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#include <odb/query-dynamic.hxx>
using namespace std;
namespace odb
{
// query_param
//
query_param::
~query_param ()
{
}
// query_base
//
vo... | 21.470297 | 78 | 0.568826 | yssource |
4f818a437a8353c1bc88390138b08219d790c8d8 | 3,623 | cpp | C++ | Source/VlcMedia/Private/Player/VlcMediaSource.cpp | jeirix/UnrealEngine5VLC | f74f5dde001631b2856cece61d5f5b907ae35c3c | [
"BSD-3-Clause"
] | 1 | 2022-03-23T04:35:54.000Z | 2022-03-23T04:35:54.000Z | Source/VlcMedia/Private/Player/VlcMediaSource.cpp | jeirix/UnrealEngine5VLC | f74f5dde001631b2856cece61d5f5b907ae35c3c | [
"BSD-3-Clause"
] | null | null | null | Source/VlcMedia/Private/Player/VlcMediaSource.cpp | jeirix/UnrealEngine5VLC | f74f5dde001631b2856cece61d5f5b907ae35c3c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "VlcMediaSource.h"
#include "VlcMediaPrivate.h"
#include "Vlc.h"
/* FVlcMediaReader structors
*****************************************************************************/
FVlcMediaSource::FVlcMediaSource(FLibvlcInstance* InVlcInstan... | 19.068421 | 130 | 0.606956 | jeirix |
4f8275c4bb3f7d34dc743838782eb60aee8c8ccc | 8,993 | cpp | C++ | unittests/ADT/ArrayRefTest.cpp | AlexVlx/llvm | 08ba61dfeeac3e1eccff413870340197935e28bc | [
"Apache-2.0"
] | 938 | 2015-12-03T16:45:43.000Z | 2022-03-17T20:28:02.000Z | unittests/ADT/ArrayRefTest.cpp | AlexVlx/llvm | 08ba61dfeeac3e1eccff413870340197935e28bc | [
"Apache-2.0"
] | 127 | 2015-12-03T21:42:53.000Z | 2019-11-21T14:34:20.000Z | unittests/ADT/ArrayRefTest.cpp | AlexVlx/llvm | 08ba61dfeeac3e1eccff413870340197935e28bc | [
"Apache-2.0"
] | 280 | 2015-12-03T16:51:35.000Z | 2022-01-24T00:01:54.000Z | //===- llvm/unittest/ADT/ArrayRefTest.cpp - ArrayRef unit tests -----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 34.324427 | 80 | 0.650061 | AlexVlx |
4f82c566d5621dc806c3e47d3c1b0a7805c266fb | 544 | hpp | C++ | game_server/src/crank.hpp | CellWarsOfficial/CellWars | 40b1e956c871ee686062eba1251a9f9a43d86c2c | [
"Apache-2.0"
] | 5 | 2017-07-20T10:36:23.000Z | 2018-01-30T16:18:31.000Z | game_server/src/crank.hpp | CellWarsOfficial/CellWars | 40b1e956c871ee686062eba1251a9f9a43d86c2c | [
"Apache-2.0"
] | null | null | null | game_server/src/crank.hpp | CellWarsOfficial/CellWars | 40b1e956c871ee686062eba1251a9f9a43d86c2c | [
"Apache-2.0"
] | null | null | null | #ifndef CRANK_HPP
#define CRANK_HPP
#include <block.hpp>
#include <action.hpp>
#include <constants.hpp>
#include <bitset>
class Crank: public Action
{
public:
virtual ~Crank() = default;
virtual void crank(Block *block);
virtual void crank_for(Block *block, int generations);
virtual CELL_TYPE crank_cell(Block *block,... | 24.727273 | 62 | 0.751838 | CellWarsOfficial |
4f82d48f28516e55c1ff7c492df0fdbd4804f3fa | 1,113 | hpp | C++ | Engine/Terrain/TRMisc.hpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | Engine/Terrain/TRMisc.hpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | Engine/Terrain/TRMisc.hpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | #ifndef SE_INCL_TERRAIN_MISC_HPP
#define SE_INCL_TERRAIN_MISC_HPP
#ifdef PRAGMA_ONCE
#pragma once
#endif
struct SimpleTerrainTriangle
{
SimpleTerrainTriangle(void) {};
SimpleTerrainTriangle(FLOAT3D v0, FLOAT3D v1, FLOAT3D v2)
{
stt_avx[0] = v0;
stt_avx[1] = v1;
stt_avx[2] = v2;
}
FLOAT3D stt_avx... | 32.735294 | 88 | 0.718778 | openlastchaos |
4f848efdca12eb576e319aeca0a344c29bf2519a | 15,329 | hpp | C++ | ad_physics/generated/include/ad/physics/DurationSquared.hpp | hulk-mk/map | 261e7329afdc56d6f8cfb63285039764b2dc6361 | [
"MIT"
] | null | null | null | ad_physics/generated/include/ad/physics/DurationSquared.hpp | hulk-mk/map | 261e7329afdc56d6f8cfb63285039764b2dc6361 | [
"MIT"
] | null | null | null | ad_physics/generated/include/ad/physics/DurationSquared.hpp | hulk-mk/map | 261e7329afdc56d6f8cfb63285039764b2dc6361 | [
"MIT"
] | 1 | 2020-10-27T11:09:30.000Z | 2020-10-27T11:09:30.000Z | /*
* ----------------- BEGIN LICENSE BLOCK ---------------------------------
*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* ----------------- END LICENSE BLOCK -----------------------------------
*/
/**
* Generated file
* @file
*
* Generator Version : 11.0.0-1997
*/
#p... | 26.42931 | 118 | 0.687977 | hulk-mk |
4f84ff2b6c6528f1c18a73ceb21af11c6fabb053 | 28,189 | cpp | C++ | src/coreclr/src/vm/inlinetracking.cpp | patricksadowski/runtime | aa5b2041471d7687dbddb1d275ea8a93943c43bf | [
"MIT"
] | 2 | 2020-05-27T10:46:24.000Z | 2020-05-27T10:46:27.000Z | src/coreclr/src/vm/inlinetracking.cpp | patricksadowski/runtime | aa5b2041471d7687dbddb1d275ea8a93943c43bf | [
"MIT"
] | 1 | 2020-04-24T10:03:11.000Z | 2020-04-24T10:03:11.000Z | src/coreclr/src/vm/inlinetracking.cpp | patricksadowski/runtime | aa5b2041471d7687dbddb1d275ea8a93943c43bf | [
"MIT"
] | 1 | 2020-08-04T14:01:38.000Z | 2020-08-04T14:01:38.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// =============================================================================================
// Code for tracking... | 34.930607 | 175 | 0.670971 | patricksadowski |
4f85560d8ad56dc3a326ee07f360374566820569 | 3,928 | cpp | C++ | nano/lib/locks.cpp | Srayman/nano-node | d5fd87c1f73d8e5edac33e7969c1b3d5a04d90f4 | [
"BSD-2-Clause"
] | 3 | 2020-12-24T06:32:59.000Z | 2021-01-13T17:50:51.000Z | nano/lib/locks.cpp | Ifarukcolak/nano-node | 14454a234eaef6bd7e702ce252eebd3cf7cf3181 | [
"BSD-2-Clause"
] | null | null | null | nano/lib/locks.cpp | Ifarukcolak/nano-node | 14454a234eaef6bd7e702ce252eebd3cf7cf3181 | [
"BSD-2-Clause"
] | 1 | 2021-09-21T10:57:56.000Z | 2021-09-21T10:57:56.000Z | #include <nano/lib/locks.hpp>
#include <nano/lib/utility.hpp>
#if NANO_TIMED_LOCKS > 0
namespace
{
template <typename Mutex>
void output (const char * str, std::chrono::milliseconds time, Mutex & mutex)
{
static std::mutex cout_mutex;
auto stacktrace = nano::generate_stacktrace ();
// Guard standard out to keep the... | 19.738693 | 98 | 0.691446 | Srayman |
4f863fd5b046a7c6bb13b874cc6924a29f7280ea | 442 | cpp | C++ | template/Add.cpp | jdh8/dragonite | af727ab5a1366efea917f2cb7e9b8797fa01d952 | [
"MIT"
] | null | null | null | template/Add.cpp | jdh8/dragonite | af727ab5a1366efea917f2cb7e9b8797fa01d952 | [
"MIT"
] | null | null | null | template/Add.cpp | jdh8/dragonite | af727ab5a1366efea917f2cb7e9b8797fa01d952 | [
"MIT"
] | null | null | null | #include "common.hpp"
{% from "mod/batch.cpp" import batch -%}
{% from "mod/binary.cpp" import inner, outer -%}
{% call(name, shape) batch() -%}
{% call(x, y) outer("Add", name, shape) -%}
{% set a = numpy.random.standard_cauchy(x).astype(numpy.float32) -%}
{% set b = numpy.random.standard_cauchy(... | 31.571429 | 76 | 0.565611 | jdh8 |
4f873687501c3de37c9e4be59d4d6daa94191462 | 1,488 | cpp | C++ | src/Common/GrallocAndroid.cpp | fugu-helper/android_external_swiftshader | f74bf2ec77013b9241dc708f7f8615426c136ce6 | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/Common/GrallocAndroid.cpp | ddrmax/swiftshader-ex | 2d975b5090e778857143c09c21aa24255f41e598 | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/Common/GrallocAndroid.cpp | ddrmax/swiftshader-ex | 2d975b5090e778857143c09c21aa24255f41e598 | [
"Apache-2.0"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The SwiftShader 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 b... | 31 | 119 | 0.768817 | fugu-helper |
4f87f919289e3e309ed703ebb7a68f8dab1f85f3 | 2,110 | hpp | C++ | src/main/include/GridMaps/GridMapState.hpp | Koldar/pathfinding-utils | e1c67bbb9eb0dca9f9f748f2f929310a7ab319f8 | [
"MIT"
] | 2 | 2020-10-04T00:52:20.000Z | 2020-10-19T06:46:04.000Z | src/main/include/GridMaps/GridMapState.hpp | Koldar/pathfinding-utils | e1c67bbb9eb0dca9f9f748f2f929310a7ab319f8 | [
"MIT"
] | null | null | null | src/main/include/GridMaps/GridMapState.hpp | Koldar/pathfinding-utils | e1c67bbb9eb0dca9f9f748f2f929310a7ab319f8 | [
"MIT"
] | null | null | null | #ifndef _GRIDMAPSTATE_HEADER__
#define _GRIDMAPSTATE_HEADER__
#include "ISearchAlgorithm.hpp"
#include "ISearchState.hpp"
#include "GridBranching.hpp"
#include "GraphState.hpp"
#include "IStateSupplier.hpp"
#include "IStateExpander.hpp"
#include "IGoalChecker.hpp"
#include "xyLoc.hpp"
#include "GraphlessState.hpp"
#in... | 29.71831 | 137 | 0.664455 | Koldar |
4f8902a93982b124df08d91dbf39706c491eb85c | 64,990 | cpp | C++ | lib/AST/Builtins.cpp | gottesmm/swift | ac57b66c99f9e5f8dd023245a28447613f74d08d | [
"Apache-2.0"
] | 2 | 2016-11-03T04:30:53.000Z | 2016-12-07T08:17:10.000Z | lib/AST/Builtins.cpp | gottesmm/swift | ac57b66c99f9e5f8dd023245a28447613f74d08d | [
"Apache-2.0"
] | 1 | 2016-08-16T17:02:01.000Z | 2016-12-14T23:46:57.000Z | lib/AST/Builtins.cpp | gottesmm/swift | ac57b66c99f9e5f8dd023245a28447613f74d08d | [
"Apache-2.0"
] | null | null | null | //===--- Builtins.cpp - Swift Language Builtin ASTs -----------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 36.926136 | 104 | 0.685105 | gottesmm |
4f8a17720bd5484f6d2d522343d66104e08b199c | 228 | hpp | C++ | c++/SymbolNode.hpp | pedroreissantos/compact | 90c99b75fb86979e72d47d69dcbd7f7558b50adf | [
"BSD-3-Clause"
] | null | null | null | c++/SymbolNode.hpp | pedroreissantos/compact | 90c99b75fb86979e72d47d69dcbd7f7558b50adf | [
"BSD-3-Clause"
] | null | null | null | c++/SymbolNode.hpp | pedroreissantos/compact | 90c99b75fb86979e72d47d69dcbd7f7558b50adf | [
"BSD-3-Clause"
] | null | null | null | #ifndef _SYMBOLNODE_HH_
#define _SYMBOLNODE_HH_
#include "Symbol.hpp"
class SymbolNode : public Symbol {
int val;
public:
inline SymbolNode(int v = 0) { val = v; }
char *name();
int integer();
};
#endif /* _SYMBOL_HH_ */
| 15.2 | 42 | 0.684211 | pedroreissantos |
4f8b0cba521d3fdd4c944ad51b30b8745dfcd7fd | 33,724 | cxx | C++ | Filters/Statistics/vtkPCAStatistics.cxx | michaelchanwahyan/vtk-8.1.2 | 243225b750443f76dcb119c1bb8e72d41e505bc0 | [
"BSD-3-Clause"
] | 2 | 2017-12-08T07:50:51.000Z | 2018-07-22T19:12:56.000Z | Filters/Statistics/vtkPCAStatistics.cxx | michaelchanwahyan/vtk-8.1.2 | 243225b750443f76dcb119c1bb8e72d41e505bc0 | [
"BSD-3-Clause"
] | 1 | 2019-06-03T17:04:59.000Z | 2019-06-05T15:13:28.000Z | Filters/Statistics/vtkPCAStatistics.cxx | michaelchanwahyan/vtk-8.1.2 | 243225b750443f76dcb119c1bb8e72d41e505bc0 | [
"BSD-3-Clause"
] | 1 | 2020-07-20T06:43:49.000Z | 2020-07-20T06:43:49.000Z | #include "vtkPCAStatistics.h"
#include "vtkDoubleArray.h"
#include "vtkIdTypeArray.h"
#include "vtkInformation.h"
#include "vtkMultiBlockDataSet.h"
#include "vtkMultiCorrelativeStatisticsAssessFunctor.h"
#include "vtkObjectFactory.h"
#include "vtkSmartPointer.h"
#include "vtkStringArray.h"
#include "vtkTable.h"
#inclu... | 31.082028 | 130 | 0.561559 | michaelchanwahyan |
4f8c2a7a899054765b8968b25847d31b8cc63716 | 1,026 | hpp | C++ | src/cpp/include/nodegui/QtWidgets/QSystemTrayIcon/nsystemtrayicon.hpp | NeryHenrique/nodegui | 254b6a910928f512e57bc4bfab7dfadcd2073c84 | [
"MIT"
] | 1 | 2020-07-30T15:02:17.000Z | 2020-07-30T15:02:17.000Z | src/cpp/include/nodegui/QtWidgets/QSystemTrayIcon/nsystemtrayicon.hpp | NeryHenrique/nodegui | 254b6a910928f512e57bc4bfab7dfadcd2073c84 | [
"MIT"
] | 5 | 2021-06-28T20:44:38.000Z | 2022-02-27T11:34:26.000Z | src/cpp/include/nodegui/QtWidgets/QSystemTrayIcon/nsystemtrayicon.hpp | NeryHenrique/nodegui | 254b6a910928f512e57bc4bfab7dfadcd2073c84 | [
"MIT"
] | 1 | 2020-07-29T15:00:18.000Z | 2020-07-29T15:00:18.000Z | #pragma once
#include <QSystemTrayIcon>
#include "Extras/Export/export.h"
#include "QtCore/QObject/qobject_macro.h"
#include "core/NodeWidget/nodewidget.h"
#include "napi.h"
class DLL_EXPORT NSystemTrayIcon : public QSystemTrayIcon, public EventWidget {
Q_OBJECT
EVENTWIDGET_IMPLEMENTATIONS(QSystemTrayIcon)
publi... | 29.314286 | 79 | 0.674464 | NeryHenrique |
4f8ccd570d143f5f00f37084614dc3ccaabc4a3e | 802 | cc | C++ | drtm-dst/src/app/micro_benches/micro_rdma_sched.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | drtm-dst/src/app/micro_benches/micro_rdma_sched.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | drtm-dst/src/app/micro_benches/micro_rdma_sched.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | #include "bench_micro.h"
#include "tx_config.h"
namespace nocc {
namespace oltp {
namespace micro {
txn_result_t MicroWorker::micro_rdma_sched(yield_func_t &yield) {
int target_id = current_partition;
int num_nodes = cm_->get_num_nodes();
int target_nums = num_nodes - 1;
... | 25.870968 | 105 | 0.607232 | SJTU-IPADS |
4f8e0cf2e1d4f776728d0c7162522bf1effc6362 | 3,072 | cxx | C++ | main/xmloff/source/text/XMLChangeImportContext.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/xmloff/source/text/XMLChangeImportContext.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/xmloff/source/text/XMLChangeImportContext.cxx | 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... | 31.670103 | 70 | 0.704753 | Grosskopf |
4f8e4e4b84175f063735351a1fe07c56fa5fcbe5 | 16,704 | cc | C++ | net/quic/quic_http_stream.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | 5 | 2019-05-24T01:25:34.000Z | 2020-04-06T05:07:01.000Z | net/quic/quic_http_stream.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | null | null | null | net/quic/quic_http_stream.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | 5 | 2016-12-23T04:21:10.000Z | 2020-06-18T13:52:33.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 "net/quic/quic_http_stream.h"
#include "base/callback_helpers.h"
#include "base/metrics/histogram.h"
#include "base/strings/stringprintf.h"
... | 29.512367 | 80 | 0.699473 | domenic |
4f8e4f5908f3f185f2083f12636d06deadeec8ed | 8,331 | cc | C++ | headless/public/domains/types_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | headless/public/domains/types_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | headless/public/domains/types_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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/json/json_reader.h"
#include "base/json/json_string_value_serializer.h"
#include "headless/public/devtools/domains/accessibility.h"
#includ... | 33.457831 | 79 | 0.700756 | metux |
4f8fce46adcef976365d83a5a60359ac879cc6af | 341 | cpp | C++ | src/core.initialization/Initializable.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | src/core.initialization/Initializable.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | src/core.initialization/Initializable.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | #include "Initializable.h"
using namespace nspace;
bool Initializable::initialize(){
if(_initialized){
return true;
}
_initialized = initializeObject();
if(_initialized)onObjectInitialized();
return _initialized;
};
bool Initializable::cleanup(){
cleanupObject();
_initialized = false... | 18.944444 | 41 | 0.68915 | toeb |
4f8fdc3cfc743dc651ea4891e5f9b6887151b65e | 11,867 | cc | C++ | src/yb/rocksdb/table/merger.cc | pritamdamania87/yugabyte-db | 70355f6c9248356e84cf21588013ea477fd04a5d | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2021-01-15T00:24:31.000Z | 2021-01-15T00:24:31.000Z | src/yb/rocksdb/table/merger.cc | pritamdamania87/yugabyte-db | 70355f6c9248356e84cf21588013ea477fd04a5d | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/yb/rocksdb/table/merger.cc | pritamdamania87/yugabyte-db | 70355f6c9248356e84cf21588013ea477fd04a5d | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// The following ... | 29.44665 | 100 | 0.636302 | pritamdamania87 |
4f8ffb796eb5c1d7892853dd57fbf8b40a21adbb | 139 | cpp | C++ | src/screen/comm.cpp | SanderRonde/arduino-board-screen-driver | 048848314457511495c483b0e2eb89637ef12a56 | [
"Unlicense"
] | null | null | null | src/screen/comm.cpp | SanderRonde/arduino-board-screen-driver | 048848314457511495c483b0e2eb89637ef12a56 | [
"Unlicense"
] | null | null | null | src/screen/comm.cpp | SanderRonde/arduino-board-screen-driver | 048848314457511495c483b0e2eb89637ef12a56 | [
"Unlicense"
] | null | null | null | #include <global.h>
namespace Screen {
namespace ScreenComm {
void handle_message(String data) {
Dim::handle_message(data);
}
}
} | 15.444444 | 36 | 0.697842 | SanderRonde |
4f91c8e832a0b4364c360d0c57f7f065ff4ff6ba | 974 | cpp | C++ | dmengine/core/private/dmliveobject_p.cpp | damao1222/dmengine | 09ab62c043a520f8f6b15eb8790c7ee56c006931 | [
"Apache-2.0"
] | null | null | null | dmengine/core/private/dmliveobject_p.cpp | damao1222/dmengine | 09ab62c043a520f8f6b15eb8790c7ee56c006931 | [
"Apache-2.0"
] | null | null | null | dmengine/core/private/dmliveobject_p.cpp | damao1222/dmengine | 09ab62c043a520f8f6b15eb8790c7ee56c006931 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2012-2014 Xiongfa Li, <damao1222@live.com>
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
... | 24.35 | 75 | 0.743326 | damao1222 |
4f922825623d68bf502a8726890b3376a7b1e5ad | 3,316 | cc | C++ | src/fcst/source/layers/homogeneous_CL.cc | OpenFcst/OpenFcst0.2 | 770a0d9b145cd39c3a065b653a53b5082dc5d85c | [
"MIT"
] | 16 | 2015-05-08T18:19:39.000Z | 2021-05-21T17:22:47.000Z | src/fcst/source/layers/homogeneous_CL.cc | OpenFcst/OpenFcst0.2 | 770a0d9b145cd39c3a065b653a53b5082dc5d85c | [
"MIT"
] | 3 | 2016-09-05T10:17:36.000Z | 2016-12-11T18:23:06.000Z | src/fcst/source/layers/homogeneous_CL.cc | OpenFcst/OpenFcst0.2 | 770a0d9b145cd39c3a065b653a53b5082dc5d85c | [
"MIT"
] | 1 | 2021-04-15T16:45:47.000Z | 2021-04-15T16:45:47.000Z | //---------------------------------------------------------------------------
//
// FCST: Fuel Cell Simulation Toolbox
//
// Copyright (C) 2006-13 by Energy Systems Design Laboratory, University of Alberta
//
// This software is distributed under the MIT License.
// For more information, see the README file... | 37.681818 | 123 | 0.503619 | OpenFcst |
4f936ae6cc3e9b981995287818a858311c567f1f | 2,799 | cpp | C++ | folly/experimental/test/EventCountTest.cpp | lucyge/folly | d107498e71ab32e103c4fa7ca58ccc32990208b8 | [
"Apache-2.0"
] | 1 | 2020-02-23T14:14:53.000Z | 2020-02-23T14:14:53.000Z | folly/experimental/test/EventCountTest.cpp | lucyge/folly | d107498e71ab32e103c4fa7ca58ccc32990208b8 | [
"Apache-2.0"
] | 3 | 2016-07-19T00:19:58.000Z | 2019-07-19T23:33:10.000Z | folly/experimental/test/EventCountTest.cpp | cedexis/folly | 284a4bf64203f8cc81918e0a91d726d45b3ee2ed | [
"Apache-2.0"
] | 3 | 2019-06-24T12:03:46.000Z | 2020-10-17T03:56:39.000Z | /*
* Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 22.03937 | 75 | 0.604502 | lucyge |
4f93d422c57cdc708062a3fddc26bc7560ccd52c | 762,726 | hpp | C++ | runtime.Kokkos.NET/Analyzes/BesselMethods.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | runtime.Kokkos.NET/Analyzes/BesselMethods.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | runtime.Kokkos.NET/Analyzes/BesselMethods.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | #pragma once
#include <runtime.Kokkos/ViewTypes.hpp>
#include <runtime.Kokkos/Extensions.hpp>
#include <Complex.hpp>
//template<typename DataType, class ExecutionSpace>
//using KokkosView = Kokkos::View<float*, typename ExecutionSpace::array_layout, ExecutionSpace>;
static int32 c__1 = 1;
static System::Comple... | 36.627257 | 258 | 0.427556 | trmcnealy |
4f94572e05ac613cb6e4e71c3f6bf6430e54f433 | 1,242 | cpp | C++ | src/stingray_devices/src/UpDownServer.cpp | hidronautics/stingray | 1683e0147f4f16849f3b7fefd00d2288d5ddd26a | [
"MIT"
] | 2 | 2019-07-12T01:37:38.000Z | 2020-10-16T19:54:16.000Z | src/stingray_devices/src/UpDownServer.cpp | hidronautics/stingray | 1683e0147f4f16849f3b7fefd00d2288d5ddd26a | [
"MIT"
] | 3 | 2020-10-01T22:34:35.000Z | 2020-11-06T19:35:04.000Z | src/stingray_devices/src/UpDownServer.cpp | hidronautics/stingray | 1683e0147f4f16849f3b7fefd00d2288d5ddd26a | [
"MIT"
] | 3 | 2019-04-07T19:00:09.000Z | 2019-07-12T01:37:40.000Z | #include "../include/UpDownServer.h"
#include <stingray_devices_msgs/SetDeviceAction.h>
UpDownServer::UpDownServer(const std::string& actionName, const std::string& deviceActionService) :
deviceActionService(deviceActionService),
actionServer(nodeHandle, actionName, boost::bind(&UpDownServer::goalCall... | 35.485714 | 105 | 0.738325 | hidronautics |
4f946058bbf45b0017f8e4c81850e28ab9b21159 | 9,459 | cpp | C++ | libs/fastflow/tests/perf_test_alloc3.cpp | GMAP/NPB-CPP | 2f77a1bce83c4efda56c4bafb555bcf9abe85dd2 | [
"MIT"
] | 11 | 2020-12-16T22:44:08.000Z | 2022-03-30T00:52:58.000Z | libs/fastflow/tests/perf_test_alloc3.cpp | GMAP/NPB-CPP | 2f77a1bce83c4efda56c4bafb555bcf9abe85dd2 | [
"MIT"
] | 1 | 2021-04-01T09:07:52.000Z | 2021-07-21T22:10:07.000Z | libs/fastflow/tests/perf_test_alloc3.cpp | GMAP/NPB-CPP | 2f77a1bce83c4efda56c4bafb555bcf9abe85dd2 | [
"MIT"
] | 3 | 2020-12-21T18:47:43.000Z | 2021-11-20T19:48:45.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* ***************************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by ... | 31.741611 | 147 | 0.583148 | GMAP |
4f9559843067ede1a3b32ca819d485ada6c6a072 | 184 | cpp | C++ | Chapter12/Source/Chapter12/Chapter12.cpp | xiaomozi/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook | b17ea5de947f018b5c34f1621ce2785d6236c3a4 | [
"MIT"
] | 115 | 2016-10-27T15:46:35.000Z | 2022-03-28T02:00:31.000Z | Chapter12/Source/Chapter12/Chapter12.cpp | xiaomozi/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook | b17ea5de947f018b5c34f1621ce2785d6236c3a4 | [
"MIT"
] | 3 | 2016-11-06T06:45:42.000Z | 2021-03-20T01:06:39.000Z | Chapter12/Source/Chapter12/Chapter12.cpp | xiaomozi/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook | b17ea5de947f018b5c34f1621ce2785d6236c3a4 | [
"MIT"
] | 60 | 2016-12-08T18:16:43.000Z | 2022-02-26T05:44:57.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "Chapter12.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Chapter12, "Chapter12" );
| 36.8 | 80 | 0.809783 | xiaomozi |
4f95a67664a448eb0cd5a40c135cae3369e203bc | 5,009 | inl | C++ | src/core/CPU.inl | Senryoku/NESen | 7573eddc55da0e140cf01e609b1041b2c6e4e853 | [
"MIT"
] | 1 | 2015-10-16T09:15:37.000Z | 2015-10-16T09:15:37.000Z | src/core/CPU.inl | Senryoku/NESen | 7573eddc55da0e140cf01e609b1041b2c6e4e853 | [
"MIT"
] | null | null | null | src/core/CPU.inl | Senryoku/NESen | 7573eddc55da0e140cf01e609b1041b2c6e4e853 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////
// CPU Inline functions
word_t CPU::read(addr_t addr)
{
if(addr < RAMSize)
return _ram[addr];
else if(addr < 0x2000) // RAM mirrors
return _ram[addr % RAMSize];
else if(addr < 0x2008) // PPU registers
return ppu->... | 21.778261 | 96 | 0.597924 | Senryoku |
4f96e70aa9041c16e9de823d8fa07141e39b3023 | 26,870 | cpp | C++ | interface/src/ui/overlays/Web3DOverlay.cpp | cain-kilgore/hifi | 51bf3c1466f4e7fe783a81baae4dd96912560c92 | [
"Apache-2.0"
] | null | null | null | interface/src/ui/overlays/Web3DOverlay.cpp | cain-kilgore/hifi | 51bf3c1466f4e7fe783a81baae4dd96912560c92 | [
"Apache-2.0"
] | null | null | null | interface/src/ui/overlays/Web3DOverlay.cpp | cain-kilgore/hifi | 51bf3c1466f4e7fe783a81baae4dd96912560c92 | [
"Apache-2.0"
] | null | null | null | //
// Web3DOverlay.cpp
//
// Created by Clement on 7/1/14.
// Modified and renamed by Zander Otavka on 8/4/15
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "Web3DOv... | 43.833605 | 159 | 0.700595 | cain-kilgore |
4f99e8788a3aeb592ed260fa26f02b977127bc88 | 619 | cpp | C++ | prova tema3.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | prova tema3.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | prova tema3.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<math.h>
main()
{
float peso=0, altura=0, IMC=0, soma=0, soma2;
printf("Digite seu peso[em kg]: ");
scanf("%f", &peso);
while(peso>0){
soma = peso;
printf("Digite sua altura: ");
scanf("%f", &altura);
soma = pow(altura,2);
IMC = peso/soma;
if(IMC<18.5){
pr... | 16.289474 | 46 | 0.546042 | RafelNunes |
4f9af4d336bad7f13dbac9b1c4b3e64e75c82db5 | 1,127 | cpp | C++ | solutions/cses/Sorting and Searching/2values.cpp | TanishT/Competitive-Programming | b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0 | [
"MIT"
] | 2 | 2021-02-19T18:15:03.000Z | 2021-03-27T20:26:55.000Z | solutions/cses/Sorting and Searching/2values.cpp | TanishT/Comp-Programming | b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0 | [
"MIT"
] | 8 | 2021-01-17T16:39:08.000Z | 2021-03-22T01:27:15.000Z | solutions/cses/Sorting and Searching/2values.cpp | anaconda121/Competitive-Programming | b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(){
int len, query;
cin >> len >> query;
vector<int> nums;
vector<int> clone;
for (int i =0; i < len; i++) {
int a;
cin >> a;
nums.push_back(a);
clone.push_back(a);
}
sort(begin(nums),end(nums));
/... | 27.487805 | 93 | 0.50488 | TanishT |
4f9af74ba1ae24620c1716d62420d5e4e552564a | 3,609 | cc | C++ | FWCore/Skeletons/scripts/mkTemplates/TSelector/TSelector.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | FWCore/Skeletons/scripts/mkTemplates/TSelector/TSelector.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 8 | 2020-03-20T23:18:36.000Z | 2020-05-27T11:00:06.000Z | FWCore/Skeletons/scripts/mkTemplates/TSelector/TSelector.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | // -*- C++ -*-
//
// Package: __subsys__/__pkgname__
// Class: __class__
//
/*
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Author: __author__
// Created: __date__
//
//
// system include files
#include <memory>
#include <iostream>
#inc... | 27.761538 | 98 | 0.610418 | NTrevisani |
4f9b64c95a7ad0282b731837dcb0f65f699b4ef2 | 8,308 | hpp | C++ | build-time-parser/core_tree.hpp | daher-alfawares/build-time-parser | eaf8c8a446a7a91380a5fce4b006a2addd43d974 | [
"Apache-2.0"
] | null | null | null | build-time-parser/core_tree.hpp | daher-alfawares/build-time-parser | eaf8c8a446a7a91380a5fce4b006a2addd43d974 | [
"Apache-2.0"
] | null | null | null | build-time-parser/core_tree.hpp | daher-alfawares/build-time-parser | eaf8c8a446a7a91380a5fce4b006a2addd43d974 | [
"Apache-2.0"
] | null | null | null | //C++
//////////////////////////////////////////////////////////////////////////////
// //
// Filename : ASCII_Table.hpp //
// Created by : Daher Alfawares ... | 29.884892 | 176 | 0.455344 | daher-alfawares |
4f9c36ed913dcbbcbb84e34e528a4264afd9b0b9 | 14,135 | cpp | C++ | native/src/snappyclient/cpp/thrift/snappydata_types.cpp | xyxiaoyou/snappy-store | 013ff282f888878cc99600e260ec1cde60112304 | [
"Apache-2.0"
] | null | null | null | native/src/snappyclient/cpp/thrift/snappydata_types.cpp | xyxiaoyou/snappy-store | 013ff282f888878cc99600e260ec1cde60112304 | [
"Apache-2.0"
] | null | null | null | native/src/snappyclient/cpp/thrift/snappydata_types.cpp | xyxiaoyou/snappy-store | 013ff282f888878cc99600e260ec1cde60112304 | [
"Apache-2.0"
] | null | null | null | /**
* Autogenerated by Thrift Compiler (0.10.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include <iosfwd>
#include <thrift/Thrift.h>
#include <thrift/TApplicationException.h>
#include <thrift/protocol/TProtocol.h>
#include <thrift/transport/TTransport.h>
#include <t... | 33.025701 | 237 | 0.801769 | xyxiaoyou |
4f9ebfd2a7c62b1714faf78d1eef9f22d7e4549f | 414 | cpp | C++ | AndGate.cpp | sgeisler/LogSim | c2120430117a569a1d108f99ad57422bb949d6d2 | [
"MIT"
] | null | null | null | AndGate.cpp | sgeisler/LogSim | c2120430117a569a1d108f99ad57422bb949d6d2 | [
"MIT"
] | null | null | null | AndGate.cpp | sgeisler/LogSim | c2120430117a569a1d108f99ad57422bb949d6d2 | [
"MIT"
] | null | null | null | #include "AndGate.h"
AndGate::AndGate()
{
//ctor
}
AndGate::~AndGate()
{
//dtor
}
string AndGate::getName()
{
return "AND";
}
size_t AndGate::getInputCount()
{
return 2;
}
bool AndGate::getOutput(size_t pin)
{
switch(pin)
{
case 0:
return inputs[0] && inputs[1];
break;
... | 10.615385 | 38 | 0.562802 | sgeisler |
4f9ee885635e29323b8a7e4a1270966eedd05fbe | 470 | cpp | C++ | circuitslot.cpp | Ignotus/circuitmod | 6e2b0c949df9c40e77d56f5fc0e890a54e1c7a17 | [
"BSD-2-Clause"
] | null | null | null | circuitslot.cpp | Ignotus/circuitmod | 6e2b0c949df9c40e77d56f5fc0e890a54e1c7a17 | [
"BSD-2-Clause"
] | null | null | null | circuitslot.cpp | Ignotus/circuitmod | 6e2b0c949df9c40e77d56f5fc0e890a54e1c7a17 | [
"BSD-2-Clause"
] | null | null | null | #include "circuitslot.h"
#include "icircuit.h"
CircuitSlot::CircuitSlot(ICircuit *receiver, const QString& input)
: m_receiver(receiver)
, m_input(input)
{
}
void CircuitSlot::operator()(bool value)
{
m_receiver->setSignal(m_input, value);
}
bool CircuitSlot::operator==(const CircuitSlot& other) c... | 20.434783 | 70 | 0.702128 | Ignotus |
4fa0d2e502a73eb6acb82ef6cf154c64fe234bf7 | 7,055 | hh | C++ | app/demo-loop/LDemoRun.i.hh | tmdelellis/celeritas | 5252bcb0659892ae9082ca2b6716e3c84e18004b | [
"Apache-2.0",
"MIT"
] | null | null | null | app/demo-loop/LDemoRun.i.hh | tmdelellis/celeritas | 5252bcb0659892ae9082ca2b6716e3c84e18004b | [
"Apache-2.0",
"MIT"
] | null | null | null | app/demo-loop/LDemoRun.i.hh | tmdelellis/celeritas | 5252bcb0659892ae9082ca2b6716e3c84e18004b | [
"Apache-2.0",
"MIT"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
// Copyright 2021 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... | 34.925743 | 79 | 0.610489 | tmdelellis |
4fa0f6f65d05fef23d30d652a335ec60e0206b99 | 2,948 | cpp | C++ | liupeng/src/main/java/liupeng/Ch2_HDFS/liveMedia/BasicUDPSource.cpp | jayfans3/example | 6982e33d760dd8e4d94de40c81ae733434bf3f1b | [
"BSD-2-Clause"
] | null | null | null | liupeng/src/main/java/liupeng/Ch2_HDFS/liveMedia/BasicUDPSource.cpp | jayfans3/example | 6982e33d760dd8e4d94de40c81ae733434bf3f1b | [
"BSD-2-Clause"
] | null | null | null | liupeng/src/main/java/liupeng/Ch2_HDFS/liveMedia/BasicUDPSource.cpp | jayfans3/example | 6982e33d760dd8e4d94de40c81ae733434bf3f1b | [
"BSD-2-Clause"
] | null | null | null | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | 39.837838 | 109 | 0.756784 | jayfans3 |
4fa234e07691200e669d988a3d9d903daea69479 | 8,624 | cpp | C++ | tests/pso_test.cpp | walragatver/ensmallen | 7c37b614e35bd1e8f2131d5ee631013493be53bf | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | tests/pso_test.cpp | walragatver/ensmallen | 7c37b614e35bd1e8f2131d5ee631013493be53bf | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | tests/pso_test.cpp | walragatver/ensmallen | 7c37b614e35bd1e8f2131d5ee631013493be53bf | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /**
* @file pso_test.cpp
* @author Suryoday Basak
* @author Chintan Soni
*
* Test file for PSO optimizer.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If no... | 26.617284 | 78 | 0.6875 | walragatver |
4fa36872df6baa3ecd995b8a43389684e34bcd8f | 3,765 | cc | C++ | src/connectivity/bluetooth/core/bt-host/sco/sco_connection_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/connectivity/bluetooth/core/bt-host/sco/sco_connection_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 5 | 2019-12-04T15:13:37.000Z | 2020-02-19T08:11:38.000Z | src/connectivity/bluetooth/core/bt-host/sco/sco_connection_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sco_connection.h"
#include <gtest/gtest.h>
#include "lib/gtest/test_loop_fixture.h"
#include "src/connectivity/bluetooth/core/bt-host/hci/fake_... | 28.740458 | 97 | 0.726162 | wwjiang007 |
4fa461fad38e54f11567bd1adeb0c54ff6e448bf | 1,187 | cpp | C++ | code/framework/src/integrations/server/networking/engine.cpp | MafiaHub/Framework | 9514ef2a9ae8e95e100e415568b683d46e1ba709 | [
"OpenSSL"
] | 18 | 2021-09-17T16:41:14.000Z | 2022-02-01T15:22:20.000Z | code/framework/src/integrations/server/networking/engine.cpp | MafiaHub/Framework | 9514ef2a9ae8e95e100e415568b683d46e1ba709 | [
"OpenSSL"
] | 36 | 2021-09-21T10:22:16.000Z | 2022-01-22T10:25:11.000Z | code/framework/src/integrations/server/networking/engine.cpp | MafiaHub/Framework | 9514ef2a9ae8e95e100e415568b683d46e1ba709 | [
"OpenSSL"
] | 6 | 2021-09-26T11:06:32.000Z | 2022-01-21T15:07:05.000Z | /*
* MafiaHub OSS license
* Copyright (c) 2022, MafiaHub. All rights reserved.
*
* This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework.
* See LICENSE file in the source repository for information regarding licensing.
*/
#include "engine.h"
#include <logging/logger.h>
namespace Framew... | 29.675 | 131 | 0.648694 | MafiaHub |
4fa5063609645570c06ba72ad9bd1686ece70ae8 | 5,540 | cc | C++ | howtos/custom_animation_importer.cc | m0ppers/ozz-animation | f35614e9a3351f977a04ab3565e952de0958747f | [
"MIT"
] | null | null | null | howtos/custom_animation_importer.cc | m0ppers/ozz-animation | f35614e9a3351f977a04ab3565e952de0958747f | [
"MIT"
] | null | null | null | howtos/custom_animation_importer.cc | m0ppers/ozz-animation | f35614e9a3351f977a04ab3565e952de0958747f | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------//
// //
// ozz-animation is hosted at http://github.com/guillaumeblanc/ozz-animation //
// and distributed under the MIT License (MIT). ... | 45.785124 | 80 | 0.565884 | m0ppers |
4fa685fd477cf664517c5d8408e0281b0357f454 | 1,029 | cpp | C++ | BusinessCardVCard/BusinessCardVCard.cpp | jgamez118/SPRING2019-ITSE1307 | 63cb213e2ebd2888fc4f5e53b2037966fb55137a | [
"MIT"
] | null | null | null | BusinessCardVCard/BusinessCardVCard.cpp | jgamez118/SPRING2019-ITSE1307 | 63cb213e2ebd2888fc4f5e53b2037966fb55137a | [
"MIT"
] | null | null | null | BusinessCardVCard/BusinessCardVCard.cpp | jgamez118/SPRING2019-ITSE1307 | 63cb213e2ebd2888fc4f5e53b2037966fb55137a | [
"MIT"
] | null | null | null | // BusinessCardVCard.cpp : This file contains the 'main' function. Program execution begins and ends there.
/*
Jonathan Gamez
ITSE-1307-002
2/20/19
*/
// We have to include fstream
#include "pch.h"
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
// Use ofstream to output files... | 27.078947 | 108 | 0.669582 | jgamez118 |
4fa6aa481012225f96a47cbc873551c6c972d10b | 933 | cpp | C++ | src/util/io.cpp | gitter-badger/PeriDEM | 57c6db80ded86dba12bc8a9d731da439ce3d3947 | [
"BSL-1.0"
] | 22 | 2021-03-07T18:07:35.000Z | 2022-01-13T23:12:18.000Z | src/util/io.cpp | gitter-badger/PeriDEM | 57c6db80ded86dba12bc8a9d731da439ce3d3947 | [
"BSL-1.0"
] | 6 | 2021-04-09T18:33:53.000Z | 2022-01-02T09:31:03.000Z | src/util/io.cpp | gitter-badger/PeriDEM | 57c6db80ded86dba12bc8a9d731da439ce3d3947 | [
"BSL-1.0"
] | 5 | 2021-04-08T21:42:44.000Z | 2021-06-06T12:11:39.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2021 Prashant K. Jha
//
// 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)
// ////////////////////////////////////////... | 24.552632 | 83 | 0.55627 | gitter-badger |
4facb4c7facdf15d2433eccdbde2a34dc067f52f | 18,874 | cpp | C++ | toonz/sources/toonz/matchlinecommand.cpp | areckx/opentoonz | a86fd8f80a1a07f97a8d230fda44fd1d6a7de576 | [
"BSD-3-Clause"
] | 1 | 2021-08-07T00:16:54.000Z | 2021-08-07T00:16:54.000Z | toonz/sources/toonz/matchlinecommand.cpp | LibrePhone/opentoonz | cb95a29db4c47ab1f36a6e85a039c4c9c901f88a | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonz/matchlinecommand.cpp | LibrePhone/opentoonz | cb95a29db4c47ab1f36a6e85a039c4c9c901f88a | [
"BSD-3-Clause"
] | 1 | 2021-08-07T00:16:58.000Z | 2021-08-07T00:16:58.000Z |
// TnzCore includes
#include "tsystem.h"
#include "tundo.h"
#include "tpalette.h"
// TnzLib includes
#include "toonz/toonzscene.h"
#include "toonz/txshcell.h"
#include "toonz/txshsimplelevel.h"
#include "toonz/levelset.h"
#include "toonz/hook.h"
#include "toonz/levelproperties.h"
#include "toonz/txshlevelhandle.h"
#... | 31.352159 | 107 | 0.576984 | areckx |
4fb0a508ceaf3115b96aadcfee576b06cfbd181e | 1,167 | hpp | C++ | test-suite/generated-src/jni/NativeCppException.hpp | JrGoodle/djinni | 4f3aa6971b2b539cfadec4df2243a268651c4de3 | [
"Apache-2.0"
] | 2,691 | 2015-01-01T20:53:38.000Z | 2022-03-30T10:37:58.000Z | test-suite/generated-src/jni/NativeCppException.hpp | JrGoodle/djinni | 4f3aa6971b2b539cfadec4df2243a268651c4de3 | [
"Apache-2.0"
] | 398 | 2015-01-03T22:39:19.000Z | 2020-03-25T23:37:19.000Z | test-suite/generated-src/jni/NativeCppException.hpp | JrGoodle/djinni | 4f3aa6971b2b539cfadec4df2243a268651c4de3 | [
"Apache-2.0"
] | 516 | 2015-01-02T22:24:24.000Z | 2022-02-03T14:31:10.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from exception.djinni
#pragma once
#include "cpp_exception.hpp"
#include "djinni_support.hpp"
namespace djinni_generated {
class NativeCppException final : ::djinni::JniInterface<::testsuite::CppException, NativeCppException> {
public:
usin... | 35.363636 | 173 | 0.736075 | JrGoodle |
4fb0b222e37c51c1853ea172c5e4755857ebbc54 | 6,965 | cpp | C++ | torch_glow/src/GlowFuser.cpp | dreamingleo/glow | 8f9649bf1e1244692f2e14bdf57720f683d82618 | [
"Apache-2.0"
] | null | null | null | torch_glow/src/GlowFuser.cpp | dreamingleo/glow | 8f9649bf1e1244692f2e14bdf57720f683d82618 | [
"Apache-2.0"
] | null | null | null | torch_glow/src/GlowFuser.cpp | dreamingleo/glow | 8f9649bf1e1244692f2e14bdf57720f683d82618 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) Glow Contributors. See CONTRIBUTORS file.
*
* 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 b... | 36.465969 | 80 | 0.619383 | dreamingleo |
4fb0da5e8bb03831f1b9068d9ef1feeaebbc61f2 | 2,857 | cpp | C++ | be/test/test_util/array_utils.cpp | Wahno/incubator-doris | 3e024929e741d0bef48d40e59d6d2833b8d90be1 | [
"Apache-2.0"
] | 2 | 2021-12-20T02:56:52.000Z | 2021-12-28T02:51:09.000Z | be/test/test_util/array_utils.cpp | biohazard4321/incubator-doris | f90a1a1919b46fb46ba89f054dce4cd2c2e5439c | [
"Apache-2.0"
] | null | null | null | be/test/test_util/array_utils.cpp | biohazard4321/incubator-doris | f90a1a1919b46fb46ba89f054dce4cd2c2e5439c | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 39.136986 | 95 | 0.698985 | Wahno |
4fb15d392e82d584e89c654f2a962027b6d76402 | 7,272 | cc | C++ | src/developer/forensics/last_reboot/tests/main_service_unittest.cc | csrpi/fuchsia | 2f015594dcb4c13aa51eee305ad561078f1f9b7f | [
"BSD-2-Clause"
] | 3 | 2021-09-02T07:21:06.000Z | 2022-03-12T03:20:10.000Z | src/developer/forensics/last_reboot/tests/main_service_unittest.cc | csrpi/fuchsia | 2f015594dcb4c13aa51eee305ad561078f1f9b7f | [
"BSD-2-Clause"
] | null | null | null | src/developer/forensics/last_reboot/tests/main_service_unittest.cc | csrpi/fuchsia | 2f015594dcb4c13aa51eee305ad561078f1f9b7f | [
"BSD-2-Clause"
] | 2 | 2022-02-25T12:22:49.000Z | 2022-03-12T03:20:10.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/forensics/last_reboot/main_service.h"
#include <lib/syslog/cpp/macros.h>
#include <memory>
#include <gmock/gmock.h>
#include <gt... | 40.4 | 96 | 0.632288 | csrpi |
4fb32df1a76ee57e5e0db852d707791dc9015c47 | 10,496 | cpp | C++ | Chapter16-Policy-Based-Design/11_pack.cpp | shekerkamma/Hands-On-Design-Patterns-with-CPP | 5f6aa05ac44491a92fef6e38179d1bd3c8e39347 | [
"MIT"
] | 1 | 2020-11-23T21:57:24.000Z | 2020-11-23T21:57:24.000Z | Chapter16-Policy-Based-Design/11_pack.cpp | shekerkamma/Hands-On-Design-Patterns-with-CPP | 5f6aa05ac44491a92fef6e38179d1bd3c8e39347 | [
"MIT"
] | null | null | null | Chapter16-Policy-Based-Design/11_pack.cpp | shekerkamma/Hands-On-Design-Patterns-with-CPP | 5f6aa05ac44491a92fef6e38179d1bd3c8e39347 | [
"MIT"
] | 1 | 2022-01-21T23:14:24.000Z | 2022-01-21T23:14:24.000Z | // Variadic template policies
#include <cstdlib>
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
template <typename T, typename V>
struct ComparableSelf {
friend bool operator==(V lhs, V rhs) { return lhs.get() == rhs.get(); }
friend bool operator!=(V lhs, V rhs) { return lhs.get() != rhs... | 25.050119 | 121 | 0.403106 | shekerkamma |
4fb34faae43a9abf5c51ddeaae3e3ea6f65b80a9 | 3,784 | cpp | C++ | Programming_Challenges_Book/02_Data_Structures/10205_Stack_Em_Up/10205.cpp | Zubieta/CPP | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 8 | 2017-03-02T07:56:45.000Z | 2021-08-07T20:20:19.000Z | Programming_Challenges_Book/02_Data_Structures/10205_Stack_Em_Up/10205.cpp | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | null | null | null | Programming_Challenges_Book/02_Data_Structures/10205_Stack_Em_Up/10205.cpp | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 1 | 2021-08-07T20:20:20.000Z | 2021-08-07T20:20:20.000Z | /*Santiago Zubieta*/
#include <iostream>
#include <numeric>
#include <fstream>
#include <climits>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <queue>
#include <list>
#include <map>
#include <set>
#include <stack>
#include <deque>
#include <vector>
#include <string>
#include <cstdlib>
#include <casser... | 26.461538 | 79 | 0.539641 | Zubieta |
4fb52cd6d99b75bed9b62f0cbcbf86e3ba3598bc | 2,433 | cc | C++ | 3rdparty/pytorch/caffe2/predictor/predictor_utils.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | 1 | 2020-01-10T02:56:03.000Z | 2020-01-10T02:56:03.000Z | 3rdparty/pytorch/caffe2/predictor/predictor_utils.cc | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | 1 | 2019-07-22T09:48:46.000Z | 2019-07-22T09:48:46.000Z | pytorch/caffe2/predictor/predictor_utils.cc | raghavnauhria/whatmt | c20483a437c82936cb0fb8080925e37b9c4bba87 | [
"MIT"
] | null | null | null | #include "caffe2/predictor/predictor_utils.h"
#include "caffe2/core/blob.h"
#include "caffe2/core/logging.h"
#include "caffe2/proto/caffe2_pb.h"
#include "caffe2/proto/predictor_consts.pb.h"
#include "caffe2/utils/proto_utils.h"
namespace caffe2 {
namespace predictor_utils {
CAFFE2_API const NetDef& getNet(
cons... | 29.313253 | 79 | 0.680641 | WoodoLee |
4fb536b7b6b3513fb7a20e3524c13072b817edc7 | 1,748 | hpp | C++ | stan/math/prim/fun/sinh.hpp | HaoZeke/math | fdf7f70dceed60f3b3f93137c6ac123a457b80a3 | [
"BSD-3-Clause"
] | 1 | 2020-05-18T13:10:50.000Z | 2020-05-18T13:10:50.000Z | stan/math/prim/fun/sinh.hpp | HaoZeke/math | fdf7f70dceed60f3b3f93137c6ac123a457b80a3 | [
"BSD-3-Clause"
] | 2 | 2019-07-23T12:45:30.000Z | 2020-05-01T20:43:03.000Z | stan/math/prim/fun/sinh.hpp | SteveBronder/math | 3f21445458866897842878f65941c6bcb90641c2 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_FUN_SINH_HPP
#define STAN_MATH_PRIM_FUN_SINH_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <cmath>
#include <complex>
namespace stan {
namespace math {
/**
* Structure to wrap sinh() so that it can be vectorized.
*
* @tparam T type of argument
* @p... | 23.945205 | 77 | 0.695652 | HaoZeke |
4fb719aa0fd8d0fa7e128f7b32d682039dbb6352 | 7,155 | cc | C++ | src/yb/gutil/strings/stringpiece.cc | bllewell/yugabyte-db | b757f8d8c0c10854754a17f63db007a0874eaf1f | [
"Apache-2.0",
"CC0-1.0"
] | 4 | 2019-07-19T12:55:40.000Z | 2021-03-25T15:59:09.000Z | src/yb/gutil/strings/stringpiece.cc | bllewell/yugabyte-db | b757f8d8c0c10854754a17f63db007a0874eaf1f | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2021-12-01T13:58:16.000Z | 2021-12-01T13:58:16.000Z | src/yb/gutil/strings/stringpiece.cc | bllewell/yugabyte-db | b757f8d8c0c10854754a17f63db007a0874eaf1f | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2021-08-23T10:06:40.000Z | 2021-08-23T10:06:40.000Z | // Copyright 2004 and onwards Google Inc.
//
// The following only applies to changes made to this file as part of YugaByte development.
//
// Portions Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. ... | 29.566116 | 100 | 0.661635 | bllewell |
4fba518be24ecce0257377d7484b45362b517e9a | 2,547 | cc | C++ | io/example/zero-source1/zero-source1.cc | diegows/wanproxy | c0ad933f7ca5ba44bafb7f44f25c4e720375ff14 | [
"BSD-2-Clause"
] | 3 | 2015-04-27T06:20:12.000Z | 2019-03-08T11:41:39.000Z | io/example/zero-source1/zero-source1.cc | diegows/wanproxy | c0ad933f7ca5ba44bafb7f44f25c4e720375ff14 | [
"BSD-2-Clause"
] | 1 | 2015-02-13T22:00:57.000Z | 2015-02-13T22:00:57.000Z | io/example/zero-source1/zero-source1.cc | diegows/wanproxy | c0ad933f7ca5ba44bafb7f44f25c4e720375ff14 | [
"BSD-2-Clause"
] | 4 | 2015-08-31T09:50:58.000Z | 2019-06-11T08:21:28.000Z | /*
* Copyright (c) 2010-2011 Juli Mallett. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of cond... | 25.47 | 77 | 0.715744 | diegows |
4fbad325620ce6aa4d66dec306797b69e262ff69 | 510 | cpp | C++ | questions/52843694/main.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 302 | 2017-03-04T00:05:23.000Z | 2022-03-28T22:51:29.000Z | questions/52843694/main.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 30 | 2017-12-02T19:26:43.000Z | 2022-03-28T07:40:36.000Z | questions/52843694/main.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 388 | 2017-07-04T16:53:12.000Z | 2022-03-18T22:20:19.000Z | #include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <pdfModel.h>
int main(int argc, char *argv[]) {
/// enable debug
qputenv("POPPLERPLUGIN_DEBUG", "1");
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
qmlRegisterType<PdfModel>("org.docviewer.poppler", 1, 0, "Poppler");
QGuiApp... | 25.5 | 70 | 0.719608 | sesu089 |
4fbae6dbacc399ded567db10bb3606c9e9a2ad14 | 25,869 | cpp | C++ | src/scene/profile.cpp | alex-w/OpenSpace | 4c9337a4651d10f9ada3acb81fe3ecaf71196be7 | [
"MIT"
] | null | null | null | src/scene/profile.cpp | alex-w/OpenSpace | 4c9337a4651d10f9ada3acb81fe3ecaf71196be7 | [
"MIT"
] | null | null | null | src/scene/profile.cpp | alex-w/OpenSpace | 4c9337a4651d10f9ada3acb81fe3ecaf71196be7 | [
"MIT"
] | null | null | null | /*****************************************************************************************
* *
* OpenSpace *
* ... | 35.100407 | 90 | 0.554138 | alex-w |
4fbb558aeeb0ff9ff132bfcd7bb1b996954ca55d | 24,513 | cpp | C++ | src/caffe/test/test_math_functions.cpp | alemagnani/caffe | 9dfd7e44a452800566260d8b6f9bc27a29a34d76 | [
"BSD-2-Clause"
] | 2 | 2015-12-02T09:51:57.000Z | 2016-05-03T09:34:30.000Z | src/caffe/test/test_math_functions.cpp | alemagnani/caffe | 9dfd7e44a452800566260d8b6f9bc27a29a34d76 | [
"BSD-2-Clause"
] | null | null | null | src/caffe/test/test_math_functions.cpp | alemagnani/caffe | 9dfd7e44a452800566260d8b6f9bc27a29a34d76 | [
"BSD-2-Clause"
] | null | null | null | #include <stdint.h> // for uint32_t & uint64_t
#include <time.h>
#include <climits>
#include <cmath> // for std::fabs
#include <cstdlib> // for rand_r
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/util/benchmark.hpp"
#inc... | 26.673558 | 80 | 0.607882 | alemagnani |
4fbba18cd0f7789546403f8aef4a7826e6ebc1ab | 2,176 | cpp | C++ | src/motioncore/communication/shared_bits_message.cpp | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 6 | 2021-11-05T00:39:47.000Z | 2022-02-26T16:42:55.000Z | src/motioncore/communication/shared_bits_message.cpp | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 7 | 2021-11-07T06:53:00.000Z | 2022-03-23T11:46:40.000Z | src/motioncore/communication/shared_bits_message.cpp | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 7 | 2021-11-04T12:01:07.000Z | 2022-03-29T12:15:23.000Z | // MIT License
//
// Copyright (c) 2019 Lennart Braun
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modif... | 45.333333 | 100 | 0.774816 | Udbhavbisarya23 |
4fbc03e946878551b5e3438b518cf8f3461219b7 | 12,666 | hpp | C++ | external/windows/boost/include/boost/xpressive/detail/static/grammar.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | 1 | 2016-05-17T03:36:52.000Z | 2016-05-17T03:36:52.000Z | external/windows/boost/include/boost/xpressive/detail/static/grammar.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | external/windows/boost/include/boost/xpressive/detail/static/grammar.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// grammar.hpp
//
// Copyright 2007 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_XPRESSIVE_DE... | 39.335404 | 137 | 0.507974 | foxostro |
4fbd58f757ee63b8af07dd815009c8a44d374d34 | 2,893 | cpp | C++ | P1/test_BST.cpp | jayx2thez/c100 | e81e5182b452a2bf698d37315791cd2e45f73a6e | [
"MIT"
] | null | null | null | P1/test_BST.cpp | jayx2thez/c100 | e81e5182b452a2bf698d37315791cd2e45f73a6e | [
"MIT"
] | null | null | null | P1/test_BST.cpp | jayx2thez/c100 | e81e5182b452a2bf698d37315791cd2e45f73a6e | [
"MIT"
] | 1 | 2018-07-31T01:45:51.000Z | 2018-07-31T01:45:51.000Z | #include "BST.hpp"
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
/**
* A simple test driver for the BST class template.
* P1 CSE 100 2013
* Author: P. Kube (c) 2013
*/
int main() {
/* Create an STL vector of some ints */
vector<int> v;
v.push_back(3);
v.push_back(4);
v... | 25.830357 | 84 | 0.550294 | jayx2thez |
4fbe0f54d89fbb6a4bae0137cd578c267e0056d8 | 5,489 | cc | C++ | ui/gfx/ozone/dri/dri_skbitmap.cc | SlimKatLegacy/android_external_chromium_org | ee480ef5039d7c561fc66ccf52169ead186f1bea | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-04T02:36:53.000Z | 2016-06-25T11:22:17.000Z | ui/gfx/ozone/dri/dri_skbitmap.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/gfx/ozone/dri/dri_skbitmap.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2015-02-09T08:49:30.000Z | 2017-08-26T02:03:34.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/ozone/dri/dri_skbitmap.h"
#include <errno.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <xf86drm.h>
#include "base/compiler_... | 26.263158 | 80 | 0.642011 | SlimKatLegacy |
4fc07c7700c8476fbb845fd2554101884366d54c | 4,796 | cpp | C++ | apps/tinyapp/main.cpp | Logan-Shi/lighthouse2 | 23d9d77e29f372805052cc11caba89c2eb7da016 | [
"Apache-2.0"
] | 2 | 2021-12-24T18:05:27.000Z | 2022-01-28T03:22:25.000Z | apps/tinyapp/main.cpp | Logan-Shi/lighthouse2 | 23d9d77e29f372805052cc11caba89c2eb7da016 | [
"Apache-2.0"
] | null | null | null | apps/tinyapp/main.cpp | Logan-Shi/lighthouse2 | 23d9d77e29f372805052cc11caba89c2eb7da016 | [
"Apache-2.0"
] | 1 | 2022-01-28T03:20:02.000Z | 2022-01-28T03:20:02.000Z | /* main.cpp - Copyright 2019/2021 Utrecht University
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... | 42.442478 | 124 | 0.572143 | Logan-Shi |
4fc2b5d871f901de95d7f3146ebdfdf93cf7470f | 14,916 | cpp | C++ | opencl/test/unit_test/kernel/kernel_transformable_tests.cpp | sanjaymsh/compute-runtime | 1bf270a804d47745dc6ee0bd2bf6232b2a4d835b | [
"MIT"
] | 1 | 2020-09-03T17:10:38.000Z | 2020-09-03T17:10:38.000Z | opencl/test/unit_test/kernel/kernel_transformable_tests.cpp | sanjaymsh/compute-runtime | 1bf270a804d47745dc6ee0bd2bf6232b2a4d835b | [
"MIT"
] | null | null | null | opencl/test/unit_test/kernel/kernel_transformable_tests.cpp | sanjaymsh/compute-runtime | 1bf270a804d47745dc6ee0bd2bf6232b2a4d835b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/source/program/kernel_info.h"
#include "opencl/source/sampler/sampler.h"
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
#include "opencl/test/unit_test/fixtures/image_fixture.h"
#include "opencl/te... | 47.202532 | 169 | 0.768638 | sanjaymsh |
4fc48b5c919dcb2171c792a6b194852bc0094755 | 2,188 | cc | C++ | base/timer/hi_res_timer_manager_unittest.cc | eval1749/elang | 5208b386ba3a3e866a5c0f0271280f79f9aac8c4 | [
"Apache-2.0"
] | 1 | 2018-01-27T22:40:53.000Z | 2018-01-27T22:40:53.000Z | base/timer/hi_res_timer_manager_unittest.cc | eval1749/elang | 5208b386ba3a3e866a5c0f0271280f79f9aac8c4 | [
"Apache-2.0"
] | 1 | 2016-01-29T00:54:49.000Z | 2016-01-29T00:54:49.000Z | base/timer/hi_res_timer_manager_unittest.cc | eval1749/elang | 5208b386ba3a3e866a5c0f0271280f79f9aac8c4 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/timer/hi_res_timer_manager.h"
#include <utility>
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#inc... | 35.868852 | 73 | 0.74543 | eval1749 |
4fc5d5093b8b7b73dc755edb88a22df40abcea4b | 15,207 | cpp | C++ | src/game/server/hl2/weapon_ar2.cpp | LillyWho/TF2HLCoop | 04d572fbf7da76c7d4e8f9481bad5a27b5406203 | [
"Unlicense"
] | 2 | 2019-04-08T00:09:06.000Z | 2020-11-22T23:12:30.000Z | src/game/server/hl2/weapon_ar2.cpp | Kenzzer/TF2HLCoop | 86097fe5c7f097fbfff4b3c394280cc53c2cadf9 | [
"Unlicense"
] | null | null | null | src/game/server/hl2/weapon_ar2.cpp | Kenzzer/TF2HLCoop | 86097fe5c7f097fbfff4b3c394280cc53c2cadf9 | [
"Unlicense"
] | 1 | 2021-05-01T15:43:17.000Z | 2021-05-01T15:43:17.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "basecombatweapon.h"
#include "npcevent.h"
#include "basecombatcharacter.h"
#include "ai_basenpc... | 29.643275 | 181 | 0.61544 | LillyWho |
4fc6268918834168640fa817c73b0d200ef3e34b | 1,507 | cpp | C++ | az_ykan_v1.0.1/Arduino-master/variants/wifi_slot/analogRead.cpp | angelbarusta/ind-matageyco | 08be088f2178312e9bac94b9604bacd5223f4b53 | [
"Apache-2.0"
] | null | null | null | az_ykan_v1.0.1/Arduino-master/variants/wifi_slot/analogRead.cpp | angelbarusta/ind-matageyco | 08be088f2178312e9bac94b9604bacd5223f4b53 | [
"Apache-2.0"
] | null | null | null | az_ykan_v1.0.1/Arduino-master/variants/wifi_slot/analogRead.cpp | angelbarusta/ind-matageyco | 08be088f2178312e9bac94b9604bacd5223f4b53 | [
"Apache-2.0"
] | null | null | null | #include "wiring_private.h"
#include "pins_arduino.h"
extern "C" int __analogRead(uint8_t pin);
extern "C" int analogRead(uint8_t pin) {
static uint8_t currentAin = 0;
delay(0);
if (pin >= ANALOG_INPUT_HARDWARE) {
return 0;
}
uint8_t ain = analog_pin_to_mux_channel[pin];
if (ain == (uint8_t)NOT_A_P... | 29.54902 | 72 | 0.716656 | angelbarusta |
4fc62ab655746ffa46db49452cbc4b14ac8f5002 | 1,219 | hpp | C++ | include/PythoniC/Util/Reduce.hpp | sarahkittyy/PythoniC | 9c8b1c6a11ac1e5e353567b999ceaf101fc37046 | [
"MIT"
] | null | null | null | include/PythoniC/Util/Reduce.hpp | sarahkittyy/PythoniC | 9c8b1c6a11ac1e5e353567b999ceaf101fc37046 | [
"MIT"
] | null | null | null | include/PythoniC/Util/Reduce.hpp | sarahkittyy/PythoniC | 9c8b1c6a11ac1e5e353567b999ceaf101fc37046 | [
"MIT"
] | null | null | null | #pragma once
/**
* @file
* @brief Python's reduce() method.
*
*/
namespace py
{
/**
* @brief A recreation of python's functools.reduce() function.
* Runs func() on the first two values of the container and pops them,
* putting the result back in. It repeats this with it's previous result & the next element.... | 28.348837 | 168 | 0.709598 | sarahkittyy |
4fc6a482195e682396076802e47835ad06cbf005 | 8,023 | cpp | C++ | src/curl/curl.cpp | rolandhill/vsgXchange | a7564a032bb1c6cc5c324d24a852e274c417d3a9 | [
"MIT"
] | null | null | null | src/curl/curl.cpp | rolandhill/vsgXchange | a7564a032bb1c6cc5c324d24a852e274c417d3a9 | [
"MIT"
] | null | null | null | src/curl/curl.cpp | rolandhill/vsgXchange | a7564a032bb1c6cc5c324d24a852e274c417d3a9 | [
"MIT"
] | null | null | null | /* <editor-fold desc="MIT License">
Copyright(c) 2021 Robert Osfield
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod... | 32.613821 | 460 | 0.613736 | rolandhill |
4fc8274e871319a985672f67145114b8ad3f85af | 1,683 | hpp | C++ | webot/controllers/waypoints_runner/lidar_wrapper.hpp | DEIS-Tools/model-utilities | a1a38f7f8adcedc0b175fa7d3d06e4551688903a | [
"MIT"
] | null | null | null | webot/controllers/waypoints_runner/lidar_wrapper.hpp | DEIS-Tools/model-utilities | a1a38f7f8adcedc0b175fa7d3d06e4551688903a | [
"MIT"
] | 6 | 2019-11-14T13:49:39.000Z | 2019-12-04T09:36:21.000Z | webot/controllers/waypoints_runner/lidar_wrapper.hpp | DEIS-Tools/model-utilities | a1a38f7f8adcedc0b175fa7d3d06e4551688903a | [
"MIT"
] | 2 | 2019-11-20T18:01:34.000Z | 2020-05-05T07:18:37.000Z | /*Copyright 2019 Anders Madsen, Emil Jørgensen Njor, Emil Stenderup Bækdahl, Frederik Baymler
*Mathiesen, Nikolaj Jensen Ulrik, Simon Mejlby Virenfeldt
*
*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 th... | 43.153846 | 100 | 0.766488 | DEIS-Tools |
4fc8ffd7dbce8068b401550114dac7d9970c41ea | 5,986 | cpp | C++ | src/frameworks/wilhelm/src/itf/IBassBoost.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/wilhelm/src/itf/IBassBoost.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/wilhelm/src/itf/IBassBoost.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 27.458716 | 100 | 0.679419 | dAck2cC2 |
4fc99370f30980c4192c1681f81b9f0482de01f8 | 122 | cc | C++ | main.cc | marcopush/util-cpp | 560c46bae8cbfa00ef76db4bd139ede21543ccf8 | [
"Apache-2.0"
] | null | null | null | main.cc | marcopush/util-cpp | 560c46bae8cbfa00ef76db4bd139ede21543ccf8 | [
"Apache-2.0"
] | null | null | null | main.cc | marcopush/util-cpp | 560c46bae8cbfa00ef76db4bd139ede21543ccf8 | [
"Apache-2.0"
] | 1 | 2020-08-30T20:10:53.000Z | 2020-08-30T20:10:53.000Z | #include "util.hh"
// A basic main function to test compilation
int main (int, char const* const* const) {
return 0;
}
| 17.428571 | 44 | 0.688525 | marcopush |
4fc99c40dbab9bdb0947d5f3b28a7c044cec2255 | 11,095 | cpp | C++ | tests/FontHostTest.cpp | fmalita/skia | 8367b8cb7a6b2f163ee41365323cb219b7049b15 | [
"BSD-3-Clause"
] | 1 | 2020-02-21T01:15:42.000Z | 2020-02-21T01:15:42.000Z | tests/FontHostTest.cpp | fmalita/skia | 8367b8cb7a6b2f163ee41365323cb219b7049b15 | [
"BSD-3-Clause"
] | null | null | null | tests/FontHostTest.cpp | fmalita/skia | 8367b8cb7a6b2f163ee41365323cb219b7049b15 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Resources.h"
#include "SkEndian.h"
#include "SkFontStream.h"
#include "SkOSFile.h"
#include "SkPaint.h"
#include "SkStream.h"
#include "SkTypeface.h"
#include "Test.... | 35.790323 | 122 | 0.616133 | fmalita |
4fcac636fa6ef580ff7f99a8b161a81aeaff75e9 | 387 | cpp | C++ | Videojuego.cpp | ErickCarrasco/Laboratorio6_ErickCarrasco_P3 | c37ff384b767aa663442cb70a331341899e95e7b | [
"MIT"
] | null | null | null | Videojuego.cpp | ErickCarrasco/Laboratorio6_ErickCarrasco_P3 | c37ff384b767aa663442cb70a331341899e95e7b | [
"MIT"
] | null | null | null | Videojuego.cpp | ErickCarrasco/Laboratorio6_ErickCarrasco_P3 | c37ff384b767aa663442cb70a331341899e95e7b | [
"MIT"
] | null | null | null | #include "Videojuego.h"
#include <string>
using std::string;
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
string Videojuego::getType(){
return this->tipo;
}
Videojuego::Videojuego(string company, string tipo, string nombre, double peso, string fragil ):Electrodomestico(tipo, nombre, peso... | 16.826087 | 141 | 0.731266 | ErickCarrasco |
4fcb86b80a848674c44c68665b88b0a8a8f621ae | 83,462 | cc | C++ | src/bbdep_sm.cc | poluyan/PEPSGO | d1039bf0362bddca6247ffadf7b2124e6cfb64cf | [
"Apache-2.0"
] | 1 | 2021-06-07T16:07:04.000Z | 2021-06-07T16:07:04.000Z | src/bbdep_sm.cc | poluyan/PEPSGO | d1039bf0362bddca6247ffadf7b2124e6cfb64cf | [
"Apache-2.0"
] | null | null | null | src/bbdep_sm.cc | poluyan/PEPSGO | d1039bf0362bddca6247ffadf7b2124e6cfb64cf | [
"Apache-2.0"
] | null | null | null | /**************************************************************************
Copyright © 2018 Sergey Poluyan <svpoluyan@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | 34.804837 | 174 | 0.63859 | poluyan |
4fcc2fd0e6d6a2fee3417b41063487ef800bcaf7 | 3,343 | cpp | C++ | oneflow/core/eager/blob_instruction_type.cpp | xxg1413/oneflow | f2e3c85a25b8aecfb6c0c0af1737833b1a77e135 | [
"Apache-2.0"
] | 1 | 2020-12-04T03:06:16.000Z | 2020-12-04T03:06:16.000Z | oneflow/core/eager/blob_instruction_type.cpp | xxg1413/oneflow | f2e3c85a25b8aecfb6c0c0af1737833b1a77e135 | [
"Apache-2.0"
] | null | null | null | oneflow/core/eager/blob_instruction_type.cpp | xxg1413/oneflow | f2e3c85a25b8aecfb6c0c0af1737833b1a77e135 | [
"Apache-2.0"
] | null | null | null | /*
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... | 37.144444 | 98 | 0.761292 | xxg1413 |
4fcd2e3e7968a5cab3d47e0d2c7ad501508ac628 | 4,608 | cpp | C++ | esphome/components/esp32_ble_server/ble_service.cpp | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 249 | 2018-04-07T12:04:11.000Z | 2019-01-25T01:11:34.000Z | esphome/components/esp32_ble_server/ble_service.cpp | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 243 | 2018-04-11T16:37:11.000Z | 2019-01-25T16:50:37.000Z | esphome/components/esp32_ble_server/ble_service.cpp | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 40 | 2018-04-10T05:50:14.000Z | 2019-01-25T15:20:36.000Z | #include "ble_service.h"
#include "ble_server.h"
#include "esphome/core/log.h"
#ifdef USE_ESP32
namespace esphome {
namespace esp32_ble_server {
static const char *const TAG = "esp32_ble_server.service";
BLEService::BLEService(ESPBTUUID uuid, uint16_t num_handles, uint8_t inst_id)
: uuid_(uuid), num_handles_(nu... | 31.77931 | 112 | 0.720052 | OttoWinter |
4fd0a9d94939d13f5feb19997941b65d827b22be | 2,119 | cpp | C++ | src/systemc/tests/systemc/utils/sc_report/test04/empty_msg_id.cpp | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 765 | 2015-01-14T16:17:04.000Z | 2022-03-28T07:46:28.000Z | src/systemc/tests/systemc/utils/sc_report/test04/empty_msg_id.cpp | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 148 | 2018-07-20T00:58:36.000Z | 2021-11-16T01:52:33.000Z | src/systemc/tests/systemc/utils/sc_report/test04/empty_msg_id.cpp | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 807 | 2015-01-06T09:55:38.000Z | 2022-03-30T10:23:36.000Z | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | 36.534483 | 79 | 0.620576 | hyu-iot |
4fd188b751a596aeaf167a659051a20c24a5dcf8 | 3,025 | hpp | C++ | lib/boost/include/boost/mpl/aux_/preprocessor/ext_params.hpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 27 | 2020-11-12T19:24:54.000Z | 2022-03-27T23:10:45.000Z | lib/boost/include/boost/mpl/aux_/preprocessor/ext_params.hpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 2 | 2020-11-02T06:30:39.000Z | 2022-02-23T18:39:55.000Z | lib/boost/include/boost/mpl/aux_/preprocessor/ext_params.hpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 3 | 2021-08-16T00:21:08.000Z | 2022-02-23T19:19:36.000Z |
#ifndef BOOST_MPL_AUX_PREPROCESSOR_EXT_PARAMS_HPP_INCLUDED
#define BOOST_MPL_AUX_PREPROCESSOR_EXT_PARAMS_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)... | 38.291139 | 118 | 0.707438 | bo3b |
4fd237968abe51fcf43d5545e7345bc1f00b5b7f | 2,036 | cpp | C++ | clang/test/CodeGenCXX/virtual-base-destructor-call.cpp | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | clang/test/CodeGenCXX/virtual-base-destructor-call.cpp | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | clang/test/CodeGenCXX/virtual-base-destructor-call.cpp | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | // RUN: %clang_cc1 -no-opaque-pointers %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
struct basic_ios{~basic_ios(); };
template<typename _CharT> struct basic_istream : virtual public basic_ios {
virtual ~basic_istream(){}
};
template<typename _CharT> struct basic_iostream : public basic_istream<_Ch... | 39.153846 | 134 | 0.70776 | ornata |
4fd4abc5650d90cb68537c51356b6d465bb6577d | 20,129 | cpp | C++ | src/ProfileGenerator/TeaserBiography.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/ProfileGenerator/TeaserBiography.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/ProfileGenerator/TeaserBiography.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2011 by BBNT Solutions LLC
// All Rights Reserved.
#include "Generic/common/leak_detection.h" // This must be the first #include
#include "Generic/common/SessionLogger.h"
#include "ProfileGenerator/TeaserBiography.h"
#include "ProfileGenerator/Profile.h"
#include "ProfileGenerator/ProfileSlot... | 41.935417 | 163 | 0.677331 | BBN-E |
4fd59af0771a36edaeec7b6aec6492fe6c60a047 | 10,685 | cc | C++ | syzygy/optimize/transforms/basic_block_reordering_transform.cc | StanMiller45/syzygy | 2320676a260ab3713c6a4b793ebefa2837cb766c | [
"Apache-2.0"
] | 1 | 2019-04-03T13:56:37.000Z | 2019-04-03T13:56:37.000Z | syzygy/optimize/transforms/basic_block_reordering_transform.cc | StanMiller45/syzygy | 2320676a260ab3713c6a4b793ebefa2837cb766c | [
"Apache-2.0"
] | null | null | null | syzygy/optimize/transforms/basic_block_reordering_transform.cc | StanMiller45/syzygy | 2320676a260ab3713c6a4b793ebefa2837cb766c | [
"Apache-2.0"
] | 1 | 2020-10-10T16:09:45.000Z | 2020-10-10T16:09:45.000Z | // Copyright 2013 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 37.491228 | 80 | 0.702012 | StanMiller45 |
4fd75de455ab7f708bc3978e215ddd1c9716a9d3 | 2,884 | cpp | C++ | source/example.cpp | M-Unterreiner/aufgabenblatt-3 | 05c032c4768346ee22b1fe4efe3f59a4577ea243 | [
"MIT"
] | null | null | null | source/example.cpp | M-Unterreiner/aufgabenblatt-3 | 05c032c4768346ee22b1fe4efe3f59a4577ea243 | [
"MIT"
] | null | null | null | source/example.cpp | M-Unterreiner/aufgabenblatt-3 | 05c032c4768346ee22b1fe4efe3f59a4577ea243 | [
"MIT"
] | null | null | null | #include "window.hpp"
#include <GLFW/glfw3.h>
#include <utility>
#include <cmath>
#include "circle.hpp"
#include "rectangle.hpp"
#include "color.hpp"
int main(int argc, char* argv[])
{
Window win{std::make_pair(800,800)};
while (!win.should_close()) {
if (win.get_key(GLFW_KEY_ESCAPE) == GLFW_PRESS) {
w... | 29.731959 | 143 | 0.61165 | M-Unterreiner |
4fd81c87641620b00666bc3172d99b13d10fe3d7 | 7,237 | cpp | C++ | vm/capi/module.cpp | drnic/rubinius | 32ee5714fbfe0d5aeae5d71cac246b41f10d15b9 | [
"BSD-3-Clause"
] | 1 | 2019-06-27T12:45:49.000Z | 2019-06-27T12:45:49.000Z | vm/capi/module.cpp | drnic/rubinius | 32ee5714fbfe0d5aeae5d71cac246b41f10d15b9 | [
"BSD-3-Clause"
] | null | null | null | vm/capi/module.cpp | drnic/rubinius | 32ee5714fbfe0d5aeae5d71cac246b41f10d15b9 | [
"BSD-3-Clause"
] | null | null | null | #include "builtin/object.hpp"
#include "builtin/module.hpp"
#include "builtin/symbol.hpp"
#include "helpers.hpp"
#include "call_frame.hpp"
#include "capi/capi.hpp"
#include "capi/include/ruby.h"
using namespace rubinius;
using namespace rubinius::capi;
extern "C" {
int rb_const_defined(VALUE module_handle, ID con... | 31.881057 | 95 | 0.701396 | drnic |
4fd8662a9d193db4f0802b9b31c749e602268adb | 3,240 | hpp | C++ | huffman/lib/nvx/type.hpp | nvxden/cpp-compression | 4cc3bf3ccdcc9a139c47541937a4e1399b95aa12 | [
"MIT"
] | null | null | null | huffman/lib/nvx/type.hpp | nvxden/cpp-compression | 4cc3bf3ccdcc9a139c47541937a4e1399b95aa12 | [
"MIT"
] | null | null | null | huffman/lib/nvx/type.hpp | nvxden/cpp-compression | 4cc3bf3ccdcc9a139c47541937a4e1399b95aa12 | [
"MIT"
] | null | null | null | #ifndef NVX_TYPE_HPP
#define NVX_TYPE_HPP
#include <ctype.h>
#include <limits>
#include <memory>
namespace nvx
{
/*
* Numbers
*/
typedef int8_t byte;
typedef uint8_t ubyte;
typedef uint16_t ushort;
typedef uint32_t uint;
typedef int64_t llong;
typedef uint64_t ullong;
typedef lon... | 35.604396 | 86 | 0.703086 | nvxden |