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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44729952103b6a0a659df6296670094c569bed04 | 4,269 | cpp | C++ | tools/DRstats/CmdlineDlg.cpp | uci-plrg/blackbox | 1f567bd58769501334843fc1714141f669c27ee5 | [
"BSD-3-Clause"
] | 2 | 2016-03-19T23:37:25.000Z | 2016-06-18T16:43:46.000Z | tools/DRstats/CmdlineDlg.cpp | uci-plrg/blackbox | 1f567bd58769501334843fc1714141f669c27ee5 | [
"BSD-3-Clause"
] | null | null | null | tools/DRstats/CmdlineDlg.cpp | uci-plrg/blackbox | 1f567bd58769501334843fc1714141f669c27ee5 | [
"BSD-3-Clause"
] | 2 | 2016-06-24T20:51:01.000Z | 2019-12-26T02:07:06.000Z | /* **********************************************************
* Copyright (c) 2013 Google, Inc. All rights reserved.
* Copyright (c) 2007-2008 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
*... | 29.645833 | 81 | 0.661513 | uci-plrg |
447533658405d0b3e50e451a2aea5451740024b8 | 2,316 | cpp | C++ | 310_Minimum_Height_Trees.cpp | AvadheshChamola/LeetCode | b0edabfa798c4e204b015f4c367bfc5acfbd8277 | [
"MIT"
] | null | null | null | 310_Minimum_Height_Trees.cpp | AvadheshChamola/LeetCode | b0edabfa798c4e204b015f4c367bfc5acfbd8277 | [
"MIT"
] | null | null | null | 310_Minimum_Height_Trees.cpp | AvadheshChamola/LeetCode | b0edabfa798c4e204b015f4c367bfc5acfbd8277 | [
"MIT"
] | null | null | null | /*
310. Minimum Height Trees
Medium
A tree is an undirected graph in which any two vertices are connected by exactly one path. In other words, any connected graph without simple cycles is a tree.
Given a tree of n nodes labelled from 0 to n - 1, and an array of n - 1 edges where edges[i] = [ai, bi] indicates that the... | 32.619718 | 422 | 0.567789 | AvadheshChamola |
44758752476f12717cfbc1f17b5e6324c7fc5166 | 6,903 | cpp | C++ | darkness-resourcetask/src/ResourceTask.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 6 | 2019-10-17T11:31:55.000Z | 2022-02-11T08:51:20.000Z | darkness-resourcetask/src/ResourceTask.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-08-11T09:01:29.000Z | 2020-08-11T09:01:29.000Z | darkness-resourcetask/src/ResourceTask.cpp | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-06-02T15:48:20.000Z | 2020-06-02T15:48:20.000Z | #include "ResourceTask.h"
#include "platform/network/SocketClient.h"
#include "platform/network/Socket.h"
#include "engine/resources/ResourceMessages.h"
#include "engine/network/MqMessage.h"
#include "tools/Debug.h"
#include <chrono>
#include <thread>
#include "protocols/network/ResourceProtocols.pb.h"
using namespac... | 41.335329 | 147 | 0.493119 | Karmiska |
447879ef2466a786d27cc0d2723a71f868554581 | 18,677 | cpp | C++ | indra/llcommon/lluri.cpp | SaladDais/LLUDP-Encryption | 8a426cd0dd154e1a10903e0e6383f4deb2a6098a | [
"ISC"
] | 1 | 2022-01-29T07:10:03.000Z | 2022-01-29T07:10:03.000Z | indra/llcommon/lluri.cpp | SaladDais/LLUDP-Encryption | 8a426cd0dd154e1a10903e0e6383f4deb2a6098a | [
"ISC"
] | null | null | null | indra/llcommon/lluri.cpp | SaladDais/LLUDP-Encryption | 8a426cd0dd154e1a10903e0e6383f4deb2a6098a | [
"ISC"
] | 1 | 2021-10-01T22:22:27.000Z | 2021-10-01T22:22:27.000Z | /**
* @file lluri.cpp
* @author Phoenix
* @date 2006-02-08
* @brief Implementation of the LLURI class.
*
* $LicenseInfo:firstyear=2006&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify ... | 23.822704 | 111 | 0.630615 | SaladDais |
44795f9d12d6bcde60cf97d03de847a0dfe42ab7 | 1,540 | cpp | C++ | POJ/POJ - 1654/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | POJ/POJ - 1654/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | POJ/POJ - 1654/Wrong Answer.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 2019-04-03 01:23:59
* solution_verdict: Wrong Answer language: C++
* run... | 28.518519 | 111 | 0.406494 | kzvd4729 |
447ad53dafabcec380cbffb82c9a076039265ae0 | 836 | hpp | C++ | PA2/src/Light.hpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | PA2/src/Light.hpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | PA2/src/Light.hpp | dowoncha/COMP575 | 6e48bdd80cb1a3e677c07655640efa941325e59c | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* filename: Light.hpp
* author: Do Won Cha
* content: Light class to put in scenes
*
******************************************************************************/
#pragma once
#ifndef _RAST_LIGHT_
#define _RAST_LIGHT... | 19.44186 | 80 | 0.494019 | dowoncha |
447b361c0d3f3f76cdd8a41752db6911985e74bf | 4,525 | cpp | C++ | OverEngine/src/Platform/OpenGL/OpenGLTexture.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 159 | 2020-03-16T14:46:46.000Z | 2022-03-31T23:38:14.000Z | OverEngine/src/Platform/OpenGL/OpenGLTexture.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 5 | 2020-11-22T14:40:20.000Z | 2022-01-16T03:45:54.000Z | OverEngine/src/Platform/OpenGL/OpenGLTexture.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 17 | 2020-06-01T05:58:32.000Z | 2022-02-10T17:28:36.000Z | #include "pcheader.h"
#include "OpenGLTexture.h"
#include <glad/gl.h>
#include <stb_image.h>
namespace OverEngine
{
static TextureFormat GetFormatFromChannelCount(int channels)
{
switch (channels)
{
case 3: return TextureFormat::RGB8;
case 4: return TextureFormat::RGBA8;
default: return TextureFormat::No... | 23.567708 | 110 | 0.740773 | larrymason01 |
447c404aacc0b5764eef6ebdd750adf15a5a0bb9 | 10,297 | cpp | C++ | gen/irstate.cpp | bcarneal/ldc | 9651acd24e1ce2be21c34c163ec6beb9dd77018a | [
"Apache-2.0"
] | 3 | 2016-07-14T17:48:47.000Z | 2016-09-20T05:33:41.000Z | gen/irstate.cpp | bcarneal/ldc | 9651acd24e1ce2be21c34c163ec6beb9dd77018a | [
"Apache-2.0"
] | 1 | 2019-08-30T05:05:40.000Z | 2019-08-30T05:05:40.000Z | gen/irstate.cpp | bcarneal/ldc | 9651acd24e1ce2be21c34c163ec6beb9dd77018a | [
"Apache-2.0"
] | 2 | 2019-08-30T03:10:44.000Z | 2019-09-17T02:54:21.000Z | //===-- irstate.cpp -------------------------------------------------------===//
//
// LDC – the LLVM D compiler
//
// This file is distributed under the BSD-style LDC license. See the LICENSE
// file for details.
//
//===----------------------------------------------------------------------===/... | 34.670034 | 80 | 0.608333 | bcarneal |
447ebfbeba81bbad79392c66f990772d6e7800f4 | 24,725 | cc | C++ | components/search_engines/keyword_table.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-01-16T03:57:39.000Z | 2019-01-16T03:57:39.000Z | components/search_engines/keyword_table.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | components/search_engines/keyword_table.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/search_engines/keyword_table.h"
#include <set>
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base... | 38.155864 | 80 | 0.666047 | Fusion-Rom |
447ee518b20a820ae2bf91d6a76dfc3badd5fd00 | 1,491 | cpp | C++ | app/src/main/cpp/engine/material.cpp | JsMarq96/Quest-Testing | e2017f20fa2a1ca1bbaa25b36ab4c58fa4cf7761 | [
"Apache-2.0"
] | null | null | null | app/src/main/cpp/engine/material.cpp | JsMarq96/Quest-Testing | e2017f20fa2a1ca1bbaa25b36ab4c58fa4cf7761 | [
"Apache-2.0"
] | null | null | null | app/src/main/cpp/engine/material.cpp | JsMarq96/Quest-Testing | e2017f20fa2a1ca1bbaa25b36ab4c58fa4cf7761 | [
"Apache-2.0"
] | null | null | null | //
// Created by Juan S. Marquerie on 31/05/2021.
//
#include "material.h"
void material_add_shader(sMaterial *mat,
const char *vertex_shader,
const char *fragment_shader) {
mat->shader.load_shaders(vertex_shader,
fragment... | 28.132075 | 72 | 0.551308 | JsMarq96 |
447f5a44ec84f3babb4c709232c661700476b70a | 37,643 | cpp | C++ | src/ompl/geometric/planners/fmt/src/BFMT.cpp | sbgisen/ompl | f814f614b0581f9b9b150bec23ba1446ff1d7e94 | [
"BSD-3-Clause"
] | null | null | null | src/ompl/geometric/planners/fmt/src/BFMT.cpp | sbgisen/ompl | f814f614b0581f9b9b150bec23ba1446ff1d7e94 | [
"BSD-3-Clause"
] | null | null | null | src/ompl/geometric/planners/fmt/src/BFMT.cpp | sbgisen/ompl | f814f614b0581f9b9b150bec23ba1446ff1d7e94 | [
"BSD-3-Clause"
] | null | null | null |
#include <boost/math/constants/constants.hpp>
#include <boost/math/distributions/binomial.hpp>
#include <ompl/datastructures/BinaryHeap.h>
#include <ompl/tools/config/SelfConfig.h>
#include <ompl/datastructures/NearestNeighborsGNAT.h>
#include <ompl/base/objectives/PathLengthOptimizationObjective.h>
#include <ompl/ge... | 42.295506 | 120 | 0.464203 | sbgisen |
447f692efab06d2d79b2449755cdd71ed682041a | 24,794 | cc | C++ | src/pass/arith_expr_simplify.cc | laekov/akg | 5316b8cb2340bbf71bdc724dc9d81513a67b3104 | [
"Apache-2.0"
] | 1 | 2020-08-31T02:43:43.000Z | 2020-08-31T02:43:43.000Z | src/pass/arith_expr_simplify.cc | laekov/akg | 5316b8cb2340bbf71bdc724dc9d81513a67b3104 | [
"Apache-2.0"
] | null | null | null | src/pass/arith_expr_simplify.cc | laekov/akg | 5316b8cb2340bbf71bdc724dc9d81513a67b3104 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019-2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 34.245856 | 118 | 0.62374 | laekov |
447f7c5d6cf387bacd73eb175a4becd4dbf32664 | 2,066 | cpp | C++ | clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s -fcxx-exceptions
using X = struct { // ok
};
template<typename T> using Y = struct { // expected-error {{cannot be defined in a type alias template}}
};
class K {
virtual ~K();
operator struct S {} (); // expected-error{{'K::S' cannot be defined in a type spe... | 43.957447 | 119 | 0.638432 | medismailben |
4481f5d9c3fff82d87d5e39d746b05d49a9b8849 | 1,880 | cc | C++ | src/extensions/mpdt/mpdtinfo.cc | pansujit/openfst1.5.0 | 2fe564008d9f1c97de52764fb3c5dc9465c83f2f | [
"Apache-2.0"
] | null | null | null | src/extensions/mpdt/mpdtinfo.cc | pansujit/openfst1.5.0 | 2fe564008d9f1c97de52764fb3c5dc9465c83f2f | [
"Apache-2.0"
] | null | null | null | src/extensions/mpdt/mpdtinfo.cc | pansujit/openfst1.5.0 | 2fe564008d9f1c97de52764fb3c5dc9465c83f2f | [
"Apache-2.0"
] | null | null | null | // mpdtinfo.cc
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software... | 28.923077 | 76 | 0.676596 | pansujit |
4482074a4748630dba7f80fc46e4d0e0c563e4d1 | 975 | cpp | C++ | Questless/Questless/src/animation/particles/black_magic_particle.cpp | jonathansharman/questless | bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d | [
"MIT"
] | 2 | 2020-07-14T12:50:06.000Z | 2020-11-04T02:25:09.000Z | Questless/Questless/src/animation/particles/black_magic_particle.cpp | jonathansharman/questless | bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d | [
"MIT"
] | null | null | null | Questless/Questless/src/animation/particles/black_magic_particle.cpp | jonathansharman/questless | bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d | [
"MIT"
] | null | null | null | //! @file
//! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>.
#include "black_magic_particle.hpp"
#include "rsrc/particle.hpp"
#include "utility/random.hpp"
using namespace vecx::literals;
namespace ql {
using namespace view::literals;
black_magic_particle::black_magic_particle(rsrc::particle const& resour... | 28.676471 | 90 | 0.741538 | jonathansharman |
44838403197c55998be555c4940b39dcd96d2ed0 | 1,328 | hpp | C++ | src/IceRay/render/1pixel/constant.hpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | src/IceRay/render/1pixel/constant.hpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | src/IceRay/render/1pixel/constant.hpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | #ifndef Dh_DDMRM_Iceray_render_pixel_constant_HPP_
#define Dh_DDMRM_Iceray_render_pixel_constant_HPP_
// GS_DDMRM::S_IceRay::S_render::S_pixel::GC_constant
#include "./_pure.hpp"
namespace GS_DDMRM
{
namespace S_IceRay
{
namespace S_render
{
namespace S_pixel
... | 21.770492 | 91 | 0.458584 | dmilos |
4483fe138279f7b7cadc20ba6c50e7858908e76c | 706 | hpp | C++ | Library/Source/EnergyManager/Profiling/Profilers/NWProfiler.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | Library/Source/EnergyManager/Profiling/Profilers/NWProfiler.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | Library/Source/EnergyManager/Profiling/Profilers/NWProfiler.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | #pragma once
#include <EnergyManager.hpp>
#include <memory>
class NWProfiler : public EnergyManager::Profiling::Profilers::Profiler {
using EnergyManager::Profiling::Profilers::Profiler::Profiler;
protected:
/**
* Gets called whenever a profiler session is initiated and is provided with the current profile to ru... | 32.090909 | 105 | 0.747875 | NB4444 |
44853c2e7255bbd9598b5ecbee63e0ca7f105e12 | 1,585 | cpp | C++ | kernel/graphics.cpp | three-0-3/my-mikanos | e85f9e15d735babde1650c6fa87ffed210dece6d | [
"Apache-2.0"
] | null | null | null | kernel/graphics.cpp | three-0-3/my-mikanos | e85f9e15d735babde1650c6fa87ffed210dece6d | [
"Apache-2.0"
] | null | null | null | kernel/graphics.cpp | three-0-3/my-mikanos | e85f9e15d735babde1650c6fa87ffed210dece6d | [
"Apache-2.0"
] | null | null | null | #include "graphics.hpp"
void RGBResv8BitPerColorPixelWriter::Write(Vector2D<int> pos, const PixelColor& c) {
auto p = PixelAt(pos);
p[0] = c.r;
p[1] = c.g;
p[2] = c.b;
}
void BGRResv8BitPerColorPixelWriter::Write(Vector2D<int> pos, const PixelColor& c) {
auto p = PixelAt(pos);
p[0] = c.b;
p[1] = c.g;
p[2] = c... | 26.864407 | 115 | 0.594953 | three-0-3 |
44881bde6e8f824960bb78ce40bb76f2e8928e2a | 40 | hpp | C++ | libng/core/src/libng_core/debug/Util.hpp | gapry/libng | 8fbf927e5bb73f105bddbb618430d3e1bf2cf877 | [
"MIT"
] | null | null | null | libng/core/src/libng_core/debug/Util.hpp | gapry/libng | 8fbf927e5bb73f105bddbb618430d3e1bf2cf877 | [
"MIT"
] | null | null | null | libng/core/src/libng_core/debug/Util.hpp | gapry/libng | 8fbf927e5bb73f105bddbb618430d3e1bf2cf877 | [
"MIT"
] | null | null | null | #pragma once
#define LIBNG_DEBUG _DEBUG | 13.333333 | 26 | 0.825 | gapry |
448d4a9f6404b95a4dd1b399e540919ce5c8b1c8 | 2,113 | cpp | C++ | clang-tools-extra/test/clang-tidy/checkers/android-cloexec-accept4.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | clang-tools-extra/test/clang-tidy/checkers/android-cloexec-accept4.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang-tools-extra/test/clang-tidy/checkers/android-cloexec-accept4.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // RUN: %check_clang_tidy %s android-cloexec-accept4 %t
typedef int socklen_t;
struct sockaddr {};
#define SOCK_NONBLOCK 1
#define __O_CLOEXEC 3
#define SOCK_CLOEXEC __O_CLOEXEC
#define TEMP_FAILURE_RETRY(exp) \
({ \
int _rc; \
do { \
... | 31.537313 | 121 | 0.657359 | medismailben |
449041cee6c13855b2d81ccdd0928f1427af2d7b | 36,617 | cpp | C++ | lib/SILOptimizer/Utils/CFG.cpp | sysidos/swift-1 | 90aab6a99c173c9a045dce348a88c73e1fc4f1e8 | [
"Apache-2.0"
] | null | null | null | lib/SILOptimizer/Utils/CFG.cpp | sysidos/swift-1 | 90aab6a99c173c9a045dce348a88c73e1fc4f1e8 | [
"Apache-2.0"
] | null | null | null | lib/SILOptimizer/Utils/CFG.cpp | sysidos/swift-1 | 90aab6a99c173c9a045dce348a88c73e1fc4f1e8 | [
"Apache-2.0"
] | null | null | null | //===--- CFG.cpp - Utilities for SIL CFG transformations ------------------===//
//
// 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.040354 | 106 | 0.642488 | sysidos |
4490a1959fb2cf7adabe2da0e9844b9f60973284 | 423 | cpp | C++ | codeforce2/236A. Boy or Girl.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce2/236A. Boy or Girl.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce2/236A. Boy or Girl.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
int freq[26] = {0};
for(int i = 0; i < s.size(); i++)
freq[s[i] - 'a']++;
int c = 0;
for(int i = 0; i < 26; i++)
if(freq[i])
c++;
if(c % ... | 17.625 | 45 | 0.404255 | khaled-farouk |
44914cc9672ad8b0b5b61e29802ecd3c2382b43d | 3,879 | cpp | C++ | 3dparty/taglib/examples/framelist.cpp | olanser/uteg | c8c79a8e8e5d185253b415e67f7b6d9e37114da3 | [
"MIT"
] | 3,066 | 2016-06-10T09:23:40.000Z | 2022-03-31T11:01:01.000Z | 3dparty/taglib/examples/framelist.cpp | olanser/uteg | c8c79a8e8e5d185253b415e67f7b6d9e37114da3 | [
"MIT"
] | 414 | 2016-09-20T20:26:05.000Z | 2022-03-29T00:43:13.000Z | 3dparty/taglib/examples/framelist.cpp | olanser/uteg | c8c79a8e8e5d185253b415e67f7b6d9e37114da3 | [
"MIT"
] | 310 | 2016-06-13T21:53:04.000Z | 2022-03-18T14:36:38.000Z | /* Copyright (C) 2003 Scott Wheeler <wheeler@kde.org>
*
* 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 conditions a... | 32.872881 | 109 | 0.576179 | olanser |
44914daa0eec6c16a3ae8198479558e4adf7f559 | 395 | cpp | C++ | Source/ex1.cpp | allhailthetail/cpp-itp-main | 43a33a3df68feac3a600b3a51af3fbe893225277 | [
"MIT"
] | null | null | null | Source/ex1.cpp | allhailthetail/cpp-itp-main | 43a33a3df68feac3a600b3a51af3fbe893225277 | [
"MIT"
] | null | null | null | Source/ex1.cpp | allhailthetail/cpp-itp-main | 43a33a3df68feac3a600b3a51af3fbe893225277 | [
"MIT"
] | null | null | null | // Sample C++ program
#include <iostream>
using namespace std;
int main()
{
/* You have multiple options for doing new lines.
Either insert an escape character, as shown, or declare an end of line
*/
cout << "Hello, there! \n How about a new line??" << endl;
cout << "Now let's try some tabs!!\ttab\ttab..." << endl;
cou... | 26.333333 | 70 | 0.648101 | allhailthetail |
44918d79bdf02d8e273243b3f8f017a416cbc0c5 | 19,138 | cpp | C++ | tutorial02/main.cpp | taqu/RayTracing | b0727ef16c8252cd7d3d79ef94c0691a2b7a4387 | [
"Unlicense"
] | null | null | null | tutorial02/main.cpp | taqu/RayTracing | b0727ef16c8252cd7d3d79ef94c0691a2b7a4387 | [
"Unlicense"
] | null | null | null | tutorial02/main.cpp | taqu/RayTracing | b0727ef16c8252cd7d3d79ef94c0691a2b7a4387 | [
"Unlicense"
] | null | null | null | #define CPPIMG_IMPLEMENTATION
#include <cppimg/cppimg.h>
#define CPPGLTF_IMPLEMENTATION
#include <cppgltf/cppgltf.h>
#include "lray.h"
#include "Camera.h"
#include "core/LString.h"
#include "core/Array.h"
#include "math/Ray.h"
#include "math/RayTest.h"
#include "math/Matrix44.h"
#include "math/Quaternion.h"
#include "c... | 32.658703 | 134 | 0.601996 | taqu |
44925e226bb163df378c63cbe352eb87c61eda2b | 2,024 | cpp | C++ | example/guessing.cpp | zauguin/i18n-cpp | 3c9eaafe5e956b2e98cfd2f3c8f508420ff0f52c | [
"MIT"
] | 21 | 2021-08-22T15:02:21.000Z | 2022-02-11T01:57:18.000Z | example/guessing.cpp | zauguin/i18n-cpp | 3c9eaafe5e956b2e98cfd2f3c8f508420ff0f52c | [
"MIT"
] | 5 | 2021-08-23T04:13:07.000Z | 2022-03-17T09:10:55.000Z | example/guessing.cpp | zauguin/i18n-cpp | 3c9eaafe5e956b2e98cfd2f3c8f508420ff0f52c | [
"MIT"
] | 5 | 2021-08-23T08:14:59.000Z | 2022-03-02T20:29:20.000Z | #include <compare>
#include <i18n/simple.hpp>
#include <initializer_list>
#include <iostream>
#include <random>
using namespace mfk::i18n::literals;
class dev_seed {
public:
using result_type = std::uint32_t;
private:
std::random_device rddev;
std::uniform_int_distribution<result_type> dist;
public:
dev_... | 29.764706 | 93 | 0.62253 | zauguin |
449585bb4c2a2b97f1e05bdec087b243af64ed4d | 2,325 | cc | C++ | tests/CompileTests/ElsaTestCases/notCompilable/t0030.cc | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/CompileTests/ElsaTestCases/notCompilable/t0030.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/CompileTests/ElsaTestCases/notCompilable/t0030.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | // cc.in30
// misc
int f(int x = 3);
// parameter is unnamed
int f2(int = 5);
class Foo {
public:
// this doesn't work right now..
//int g(int x = y); // refers to static member Foo::y
//static int y;
int h(int j=9);
// ctor with "inline"
inline Foo(int *x);
};
// anonymous class
class {
int x;... | 18.75 | 72 | 0.632688 | maurizioabba |
4497b4f437eb4f1237d02aeafba42ae409e38cca | 13,963 | cpp | C++ | src/gles/pxWindowNative.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 46 | 2017-09-07T14:59:22.000Z | 2020-10-31T20:34:12.000Z | src/gles/pxWindowNative.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | src/gles/pxWindowNative.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 317 | 2017-06-20T19:57:17.000Z | 2020-09-16T10:28:30.000Z | /*
pxCore Copyright 2005-2018 John Robinson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | 24.199307 | 94 | 0.709017 | madanagopaltcomcast |
44984fb9ac3a27980de5b1d310db831404ca5818 | 1,044 | hpp | C++ | src/ParserError.hpp | rowanG077/InferExamAnswers | aedd537be0dc78ac6cc1face39302b3bd27ab007 | [
"MIT"
] | 2 | 2018-12-22T12:19:31.000Z | 2018-12-24T09:35:25.000Z | src/ParserError.hpp | rowanG077/InferExamAnswers | aedd537be0dc78ac6cc1face39302b3bd27ab007 | [
"MIT"
] | 1 | 2019-10-28T09:38:06.000Z | 2020-05-06T17:43:18.000Z | src/ParserError.hpp | rowanG077/InferExamAnswers | aedd537be0dc78ac6cc1face39302b3bd27ab007 | [
"MIT"
] | null | null | null | #pragma once
#include <exception>
#include <stdexcept>
#include <string>
/**
* @brief Contains code for the InferExamAnswers problem
*/
namespace InferExamAnswers
{
/**
* @brief Exception that is thrown when error occurs during parsing
*/
struct ParserError : public std::runtime_error
{
public:
/**
* @brief Co... | 23.2 | 96 | 0.722222 | rowanG077 |
44990748d1c84a2784d4f0a0f288054230804a96 | 21,151 | cpp | C++ | Sources/simdlib/SimdAvx512bwBackground.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | 6 | 2017-10-13T04:29:38.000Z | 2018-05-10T13:52:20.000Z | Sources/simdlib/SimdAvx512bwBackground.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | Sources/simdlib/SimdAvx512bwBackground.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2017 Yermalayeu Ihar.
*
* 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 with... | 46.282276 | 171 | 0.678597 | aestesis |
449a1d28de1e8247fe10a80b20c54d30a66e6ef7 | 5,953 | cc | C++ | chrome/browser/sync/sessions2/notification_service_sessions_router.cc | halton/chromium-crosswalk | bfcca582b723b9535907f0b410b920ef99911b70 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-16T03:57:28.000Z | 2021-01-23T15:29:45.000Z | chrome/browser/sync/sessions2/notification_service_sessions_router.cc | halton/chromium-crosswalk | bfcca582b723b9535907f0b410b920ef99911b70 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/sessions2/notification_service_sessions_router.cc | halton/chromium-crosswalk | bfcca582b723b9535907f0b410b920ef99911b70 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.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 "chrome/browser/sync/sessions2/notification_service_sessions_router.h"
#include "base/logging.h"
#include "chrome/browser/chrome_notification_ty... | 36.29878 | 79 | 0.731396 | halton |
449abbf133cc20d82be3597d42131224932e1570 | 8,104 | hpp | C++ | src/utilities/matrixDataSparse.hpp | GMLC-TDC/HELICS-FMI | f830c484c9aa340191a143a6227c79e7ab15ac39 | [
"BSD-3-Clause"
] | 3 | 2018-09-23T22:35:28.000Z | 2019-12-30T23:53:14.000Z | src/utilities/matrixDataSparse.hpp | GMLC-TDC/HELICS-FMI | f830c484c9aa340191a143a6227c79e7ab15ac39 | [
"BSD-3-Clause"
] | 1 | 2017-12-18T00:33:47.000Z | 2018-12-20T17:33:08.000Z | src/utilities/matrixDataSparse.hpp | GMLC-TDC/HELICS-FMI | f830c484c9aa340191a143a6227c79e7ab15ac39 | [
"BSD-3-Clause"
] | 1 | 2018-09-23T22:36:35.000Z | 2018-09-23T22:36:35.000Z | /*
* LLNS Copyright Start
* Copyright (c) 2017, Lawrence Livermore National Security
* This work was performed under the auspices of the U.S. Department
* of Energy by Lawrence Livermore National Laboratory in part under
* Contract W-7405-Eng-48 and in part under Contract DE-AC52-07NA27344.
* Produced at the Lawre... | 32.809717 | 114 | 0.618583 | GMLC-TDC |
449c7154ca945846417d9f3cd49227380218180d | 18,771 | cpp | C++ | XDKSamples/Audio/SimpleSpatialPlaySoundXDK/SimpleSpatialPlaySoundXDK.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | null | null | null | XDKSamples/Audio/SimpleSpatialPlaySoundXDK/SimpleSpatialPlaySoundXDK.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | null | null | null | XDKSamples/Audio/SimpleSpatialPlaySoundXDK/SimpleSpatialPlaySoundXDK.cpp | dephora/Xbox-ATG-Samples | 31e482c9e23def36073542ce614a0f0b145d7112 | [
"MIT"
] | 1 | 2020-07-30T11:13:23.000Z | 2020-07-30T11:13:23.000Z | //--------------------------------------------------------------------------------------
// SimpleSpatialPlaySoundXDK.cpp
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#i... | 32.363793 | 147 | 0.544883 | dephora |
449d53cb90ea98c78591551c0671486171fef3ed | 10,993 | hpp | C++ | glx_parse.hpp | degarashi/resonant | f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a | [
"MIT"
] | null | null | null | glx_parse.hpp | degarashi/resonant | f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a | [
"MIT"
] | null | null | null | glx_parse.hpp | degarashi/resonant | f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a | [
"MIT"
] | null | null | null | #pragma once
#define BOOST_NO_CXX11_DECLTYPE_N3276
#include "glhead.hpp"
#include "glx_macro.hpp"
#include <boost/spirit/home/x3.hpp>
#include <boost/fusion/container.hpp>
#include <boost/fusion/algorithm.hpp>
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
#include <boost/optional.hpp>
#include <iostream>
#inc... | 30.62117 | 95 | 0.67825 | degarashi |
449d6493802e3596be787c54569f9bf2cb7ba95d | 17,250 | cc | C++ | src/net/third_party/quiche/src/http2/decoder/http2_frame_decoder.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | null | null | null | src/net/third_party/quiche/src/http2/decoder/http2_frame_decoder.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | null | null | null | src/net/third_party/quiche/src/http2/decoder/http2_frame_decoder.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"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 "http2/decoder/http2_frame_decoder.h"
#include "http2/decoder/decode_status.h"
#include "http2/hpack/varint/hpack_varint_decoder.h"
#include "ht... | 36.624204 | 80 | 0.721333 | Mr-Sheep |
449f718883adf700136097c1880224309cdff4a0 | 5,559 | cc | C++ | sync/engine/get_updates_processor.cc | iplo/Chain | 8bc8943d66285d5258fffc41bed7c840516c4422 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | sync/engine/get_updates_processor.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-02-14T21:55:58.000Z | 2017-02-14T21:55:58.000Z | sync/engine/get_updates_processor.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.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 "sync/engine/get_updates_processor.h"
#include <map>
#include "sync/engine/get_updates_delegate.h"
#include "sync/engine/update_handler.h"
#inc... | 36.572368 | 80 | 0.712358 | iplo |
449fed2a69fe430949e7d60839d6d000354b2387 | 1,127 | cpp | C++ | dev/dll/MUXControlsFactory.cpp | micahl/microsoft-ui-xaml | 75ea41ee0847af715aa2ddad5dd2027f393b1e6b | [
"MIT"
] | 2 | 2019-08-26T17:16:26.000Z | 2020-04-30T20:31:20.000Z | dev/dll/MUXControlsFactory.cpp | chingucoding/microsoft-ui-xaml | 9c623fec308f1c081afbff2563e2acdff92729c3 | [
"MIT"
] | null | null | null | dev/dll/MUXControlsFactory.cpp | chingucoding/microsoft-ui-xaml | 9c623fec308f1c081afbff2563e2acdff92729c3 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include "common.h"
#include "XamlMetadataProvider.h"
#include "MUXControlsFactory.h"
#ifdef MATERIALS_INCLUDED
#include "RevealBrush.h"
... | 29.657895 | 189 | 0.692103 | micahl |
44a1bcac6aea0704b93cafaad5a39a82d38ca289 | 10,807 | cpp | C++ | tutorial/lesson_21_auto_scheduler_generate.cpp | knzivid/Halide | 9ab3566675408da8903e89710534cf97cead2e6f | [
"Apache-2.0"
] | null | null | null | tutorial/lesson_21_auto_scheduler_generate.cpp | knzivid/Halide | 9ab3566675408da8903e89710534cf97cead2e6f | [
"Apache-2.0"
] | null | null | null | tutorial/lesson_21_auto_scheduler_generate.cpp | knzivid/Halide | 9ab3566675408da8903e89710534cf97cead2e6f | [
"Apache-2.0"
] | null | null | null | // Halide tutorial lesson 21: Auto-Scheduler
// So far we have written Halide schedules by hand, but it is also possible to
// ask Halide to suggest a reasonable schedule. We call this auto-scheduling.
// This lesson demonstrates how to use the auto-scheduler to generate a
// copy-pasteable CPU schedule that can be su... | 46.183761 | 224 | 0.539835 | knzivid |
44a36b42047385d80544a250dec84cbf129c391a | 200 | hpp | C++ | book/cpp_templates/tmplbook/inherit/person.hpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/inherit/person.hpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/inherit/person.hpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | struct Person {
std::string firstName;
std::string lastName;
friend std::ostream& operator<<(std::ostream& strm, Person const& p) {
return strm << p.lastName << ", " << p.firstName;
}
};
| 22.222222 | 72 | 0.63 | houruixiang |
44a3d9a247c4a6e77edb0c73721b5a32764b0241 | 6,689 | cpp | C++ | Foundation/Profiler.cpp | zemo/naali | a02ee7a0547c5233579eda85dedb934b61c546ab | [
"Apache-2.0"
] | 1 | 2018-04-02T15:38:10.000Z | 2018-04-02T15:38:10.000Z | Foundation/Profiler.cpp | mattire/naali | 28c9cdc84c6a85e0151a222e55ae35c9403f0212 | [
"Apache-2.0"
] | null | null | null | Foundation/Profiler.cpp | mattire/naali | 28c9cdc84c6a85e0151a222e55ae35c9403f0212 | [
"Apache-2.0"
] | 1 | 2021-09-04T12:37:34.000Z | 2021-09-04T12:37:34.000Z | // For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "Profiler.h"
#include "CoreDefines.h"
#include "CoreMath.h"
#include "CoreStringUtils.h"
#include "HighPerfClock.h"
namespace Foundation
{
bool ProfilerBlock::supported_ = false;
Profiler *Profil... | 32.158654 | 169 | 0.626701 | zemo |
44a44ac6059547e812718efb59c035ca7eba8e06 | 517 | cpp | C++ | implementations/ugene/src/plugins_3rdparty/umuscle/src/muscle/nucmx.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/plugins_3rdparty/umuscle/src/muscle/nucmx.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/plugins_3rdparty/umuscle/src/muscle/nucmx.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | #include "muscle.h"
// BLASTZ default parameters
// open 400, extend 30, matrix as below
const float NUC_EXTEND = 30;
const float NUC_SP_CENTER = 2*NUC_EXTEND;
#define v(x) ((float) x + NUC_SP_CENTER)
#define ROW(A, C, G, T) \
{ v(A), v(C), v(G), v(T) },
float NUC_SP[32][32] =
{
// A C G ... | 21.541667 | 45 | 0.475822 | r-barnes |
44a69a20b8594d30a187b8835b2249035fcaa1f8 | 558 | hpp | C++ | headers/CameraComponent.hpp | bDiazCentro/AlchemyFramework | 6b55cdef1d0b9ddb4248382e44bbbfdb8320f062 | [
"MIT"
] | null | null | null | headers/CameraComponent.hpp | bDiazCentro/AlchemyFramework | 6b55cdef1d0b9ddb4248382e44bbbfdb8320f062 | [
"MIT"
] | null | null | null | headers/CameraComponent.hpp | bDiazCentro/AlchemyFramework | 6b55cdef1d0b9ddb4248382e44bbbfdb8320f062 | [
"MIT"
] | null | null | null | #ifndef CAMERA_COMPONENT_H
#define CAMERA_COMPONENT_H
enum Projection {ORTHOGRAPHIC, PERSPECTIVE};
class Object;
class TransformComponent;
class CameraComponent
{
private:
Object *father;
TransformComponent *lookTarget;
public:
Projection projection = Projection::ORTHOGRAPHIC;
float fov;
float n... | 18.6 | 51 | 0.731183 | bDiazCentro |
44a7eff02ed328189d46e66facaba07069b10113 | 5,432 | cc | C++ | source/extensions/filters/http/cache/range_utils.cc | VMAJSTER/envoy | bd0ec3d14bc2c6159ee9fafe76355f9607b5c9f7 | [
"Apache-2.0"
] | 1 | 2022-03-02T14:23:12.000Z | 2022-03-02T14:23:12.000Z | source/extensions/filters/http/cache/range_utils.cc | VMAJSTER/envoy | bd0ec3d14bc2c6159ee9fafe76355f9607b5c9f7 | [
"Apache-2.0"
] | 153 | 2021-10-04T04:32:48.000Z | 2022-03-31T04:22:40.000Z | source/extensions/filters/http/cache/range_utils.cc | VMAJSTER/envoy | bd0ec3d14bc2c6159ee9fafe76355f9607b5c9f7 | [
"Apache-2.0"
] | 1 | 2019-07-09T21:09:57.000Z | 2019-07-09T21:09:57.000Z | #include "source/extensions/filters/http/cache/range_utils.h"
#include <cstdint>
#include <limits>
#include <optional>
#include <string>
#include <vector>
#include "envoy/http/header_map.h"
#include "source/common/common/assert.h"
#include "source/common/common/logger.h"
#include "source/common/http/headers.h"
#incl... | 31.218391 | 99 | 0.668078 | VMAJSTER |
44a881af02f2d62098b57b043f35fa22f4e6bfb1 | 13,167 | cpp | C++ | libs/math/test/test_bessel_j_prime.cpp | Abce/boost | 2d7491a27211aa5defab113f8e2d657c3d85ca93 | [
"BSL-1.0"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | libs/boost/libs/math/test/test_bessel_j_prime.cpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/boost/libs/math/test/test_bessel_j_prime.cpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | // Copyright (c) 2013 Anton Bikineev
// 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)
#include "pch_light.hpp"
#include "test_bessel_j_prime.hpp"
//
// DESCRIPTION:... | 42.474194 | 163 | 0.422116 | Abce |
44ac1a7984f5ed8e0db102c285c629ecebd3b1e5 | 518 | cpp | C++ | multiview/multiview_cpp/src/testcases/pipeline/serialize_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/testcases/pipeline/serialize_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/testcases/pipeline/serialize_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#include <algorithm>
#include <iterator>
#define CATCH_CONFIG_PREFIX_ALL
#include "perceive/contrib/catch.hpp"
#include "perceive/scene/scene-description.hpp"
#include "perceive/pipeline/frame-results.hpp"
#include "perceive/pipeline/nodes/nodes.hpp"
namespace perceive::pipeline
{
static std::string json_to_string(... | 22.521739 | 63 | 0.774131 | prcvlabs |
44ac457f50baea79aae03e03037c6a508dbe5c66 | 32,268 | cpp | C++ | bbs/lilo.cpp | dotelpenguin/wwiv | 58d651fea6a5287da3282f9afb05e43ff3012fee | [
"Apache-2.0"
] | null | null | null | bbs/lilo.cpp | dotelpenguin/wwiv | 58d651fea6a5287da3282f9afb05e43ff3012fee | [
"Apache-2.0"
] | null | null | null | bbs/lilo.cpp | dotelpenguin/wwiv | 58d651fea6a5287da3282f9afb05e43ff3012fee | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)1998-2020, WWIV Software Services */
/* ... | 31.086705 | 117 | 0.556775 | dotelpenguin |
44ae758972bebb36226c9b9f99def329ac8e1949 | 15,661 | cpp | C++ | Source/Ilum/Editor/Panels/Inspector.cpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | 1 | 2021-11-20T15:39:09.000Z | 2021-11-20T15:39:09.000Z | Source/Ilum/Editor/Panels/Inspector.cpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | null | null | null | Source/Ilum/Editor/Panels/Inspector.cpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | null | null | null | #include "Inspector.hpp"
#include "Editor/Editor.hpp"
#include "Scene/Component/DirectionalLight.hpp"
#include "Scene/Component/Hierarchy.hpp"
#include "Scene/Component/Light.hpp"
#include "Scene/Component/MeshRenderer.hpp"
#include "Scene/Component/PointLight.hpp"
#include "Scene/Component/SpotLight.hpp"
#include "S... | 30.889546 | 211 | 0.655961 | LavenSun |
44b2af13c4693fd56ed378502edc9b95c73f56b9 | 1,482 | cc | C++ | bench/SpConvI8Benchmark.cc | wuhuikx/FBGEMM | 672beabd4c315a020adf07a1b8bd2018a18e0dd1 | [
"BSD-3-Clause"
] | null | null | null | bench/SpConvI8Benchmark.cc | wuhuikx/FBGEMM | 672beabd4c315a020adf07a1b8bd2018a18e0dd1 | [
"BSD-3-Clause"
] | null | null | null | bench/SpConvI8Benchmark.cc | wuhuikx/FBGEMM | 672beabd4c315a020adf07a1b8bd2018a18e0dd1 | [
"BSD-3-Clause"
] | null | null | null | #include "bench/BenchUtils.h"
#include "fbgemm/FbgemmSpConv.h"
#include <iostream>
using namespace std;
using namespace fbgemm;
int main(int, char**) {
vector<char> llc(128 * 1024 * 1024);
// clang-format off
vector<vector<unsigned>> shapes = {
{128, 128, 28, 28}
};
// clang-format on
// C is MxN -... | 25.551724 | 77 | 0.566127 | wuhuikx |
44b2e6adf30b88a0ccc2f148269d3d56fbc317a9 | 1,885 | cpp | C++ | icpc/2020-3-21/G.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | icpc/2020-3-21/G.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | icpc/2020-3-21/G.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
#define NMAX 12
#define RMOD 10000007
#define MOD1 941
#define MOD2 10627
typedef long long i64;
typedef i64 Matrix[NMAX][NMAX];
void mul(Matrix a, Matrix b, int n, i64 MOD) {
Matrix c;
memset(c, 0, sizeof(c));
for (int i ... | 19.43299 | 54 | 0.427586 | Riteme |
44b42e1ff8366e9c6d4d972ef92ae5bf49e31420 | 5,529 | cpp | C++ | slobrok/src/tests/startsome/tstdst.cpp | atveit/vespa | 545898728f29a9ed7fcae223bfb0c85f24227af8 | [
"Apache-2.0"
] | null | null | null | slobrok/src/tests/startsome/tstdst.cpp | atveit/vespa | 545898728f29a9ed7fcae223bfb0c85f24227af8 | [
"Apache-2.0"
] | 1 | 2021-01-21T01:37:37.000Z | 2021-01-21T01:37:37.000Z | slobrok/src/tests/startsome/tstdst.cpp | atveit/vespa | 545898728f29a9ed7fcae223bfb0c85f24227af8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/util/host_name.h>
#include <vespa/fastos/app.h>
#include <vespa/fnet/frt/supervisor.h>
#include <vespa/fnet/frt/invoker.h>
#include <vespa/fnet/transport.h>
#include <vespa/fn... | 24.573333 | 118 | 0.583469 | atveit |
44b43fa6dbfdca8589f6eedd3ea24335d6cb48df | 1,749 | cpp | C++ | 10002.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10002.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | 10002.cpp | felikjunvianto/kfile-uvaoj-submissions | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi 2*acos(0.0)
#de... | 16.980583 | 84 | 0.523728 | felikjunvianto |
44b51a507ec5e8bb63bd86383598b502d03c7e43 | 30,138 | cpp | C++ | BE_Supporter/MtnAlgo/MtnAFT/dllsrc/MotDLL_LoadWbDefSpeedServo.cpp | ZHAOZhengyi-tgx/BE-Supporter_2016 | 88bb9c7b1c16afeaff4855aa0dd3b316c394e68a | [
"MIT"
] | null | null | null | BE_Supporter/MtnAlgo/MtnAFT/dllsrc/MotDLL_LoadWbDefSpeedServo.cpp | ZHAOZhengyi-tgx/BE-Supporter_2016 | 88bb9c7b1c16afeaff4855aa0dd3b316c394e68a | [
"MIT"
] | null | null | null | BE_Supporter/MtnAlgo/MtnAFT/dllsrc/MotDLL_LoadWbDefSpeedServo.cpp | ZHAOZhengyi-tgx/BE-Supporter_2016 | 88bb9c7b1c16afeaff4855aa0dd3b316c394e68a | [
"MIT"
] | null | null | null | //The MIT License (MIT)
//
//Copyright (c) 2016 ZHAOZhengyi-tgx
//
//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... | 38.197719 | 182 | 0.769693 | ZHAOZhengyi-tgx |
44b5df20667816f2f1155dcb84c7690555a09f9e | 4,735 | cpp | C++ | samples/hot-triangle/hot_wasm.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 29 | 2021-11-19T11:28:22.000Z | 2022-03-29T00:26:51.000Z | samples/hot-triangle/hot_wasm.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | null | null | null | samples/hot-triangle/hot_wasm.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 1 | 2022-03-05T08:14:40.000Z | 2022-03-05T08:14:40.000Z | #include "cgpu/api.h"
#include "utils.h"
#include "platform/thread.h"
#include <filesystem>
#include <fstream>
#include "filewatch.hpp"
// Watch triangle_module32.wasm file automatically
struct WasmWatcher {
WasmWatcher()
{
auto cpath = std::filesystem::absolute("triangle_module32.wasm");
watch... | 32.655172 | 119 | 0.608659 | SakuraEngine |
44b7c175f87157a0c864a2a66653d688f42cfb1d | 10,997 | cpp | C++ | examples/headless/main.cpp | WebKitForWayland/wpe-mesa | 3f9f87d5f42c27a22273d67db072bd7f2cba6135 | [
"BSD-2-Clause"
] | 2 | 2019-09-17T04:49:55.000Z | 2021-01-09T18:24:58.000Z | examples/headless/main.cpp | WebKitForWayland/wpe-mesa | 3f9f87d5f42c27a22273d67db072bd7f2cba6135 | [
"BSD-2-Clause"
] | 3 | 2017-11-02T13:08:03.000Z | 2018-09-27T13:10:56.000Z | examples/headless/main.cpp | WebKitForWayland/wpe-mesa | 3f9f87d5f42c27a22273d67db072bd7f2cba6135 | [
"BSD-2-Clause"
] | 10 | 2017-05-03T21:15:46.000Z | 2020-03-18T13:58:42.000Z |
#include <cairo.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <WebKit/WKContext.h>
#include <WebKit/WKFramePolicyListener.h>
#include <WebKit/WKPage.h>
#include <WebKit/WKPageGroup.h>
#include <WebKit/WKPageConfigurationRef.h>
#include <WebKit/WKRetainPtr.h>... | 33.629969 | 148 | 0.71765 | WebKitForWayland |
44b8aed5f961a35c4f2f3d12a3f667cdc2618839 | 1,492 | hxx | C++ | main/vcl/unx/gtk/a11y/atkregistry.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/vcl/unx/gtk/a11y/atkregistry.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/vcl/unx/gtk/a11y/atkregistry.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... | 40.324324 | 148 | 0.69437 | Grosskopf |
44bb335564831dcab945d1d801e2b3ac69da9f8f | 2,763 | cpp | C++ | source/Kai/Kai.cpp | ioquatix/kai | 4f8d00cd05b4123b6389f8dc3187ec1421b4f2da | [
"Unlicense",
"MIT"
] | 4 | 2016-07-19T08:53:09.000Z | 2021-08-03T10:06:41.000Z | source/Kai/Kai.cpp | ioquatix/kai | 4f8d00cd05b4123b6389f8dc3187ec1421b4f2da | [
"Unlicense",
"MIT"
] | null | null | null | source/Kai/Kai.cpp | ioquatix/kai | 4f8d00cd05b4123b6389f8dc3187ec1421b4f2da | [
"Unlicense",
"MIT"
] | null | null | null | //
// Kai.cpp
// This file is part of the "Kai" project, and is released under the MIT license.
//
// Created by Samuel Williams on 24/06/09.
// Copyright 2009 Samuel Williams. All rights reserved.
//
//
#include "Kai.hpp"
#include <ctime>
#include <sys/time.h>
#include <cmath>
#include "Ensure.hpp"
namespace Ka... | 17.487342 | 82 | 0.608035 | ioquatix |
44bbff8144dc025ab63103ad8dee8c2501895795 | 7,938 | cpp | C++ | asio-basic/src/main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 2 | 2021-03-03T08:40:39.000Z | 2021-06-15T15:32:28.000Z | asio-basic/src/main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 3 | 2021-01-04T17:47:48.000Z | 2021-03-17T05:54:00.000Z | asio-basic/src/main.cpp | kovdan01/cosec-examples | bf19f2e2db8962d80ee7ce237be1c8af9e901cc9 | [
"MIT"
] | 3 | 2020-12-17T20:10:56.000Z | 2021-04-28T09:03:16.000Z | #include <ce/asio-main.hpp>
#include <ce/charconv.hpp>
#include <ce/format.hpp>
#include <ce/io_context_signal_interrupter.hpp>
#include <ce/socket_session.hpp>
#include <ce/tcp_listener.hpp>
#include <boost/asio/buffer.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/read_until.hpp>
#include <boost/asio... | 48.699387 | 104 | 0.434492 | kovdan01 |
44bf949e3966b4cbcfb69a1b6abaa4be59679694 | 2,390 | hpp | C++ | core/src/utils/MeshUtils.hpp | lonnibesancon/utymap | 6d14a3d1386aade8c2755da4abc00269284c90d4 | [
"Apache-2.0"
] | 1 | 2019-04-04T14:20:37.000Z | 2019-04-04T14:20:37.000Z | core/src/utils/MeshUtils.hpp | lonnibesancon/utymap | 6d14a3d1386aade8c2755da4abc00269284c90d4 | [
"Apache-2.0"
] | null | null | null | core/src/utils/MeshUtils.hpp | lonnibesancon/utymap | 6d14a3d1386aade8c2755da4abc00269284c90d4 | [
"Apache-2.0"
] | null | null | null | #ifndef UTILS_MESHUTILS_HPP_DEFINED
#define UTILS_MESHUTILS_HPP_DEFINED
#include "math/Mesh.hpp"
#include "math/Vector3.hpp"
namespace utymap { namespace utils {
/// Copies mesh into existing one adjusting position.
inline void copyMesh(const utymap::math::Vector3& position, const utymap::math::Mesh& source, utymap:... | 41.929825 | 128 | 0.689121 | lonnibesancon |
44c0d08c30036ed7bfff7d18d81cf9471f75ae34 | 1,009 | cpp | C++ | Emaject/examples/single/main.cpp | tyanmahou/Emaject | f0fcac3a251ce5be7cde3330fe23a40d68155e56 | [
"MIT"
] | 7 | 2020-12-14T13:41:22.000Z | 2021-03-02T05:45:57.000Z | Emaject/examples/single/main.cpp | tyanmahou/Emaject | f0fcac3a251ce5be7cde3330fe23a40d68155e56 | [
"MIT"
] | null | null | null | Emaject/examples/single/main.cpp | tyanmahou/Emaject | f0fcac3a251ce5be7cde3330fe23a40d68155e56 | [
"MIT"
] | null | null | null | #include <Emaject.hpp>
#include <iostream>
#include <string_view>
using emaject::Container;
using emaject::IInstaller;
using emaject::Injector;
class ICounter
{
public:
virtual int countUp() = 0;
};
class Counter : public ICounter
{
int m_count;
public:
int countUp() override
{
return ++m_c... | 18.685185 | 71 | 0.561943 | tyanmahou |
44c0e4659e106d874878c8282a67bd2c1a2b98c0 | 5,505 | hpp | C++ | boost/spirit/home/qi/binary/binary.hpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | 14 | 2017-03-07T00:14:33.000Z | 2022-02-09T00:59:22.000Z | boost/spirit/home/qi/binary/binary.hpp | xin3liang/platform_external_boost | ac861f8c0f33538060790a8e50701464ca9982d3 | [
"BSL-1.0"
] | 11 | 2016-11-22T13:14:55.000Z | 2021-12-14T00:56:51.000Z | boost/spirit/home/qi/binary/binary.hpp | xin3liang/platform_external_boost | ac861f8c0f33538060790a8e50701464ca9982d3 | [
"BSL-1.0"
] | 6 | 2016-11-07T13:38:45.000Z | 2021-04-04T12:13:31.000Z | // Copyright (c) 2001-2009 Hartmut Kaiser
//
// 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)
#if !defined(BOOST_SPIRIT_BINARY_MAY_08_2007_0808AM)
#define BOOST_SPIRIT_BINARY_MAY_08_2007_0808AM
#if defined(_MSC_... | 28.230769 | 80 | 0.511353 | mike-code |
44c8353090b0769752263407a204cf656aafdaef | 1,402 | cc | C++ | content/renderer/render_view_impl_params.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/render_view_impl_params.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/render_view_impl_params.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/render_view_impl_params.h"
namespace content {
RenderViewImplParams::RenderViewImplParams(
int32 opener_id,
const... | 31.155556 | 73 | 0.751783 | nagineni |
44c841f626c8c0b3ddfd101beedf7b32824828d1 | 41,862 | cpp | C++ | src/core/NEON/kernels/NEFFTRadixStageKernel.cpp | wql15/ComputeLibrary | 11eac125873e91c828e318224db45701e2f32b39 | [
"MIT"
] | 2,313 | 2017-03-24T16:25:28.000Z | 2022-03-31T03:00:30.000Z | src/core/NEON/kernels/NEFFTRadixStageKernel.cpp | wql15/ComputeLibrary | 11eac125873e91c828e318224db45701e2f32b39 | [
"MIT"
] | 952 | 2017-03-28T07:05:58.000Z | 2022-03-30T09:54:02.000Z | src/core/NEON/kernels/NEFFTRadixStageKernel.cpp | wql15/ComputeLibrary | 11eac125873e91c828e318224db45701e2f32b39 | [
"MIT"
] | 714 | 2017-03-24T22:21:51.000Z | 2022-03-18T19:49:57.000Z | /*
* Copyright (c) 2019-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... | 38.761111 | 197 | 0.563877 | wql15 |
44c86f41cc01255c35ea3adb29b45ac63f842ff0 | 3,814 | cc | C++ | test/regression/1082_pid_limits.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-04-06T16:17:36.000Z | 2015-04-06T16:17:36.000Z | test/regression/1082_pid_limits.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/regression/1082_pid_limits.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2014-2015 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 31.00813 | 75 | 0.680126 | harderthan |
44c9cf1d77aee37973276e30533af93303fd2154 | 21,223 | cc | C++ | remoting/host/security_key/security_key_ipc_server_unittest.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | remoting/host/security_key/security_key_ipc_server_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | remoting/host/security_key/security_key_ipc_server_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // 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 "remoting/host/security_key/security_key_ipc_server.h"
#include <memory>
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h... | 40.813462 | 80 | 0.774867 | zipated |
44ca3b476d5e6445e91b7ec6b8e65eb51b8ecf2e | 1,719 | cpp | C++ | S3DWrapper10/Commands/ResourceIsStagingBusy.cpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 27 | 2020-11-12T19:24:54.000Z | 2022-03-27T23:10:45.000Z | S3DWrapper10/Commands/ResourceIsStagingBusy.cpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 2 | 2020-11-02T06:30:39.000Z | 2022-02-23T18:39:55.000Z | S3DWrapper10/Commands/ResourceIsStagingBusy.cpp | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 3 | 2021-08-16T00:21:08.000Z | 2022-02-23T19:19:36.000Z | #include "stdafx.h"
#include "ResourceIsStagingBusy.h"
#include "..\Streamer\CodeGenerator.h"
#include "D3DDeviceWrapper.h"
namespace Commands
{
void ResourceIsStagingBusy::Execute( D3DDeviceWrapper *pWrapper )
{
// Do nothing because it's a BOOL type, so we have to call it in the wrapper function
//
// pWrap... | 27.285714 | 108 | 0.74171 | bo3b |
44ca6f2bc58ca3c589bc2a05f7be852628765b92 | 935 | hpp | C++ | apps/idcard/text_ocr.hpp | fireae/caffe_latte | a28559481c2864c79d4b393e91869eb77c0a75fe | [
"Intel",
"BSD-2-Clause"
] | 7 | 2018-02-06T13:48:17.000Z | 2019-04-08T13:56:22.000Z | apps/idcard/text_ocr.hpp | fireae/caffe_latte | a28559481c2864c79d4b393e91869eb77c0a75fe | [
"Intel",
"BSD-2-Clause"
] | null | null | null | apps/idcard/text_ocr.hpp | fireae/caffe_latte | a28559481c2864c79d4b393e91869eb77c0a75fe | [
"Intel",
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <caffe/caffe.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <string>
#include <vector>
using namespace std;
using namespace caffe;
typedef std::pair<std::string, float> Prediction;
typedef std::pair<int, float> Predict... | 24.605263 | 80 | 0.728342 | fireae |
44cb694d84fed0d915b42b435273cebf7e8bfae4 | 19,303 | cpp | C++ | irrlicht/q3factory.cpp | osom8979/example | f3cbe2c345707596edc1ec2763f9318c4676a92f | [
"Zlib"
] | 1 | 2020-02-11T05:37:54.000Z | 2020-02-11T05:37:54.000Z | irrlicht/q3factory.cpp | osom8979/example | f3cbe2c345707596edc1ec2763f9318c4676a92f | [
"Zlib"
] | null | null | null | irrlicht/q3factory.cpp | osom8979/example | f3cbe2c345707596edc1ec2763f9318c4676a92f | [
"Zlib"
] | 1 | 2022-03-01T00:47:19.000Z | 2022-03-01T00:47:19.000Z | /*!
Model Factory.
create the additional scenenodes for ( bullets, health... )
Defines the Entities for Quake3
*/
#include "q3factory.h"
#include "sound.h"
using namespace irr;
using namespace scene;
using namespace gui;
using namespace video;
using namespace core;
using namespace quake3;
//! This list is based ... | 26.478738 | 99 | 0.588043 | osom8979 |
44cec18bafefb76b4fee8356792c761ff7605922 | 14,594 | cpp | C++ | tests/helics/core/TcpSSCore-tests.cpp | manoj1511/HELICS | 5b085bb4331f943d3fa98eb40056c3e10a1b882d | [
"BSD-3-Clause"
] | null | null | null | tests/helics/core/TcpSSCore-tests.cpp | manoj1511/HELICS | 5b085bb4331f943d3fa98eb40056c3e10a1b882d | [
"BSD-3-Clause"
] | null | null | null | tests/helics/core/TcpSSCore-tests.cpp | manoj1511/HELICS | 5b085bb4331f943d3fa98eb40056c3e10a1b882d | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2017-2019,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See
the top-level NOTICE for additional details. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#include "gtest/gtest.h"
#include "helics/common/AsioContextManager.h... | 32.004386 | 114 | 0.627313 | manoj1511 |
44cf291f2500924fecf9f707a3323aff6cdc6e68 | 965 | cpp | C++ | AtCoder/abc222/c/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | null | null | null | AtCoder/abc222/c/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | 1 | 2021-10-19T08:47:23.000Z | 2022-03-07T05:23:56.000Z | AtCoder/abc222/c/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
int n, m; cin >> n >> m;
vector<vector<char>> a(2 * n, vector<char>(m, '.'));
for (int i = 0; i < 2 * n; i++) for (int j = 0; j < m; j++) cin >> a[i][j];
vector<pair<int, int>> v(2 * n, make_pai... | 33.275862 | 79 | 0.426943 | H-Tatsuhiro |
44cfd4e7ce4d2e5e386c5d9f9bbba81b4557ed24 | 1,340 | cpp | C++ | SimTest/MaterialElementTest.cpp | doplusplus/Physics_Simulator | f562b07fe7c3e245c0ebc9d5618fe0c09114126c | [
"MIT"
] | null | null | null | SimTest/MaterialElementTest.cpp | doplusplus/Physics_Simulator | f562b07fe7c3e245c0ebc9d5618fe0c09114126c | [
"MIT"
] | 1 | 2015-09-03T08:03:12.000Z | 2015-10-06T20:11:48.000Z | SimTest/MaterialElementTest.cpp | doplusplus/PointSimulator | f562b07fe7c3e245c0ebc9d5618fe0c09114126c | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "CppUnitTest.h"
#include "..\SimModule\MaterialElement.h"
#include "..\SimModule\MechanicalAction.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace UnitTesting
{
TEST_CLASS(MaterialPointTest)
{
public:
TEST_METHOD(blankMatPointConstruction)
{
MaterialP... | 25.769231 | 97 | 0.647761 | doplusplus |
44d00fc1ec492aaf1d3ae338ca53775e5285ffe3 | 1,393 | cpp | C++ | src/xray/xrLC/xrHierrarhy.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | code/utils/xrLC/xrHierrarhy.cpp | ipl-adm/xray-oxygen | 3ae4d4911f5b000e93bdf108eb68db25315b2fc6 | [
"Apache-2.0"
] | null | null | null | code/utils/xrLC/xrHierrarhy.cpp | ipl-adm/xray-oxygen | 3ae4d4911f5b000e93bdf108eb68db25315b2fc6 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | #include "stdafx.h"
#include "build.h"
#include "OGF_Face.h"
void CBuild::BuildHierrarhy()
{
Fvector scene_size;
float delimiter;
scene_bb.getsize(scene_size);
delimiter = _MAX(scene_size.x,_MAX(scene_size.y,scene_size.z));
delimiter *= 2;
int iLevel = 1;
float SizeLimit = g_params.m_maxsize/8;
if (SizeL... | 23.610169 | 75 | 0.632448 | OLR-xray |
44d1c00390148f80ee55423ae2007210807794d1 | 12,255 | cpp | C++ | Source/Runtime/Private/Render/RB_PostProcess.cpp | ValtoGameEngines/Blueshift-Engine | 7d913bd85a50774c9eb151dceca02b8d4fe8e096 | [
"Apache-2.0"
] | 1 | 2019-11-15T04:20:25.000Z | 2019-11-15T04:20:25.000Z | Source/Runtime/Private/Render/RB_PostProcess.cpp | iceman201/BlueshiftEngine | 7d913bd85a50774c9eb151dceca02b8d4fe8e096 | [
"Apache-2.0"
] | null | null | null | Source/Runtime/Private/Render/RB_PostProcess.cpp | iceman201/BlueshiftEngine | 7d913bd85a50774c9eb151dceca02b8d4fe8e096 | [
"Apache-2.0"
] | 1 | 2020-06-29T08:05:44.000Z | 2020-06-29T08:05:44.000Z | // Copyright(c) 2017 POLYGONTEK
//
// 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... | 51.276151 | 221 | 0.644553 | ValtoGameEngines |
44d2f00ef7111469bb8aca0db3686b9f951d7d70 | 107,793 | cpp | C++ | src/Chain/libraries/glua/lauxlib.cpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 226 | 2017-09-07T13:13:08.000Z | 2022-02-26T09:07:10.000Z | src/Chain/libraries/glua/lauxlib.cpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 22 | 2017-09-26T03:36:21.000Z | 2020-08-23T19:59:40.000Z | src/Chain/libraries/glua/lauxlib.cpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 79 | 2017-09-08T02:57:08.000Z | 2022-02-02T12:46:31.000Z | /*
** $Id: lauxlib.c,v 1.284 2015/11/19 19:16:22 roberto Exp $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
#define lauxlib_cpp
#include <glua/lprefix.h>
#include <errno.h>
#include <stdarg.h>
#include <cstdint>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#inc... | 35.388378 | 242 | 0.596931 | WillAchain |
44d4f86af1df765eb59f67783b5fc33ec26b160f | 1,752 | cpp | C++ | button_maps.cpp | laparca/deconz-rest-plugin | d1298938484538f858428b12632269ffddb31484 | [
"BSD-3-Clause"
] | 1,765 | 2015-06-09T08:10:44.000Z | 2022-03-29T16:20:41.000Z | button_maps.cpp | laparca/deconz-rest-plugin | d1298938484538f858428b12632269ffddb31484 | [
"BSD-3-Clause"
] | 5,354 | 2015-01-09T21:18:14.000Z | 2022-03-31T21:41:56.000Z | button_maps.cpp | laparca/deconz-rest-plugin | d1298938484538f858428b12632269ffddb31484 | [
"BSD-3-Clause"
] | 506 | 2015-04-15T14:08:41.000Z | 2022-03-28T09:23:35.000Z | /*
* Copyright (c) 2021 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include "button_maps.h"
ButtonMapRef BM_Bu... | 29.2 | 124 | 0.625 | laparca |
44d58f95c48109cb0941412a0dece33936224fa1 | 2,548 | cpp | C++ | src/printing.cpp | indjev99/Sixty-Six-Bot | 7a09e4fade6671ebf51f8721b860b7f48653d7a9 | [
"MIT"
] | null | null | null | src/printing.cpp | indjev99/Sixty-Six-Bot | 7a09e4fade6671ebf51f8721b860b7f48653d7a9 | [
"MIT"
] | null | null | null | src/printing.cpp | indjev99/Sixty-Six-Bot | 7a09e4fade6671ebf51f8721b860b7f48653d7a9 | [
"MIT"
] | null | null | null | #ifdef _WIN32
#define OS_WINDOWS
#else
#ifdef __WIN32__
#define OS_WINDOWS
#else
#ifdef __WINDOWS__
#define OS_WINDOWS
#else
#define OS_UNIX
#endif
#endif
#endif
#include "printing.h"
#include "config.h"
#include <iostream>
#include <string>
#incl... | 19.014925 | 85 | 0.651491 | indjev99 |
44d698b4edab2bdb0a08e753bb70a7b7bee56ae6 | 5,283 | cc | C++ | components/sync/driver/startup_controller_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/sync/driver/startup_controller_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/sync/driver/startup_controller_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/driver/startup_controller.h"
#include <memory>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/run_loop.h... | 31.076471 | 79 | 0.738028 | sarang-apps |
44d87228414d19518d2172db0707da54cd025a12 | 4,489 | cpp | C++ | Group3_FinalProject/GLTextWriter.cpp | BrandonLittell/PinballGL | d2678f0e916cdb8b8a234243feeda03a196e5bc8 | [
"MIT"
] | 1 | 2016-12-17T12:28:42.000Z | 2016-12-17T12:28:42.000Z | Group3_FinalProject/GLTextWriter.cpp | BrandonLittell/PinballGL | d2678f0e916cdb8b8a234243feeda03a196e5bc8 | [
"MIT"
] | null | null | null | Group3_FinalProject/GLTextWriter.cpp | BrandonLittell/PinballGL | d2678f0e916cdb8b8a234243feeda03a196e5bc8 | [
"MIT"
] | null | null | null |
// see
// http://nehe.gamedev.net/tutorial/bitmap_fonts/17002/
//
#include "GLTextWriter.h"
GLTextWriter::GLTextWriter( HDC& ahDC, HGLRC& ahRC ) : hDC( ahDC ), hRC( ahRC )
{
GLuint PixelFormat;
static PIXELFORMATDESCRIPTOR pfd= // pfd Tells Windows How We Want Things To Be
{
sizeof(PIXELFORMATDESCRIPTOR)... | 31.173611 | 123 | 0.637336 | BrandonLittell |
44d910c679948cd17474fba10a0939a90cb697b1 | 6,719 | cpp | C++ | src/client/udpclient.cpp | Jamol/udptest | c053ccfb8cb1af6bd85647421487117392328451 | [
"MIT"
] | null | null | null | src/client/udpclient.cpp | Jamol/udptest | c053ccfb8cb1af6bd85647421487117392328451 | [
"MIT"
] | null | null | null | src/client/udpclient.cpp | Jamol/udptest | c053ccfb8cb1af6bd85647421487117392328451 | [
"MIT"
] | null | null | null | //
// udptest.cpp
// udptest
//
// Created by Jamol Bao on 7/8/14.
// Copyright (c) 2014. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#include <thread>
#include <string>
#include <chrono>
#include "util.h"
using namespace std::chrono;
#define now_tick_ms() duration_cast<milliseconds>(steady_c... | 39.523529 | 125 | 0.51466 | Jamol |
44da3abdbe428ae12f3a00c31009289fc4ee97b5 | 469 | hpp | C++ | include/glm/gtc/vec1.hpp | anonreclaimer/glWebKit | 7c64ba02a734f2a97e023ad6e5dc9eebd7fadb6c | [
"MIT"
] | 1,726 | 2017-06-15T14:58:55.000Z | 2022-03-22T02:02:15.000Z | glm/gtc/vec1.hpp | mortennobel/SimpleVRCpp | 7a4f07c591413e805c9a3a24b21bc2650119b354 | [
"MIT"
] | 135 | 2018-09-09T06:46:04.000Z | 2022-01-29T19:33:12.000Z | glm/gtc/vec1.hpp | mortennobel/SimpleVRCpp | 7a4f07c591413e805c9a3a24b21bc2650119b354 | [
"MIT"
] | 107 | 2017-11-16T02:17:07.000Z | 2022-03-16T16:33:13.000Z | /// @ref gtc_vec1
/// @file glm/gtc/vec1.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_vec1 GLM_GTC_vec1
/// @ingroup gtc
///
/// Include <glm/gtc/vec1.hpp> to use the features of this extension.
///
/// Add vec1, ivec1, uvec1 and bvec1 types.
#pragma once
// Dependency:
#include "../ext/vec1.hpp"
#if GLM... | 20.391304 | 70 | 0.686567 | anonreclaimer |
44dab2d8391e19874d9abbb912167dcdc5f8476d | 9,320 | cpp | C++ | lib-l6470dmx/src/sparkfundmxparams.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 5 | 2019-04-25T20:03:19.000Z | 2021-12-29T23:28:17.000Z | lib-l6470dmx/src/sparkfundmxparams.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | null | null | null | lib-l6470dmx/src/sparkfundmxparams.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 1 | 2021-12-31T01:33:02.000Z | 2021-12-31T01:33:02.000Z | /**
* @file sparkfundmxparams.cpp
*
*/
/* Copyright (C) 2019-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* 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, ... | 28.676923 | 158 | 0.768133 | rodb70 |
44dbe86663dded8f98a276203200cbe293697a0e | 635 | hpp | C++ | EDMUtils/interface/TFileUtils.hpp | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | EDMUtils/interface/TFileUtils.hpp | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | EDMUtils/interface/TFileUtils.hpp | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Filename : TFileUtils.hpp
* Description : Helper functions for interacting with TFiles for EDM Plugins
* Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ]
*
***********************************************************... | 35.277778 | 88 | 0.568504 | NTUHEP-Tstar |
44e03dfa68fdcc6559b576e2836cc825db3d5394 | 15,917 | cpp | C++ | examples/OpenGLES/Multithreading/OpenGLESMultithreading.cpp | jjYBdx4IL/Native_SDK | 5e1cdf579fd0a98c26935ebef098dd3f41829c86 | [
"MIT"
] | null | null | null | examples/OpenGLES/Multithreading/OpenGLESMultithreading.cpp | jjYBdx4IL/Native_SDK | 5e1cdf579fd0a98c26935ebef098dd3f41829c86 | [
"MIT"
] | null | null | null | examples/OpenGLES/Multithreading/OpenGLESMultithreading.cpp | jjYBdx4IL/Native_SDK | 5e1cdf579fd0a98c26935ebef098dd3f41829c86 | [
"MIT"
] | null | null | null | /*!
\brief Shows how to perform tangent space bump mapping using a secondary thread to load the texture.
\file OpenGLESMultithreading.cpp
\author PowerVR by Imagination, Developer Technology Team
\copyright Copyright (c) Imagination Technologies Limited.
*/
#include "PVRShell/PVRShell.h"
#include "PVRUtils/PVRUtilsGle... | 37.540094 | 171 | 0.740969 | jjYBdx4IL |
44e3eb6788881c36c808f4dad8cd56e18633b465 | 13,038 | cpp | C++ | src/camera_capture_flea3/Fla3Camera.cpp | neemoh/ART | 3f990b9d3c4b58558adf97866faf4eea553ba71b | [
"Unlicense"
] | 11 | 2018-06-29T19:08:08.000Z | 2021-12-30T07:13:00.000Z | src/camera_capture_flea3/Fla3Camera.cpp | liuxia-zju/ATAR | 3f990b9d3c4b58558adf97866faf4eea553ba71b | [
"Unlicense"
] | 1 | 2020-05-09T23:44:55.000Z | 2020-05-09T23:44:55.000Z | src/camera_capture_flea3/Fla3Camera.cpp | liuxia-zju/ATAR | 3f990b9d3c4b58558adf97866faf4eea553ba71b | [
"Unlicense"
] | 6 | 2017-11-28T14:26:18.000Z | 2019-11-29T01:57:14.000Z | #include "Fla3Camera.h"
#include <sensor_msgs/fill_image.h>
#include <cv_bridge/cv_bridge.h>
//#include <stdexcept>
// ============================================================================
// ----------------------------------------------------------------------------
Fla3Camera::Fla3Camera()
{
}
// ---------... | 33.864935 | 135 | 0.604617 | neemoh |
44e475be2679c252799eca51c927e6a68fc702f9 | 249 | cpp | C++ | ACT.cpp | Marethyu12/SPOJ-solutions | 10fb3352e0b8818be40f7df2285b0d30a0fdc09c | [
"Unlicense"
] | null | null | null | ACT.cpp | Marethyu12/SPOJ-solutions | 10fb3352e0b8818be40f7df2285b0d30a0fdc09c | [
"Unlicense"
] | null | null | null | ACT.cpp | Marethyu12/SPOJ-solutions | 10fb3352e0b8818be40f7df2285b0d30a0fdc09c | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int T;
int n;
string s;
cin >> T;
while (T--)
{
cin >> n >> s;
cout << s[s.length() - 1] << "\n";
}
return 0;
} | 9.96 | 36 | 0.518072 | Marethyu12 |
44e49e3e71071e2eecc70d5cd22e75159f331354 | 18,834 | cc | C++ | tuplex/utils/src/hashmap.cc | rahulyesantharao/tuplex | 03733a57ccb5a3770eecaf1c3adcfb520ed82138 | [
"Apache-2.0"
] | 778 | 2021-06-30T03:40:43.000Z | 2022-03-28T20:40:20.000Z | tuplex/utils/src/hashmap.cc | rahulyesantharao/tuplex | 03733a57ccb5a3770eecaf1c3adcfb520ed82138 | [
"Apache-2.0"
] | 41 | 2021-07-05T17:55:56.000Z | 2022-03-31T15:27:19.000Z | tuplex/utils/src/hashmap.cc | rahulyesantharao/tuplex | 03733a57ccb5a3770eecaf1c3adcfb520ed82138 | [
"Apache-2.0"
] | 39 | 2021-07-01T02:40:33.000Z | 2022-03-30T21:46:55.000Z | //--------------------------------------------------------------------------------------------------------------------//
// //
// Tuplex: Blazing Fast Python Data Scien... | 36.4294 | 120 | 0.564246 | rahulyesantharao |
44e4d22bc36c080b39d17cccafdcce9edcb923fa | 8,192 | hpp | C++ | Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/boolinvec.hpp | Mercesa/The-Forge | 13d7604bde91f90188c9dcb480ea6e97f60f1645 | [
"Apache-2.0"
] | 3,058 | 2017-10-03T01:33:22.000Z | 2022-03-30T22:04:23.000Z | Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/boolinvec.hpp | juteman/The-Forge | e882fbc000b2915b52c98fe3a8c791930490dd3c | [
"Apache-2.0"
] | 157 | 2018-01-26T10:18:33.000Z | 2022-03-06T10:59:23.000Z | Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/boolinvec.hpp | juteman/The-Forge | e882fbc000b2915b52c98fe3a8c791930490dd3c | [
"Apache-2.0"
] | 388 | 2017-12-21T10:52:32.000Z | 2022-03-31T18:25:49.000Z | /*
Copyright (C) 2006, 2007 Sony Computer Entertainment 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
noti... | 33.436735 | 120 | 0.692017 | Mercesa |
44e6bf6b98a9b2306281b7ce9ae9d432a72f37db | 207 | hpp | C++ | liteCV/imgproc/imgproc.hpp | prodeveloper0/liteCV | d3be9799d18fb3e15dba85380c85a365742cfae2 | [
"MIT"
] | 4 | 2021-12-08T12:15:04.000Z | 2021-12-10T08:39:20.000Z | liteCV/imgproc/imgproc.hpp | prodeveloper0/liteCV | d3be9799d18fb3e15dba85380c85a365742cfae2 | [
"MIT"
] | null | null | null | liteCV/imgproc/imgproc.hpp | prodeveloper0/liteCV | d3be9799d18fb3e15dba85380c85a365742cfae2 | [
"MIT"
] | null | null | null | #pragma once
#ifndef LCV_IMGPROC_HPP
#define LCV_IMGPROC_HPP
#include "border.hpp"
#include "interpolation.hpp"
#include "color.hpp"
#include "filter.hpp"
#include "transform.hpp"
#endif // LCV_IMGPROC_HPP
| 18.818182 | 28 | 0.777778 | prodeveloper0 |
44e718badd567bd6de06d2da5e64b9d10526c15f | 1,159 | hpp | C++ | include/uneuro/network.hpp | AdamsPL/uneuro | 9f4c74051b1accf05cbc7fb22a834c96bb5c100f | [
"MIT"
] | null | null | null | include/uneuro/network.hpp | AdamsPL/uneuro | 9f4c74051b1accf05cbc7fb22a834c96bb5c100f | [
"MIT"
] | null | null | null | include/uneuro/network.hpp | AdamsPL/uneuro | 9f4c74051b1accf05cbc7fb22a834c96bb5c100f | [
"MIT"
] | null | null | null | #pragma once
#include <cstdlib>
#include <tuple>
#include "backprop.hpp"
#include "utils.hpp"
template <typename... Layers>
class Network
{
public:
constexpr Network(Layers&&... layers)
: layers(layers...)
{
}
template <size_t N>
constexpr auto &get()
{
return std::get<N>(layers);
}
template<size_t N =... | 17.830769 | 59 | 0.646247 | AdamsPL |
44e72e61bd81bdac254b9f521008e2440ee9b4d2 | 15,012 | cpp | C++ | TopTestWidgets/privateSource/qlogvalueaxis.cpp | cy15196/xxxxRsmTest | 36577173ef2cdfc3c3d4cadd3933849d29d5b3d9 | [
"MIT"
] | 1 | 2020-02-12T03:20:37.000Z | 2020-02-12T03:20:37.000Z | TopTestWidgets/privateSource/qlogvalueaxis.cpp | cy15196/xxxxRsmTest | 36577173ef2cdfc3c3d4cadd3933849d29d5b3d9 | [
"MIT"
] | null | null | null | TopTestWidgets/privateSource/qlogvalueaxis.cpp | cy15196/xxxxRsmTest | 36577173ef2cdfc3c3d4cadd3933849d29d5b3d9 | [
"MIT"
] | 1 | 2019-04-14T09:58:50.000Z | 2019-04-14T09:58:50.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Charts module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid comme... | 28.594286 | 100 | 0.651079 | cy15196 |
44e84d39d9379abddbc760e882f65b279616b511 | 254,693 | cpp | C++ | src_main/game/server/episodic/npc_hunter.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 25 | 2018-02-28T15:04:42.000Z | 2021-08-16T03:49:00.000Z | src_main/game/server/episodic/npc_hunter.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 1 | 2019-09-20T11:06:03.000Z | 2019-09-20T11:06:03.000Z | src_main/game/server/episodic/npc_hunter.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 9 | 2019-07-31T11:58:20.000Z | 2021-08-31T11:18:15.000Z | //==== Copyright © 1996-2007, Valve Corporation, All rights reserved. =========
//
// Small, fast version of the strider. Goes where striders cannot, such
// as into buildings. Best killed with physics objects and explosives.
#include "cbase.h"
#include "npc_hunter.h"
#include "IEffects.h"
#include "Sprite... | 35.686283 | 176 | 0.560628 | ArcadiusGFN |
44ea0fcf83c97513bc98c50cbdbaf7de3edd24f4 | 66,974 | cpp | C++ | code/UnrealText/Plugins/UnrealCV/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/UnrealCV/StickerTextActor.gen.cpp | tson1997/UnrealText- | 4ce29a38c661e76b023f9759d4bea108a97ec8a8 | [
"MIT"
] | null | null | null | code/UnrealText/Plugins/UnrealCV/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/UnrealCV/StickerTextActor.gen.cpp | tson1997/UnrealText- | 4ce29a38c661e76b023f9759d4bea108a97ec8a8 | [
"MIT"
] | null | null | null | code/UnrealText/Plugins/UnrealCV/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/UnrealCV/StickerTextActor.gen.cpp | tson1997/UnrealText- | 4ce29a38c661e76b023f9759d4bea108a97ec8a8 | [
"MIT"
] | null | null | null | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==========================================================... | 85.42602 | 677 | 0.849613 | tson1997 |
44ea13fc52be2863e61e12a14ed144548672075b | 1,387 | cpp | C++ | Shoot-Game-Ver.1/Project3/MapLoader.cpp | Piorosen/Yore-Program | 939e4633648db0f5b2e24fe7b639a232f5518a16 | [
"MIT"
] | null | null | null | Shoot-Game-Ver.1/Project3/MapLoader.cpp | Piorosen/Yore-Program | 939e4633648db0f5b2e24fe7b639a232f5518a16 | [
"MIT"
] | null | null | null | Shoot-Game-Ver.1/Project3/MapLoader.cpp | Piorosen/Yore-Program | 939e4633648db0f5b2e24fe7b639a232f5518a16 | [
"MIT"
] | null | null | null |
#include "MapLoader.h"
MapLoader::MapLoader()
{
m_mapdata = 0;
path.operator=('\0');
}
void MapLoader::Initialize(unsigned int width, unsigned int height, const char * path)
{
m_mapdata = new MapData*[height];
for (int i = 0; i < height; i++) {
m_mapdata[i] = new MapData[width];
}
m_width = width;
m_heig... | 19.263889 | 86 | 0.626532 | Piorosen |
44edb8a73d4f2f912817d80275ae9ef4a1d7ca23 | 2,250 | cpp | C++ | GDADPRG_HO7/GameScene.cpp | NeilDG/GDADPRG-GDPARCM_Courseware | 771509ec7b3eb6d6375807819ca9da957dd22641 | [
"MIT"
] | null | null | null | GDADPRG_HO7/GameScene.cpp | NeilDG/GDADPRG-GDPARCM_Courseware | 771509ec7b3eb6d6375807819ca9da957dd22641 | [
"MIT"
] | null | null | null | GDADPRG_HO7/GameScene.cpp | NeilDG/GDADPRG-GDPARCM_Courseware | 771509ec7b3eb6d6375807819ca9da957dd22641 | [
"MIT"
] | null | null | null | #include "GameScene.h"
#include "BGObject.h"
#include "AirplanePlayer.h"
#include "AirplaneSupport.h"
#include "SpikePowerup.h"
#include "EnemyAirplane.h"
#include "GameObjectPool.h"
#include "ObjectPoolHolder.h"
#include "EmptyGameObject.h"
#include "EnemySwarmHandler.h"
#include "HUDScreen.h"
#include "ProjectileObje... | 27.108434 | 104 | 0.776 | NeilDG |
44ee6d908446516355b2355db821c9d1ace92293 | 2,061 | cpp | C++ | Course 2/Week 1/assignment1.cpp | liuhh02/stanford-algorithms-specialization | 9c5b3212f93c8adb8465998415f9a96eeb1669a6 | [
"MIT"
] | 45 | 2021-04-18T11:42:05.000Z | 2022-03-24T05:29:53.000Z | Course 2/Week 1/assignment1.cpp | vinuthaambekar/stanford-algorithms-specialization | 9c5b3212f93c8adb8465998415f9a96eeb1669a6 | [
"MIT"
] | 3 | 2021-09-18T15:02:54.000Z | 2022-03-26T03:37:22.000Z | Course 2/Week 1/assignment1.cpp | vinuthaambekar/stanford-algorithms-specialization | 9c5b3212f93c8adb8465998415f9a96eeb1669a6 | [
"MIT"
] | 26 | 2021-04-18T11:41:07.000Z | 2022-03-28T12:19:35.000Z | #include <bits/stdc++.h>
using namespace std;
void addEdge(vector<int> adj[], int s, int d) {
adj[s].push_back(d);
}
// Print the graph for debugging purposes
void printGraph(vector<int> adj[], int V) {
for (int d = 0; d < V; ++d) {
cout << "\n Vertex "
<< d << ":";
for (auto x : adj[d]... | 21.030612 | 78 | 0.445415 | liuhh02 |
44ee86a5c2a3b775b131400ba00384e0a1f9005e | 5,714 | hpp | C++ | general/src/Utils.hpp | mrpPhys/Isis | 0322a660e75f13605b0e6fc9688b0ca99b72999d | [
"MIT"
] | null | null | null | general/src/Utils.hpp | mrpPhys/Isis | 0322a660e75f13605b0e6fc9688b0ca99b72999d | [
"MIT"
] | null | null | null | general/src/Utils.hpp | mrpPhys/Isis | 0322a660e75f13605b0e6fc9688b0ca99b72999d | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////
//
// General package
//
// --------------------------------------------------------
//
// AUTHOR: Miguel Ramos Pernas
// e-mail: miguel.ramos.pernas@cern.ch
//
// Last update: 18/09/2017
//
// --------------------------------------------------------
//
//... | 32.83908 | 88 | 0.623031 | mrpPhys |
6021afb4d57e6fdccaca8c18f39a23c02f345a73 | 147 | hpp | C++ | pythran/pythonic/include/types/complex128.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,647 | 2015-01-13T01:45:38.000Z | 2022-03-28T01:23:41.000Z | pythran/pythonic/include/types/complex128.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,116 | 2015-01-01T09:52:05.000Z | 2022-03-18T21:06:40.000Z | pythran/pythonic/include/types/complex128.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 180 | 2015-02-12T02:47:28.000Z | 2022-03-14T10:28:18.000Z | #ifndef PYTHONIC_INCLUDE_TYPES_COMPLEX128_HPP
#define PYTHONIC_INCLUDE_TYPES_COMPLEX128_HPP
#include "pythonic/include/types/complex.hpp"
#endif
| 21 | 45 | 0.870748 | davidbrochart |
60245a8a5d41bd7df2563e3f78c36f5cc70b0dcc | 2,989 | cpp | C++ | Source/Tests/LinuxSyscalls/x64/Memory.cpp | Azkali/FEX | 264ec44276e5e04ba96a559e1407527bbc2135d6 | [
"MIT"
] | null | null | null | Source/Tests/LinuxSyscalls/x64/Memory.cpp | Azkali/FEX | 264ec44276e5e04ba96a559e1407527bbc2135d6 | [
"MIT"
] | null | null | null | Source/Tests/LinuxSyscalls/x64/Memory.cpp | Azkali/FEX | 264ec44276e5e04ba96a559e1407527bbc2135d6 | [
"MIT"
] | null | null | null | #include "Tests/LinuxSyscalls/Syscalls.h"
#include "Tests/LinuxSyscalls/x64/Syscalls.h"
#include <FEXCore/Core/Context.h>
#include <FEXCore/Debug/InternalThreadState.h>
#include <sys/mman.h>
#include <sys/shm.h>
#include <map>
#include <unistd.h>
#include <FEXCore/Core/Context.h>
#include <FEXCore/Config/Config.h>
#i... | 36.45122 | 174 | 0.669789 | Azkali |
602612c100826058d95f8390572915e5460a5eeb | 2,575 | cxx | C++ | debs/com.maxleiter.FLTK/usr/local/share/doc/fltk/examples/resizebox.cxx | MaxLeiter/Cydia | eb5ac542926523d55c7732c2077162daf5f3e0ef | [
"MIT"
] | 4 | 2020-05-15T03:43:53.000Z | 2021-06-05T16:21:31.000Z | debs/com.maxleiter.FLTK/usr/local/share/doc/fltk/examples/resizebox.cxx | MaxLeiter/Cydia | eb5ac542926523d55c7732c2077162daf5f3e0ef | [
"MIT"
] | 1 | 2021-04-19T19:48:04.000Z | 2021-04-19T19:48:04.000Z | debs/com.maxleiter.FLTK/usr/local/share/doc/fltk/examples/resizebox.cxx | MaxLeiter/Cydia | eb5ac542926523d55c7732c2077162daf5f3e0ef | [
"MIT"
] | 11 | 2020-03-28T19:24:12.000Z | 2021-10-18T00:20:45.000Z | //
// "$Id$"
//
// Resize box test program for the Fast Light Tool Kit (FLTK).
//
// Copyright 1998-2010 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
// file is missing or damag... | 27.393617 | 78 | 0.619806 | MaxLeiter |
602693d9ff5efc9b5a235803ebb8e2378f9914e2 | 7,299 | cpp | C++ | helloTriangle/Model.cpp | JonnyKelso/learnOpenGL | 3cda765dba002268792cc890cc72dc70ffec5bbc | [
"MIT"
] | null | null | null | helloTriangle/Model.cpp | JonnyKelso/learnOpenGL | 3cda765dba002268792cc890cc72dc70ffec5bbc | [
"MIT"
] | null | null | null | helloTriangle/Model.cpp | JonnyKelso/learnOpenGL | 3cda765dba002268792cc890cc72dc70ffec5bbc | [
"MIT"
] | null | null | null | #include "Model.h"
namespace Graphics
{
unsigned int TextureFromFile(const std::filesystem::path& filename, bool gamma = false)
{
unsigned int textureID;
glGenTextures(1, &textureID);
int width{}, height{}, nrComponents{};
if (auto data { stbi_load(filename.... | 36.495 | 154 | 0.538978 | JonnyKelso |
6026b0faa1d4acae44baf94a0b30c7ffbddc9b66 | 1,669 | cpp | C++ | source/Factories/Meadow.cpp | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | source/Factories/Meadow.cpp | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | source/Factories/Meadow.cpp | badbrainz/pme | 1c8e6f3d154cc59613f5ef3f2f8293f488c64b28 | [
"WTFPL"
] | null | null | null | #include "Meadow.h"
Meadow::Meadow(const char* strname) : NamedObject(strname)
{
}
void Meadow::addPatch(GrassPatch* patch)
{
patchesList.append(patch);
//updateBounds();
}
void Meadow::setBounds(const Tuple4i& bounds)
{
boundary = bounds;
}
Tuple4i Meadow::getBounds()
{
return boundary;
}
GrassPat... | 20.8625 | 76 | 0.653086 | badbrainz |