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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce5dddb0c36256a9bb6b19dc69deed45b70ea86d | 5,524 | cpp | C++ | resource/src/monitoring_thread.cpp | md-w/httpserver | 41645e5632f17dd931ee3ba4f1947e78ae9f3172 | [
"MIT"
] | null | null | null | resource/src/monitoring_thread.cpp | md-w/httpserver | 41645e5632f17dd931ee3ba4f1947e78ae9f3172 | [
"MIT"
] | null | null | null | resource/src/monitoring_thread.cpp | md-w/httpserver | 41645e5632f17dd931ee3ba4f1947e78ae9f3172 | [
"MIT"
] | null | null | null | #include "monitoring_thread.hpp"
#include <Poco/Net/NetException.h>
#include <Poco/Net/SocketAddress.h>
#include <Poco/Net/SocketStream.h>
#include <Poco/Net/StreamSocket.h>
#include <chrono>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <thread>
#include "interfaces/status.pb.h"
#define FUNC_T... | 34.742138 | 108 | 0.611513 | md-w |
ce5e5b360cc77d1344241da7b9b49753b5bd2451 | 8,855 | cpp | C++ | tests/proofnetwork/restclient_test.cpp | dkormalev/proofbase | 0b45c190e53fe71bfdd22670e89c97ba90b006c8 | [
"BSD-3-Clause"
] | null | null | null | tests/proofnetwork/restclient_test.cpp | dkormalev/proofbase | 0b45c190e53fe71bfdd22670e89c97ba90b006c8 | [
"BSD-3-Clause"
] | null | null | null | tests/proofnetwork/restclient_test.cpp | dkormalev/proofbase | 0b45c190e53fe71bfdd22670e89c97ba90b006c8 | [
"BSD-3-Clause"
] | null | null | null | // clazy:skip
#include "proofseed/future.h"
#include "proofnetwork/restclient.h"
#include "gtest/proof/test_global.h"
#include <QNetworkReply>
#include <QRegExp>
#include <QScopedPointer>
#include <functional>
#include <tuple>
using testing::Test;
using testing::TestWithParam;
using HttpMethodCall =
std::fun... | 53.993902 | 122 | 0.557538 | dkormalev |
ce5ef92419eec3c0333f37d56613d51aae29e124 | 1,594 | cpp | C++ | leetcode/MergeTwoSortedLists/MergeTwoSortedLists.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | 2 | 2015-08-30T04:45:24.000Z | 2015-08-30T04:45:36.000Z | leetcode/MergeTwoSortedLists/MergeTwoSortedLists.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | null | null | null | leetcode/MergeTwoSortedLists/MergeTwoSortedLists.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | 4 | 2015-07-15T08:43:58.000Z | 2021-04-10T12:55:29.000Z | // Source : https://oj.leetcode.com/problems/merge-two-sorted-lists/
// Author : lizhenghn@gmail.com
// Date : 2014-11-26
/**********************************************************************************
*
* Merge two sorted linked lists and return it as a new list. The new list should be
* made by splicing togeth... | 17.910112 | 83 | 0.524467 | lizhenghn123 |
ce61cbdd658b88af3befd614273d8bd2c3eff28a | 926 | cpp | C++ | firmware/examples/SystemClock/source/main.cpp | nicoleb1661/SJSU-Dev2 | c2f2ac92e12390e2da4a6598dcc8afbdbd7626d4 | [
"Apache-2.0"
] | null | null | null | firmware/examples/SystemClock/source/main.cpp | nicoleb1661/SJSU-Dev2 | c2f2ac92e12390e2da4a6598dcc8afbdbd7626d4 | [
"Apache-2.0"
] | null | null | null | firmware/examples/SystemClock/source/main.cpp | nicoleb1661/SJSU-Dev2 | c2f2ac92e12390e2da4a6598dcc8afbdbd7626d4 | [
"Apache-2.0"
] | 1 | 2018-09-19T01:58:48.000Z | 2018-09-19T01:58:48.000Z | #include <project_config.hpp>
#include <cinttypes>
#include <cstdint>
#include <cstdio>
#include "L1_Drivers/pin_configure.hpp"
#include "L1_Drivers/system_clock.hpp"
#include "L2_Utilities/debug_print.hpp"
int main(void)
{
SystemClock clock;
PinConfigure clock_pin(1, 25);
clock_pin.SetPinFunction(0b101);... | 25.722222 | 69 | 0.673866 | nicoleb1661 |
ce64eefacf4dec631e253409dcc92edeae4e58ad | 1,426 | cpp | C++ | sources/src/structure/include.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | sources/src/structure/include.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | sources/src/structure/include.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | /// @file include.cpp
/// @author Enrico Fraccaroli (enrico.fraccaroli@gmail.com)
/// @copyright Copyright (c) 2021 sydelity.net (info@sydelity.com)
/// Distributed under the MIT License (MIT) (See accompanying LICENSE file or
/// copy at http://opensource.org/licenses/MIT)
#include "structure/include.hpp"
#include... | 20.970588 | 77 | 0.650771 | sydelity-net |
ce659c5fac5fec84096a424867614e25206844e6 | 21,198 | cpp | C++ | src/core/lib/math/cpu_int/binvect.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | src/core/lib/math/cpu_int/binvect.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | src/core/lib/math/cpu_int/binvect.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | /*
* @file binvect.cpp This file contains the vector manipulation functionality.
* @author TPOC: palisade@njit.edu
*
* @copyright Copyright (c) 2017, New Jersey Institute of Technology (NJIT)
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitte... | 32.363359 | 145 | 0.716577 | marcelmon |
ce66c15030f3b50317775ca4168ecf9e38630a76 | 589 | hpp | C++ | C-PhotoDeal_framework/CannyPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | 8 | 2016-03-12T08:39:56.000Z | 2021-07-12T01:48:20.000Z | C-PhotoDeal_framework/CannyPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | null | null | null | C-PhotoDeal_framework/CannyPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | 2 | 2016-03-15T09:48:38.000Z | 2017-02-04T23:53:32.000Z | //
// CannyPhoto.hpp
// cameraDeal
//
// Created by numberwolf on 16/9/10.
// Copyright © 2016年 numberwolf. All rights reserved.
//
#ifndef CannyPhoto_hpp
#define CannyPhoto_hpp
#include <stdio.h>
#include "Pixels.hpp"
#include "Common.hpp"
#include <math.h>
class CannyPhoto {
Pixels *CannyPixels = NULL;
... | 15.102564 | 54 | 0.62309 | numberwolf |
ce676938c5e95a8ada062323b7a881172a62844c | 1,445 | cpp | C++ | luogu/1519.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | 3 | 2017-09-17T09:12:50.000Z | 2018-04-06T01:18:17.000Z | luogu/1519.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | luogu/1519.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | #include <bits/stdc++.h>
#define N 100020
#define ll long long
using namespace std;
inline int read(){
int x=0,f=1;char ch=getchar();
while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar());
while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar();
return f?x:-x;
}
char nextchar(){
char ch = getchar();
while(ch != ... | 25.803571 | 74 | 0.447751 | swwind |
ce6e0552e3f08e7331b199f853ab25225566fe13 | 3,874 | hpp | C++ | headers/Font.hpp | edwinacunav/gosu-edwinacunav | 24919d1ac3055d365f97fcf5628864b6f937991a | [
"MIT"
] | null | null | null | headers/Font.hpp | edwinacunav/gosu-edwinacunav | 24919d1ac3055d365f97fcf5628864b6f937991a | [
"MIT"
] | null | null | null | headers/Font.hpp | edwinacunav/gosu-edwinacunav | 24919d1ac3055d365f97fcf5628864b6f937991a | [
"MIT"
] | null | null | null | //! \file Font.hpp
//! Interface of the Font class.
#pragma once
#include "Fwd.hpp"
#include "Color.hpp"
#include "GraphicsBase.hpp"
#include "Platform.hpp"
#include "Text.hpp"
#include <memory>
#include <string>
namespace Gosu
{
//! Fonts are ideal for drawing short, dynamic strings.
//! For large, static texts ... | 47.243902 | 97 | 0.647651 | edwinacunav |
ce700eae42d32a6c6ef61066fe20cfb758206dac | 1,921 | cpp | C++ | Modules/Core/src/Interactions/mitkMouseMoveEvent.cpp | ZP-Hust/MITK | ca11353183c5ed4bc30f938eae8bde43a0689bf6 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T08:19:27.000Z | 2021-11-20T08:19:27.000Z | Modules/Core/src/Interactions/mitkMouseMoveEvent.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | Modules/Core/src/Interactions/mitkMouseMoveEvent.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 1 | 2019-01-09T08:20:18.000Z | 2019-01-09T08:20:18.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warr... | 30.492063 | 111 | 0.679334 | ZP-Hust |
ce70f2e6a83aa04b236312d47de1bbb1b29c9441 | 554 | cc | C++ | util/src/ifile.cc | k3ll3x/tetra_sand | c590a4ca5cc988c552532a6f17f213c70f492a4c | [
"MIT"
] | null | null | null | util/src/ifile.cc | k3ll3x/tetra_sand | c590a4ca5cc988c552532a6f17f213c70f492a4c | [
"MIT"
] | null | null | null | util/src/ifile.cc | k3ll3x/tetra_sand | c590a4ca5cc988c552532a6f17f213c70f492a4c | [
"MIT"
] | null | null | null | #include "ifile.h"
#include <fstream>
#include <iostream>
#include <sstream>
bool ifile::read(const std::string& filename)
{
if (filename.empty())
{
std::cout << "No filename provided" << std::endl;
return false;
}
std::fstream input_file(filename, std::fstream::in);
if (!input_file.is_open())
{
std::co... | 16.787879 | 63 | 0.66065 | k3ll3x |
ce70f6346cef4f79cd3dc708fd6881b617f3d4ea | 3,997 | cpp | C++ | HelloWorldAlmost.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | HelloWorldAlmost.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | HelloWorldAlmost.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | // ch3vector.cpp
//
// Examples to show how sequence containers (vector) work.
//
// Last modificaton dates:
//
// 2006-3-22 DD new code for algorithms
//
// (C) Datasim Education BV 2003-2006
//
//
#include <vector>
#include <list>
#include <string>
#include <algorithm>
#include <iostream>
using na... | 23.374269 | 77 | 0.621466 | talibe84 |
ce71715e14aba50c584045a45f76a0a50b6cc43e | 1,178 | cpp | C++ | src/Template/VideoTemplate.cpp | Inlife/video-cube | 1caefa2b2cda7c1386c3b75796086cb7201f5e8d | [
"MIT"
] | 2 | 2015-08-19T13:52:43.000Z | 2016-09-02T23:12:32.000Z | src/Template/VideoTemplate.cpp | Inlife/video-cube | 1caefa2b2cda7c1386c3b75796086cb7201f5e8d | [
"MIT"
] | null | null | null | src/Template/VideoTemplate.cpp | Inlife/video-cube | 1caefa2b2cda7c1386c3b75796086cb7201f5e8d | [
"MIT"
] | 1 | 2018-05-25T11:29:45.000Z | 2018-05-25T11:29:45.000Z | using namespace Cooper;
// Video template grid
class VideoTemplate : public Template {
public:
void grid(std::string name, std::vector<Video> videos) {
this->set(name, "");
double _l = videos.size() / 3.0;
std::size_t length = std::ceil(_l);
for(std::size_t i = 0; i < length; i++) {
Template line("main/_... | 24.040816 | 57 | 0.594228 | Inlife |
ce7345b1dedd067a62905aee366b66addd2e2212 | 1,047 | cpp | C++ | penet/callbacks.cpp | organicpencil/gdnet3 | b4b951e0cffc0c594ea58de52d3b1eee2222f325 | [
"MIT"
] | null | null | null | penet/callbacks.cpp | organicpencil/gdnet3 | b4b951e0cffc0c594ea58de52d3b1eee2222f325 | [
"MIT"
] | null | null | null | penet/callbacks.cpp | organicpencil/gdnet3 | b4b951e0cffc0c594ea58de52d3b1eee2222f325 | [
"MIT"
] | null | null | null | /**
@file callbacks.c
@brief PENet callback functions
*/
#define PENET_BUILDING_LIB 1
#include "penet/penet.h"
#include "os/memory.h"
static PENetCallbacks callbacks = { malloc, free, abort };
int
penet_initialize_with_callbacks (PENetVersion version, const PENetCallbacks * inits)
{
if (version < PENET_VERSION... | 18.368421 | 84 | 0.65043 | organicpencil |
ce73dd4eb51033c1822248bd852a743fa19fe846 | 964 | cpp | C++ | src/build/hibf/bin_size_in_bits.cpp | SGSSGene/raptor | 76189b4b941525f8da05821146a840c1d666e430 | [
"BSD-3-Clause"
] | null | null | null | src/build/hibf/bin_size_in_bits.cpp | SGSSGene/raptor | 76189b4b941525f8da05821146a840c1d666e430 | [
"BSD-3-Clause"
] | null | null | null | src/build/hibf/bin_size_in_bits.cpp | SGSSGene/raptor | 76189b4b941525f8da05821146a840c1d666e430 | [
"BSD-3-Clause"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 43.818182 | 104 | 0.578838 | SGSSGene |
ce7637a0f9ee90f2fc0f8aeb896fd305095cb7cd | 4,937 | cpp | C++ | Base/PLScene/src/Scene/SceneNodes/SNPoint.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Base/PLScene/src/Scene/SceneNodes/SNPoint.cpp | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 19 | 2018-08-24T08:10:13.000Z | 2018-11-29T06:39:08.000Z | Base/PLScene/src/Scene/SceneNodes/SNPoint.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: SNPoint.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 34.524476 | 102 | 0.564513 | ktotheoz |
7069f5efca27124859292124e24a62a636575466 | 1,510 | cpp | C++ | non_guaranteed_nanolog_benchmark.cpp | styac/NanoLog-- | b99a5e992f171a9bdbdc3a0d971c3651d8e701e6 | [
"MIT"
] | 1 | 2019-06-03T09:04:47.000Z | 2019-06-03T09:04:47.000Z | non_guaranteed_nanolog_benchmark.cpp | styac/NanoLog-- | b99a5e992f171a9bdbdc3a0d971c3651d8e701e6 | [
"MIT"
] | null | null | null | non_guaranteed_nanolog_benchmark.cpp | styac/NanoLog-- | b99a5e992f171a9bdbdc3a0d971c3651d8e701e6 | [
"MIT"
] | null | null | null | #include "NanoLog.hpp"
#include <chrono>
#include <thread>
#include <vector>
#include <atomic>
#include <cstdio>
constexpr int32_t iterExp = 25;
uint64_t timestamp_now()
{
constexpr int32_t sec2nsec = 1000*1000*1000LL;
timespec t;
clock_gettime( CLOCK_REALTIME, &t);
return t.tv_sec * sec2nsec + t.... | 25.59322 | 127 | 0.601987 | styac |
706c0482d67cdb0b8ee6d0fc8278621b20b32cb4 | 306 | hpp | C++ | src/stan/lang/ast/node/int_literal_def.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/int_literal_def.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/int_literal_def.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | 1 | 2020-07-14T11:36:09.000Z | 2020-07-14T11:36:09.000Z | #ifndef STAN_LANG_AST_NODE_INT_LITERAL_DEF_HPP
#define STAN_LANG_AST_NODE_INT_LITERAL_DEF_HPP
#include <stan/lang/ast.hpp>
namespace stan {
namespace lang {
int_literal::int_literal() : type_(int_type()) { }
int_literal::int_literal(int val) : val_(val), type_(int_type()) { }
}
}
#endif
| 19.125 | 73 | 0.728758 | drezap |
7070819b7db49b99e3edbb151e97705034440929 | 4,547 | hpp | C++ | hpx/util/static.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/util/static.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/util/static.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2006 Joao Abecasis
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(HPX_UTIL_STATIC_JUN_12_2008_0934AM)
#define HPX_UTIL_STATIC_JUN_12_2008_0934AM
#include <hpx/hpx_fwd.hpp>
#in... | 25.121547 | 80 | 0.602815 | Titzi90 |
70723fee6840f89af327d0ac8e57e636ecfaaf00 | 1,160 | cpp | C++ | Hooks.cpp | HeIIoween/revelation-mod-plugin | ea36a2ff0636718b19f900504aab2ea42d1161de | [
"Unlicense"
] | 2 | 2020-07-21T02:40:19.000Z | 2021-06-22T14:36:27.000Z | Hooks.cpp | HeIIoween/revelation-mod-plugin | ea36a2ff0636718b19f900504aab2ea42d1161de | [
"Unlicense"
] | null | null | null | Hooks.cpp | HeIIoween/revelation-mod-plugin | ea36a2ff0636718b19f900504aab2ea42d1161de | [
"Unlicense"
] | 1 | 2021-05-26T08:36:07.000Z | 2021-05-26T08:36:07.000Z | #include "Hooks.h"
#include "Client.h"
#include "Header.h"
using namespace raincious::FLHookPlugin::Revelation;
namespace HkIServerImpl
{
static int timerSkips = 0, timerSkiper = 10;
static uint onlinePlayers = 0;
void __stdcall Timer()
{
PluginReturnCode = DEFAULT_RETURNCODE;
if ((++timerSkips % timerSkip... | 19.661017 | 71 | 0.718966 | HeIIoween |
70747430f360f89fbd8fadf733d2e5f0cd42712e | 226 | cpp | C++ | 2234/2174556_AC_0MS_32K.cpp | vandreas19/POJ_sol | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 18 | 2017-08-14T07:34:42.000Z | 2022-01-29T14:20:29.000Z | 2234/2174556_AC_0MS_32K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | null | null | null | 2234/2174556_AC_0MS_32K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 14 | 2016-12-21T23:37:22.000Z | 2021-07-24T09:38:57.000Z | #include<iostream.h>
void main()
{
int iPileNum,iResult,iTemp;
while(cin>>iPileNum)
{
cin>>iResult;
while(--iPileNum)
{
cin>>iTemp;
iResult^=iTemp;
}
cout<<(iResult!=0?"Yes":"No")<<endl;
}
} | 14.125 | 39 | 0.561947 | vandreas19 |
70761e15007f253ca7819a806b1a4d77953e7d53 | 7,171 | cpp | C++ | sdk/physx/2.8.3/TrainingPrograms/Programs/Chap5/Lesson503/source/Lesson503.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | 1 | 2018-09-20T10:01:30.000Z | 2018-09-20T10:01:30.000Z | sdk/physx/2.8.3/TrainingPrograms/Programs/Chap5/Lesson503/source/Lesson503.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | null | null | null | sdk/physx/2.8.3/TrainingPrograms/Programs/Chap5/Lesson503/source/Lesson503.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | null | null | null | // ===============================================================================
// NVIDIA PHYSX SDK TRAINING PROGRAMS
// LESSON 503: CORE DUMP
//
// Written by Bob Schade, 5-1-06
// ===============================================================================
... | 24.063758 | 197 | 0.660717 | daher-alfawares |
70795ddc256b1ad70a4d31ea0db0e6081df098cb | 20,322 | cpp | C++ | SDKs/CryCode/3.7.0/GameDll/VehicleMovementHelicopterArcade.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.7.0/GameDll/VehicleMovementHelicopterArcade.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.7.0/GameDll/VehicleMovementHelicopterArcade.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /*************************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2005.
-------------------------------------------------------------------------
$Id$
$DateTime$
Description: Implements a standard helicopter movements
------------------------------------... | 29.754026 | 197 | 0.626612 | amrhead |
707ac1dd48fa3bf4260d432939b8e2550652f375 | 1,044 | cpp | C++ | clibalgserver/code/exe/loop.cpp | bajdcc/clibalgserver | 0a464b1657c70244d18345ab8b2a4f222b32c18a | [
"MIT"
] | 12 | 2019-09-25T09:28:40.000Z | 2022-01-24T05:24:35.000Z | clibalgserver/code/exe/loop.cpp | bajdcc/clibalgserver | 0a464b1657c70244d18345ab8b2a4f222b32c18a | [
"MIT"
] | 3 | 2020-02-22T04:00:36.000Z | 2020-03-19T07:42:03.000Z | clibalgserver/code/exe/loop.cpp | bajdcc/clibalgserver | 0a464b1657c70244d18345ab8b2a4f222b32c18a | [
"MIT"
] | 2 | 2020-03-06T07:59:28.000Z | 2020-08-17T07:34:48.000Z | #include "/include/shell"
#include "/include/memory"
#include "/include/proc"
struct string {
char* text;
int capacity;
int length;
};
string new_string() {
string s;
s.text = malloc(16);
s.capacity = 16;
s.length = 0;
return s;
}
void append_char(string* s, char c) {
if (s->length >... | 21.75 | 48 | 0.482759 | bajdcc |
707e0f71cb3d54acd88a63a8f5f94428bc24fda9 | 2,868 | cc | C++ | src/Vehicle/ADSBVehicle.cc | harisankerPradeep/qgroundcontrol | 449ee8ffd3b165a220cb6ebfd8b94cc9b2daf49f | [
"Apache-2.0"
] | 12 | 2020-04-19T17:36:34.000Z | 2022-02-02T01:42:06.000Z | src/Vehicle/ADSBVehicle.cc | Myweik/MMC_qgroundcontrol | 3aa97928d30fc9de56fde2a0d37a49245de83da4 | [
"Apache-2.0"
] | 30 | 2019-07-10T02:21:58.000Z | 2019-08-15T02:17:42.000Z | src/Vehicle/ADSBVehicle.cc | Myweik/MMC_qgroundcontrol | 3aa97928d30fc9de56fde2a0d37a49245de83da4 | [
"Apache-2.0"
] | 39 | 2020-04-18T00:45:45.000Z | 2022-03-21T10:41:46.000Z | /****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
*************************************... | 28.969697 | 106 | 0.62901 | harisankerPradeep |
707f3d573d0a784dc8a64370d6e56696c1e310a8 | 36,299 | cpp | C++ | Source/hydro/riemann_solvers.cpp | nmford20/Castro | ad98e9f756dc4f8832da14b70ff17234dae4dad3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/hydro/riemann_solvers.cpp | nmford20/Castro | ad98e9f756dc4f8832da14b70ff17234dae4dad3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/hydro/riemann_solvers.cpp | nmford20/Castro | ad98e9f756dc4f8832da14b70ff17234dae4dad3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <Castro.H>
#include <Castro_F.H>
#include <Castro_util.H>
#ifdef RADIATION
#include <Radiation.H>
#endif
#include <cmath>
#include <eos.H>
#include <riemann.H>
using namespace amrex;
void
Castro::riemanncg(const Box& bx,
Array4<Real> const& ql,
Array4<Real> const& qr,
... | 27.815326 | 132 | 0.550924 | nmford20 |
7087b9f7b595d991d7bd8dc0259da6e47acca312 | 8,047 | cpp | C++ | x3py/source/core/x3manager/plugins.cpp | xueyu200/CbersUI | 85bfe9f16e0ff17361875461818006efc51d8d28 | [
"Apache-2.0"
] | 11 | 2019-05-13T02:40:42.000Z | 2021-12-19T20:03:29.000Z | x3py/source/core/x3manager/plugins.cpp | xueyu200/CbersUI | 85bfe9f16e0ff17361875461818006efc51d8d28 | [
"Apache-2.0"
] | 1 | 2022-02-16T09:18:15.000Z | 2022-02-18T02:00:20.000Z | x3py/source/core/x3manager/plugins.cpp | xueyu200/CbersUI | 85bfe9f16e0ff17361875461818006efc51d8d28 | [
"Apache-2.0"
] | 7 | 2019-02-23T13:55:25.000Z | 2021-04-21T11:33:24.000Z | // x3py framework: https://github.com/rhcad/x3py
#include <module/plugininc.h>
#include <utilfunc/convstr.h>
#include "plugins.h"
BEGIN_NAMESPACE_X3
CPlugins::CPlugins()
{
}
CPlugins::~CPlugins()
{
}
int CPlugins::getPluginCount() const
{
LockRW locker(_plugins.locker);
return locker.canRead() ? (1 + GetSiz... | 23.190202 | 107 | 0.524668 | xueyu200 |
70896f1016eea0ce36f018167de3b001c2ad1ae0 | 2,721 | cpp | C++ | src/arrow.cpp | mayankmusaddi/PlaneSimulation-OpenGL | cc863f0e80e9a85c0ffe033e7aa6a9f44edd11b6 | [
"MIT"
] | null | null | null | src/arrow.cpp | mayankmusaddi/PlaneSimulation-OpenGL | cc863f0e80e9a85c0ffe033e7aa6a9f44edd11b6 | [
"MIT"
] | null | null | null | src/arrow.cpp | mayankmusaddi/PlaneSimulation-OpenGL | cc863f0e80e9a85c0ffe033e7aa6a9f44edd11b6 | [
"MIT"
] | null | null | null | #include "arrow.h"
#include "main.h"
#include "primitives.h"
Arrow::Arrow(float x, float y,float z) {
this->position = glm::vec3(x, y, z);
this->direction = glm::mat4(1.0f);
this->rotation = 0;
float size = 0.05;
float thickness = size/2;
static const GLfloat head[] = {
-size, 0, ... | 28.34375 | 100 | 0.556413 | mayankmusaddi |
708d27424075645d50b80c8c7c48dd34d886cf4c | 289 | cpp | C++ | Unit 4/TicTacToe/TicTacToe/player.cpp | hhaslam11/C-Projects | c9e76edcd136a163d61fc38a80e419c55f84354d | [
"MIT"
] | null | null | null | Unit 4/TicTacToe/TicTacToe/player.cpp | hhaslam11/C-Projects | c9e76edcd136a163d61fc38a80e419c55f84354d | [
"MIT"
] | null | null | null | Unit 4/TicTacToe/TicTacToe/player.cpp | hhaslam11/C-Projects | c9e76edcd136a163d61fc38a80e419c55f84354d | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::endl;
using std::string;
//Prettiness
#include <iomanip>
using std::fixed;
using std::setprecision;
private char type;
void player(char type){
this.type = type;
}
char getType(){
return this.type;
}
| 12.565217 | 24 | 0.705882 | hhaslam11 |
708db4245424c6ba1f235be35eb1285a823cce5c | 803 | cpp | C++ | Kattis/dasort.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | 3 | 2021-02-19T17:01:11.000Z | 2021-03-11T16:50:19.000Z | Kattis/dasort.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | Kattis/dasort.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | //
// https://open.kattis.com/problems/dasort
#include <iostream>
//#include <deque>
#include <algorithm>
//#include <cmath>
#include <vector>
#include <stack>
using namespace std;
int n, a[1010];
stack<int> stk;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t, th;
cin >> t;... | 19.585366 | 74 | 0.435866 | YourName0729 |
708fe94a1f3aec06f5746b9be7ba6bf3c0d6db44 | 4,308 | cpp | C++ | ares/n64/cpu/core/core.cpp | moon-chilled/Ares | 909fb098c292f8336d0502dc677050312d8b5c81 | [
"0BSD"
] | 7 | 2020-07-25T11:44:39.000Z | 2021-01-29T13:21:31.000Z | ares/n64/cpu/core/core.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | null | null | null | ares/n64/cpu/core/core.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | #include "registers.hpp"
#include "scc-tlb.cpp"
#include "scc-registers.cpp"
#include "fpu-registers.cpp"
#include "memory.cpp"
#include "decoder.cpp"
#include "cpu-instructions.cpp"
#include "scc-instructions.cpp"
#include "fpu-instructions.cpp"
#include "recompiler.cpp"
#include "disassembler.cpp"
#include "serializa... | 28.342105 | 97 | 0.659006 | moon-chilled |
7095174ff4e48d7b5e5fdbe12f0b98afe38df733 | 11,472 | cpp | C++ | roomedit/owl-6.34/source/appdict.cpp | Darkman-M59/Meridian59_115 | 671b7ebe9fa2b1f40c8bd453652d596042291b90 | [
"FSFAP"
] | null | null | null | roomedit/owl-6.34/source/appdict.cpp | Darkman-M59/Meridian59_115 | 671b7ebe9fa2b1f40c8bd453652d596042291b90 | [
"FSFAP"
] | null | null | null | roomedit/owl-6.34/source/appdict.cpp | Darkman-M59/Meridian59_115 | 671b7ebe9fa2b1f40c8bd453652d596042291b90 | [
"FSFAP"
] | null | null | null | //----------------------------------------------------------------------------
// ObjectWindows
// Copyright (c) 1991, 1996 by Borland International, All Rights Reserved
//
/// \file
/// Implementation of class TAppDictionary, a dictionary of associations
/// between pids (Process IDs) and TApplication pointers.... | 35.082569 | 90 | 0.67181 | Darkman-M59 |
709889e2f30586226288ba14b024539f8ed0cdc1 | 2,799 | cpp | C++ | 2002/samples/mfcsamps/modal/arxmfctmpl.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 1 | 2021-06-25T02:58:47.000Z | 2021-06-25T02:58:47.000Z | 2004/samples/editor/mfcsamps/modal/arxmfctmpl.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | null | null | null | 2004/samples/editor/mfcsamps/modal/arxmfctmpl.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 3 | 2020-05-23T02:47:44.000Z | 2020-10-27T01:26:53.000Z | // (C) Copyright 1996-1998 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warr... | 31.449438 | 78 | 0.620222 | kevinzhwl |
7098c8d6a3770b3bede1f1fa8988b67adedf9952 | 15,420 | cpp | C++ | cpp/depends/igl/headers/igl/copyleft/cgal/outer_hull_legacy.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | cpp/depends/igl/headers/igl/copyleft/cgal/outer_hull_legacy.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | cpp/depends/igl/headers/igl/copyleft/cgal/outer_hull_legacy.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
//
// 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://... | 34.039735 | 602 | 0.550713 | GitZHCODE |
709a6bf3440894db1d5b5820e4103cf408740079 | 5,690 | cpp | C++ | src/materialsystem/stdshaders/portalstaticoverlay_dx60.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/materialsystem/stdshaders/portalstaticoverlay_dx60.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/materialsystem/stdshaders/portalstaticoverlay_dx60.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "BaseVSShader.h"
#include "convar.h"
#include "d3dx.h"
DEFINE_FALLBACK_SHADER( PortalStaticOverlay, PortalStaticO... | 31.263736 | 133 | 0.762214 | DeadZoneLuna |
709c54024f16a027c4f756a6d0e761667d8e0e50 | 1,357 | hpp | C++ | sd6/A3_UDP_Session/GameCode/TheApp.hpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | sd6/A3_UDP_Session/GameCode/TheApp.hpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | sd6/A3_UDP_Session/GameCode/TheApp.hpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | //==============================================================================================================
//TheApp.hpp
//by Albert Chen Jan-13-2015.
//==============================================================================================================
#pragma once
#ifndef _included_TheApp__
#define _i... | 26.607843 | 112 | 0.644068 | achen889 |
709d276c04cb807382c6ed8a52f0b4751aa33559 | 10,045 | cpp | C++ | src/mongo/s/write_ops/write_op.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | 1 | 2018-03-16T09:49:05.000Z | 2018-03-16T09:49:05.000Z | src/mongo/s/write_ops/write_op.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | null | null | null | src/mongo/s/write_ops/write_op.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2013 MongoDB 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 usef... | 36.394928 | 97 | 0.670184 | stevelyall |
709d4b3ba6f0d31fb6624fc7bae7234cac2540a2 | 27,342 | hpp | C++ | src/omni/pool.hpp | Pilatuz/omni | c74a48e4637074dbc9f777c839b6575b4434ad05 | [
"MIT"
] | 1 | 2020-04-07T13:44:28.000Z | 2020-04-07T13:44:28.000Z | src/omni/pool.hpp | Pilatuz/omni | c74a48e4637074dbc9f777c839b6575b4434ad05 | [
"MIT"
] | null | null | null | src/omni/pool.hpp | Pilatuz/omni | c74a48e4637074dbc9f777c839b6575b4434ad05 | [
"MIT"
] | 2 | 2020-09-16T12:00:46.000Z | 2020-09-16T12:59:01.000Z | ///////////////////////////////////////////////////////////////////////////////
// This material is provided "as is", with absolutely no warranty
// expressed or implied. Any use is at your own risk.
//
// Permission to use or copy this software for any purpose is hereby
// granted without fee, provided the above not... | 25.625117 | 104 | 0.5933 | Pilatuz |
709d783082ef94ea5c4a513c170e4df36aca953d | 112,211 | cpp | C++ | HotSpot1.7-JVM-Linux-x86/src/share/vm/runtime/sharedRuntime.cpp | codefollower/Open-Source-Research | b9f2aed9d0f060b80be45f713c3d48fe91f247b2 | [
"Apache-2.0"
] | 184 | 2015-01-04T03:38:20.000Z | 2022-03-30T05:47:21.000Z | HotSpot1.7/src/share/vm/runtime/sharedRuntime.cpp | doczyw/Open-Source-Research | b9f2aed9d0f060b80be45f713c3d48fe91f247b2 | [
"Apache-2.0"
] | 1 | 2016-01-17T09:18:17.000Z | 2016-01-17T09:18:17.000Z | HotSpot1.7/src/share/vm/runtime/sharedRuntime.cpp | doczyw/Open-Source-Research | b9f2aed9d0f060b80be45f713c3d48fe91f247b2 | [
"Apache-2.0"
] | 101 | 2015-01-16T23:46:31.000Z | 2022-03-30T05:47:06.000Z | /*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 38.44159 | 174 | 0.681386 | codefollower |
709ddee84ea005adf095e8279af54bf701ff399b | 22,533 | hpp | C++ | viennacl/linalg/cuda/bisect_util.hpp | denis14/ViennaCL-1.5.2 | fec808905cca30196e10126681611bdf8da5297a | [
"MIT"
] | null | null | null | viennacl/linalg/cuda/bisect_util.hpp | denis14/ViennaCL-1.5.2 | fec808905cca30196e10126681611bdf8da5297a | [
"MIT"
] | null | null | null | viennacl/linalg/cuda/bisect_util.hpp | denis14/ViennaCL-1.5.2 | fec808905cca30196e10126681611bdf8da5297a | [
"MIT"
] | null | null | null | #ifndef VIENNACL_LINALG_CUDA_BISECT_BISECT_UTIL_HPP_
#define VIENNACL_LINALG_CUDA_BISECT_BISECT_UTIL_HPP_
/* =========================================================================
Copyright (c) 2010-2014, Institute for Microelectronics,
Institute for Analysis and Scientific Compu... | 36.758564 | 96 | 0.54347 | denis14 |
709e36fd8c2f302746c7f410484d8fedee7c6057 | 10,563 | cpp | C++ | Fractal_CPU_Multithreading/Fractal_CPU_Multithreading.cpp | Emmanuel-DUPUIS/multithreadedfractals | 430816e79346d9074a0a43698ef70879247af436 | [
"MIT"
] | null | null | null | Fractal_CPU_Multithreading/Fractal_CPU_Multithreading.cpp | Emmanuel-DUPUIS/multithreadedfractals | 430816e79346d9074a0a43698ef70879247af436 | [
"MIT"
] | null | null | null | Fractal_CPU_Multithreading/Fractal_CPU_Multithreading.cpp | Emmanuel-DUPUIS/multithreadedfractals | 430816e79346d9074a0a43698ef70879247af436 | [
"MIT"
] | null | null | null | //==============================================================================
// (c) Emmanuel DUPUIS 2016, emmanuel.dupuis@undecentum.com, MIT Licence
//==============================================================================
#include <cstdint>
#include <cmath>
#include <iostream>
#include <sstream>
... | 35.446309 | 250 | 0.605983 | Emmanuel-DUPUIS |
70a2160f19917bb2514fd5bc0c90d2636da71f13 | 5,736 | cpp | C++ | src/prod/src/data/txnreplicator/logrecordlib/EndTransactionLogRecord.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 1 | 2020-06-15T04:33:36.000Z | 2020-06-15T04:33:36.000Z | src/prod/src/data/txnreplicator/logrecordlib/EndTransactionLogRecord.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | null | null | null | src/prod/src/data/txnreplicator/logrecordlib/EndTransactionLogRecord.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 32.40678 | 143 | 0.737796 | vishnuk007 |
70ac01228431afed0fe0a790bd32c1793cebcd77 | 2,136 | cpp | C++ | Tarefa 03/Ex. 4 - Iron Maiden.cpp | leandrophiga/TADS-PDFA1 | 51240d4cbee34e042e35069f5030f4dc31104935 | [
"MIT"
] | null | null | null | Tarefa 03/Ex. 4 - Iron Maiden.cpp | leandrophiga/TADS-PDFA1 | 51240d4cbee34e042e35069f5030f4dc31104935 | [
"MIT"
] | null | null | null | Tarefa 03/Ex. 4 - Iron Maiden.cpp | leandrophiga/TADS-PDFA1 | 51240d4cbee34e042e35069f5030f4dc31104935 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h> // utilizar strcmp()
#include <termios.h>
#include <unistd.h>
int main(void)
{
int getch(void);
char SenhaDigitada[100], caractere, senha[] = "iron maiden";
int i, r = 1, n_tentativa = 1;
while (r != 0 && n_tentativa <= 3) // r = 0 dirá se a senha digitada está c... | 31.411765 | 108 | 0.571161 | leandrophiga |
70b050bfb41e8700ade293b43fd42725046e8212 | 315 | hpp | C++ | include/mgcpp/expressions/inspect_graph.hpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 48 | 2018-01-02T03:47:18.000Z | 2021-09-09T05:55:45.000Z | include/mgcpp/expressions/inspect_graph.hpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 24 | 2017-12-27T18:03:13.000Z | 2018-07-02T09:00:30.000Z | include/mgcpp/expressions/inspect_graph.hpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 6 | 2018-01-14T14:06:10.000Z | 2018-10-16T08:43:01.000Z | #ifndef INSPECT_GRAPH_HPP
#define INSPECT_GRAPH_HPP
#include <ostream>
#include <mgcpp/expressions/expression.hpp>
namespace mgcpp {
template <typename Expr>
std::ostream& operator<<(std::ostream& os, expression<Expr> const& expr);
}
#include <mgcpp/expressions/inspect_graph.tpp>
#endif // INSPECT_GRAPH_HPP
| 19.6875 | 73 | 0.774603 | MGfoundation |
70b2ae7b36b4998bf3854c0eca9bbcc0be7cc3b2 | 13,863 | cpp | C++ | Modules/Rendering/DirectX/vaTextureHelpersDX11.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 110 | 2018-09-04T20:33:59.000Z | 2021-12-17T08:46:11.000Z | Modules/Rendering/DirectX/vaTextureHelpersDX11.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 5 | 2018-09-05T20:57:08.000Z | 2021-02-24T09:02:31.000Z | Modules/Rendering/DirectX/vaTextureHelpersDX11.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 20 | 2018-09-05T00:41:13.000Z | 2021-08-04T01:31:50.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, 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 de... | 40.893805 | 180 | 0.530044 | magcius |
70b34ae106b2549ef4cca4328e2c50f6dcdbde11 | 6,120 | tcc | C++ | libfqfft/polynomial_arithmetic/basic_operations.tcc | clearmatics/libfqfft | 620cef1c2d88901c497e2c27a6e64308329660b7 | [
"MIT"
] | null | null | null | libfqfft/polynomial_arithmetic/basic_operations.tcc | clearmatics/libfqfft | 620cef1c2d88901c497e2c27a6e64308329660b7 | [
"MIT"
] | 1 | 2021-10-04T09:33:40.000Z | 2021-10-04T09:33:40.000Z | libfqfft/polynomial_arithmetic/basic_operations.tcc | clearmatics/libfqfft | 620cef1c2d88901c497e2c27a6e64308329660b7 | [
"MIT"
] | null | null | null | /** @file
*****************************************************************************
Implementation of interfaces for basic polynomial operation routines.
See basic_operations.hpp .
*****************************************************************************
* @author This file is part of libfqfft, deve... | 27.945205 | 133 | 0.576634 | clearmatics |
70b78dee07b94530f44ae6919c274ff0a90c4629 | 1,173 | hpp | C++ | library/ATF/_DCB.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_DCB.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_DCB.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
struct _DCB
{
unsigned int DCBlength;
unsigned int BaudRate;
unsigned __int32 fBinary : 1;
unsigned __int32 ... | 29.325 | 108 | 0.635124 | lemkova |
70b7ce0dc3701c5945dd7e3cc8f7d1b1eb7cc5b6 | 222 | cpp | C++ | Pointers/simplearray.cpp | dealbisac/cprograms | 89af58a30295099b45406cf192f4c4eb4a06f9fe | [
"Unlicense"
] | 4 | 2019-01-27T01:00:44.000Z | 2019-01-29T02:09:55.000Z | Pointers/simplearray.cpp | dealbisac/cprograms | 89af58a30295099b45406cf192f4c4eb4a06f9fe | [
"Unlicense"
] | null | null | null | Pointers/simplearray.cpp | dealbisac/cprograms | 89af58a30295099b45406cf192f4c4eb4a06f9fe | [
"Unlicense"
] | 1 | 2019-02-04T11:34:40.000Z | 2019-02-04T11:34:40.000Z | //Simple Array Pointers Example
#include <stdio.h>
int main()
{
int x[4];
int i;
for(i = 0; i < 4; ++i)
{
printf("&x[%d] = %u\n", i, &x[i]);
}
printf("Address of array x: %u", x);
return 0;
}
| 13.058824 | 40 | 0.477477 | dealbisac |
70b814f959a944f1978a91fe88d1eb529eaabd26 | 211 | cpp | C++ | src/network/message.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 3 | 2015-02-22T20:34:28.000Z | 2020-03-04T08:55:25.000Z | src/network/message.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 22 | 2015-12-13T16:29:40.000Z | 2017-03-04T15:45:44.000Z | src/network/message.cpp | Reaping2/Reaping2 | 0d4c988c99413e50cc474f6206cf64176eeec95d | [
"MIT"
] | 14 | 2015-11-23T21:25:09.000Z | 2020-07-17T17:03:23.000Z | #include "network/message.h"
namespace network {
Message::Message()
: mSenderId( -1 )
{
}
Message::~Message()
{
}
} // namespace network
BOOST_CLASS_EXPORT_GUID( network::DefaultMessage, "default" )
| 10.55 | 61 | 0.677725 | MrPepperoni |
70b8c9b996274447f48c4121979ecd90a15b74d5 | 2,054 | cpp | C++ | Root Folder/Game/Render Engine/basics/DisplayManager.cpp | zhangjianagry/2018-Game | aebc4c3f6c98bb7e909f2ff4d71e32b63ba7fc14 | [
"MIT"
] | 1 | 2018-12-25T03:18:42.000Z | 2018-12-25T03:18:42.000Z | Root Folder/Game/Render Engine/basics/DisplayManager.cpp | zhangjianagry/2018-Game | aebc4c3f6c98bb7e909f2ff4d71e32b63ba7fc14 | [
"MIT"
] | null | null | null | Root Folder/Game/Render Engine/basics/DisplayManager.cpp | zhangjianagry/2018-Game | aebc4c3f6c98bb7e909f2ff4d71e32b63ba7fc14 | [
"MIT"
] | null | null | null | #include "DisplayManager.h"
#include <iostream>
int DisplayManager::SCREEN_WIDTH = 1280;
int DisplayManager::SCREEN_HEIGHT = 720;
const char * DisplayManager::SCREEN_TITLE = "Game";
float DisplayManager::ASPECTRATIO;
int DisplayManager::FPS_CAP = 100;
float DisplayManager::MAX_DELTA = 0.2f;
float DisplayManager::STAB... | 22.822222 | 64 | 0.746349 | zhangjianagry |
70c1a1675562c5ab2d5609136b1ae34adcd636c8 | 3,595 | cpp | C++ | src/game/shared/movevars_shared.cpp | vxsd/refraction | bb6def1feb6c2e5c94b2604ad55607ed380a2d7e | [
"MIT"
] | 4 | 2019-08-31T10:48:22.000Z | 2019-11-03T19:36:45.000Z | src/game/shared/movevars_shared.cpp | undbsd/refraction | bb6def1feb6c2e5c94b2604ad55607ed380a2d7e | [
"MIT"
] | 2 | 2020-07-18T10:39:32.000Z | 2020-09-14T04:37:18.000Z | src/game/shared/movevars_shared.cpp | undbsd/refraction | bb6def1feb6c2e5c94b2604ad55607ed380a2d7e | [
"MIT"
] | 1 | 2019-12-20T20:40:12.000Z | 2019-12-20T20:40:12.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "movevars_shared.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
float... | 57.063492 | 160 | 0.76662 | vxsd |
70d39e4d147f1db11596ff7be458c90ef3cbbd7a | 1,073 | cpp | C++ | src/imu-frontend/ImuFrontEndParams.cpp | tonioteran/Kimera-VIO | fe3ab9554a30fdff760da53d5ad22ee45f91c498 | [
"BSD-2-Clause"
] | 2 | 2019-12-18T12:38:24.000Z | 2019-12-25T08:18:02.000Z | src/imu-frontend/ImuFrontEndParams.cpp | tonioteran/Kimera-VIO | fe3ab9554a30fdff760da53d5ad22ee45f91c498 | [
"BSD-2-Clause"
] | null | null | null | src/imu-frontend/ImuFrontEndParams.cpp | tonioteran/Kimera-VIO | fe3ab9554a30fdff760da53d5ad22ee45f91c498 | [
"BSD-2-Clause"
] | 1 | 2020-01-18T09:52:52.000Z | 2020-01-18T09:52:52.000Z | /* ----------------------------------------------------------------------------
* Copyright 2017, Massachusetts Institute of Technology,
* Cambridge, MA 02139
* All Rights Reserved
* Authors: Luca Carlone, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------... | 33.53125 | 80 | 0.521901 | tonioteran |
70d5536548f830dcd1cc7831e247b4efa560e504 | 328 | hpp | C++ | src/Graphics/glHeaders.hpp | ryu-raptor/amf | 33a42cf1025ea512f23c4769a5be27d6a0c335bc | [
"MIT"
] | 1 | 2020-05-31T02:25:39.000Z | 2020-05-31T02:25:39.000Z | src/Graphics/glHeaders.hpp | ryu-raptor/amf | 33a42cf1025ea512f23c4769a5be27d6a0c335bc | [
"MIT"
] | null | null | null | src/Graphics/glHeaders.hpp | ryu-raptor/amf | 33a42cf1025ea512f23c4769a5be27d6a0c335bc | [
"MIT"
] | null | null | null | #ifndef glHeaders_hpp_included
#define glHeaders_hpp_included
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#define GLM_MESSAGES
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/transform.hpp>
#include <glm/gtx/string_cast.hpp>
#endif /* end of include g... | 21.866667 | 39 | 0.780488 | ryu-raptor |
70d64b81fcdbbc58739b812150d232add48eb461 | 475 | cpp | C++ | source/consolelogger.cpp | JRKalyan/affign | ef5816ecc683d4720595414a4e8355057dbbff78 | [
"MIT"
] | 21 | 2018-01-21T19:29:05.000Z | 2022-02-23T19:18:58.000Z | source/consolelogger.cpp | JRKalyan/affign | ef5816ecc683d4720595414a4e8355057dbbff78 | [
"MIT"
] | null | null | null | source/consolelogger.cpp | JRKalyan/affign | ef5816ecc683d4720595414a4e8355057dbbff78 | [
"MIT"
] | null | null | null | #include "consolelogger.h"
#include <iostream>
void ConsoleLogger::Log(const std::string& msg, MessageType type) {
std::string prefix;
switch (type)
{
case MessageType::error:
prefix = "[ERROR]";
break;
case MessageType::standard:
prefix = "[STATUS]";
break;
case MessageType::success:
p... | 19.791667 | 67 | 0.614737 | JRKalyan |
70d862fc96d9a59cc1f162b35b34b9ad1d237757 | 343 | cpp | C++ | WinRT/HelloWinRT/Main.cpp | weliwita/CPPWindowsTutorial | 0bba092c20e1afad3434b521a21ae09573579cde | [
"Apache-2.0"
] | null | null | null | WinRT/HelloWinRT/Main.cpp | weliwita/CPPWindowsTutorial | 0bba092c20e1afad3434b521a21ae09573579cde | [
"Apache-2.0"
] | null | null | null | WinRT/HelloWinRT/Main.cpp | weliwita/CPPWindowsTutorial | 0bba092c20e1afad3434b521a21ae09573579cde | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
using namespace winrt;
using namespace Windows::Foundation;
using namespace Windows::Networking;
using namespace Windows::Networking::Connectivity;
int main()
{
init_apartment();
for (HostName const & name : NetworkInformation::GetHostNames())
{
printf("%ls\n", name.ToStri... | 17.15 | 68 | 0.676385 | weliwita |
70d922514e131d20838131448b18e3a57aac0a35 | 2,672 | cpp | C++ | src/Values.cpp | errata-c/ez-kvstore | 9e68d4cb18e17cb6ba4a7c2a6aaf6cddd9d829cf | [
"MIT"
] | null | null | null | src/Values.cpp | errata-c/ez-kvstore | 9e68d4cb18e17cb6ba4a7c2a6aaf6cddd9d829cf | [
"MIT"
] | null | null | null | src/Values.cpp | errata-c/ez-kvstore | 9e68d4cb18e17cb6ba4a7c2a6aaf6cddd9d829cf | [
"MIT"
] | null | null | null | #include "KVPrivate.hpp"
#include <cassert>
#include <iostream>
#include <fmt/core.h>
namespace ez {
std::size_t KVPrivate::numValues() const {
if (!db) {
return 0;
}
SQLite::Statement stmt(
db.value(),
fmt::format(
"SELECT COUNT(*) FROM \"{}\";",
tableID
)
);
bool res = stmt.executeSt... | 18.30137 | 91 | 0.561377 | errata-c |
70dc33b8488c49143d5ff4c482003d3272fe8362 | 687 | cpp | C++ | src/xyz.cpp | andreaskoepf/torch-pcl | 54244b69f9483d84e4f7d1da637c09d1de73acf1 | [
"BSD-3-Clause"
] | 36 | 2016-02-11T06:57:33.000Z | 2020-05-30T05:08:18.000Z | src/xyz.cpp | andreaskoepf/torch-pcl | 54244b69f9483d84e4f7d1da637c09d1de73acf1 | [
"BSD-3-Clause"
] | 13 | 2015-10-23T13:00:34.000Z | 2017-01-05T16:35:32.000Z | src/xyz.cpp | andreaskoepf/torch-pcl | 54244b69f9483d84e4f7d1da637c09d1de73acf1 | [
"BSD-3-Clause"
] | 8 | 2016-02-21T01:47:46.000Z | 2019-11-01T12:48:57.000Z | #define _PointT pcl::PointXYZ
#define _PointNormalT pcl::PointNormal
#define TYPE_KEY _XYZ_
#include "utils.h"
#include <pcl/keypoints/sift_keypoint.h>
// SIFTKeypointFieldSelector specialization to calculate SIFTKeypoint based
// on the z component of point clouds without color or intensity information.
namespace pc... | 23.689655 | 77 | 0.756914 | andreaskoepf |
70dffa1383cc22b22a12f4dcd872ed6e226644a0 | 24,866 | cpp | C++ | src/Simd/SimdAvx1Convolution.cpp | frankyhit/Simd | 05c5d3bfa83e55f33dd669dfef4995332fd5ef61 | [
"MIT"
] | 1 | 2018-12-14T06:19:36.000Z | 2018-12-14T06:19:36.000Z | src/Simd/SimdAvx1Convolution.cpp | frankyhit/Simd | 05c5d3bfa83e55f33dd669dfef4995332fd5ef61 | [
"MIT"
] | null | null | null | src/Simd/SimdAvx1Convolution.cpp | frankyhit/Simd | 05c5d3bfa83e55f33dd669dfef4995332fd5ef61 | [
"MIT"
] | null | null | null | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2018 Yermalayeu Ihar.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including witho... | 47.273764 | 168 | 0.466179 | frankyhit |
70e09544681d966b75f30c3a0b66d0ff81552c5b | 207 | hpp | C++ | src/scenario/scenario_search.hpp | reyreaud-l/CppTrie | 8e939aa5ff11aecbb7ea79fa38cb5f53bdb0ca17 | [
"MIT"
] | 5 | 2018-07-30T08:50:39.000Z | 2018-08-10T15:41:42.000Z | src/scenario/scenario_search.hpp | reyreaud-l/CppTrie | 8e939aa5ff11aecbb7ea79fa38cb5f53bdb0ca17 | [
"MIT"
] | null | null | null | src/scenario/scenario_search.hpp | reyreaud-l/CppTrie | 8e939aa5ff11aecbb7ea79fa38cb5f53bdb0ca17 | [
"MIT"
] | null | null | null | #include "scenario.hpp"
class ScenarioSearch : public Scenario
{
public:
virtual ~ScenarioSearch();
ScenarioSearch(const std::vector<std::string>& word_list,
std::size_t nqueries);
};
| 18.818182 | 59 | 0.681159 | reyreaud-l |
70e0aacda54edf0132ab4c71556094413a587948 | 3,956 | cpp | C++ | tools/headergen/HeaderGen.cpp | lifting-bits/rellic | 96fc148723be33e1dcdca256d3f28d75dc4339c2 | [
"Apache-2.0"
] | 187 | 2019-10-31T19:31:00.000Z | 2022-03-31T15:37:05.000Z | tools/headergen/HeaderGen.cpp | lifting-bits/rellic | 96fc148723be33e1dcdca256d3f28d75dc4339c2 | [
"Apache-2.0"
] | 116 | 2019-10-25T12:12:58.000Z | 2022-03-30T20:58:04.000Z | tools/headergen/HeaderGen.cpp | lifting-bits/rellic | 96fc148723be33e1dcdca256d3f28d75dc4339c2 | [
"Apache-2.0"
] | 19 | 2019-11-11T02:27:12.000Z | 2021-11-03T17:12:28.000Z | /*
* Copyright (c) 2021-present, Trail of Bits, Inc.
* All rights reserved.
*
* This source code is licensed in accordance with the terms specified in
* the LICENSE file found in the root directory of this source tree.
*/
#include <clang/Tooling/Tooling.h>
#include <gflags/gflags.h>
#include <glog/logging.h>
#in... | 31.149606 | 80 | 0.654954 | lifting-bits |
70e0ef13c81f3597048d79c438d890bace388f38 | 16,473 | cc | C++ | src/kudu/util/file_cache-test.cc | acelyc111/kudu | 55cab441c2d66c92f0c769e98d6a2f079e5563b2 | [
"Apache-2.0"
] | null | null | null | src/kudu/util/file_cache-test.cc | acelyc111/kudu | 55cab441c2d66c92f0c769e98d6a2f079e5563b2 | [
"Apache-2.0"
] | null | null | null | src/kudu/util/file_cache-test.cc | acelyc111/kudu | 55cab441c2d66c92f0c769e98d6a2f079e5563b2 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 33.413793 | 94 | 0.698841 | acelyc111 |
70e1051c3595d3701e7ed5abeb542251d0a322c8 | 379 | hpp | C++ | src/feedback_client.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | 2 | 2017-01-02T02:02:23.000Z | 2021-04-15T09:21:27.000Z | src/feedback_client.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | null | null | null | src/feedback_client.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | null | null | null | #pragma once
#include "client.hpp"
#include <wangle/channel/Pipeline.h>
#include <chrono>
typedef wangle::DefaultPipeline FeedbackClientPipeline;
typedef Client<FeedbackClientPipeline> FeedbackClient;
std::shared_ptr<wangle::PipelineFactory<FeedbackClientPipeline>>
FeedbackClientPipelineFactory(Client<FeedbackClient... | 31.583333 | 109 | 0.83905 | sgalkin |
70e46ee73ac188f7bc00891d0b95574a46b84414 | 2,457 | hpp | C++ | include/atd/stats/ExponentialSmoothing.hpp | galeone/openatd | b60c5fb774d8310e867363503dd4eb40bb2c8481 | [
"Apache-2.0"
] | 15 | 2017-11-06T17:20:29.000Z | 2021-12-09T19:31:18.000Z | include/atd/stats/ExponentialSmoothing.hpp | galeone/openatd | b60c5fb774d8310e867363503dd4eb40bb2c8481 | [
"Apache-2.0"
] | null | null | null | include/atd/stats/ExponentialSmoothing.hpp | galeone/openatd | b60c5fb774d8310e867363503dd4eb40bb2c8481 | [
"Apache-2.0"
] | 2 | 2018-07-21T20:37:34.000Z | 2021-02-01T19:55:01.000Z | /* Copyright 2017 Paolo Galeone <nessuno@nerdz.eu>. 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 ... | 37.8 | 80 | 0.700041 | galeone |
70e5328911d010f88f69a176d26d993df81ff387 | 727 | hpp | C++ | src/light/pointLight.hpp | mfirmin/audio-demo | 767e2fc1b7afb53cd5aafad90ae562661a154373 | [
"MIT"
] | 1 | 2021-09-13T20:22:29.000Z | 2021-09-13T20:22:29.000Z | src/light/pointLight.hpp | mfirmin/audio-demo | 767e2fc1b7afb53cd5aafad90ae562661a154373 | [
"MIT"
] | null | null | null | src/light/pointLight.hpp | mfirmin/audio-demo | 767e2fc1b7afb53cd5aafad90ae562661a154373 | [
"MIT"
] | 1 | 2021-09-13T20:22:31.000Z | 2021-09-13T20:22:31.000Z | #pragma once
#include "light.hpp"
#include <glm/glm.hpp>
class PointLight : public Light {
public:
PointLight(
glm::vec3 position,
glm::vec3 color,
float intensity,
float ambientCoefficient,
float attenuation
);
PointLight(Point... | 22.030303 | 65 | 0.570839 | mfirmin |
70e5f00096b4da76b6cb02fbece33d9223fd8d42 | 2,238 | cpp | C++ | src/ngraph/frontend/onnx_import/op/eye_like.cpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/ngraph/frontend/onnx_import/op/eye_like.cpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/ngraph/frontend/onnx_import/op/eye_like.cpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 35.52381 | 89 | 0.511618 | pqLee |
70ecdb64cd34cc1d408f806680b8114fe30c674d | 7,737 | cpp | C++ | gauss_tools/src/flight_plan_kml_to_json.cpp | hecperleo/gauss | 20ece37af00455ee760dcef1d583300eaa347a1d | [
"MIT"
] | 2 | 2021-06-22T16:53:08.000Z | 2021-11-27T05:06:49.000Z | gauss_tools/src/flight_plan_kml_to_json.cpp | hecperleo/gauss | 20ece37af00455ee760dcef1d583300eaa347a1d | [
"MIT"
] | 1 | 2021-09-10T10:24:20.000Z | 2021-09-10T10:24:20.000Z | gauss_tools/src/flight_plan_kml_to_json.cpp | hecperleo/gauss | 20ece37af00455ee760dcef1d583300eaa347a1d | [
"MIT"
] | 4 | 2021-03-25T12:50:23.000Z | 2022-03-11T11:14:21.000Z | #include <stdio.h>
#include <ros/ros.h>
#include <cstring>
#include <iostream>
#include <fstream>
#include <vector>
#include <jsoncpp/json/json.h>
#include <pugixml.hpp>
#include <GeographicLib/Geocentric.hpp>
#include <GeographicLib/LocalCartesian.hpp>
#define NOMINAL_SPEED 5.0 // meters per second
inline double di... | 36.323944 | 220 | 0.565465 | hecperleo |
70f0b1da76a4055e015d7f1839f07c68fd56af60 | 2,116 | cpp | C++ | src/pola/utils/SharedBuffer.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | src/pola/utils/SharedBuffer.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | src/pola/utils/SharedBuffer.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null |
#include <stdlib.h>
#include <string.h>
#include "pola/utils/SharedBuffer.h"
// ---------------------------------------------------------------------------
namespace pola {
namespace utils {
SharedBuffer* SharedBuffer::alloc(size_t size)
{
SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuff... | 21.373737 | 88 | 0.560019 | lij0511 |
70f22934eafa1cb0c6af3cad35cea723308a3d9c | 3,320 | cpp | C++ | 3rdparty/detours/samples/slept/slept.cpp | wohaaitinciu/zpublic | 0e4896b16e774d2f87e1fa80f1b9c5650b85c57e | [
"Unlicense"
] | 50 | 2015-01-07T01:54:54.000Z | 2021-01-15T00:41:48.000Z | 3rdparty/detours/samples/slept/slept.cpp | lib1256/zpublic | 64c2be9ef1abab878288680bb58122dcc25df81d | [
"Unlicense"
] | 1 | 2015-05-26T07:40:19.000Z | 2015-05-26T07:40:19.000Z | 3rdparty/detours/samples/slept/slept.cpp | lib1256/zpublic | 64c2be9ef1abab878288680bb58122dcc25df81d | [
"Unlicense"
] | 43 | 2015-01-21T02:15:46.000Z | 2022-01-12T20:44:59.000Z | //////////////////////////////////////////////////////////////////////////////
//
// Detour Test Program (slept.cpp of slept.dll)
//
// Microsoft Research Detours Package, Version 3.0.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
#include <stdio.h>
#include <windows.h>
#include "detours.h"
#in... | 25.343511 | 85 | 0.564157 | wohaaitinciu |
70f698ca353208a9e2182bd5e89c1ddb9688de45 | 972 | hpp | C++ | Music/OnMei/a_Body.hpp | p-adic/cpp | 9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c | [
"MIT"
] | 2 | 2020-09-13T07:31:22.000Z | 2022-03-26T08:37:32.000Z | Music/OnMei/a_Body.hpp | p-adic/cpp | 9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c | [
"MIT"
] | null | null | null | Music/OnMei/a_Body.hpp | p-adic/cpp | 9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c | [
"MIT"
] | null | null | null | // c:/Users/user/Documents/Programming/Music/OnMei/a_Body.hpp
#pragma once
#include "a.hpp"
#include "KanOn/a_Body.hpp"
#include "HenKaKiGou/a_Body.hpp"
#include "../../Mathematics/Arithmetic/Mod/a_Body.hpp"
inline OnMei::OnMei( const KanOn& N ) noexcept : OnMei( N , HenKaKiGou( 0 ) ){}
inline OnMei::OnMei... | 48.6 | 139 | 0.687243 | p-adic |
70f835fb933473add54201ba766868762a9f453f | 21,669 | cc | C++ | src/components/security_manager/src/security_manager_impl.cc | shoamano83/sdl_core | ea5960280585d11ee02542b0ab183d4400ed691d | [
"BSD-3-Clause"
] | null | null | null | src/components/security_manager/src/security_manager_impl.cc | shoamano83/sdl_core | ea5960280585d11ee02542b0ab183d4400ed691d | [
"BSD-3-Clause"
] | null | null | null | src/components/security_manager/src/security_manager_impl.cc | shoamano83/sdl_core | ea5960280585d11ee02542b0ab183d4400ed691d | [
"BSD-3-Clause"
] | 1 | 2020-04-22T07:17:49.000Z | 2020-04-22T07:17:49.000Z | /*
* Copyright (c) 2018, Ford Motor Company
* 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 condit... | 36.296482 | 80 | 0.698417 | shoamano83 |
70f86df5648300ef8db133d343a28ab064e59d2e | 319 | cc | C++ | lib/AST/InputPort.cc | rawatamit/scheme | 2c5e121fa873a2fb7762b69027480e28686bbb87 | [
"MIT"
] | null | null | null | lib/AST/InputPort.cc | rawatamit/scheme | 2c5e121fa873a2fb7762b69027480e28686bbb87 | [
"MIT"
] | null | null | null | lib/AST/InputPort.cc | rawatamit/scheme | 2c5e121fa873a2fb7762b69027480e28686bbb87 | [
"MIT"
] | null | null | null | #include "AST/InputPort.h"
Scheme::InputPort::InputPort(FILE* in) :
Scheme::SchemeObject(Scheme::SchemeObject::INPUT_PORT_TY), in_(in)
{}
Scheme::InputPort::~InputPort()
{}
FILE* Scheme::InputPort::getInputStream() const {
return in_;
}
int Scheme::InputPort::closeInputStream() {
return fclose(in_);
}
| 18.764706 | 70 | 0.702194 | rawatamit |
70f90d0fba9d5b84f55cf5f7eb9e017789c2cffc | 434 | cpp | C++ | main.cpp | tomasruizr/cpp-devcontainer | 027db80ca670a72cb8d46a54446fadbb14b80897 | [
"MIT"
] | null | null | null | main.cpp | tomasruizr/cpp-devcontainer | 027db80ca670a72cb8d46a54446fadbb14b80897 | [
"MIT"
] | null | null | null | main.cpp | tomasruizr/cpp-devcontainer | 027db80ca670a72cb8d46a54446fadbb14b80897 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "threadpool/threadpool.h"
using namespace std;
int multiply(int x, int y) {
return x * y;
}
int main() {
thread_pool pool(4);
std::vector<std::future<int>> futures;
for (const int &x : { 2, 4, 7, 13 }) {
futures.push_back(pool.execute(multiply, ... | 18.083333 | 56 | 0.573733 | tomasruizr |
70fb1484d7429403d5cbd72605db295d1e6b239e | 1,874 | hpp | C++ | src/Onsang/App.hpp | komiga/Onsang | 63169d822c23b61fa2537b8f66bb224d974072e7 | [
"MIT"
] | null | null | null | src/Onsang/App.hpp | komiga/Onsang | 63169d822c23b61fa2537b8f66bb224d974072e7 | [
"MIT"
] | null | null | null | src/Onsang/App.hpp | komiga/Onsang | 63169d822c23b61fa2537b8f66bb224d974072e7 | [
"MIT"
] | null | null | null | /**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
@file
@brief App class.
*/
#pragma once
#include <Onsang/config.hpp>
#include <Onsang/aux.hpp>
#include <Onsang/String.hpp>
#include <Onsang/ConfigNode.hpp>
#include <Onsang/System/Session.hpp>
#include <Onsang/System/SessionManager.hpp>
#i... | 15.616667 | 72 | 0.700107 | komiga |
cb03a98ef643c1ccc5782bbd14ce6831312fb2b0 | 513 | hpp | C++ | include/zisa/mpi/parallelization/mpi_all_variables_gatherer.hpp | 1uc/ZisaFVM | 75fcedb3bece66499e011228a39d8a364b50fd74 | [
"MIT"
] | null | null | null | include/zisa/mpi/parallelization/mpi_all_variables_gatherer.hpp | 1uc/ZisaFVM | 75fcedb3bece66499e011228a39d8a364b50fd74 | [
"MIT"
] | null | null | null | include/zisa/mpi/parallelization/mpi_all_variables_gatherer.hpp | 1uc/ZisaFVM | 75fcedb3bece66499e011228a39d8a364b50fd74 | [
"MIT"
] | 1 | 2021-08-24T11:52:51.000Z | 2021-08-24T11:52:51.000Z | // SPDX-License-Identifier: MIT
// Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval
#ifndef ZISA_MPI_ALL_VARIABLES_GATHERER_HPP
#define ZISA_MPI_ALL_VARIABLES_GATHERER_HPP
#include <zisa/memory/array.hpp>
#include <zisa/mpi/mpi.hpp>
#include <zisa/parallelization/all_variables_gatherer.hpp>
namespace zisa {
std:... | 27 | 75 | 0.807018 | 1uc |
cb06df6c590e750b77ab5f6b0f0bf92a1cb31998 | 2,366 | cpp | C++ | Samples/Client/DirectxWin32/src/data_channel_handler.cpp | rozele/3dtoolkit | a15fca73be15f96a165dd18e62180de693a5ab86 | [
"MIT"
] | null | null | null | Samples/Client/DirectxWin32/src/data_channel_handler.cpp | rozele/3dtoolkit | a15fca73be15f96a165dd18e62180de693a5ab86 | [
"MIT"
] | null | null | null | Samples/Client/DirectxWin32/src/data_channel_handler.cpp | rozele/3dtoolkit | a15fca73be15f96a165dd18e62180de693a5ab86 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "data_channel_handler.h"
#include "webrtc/base/json.h"
// Data channel message types.
const char kStereoRenderingType[] = "stereo-rendering";
const char kCameraTransformLookAtMsgType[] = "camera-transform-lookat";
const char kCameraTransformMsgType[] = "camera-transform";
const char kKe... | 28.506024 | 84 | 0.756551 | rozele |
cb0b687b7a0d9262b2fd1fd594d4e3dd67849df3 | 4,604 | cpp | C++ | src/OpenGL/GDI_GLES2.cpp | GrimshawA/RenderX | 6edbd3be2fcf5ad1b684d87bae0aca898af1a90e | [
"MIT"
] | 1 | 2021-09-14T00:09:43.000Z | 2021-09-14T00:09:43.000Z | src/OpenGL/GDI_GLES2.cpp | GrimshawA/RenderX | 6edbd3be2fcf5ad1b684d87bae0aca898af1a90e | [
"MIT"
] | null | null | null | src/OpenGL/GDI_GLES2.cpp | GrimshawA/RenderX | 6edbd3be2fcf5ad1b684d87bae0aca898af1a90e | [
"MIT"
] | 1 | 2021-09-14T00:09:44.000Z | 2021-09-14T00:09:44.000Z | //#include <Nephilim/GDI/GL/GDI_GLES2.h>
//#include <Nephilim/GDI/GL/GLHelpers.h>
//#include <Nephilim/Foundation/Matrix.h>
//#include <Nephilim/Foundation/Logging.h>
//#include <Nephilim/Graphics/Window.h>
//#include <iostream>
//using namespace std;
//NEPHILIM_NS_BEGIN
//static const char gVertexSource[] =
// "att... | 29.139241 | 97 | 0.705474 | GrimshawA |
cb0c607ddf07e2062edcc2aef48aa6e36b4ddbac | 16,447 | cc | C++ | c++/examples/lms/lms_config/src/main.cc | AtlasBuggy/sicktoolbox-fork | 576f02ade4ec52c12887d6489e5219b90e33e833 | [
"BSD-3-Clause"
] | null | null | null | c++/examples/lms/lms_config/src/main.cc | AtlasBuggy/sicktoolbox-fork | 576f02ade4ec52c12887d6489e5219b90e33e833 | [
"BSD-3-Clause"
] | null | null | null | c++/examples/lms/lms_config/src/main.cc | AtlasBuggy/sicktoolbox-fork | 576f02ade4ec52c12887d6489e5219b90e33e833 | [
"BSD-3-Clause"
] | null | null | null | /*!
* \file main.cc
* \brief A simple config utility for Sick LMS 2xx LIDARs.
*
* Code by Jason C. Derenick and Thomas H. Miller.
* Contact derenick(at)lehigh(dot)edu
*
* The Sick LIDAR Matlab/C++ Toolbox
* Copyright (c) 2008, Jason C. Derenick and Thomas H. Miller
* All rights reserved.
*
* This software is... | 26.23126 | 174 | 0.625768 | AtlasBuggy |
cb0d9a2160fd304759a040c8fbe794f64547b121 | 5,753 | cpp | C++ | src/multigrid/mgbval_zerograd.cpp | kahoooo/athena-public | 583aee106677cba7fa5ea4e3689e2cfb81796e25 | [
"BSD-3-Clause"
] | 174 | 2016-11-30T01:20:14.000Z | 2022-02-22T16:23:55.000Z | src/multigrid/mgbval_zerograd.cpp | kahoooo/athena-public | 583aee106677cba7fa5ea4e3689e2cfb81796e25 | [
"BSD-3-Clause"
] | 74 | 2017-01-30T22:37:33.000Z | 2021-05-10T17:20:33.000Z | src/multigrid/mgbval_zerograd.cpp | kahoooo/athena-public | 583aee106677cba7fa5ea4e3689e2cfb81796e25 | [
"BSD-3-Clause"
] | 126 | 2016-12-08T14:03:22.000Z | 2022-03-31T06:01:59.000Z | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 39.951389 | 90 | 0.460629 | kahoooo |
cb10682ef97760c8ecc859f8d796327d03b628e3 | 16,097 | cpp | C++ | tests/src/runtimeApi/memory/hipMallocManaged_MultiScenario.cpp | parmance/HIP | 96ee9d1397f02ac4b4badd9243994728f6a89fe5 | [
"MIT"
] | 1,935 | 2017-05-28T04:52:18.000Z | 2022-03-30T23:50:43.000Z | tests/src/runtimeApi/memory/hipMallocManaged_MultiScenario.cpp | parmance/HIP | 96ee9d1397f02ac4b4badd9243994728f6a89fe5 | [
"MIT"
] | 1,310 | 2017-05-30T22:16:09.000Z | 2022-03-31T08:25:58.000Z | tests/src/runtimeApi/memory/hipMallocManaged_MultiScenario.cpp | parmance/HIP | 96ee9d1397f02ac4b4badd9243994728f6a89fe5 | [
"MIT"
] | 495 | 2017-06-01T01:26:27.000Z | 2022-03-28T16:36:51.000Z | /*
Copyright (c) 2020 - 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, c... | 34.69181 | 115 | 0.65478 | parmance |
cb13ab58639a1ba7d858305a3bd9dd9b84965a03 | 42,964 | cpp | C++ | src/strategy/Kidsize_HuroCup/loadparameter.cpp | TKUICLab-humanoid/BB | badb9d2669c4f0dca64c221761c11ea2d56e7412 | [
"MIT"
] | null | null | null | src/strategy/Kidsize_HuroCup/loadparameter.cpp | TKUICLab-humanoid/BB | badb9d2669c4f0dca64c221761c11ea2d56e7412 | [
"MIT"
] | null | null | null | src/strategy/Kidsize_HuroCup/loadparameter.cpp | TKUICLab-humanoid/BB | badb9d2669c4f0dca64c221761c11ea2d56e7412 | [
"MIT"
] | 6 | 2020-09-15T14:13:54.000Z | 2021-01-14T06:45:39.000Z | #include "strategy/loadparameter.h"
LoadParameter *Load = new LoadParameter();
float LoadParameter::readvalue(fstream &fin, string title, int mode)
{
char line[100];
char equal;
switch(mode)
{
case 0:
while(1)
{
fin.getline(line,sizeof(line),' ');
... | 72.574324 | 156 | 0.714156 | TKUICLab-humanoid |
cb144a20723458bdeb8057ebbe6c45f5c2319c66 | 2,174 | hpp | C++ | include/memoria/reactor/process.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2021-07-30T16:54:24.000Z | 2021-09-08T15:48:17.000Z | include/memoria/reactor/process.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | null | null | null | include/memoria/reactor/process.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2020-03-14T15:15:25.000Z | 2020-06-15T11:26:56.000Z |
// Copyright 2018 Victor Smirnov
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 24.155556 | 75 | 0.75115 | victor-smirnov |
0e13ffc77544965aa1510564ac983d63d862bcd9 | 944 | cpp | C++ | framework/pixel.cpp | PeteTheN00b/programmiersprachen-raytracer | a2af1c30d5a7be24232e94f7dea834cd6daa3ca4 | [
"MIT"
] | null | null | null | framework/pixel.cpp | PeteTheN00b/programmiersprachen-raytracer | a2af1c30d5a7be24232e94f7dea834cd6daa3ca4 | [
"MIT"
] | null | null | null | framework/pixel.cpp | PeteTheN00b/programmiersprachen-raytracer | a2af1c30d5a7be24232e94f7dea834cd6daa3ca4 | [
"MIT"
] | null | null | null | // -----------------------------------------------------------------------------
// Copyright : (C) 2014-2017 Andre Schollmeyer and Andreas-C. Bernstein
// License : MIT (see the file LICENSE)
// Maintainer : Andreas-C. Bernstein <andreas.bernstein@uni-weimar.de>
// Stability : experimental
//
// Pixel
// --------... | 23.02439 | 80 | 0.474576 | PeteTheN00b |
0e1c5de844dc49926ed705224d04ea4fc7d2f523 | 22,156 | cpp | C++ | lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp | mwachs5/circt | bd7edb5c449921cb36939ebb5943e4fe73f72899 | [
"Apache-2.0"
] | null | null | null | lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp | mwachs5/circt | bd7edb5c449921cb36939ebb5943e4fe73f72899 | [
"Apache-2.0"
] | null | null | null | lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp | mwachs5/circt | bd7edb5c449921cb36939ebb5943e4fe73f72899 | [
"Apache-2.0"
] | null | null | null | //===- GrandCentral.cpp - Ingest black box sources --------------*- C++ -*-===//
//
// 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
//===------------------------------... | 38.734266 | 80 | 0.653232 | mwachs5 |
0e1f60c976cdc262e0ff5d5281150931fb5722b8 | 1,019 | hh | C++ | include/mithril/handler/message_to_message_decoder.hh | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | 1 | 2021-08-01T16:31:11.000Z | 2021-08-01T16:31:11.000Z | include/mithril/handler/message_to_message_decoder.hh | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | null | null | null | include/mithril/handler/message_to_message_decoder.hh | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | null | null | null | //
// Created by ssheikh on 2021-03-03.
//
#ifndef MITHRIL_INCLUDE_MITHRIL_HANDLER_MESSAGE_TO_MESSAGE_DECODER_HH
#define MITHRIL_INCLUDE_MITHRIL_HANDLER_MESSAGE_TO_MESSAGE_DECODER_HH
#include <mithril/channel/channel_inbound_handler.hh>
#include <mithril/message.hh>
#include <mithril/buffer/composite_buffer.hh>
#inc... | 24.853659 | 97 | 0.737978 | salahsheikh |
0e22fb6281a354efcbaf1d036a83bcffeccb0b89 | 3,447 | hpp | C++ | include/fogl/program.hpp | glasmachers/foglpp | 9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888 | [
"MIT"
] | null | null | null | include/fogl/program.hpp | glasmachers/foglpp | 9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888 | [
"MIT"
] | null | null | null | include/fogl/program.hpp | glasmachers/foglpp | 9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888 | [
"MIT"
] | null | null | null | #pragma once
#include <fogl/shader.hpp>
#include <fogl/cref.hpp>
#include <fogl/obj.hpp>
#include <fogl/flags.hpp>
#include <fogl/check.hpp>
#include <fogl/error.hpp>
#include <fogl/exception.hpp>
#include <fogl/gl.hpp>
#include <cassert>
namespace fogl {
/// C++ wrapper of a reference to a constant opengl progra... | 27.141732 | 90 | 0.608645 | glasmachers |
0e25671c58a119dc8069868021fbb21b10ccb57d | 7,233 | hpp | C++ | common/unified/base/kernel_launch.hpp | gfcas/ginkgo | b4fc0c7d8c7e667ea93bae4e3a6791fcdad53485 | [
"BSD-3-Clause"
] | null | null | null | common/unified/base/kernel_launch.hpp | gfcas/ginkgo | b4fc0c7d8c7e667ea93bae4e3a6791fcdad53485 | [
"BSD-3-Clause"
] | 14 | 2020-11-20T09:32:28.000Z | 2021-11-28T09:36:34.000Z | common/unified/base/kernel_launch.hpp | gfcas/ginkgo | b4fc0c7d8c7e667ea93bae4e3a6791fcdad53485 | [
"BSD-3-Clause"
] | 2 | 2020-11-20T09:28:48.000Z | 2020-11-20T13:26:38.000Z | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2021, the Ginkgo authors
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 co... | 25.558304 | 80 | 0.726116 | gfcas |
0e2573f50c66d02838b4ac091bc6334db7904115 | 19,636 | cpp | C++ | AQI_Detector/AQI_display.cpp | blinker-iot/Blinker_PRO_AQI_Detector | a5bf358de2be6c6efbe8d6d1e2ce354a7fab38fa | [
"MIT"
] | 9 | 2018-07-15T10:00:09.000Z | 2021-02-27T09:45:22.000Z | AQI_Detector/AQI_display.cpp | blinker-iot/Blinker_PRO_AQI_Detector | a5bf358de2be6c6efbe8d6d1e2ce354a7fab38fa | [
"MIT"
] | null | null | null | AQI_Detector/AQI_display.cpp | blinker-iot/Blinker_PRO_AQI_Detector | a5bf358de2be6c6efbe8d6d1e2ce354a7fab38fa | [
"MIT"
] | null | null | null | #include "AQI_display.h"
#include "AQI_font.h"
// #include <ESP8266WiFi.h>
#include <Ticker.h>
// U8g2lib, https://github.com/olikraus/U8g2_Arduino
// Release version 2.24.3
#include <U8g2lib.h>
#ifdef U8X8_HAVE_HW_I2C
#include <Wire.h>
#endif
// U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, /*res... | 29.751515 | 127 | 0.517824 | blinker-iot |
0e3297db0d0c889e85707edfce20f49497c323fa | 2,587 | hpp | C++ | Siv3D/src/Siv3D/Texture/GL/CTexture_GL.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/Texture/GL/CTexture_GL.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/Texture/GL/CTexture_GL.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | 1 | 2019-10-06T17:09:26.000Z | 2019-10-06T17:09:26.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2018 Ryo Suzuki
// Copyright (c) 2016-2018 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D/Platform.hpp>
# ... | 22.692982 | 127 | 0.689988 | Fuyutsubaki |
0e365245a32f2614518c3ad19d2db8ced87bc859 | 2,597 | hpp | C++ | ChaosGL/tbasis3.hpp | chaosarts/ChaosGL.cpp | 7d851a404824609547fb9261790b87cee7699d5c | [
"Apache-2.0"
] | null | null | null | ChaosGL/tbasis3.hpp | chaosarts/ChaosGL.cpp | 7d851a404824609547fb9261790b87cee7699d5c | [
"Apache-2.0"
] | null | null | null | ChaosGL/tbasis3.hpp | chaosarts/ChaosGL.cpp | 7d851a404824609547fb9261790b87cee7699d5c | [
"Apache-2.0"
] | null | null | null | //
// tbn.hpp
// ChaosGL
//
// Created by Fu Lam Diep on 14.04.16.
// Copyright © 2016 Fu Lam Diep. All rights reserved.
//
#ifndef ChaosGL_tbasis3_hpp
#define ChaosGL_tbasis3_hpp
#include "triangle.hpp"
#include <glm/glm.hpp>
namespace chaosgl
{
template<typename T, glm::precision P = glm::defaultp>
struct tb... | 22.008475 | 88 | 0.593762 | chaosarts |
0e36765e9a2973bb629ab7fd43ea855f23baa8ed | 1,037 | cpp | C++ | LeetCode/ThousandOne/0820-short_encoding_of_words.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0820-short_encoding_of_words.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0820-short_encoding_of_words.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | #include "leetcode.hpp"
/* 820. 单词的压缩编码
给定一个单词列表,我们将这个列表编码成一个索引字符串 S 与一个索引列表 A。
例如,如果这个列表是 ["time", "me", "bell"],我们就可以将其表示为 S = "time#bell#" 和 indexes = [0, 2, 5]。
对于每一个索引,我们可以通过从字符串 S 中索引的位置开始读取字符串,直到 "#" 结束,来恢复我们之前的单词列表。
那么成功对给定单词列表进行编码的最小字符串长度是多少呢?
示例:
输入: words = ["time", "me", "bell"]
输出: 10
说明: S = "time#... | 19.203704 | 84 | 0.594021 | Ginkgo-Biloba |
0e38459aee89332e39684bf317e40b2989f11c83 | 610 | hxx | C++ | include/nifty/python/graph/undirected_list_graph.hxx | konopczynski/nifty | dc02ac60febaabfaf9b2ee5a854bb61436ebdc97 | [
"MIT"
] | 38 | 2016-06-29T07:42:50.000Z | 2021-12-09T09:25:25.000Z | include/nifty/python/graph/undirected_list_graph.hxx | tbullmann/nifty | 00119fd4753817b931272d6d3120b6ebd334882a | [
"MIT"
] | 62 | 2016-07-27T16:07:53.000Z | 2022-03-30T17:24:36.000Z | include/nifty/python/graph/undirected_list_graph.hxx | tbullmann/nifty | 00119fd4753817b931272d6d3120b6ebd334882a | [
"MIT"
] | 20 | 2016-01-25T21:21:52.000Z | 2021-12-09T09:25:16.000Z | #pragma once
#include <string>
#include "nifty/python/graph/graph_name.hxx"
#include "nifty/graph/undirected_list_graph.hxx"
namespace nifty{
namespace graph{
typedef UndirectedGraph<> PyUndirectedGraph;
template<>
struct GraphName<PyUndirectedGraph>{
static std::string name(){
ret... | 19.0625 | 50 | 0.590164 | konopczynski |
0e47f8ab2845a1978a682527041ca874f0c4bfc7 | 3,707 | cpp | C++ | DriverLoader/ProppageNT.cpp | JokerRound/DriverLoader | df5371ecbada19fa7beef1a0baf86e756af6da07 | [
"MIT"
] | 1 | 2020-01-31T00:34:16.000Z | 2020-01-31T00:34:16.000Z | DriverLoader/ProppageNT.cpp | c3358/DriverLoader | df5371ecbada19fa7beef1a0baf86e756af6da07 | [
"MIT"
] | null | null | null | DriverLoader/ProppageNT.cpp | c3358/DriverLoader | df5371ecbada19fa7beef1a0baf86e756af6da07 | [
"MIT"
] | 3 | 2019-02-18T01:55:44.000Z | 2022-02-08T09:08:07.000Z | //******************************************************************************
// License: MIT
// Author: Hoffman
// GitHub: https://github.com/JokerRound
// Create Time: 2019-01-24
// Description:
// The achieve file of class CProppageNT.
//
// Modify Log:
// 2019-01-26 Hoffman
// I... | 30.138211 | 81 | 0.590504 | JokerRound |
0e482650abd34567cc23ab4b8f3368365920a209 | 7,841 | cpp | C++ | src/cmn/typeVisitor.cpp | cwood77/shtanky | 6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8 | [
"MIT"
] | null | null | null | src/cmn/typeVisitor.cpp | cwood77/shtanky | 6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8 | [
"MIT"
] | null | null | null | src/cmn/typeVisitor.cpp | cwood77/shtanky | 6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8 | [
"MIT"
] | null | null | null | #include "type.hpp"
#include "typeVisitor.hpp"
namespace cmn {
// here, you are guaranteed to get a stub (userTypeVisitor hasn't run yet)
// that allows transforms later to demand a type
void builtInTypeVisitor::visit(classNode& n)
{
m_pBuilder.reset(
type::typeBuilder::open(
type::gTable->fetch(
... | 27.903915 | 92 | 0.695702 | cwood77 |
0e4a20a0a312ecfabda2f1d7cf15f0ce94c3f0fe | 2,141 | hpp | C++ | src/kernel/driver/usb/xhci/device.hpp | KCCTdensan/ddOS | f57cce5ba79afdfaafe7bbf36052196d1eebfaa0 | [
"0BSD"
] | null | null | null | src/kernel/driver/usb/xhci/device.hpp | KCCTdensan/ddOS | f57cce5ba79afdfaafe7bbf36052196d1eebfaa0 | [
"0BSD"
] | null | null | null | src/kernel/driver/usb/xhci/device.hpp | KCCTdensan/ddOS | f57cce5ba79afdfaafe7bbf36052196d1eebfaa0 | [
"0BSD"
] | null | null | null | /**
* @file usb/xhci/device.hpp
*
* USB デバイスを表すクラスと関連機能.
*/
#pragma once
#include <cstddef>
#include <cstdint>
#include "error.hpp"
#include "../device.hpp"
#include "../arraymap.hpp"
#include "context.hpp"
#include "trb.hpp"
#include "registers.hpp"
namespace usb::xhci {
class Device : public usb::Device {
... | 24.329545 | 77 | 0.676319 | KCCTdensan |
0e4ba32acfbde327ce8af1c810645e6c7241d0c6 | 14,104 | hpp | C++ | oss_src/unity/lib/unity_sgraph.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/unity/lib/unity_sgraph.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/unity/lib/unity_sgraph.hpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef GRAPHLAB_UNITY_SGRAPH_HPP
#define GRAPHLAB_UNITY_SGRAPH_HPP
#include <unity/lib/api/unity_graph_interface.hpp>
#include <u... | 37.510638 | 124 | 0.626773 | parquette |
0e5570e1edac6d166e0bea37108587f365c4fd71 | 1,835 | cpp | C++ | cpp/863. All Nodes Distance K in Binary Tree.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | 3 | 2021-08-07T07:01:34.000Z | 2021-08-07T07:03:02.000Z | cpp/863. All Nodes Distance K in Binary Tree.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | null | null | null | cpp/863. All Nodes Distance K in Binary Tree.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/
// We are given a binary tree (with root node root), a target node, and an integer
// value k.
// Return a list of the values of all nodes that have a distance k from the target
// node. The answer can be returned in any order.
//////////////////... | 32.192982 | 82 | 0.514986 | longwangjhu |
0e5615a9858f7786d9f22ab46266a3a7f72ca1da | 20,052 | cpp | C++ | PS4Engine/PS4Engine/api_gnm/stencil-sample/stencil-sample.cpp | Enderderder/SonyEngine | ee8b3726d293c667d2e2a849808b993e954b84c7 | [
"MIT"
] | 2 | 2020-02-22T01:27:28.000Z | 2021-12-20T08:41:43.000Z | PS4Engine/PS4Engine/api_gnm/stencil-sample/stencil-sample.cpp | Enderderder/SonyEngine | ee8b3726d293c667d2e2a849808b993e954b84c7 | [
"MIT"
] | null | null | null | PS4Engine/PS4Engine/api_gnm/stencil-sample/stencil-sample.cpp | Enderderder/SonyEngine | ee8b3726d293c667d2e2a849808b993e954b84c7 | [
"MIT"
] | 2 | 2019-09-17T19:54:00.000Z | 2020-03-06T15:08:52.000Z | /* SIE CONFIDENTIAL
PlayStation(R)4 Programmer Tool Runtime Library Release 05.008.001
* Copyright (C) 2016 Sony Interactive Entertainment Inc.
* All Rights Reserved.
*/
#include "../framework/sample_framework.h"
#include "../framework/simple_mesh.h"
#include "../framework/gnf_loader.h"
#include "../framework/frame.h... | 47.181176 | 296 | 0.756882 | Enderderder |
0e573113506ec9fde4d1a475838a9315be2bba03 | 754 | hpp | C++ | Accolade/src/Screens/RoomSelectorScreen.hpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | Accolade/src/Screens/RoomSelectorScreen.hpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | Accolade/src/Screens/RoomSelectorScreen.hpp | Tackwin/BossRoom | ecad5853e591b9edc54e75448547e20e14964f72 | [
"MIT"
] | null | null | null | #pragma once
#include "Screen.hpp"
#include <SFML/Graphics.hpp>
#include "./../Common.hpp"
#include "./../3rd/json.hpp"
class RoomSelectorScreen : public Screen {
public: //TODO:Make this private
sf::Text _roomNumberText;
sf::Text _infoText;
sf::Text _triesInfoText;
sf::RectangleShape _bossArtworkSprite;
s... | 20.378378 | 71 | 0.737401 | Tackwin |
0e594ad9d66ed63d91ced7ebaedab58028bf3b67 | 26,615 | cpp | C++ | hphp/runtime/vm/jit/tc-internal.cpp | divinity76/hhvm | cfde9bb3d7d49740d0ca0228e2d714637b155a13 | [
"PHP-3.01",
"Zend-2.0"
] | 9,491 | 2015-01-01T00:30:28.000Z | 2022-03-31T20:22:11.000Z | hphp/runtime/vm/jit/tc-internal.cpp | divinity76/hhvm | cfde9bb3d7d49740d0ca0228e2d714637b155a13 | [
"PHP-3.01",
"Zend-2.0"
] | 4,796 | 2015-01-01T00:26:31.000Z | 2022-03-31T01:09:05.000Z | hphp/runtime/vm/jit/tc-internal.cpp | divinity76/hhvm | cfde9bb3d7d49740d0ca0228e2d714637b155a13 | [
"PHP-3.01",
"Zend-2.0"
] | 2,126 | 2015-01-01T11:13:29.000Z | 2022-03-28T19:58:15.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 33.477987 | 81 | 0.646215 | divinity76 |
0e5a9f9bc45f062f0be08f0a18a12e67bb72ddce | 266 | cpp | C++ | tests/ValidPalindromeTest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | tests/ValidPalindromeTest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | tests/ValidPalindromeTest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #include "catch.hpp"
#include "ValidPalindrome.hpp"
TEST_CASE("Valid Palindrome") {
ValidPalindrome s;
SECTION("Sample test") {
REQUIRE(s.isPalindrome("A man, a plan, a canal: Panama"));
REQUIRE_FALSE(s.isPalindrome("race a car"));
}
}
| 22.166667 | 66 | 0.646617 | yanzhe-chen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.