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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8d8fc426400408274cebcb3ec3c709656e5fab49 | 129 | cc | C++ | Blob_Lib/assimp-5.2.3/assimp/contrib/draco/src/draco/core/encoder_buffer.cc | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/assimp-5.2.3/assimp/contrib/draco/src/draco/core/encoder_buffer.cc | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/assimp-5.2.3/assimp/contrib/draco/src/draco/core/encoder_buffer.cc | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:5fffe7dcfb630f90043a82485593bcb292d2ca05afb17ced5eee467e1ca00a4a
size 3483
| 32.25 | 75 | 0.883721 | antholuo |
8d9134d27d6d664ccd8d3ca612a8363ec57bfe5f | 45 | cpp | C++ | src/geometry.cpp | MDkil/basketball-game-opengl | 4b32bf1943a15de8bab353728868befd38975b84 | [
"MIT"
] | null | null | null | src/geometry.cpp | MDkil/basketball-game-opengl | 4b32bf1943a15de8bab353728868befd38975b84 | [
"MIT"
] | null | null | null | src/geometry.cpp | MDkil/basketball-game-opengl | 4b32bf1943a15de8bab353728868befd38975b84 | [
"MIT"
] | null | null | null | #include <cmath>
#include "geometry.h"
| 9 | 22 | 0.622222 | MDkil |
8d91dcf6c28fa8f3f45f3d7c9363c92543f17821 | 11,908 | cpp | C++ | Src/lunaui/launcher/elements/buttons/pixbutton.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | 3 | 2018-11-16T14:51:17.000Z | 2019-11-21T10:55:24.000Z | Src/lunaui/launcher/elements/buttons/pixbutton.cpp | penk/luna-sysmgr | 60c7056a734cdb55a718507f3a739839c9d74edf | [
"Apache-2.0"
] | 1 | 2021-02-20T13:12:15.000Z | 2021-02-20T13:12:15.000Z | Src/lunaui/launcher/elements/buttons/pixbutton.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | null | null | null | /* @@@LICENSE
*
* Copyright (c) 2011-2012 Hewlett-Packard Development Company, L.P.
*
* 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
*
* Unl... | 24.964361 | 131 | 0.730685 | ericblade |
8d92d8fffc3470695b9e4494e7219396485782eb | 1,731 | hpp | C++ | src/PointwiseFunctions/Xcts/LongitudinalOperator.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | src/PointwiseFunctions/Xcts/LongitudinalOperator.hpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | src/PointwiseFunctions/Xcts/LongitudinalOperator.hpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include "DataStructures/Tensor/Tensor.hpp"
#include "Utilities/Gsl.hpp"
namespace Xcts {
/*!
* \brief The longitudinal operator, or vector gradient, \f$(L\beta)^{ij}\f$
*
* Computes the longitudinal operator
*... | 32.055556 | 76 | 0.658001 | nilsvu |
8d932e956962c6e39add6b89bcc3bc55c6353f15 | 1,252 | cpp | C++ | SYCL/InorderQueue/in_order_property_trace.cpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 10 | 2020-08-04T04:29:03.000Z | 2022-02-23T21:43:56.000Z | SYCL/InorderQueue/in_order_property_trace.cpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 519 | 2020-09-15T07:40:51.000Z | 2022-03-31T20:51:15.000Z | SYCL/InorderQueue/in_order_property_trace.cpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 117 | 2020-06-24T13:11:04.000Z | 2022-03-23T15:44:23.000Z | // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia
// SYCL in order and default queue property trace test
//
// Pa... | 36.823529 | 83 | 0.632588 | gmlueck |
8d93378589a26e7d82e76551abd093bea67a78bc | 3,156 | cpp | C++ | stromx/runtime/test/XmlWriterTest.cpp | roteroktober/stromx | e081a35114f68a77e99a4761946b8b8c64eb591a | [
"Apache-2.0"
] | null | null | null | stromx/runtime/test/XmlWriterTest.cpp | roteroktober/stromx | e081a35114f68a77e99a4761946b8b8c64eb591a | [
"Apache-2.0"
] | null | null | null | stromx/runtime/test/XmlWriterTest.cpp | roteroktober/stromx | e081a35114f68a77e99a4761946b8b8c64eb591a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2011 Thomas Fidler
*
* 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... | 37.129412 | 140 | 0.652091 | roteroktober |
8d952902bbe215359c95ad445840c3e4f619f906 | 9,204 | cpp | C++ | C++/assign5.cpp | Susmita-18/Hacktoberfest-Codes | 91504c2c557a8ef5999d903a132fa2fe3847abc9 | [
"MIT"
] | 6 | 2019-10-01T06:23:59.000Z | 2020-10-11T13:57:34.000Z | C++/assign5.cpp | Susmita-18/Hacktoberfest-Codes | 91504c2c557a8ef5999d903a132fa2fe3847abc9 | [
"MIT"
] | null | null | null | C++/assign5.cpp | Susmita-18/Hacktoberfest-Codes | 91504c2c557a8ef5999d903a132fa2fe3847abc9 | [
"MIT"
] | 23 | 2019-09-30T16:52:53.000Z | 2020-10-14T06:52:46.000Z | /*
Name - Avik Ghosh
ID - 181001001039
Batch - BCS3A
*/
//Triangle drawing using Bresenham line drawing algorithm and also interior colouring using Flood Fill algorithm.
#include<stdio.h>
#include<graphics.h>
#include<conio.h>
int n=0,size;
int x1,y1,x2,y2,x3,y3;
int *pixels=NULL;
static int m=0;
void ... | 26 | 242 | 0.488918 | Susmita-18 |
8d9534020f2b50d211a0e26d85cd9e9a3d14c9bc | 1,368 | cpp | C++ | unit-test/server/PushImp.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 386 | 2018-09-11T06:17:10.000Z | 2022-03-31T05:59:41.000Z | unit-test/server/PushImp.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 128 | 2018-09-12T03:43:33.000Z | 2022-03-24T10:03:54.000Z | unit-test/server/PushImp.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 259 | 2018-09-19T08:50:37.000Z | 2022-03-11T07:17:56.000Z | #include "PushImp.h"
#include "servant/Application.h"
#include "PushThread.h"
using namespace std;
//////////////////////////////////////////////////////
void PushImp::initialize()
{
//initialize servant here:
//...
}
//////////////////////////////////////////////////////
void PushImp::destroy()
{
//des... | 24 | 92 | 0.630848 | cSingleboy |
8d959c4d045e85bae8a3a2abd9c40c26c3200bca | 560 | cpp | C++ | TP2-9508/executer.cpp | Jonathan-R0/TallerDeProgramacion | 80038d06736c729310ff4c2a54195fb2d1c79ab7 | [
"MIT"
] | null | null | null | TP2-9508/executer.cpp | Jonathan-R0/TallerDeProgramacion | 80038d06736c729310ff4c2a54195fb2d1c79ab7 | [
"MIT"
] | null | null | null | TP2-9508/executer.cpp | Jonathan-R0/TallerDeProgramacion | 80038d06736c729310ff4c2a54195fb2d1c79ab7 | [
"MIT"
] | null | null | null | #include "executer.h"
#include <bits/stdc++.h>
#include <fstream>
#include <iostream>
#include <vector>
#include "eBPF.h"
#include "fileFountain.h"
#include "results.h"
#include "thread.h"
void Executer::run(int argc, char* argv[]) {
FileFountain files(argc, argv);
Results results;
holders.reserve(numberOfThr... | 18.666667 | 48 | 0.651786 | Jonathan-R0 |
8d9f3471534ef8055e0e483b379536953a11da77 | 12,918 | cpp | C++ | cpp/godot-cpp/src/gen/Image.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/src/gen/Image.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/Image.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "Image.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
#include "Image.hpp"
namespace godot {
Image::___method_bindings Image::___mb = {};
void Image::___init_method_bindings() {
___mb.mb__get_data = godot::... | 44.239726 | 191 | 0.777675 | GDNative-Gradle |
8da0089fb86c3056043f83b8f3d3d1d172208068 | 5,408 | cc | C++ | plugins/experimental/inliner/ats-inliner.cc | garfieldonly/ats_git | 940ff5c56bebabb96130a55c2a17212c5c518138 | [
"Apache-2.0"
] | 1 | 2016-06-12T02:01:06.000Z | 2016-06-12T02:01:06.000Z | plugins/experimental/inliner/ats-inliner.cc | mingzym/trafficserver | a01c3a357b4ff9193f2e2a8aee48e3751ef2177a | [
"Apache-2.0"
] | null | null | null | plugins/experimental/inliner/ats-inliner.cc | mingzym/trafficserver | a01c3a357b4ff9193f2e2a8aee48e3751ef2177a | [
"Apache-2.0"
] | null | null | null | /** @file
Inlines base64 images from the ATS cache
@section license License
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 f... | 24.807339 | 116 | 0.689349 | garfieldonly |
8da6a2cc99d876674dea5cc8f028dc3588ff395b | 24,286 | cc | C++ | cc/paint/image_transfer_cache_entry.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | cc/paint/image_transfer_cache_entry.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | cc/paint/image_transfer_cache_entry.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/paint/image_transfer_cache_entry.h"
#include <array>
#include <type_traits>
#include <utility>
#include "base/callback_helpers.h"
#incl... | 37.887676 | 80 | 0.705427 | iridium-browser |
8da6a7f8fec506fe510e405714677f7d04af4b88 | 4,067 | cpp | C++ | simple/rtimer-impl.cpp | fabricetriboix/asio-tutorial | 06f1a9074343b2ac4a774abbfcae1fb3a39eba25 | [
"Unlicense"
] | null | null | null | simple/rtimer-impl.cpp | fabricetriboix/asio-tutorial | 06f1a9074343b2ac4a774abbfcae1fb3a39eba25 | [
"Unlicense"
] | null | null | null | simple/rtimer-impl.cpp | fabricetriboix/asio-tutorial | 06f1a9074343b2ac4a774abbfcae1fb3a39eba25 | [
"Unlicense"
] | null | null | null | #include "rtimer-impl.hpp"
#include <cstring>
#include <cerrno>
#include <stdexcept>
#include <boost/assert.hpp>
#include <boost/log/trivial.hpp>
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>
namespace rtimer {
void rtimer_handler(union sigval arg)
{
rtimer_impl_t* impl = static_... | 31.045802 | 79 | 0.582493 | fabricetriboix |
8da988713e94ad72f06845e097d443b1cf8df7f1 | 492 | hpp | C++ | include/system/system.hpp | jthomperoo/JamJarNative | 20105167f8a81b924356704ac5b982e768e86a3f | [
"MIT"
] | 1 | 2019-10-27T22:30:37.000Z | 2019-10-27T22:30:37.000Z | include/system/system.hpp | jthomperoo/JamJarNative | 20105167f8a81b924356704ac5b982e768e86a3f | [
"MIT"
] | 14 | 2020-02-01T22:48:56.000Z | 2020-02-06T17:41:29.000Z | include/system/system.hpp | jthomperoo/JamJarNative | 20105167f8a81b924356704ac5b982e768e86a3f | [
"MIT"
] | null | null | null | #ifndef SYSTEM_SYSTEM_HPP
#define SYSTEM_SYSTEM_HPP
#include "hash.hpp"
#include "message/message_bus.hpp"
#include "message/subscriber.hpp"
namespace JamJar {
class System : public Subscriber {
protected:
MessageBus *m_messageBus;
virtual void update(float deltaTime){};
public:
constexpr static uint... | 21.391304 | 69 | 0.747967 | jthomperoo |
8daa7c7e00602cff306443d48ac0bac6e1abf7eb | 800 | cpp | C++ | tests/partial_sum.cpp | davidhunter22/ranges | 86d594ed4b2ac0f8659ca16816e514450e9ab8b0 | [
"CC0-1.0"
] | 48 | 2021-04-07T11:50:32.000Z | 2022-03-12T00:49:56.000Z | tests/partial_sum.cpp | davidhunter22/ranges | 86d594ed4b2ac0f8659ca16816e514450e9ab8b0 | [
"CC0-1.0"
] | 18 | 2021-05-14T17:13:41.000Z | 2022-02-05T04:06:11.000Z | tests/partial_sum.cpp | davidhunter22/ranges | 86d594ed4b2ac0f8659ca16816e514450e9ab8b0 | [
"CC0-1.0"
] | 6 | 2021-05-19T14:35:06.000Z | 2022-03-12T00:49:58.000Z | #include "tl/partial_sum.hpp"
#include "tl/zip.hpp"
#include <catch2/catch.hpp>
#include <vector>
TEST_CASE("partial sum") {
std::vector<int> v{ 0,1,2,3,4 };
std::vector<int> res{
0, 1, 3, 6, 10
};
for (auto&& [a, b] : tl::views::zip(tl::views::partial_sum(v, std::plus{}), res)) {
REQUIRE(a ==... | 21.621622 | 92 | 0.52875 | davidhunter22 |
8dad3b88529c63dd0688820d1b1a2f07cd98825e | 17,201 | cpp | C++ | LivingCity/pandana_ch/contraction_hierarchies/src/libch.cpp | cb-cities/microsim | 7142f447f2fa408f063b36f52fcd6120e9f84197 | [
"BSD-3-Clause"
] | 2 | 2021-01-07T11:46:55.000Z | 2021-01-10T12:27:57.000Z | LivingCity/pandana_ch/contraction_hierarchies/src/libch.cpp | cb-cities/microsim | 7142f447f2fa408f063b36f52fcd6120e9f84197 | [
"BSD-3-Clause"
] | null | null | null | LivingCity/pandana_ch/contraction_hierarchies/src/libch.cpp | cb-cities/microsim | 7142f447f2fa408f063b36f52fcd6120e9f84197 | [
"BSD-3-Clause"
] | null | null | null | /*
open source routing machine
Copyright (C) Dennis Luxen, others 2010
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU AFFERO General Public License as published by
the Free Software Foundation; either version 3 of the License, or
any later version.
This prog... | 43.0025 | 174 | 0.621359 | cb-cities |
8dadfbd8e66a4c8ad0a337f91d480060f1b04c57 | 6,767 | cpp | C++ | usebitcoins/price_oracle.cpp | fakecoinbase/proprietaryslashusebitcoins | fcfa5c37ca1b037b45d09f5040eb1d79e72f62c6 | [
"Apache-2.0"
] | 2 | 2020-08-05T17:19:12.000Z | 2022-01-07T14:37:10.000Z | usebitcoins/price_oracle.cpp | fakecoinbase/proprietaryslashusebitcoins | fcfa5c37ca1b037b45d09f5040eb1d79e72f62c6 | [
"Apache-2.0"
] | null | null | null | usebitcoins/price_oracle.cpp | fakecoinbase/proprietaryslashusebitcoins | fcfa5c37ca1b037b45d09f5040eb1d79e72f62c6 | [
"Apache-2.0"
] | null | null | null | #include "usebitcoins/price_oracle.hpp"
#include "usebitcoins/mozilla_cacert.hpp"
#include <algorithm>
#include <curl/curl.h>
#include <iostream>
#include <memory>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <rapidjson/document.h>
#include <stdexcept>
#include <string>
#include <tuple>
#include <vector>
... | 30.759091 | 78 | 0.680213 | fakecoinbase |
8db47ea0d84c274ce2853bd303b72fbae609647c | 3,175 | cpp | C++ | src/CursATE/Screen/detail/Marks.ut.cpp | qiagen/LogATE | aa43595c89bf3bcaa302d8406e5ad789efc0e035 | [
"BSD-2-Clause"
] | null | null | null | src/CursATE/Screen/detail/Marks.ut.cpp | qiagen/LogATE | aa43595c89bf3bcaa302d8406e5ad789efc0e035 | [
"BSD-2-Clause"
] | null | null | null | src/CursATE/Screen/detail/Marks.ut.cpp | qiagen/LogATE | aa43595c89bf3bcaa302d8406e5ad789efc0e035 | [
"BSD-2-Clause"
] | 3 | 2021-01-12T18:52:49.000Z | 2021-01-19T17:48:50.000Z | #include <doctest/doctest.h>
#include "CursATE/Screen/detail/Marks.hpp"
#include "LogATE/Tree/Filter/AcceptAll.hpp"
#include "LogATE/TestHelpers.ut.hpp"
using CursATE::Screen::detail::Marks;
using LogATE::makeKey;
namespace
{
TEST_SUITE("CursATE::Screen::detail::Marks")
{
struct Fixture
{
auto makeNode() const
{... | 23.345588 | 104 | 0.615433 | qiagen |
8db4917ed6d49eebc5c5d7deb6ae513bd5820801 | 14,824 | hpp | C++ | boost/numeric/ublasx/operation/min.hpp | comcon1/boost-ublasx | 290b92b643a944825df99bece3468a4f81518056 | [
"BSL-1.0"
] | null | null | null | boost/numeric/ublasx/operation/min.hpp | comcon1/boost-ublasx | 290b92b643a944825df99bece3468a4f81518056 | [
"BSL-1.0"
] | null | null | null | boost/numeric/ublasx/operation/min.hpp | comcon1/boost-ublasx | 290b92b643a944825df99bece3468a4f81518056 | [
"BSL-1.0"
] | null | null | null | /**
* \file boost/numeric/ublasx/operation/min.hpp
*
* \brief The \c min operation.
*
* <hr/>
*
* Copyright (c) 2010-2011, Marco Guazzone
*
* 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)
*
* \author Ma... | 28.617761 | 141 | 0.7386 | comcon1 |
8db55372d7fc7443e71fd2ccb5aa44aa4cdba025 | 3,091 | cpp | C++ | src/Graniastoslup.cpp | HPytkiewicz/Dron2 | 1c959a63022b05fa1ee9eb32179891bfd59996b6 | [
"MIT"
] | null | null | null | src/Graniastoslup.cpp | HPytkiewicz/Dron2 | 1c959a63022b05fa1ee9eb32179891bfd59996b6 | [
"MIT"
] | null | null | null | src/Graniastoslup.cpp | HPytkiewicz/Dron2 | 1c959a63022b05fa1ee9eb32179891bfd59996b6 | [
"MIT"
] | null | null | null | #include "Graniastoslup.hh"
void Graniastoslup::rysuj()
{
this->usun();
(*this).ustaw_globalnie();
this->id = this->lacze->draw_polyhedron(wierzcholki_globalnie, kolor);
}
void Graniastoslup::usun()
{
this->lacze->erase_shape(this->id);
}
void Graniastoslup::ustaw_globalnie()
{
this->wierzcholki_... | 47.553846 | 161 | 0.657716 | HPytkiewicz |
8db7c98b75ce33640e5ebd96fc9dd5e6b6b5d27a | 6,553 | cpp | C++ | test/common/binaryreader.cpp | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 37 | 2020-06-27T18:50:48.000Z | 2020-08-02T14:13:51.000Z | test/common/binaryreader.cpp | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | null | null | null | test/common/binaryreader.cpp | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 1 | 2020-07-14T13:32:15.000Z | 2020-07-14T13:32:15.000Z | /*
* Copyright (c) 2020-2022 The reone project contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | 39.957317 | 148 | 0.664123 | seedhartha |
8db90828360bf22dba8e8fdb0f4859b2f5b28d9a | 519 | cpp | C++ | judges/codeforces/exercises/bus_to_udayland.cpp | eduardonunes2525/competitive-programming | 0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b | [
"MIT"
] | null | null | null | judges/codeforces/exercises/bus_to_udayland.cpp | eduardonunes2525/competitive-programming | 0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b | [
"MIT"
] | 1 | 2018-10-17T11:53:02.000Z | 2018-10-17T11:54:42.000Z | judges/codeforces/exercises/bus_to_udayland.cpp | eduardonunes2525/competitive-programming | 0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b | [
"MIT"
] | 1 | 2018-10-17T12:14:04.000Z | 2018-10-17T12:14:04.000Z | #include<bits/stdc++.h>
using namespace std;
int main(){
int n; cin >> n;
vector<string> v;
string s;
bool b = false;
for(int i = 0; i < n; i++){
cin >> s; v.push_back(s);
if(s[0]=='O' and s[1]=='O' and !b) { b=true; v[i][0]='+'; v[i][1]='+'; }
else if(s[3]=='O' and s[4]==... | 21.625 | 85 | 0.414258 | eduardonunes2525 |
8db9369e9e20744cda77780c510e28c8bfa976de | 532 | hpp | C++ | 3rdparty/diy/include/diy/mpi/request.hpp | wgq-iapcm/Parvoro- | 9459e1081ff948628358c59207d5fcd8ce60ef8f | [
"BSD-3-Clause"
] | 43 | 2016-10-23T14:52:59.000Z | 2022-03-18T20:47:06.000Z | 3rdparty/diy/include/diy/mpi/request.hpp | wgq-iapcm/Parvoro- | 9459e1081ff948628358c59207d5fcd8ce60ef8f | [
"BSD-3-Clause"
] | 39 | 2016-11-25T22:14:09.000Z | 2022-01-13T21:44:51.000Z | 3rdparty/diy/include/diy/mpi/request.hpp | wgq-iapcm/Parvoro- | 9459e1081ff948628358c59207d5fcd8ce60ef8f | [
"BSD-3-Clause"
] | 21 | 2016-11-28T22:08:36.000Z | 2022-03-16T10:31:32.000Z | #ifndef DIY_MPI_REQUEST_HPP
#define DIY_MPI_REQUEST_HPP
#include "config.hpp"
#include "status.hpp"
#include "optional.hpp"
namespace diy
{
namespace mpi
{
struct request
{
DIY_MPI_EXPORT_FUNCTION request();
DIY_MPI_EXPORT_FUNCTION status wait();
DIY_MPI_EXPORT_FUNCTION opti... | 17.733333 | 55 | 0.68985 | wgq-iapcm |
8dbc83e883f0670aa767bc75ad6ebd854b97548e | 831 | cpp | C++ | Spoj_problems/ADDREV/solution.cpp | gbrls/CompetitiveCode | b6f1b817a655635c3c843d40bd05793406fea9c6 | [
"MIT"
] | 165 | 2020-10-03T08:01:11.000Z | 2022-03-31T02:42:08.000Z | Spoj_problems/ADDREV/solution.cpp | gbrls/CompetitiveCode | b6f1b817a655635c3c843d40bd05793406fea9c6 | [
"MIT"
] | 383 | 2020-10-03T07:39:11.000Z | 2021-11-20T07:06:35.000Z | Spoj_problems/ADDREV/solution.cpp | gbrls/CompetitiveCode | b6f1b817a655635c3c843d40bd05793406fea9c6 | [
"MIT"
] | 380 | 2020-10-03T08:05:04.000Z | 2022-03-19T06:56:59.000Z | #include<bits/stdc++.h>
using namespace std;
#define jaadu ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
typedef unsigned long long int uli;
/*
The approach is to use another number to compute the reverse of number.
Time Complexity: O(Log(n)) where n is the input number.
*/
int reverse(int num){
int res =... | 25.181818 | 116 | 0.67148 | gbrls |
8dbdf4471edd2e4882cd534f177cb12287c5fa91 | 31,239 | cpp | C++ | apps/OpenSpace/ext/launcher/src/profile/actiondialog.cpp | alex-w/OpenSpace | 4c9337a4651d10f9ada3acb81fe3ecaf71196be7 | [
"MIT"
] | 489 | 2015-07-14T22:23:10.000Z | 2022-03-30T07:59:47.000Z | apps/OpenSpace/ext/launcher/src/profile/actiondialog.cpp | alex-w/OpenSpace | 4c9337a4651d10f9ada3acb81fe3ecaf71196be7 | [
"MIT"
] | 1,575 | 2016-07-12T18:10:22.000Z | 2022-03-31T20:12:55.000Z | apps/OpenSpace/ext/launcher/src/profile/actiondialog.cpp | alex-w/OpenSpace | 4c9337a4651d10f9ada3acb81fe3ecaf71196be7 | [
"MIT"
] | 101 | 2016-03-01T02:22:01.000Z | 2022-02-25T15:36:27.000Z | /*****************************************************************************************
* *
* OpenSpace *
* ... | 43.028926 | 90 | 0.628253 | alex-w |
8dbec528ded4d7abc34bf1f7d260f94e3428d12a | 986 | cc | C++ | blaze/blaze/test/common/types_test.cc | Ru-Xiang/x-deeplearning | 04cc0497150920c64b06bb8c314ef89977a3427a | [
"Apache-2.0"
] | 4,071 | 2018-12-13T04:17:38.000Z | 2022-03-30T03:29:35.000Z | blaze/blaze/test/common/types_test.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 359 | 2018-12-21T01:14:57.000Z | 2022-02-15T07:18:02.000Z | blaze/blaze/test/common/types_test.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 1,054 | 2018-12-20T09:57:42.000Z | 2022-03-29T07:16:53.000Z | /*
* \file types_test.cc
* \brief The types test module
*/
#include "gtest/gtest.h"
#include <math.h>
#include "blaze/common/types.h"
namespace blaze {
TEST(TestFloat16, Float16) {
float a = 1.0;
float16 a_16 = a;
float a_b = a_16;
LOG_INFO("a_b=%f", a_b);
EXPECT_FLOAT_EQ(a_b, a);
a = 2.0;
a_16 = ... | 22.409091 | 53 | 0.691684 | Ru-Xiang |
8dbf326ba34733e32e91e165974eece0ff36d640 | 573 | cpp | C++ | src/main.cpp | jthelin/cause_crash_dump | f791de08bf6fa3fc4d8a006cefe305f13d3bc875 | [
"MIT"
] | 1 | 2021-12-31T06:12:17.000Z | 2021-12-31T06:12:17.000Z | src/main.cpp | jthelin/cause_crash_dump | f791de08bf6fa3fc4d8a006cefe305f13d3bc875 | [
"MIT"
] | null | null | null | src/main.cpp | jthelin/cause_crash_dump | f791de08bf6fa3fc4d8a006cefe305f13d3bc875 | [
"MIT"
] | null | null | null | #include <iostream>
int main() {
std::cout << "This program will core dump in ...." << std::endl;
for (auto i: {3, 2, 1, 0}) {
if (i != 0) {
std::cout << "... " << i << " " << std::flush;
} else {
// Ensure we flush output message before we crash
std::cout <<... | 27.285714 | 68 | 0.429319 | jthelin |
8dbf701ab66298d8b13da5828d6cceab6aa8ad8c | 23,720 | cpp | C++ | dss_town/src/sys/msys_glext.cpp | mudlord/demos | 359bada56a27ddbd4fcb846c0ff34bc474cb7f05 | [
"Unlicense"
] | 20 | 2017-12-12T16:37:25.000Z | 2022-02-19T10:35:46.000Z | dss_town/src/sys/msys_glext.cpp | mudlord/demos | 359bada56a27ddbd4fcb846c0ff34bc474cb7f05 | [
"Unlicense"
] | null | null | null | dss_town/src/sys/msys_glext.cpp | mudlord/demos | 359bada56a27ddbd4fcb846c0ff34bc474cb7f05 | [
"Unlicense"
] | 7 | 2017-12-29T23:19:18.000Z | 2021-08-17T09:53:15.000Z | #define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#include <windows.h>
#include <GL/gl.h>
#include <gl/GLU.h>
#include "glext.h"
#include <string.h>
#include "ddraw.h"
#include "msys_texgen.h"
#include "msys.h"
//--- d a t a ---------------------------------------------------------------
#include "msys_glext.h"
... | 26.181015 | 164 | 0.665556 | mudlord |
8dbf97d5370f1cdffbfad39243fcfd0cefb30720 | 9,645 | cc | C++ | src/generators/net_caffe_convnet.cc | quadeare/deepdetect | eaf04210642fa22696d1b1fa0af1e7b9e9d25c2f | [
"Apache-2.0"
] | 2 | 2018-08-11T20:56:47.000Z | 2021-08-25T05:11:46.000Z | src/generators/net_caffe_convnet.cc | quadeare/deepdetect | eaf04210642fa22696d1b1fa0af1e7b9e9d25c2f | [
"Apache-2.0"
] | null | null | null | src/generators/net_caffe_convnet.cc | quadeare/deepdetect | eaf04210642fa22696d1b1fa0af1e7b9e9d25c2f | [
"Apache-2.0"
] | null | null | null | /**
* DeepDetect
* Copyright (c) 2014-2017 Emmanuel Benazera
* Author: Emmanuel Benazera <beniz@droidnik.fr>
*
* This file is part of deepdetect.
*
* deepdetect is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Softw... | 36.534091 | 123 | 0.668533 | quadeare |
8dc1a52519b7ed8005ac6e5f42507011325627af | 5,017 | hpp | C++ | include/librealsense2/hpp/rs_options.hpp | GameHuiTea/librealsense | 6c4fd2dbb082e7765c5a9f7c9f5b14275fda565c | [
"Apache-2.0"
] | 19 | 2019-04-17T23:33:21.000Z | 2022-03-02T18:40:14.000Z | include/librealsense2/hpp/rs_options.hpp | GameHuiTea/librealsense | 6c4fd2dbb082e7765c5a9f7c9f5b14275fda565c | [
"Apache-2.0"
] | 4 | 2019-05-15T10:42:37.000Z | 2021-12-05T06:36:18.000Z | include/librealsense2/hpp/rs_options.hpp | GameHuiTea/librealsense | 6c4fd2dbb082e7765c5a9f7c9f5b14275fda565c | [
"Apache-2.0"
] | 3 | 2021-04-06T07:15:35.000Z | 2022-03-03T10:40:44.000Z | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
#ifndef LIBREALSENSE_RS2_OPTIONS_HPP
#define LIBREALSENSE_RS2_OPTIONS_HPP
#include "rs_types.hpp"
namespace rs2
{
class options
{
public:
/**
* check if particular opti... | 30.969136 | 107 | 0.552123 | GameHuiTea |
8dc4c128dd04faf3388ec6339cfa11a79e53ed37 | 4,274 | hxx | C++ | include/rtkConditionalMedianImageFilter.hxx | kabcode/RTK | e5cbec4f2953abd3ba3bd1b5e7af30357af28674 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | include/rtkConditionalMedianImageFilter.hxx | kabcode/RTK | e5cbec4f2953abd3ba3bd1b5e7af30357af28674 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | include/rtkConditionalMedianImageFilter.hxx | kabcode/RTK | e5cbec4f2953abd3ba3bd1b5e7af30357af28674 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
*
* Copyright RTK Consortium
*
* 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.apa... | 36.529915 | 108 | 0.703088 | kabcode |
44f0fb29baa82d0b25c0b908685d18206c7d6c03 | 675 | cpp | C++ | Krakoa/Source/Input/Input.cpp | KingKiller100/Krakatoa-Engine | ff07f7328d428c04e06b561b6afd315eea39865c | [
"Apache-2.0"
] | 1 | 2020-04-05T13:37:48.000Z | 2020-04-05T13:37:48.000Z | Krakoa/Source/Input/Input.cpp | KingKiller100/Krakoa-Engine | 0f2a5a5109e256a384abe8dc21eacaa45c1de610 | [
"Apache-2.0"
] | null | null | null | Krakoa/Source/Input/Input.cpp | KingKiller100/Krakoa-Engine | 0f2a5a5109e256a384abe8dc21eacaa45c1de610 | [
"Apache-2.0"
] | null | null | null | #include "Precompile.hpp"
#include "Input.hpp"
#include "InputManager.hpp"
namespace krakoa::input
{
bool IsKeyPressed(KeyCode keycode) noexcept
{
return InputManager::IsKeyPressed(keycode);
}
bool IsKeyReleased(KeyCode keycode) noexcept
{
return InputManager::IsKeyReleased(keycode);
}
float GetMousePos... | 17.307692 | 56 | 0.752593 | KingKiller100 |
44f45594b5f07f3d55c2b2d4ba97f59b01bdc956 | 29,586 | hpp | C++ | include/GlobalNamespace/PlayerSpecificSettings.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/PlayerSpecificSettings.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/PlayerSpecificSettings.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: EnvironmentEff... | 71.636804 | 1,186 | 0.768945 | marksteward |
44f9102b7f6ad6f6c08ac29fbedbce4560e1480d | 4,703 | cpp | C++ | GrpAdminGetFeatCmd/invalidFieldInCmd_r10b.cpp | NirmalaArun/tnvme | c5c929596c49f3e88947f42b3d8d42c95d95aca0 | [
"Apache-2.0"
] | null | null | null | GrpAdminGetFeatCmd/invalidFieldInCmd_r10b.cpp | NirmalaArun/tnvme | c5c929596c49f3e88947f42b3d8d42c95d95aca0 | [
"Apache-2.0"
] | null | null | null | GrpAdminGetFeatCmd/invalidFieldInCmd_r10b.cpp | NirmalaArun/tnvme | c5c929596c49f3e88947f42b3d8d42c95d95aca0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2011, 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 35.097015 | 92 | 0.60068 | NirmalaArun |
44faa94f0d99dddc5b004ba7098c90e38f064f68 | 20,165 | cpp | C++ | code/external/ImageLib/ext/bc7enc_rdo/utils.cpp | LiamTyler/Progression | 35680b47dcd4481fe80e2310c722354ccfa53ed8 | [
"MIT"
] | 3 | 2020-01-30T19:20:05.000Z | 2021-06-30T13:24:51.000Z | code/external/ImageLib/ext/bc7enc_rdo/utils.cpp | LiamTyler/Progression | 35680b47dcd4481fe80e2310c722354ccfa53ed8 | [
"MIT"
] | 1 | 2021-03-31T16:12:45.000Z | 2021-03-31T16:12:45.000Z | code/external/ImageLib/ext/bc7enc_rdo/utils.cpp | LiamTyler/Progression | 35680b47dcd4481fe80e2310c722354ccfa53ed8 | [
"MIT"
] | 2 | 2020-03-30T05:18:46.000Z | 2021-03-31T16:13:08.000Z | // File: utils.cpp
#include "utils.h"
#include "lodepng.h"
namespace utils
{
#define FLOOD_PUSH(y, xl, xr, dy) if (((y + (dy)) >= 0) && ((y + (dy)) < (int)m_height)) { stack.push_back(fill_segment(y, xl, xr, dy)); }
// See http://www.realtimerendering.com/resources/GraphicsGems/gems/SeedFill.c
uint32_t image_u8::... | 22.68279 | 177 | 0.601141 | LiamTyler |
44fed18dd6a844e9eaee8ca7ed1b43f77bf8d3f4 | 2,837 | cpp | C++ | test/cpp/api/static.cpp | YifanShenSZ/pytorch | b4232f7cbe407909f9d95b91304c73fdc4c66a50 | [
"Intel"
] | null | null | null | test/cpp/api/static.cpp | YifanShenSZ/pytorch | b4232f7cbe407909f9d95b91304c73fdc4c66a50 | [
"Intel"
] | null | null | null | test/cpp/api/static.cpp | YifanShenSZ/pytorch | b4232f7cbe407909f9d95b91304c73fdc4c66a50 | [
"Intel"
] | null | null | null | #include <gtest/gtest.h>
#include <c10/util/irange.h>
#include <torch/csrc/utils/variadic.h>
#include <torch/detail/static.h>
#include <torch/torch.h>
#include <string>
#include <vector>
template <
typename T,
typename = torch::enable_if_t<!torch::detail::is_module<T>::value>>
bool f(T&& m) {
return false;... | 27.543689 | 80 | 0.683821 | YifanShenSZ |
44fffc6be088e66a3c3e4c46f2583fd7ef765bec | 1,612 | cpp | C++ | Algorithms/1416.RestoreTheArray/solution.cpp | stdstring/leetcode | 84e6bade7d6fc1a737eb6796cb4e2565440db5e3 | [
"MIT"
] | null | null | null | Algorithms/1416.RestoreTheArray/solution.cpp | stdstring/leetcode | 84e6bade7d6fc1a737eb6796cb4e2565440db5e3 | [
"MIT"
] | null | null | null | Algorithms/1416.RestoreTheArray/solution.cpp | stdstring/leetcode | 84e6bade7d6fc1a737eb6796cb4e2565440db5e3 | [
"MIT"
] | null | null | null | #include <cstdint>
#include <string>
#include <vector>
#include "gtest/gtest.h"
namespace
{
class Solution
{
public:
int numberOfArrays(std::string const &s, int k) const
{
constexpr size_t modValue = 1000000007;
std::vector<size_t> countData(s.size() + 1, 0);
countData[0] = 1;
... | 26 | 104 | 0.57134 | stdstring |
7804089ab9fe821945f2a4cf546726180004ac41 | 4,008 | cpp | C++ | src/prod/src/ServiceModel/ServiceTypeQueryResult.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/ServiceModel/ServiceTypeQueryResult.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/ServiceModel/ServiceTypeQueryResult.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// 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... | 40.897959 | 155 | 0.75 | gridgentoo |
78046d7181f89d96dc6edc0734443fdb0c4f318f | 176 | cpp | C++ | test_package/test_package.cpp | madebr/conan-glslang | 28dff50b3311bd5a0ed56e9eebdd44523632366c | [
"MIT"
] | 1 | 2019-08-19T10:19:13.000Z | 2019-08-19T10:19:13.000Z | test_package/test_package.cpp | madebr/conan-glslang | 28dff50b3311bd5a0ed56e9eebdd44523632366c | [
"MIT"
] | null | null | null | test_package/test_package.cpp | madebr/conan-glslang | 28dff50b3311bd5a0ed56e9eebdd44523632366c | [
"MIT"
] | null | null | null | #include <SPIRV/SpvBuilder.h>
int main()
{
spv::SpvBuildLogger logger;
spv::Builder builder(1, 1, &logger);
builder.setSourceFile("source.spv");
return 0;
}
| 14.666667 | 40 | 0.647727 | madebr |
78053a25ee1ec65194dbed359c92e08fdac12b52 | 16,179 | cpp | C++ | src/ofxShader.cpp | autr/ofxShader | 5278af2a433cf5c8e5d97fffe5141f06147f1783 | [
"MIT"
] | null | null | null | src/ofxShader.cpp | autr/ofxShader | 5278af2a433cf5c8e5d97fffe5141f06147f1783 | [
"MIT"
] | null | null | null | src/ofxShader.cpp | autr/ofxShader | 5278af2a433cf5c8e5d97fffe5141f06147f1783 | [
"MIT"
] | null | null | null | #define STRINGIFY(A) #A
#include "ofxShader.h"
ofxShader::ofxShader() {
m_bWatchingFiles = false;
m_bAutoVersionConversion = true;
// TIME UNIFORMS
//
m_uniformsFunctions["u_time"] = UniformFunction( [](ofShader* _shader) {
_shader->setUniform1f("u_time", ofGetElapsedTimef());
});
... | 31.911243 | 122 | 0.592991 | autr |
7805a7b6cf0e968fe1f8420a326906ebef6e0882 | 237 | cpp | C++ | Source/examples/unused-parameter.cpp | nojhan/leathers | d8a2867a477baab515affdf320d872896e01a797 | [
"BSD-2-Clause"
] | 86 | 2015-05-11T22:47:52.000Z | 2021-09-05T11:26:05.000Z | Source/examples/unused-parameter.cpp | nojhan/leathers | d8a2867a477baab515affdf320d872896e01a797 | [
"BSD-2-Clause"
] | 6 | 2015-07-03T12:34:26.000Z | 2020-03-08T09:01:51.000Z | Source/examples/unused-parameter.cpp | nojhan/leathers | d8a2867a477baab515affdf320d872896e01a797 | [
"BSD-2-Clause"
] | 12 | 2015-09-01T11:36:37.000Z | 2021-12-01T12:56:44.000Z | // Copyright (c) 2014, Ruslan Baratov
// All rights reserved.
void foo(int);
#include <leathers/push>
#if !defined(SHOW_WARNINGS)
# include <leathers/unused-parameter>
#endif
void foo(int a) {
}
#include <leathers/pop>
int main() {
}
| 14.8125 | 37 | 0.700422 | nojhan |
78062198fb603680c9502c9cb0a876a157e3f205 | 5,144 | cpp | C++ | src/smartpeak/source/core/ConsoleHandler.cpp | ahmedskhalil/SmartPeak | 3e0b137f2fec119d8c11e5450c80156576c36f3e | [
"MIT"
] | null | null | null | src/smartpeak/source/core/ConsoleHandler.cpp | ahmedskhalil/SmartPeak | 3e0b137f2fec119d8c11e5450c80156576c36f3e | [
"MIT"
] | null | null | null | src/smartpeak/source/core/ConsoleHandler.cpp | ahmedskhalil/SmartPeak | 3e0b137f2fec119d8c11e5450c80156576c36f3e | [
"MIT"
] | null | null | null | // --------------------------------------------------------------------------
// SmartPeak -- Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing
// --------------------------------------------------------------------------
// Copyright The SmartPeak Team -- Novo Nordisk Foundation
// Center for Biosustainabil... | 36.225352 | 100 | 0.591952 | ahmedskhalil |
78069a46457a8cb76a5c9427168acd6b2c1771b2 | 1,301 | cpp | C++ | src/algo/binary_search_tree.cpp | setyolegowo/ITB-IF5111-2019 | 4b53c9a69e49bb801fa65b633689670bf2edf4ff | [
"MIT"
] | null | null | null | src/algo/binary_search_tree.cpp | setyolegowo/ITB-IF5111-2019 | 4b53c9a69e49bb801fa65b633689670bf2edf4ff | [
"MIT"
] | null | null | null | src/algo/binary_search_tree.cpp | setyolegowo/ITB-IF5111-2019 | 4b53c9a69e49bb801fa65b633689670bf2edf4ff | [
"MIT"
] | null | null | null | /**
* binary_search_tree.cpp file.
* Implementation.
*
* @author Setyo Legowo <gw.tio145@gmail.com>
* @since 2019.02.18
*/
#include "binary_search_tree.hpp"
BinarySearch::BinarySearch(char* _nama_bapak) {
this->nama_bapak = std::string(_nama_bapak);
}
BinarySearch* BinarySearch::createFromConsoleArgument(i... | 26.55102 | 91 | 0.640277 | setyolegowo |
7807d254d1263eb8ca693f5cf40fd679129b6114 | 880 | hpp | C++ | core/Private/core/RootView.hpp | paxbun/dear-my-prof | a1e0032f17d9a62a58673b5dbe2de1446006e528 | [
"MIT"
] | 1 | 2020-01-19T14:14:13.000Z | 2020-01-19T14:14:13.000Z | core/Private/core/RootView.hpp | paxbun/dear-my-prof | a1e0032f17d9a62a58673b5dbe2de1446006e528 | [
"MIT"
] | null | null | null | core/Private/core/RootView.hpp | paxbun/dear-my-prof | a1e0032f17d9a62a58673b5dbe2de1446006e528 | [
"MIT"
] | 1 | 2020-11-18T05:24:38.000Z | 2020-11-18T05:24:38.000Z | // Copyright (c) 2019 Dear My Professor Authors
// Author: paxbun
#ifndef __H_CORE_ROOT_VIEW__
#define __H_CORE_ROOT_VIEW__
#include <core/EmailListPresenter.hpp>
#include <core/OpenDetailPresenter.hpp>
#include <core/OpenSelectTemplatePresenter.hpp>
#include <core/OpenTemplateListPresenter.hpp>
#include <core/View.h... | 28.387097 | 69 | 0.678409 | paxbun |
78093858863459c67a0a02c949cca65864a2776d | 17,975 | cpp | C++ | dev/ProjectReunion_BootstrapDLL/MddBootstrap.cpp | heechee3/WindowsAppSDK | 71fad8337a656f712188944d70e8c0d1f467efb8 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-06-22T16:00:25.000Z | 2021-06-22T16:00:25.000Z | dev/ProjectReunion_BootstrapDLL/MddBootstrap.cpp | oldnewthing/WindowsAppSDK | e82f072c131807765efd84f4d55ab4de3ecbb75c | [
"CC-BY-4.0",
"MIT"
] | null | null | null | dev/ProjectReunion_BootstrapDLL/MddBootstrap.cpp | oldnewthing/WindowsAppSDK | e82f072c131807765efd84f4d55ab4de3ecbb75c | [
"CC-BY-4.0",
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include "MddBootstrap.h"
#include "MddBootstrapTest.h"
#include "MsixDynamicDependency.h"
#include "IDynamicDependencyLifetimeManager.... | 48.712737 | 216 | 0.712267 | heechee3 |
780c9cf5d79a525b9fe46bb937476a3bcb5538e7 | 813 | hpp | C++ | modules/gapi/src/streaming/onevpl/engine/preproc/vpp_preproc_defines.hpp | yash112-lang/opencv | be38d4ea932bc3a0d06845ed1a2de84acc2a09de | [
"Apache-2.0"
] | 2 | 2022-03-26T11:12:18.000Z | 2022-03-30T13:07:32.000Z | modules/gapi/src/streaming/onevpl/engine/preproc/vpp_preproc_defines.hpp | yash112-lang/opencv | be38d4ea932bc3a0d06845ed1a2de84acc2a09de | [
"Apache-2.0"
] | null | null | null | modules/gapi/src/streaming/onevpl/engine/preproc/vpp_preproc_defines.hpp | yash112-lang/opencv | be38d4ea932bc3a0d06845ed1a2de84acc2a09de | [
"Apache-2.0"
] | 1 | 2022-03-05T16:32:04.000Z | 2022-03-05T16:32:04.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2022 Intel Corporation
#ifdef HAVE_ONEVPL
#ifndef VPP_PREPROC_ENGINE
#define VPP_PREPROC_ENGINE
#include... | 23.911765 | 90 | 0.745387 | yash112-lang |
780d53258f843a9a911c115bf7043d3c10fa6b92 | 2,575 | cc | C++ | src/utils/voyager_tcp_client.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | 1 | 2021-01-11T14:19:51.000Z | 2021-01-11T14:19:51.000Z | src/utils/voyager_tcp_client.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | src/utils/voyager_tcp_client.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016 Mirants Lu. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// voyager/voyager/core/tcp_client.cc
#include "platform/voyager_logging.h"
#include "platform/voyager_tcp_connector.h"
#include "utils/voyager_tcp_client.h"
... | 28.611111 | 80 | 0.666408 | pengdu |
7810558a0cfaabe89b2e386c2924dd4f2bae0a94 | 485 | cpp | C++ | Contributions/SeiveOfEratosthenes.cpp | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 215 | 2021-10-01T08:18:16.000Z | 2022-03-29T04:12:03.000Z | Contributions/SeiveOfEratosthenes.cpp | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 51 | 2021-10-01T08:16:42.000Z | 2021-10-31T13:51:51.000Z | Contributions/SeiveOfEratosthenes.cpp | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 807 | 2021-10-01T08:11:45.000Z | 2021-11-21T18:57:09.000Z | //@sidhartha8011
#include<iostream>
using namespace std;
void prime(int n){
int arr[1000]={0};
for(int i=2;i<=n;i++){
if(arr[i]==0){
for(int j=i*i;j<n;j+=i){
arr[j]=1;
}
}
}
for (int i = 2; i < n; i++)
{
if(arr[i]==0)
cout<... | 17.321429 | 77 | 0.439175 | OluSure |
781174e06b6a9908884a400047b0b59cef32ec54 | 1,336 | cpp | C++ | src/exception/baseexceptions.cpp | daniel-blake/piio-server | fc0d9306343518c865c9bd1fb96fd70b693aaab1 | [
"MIT"
] | null | null | null | src/exception/baseexceptions.cpp | daniel-blake/piio-server | fc0d9306343518c865c9bd1fb96fd70b693aaab1 | [
"MIT"
] | null | null | null | src/exception/baseexceptions.cpp | daniel-blake/piio-server | fc0d9306343518c865c9bd1fb96fd70b693aaab1 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include "baseexceptions.hpp"
/************************************
* *
* MsgException *
* *
*************************************/
MsgException::Ms... | 17.578947 | 58 | 0.578593 | daniel-blake |
7812583f5ab47b3b2ec7d09d2007a61eacd90264 | 2,627 | cpp | C++ | GrpGeneralCmds/grpGeneralCmds.cpp | jackeichen/Gaozh | b6dc87095ed3e90b596d69f31d8c0ed6dbc07d97 | [
"Apache-2.0"
] | null | null | null | GrpGeneralCmds/grpGeneralCmds.cpp | jackeichen/Gaozh | b6dc87095ed3e90b596d69f31d8c0ed6dbc07d97 | [
"Apache-2.0"
] | null | null | null | GrpGeneralCmds/grpGeneralCmds.cpp | jackeichen/Gaozh | b6dc87095ed3e90b596d69f31d8c0ed6dbc07d97 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2011, 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 36.486111 | 76 | 0.748763 | jackeichen |
7815dab7703d1869915f91c3da7cf645a465bcae | 1,005 | cpp | C++ | leetcode/5256.cpp | upupming/algorithm | 44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1 | [
"MIT"
] | 107 | 2019-10-25T07:46:59.000Z | 2022-03-29T11:10:56.000Z | leetcode/5256.cpp | upupming/algorithm | 44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1 | [
"MIT"
] | 1 | 2021-08-13T05:42:27.000Z | 2021-08-13T05:42:27.000Z | leetcode/5256.cpp | upupming/algorithm | 44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1 | [
"MIT"
] | 18 | 2020-12-09T14:24:22.000Z | 2022-03-30T06:56:01.000Z | class Solution {
public:
vector<vector<int>> reconstructMatrix(int upper, int lower, vector<int>& colsum) {
int n = colsum.size(), sum = 0, sum0 = 0, sum1 = 0;
vector<int> r0(n), r1(n);
for (int i = 0; i < n; i++) {
sum += colsum[i];
if (colsum[i] == 2) {
... | 31.40625 | 112 | 0.366169 | upupming |
7815e62b75ead4787ecbfb98385f496f52504efe | 17,713 | cpp | C++ | src/mbgl/tile/geometry_tile_worker.cpp | ulmongmbh/mapbox-gl-native | 128da903c19c860e89be36bf67bd02cfa408a525 | [
"BSL-1.0",
"Apache-2.0"
] | 1 | 2019-11-09T17:52:14.000Z | 2019-11-09T17:52:14.000Z | src/mbgl/tile/geometry_tile_worker.cpp | ulmongmbh/mapbox-gl-native | 128da903c19c860e89be36bf67bd02cfa408a525 | [
"BSL-1.0",
"Apache-2.0"
] | 1 | 2020-11-21T06:55:47.000Z | 2020-11-21T06:55:52.000Z | src/mbgl/tile/geometry_tile_worker.cpp | ulmongmbh/mapbox-gl-native | 128da903c19c860e89be36bf67bd02cfa408a525 | [
"BSL-1.0",
"Apache-2.0"
] | 1 | 2020-01-03T21:38:55.000Z | 2020-01-03T21:38:55.000Z | #include <mbgl/tile/geometry_tile_worker.hpp>
#include <mbgl/tile/geometry_tile_data.hpp>
#include <mbgl/tile/geometry_tile.hpp>
#include <mbgl/layermanager/layer_manager.hpp>
#include <mbgl/layout/layout.hpp>
#include <mbgl/layout/symbol_layout.hpp>
#include <mbgl/layout/pattern_layout.hpp>
#include <mbgl/renderer/buc... | 37.527542 | 164 | 0.599447 | ulmongmbh |
7816b4c6654bfcea3d0cc9964b40da427a5cfda4 | 1,471 | cpp | C++ | math/Vector3.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | 3 | 2019-04-20T10:16:36.000Z | 2021-03-21T19:51:38.000Z | math/Vector3.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | null | null | null | math/Vector3.cpp | Andrewich/deadjustice | 48bea56598e79a1a10866ad41aa3517bf7d7c724 | [
"BSD-3-Clause"
] | 2 | 2020-04-18T20:04:24.000Z | 2021-09-19T05:07:41.000Z | #include "Vector3.h"
#include <assert.h>
#include "config.h"
//----------------------------------------------------------------------------
namespace math
{
Vector3 Vector3::rotate( const Vector3& axis, float angle ) const
{
assert( finite() );
assert( axis.length() > Vector3::valueMin() ); // ensure... | 29.42 | 86 | 0.514616 | Andrewich |
781837c3f580461b072359bbe4215f27ec9becdf | 1,350 | cpp | C++ | src/game/game.cpp | GEEKiDoS/open-iw5 | a26809f69e55105d1eff15e3006c50523fa4f1f7 | [
"MIT"
] | 2 | 2020-11-21T14:37:40.000Z | 2020-11-21T14:54:33.000Z | src/game/game.cpp | GEEKiDoS/open-iw5 | a26809f69e55105d1eff15e3006c50523fa4f1f7 | [
"MIT"
] | 5 | 2020-11-25T11:27:57.000Z | 2020-11-25T11:33:39.000Z | src/game/game.cpp | GEEKiDoS/mw2-mod | a26809f69e55105d1eff15e3006c50523fa4f1f7 | [
"MIT"
] | null | null | null | #include <std_include.hpp>
#include "game.hpp"
namespace game
{
namespace enviroment
{
launcher::mode mode = launcher::mode::none;
launcher::mode get_mode()
{
if (mode == launcher::mode::none)
{
throw std::runtime_error("Launcher mode not valid. Something must be wrong.");
}
r... | 18.493151 | 83 | 0.576296 | GEEKiDoS |
7818ba13d88b04af12e3cd7c284d315f17f5b338 | 6,783 | cpp | C++ | gui/previewer/ImageLoader.cpp | Qt-Widgets/im-desktop-imported | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | 1 | 2020-04-24T02:53:50.000Z | 2020-04-24T02:53:50.000Z | gui/previewer/ImageLoader.cpp | Qt-Widgets/im-desktop-imported-widgets-collection | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | null | null | null | gui/previewer/ImageLoader.cpp | Qt-Widgets/im-desktop-imported-widgets-collection | 85fed419229597bc10de59de268f5d898f853405 | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "../core_dispatcher.h"
#include "../gui_settings.h"
#include "../utils/utils.h"
#include "../utils/LoadPixmapFromFileTask.h"
#include "../utils/LoadFirstFrameTask.h"
#include "../utils/gui_coll_helper.h"
#include "ImageLoader.h"
Previewer::ImageLoader::ImageLoader(const QString& _aimId, ... | 26.6 | 139 | 0.644258 | Qt-Widgets |
781a6fe3c3aacfca94c74dfc3a8846e0fcaf1fce | 492 | hpp | C++ | stringify/jss_renamed.hpp | 5cript/SimpleJSON | 878a6341baed91c29630447f6bd480391f563045 | [
"MIT"
] | 4 | 2015-06-25T02:06:13.000Z | 2018-07-11T13:20:24.000Z | stringify/jss_renamed.hpp | 5cript/SimpleJSON | 878a6341baed91c29630447f6bd480391f563045 | [
"MIT"
] | 14 | 2015-03-29T10:32:21.000Z | 2018-01-25T16:45:08.000Z | stringify/jss_renamed.hpp | 5cript/SimpleJSON | 878a6341baed91c29630447f6bd480391f563045 | [
"MIT"
] | 2 | 2017-07-16T09:43:22.000Z | 2020-08-30T09:33:40.000Z | #pragma once
#include "jss_core.hpp"
#include "../utility/rename.hpp"
namespace JSON
{
template <typename T, typename Name>
std::ostream& stringify(std::ostream& stream, std::string const&, rename <T, Name> const& value, StringificationOptions options = {})
{
constexpr const auto name ... | 27.333333 | 138 | 0.642276 | 5cript |
781dbffc987ddaad554dc01fafe06c174be3e709 | 195,639 | cpp | C++ | SampleQRCodes/TestBuild/Il2CppOutputProject/Source/il2cppOutput/Photon3Unity3D_Attr.cpp | Dooyoung-Kim/QRTracking | ba519f0a10a0b897b2e324430c52d58efa9b31c0 | [
"MIT"
] | null | null | null | SampleQRCodes/TestBuild/Il2CppOutputProject/Source/il2cppOutput/Photon3Unity3D_Attr.cpp | Dooyoung-Kim/QRTracking | ba519f0a10a0b897b2e324430c52d58efa9b31c0 | [
"MIT"
] | null | null | null | SampleQRCodes/TestBuild/Il2CppOutputProject/Source/il2cppOutput/Photon3Unity3D_Attr.cpp | Dooyoung-Kim/QRTracking | ba519f0a10a0b897b2e324430c52d58efa9b31c0 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Reflection.AssemblyCompanyAttribute
struct AssemblyCompanyAttribute_t642AAB097D7DEAAB623BEBE... | 71.297012 | 682 | 0.902167 | Dooyoung-Kim |
781e1180c26cb94fe37d5c9350308663ca04b3a6 | 11,455 | cc | C++ | remoting/protocol/channel_multiplexer_unittest.cc | junmin-zhu/chromium-rivertrail | eb1a57aca71fe68d96e48af8998dcfbe45171ee1 | [
"BSD-3-Clause"
] | 2 | 2020-06-10T07:15:26.000Z | 2020-12-13T19:44:12.000Z | remoting/protocol/channel_multiplexer_unittest.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | null | null | null | remoting/protocol/channel_multiplexer_unittest.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | 1 | 2020-11-04T07:27:33.000Z | 2020-11-04T07:27:33.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/protocol/channel_multiplexer.h"
#include "base/bind.h"
#include "base/message_loop.h"
#include "net/base/net_errors.h"
#include "n... | 31.908078 | 79 | 0.718813 | junmin-zhu |
781ee03ddaa4e79f6900af724fd934dc47a86601 | 1,443 | cpp | C++ | src/Triangle.cpp | RdlP/RTal | 584a2da78a3545c659d6d084e0c2adbed982e302 | [
"MIT"
] | null | null | null | src/Triangle.cpp | RdlP/RTal | 584a2da78a3545c659d6d084e0c2adbed982e302 | [
"MIT"
] | null | null | null | src/Triangle.cpp | RdlP/RTal | 584a2da78a3545c659d6d084e0c2adbed982e302 | [
"MIT"
] | null | null | null | #include "Triangle.hpp"
Triangle::Triangle(vec3 a, vec3 b, vec3 c, mat4 transform):
m_a(a), m_b(b), m_c(c), Geometry(transform)
{
}
Triangle::~Triangle()
{
}
Intersection Triangle::hit(Ray ray)
{
ray.setOrigin(vec3(getInverseTransform() * vec4(ray.getOrigin(),1)));
ray.setDirection(glm::normalize(vec3(getInv... | 22.546875 | 92 | 0.607762 | RdlP |
782115b7a4771756746f2a5afebf38b0b10aca80 | 1,738 | hpp | C++ | nano/secure/versioning.hpp | orhanhenrik/nano-node | 5cbc9fb773cb3836f20f44d189ea333cfdd55279 | [
"BSD-2-Clause"
] | null | null | null | nano/secure/versioning.hpp | orhanhenrik/nano-node | 5cbc9fb773cb3836f20f44d189ea333cfdd55279 | [
"BSD-2-Clause"
] | null | null | null | nano/secure/versioning.hpp | orhanhenrik/nano-node | 5cbc9fb773cb3836f20f44d189ea333cfdd55279 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <nano/lib/blocks.hpp>
#include <nano/node/lmdb.hpp>
#include <nano/secure/utility.hpp>
namespace nano
{
class account_info_v1 final
{
public:
account_info_v1 () = default;
explicit account_info_v1 (MDB_val const &);
account_info_v1 (nano::block_hash const &, nano::block_hash const &, nano::am... | 28.966667 | 172 | 0.716341 | orhanhenrik |
7821d87b35aeb23be003dd9610164e5f36bc4e58 | 8,692 | cpp | C++ | oskar/apps/src/oskar_sim_tec_screen.cpp | ChenxiSSS/OSKAR | 35b15f90778644ecb3190273ee3d09734da99420 | [
"BSD-3-Clause"
] | null | null | null | oskar/apps/src/oskar_sim_tec_screen.cpp | ChenxiSSS/OSKAR | 35b15f90778644ecb3190273ee3d09734da99420 | [
"BSD-3-Clause"
] | null | null | null | oskar/apps/src/oskar_sim_tec_screen.cpp | ChenxiSSS/OSKAR | 35b15f90778644ecb3190273ee3d09734da99420 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2013-2016, The University of Oxford
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this ... | 41.990338 | 82 | 0.712379 | ChenxiSSS |
7822e0f041a0b6bc726ed967783a8af1e34d6f49 | 4,141 | cpp | C++ | cpp/tests/testscore.cpp | lpuchallafiore/KataGo | ded79dc1b6f3736c1a5274021f0dc463fad2b5c2 | [
"MIT"
] | 4 | 2020-02-12T01:42:29.000Z | 2021-05-13T06:49:30.000Z | cpp/tests/testscore.cpp | lpuchallafiore/KataGo | ded79dc1b6f3736c1a5274021f0dc463fad2b5c2 | [
"MIT"
] | null | null | null | cpp/tests/testscore.cpp | lpuchallafiore/KataGo | ded79dc1b6f3736c1a5274021f0dc463fad2b5c2 | [
"MIT"
] | 1 | 2020-08-19T18:05:58.000Z | 2020-08-19T18:05:58.000Z | #include "../tests/tests.h"
#include "../neuralnet/nninputs.h"
using namespace std;
using namespace TestCommon;
void Tests::runScoreTests() {
cout << "Running score and utility tests" << endl;
ostringstream out;
auto printScoreStats = [&out](const Board& board, const BoardHistory& hist) {
out << "Black se... | 28.558621 | 151 | 0.595025 | lpuchallafiore |
78248d89231f1961fd6457473ebbdee9a27b8125 | 453 | cpp | C++ | uppdev/QtfZoom/main.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | uppdev/QtfZoom/main.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | uppdev/QtfZoom/main.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | #include <CtrlLib/CtrlLib.h>
GUI_APP_MAIN
{
RichTextView rv;
rv.AutoHideSb();
rv.SetQTF("[4 memento ipso mores]");
TopWindow app;
app.Add(rv.SizePos());
app.SetRect(100, 100, 400, 200);
app.Run();
app.Hide();
RichTextView rv1;
rv1.AutoHideSb();
rv1.SetQTF("[4 memento ipso mores]");
TopWind... | 19.695652 | 42 | 0.637969 | dreamsxin |
78252737ec2981de1b6add4823288c761b0c5cfc | 1,047 | cpp | C++ | lang/C++/caesar-cipher-2.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/C++/caesar-cipher-2.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C++/caesar-cipher-2.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | /* caesar cipher */
#include <string>
#include <iostream>
#include <cctype>
int main( ) {
using namespace std;
string input ;
int key = 0;
// lambda functions
auto encrypt = [&](char c, int key ) {
char A = ( islower(c) )? 'a': 'A';
c = (isalpha(c))? (c - A + key) % 26 + A : c;
return (char... | 19.036364 | 64 | 0.492837 | ethansaxenian |
78266d11bd7fe30913d809fd2e266738d257295f | 15,749 | cpp | C++ | src/ApplicationDatabase.cpp | vdm-dev/gpsinformer | d7943401808fd9233a1287ddc989ea95bf674edb | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | 2 | 2018-07-05T11:34:04.000Z | 2020-01-16T20:11:17.000Z | src/ApplicationDatabase.cpp | vdm-dev/gpsinformer | d7943401808fd9233a1287ddc989ea95bf674edb | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | null | null | null | src/ApplicationDatabase.cpp | vdm-dev/gpsinformer | d7943401808fd9233a1287ddc989ea95bf674edb | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | null | null | null | //
// Copyright (c) 2017 Dmitry Lavygin (vdm.inbox@gmail.com)
//
// 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 us... | 28.224014 | 159 | 0.579973 | vdm-dev |
782687021d588f9130daa6adfdac043a278d857d | 1,379 | cpp | C++ | private/h5cgnsgeographicdatatop_impl.cpp | kskinoue0612/iriclib_v4 | 8d6212247f43bb0b34dc99678a3cc028d6f9fc3a | [
"MIT"
] | null | null | null | private/h5cgnsgeographicdatatop_impl.cpp | kskinoue0612/iriclib_v4 | 8d6212247f43bb0b34dc99678a3cc028d6f9fc3a | [
"MIT"
] | 15 | 2021-07-10T20:47:34.000Z | 2022-01-27T21:30:36.000Z | private/h5cgnsgeographicdatatop_impl.cpp | kskinoue0612/iriclib_v4 | 8d6212247f43bb0b34dc99678a3cc028d6f9fc3a | [
"MIT"
] | 2 | 2021-07-06T04:33:56.000Z | 2021-08-30T03:50:02.000Z | #include "../error_macros.h"
#include "../h5cgnsgeographicdatagroup.h"
#include "../h5util.h"
#include "../iriclib_errorcodes.h"
#include "../internal/iric_logger.h"
#include "h5cgnsgeographicdatatop_impl.h"
using namespace iRICLib;
H5CgnsGeographicDataTop::Impl::Impl(H5CgnsGeographicDataTop* top) :
m_top {top}
{}
... | 23.372881 | 94 | 0.73459 | kskinoue0612 |
78274f7951c1f2bbe82a9630f82ca4f23c8af862 | 23,826 | cpp | C++ | dev/so_5/rt/environment.cpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 76 | 2016-03-25T15:22:03.000Z | 2022-02-03T15:11:43.000Z | dev/so_5/rt/environment.cpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 19 | 2017-03-09T19:21:53.000Z | 2021-02-24T13:02:18.000Z | dev/so_5/rt/environment.cpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 21 | 2016-09-23T10:01:09.000Z | 2020-08-31T12:01:10.000Z | /*
SObjectizer 5.
*/
#include <so_5/rt/h/environment.hpp>
#include <string>
#include <so_5/rt/impl/h/internal_env_iface.hpp>
#include <so_5/rt/impl/h/mbox_core.hpp>
#include <so_5/rt/impl/h/disp_repository.hpp>
#include <so_5/rt/impl/h/layer_core.hpp>
#include <so_5/rt/impl/h/stop_guard_repo.hpp>
#include <so_5/rt... | 24.896552 | 86 | 0.755183 | eao197 |
782990ae4897611ecaa5a0fd86b1a17ccf2226c1 | 3,342 | cpp | C++ | Examples/MontiHall.cpp | LuisRGameloft/nana-demo | 05e05dbc1ee8eb5d94b31282290dae0c7e2e3620 | [
"BSL-1.0"
] | null | null | null | Examples/MontiHall.cpp | LuisRGameloft/nana-demo | 05e05dbc1ee8eb5d94b31282290dae0c7e2e3620 | [
"BSL-1.0"
] | null | null | null | Examples/MontiHall.cpp | LuisRGameloft/nana-demo | 05e05dbc1ee8eb5d94b31282290dae0c7e2e3620 | [
"BSL-1.0"
] | null | null | null | #include <nana/gui/wvl.hpp>
#include <nana/gui/widgets/label.hpp>
#include <nana/gui/widgets/button.hpp>
#include <nana/system/platform.hpp>
class monty_hall
: public nana::form
{
enum state_t{state_begin, state_picked, state_over};
public:
monty_hall();
private:
void _m_pick_door (co... | 33.757576 | 100 | 0.52304 | LuisRGameloft |
782a19bc3c6639b82add00ed21bd7700d1f0bef2 | 11,405 | hpp | C++ | sparta/sparta/statistics/CycleCounter.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 44 | 2019-12-13T06:39:13.000Z | 2022-03-29T23:09:28.000Z | sparta/sparta/statistics/CycleCounter.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 222 | 2020-01-14T21:58:56.000Z | 2022-03-31T20:05:12.000Z | sparta/sparta/statistics/CycleCounter.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 19 | 2020-01-03T19:03:22.000Z | 2022-01-09T08:36:20.000Z | // <Counter> -*- C++ -*-
#pragma once
#include "sparta/simulation/TreeNode.hpp"
#include "sparta/functional/DataView.hpp"
#include "sparta/utils/ByteOrder.hpp"
#include "sparta/statistics/Counter.hpp"
#include "sparta/utils/SpartaException.hpp"
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/simulation/Clo... | 34.984663 | 106 | 0.497676 | debjyoti0891 |
782b5030e897d387635a46ba10725c92e03d35b4 | 1,698 | hpp | C++ | src/util/allocator.hpp | BigDataAnalyticsGroup/RewiredCracking | b12bf39b54672d28175f4608d266c505e3611459 | [
"Apache-2.0"
] | 3 | 2019-04-21T07:23:03.000Z | 2019-12-04T02:10:04.000Z | src/util/allocator.hpp | BigDataAnalyticsGroup/RewiredCracking | b12bf39b54672d28175f4608d266c505e3611459 | [
"Apache-2.0"
] | null | null | null | src/util/allocator.hpp | BigDataAnalyticsGroup/RewiredCracking | b12bf39b54672d28175f4608d266c505e3611459 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <algorithm>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <sys/mman.h>
struct default_allocator
{
template<typename T>
T * allocate(std::size_t n) const { return static_cast<T*>(malloc(sizeof(T) * n)); }
template<typename T>
void deallocate(T *p, std::size_t... | 28.3 | 121 | 0.633687 | BigDataAnalyticsGroup |
782d1d2cdb52529e1b53102c1796db5545094e41 | 7,828 | cpp | C++ | rcl/test/rcl/test_expand_topic_name.cpp | ruffsl/rcl | e5e338a8e0d0b4a4824edae7f351963ca2435015 | [
"Apache-2.0"
] | null | null | null | rcl/test/rcl/test_expand_topic_name.cpp | ruffsl/rcl | e5e338a8e0d0b4a4824edae7f351963ca2435015 | [
"Apache-2.0"
] | null | null | null | rcl/test/rcl/test_expand_topic_name.cpp | ruffsl/rcl | e5e338a8e0d0b4a4824edae7f351963ca2435015 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 35.103139 | 95 | 0.687787 | ruffsl |
782fb12b3326725efe627b723d60416a61c408f4 | 2,362 | cc | C++ | riscv-tools/riscv-isa-sim/riscv/clint.cc | programokey/e200_opensource | 83980f1732f922629163e09abff4dcf76abe7e8d | [
"Apache-2.0"
] | null | null | null | riscv-tools/riscv-isa-sim/riscv/clint.cc | programokey/e200_opensource | 83980f1732f922629163e09abff4dcf76abe7e8d | [
"Apache-2.0"
] | null | null | null | riscv-tools/riscv-isa-sim/riscv/clint.cc | programokey/e200_opensource | 83980f1732f922629163e09abff4dcf76abe7e8d | [
"Apache-2.0"
] | 1 | 2019-01-10T11:51:55.000Z | 2019-01-10T11:51:55.000Z | #include "devices.h"
#include "processor.h"
clint_t::clint_t(std::vector<processor_t*>& procs)
: procs(procs), mtimecmp(procs.size())
{
}
/* 0000 msip hart 0
* 0004 msip hart 1
* 4000 mtimecmp hart 0 lo
* 4004 mtimecmp hart 0 hi
* 4008 mtimecmp hart 1 lo
* 400c mtimecmp hart 1 hi
* bff8 mtime lo... | 32.356164 | 103 | 0.600339 | programokey |
78324e2a116ae19ae7842aeb1b3a5d36b98082e4 | 26 | cpp | C++ | DataStructures/Trees/tempCodeRunnerFile.cpp | Anvesh-Chennupati/DsAlgo | fd8ddd264e14f89f86e339c684e1f7a553507a35 | [
"MIT"
] | null | null | null | DataStructures/Trees/tempCodeRunnerFile.cpp | Anvesh-Chennupati/DsAlgo | fd8ddd264e14f89f86e339c684e1f7a553507a35 | [
"MIT"
] | null | null | null | DataStructures/Trees/tempCodeRunnerFile.cpp | Anvesh-Chennupati/DsAlgo | fd8ddd264e14f89f86e339c684e1f7a553507a35 | [
"MIT"
] | null | null | null | // cout<<"\n Tree empty"; | 26 | 26 | 0.538462 | Anvesh-Chennupati |
7836225b7dda48aedcebb2dd9f72bbccf112be74 | 3,831 | cpp | C++ | course1/laba7/H_parking/main.cpp | flydzen/ITMO_algo | ea251dca0fddb0d4d212377c6785cdc3667ece89 | [
"MIT"
] | null | null | null | course1/laba7/H_parking/main.cpp | flydzen/ITMO_algo | ea251dca0fddb0d4d212377c6785cdc3667ece89 | [
"MIT"
] | null | null | null | course1/laba7/H_parking/main.cpp | flydzen/ITMO_algo | ea251dca0fddb0d4d212377c6785cdc3667ece89 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cassert>
#define mid lt + (rt-lt)/2
#define vx Element *
#define ll long long
using namespace std;
struct Element {
ll mini = LONG_LONG_MAX;
vx minEl = nullptr;
ll set = LONG_LONG_MIN;
int pos;
vx right = nullptr;
vx left = nullptr;
};
void setM... | 24.716129 | 66 | 0.426782 | flydzen |
783728c568feffe52ccb8fcae70d7ca623c72e00 | 5,500 | cpp | C++ | 15/path_finder.t.cpp | ComicSansMS/AdventOfCode2019 | 7ca0c57bf28ee8edab04c31a36dbd34d66d7f816 | [
"Unlicense"
] | 3 | 2019-12-01T17:37:33.000Z | 2021-12-14T10:12:09.000Z | 15/path_finder.t.cpp | ComicSansMS/AdventOfCode2019 | 7ca0c57bf28ee8edab04c31a36dbd34d66d7f816 | [
"Unlicense"
] | null | null | null | 15/path_finder.t.cpp | ComicSansMS/AdventOfCode2019 | 7ca0c57bf28ee8edab04c31a36dbd34d66d7f816 | [
"Unlicense"
] | null | null | null | #include <path_finder.hpp>
#include <catch.hpp>
#include <sstream>
TEST_CASE("Path Finder")
{
SECTION("Vector2")
{
CHECK(Vector2().x == 0);
CHECK(Vector2().y == 0);
CHECK(Vector2(1, 2).x == 1);
CHECK(Vector2(1, 2).y == 2);
CHECK(Vector2(1, 2) == Vector2(1, 2));
... | 37.162162 | 112 | 0.496727 | ComicSansMS |
783d590578f57c367c21654689d74a0fe55b632e | 4,637 | cpp | C++ | EzLasLib/Examples.cpp | Esri/esri-zlas-io-library | 81ac0ced9eb7e3b9216e7850dceeba5711647632 | [
"Apache-2.0"
] | 7 | 2015-03-15T01:37:36.000Z | 2019-08-15T09:18:49.000Z | EzLasLib/Examples.cpp | Esri/esri-zlas-io-library | 81ac0ced9eb7e3b9216e7850dceeba5711647632 | [
"Apache-2.0"
] | 3 | 2015-03-24T15:43:14.000Z | 2018-08-02T17:32:08.000Z | EzLasLib/Examples.cpp | Esri/esri-zlas-io-library | 81ac0ced9eb7e3b9216e7850dceeba5711647632 | [
"Apache-2.0"
] | 7 | 2015-03-15T01:32:12.000Z | 2020-06-12T04:36:55.000Z | // Examples.cpp
/**********************************************
Copyright 2015 Esri
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 appl... | 27.116959 | 102 | 0.64546 | Esri |
783d8ab95f7f2e28de99ff138a37d7db43199243 | 6,305 | cc | C++ | logga/population.cc | wahibium/KFF | 609e5afac8a9477dd1af31eacadbcd5b61530113 | [
"MIT"
] | 11 | 2015-06-08T22:16:47.000Z | 2022-03-19T15:11:14.000Z | logga/population.cc | wahibium/KFF | 609e5afac8a9477dd1af31eacadbcd5b61530113 | [
"MIT"
] | null | null | null | logga/population.cc | wahibium/KFF | 609e5afac8a9477dd1af31eacadbcd5b61530113 | [
"MIT"
] | 4 | 2015-06-12T21:24:47.000Z | 2021-04-23T09:58:33.000Z | #include <stdio.h>
#include <string.h>
#include <vector.h>
#include "population.h"
#include "random.h"
#include "memalloc.h"
#include "fitness.h"
#include "originalkernel.h"
#include "sharingset.h"
using namespace std;
void Population::Population(int len)
{
N = len;
chromosomes = (Chromosome*) Calloc(N,sizeof... | 25.321285 | 210 | 0.677082 | wahibium |
7840c6c39e2b2819539c255c6d6ad7413015a38f | 749 | hpp | C++ | src/osgviewer/robot_ui.hpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 250 | 2015-01-13T04:38:59.000Z | 2022-03-09T15:52:54.000Z | src/osgviewer/robot_ui.hpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 31 | 2015-08-19T13:14:56.000Z | 2022-03-22T08:08:26.000Z | src/osgviewer/robot_ui.hpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 118 | 2015-01-08T16:06:50.000Z | 2022-03-19T11:44:00.000Z | #pragma once
#include "osgviewer.hpp"
class TRAJOPT_API ManipulatorControl {
public:
ManipulatorControl(OpenRAVE::RobotBase::ManipulatorPtr manip, OSGViewerPtr viewer);
bool ProcessMouseInput(const osgGA::GUIEventAdapter &ea);
private:
OpenRAVE::RobotBase::ManipulatorPtr m_manip;
OSGViewerPtr m_viewer;
float... | 24.16129 | 85 | 0.778371 | HARPLab |
78421c856c1997c84be13066b1fda4f0d9876eac | 5,268 | hpp | C++ | modules/test/benchmark/include/nt2/sdk/bench/details/process_functor.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 34 | 2017-05-19T18:10:17.000Z | 2022-01-04T02:18:13.000Z | modules/test/benchmark/include/nt2/sdk/bench/details/process_functor.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/test/benchmark/include/nt2/sdk/bench/details/process_functor.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 7 | 2017-12-02T12:59:17.000Z | 2021-07-31T12:46:14.000Z | #ifndef BOOST_PP_IS_ITERATING
//==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
// Copyright 2012 MetaScale SAS
// Copyrig... | 35.594595 | 91 | 0.539484 | psiha |
7842e64ca96a35bafaf7e3aa1332c81ad4630528 | 9,113 | hpp | C++ | src/Client/Connector.hpp | Korablev77/tntcxx | 30f7bcd661dd701c1f084b188b43e72b72c391d8 | [
"BSD-2-Clause"
] | null | null | null | src/Client/Connector.hpp | Korablev77/tntcxx | 30f7bcd661dd701c1f084b188b43e72b72c391d8 | [
"BSD-2-Clause"
] | null | null | null | src/Client/Connector.hpp | Korablev77/tntcxx | 30f7bcd661dd701c1f084b188b43e72b72c391d8 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
/*
* Copyright 2010-2020, Tarantool AUTHORS, please see AUTHORS file.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributions of source code must retain the above
* copyright not... | 31.532872 | 90 | 0.7159 | Korablev77 |
784417a513ee0af7b57051e15a48b9eeae3e4ba7 | 11,519 | cpp | C++ | CS2810/MidSem/CS19B021_midsem.cpp | vikram-kv/CS2810-LabWork | 1190c14d08d0aa1e8143df338766a6d075c47182 | [
"Apache-2.0"
] | null | null | null | CS2810/MidSem/CS19B021_midsem.cpp | vikram-kv/CS2810-LabWork | 1190c14d08d0aa1e8143df338766a6d075c47182 | [
"Apache-2.0"
] | null | null | null | CS2810/MidSem/CS19B021_midsem.cpp | vikram-kv/CS2810-LabWork | 1190c14d08d0aa1e8143df338766a6d075c47182 | [
"Apache-2.0"
] | null | null | null | /************************
* $ID$
* File: CS19B021_midsem.cpp - create a class Refrigerator with a few data members, define a comparison operator on it,
* perform a O(nlogn) sort on a Refrigerator array and find the "newVariance" of the sorted
* refrigerator ar... | 47.209016 | 153 | 0.589114 | vikram-kv |
7844e517a6ab6ce912680324fb25bde0f640cf10 | 8,103 | cpp | C++ | tests/validation/NEON/GEMM.cpp | odinshen/ComputeLibrary_17.9_BareMetal | 3ee4553b4cdbbfec09e9ddeb57f3d7b2f4f31c80 | [
"MIT"
] | 2 | 2021-08-02T16:34:11.000Z | 2021-11-17T11:00:33.000Z | tests/validation/NEON/GEMM.cpp | 10imaging/ComputeLibrary | e6bbd2b302eb9d229554ec3a02ceb20901459d8c | [
"MIT"
] | null | null | null | tests/validation/NEON/GEMM.cpp | 10imaging/ComputeLibrary | e6bbd2b302eb9d229554ec3a02ceb20901459d8c | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights ... | 48.232143 | 181 | 0.623473 | odinshen |
7845eb7b94745385e868b7113deb7ed2b006dfdc | 14,385 | cpp | C++ | Source/AllProjects/CQCIntf/CQCIntfView/CQCIntfView_ExtCtrlServerImpl.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/CQCIntf/CQCIntfView/CQCIntfView_ExtCtrlServerImpl.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/CQCIntf/CQCIntfView/CQCIntfView_ExtCtrlServerImpl.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: CQCIntfView_ExtCtrlServerImpl.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 07/01/2004
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// h... | 27.50478 | 78 | 0.462496 | MarkStega |
7846daaed2b865fcc1187f0a1b8131e2c6d6e445 | 23,442 | cpp | C++ | windows/feime/kor/ime2k/fecommon/srcuim/cpadsvus.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/feime/kor/ime2k/fecommon/srcuim/cpadsvus.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/feime/kor/ime2k/fecommon/srcuim/cpadsvus.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //////////////////////////////////////////////////////////////////
// File : cpadsvrs.cpp
// Purpose : CImePadServerUIM for Shared Memory version.
//
//
// Date : Fri Apr 16 15:39:33 1999
// Author : ToshiaK
//
// Copyright(c) 1995-1999, Microsoft Corp. All rights reserved
////////////////////////... | 28.141657 | 103 | 0.631004 | npocmaka |
784830dde1db4872af3b6241ec85db76e1dfe1ed | 275 | hpp | C++ | cmd/generate_density_map/gauss_quadrature.hpp | digitalillusions/Discregrid | af5880ecfa62c736a25e23a607bd8bd51d833fe2 | [
"MIT"
] | 214 | 2017-11-10T11:53:27.000Z | 2022-03-23T16:24:01.000Z | cmd/generate_density_map/gauss_quadrature.hpp | digitalillusions/Discregrid | af5880ecfa62c736a25e23a607bd8bd51d833fe2 | [
"MIT"
] | 16 | 2018-02-20T07:53:03.000Z | 2021-12-23T14:03:11.000Z | cmd/generate_density_map/gauss_quadrature.hpp | digitalillusions/Discregrid | af5880ecfa62c736a25e23a607bd8bd51d833fe2 | [
"MIT"
] | 47 | 2017-11-19T05:42:42.000Z | 2022-03-07T11:55:09.000Z | #pragma once
#include <Eigen/Dense>
class GaussQuadrature
{
public:
using Integrand = std::function<double(Eigen::Vector3d const&)>;
using Domain = Eigen::AlignedBox3d;
static double integrate(Integrand integrand, Domain const& domain, unsigned int p);
};
| 16.176471 | 87 | 0.72 | digitalillusions |
784a15c6ff9851c28eb8a3c2d6df5ad72c054631 | 11,807 | hh | C++ | Tests/BFieldMapTest.hh | KFTrack/KinKal | cb18132f2fe5ec74ccdc6d01eb7bdad986082083 | [
"Apache-1.1"
] | 2 | 2020-04-21T18:24:55.000Z | 2020-09-24T19:01:47.000Z | Tests/BFieldMapTest.hh | KFTrack/KinKal | cb18132f2fe5ec74ccdc6d01eb7bdad986082083 | [
"Apache-1.1"
] | 45 | 2020-03-16T18:27:59.000Z | 2022-01-13T05:18:35.000Z | Tests/BFieldMapTest.hh | KFTrack/KinKal | cb18132f2fe5ec74ccdc6d01eb7bdad986082083 | [
"Apache-1.1"
] | 15 | 2020-02-21T01:10:49.000Z | 2022-03-24T12:13:35.000Z | //
// test basic functions of BFieldMap class
//
#include "KinKal/Trajectory/ParticleTrajectory.hh"
#include "KinKal/Trajectory/Line.hh"
#include "KinKal/Trajectory/ClosestApproach.hh"
#include "KinKal/General/BFieldMap.hh"
#include "KinKal/General/Vectors.hh"
#include "KinKal/General/PhysicalConstants.h"
#include "Kin... | 34.422741 | 135 | 0.634539 | KFTrack |
784cba4e9a08b53ad83ebc273b22d47c9418c5aa | 5,040 | cc | C++ | inet-4.2.0u/inet4.2.0Untouched/src/inet/linklayer/base/MacProtocolBase.cc | hamzaas/OMNeT-INET-SpineLeafResearch | 555c8692405347a061c0a808187cbb326b4333fb | [
"OLDAP-2.6",
"OLDAP-2.7",
"OLDAP-2.5",
"OLDAP-2.3"
] | null | null | null | inet-4.2.0u/inet4.2.0Untouched/src/inet/linklayer/base/MacProtocolBase.cc | hamzaas/OMNeT-INET-SpineLeafResearch | 555c8692405347a061c0a808187cbb326b4333fb | [
"OLDAP-2.6",
"OLDAP-2.7",
"OLDAP-2.5",
"OLDAP-2.3"
] | null | null | null | inet-4.2.0u/inet4.2.0Untouched/src/inet/linklayer/base/MacProtocolBase.cc | hamzaas/OMNeT-INET-SpineLeafResearch | 555c8692405347a061c0a808187cbb326b4333fb | [
"OLDAP-2.6",
"OLDAP-2.7",
"OLDAP-2.5",
"OLDAP-2.3"
] | 1 | 2021-05-10T21:42:30.000Z | 2021-05-10T21:42:30.000Z | //
// (C) 2013 Opensim Ltd.
//
// This library is free software, you can redistribute it
// and/or modify
// it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation;
// either version 2 of the License, or any later version.
// The library is distributed in the hope t... | 28.156425 | 162 | 0.718849 | hamzaas |
784cc8aa698f50870bf21669ea42ebbd23ce6572 | 4,762 | cpp | C++ | remodet_repository_wdh_part/src/caffe/layers/detection_evaluate_layer.cpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/src/caffe/layers/detection_evaluate_layer.cpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/src/caffe/layers/detection_evaluate_layer.cpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <map>
#include <string>
#include <vector>
#include "caffe/layers/detection_evaluate_layer.hpp"
#include "caffe/util/bbox_util.hpp"
namespace caffe {
template <typename Dtype>
void DetectionEvaluateLayer<Dtype>::LayerSetUp(
const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtyp... | 36.914729 | 89 | 0.643847 | UrwLee |
784ceeaa8471d07b0116a28cc444d11837b5660e | 2,829 | hpp | C++ | include/oalplus/al_api/config.hpp | ford442/oglplu2 | abf1e28d9bcd0d2348121e8640d9611a94112a83 | [
"BSL-1.0"
] | 103 | 2015-10-15T07:09:22.000Z | 2022-03-20T03:39:32.000Z | include/oalplus/al_api/config.hpp | ford442/oglplu2 | abf1e28d9bcd0d2348121e8640d9611a94112a83 | [
"BSL-1.0"
] | 11 | 2015-11-25T11:39:49.000Z | 2021-06-18T08:06:06.000Z | include/oalplus/al_api/config.hpp | ford442/oglplu2 | abf1e28d9bcd0d2348121e8640d9611a94112a83 | [
"BSL-1.0"
] | 10 | 2016-02-28T00:13:20.000Z | 2021-09-06T05:21:38.000Z | /// @file
///
/// Copyright Matus Chochlik.
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE_1_0.txt or copy at
/// http://www.boost.org/LICENSE_1_0.txt
///
#ifndef OALPLUS_AL_API_CONFIG_HPP
#define OALPLUS_AL_API_CONFIG_HPP
#include "../config/basic.hpp"
#include <eagi... | 24.6 | 80 | 0.641216 | ford442 |
784cf79825a0378b42bdd90f7d3bac5c33f1630f | 736 | cpp | C++ | main/PISupervisor/linux/src/PISecFilterDeviceStub.cpp | minku1024/endpointdlp | 931ab140eef053498907d1db74a5c055bea8ef93 | [
"Apache-2.0"
] | 33 | 2020-11-18T09:30:13.000Z | 2022-03-03T17:56:24.000Z | main/PISupervisor/linux/src/PISecFilterDeviceStub.cpp | s4ngsuk-sms/endpointdlp | 9e87e352e23bff3b5e0701dd278756aadc8a0539 | [
"Apache-2.0"
] | 25 | 2020-07-31T01:43:17.000Z | 2020-11-27T12:32:09.000Z | main/PISupervisor/linux/src/PISecFilterDeviceStub.cpp | s4ngsuk-sms/endpointdlp | 9e87e352e23bff3b5e0701dd278756aadc8a0539 | [
"Apache-2.0"
] | 26 | 2020-11-18T09:30:15.000Z | 2022-01-18T08:24:01.000Z | #ifndef _PISECFILTERDEVICESTUB_CPP
#define _PISECFILTERDEVICESTUB_CPP
#include"PISecFilterDeviceStub.h"
CPISecFilterDeviceStub::CPISecFilterDeviceStub() {
}
CPISecFilterDeviceStub::~CPISecFilterDeviceStub() {
}
bool CPISecFilterDeviceStub::initialize(KERNEL_EVENTHANDLER kernel_eventhandler) {
return t... | 19.891892 | 96 | 0.76087 | minku1024 |
784eec0a02944bede305cf257cead79ccf6959a0 | 245 | cpp | C++ | Practice/Down Of Programming Contest/Loops/prob 2.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | Practice/Down Of Programming Contest/Loops/prob 2.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | Practice/Down Of Programming Contest/Loops/prob 2.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | //1 2 + 2 2 + 3 2 + . . . + n 2
#include <iostream>
#include <math.h>
using namespace std;
int main()
{
long n,sum = 0;
cin>>n;
for(long i = 1; i <= n; i++)
{
sum += pow(i,2);
}
cout<<sum<<endl;
return 0;
} | 13.611111 | 32 | 0.44898 | Sohelr360 |
784f5761bd573483fc83142c88b8c8aad80ac1d8 | 1,872 | cpp | C++ | src/umpire/op/HostReallocateOperation.cpp | td-mpcdf/Umpire | 3f1701e2dab2dce426f93206c8f5ba96af07e0cb | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/op/HostReallocateOperation.cpp | td-mpcdf/Umpire | 3f1701e2dab2dce426f93206c8f5ba96af07e0cb | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/op/HostReallocateOperation.cpp | td-mpcdf/Umpire | 3f1701e2dab2dce426f93206c8f5ba96af07e0cb | [
"MIT-0",
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-22, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... | 38.204082 | 118 | 0.633547 | td-mpcdf |
7850ca7cf9b4e0ffc75a8852ae0e660faf7bb712 | 717 | cpp | C++ | VideoCube/VideoCubeCV/libs/app7-master/3PartyLibs/qwt-6.1.4/examples/scatterplot/mainwindow.cpp | Kvazikot/VideoProjects | 899cd047dd791b0e2f33d40cf6e11fe949333329 | [
"MIT"
] | 1 | 2021-06-23T08:41:55.000Z | 2021-06-23T08:41:55.000Z | VideoCube/VideoCubeCV/libs/app7-master/3PartyLibs/qwt-6.1.4/examples/scatterplot/mainwindow.cpp | Kvazikot/VideoProjects | 899cd047dd791b0e2f33d40cf6e11fe949333329 | [
"MIT"
] | null | null | null | VideoCube/VideoCubeCV/libs/app7-master/3PartyLibs/qwt-6.1.4/examples/scatterplot/mainwindow.cpp | Kvazikot/VideoProjects | 899cd047dd791b0e2f33d40cf6e11fe949333329 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "plot.h"
#include <qmath.h>
static double randomValue()
{
// a number between [ 0.0, 1.0 ]
return ( qrand() % 100000 ) / 100000.0;
}
MainWindow::MainWindow()
{
d_plot = new Plot( this );
d_plot->setTitle( "Scatter Plot" );
setCentralWidget( d_plot );
// a mill... | 19.916667 | 58 | 0.555091 | Kvazikot |
7852ae26934902a8ace42b94f0cb152ad5d5a828 | 2,633 | cpp | C++ | pxr/imaging/hgi/graphicsCmdsDesc.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 27 | 2017-10-17T02:44:43.000Z | 2021-06-10T08:23:54.000Z | pxr/imaging/hgi/graphicsCmdsDesc.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 1 | 2016-09-12T16:50:59.000Z | 2016-09-12T16:50:59.000Z | pxr/imaging/hgi/graphicsCmdsDesc.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 7 | 2018-07-11T19:03:59.000Z | 2022-03-24T07:57:06.000Z | //
// Copyright 2019 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 30.616279 | 75 | 0.660463 | DougRogers-DigitalFish |
7852c919280429ecea3af128bd6c207a39245953 | 1,441 | cpp | C++ | ExternalCallbacks.cpp | Rus08/mandarin-vm | 9cb2af3d1698414b70f431629ee6124f64885677 | [
"MIT"
] | null | null | null | ExternalCallbacks.cpp | Rus08/mandarin-vm | 9cb2af3d1698414b70f431629ee6124f64885677 | [
"MIT"
] | null | null | null | ExternalCallbacks.cpp | Rus08/mandarin-vm | 9cb2af3d1698414b70f431629ee6124f64885677 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include "WebVM.h"
#include "Execute32Bit.h"
#include "SysCall.h"
uint32_t PerformCall(struct VirtualMachine* pVM)
{
pVM->CurrentStackTop = pVM->CurrentStackTop + 1;
CheckStackSize();
MakeCall();
return VM_OK;
}
uint32_t VMOnKeyDown(struct VirtualMachine* pVM, uint32_t Key)
... | 21.833333 | 85 | 0.684247 | Rus08 |
785324442352f72208bceee27f1f13395f50ff02 | 1,304 | hpp | C++ | ext/src/java/util/Set.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/util/Set.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/util/Set.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/util/fwd-POI.hpp>
#include <java/util/Collection.hpp>
struct java::util::Set
: public virtual Collection
{
/*bool add(::java::... | 38.352941 | 97 | 0.64954 | pebble2015 |
785839ffbabb7d32aec5a4fc14a2372049c63df5 | 6,246 | cpp | C++ | metro_mini_firmware/lcd.cpp | aeleos/ISWSD | bbf937d7d914307b52536fcf5d369422bb8f216d | [
"MIT"
] | null | null | null | metro_mini_firmware/lcd.cpp | aeleos/ISWSD | bbf937d7d914307b52536fcf5d369422bb8f216d | [
"MIT"
] | null | null | null | metro_mini_firmware/lcd.cpp | aeleos/ISWSD | bbf937d7d914307b52536fcf5d369422bb8f216d | [
"MIT"
] | null | null | null | #include "LiquidCrystal_I2C.h"
#include "lcd.h"
#include <Arduino.h>
#include "pinout.h"
// LCD Functions
#if defined(ARDUINO) && ARDUINO >= 100
#define printByte(args) write(args);
#else
#define printByte(args) print(args, BYTE);
#endif
//const PROGMEM uint16_t MAX_VOLT = 860;
//const PROGMEM uint16_t MID_VOLT = 778... | 18.370588 | 91 | 0.585335 | aeleos |
785d3922c2d40db887d7f0047d3137157b133143 | 18,075 | cpp | C++ | Source/GASShooter/Private/Characters/Abilities/GSGATA_Trace.cpp | Ritchiezhao/GASShooter | 4bd4ef5f926f3729a75f4dd991b33186c496adb9 | [
"MIT"
] | 506 | 2020-02-22T20:41:11.000Z | 2022-03-28T03:34:00.000Z | Source/GASShooter/Private/Characters/Abilities/GSGATA_Trace.cpp | Ritchiezhao/GASShooter | 4bd4ef5f926f3729a75f4dd991b33186c496adb9 | [
"MIT"
] | 26 | 2020-03-08T14:29:56.000Z | 2021-12-17T06:18:01.000Z | Source/GASShooter/Private/Characters/Abilities/GSGATA_Trace.cpp | Ritchiezhao/GASShooter | 4bd4ef5f926f3729a75f4dd991b33186c496adb9 | [
"MIT"
] | 165 | 2020-02-23T07:19:48.000Z | 2022-03-18T21:14:42.000Z | // Copyright 2020 Dan Kestranek.
#include "Characters/Abilities/GSGATA_Trace.h"
#include "AbilitySystemComponent.h"
#include "DrawDebugHelpers.h"
#include "GameFramework/PlayerController.h"
#include "GameplayAbilitySpec.h"
AGSGATA_Trace::AGSGATA_Trace()
{
bDestroyOnConfirmation = false;
PrimaryActorTick.bCanEverTi... | 31.271626 | 244 | 0.752642 | Ritchiezhao |
785d9aeddfaefcb9919a681572aa37f5e2bb7dc1 | 294 | cpp | C++ | task4.cpp | Hung150/lab20 | 63c8ad9b4fa4add7f610608190f3631ec1bbe719 | [
"Apache-2.0"
] | null | null | null | task4.cpp | Hung150/lab20 | 63c8ad9b4fa4add7f610608190f3631ec1bbe719 | [
"Apache-2.0"
] | null | null | null | task4.cpp | Hung150/lab20 | 63c8ad9b4fa4add7f610608190f3631ec1bbe719 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cstring>
using namespace std;
main(){
char s[90];
char ch;
cout << "Enter string: "<<endl;
cin >> s;
cout << endl << "Enter the character: "<<endl;
cin >> ch;
for (int i=0;i<s.length();i++){
cout << s[i];
if (s[i]==ch) cout << s[i];
}
}
| 18.375 | 48 | 0.527211 | Hung150 |
785f18e8a46ce3f974a5502667a256df01b9e893 | 4,627 | cc | C++ | src/media/audio/lib/simple-codec/simple-codec-client.cc | EnderNightLord-ChromeBook/zircon-rpi | b09b1eb3aa7a127c65568229fe10edd251869283 | [
"BSD-2-Clause"
] | 1 | 2020-12-29T17:07:06.000Z | 2020-12-29T17:07:06.000Z | src/media/audio/lib/simple-codec/simple-codec-client.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | src/media/audio/lib/simple-codec/simple-codec-client.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/simple-codec/simple-codec-client.h>
#include <ddk/debug.h>
namespace audio {
namespace audio_fidl = ::fuchsia::hardware::audio;
using Sync... | 32.815603 | 96 | 0.722498 | EnderNightLord-ChromeBook |