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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5664a55e1ed673dd2b43009f33a7c1faff1e1a2 | 72 | hpp | C++ | source/console-draw/rect.hpp | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | null | null | null | source/console-draw/rect.hpp | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | 30 | 2020-12-29T13:25:25.000Z | 2021-09-28T12:03:35.000Z | source/console-draw/rect.hpp | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | null | null | null | #pragma once
struct rect
{
int x;
int y;
int width;
int height;
};
| 7.2 | 12 | 0.625 | skwirl42 |
f566d8d2fac77bd34cd624683cf43ccbc3d2f6d1 | 8,204 | cpp | C++ | Bacchus_Engine/BlockheadInspector.cpp | ForestGin/Bacchus_Engine | 4cdc9aa576fa3c91aed75654aa333ed78070b5ce | [
"MIT"
] | null | null | null | Bacchus_Engine/BlockheadInspector.cpp | ForestGin/Bacchus_Engine | 4cdc9aa576fa3c91aed75654aa333ed78070b5ce | [
"MIT"
] | null | null | null | Bacchus_Engine/BlockheadInspector.cpp | ForestGin/Bacchus_Engine | 4cdc9aa576fa3c91aed75654aa333ed78070b5ce | [
"MIT"
] | null | null | null | #include "Application.h"
#include "ModuleSceneManager.h"
#include "ModuleRenderer3D.h"
#include "BlockheadInspector.h"
#include "GameObject.h"
#include "ComponentMesh.h"
#include "ComponentMaterial.h"
#include "ComponentRenderer.h"
#include "ComponentTransform.h"
#include "ComponentCamera.h"
#include "ResourceMesh.h... | 24.272189 | 113 | 0.695758 | ForestGin |
f56729fcd5b8fd504ca52f5eadcba9d8580676ac | 12,430 | cpp | C++ | src/tests/class_tests/openms/source/MetaInfoInterface_test.cpp | vmusch/OpenMS | 3c4a078ad4687677393c138d4acb91bb444a7c7b | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 348 | 2015-01-17T16:50:12.000Z | 2022-03-30T22:55:39.000Z | src/tests/class_tests/openms/source/MetaInfoInterface_test.cpp | vmusch/OpenMS | 3c4a078ad4687677393c138d4acb91bb444a7c7b | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 4,259 | 2015-01-01T14:07:54.000Z | 2022-03-31T16:49:14.000Z | src/tests/class_tests/openms/source/MetaInfoInterface_test.cpp | vmusch/OpenMS | 3c4a078ad4687677393c138d4acb91bb444a7c7b | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 266 | 2015-01-24T14:56:14.000Z | 2022-03-30T12:32:35.000Z | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 34.527778 | 123 | 0.713033 | vmusch |
f568388f82858f3891e51bf19fa53d3dbb9de993 | 71,015 | cpp | C++ | framework/common/tcuTextureUtil.cpp | asimiklit/VK-GL-CTS | ededa67cb12aec0c5e92e3eba40d3f3c7b4d697f | [
"Apache-2.0"
] | 1 | 2021-07-15T23:37:39.000Z | 2021-07-15T23:37:39.000Z | framework/common/tcuTextureUtil.cpp | asimiklit/VK-GL-CTS | ededa67cb12aec0c5e92e3eba40d3f3c7b4d697f | [
"Apache-2.0"
] | 1 | 2021-03-22T09:53:25.000Z | 2021-03-22T09:53:25.000Z | framework/common/tcuTextureUtil.cpp | asimiklit/VK-GL-CTS | ededa67cb12aec0c5e92e3eba40d3f3c7b4d697f | [
"Apache-2.0"
] | null | null | null | /*-------------------------------------------------------------------------
* drawElements Quality Program Tester Core
* ----------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... | 38.637106 | 168 | 0.689756 | asimiklit |
f569963a97c8bf5e0a151422d09ad513ccce9f0f | 39,535 | cpp | C++ | tests/test_estimator_pwm.cpp | AlterB/chronovise | 5c5fac329b143f3e62ebbc8523d7e205835dd4cb | [
"Apache-2.0"
] | 2 | 2021-02-04T18:22:41.000Z | 2021-12-08T10:57:00.000Z | tests/test_estimator_pwm.cpp | AlterB/chronovise | 5c5fac329b143f3e62ebbc8523d7e205835dd4cb | [
"Apache-2.0"
] | 9 | 2018-03-20T10:24:22.000Z | 2018-08-27T21:53:56.000Z | tests/test_estimator_pwm.cpp | AlterB/chronovise | 5c5fac329b143f3e62ebbc8523d7e205835dd4cb | [
"Apache-2.0"
] | 4 | 2018-05-16T14:27:55.000Z | 2022-01-28T17:18:24.000Z | #include "gtest/gtest.h"
#include "evt/gev_distribution.hpp"
#include "evt/gpd_distribution.hpp"
#include "evt/evtapproach_bm.hpp"
#include "evt/evtapproach_pot.hpp"
#include "statistical/estimator_pwm.hpp"
#include "utility/oop.hpp"
using namespace chronovise;
class EstimatorPWM_Test : public ::testing::Test {
prote... | 194.753695 | 12,494 | 0.753813 | AlterB |
f56b23777c7782d3e58619296f9268b26c3064fe | 31,886 | cpp | C++ | gtsam/nonlinear/ISAM2.cpp | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 1,402 | 2017-03-28T00:18:11.000Z | 2022-03-30T10:28:32.000Z | gtsam/nonlinear/ISAM2.cpp | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 851 | 2017-11-27T15:09:56.000Z | 2022-03-31T22:26:38.000Z | gtsam/nonlinear/ISAM2.cpp | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 565 | 2017-11-30T16:15:59.000Z | 2022-03-31T02:53:04.000Z | /* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... | 39.220172 | 80 | 0.644327 | kvmanohar22 |
f5702130d1819f4367c9aa6d81c6e5faa76ae412 | 9,236 | cpp | C++ | clang/lib/Lex/MacroInfo.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | clang/lib/Lex/MacroInfo.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | clang/lib/Lex/MacroInfo.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | //===- MacroInfo.cpp - Information about #defined identifiers -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 34.334572 | 84 | 0.646059 | LaudateCorpus1 |
f575a7b6bf2f30b8b7e48536084e3d4fb30ca260 | 1,852 | cpp | C++ | indra/llcommon/lleventtimer.cpp | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | 1 | 2022-01-29T07:10:03.000Z | 2022-01-29T07:10:03.000Z | indra/llcommon/lleventtimer.cpp | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | null | null | null | indra/llcommon/lleventtimer.cpp | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | 1 | 2021-10-01T22:22:27.000Z | 2021-10-01T22:22:27.000Z | /**
* @file lleventtimer.cpp
* @brief Cross-platform objects for doing timing
*
* $LicenseInfo:firstyear=2000&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 it under the terms of the ... | 25.027027 | 81 | 0.650108 | SaladDais |
f5765ea08d58e30f58316a9452fe376ca796ac09 | 3,821 | cpp | C++ | libraries/vulkan_renderer/private/VulkanSwapChain.cpp | cledant/particle_system_vulkan | d321eb6bae618138ad445368fa10b25a27a55d02 | [
"MIT"
] | 4 | 2021-12-20T19:35:20.000Z | 2021-12-27T10:59:35.000Z | libraries/vulkan_renderer/private/VulkanSwapChain.cpp | cledant/particle_system_vulkan | d321eb6bae618138ad445368fa10b25a27a55d02 | [
"MIT"
] | null | null | null | libraries/vulkan_renderer/private/VulkanSwapChain.cpp | cledant/particle_system_vulkan | d321eb6bae618138ad445368fa10b25a27a55d02 | [
"MIT"
] | 3 | 2021-12-27T06:51:00.000Z | 2021-12-31T07:42:45.000Z | #include "VulkanSwapChain.hpp"
#include <stdexcept>
#include "utils/VulkanImage.hpp"
#include "utils/VulkanSwapChainUtils.hpp"
#include "utils/VulkanPhysicalDevice.hpp"
void
VulkanSwapChain::init(VulkanInstance const &vkInstance,
uint32_t fb_w,
uint32_t fb_h)
{
_device... | 32.381356 | 79 | 0.713688 | cledant |
f5776324973ed49c80b1cd47d665865932adfce6 | 661 | cpp | C++ | C++/9.std/3.iterator/9.3.stl_iterator.cpp | Song2017/LabSourceCode | fb0a30f161c99f9c27d2fcdcf5fbb939c94684b8 | [
"MIT"
] | 2 | 2018-12-04T01:07:48.000Z | 2019-01-02T09:49:25.000Z | C++/9.std/3.iterator/9.3.stl_iterator.cpp | Song2017/LabSourceCode | fb0a30f161c99f9c27d2fcdcf5fbb939c94684b8 | [
"MIT"
] | 5 | 2020-05-25T09:15:49.000Z | 2021-03-15T02:21:40.000Z | C++/9.std/3.iterator/9.3.stl_iterator.cpp | Song2017/LabSourceCode | fb0a30f161c99f9c27d2fcdcf5fbb939c94684b8 | [
"MIT"
] | 3 | 2019-04-09T07:30:21.000Z | 2019-07-09T12:48:13.000Z | #include <iostream>
#include <list>
using namespace std;
int main()
{
// STL iterator
// 迭代器是一种smart pointer, 用于访问顺序容器和关联容器中的元素
// 相当于容器和操作容器的算法的之间的中介
cout << " std iterator " << endl;
list<int> v;
v.push_back(3);
v.push_back(4);
v.push_front(2);
v.push_front(1);
list<int>::cons... | 22.793103 | 50 | 0.517398 | Song2017 |
f577a06d74cad2f5af9604df8888fe023bce2c7f | 1,783 | cpp | C++ | c++/RealInterviewQ/maxsum.cpp | praveenpandit/programming | ee07b19d495f363297b5cc80d0b0a51b02cd964d | [
"MIT"
] | null | null | null | c++/RealInterviewQ/maxsum.cpp | praveenpandit/programming | ee07b19d495f363297b5cc80d0b0a51b02cd964d | [
"MIT"
] | null | null | null | c++/RealInterviewQ/maxsum.cpp | praveenpandit/programming | ee07b19d495f363297b5cc80d0b0a51b02cd964d | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
class solution
{
int *arr;
int length;
map<int, vector<int>> mp;
int sumDigit(int a)
{
if (a == 0)
return 0;
else
return (a % 10 + sumDigit(a / 10));
}
void... | 21.743902 | 68 | 0.398205 | praveenpandit |
f5797bca40147be7296109ef002888263a2a6e7f | 2,442 | cpp | C++ | src/linux/InotifyService.cpp | paulcbetts/nsfw | 765f692ab96af95325766a07ae8e090295e0003d | [
"MIT"
] | null | null | null | src/linux/InotifyService.cpp | paulcbetts/nsfw | 765f692ab96af95325766a07ae8e090295e0003d | [
"MIT"
] | 2 | 2021-05-11T20:29:59.000Z | 2021-09-02T14:16:05.000Z | src/linux/InotifyService.cpp | paulcbetts/nsfw | 765f692ab96af95325766a07ae8e090295e0003d | [
"MIT"
] | null | null | null | #include "../../includes/linux/InotifyService.h"
InotifyService::InotifyService(std::shared_ptr<EventQueue> queue, std::string path):
mEventLoop(NULL),
mQueue(queue),
mTree(NULL) {
mInotifyInstance = inotify_init();
if (mInotifyInstance == -1) {
return;
}
mTree = new InotifyTree(mInotifyInstance, p... | 20.694915 | 88 | 0.666257 | paulcbetts |
f57ae3f8aeb78831344306ee5d578b8f6105969e | 2,279 | cpp | C++ | samples/cpp/dft.cpp | thisisgopalmandal/opencv | 4e2ef8c8f57644ccb8e762a37f70a61007c6be1c | [
"BSD-3-Clause"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | samples/cpp/dft.cpp | thisisgopalmandal/opencv | 4e2ef8c8f57644ccb8e762a37f70a61007c6be1c | [
"BSD-3-Clause"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | samples/cpp/dft.cpp | thisisgopalmandal/opencv | 4e2ef8c8f57644ccb8e762a37f70a61007c6be1c | [
"BSD-3-Clause"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | #include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui.hpp"
#include <stdio.h>
using namespace cv;
using namespace std;
static void help(const char ** argv)
{
printf("\nThis program demonstrated the use of the disc... | 26.195402 | 99 | 0.607723 | thisisgopalmandal |
f57deec6e825181ede2cac20d6f4b76aa8b3942a | 1,605 | hpp | C++ | include/PgfPlotsGroupPlot.hpp | ksmith0/root2tikz | b87f464a988ec8629c8adb9d0fdcb15c990a9b07 | [
"MIT"
] | null | null | null | include/PgfPlotsGroupPlot.hpp | ksmith0/root2tikz | b87f464a988ec8629c8adb9d0fdcb15c990a9b07 | [
"MIT"
] | null | null | null | include/PgfPlotsGroupPlot.hpp | ksmith0/root2tikz | b87f464a988ec8629c8adb9d0fdcb15c990a9b07 | [
"MIT"
] | null | null | null | /**
* @author Karl Smith
* @date Mar 5, 2018
*/
#ifndef PGFPLOTSGROUPPLOT_HPP
#define PGFPLOTSGROUPPLOT_HPP
#include "PgfPlotsAxis.hpp"
#include "PgfPlotsGroupSubPlot.hpp"
class PgfPlotsGroupPlot : public PgfPlotsAxis {
public:
PgfPlotsGroupPlot(unsigned int rows, unsigned int columns, std::string options="");... | 26.75 | 85 | 0.730218 | ksmith0 |
f57fb426436cb7f84b8ba664864cf5bfacc1c733 | 15,549 | cc | C++ | mysql-server/router/src/http/src/http_common.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/router/src/http/src/http_common.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/router/src/http/src/http_common.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*
Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain ... | 29.730402 | 80 | 0.691106 | silenc3502 |
f584b7d38c14d64e5d8906a84361732b316a2066 | 5,343 | cpp | C++ | ParseTestSuite/src/TestPFManager.cpp | sourada/Parse-Qt-SDK | 32bb10a37ddebc71bae4e648438efb3bd9fdd48b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ParseTestSuite/src/TestPFManager.cpp | sourada/Parse-Qt-SDK | 32bb10a37ddebc71bae4e648438efb3bd9fdd48b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ParseTestSuite/src/TestPFManager.cpp | sourada/Parse-Qt-SDK | 32bb10a37ddebc71bae4e648438efb3bd9fdd48b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// TestPFManager.cpp
// ParseTestSuite
//
// Created by Christian Noon on 11/14/13.
// Copyright (c) 2013 Christian Noon. All rights reserved.
//
#include "PFManager.h"
#include "TestRunner.h"
using namespace parse;
class TestPFManager : public QObject
{
Q_OBJECT
private slots:
// Class init and cleanu... | 32.186747 | 107 | 0.75613 | sourada |
f58558d042a62782632fca80a70d3995379f1e1d | 1,876 | cpp | C++ | src/DSMR4_Parser.cpp | jawsper/nanoesp_p1 | 004a27d61bf7f08b672b7768f3e492892b725ad7 | [
"MIT"
] | null | null | null | src/DSMR4_Parser.cpp | jawsper/nanoesp_p1 | 004a27d61bf7f08b672b7768f3e492892b725ad7 | [
"MIT"
] | null | null | null | src/DSMR4_Parser.cpp | jawsper/nanoesp_p1 | 004a27d61bf7f08b672b7768f3e492892b725ad7 | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include "DSMR4_Parser.h"
#include "CRC16.h"
void DSMR4_Parser::addBuffer(const String& data) {
this->current_crc = CRC16(this->current_crc, data);
}
bool DSMR4_Parser::parseLine(const String& line) {
// Serial.print("parsing: \"");
// Serial.print(line);
// Serial.println("\"");
... | 27.588235 | 68 | 0.539446 | jawsper |
f588f904454f214864adda604b2654c69d97734f | 1,017 | hpp | C++ | Server.hpp | mpmartin8080/boop | acd724ebd7c5b950baa6d2bd70e7eb84cce1974c | [
"MIT"
] | null | null | null | Server.hpp | mpmartin8080/boop | acd724ebd7c5b950baa6d2bd70e7eb84cce1974c | [
"MIT"
] | null | null | null | Server.hpp | mpmartin8080/boop | acd724ebd7c5b950baa6d2bd70e7eb84cce1974c | [
"MIT"
] | null | null | null | #ifndef SERVER_HPP
#define SERVER_HPP
#include "Global.hpp"
#include "Demultiplexer.hpp"
#include "Multiplexer.hpp"
#include "UDPSocket.hpp"
#include "ProxyTable.hpp"
#include "Controller.hpp"
#include <thread>
#include <mutex>
#include <condition_variable>
#include <list>
struct ControlCmd;
class Controller;
// Ma... | 19.941176 | 55 | 0.709931 | mpmartin8080 |
f58a0dfaded949bf18dc15a8df8bec32b9ea1d5f | 3,204 | cpp | C++ | test/pgfe/pgfe-unit-connection-rows.cpp | thevojacek/pgfe | 22e85d4039c347dc4bb61bde8bdb0c4eeea860cf | [
"Zlib"
] | null | null | null | test/pgfe/pgfe-unit-connection-rows.cpp | thevojacek/pgfe | 22e85d4039c347dc4bb61bde8bdb0c4eeea860cf | [
"Zlib"
] | null | null | null | test/pgfe/pgfe-unit-connection-rows.cpp | thevojacek/pgfe | 22e85d4039c347dc4bb61bde8bdb0c4eeea860cf | [
"Zlib"
] | null | null | null | // -*- C++ -*-
// Copyright (C) Dmitry Igrishin
// For conditions of distribution and use, see files LICENSE.txt or pgfe.hpp
#include "pgfe-unit.hpp"
#include "dmitigr/pgfe.hpp"
struct Person {
int id;
std::string name;
unsigned int age;
};
void print(const Person& p)
{
std::cout << "{\n";
std::cout << " ... | 25.228346 | 89 | 0.560861 | thevojacek |
f58b3bfbe825297224a3fdeefedfc07aad170f2e | 1,391 | hpp | C++ | bazaar/ZMQ/lib/src/i_inout.hpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | bazaar/ZMQ/lib/src/i_inout.hpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | bazaar/ZMQ/lib/src/i_inout.hpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2007-2010 iMatix Corporation
This file is part of 0MQ.
0MQ is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any... | 27.82 | 77 | 0.680805 | dreamsxin |
f58c713052d019c6780e12795023f729681c2da7 | 3,126 | cpp | C++ | tests/language_unit/ast/node/assgn_test.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | tests/language_unit/ast/node/assgn_test.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | tests/language_unit/ast/node/assgn_test.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/language/ast.hpp>
#include <gtest/gtest.h>
#include <string>
using stan::lang::assgn;
using stan::lang::bare_expr_type;
using stan::lang::binary_op;
using stan::lang::double_literal;
using stan::lang::double_type;
using stan::lang::expression;
using stan::lang::idx;
using stan::lang::index_op_sliced;
us... | 26.948276 | 59 | 0.689379 | alashworth |
f58f05efa3401d2d8c3710c39212fa941c0afd95 | 1,289 | cpp | C++ | hashing/pdq/cpp/bin/hamming-tabulate.cpp | Brown4017/Facebook-Image-Video-2019 | cbc64771035b41d714d69d45dc6ff03eb18e2674 | [
"BSD-3-Clause"
] | 1 | 2020-01-10T04:07:18.000Z | 2020-01-10T04:07:18.000Z | hashing/pdq/cpp/bin/hamming-tabulate.cpp | Brown4017/Facebook-Image-Video-2019 | cbc64771035b41d714d69d45dc6ff03eb18e2674 | [
"BSD-3-Clause"
] | null | null | null | hashing/pdq/cpp/bin/hamming-tabulate.cpp | Brown4017/Facebook-Image-Video-2019 | cbc64771035b41d714d69d45dc6ff03eb18e2674 | [
"BSD-3-Clause"
] | null | null | null | #include <pdq/cpp/common/pdqbasetypes.h>
#include <pdq/cpp/common/pdqhamming.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using namespace facebook::pdq::hashing;
// ----------------------------------------------------------------
// Computes lookup tables for 8-bit Hamming distances. You can invoke... | 21.847458 | 75 | 0.504267 | Brown4017 |
f58f8b20b99b441b2418cc9e1e4b9049f64bcd3c | 759 | cpp | C++ | src/Functions/addSubSeconds.cpp | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | 2 | 2022-01-10T04:50:22.000Z | 2022-01-10T04:51:42.000Z | src/Functions/addSubSeconds.cpp | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | 16 | 2022-02-14T15:53:29.000Z | 2022-03-25T18:39:16.000Z | src/Functions/addSubSeconds.cpp | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | null | null | null | #include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionAddNanoseconds = FunctionDateOrDateTimeAddInterval<AddNanosecondsImpl>;
void registerFunctionAddNanoseconds(FunctionFactory & factory)
{
factory.registerFunction<FunctionAddNanoseconds>();... | 26.172414 | 87 | 0.84058 | chalice19 |
f594ab6778155b1ed7e5617943bdaf59c081cb4e | 428 | hpp | C++ | common/imgutils/imgmath.impl.hpp | dustsigns/lecture-demos | 50d5abb252e7e467e9648b61310ce93b85c6c5f0 | [
"BSD-3-Clause"
] | 14 | 2018-03-26T13:43:58.000Z | 2022-03-03T13:04:36.000Z | common/imgutils/imgmath.impl.hpp | dustsigns/lecture-demos | 50d5abb252e7e467e9648b61310ce93b85c6c5f0 | [
"BSD-3-Clause"
] | null | null | null | common/imgutils/imgmath.impl.hpp | dustsigns/lecture-demos | 50d5abb252e7e467e9648b61310ce93b85c6c5f0 | [
"BSD-3-Clause"
] | 1 | 2019-08-03T23:12:08.000Z | 2019-08-03T23:12:08.000Z | //Helper functions for calculations on images (template implementations)
// Andreas Unterweger, 2017-2018
//This code is licensed under the 3-Clause BSD License. See LICENSE file for details.
#pragma once
//#include "imgmath.hpp"
namespace imgutils
{
constexpr double LevelShift(const double value)
{
return v... | 20.380952 | 85 | 0.733645 | dustsigns |
f594c2b996b1d3b9d4fa3d80b9aebb974d828137 | 2,300 | cpp | C++ | ext/src/sublstm.cpp | cimacmillan/pytorch-subLSTM | 428e259063a016f6ddee0ec69e356bf8c1d87a44 | [
"MIT"
] | null | null | null | ext/src/sublstm.cpp | cimacmillan/pytorch-subLSTM | 428e259063a016f6ddee0ec69e356bf8c1d87a44 | [
"MIT"
] | null | null | null | ext/src/sublstm.cpp | cimacmillan/pytorch-subLSTM | 428e259063a016f6ddee0ec69e356bf8c1d87a44 | [
"MIT"
] | null | null | null | #include <torch/extension.h>
#include <iostream>
#include <vector>
torch::Tensor d_sigmoid(torch::Tensor z) {
auto s = torch::sigmoid(z);
return (1 - s) * s;
}
// tanh'(z) = 1 - tanh^2(z)
torch::Tensor d_tanh(torch::Tensor z) {
return 1 - z.tanh().pow(2);
}
// elu'(z) = relu'(z) + { alpha * exp(z) if (alpha * ... | 28.75 | 86 | 0.607391 | cimacmillan |
f597498f712d872f2e84af4a0b7bc9369efb1c4a | 7,397 | cpp | C++ | netsvcs/clients/Tokens/rw_lock/rw_locks.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | netsvcs/clients/Tokens/rw_lock/rw_locks.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | netsvcs/clients/Tokens/rw_lock/rw_locks.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | 1 | 2020-04-26T03:07:12.000Z | 2020-04-26T03:07:12.000Z |
//=============================================================================
/**
* @file rw_locks.cpp
*
* test_rw_locks shows how to use ACE_Local_RLock, ACE_Local_WLock,
* ACE_Remote_RLock, and ACE_Remote_WLock.
*
* @author Tim Harrison
*/
//=================================================... | 29.588 | 88 | 0.493443 | azerothcore |
60cff557b4dc4b85cbbda301d0ac24cb14531e59 | 940 | cpp | C++ | CPP/OOP/Class.cpp | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 148 | 2017-08-03T01:49:27.000Z | 2022-03-26T10:39:30.000Z | CPP/OOP/Class.cpp | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 3 | 2017-11-23T19:52:05.000Z | 2020-04-01T00:44:40.000Z | CPP/OOP/Class.cpp | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 59 | 2017-08-03T01:49:19.000Z | 2022-03-31T23:24:38.000Z | #include <iostream> //carrega um arquivo de definições (semelhante mas diferente do import)
using namespace std; //permite acessar os membros deste "pacote" diretamente
class Rectangle {
int width, height; //são privados por default
public: //tudo abaixo é público
Rectangle(int, int); //note só a assinatura ... | 39.166667 | 91 | 0.698936 | piovezan |
60d0eee6b8a466995c5a5afb517d8a47b7b5303d | 2,264 | cpp | C++ | third_party/mlir/lib/Support/ToolUtilities.cpp | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 56 | 2018-06-21T13:47:23.000Z | 2020-05-13T09:31:47.000Z | third_party/mlir/lib/Support/ToolUtilities.cpp | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 6 | 2022-01-15T07:17:47.000Z | 2022-02-14T15:28:22.000Z | third_party/mlir/lib/Support/ToolUtilities.cpp | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 15 | 2018-09-06T14:18:32.000Z | 2020-05-14T06:35:30.000Z | //===- ToolUtilities.cpp - MLIR Tool Utilities ----------------------------===//
//
// Copyright 2019 The MLIR 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.... | 39.034483 | 80 | 0.65106 | abhaikollara |
60d199428a306e8d23337f2fd48604e4555f05c3 | 2,605 | cpp | C++ | be/test/runtime/collection_value_test.cpp | emerkfu/incubator-doris | 8b7bb2d07c5c7fb28859df4f4b61a89be447f42d | [
"Apache-2.0"
] | 2 | 2022-01-26T15:24:34.000Z | 2022-02-10T09:07:33.000Z | be/test/runtime/collection_value_test.cpp | aiwenmo/incubator-doris | b33ab960a840553d2877d56c5c051a94df71917f | [
"Apache-2.0"
] | 2 | 2018-08-27T07:42:21.000Z | 2018-08-29T06:37:41.000Z | be/test/runtime/collection_value_test.cpp | aiwenmo/incubator-doris | b33ab960a840553d2877d56c5c051a94df71917f | [
"Apache-2.0"
] | 1 | 2022-01-14T17:35:25.000Z | 2022-01-14T17:35:25.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 28.010753 | 90 | 0.616891 | emerkfu |
60d20eef6a795596af65e072330a15cf8d34af64 | 1,932 | cpp | C++ | src/fontgen/main.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 69 | 2017-01-17T13:17:31.000Z | 2022-03-01T14:56:32.000Z | src/fontgen/main.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 1 | 2020-11-03T14:52:45.000Z | 2020-12-01T20:31:15.000Z | src/fontgen/main.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 8 | 2017-02-08T13:30:42.000Z | 2021-12-09T08:43:09.000Z | /*****************************************************************************
main.cpp
Author: Laurent de Soras, 2019
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms ... | 22.206897 | 78 | 0.493789 | mikelange49 |
60d353def9af38b2a10a30ffb4805392003414c1 | 2,494 | cpp | C++ | src/map/packets/message_standard.cpp | MarkWaldron/topaz | 271665a3cb6c0e0cd9842d32e5b91dd14541c9f3 | [
"FTL"
] | 2 | 2020-09-17T12:21:55.000Z | 2022-02-06T02:59:57.000Z | src/map/packets/message_standard.cpp | MarkWaldron/topaz | 271665a3cb6c0e0cd9842d32e5b91dd14541c9f3 | [
"FTL"
] | 5 | 2020-04-10T19:33:53.000Z | 2021-06-27T17:50:05.000Z | src/map/packets/message_standard.cpp | MarkWaldron/topaz | 271665a3cb6c0e0cd9842d32e5b91dd14541c9f3 | [
"FTL"
] | 2 | 2020-04-11T16:56:14.000Z | 2021-06-26T12:21:12.000Z | /*
===========================================================================
Copyright (c) 2010-2015 Darkstar Dev Teams
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of ... | 27.108696 | 124 | 0.661989 | MarkWaldron |
60d811429af6d48d5adccf0e043a007c9f6af197 | 7,458 | cxx | C++ | Modules/Visualization/MonteverdiGui/src/mvdStatusBarWidget.cxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Visualization/MonteverdiGui/src/mvdStatusBarWidget.cxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Visualization/MonteverdiGui/src/mvdStatusBarWidget.cxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.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 ... | 25.367347 | 147 | 0.508313 | heralex |
60d9b5c7bee32d86b125b14357bdceda1e5109b8 | 2,598 | cpp | C++ | facebook/2017/round1/3/main.cpp | seirion/code | 3b8bf79764107255185061cec33decbc2235d03a | [
"Apache-2.0"
] | 13 | 2015-06-07T09:26:26.000Z | 2019-05-01T13:23:38.000Z | facebook/2017/round1/3/main.cpp | seirion/code | 3b8bf79764107255185061cec33decbc2235d03a | [
"Apache-2.0"
] | null | null | null | facebook/2017/round1/3/main.cpp | seirion/code | 3b8bf79764107255185061cec33decbc2235d03a | [
"Apache-2.0"
] | 4 | 2016-03-05T06:21:05.000Z | 2017-02-17T15:34:18.000Z | // https://www.facebook.com/hackercup/problem/300438463685411/
// Facebook Hacker Cup 2016 Round 1
// Manic Moving
#include <iostream>
#include <cstdio>
#include <cstring>
#include <set>
using namespace std;
const int INF = 0x7f7f7f7f;
class Line { public:
Line(int t, int c) : to(t), cost(c) {}
int to, cost;... | 23.618182 | 78 | 0.454965 | seirion |
60d9f3a3a8331e59a81aa199055116b2ec970e2b | 953 | cpp | C++ | CPPSolutions/Hackerrank/CountingValleys.cpp | Dilbarjot/CP | 2395c6c270e53277a7a020e5b467e517353bc229 | [
"MIT"
] | null | null | null | CPPSolutions/Hackerrank/CountingValleys.cpp | Dilbarjot/CP | 2395c6c270e53277a7a020e5b467e517353bc229 | [
"MIT"
] | null | null | null | CPPSolutions/Hackerrank/CountingValleys.cpp | Dilbarjot/CP | 2395c6c270e53277a7a020e5b467e517353bc229 | [
"MIT"
] | null | null | null | /**
** Created by dilbar on 2021-01-17
** In progress
**/
#include <bits/stdc++.h>
using namespace std;
/*
* Complete the 'countingValleys' function below.
*
* The function is expected to return an INTEGER.
* The function accepts following parameters:
* 1. INTEGER steps
* 2. STRING path
*/
int countingV... | 19.44898 | 49 | 0.481637 | Dilbarjot |
60db6d7819fddb6ac56c9ae7a247232857fbac0b | 2,314 | cpp | C++ | src/execution/insert_executor.cpp | duynguyen-ori75/bustub-2019 | 5932f34c602aa8adbb25e7d1b70d82cb0802693f | [
"MIT"
] | 10 | 2020-10-11T15:29:56.000Z | 2021-10-09T06:59:14.000Z | src/execution/insert_executor.cpp | duynguyen-ori75/bustub-2019 | 5932f34c602aa8adbb25e7d1b70d82cb0802693f | [
"MIT"
] | 1 | 2020-10-01T03:36:12.000Z | 2020-10-01T03:36:12.000Z | src/execution/insert_executor.cpp | duynguyen-ori75/bustub-2019 | 5932f34c602aa8adbb25e7d1b70d82cb0802693f | [
"MIT"
] | 9 | 2020-09-01T03:35:19.000Z | 2022-02-04T05:00:26.000Z | //===----------------------------------------------------------------------===//
//
// BusTub
//
// insert_executor.cpp
//
// Identification: src/execution/insert_executor.cpp
//
// Copyright (c) 2015-19, Carnegie Mellon University Database Group
//
//===-------------------------------... | 36.730159 | 107 | 0.610631 | duynguyen-ori75 |
60dea5a4b2183c353cad8d1b08c062bb22bc471c | 5,609 | cpp | C++ | Splash_CPP/Splash_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/UnityEngine.IMGUIModule1.cpp | seonghwan-dev/Splash-Demonstration | b41a9be7ea3c22fb3e9d461b64bc87df70123c4a | [
"MIT"
] | null | null | null | Splash_CPP/Splash_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/UnityEngine.IMGUIModule1.cpp | seonghwan-dev/Splash-Demonstration | b41a9be7ea3c22fb3e9d461b64bc87df70123c4a | [
"MIT"
] | null | null | null | Splash_CPP/Splash_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/UnityEngine.IMGUIModule1.cpp | seonghwan-dev/Splash-Demonstration | b41a9be7ea3c22fb3e9d461b64bc87df70123c4a | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Byte[]
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
// System.Char[]
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
// System.String
struct ... | 25.495455 | 186 | 0.808522 | seonghwan-dev |
60def206a9486274c6b0ef84f696e5b451efa39f | 2,778 | hpp | C++ | src/mlpack/methods/ann/layer/not_adapted/concat_performance_impl.hpp | shubham1206agra/mlpack | 2c656fcba850134f3f5d1dd1a6a1a15743aa7661 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | src/mlpack/methods/ann/layer/not_adapted/concat_performance_impl.hpp | shubham1206agra/mlpack | 2c656fcba850134f3f5d1dd1a6a1a15743aa7661 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | src/mlpack/methods/ann/layer/not_adapted/concat_performance_impl.hpp | shubham1206agra/mlpack | 2c656fcba850134f3f5d1dd1a6a1a15743aa7661 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | /**
* @file methods/ann/layer/concat_performance_impl.hpp
* @author Marcus Edel
*
* Implementation of the ConcatPerformance class.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license a... | 23.542373 | 78 | 0.714543 | shubham1206agra |
60e0a67cb07d212827575cfd62fa21023b2a36e2 | 2,579 | cpp | C++ | samples/Lua2D/proj.win32/main.cpp | pontelua/Lua2D | dde44d78d1600bb9a06e27908cfddf441e1012a6 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | 2 | 2015-03-22T00:17:30.000Z | 2017-09-30T03:23:25.000Z | samples/Lua2D/proj.win32/main.cpp | pontelua/Lua2D | dde44d78d1600bb9a06e27908cfddf441e1012a6 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | samples/Lua2D/proj.win32/main.cpp | pontelua/Lua2D | dde44d78d1600bb9a06e27908cfddf441e1012a6 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | #include "main.h"
#include "AppDelegate.h"
#include "CCEGLView.h"
#include "XGetOpt.h"
#include <ShellAPI.h>
USING_NS_CC;
static void parseOptions(AppDelegate* app, int argc, TCHAR* argv[]);
#ifdef _CONSOLE
int _tmain(int argc, _TCHAR* argv[])
{
#else
// uncomment below line, open debug console
#defi... | 22.823009 | 88 | 0.630089 | pontelua |
60e27dbbe79c62eeb601dcb8f827aa164f0de77d | 1,209 | hpp | C++ | benchmark/refine.hpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | benchmark/refine.hpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | benchmark/refine.hpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | #pragma once
#include <math.h>
#include "common.hpp"
#include <common/IO.h>
#include <common/geometry.h>
#include <common/geometryIO.h>
#include <testData/geometryData/geometryData.h>
#include <benchmarks/delaunayRefine/incrementalRefine/refine.C>
using namespace benchIO;
using namespace dataGen;
using namespace std;
... | 23.705882 | 102 | 0.712159 | mikerainey |
60e5e83d6c470fc4136506c0af368163104b0d87 | 1,327 | cpp | C++ | CSES/Graph Algorithms/Shortest Routes I.cpp | s166harth/CC | b6c0fe58f03633fe2787a567a16909f1b2966e7b | [
"MIT"
] | 406 | 2020-05-28T13:35:08.000Z | 2022-03-31T17:23:26.000Z | CSES/Graph Algorithms/Shortest Routes I.cpp | shakeeb-droids/CC | 2f49fcb52d748804aee9fc7f26abb3150bec69e5 | [
"MIT"
] | 3 | 2021-01-01T17:50:34.000Z | 2021-10-02T10:02:27.000Z | CSES/Graph Algorithms/Shortest Routes I.cpp | shakeeb-droids/CC | 2f49fcb52d748804aee9fc7f26abb3150bec69e5 | [
"MIT"
] | 108 | 2020-07-21T13:02:33.000Z | 2022-03-28T22:46:49.000Z | /**
🍪 the_hyp0cr1t3
🍪 18.05.2021 00:21:28
**/
#ifdef W
#include <k_II.h>
#else
#include <bits/stdc++.h>
using namespace std;
#endif
#define pb emplace_back
#define all(x) x.begin(), x.end()
#define sz(x) static_cast<int32_t>(x.size())
auto chmax = [](auto& A, auto&& B) { return B > A? A = B, true : fals... | 25.519231 | 74 | 0.497362 | s166harth |
60e6638b0e4872e946e98a709ecc923cb59bdb2d | 236 | cpp | C++ | raygame/MasterTile.cpp | DynashEtvala/CodeDesignAndDataStructures | c516f9e1a6bde3e41f716114bb74da993f8cbfd8 | [
"MIT"
] | null | null | null | raygame/MasterTile.cpp | DynashEtvala/CodeDesignAndDataStructures | c516f9e1a6bde3e41f716114bb74da993f8cbfd8 | [
"MIT"
] | null | null | null | raygame/MasterTile.cpp | DynashEtvala/CodeDesignAndDataStructures | c516f9e1a6bde3e41f716114bb74da993f8cbfd8 | [
"MIT"
] | null | null | null | #include "MasterTile.h"
MasterTile::MasterTile() : Tile()
{
masterTile = true;
}
MasterTile::~MasterTile()
{}
void MasterTile::CycleTexture()
{
currTex++;
if (currTex >= 4)
{
currTex = 0;
}
Background = textures[currTex];
} | 11.238095 | 33 | 0.644068 | DynashEtvala |
60e8562d2d6b0db73ffa640991a9333f25d2df03 | 10,152 | cc | C++ | src/Physics/Physics.cc | as1m0n/spheral | 4d72822f56aca76d70724c543d389d15ff6ca48e | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | null | null | null | src/Physics/Physics.cc | as1m0n/spheral | 4d72822f56aca76d70724c543d389d15ff6ca48e | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | null | null | null | src/Physics/Physics.cc | as1m0n/spheral | 4d72822f56aca76d70724c543d389d15ff6ca48e | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | null | null | null | //---------------------------------Spheral++----------------------------------//
// Physics -- The topmost abstract base class for all physics packages in
// Spheral++. Physics defines the methods generic to all physics classes,
// but leaves specialized interfaces for particular types of physics (radiative vs.
// hyd... | 37.323529 | 91 | 0.438042 | as1m0n |
60ea0654051b3f54427e8dfcd596036a6e480f80 | 4,508 | hpp | C++ | libcaf_core/caf/mailbox_element.hpp | dcode/actor-framework | 47ebe211f07d31725a3910ed966db1c31192d984 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/caf/mailbox_element.hpp | dcode/actor-framework | 47ebe211f07d31725a3910ed966db1c31192d984 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/caf/mailbox_element.hpp | dcode/actor-framework | 47ebe211f07d31725a3910ed966db1c31192d984 | [
"BSL-1.0",
"BSD-3-Clause"
] | 3 | 2020-05-21T20:54:58.000Z | 2020-06-17T13:44:13.000Z | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 38.20339 | 80 | 0.564552 | dcode |
60ebc6dc658c7584eec7c145097229686334ea9d | 2,521 | cpp | C++ | generated-sources/cpp-pistache-server/mojang-authentication/model/ReducedUserData.cpp | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/cpp-pistache-server/mojang-authentication/model/ReducedUserData.cpp | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/cpp-pistache-server/mojang-authentication/model/ReducedUserData.cpp | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | /**
* Mojang Authentication API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 2020-06-05
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edi... | 18.136691 | 108 | 0.581119 | AsyncMC |
60eeac728ff14eb62ebaab7902e91a8ad68a8b52 | 4,317 | cpp | C++ | apigateway/src/v20180808/model/ServiceReleaseHistoryInfo.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | apigateway/src/v20180808/model/ServiceReleaseHistoryInfo.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | apigateway/src/v20180808/model/ServiceReleaseHistoryInfo.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"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
... | 29.168919 | 149 | 0.715775 | li5ch |
60ef26e094e5ace5b40479a13a644efb75b4fa48 | 591 | cpp | C++ | AceptaElReto/370_La13-14.cpp | OscarCaroNavarro/competitive-programming | 5ff52544119cbbfd35d4129fbfd14647808a8a44 | [
"Apache-2.0"
] | 2 | 2019-09-14T08:56:08.000Z | 2019-10-22T07:26:08.000Z | AceptaElReto/370_La13-14.cpp | OscarCaroNavarro/competitive-programming | 5ff52544119cbbfd35d4129fbfd14647808a8a44 | [
"Apache-2.0"
] | null | null | null | AceptaElReto/370_La13-14.cpp | OscarCaroNavarro/competitive-programming | 5ff52544119cbbfd35d4129fbfd14647808a8a44 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
bool isPrime(int num);
void print(bool is);
int main() {
short int n;
unsigned long long int num1, num2;
char aux;
bool is;
cin >> n;
for (int i = 0; i < n; i++){
cin >> num1;
cin >> aux;
cin >> num2;
if ((num2 - num1) == 1){
is = isPrime(num1);
print (is);
... | 14.775 | 35 | 0.529611 | OscarCaroNavarro |
60f16e5195ac7ecee5595ee7045a8f576b193809 | 1,388 | cc | C++ | gin/gin_features.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | gin/gin_features.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | gin/gin_features.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gin/gin_features.h"
namespace features {
// Enables optimization of JavaScript in V8.
const base::Feature kV8OptimizeJavascript{"V8OptimizeJav... | 42.060606 | 80 | 0.68804 | sarang-apps |
60f204f575eec2a7233de6d19ff09fb8d0906495 | 1,409 | hpp | C++ | components/scream/src/physics/shoc/shoc_pblintd_surf_temp_impl.hpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | 22 | 2018-12-12T17:44:55.000Z | 2022-03-11T03:47:38.000Z | components/scream/src/physics/shoc/shoc_pblintd_surf_temp_impl.hpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | 1,440 | 2018-07-10T16:49:55.000Z | 2022-03-31T22:41:25.000Z | components/scream/src/physics/shoc/shoc_pblintd_surf_temp_impl.hpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | 24 | 2018-11-12T15:43:53.000Z | 2022-03-30T18:10:52.000Z | #ifndef SHOC_PBLINTD_SURF_TEMP_IMPL_HPP
#define SHOC_PBLINTD_SURF_TEMP_IMPL_HPP
#include "shoc_functions.hpp" // for ETI only but harmless for GPU
namespace scream {
namespace shoc {
/*
* Implementation of shoc pblintd_surf_temp. Clients should NOT
* #include this file, but include shoc_functions.hpp instead.
*/
... | 27.096154 | 90 | 0.695529 | ambrad |
60f2abce760ae8ea4db60068e0a208da225baf17 | 4,013 | cpp | C++ | lib/jdksmidi/src/jdksmidi_matrix.cpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 37 | 2015-10-30T21:56:26.000Z | 2021-11-30T15:33:26.000Z | lib/jdksmidi/src/jdksmidi_matrix.cpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 27 | 2015-01-06T05:45:55.000Z | 2020-01-29T21:40:22.000Z | lib/jdksmidi/src/jdksmidi_matrix.cpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 8 | 2016-02-07T23:31:03.000Z | 2020-07-12T08:51:41.000Z | /*
* libjdksmidi-2004 C++ Class Library for MIDI
*
* Copyright (C) 2004 J.D. Koftinoff Software, Ltd.
* www.jdkoftinoff.com
* jeffk@jdkoftinoff.com
*
* *** RELEASED UNDER THE GNU GENERAL PUBLIC LICENSE (GPL) April 27, 2004 ***
*
* This program is free software; you can redistribute it and/or modify
* ... | 22.049451 | 78 | 0.588836 | SkyTemple |
60f2fa07608c4b7a18836d990e486c7067a8d3cf | 11,584 | cpp | C++ | src/mongo/db/ops/modifier_set.cpp | krareT/mongo | 8776cef330c6de839d80ceec5bd2a63f3c411c6e | [
"Apache-2.0"
] | null | null | null | src/mongo/db/ops/modifier_set.cpp | krareT/mongo | 8776cef330c6de839d80ceec5bd2a63f3c411c6e | [
"Apache-2.0"
] | null | null | null | src/mongo/db/ops/modifier_set.cpp | krareT/mongo | 8776cef330c6de839d80ceec5bd2a63f3c411c6e | [
"Apache-2.0"
] | 5 | 2020-12-16T13:31:55.000Z | 2021-01-17T07:39:30.000Z | /**
* Copyright (C) 2013 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful... | 42.745387 | 100 | 0.65884 | krareT |
60f31026702865a07fed6025c9209fbc465f8f80 | 4,524 | cpp | C++ | 5/Code/ThirdParty/SDL2/src/thread/stdcpp/SDL_systhread.cpp | Zakhar-V/Prototypes | 413a7ce9fdb2a6f3ba97a041f798c71351efc855 | [
"MIT"
] | 1 | 2021-01-10T07:29:05.000Z | 2021-01-10T07:29:05.000Z | Code/External/SDL2/src/thread/stdcpp/SDL_systhread.cpp | Zakhar-V/NanoEngine | 01896caeae2e5505a8a5f303b07e84694c201d6d | [
"MIT"
] | null | null | null | Code/External/SDL2/src/thread/stdcpp/SDL_systhread.cpp | Zakhar-V/NanoEngine | 01896caeae2e5505a8a5f303b07e84694c201d6d | [
"MIT"
] | null | null | null | /*
Simple DirectMedia Layer
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | 26.928571 | 100 | 0.673298 | Zakhar-V |
60f49327fa240593f58cf1574e872c3424d315f0 | 55,916 | cpp | C++ | src/catalog_po.cpp | jhertel/poed | 679057f8a9e051e482cbfa9caf2bfb37f8a4b0c2 | [
"MIT"
] | null | null | null | src/catalog_po.cpp | jhertel/poed | 679057f8a9e051e482cbfa9caf2bfb37f8a4b0c2 | [
"MIT"
] | null | null | null | src/catalog_po.cpp | jhertel/poed | 679057f8a9e051e482cbfa9caf2bfb37f8a4b0c2 | [
"MIT"
] | null | null | null | /*
* This file is part of Poedit (https://poedit.net)
*
* Copyright (C) 1999-2020 Vaclav Slavik
*
* 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 wi... | 31.431141 | 180 | 0.544656 | jhertel |
60f5d5fe22d3a047ee26954dcb7a20d16707716e | 815 | hpp | C++ | sprout/container/remake.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | 1 | 2020-02-04T05:16:01.000Z | 2020-02-04T05:16:01.000Z | sprout/container/remake.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | null | null | null | sprout/container/remake.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | null | null | null | #ifndef SPROUT_CONTAINER_REMAKE_HPP
#define SPROUT_CONTAINER_REMAKE_HPP
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/container/container_traits.hpp>
#include <sprout/container/container_construct_traits.hpp>
#include <sprout/utility/forward.hpp>
namespace sprout {
//
// remake
/... | 31.346154 | 107 | 0.75092 | osyo-manga |
60f60afdea4b3f0705fb8b6465dcdf56d4823122 | 2,302 | cpp | C++ | src/cpp/rtps/writer/PersistentWriter.cpp | pbleyer/Fast-DDS | 1963bd8ccbe0bc6c93267fb1977565d32ef56188 | [
"Apache-2.0"
] | null | null | null | src/cpp/rtps/writer/PersistentWriter.cpp | pbleyer/Fast-DDS | 1963bd8ccbe0bc6c93267fb1977565d32ef56188 | [
"Apache-2.0"
] | null | null | null | src/cpp/rtps/writer/PersistentWriter.cpp | pbleyer/Fast-DDS | 1963bd8ccbe0bc6c93267fb1977565d32ef56188 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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... | 29.896104 | 107 | 0.734144 | pbleyer |
60f6a74a7ec786c8949532911ef0462164404817 | 10,306 | cpp | C++ | src/rosecommon/src/crosesocket.cpp | RavenX8/osirosenew | b4ef1aade379e0eb4753b24c30ec43faca77aa37 | [
"Apache-2.0"
] | 49 | 2017-02-07T15:10:04.000Z | 2021-11-12T06:00:30.000Z | src/rosecommon/src/crosesocket.cpp | RavenX8/osirosenew | b4ef1aade379e0eb4753b24c30ec43faca77aa37 | [
"Apache-2.0"
] | 104 | 2016-10-31T01:42:59.000Z | 2021-08-28T13:29:09.000Z | src/rosecommon/src/crosesocket.cpp | RavenX8/osirosenew | b4ef1aade379e0eb4753b24c30ec43faca77aa37 | [
"Apache-2.0"
] | 36 | 2016-11-01T11:25:34.000Z | 2022-03-09T22:38:51.000Z | // Copyright 2016 Chirstopher Torres (Raven), L3nn0x
//
// 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 ... | 33.901316 | 180 | 0.682224 | RavenX8 |
60f70a936be826939d317470593a1d5737a5777a | 773 | cpp | C++ | tests/getApp_test.cpp | TheKuko/BP | b3385f52880ef9799c4003e92148488a5463f416 | [
"MIT"
] | 5 | 2017-10-25T12:48:52.000Z | 2021-06-25T07:46:57.000Z | tests/getApp_test.cpp | jzlka/namon | b3385f52880ef9799c4003e92148488a5463f416 | [
"MIT"
] | null | null | null | tests/getApp_test.cpp | jzlka/namon | b3385f52880ef9799c4003e92148488a5463f416 | [
"MIT"
] | 3 | 2017-10-25T13:54:10.000Z | 2019-08-01T07:03:20.000Z | /**
* @file getApp_test.cpp
* @brief Brief description
* @author Jozef Zuzelka <xzuzel00@stud.fit.vutbr.cz>
* @date
* - Created: 28.03.2017 17:08
* - Edited: 23.06.2017 12:16
*/
#include <iostream> // cout, cerr, endl
#include "namon_linux.hpp" // getApp()
using namespace st... | 20.342105 | 73 | 0.547219 | TheKuko |
60f8b6efeb984b89e911bef8b60b544f09bef0c5 | 1,914 | cpp | C++ | Qt6/Books/BlanchetteSummerfield/chap06/findfiledialog3/findfiledialog.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | Qt6/Books/BlanchetteSummerfield/chap06/findfiledialog3/findfiledialog.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | Qt6/Books/BlanchetteSummerfield/chap06/findfiledialog3/findfiledialog.cpp | neon1ks/Study | 5d40171cf3bf5e8d3a95539e91f5afec54d1daf3 | [
"MIT"
] | null | null | null | #include <QtWidgets>
#include "findfiledialog.h"
FindFileDialog::FindFileDialog(QWidget *parent) : QDialog(parent)
{
namedLabel = new QLabel(tr("&Named:"));
namedLineEdit = new QLineEdit;
namedLabel->setBuddy(namedLineEdit);
lookInLabel = new QLabel(tr("&Look in:"));
lookInLineEdit = new QLineEdi... | 32.440678 | 76 | 0.69279 | neon1ks |
60fac7559e0a5a36c95e6c97359126fcc643b937 | 184 | cpp | C++ | lec02/hello.cpp | webturing/2018NOIPCppCD | aac96f14ed820e2b17a9585067dbd4b555269e9f | [
"MIT"
] | 3 | 2020-04-15T05:13:26.000Z | 2020-09-23T09:38:58.000Z | lec02/hello.cpp | webturing/2018NOIPCppCD | aac96f14ed820e2b17a9585067dbd4b555269e9f | [
"MIT"
] | null | null | null | lec02/hello.cpp | webturing/2018NOIPCppCD | aac96f14ed820e2b17a9585067dbd4b555269e9f | [
"MIT"
] | 3 | 2019-03-18T03:16:43.000Z | 2021-11-17T07:07:11.000Z | #include <iostream>
using namespace std;
int main() {
cout << 13 + 4 << "\n" << 13 - 4;
cout << "\n";
cout << 13 * 4;
cout << "\n";
cout << 13 / 4;
return 0;
}
| 15.333333 | 36 | 0.440217 | webturing |
60fc6f1e069857f4a51c44e3a23f9a4c49b19fc8 | 2,386 | hpp | C++ | lib/App/DeviceConfig.hpp | thorsten-l/ESP8266-WiFi-Socket-3 | b40bcd1005a3f972a8fbec1a2949f5239fd6bc19 | [
"Apache-2.0"
] | null | null | null | lib/App/DeviceConfig.hpp | thorsten-l/ESP8266-WiFi-Socket-3 | b40bcd1005a3f972a8fbec1a2949f5239fd6bc19 | [
"Apache-2.0"
] | null | null | null | lib/App/DeviceConfig.hpp | thorsten-l/ESP8266-WiFi-Socket-3 | b40bcd1005a3f972a8fbec1a2949f5239fd6bc19 | [
"Apache-2.0"
] | null | null | null | #ifndef __DEVICE_CONFIG_HPP__
#define __DEVICE_CONFIG_HPP__
#ifdef BOARD_TYPE_OBI_V2
// Late 2018 Obi Wifi Socket
#define WIFI_LED 12
#define POWER_LED 13
#define POWER_BUTTON 5
#define RELAY_PIN 4
#define WIFI_LED_ON 1
#define WIFI_LED_OFF 0
#define POWER_LED_ON 1
#define POWER_LED... | 22.72381 | 48 | 0.724225 | thorsten-l |
60fd1b92613458e8033110a3874b93a76216a8c2 | 23,890 | cc | C++ | mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/pooling_grad_fp32_tests.cc | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/pooling_grad_fp32_tests.cc | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/pooling_grad_fp32_tests.cc | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | 1 | 2021-05-10T03:30:36.000Z | 2021-05-10T03:30:36.000Z | /**
* Copyright 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 applicable law... | 39.357496 | 120 | 0.722101 | fufunoyu |
60fe7a6990fc51147116a00050371cd827657893 | 26,418 | cpp | C++ | XRVessels/XR2Ravenstar/XR2Ravenstar/XR2VCInstrumentPanels.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | 10 | 2021-08-20T05:49:10.000Z | 2022-01-07T13:00:20.000Z | XRVessels/XR2Ravenstar/XR2Ravenstar/XR2VCInstrumentPanels.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | null | null | null | XRVessels/XR2Ravenstar/XR2Ravenstar/XR2VCInstrumentPanels.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | 4 | 2021-09-11T12:08:01.000Z | 2022-02-09T00:16:19.000Z | /**
XR Vessel add-ons for OpenOrbiter Space Flight Simulator
Copyright (C) 2006-2021 Douglas Beachy
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any... | 51.901768 | 176 | 0.710652 | dbeachy1 |
60ffd00df76bd3ff64363a47b7c9937255a19811 | 1,463 | hh | C++ | src/video/RendererFactory.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/video/RendererFactory.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/video/RendererFactory.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #ifndef RENDERERFACTORY_HH
#define RENDERERFACTORY_HH
#include <memory>
#include "components.hh"
namespace openmsx {
class Reactor;
class Display;
class VideoSystem;
class Renderer;
class VDP;
class V9990Renderer;
class V9990;
class LDRenderer;
class LaserdiscPlayer;
/** Interface for renderer factories.
* Every ... | 26.125 | 72 | 0.755981 | imulilla |
8802203cd7eb7ab0caefe806e347713739b9aed0 | 4,490 | hpp | C++ | include/range/v3/view/take_while.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | include/range/v3/view/take_while.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | include/range/v3/view/take_while.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-2014
//
// Use, modification and distribution is 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)
//
// Project home: https://github.com/ericniebler/ra... | 34.806202 | 99 | 0.550334 | CornedBee |
8802b36004c98405f34fa5f3f746878740b9a093 | 150 | cpp | C++ | oop-rubook/cp4/4-3.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | oop-rubook/cp4/4-3.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | oop-rubook/cp4/4-3.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void f(int a) {
cout << a << endl;
}
int main() {
int i = 5;
f(10);
f(i);
return 0;
} | 10 | 22 | 0.493333 | lymven-io |
8802dab41aca26a63c6e5b433640772755e9e389 | 2,065 | cc | C++ | cinn/backends/extern_func_protos.cc | Shixiaowei02/CINN | 2f3464a92c2eda508f503b1a17a641b6703e198f | [
"Apache-2.0"
] | null | null | null | cinn/backends/extern_func_protos.cc | Shixiaowei02/CINN | 2f3464a92c2eda508f503b1a17a641b6703e198f | [
"Apache-2.0"
] | null | null | null | cinn/backends/extern_func_protos.cc | Shixiaowei02/CINN | 2f3464a92c2eda508f503b1a17a641b6703e198f | [
"Apache-2.0"
] | null | null | null | #include "cinn/backends/extern_func_protos.h"
#include <string>
#include <vector>
namespace cinn {
namespace backends {
ExternFunctionProtoRegistry::ExternFunctionProtoRegistry() {
static const std::vector<std::string> extern_funcs_fp32_unary = {
"exp", "erf", "sigmoid", "sqrt", "log", "log2", "log10", "fl... | 38.962264 | 119 | 0.675061 | Shixiaowei02 |
8803e1fab482889e25fe525eac241f465aa95b34 | 17,007 | cxx | C++ | Qt/Components/pqDataInformationModel.cxx | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | 1 | 2019-04-22T09:09:18.000Z | 2019-04-22T09:09:18.000Z | Qt/Components/pqDataInformationModel.cxx | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | null | null | null | Qt/Components/pqDataInformationModel.cxx | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | 5 | 2016-04-14T13:42:37.000Z | 2021-05-22T04:59:42.000Z | /*=========================================================================
Program: ParaView
Module: pqDataInformationModel.cxx
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of ... | 26.084356 | 81 | 0.589287 | mathstuf |
8806b37b9aa2be06a05cbdaa8b49e67111cd800f | 42,283 | cpp | C++ | src/player.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 8 | 2018-04-03T23:06:33.000Z | 2021-12-28T18:04:19.000Z | src/player.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | null | null | null | src/player.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 1 | 2020-07-31T00:23:27.000Z | 2020-07-31T00:23:27.000Z |
#include "nx.h"
#include "player.h"
#include "playerstats.h"
#include "caret.h"
#include "ObjManager.h"
#include "map.h"
#include "tsc.h"
#include "input.h"
#include "game.h"
#include "sound/sound.h"
#include "common/misc.h"
#include "ai/weapons/whimstar.h"
#include "p_arms.h"
#include "ai/sym/smoke.h"
#include "autog... | 24.886992 | 106 | 0.648133 | sodomon2 |
8807b228486c44d39004113a706c44c3c3ceb3e9 | 3,277 | cc | C++ | tensorflow/lite/delegates/gpu/gl/kernels/relu_test.cc | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 9 | 2019-12-29T01:47:37.000Z | 2021-12-21T13:47:41.000Z | tensorflow/lite/delegates/gpu/gl/kernels/relu_test.cc | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 59 | 2019-06-17T09:37:49.000Z | 2022-01-19T01:21:34.000Z | tensorflow/lite/delegates/gpu/gl/kernels/relu_test.cc | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 5 | 2020-12-22T10:17:47.000Z | 2021-05-06T14:14:52.000Z | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 32.445545 | 80 | 0.664327 | PaulWang1905 |
8807b491d190378f103c681f9f4cd16d4c807b54 | 4,889 | hpp | C++ | compendium/DeclarativeServices/src/manager/ReferenceManager.hpp | hkgmahwa/CppMicroServices | 05260dcf70e5f161da5093a5c8547b00d4d626ac | [
"Apache-2.0"
] | 1 | 2020-12-08T16:21:45.000Z | 2020-12-08T16:21:45.000Z | compendium/DeclarativeServices/src/manager/ReferenceManager.hpp | iHouLei/CppMicroServices | aa9cc47dde75ba9ead18df399ce08269c15e3aa1 | [
"Apache-2.0"
] | null | null | null | compendium/DeclarativeServices/src/manager/ReferenceManager.hpp | iHouLei/CppMicroServices | aa9cc47dde75ba9ead18df399ce08269c15e3aa1 | [
"Apache-2.0"
] | null | null | null | /*=============================================================================
Library: CppMicroServices
Copyright (c) The CppMicroServices developers. See the COPYRIGHT
file at the top-level directory of this distribution and at
https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT .
Licensed un... | 33.717241 | 123 | 0.714256 | hkgmahwa |
8808d8a8dcdd2af5ce204823ffeda499e97b438d | 1,133 | cpp | C++ | src/controller/src/repositories/system_status_repository.cpp | P8P-7/core | 820873e7da867392729b2e65922205afe98e41d8 | [
"MIT"
] | 4 | 2018-04-16T17:56:25.000Z | 2018-06-22T17:02:26.000Z | src/controller/src/repositories/system_status_repository.cpp | P8P-7/core | 820873e7da867392729b2e65922205afe98e41d8 | [
"MIT"
] | 1 | 2018-05-07T11:05:26.000Z | 2018-05-07T11:06:52.000Z | src/controller/src/repositories/system_status_repository.cpp | P8P-7/core | 820873e7da867392729b2e65922205afe98e41d8 | [
"MIT"
] | 1 | 2018-05-07T11:04:15.000Z | 2018-05-07T11:04:15.000Z | #include <goliath/controller/repositories/system_status_repository.h>
#include <CommandMessage.pb.h>
#include <repositories/SystemStatusRepository.pb.h>
using namespace goliath::repositories;
using namespace goliath;
SystemStatusRepository::SystemStatusRepository()
: temperature(0) { }
std::unique_ptr<googl... | 26.97619 | 97 | 0.788173 | P8P-7 |
8809549b335c5e5d6b849af29a74696f4eb3921e | 1,021 | cpp | C++ | hexapod_emlid/Navio/IMUSender.cpp | helios57/hexapod | 82b4fc54f49e0acca62a42635ba8844abdb541a7 | [
"MIT"
] | null | null | null | hexapod_emlid/Navio/IMUSender.cpp | helios57/hexapod | 82b4fc54f49e0acca62a42635ba8844abdb541a7 | [
"MIT"
] | null | null | null | hexapod_emlid/Navio/IMUSender.cpp | helios57/hexapod | 82b4fc54f49e0acca62a42635ba8844abdb541a7 | [
"MIT"
] | null | null | null | /*
* IMUSender.cpp
*
* Created on: 26.06.2016
* Author: Helios
*/
#include "IMUSender.h"
#include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include "NavioLib/Util.h"
#include <string>
#include <chrono>
#include <thread>
using namespace std::chrono;
IMUSender::IMUSender(Mqtt *... | 21.270833 | 70 | 0.63859 | helios57 |
880ba3d17b84ff3446dc270e30821ff0fc3b784c | 9,980 | cc | C++ | src/SuperSampling.cc | jeanlucf22/mgmol | 4e79bc32c14c8a47ae18ad0659ea740719c8b77f | [
"BSD-3-Clause-LBNL",
"FSFAP"
] | 25 | 2018-12-29T03:33:01.000Z | 2021-05-08T12:52:27.000Z | src/SuperSampling.cc | jeanlucf22/mgmol | 4e79bc32c14c8a47ae18ad0659ea740719c8b77f | [
"BSD-3-Clause-LBNL",
"FSFAP"
] | 121 | 2018-12-19T02:38:21.000Z | 2021-12-20T16:29:24.000Z | src/SuperSampling.cc | jeanlucf22/mgmol | 4e79bc32c14c8a47ae18ad0659ea740719c8b77f | [
"BSD-3-Clause-LBNL",
"FSFAP"
] | 15 | 2019-02-17T05:28:43.000Z | 2022-02-28T05:24:11.000Z | #include "SuperSampling.h"
#include <array>
#include <cmath>
#include <vector>
double sincFunction(double x)
{
return (std::abs(x) < 1e-14 ? 1 : std::sin(x * pi) / (x * pi));
}
// Compute Weights to be used for convolution. Called by static member function
// setup, with default filter function set to the sinc fu... | 37.80303 | 80 | 0.543086 | jeanlucf22 |
880e4cd0eed307ebe7584a45d516636a0ed4dade | 7,757 | cc | C++ | cpp/datasets/ade20k.cc | freedomtan/mobile_app | 463064238de9287d37fc95f344e28c6c3c61704a | [
"Apache-2.0"
] | null | null | null | cpp/datasets/ade20k.cc | freedomtan/mobile_app | 463064238de9287d37fc95f344e28c6c3c61704a | [
"Apache-2.0"
] | null | null | null | cpp/datasets/ade20k.cc | freedomtan/mobile_app | 463064238de9287d37fc95f344e28c6c3c61704a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2020 The MLPerf Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | 33.008511 | 80 | 0.632074 | freedomtan |
8810b94fa903c7663b7cf8eca63e37c50fb7ff07 | 28,089 | cpp | C++ | Engine/ModuleScene.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | 2 | 2019-11-22T23:34:36.000Z | 2019-11-27T10:27:35.000Z | Engine/ModuleScene.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | null | null | null | Engine/ModuleScene.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | null | null | null | #include "ModuleScene.h"
#include "GL/glew.h"
#include "Application.h"
#include "C_Transform.h"
#include "Viewport.h"
#include "CameraEditor.h"
#include "W_Scene.h"
#include "ImGuizmo/ImGuizmo.h"
#include "IconFontAwesome/IconsFontAwesome5.h"
#include "R_Model.h"
#include "R_Mesh.h"
#include "external/MathGeoLib/inc... | 23.683811 | 155 | 0.651323 | SOLID-TEAM |
8810fa94eb1f7caf7af65704790a018db450ca89 | 3,524 | cpp | C++ | src/lib/PawPet_FlashTransport.cpp | NanoCodeBug/pawpet | da5f50f98562289ef555b44b35c74373135cda7a | [
"MIT"
] | 23 | 2021-12-18T09:00:40.000Z | 2022-03-24T03:25:13.000Z | src/lib/PawPet_FlashTransport.cpp | NanoCodeBug/pawpet | da5f50f98562289ef555b44b35c74373135cda7a | [
"MIT"
] | null | null | null | src/lib/PawPet_FlashTransport.cpp | NanoCodeBug/pawpet | da5f50f98562289ef555b44b35c74373135cda7a | [
"MIT"
] | 3 | 2021-12-14T07:18:00.000Z | 2022-01-27T19:33:27.000Z |
#include "PawPet_FlashTransport.h"
PawPet_FlashTransport_SPI::PawPet_FlashTransport_SPI(uint8_t ss, SPIClass *spiinterface)
{
_cmd_read = SFLASH_CMD_READ;
_addr_len = 3; // work with most device if not set
_ss = ss;
_spi = spiinterface;
_clock_wr = _clock_rd = 4000000;
}
PawPet_FlashTransport_SP... | 21.753086 | 96 | 0.678207 | NanoCodeBug |
8811d3088cf5203a9741d816114ef5d8676aa31d | 14,055 | cpp | C++ | tests/IResearch/IResearchQueryLateMaterialization-test.cpp | corona3000/arangodb | e4d5a5d2d7e83b1a094c5ac01706a13fdecfc1da | [
"Apache-2.0"
] | 1 | 2020-01-16T06:16:53.000Z | 2020-01-16T06:16:53.000Z | tests/IResearch/IResearchQueryLateMaterialization-test.cpp | corona3000/arangodb | e4d5a5d2d7e83b1a094c5ac01706a13fdecfc1da | [
"Apache-2.0"
] | null | null | null | tests/IResearch/IResearchQueryLateMaterialization-test.cpp | corona3000/arangodb | e4d5a5d2d7e83b1a094c5ac01706a13fdecfc1da | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2019 ArangoDB GmbH, Cologne, Germany
///
/// 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... | 38.401639 | 132 | 0.618072 | corona3000 |
88132d6c3e2444446f451aac416b5a1aadc9cf94 | 19,415 | cpp | C++ | Source/bindings/modules/v8/IDBBindingUtilities.cpp | primiano/blink-gitcs | 0b5424070e3006102e0036deea1e2e263b871eaa | [
"BSD-3-Clause"
] | null | null | null | Source/bindings/modules/v8/IDBBindingUtilities.cpp | primiano/blink-gitcs | 0b5424070e3006102e0036deea1e2e263b871eaa | [
"BSD-3-Clause"
] | null | null | null | Source/bindings/modules/v8/IDBBindingUtilities.cpp | primiano/blink-gitcs | 0b5424070e3006102e0036deea1e2e263b871eaa | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 41.573876 | 181 | 0.698172 | primiano |
88134cd91cf5d4dfcb9dcb98cf6d92176a79f3f1 | 9,479 | cpp | C++ | _studio/mfx_lib/shared/src/mfx_log.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 1 | 2018-08-28T09:47:31.000Z | 2018-08-28T09:47:31.000Z | _studio/mfx_lib/shared/src/mfx_log.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 2 | 2017-10-09T10:34:44.000Z | 2017-11-29T12:20:13.000Z | _studio/mfx_lib/shared/src/mfx_log.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 1 | 2018-01-04T06:53:11.000Z | 2018-01-04T06:53:11.000Z | // Copyright (c) 2017 Intel Corporation
//
// 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, pub... | 23.06326 | 111 | 0.58445 | jwang11 |
88137ff0b25723a3f0c6d905c0f0c047348c3982 | 417 | cpp | C++ | 2021/12. Classes/20311029/01.Point/point.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | 7 | 2021-03-24T16:30:45.000Z | 2022-03-27T09:02:15.000Z | 2021/12. Classes/20311029/01.Point/point.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | null | null | null | 2021/12. Classes/20311029/01.Point/point.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | 17 | 2021-03-22T09:42:22.000Z | 2022-03-28T03:24:07.000Z | #include <iostream>;
#include "point.h";
using namespace std;
void point::setX(int xInput)
{
x = xInput;
}
void point::setY(int yInput)
{
y = yInput;
}
point::point()
{
setX(0);
setY(0);
}
point::point(int x, int y)
{
setX(x);
setY(y);
}
point::~point()
{
}
int point::getX()
{
return x;
}
int point::ge... | 8.87234 | 52 | 0.551559 | RumiChausheva |
88143795c180073063bcd08f0ea6146e848503d9 | 13,879 | cpp | C++ | android/app/src/cpp/src/backend/cpu/CpuWorker.cpp | FlameSalamander/react-native-xmrig | 6a6e3b301bd78b88459989f334d759f65e434082 | [
"MIT"
] | null | null | null | android/app/src/cpp/src/backend/cpu/CpuWorker.cpp | FlameSalamander/react-native-xmrig | 6a6e3b301bd78b88459989f334d759f65e434082 | [
"MIT"
] | null | null | null | android/app/src/cpp/src/backend/cpu/CpuWorker.cpp | FlameSalamander/react-native-xmrig | 6a6e3b301bd78b88459989f334d759f65e434082 | [
"MIT"
] | null | null | null | /* XMRig
* Copyright (c) 2018-2020 SChernykh <https://github.com/SChernykh>
* Copyright (c) 2016-2020 XMRig <https://github.com/xmrig>, <support@xmrig.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... | 28.266802 | 181 | 0.580589 | FlameSalamander |
8815bcfe8fccd69f147bdabd84a9d0701811cf62 | 2,483 | cc | C++ | ortools/util/proto_tools.cc | gnanakeethan/or-tools | 554cbccaa95b4c11eced13f145de1bf468e1f919 | [
"Apache-2.0"
] | null | null | null | ortools/util/proto_tools.cc | gnanakeethan/or-tools | 554cbccaa95b4c11eced13f145de1bf468e1f919 | [
"Apache-2.0"
] | null | null | null | ortools/util/proto_tools.cc | gnanakeethan/or-tools | 554cbccaa95b4c11eced13f145de1bf468e1f919 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2018 Google 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... | 37.621212 | 75 | 0.686267 | gnanakeethan |
8816d7efae1f5c186f1cb041fc86f64c0cbfb0bc | 9,130 | cpp | C++ | src/v2i-hub/CswPlugin/src/CswPlugin.cpp | networkmodeling/V2X-Hub | d363f49a4c9af76823a23033b9f7983f2f6ae095 | [
"Apache-2.0"
] | 56 | 2019-04-25T19:06:11.000Z | 2022-03-25T20:26:25.000Z | src/v2i-hub/CswPlugin/src/CswPlugin.cpp | networkmodeling/V2X-Hub | d363f49a4c9af76823a23033b9f7983f2f6ae095 | [
"Apache-2.0"
] | 184 | 2019-04-24T18:20:08.000Z | 2022-03-22T18:56:45.000Z | src/v2i-hub/CswPlugin/src/CswPlugin.cpp | networkmodeling/V2X-Hub | d363f49a4c9af76823a23033b9f7983f2f6ae095 | [
"Apache-2.0"
] | 34 | 2019-04-03T15:21:16.000Z | 2022-03-20T04:26:53.000Z | #include "CswPlugin.h"
#include <WGS84Point.h>
#include "TimeHelper.h"
#include "XmlCurveParser.h"
#include "VehicleLocate.h"
#include <tmx/messages/IvpDmsControlMsg.h>
#include <tmx/j2735_messages/TravelerInformationMessage.hpp>
using namespace std;
using namespace tmx::messages;
using namespace tmx::utils;
namespac... | 25.502793 | 116 | 0.692442 | networkmodeling |
88178afe9ed193a2a97f594591925a5928aac07d | 18,078 | cc | C++ | chrome/browser/extensions/extension_install_ui.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | chrome/browser/extensions/extension_install_ui.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | chrome/browser/extensions/extension_install_ui.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/extension_install_ui.h"
#include <map>
#include "base/command_line.h"
#include "base/file_util.h"
#include "base... | 32.690778 | 80 | 0.726242 | Scopetta197 |
8818121cf4f3a1ec9e9e96fb9249a28bdc7568aa | 13,538 | cpp | C++ | openmp/libompd/src/TargetValue.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | openmp/libompd/src/TargetValue.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | openmp/libompd/src/TargetValue.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | /*
* TargetValue.cpp -- Access to target values using OMPD callbacks
*/
//===----------------------------------------------------------------------===//
//
// 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-Ide... | 33.100244 | 80 | 0.639016 | mkinsner |
8818f7531ea536e296b4cd30ddb604fed6c94cdb | 1,663 | cpp | C++ | mUI/System.Forms/TextBox.cpp | xinhuang/mUI | 69d4835cdc88abafc47574471eee7bb20e67bd2f | [
"Apache-2.0"
] | 3 | 2016-02-14T03:43:40.000Z | 2018-07-26T17:05:54.000Z | mUI/System.Forms/TextBox.cpp | xinhuang/mUI | 69d4835cdc88abafc47574471eee7bb20e67bd2f | [
"Apache-2.0"
] | null | null | null | mUI/System.Forms/TextBox.cpp | xinhuang/mUI | 69d4835cdc88abafc47574471eee7bb20e67bd2f | [
"Apache-2.0"
] | null | null | null | #include "TextBox.h"
#include <System.Drawing/Drawing.h>
using namespace mUI::System::Drawing;
namespace mUI{ namespace System{ namespace Forms{
struct TextBox::Data
{
FormBorderStyle::Enum borderStyle;
Size textBounds;
};
TextBox::TextBox() : _d(new Data())
{
}
TextBox::~TextBox()
{
delete... | 19.564706 | 94 | 0.668671 | xinhuang |
88193b6b255dc104812c873698fe6f12c03e9468 | 911 | hpp | C++ | src/Module/Encoder/Polar/Encoder_polar.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-17T08:47:47.000Z | 2022-02-17T08:47:47.000Z | src/Module/Encoder/Polar/Encoder_polar.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | null | null | null | src/Module/Encoder/Polar/Encoder_polar.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2021-11-24T01:54:41.000Z | 2021-11-24T01:54:41.000Z | #ifndef ENCODER_POLAR_HPP_
#define ENCODER_POLAR_HPP_
#include <vector>
#include "Tools/Code/Polar/Frozenbits_notifier.hpp"
#include "Module/Encoder/Encoder.hpp"
namespace aff3ct
{
namespace module
{
template <typename B = int>
class Encoder_polar : public Encoder<B>, public tools::Frozenbits_notifier
{
protected:
... | 23.358974 | 105 | 0.715697 | WilliamMajor |
881a1997d372e4b7fd93c86ee22717b4cd9a50c8 | 1,697 | hpp | C++ | CAD/Files/Sum.hpp | BRutan/Cpp | 8acbc6c341f49d6d83168ccd5ba49bd6824214f9 | [
"MIT"
] | null | null | null | CAD/Files/Sum.hpp | BRutan/Cpp | 8acbc6c341f49d6d83168ccd5ba49bd6824214f9 | [
"MIT"
] | null | null | null | CAD/Files/Sum.hpp | BRutan/Cpp | 8acbc6c341f49d6d83168ccd5ba49bd6824214f9 | [
"MIT"
] | null | null | null | /* Sum.hpp
-Description:
*Declare and define template Sum functions.
-Function Catalogue:
*double Sum(const T&): Return sum of passed STL container.
*double Sum<map<string,double>(const T&): Return sum of passed map<string,double>.
*double Sum(T::const_iterator&, T::const_iterator&): Overloaded Sum function,... | 27.370968 | 163 | 0.67472 | BRutan |
881b5b2ae290a26e5e9a683486c418d0bbc58cee | 1,082 | hpp | C++ | deps/boost/include/boost/fiber/detail/convert.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | deps/boost/include/boost/fiber/detail/convert.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | deps/boost/include/boost/fiber/detail/convert.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z |
// Copyright Oliver Kowalke 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_FIBERS_DETAIL_CONVERT_H
#define BOOST_FIBERS_DETAIL_CONVERT_H
#include <chrono>
#i... | 24.590909 | 79 | 0.712569 | kindlychung |
881ba393d76b6f9f80f5bbdfe2733ed147edbcdb | 2,756 | cpp | C++ | src/gui/dialogs/addon_list.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 12 | 2015-03-04T15:07:00.000Z | 2019-09-13T16:31:06.000Z | src/gui/dialogs/addon_list.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | null | null | null | src/gui/dialogs/addon_list.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 5 | 2017-04-22T08:16:48.000Z | 2020-07-12T03:35:16.000Z | /* $Id: addon_list.cpp 48440 2011-02-07 20:57:31Z mordante $ */
/*
Copyright (C) 2008 - 2011 by Mark de Wever <koraq@xs4all.nl>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Pub... | 26.5 | 81 | 0.636792 | blackberry |
881c650a3cd2b5ea341bdc79641b7e35b2ad754e | 28,672 | cpp | C++ | mics2_3k-master2/source/movegen.cpp | Andyryo/3k | 7070471e7e8a544fa6609725f2902469b6255717 | [
"Apache-2.0"
] | null | null | null | mics2_3k-master2/source/movegen.cpp | Andyryo/3k | 7070471e7e8a544fa6609725f2902469b6255717 | [
"Apache-2.0"
] | null | null | null | mics2_3k-master2/source/movegen.cpp | Andyryo/3k | 7070471e7e8a544fa6609725f2902469b6255717 | [
"Apache-2.0"
] | null | null | null | // 指し手生成ライブラリ
#include "position.h"
#include <iostream>
using namespace std;
// ----------------------------------
// 移動による指し手
// ----------------------------------
// -----------------------------------------------
// 上位16bitに移動後の駒を格納しながらの指し手生成
// -----------------------------------------------
// 上位16bitに格... | 33.378347 | 174 | 0.642997 | Andyryo |
881d847d8130bf0408335aff7f59ff69a57e23ef | 14,666 | cpp | C++ | tools/profiler/src/performance_report.cpp | MegEngine/cutlass | 31798848e40c2752d4b3db193491a63b77455029 | [
"BSD-3-Clause"
] | 44 | 2020-09-15T05:31:25.000Z | 2022-03-22T08:02:02.000Z | tools/profiler/src/performance_report.cpp | MegEngine/cutlass | 31798848e40c2752d4b3db193491a63b77455029 | [
"BSD-3-Clause"
] | null | null | null | tools/profiler/src/performance_report.cpp | MegEngine/cutlass | 31798848e40c2752d4b3db193491a63b77455029 | [
"BSD-3-Clause"
] | 7 | 2020-09-16T15:18:21.000Z | 2022-03-28T10:06:11.000Z | /***************************************************************************************************
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*modification, are permitted provided that the following conditions are met... | 31.472103 | 100 | 0.550116 | MegEngine |
881f6ac9e7fb8f4edf9fbed299e36efce2431645 | 8,744 | cpp | C++ | samples/directx/d3d9_interop.cpp | VladKarpushin/opencv | 9787ab598b6609a6ca6652a12441d741cb15f695 | [
"BSD-3-Clause"
] | 17 | 2016-03-16T08:48:30.000Z | 2022-02-21T12:09:28.000Z | samples/directx/d3d9_interop.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 5 | 2017-10-15T15:44:47.000Z | 2022-02-17T11:31:32.000Z | samples/directx/d3d9_interop.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 25 | 2018-09-26T08:51:13.000Z | 2022-02-24T13:43:58.000Z | /*
// Sample demonstrating interoperability of OpenCV UMat with Direct X surface
// At first, the data obtained from video file or camera and
// placed onto Direct X surface,
// following mapping of this Direct X surface to OpenCV UMat and call cv::Blur
// function. The result is mapped back to Direct X surface and ren... | 27.496855 | 124 | 0.510293 | VladKarpushin |
8822139bf60878f5588ea0076a11292dd50b4467 | 2,123 | hpp | C++ | sprout/range/algorithm/next_symmetric_difference.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/range/algorithm/next_symmetric_difference.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/range/algorithm/next_symmetric_difference.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | 38.6 | 80 | 0.688648 | kariya-mitsuru |
88232d01ed154e24e24944981aa39d0257384065 | 5,143 | cpp | C++ | third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | /*
* Copyright (C) 2011 Ericsson AB. All rights reserved.
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must ret... | 38.096296 | 172 | 0.744702 | Wzzzx |
8824e3891fe87283aca1fb308b4b08f50dde3346 | 61,211 | cpp | C++ | src/realm/query.cpp | Acidburn0zzz/realm-core | 81b74688d1ff680a0749797d3eafe28c3ae3abce | [
"Apache-2.0"
] | 1 | 2021-07-08T07:51:37.000Z | 2021-07-08T07:51:37.000Z | src/realm/query.cpp | Acidburn0zzz/realm-core | 81b74688d1ff680a0749797d3eafe28c3ae3abce | [
"Apache-2.0"
] | null | null | null | src/realm/query.cpp | Acidburn0zzz/realm-core | 81b74688d1ff680a0749797d3eafe28c3ae3abce | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
*
* Copyright 2016 Realm 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/lice... | 29.859024 | 119 | 0.628956 | Acidburn0zzz |
882697538c2c00ee19f7617ab9e0884a56f79090 | 1,770 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/hana/test/issues/github_365.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/hana/test/issues/github_365.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-03-04T11:21:00.000Z | 2019-05-24T01:36:31.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/hana/test/issues/github_365.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/accessors.hpp>
#include <boost/hana/adapt_struct.hpp>
#include <boost/hana/assert.hpp>
#include <boost/hana/at.... | 28.548387 | 82 | 0.615254 | Wultyc |
8826bda639aa6e240a5d6cef591777b93c8caeb6 | 11,434 | cc | C++ | components/performance_manager/decorators/page_load_tracker_decorator_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/performance_manager/decorators/page_load_tracker_decorator_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | components/performance_manager/decorators/page_load_tracker_decorator_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 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 "components/performance_manager/decorators/page_load_tracker_decorator.h"
#include <memory>
#include <type_traits>
#include <utility>
#include ... | 40.260563 | 82 | 0.777331 | chromium |
882850d1a88a74536a8c5926a80bf59b9fabc452 | 2,847 | cpp | C++ | SerialPrograms/Source/CommonFramework/Options/EnumDropdownOption.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/Options/EnumDropdownOption.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/Options/EnumDropdownOption.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | /* Enum Dropdown Option
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include <QJsonValue>
#include <QHBoxLayout>
#include <QLabel>
#include "Common/Qt/NoWheelComboBox.h"
#include "EnumDropdownOption.h"
#include "EnumDropdownWidget.h"
namespace PokemonAutomation{
EnumDrop... | 25.19469 | 86 | 0.617492 | Gin890 |
88292f12184ed19f3e48204eeecfb922261b6126 | 433 | cpp | C++ | 2022.04.17-Retake control 2/Project1/Source.cpp | Hasan-bit-droid/programming-1-c-rus-2021 | 4d3fc27793a753d7c2b9c4eed31fda354792e766 | [
"Apache-2.0"
] | null | null | null | 2022.04.17-Retake control 2/Project1/Source.cpp | Hasan-bit-droid/programming-1-c-rus-2021 | 4d3fc27793a753d7c2b9c4eed31fda354792e766 | [
"Apache-2.0"
] | null | null | null | 2022.04.17-Retake control 2/Project1/Source.cpp | Hasan-bit-droid/programming-1-c-rus-2021 | 4d3fc27793a753d7c2b9c4eed31fda354792e766 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "ArrayList.h"
using namespace std;
int main()
{
int* tmp = new int[2];
tmp[0] = 2;
tmp[1] = -1;
IntArray arr1(tmp, 2, 2), arr2;
delete[] tmp;
tmp = nullptr;
for (int i = 0; i < 3; ++i)
{
arr2 += i;
}
cout << arr1 + arr2 << endl;
IntArr... | 16.037037 | 35 | 0.491917 | Hasan-bit-droid |
882bf8ee240849fd35d6e32a762c84977736457d | 3,749 | cpp | C++ | llvm/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 58 | 2016-08-27T03:19:14.000Z | 2022-01-05T17:33:44.000Z | llvm/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 14 | 2017-12-01T17:16:59.000Z | 2020-12-21T12:16:35.000Z | llvm/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 22 | 2016-11-27T09:53:31.000Z | 2021-11-22T00:22:53.000Z | //===--- ModuleDependencyCollector.cpp - Collect module dependencies ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 32.042735 | 80 | 0.662043 | oslab-swrc |