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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40f0de40da529e6a1452ae828b9a312d5eeb3ce0 | 5,297 | cpp | C++ | lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 305 | 2019-09-14T17:16:05.000Z | 2022-03-31T15:05:20.000Z | lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 410 | 2019-06-06T20:52:32.000Z | 2022-01-18T14:21:48.000Z | lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 50 | 2019-05-10T21:12:24.000Z | 2022-01-21T06:39:47.000Z | //===-- ASTStructExtractor.cpp --------------------------------------------===//
//
// 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
//
//===---------------------------... | 28.788043 | 80 | 0.696054 | medismailben |
40f2b915be61bfeec539328b7483260584e90432 | 6,316 | cxx | C++ | gui/GuiCommon.cxx | danlipsa/TeleSculptor | 619a9cf1652c1b38a503a61f7b57c67ce49bf768 | [
"BSD-3-Clause"
] | 1 | 2019-10-18T08:08:01.000Z | 2019-10-18T08:08:01.000Z | gui/GuiCommon.cxx | danlipsa/TeleSculptor | 619a9cf1652c1b38a503a61f7b57c67ce49bf768 | [
"BSD-3-Clause"
] | null | null | null | gui/GuiCommon.cxx | danlipsa/TeleSculptor | 619a9cf1652c1b38a503a61f7b57c67ce49bf768 | [
"BSD-3-Clause"
] | 1 | 2021-12-16T14:01:20.000Z | 2021-12-16T14:01:20.000Z | /*ckwg +29
* Copyright 2018 by Kitware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of... | 32.389744 | 82 | 0.648512 | danlipsa |
40f468bf26b85dff12d48bc48200ed2651464e1e | 6,277 | cpp | C++ | debugger/src/common/generic/bus_generic.cpp | hossameldin1995/riscv_vhdl | aab7196a6b9962626ed7314b7c86b93760e76f83 | [
"Apache-2.0"
] | 1 | 2020-07-19T19:24:36.000Z | 2020-07-19T19:24:36.000Z | debugger/src/common/generic/bus_generic.cpp | hossameldin1995/riscv_vhdl | aab7196a6b9962626ed7314b7c86b93760e76f83 | [
"Apache-2.0"
] | null | null | null | debugger/src/common/generic/bus_generic.cpp | hossameldin1995/riscv_vhdl | aab7196a6b9962626ed7314b7c86b93760e76f83 | [
"Apache-2.0"
] | 1 | 2021-11-18T17:40:35.000Z | 2021-11-18T17:40:35.000Z | /*
* Copyright 2018 Sergey Khabarov, sergeykhbr@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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 32.863874 | 76 | 0.582922 | hossameldin1995 |
40f4f6279abf44999120f22b799aa2ad5f52a6d6 | 537 | hpp | C++ | goop/generic/draw_state.hpp | johannes-braun/goop-gfx | f2a5dbac3d18299efdffe900e0e1d615c0c3c98d | [
"MIT"
] | null | null | null | goop/generic/draw_state.hpp | johannes-braun/goop-gfx | f2a5dbac3d18299efdffe900e0e1d615c0c3c98d | [
"MIT"
] | null | null | null | goop/generic/draw_state.hpp | johannes-braun/goop-gfx | f2a5dbac3d18299efdffe900e0e1d615c0c3c98d | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <utility>
#include <GLFW/glfw3.h>
namespace goop
{
class render_target_base;
class draw_state_base
{
public:
virtual void from_window(GLFWwindow* window) = 0;
virtual std::pair<int, int> current_surface_size() const = 0;
virtual int display(re... | 26.85 | 100 | 0.6946 | johannes-braun |
40f744d6941bd04d69979915814845b6739623d0 | 355 | cpp | C++ | src/platform/other/OutputColorizer.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | src/platform/other/OutputColorizer.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | src/platform/other/OutputColorizer.cpp | MaxMutantMayer/wolfram_r184 | 3ba55e4c10f071384dc174d348d0556c4f462688 | [
"MIT"
] | null | null | null | #include "OutputColorizer.hpp"
#include <stdio.h>
#define YELBG "\x1B[103m"
#define RESET "\x1B[0m"
namespace wolfram_r184
{
namespace colorizer
{
void Init(void)
{
ResetOutputColor();
}
void ChangeToYellowBackground(void)
{
printf(YELBG);
}
void ResetOutputColor(void)
{
printf(RESET);
}
} // namespace col... | 11.833333 | 35 | 0.721127 | MaxMutantMayer |
40f7d32d1340c95cade68c8b7c0d95572a1fc120 | 2,454 | hpp | C++ | src/arch/runtime/callable_action.hpp | zadcha/rethinkdb | bb4f5cc28242dc1e29e9a46a8a931ec54420070c | [
"Apache-2.0"
] | 21,684 | 2015-01-01T03:42:20.000Z | 2022-03-30T13:32:44.000Z | src/arch/runtime/callable_action.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 4,067 | 2015-01-01T00:04:51.000Z | 2022-03-30T13:42:56.000Z | src/arch/runtime/callable_action.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 1,901 | 2015-01-01T21:05:59.000Z | 2022-03-21T08:14:25.000Z | #ifndef ARCH_RUNTIME_CALLABLE_ACTION_HPP_
#define ARCH_RUNTIME_CALLABLE_ACTION_HPP_
#include <utility>
#include "arch/compiler.hpp"
#include "errors.hpp"
/* The below classes may be used to create a generic callable object without
std::function so as to avoid the heap allocation that std::functions use.
Allocate... | 27.886364 | 85 | 0.715974 | zadcha |
40f8802d49a8f9bff95435c94bdd67a1a09b7d86 | 13,637 | cpp | C++ | ams/src/v20201229/model/AudioResult.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | ams/src/v20201229/model/AudioResult.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | ams/src/v20201229/model/AudioResult.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.529289 | 134 | 0.65249 | sinjoywong |
40fc554c6d22824884cb719b18bfaf3083014fb0 | 15,838 | hh | C++ | Async/Locks/range_lock.hh | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | 2 | 2021-06-09T00:38:46.000Z | 2021-09-04T21:55:33.000Z | Async/Locks/range_lock.hh | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | null | null | null | Async/Locks/range_lock.hh | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | 1 | 2021-08-30T00:46:12.000Z | 2021-08-30T00:46:12.000Z | /*
* Copyright (C) 2016 Raphael S. Carvalho
*
* This program can be distributed under the terms of the GNU GPL.
* See the file COPYING.
*/
#pragma once
#if __cplusplus < 201103L
#error This file requires compiler and library support for the \
ISO C++ 2011 standard. This support is currently experimental, and mus... | 28.588448 | 115 | 0.599508 | jlandess |
40fd0a8609b02bb65ea7a39246ba53b7c63bdf92 | 3,453 | cc | C++ | cartographer/mapping_3d/local_trajectory_builder_options.cc | linghusmile/Cartographer_- | 28be85c1af353efae802cebb299b8d2486fbd800 | [
"Apache-2.0"
] | 36 | 2017-01-17T10:19:30.000Z | 2022-02-13T09:11:51.000Z | cartographer/mapping_3d/local_trajectory_builder_options.cc | linghusmile/Cartographer_- | 28be85c1af353efae802cebb299b8d2486fbd800 | [
"Apache-2.0"
] | null | null | null | cartographer/mapping_3d/local_trajectory_builder_options.cc | linghusmile/Cartographer_- | 28be85c1af353efae802cebb299b8d2486fbd800 | [
"Apache-2.0"
] | 37 | 2016-10-09T01:52:45.000Z | 2022-01-22T10:51:54.000Z | /*
* Copyright 2016 The Cartographer Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 44.844156 | 80 | 0.769765 | linghusmile |
40fdbab2f79cfb42656c4ffef34768559455a270 | 7,958 | cpp | C++ | third_party/subzero/crosstest/test_fcmp_main.cpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 1,570 | 2016-06-30T10:40:04.000Z | 2022-03-31T01:47:33.000Z | third_party/subzero/crosstest/test_fcmp_main.cpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 9 | 2017-01-16T07:09:08.000Z | 2020-08-25T18:28:59.000Z | third_party/subzero/crosstest/test_fcmp_main.cpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 253 | 2016-06-30T18:57:10.000Z | 2022-03-25T03:57:40.000Z | //===- subzero/crosstest/test_fcmp_main.cpp - Driver for tests ------------===//
//
// The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | 37.186916 | 80 | 0.554788 | sunnycase |
40fea15f64ce7f4eb436e57ebc018d3c7561b382 | 912 | cpp | C++ | CppPool/cpp_d14a/ex02/CommunicationDevice.cpp | 667MARTIN/Epitech | 81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e | [
"MIT"
] | 40 | 2018-01-28T14:23:27.000Z | 2022-03-05T15:57:47.000Z | CppPool/cpp_d14a/ex02/CommunicationDevice.cpp | 667MARTIN/Epitech | 81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e | [
"MIT"
] | 1 | 2021-10-05T09:03:51.000Z | 2021-10-05T09:03:51.000Z | CppPool/cpp_d14a/ex02/CommunicationDevice.cpp | 667MARTIN/Epitech | 81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e | [
"MIT"
] | 73 | 2019-01-07T18:47:00.000Z | 2022-03-31T08:48:38.000Z |
#include <iostream>
#include <stdexcept>
#include "Errors.hpp"
#include "CommunicationDevice.hpp"
CommunicationDevice::CommunicationDevice(std::istream &input,
std::ostream &output)
: _api(input, output)
{
}
CommunicationDevice::~CommunicationDevice()
{
}
void
Communicat... | 22.8 | 65 | 0.596491 | 667MARTIN |
dc0030e5d338de53e6a2df695a2c5b427c808c4e | 4,710 | cpp | C++ | gecode/search/meta/rbs.cpp | zoomer/gecode | b16d00b209bba8602233a087be50d2d11ddba5fa | [
"MIT-feh"
] | 1 | 2017-05-10T05:42:43.000Z | 2017-05-10T05:42:43.000Z | gecode/search/meta/rbs.cpp | eatstreet/gecode | b16d00b209bba8602233a087be50d2d11ddba5fa | [
"MIT-feh"
] | null | null | null | gecode/search/meta/rbs.cpp | eatstreet/gecode | b16d00b209bba8602233a087be50d2d11ddba5fa | [
"MIT-feh"
] | 1 | 2017-01-27T14:52:22.000Z | 2017-01-27T14:52:22.000Z | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Guido Tack, 2012
*
* Last modified:
* $Date$ by $Author$
* $Revision$
*
* This file is part of Gecode, the generic constraint
* development environment:
... | 28.373494 | 76 | 0.597452 | zoomer |
dc006962670e844c60439272e81c7a4b80234a67 | 2,713 | cpp | C++ | Libraries/FiringRateSim/GatedSynapse.cpp | NeuroRoboticTech/AnimatLabPublicSource | c5b23f8898513582afb7891eb994a7bd40a89f08 | [
"BSD-3-Clause"
] | 8 | 2015-01-09T21:59:50.000Z | 2021-04-14T14:08:47.000Z | Libraries/FiringRateSim/GatedSynapse.cpp | NeuroRoboticTech/AnimatLabPublicSource | c5b23f8898513582afb7891eb994a7bd40a89f08 | [
"BSD-3-Clause"
] | null | null | null | Libraries/FiringRateSim/GatedSynapse.cpp | NeuroRoboticTech/AnimatLabPublicSource | c5b23f8898513582afb7891eb994a7bd40a89f08 | [
"BSD-3-Clause"
] | 2 | 2018-12-21T02:58:30.000Z | 2020-08-12T11:44:39.000Z | /**
\file GatedSynapse.cpp
\brief Implements the gated synapse class.
**/
#include "StdAfx.h"
#include "Synapse.h"
#include "GatedSynapse.h"
#include "Neuron.h"
#include "FiringRateModule.h"
namespace FiringRateSim
{
namespace Synapses
{
/**
\brief Default constructor.
\author dcofer
\date ... | 20.096296 | 116 | 0.718393 | NeuroRoboticTech |
dc06e36a6c61116276b1bef8084b46a94a7213d8 | 5,246 | cpp | C++ | Plugins~/Src/StreamingImageSequence/Loader.cpp | unity3d-jp/StreamingImageSequence | 27568fe27891eb9692e9dc82c69eba794f95c009 | [
"BSD-Source-Code"
] | 117 | 2019-12-04T05:30:31.000Z | 2022-03-27T13:28:15.000Z | Plugins~/Src/StreamingImageSequence/Loader.cpp | unity3d-jp/StreamingImageSequence | 27568fe27891eb9692e9dc82c69eba794f95c009 | [
"BSD-Source-Code"
] | 23 | 2020-01-22T05:45:33.000Z | 2022-02-28T06:19:43.000Z | Plugins~/Src/StreamingImageSequence/Loader.cpp | unity3d-jp/StreamingImageSequence | 27568fe27891eb9692e9dc82c69eba794f95c009 | [
"BSD-Source-Code"
] | 13 | 2019-12-12T01:04:39.000Z | 2022-01-26T12:54:59.000Z | #include "stdafx.h"
#include "StreamingImageSequence/Loader.h"
//CommonLib
#include "CommonLib/CriticalSectionController.h"
//Loader
#include "StreamingImageSequence/LoaderUtility.h"
#include "StreamingImageSequence/ImageCatalog.h"
const uint64_t TO_MB = 1024 * 1024;
//---------------------------------------------... | 40.666667 | 131 | 0.612085 | unity3d-jp |
dc070ae83a1d2bc6a260dda15b939cdbffc5551e | 167 | cpp | C++ | BeakJoon/c/solved/10000/10952.cpp | heeboy007/PS-MyAnswers | e5e02972ab64279d96eb43e85941a46b82315fbd | [
"MIT"
] | null | null | null | BeakJoon/c/solved/10000/10952.cpp | heeboy007/PS-MyAnswers | e5e02972ab64279d96eb43e85941a46b82315fbd | [
"MIT"
] | null | null | null | BeakJoon/c/solved/10000/10952.cpp | heeboy007/PS-MyAnswers | e5e02972ab64279d96eb43e85941a46b82315fbd | [
"MIT"
] | null | null | null | #include<stdio.h>
int main ()
{
int a = 0, b = 0;
while(1){
scanf("%d %d", &a, &b);
if(a == 0 && b == 0)
break;
printf("%d\n", a + b);
}
return 0;
}
| 10.4375 | 25 | 0.419162 | heeboy007 |
dc07f13d82d176b096db17e55847fc38ec06d610 | 882 | cc | C++ | tests/fullscreen_test.cc | ogukei/cinderella-screen | f3fb188e521cd2d0f960b1ec19d8a28c014d7c53 | [
"MIT"
] | null | null | null | tests/fullscreen_test.cc | ogukei/cinderella-screen | f3fb188e521cd2d0f960b1ec19d8a28c014d7c53 | [
"MIT"
] | null | null | null | tests/fullscreen_test.cc | ogukei/cinderella-screen | f3fb188e521cd2d0f960b1ec19d8a28c014d7c53 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "fullscreen.h"
TEST(FullscreenTest, FullHD) {
SIZE frame_size = {1920, 1080};
SIZE aspect_ratio = {16, 9};
imascs::WindowResizeConstraint constraint(frame_size, aspect_ratio);
imascs::WindowResizeConfiguration configuration(constraint);
EXPECT_EQ(configuration.Offs... | 33.923077 | 71 | 0.72449 | ogukei |
dc085eef4aac1b476ac5880fa6c16e61678393e8 | 3,582 | cpp | C++ | test/xsimd_api_test.cpp | tdegeus/xsimd | f90f4e4e1b47616699f070b8cd87b356af9f61fa | [
"BSD-3-Clause"
] | null | null | null | test/xsimd_api_test.cpp | tdegeus/xsimd | f90f4e4e1b47616699f070b8cd87b356af9f61fa | [
"BSD-3-Clause"
] | null | null | null | test/xsimd_api_test.cpp | tdegeus/xsimd | f90f4e4e1b47616699f070b8cd87b356af9f61fa | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and *
* Martin Renou *
* Copyright (c) QuantStack *
* ... | 37.3125 | 144 | 0.639308 | tdegeus |
dc0a7b06811f3c617fe87767b087a9dd48f0fd95 | 4,015 | cpp | C++ | ndn-cxx/security/pib/impl/key-impl.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | null | null | null | ndn-cxx/security/pib/impl/key-impl.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | null | null | null | ndn-cxx/security/pib/impl/key-impl.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | null | null | null | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2021 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 29.094203 | 111 | 0.757659 | Pesa |
dc0b923644093d3d0b5efb25c1270548721c7646 | 877 | cpp | C++ | src/xrGame/seniority_hierarchy_holder.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrGame/seniority_hierarchy_holder.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrGame/seniority_hierarchy_holder.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : seniority_hierarchy_holder.cpp
// Created : 12.11.2001
// Modified : 03.09.2004
// Author : Dmitriy Iassenev, Oles Shishkovtsov, Aleksandr Maksimchuk
// Description : Seniority hierarchy holder
///////////////////////////////... | 39.863636 | 104 | 0.621437 | clayne |
dc0cc2a7959b2468ded5ed9ed8d75d714dc2f088 | 4,255 | cpp | C++ | Sources/CubbyCity/Geometry/GeoJSON.cpp | utilForever/CubbyCity | 2fce11b04ee4c72188df61ba59218d8b5355c166 | [
"MIT"
] | 28 | 2018-06-04T09:31:49.000Z | 2019-12-29T10:52:37.000Z | Sources/CubbyCity/Geometry/GeoJSON.cpp | utilForever/CubbyCity | 2fce11b04ee4c72188df61ba59218d8b5355c166 | [
"MIT"
] | 16 | 2018-06-05T14:58:52.000Z | 2019-07-04T14:47:47.000Z | Sources/CubbyCity/Geometry/GeoJSON.cpp | utilForever/CubbyCity | 2fce11b04ee4c72188df61ba59218d8b5355c166 | [
"MIT"
] | 2 | 2019-06-16T14:43:38.000Z | 2020-12-25T13:06:06.000Z | // Copyright (c) 2019 Chris Ohk, Paul Kweon, Den So, Edward Sung
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include <CubbyCity/Geometry/GeoJSON.hpp>
namespace CubbyCity
{
bool... | 29.548611 | 80 | 0.569448 | utilForever |
dc0dcbda7cec3c69925a732a0e5b432dce084d16 | 1,394 | cpp | C++ | Codeforces/Codeforces Round 321 (Div 2)/Kefa And Park.cpp | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 13 | 2021-09-02T07:30:02.000Z | 2022-03-22T19:32:03.000Z | Codeforces/Codeforces Round 321 (Div 2)/Kefa And Park.cpp | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | null | null | null | Codeforces/Codeforces Round 321 (Div 2)/Kefa And Park.cpp | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 3 | 2021-08-24T16:06:22.000Z | 2021-09-17T15:39:53.000Z | #include <bits/stdc++.h>
using namespace std;
class Graph {
int V;
list <int> *adj;
void DFSUtil (int u, bool visited[], bool isCatPresent[], int m, int count, int *ans);
public:
Graph (int v) {V = v; adj = new list<int>[V];}
void addEdge (int u, int v) {adj[u].push_back(v); adj[v].push_back(u);}
int DFS (i... | 21.78125 | 94 | 0.557389 | UtkarshPathrabe |
dc122bc17a5aa63495182c8d7ffaf007e36e886a | 22,940 | cpp | C++ | MSVC/14.24.28314/atlmfc/src/mfc/afxribbonconstructor.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 2 | 2021-01-27T10:19:30.000Z | 2021-02-09T06:24:30.000Z | MSVC/14.24.28314/atlmfc/src/mfc/afxribbonconstructor.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | null | null | null | MSVC/14.24.28314/atlmfc/src/mfc/afxribbonconstructor.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 1 | 2021-01-27T10:19:36.000Z | 2021-01-27T10:19:36.000Z | // This MFC Library source code supports the Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library software.
// License terms to c... | 35.455951 | 326 | 0.770052 | 825126369 |
dc128bbe2b1860ffadda876278b1bc1d942a4f8e | 37 | cpp | C++ | vm/mterp/c/OP_UNUSED_77FF.cpp | ThirdProject/android_dalvik | 6a9739380c73a0256f2484f2bcd0b8f908a2db52 | [
"Apache-2.0"
] | null | null | null | vm/mterp/c/OP_UNUSED_77FF.cpp | ThirdProject/android_dalvik | 6a9739380c73a0256f2484f2bcd0b8f908a2db52 | [
"Apache-2.0"
] | null | null | null | vm/mterp/c/OP_UNUSED_77FF.cpp | ThirdProject/android_dalvik | 6a9739380c73a0256f2484f2bcd0b8f908a2db52 | [
"Apache-2.0"
] | null | null | null | HANDLE_OPCODE(OP_UNUSED_77FF)
OP_END
| 12.333333 | 29 | 0.891892 | ThirdProject |
dc12a18b70aa99687230978c7c5db0a42fbaeec2 | 1,738 | hpp | C++ | lib/wal/sources/Models/Callback.hpp | EternalRat/Bomberman | d4d0c6dea61f7de1e71c6f182a6bf27407092356 | [
"MIT"
] | 6 | 2021-05-27T13:31:37.000Z | 2021-11-21T17:35:08.000Z | lib/wal/sources/Models/Callback.hpp | EternalRat/Bomberman | d4d0c6dea61f7de1e71c6f182a6bf27407092356 | [
"MIT"
] | 174 | 2021-05-12T14:10:04.000Z | 2021-06-26T11:29:39.000Z | lib/wal/sources/Models/Callback.hpp | EternalRat/Bomberman | d4d0c6dea61f7de1e71c6f182a6bf27407092356 | [
"MIT"
] | 2 | 2021-05-27T13:28:46.000Z | 2021-06-21T12:25:27.000Z | //
// Created by Zoe Roux on 5/21/21.
//
#pragma once
#include <functional>
#include <utility>
#include <unordered_map>
namespace WAL
{
//! @brief A callback where you can subscribe to and emit it.
template<typename ...Types>
class Callback
{
private:
int _nextID = 0;
//! @brief The list of functions to ca... | 25.940299 | 91 | 0.673188 | EternalRat |
dc17073973e8297c9f5d98655720c6fd00c345ed | 4,745 | cpp | C++ | src/libraries/core/meshes/primitiveMesh/primitiveMeshFaceCentresAndAreas.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/meshes/primitiveMesh/primitiveMeshFaceCentresAndAreas.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/meshes/primitiveMesh/primitiveMeshFaceCentresAndAreas.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011-2105 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
... | 28.076923 | 79 | 0.502634 | MrAwesomeRocks |
dc17db0822f6b4a5eacbf109af86da9077db8598 | 318 | hpp | C++ | sdk/template/azure-template/inc/azure/template/template_client.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 1 | 2022-01-19T22:54:41.000Z | 2022-01-19T22:54:41.000Z | sdk/template/azure-template/inc/azure/template/template_client.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | null | null | null | sdk/template/azure-template/inc/azure/template/template_client.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#pragma once
#include <string>
namespace Azure { namespace Template {
class TemplateClient final {
public:
std::string ClientVersion() const;
int GetValue(int key) const;
};
}} // namespace Azure::Template
| 18.705882 | 60 | 0.710692 | RickWinter |
dc181ff10fbe87cd636b95185e5da62160f77321 | 1,045 | cpp | C++ | common/netdispatcher.cpp | andriymoroz-mlnx/sonic-swss-common | e06988dd2c44f6c5200f16c765a0e9a64a0ce274 | [
"Apache-2.0"
] | null | null | null | common/netdispatcher.cpp | andriymoroz-mlnx/sonic-swss-common | e06988dd2c44f6c5200f16c765a0e9a64a0ce274 | [
"Apache-2.0"
] | null | null | null | common/netdispatcher.cpp | andriymoroz-mlnx/sonic-swss-common | e06988dd2c44f6c5200f16c765a0e9a64a0ce274 | [
"Apache-2.0"
] | null | null | null | #include <map>
#include "common/netdispatcher.h"
#include "common/netmsg.h"
using namespace swss;
NetDispatcher::NetDispatcher()
{
}
NetDispatcher::~NetDispatcher()
{
}
NetDispatcher& NetDispatcher::getInstance()
{
static NetDispatcher gInstance;
return gInstance;
}
void NetDispatcher::registerMessageHandl... | 22.717391 | 77 | 0.721531 | andriymoroz-mlnx |
dc197f99abb5d8dc7de1ad5d680d36777adb7e85 | 7,228 | cpp | C++ | src/brpc/nshead_message.cpp | PeterRK/brpc | 55c3177f53adac1bd149c5e80a7609b758ca7492 | [
"Apache-2.0"
] | 27 | 2019-04-11T07:57:29.000Z | 2022-03-26T11:34:22.000Z | src/brpc/nshead_message.cpp | ww5365/brpc | 33538c6bb69f3151863707b2ebdeff74f93e4b65 | [
"Apache-2.0"
] | 1 | 2019-08-05T13:29:01.000Z | 2019-08-05T13:29:01.000Z | src/brpc/nshead_message.cpp | ww5365/brpc | 33538c6bb69f3151863707b2ebdeff74f93e4b65 | [
"Apache-2.0"
] | 11 | 2017-12-28T03:22:45.000Z | 2022-02-09T09:19:48.000Z | // Copyright (c) 2014 Baidu, 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... | 30.49789 | 100 | 0.723298 | PeterRK |
dc1c59ee5b72b36b13574ac2d51a97bd5c8f25d0 | 3,848 | cc | C++ | tests/catch/unit/streamperthread/hipStreamPerThread_DeviceReset.cc | FMarno/HIP | f0e03e9d45d9ad2c15bf5ec4d44452f17216ade8 | [
"MIT"
] | null | null | null | tests/catch/unit/streamperthread/hipStreamPerThread_DeviceReset.cc | FMarno/HIP | f0e03e9d45d9ad2c15bf5ec4d44452f17216ade8 | [
"MIT"
] | null | null | null | tests/catch/unit/streamperthread/hipStreamPerThread_DeviceReset.cc | FMarno/HIP | f0e03e9d45d9ad2c15bf5ec4d44452f17216ade8 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
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, mo... | 38.48 | 89 | 0.734927 | FMarno |
dc1f8b167877474ad910949a7cdd1dbde37a0a01 | 6,361 | cc | C++ | chrome/browser/renderer_host/render_process_host.cc | zachlatta/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2021-09-24T22:49:10.000Z | 2021-09-24T22:49:10.000Z | chrome/browser/renderer_host/render_process_host.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/renderer_host/render_process_host.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009 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/renderer_host/render_process_host.h"
#include "base/rand_util.h"
#include "base/sys_info.h"
#include "chrome/browser/child_p... | 32.28934 | 79 | 0.670806 | zachlatta |
dc1fdf8ec44ed66dff452f71f4d58dce7372021a | 21,576 | cpp | C++ | src/OpenSpaceToolkit/Physics/Coordinate/Frame.cpp | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 5 | 2018-08-20T06:47:42.000Z | 2019-07-15T03:36:52.000Z | src/OpenSpaceToolkit/Physics/Coordinate/Frame.cpp | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 24 | 2018-06-25T08:06:39.000Z | 2020-01-05T20:34:02.000Z | src/OpenSpaceToolkit/Physics/Coordinate/Frame.cpp | robinpdm/open-space-toolkit-physics | b53e5d4287fa6568d700cb8942c9a56d57b8d7cf | [
"Apache-2.0"
] | 1 | 2019-09-19T22:44:23.000Z | 2019-09-19T22:44:23.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @project Open Space Toolkit ▸ Physics
/// @file OpenSpaceToolkit/Physics/Coordinate/Frame.cpp
/// @author Lucas Brémond <lucas@lo... | 37.135972 | 214 | 0.484103 | robinpdm |
dc22b643e99d4bcf4da2ac6bda6b2176729ba552 | 2,994 | cxx | C++ | applications/maskshell.cxx | alonsoJASL/lassy | 10aefa4d6b3b9d859e9fc1cd1302b06163cc24d1 | [
"Apache-2.0"
] | null | null | null | applications/maskshell.cxx | alonsoJASL/lassy | 10aefa4d6b3b9d859e9fc1cd1302b06163cc24d1 | [
"Apache-2.0"
] | null | null | null | applications/maskshell.cxx | alonsoJASL/lassy | 10aefa4d6b3b9d859e9fc1cd1302b06163cc24d1 | [
"Apache-2.0"
] | null | null | null | #define HAS_VTK 1
#include "LaMaskDataShellOperations.h"
#include <numeric>
/*
* Author:
* Dr. Rashed Karim
* Department of Biomedical Engineering, King's College London
* Email: rashed 'dot' karim @kcl.ac.uk
* Copyright (c) 2017
*
* This application masks the scalars in a shell, and prov... | 27.218182 | 85 | 0.56012 | alonsoJASL |
dc250910cd681236e50424ebcb21e8bb214a073e | 5,431 | cc | C++ | src/yb/yql/cql/ql/exec/exec_context.cc | everyonce/yugabyte-db | 37b38568bf5d39cda8a77ef7c48c277cc033fbd0 | [
"Apache-2.0"
] | null | null | null | src/yb/yql/cql/ql/exec/exec_context.cc | everyonce/yugabyte-db | 37b38568bf5d39cda8a77ef7c48c277cc033fbd0 | [
"Apache-2.0"
] | null | null | null | src/yb/yql/cql/ql/exec/exec_context.cc | everyonce/yugabyte-db | 37b38568bf5d39cda8a77ef7c48c277cc033fbd0 | [
"Apache-2.0"
] | null | null | null | //--------------------------------------------------------------------------------------------------
// 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. You may obtain a copy of the License at
//
// ht... | 44.154472 | 100 | 0.66636 | everyonce |
dc283033a41a69d8acde57a3c44b771f09b454fd | 18,684 | cpp | C++ | SI/2019-2/AEDS3/tp3-rbtree/rbtree.cpp | luksamuk/study | 7a4062cb894be52d786852b4729ac6a4e784b5a3 | [
"MIT"
] | 3 | 2019-03-13T02:16:44.000Z | 2020-03-05T21:14:18.000Z | SI/2019-2/AEDS3/tp3-rbtree/rbtree.cpp | luksamuk/study | 7a4062cb894be52d786852b4729ac6a4e784b5a3 | [
"MIT"
] | 1 | 2019-03-15T00:52:59.000Z | 2019-03-15T00:53:54.000Z | SI/2019-2/AEDS3/tp3-rbtree/rbtree.cpp | luksamuk/study | 7a4062cb894be52d786852b4729ac6a4e784b5a3 | [
"MIT"
] | 1 | 2020-03-05T21:14:29.000Z | 2020-03-05T21:14:29.000Z | #include <iostream>
#include <cmath>
#include <queue>
#include <vector>
#include <fstream>
#include <string>
#include <cstdlib>
#include <ctime>
enum TreePrintStyle
{
TREEPRINT_INORDER,
TREEPRINT_PREORDER,
TREEPRINT_POSTORDER,
TREEPRINT_LEVEL,
TREEPRINT_TRIANGLE,
TREEPRINT_GRAPHVIZ,
TREESHO... | 25.214575 | 83 | 0.47431 | luksamuk |
dc28e7e1187388a22d135c0087f36d93d2206716 | 14,085 | cpp | C++ | tests/attribute_keyword/component/foo_exec.cpp | jwillemsen/ciaox11 | 483dd0f189a92615068366f566ea8354a1baf7a3 | [
"MIT"
] | 7 | 2016-04-12T15:09:33.000Z | 2022-01-26T02:28:28.000Z | tests/attribute_keyword/component/foo_exec.cpp | jwillemsen/ciaox11 | 483dd0f189a92615068366f566ea8354a1baf7a3 | [
"MIT"
] | 10 | 2019-11-26T15:24:01.000Z | 2022-03-28T11:45:14.000Z | tests/attribute_keyword/component/foo_exec.cpp | jwillemsen/ciaox11 | 483dd0f189a92615068366f566ea8354a1baf7a3 | [
"MIT"
] | 5 | 2016-04-12T18:40:44.000Z | 2019-12-18T14:27:52.000Z | // -*- C++ -*-
/**
* @file foo_exec.cpp
* @author Marijke Hengstmengel
*
* @brief CIAOX11 attribute keywords test
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
//@@{__RIDL_REGEN_MARKER__} - HEADER_END : foo_impl.cpp[Header]
#include "foo_exec.h"
//@@{__RIDL_REGEN_MARKER__} - BEGIN : Foo_Impl[use... | 32.528868 | 90 | 0.674476 | jwillemsen |
dc2dd0f71d21cdacce63ad78eca9c7f0fea41e2d | 16,807 | hpp | C++ | Engine/Include/Sapphire/Maths/Space/Vector3.hpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | 2 | 2020-03-18T09:06:21.000Z | 2020-04-09T00:07:56.000Z | Engine/Include/Sapphire/Maths/Space/Vector3.hpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | null | null | null | Engine/Include/Sapphire/Maths/Space/Vector3.hpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | null | null | null | // Copyright 2020 Sapphire development team. All Rights Reserved.
#pragma once
#ifndef SAPPHIRE_MATHS_VECTOR3_GUARD
#define SAPPHIRE_MATHS_VECTOR3_GUARD
#include <Maths/Misc/Maths.hpp>
namespace Sa
{
template <typename T>
struct Vec2;
/**
* \file Vector3.hpp
*
* \brief \b Definition of Sapphire's \b Vector ... | 24.716176 | 114 | 0.646516 | SapphireSuite |
dc30a626d767f76b49b7c677801ddebc3e2b17ad | 6,182 | cc | C++ | hardware/epson_imu/src/GPIO.cc | PeterWofford/astrobee | d4c05f6a938f0d56f071ee79ce86d90c24f1b2cb | [
"Apache-2.0"
] | 629 | 2017-08-31T23:09:00.000Z | 2022-03-30T11:55:40.000Z | hardware/epson_imu/src/GPIO.cc | PeterWofford/astrobee | d4c05f6a938f0d56f071ee79ce86d90c24f1b2cb | [
"Apache-2.0"
] | 269 | 2018-05-05T12:31:16.000Z | 2022-03-30T22:04:11.000Z | hardware/epson_imu/src/GPIO.cc | PeterWofford/astrobee | d4c05f6a938f0d56f071ee79ce86d90c24f1b2cb | [
"Apache-2.0"
] | 248 | 2017-08-31T23:20:56.000Z | 2022-03-30T22:29:16.000Z | /* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with... | 24.531746 | 101 | 0.611453 | PeterWofford |
dc3183454af39084355539b98e411ef20c085ac2 | 5,694 | cpp | C++ | brsdk/process/process_info.cpp | JerryYu512/arss | bd113d7f1ff2f09d210103cd5cc3dcc7c82f99dc | [
"MIT"
] | null | null | null | brsdk/process/process_info.cpp | JerryYu512/arss | bd113d7f1ff2f09d210103cd5cc3dcc7c82f99dc | [
"MIT"
] | null | null | null | brsdk/process/process_info.cpp | JerryYu512/arss | bd113d7f1ff2f09d210103cd5cc3dcc7c82f99dc | [
"MIT"
] | null | null | null | /**
* MIT License
*
* Copyright © 2021 <wotsen>.
*
* 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... | 26.858491 | 97 | 0.624517 | JerryYu512 |
dc320be3793df7df2ea8235c033b17c78ebc54a1 | 22,042 | cc | C++ | art/runtime/verifier/reg_type_test.cc | CanPisces/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 1,306 | 2015-09-01T05:06:16.000Z | 2022-03-10T07:13:10.000Z | art/runtime/verifier/reg_type_test.cc | cnrat/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 11 | 2015-09-02T09:06:42.000Z | 2020-12-26T04:59:34.000Z | art/runtime/verifier/reg_type_test.cc | cnrat/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 598 | 2015-09-01T05:06:18.000Z | 2022-03-27T07:59:49.000Z | /*
* Copyright (C) 2012 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... | 45.075665 | 140 | 0.790083 | CanPisces |
dc3a4310e351c1e2960f88604cd61a26dfaf1f29 | 449 | cpp | C++ | array/equilibrium-point.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | array/equilibrium-point.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | array/equilibrium-point.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int equilibrium(vector<int> arr)
{
int n = arr.size();
int right = 0;
int left = 0;
for (int i = 0; i < n; ++i)
right += arr[i];
for (int i = 0; i < n; ++i)
{
right -= arr[i];
if (left == right) return i;
left += arr[i];
}
return -1;
}
int main() {
in... | 12.828571 | 41 | 0.496659 | Nilesh-Das |
dc3a802f6f5bf82cd5773921788f6d16c1c54237 | 2,058 | cpp | C++ | interview-preparation-kit/trees/binary-search-tree-lowest-common-ancestor.cpp | PingHuskar/hackerrank | 1bfdbc63de5d0f94cd9e6ae250476b4a267662f2 | [
"Unlicense"
] | 41 | 2018-05-11T07:54:34.000Z | 2022-03-29T19:02:32.000Z | interview-preparation-kit/trees/binary-search-tree-lowest-common-ancestor.cpp | PingHuskar/hackerrank | 1bfdbc63de5d0f94cd9e6ae250476b4a267662f2 | [
"Unlicense"
] | 2 | 2021-09-13T10:03:26.000Z | 2021-10-04T10:21:05.000Z | interview-preparation-kit/trees/binary-search-tree-lowest-common-ancestor.cpp | PingHuskar/hackerrank | 1bfdbc63de5d0f94cd9e6ae250476b4a267662f2 | [
"Unlicense"
] | 21 | 2019-01-23T19:06:59.000Z | 2021-12-23T16:03:47.000Z | // Data Structures > Trees > Binary Search Tree : Lowest Common Ancestor
// Given two nodes of a binary search tree, find the lowest common ancestor of these two nodes.
//
// https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor/problem
//
#include<bits/stdc++.h>
using namespace st... | 15.830769 | 96 | 0.492711 | PingHuskar |
dc3b45df656c93dc5a344525de2034d18fe581b5 | 2,726 | cc | C++ | media/capture/video/chromeos/gpu_memory_buffer_tracker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/capture/video/chromeos/gpu_memory_buffer_tracker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/capture/video/chromeos/gpu_memory_buffer_tracker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 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 "media/capture/video/chromeos/gpu_memory_buffer_tracker.h"
#include "base/logging.h"
#include "media/capture/video/chromeos/pixel_format_utils.h... | 32.843373 | 80 | 0.719002 | sarang-apps |
dc3bdf6c9353eda6921110716ccc071d5bcb90c1 | 47,079 | cpp | C++ | test/API/MemoryAccessTest_X86.cpp | pistach3/QBDI | ff94f9c6ed18d5271013f0fcc77f6996d32db3cf | [
"Apache-2.0"
] | null | null | null | test/API/MemoryAccessTest_X86.cpp | pistach3/QBDI | ff94f9c6ed18d5271013f0fcc77f6996d32db3cf | [
"Apache-2.0"
] | null | null | null | test/API/MemoryAccessTest_X86.cpp | pistach3/QBDI | ff94f9c6ed18d5271013f0fcc77f6996d32db3cf | [
"Apache-2.0"
] | null | null | null | /*
* This file is part of QBDI.
*
* Copyright 2017 - 2021 Quarkslab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | 28.953875 | 80 | 0.65834 | pistach3 |
dc3d5b62b1f93388bad07ae50183481c5e7382ef | 5,837 | cpp | C++ | CH02/PhilosophersDinner/PhilosophersDinner.cpp | pitaga/CppMultiThread | a103833743aa52e08783fc319c58de1d47b0750f | [
"MIT"
] | null | null | null | CH02/PhilosophersDinner/PhilosophersDinner.cpp | pitaga/CppMultiThread | a103833743aa52e08783fc319c58de1d47b0750f | [
"MIT"
] | null | null | null | CH02/PhilosophersDinner/PhilosophersDinner.cpp | pitaga/CppMultiThread | a103833743aa52e08783fc319c58de1d47b0750f | [
"MIT"
] | null | null | null | #include "stdafx.h"
#define BUTTON_CLOSE 100
#define PHILOSOPHER_COUNT 5
#define WM_INVALIDATE WM_USER + 1
typedef struct _tagCOMMUNICATIONOBJECT
{
HWND hWnd;
bool bExitApplication;
int iPhilosopherArray[PHILOSOPHER_COUNT];
int PhilosopherCount;
} COMMUNICATIONOBJECT, * PCOMMUNICATIONOBJECT;
HWND InitInstance(HI... | 27.533019 | 77 | 0.726743 | pitaga |
dc3ddee1b4973703946839d088d2b3c338c2717c | 12,246 | cpp | C++ | pass/compiler/lcompiler.cpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | null | null | null | pass/compiler/lcompiler.cpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | null | null | null | pass/compiler/lcompiler.cpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | null | null | null | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#include "lcompiler.hpp"
#include <bits/stdint-uintn.h>
Lcompiler::Lcompiler(std::string_view _path, std::string_view _odir, std::string_view _top, bool _gviz)
: path(_path), odir(_odir), top(_top), gviz(_gviz), gv(true, false, ... | 37.913313 | 120 | 0.572105 | jesec |
dc41a44e4dddc2b92afe8bfaf7e3a052d2c4d91e | 556 | cpp | C++ | src/Geometry.cpp | savageking-io/evelengine | f4f31419077e3467db271e82b05164eafa521eb7 | [
"Apache-2.0"
] | null | null | null | src/Geometry.cpp | savageking-io/evelengine | f4f31419077e3467db271e82b05164eafa521eb7 | [
"Apache-2.0"
] | null | null | null | src/Geometry.cpp | savageking-io/evelengine | f4f31419077e3467db271e82b05164eafa521eb7 | [
"Apache-2.0"
] | null | null | null | #include "Geometry.hpp"
namespace EvelEngine
{
Vector2D::Vector2D(int x, int y) : x(x), y(y)
{
}
void Vector2D::normalize()
{
int magnitude = this->magnitude();
x /= magnitude;
y /= magnitude;
}
Rect2D::Rect2D(Vector2D position, Vector2D size) : position(position... | 17.935484 | 85 | 0.555755 | savageking-io |
dc41a645ac289afd7d40d9b61f7bcb347b7c11f7 | 2,031 | cpp | C++ | TinyWebServer/src/webserver.cpp | ho-229/Network-Learn | b87d112b2f93c5f4d0d522629c15f8bba254ff2d | [
"MIT"
] | 1 | 2022-02-01T18:50:18.000Z | 2022-02-01T18:50:18.000Z | TinyWebServer/src/webserver.cpp | ho-229/Network-Learn | b87d112b2f93c5f4d0d522629c15f8bba254ff2d | [
"MIT"
] | null | null | null | TinyWebServer/src/webserver.cpp | ho-229/Network-Learn | b87d112b2f93c5f4d0d522629c15f8bba254ff2d | [
"MIT"
] | null | null | null | /**
* @author Ho 229
* @date 2021/7/26
*/
#include "webserver.h"
#include "util/util.h"
#include "core/tcpsocket.h"
#include "core/sslsocket.h"
#include "core/eventloop.h"
#include <signal.h>
WebServer::WebServer()
{
#ifdef _WIN32
if(!AbstractSocket::initializatWsa())
throw std::runtime_error("WebSe... | 21.378947 | 78 | 0.63614 | ho-229 |
dc47bb2138ecc7ffa04016ace401738426a754ed | 1,234 | hpp | C++ | src/tools/kdb/fstab.hpp | 0003088/qt-gui-test | 0ceaa19e5d4b50b110047c0b73eb4f79164f4532 | [
"BSD-3-Clause"
] | null | null | null | src/tools/kdb/fstab.hpp | 0003088/qt-gui-test | 0ceaa19e5d4b50b110047c0b73eb4f79164f4532 | [
"BSD-3-Clause"
] | null | null | null | src/tools/kdb/fstab.hpp | 0003088/qt-gui-test | 0ceaa19e5d4b50b110047c0b73eb4f79164f4532 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file
*
* @brief
*
* @copyright BSD License (see doc/LICENSE.md or http://www.libelektra.org)
*/
#ifndef FSTAB_HPP
#define FSTAB_HPP
#include "coloredkdbio.hpp"
#include <command.hpp>
#include <kdb.hpp>
class FstabCommand : public Command
{
kdb::KDB kdb;
public:
FstabCommand ();
~FstabCommand ();
v... | 21.275862 | 75 | 0.65235 | 0003088 |
dc48d9a939c1ae9e558abd40c697af9ba3d29d75 | 2,240 | cpp | C++ | src/xalanc/XPath/XPathFactoryDefault.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XPath/XPathFactoryDefault.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XPath/XPathFactoryDefault.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 1999-2004 The Apache Software 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 requir... | 20 | 114 | 0.691071 | rherardi |
dc495a2e3e2de73f1fa55113e96d70a40d6a7d92 | 20,152 | cc | C++ | src/lib/dhcpsrv/tests/alloc_engine_utils.cc | Acidburn0zzz/kea | 3036e88d4ff730919cd7d2fb50a961a5d33bf390 | [
"Apache-2.0"
] | 1 | 2017-08-24T19:55:21.000Z | 2017-08-24T19:55:21.000Z | src/lib/dhcpsrv/tests/alloc_engine_utils.cc | Acidburn0zzz/kea | 3036e88d4ff730919cd7d2fb50a961a5d33bf390 | [
"Apache-2.0"
] | null | null | null | src/lib/dhcpsrv/tests/alloc_engine_utils.cc | Acidburn0zzz/kea | 3036e88d4ff730919cd7d2fb50a961a5d33bf390 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <dhcp/duid.h>
#... | 35.169284 | 87 | 0.600337 | Acidburn0zzz |
dc4993741275b49e93e8a9825193fa0cb39c2349 | 48,174 | cpp | C++ | modules/core/src/norm.cpp | zhongshenxuexi/opencv | 10ae0c4364ecf1bebf3a80f7a6570142e4da7632 | [
"BSD-3-Clause"
] | 2 | 2020-01-05T21:34:22.000Z | 2020-07-19T20:13:06.000Z | modules/core/src/norm.cpp | zhongshenxuexi/opencv | 10ae0c4364ecf1bebf3a80f7a6570142e4da7632 | [
"BSD-3-Clause"
] | null | null | null | modules/core/src/norm.cpp | zhongshenxuexi/opencv | 10ae0c4364ecf1bebf3a80f7a6570142e4da7632 | [
"BSD-3-Clause"
] | 1 | 2021-07-12T08:03:07.000Z | 2021-07-12T08:03:07.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "precomp.hpp"
#include "opencl_kernels_core.hpp"
#include "stat.hpp"
/*********************************************... | 37.114022 | 187 | 0.513285 | zhongshenxuexi |
dc4ac3acb68def72225a5efc8e65a337dfda8be0 | 11,808 | cpp | C++ | Mitsuba/src/libcore/track.cpp | mkettune/temporal-gpt | e0a4ca6c6f29ff6c3733f88894289575d77313dc | [
"Unlicense"
] | 14 | 2016-11-30T22:51:45.000Z | 2021-10-01T02:16:59.000Z | Mitsuba/src/libcore/track.cpp | mkettune/temporal-gpt | e0a4ca6c6f29ff6c3733f88894289575d77313dc | [
"Unlicense"
] | null | null | null | Mitsuba/src/libcore/track.cpp | mkettune/temporal-gpt | e0a4ca6c6f29ff6c3733f88894289575d77313dc | [
"Unlicense"
] | 4 | 2016-12-01T14:55:48.000Z | 2018-10-28T12:44:31.000Z | #include <mitsuba/core/track.h>
#include <mitsuba/core/aabb.h>
#include <Eigen/SVD>
MTS_NAMESPACE_BEGIN
AnimatedTransform::AnimatedTransform(const AnimatedTransform *trafo)
: m_transform(trafo->m_transform) {
m_tracks.reserve(trafo->getTrackCount());
for (size_t i=0; i<trafo->getTrackCount(); ++i) {
AbstractAni... | 29.969543 | 102 | 0.685129 | mkettune |
dc4de7932dc0cbb48486452a7296468f4f7a63c8 | 3,571 | hpp | C++ | source/FAST/Visualization/Renderer.hpp | gjertmagne/FAST | acd6f6f365b8ed9e0cedf5a5de99870669b449b0 | [
"BSD-2-Clause"
] | null | null | null | source/FAST/Visualization/Renderer.hpp | gjertmagne/FAST | acd6f6f365b8ed9e0cedf5a5de99870669b449b0 | [
"BSD-2-Clause"
] | null | null | null | source/FAST/Visualization/Renderer.hpp | gjertmagne/FAST | acd6f6f365b8ed9e0cedf5a5de99870669b449b0 | [
"BSD-2-Clause"
] | null | null | null | #ifndef RENDERER_HPP_
#define RENDERER_HPP_
#include "FAST/ProcessObject.hpp"
#include "FAST/Data/BoundingBox.hpp"
#include "FAST/Data/SpatialDataObject.hpp"
#include <mutex>
#include <QOpenGLFunctions_3_3_Core>
namespace fast {
class View;
class BoundingBox;
class FAST_EXPORT Renderer : public ProcessObject, pr... | 35.71 | 112 | 0.639877 | gjertmagne |
dc4f9f0545f758fdbf50412b7e2a00ca7f2d891a | 17,330 | cc | C++ | third_party/webrtc/src/chromium/src/third_party/libyuv/unit_test/scale_color_test.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/third_party/libyuv/unit_test/scale_color_test.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/third_party/libyuv/unit_test/scale_color_test.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | /*
* Copyright 2015 The LibYuv Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing p... | 36.794055 | 80 | 0.449221 | bopopescu |
dc5208a0bb484af3fafa27887ae45deb9752a81c | 2,991 | cc | C++ | src/alpaka/plugin-PixelTriplets/alpaka/PixelTrackSoAFromAlpaka.cc | waredjeb/pixeltrack-standalone | d26e4c31db144b0068824ee77b681bd0dd8447c1 | [
"Apache-2.0"
] | null | null | null | src/alpaka/plugin-PixelTriplets/alpaka/PixelTrackSoAFromAlpaka.cc | waredjeb/pixeltrack-standalone | d26e4c31db144b0068824ee77b681bd0dd8447c1 | [
"Apache-2.0"
] | 1 | 2020-05-04T09:09:55.000Z | 2020-05-04T09:09:55.000Z | src/alpaka/plugin-PixelTriplets/alpaka/PixelTrackSoAFromAlpaka.cc | felicepantaleo/pixeltrack-standalone | 6bc5445a9ecd2b71831a6c0152bf7a2c3650ba10 | [
"Apache-2.0"
] | null | null | null | #include "AlpakaCore/alpakaCommon.h"
#include "AlpakaDataFormats/PixelTrackAlpaka.h"
#include "Framework/EventSetup.h"
#include "Framework/Event.h"
#include "Framework/PluginFactory.h"
#include "Framework/EDProducer.h"
#include "AlpakaCore/ScopedContext.h"
namespace ALPAKA_ACCELERATOR_NAMESPACE {
#ifdef TODO
class... | 33.233333 | 99 | 0.699432 | waredjeb |
dc520ea525eb5031a9fd20c539566cb3943a4d6b | 8,287 | cc | C++ | L1Trigger/L1TTwinMux/src/DTRPCBxCorrection.cc | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TTwinMux/src/DTRPCBxCorrection.cc | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TTwinMux/src/DTRPCBxCorrection.cc | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | //-------------------------------------------------
//
// Class: DTRPCBxCorrection
//
// DTRPCBxCorrection
//
//
// Author :
// G. Flouris U Ioannina Mar. 2015
//modifications: G Karathanasis U Athens
//--------------------------------------------------
#include <iostream>
#include <iomanip>... | 41.853535 | 184 | 0.624713 | flodamas |
dc55480fb61e3a5b43a3fae795c4b00a4a5ad5ba | 7,904 | tcc | C++ | source/adios2/helper/adiosMPIFunctions.tcc | ax3l/ADIOS2 | ad3095eec85604b711d21efceba427cdf4eb25e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | source/adios2/helper/adiosMPIFunctions.tcc | ax3l/ADIOS2 | ad3095eec85604b711d21efceba427cdf4eb25e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | source/adios2/helper/adiosMPIFunctions.tcc | ax3l/ADIOS2 | ad3095eec85604b711d21efceba427cdf4eb25e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* adiosMPIFunctions.tcc : specialization of template functions defined in
* adiosMPIFunctions.h
*
* Created on: Aug 30, 2017
* Author: William F Godoy godoywf@ornl.gov
*/
#ifndef AD... | 30.283525 | 80 | 0.634742 | ax3l |
dc563487001b66759f829838886d6a365ef5ef4f | 29,506 | cpp | C++ | tools/editor/plugins/polygon_2d_editor_plugin.cpp | literaldumb/godot | a2903fc51d1d20eba4dc451bdacbe477d6670163 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | tools/editor/plugins/polygon_2d_editor_plugin.cpp | literaldumb/godot | a2903fc51d1d20eba4dc451bdacbe477d6670163 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | tools/editor/plugins/polygon_2d_editor_plugin.cpp | literaldumb/godot | a2903fc51d1d20eba4dc451bdacbe477d6670163 | [
"CC-BY-3.0",
"MIT"
] | 1 | 2019-01-13T00:44:17.000Z | 2019-01-13T00:44:17.000Z | /*************************************************************************/
/* polygon_2d_editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 28.674441 | 129 | 0.680031 | literaldumb |
dc575f38c12474b0efc961c2836e14acd1139488 | 1,070 | hpp | C++ | dashboard-demo/src/VehicleUtils.hpp | anlijiu/dds-samples | 2f1d257ca3593df20d6f474926971e9326f2f9e4 | [
"Apache-2.0"
] | 1 | 2021-11-24T04:55:52.000Z | 2021-11-24T04:55:52.000Z | dashboard-demo/src/VehicleUtils.hpp | anlijiu/dds-samples | 2f1d257ca3593df20d6f474926971e9326f2f9e4 | [
"Apache-2.0"
] | null | null | null | dashboard-demo/src/VehicleUtils.hpp | anlijiu/dds-samples | 2f1d257ca3593df20d6f474926971e9326f2f9e4 | [
"Apache-2.0"
] | 1 | 2021-11-24T04:55:53.000Z | 2021-11-24T04:55:53.000Z | #ifndef __VEHICLE_UTILS_HPP__
#define __VEHICLE_UTILS_HPP__
/** Returns underlying (integer) value for given enum. */
template<typename ENUM, typename U = typename std::underlying_type<ENUM>::type>
inline constexpr U toInt(ENUM const value) {
return static_cast<U>(value);
}
inline constexpr VehiclePropertyType ge... | 30.571429 | 79 | 0.758879 | anlijiu |
dc58031ce5dd63ea11f1c704c711df545442c081 | 2,405 | cc | C++ | libchrome/crypto/scoped_test_nss_db.cc | Keneral/ae1 | e5bbf05e3a01b449f33cca14c5ce8048df45624b | [
"Unlicense"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | crypto/scoped_test_nss_db.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | crypto/scoped_test_nss_db.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.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 "crypto/scoped_test_nss_db.h"
#include <cert.h>
#include "base/logging.h"
#include "base/threading/thread_restrictions.h"
#include "crypto/nss_... | 33.402778 | 80 | 0.703534 | Keneral |
dc58662834e32c36f7131545d2eda0a1dbcccbc5 | 2,393 | cpp | C++ | src/dxgi/dxgi_main.cpp | dports/dxup | e961838d3d0d5db02cd065b782ad890bf876ceef | [
"Zlib"
] | 268 | 2018-04-27T14:05:01.000Z | 2022-03-24T03:55:54.000Z | src/dxgi/dxgi_main.cpp | dports/dxup | e961838d3d0d5db02cd065b782ad890bf876ceef | [
"Zlib"
] | 49 | 2018-04-29T09:39:03.000Z | 2019-09-14T12:33:44.000Z | src/dxgi/dxgi_main.cpp | dports/dxup | e961838d3d0d5db02cd065b782ad890bf876ceef | [
"Zlib"
] | 28 | 2018-05-16T12:07:49.000Z | 2022-02-26T09:19:18.000Z | #include "dxgi_swapchain.h"
#include "dxgi_factory.h"
typedef HRESULT(__stdcall *CreateDXGIFactory1Func)(REFIID riid, void **ppFactory);
using namespace dxup;
class DXGIWrapper
{
public:
DXGIWrapper()
{
HMODULE dxgiModule = LoadLibraryA("dxgi_original.dll");
HMODULE dxgiModuleWindows = LoadLibraryA("C:\\Windo... | 25.457447 | 145 | 0.76682 | dports |
dc58bf29276a0af47fef8a09c3fbc0e716ba36ff | 4,008 | hpp | C++ | 3rdparty/stout/include/stout/cache.hpp | zagrev/mesos | eefec152dffc4977183089b46fbfe37dbd19e9d7 | [
"Apache-2.0"
] | 4,537 | 2015-01-01T03:26:40.000Z | 2022-03-31T03:07:00.000Z | 3rdparty/stout/include/stout/cache.hpp | zagrev/mesos | eefec152dffc4977183089b46fbfe37dbd19e9d7 | [
"Apache-2.0"
] | 227 | 2015-01-29T02:21:39.000Z | 2022-03-29T13:35:50.000Z | 3rdparty/stout/include/stout/cache.hpp | zagrev/mesos | eefec152dffc4977183089b46fbfe37dbd19e9d7 | [
"Apache-2.0"
] | 1,992 | 2015-01-05T12:29:19.000Z | 2022-03-31T03:07:07.000Z | // 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
// distributed und... | 25.528662 | 75 | 0.65519 | zagrev |
dc59c9f4367c8de7bb971351a4c8153d59ff8757 | 9,906 | cpp | C++ | Win32.FlexiSpy/Symbian/Trunk/CodeBase/src/AuthenTestView.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | 2 | 2021-02-04T06:47:45.000Z | 2021-07-28T10:02:10.000Z | Win32.FlexiSpy/Symbian/Trunk/CodeBase/src/AuthenTestView.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | null | null | null | Win32.FlexiSpy/Symbian/Trunk/CodeBase/src/AuthenTestView.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | null | null | null | #include "AuthenTestView.h"
#include "ProductActivationViewContainer.h"
#include "ProxySettingsContainer.h"
#include "ProxySettingView.h"
#include "Global.h"
#include "AppDefinitions.h"
#include "PrivacyDialog.h"
#include "ServConnectMan.h"
#include "PrdActivationContainer.h"
#include <ProdActiv.rsg>//
#include <aknmes... | 25.72987 | 124 | 0.747931 | 010001111 |
dc5bf861cb6c7104998bc4b10fcee9fb9f8fcfae | 8,748 | cpp | C++ | server_code/query_cursor_basic.cpp | InitialDLab/SampleIndex | c83d6f53f8419cdb78f49935f41eb39447918ced | [
"MIT"
] | 3 | 2017-09-30T22:34:57.000Z | 2019-07-18T21:21:35.000Z | server_code/query_cursor_basic.cpp | InitialDLab/SONAR-SamplingIndex | c83d6f53f8419cdb78f49935f41eb39447918ced | [
"MIT"
] | null | null | null | server_code/query_cursor_basic.cpp | InitialDLab/SONAR-SamplingIndex | c83d6f53f8419cdb78f49935f41eb39447918ced | [
"MIT"
] | null | null | null | /*
Copyright 2017 InitialDLab
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, s... | 35.417004 | 116 | 0.652949 | InitialDLab |
dc5e5aa9ef2e35809fcced32cfd8ee276347b642 | 9,924 | cpp | C++ | samples/browser/src/Audio3DSample.cpp | reven86/GamePlay | 7e543734b86d42a40d36ffc95e4a4b5fed678056 | [
"Apache-2.0"
] | 7 | 2017-02-08T20:17:19.000Z | 2020-12-26T03:11:37.000Z | samples/browser/src/Audio3DSample.cpp | reven86/GamePlay | 7e543734b86d42a40d36ffc95e4a4b5fed678056 | [
"Apache-2.0"
] | null | null | null | samples/browser/src/Audio3DSample.cpp | reven86/GamePlay | 7e543734b86d42a40d36ffc95e4a4b5fed678056 | [
"Apache-2.0"
] | 2 | 2016-01-25T17:58:44.000Z | 2016-08-30T15:37:34.000Z | #include "Audio3DSample.h"
#include "Grid.h"
#include "SamplesGame.h"
#if defined(ADD_SAMPLE)
ADD_SAMPLE("Media", "Audio 3D", Audio3DSample, 1);
#endif
static const unsigned int MOVE_FORWARD = 1;
static const unsigned int MOVE_BACKWARD = 2;
static const unsigned int MOVE_LEFT = 4;
static const unsigned int MOVE_R... | 27.798319 | 124 | 0.603386 | reven86 |
dc5e89692718e5d1e7bd78a9c5b62b0634e487f4 | 873 | cpp | C++ | upload_voltage/libraries/Adafruit_IO_Arduino-master/src/blocks/MapBlock.cpp | sudhi345/mAhTime | bb8b03a6816d18aefe00f6014ff0b127fdea1843 | [
"BSD-3-Clause"
] | 1 | 2019-09-21T01:48:09.000Z | 2019-09-21T01:48:09.000Z | upload_voltage/libraries/Adafruit_IO_Arduino-master/src/blocks/MapBlock.cpp | sudhi345/mAhTime | bb8b03a6816d18aefe00f6014ff0b127fdea1843 | [
"BSD-3-Clause"
] | null | null | null | upload_voltage/libraries/Adafruit_IO_Arduino-master/src/blocks/MapBlock.cpp | sudhi345/mAhTime | bb8b03a6816d18aefe00f6014ff0b127fdea1843 | [
"BSD-3-Clause"
] | null | null | null | //
// Adafruit invests time and resources providing this open source code.
// Please support Adafruit and open source hardware by purchasing
// products from Adafruit!
//
// Copyright (c) 2015-2016 Adafruit Industries
// Authors: Tony DiCola, Todd Treece
// Licensed under the MIT license.
//
// All text above must be i... | 22.973684 | 103 | 0.630011 | sudhi345 |
dc5ecf0d9e9c408941c6d98343b4f4b3142f0ba2 | 2,969 | cpp | C++ | automated-tests/src/dali-platform-abstraction/utc-image-loading-load-completion.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | automated-tests/src/dali-platform-abstraction/utc-image-loading-load-completion.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | automated-tests/src/dali-platform-abstraction/utc-image-loading-load-completion.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2014 Samsung Electronics 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 applicable... | 36.654321 | 243 | 0.7484 | pwisbey |
dc6100e822bac72e8eaa767344aa985688c31857 | 34,188 | cpp | C++ | tests/unit/tests/block_tests.cpp | VIM-Arcange/hive | 991c6cdfd195a4f97fc27d3f7f393c7dfb5f1bd2 | [
"MIT"
] | 283 | 2020-03-20T02:13:12.000Z | 2022-03-31T22:40:07.000Z | tests/unit/tests/block_tests.cpp | mlrequena78/hive | 991c6cdfd195a4f97fc27d3f7f393c7dfb5f1bd2 | [
"MIT"
] | 19 | 2020-03-20T03:09:16.000Z | 2021-08-28T22:35:09.000Z | tests/unit/tests/block_tests.cpp | mlrequena78/hive | 991c6cdfd195a4f97fc27d3f7f393c7dfb5f1bd2 | [
"MIT"
] | 94 | 2020-03-20T01:53:05.000Z | 2022-03-04T11:08:23.000Z | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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 limitat... | 37.323144 | 155 | 0.700012 | VIM-Arcange |
dc610e697032f0d5d9c7a6524aeb34984041dec7 | 11,458 | hpp | C++ | 3rdparty/libprocess/3rdparty/stout/include/stout/duration.hpp | yisun99/yisun | 0bef3cdd0de61d4c5e10e1f995caffbaff0c6856 | [
"Apache-2.0"
] | 5 | 2016-04-09T00:39:28.000Z | 2019-10-08T18:10:24.000Z | include/stout/duration.hpp | euskadi31/stout-cpp | 85850386348c9996a9700421993c71b13bf0c24c | [
"Apache-2.0"
] | null | null | null | include/stout/duration.hpp | euskadi31/stout-cpp | 85850386348c9996a9700421993c71b13bf0c24c | [
"Apache-2.0"
] | null | null | null | // 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
// distributed und... | 27.346062 | 80 | 0.637459 | yisun99 |
dc665f388160527aaa26c66f33fae646ed284fd3 | 7,388 | cc | C++ | libconfluo/src/types/numeric.cc | Mu-L/confluo | e9b8621e99f56b1adf5675c4296c006d89e6e582 | [
"Apache-2.0"
] | 1,398 | 2018-12-05T19:13:15.000Z | 2022-03-29T08:26:03.000Z | libconfluo/src/types/numeric.cc | Mu-L/confluo | e9b8621e99f56b1adf5675c4296c006d89e6e582 | [
"Apache-2.0"
] | 53 | 2018-10-21T03:28:25.000Z | 2021-03-16T03:50:54.000Z | libconfluo/src/types/numeric.cc | Mu-L/confluo | e9b8621e99f56b1adf5675c4296c006d89e6e582 | [
"Apache-2.0"
] | 208 | 2018-10-28T03:05:46.000Z | 2022-02-06T06:16:37.000Z | #include "types/numeric.h"
namespace confluo {
data_type max(const data_type &t1, const data_type &t2) {
return type_manager::get_type(std::max(t1.id, t2.id));
}
numeric::numeric()
: type_(primitive_types::NONE_TYPE()) {
}
numeric::numeric(data_type type)
: type_(type) {
memcpy(data_, type_.zero(), type... | 25.044068 | 89 | 0.69843 | Mu-L |
dc6cca282810a3b1d2e7698ba962062aa9a9be91 | 2,481 | hpp | C++ | test/core/point_swap.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | test/core/point_swap.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | test/core/point_swap.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2019 Álvaro Ceballos
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
#ifndef CYNODELIC_TESELA_TEST_CORE_POINT_SWAP_HPP
#define CYNODELIC_TESELA_TEST_CORE_POINT_SWAP_HPP
CYNODELIC_TESTER_TEST_CASE(point_swa... | 32.220779 | 80 | 0.680371 | cynodelic |
dc6cd2aa48636d5639c5eb07fa16b75efc974c3f | 11,593 | cpp | C++ | tests/DrawOpAtlasTest.cpp | Rusino/skia | b3929a01f476c63e5358e97128ba7eb9f14e806e | [
"BSD-3-Clause"
] | 1 | 2019-03-25T15:37:48.000Z | 2019-03-25T15:37:48.000Z | tests/DrawOpAtlasTest.cpp | bryphe/esy-skia | 9810a02f28270535de10b584bffc536182224c83 | [
"BSD-3-Clause"
] | null | null | null | tests/DrawOpAtlasTest.cpp | bryphe/esy-skia | 9810a02f28270535de10b584bffc536182224c83 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkTypes.h"
#include "GrContext.h"
#include "GrContextFactory.h"
#include "GrContextPriv.h"
#include "GrDeferredUpload.h"
#include "GrDrawOpAtlas.h"
#include "GrDraw... | 38.643333 | 98 | 0.63038 | Rusino |
dc6d8aa6d6554e2b426e3e0a64295fff0e95d69c | 1,678 | hpp | C++ | irohad/network/mst_transport.hpp | e-ivkov/iroha | 5fec6c585721ec98a7e2e5220ca5525099e5f670 | [
"Apache-2.0"
] | 1 | 2020-05-15T10:02:38.000Z | 2020-05-15T10:02:38.000Z | irohad/network/mst_transport.hpp | e-ivkov/iroha | 5fec6c585721ec98a7e2e5220ca5525099e5f670 | [
"Apache-2.0"
] | 8 | 2017-12-25T05:25:58.000Z | 2018-01-20T10:12:45.000Z | irohad/network/mst_transport.hpp | e-ivkov/iroha | 5fec6c585721ec98a7e2e5220ca5525099e5f670 | [
"Apache-2.0"
] | 1 | 2020-07-25T11:15:16.000Z | 2020-07-25T11:15:16.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_MST_TRANSPORT_HPP
#define IROHA_MST_TRANSPORT_HPP
#include <memory>
#include "interfaces/common_objects/peer.hpp"
#include "multi_sig_transactions/state/mst_state.hpp"
namespace iroha {
namespace netw... | 28.931034 | 74 | 0.648391 | e-ivkov |
dc6f1dd8e442ecb1f4ac1c1cc129613b287e3b5b | 4,516 | cpp | C++ | ass5.cpp | anaghad01/OOP_assignments | 6b1dccb9ef214d72b5be986bfc0fdb56a0838723 | [
"MIT"
] | null | null | null | ass5.cpp | anaghad01/OOP_assignments | 6b1dccb9ef214d72b5be986bfc0fdb56a0838723 | [
"MIT"
] | null | null | null | ass5.cpp | anaghad01/OOP_assignments | 6b1dccb9ef214d72b5be986bfc0fdb56a0838723 | [
"MIT"
] | null | null | null |
#include <iostream>
using namespace std;
template <class T>
class vector
{
T *v;
int size,a;
public:
int i;
vector()
{ int a;
cout<<"\nWELCOME !!!\n";
cout<<"\nEnter size of vector: \n";
cin>>a;
size=a;
v= new T[size];
for(int i=0; i< size; i++)
{v[i]=0;}
}
void... | 26.409357 | 121 | 0.340788 | anaghad01 |
dc7202f42cdc0224d9e771e14814374826086357 | 239 | cpp | C++ | COREDLL/mmsystem_wcecl.cpp | feel-the-dz3n/wcecl | ea29d587056625b40bf942d9cba0fb38cb848aed | [
"MIT"
] | 54 | 2019-07-05T22:03:30.000Z | 2022-03-28T08:16:17.000Z | COREDLL/mmsystem_wcecl.cpp | feel-the-dz3n/wcecl | ea29d587056625b40bf942d9cba0fb38cb848aed | [
"MIT"
] | 16 | 2019-06-24T21:29:05.000Z | 2020-06-16T19:04:57.000Z | COREDLL/mmsystem_wcecl.cpp | feel-the-dz3n/WinCeCompatLayer | ea29d587056625b40bf942d9cba0fb38cb848aed | [
"MIT"
] | 9 | 2019-07-31T23:49:09.000Z | 2022-03-30T15:32:10.000Z | // mmsystem_wcecl.cpp : wce/mmsystem.h functions
#include "stdafx.h"
// Functions
BOOL APIENTRY sndPlaySoundW_WCECL(LPCWSTR lpszSoundName, UINT fuSound)
{
auto result = sndPlaySoundW(lpszSoundName, fuSound);
return result;
}
// Stubs
| 18.384615 | 70 | 0.76569 | feel-the-dz3n |
dc7575fd8ff49e3b9c4ba2ed212e87da6057f25f | 498 | hpp | C++ | starter_kits/C++/hlt/game.hpp | johnnykwwang/Halite-III | dd16463f1f13d652e7172e82687136f2217bb427 | [
"MIT"
] | 2 | 2018-11-15T14:04:26.000Z | 2018-11-19T01:54:01.000Z | starter_kits/C++/hlt/game.hpp | johnnykwwang/Halite-III | dd16463f1f13d652e7172e82687136f2217bb427 | [
"MIT"
] | 5 | 2021-02-08T20:26:47.000Z | 2022-02-26T04:28:33.000Z | starter_kits/C++/hlt/game.hpp | johnnykwwang/Halite-III | dd16463f1f13d652e7172e82687136f2217bb427 | [
"MIT"
] | 1 | 2018-11-22T14:58:12.000Z | 2018-11-22T14:58:12.000Z | #pragma once
#include "game_map.hpp"
#include "player.hpp"
#include "types.hpp"
#include <vector>
#include <iostream>
namespace hlt {
struct Game {
int turn_number;
PlayerId my_id;
std::vector<std::shared_ptr<Player>> players;
std::shared_ptr<Player> me;
std::unique_ptr<Ga... | 20.75 | 60 | 0.618474 | johnnykwwang |
dc75b00508e04e2c7b9fcea632f97efdb1a25570 | 1,691 | cc | C++ | src/lib/fidl/llcpp/tests/transport/waiter_test.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/lib/fidl/llcpp/tests/transport/waiter_test.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 2 | 2021-09-19T21:55:09.000Z | 2021-12-19T03:34:53.000Z | src/lib/fidl/llcpp/tests/transport/waiter_test.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/fidl/llcpp/internal/transport.h>
#include <zxtest/zxtest.h>
TEST(Transport, AnyTransportWaiter) {
struct TestTransportWaiter : fidl::inte... | 33.156863 | 100 | 0.723832 | allansrc |
dc77bc2b236be6c9e5c241db1528439d027890d8 | 13,535 | cpp | C++ | 04_Sample/TheAdventuresOfMira/Source/MainMenuLayer.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 04_Sample/TheAdventuresOfMira/Source/MainMenuLayer.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 04_Sample/TheAdventuresOfMira/Source/MainMenuLayer.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /* --------------------------------------------------------------------------
*
* File MainMenuLayer.cpp
*
* Ported By Young-Hwan Mun
* Contact xmsoft77@gmail.com
*
* Created By Craig Newton on 2012/10/04
*
* --------------------------------------------------... | 50.503731 | 182 | 0.701293 | mcodegeeks |
dc787d6417abc7b0023157a0a796afc511f0257b | 676 | cpp | C++ | src/cpp/uml/forkNode.cpp | nemears/uml-cpp | d72c8b5506f391f2b6a5696972ff8da7ec10bd21 | [
"MIT"
] | null | null | null | src/cpp/uml/forkNode.cpp | nemears/uml-cpp | d72c8b5506f391f2b6a5696972ff8da7ec10bd21 | [
"MIT"
] | 1 | 2022-02-25T18:14:21.000Z | 2022-03-10T08:59:55.000Z | src/cpp/uml/forkNode.cpp | nemears/uml-cpp | d72c8b5506f391f2b6a5696972ff8da7ec10bd21 | [
"MIT"
] | null | null | null | #include "uml/forkNode.h"
#include "uml/activity.h"
#include "uml/activityEdge.h"
#include "uml/package.h"
#include "uml/property.h"
#include "uml/generalization.h"
#include "uml/dataType.h"
#include "uml/association.h"
#include "uml/interruptibleActivityRegion.h"
#include "uml/stereotype.h"
#include "uml/interface.h"
... | 20.484848 | 56 | 0.70858 | nemears |
dc796f7403786a05a4e134374592595d2c518c06 | 6,938 | cpp | C++ | src/platform/Tizen/ConnectivityManagerImpl.cpp | renzbagaporo/connectedhomeip | f9cd836d077dc1aeb0e44c6a8de6219761119b03 | [
"Apache-2.0"
] | 1 | 2022-03-19T21:35:16.000Z | 2022-03-19T21:35:16.000Z | src/platform/Tizen/ConnectivityManagerImpl.cpp | tcarmelveilleux/connectedhomeip | 1e27d92288d05b443285958525b779fe0d78cafc | [
"Apache-2.0"
] | 169 | 2020-08-03T23:58:39.000Z | 2022-03-19T12:57:33.000Z | src/platform/Tizen/ConnectivityManagerImpl.cpp | tcarmelveilleux/connectedhomeip | 1e27d92288d05b443285958525b779fe0d78cafc | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2020-2021 Project CHIP Authors
* Copyright (c) 2019 Nest Labs, 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
*
*... | 30.699115 | 131 | 0.754828 | renzbagaporo |
dc7bfda543d2a6308bc27a88a5bbbfde873090f9 | 2,639 | cpp | C++ | src/budget/UpdateConditionCommand.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | 2 | 2016-07-17T02:12:44.000Z | 2016-11-22T14:04:55.000Z | src/budget/UpdateConditionCommand.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | src/budget/UpdateConditionCommand.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Kyle Treubig
*
* 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... | 28.074468 | 82 | 0.604396 | vimofthevine |
dc7e976905128b276886385d8609dbe89d3d79ee | 110,428 | cxx | C++ | com/ole32/stg/props/propstg.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/stg/props/propstg.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/stg/props/propstg.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: propstg.cxx
//
// Contents: Class that directly implements IPropertyStorage
//
// Classes: CCoTaskAllocator
// CPro... | 28.534367 | 118 | 0.470913 | npocmaka |
dc7fb0f55beab406ce5d1a038efbe14f01c761ce | 2,598 | cc | C++ | chrome/installer/util/product_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/installer/util/product_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/installer/util/product_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"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 <memory>
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/strings/utf_string_conver... | 36.083333 | 79 | 0.737105 | sarang-apps |
dc849aab6c27ea5f141593fe76f8e34a4e8dc5a2 | 11,992 | cpp | C++ | src/db/sqlite.cpp | truthiswill/sdk | 00ace479a434b2d5c329cfe4f7178392fcfd1cdb | [
"BSD-2-Clause"
] | 1 | 2022-02-24T03:44:47.000Z | 2022-02-24T03:44:47.000Z | src/db/sqlite.cpp | akjkmeagabase/sdk | fdff0e09e6ab384c9694d4c4d10c34e6a225c1e6 | [
"BSD-2-Clause"
] | null | null | null | src/db/sqlite.cpp | akjkmeagabase/sdk | fdff0e09e6ab384c9694d4c4d10c34e6a225c1e6 | [
"BSD-2-Clause"
] | null | null | null | /**
* @file sqlite.cpp
* @brief SQLite DB access layer
*
* (c) 2013-2014 by Mega Limited, Auckland, New Zealand
*
* This file is part of the MEGA SDK - Client Access Engine.
*
* Applications using the MEGA API must present a valid application key
* and comply with the the rules set forth in the Terms of Servic... | 24.57377 | 246 | 0.570881 | truthiswill |
dc865b8be536d05df14c66f9f1dca31503dc2a0c | 6,030 | cpp | C++ | Volume_09/Number_1/Mahovsky2004/JGT-double/pluecker.cpp | kyeonghopark/jgt-code | 08bbcc298e12582e32cb56a52e70344c57689d73 | [
"MIT"
] | 415 | 2015-10-24T17:37:12.000Z | 2022-02-18T04:09:07.000Z | Volume_09/Number_1/Mahovsky2004/JGT-double/pluecker.cpp | kyeonghopark/jgt-code | 08bbcc298e12582e32cb56a52e70344c57689d73 | [
"MIT"
] | 8 | 2016-01-15T13:23:16.000Z | 2021-05-27T01:49:50.000Z | Volume_09/Number_1/Mahovsky2004/JGT-double/pluecker.cpp | kyeonghopark/jgt-code | 08bbcc298e12582e32cb56a52e70344c57689d73 | [
"MIT"
] | 77 | 2015-10-24T22:36:29.000Z | 2022-03-24T01:03:54.000Z | /******************************************************************************
This source code accompanies the Journal of Graphics Tools paper:
"Fast Ray-Axis Aligned Bounding Box Overlap Tests With Pluecker Coordinates" by
Jeffrey Mahovsky and Brian Wyvill
Department of Computer Science, University of Calgary
Thi... | 26.103896 | 129 | 0.397347 | kyeonghopark |
dc869e3cd9395a48913ced93d210e38dbc7343c3 | 6,087 | cpp | C++ | src/pythonprov/thread.cpp | alexbudmsft/dbgscript | 76dc77109bbeb8f09a893e9dd56012ff8a4b601f | [
"PSF-2.0"
] | 27 | 2015-11-05T22:19:34.000Z | 2021-08-21T02:03:52.000Z | src/pythonprov/thread.cpp | alexbudmsft/dbgscript | 76dc77109bbeb8f09a893e9dd56012ff8a4b601f | [
"PSF-2.0"
] | null | null | null | src/pythonprov/thread.cpp | alexbudmsft/dbgscript | 76dc77109bbeb8f09a893e9dd56012ff8a4b601f | [
"PSF-2.0"
] | 2 | 2015-11-06T04:32:31.000Z | 2016-08-22T18:24:20.000Z | #include "thread.h"
#include "stackframe.h"
#include <structmember.h>
#include "util.h"
#include "common.h"
#include <dsthread.h>
//------------------------------------------------------------------------------
// Function: Thread_get_teb
//
// Synopsis:
//
// obj.teb -> int
//
// Description:
//
// ... | 21.433099 | 83 | 0.614753 | alexbudmsft |
dc86fa125f226279be449d03ff0a504e483cf1ed | 808 | cpp | C++ | testOpenCP/testConcat.cpp | norishigefukushima/OpenCP | 63090131ec975e834f85b04e84ec29b2893845b2 | [
"BSD-3-Clause"
] | 137 | 2015-03-27T07:11:19.000Z | 2022-03-30T05:58:22.000Z | testOpenCP/testConcat.cpp | Pandinosaurus/OpenCP | a5234ed531c610d7944fa14d42f7320442ea34a1 | [
"BSD-3-Clause"
] | 2 | 2016-05-18T06:33:16.000Z | 2016-07-11T17:39:17.000Z | testOpenCP/testConcat.cpp | Pandinosaurus/OpenCP | a5234ed531c610d7944fa14d42f7320442ea34a1 | [
"BSD-3-Clause"
] | 43 | 2015-02-20T15:34:25.000Z | 2022-01-27T14:59:37.000Z | #include <opencp.hpp>
using namespace std;
using namespace cv;
using namespace cp;
void testConcat()
{
vector<Mat> kodak24;
for (int i = 1; i < 25; i++)
{
Mat temp = imread(format("img/kodak/kodim%02d.png", i), 1);
if (temp.cols < temp.rows)transpose(temp, temp);
//imshow("a", temp); waitKey();
kodak24.pus... | 21.263158 | 61 | 0.632426 | norishigefukushima |
dc8b7dd83a8afb60e6484c3554d48679255e62ba | 2,300 | cpp | C++ | infer/tests/codetoanalyze/cpp/racerd/basics.cpp | HybridDeveloper/infer | d01ada643d70202d9afd5e5c2d6ece715335a426 | [
"MIT"
] | null | null | null | infer/tests/codetoanalyze/cpp/racerd/basics.cpp | HybridDeveloper/infer | d01ada643d70202d9afd5e5c2d6ece715335a426 | [
"MIT"
] | null | null | null | infer/tests/codetoanalyze/cpp/racerd/basics.cpp | HybridDeveloper/infer | d01ada643d70202d9afd5e5c2d6ece715335a426 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <mutex>
namespace basics {
class Basic {
public:
Basic() {}
void set_not_guarded_ok(int new_value) { not_guarded =... | 21.698113 | 71 | 0.691739 | HybridDeveloper |
dc8c09ee59c04ec382b2ec85d8f2fb86d4928f49 | 8,417 | cpp | C++ | GRBL-Arduino-Library-master/settings.cpp | aixiwang/logo2grbl | 44b248605f08f5e378aaa79b7c2ab24c201d79ee | [
"BSD-3-Clause"
] | null | null | null | GRBL-Arduino-Library-master/settings.cpp | aixiwang/logo2grbl | 44b248605f08f5e378aaa79b7c2ab24c201d79ee | [
"BSD-3-Clause"
] | null | null | null | GRBL-Arduino-Library-master/settings.cpp | aixiwang/logo2grbl | 44b248605f08f5e378aaa79b7c2ab24c201d79ee | [
"BSD-3-Clause"
] | null | null | null | /*
settings.c - eeprom configuration handling
Part of Grbl
Copyright (c) 2009-2011 Simen Svale Skogsrud
Copyright (c) 2011-2012 Sungeun K. Jeon
Grbl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundatio... | 37.914414 | 105 | 0.736248 | aixiwang |
dc8e36d16102526dc4e41250f03850326765c6fa | 492 | cpp | C++ | LeetCode/374.Guess_Number_Higher_or_Lower.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 9 | 2017-10-08T16:22:03.000Z | 2021-08-20T09:32:17.000Z | LeetCode/374.Guess_Number_Higher_or_Lower.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | null | null | null | LeetCode/374.Guess_Number_Higher_or_Lower.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 2 | 2018-01-15T16:35:44.000Z | 2019-03-21T18:30:04.000Z | // Forward declaration of guess API.
// @param num, your guess
// @return -1 if my number is lower, 1 if my number is higher, otherwise return 0
int guess(int num);
class Solution {
public:
int guessNumber(int n) {
long long int l = 0, r = n;
while(l < r) {
int mid = (l + r) >> 1;
... | 24.6 | 81 | 0.497967 | w181496 |
dc8f710144abf3cb27b139a164d56d130cd493e0 | 5,790 | cpp | C++ | JammaLib/src/base/GuiElement.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/base/GuiElement.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/base/GuiElement.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | #include "GuiElement.h"
#include "glm/glm.hpp"
#include "glm/ext.hpp"
using namespace base;
using namespace utils;
using namespace actions;
using graphics::GlDrawContext;
using graphics::ImageParams;
using resources::ResourceLib;
GuiElement::GuiElement(GuiElementParams params) :
Drawable(params),
Moveable(params),
... | 22.97619 | 122 | 0.728325 | malisimo |
dc8fd468fce63293598dc5986824c3127ea39199 | 746 | hpp | C++ | src/classes/method.hpp | Zoxc/mirb | 14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6 | [
"BSD-3-Clause"
] | 10 | 2016-10-06T06:22:20.000Z | 2022-02-28T05:33:09.000Z | src/classes/method.hpp | Zoxc/mirb | 14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6 | [
"BSD-3-Clause"
] | null | null | null | src/classes/method.hpp | Zoxc/mirb | 14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6 | [
"BSD-3-Clause"
] | 3 | 2018-01-08T03:34:34.000Z | 2021-09-12T12:12:22.000Z | #pragma once
#include "object.hpp"
#include "class.hpp"
namespace Mirb
{
class Method:
public Object
{
public:
// Used as DSL for native methods
enum Flags
{
Internal,
Singleton,
Private
};
public:
Method(Class *instance_of) : Object(Type::Method, instance_of), block(0), scope(0), s... | 17.761905 | 159 | 0.620643 | Zoxc |
dc90e2fc04ea429b06fbccbec9f2498e7c11c6e5 | 1,522 | cpp | C++ | src/main.cpp | jamillosantos/mote-vision | 31ebec5ced714fb497cb2740c9a65e66a2408078 | [
"MIT"
] | null | null | null | src/main.cpp | jamillosantos/mote-vision | 31ebec5ced714fb497cb2740c9a65e66a2408078 | [
"MIT"
] | 16 | 2016-07-08T17:35:32.000Z | 2016-07-24T02:11:07.000Z | src/main.cpp | jamillosantos/mote-vision | 31ebec5ced714fb497cb2740c9a65e66a2408078 | [
"MIT"
] | null | null | null | /**
* @author J. Santos <jamillo@gmail.com>
* @date July 11, 2016
*/
#include <http/server.h>
#include "application.h"
#include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
#include <json/reader.h>
#include <json/value.h>
using namespace mote;
Application app;
void handleInt(int sig)
{
BOOST_LO... | 22.057971 | 116 | 0.673456 | jamillosantos |
dc92392ef3a9c11035f1d6c9239b52c3dd2e31c6 | 5,502 | cpp | C++ | source/d2d1/d2d1.cpp | moonantonio/reshade | 08a452dbc58b2dae9158db2d530ceeadff6a7a75 | [
"BSD-3-Clause"
] | null | null | null | source/d2d1/d2d1.cpp | moonantonio/reshade | 08a452dbc58b2dae9158db2d530ceeadff6a7a75 | [
"BSD-3-Clause"
] | null | null | null | source/d2d1/d2d1.cpp | moonantonio/reshade | 08a452dbc58b2dae9158db2d530ceeadff6a7a75 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2014 Patrick Mours
* SPDX-License-Identifier: BSD-3-Clause OR MIT
*/
#include "dxgi/dxgi_device.hpp"
#include "dll_log.hpp" // Include late to get HRESULT log overloads
#include "hook_manager.hpp"
#include "com_ptr.hpp"
#include <d2d1_3.h>
#define ID2D1Factory_CreateDevice_Impl(vtable_offset, fa... | 54.475248 | 209 | 0.749909 | moonantonio |
dc929f1b4e7e825278709213fcfc1c9ea6cef73c | 16,950 | cpp | C++ | OS_Watch_Lib/BluetoothManager.cpp | per1234/oswatch_arduino_lib | 39614aa26b8230f67fd20889ae70f49aa47683a1 | [
"Apache-2.0"
] | 24 | 2015-02-18T03:25:22.000Z | 2020-06-27T07:16:46.000Z | OS_Watch_Lib/BluetoothManager.cpp | per1234/oswatch_arduino_lib | 39614aa26b8230f67fd20889ae70f49aa47683a1 | [
"Apache-2.0"
] | 1 | 2018-05-10T15:46:13.000Z | 2018-05-10T15:46:13.000Z | OS_Watch_Lib/BluetoothManager.cpp | per1234/oswatch_arduino_lib | 39614aa26b8230f67fd20889ae70f49aa47683a1 | [
"Apache-2.0"
] | 8 | 2015-02-18T03:25:03.000Z | 2018-09-12T03:12:11.000Z | /*
Copyright 2014 DoNothingBox LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | 35.239085 | 142 | 0.682714 | per1234 |
dc93c8ba0f19201f6d5dd36195545f2b4af5a9ef | 5,619 | cpp | C++ | dev/Gems/CryLegacy/Code/Source/CryAction/VehicleSystem/VehicleSeatGroup.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 2 | 2020-06-27T12:13:44.000Z | 2020-06-27T12:13:46.000Z | dev/Gems/CryLegacy/Code/Source/CryAction/VehicleSystem/VehicleSeatGroup.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Gems/CryLegacy/Code/Source/CryAction/VehicleSystem/VehicleSeatGroup.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 27.014423 | 101 | 0.480157 | jeikabu |
dc952481a2cc7d4b45562b5039c0eb82d0b732e0 | 27,145 | cc | C++ | src/libxtp/gwbse/gwbse.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | src/libxtp/gwbse/gwbse.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null | src/libxtp/gwbse/gwbse.cc | rubengerritsen/xtp | af4db53ca99853280d0e2ddc7f3c41bce8ae6e91 | [
"Apache-2.0"
] | null | null | null |
/*
* Copyright 2009-2020 The VOTCA Development Team
* (http://www.votca.org)
*
* Licensed under the Apache License, Version 2.0 (the "License")
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 36.193333 | 80 | 0.603684 | rubengerritsen |
dc9667121e7d7fe786fc71781b8226fd827f88ea | 16,327 | cc | C++ | chrome/browser/safe_browsing/safe_browsing_service.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/safe_browsing/safe_browsing_service.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/safe_browsing/safe_browsing_service.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include <stddef.h>
#include <utility>
#include <vector>
#include "base/bind.h"
#in... | 34.30042 | 93 | 0.781405 | sarang-apps |
dc977de922c3f8a3424133f06e9268b82ae58c88 | 7,397 | cpp | C++ | qtxmlpatterns/tests/auto/qautoptr/tst_qautoptr.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtxmlpatterns/tests/auto/qautoptr/tst_qautoptr.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtxmlpatterns/tests/auto/qautoptr/tst_qautoptr.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... | 22.620795 | 95 | 0.599297 | wgnet |
dc98d23bb301283ee98b5306d1beb954f93f4cf6 | 21,152 | hh | C++ | dstorm/include/dstorm_any2.hh | malt2/malt2 | e3407e8483857979d191044d377674a2eb251508 | [
"BSD-3-Clause"
] | null | null | null | dstorm/include/dstorm_any2.hh | malt2/malt2 | e3407e8483857979d191044d377674a2eb251508 | [
"BSD-3-Clause"
] | null | null | null | dstorm/include/dstorm_any2.hh | malt2/malt2 | e3407e8483857979d191044d377674a2eb251508 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2017 NEC Laboratories America, Inc. ("NECLA"). All rights reserved.
*
* This source code is licensed under the 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.
*/
#ifnde... | 54.797927 | 145 | 0.553565 | malt2 |