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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
812cb06744f58f5bbaa18a6df210a1cceed76b0a | 1,740 | cpp | C++ | lib/Support/Semaphore.cpp | exced/hermes | c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6 | [
"MIT"
] | 7,470 | 2019-07-11T15:56:58.000Z | 2022-03-31T08:39:29.000Z | lib/Support/Semaphore.cpp | exced/hermes | c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6 | [
"MIT"
] | 671 | 2019-07-11T16:18:21.000Z | 2022-03-31T23:53:08.000Z | lib/Support/Semaphore.cpp | exced/hermes | c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6 | [
"MIT"
] | 453 | 2019-07-11T16:02:50.000Z | 2022-03-31T18:51:37.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// The only user of Semaphore.h is SamplingProfiler, which is stubbed out
// in Windows. As a result, it is unnecessary to implemen... | 20 | 80 | 0.65977 | exced |
812d52b862ad3945413443e7fbfb225bb6fd80b5 | 4,309 | cpp | C++ | edhclient_socket.cpp | eDrillingSolutions/libedhclient-qt | be0298cb95017783bff842fc2e3a6c34668a4cda | [
"MIT"
] | 1 | 2020-06-29T20:49:05.000Z | 2020-06-29T20:49:05.000Z | edhclient_socket.cpp | eDrillingSolutions/libedhclient-qt | be0298cb95017783bff842fc2e3a6c34668a4cda | [
"MIT"
] | null | null | null | edhclient_socket.cpp | eDrillingSolutions/libedhclient-qt | be0298cb95017783bff842fc2e3a6c34668a4cda | [
"MIT"
] | 1 | 2018-11-07T07:38:53.000Z | 2018-11-07T07:38:53.000Z | #include "edhclient_socket.h"
#include "edhclient_private.h"
#include <iostream>
#include <QFile>
#include <QtNetwork/QTcpSocket>
#include <QtNetwork/QSslSocket>
#include <QtNetwork/QSslConfiguration>
using namespace eDrillingHub;
static const QString message_end_marker = QString("\r\n");
SocketClient::SocketClie... | 31.918519 | 156 | 0.644929 | eDrillingSolutions |
812eee6223233a84785d602a0ce006941866fefd | 13,562 | cpp | C++ | clients/cpp-restsdk/generated/model/BundleData.cpp | shinesolutions/swagger-aem | b41f1ae3d23917de38ca5cf116cbcc173368d1e8 | [
"Apache-2.0"
] | 39 | 2016-10-02T06:45:12.000Z | 2021-09-08T20:39:53.000Z | clients/cpp-restsdk/generated/model/BundleData.cpp | shinesolutions/swagger-aem | b41f1ae3d23917de38ca5cf116cbcc173368d1e8 | [
"Apache-2.0"
] | 35 | 2016-11-02T05:06:34.000Z | 2021-09-03T06:03:08.000Z | clients/cpp-restsdk/generated/model/BundleData.cpp | shinesolutions/swagger-aem | b41f1ae3d23917de38ca5cf116cbcc173368d1e8 | [
"Apache-2.0"
] | 23 | 2016-11-07T04:14:42.000Z | 2021-02-15T09:49:13.000Z | /**
* Adobe Experience Manager (AEM) API
* Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
*
* The version of the OpenAPI document: 3.5.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 5.2.1.
* https://openapi-generator.t... | 27.453441 | 137 | 0.662439 | shinesolutions |
812f95259899a991724823b48ef54dc79cb85956 | 3,634 | hpp | C++ | src/modules/ROOTObjectWriter/ROOTObjectWriterModule.hpp | nashadroid/allpix-squared | ae3c9b35241b7d301866e1a602443a436bdfb35f | [
"MIT"
] | null | null | null | src/modules/ROOTObjectWriter/ROOTObjectWriterModule.hpp | nashadroid/allpix-squared | ae3c9b35241b7d301866e1a602443a436bdfb35f | [
"MIT"
] | null | null | null | src/modules/ROOTObjectWriter/ROOTObjectWriterModule.hpp | nashadroid/allpix-squared | ae3c9b35241b7d301866e1a602443a436bdfb35f | [
"MIT"
] | null | null | null | /**
* @file
* @brief Definition of ROOT data file writer module
* @copyright Copyright (c) 2017-2019 CERN and the Allpix Squared authors.
* This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
* In applying this license, CERN does not waive the privileges and i... | 39.075269 | 124 | 0.670061 | nashadroid |
8130572c9cbc1087461020fa61ce7dedae42644c | 926 | hpp | C++ | src/config/config.hpp | Milerius/komodo-playground | 47ca1bb09f0747d46ec2e8c0aaf685823dcfa5db | [
"MIT"
] | null | null | null | src/config/config.hpp | Milerius/komodo-playground | 47ca1bb09f0747d46ec2e8c0aaf685823dcfa5db | [
"MIT"
] | 5 | 2019-06-16T18:56:52.000Z | 2019-06-18T20:59:02.000Z | src/config/config.hpp | Milerius/komodo-playground | 47ca1bb09f0747d46ec2e8c0aaf685823dcfa5db | [
"MIT"
] | null | null | null | //
// Created by sztergbaum roman on 2019-06-16.
//
#pragma once
#include <fstream>
#include <filesystem>
#include <string>
#include <nlohmann/json.hpp>
namespace komodo
{
struct rpc_config
{
bool operator==(const rpc_config &rhs) const
{
return ip_address == rhs.ip_address &&
... | 23.74359 | 126 | 0.590713 | Milerius |
8130e497664b1865aa30a860e12e720e66e86990 | 3,034 | cc | C++ | src/CBLEncryptable_CAPI.cc | blaugold/couchbase-lite-C | 08d30377087bda06ed806bda4a5ff28182e0f472 | [
"Apache-2.0"
] | 66 | 2019-05-02T12:03:19.000Z | 2021-06-28T21:16:32.000Z | src/CBLEncryptable_CAPI.cc | blaugold/couchbase-lite-C | 08d30377087bda06ed806bda4a5ff28182e0f472 | [
"Apache-2.0"
] | 97 | 2019-05-28T15:46:00.000Z | 2021-07-03T18:47:52.000Z | src/CBLEncryptable_CAPI.cc | blaugold/couchbase-lite-C | 08d30377087bda06ed806bda4a5ff28182e0f472 | [
"Apache-2.0"
] | 28 | 2019-05-07T21:57:36.000Z | 2021-06-24T11:09:38.000Z | //
// CBLEncryptable_CAPI.cc
//
// Copyright © 2021 Couchbase. 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
//
// ... | 32.623656 | 94 | 0.785432 | blaugold |
813160615e18a2588084a932ce1f751fb6d508ff | 194 | cpp | C++ | src/tabdraw/TabDraw.cpp | gongjianbo/EasyQPainter | a5b90f6c8b3427024b591a3e893162b57a928011 | [
"MIT"
] | 106 | 2020-05-16T03:10:16.000Z | 2022-03-26T12:15:37.000Z | src/tabdraw/TabDraw.cpp | gongjianbo/EasyQPainter | a5b90f6c8b3427024b591a3e893162b57a928011 | [
"MIT"
] | null | null | null | src/tabdraw/TabDraw.cpp | gongjianbo/EasyQPainter | a5b90f6c8b3427024b591a3e893162b57a928011 | [
"MIT"
] | 30 | 2020-06-05T08:54:34.000Z | 2022-03-26T12:15:27.000Z | #include "TabDraw.h"
#include "ui_TabDraw.h"
TabDraw::TabDraw(QWidget *parent) :
QWidget(parent),
ui(new Ui::TabDraw)
{
ui->setupUi(this);
}
TabDraw::~TabDraw()
{
delete ui;
}
| 12.933333 | 35 | 0.628866 | gongjianbo |
8133903abdf1bf9812ce119ff4c21f2d029daa51 | 827 | cpp | C++ | demo_1/demo_guess.cpp | yangy30685/cpp | dd0bb258ea5a6d02a8bc9947d2498e7b36b7e2c4 | [
"MIT"
] | null | null | null | demo_1/demo_guess.cpp | yangy30685/cpp | dd0bb258ea5a6d02a8bc9947d2498e7b36b7e2c4 | [
"MIT"
] | null | null | null | demo_1/demo_guess.cpp | yangy30685/cpp | dd0bb258ea5a6d02a8bc9947d2498e7b36b7e2c4 | [
"MIT"
] | null | null | null | #include <ctime>
#include <iostream>
#include <string>
int main(int argc, char const *argv[])
{
srand(time(NULL));
int secret_number = std::rand() % 11;
int guess = 0;
std::string str_1;
std::string quit = "q";
while(true)
{
std::cout << "guess a number :\n";
std::cin... | 22.351351 | 61 | 0.503023 | yangy30685 |
8133b05db27f2ae07ba369c3a031f7a17afcd661 | 1,302 | cpp | C++ | C++/maximum-non-negative-product-in-a-matrix.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/maximum-non-negative-product-in-a-matrix.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/maximum-non-negative-product-in-a-matrix.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(m * n)
// Space: O(n)
// dp with rolling window
class Solution {
public:
int maxProductPath(vector<vector<int>>& grid) {
static const int MOD = 1e9 + 7;
vector<vector<int64_t>> max_dp(2, vector<int64_t>(size(grid[0])));
vector<vector<int64_t>> min_dp(2, vector<int64_t>(size(grid... | 42 | 105 | 0.400922 | Akhil-Kashyap |
8133f4f720539c8c570808ce4cf2f388d1ff00c5 | 1,002 | cpp | C++ | vm/builtin/thunk.cpp | sshao/rubinius | 368df60245471f45f1294b0cd18f769377437246 | [
"BSD-3-Clause"
] | 1 | 2015-11-08T12:37:15.000Z | 2015-11-08T12:37:15.000Z | vm/builtin/thunk.cpp | sshao/rubinius | 368df60245471f45f1294b0cd18f769377437246 | [
"BSD-3-Clause"
] | null | null | null | vm/builtin/thunk.cpp | sshao/rubinius | 368df60245471f45f1294b0cd18f769377437246 | [
"BSD-3-Clause"
] | null | null | null | #include "arguments.hpp"
#include "builtin/class.hpp"
#include "builtin/exception.hpp"
#include "builtin/location.hpp"
#include "builtin/system.hpp"
#include "builtin/thunk.hpp"
#include "object_utils.hpp"
namespace rubinius {
Thunk* Thunk::create(STATE, Object* self, Object* value) {
Thunk* pe = state->new_obje... | 27.833333 | 92 | 0.637725 | sshao |
81373dfea76e938fa39f0ef3fd91e93ad7c57467 | 11,546 | cpp | C++ | contrib/gsoap/gsoap/samples/calc_xcode/soapcalcProxy.cpp | teco-kit/ModelDrivenGateways | 97d661eab907e3b76ab96b4d86dd2e916088a1d8 | [
"MIT"
] | null | null | null | contrib/gsoap/gsoap/samples/calc_xcode/soapcalcProxy.cpp | teco-kit/ModelDrivenGateways | 97d661eab907e3b76ab96b4d86dd2e916088a1d8 | [
"MIT"
] | 2 | 2021-03-23T08:05:15.000Z | 2021-03-23T08:54:39.000Z | contrib/gsoap/gsoap/samples/calc_xcode/soapcalcProxy.cpp | teco-kit/ModelDrivenGateways | 97d661eab907e3b76ab96b4d86dd2e916088a1d8 | [
"MIT"
] | null | null | null | /* soapcalcProxy.cpp
Generated by gSOAP 2.7.14 from calc.h
Copyright(C) 2000-2009, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#include "soapcalcPr... | 31.121294 | 102 | 0.733674 | teco-kit |
8138817dd90585dec504c3e163a78a2996fb86ee | 390 | cpp | C++ | docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_40.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_40.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_40.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString;
CAtlString str;
str = _T("******Soccer is best!?!?!?!?!");
_tprintf_s(_T("Before: \"%s\"\n"), (LPCTSTR)str);
_tprintf_s(_T("After : \"%s\"\n"), (LPCTSTR)str.Trim(_T("?!*")));
// Output:
// --------------------------
... | 32.5 | 81 | 0.507692 | bobbrow |
81399bce25e4ff9b43e4cf0d0fff783bf888b1c0 | 14,316 | cpp | C++ | src/guidance.v2.02/libs/phylogeny/likelihoodComputationGL.cpp | jlanga/smsk_selection | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 4 | 2021-07-18T05:20:20.000Z | 2022-01-03T10:22:33.000Z | src/guidance.v2.02/libs/phylogeny/likelihoodComputationGL.cpp | jlanga/smsk_selection | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 1 | 2017-08-21T07:26:13.000Z | 2018-11-08T13:59:48.000Z | src/guidance.v2.02/libs/phylogeny/likelihoodComputationGL.cpp | jlanga/smsk_orthofinder | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 2 | 2021-07-18T05:20:26.000Z | 2022-03-31T18:23:31.000Z | #include "likelihoodComputationGL.h"
#include "definitions.h"
#include "tree.h"
#include "likelihoodComputation.h"
#include <cmath>
#include <cassert>
using namespace likelihoodComputationGL;
// account for RateCat, GainCat,LossCat
// - For each RateCat an "external" multiplication is conducted - copy_et... | 42.35503 | 170 | 0.560003 | jlanga |
8139d71eb6269f7e04e145c64e9dde318c585fa8 | 4,079 | cpp | C++ | lib/GLFWWrapper/src/simpleglfwwindow.cpp | jfcameron/WebAssembly-C-Cpp-Reference | b0d276565097920e700776fbf621f24ef82972cd | [
"MIT"
] | 1 | 2018-06-05T07:54:52.000Z | 2018-06-05T07:54:52.000Z | lib/GLFWWrapper/src/simpleglfwwindow.cpp | jfcameron/WebAssembly-C-Cpp-Reference | b0d276565097920e700776fbf621f24ef82972cd | [
"MIT"
] | 8 | 2018-08-11T05:13:57.000Z | 2018-11-15T00:14:42.000Z | lib/GLFWWrapper/src/simpleglfwwindow.cpp | jfcameron/WebAssembly-C-Cpp-Reference | b0d276565097920e700776fbf621f24ef82972cd | [
"MIT"
] | null | null | null | // © 2018 Joseph Cameron - All Rights Reserved
#include <gdkglfwwrapper/buildinfo.h>
#include <gdk/simpleglfwwindow.h>
#ifdef JFC_TARGET_PLATFORM_Emscripten
#include <emscripten/bind.h>
#include <emscripten/emscripten.h>
#elif defined JFC_TARGET_PLATFORM_Linux || defined JFC_TARGET_PLATFORM_Windows
#define GLEW_STAT... | 33.434426 | 198 | 0.62785 | jfcameron |
813b9063a8fce8e68346125554324bc22fc5e1e5 | 1,365 | cpp | C++ | yhtstfo/assets/voice_synthesizer/voice_synthesizer.plugin/source/module.cpp | skarab/coffee-samples | 3f4e8e65c8fa24f2a23969d63e731fc2f0ddf7e2 | [
"MIT"
] | null | null | null | yhtstfo/assets/voice_synthesizer/voice_synthesizer.plugin/source/module.cpp | skarab/coffee-samples | 3f4e8e65c8fa24f2a23969d63e731fc2f0ddf7e2 | [
"MIT"
] | null | null | null | yhtstfo/assets/voice_synthesizer/voice_synthesizer.plugin/source/module.cpp | skarab/coffee-samples | 3f4e8e65c8fa24f2a23969d63e731fc2f0ddf7e2 | [
"MIT"
] | null | null | null | #include "module.h"
//-META-------------------------------------------------------------------------------------------//
COFFEE_BeginType(voice_synthesizer::Module);
COFFEE_Ancestor(shell::Module);
COFFEE_EndType();
namespace voice_synthesizer
{
COFFEE_ImplementModuleSingleton(Module);
//-CONSTRUCTORS--... | 26.764706 | 100 | 0.372161 | skarab |
813bbbc08ff18b7cf8f7c1a66239d0f9b2373b6c | 1,825 | hpp | C++ | libs/vm-modules/include/vm_modules/crypto/sha256.hpp | chr15murray/ledger | 85be05221f19598de8c6c58652139a1f2d9e362f | [
"Apache-2.0"
] | 96 | 2018-08-23T16:49:05.000Z | 2021-11-25T00:47:16.000Z | libs/vm-modules/include/vm_modules/crypto/sha256.hpp | chr15murray/ledger | 85be05221f19598de8c6c58652139a1f2d9e362f | [
"Apache-2.0"
] | 1,011 | 2018-08-17T12:25:21.000Z | 2021-11-18T09:30:19.000Z | libs/vm-modules/include/vm_modules/crypto/sha256.hpp | chr15murray/ledger | 85be05221f19598de8c6c58652139a1f2d9e362f | [
"Apache-2.0"
] | 65 | 2018-08-20T20:05:40.000Z | 2022-02-26T23:54:35.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI Limited
//
// 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 Licen... | 26.449275 | 97 | 0.647671 | chr15murray |
813cf22c61946178827345697415984fba88e45b | 75,909 | cpp | C++ | src/devices/cpu/arm7/arm7.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/cpu/arm7/arm7.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/cpu/arm7/arm7.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Steve Ellenoff,R. Belmont,Ryan Holtz
/*****************************************************************************
*
* arm7.c
* Portable CPU Emulator for 32-bit ARM v3/4/5/6
*
* Copyright Steve Ellenoff, all rights reserved.
* Thumb, DSP, and MMU support and m... | 31.988622 | 246 | 0.653546 | Robbbert |
813edbca6a5e1f8265af7961f8689a8428533be7 | 3,697 | cpp | C++ | src/cmddasm.cpp | maarten-pennings/isa6502 | cc7f7da00ff24741403b875e2634e954f5fafa57 | [
"MIT"
] | null | null | null | src/cmddasm.cpp | maarten-pennings/isa6502 | cc7f7da00ff24741403b875e2634e954f5fafa57 | [
"MIT"
] | null | null | null | src/cmddasm.cpp | maarten-pennings/isa6502 | cc7f7da00ff24741403b875e2634e954f5fafa57 | [
"MIT"
] | null | null | null | // cmddasm.cpp - implements a command for 6502 inline disassembler
#include <Arduino.h>
#include "isa.h"
#include "cmd.h"
#include "cmddasm.h"
// Next address to disassemble
uint16_t cmddasm_addr; // Not static, set by write/asm
// Disassembles 'num' instructions from memory, starting at 'addr'.
//... | 39.329787 | 139 | 0.613741 | maarten-pennings |
81400d597fa5d493bb5bb17bf301736fa468e177 | 2,272 | cpp | C++ | QCIFSServer/QCIFSTest/cBasicFile.cpp | rodrigomr/VFS | 6b68b00df8cb668106c2d0841cbcd46138298717 | [
"Apache-2.0"
] | 38 | 2018-09-24T09:37:41.000Z | 2022-02-21T04:16:43.000Z | QCIFSServer/QCIFSTest/cBasicFile.cpp | rodrigomr/VFS | 6b68b00df8cb668106c2d0841cbcd46138298717 | [
"Apache-2.0"
] | 1 | 2018-10-02T17:57:44.000Z | 2018-10-07T06:55:44.000Z | QCIFSServer/QCIFSTest/cBasicFile.cpp | rodrigomr/VFS | 6b68b00df8cb668106c2d0841cbcd46138298717 | [
"Apache-2.0"
] | 6 | 2018-10-02T17:12:38.000Z | 2021-01-27T10:01:30.000Z | // Copyright 2018 Grass Valley, A Belden Brand
// 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 ag... | 33.910448 | 130 | 0.699384 | rodrigomr |
8142048cb167114964603c3c3b9dee2022825852 | 4,818 | hpp | C++ | Include/LIEF/PE/ResourcesManager.hpp | RaniaJarraya/fraudulent_behavior_detection | d1506603fd3468a6c106c73d4880623c5a9b4869 | [
"BSD-3-Clause"
] | 54 | 2020-01-29T18:44:56.000Z | 2022-03-14T11:24:59.000Z | include/LIEF/PE/ResourcesManager.hpp | prarthanats/LIEF | b26abae9a9b0dc0e82dd803b7b54a2a9dfe1034a | [
"Apache-2.0"
] | 13 | 2021-03-19T09:25:18.000Z | 2022-02-10T12:15:24.000Z | include/LIEF/PE/ResourcesManager.hpp | prarthanats/LIEF | b26abae9a9b0dc0e82dd803b7b54a2a9dfe1034a | [
"Apache-2.0"
] | 8 | 2019-05-19T11:24:28.000Z | 2022-02-16T20:19:30.000Z | /* Copyright 2017 R. Thomas
* Copyright 2017 Quarkslab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 31.490196 | 151 | 0.733084 | RaniaJarraya |
8145c50ebebd02908dc2861ef9710819b05bdb05 | 658 | cpp | C++ | 066_plusOne/main.cpp | IdLeoO/LC | 445d8f1521d02c8481d590e5af914b6599bf8d7d | [
"MIT"
] | null | null | null | 066_plusOne/main.cpp | IdLeoO/LC | 445d8f1521d02c8481d590e5af914b6599bf8d7d | [
"MIT"
] | null | null | null | 066_plusOne/main.cpp | IdLeoO/LC | 445d8f1521d02c8481d590e5af914b6599bf8d7d | [
"MIT"
] | null | null | null | #include "main.hpp"
#include <iostream>
using namespace std;
vector<int> Solution::plusOne(vector<int> & digits){
int idx = digits.size() - 1;
while (idx >= 0){
int carry = (digits[idx] + 1) > 9 ? 1: 0;
digits[idx] = (digits[idx] + 1 > 9) ? digits[idx] - 9 : digits[idx] + 1;
if (idx =... | 24.37037 | 80 | 0.5 | IdLeoO |
81464a96fc88ea8aeaaf2db3ce339d43d3c39151 | 9,630 | cpp | C++ | gdal/frmts/jpeg2000/jpeg2000_vsil_io.cpp | riseofthetigers/GDAL | 918b6939f6be25ac9d36edca3f71c8bf5dd5975e | [
"MIT"
] | null | null | null | gdal/frmts/jpeg2000/jpeg2000_vsil_io.cpp | riseofthetigers/GDAL | 918b6939f6be25ac9d36edca3f71c8bf5dd5975e | [
"MIT"
] | null | null | null | gdal/frmts/jpeg2000/jpeg2000_vsil_io.cpp | riseofthetigers/GDAL | 918b6939f6be25ac9d36edca3f71c8bf5dd5975e | [
"MIT"
] | null | null | null | /******************************************************************************
* $Id$
*
* Project: JPEG-2000
* Purpose: Return a stream for a VSIL file
* Author: Even Rouault, even dot rouault at mines dash paris dot org
*
******************************************************************************... | 33.321799 | 91 | 0.650467 | riseofthetigers |
8148ff9f3a728f92242ad36b851c591b1fd82b15 | 1,188 | cpp | C++ | Gems/LyShine/Code/Source/Animation/UiAnimSerialize.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Gems/LyShine/Code/Source/Animation/UiAnimSerialize.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/LyShine/Code/Source/Animation/UiAnimSerialize.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "LyShine_precompiled.h"
#include "UiAnimSerialize.h"
#include <LyShine/UiBase.h>
#include "... | 32.108108 | 158 | 0.601852 | aaarsene |
81496ed60ad2a6ff7a7ba876b89ef6eb26c70395 | 28,117 | cpp | C++ | src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp | ROMB/passenger | 773c544e1e60847538d43447b4e1f873e9e7eef2 | [
"MIT"
] | null | null | null | src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp | ROMB/passenger | 773c544e1e60847538d43447b4e1f873e9e7eef2 | [
"MIT"
] | null | null | null | src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp | ROMB/passenger | 773c544e1e60847538d43447b4e1f873e9e7eef2 | [
"MIT"
] | null | null | null | /*
* Phusion Passenger - https://www.phusionpassenger.com/
* Copyright (c) 2012-2017 Phusion Holding B.V.
*
* "Passenger", "Phusion Passenger" and "Union Station" are registered
* trademarks of Phusion Holding B.V.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this ... | 30.13612 | 108 | 0.699683 | ROMB |
814baaa5b9e4fd5a701f892da60b0cc9d6e41a5e | 19,377 | hpp | C++ | include/mcl/mapto_wb19.hpp | alinush/mcl | 868bccc849436b1c973d6fa9fe3c0ea3bb9ff361 | [
"BSD-3-Clause"
] | 1 | 2020-09-10T02:48:10.000Z | 2020-09-10T02:48:10.000Z | include/mcl/mapto_wb19.hpp | alinush/mcl | 868bccc849436b1c973d6fa9fe3c0ea3bb9ff361 | [
"BSD-3-Clause"
] | null | null | null | include/mcl/mapto_wb19.hpp | alinush/mcl | 868bccc849436b1c973d6fa9fe3c0ea3bb9ff361 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
/**
@file
@brief map to G2 on BLS12-381 (must be included from mcl/bn.hpp)
@author MITSUNARI Shigeo(@herumi)
@license modified new BSD license
http://opensource.org/licenses/BSD-3-Clause
ref. https://eprint.iacr.org/2019/403 , https://github.com/algorand/bls_sigs_ref
*/
namespace mcl {
namespace loc... | 33.816754 | 123 | 0.717139 | alinush |
814ff6139119fbbef8713c3c54f3a546a4a860cb | 6,700 | cpp | C++ | source/solution_zoo/common/xproto_plugins/iotvioplugin/src/vioplugin/viomessage.cpp | HorizonRobotics-Platform/AI-EXPRESS | 413206d88dae1fbd465ced4d60b2a1769d15c171 | [
"BSD-2-Clause"
] | 98 | 2020-09-11T13:52:44.000Z | 2022-03-23T11:52:02.000Z | source/solution_zoo/common/xproto_plugins/iotvioplugin/src/vioplugin/viomessage.cpp | HorizonRobotics-Platform/ai-express | 413206d88dae1fbd465ced4d60b2a1769d15c171 | [
"BSD-2-Clause"
] | 8 | 2020-10-19T14:23:30.000Z | 2022-03-16T01:00:07.000Z | source/solution_zoo/common/xproto_plugins/iotvioplugin/src/vioplugin/viomessage.cpp | HorizonRobotics-Platform/AI-EXPRESS | 413206d88dae1fbd465ced4d60b2a1769d15c171 | [
"BSD-2-Clause"
] | 28 | 2020-09-17T14:20:35.000Z | 2022-01-10T16:26:00.000Z | /*
* @Description: implement of vioplugin
* @Author: fei.cheng@horizon.ai
* @Date: 2019-08-26 16:17:25
* @Author: songshan.gong@horizon.ai
* @Date: 2019-09-26 16:17:25
* @LastEditors: hao.tian@horizon.ai
* @LastEditTime: 2019-10-16 15:34:58
* @Copyright 2017~2019 Horizon Robotics, Inc.
*/
#include <iostream>
#... | 28.632479 | 80 | 0.647612 | HorizonRobotics-Platform |
81502f6041161aac63c67e4290d0acfdbf05830d | 67 | cpp | C++ | Refureku/Library/Tests/TemplateClass.cpp | jsoysouvanh/Refureku | 7548cb3b196793119737a51c1cedc136aa60d3ee | [
"MIT"
] | 143 | 2020-04-07T21:38:21.000Z | 2022-03-30T01:06:33.000Z | Refureku/Library/Tests/TemplateClass.cpp | jsoysouvanh/Refureku | 7548cb3b196793119737a51c1cedc136aa60d3ee | [
"MIT"
] | 7 | 2021-03-30T07:26:21.000Z | 2022-03-28T16:31:02.000Z | Refureku/Library/Tests/TemplateClass.cpp | jsoysouvanh/Refureku | 7548cb3b196793119737a51c1cedc136aa60d3ee | [
"MIT"
] | 11 | 2020-06-06T09:45:12.000Z | 2022-01-25T17:17:55.000Z | #include "Include/Generated/SingleTypeTemplateClassTemplate.rfks.h" | 67 | 67 | 0.880597 | jsoysouvanh |
8150b3a5a45c3cce76386fccd2d4ff48a5fe8e0a | 1,438 | hpp | C++ | socket_utils.hpp | theom/tls-socket | 05a293b5e9ad9e30826628458f9b9bb349fe1d08 | [
"BSD-2-Clause"
] | 4 | 2018-03-24T12:02:20.000Z | 2020-12-31T20:04:15.000Z | socket_utils.hpp | theom/tls-socket | 05a293b5e9ad9e30826628458f9b9bb349fe1d08 | [
"BSD-2-Clause"
] | 1 | 2019-08-04T05:34:44.000Z | 2019-08-05T12:03:44.000Z | socket_utils.hpp | theom/tls-socket | 05a293b5e9ad9e30826628458f9b9bb349fe1d08 | [
"BSD-2-Clause"
] | 1 | 2018-03-24T15:01:03.000Z | 2018-03-24T15:01:03.000Z | /*
* (C) 2014,2017 Jack Lloyd
* 2017 René Korthaus, Rohde & Schwarz Cybersecurity
*
* tls-socket is released under the Simplified BSD License (see license.txt)
*/
#pragma once
#if defined(_WIN32)
#include <winsock2.h>
#include <WS2tcpip.h>
typedef size_t ssize_t;
#define STDIN_FILENO _fileno(stdin)
inline voi... | 19.972222 | 96 | 0.665508 | theom |
81516aa475dcb0454054b3f2f6fb0a1d0a3904c2 | 1,345 | cpp | C++ | src/volume/volume_checker.cpp | Luvideria/lightmetrica-v3 | 3e83db59998e79648047bac29c37d8eb18d7600d | [
"MIT"
] | 101 | 2019-05-31T21:27:58.000Z | 2022-02-03T18:54:16.000Z | src/volume/volume_checker.cpp | Luvideria/lightmetrica-v3 | 3e83db59998e79648047bac29c37d8eb18d7600d | [
"MIT"
] | 11 | 2019-09-19T16:03:09.000Z | 2020-12-05T18:37:54.000Z | src/volume/volume_checker.cpp | Luvideria/lightmetrica-v3 | 3e83db59998e79648047bac29c37d8eb18d7600d | [
"MIT"
] | 14 | 2019-06-05T03:06:09.000Z | 2022-01-15T06:36:24.000Z | /*
Lightmetrica - Copyright (c) 2019 Hisanari Otsu
Distributed under MIT license. See LICENSE file for details.
*/
#include <pch.h>
#include <lm/core.h>
#include <lm/volume.h>
LM_NAMESPACE_BEGIN(LM_NAMESPACE)
/*
\rst
.. function:: volume::checker
Checker volume.
:param float bound_min: Minimum bound of ... | 20.074627 | 62 | 0.680297 | Luvideria |
8151912896bd6c6794df02af3f4db76dffb20833 | 1,472 | hpp | C++ | Source/AliveLibAE/GlukkonSwitch.hpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | 208 | 2018-06-06T13:14:03.000Z | 2022-03-30T02:21:27.000Z | Source/AliveLibAE/GlukkonSwitch.hpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | 537 | 2018-06-06T16:50:45.000Z | 2022-03-31T16:41:15.000Z | Source/AliveLibAE/GlukkonSwitch.hpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | 42 | 2018-06-06T00:40:08.000Z | 2022-03-23T08:38:55.000Z | #pragma once
#include "BaseAnimatedWithPhysicsGameObject.hpp"
#include "Path.hpp"
#include "../AliveLibCommon/FunctionFwd.hpp"
struct Path_GlukkonSwitch final : public Path_TLV
{
enum class Scale : s16
{
eHalf_0 = 0,
eFull_1 = 1,
};
Scale field_10_scale;
s16 field_12_ok_id;
s16... | 21.970149 | 77 | 0.722826 | mouzedrift |
815520972ed76917e4b879edc49e36e81193bf86 | 3,000 | cpp | C++ | libs/ledger/benchmark/transaction_verifier_bench.cpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | null | null | null | libs/ledger/benchmark/transaction_verifier_bench.cpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | null | null | null | libs/ledger/benchmark/transaction_verifier_bench.cpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | 2 | 2019-11-13T10:55:24.000Z | 2019-11-13T11:37:09.000Z | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... | 24.193548 | 100 | 0.621333 | jinmannwong |
8155e7d52a06d8b6d0e531bf59127373ec6dc468 | 2,883 | hpp | C++ | include/experimental/fundamental/v3/strong/mixins/modable.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 105 | 2015-01-24T13:26:41.000Z | 2022-02-18T15:36:53.000Z | include/experimental/fundamental/v3/strong/mixins/modable.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 37 | 2015-09-04T06:57:10.000Z | 2021-09-09T18:01:44.000Z | include/experimental/fundamental/v3/strong/mixins/modable.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 23 | 2015-01-27T11:09:18.000Z | 2021-10-04T02:23:30.000Z | // 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)
//
// Copyright (C) 2017 Vicente J. Botet Escriba
#ifndef JASEL_FUNDAMENTAL_V3_STRONG_MIXIN_MODABLE_HPP
#define JASEL_FUNDAMENTAL_V3_STRONG_MIXIN_MODABLE_HPP
#inc... | 29.418367 | 120 | 0.624696 | jwakely |
81565cdc1fc074861d6e6bea8db445c3d2e785bd | 5,991 | cc | C++ | src/core/agent/agent.cc | nicogno/biodynamo | f875994d4ea9aa07f938283719d5db83e450bfb8 | [
"Apache-2.0"
] | null | null | null | src/core/agent/agent.cc | nicogno/biodynamo | f875994d4ea9aa07f938283719d5db83e450bfb8 | [
"Apache-2.0"
] | null | null | null | src/core/agent/agent.cc | nicogno/biodynamo | f875994d4ea9aa07f938283719d5db83e450bfb8 | [
"Apache-2.0"
] | null | null | null | // -----------------------------------------------------------------------------
//
// Copyright (C) 2021 CERN & Newcastle University for the benefit of the
// BioDynaMo collaboration. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | 29.512315 | 80 | 0.662494 | nicogno |
8159723efb07ebb1b58e65e8415c3a93e8bb13b3 | 6,667 | cpp | C++ | src/Real Time 3D/HeightmapGL.cpp | wt-student-projects/real-time-3D | b2482703ef92cfdf5a7486141bbe744052ca7825 | [
"Apache-2.0"
] | null | null | null | src/Real Time 3D/HeightmapGL.cpp | wt-student-projects/real-time-3D | b2482703ef92cfdf5a7486141bbe744052ca7825 | [
"Apache-2.0"
] | null | null | null | src/Real Time 3D/HeightmapGL.cpp | wt-student-projects/real-time-3D | b2482703ef92cfdf5a7486141bbe744052ca7825 | [
"Apache-2.0"
] | null | null | null |
#include "ShaderManagerGL.h"
#include "HeightmapGL.h"
HeightmapGL::HeightmapGL()
: filename(""),
scale(50),
matrix(new MatrixGL())
{
matrix->perspective(70, vec2(16, 9), vec2(0.1, 1000));
positions.reserve(2000);
glGenVertexArrays(1, &vertexArrayObject);
glBindVertexArray(vertexArrayObjec... | 28.491453 | 98 | 0.60852 | wt-student-projects |
815ae20371c0116b8134b7129b40d82ae8af5617 | 1,501 | cpp | C++ | sliding-window-k-beauty/k_beauty.cpp | JBlakd/self-study | 71cb86d43fe7f6514657958db0c0e81113bd4c43 | [
"MIT"
] | null | null | null | sliding-window-k-beauty/k_beauty.cpp | JBlakd/self-study | 71cb86d43fe7f6514657958db0c0e81113bd4c43 | [
"MIT"
] | null | null | null | sliding-window-k-beauty/k_beauty.cpp | JBlakd/self-study | 71cb86d43fe7f6514657958db0c0e81113bd4c43 | [
"MIT"
] | null | null | null | // leetcode 5299
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
int divisorSubstrings(int num, int k) {
string num_str = to_string(num);
int left_idx = 0;
int right_idx = k - 1;
int ret = 0;
while (right_idx < num_... | 20.283784 | 60 | 0.493005 | JBlakd |
815c11f472ddd3e0bfb8f983e752c9b1ab292fb5 | 32,227 | hpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/icl/test/test_interval_set_shared.hpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2018-12-15T19:57:24.000Z | 2018-12-15T19:57:24.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/icl/test/test_interval_set_shared.hpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | null | null | null | REDSI_1160929_1161573/boost_1_67_0/libs/icl/test/test_interval_set_shared.hpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-03-08T11:06:22.000Z | 2019-03-08T11:06:22.000Z | /*-----------------------------------------------------------------------------+
Copyright (c) 2008-2010: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or c... | 38.048406 | 117 | 0.632048 | Wultyc |
815e9ae379a22570ea25e9d67a9f837b57752d0f | 12,042 | cpp | C++ | Source/COMImplementation.cpp | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | 12 | 2018-03-15T00:20:55.000Z | 2021-08-11T10:02:15.000Z | Source/COMImplementation.cpp | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | null | null | null | Source/COMImplementation.cpp | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | 2 | 2019-04-09T17:15:31.000Z | 2020-12-05T19:52:59.000Z | // Copyright 2017 InnoVisioNate Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "Graphic.h"
#include "Graphic_resource.h"
#include "utils.h"
#include "GraphicControl_i.h"
#include "plot_i.c"
#include "axis_i.c"
#include "Vie... | 34.904348 | 217 | 0.651138 | ntclark |
815f14ac7b016ac87ae4cc12d20dcdf731256deb | 3,051 | cpp | C++ | venv/boost_1_73_0/libs/atomic/test/fallback_api.cpp | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | 1 | 2021-01-12T04:55:21.000Z | 2021-01-12T04:55:21.000Z | 3rdparty/boost_1_73_0/libs/atomic/test/fallback_api.cpp | qingkouwei/mediaones | cec475e1bfd5807b5351cc7e38d244ac5298ca16 | [
"MIT"
] | null | null | null | 3rdparty/boost_1_73_0/libs/atomic/test/fallback_api.cpp | qingkouwei/mediaones | cec475e1bfd5807b5351cc7e38d244ac5298ca16 | [
"MIT"
] | 2 | 2022-02-27T14:00:01.000Z | 2022-03-31T06:24:22.000Z | // Copyright (c) 2011 Helge Bahmann
// Copyright (c) 2020 Andrey Semashev
//
// 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)
/* force fallback implementation using locks */
#define BOOST_ATOMIC_FORCE_FALLBAC... | 39.115385 | 78 | 0.734513 | uosorio |
815f69a3d8e0b24631a0ddeb763b3ba06f2b7ef7 | 739 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/hana/example/core/tag_of.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/example/core/tag_of.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-04-04T18:00:00.000Z | 2019-04-04T18:00:00.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/hana/example/core/tag_of.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/core/tag_of.hpp>
#include <type_traits>
namespace hana = boost::hana;
static_assert(std::is_same<hana::ta... | 35.190476 | 85 | 0.688769 | Wultyc |
81612eb31bdb3db545391da8d8739e7586b5431a | 774 | h++ | C++ | include/ogonek/encoding/latin8.h++ | libogonek/ogonek | 46b7edbf6b7ff89892f5ba25494749b442e771b3 | [
"CC0-1.0"
] | 25 | 2016-10-21T12:37:23.000Z | 2021-02-22T05:46:46.000Z | include/ogonek/encoding/latin8.h++ | libogonek/ogonek | 46b7edbf6b7ff89892f5ba25494749b442e771b3 | [
"CC0-1.0"
] | null | null | null | include/ogonek/encoding/latin8.h++ | libogonek/ogonek | 46b7edbf6b7ff89892f5ba25494749b442e771b3 | [
"CC0-1.0"
] | 4 | 2016-09-05T10:23:18.000Z | 2020-07-09T19:37:37.000Z | // Ogonek
//
// Written in 2013 by Martinho Fernandes <martinho.fernandes@gmail.com>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain worldwide. This software is
// distributed without any warranty.
//
// You s... | 29.769231 | 96 | 0.760982 | libogonek |
816205c61617c3e8db42dbde5b15524a5b18120a | 2,323 | cpp | C++ | POJ/1077.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | POJ/1077.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | POJ/1077.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#define P 362880
using namespace std;
inline bool isNum(char c){
return c>='0'&&c<='9';
}
int prev[P],est[P],mat[3][3],que[P],qtop=1,fac[10],ktop=0,mx[4]={0,0,1,-1},my[4]={1,-1,0,0};
char move[P],mc[]="rldu",stk[P];
inline bool valid(int x,int... | 17.080882 | 92 | 0.510977 | sshockwave |
81631afaa1a6f6d329483f7f5d64be97762a4b3f | 7,537 | cpp | C++ | apps/mysql-5.1.65/storage/ndb/test/src/NdbMixRestarter.cpp | vusec/firestarter | 2048c1f731b8f3c5570a920757f9d7730d5f716a | [
"Apache-2.0"
] | 3 | 2021-04-29T07:59:16.000Z | 2021-12-10T02:23:05.000Z | apps/mysql-5.1.65/storage/ndb/test/src/NdbMixRestarter.cpp | vusec/firestarter | 2048c1f731b8f3c5570a920757f9d7730d5f716a | [
"Apache-2.0"
] | null | null | null | apps/mysql-5.1.65/storage/ndb/test/src/NdbMixRestarter.cpp | vusec/firestarter | 2048c1f731b8f3c5570a920757f9d7730d5f716a | [
"Apache-2.0"
] | null | null | null | /* Copyright (C) 2003 MySQL AB
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; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT AN... | 24.079872 | 79 | 0.629959 | vusec |
8163d5f8c2685debf06fa35207119c642b0aa02c | 798 | cpp | C++ | Chapter 5/5.15_dowhile.cpp | Reavolt/Cpp-Primer-Plus | 491876ca0808d55cb688d575ec4688b087387810 | [
"Unlicense"
] | 3 | 2021-10-04T11:59:10.000Z | 2022-01-05T22:26:12.000Z | Chapter 5/5.15_dowhile.cpp | Reavolt/Cpp-Primer-Plus | 491876ca0808d55cb688d575ec4688b087387810 | [
"Unlicense"
] | null | null | null | Chapter 5/5.15_dowhile.cpp | Reavolt/Cpp-Primer-Plus | 491876ca0808d55cb688d575ec4688b087387810 | [
"Unlicense"
] | 3 | 2021-08-02T02:44:22.000Z | 2022-03-26T02:01:34.000Z | //dowhile.срр -- цикл с проверкой на выходе
//#include "stdafx.h" --- Visual Studio --- precompiled headers
#include <iostream>
using namespace std;
//-------------------------------------------------------------------------------------------------
int main()
{
int n = 0;
cout << "Enter numbers in the range 1-10 ... | 26.6 | 99 | 0.47619 | Reavolt |
81646ff8ad897411a05e71004145504121eaead9 | 3,875 | cpp | C++ | ace/examples/Threads/task_two.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/examples/Threads/task_two.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/examples/Threads/task_two.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // task_two.cpp,v 4.9 1998/07/31 22:55:21 gonzo Exp
// Exercise more tests for the ACE Tasks. This test can spawn off
// zillions of tasks and then wait for them using both polling and the
// ACE Thread Manager.
#include "ace/Task.h"
#include "ace/Service_Config.h"
#include "ace/Synch.h"
ACE_RCSID(Threa... | 25.162338 | 92 | 0.642323 | tharindusathis |
8164e4594ef3d12949c91e98044bd023d5f0afd9 | 1,634 | cpp | C++ | rasterizer/shaders/mesh_fs.cpp | Kupoman/raytracer | cbb513430abf8a333ac07d6c376c000a49c1faaa | [
"Apache-2.0"
] | 1 | 2015-05-05T19:27:00.000Z | 2015-05-05T19:27:00.000Z | rasterizer/shaders/mesh_fs.cpp | Kupoman/raytracer | cbb513430abf8a333ac07d6c376c000a49c1faaa | [
"Apache-2.0"
] | null | null | null | rasterizer/shaders/mesh_fs.cpp | Kupoman/raytracer | cbb513430abf8a333ac07d6c376c000a49c1faaa | [
"Apache-2.0"
] | null | null | null | const char *shader_mesh_fs =
"\
#version 330 \n\
#line 5\n\
#define LIGHT_COUNT 8\n\
struct Light {\n\
vec3 position;\n\
vec3 energy;\n\
};\n\
uniform Light lights[LIGHT_COUNT];\n\
uniform int lightCount;\n\
uniform sampler2D raypassBuffer;\n\
uniform sampler2D lightBuffer;\n\
uniform vec2 frame_size;\n\
smooth in ve... | 32.039216 | 87 | 0.692166 | Kupoman |
81650aa5878731a95b49b50d3aa3b807777eeac1 | 366 | cpp | C++ | src/fft_x86_sse2.cpp | mzient/genFFT | 93e778ba6c16b989fe0eb3150e1e56fcac6f665c | [
"BSD-2-Clause"
] | 3 | 2019-10-30T11:17:32.000Z | 2019-11-04T16:38:37.000Z | src/fft_x86_sse2.cpp | mzient/genFFT | 93e778ba6c16b989fe0eb3150e1e56fcac6f665c | [
"BSD-2-Clause"
] | null | null | null | src/fft_x86_sse2.cpp | mzient/genFFT | 93e778ba6c16b989fe0eb3150e1e56fcac6f665c | [
"BSD-2-Clause"
] | null | null | null | #include <cassert>
#include <emmintrin.h>
#include <genFFT/FFTLevel.h>
#include <genFFT/generic/fft_impl_generic.h>
#include "dispatch_helper.h"
namespace genfft {
IMPORT_NAMESPACE(impl_SSE)
namespace impl_SSE2 {
#include <genFFT/x86/fft_double_impl_x86.inl>
#include <genFFT/x86/fft_dit_impl_x86.inl>
DISP... | 21.529412 | 49 | 0.756831 | mzient |
8167a61c347f92b286196eecc2e028a5fe460872 | 20,839 | cpp | C++ | cisstICP/algDirICP_VIMLOP.cpp | AyushiSinha/cisstICP | dfa00db642a25500946a0c70a900fbc68e5af248 | [
"BSD-3-Clause"
] | 11 | 2018-07-18T21:47:24.000Z | 2022-03-21T01:47:01.000Z | cisstICP/algDirICP_VIMLOP.cpp | Xingorno/cisstICP | dfa00db642a25500946a0c70a900fbc68e5af248 | [
"BSD-3-Clause"
] | null | null | null | cisstICP/algDirICP_VIMLOP.cpp | Xingorno/cisstICP | dfa00db642a25500946a0c70a900fbc68e5af248 | [
"BSD-3-Clause"
] | 2 | 2020-01-17T20:50:46.000Z | 2020-07-08T20:46:35.000Z | // ****************************************************************************
//
// Copyright (c) 2016, Ayushi Sinha, Seth Billings, Russell Taylor, Johns Hopkins University.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted pro... | 33.939739 | 171 | 0.71203 | AyushiSinha |
816804515007feb72007e52c8acda6186f81f0c0 | 1,109 | cpp | C++ | aws-cpp-sdk-cloudhsm/source/model/DescribeLunaClientRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-cloudhsm/source/model/DescribeLunaClientRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-cloudhsm/source/model/DescribeLunaClientRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/cloudhsm/model/DescribeLunaClientRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CloudHSM::Model;
using namespace Aws::Utils::Json;
u... | 21.745098 | 107 | 0.769161 | Neusoft-Technology-Solutions |
8169cfa594d34748dc042e17a1124a11b63ce4fd | 15,373 | cpp | C++ | Source/SVWidgetsLib/FilterParameterWidgets/PhaseTypeSelectionWidget.cpp | v7t/SIMPL | 41c941ac957960ec17d067ffe5c566390c4a2553 | [
"NRL"
] | null | null | null | Source/SVWidgetsLib/FilterParameterWidgets/PhaseTypeSelectionWidget.cpp | v7t/SIMPL | 41c941ac957960ec17d067ffe5c566390c4a2553 | [
"NRL"
] | null | null | null | Source/SVWidgetsLib/FilterParameterWidgets/PhaseTypeSelectionWidget.cpp | v7t/SIMPL | 41c941ac957960ec17d067ffe5c566390c4a2553 | [
"NRL"
] | null | null | null | /* ============================================================================
* Copyright (c) 2009-2016 BlueQuartz Software, LLC
*
* 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 ... | 39.51928 | 155 | 0.618682 | v7t |
816aed1ebb3920dce591752730238c1175d0ea92 | 6,465 | cc | C++ | gazebo/physics/ode/ODEMultiRayShape.cc | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2017-07-14T19:36:51.000Z | 2020-04-01T06:47:59.000Z | gazebo/physics/ode/ODEMultiRayShape.cc | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | 20 | 2017-07-20T21:04:49.000Z | 2017-10-19T19:32:38.000Z | gazebo/physics/ode/ODEMultiRayShape.cc | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2012-2016 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 32.164179 | 78 | 0.640217 | otamachan |
816b538263135a1f49f0ba597bdb487b03ba8431 | 121,998 | cpp | C++ | scripts/dp88_ar.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 1 | 2021-10-04T02:36:30.000Z | 2021-10-04T02:36:30.000Z | scripts/dp88_ar.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | null | null | null | scripts/dp88_ar.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | null | null | null | /* Renegade Scripts.dll
Copyright 2017 Tiberian Technologies
This file is part of the Renegade scripts.dll
The Renegade scripts.dll 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 2, or (at yo... | 33.497529 | 714 | 0.66556 | TheUnstoppable |
8171467acf3d7fd994993d1066f0e36fcc5babd8 | 11,445 | cpp | C++ | examples/tutorial_developer/pose_2_extract_pose_or_heatmat_from_image.cpp | jimfcarroll/openpose | fa8d6ff8f616f90c22eaae9d6926fef84db73ea6 | [
"DOC",
"MIT-CMU"
] | 2 | 2018-12-10T13:40:39.000Z | 2021-06-05T02:28:50.000Z | examples/tutorial_developer/pose_2_extract_pose_or_heatmat_from_image.cpp | Mainvooid/openpose | e4a021228b5949150c9446e31ec9f36f0f50a21c | [
"DOC",
"MIT-CMU"
] | null | null | null | examples/tutorial_developer/pose_2_extract_pose_or_heatmat_from_image.cpp | Mainvooid/openpose | e4a021228b5949150c9446e31ec9f36f0f50a21c | [
"DOC",
"MIT-CMU"
] | null | null | null | // ------------------------- OpenPose Library Tutorial - Pose - Example 2 - Extract Pose or Heatmap from Image -------------------------
// This second example shows the user how to:
// 1. Load an image (`filestream` module)
// 2. Extract the pose of that image (`pose` module)
// 3. Render the pose or heatm... | 69.786585 | 148 | 0.600699 | jimfcarroll |
8171de8ae77a5efb98a50cdb86084fbea475b37b | 496 | cpp | C++ | Algorithms and Data Structures/PrimeFactors.cpp | aldew5/Competitve-Programming | eb0b93a35af3bd5e806aedc44b835830af01d496 | [
"MIT"
] | 2 | 2020-05-09T15:54:18.000Z | 2021-01-23T22:32:53.000Z | Algorithms and Data Structures/PrimeFactors.cpp | aldew5/Competitive-Programming | fc93723fae739d0b06bcf2dbe3b9274584a79a66 | [
"MIT"
] | null | null | null | Algorithms and Data Structures/PrimeFactors.cpp | aldew5/Competitive-Programming | fc93723fae739d0b06bcf2dbe3b9274584a79a66 | [
"MIT"
] | null | null | null | vector<int> primeFactors(int a) {
int n = a;
vector<int> out;
while (n % 2 == 0) {
out.push_back(2);
n = n/2;
}
// n must be odd at this point. So we can skip
for (int i = 3; i <= sqrt(n); i = i + 2) {
// While i divides n, print i and divide n
while (n % i =... | 19.84 | 50 | 0.445565 | aldew5 |
8172f7e4a25530822761e2eaca113038a1b5da63 | 4,972 | cc | C++ | google/cloud/internal/streaming_write_rpc_test.cc | VPeruS/google-cloud-cpp | 727bc4f4676a75a97cec91247bcdd78741cf7204 | [
"Apache-2.0"
] | 1 | 2020-10-30T09:05:17.000Z | 2020-10-30T09:05:17.000Z | google/cloud/internal/streaming_write_rpc_test.cc | nschonni/google-cloud-cpp | 0f5e785f14fc21315d6c6fc98ace87da9182dbaa | [
"Apache-2.0"
] | null | null | null | google/cloud/internal/streaming_write_rpc_test.cc | nschonni/google-cloud-cpp | 0f5e785f14fc21315d6c6fc98ace87da9182dbaa | [
"Apache-2.0"
] | 1 | 2021-08-16T23:38:37.000Z | 2021-08-16T23:38:37.000Z | // Copyright 2021 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 w... | 35.769784 | 78 | 0.713998 | VPeruS |
81746ac13ca6aa052759d9e2f8c4d49ddf03695d | 2,512 | cpp | C++ | day-10-25-3.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-10-25-3.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-10-25-3.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | //解答疑惑篇
#include <stdio.h>
int main(void)
{
int i;
int a[5] = { 1,2,3,5,6 };
int* p;
p= &a[2]; //知道为啥可以省略地址符了
for (i = 0; i < 5; i++)
printf("&a[%d] = %p p+%d = %p\n", i, &a[i], i, p + i);
printf("%d ... | 125.6 | 2,071 | 0.107882 | duasong111 |
40bd75265756c9393de42ab3f3739e6908e1364b | 1,880 | cpp | C++ | multicore/src/bbthread.cpp | jangmys/PBBPerm | c13ad1045d0c7a36fd8d8ace728410fee38d70a4 | [
"MIT"
] | null | null | null | multicore/src/bbthread.cpp | jangmys/PBBPerm | c13ad1045d0c7a36fd8d8ace728410fee38d70a4 | [
"MIT"
] | null | null | null | multicore/src/bbthread.cpp | jangmys/PBBPerm | c13ad1045d0c7a36fd8d8ace728410fee38d70a4 | [
"MIT"
] | null | null | null | #include "../../common/include/macros.h"
#include "../../common/include/pbab.h"
#include "../include/bbthread.h"
void bbthread::reset_requestQueue()
{
requestQueue.clear();
}
bool
bbthread::has_request()
{
pthread_mutex_lock_check(&mutex_workRequested);
bool ok = (requestQueue.empty()) ? false : true;
... | 25.753425 | 99 | 0.571277 | jangmys |
40bf93212efa935d4ad6ca8a47338c7ea757b35d | 4,186 | cpp | C++ | src/Audio/AudioPlayer.cpp | Nickswoboda/Aegis | 60e0e770892bdcb378686508ca455f6b5d522e33 | [
"MIT"
] | null | null | null | src/Audio/AudioPlayer.cpp | Nickswoboda/Aegis | 60e0e770892bdcb378686508ca455f6b5d522e33 | [
"MIT"
] | null | null | null | src/Audio/AudioPlayer.cpp | Nickswoboda/Aegis | 60e0e770892bdcb378686508ca455f6b5d522e33 | [
"MIT"
] | null | null | null | #include "AudioPlayer.h"
#include "../Core/Assert.h"
#include <AL/al.h>
#include <AL/alc.h>
#include <stb_vorbis.h>
#include <iostream>
#include <vector>
namespace Aegis {
ALCdevice* AudioPlayer::device_ = nullptr;
ALCcontext* AudioPlayer::context_ = nullptr;
std::unordered_map<std::string, SoundID> AudioPlaye... | 24.057471 | 98 | 0.676541 | Nickswoboda |
40c0865c0fd721aa7a0b69a29699243647050906 | 1,745 | cpp | C++ | src/umpire/DeviceAllocator.cpp | abagusetty/Umpire | 4bb15284e4b4c94a7a2ce4e0f883d6a853d6ec73 | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/DeviceAllocator.cpp | abagusetty/Umpire | 4bb15284e4b4c94a7a2ce4e0f883d6a853d6ec73 | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/DeviceAllocator.cpp | abagusetty/Umpire | 4bb15284e4b4c94a7a2ce4e0f883d6a853d6ec73 | [
"MIT-0",
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-20, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... | 29.083333 | 78 | 0.661318 | abagusetty |
40c08bc396b7e5fe3888722619f5a0f297cdb7e7 | 500 | hpp | C++ | vitamin-k/system/vikAssets.hpp | patchedsoul/xrgears | 1ac9460a3fe49c9a47bc6d8262e124fd3d369758 | [
"MIT"
] | null | null | null | vitamin-k/system/vikAssets.hpp | patchedsoul/xrgears | 1ac9460a3fe49c9a47bc6d8262e124fd3d369758 | [
"MIT"
] | null | null | null | vitamin-k/system/vikAssets.hpp | patchedsoul/xrgears | 1ac9460a3fe49c9a47bc6d8262e124fd3d369758 | [
"MIT"
] | null | null | null | /*
* vitamin-k
*
* Copyright 2017-2018 Collabora Ltd.
*
* Authors: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <string>
namespace vik {
class Assets {
public:
static const std::string get_asset_path() {
return "./assets/";
}
static const ... | 16.666667 | 59 | 0.66 | patchedsoul |
40c3c1d7457dbfe3e40689cf8b268d336fb133c7 | 1,865 | cpp | C++ | examples/f1/clkout/main.cpp | tufty/stm32tl | 3f5ef1ca29695236ab9f5d964a1b4be7afc00c8f | [
"MIT"
] | 10 | 2017-04-16T20:54:40.000Z | 2022-03-13T13:28:32.000Z | examples/f1/clkout/main.cpp | tufty/stm32tl | 3f5ef1ca29695236ab9f5d964a1b4be7afc00c8f | [
"MIT"
] | 1 | 2018-10-04T21:06:37.000Z | 2020-01-13T15:22:58.000Z | examples/f1/clkout/main.cpp | tufty/stm32tl | 3f5ef1ca29695236ab9f5d964a1b4be7afc00c8f | [
"MIT"
] | 4 | 2019-10-30T07:35:22.000Z | 2021-07-23T01:24:27.000Z | #include <clocks.h>
#include <tasks.h>
#include <gpio.h>
#define HSE_FREQ 8000000
typedef HSE_OSC_T<HSE_FREQ> HSE;
typedef PLL_T<HSE, 72000000> PLL;
typedef SYSCLK_T<PLL> SYSCLK;
typedef SYSTICK_T<SYSCLK, 1000> SYSTICK;
typedef TIMEOUT_T<SYSTICK> TIMEOUT;
#if defined(OLIMEXINO)
typedef GPIO_T<PA, 8, OUTPUT_50MHZ, AL... | 27.028986 | 84 | 0.737802 | tufty |
40c47fd93c62e1cfbbed8ad2f3ce03c5af62df49 | 209 | hpp | C++ | test/test.hpp | sschaetz/aura | 3d90e4b320ff54968bed8e610f778c7b84ba19de | [
"BSL-1.0"
] | 34 | 2015-01-18T13:41:26.000Z | 2021-08-17T05:23:25.000Z | test/test.hpp | sschaetz/aura | 3d90e4b320ff54968bed8e610f778c7b84ba19de | [
"BSL-1.0"
] | 14 | 2015-03-11T18:17:26.000Z | 2018-08-13T18:33:18.000Z | test/test.hpp | sschaetz/aura | 3d90e4b320ff54968bed8e610f778c7b84ba19de | [
"BSL-1.0"
] | 9 | 2015-03-11T04:53:06.000Z | 2018-11-23T15:48:01.000Z | #pragma once
namespace boost
{
namespace aura
{
namespace test
{
inline std::string get_test_dir() { return std::string(AURA_TEST_SOURCE_DIR); }
} // namespace test
} // namespace aura
} // namespace boost
| 13.933333 | 79 | 0.727273 | sschaetz |
40c523872f00f85bc08ebd44781aa7f2057b9b86 | 938 | cpp | C++ | euler077.cpp | suihan74/ProjectEuler | 0ccd2470206a606700ab5c2a7162b2a3d3de2f8d | [
"MIT"
] | null | null | null | euler077.cpp | suihan74/ProjectEuler | 0ccd2470206a606700ab5c2a7162b2a3d3de2f8d | [
"MIT"
] | null | null | null | euler077.cpp | suihan74/ProjectEuler | 0ccd2470206a606700ab5c2a7162b2a3d3de2f8d | [
"MIT"
] | null | null | null | /**
* Problem 77 「素数の和」
* 10は素数の和として5通りに表すことができる:
*
* 7 + 3
* 5 + 5
* 5 + 3 + 2
* 3 + 3 + 2 + 2
* 2 + 2 + 2 + 2 + 2
*
* 素数の和としての表し方が5000通り以上になる最初の数を求めよ.
*/
#include <cstdint>
#include <iostream>
#include <vector>
#include "prime.h"
using uInt = std::uint_fast64_t;
using namespace Euler::Prime;
int main(v... | 20.391304 | 67 | 0.545842 | suihan74 |
40c9d23eaf33e657d177171a7e331345247a3d8c | 276 | hpp | C++ | include/chrono/MicroTimer.hpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 2 | 2016-05-21T03:09:19.000Z | 2016-08-27T03:40:51.000Z | include/chrono/MicroTimer.hpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 75 | 2017-10-08T22:21:19.000Z | 2020-03-30T21:13:20.000Z | include/chrono/MicroTimer.hpp | StratifyLabs/StratifyLib | 975a5c25a84296fd0dec64fe4dc579cf7027abe6 | [
"MIT"
] | 5 | 2018-03-27T16:44:09.000Z | 2020-07-08T16:45:55.000Z | /*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights.
#ifndef CHRONO_MICRO_TIMER_HPP_
#define CHRONO_MICRO_TIMER_HPP_
#include "Timer.hpp"
namespace chrono {
typedef class Timer MicroTimer;
}
#endif // CHRONO_MICRO_TIMER_HPP_
| 23 | 100 | 0.778986 | bander9289 |
40ca30fae84473afa20ca403b5536fbe3fd2de80 | 1,669 | cpp | C++ | TaskComboBox.cpp | chrisoldwood/TaskTracker | 9477a275d46436d14950dea97864136f8bdbf73c | [
"MIT"
] | 1 | 2021-02-05T12:19:27.000Z | 2021-02-05T12:19:27.000Z | TaskComboBox.cpp | chrisoldwood/TaskTracker | 9477a275d46436d14950dea97864136f8bdbf73c | [
"MIT"
] | null | null | null | TaskComboBox.cpp | chrisoldwood/TaskTracker | 9477a275d46436d14950dea97864136f8bdbf73c | [
"MIT"
] | null | null | null | /******************************************************************************
** (C) Chris Oldwood
**
** MODULE: TSKCOMBO.CPP
** COMPONENT: The Application.
** DESCRIPTION: CTaskCombo class definition.
**
*******************************************************************************
*/
#include "Common.hpp"
#inclu... | 21.675325 | 84 | 0.40024 | chrisoldwood |
40ca5d350595bc92956bd9d8eb1b5e15ff84d51b | 12,047 | cpp | C++ | src/servers/app/drawing/Painter/drawing_modes/PixelFormat.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 4 | 2017-06-17T22:03:56.000Z | 2019-01-25T10:51:55.000Z | src/servers/app/drawing/Painter/drawing_modes/PixelFormat.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | null | null | null | src/servers/app/drawing/Painter/drawing_modes/PixelFormat.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 3 | 2018-12-17T13:07:38.000Z | 2021-09-08T13:07:31.000Z | /*
* Copyright 2005, Stephan Aßmus <superstippi@gmx.de>.
* Copyright 2008, Andrej Spielmann <andrej.spielmann@seh.ox.ac.uk>
* All rights reserved. Distributed under the terms of the MIT License.
*
* Copyright 2002-2004 Maxim Shemanarev (http://www.antigrain.com)
*
* A class implementing the AGG "pixel format" in... | 33.839888 | 82 | 0.772807 | axeld |
40cb69d58be34fdbcf97e9926cf39c984af64085 | 1,315 | hpp | C++ | modules/scene_manager/include/example_interfaces/action/fibonacci__result__traits.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/scene_manager/include/example_interfaces/action/fibonacci__result__traits.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 3 | 2019-11-14T12:20:06.000Z | 2020-08-07T13:51:10.000Z | modules/scene_manager/include/example_interfaces/action/fibonacci__result__traits.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | // generated from rosidl_generator_cpp/resource/srv__traits.hpp.em
// generated code does not contain a copyright notice
#include "example_interfaces/action/fibonacci__result__struct.hpp"
#ifndef EXAMPLE_INTERFACES__ACTION__FIBONACCI__RESULT__TRAITS_HPP_
#define EXAMPLE_INTERFACES__ACTION__FIBONACCI__RESULT__TRAITS_... | 27.978723 | 84 | 0.821293 | Omnirobotic |
40cdce97555361cf3adf228fe2f9f15f59dfb285 | 886 | cpp | C++ | eigen_matrix_utils/src/eigen_matrix_utils/eigen_matrix_utils.cpp | CNR-STIIMA-IRAS/eigen_utils | e0697acbf39a483d61cd140ed66a1fc553009fe0 | [
"Apache-2.0"
] | null | null | null | eigen_matrix_utils/src/eigen_matrix_utils/eigen_matrix_utils.cpp | CNR-STIIMA-IRAS/eigen_utils | e0697acbf39a483d61cd140ed66a1fc553009fe0 | [
"Apache-2.0"
] | 2 | 2021-02-19T12:09:12.000Z | 2021-03-18T07:48:14.000Z | eigen_matrix_utils/src/eigen_matrix_utils/eigen_matrix_utils.cpp | CNR-STIIMA-IRAS/eigen_utils | e0697acbf39a483d61cd140ed66a1fc553009fe0 | [
"Apache-2.0"
] | null | null | null | #include <eigen_matrix_utils/overloads.h>
#include <eigen_matrix_utils/eigen_matrix_utils.h>
namespace eigen_utils
{
// double standard_deviation(const Eigen::Ref< Eigen::VectorXd >& vet)
// {
// Eigen::VectorXd mean_vet(vet.rows());
// mean_vet.setConstant(vet.mean());
// return std::sqrt((vet-mean_vet).dot(... | 27.6875 | 133 | 0.693002 | CNR-STIIMA-IRAS |
40cde442ede2a4c6d785340353b60aa4372cd0cd | 1,292 | cpp | C++ | coj.uci.cu/Awari20.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | coj.uci.cu/Awari20.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | coj.uci.cu/Awari20.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: http://coj.uci.cu/24h/problem.xhtml?abb=2052
Name: Awari 2.0
Number: 2052
Date: 05/06/2014
*/
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <vector>
#include <queue>
#include <deque... | 16.779221 | 52 | 0.571207 | facug91 |
40ce512023bfc4aed810512ccabe43ba044c4722 | 3,977 | cpp | C++ | mp/src/game/server/fortress/tf_playerlocaldata.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | 1 | 2021-03-20T14:27:45.000Z | 2021-03-20T14:27:45.000Z | mp/src/game/server/fortress/tf_playerlocaldata.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | mp/src/game/server/fortress/tf_playerlocaldata.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | #include "cbase.h"
#include "tf_playerlocaldata.h"
#include "tf_player.h"
#include "mathlib/mathlib.h"
#include "entitylist.h"
extern ConVar tf_fastbuild;
ConVar tf_maxbankresources( "tf_maxbankresources", "2000", 0, "Max resources a single player can have." );
#define BANK_RESOURCE_BITS 20
#define MAX_PLAYER_RESOURC... | 32.867769 | 140 | 0.707317 | MaartenS11 |
40cf6f3e94ed2c9d402f999b0ed23d762437b5b5 | 3,281 | hpp | C++ | Source/utils/Coordinates.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | 2 | 2018-02-23T10:46:34.000Z | 2019-10-01T17:28:31.000Z | Source/utils/Coordinates.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | null | null | null | Source/utils/Coordinates.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | 1 | 2022-02-24T23:01:02.000Z | 2022-02-24T23:01:02.000Z | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#ifndef COORDINATES_HPP_
#define COORDINATES_HPP_
#include "DimensionDefinitions.hpp"
#include "IntVect.H"
#include "simd.hpp"
#include <array>
template <class data_t> class Coordinates
{
public:
... | 31.854369 | 79 | 0.604694 | boxuange |
40d1b4dec1bad05fe29eab69d8b637e43fc66ea6 | 31,979 | cpp | C++ | src/DeviceBindings.cpp | MambaWong/depthai-python-1 | 0d15abd77fd82b4a70e096ea5bb99237a17c9862 | [
"MIT"
] | 9 | 2020-03-10T15:10:02.000Z | 2020-06-01T22:58:04.000Z | src/DeviceBindings.cpp | MambaWong/depthai-python-1 | 0d15abd77fd82b4a70e096ea5bb99237a17c9862 | [
"MIT"
] | 11 | 2020-03-11T20:42:30.000Z | 2020-06-10T11:53:49.000Z | src/DeviceBindings.cpp | MambaWong/depthai-python-1 | 0d15abd77fd82b4a70e096ea5bb99237a17c9862 | [
"MIT"
] | 2 | 2020-04-23T19:20:04.000Z | 2020-05-12T00:20:34.000Z | #include "DeviceBindings.hpp"
// depthai
#include "depthai/device/Device.hpp"
#include "depthai/pipeline/Pipeline.hpp"
#include "depthai/utility/Clock.hpp"
#include "depthai/xlink/XLinkConnection.hpp"
// std::chrono bindings
#include <pybind11/chrono.h>
// py::detail
#include <pybind11/detail/common.h>
// hedley
#inc... | 57.61982 | 260 | 0.657963 | MambaWong |
40d3b6e1fbf2cc7cffb32460a018938c3b180399 | 1,649 | hpp | C++ | lib/_old/segment_tree_virtual.hpp | kuhaku-space/atcoder-lib | 7fe1365e1be69d3eff11e122b2c7dff997a6c541 | [
"Apache-2.0"
] | null | null | null | lib/_old/segment_tree_virtual.hpp | kuhaku-space/atcoder-lib | 7fe1365e1be69d3eff11e122b2c7dff997a6c541 | [
"Apache-2.0"
] | 4 | 2022-01-05T14:40:40.000Z | 2022-03-05T08:03:19.000Z | lib/_old/segment_tree_virtual.hpp | kuhaku-space/atcoder-lib | 7fe1365e1be69d3eff11e122b2c7dff997a6c541 | [
"Apache-2.0"
] | null | null | null | #include "template/template.hpp"
/**
* @brief セグメント木
*
* @tparam T 要素の型
* @tparam F 関数の型
*/
template <class T>
struct segment_tree {
int N;
const T e;
vector<T> data;
segment_tree() {}
segment_tree(int _n, T _e) : e(_e) { this->init(_n, _e); }
const T &operator[](int i) ... | 29.446429 | 99 | 0.454215 | kuhaku-space |
40d5b7a7893d90886536b0cf94289d9a9395b6ba | 1,837 | hpp | C++ | include/Xen/XenException.hpp | nccgroup/xendbg | 74ce0c1ad6398b14e5702d0f58832d40088cea23 | [
"MIT"
] | 67 | 2019-01-27T01:49:40.000Z | 2022-02-18T16:01:09.000Z | include/Xen/XenException.hpp | SpencerMichaels/xendbg | e0290847eb0c345a9db681514c1adcf9269396c8 | [
"MIT"
] | 3 | 2019-06-30T14:51:56.000Z | 2020-02-14T19:17:23.000Z | include/Xen/XenException.hpp | SpencerMichaels/xendbg | e0290847eb0c345a9db681514c1adcf9269396c8 | [
"MIT"
] | 14 | 2019-01-28T07:11:23.000Z | 2021-06-14T13:33:12.000Z | //
// Copyright (C) 2018-2019 NCC Group
//
// 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, publ... | 34.660377 | 83 | 0.72564 | nccgroup |
40d60f79999036f17a8aa7ec0b551d35270c24be | 3,043 | cpp | C++ | native/tools/simulator/libsimulator/lib/platform/win32/PlayerMessageBoxServiceWin.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/tools/simulator/libsimulator/lib/platform/win32/PlayerMessageBoxServiceWin.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/tools/simulator/libsimulator/lib/platform/win32/PlayerMessageBoxServiceWin.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
wo... | 32.37234 | 124 | 0.657903 | SteveLau-GameDeveloper |
40d6ff8a6ec8f722e2fdd51a0aeecb3f5a17ea1c | 1,133 | cpp | C++ | TPPEngine/Tpp_Scene.cpp | ArtiomTr/Game | f3978d220c29a8773728c536867b8a8f8cf91493 | [
"MIT"
] | null | null | null | TPPEngine/Tpp_Scene.cpp | ArtiomTr/Game | f3978d220c29a8773728c536867b8a8f8cf91493 | [
"MIT"
] | null | null | null | TPPEngine/Tpp_Scene.cpp | ArtiomTr/Game | f3978d220c29a8773728c536867b8a8f8cf91493 | [
"MIT"
] | null | null | null | #include "Tpp_Scene.h"
namespace tp {
Scene::Scene(std::vector<IEntityController*> c) {
for (int i = 0; i < c.size(); i++)
controllers.push_back(c[i]);
}
int Scene::getEntityCount(std::string name) {
if (entities.find(name) != entities.end()) {
return entities[name].size();
}
return -1;
}
void Sc... | 26.97619 | 68 | 0.62842 | ArtiomTr |
40d71fec309fa68b32b68301bbaba6fbca29a8f0 | 658 | cpp | C++ | C++/4-STL/Lower_Bound-STL/cpp-lower-bound.cpp | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | C++/4-STL/Lower_Bound-STL/cpp-lower-bound.cpp | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | C++/4-STL/Lower_Bound-STL/cpp-lower-bound.cpp | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
int main()
{
std::ios_base::sync_with_stdio(false);
int length;
std::cin >> length;
std::vector<int> nums(length);
for (int i = 0; i < length; ++i)
std::cin >> nums[i];
int queries;
std::cin >> queries;
for (int i =... | 18.277778 | 88 | 0.484802 | christosg88 |
40d771533e223169ff38e8bc1e59e3407db005a7 | 3,601 | cpp | C++ | tasks/functions/functions_test.cpp | SIP-2015/skeleton | 6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec | [
"Unlicense"
] | null | null | null | tasks/functions/functions_test.cpp | SIP-2015/skeleton | 6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec | [
"Unlicense"
] | null | null | null | tasks/functions/functions_test.cpp | SIP-2015/skeleton | 6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec | [
"Unlicense"
] | null | null | null | /*
* functions_test.cpp
*
* Created On: June 10, 2015
* Author: Matthew Mussomele
*/
#include "gtest/gtest.h"
#include "functions.h"
namespace {
class function_test : public ::testing::Test {
protected:
function_test() { }
virtual ~function_test() { }
virtual void SetUp(... | 31.043103 | 89 | 0.639545 | SIP-2015 |
40d7a6a42723bfe9db56ba286d5e7cab9f503433 | 10,983 | cpp | C++ | QuantumGateLib/Core/ListenerManager.cpp | kareldonk/QuantumGate | c6563b156c628ca0d32534680aa001d4eb820b73 | [
"MIT"
] | 87 | 2018-09-01T05:29:22.000Z | 2022-03-13T17:44:00.000Z | QuantumGateLib/Core/ListenerManager.cpp | kareldonk/QuantumGate | c6563b156c628ca0d32534680aa001d4eb820b73 | [
"MIT"
] | 6 | 2019-01-30T14:48:17.000Z | 2022-03-14T21:10:56.000Z | QuantumGateLib/Core/ListenerManager.cpp | kareldonk/QuantumGate | c6563b156c628ca0d32534680aa001d4eb820b73 | [
"MIT"
] | 16 | 2018-11-25T23:09:47.000Z | 2022-02-01T22:14:11.000Z | // This file is part of the QuantumGate project. For copyright and
// licensing information refer to the license file(s) in the project root.
#include "pch.h"
#include "ListenerManager.h"
#include "..\API\Access.h"
using namespace std::literals;
using namespace QuantumGate::Implementation::Network;
namespace Quantum... | 27.595477 | 123 | 0.683693 | kareldonk |
40d82752cdad0b5904834ecb8776fe5d7d40aacf | 10,388 | cc | C++ | tensorflow/compiler/xla/service/gpu/tree_reduction_rewriter.cc | ashutom/tensorflow-upstream | c16069c19de9e286dd664abb78d0ea421e9f32d4 | [
"Apache-2.0"
] | 3 | 2021-07-24T07:19:49.000Z | 2021-07-25T04:04:36.000Z | tensorflow/compiler/xla/service/gpu/tree_reduction_rewriter.cc | ashutom/tensorflow-upstream | c16069c19de9e286dd664abb78d0ea421e9f32d4 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/xla/service/gpu/tree_reduction_rewriter.cc | ashutom/tensorflow-upstream | c16069c19de9e286dd664abb78d0ea421e9f32d4 | [
"Apache-2.0"
] | 1 | 2021-09-08T07:26:06.000Z | 2021-09-08T07:26:06.000Z | /* Copyright 2020 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... | 44.204255 | 80 | 0.689353 | ashutom |
40d87dff04118c9ec272b78385a1ce96c4dcf233 | 1,432 | cpp | C++ | LightOJ/1079 - Just another Robbery/sol.cpp | Tahsin716/OnlineJudge | a5d15f37a8c260740c148370ced7a2a9096050c1 | [
"MIT"
] | null | null | null | LightOJ/1079 - Just another Robbery/sol.cpp | Tahsin716/OnlineJudge | a5d15f37a8c260740c148370ced7a2a9096050c1 | [
"MIT"
] | null | null | null | LightOJ/1079 - Just another Robbery/sol.cpp | Tahsin716/OnlineJudge | a5d15f37a8c260740c148370ced7a2a9096050c1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cstring>
#include <climits>
using namespace std;
double P[101], dp[101][10001], x;
int bank[101], n;
//The prob of getting caught in one of the two banks = the prob of getting caught in the first or the prob
//of not getting caught in the first and getting caught in t... | 17.463415 | 107 | 0.569832 | Tahsin716 |
40d9d2e01422072b52d19cdabdab2f9071408f25 | 2,818 | cpp | C++ | IOI/poi.cpp | eddiegz/Personal-C | f7869826216e5c665f8f646502141f0dc680e545 | [
"MIT"
] | 3 | 2021-05-15T08:18:09.000Z | 2021-05-17T04:41:57.000Z | IOI/poi.cpp | eddiegz/Personal-C | f7869826216e5c665f8f646502141f0dc680e545 | [
"MIT"
] | null | null | null | IOI/poi.cpp | eddiegz/Personal-C | f7869826216e5c665f8f646502141f0dc680e545 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
using str = string;
using vi = vector<int>;
using vb = vector<bool>;
using vl = vector<ll>;
using vd = vector<ld>;
using vs = vector<str>;
using vc = vector<char>;
using vvi = vector<vi>;
using v... | 24.719298 | 104 | 0.577715 | eddiegz |
40db9896196ca34a278dbcce45a3e5338ab2aa10 | 19,582 | cc | C++ | RecoMuon/StandAloneTrackFinder/src/StandAloneTrajectoryBuilder.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoMuon/StandAloneTrackFinder/src/StandAloneTrajectoryBuilder.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoMuon/StandAloneTrackFinder/src/StandAloneTrajectoryBuilder.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | /** \class StandAloneTrajectoryBuilder
* Concrete class for the STA Muon reco
*
* \author R. Bellan - INFN Torino <riccardo.bellan@cern.ch>
* \author Stefano Lacaprara - INFN Legnaro
* \author D. Trocino - INFN Torino <daniele.trocino@to.infn.it>
*
* Modified by C. Calabria
* Modified by D. Nash
*/
#in... | 39.881874 | 156 | 0.717496 | nistefan |
40dc7baa2d3fdf3330c84fbfe50ea77a60696c7e | 141 | cpp | C++ | cpp/main.cpp | NeroBurner/cmake_in_subdir | c24f21ccf7ecf8e911e20049119777223556e64a | [
"BSD-2-Clause"
] | null | null | null | cpp/main.cpp | NeroBurner/cmake_in_subdir | c24f21ccf7ecf8e911e20049119777223556e64a | [
"BSD-2-Clause"
] | null | null | null | cpp/main.cpp | NeroBurner/cmake_in_subdir | c24f21ccf7ecf8e911e20049119777223556e64a | [
"BSD-2-Clause"
] | null | null | null | #include <cis.hpp>
#include <iostream>
int main()
{
std::cout << "CMakeInSubdir version: " << cmake_in_subdir::CIS_VERSION << std::endl;
}
| 17.625 | 85 | 0.673759 | NeroBurner |
40dd1f7e204ce90cfc60e43aebd57158d999905b | 3,456 | hpp | C++ | games/spiders/brood_mother.hpp | JackLimes/Joueur.cpp | d7dc45b5f95d9b3fc8c9cb846d63d6f44c83a61b | [
"MIT"
] | null | null | null | games/spiders/brood_mother.hpp | JackLimes/Joueur.cpp | d7dc45b5f95d9b3fc8c9cb846d63d6f44c83a61b | [
"MIT"
] | null | null | null | games/spiders/brood_mother.hpp | JackLimes/Joueur.cpp | d7dc45b5f95d9b3fc8c9cb846d63d6f44c83a61b | [
"MIT"
] | null | null | null | #ifndef GAMES_SPIDERS_BROOD_MOTHER_H
#define GAMES_SPIDERS_BROOD_MOTHER_H
// BroodMother
// The Spider Queen. She alone can spawn Spiderlings for each Player, and if she dies the owner loses.
// DO NOT MODIFY THIS FILE
// Never try to directly create an instance of this class, or modify its member variables.
// Inste... | 35.265306 | 148 | 0.676505 | JackLimes |
40de162c02f59a75e7c0340206ad57882138cc55 | 185 | cpp | C++ | test/src/main.cpp | Lavesson/api-mock | 07f0c3d2213df7be7699258d4273c58f13958763 | [
"MIT"
] | null | null | null | test/src/main.cpp | Lavesson/api-mock | 07f0c3d2213df7be7699258d4273c58f13958763 | [
"MIT"
] | null | null | null | test/src/main.cpp | Lavesson/api-mock | 07f0c3d2213df7be7699258d4273c58f13958763 | [
"MIT"
] | null | null | null | #define PRETTY_COLOURS
#include <tap-report.h>
#include <console-report.h>
int main() {
test_runner::run_all_tests();
console_report cr;
test_runner::create_report(cr);
return 0;
} | 18.5 | 32 | 0.745946 | Lavesson |
40dede42b36f8a3cf501b9ba914e2befa6c5e651 | 907 | cpp | C++ | src/hackerearth/dp/NumWaysTopLeftBottomRight.cpp | cool-dude/leetcode | 87bfed73dbdc058f191ab5d4a2f55e2ce602e5cb | [
"MIT"
] | null | null | null | src/hackerearth/dp/NumWaysTopLeftBottomRight.cpp | cool-dude/leetcode | 87bfed73dbdc058f191ab5d4a2f55e2ce602e5cb | [
"MIT"
] | null | null | null | src/hackerearth/dp/NumWaysTopLeftBottomRight.cpp | cool-dude/leetcode | 87bfed73dbdc058f191ab5d4a2f55e2ce602e5cb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define F(i,a,b) for(int i = (int)(a); i <= (int)(b); i++)
#define RF(i,a,b) for(int i = (int)(a); i >= (int)(b); i--)
int main(){
int X,Y; //X:number of rows, Y: number of columns
X = Y = 10; //assuming 10X10 matrix
int dp[X][Y]; //declare the NumWays matrix
... | 32.392857 | 70 | 0.541345 | cool-dude |
40dee549a93fa92a11bd4505d81bb5b3dbc9955d | 3,264 | cpp | C++ | tenncor/serial/src/serialize.cpp | mingkaic/tenncor | f2fa9652e55e9ca206de5e9741fe41bde43791c1 | [
"BSL-1.0",
"MIT"
] | 1 | 2020-12-29T20:38:08.000Z | 2020-12-29T20:38:08.000Z | tenncor/serial/src/serialize.cpp | mingkaic/tenncor | f2fa9652e55e9ca206de5e9741fe41bde43791c1 | [
"BSL-1.0",
"MIT"
] | 16 | 2018-01-28T04:20:19.000Z | 2021-01-23T09:38:52.000Z | tenncor/serial/src/serialize.cpp | mingkaic/tenncor | f2fa9652e55e9ca206de5e9741fe41bde43791c1 | [
"BSL-1.0",
"MIT"
] | null | null | null |
#include "tenncor/serial/serialize.hpp"
#ifdef TENNCOR_SERIAL_SERIALIZE_HPP
namespace serial
{
template <typename CAST, typename T>
static inline teq::TensptrT unpack (teq::Usage usage, teq::Shape shape,
std::string label, const google::protobuf::RepeatedField<T>& data)
{
std::vector<CAST> cdata(data.begin(), dat... | 26.322581 | 80 | 0.684743 | mingkaic |
40df6e6491c376bff8f21a5ad8d9088378633a50 | 13,633 | cpp | C++ | src/mongo/db/exec/sbe/sbe_mkobj_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/exec/sbe/sbe_mkobj_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/exec/sbe/sbe_mkobj_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 45.748322 | 100 | 0.465341 | benety |
40dfe530fd6d1f386317b010cf8256f20ed870a2 | 16,123 | cc | C++ | third_party/css_parser/src/webutil/css/tostring.cc | PeterDaveHello/incubator-pagespeed-mod | 885f4653e204e1152cb3928f0755d93ec5fdceae | [
"Apache-2.0"
] | null | null | null | third_party/css_parser/src/webutil/css/tostring.cc | PeterDaveHello/incubator-pagespeed-mod | 885f4653e204e1152cb3928f0755d93ec5fdceae | [
"Apache-2.0"
] | null | null | null | third_party/css_parser/src/webutil/css/tostring.cc | PeterDaveHello/incubator-pagespeed-mod | 885f4653e204e1152cb3928f0755d93ec5fdceae | [
"Apache-2.0"
] | 1 | 2020-05-20T07:09:05.000Z | 2020-05-20T07:09:05.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 ... | 31.490234 | 80 | 0.589282 | PeterDaveHello |
40e0226b14677becafa8c73f7833aef3cbfd3045 | 48,398 | cpp | C++ | Tools/ToolsRig/TerrainConversion.cpp | djewsbury/XLE | 7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e | [
"MIT"
] | 3 | 2015-12-04T09:16:53.000Z | 2021-05-28T23:22:49.000Z | Tools/ToolsRig/TerrainConversion.cpp | djewsbury/XLE | 7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e | [
"MIT"
] | null | null | null | Tools/ToolsRig/TerrainConversion.cpp | djewsbury/XLE | 7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e | [
"MIT"
] | 2 | 2015-03-03T05:32:39.000Z | 2015-12-04T09:16:54.000Z | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#define _SCL_SECURE_NO_WARNINGS
#include "TerrainConversion.h"
#include "TerrainOp.h"
#include "TerrainShadowOp.h"
#include "../../SceneEngin... | 46.269598 | 200 | 0.57552 | djewsbury |
40e0276213cc148716c41399d21f730851ed2e61 | 1,450 | cpp | C++ | platform/RemotingNG/TCP/src/TransportFactory.cpp | gboyraz/macchina.io | 3e26fea95e87512459693831242b297f0780cc21 | [
"Apache-2.0"
] | 2 | 2020-11-23T23:37:00.000Z | 2020-12-22T04:02:41.000Z | platform/RemotingNG/TCP/src/TransportFactory.cpp | bas524/cmake.macchina.io | 22a21d78f8075fd145b788b41a23603591e91c9f | [
"Apache-2.0"
] | null | null | null | platform/RemotingNG/TCP/src/TransportFactory.cpp | bas524/cmake.macchina.io | 22a21d78f8075fd145b788b41a23603591e91c9f | [
"Apache-2.0"
] | 1 | 2020-11-23T23:37:09.000Z | 2020-11-23T23:37:09.000Z | //
// TransportFactory.cpp
//
// Library: RemotingNG/TCP
// Package: TCP
// Module: TransportFactory
//
// Copyright (c) 2006-2012, Applied Informatics Software Engineering GmbH.
// All rights reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
#include "Poco/RemotingNG/TCP/TransportFactory.h"
#include "Poco/Remo... | 21.323529 | 133 | 0.786897 | gboyraz |
40e0fa0e50680761a1036ba9af473e4a56f28c51 | 462 | cpp | C++ | Testing/testVigenereCipher.cpp | MPAGS-CPP-2019/mpags-day-5-kwalkingshaw | 25d7838114ef251e3561ba6e83ae859ba655d94d | [
"MIT"
] | null | null | null | Testing/testVigenereCipher.cpp | MPAGS-CPP-2019/mpags-day-5-kwalkingshaw | 25d7838114ef251e3561ba6e83ae859ba655d94d | [
"MIT"
] | null | null | null | Testing/testVigenereCipher.cpp | MPAGS-CPP-2019/mpags-day-5-kwalkingshaw | 25d7838114ef251e3561ba6e83ae859ba655d94d | [
"MIT"
] | null | null | null | //! Unit Tests for MPAGSCipher VigenereCipher Class
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "VigenereCipher.hpp"
TEST_CASE("Vigenere Cipher encryption", "[vigenere]") {
VigenereCipher cc{"KEY"};
REQUIRE( cc.applyCipher("HELLOWORLD", CipherMode::Encrypt) == "RIJVSUYVJN");
}
TEST_CASE("Vigenere Cip... | 28.875 | 78 | 0.731602 | MPAGS-CPP-2019 |
40e184d236f9508a0a2a5bc94d4ea22fd213efa9 | 5,186 | cpp | C++ | tdutils/td/utils/Gzip.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | 1 | 2019-10-12T18:08:04.000Z | 2019-10-12T18:08:04.000Z | tdutils/td/utils/Gzip.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | null | null | null | tdutils/td/utils/Gzip.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | 1 | 2020-08-14T12:43:30.000Z | 2020-08-14T12:43:30.000Z | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2019
//
// 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)
//
#include "td/utils/Gzip.h"
char disable_linker_warning_about... | 24.813397 | 111 | 0.658889 | sintyaaaaa |
40e372b192499940daa402e5a935df39436e443e | 575 | cpp | C++ | BZOJ/4269/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/4269/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/4269/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#define rg register
#define rep(i,x,y) for(rg int i=(x);i<=(y);++i)
#define per(i,x,y) for(rg int i=(x);i>=(y);--i)
using namespace std;
namespace brute{
const int N=1e5+10;
int n,a[N],fir,sec;
void dfs(int k,int d){
if(k==n+1){
if(d>fir)sec=fir,fir=d;
if(d<fir&&d>sec)sec=d;
... | 17.96875 | 62 | 0.587826 | sjj118 |
40e46e8ffef28544da55e03006cc59d7ae9f0669 | 11,374 | cpp | C++ | src/Input.cpp | nbkhope/ultimata | 2aa6339e6c7dbc1a3343d459343b41338fd69608 | [
"MIT"
] | null | null | null | src/Input.cpp | nbkhope/ultimata | 2aa6339e6c7dbc1a3343d459343b41338fd69608 | [
"MIT"
] | 6 | 2019-12-28T02:34:35.000Z | 2019-12-30T04:21:46.000Z | src/Input.cpp | nbkhope/ultimata | 2aa6339e6c7dbc1a3343d459343b41338fd69608 | [
"MIT"
] | null | null | null | #include "Input.h"
Input::Input()
{
// Alpha blending <~test~>
alpha = 255;
for (int i = 0; i < 3; i++)
color[i] = 255;
// Change tile <~test~>
testTileId = 17;
// Image Loading Different Types <~test~>
testImageLoad = 0;
// Set initial cursor position
cursor.setPosX(0);
cursor.setPosY(0);
// cursor... | 23.5 | 122 | 0.60313 | nbkhope |
40e70b7bfb7c911e8a4e27976c29302e33c5e6b5 | 5,166 | cc | C++ | google/cloud/storage/examples/storage_bucket_cors_samples.cc | tritone/google-cloud-cpp | fac45971f70205dfeebe88c472c2da1ed4eb8ce5 | [
"Apache-2.0"
] | 3 | 2020-05-27T23:21:23.000Z | 2020-05-31T22:31:53.000Z | google/cloud/storage/examples/storage_bucket_cors_samples.cc | cjrolo/google-cloud-cpp | bf7a432146952c5f3e8f29b84f5bf85eff69d327 | [
"Apache-2.0"
] | 2 | 2020-05-31T22:26:57.000Z | 2020-06-19T00:14:10.000Z | google/cloud/storage/examples/storage_bucket_cors_samples.cc | cjrolo/google-cloud-cpp | bf7a432146952c5f3e8f29b84f5bf85eff69d327 | [
"Apache-2.0"
] | 1 | 2020-05-09T20:12:05.000Z | 2020-05-09T20:12:05.000Z | // Copyright 2020 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 writi... | 39.435115 | 80 | 0.659892 | tritone |
40ea82e41ebbe80c9c8ab3aa1d7dc78bde1528aa | 37,648 | cpp | C++ | modules/humanStructure/main.cpp | robotology/assistive-rehab | 7c148385010483202d91b92d6b20c09996d6452e | [
"BSD-3-Clause"
] | 17 | 2019-01-28T08:38:42.000Z | 2022-03-25T13:23:08.000Z | modules/humanStructure/main.cpp | robotology/assistive-rehab | 7c148385010483202d91b92d6b20c09996d6452e | [
"BSD-3-Clause"
] | 120 | 2019-01-29T10:54:53.000Z | 2022-03-30T13:18:37.000Z | modules/humanStructure/main.cpp | robotology/assistive-rehab | 7c148385010483202d91b92d6b20c09996d6452e | [
"BSD-3-Clause"
] | 5 | 2019-04-29T14:30:40.000Z | 2020-09-10T06:29:48.000Z | /*
* Copyright (C) 2019 iCub Facility - Istituto Italiano di Tecnologia
* Author: Vadim Tikhanoff
* email: vadim.tikhanoff@iit.it
* Permission is granted to copy, distribute, and/or modify this program
* under the terms of the GNU General Public License, version 2 or any
* later version published by the Free Sof... | 40.877307 | 171 | 0.472376 | robotology |
40eb446c05a02e67af4adcba57f35c035efec6f8 | 2,383 | cpp | C++ | firmware/main/DeviceStorage/DeviceStorage.cpp | ARQMS/arqms-device | 8278c693d91b8973997a16e4f72b75e7e9a5fb26 | [
"MIT"
] | 2 | 2022-02-01T18:04:32.000Z | 2022-02-15T08:25:42.000Z | firmware/main/DeviceStorage/DeviceStorage.cpp | ARQMS/arqms-device | 8278c693d91b8973997a16e4f72b75e7e9a5fb26 | [
"MIT"
] | null | null | null | firmware/main/DeviceStorage/DeviceStorage.cpp | ARQMS/arqms-device | 8278c693d91b8973997a16e4f72b75e7e9a5fb26 | [
"MIT"
] | null | null | null | #include "DeviceStorage.h"
#include "esp_wifi.h"
#include "nvs_flash.h"
#include "nvs.h"
// Maximal 15 characters inkl zero-terminator
#define STORAGE_NAMESPACE "HumiConfStore"
#define DEVICE_CONFIG "DeviceConfig"
DeviceStorage::DeviceStorage() :
initialized(false) {
}
DeviceStorage::~DeviceStorage() {
}
void ... | 26.775281 | 87 | 0.73311 | ARQMS |
40ec0170e297b0bdb99c51fc482814537a0aa0eb | 861 | cpp | C++ | src/SineGenerator.cpp | Silexars/VeritasAudio | 2e55914ad040b057fb9ebf7590d7f0b9731e8606 | [
"Apache-2.0"
] | null | null | null | src/SineGenerator.cpp | Silexars/VeritasAudio | 2e55914ad040b057fb9ebf7590d7f0b9731e8606 | [
"Apache-2.0"
] | null | null | null | src/SineGenerator.cpp | Silexars/VeritasAudio | 2e55914ad040b057fb9ebf7590d7f0b9731e8606 | [
"Apache-2.0"
] | null | null | null | #include <Veritas/Audio/SineGenerator.h>
#include <Veritas/Math/Math.h>
#include <Veritas/Audio/ValueNode.h>
using namespace Veritas;
using namespace Audio;
using namespace Math;
SineGenerator::SineGenerator(uint32 framerate, FORMAT format, float32 timespan)
: AudioNode(framerate, format, 1, timespan)
, Audi... | 26.90625 | 79 | 0.67712 | Silexars |
40f0c02b3b5cfa0a3c0a34bc5bfc2078e2644089 | 3,096 | hpp | C++ | Sources/Sampler/py_metropolis_local.hpp | tvieijra/netket | ef3ff32b242f25b6a6ae0f08db1aada85775a2ea | [
"Apache-2.0"
] | 10 | 2019-11-29T02:51:53.000Z | 2021-08-14T18:52:33.000Z | Sources/Sampler/py_metropolis_local.hpp | tvieijra/netket | ef3ff32b242f25b6a6ae0f08db1aada85775a2ea | [
"Apache-2.0"
] | 2 | 2018-11-04T14:38:01.000Z | 2018-11-08T16:56:10.000Z | Sources/Sampler/py_metropolis_local.hpp | tvieijra/netket | ef3ff32b242f25b6a6ae0f08db1aada85775a2ea | [
"Apache-2.0"
] | 6 | 2019-12-02T07:29:01.000Z | 2021-04-04T21:55:21.000Z | // Copyright 2018 The Simons Foundation, Inc. - All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... | 38.7 | 82 | 0.596899 | tvieijra |