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 float64 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 float64 1 77k ⌀ | 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 float64 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 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
281874f0f50215f6ddae0de843f105fd9460a5dc | 906 | hpp | C++ | src/unit/cavalry/knight.hpp | JoiNNewtany/LETI-Game | 51d31a2b0b212f8bbd11c1562af4ef23d34437b6 | [
"Unlicense"
] | 2 | 2021-11-15T19:27:32.000Z | 2021-12-10T20:51:37.000Z | src/unit/cavalry/knight.hpp | JoiNNewtany/LETI-Game | 51d31a2b0b212f8bbd11c1562af4ef23d34437b6 | [
"Unlicense"
] | null | null | null | src/unit/cavalry/knight.hpp | JoiNNewtany/LETI-Game | 51d31a2b0b212f8bbd11c1562af4ef23d34437b6 | [
"Unlicense"
] | null | null | null | #pragma once
#include "unit/unit.hpp"
class Knight : public Unit {
public:
Knight(int hp = 80, int dmg = 15, int df = 5) {
health = hp;
maxHealth = hp;
damage = dmg;
defense = df;
graphics = 'k';
}
~Knight() {}
virtual bo... | 29.225806 | 67 | 0.572848 |
2819887ad608e023490df95aa9871e8f846b53bd | 151 | cpp | C++ | Src/Kranos/Layer.cpp | KDahir247/KranosLoader | 5e55a0f1a697170020c2601c9b0d04b0da27da93 | [
"MIT"
] | null | null | null | Src/Kranos/Layer.cpp | KDahir247/KranosLoader | 5e55a0f1a697170020c2601c9b0d04b0da27da93 | [
"MIT"
] | null | null | null | Src/Kranos/Layer.cpp | KDahir247/KranosLoader | 5e55a0f1a697170020c2601c9b0d04b0da27da93 | [
"MIT"
] | null | null | null | //
// Created by kdahi on 2020-09-29.
//
#include "Layer.h"
Layer::Layer(std::string name) : m_DebugName(std::move(name)) {
}
Layer::~Layer() {
} | 10.785714 | 63 | 0.609272 |
281a91c72bf7f47480b2a52e92ab2773f3aac8da | 3,011 | cpp | C++ | simple-dx11-renderer/Systems/DataSystem.cpp | ike-0/simple-dx11-renderer | e6597e30d9675a56be84c8c26f78697cc16a7e25 | [
"MIT"
] | null | null | null | simple-dx11-renderer/Systems/DataSystem.cpp | ike-0/simple-dx11-renderer | e6597e30d9675a56be84c8c26f78697cc16a7e25 | [
"MIT"
] | null | null | null | simple-dx11-renderer/Systems/DataSystem.cpp | ike-0/simple-dx11-renderer | e6597e30d9675a56be84c8c26f78697cc16a7e25 | [
"MIT"
] | null | null | null | #include "DataSystem.h"
DataSystem* DataSystem::Instance = nullptr;
DataSystem::DataSystem()
{
Instance = this;
}
DataSystem::~DataSystem()
{
Instance = nullptr;
RemoveShaders();
}
void DataSystem::LoadShaders()
{
try
{
std::filesystem::path shaderpath = Path::Relative("shaders\\");
for (auto& dir : std::... | 20.909722 | 121 | 0.663235 |
281c3004a31fa9001737787f07cd19fc22402ae9 | 4,920 | cpp | C++ | Other OJs/SPOJ/MSUBSTR.cpp | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | 1 | 2019-11-12T15:08:16.000Z | 2019-11-12T15:08:16.000Z | Other OJs/SPOJ/MSUBSTR.cpp | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | null | null | null | Other OJs/SPOJ/MSUBSTR.cpp | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | 1 | 2021-05-05T01:16:28.000Z | 2021-05-05T01:16:28.000Z | #include <bits/stdc++.h>
using namespace std;
#define TemplateVersion "3.4.1"
// Useful Marcos
//====================START=====================
// Compile use C++11 and above
#ifdef LOCAL
#define debug(args...) \
{ \
string _s = #args; ... | 22.568807 | 98 | 0.552439 |
281c5f3d12b95787c73b64e42ee2bd5cf0a020d3 | 1,376 | cc | C++ | src/ft_ee_ua_size_op.cc | Incont/n-ftdi | fb9ec653b731c9e55d50a668be539b4774950c8b | [
"MIT"
] | 2 | 2019-09-30T09:22:06.000Z | 2019-09-30T14:40:11.000Z | src/ft_ee_ua_size_op.cc | Incont/n-ftdi | fb9ec653b731c9e55d50a668be539b4774950c8b | [
"MIT"
] | 8 | 2019-09-05T05:18:45.000Z | 2021-07-11T11:45:30.000Z | src/ft_ee_ua_size_op.cc | Incont/n-ftdi | fb9ec653b731c9e55d50a668be539b4774950c8b | [
"MIT"
] | 3 | 2020-05-25T09:49:25.000Z | 2020-06-29T18:34:47.000Z | #include "ft_ee_ua_size_op.h"
Napi::Object FtEeUaSize::Init(Napi::Env env, Napi::Object exports)
{
exports.Set("eeUaSizeSync", Napi::Function::New(env, FtEeUaSize::InvokeSync));
exports.Set("eeUaSize", Napi::Function::New(env, FtEeUaSize::Invoke));
return exports;
}
Napi::Object FtEeUaSize::InvokeSync(con... | 28.081633 | 86 | 0.695494 |
281cef6cd6f9e35263ab4bd3be968217ab81112d | 5,880 | cpp | C++ | ScriptHookDotNet/ScriptThread.cpp | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 3 | 2021-11-14T20:59:58.000Z | 2021-12-16T16:41:31.000Z | ScriptHookDotNet/ScriptThread.cpp | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 2 | 2021-11-29T14:41:23.000Z | 2021-11-30T13:13:51.000Z | ScriptHookDotNet/ScriptThread.cpp | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 3 | 2021-11-21T12:41:55.000Z | 2021-12-22T16:17:52.000Z | /*
* Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX)
*
* 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
* ... | 31.44385 | 129 | 0.680442 |
281fc5b4ad418631e464c9fb6bb424d4a7a74785 | 3,589 | cpp | C++ | doc/6.0.1/MPG/example-search-tracer.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 1 | 2020-10-28T06:11:30.000Z | 2020-10-28T06:11:30.000Z | doc/6.0.1/MPG/example-search-tracer.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 1 | 2019-05-05T11:10:31.000Z | 2019-05-05T11:10:31.000Z | doc/6.0.1/MPG/example-search-tracer.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 4 | 2019-05-03T18:43:19.000Z | 2020-12-17T04:06:59.000Z | /*
* Authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008-2018
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software, to deal in the software without restriction,
* including without limitation the rights to use, cop... | 33.231481 | 77 | 0.574255 |
2823be59b9693fbcbfdda47c7ba0ad5356c647bf | 3,005 | cpp | C++ | 05_Hello_Amazon/src/main.cpp | RawMatter/IoT_Message_Box_Workshop_Solutions | a6e1690e5476b2b9117f769e7ccd92a7462c436c | [
"Unlicense"
] | null | null | null | 05_Hello_Amazon/src/main.cpp | RawMatter/IoT_Message_Box_Workshop_Solutions | a6e1690e5476b2b9117f769e7ccd92a7462c436c | [
"Unlicense"
] | null | null | null | 05_Hello_Amazon/src/main.cpp | RawMatter/IoT_Message_Box_Workshop_Solutions | a6e1690e5476b2b9117f769e7ccd92a7462c436c | [
"Unlicense"
] | null | null | null | #include <Arduino.h>
#include <TFT_eSPI.h>
#include <WiFi.h>
// Add the secure WiFi and MQTT libraries
#include <WiFiClientSecure.h>
#include <MQTTClient.h>
#include <ArduinoJson.h>
// WiFi Parameters are define in the "secrets" header file
#include "secrets.h"
// Button definitions
const char BUTTON_0 = 0;
const ch... | 22.593985 | 94 | 0.686855 |
28257fdbab3a888d0240cdd2ddad2ef460f5574a | 8,838 | cpp | C++ | binding-cpp/runtime/src/test/transport/EtchMessagizerTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2015-02-14T15:09:54.000Z | 2021-11-10T15:09:45.000Z | binding-cpp/runtime/src/test/transport/EtchMessagizerTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | binding-cpp/runtime/src/test/transport/EtchMessagizerTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-04-20T10:35:00.000Z | 2021-11-10T15:09:35.000Z | /* $Id$
* 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 ... | 34.123552 | 119 | 0.739194 |
2828538a14b2a0bbd6583b6dadb46893cfd40c07 | 2,177 | cc | C++ | components/spellcheck/renderer/platform_spelling_engine.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | components/spellcheck/renderer/platform_spelling_engine.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | components/spellcheck/renderer/platform_spelling_engine.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "components/spellcheck/renderer/platform_spelling_engine.h"
#include "content/public/renderer/render_thread.h"
#include "services/service_ma... | 34.015625 | 79 | 0.762058 |
28286fc38f45510bdb7d3e72f057aa401cd1e532 | 8,781 | cpp | C++ | wrap/csllbc/native/src/comm/_Service.cpp | shakeumm/llbc | 5aaf6f83eedafde87d52adf44b7548e85ad4a9d1 | [
"MIT"
] | 5 | 2021-10-31T17:12:45.000Z | 2022-01-10T11:10:27.000Z | wrap/csllbc/native/src/comm/_Service.cpp | shakeumm/llbc | 5aaf6f83eedafde87d52adf44b7548e85ad4a9d1 | [
"MIT"
] | 1 | 2019-09-04T12:23:37.000Z | 2019-09-04T12:23:37.000Z | wrap/csllbc/native/src/comm/_Service.cpp | ericyonng/llbc | a7fd1193db03b8ad34879441b09914adec8a62e6 | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2013 lailongwei<lailongwei@126.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 r... | 32.643123 | 124 | 0.623961 |
282c19a79fdd2e73cbab17a4ac5b4a42ea2f5aaf | 1,511 | cpp | C++ | ABC197/e.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | ABC197/e.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | 3 | 2021-03-31T01:39:25.000Z | 2021-05-04T10:02:35.000Z | ABC197/e.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i <= n; i++)
#define FORR(i, m, n) for (int i = m; i >= n; i--)
#define SORT(v, n) sort(v, v + n)
#define MAX 100000
#define inf 1000000007
using namespace std;... | 26.051724 | 82 | 0.512244 |
282c401068b45c3be3e3878068c02abbf2ac662e | 5,002 | hpp | C++ | Zaimoni.STL/iterator_array_size.hpp | zaimoni/Iskandria | b056d2ba359b814db02aab42eba8d5f7f5ca7a1a | [
"BSL-1.0"
] | 2 | 2019-11-23T12:35:49.000Z | 2022-02-10T08:27:54.000Z | Zaimoni.STL/iterator_array_size.hpp | zaimoni/Iskandria | b056d2ba359b814db02aab42eba8d5f7f5ca7a1a | [
"BSL-1.0"
] | 8 | 2019-11-15T08:13:48.000Z | 2020-04-29T00:35:42.000Z | Zaimoni.STL/iterator_array_size.hpp | zaimoni/Iskandria | b056d2ba359b814db02aab42eba8d5f7f5ca7a1a | [
"BSL-1.0"
] | null | null | null | // iterator_array_size.hpp
#ifndef ITERATOR_ARRAY_SIZE_HPP
#define ITERATOR_ARRAY_SIZE_HPP 1
#include "Logging.h"
#include "iterator.on.hpp"
#include <iterator>
namespace zaimoni {
template<class T>
class iterator_array_size
{
public:
typedef typename T::difference_type difference_type; // these fiv... | 24.885572 | 100 | 0.647341 |
282d1de720e5f1e4780992e97cf6ce995786aa92 | 62 | cpp | C++ | Src/Evora/Engine/game_state.cpp | medovina/Evora | 95e41e7b2d5c408d515a01a5649ddfaa211e9349 | [
"Apache-2.0"
] | 1 | 2020-11-25T20:53:36.000Z | 2020-11-25T20:53:36.000Z | Src/Evora/Engine/game_state.cpp | medovina/Evora | 95e41e7b2d5c408d515a01a5649ddfaa211e9349 | [
"Apache-2.0"
] | 16 | 2020-03-06T09:11:55.000Z | 2020-07-24T10:57:41.000Z | Src/Evora/Engine/game_state.cpp | medovina/Evora | 95e41e7b2d5c408d515a01a5649ddfaa211e9349 | [
"Apache-2.0"
] | 1 | 2020-01-18T13:11:38.000Z | 2020-01-18T13:11:38.000Z | #include "game_state.h"
game_state::~game_state() = default;
| 15.5 | 36 | 0.725806 |
28306a60542b3d1077c9f2f0a2c231c56e530088 | 443 | cpp | C++ | boost/join.cpp | ysoftman/test_code | 4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8 | [
"MIT"
] | 3 | 2017-12-07T04:29:36.000Z | 2022-01-11T10:58:14.000Z | boost/join.cpp | ysoftman/test_code | 4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8 | [
"MIT"
] | 14 | 2018-07-17T05:16:42.000Z | 2022-03-22T00:43:47.000Z | boost/join.cpp | ysoftman/test_code | 4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8 | [
"MIT"
] | null | null | null | // ysoftman
// boost join 사용하기
#include <iostream>
#include <vector>
#include <string>
#include <boost/algorithm/string/join.hpp>
using namespace std;
int main()
{
cout << "boost join test" << endl;
vector<string> strVec;
strVec.push_back("Yoon");
strVec.push_back("Byoung");
strVec.push_back("Hoo... | 19.26087 | 65 | 0.654628 |
283206c28f3ee30b3afe64271cb1a35d04d539d4 | 1,525 | cpp | C++ | src/read_fasta.cpp | danielsundfeld/cuda_sankoff | dd765a2707b14aef24852a7e1d4d6e5df565d38d | [
"MIT"
] | null | null | null | src/read_fasta.cpp | danielsundfeld/cuda_sankoff | dd765a2707b14aef24852a7e1d4d6e5df565d38d | [
"MIT"
] | null | null | null | src/read_fasta.cpp | danielsundfeld/cuda_sankoff | dd765a2707b14aef24852a7e1d4d6e5df565d38d | [
"MIT"
] | null | null | null | /*!
* \author Daniel Sundfeld
* \copyright MIT License
*/
#include "read_fasta.h"
#include <fstream>
#include <iostream>
#include <string>
#include "Sequences.h"
int read_fasta_file_core(const std::string &name)
{
std::ifstream file(name.c_str());
Sequences *sequences = Sequences::get_instance();
if ... | 22.761194 | 86 | 0.523934 |
283245e594d24b971e8c22fbe2604a2550742e54 | 22,479 | cc | C++ | third_party/blink/renderer/modules/indexeddb/idb_database.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/renderer/modules/indexeddb/idb_database.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/modules/indexeddb/idb_database.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) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 38.294719 | 94 | 0.735531 |
28331d1fad394a87a4e92012de0e9b6b0598c39f | 26,831 | cpp | C++ | shared/source/device_binary_format/patchtokens_decoder.cpp | maleadt/compute-runtime | 5d90e2ab1defd413dc9633fe237a44c2a1298185 | [
"Intel",
"MIT"
] | null | null | null | shared/source/device_binary_format/patchtokens_decoder.cpp | maleadt/compute-runtime | 5d90e2ab1defd413dc9633fe237a44c2a1298185 | [
"Intel",
"MIT"
] | null | null | null | shared/source/device_binary_format/patchtokens_decoder.cpp | maleadt/compute-runtime | 5d90e2ab1defd413dc9633fe237a44c2a1298185 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2019-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "patchtokens_decoder.h"
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/helpers/debug_helpers.h"
#include "shared/source/helpers/hash.h"
#include "shared/source/helpers/ptr_math.... | 42.120879 | 255 | 0.735232 |
283383cbfb967feccae62aef0f0c14b3dd3a6c3b | 2,502 | cc | C++ | libcef/common/service_manifests/builtin_service_manifests.cc | aslistener/cef | d2bfa62d2df23cec85b6fea236aafb8ceb6f2423 | [
"BSD-3-Clause"
] | null | null | null | libcef/common/service_manifests/builtin_service_manifests.cc | aslistener/cef | d2bfa62d2df23cec85b6fea236aafb8ceb6f2423 | [
"BSD-3-Clause"
] | null | null | null | libcef/common/service_manifests/builtin_service_manifests.cc | aslistener/cef | d2bfa62d2df23cec85b6fea236aafb8ceb6f2423 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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 "libcef/common/service_manifests/builtin_service_manifests.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "chrome/c... | 39.09375 | 81 | 0.698641 |
283494667f8cc67ec616bfd5cbb8447c4cc7275e | 4,735 | cpp | C++ | src/ctrl/form/User.cpp | minyor/PocoBlog | 9556c5e70618dd64abd36913cc34c5c373b5673f | [
"BSD-2-Clause"
] | 5 | 2016-01-19T02:12:40.000Z | 2018-01-12T09:20:53.000Z | src/ctrl/form/User.cpp | minyor/PocoBlog | 9556c5e70618dd64abd36913cc34c5c373b5673f | [
"BSD-2-Clause"
] | null | null | null | src/ctrl/form/User.cpp | minyor/PocoBlog | 9556c5e70618dd64abd36913cc34c5c373b5673f | [
"BSD-2-Clause"
] | null | null | null |
#include "Poco/CountingStream.h"
#include "Poco/NullStream.h"
#include "Poco/StreamCopier.h"
#include <ctrl/form/User.h>
using namespace ctrl::form;
static const std::string birthdayFormat = "%Y-%n-%e";
std::string birthdayFromDate(const Poco::DateTime &date)
{
return Poco::DateTimeFormatter::format(date, birthd... | 22.023256 | 98 | 0.646251 |
28359254006702bcfe15cb754c96fba7efaae5fb | 397 | hpp | C++ | include/mk2/math/sin.hpp | SachiSakurane/libmk2 | e8acf044ee5de160ad8a6f0a3c955beddea8d8c2 | [
"BSL-1.0"
] | null | null | null | include/mk2/math/sin.hpp | SachiSakurane/libmk2 | e8acf044ee5de160ad8a6f0a3c955beddea8d8c2 | [
"BSL-1.0"
] | null | null | null | include/mk2/math/sin.hpp | SachiSakurane/libmk2 | e8acf044ee5de160ad8a6f0a3c955beddea8d8c2 | [
"BSL-1.0"
] | null | null | null | //
// sin.hpp
//
//
// Created by Himatya on 2015/12/18.
// Copyright (c) 2015 Himatya. All rights reserved.
//
#pragma once
#include <type_traits>
#include <mk2/math/cos.hpp>
namespace mk2{
namespace math{
template<class T, typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
inli... | 17.26087 | 97 | 0.649874 |
2836bc8a211175328048c71d425b69e73c5cceb8 | 1,015 | cpp | C++ | src/chatterbox_1.1.0/lib/Manual/Pots.cpp | danja/chatterbox | 59ebf9d65bac38854a6162bc0f6f4b9f6d43d330 | [
"MIT"
] | 2 | 2021-02-19T22:30:59.000Z | 2021-03-19T19:07:36.000Z | src/chatterbox_1.1.0/lib/Manual/Pots.cpp | danja/chatterbox | 59ebf9d65bac38854a6162bc0f6f4b9f6d43d330 | [
"MIT"
] | null | null | null | src/chatterbox_1.1.0/lib/Manual/Pots.cpp | danja/chatterbox | 59ebf9d65bac38854a6162bc0f6f4b9f6d43d330 | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include <Wavetable.h>
#include <Pots.h>
#include <Pot.h>
Pots::Pots()
{
}
void Pots::init()
{
// float tablesize = (float)TABLESIZE; // move
potArray[POT_P0] = Pot("f1f", 36);
potArray[POT_P1] = Pot("f2f", 39);
potArray[POT_P2] = Pot("f3f", 32);
potArray[POT_P3] = Pot("f3q",... | 25.375 | 102 | 0.64532 |
2836e0aee839529b28bec1912dfa074e4306a4fa | 34 | cpp | C++ | 2D_Processing/src/LineStrip.cpp | Epono/5A-3DJV-2D_Processing | de64ef4c851775abd87a00db526c98ec41124dc2 | [
"MIT"
] | null | null | null | 2D_Processing/src/LineStrip.cpp | Epono/5A-3DJV-2D_Processing | de64ef4c851775abd87a00db526c98ec41124dc2 | [
"MIT"
] | null | null | null | 2D_Processing/src/LineStrip.cpp | Epono/5A-3DJV-2D_Processing | de64ef4c851775abd87a00db526c98ec41124dc2 | [
"MIT"
] | null | null | null | #include "../headers/LineStrip.h"
| 17 | 33 | 0.705882 |
2837ca8e718fbb7d3c28209ed54b6039e3f1c823 | 17,969 | hxx | C++ | Modules/Segmentation/Conversion/include/otbLabelImageRegionMergingFilter.hxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Segmentation/Conversion/include/otbLabelImageRegionMergingFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Segmentation/Conversion/include/otbLabelImageRegionMergingFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 38.069915 | 159 | 0.718181 |
28387227adf8dd2d42870d9474af4f96725dc1d4 | 2,120 | cpp | C++ | solved-codeforces/the_redback/contest/749/c/23155481.cpp | Maruf-Tuhin/Online_Judge | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | 1 | 2019-03-31T05:47:30.000Z | 2019-03-31T05:47:30.000Z | solved-codeforces/the_redback/contest/749/c/23155481.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | solved-codeforces/the_redback/contest/749/c/23155481.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | /**
* @author : Maruf Tuhin
* @College : CUET CSE 11
* @Topcoder : the_redback
* @CodeForces : the_redback
* @UVA : the_redback
* @link : http://www.fb.com/maruf.2hin
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long lo... | 22.083333 | 102 | 0.49434 |
2838a15aef565c77fc2e1f02155ebe31e09a2244 | 12,215 | cpp | C++ | applications/plugins/image/imagetoolbox/depth/depthimagetoolboxaction.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/plugins/image/imagetoolbox/depth/depthimagetoolboxaction.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/plugins/image/imagetoolbox/depth/depthimagetoolboxaction.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | #include "depthimagetoolbox.h"
#include "depthimagetoolboxaction.h"
#include <QString>
#include <QLabel>
namespace sofa
{
namespace gui
{
namespace qt
{
int DepthRowImageToolBoxAction::numindex=0;
DepthImageToolBoxAction::DepthImageToolBoxAction(sofa::component::engine::LabelImageToolBox* lba,QObject *parent):
... | 26.439394 | 227 | 0.654032 |
283a534e855eb822e3a85e59fcc8f8cf13f9b13d | 2,116 | cc | C++ | shell/common/asar/scoped_temporary_file.cc | TarunavBA/electron | a41898bb9b889486fb93c11b7107b9412818133a | [
"MIT"
] | 88,283 | 2016-04-04T19:29:13.000Z | 2022-03-31T23:33:33.000Z | shell/common/asar/scoped_temporary_file.cc | TarunavBA/electron | a41898bb9b889486fb93c11b7107b9412818133a | [
"MIT"
] | 27,327 | 2016-04-04T19:38:58.000Z | 2022-03-31T22:34:10.000Z | shell/common/asar/scoped_temporary_file.cc | TarunavBA/electron | a41898bb9b889486fb93c11b7107b9412818133a | [
"MIT"
] | 15,972 | 2016-04-04T19:32:06.000Z | 2022-03-31T08:54:00.000Z | // Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/common/asar/scoped_temporary_file.h"
#include <vector>
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/threading/thread_restrictions.h"
#in... | 25.190476 | 77 | 0.690926 |
283a71c9583a82d67aa9059ac89118881af9ce63 | 47,507 | cpp | C++ | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | 1 | 2020-12-11T03:28:32.000Z | 2020-12-11T03:28:32.000Z | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | null | null | null | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | null | null | null | // Copyright (c) 2019-2021, The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
// 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/LICEN... | 56.088548 | 146 | 0.636832 |
283a80924b2defc573734b3ff42e7e7384c9cffb | 9,532 | cpp | C++ | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | /*****************************************************************************************
* *
* OpenSpace *
* ... | 34.536232 | 90 | 0.593999 |
283afec9ab13eba507692de14055621e68232683 | 3,020 | hpp | C++ | QuantExt/qle/instruments/makecds.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | 1 | 2021-03-30T17:24:17.000Z | 2021-03-30T17:24:17.000Z | QuantExt/qle/instruments/makecds.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | QuantExt/qle/instruments/makecds.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2017 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 33.555556 | 86 | 0.76755 |
283cf5bab703ddbfe5d27d122222b8ffcb2343d6 | 86,167 | cpp | C++ | dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/InstanceDataHierarchy.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/InstanceDataHierarchy.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/InstanceDataHierarchy.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 44.097748 | 304 | 0.527325 |
283d232e0cebdcfedf5e47e2e5af2153ff8b129a | 7,202 | cpp | C++ | inference-engine/tests/functional/plugin/gna/Import_export_tests/import_export_act_conv_act.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | null | null | null | inference-engine/tests/functional/plugin/gna/Import_export_tests/import_export_act_conv_act.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 16 | 2021-04-19T13:03:04.000Z | 2022-02-21T13:06:50.000Z | inference-engine/tests/functional/plugin/gna/Import_export_tests/import_export_act_conv_act.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include <memory>
#include <tuple>
#include <vector>
#include <string>
#include <fstream>
#include <ie_core.hpp>
#include <ie_layouts.h>
#include "shared_test_classes/base/layer_test_utils.hpp"
#include "function... | 40.234637 | 131 | 0.620383 |
2841971e0bff9a57c920a04ac25df9ef4a1e9c4d | 5,126 | cpp | C++ | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | #include "GEvent.h"
GEvent::GEvent() {
}
GEvent::~GEvent() {
//Do nothing
}
void GEvent::OnEvent(SDL_Event* event) {
switch(event->type) {
case SDL_KEYDOWN: {
OnKeyDown(event->key.keysym.sym,event->key.keysym.mod);
break;
}
case SDL_KEYUP: {
OnKey... | 23.953271 | 257 | 0.558525 |
2842442eca960d8309112fd16fcafecfcf29aab9 | 21,655 | cc | C++ | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */
/*
* $Header: /fuji/lewis/RCS/EmilyWindow.cc,v 1.6 1992/09/08 16:40:43 lewis Exp $
*
* TODO:
*
* Changes:
* $Log: EmilyWindow.cc,v $
* Revision 1.6 1992/09/08 16:40:43 lewis
* Renamed NULL -> Nil.
*
* Revision 1.5 1992/09/01 17... | 27.136591 | 142 | 0.652274 |
2842d743a10cb05257b9106962481d8d684edc81 | 626 | cpp | C++ | LGPUtil/LGPExitSystem.cpp | chen0040/cpp-linear-genetic-programming | 8b0bc8701110af0b7506546e527bd03f57d972fe | [
"MIT"
] | 3 | 2018-01-09T06:03:23.000Z | 2020-12-29T20:09:44.000Z | LGPUtil/LGPExitSystem.cpp | chen0040/cpp-linear-genetic-programming | 8b0bc8701110af0b7506546e527bd03f57d972fe | [
"MIT"
] | 1 | 2017-11-15T04:24:43.000Z | 2017-11-18T02:17:12.000Z | LGPUtil/LGPExitSystem.cpp | chen0040/cpp-linear-genetic-programming | 8b0bc8701110af0b7506546e527bd03f57d972fe | [
"MIT"
] | 2 | 2017-09-17T04:24:24.000Z | 2020-01-29T05:35:49.000Z | #include "LGPExitSystem.h"
#include <cstdlib>
#include <iostream>
#include "LGPLogger.h"
#include "../LGPConstants/LGPFlags.h"
#include <cassert>
void LGPExitSystem(const char* fname, const char* ename)
{
std::cout << "An error has occurred in the LGP System..." << std::endl;
std::cout << "Source: " << fname << st... | 25.04 | 76 | 0.65016 |
2843f15a5aaff39464478839a47483251844600c | 998 | cpp | C++ | out/production/Hacktoberfest1/C++/pattern_prctice(CB).cpp | bluey-crypto/Hacktoberfest | c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba | [
"MIT"
] | 4 | 2019-10-12T13:54:20.000Z | 2021-07-06T22:41:12.000Z | out/production/Hacktoberfest1/C++/pattern_prctice(CB).cpp | bluey-crypto/Hacktoberfest | c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba | [
"MIT"
] | 1 | 2020-10-01T18:03:45.000Z | 2020-10-01T18:03:45.000Z | out/production/Hacktoberfest1/C++/pattern_prctice(CB).cpp | bluey-crypto/Hacktoberfest | c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba | [
"MIT"
] | 8 | 2019-10-14T17:20:09.000Z | 2020-10-03T17:27:49.000Z | #include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
for(int i=1;i<=n;i++)
{
for(int j=0;j<n-i;j++)
cout<<" ";
for(int j=i;j<=2*i-1;j++)
cout<<j;
for(int j=i;j)
cout<<j;
cout<<endl;
... | 16.360656 | 52 | 0.316633 |
2845626b754d5b1438c031a49a8a2ce15d1f8187 | 1,098 | cpp | C++ | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | 41 | 2021-06-25T14:20:29.000Z | 2022-01-16T02:50:50.000Z | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | /*! \file
\brief A node constraint element.
Copyright (C) 2019-2022 kaoru https://www.tetengo.org/
*/
#include <memory>
#include <utility>
#include <boost/core/noncopyable.hpp>
#include <tetengo/lattice/node.hpp>
#include <tetengo/lattice/node_constraint_element.hpp>
namespace tetengo::lat... | 20.716981 | 120 | 0.618397 |
284919a0184a7378e69887339cc4337bee738d8b | 3,664 | cpp | C++ | src/software/sensor_fusion/filter/robot_team_filter_test.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/sensor_fusion/filter/robot_team_filter_test.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/sensor_fusion/filter/robot_team_filter_test.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | /**
* This file contains the unit tests for the implementation of RobotTeamFilter class
*/
#include "software/sensor_fusion/filter/robot_team_filter.h"
#include <gtest/gtest.h>
#include <string.h>
TEST(RobotTeamFilterTest, one_robot_detection_update_test)
{
Team old_team = Team(Duration::fromMilliseconds(1000)... | 37.387755 | 90 | 0.692959 |
284adc7198c21a8493c908069d40743f3fb42d30 | 73,997 | cpp | C++ | catboost/libs/model/model.cpp | notimesea/catboost | 1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce | [
"Apache-2.0"
] | null | null | null | catboost/libs/model/model.cpp | notimesea/catboost | 1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce | [
"Apache-2.0"
] | null | null | null | catboost/libs/model/model.cpp | notimesea/catboost | 1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce | [
"Apache-2.0"
] | null | null | null | #include "model.h"
#include "flatbuffers_serializer_helper.h"
#include "model_import_interface.h"
#include "model_build_helper.h"
#include "static_ctr_provider.h"
#include <catboost/libs/model/flatbuffers/model.fbs.h>
#include <catboost/libs/cat_feature/cat_feature.h>
#include <catboost/libs/helpers/borders_io.h>
#i... | 40.792172 | 154 | 0.672392 |
28524420cfa7183d7514ffa340993f720ee587fe | 4,255 | cc | C++ | quic/quic_transport/quic_transport_stream.cc | fawdlstty/quiche | dfabdfb6884bf8ccd92c6f818aa8764a84f5a984 | [
"BSD-3-Clause"
] | 1 | 2021-10-17T09:43:24.000Z | 2021-10-17T09:43:24.000Z | quic/quic_transport/quic_transport_stream.cc | fawdlstty/quiche | dfabdfb6884bf8ccd92c6f818aa8764a84f5a984 | [
"BSD-3-Clause"
] | null | null | null | quic/quic_transport/quic_transport_stream.cc | fawdlstty/quiche | dfabdfb6884bf8ccd92c6f818aa8764a84f5a984 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/third_party/quiche/src/quic/quic_transport/quic_transport_stream.h"
#include <sys/types.h>
#include "net/third_party/quiche/src/quic/c... | 29.964789 | 81 | 0.682961 |
28530a40e5accd8f31daea09b54aff0474526fb5 | 3,707 | hpp | C++ | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | null | null | null | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | 4 | 2020-02-25T00:21:58.000Z | 2020-07-03T11:12:03.000Z | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | null | null | null | #pragma once
#include "common/Icon.hpp"
#include <QApplication>
#include <QDialog>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QIcon>
#include <QLabel>
#include <QLayout>
#include <config.hpp>
constexpr int ICON_SIZE = 100;
namespace Ui {
class AboutDialog {
public:
QGridLayout *gridLayout;
... | 34.64486 | 80 | 0.626113 |
2853a4fae21d10d113c59f1e5e720e1c399ab643 | 3,304 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 426 | 2015-04-12T10:00:46.000Z | 2022-03-29T11:03:02.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 124 | 2015-05-15T05:51:00.000Z | 2022-02-09T15:25:12.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 214 | 2015-05-06T07:30:37.000Z | 2022-03-26T16:14:04.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcActu... | 39.807229 | 172 | 0.740315 |
2853bc1c7cf0246f945c77713f29bb9cdbda037c | 2,067 | cpp | C++ | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | #include <iostream>
#include <gtest/gtest.h>
#include <stdexcept>
#include "account.h"
///////////////////////////////////////////////////////////////////
//fixture class for Account
class AccountTestFixtures: public testing::Test
{
public:
AccountTestFixtures();
static void SetUpTestCase();
void SetUp() override;
... | 27.197368 | 67 | 0.507499 |
285412303ff4ca73ddb2bcb65033969e40b6acab | 32,986 | cpp | C++ | src/mongo/db/query/lite_parsed_query_test.cpp | joprice/mongo | c8171e7f969519af8b87a43425ae291ee69a0191 | [
"Apache-2.0"
] | 1 | 2015-11-06T05:55:10.000Z | 2015-11-06T05:55:10.000Z | src/mongo/db/query/lite_parsed_query_test.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/query/lite_parsed_query_test.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2013 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 41.078456 | 99 | 0.518008 |
28547d18f64675f20e099d4d409b3a5608668593 | 2,434 | hpp | C++ | VNFs/DPPD-PROX/tools/flow_extract/stream.hpp | plvisiondevs/samplevnf | ffdcfa6b834d3ad00188ee9805370d6aefc44b4b | [
"Apache-2.0"
] | 19 | 2017-10-13T11:14:19.000Z | 2022-02-13T12:26:42.000Z | VNFs/DPPD-PROX/tools/flow_extract/stream.hpp | plvisiondevs/samplevnf | ffdcfa6b834d3ad00188ee9805370d6aefc44b4b | [
"Apache-2.0"
] | 1 | 2022-01-25T12:33:52.000Z | 2022-01-25T12:33:52.000Z | VNFs/DPPD-PROX/tools/flow_extract/stream.hpp | plvisiondevs/samplevnf | ffdcfa6b834d3ad00188ee9805370d6aefc44b4b | [
"Apache-2.0"
] | 22 | 2017-09-21T01:54:35.000Z | 2021-11-07T06:40:11.000Z | /*
// Copyright (c) 2010-2017 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 la... | 25.621053 | 80 | 0.741988 |
2854d4ff3ddbc2c5e17ae5989f6087554f272d9f | 2,183 | hpp | C++ | lib/STL+/containers/matrix.hpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | 65 | 2021-01-06T12:36:22.000Z | 2021-06-21T10:30:09.000Z | deps/stlplus/containers/matrix.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | 4 | 2021-12-06T16:00:00.000Z | 2022-03-18T07:40:33.000Z | deps/stlplus/containers/matrix.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | 11 | 2021-01-07T02:57:02.000Z | 2021-05-31T06:10:56.000Z | #ifndef STLPLUS_MATRIX
#define STLPLUS_MATRIX
////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004 onwards
// License: BSD License, see ../docs/license.html
... | 30.319444 | 82 | 0.55016 |
2855669ef1d39b987605349694dc6e7653d21e67 | 4,667 | hpp | C++ | src/buffer_cache/evicter.hpp | zadcha/rethinkdb | bb4f5cc28242dc1e29e9a46a8a931ec54420070c | [
"Apache-2.0"
] | 21,684 | 2015-01-01T03:42:20.000Z | 2022-03-30T13:32:44.000Z | src/buffer_cache/evicter.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 4,067 | 2015-01-01T00:04:51.000Z | 2022-03-30T13:42:56.000Z | src/buffer_cache/evicter.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 1,901 | 2015-01-01T21:05:59.000Z | 2022-03-21T08:14:25.000Z | #ifndef BUFFER_CACHE_EVICTER_HPP_
#define BUFFER_CACHE_EVICTER_HPP_
#include <stdint.h>
#include <functional>
#include "buffer_cache/eviction_bag.hpp"
#include "concurrency/auto_drainer.hpp"
#include "concurrency/cache_line_padded.hpp"
#include "concurrency/pubsub.hpp"
#include "threading.hpp"
#include "time.hpp"
c... | 29.726115 | 84 | 0.719091 |
2855cd96d30b58bbd0de294310c725c9e760088b | 6,641 | cc | C++ | mojo/edk/system/dispatcher.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | mojo/edk/system/dispatcher.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | mojo/edk/system/dispatcher.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 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 "mojo/edk/system/dispatcher.h"
#include "base/logging.h"
#include "mojo/edk/system/configuration.h"
#include "mojo/edk/system/data_pipe_consumer... | 33.205 | 79 | 0.660593 |
2857e6515c8cc11801506a908c7252d93ba529c1 | 62 | hpp | C++ | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 4 | 2020-05-04T18:03:59.000Z | 2020-05-06T19:40:27.000Z | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 13 | 2020-05-06T19:02:06.000Z | 2020-08-24T08:16:43.000Z | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 5 | 2020-05-04T18:04:05.000Z | 2020-05-14T16:53:13.000Z | #define COMPONENT JIP
#include "..\..\script_component.hpp"
| 20.666667 | 38 | 0.709677 |
285b157bd91e1f11fa4f4c0c4a349bb4c69b3637 | 1,988 | cpp | C++ | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | #include <opencv2/opencv.hpp>
#include <iostream>
#include <omp.h>
#include <fstream>
#include <string>
#include <filesystem>
#include <chrono>
namespace fs = std::filesystem;
using namespace std;
// goal load a video file and process it with multithearding
vector<string> getFiles(string path){
//cout << "adding ... | 18.238532 | 131 | 0.622233 |
285ba9ea9a30d009e31a5906e49bc6cbc8bb45c0 | 2,203 | cpp | C++ | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 675 | 2019-05-28T19:00:55.000Z | 2022-03-31T16:44:28.000Z | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 13 | 2020-03-29T06:46:32.000Z | 2022-01-29T03:19:30.000Z | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 53 | 2019-06-02T03:04:10.000Z | 2022-03-11T06:17:50.000Z | #include <ncine/common_macros.h>
#include <nctl/ProxyAllocator.h>
namespace nctl {
///////////////////////////////////////////////////////////
// CONSTRUCTORS and DESTRUCTOR
///////////////////////////////////////////////////////////
ProxyAllocator::ProxyAllocator(const char *name, IAllocator &allocator)
: IAllo... | 29.77027 | 120 | 0.684521 |
286048f8b0629f4e1171e3411031b2ca73a38f01 | 1,784 | cc | C++ | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 16 | 2018-08-30T19:55:43.000Z | 2022-02-16T16:38:06.000Z | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 151 | 2018-05-27T13:01:50.000Z | 2021-08-04T14:50:50.000Z | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 20 | 2018-11-13T13:46:38.000Z | 2022-02-18T17:33:52.000Z | /** @file runtime_test.cc
* @brief Some tests for runtime behavior of certain C++ constructs
*/
#include <iostream>
#include "lf/base/base.h"
static const int N = 10;
static double stat_tmp[N]; // NOLINT
std::vector<double> getData_VEC(double offset) {
std::vector<double> tmp(10);
for (int j = 0; j < N; j+... | 22.582278 | 69 | 0.538677 |
28617c6019b7bdfdb91bc6e8d63550ad8afaac6a | 4,390 | hpp | C++ | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | 1 | 2020-01-10T04:13:44.000Z | 2020-01-10T04:13:44.000Z | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | null | null | null | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (c) 2017, Sylvain Corlay and Johan Mabille *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* ... | 32.043796 | 99 | 0.550797 |
2864b7d13c542879e010c7d2fb375e9f194c14e1 | 4,259 | hxx | C++ | com/ole32/stg/async/layoutui/layoutui.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/stg/async/layoutui/layoutui.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/stg/async/layoutui/layoutui.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1996.
//
// File: layoutui.hxx
//
// Contents: Common header file Layout Tool UI
//
// Classes: CLayoutApp
// COleClientSite
//
// History:... | 26.128834 | 95 | 0.565391 |
28652391a9f68b49c85f7080f7cf3b649c33dabc | 6,641 | cc | C++ | net/base/directory_lister.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/base/directory_lister.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/base/directory_lister.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.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 "net/base/directory_lister.h"
#include <algorithm>
#include <vector>
#include "base/bind.h"
#include "base/file_util.h"
#include "base/file... | 30.888372 | 78 | 0.680319 |
286753be0bfc3a1dbe446687ed9cd96437c4a631 | 2,645 | cpp | C++ | ogre-network-receiver/CubicSpline.cpp | sevas/ogre-path-interpolation | 828efa8c0e4878ab1ed9b6c410c14b1e337c6cef | [
"WTFPL"
] | 2 | 2019-09-07T03:48:55.000Z | 2020-01-03T06:59:10.000Z | ogre-network-receiver/CubicSpline.cpp | sevas/ogre-path-interpolation | 828efa8c0e4878ab1ed9b6c410c14b1e337c6cef | [
"WTFPL"
] | null | null | null | ogre-network-receiver/CubicSpline.cpp | sevas/ogre-path-interpolation | 828efa8c0e4878ab1ed9b6c410c14b1e337c6cef | [
"WTFPL"
] | null | null | null | #include "precompiled.h"
#include "CubicSpline.h"
#include <OgreMath.h>
//------------------------------------------------------------------------------
CubicSpline::CubicSpline()
:mPoints(4)
,mStartPoint(2)
,mEndPoint(2)
,mHasControlPoints(false)
{
}
//-------------------------------... | 34.350649 | 90 | 0.438185 |
286930b7251bfb77d9c4612c785b52db98fecc5d | 506 | cpp | C++ | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018, Oath Inc. Licensed under the terms of the
* Apache License 2.0. See LICENSE file at the project root for terms.
*/
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
int main(int argc, char **argv) {
CppUnit::TextUi::TestRunner runner;
CppUnit::Test... | 31.625 | 87 | 0.741107 |
286a928b8661ddedc4fa3d34e5e5227d5e0e4d76 | 7,310 | cpp | C++ | hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/frameworks/components/ui_digital_clock.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/frameworks/components/ui_digital_clock.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/frameworks/components/ui_digital_clock.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020-2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 29.24 | 107 | 0.61368 |
286c5ecf38d03a1dd8d219ba69cecda5722795ee | 1,415 | cpp | C++ | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include <cstring>
#include <bits/stdc++.h>
using namespace std;
/************************************************************************************************************
* Problem statement : https://leetcode.com/explore/interview/card/top-interview-questions-easy/... | 26.203704 | 114 | 0.497527 |
286cb47acae02dcb7f8fce48320957ed50ad5f44 | 16,597 | cpp | C++ | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Initialization Utility Version 5 */
/* Copyright (C)1998-2017, WWIV Software Services */
/* ... | 31.433712 | 105 | 0.607519 |
286ef9f4e191c1ea6fcfc7ba46470f3ba04df768 | 499 | hpp | C++ | tools/converter/include/cli.hpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 3 | 2019-12-27T01:10:32.000Z | 2021-05-14T08:10:40.000Z | tools/converter/include/cli.hpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 10 | 2019-07-04T01:40:13.000Z | 2019-10-30T02:38:42.000Z | tools/converter/include/cli.hpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 1 | 2021-01-15T06:28:11.000Z | 2021-01-15T06:28:11.000Z | //
// cli.hpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef CLI_HPP
#define CLI_HPP
#include <iostream>
#include "config.hpp"
#include "cxxopts.hpp"
class Cli {
public:
static void printProjectBanner();
static cxxopts::Options initialize... | 16.633333 | 100 | 0.709419 |
2870ca201c9d033ac2921ff82a4d3509719167a1 | 2,492 | hpp | C++ | api/CPP/fully_connected_grad_input.hpp | liyuming1978/clDNN | 05e19dd2229dc977c2902ec360f3165ecb925b50 | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | api/CPP/fully_connected_grad_input.hpp | liyuming1978/clDNN | 05e19dd2229dc977c2902ec360f3165ecb925b50 | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | api/CPP/fully_connected_grad_input.hpp | liyuming1978/clDNN | 05e19dd2229dc977c2902ec360f3165ecb925b50 | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | /*
// Copyright (c) 2016 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 law or... | 31.544304 | 135 | 0.668941 |
2871f2f336d29b14efc4e9ac1c634069e3483785 | 16,900 | cpp | C++ | time.cpp | globalnix/deconz-rest-plugin | be847f397df49e595b801356769c64fbbba1ae45 | [
"BSD-3-Clause"
] | null | null | null | time.cpp | globalnix/deconz-rest-plugin | be847f397df49e595b801356769c64fbbba1ae45 | [
"BSD-3-Clause"
] | null | null | null | time.cpp | globalnix/deconz-rest-plugin | be847f397df49e595b801356769c64fbbba1ae45 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T17:54:10.000Z | 2022-03-24T17:54:10.000Z | /*
* time.cpp
*
* Full implementation of Time cluster server.
* Send ZCL attribute response to read request on Time Cluster attributes.
*
* 0x0000 Time / UTC Time seconds from 1/1/2000
* 0x0001 TimeStatus / Master(bit-0)=1, Superseding(bit-3)= 1, MasterZoneDst(bit-2)=1
* 0x0002 TimeZone / offset s... | 37.22467 | 163 | 0.574911 |
287383cba67d98a84142fed9f734d6bae19a47fa | 2,432 | hpp | C++ | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../../JObject.hpp"
namespace android::os
{
class Handler;
}
namespace android::os
{
class ParcelFileDescriptor;
}
namespace android::os
{
class ProxyFileDescriptorCallback;
}
namespace android::os::storage
{
class OnObbStateChangeListener;
}
namespace android::os::storage
{
class Storag... | 30.4 | 155 | 0.759457 |
2874ba54b9cc00fb38738fe05b1f3ff4d4663b63 | 2,458 | hpp | C++ | include/hipSYCL/compiler/cbs/LoopsParallelMarker.hpp | mfkiwl/hipSYCL | baf07483f5f5061b4c5ae73c8ddb0c83786dca3c | [
"BSD-2-Clause"
] | null | null | null | include/hipSYCL/compiler/cbs/LoopsParallelMarker.hpp | mfkiwl/hipSYCL | baf07483f5f5061b4c5ae73c8ddb0c83786dca3c | [
"BSD-2-Clause"
] | null | null | null | include/hipSYCL/compiler/cbs/LoopsParallelMarker.hpp | mfkiwl/hipSYCL | baf07483f5f5061b4c5ae73c8ddb0c83786dca3c | [
"BSD-2-Clause"
] | null | null | null | /*
* This file is part of hipSYCL, a SYCL implementation based on CUDA/HIP
*
* Copyright (c) 2021 Aksel Alpay and contributors
* 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. Redis... | 37.815385 | 95 | 0.772986 |
2875d539af4ea6d77cd798d56a8caaa28fc4a3f2 | 878 | cpp | C++ | routing/junction_visitor.cpp | swaitw/organicmaps | ab34d4d405ed22a5af94afa932b841b9ee6f6fd1 | [
"Apache-2.0"
] | null | null | null | routing/junction_visitor.cpp | swaitw/organicmaps | ab34d4d405ed22a5af94afa932b841b9ee6f6fd1 | [
"Apache-2.0"
] | null | null | null | routing/junction_visitor.cpp | swaitw/organicmaps | ab34d4d405ed22a5af94afa932b841b9ee6f6fd1 | [
"Apache-2.0"
] | null | null | null | #include "junction_visitor.hpp"
#include "routing/joint_segment.hpp"
#include "routing/route_weight.hpp"
#include "base/logging.hpp"
namespace routing
{
#ifdef DEBUG
void DebugRoutingState(JointSegment const & vertex, std::optional<JointSegment> const & parent,
RouteWeight const & heuristic, ... | 25.823529 | 95 | 0.626424 |
2879a3fc1b975c2fbc4973a52cb65ff5dda06173 | 2,952 | cpp | C++ | framework/src/media/MediaWorker.cpp | akosthekiss/TizenRT | c9bae662fdf3dbbfbd37560c85f71afe1461b1f0 | [
"Apache-2.0"
] | null | null | null | framework/src/media/MediaWorker.cpp | akosthekiss/TizenRT | c9bae662fdf3dbbfbd37560c85f71afe1461b1f0 | [
"Apache-2.0"
] | null | null | null | framework/src/media/MediaWorker.cpp | akosthekiss/TizenRT | c9bae662fdf3dbbfbd37560c85f71afe1461b1f0 | [
"Apache-2.0"
] | null | null | null | /* ****************************************************************
*
* Copyright 2018 Samsung Electronics 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
*
* ... | 25.669565 | 115 | 0.670393 |
287a82b966168a85726b83082e51688a7df03935 | 6,669 | cpp | C++ | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | 1 | 2021-03-30T06:28:32.000Z | 2021-03-30T06:28:32.000Z | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////
// Copyright(c) 2016, Lin Koon Wing Macgyver, macgyvercct@yahoo.com.hk //
// //
// Author : Mac Lin //
// Module : Magnum Engine v1.0.0 //
// Date : 14/Jun/2016 ... | 20.027027 | 87 | 0.690508 |
287b22e519dd780eb231663c37e9b63ca68a8796 | 753 | cpp | C++ | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | #include "light.hpp"
#include "../util/nm_math.hpp"
#include "../system/renderer.hpp"
Light::Light(
Scene *scene, Renderer *renderer, glm::vec3 position, glm::vec3 color
) :
SceneObject(scene, renderer, position), color(color)
{}
void Light::render(bool debug_mode)
{
SceneObject::render(debug_mod... | 25.965517 | 77 | 0.564409 |
287d5513210df00735b4bdf41df40e8f8c8b77b1 | 1,399 | cpp | C++ | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | #include "iostream"
#include "stdio.h"
#include "string"
#include "string.h"
#include "algorithm"
#include "math.h"
#include "vector"
#include "map"
#include "queue"
#include "stack"
#include "deque"
#include "set"
using namespace std;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
const in... | 20.573529 | 58 | 0.50965 |
287f40965278d62cc02152fb361085318976bba3 | 26,955 | hpp | C++ | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | 8 | 2020-07-21T01:30:35.000Z | 2022-03-09T15:51:14.000Z | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | 2 | 2022-01-24T20:51:46.000Z | 2022-03-16T23:08:40.000Z | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | null | null | null | // #include <stdexcept>
#include "barray-bones.hpp"
#ifndef BARRY_BARRAY_MEAT_HPP
#define BARRY_BARRAY_MEAT_HPP
#define BARRAY_TYPE() BArray<Cell_Type, Data_Type>
#define BARRAY_TEMPLATE_ARGS() <typename Cell_Type, typename Data_Type>
#define BARRAY_TEMPLATE(a,b) \
template BARRAY_TEMPLATE_ARGS() inline a BARR... | 21.968215 | 113 | 0.506733 |
287f82ec982f80d5bf005edffbe89f3e874bde45 | 5,060 | cxx | C++ | Charts/vtkContextActor.cxx | Lin1225/vtk_v5.10.0 | b54ac74f4716572862365fbff28cd0ecb8d08c3d | [
"BSD-3-Clause"
] | 2 | 2020-01-07T20:50:53.000Z | 2020-01-29T18:22:02.000Z | Charts/vtkContextActor.cxx | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | null | null | null | Charts/vtkContextActor.cxx | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | 5 | 2015-03-23T21:13:19.000Z | 2022-01-03T11:15:39.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkContextActor.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software ... | 28.268156 | 78 | 0.588735 |
287f86cc257f7c6803d7226c36014d060a9e76fb | 4,800 | hxx | C++ | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 1 | 2022-03-15T22:54:39.000Z | 2022-03-15T22:54:39.000Z | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | null | null | null | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the abo... | 24.742268 | 82 | 0.74375 |
2880119cd99ce85a00042ad784d2634da983d136 | 3,381 | cpp | C++ | MidiBlocksPlugins/ChordBankBlock/chordbankblock.cpp | millerthegorilla/midi-blocks | b7fc0c49b93b5d9cdd39358bfa6974fd2d0df7ac | [
"MIT"
] | null | null | null | MidiBlocksPlugins/ChordBankBlock/chordbankblock.cpp | millerthegorilla/midi-blocks | b7fc0c49b93b5d9cdd39358bfa6974fd2d0df7ac | [
"MIT"
] | null | null | null | MidiBlocksPlugins/ChordBankBlock/chordbankblock.cpp | millerthegorilla/midi-blocks | b7fc0c49b93b5d9cdd39358bfa6974fd2d0df7ac | [
"MIT"
] | null | null | null | /*
Copyright (C) 2013 Adam Nash
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.
This program ... | 25.421053 | 87 | 0.645075 |
2884713e818f042a181b5f03563ddcc2d3315a69 | 1,652 | cc | C++ | garnet/lib/ui/gfx/tests/stereo_camera_unittest.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 1 | 2019-04-21T18:02:26.000Z | 2019-04-21T18:02:26.000Z | garnet/lib/ui/gfx/tests/stereo_camera_unittest.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | garnet/lib/ui/gfx/tests/stereo_camera_unittest.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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 "garnet/lib/ui/gfx/resources/stereo_camera.h"
#include <lib/ui/scenic/cpp/commands.h>
#include <gtest/gtest.h>
#include "garnet/lib/ui/gfx/test... | 33.714286 | 100 | 0.746368 |
288511bf23e83f6efbf7f5bcf6be5bee633d6b90 | 8,823 | cpp | C++ | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | /*
* LinuxWindow.cpp
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include <LLGL/Platform/NativeHandle.h>
#include <LLGL/Display.h>
#include "LinuxWindow.h"
#include "MapKey.h"
#include <exception>
namespace LLGL
{
static Of... | 24.714286 | 139 | 0.613737 |
2885e7fa9c064cb4a5913f9b8f8db37177f0bb98 | 323 | cpp | C++ | src/kits/debugger/source_language/c_family/CppLanguage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/kits/debugger/source_language/c_family/CppLanguage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/kits/debugger/source_language/c_family/CppLanguage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
* Copyright 2012-2013, Rene Gollent, rene@gollent.com.
* Distributed under the terms of the MIT License.
*/
#include "CppLanguage.h"
CppLanguage::CppLanguage()
{
}
CppLanguage::~CppLanguage()
{
}
const char*
CppLanguage::Name() const
{
return "C++";... | 12.423077 | 55 | 0.690402 |
28860ae214f32e95d2218a6f6437461182ed6b67 | 872 | cxx | C++ | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 15 | 2020-04-22T15:18:28.000Z | 2022-03-24T07:48:28.000Z | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 25 | 2020-04-18T18:55:50.000Z | 2021-05-30T21:26:39.000Z | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 2 | 2020-09-16T05:55:54.000Z | 2021-01-09T12:09:43.000Z | /**
* @file KubelkaMunkTest.cxx
* @author thomas lindemeier
*
* @brief
*
* @date 2020-05-14
*
*/
#include "gtest/gtest.h"
#include "painty/core/KubelkaMunk.hxx"
TEST(KubelkaMunk, Reflectance) {
constexpr auto Eps = 0.00001;
const auto d = 0.5;
const painty::vec<double, 3U> k = {0.2... | 27.25 | 79 | 0.598624 |
2887edc208ada4e07f89e8459df6bc8b4032330b | 6,198 | cpp | C++ | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 8 | 2018-03-05T04:14:44.000Z | 2021-12-22T03:18:16.000Z | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 10 | 2018-02-23T22:09:07.000Z | 2019-06-06T17:29:26.000Z | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 7 | 2018-04-06T00:16:43.000Z | 2020-06-26T13:32:47.000Z | //
// Created by sn0w1eo on 26.02.18.
//
#include <gtest/gtest.h>
#include <hash_table.hpp>
#include <enum_table.hpp>
#include "enum_record_set.hpp"
namespace {
using rapidjson::Value;
using namespace DBConvert::Structures;
class EnumRecordSetTest : public ::testing::Test {
protected:
void Se... | 38.496894 | 132 | 0.647306 |
288bc24fb2022d139bf8d20be6b86508c0df0c25 | 12,073 | cc | C++ | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | 1 | 2019-11-21T09:33:40.000Z | 2019-11-21T09:33:40.000Z | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | null | null | null | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | 2 | 2020-03-09T09:11:41.000Z | 2020-04-01T13:38:20.000Z | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2019, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | 28.745238 | 83 | 0.455562 |
288cfffdcaf3e3d50d5fe581c917ddd589663956 | 2,955 | cpp | C++ | Engine/databaseadmincsvformat.cpp | vadkasevas/BAS | 657f62794451c564c77d6f92b2afa9f5daf2f517 | [
"MIT"
] | 302 | 2016-05-20T12:55:23.000Z | 2022-03-29T02:26:14.000Z | Engine/databaseadmincsvformat.cpp | chulakshana/BAS | 955f5a41bd004bcdd7d19725df6ab229b911c09f | [
"MIT"
] | 9 | 2016-07-21T09:04:50.000Z | 2021-05-16T07:34:42.000Z | Engine/databaseadmincsvformat.cpp | chulakshana/BAS | 955f5a41bd004bcdd7d19725df6ab229b911c09f | [
"MIT"
] | 113 | 2016-05-18T07:48:37.000Z | 2022-02-26T12:59:39.000Z | #include "databaseadmincsvformat.h"
#include "ui_databaseadmincsvformat.h"
#include <QDir>
#include <QFileDialog>
#include <QDebug>
DatabaseAdminCsvFormat::DatabaseAdminCsvFormat(QWidget *parent) :
QDialog(parent),
ui(new Ui::DatabaseAdminCsvFormat)
{
ui->setupUi(this);
connect(ui->DragSectionCombo,SI... | 21.727941 | 120 | 0.643316 |
288dbd960d6e8f1e0ae0e8e9da6520c15f44affb | 11,530 | cpp | C++ | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | null | null | null | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | 1 | 2015-11-15T08:20:33.000Z | 2018-03-04T09:48:23.000Z | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | null | null | null | /*
Valet, a generalized Butler scorer for bridge.
Copyright (C) 2015 by Soren Hein.
See LICENSE and README.
*/
#include "stdafx.h"
#include <assert.h>
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
#include "valet.h"
#include "Pairs.h"
#include "Hand.h"
#include "scoring... | 23.06 | 71 | 0.590286 |
288f0fa771c4bfca6b7fab038801fc88bed55bd2 | 2,603 | hpp | C++ | include/eve/module/math/diff/impl/hypot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/module/math/diff/impl/hypot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/module/math/diff/impl/hypot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 29.91954 | 100 | 0.48713 |
2890a085007d30e34ab174ff9d044ef698241adf | 2,340 | hpp | C++ | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-present
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler... | 28.536585 | 94 | 0.631624 |
2891692a139096ff3c00c7d928507f9dadc410ae | 1,338 | cpp | C++ | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | #include <obs-module.h>
#include <strsafe.h>
#include <strmif.h>
#include "virtualcam-guid.h"
OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("win-dshow", "en-US")
MODULE_EXPORT const char *obs_module_description(void)
{
return "Windows DirectShow source/encoder";
}
extern void RegisterDShowSource();
extern void ... | 22.3 | 73 | 0.775037 |
28935679d006eb45047dbffe3327df2b91e28bb4 | 2,348 | cpp | C++ | src/caffe/layers/swish_layer.cpp | adriengb/caffe | 864520713a4c5ffae7382ced5d34e4cadc608473 | [
"Intel",
"BSD-2-Clause"
] | 36,275 | 2015-01-01T01:59:21.000Z | 2022-03-31T22:23:56.000Z | src/caffe/layers/swish_layer.cpp | wangrui1996/caffeface | feeb1d7c40e4a065c947933d6fab6fb218449551 | [
"Intel",
"BSD-2-Clause"
] | 5,493 | 2015-01-01T09:07:53.000Z | 2022-03-31T10:19:53.000Z | src/caffe/layers/swish_layer.cpp | wangrui1996/caffeface | feeb1d7c40e4a065c947933d6fab6fb218449551 | [
"Intel",
"BSD-2-Clause"
] | 18,620 | 2015-01-01T01:40:01.000Z | 2022-03-31T11:17:59.000Z | #include <cmath>
#include <vector>
#include "caffe/layers/swish_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void SwishLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
NeuronLayer<Dtype>::LayerSetUp(bottom, top)... | 34.028986 | 77 | 0.720187 |
28937011bddc59ba74593117e770a2f406a5a089 | 13,827 | cpp | C++ | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | 1 | 2018-07-29T17:53:50.000Z | 2018-07-29T17:53:50.000Z | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | null | null | null | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | null | null | null | //MIP_deamon.cpp
//Author: Sivert Andresen Cubedo
//C++
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <algorithm>
#include <cstdlib>
#include <exception>
#include <stdexcept>
#include <queue>
//LINUX
#include <signal.h>
//Local
#include "../include/LinuxException.hpp"
#include ".... | 24.300527 | 150 | 0.697621 |
28937fbfa133d011eabee2e20eb392f70358a729 | 1,533 | cc | C++ | third_party/blink/renderer/core/xml/document_xml_tree_viewer.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/core/xml/document_xml_tree_viewer.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/core/xml/document_xml_tree_viewer.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2016 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 "third_party/blink/renderer/core/xml/document_xml_tree_viewer.h"
#include "third_party/blink/public/resources/grit/blink_resources.h"
#include "... | 40.342105 | 80 | 0.782779 |
28944b8ff24d177b9155a38b7480e3264003a45e | 1,571 | hpp | C++ | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:00.000Z | 2020-03-04T10:38:00.000Z | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | null | null | null | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:01.000Z | 2020-03-04T10:38:01.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: EventUtils.hpp
* Author: ubuntu
*
* Created on February 17, 2018, 10:33 AM
*/
#ifndef EVENTUTILS_HPP
#define EVENT... | 25.754098 | 93 | 0.721833 |
28965e844bd40bf2ec2d3b1d670fa2188ec31509 | 16,473 | cc | C++ | third_party/blink/renderer/modules/webtransport/outgoing_stream_test.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/modules/webtransport/outgoing_stream_test.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/modules/webtransport/outgoing_stream_test.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 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 "third_party/blink/renderer/modules/webtransport/outgoing_stream.h"
#include <utility>
#include "testing/gmock/include/gmock/gmock.h"
#include ... | 36.44469 | 83 | 0.742002 |
28978548b1829e7a11224ceb2e8f5153185fe842 | 1,972 | cpp | C++ | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | #include "Texture2DComponentWidget.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
namespace editor::impl {
Texture2DComponentWidget::Texture2DComponentWidget(QWidget* parent)
: QWidget(parent)
, m_Entity(nullptr)
, m_Texture2D(nullptr)
, m_Color(nullptr)
, m_Texture2DLineEdit(nullptr)
, m... | 24.04878 | 92 | 0.704868 |
2899c2100506c2105260479f6240a9baee92e541 | 652 | cpp | C++ | Src/SimRobotCore2/Simulation/Axis.cpp | bhuman/SimRobot | f7b2039e7b8c801cdbd74ea25346cf86b298ab06 | [
"MIT"
] | 3 | 2021-11-05T21:09:09.000Z | 2021-11-15T22:48:10.000Z | Src/SimRobotCore2/Simulation/Axis.cpp | bhuman/SimRobot | f7b2039e7b8c801cdbd74ea25346cf86b298ab06 | [
"MIT"
] | null | null | null | Src/SimRobotCore2/Simulation/Axis.cpp | bhuman/SimRobot | f7b2039e7b8c801cdbd74ea25346cf86b298ab06 | [
"MIT"
] | null | null | null | /**
* @file Simulation/Axis.cpp
* Implementation of class Axis
* @author Colin Graf
*/
#include "Axis.h"
#include "Platform/Assert.h"
#include "Simulation/Actuators/Joint.h"
#include "Simulation/Motors/Motor.h"
#include <cmath>
Axis::~Axis()
{
delete deflection;
delete motor;
}
void Axis::create()
{
// nor... | 16.3 | 53 | 0.613497 |
289e451ffa00b08f3d822915b75dff6d0df64895 | 7,873 | cpp | C++ | ext/botan/src/lib/hash/sha3/sha3.cpp | usdot-fhwa-OPS/V2X-Hub | c38f9ea0b5b4c7be60539c92c8ac3fd218edcd0c | [
"Apache-2.0"
] | 56 | 2019-04-25T19:06:11.000Z | 2022-03-25T20:26:25.000Z | ext/botan/src/lib/hash/sha3/sha3.cpp | usdot-fhwa-OPS/V2X-Hub | c38f9ea0b5b4c7be60539c92c8ac3fd218edcd0c | [
"Apache-2.0"
] | 184 | 2019-04-24T18:20:08.000Z | 2022-03-22T18:56:45.000Z | ext/botan/src/lib/hash/sha3/sha3.cpp | usdot-fhwa-OPS/V2X-Hub | c38f9ea0b5b4c7be60539c92c8ac3fd218edcd0c | [
"Apache-2.0"
] | 34 | 2019-04-03T15:21:16.000Z | 2022-03-20T04:26:53.000Z | /*
* SHA-3
* (C) 2010,2016 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/sha3.h>
#include <botan/loadstor.h>
#include <botan/rotate.h>
#include <botan/exceptn.h>
#include <botan/cpuid.h>
#include <tuple>
namespace Botan {
namespace {
// This is a workaround ... | 26.778912 | 90 | 0.572717 |
289ef8c8180d743574707a78d0201eb1a99f0e90 | 16,630 | cpp | C++ | editor/osm_auth.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 1 | 2021-06-27T05:41:23.000Z | 2021-06-27T05:41:23.000Z | editor/osm_auth.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | null | null | null | editor/osm_auth.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | null | null | null | #include "editor/osm_auth.hpp"
#include "platform/http_client.hpp"
#include "coding/url.hpp"
#include "base/assert.hpp"
#include "base/logging.hpp"
#include "base/string_utils.hpp"
#include <iostream>
#include <map>
#include "private.h"
#include "3party/liboauthcpp/include/liboauthcpp/liboauthcpp.h"
using namesp... | 37.881549 | 122 | 0.725797 |
80bcde2c3c2754065b9a3d053ef6b1e9273b93b7 | 2,410 | cpp | C++ | RadeonGPUAnalyzerGUI/Src/rgSourceEditorTitlebar.cpp | jeongjoonyoo/AMD_RGA | 26c6bfdf83f372eeadb1874420aa2ed55569d50f | [
"MIT"
] | 2 | 2019-05-18T11:39:59.000Z | 2019-05-18T11:40:05.000Z | RadeonGPUAnalyzerGUI/Src/rgSourceEditorTitlebar.cpp | Acidburn0zzz/RGA | 35cd028602e21f6b8853fdc86b16153b693acb72 | [
"MIT"
] | null | null | null | RadeonGPUAnalyzerGUI/Src/rgSourceEditorTitlebar.cpp | Acidburn0zzz/RGA | 35cd028602e21f6b8853fdc86b16153b693acb72 | [
"MIT"
] | null | null | null | // C++.
#include <cassert>
#include <sstream>
// Local
#include <RadeonGPUAnalyzerGUI/Include/Qt/rgSourceEditorTitlebar.h>
#include <RadeonGPUAnalyzerGUI/Include/rgStringConstants.h>
#include <RadeonGPUAnalyzerGUI/Include/rgUtils.h>
rgSourceEditorTitlebar::rgSourceEditorTitlebar(QWidget* pParent) :
QFrame(pParent... | 33.013699 | 153 | 0.777178 |
80bd855e82392e09fc83f2c2ad73beb0cbcd3730 | 9,648 | cpp | C++ | src/test/fixtures.cpp | KuroGuo/firo | dbce40b3c7edb21fbebb014e6fe7ab700e649b6f | [
"MIT"
] | null | null | null | src/test/fixtures.cpp | KuroGuo/firo | dbce40b3c7edb21fbebb014e6fe7ab700e649b6f | [
"MIT"
] | null | null | null | src/test/fixtures.cpp | KuroGuo/firo | dbce40b3c7edb21fbebb014e6fe7ab700e649b6f | [
"MIT"
] | null | null | null | #include "util.h"
#include "clientversion.h"
#include "primitives/transaction.h"
#include "random.h"
#include "sync.h"
#include "utilstrencodings.h"
#include "utilmoneystr.h"
#include "test/test_bitcoin.h"
#include <stdint.h>
#include <vector>
#include <iostream>
#include "chainparams.h"
#include "consensus/consensu... | 31.42671 | 122 | 0.671953 |
80be5327b4a40ed528ee97850b6ce595bc80ce65 | 17,311 | cpp | C++ | test/test_file.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 977 | 2016-09-27T12:54:24.000Z | 2022-03-29T08:08:47.000Z | test/test_file.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 2,265 | 2016-09-27T13:01:26.000Z | 2022-03-31T17:55:37.000Z | test/test_file.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 154 | 2016-09-27T14:02:56.000Z | 2022-03-27T14:51:00.000Z | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | 31.190991 | 114 | 0.621455 |
80be77e6041f1ac2db954c1ec238a0dc33252bf1 | 3,186 | cpp | C++ | Gui/VtkVis/VtkCompositeThresholdFilter.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | 1 | 2021-11-21T17:29:38.000Z | 2021-11-21T17:29:38.000Z | Gui/VtkVis/VtkCompositeThresholdFilter.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | null | null | null | Gui/VtkVis/VtkCompositeThresholdFilter.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | null | null | null | /**
* \file
* \author Lars Bilke
* \date 2010-10-25
* \brief Implementation of the VtkCompositeThresholdFilter class.
*
* \copyright
* Copyright (c) 2013, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt ... | 33.1875 | 95 | 0.752982 |
80bfc03dca82f82722b71c57beed4f51541cc900 | 4,805 | cpp | C++ | alloctrace/test_main.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | alloctrace/test_main.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | alloctrace/test_main.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | // Copyright (c) 2007-2009 Google Inc.
// Copyright (c) 2006-2007 Jaiku Ltd.
// Copyright (c) 2002-2006 Mika Raento and Renaud Petit
//
// This software is licensed at your choice under either 1 or 2 below.
//
// 1. MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of thi... | 25.972973 | 82 | 0.690739 |
80c24217e0114cb19af7e90b9f5d29c34d9537ad | 5,933 | cc | C++ | net/cert/jwk_serializer_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/cert/jwk_serializer_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/cert/jwk_serializer_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 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 "net/cert/jwk_serializer.h"
#include "base/base64.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
#... | 39.553333 | 79 | 0.707062 |