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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4cbcff6dd3c1ecaabf5a595e8d82e24bcafa1a6 | 21,105 | cpp | C++ | core/conn/odbc/src/odbc/nsksrvr/Interface/linux/Listener_srvr_ps.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 148 | 2015-06-18T21:26:04.000Z | 2017-12-25T01:47:01.000Z | core/conn/odbc/src/odbc/nsksrvr/Interface/linux/Listener_srvr_ps.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 1,352 | 2015-06-20T03:05:01.000Z | 2017-12-25T14:13:18.000Z | core/conn/odbc/src/odbc/nsksrvr/Interface/linux/Listener_srvr_ps.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 166 | 2015-06-19T18:52:10.000Z | 2017-12-27T06:19:32.000Z | /**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... | 29.683544 | 146 | 0.641554 |
b4cd3db2b61d2df2b7acb44a0d4910af8ba5d18b | 7,493 | hpp | C++ | heart/src/solver/electrics/monodomain/MonodomainPurkinjeSolver.hpp | SoftMatterMechanics/ApicalStressFibers | 17d343c09a246a50f9e3a3cbfc399ca6bef353ce | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-09-10T16:12:13.000Z | 2020-09-10T16:12:13.000Z | heart/src/solver/electrics/monodomain/MonodomainPurkinjeSolver.hpp | SoftMatterMechanics/ApicalStressFibers | 17d343c09a246a50f9e3a3cbfc399ca6bef353ce | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | heart/src/solver/electrics/monodomain/MonodomainPurkinjeSolver.hpp | SoftMatterMechanics/ApicalStressFibers | 17d343c09a246a50f9e3a3cbfc399ca6bef353ce | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-09-10T16:12:21.000Z | 2020-09-10T16:12:21.000Z | /*
Copyright (c) 2005-2020, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | 40.722826 | 106 | 0.73949 |
b4cea5f534b990db2a463580db523efcc8de0750 | 1,928 | cpp | C++ | shared_model/interfaces/queries/impl/query.cpp | hyperledger-cicd/iroha-1 | ed579f85126d0e86532a1f4f1f6ce5681bbcd3a9 | [
"Apache-2.0"
] | 31 | 2019-04-17T19:32:05.000Z | 2022-02-05T01:35:02.000Z | shared_model/interfaces/queries/impl/query.cpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 11 | 2016-10-13T10:09:55.000Z | 2019-06-13T08:49:11.000Z | shared_model/interfaces/queries/impl/query.cpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 12 | 2019-06-03T10:31:31.000Z | 2021-12-13T12:17:15.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "interfaces/queries/query_variant.hpp"
#include "interfaces/queries/get_account.hpp"
#include "interfaces/queries/get_account_asset_transactions.hpp"
#include "interfaces/queries/get_account_assets.hpp"
#incl... | 37.076923 | 73 | 0.753112 |
b4d2d41a91ef04a6c22f36a5d1a4454a9662faf1 | 2,250 | cc | C++ | libs/numeric/bindings/lapack/test/ublas_gesv.cc | inducer/boost-numeric-bindings | 1f994e8a2e161cddb6577eacc76b7bc358701cbe | [
"BSL-1.0"
] | 1 | 2019-01-14T19:18:21.000Z | 2019-01-14T19:18:21.000Z | libs/numeric/bindings/lapack/test/ublas_gesv.cc | inducer/boost-numeric-bindings | 1f994e8a2e161cddb6577eacc76b7bc358701cbe | [
"BSL-1.0"
] | null | null | null | libs/numeric/bindings/lapack/test/ublas_gesv.cc | inducer/boost-numeric-bindings | 1f994e8a2e161cddb6577eacc76b7bc358701cbe | [
"BSL-1.0"
] | 1 | 2020-11-23T09:56:06.000Z | 2020-11-23T09:56:06.000Z |
// solving A * X = B
// using driver function gesv()
#include <cstddef>
#include <iostream>
#include <complex>
#include <boost/numeric/bindings/lapack/gesv.hpp>
#include <boost/numeric/bindings/traits/ublas_matrix.hpp>
#include <boost/numeric/bindings/traits/std_vector.hpp>
#include "utils.h"
namespace ublas = boost... | 22.277228 | 67 | 0.507111 |
b4d360a6b712b22de80a1575c1c5a6da1e560128 | 5,130 | cpp | C++ | src/kl25_tsi.cpp | jlsalvat/mbed_frdm-kl25z | cdb70a1e39108d04dd110eb3ffe1a8056fa2e198 | [
"Unlicense"
] | 1 | 2019-11-16T19:37:57.000Z | 2019-11-16T19:37:57.000Z | src/kl25_tsi.cpp | jlsalvat/mbed_frdm-kl25z | cdb70a1e39108d04dd110eb3ffe1a8056fa2e198 | [
"Unlicense"
] | null | null | null | src/kl25_tsi.cpp | jlsalvat/mbed_frdm-kl25z | cdb70a1e39108d04dd110eb3ffe1a8056fa2e198 | [
"Unlicense"
] | null | null | null | #include "kl25_tsi.h"
#include "mbed.h"
/******************************************************************************
* Example 1 : put a cable on A0 pin and touch this pin for lighting red light
#include "mbed.h"
DigitalOut red(LED_RED);
int main(){
uint16_t sense_A0;
tsiInit(TSI_CURRENT_8uA, TSI_CURRENT_64... | 34.897959 | 151 | 0.64386 |
b4d4abdff683cda1524438f03f2b408dfdc4a97d | 570 | cpp | C++ | CONTESTS/CODEFORCES/div2 835/835 B.cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | 1 | 2021-11-22T02:26:43.000Z | 2021-11-22T02:26:43.000Z | CONTESTS/CODEFORCES/div2 835/835 B.cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | CONTESTS/CODEFORCES/div2 835/835 B.cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
string s;
int main()
{
// freopen("in.txt", "r", stdin);
// freopen("out.txt", "w", stdout);
std::ios_base::sync_with_stdio(false);
cin.tie(0);
ll k, cnt=0;
cin>>k>>s;
sort(s.begin(), s.end());
... | 14.25 | 43 | 0.42807 |
b4d4b3c7310008c7f8a6d6ded367e9df3489bfa7 | 62,613 | cxx | C++ | Libs/MRML/Logic/vtkMRMLColorLogic.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Libs/MRML/Logic/vtkMRMLColorLogic.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Libs/MRML/Logic/vtkMRMLColorLogic.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | /*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
Module: $RCSfile: vtkMRMLColorLogic.cx... | 34.084377 | 195 | 0.60644 |
b4d5364d6f4d6a845e1119163c1bf5caec1b51c9 | 4,933 | hpp | C++ | iOS/G3MiOSSDK/Commons/Basic/CameraGoToPositionEffect.hpp | restjohn/g3m | 608657fd6f0e2898bd963d15136ff085b499e97e | [
"BSD-2-Clause"
] | 1 | 2016-08-23T10:29:44.000Z | 2016-08-23T10:29:44.000Z | iOS/G3MiOSSDK/Commons/Basic/CameraGoToPositionEffect.hpp | restjohn/g3m | 608657fd6f0e2898bd963d15136ff085b499e97e | [
"BSD-2-Clause"
] | null | null | null | iOS/G3MiOSSDK/Commons/Basic/CameraGoToPositionEffect.hpp | restjohn/g3m | 608657fd6f0e2898bd963d15136ff085b499e97e | [
"BSD-2-Clause"
] | null | null | null | //
// CameraGoToPositionEffect.hpp
// G3MiOSSDK
//
// Created by José Miguel S N on 24/10/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#ifndef G3MiOSSDK_CameraGoToPositionEffect
#define G3MiOSSDK_CameraGoToPositionEffect
#include "Geodetic3D.hpp"
class CameraGoToPositionEffect : public E... | 33.331081 | 116 | 0.618285 |
b4d580f9e0c0ddd4943739636a66ffdb9888716c | 4,402 | cc | C++ | cc/test/test_in_process_context_provider.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-08-13T21:04:58.000Z | 2015-08-13T21:04:58.000Z | cc/test/test_in_process_context_provider.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/test/test_in_process_context_provider.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // 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 "cc/test/test_in_process_context_provider.h"
#include "base/lazy_instance.h"
#include "gpu/GLES2/gl2extchromium.h"
#include "gpu/command_buffer/... | 31.442857 | 80 | 0.76965 |
b4d5dc235eabd6ec0fbe5f492ca7e75afea7c2e3 | 2,811 | cpp | C++ | src/machine_address_transfer.cpp | CyberZHG/MIXAL | 06ebe91bb5abcc1ed4ff4af71809a1a41272c4f3 | [
"MIT"
] | 5 | 2020-07-15T16:16:06.000Z | 2021-07-14T04:26:36.000Z | src/machine_address_transfer.cpp | CyberZHG/MIXAL | 06ebe91bb5abcc1ed4ff4af71809a1a41272c4f3 | [
"MIT"
] | 1 | 2020-08-15T16:13:40.000Z | 2020-08-15T16:13:40.000Z | src/machine_address_transfer.cpp | CyberZHG/MIXAL | 06ebe91bb5abcc1ed4ff4af71809a1a41272c4f3 | [
"MIT"
] | 2 | 2020-08-16T00:41:48.000Z | 2021-05-23T18:43:33.000Z | #include <iostream>
#include "machine.h"
/**
* @file
* @brief Address transfer operations.
*/
namespace mixal {
/** Increase rA or rX by the address value.
*
* @see overflow
*/
void Computer::executeINC(const InstructionWord& instruction, Register5* reg) {
int32_t value = reg->value();
int32_t address... | 29.904255 | 79 | 0.683742 |
b4d729af309196232b690f0ee270d9d0e80326e3 | 3,723 | cpp | C++ | Core/Widgets/SiteIcon.cpp | Acidburn0zzz/navigateur-seilo-js | 097ef5f9996333eef903f8c7fbc419cfc28ae03d | [
"MIT"
] | 1 | 2018-06-19T06:17:48.000Z | 2018-06-19T06:17:48.000Z | Core/Widgets/SiteIcon.cpp | Acidburn0zzz/navigateur-seilo-js | 097ef5f9996333eef903f8c7fbc419cfc28ae03d | [
"MIT"
] | null | null | null | Core/Widgets/SiteIcon.cpp | Acidburn0zzz/navigateur-seilo-js | 097ef5f9996333eef903f8c7fbc419cfc28ae03d | [
"MIT"
] | null | null | null | /***********************************************************************************
** MIT License **
** **
** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ... | 32.094828 | 84 | 0.583132 |
b4d83621cae5c1d2d77fddcdbb56b3331e22b7a9 | 252 | cpp | C++ | src/kriti/TimeValue.cpp | etherealvisage/kriti | 6397c4d20331d9f5ce07460df08bbac9653ffa8b | [
"BSD-3-Clause"
] | 2 | 2015-10-05T19:33:19.000Z | 2015-12-08T08:39:17.000Z | src/kriti/TimeValue.cpp | etherealvisage/kriti | 6397c4d20331d9f5ce07460df08bbac9653ffa8b | [
"BSD-3-Clause"
] | 1 | 2017-04-30T16:26:08.000Z | 2017-05-01T03:00:42.000Z | src/kriti/TimeValue.cpp | etherealvisage/kriti | 6397c4d20331d9f5ce07460df08bbac9653ffa8b | [
"BSD-3-Clause"
] | null | null | null | #include <time.h>
#include "TimeValue.h"
namespace Kriti {
TimeValue TimeValue::current() {
struct timespec current;
clock_gettime(CLOCK_MONOTONIC, ¤t);
return current.tv_nsec + current.tv_sec*1000000000;
}
} // namespace Kriti
| 16.8 | 55 | 0.718254 |
b4d8f1b7d1c9ce6f4f1739de3b99b23960b45c80 | 4,471 | hpp | C++ | src/oatpp/codegen/api_controller/base_undef.hpp | Purlemon/oatpp | 128816a027ca82f8de8da5bad445641e71fb437f | [
"Apache-2.0"
] | 5,252 | 2018-04-04T13:52:44.000Z | 2022-03-31T13:42:28.000Z | src/oatpp/codegen/api_controller/base_undef.hpp | Purlemon/oatpp | 128816a027ca82f8de8da5bad445641e71fb437f | [
"Apache-2.0"
] | 416 | 2018-04-22T14:03:25.000Z | 2022-03-31T13:30:56.000Z | src/oatpp/codegen/api_controller/base_undef.hpp | Purlemon/oatpp | 128816a027ca82f8de8da5bad445641e71fb437f | [
"Apache-2.0"
] | 1,140 | 2018-07-31T10:09:52.000Z | 2022-03-31T19:18:13.000Z | /***************************************************************************
*
* Project _____ __ ____ _ _
* ( _ ) /__\ (_ _)_| |_ _| |_
* )(_)( /(__)\ )( (_ _)(_ _)
* (_____)(__)(__)(__) |_| |_|
*
*
* Copyright 2018-present, Leoni... | 30.834483 | 81 | 0.669425 |
b4db1d7e68a00024cf8e4ef64494ce6f134282b0 | 26,522 | cpp | C++ | dependencies/FreeImage/FreeImage/PluginPNG.cpp | sumneko/BLPConverter | 792392375061b80f3275f04353715b183309f91f | [
"MIT"
] | 53 | 2015-01-21T02:20:04.000Z | 2022-03-14T20:52:10.000Z | dependencies/FreeImage/FreeImage/PluginPNG.cpp | sumneko/BLPConverter | 792392375061b80f3275f04353715b183309f91f | [
"MIT"
] | 5 | 2016-01-10T08:54:22.000Z | 2020-09-10T14:58:23.000Z | dependencies/FreeImage/FreeImage/PluginPNG.cpp | sumneko/BLPConverter | 792392375061b80f3275f04353715b183309f91f | [
"MIT"
] | 29 | 2015-02-13T13:42:23.000Z | 2021-12-22T16:04:47.000Z | // ==========================================================
// PNG Loader and Writer
//
// Design and implementation by
// - Floris van den Berg (flvdberg@wxs.nl)
// - Herve Drolon (drolon@infonie.fr)
// - Detlev Vendt (detlev.vendt@brillit.de)
// - Aaron Shumate (trek@startreker.com)
//
// This file is part of FreeI... | 28.922574 | 116 | 0.669557 |
b4dd8f024ae515013e5bf490deb1d1acd9740376 | 4,249 | cpp | C++ | src/server/old/server_simulated/server_simple.cpp | EdgeLab-FHDO/ResourceAllocationE2EL | 426d0104ab3439c1b107262aeade340999a8bafb | [
"MIT"
] | null | null | null | src/server/old/server_simulated/server_simple.cpp | EdgeLab-FHDO/ResourceAllocationE2EL | 426d0104ab3439c1b107262aeade340999a8bafb | [
"MIT"
] | 1 | 2020-04-14T17:10:46.000Z | 2020-04-14T17:10:46.000Z | src/server/old/server_simulated/server_simple.cpp | EdgeLab-FHDO/ResourceAllocationE2EL | 426d0104ab3439c1b107262aeade340999a8bafb | [
"MIT"
] | null | null | null | /* A simple server in the internet domain using TCP
The port number is passed as an argument */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <iostream>
#include <cpprest/http_client.h>
#inc... | 27.590909 | 102 | 0.587197 |
b4de8f00ebe48a9ced52f6fa51080c759423ad08 | 1,461 | hpp | C++ | third_party/boost/simd/function/bitwise_and.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | 5 | 2018-02-20T11:21:12.000Z | 2019-11-12T13:45:09.000Z | third_party/boost/simd/function/bitwise_and.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/function/bitwise_and.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | 2 | 2017-12-12T12:29:52.000Z | 2019-04-08T15:55:25.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//===========================... | 24.762712 | 100 | 0.613963 |
b4dfbda23cada387b7d3ed387269647ba5ec2850 | 722 | cc | C++ | Contests/Virtual Judge/Summer 20190710/A.cc | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | Contests/Virtual Judge/Summer 20190710/A.cc | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | Contests/Virtual Judge/Summer 20190710/A.cc | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | // A Calandar
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const string days[] = {"Friday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday"};
string date;
ll yy1, yy2, m1, m2, d1, d2, offset;
int main()
{
int T; scanf("%d", &T);
while (T--)
{
scanf("%lld%lld%lld", &y... | 21.878788 | 89 | 0.445983 |
b4e16904f5ba11c19ee99bfeb9e8205bcf639a10 | 728 | cc | C++ | cxx/satellite/src/SensitiveDetectorFactory.cc | Zelenyy/phd-code | d5b8bfefd2418a915dde89f7da2cb6683f438556 | [
"MIT"
] | null | null | null | cxx/satellite/src/SensitiveDetectorFactory.cc | Zelenyy/phd-code | d5b8bfefd2418a915dde89f7da2cb6683f438556 | [
"MIT"
] | null | null | null | cxx/satellite/src/SensitiveDetectorFactory.cc | Zelenyy/phd-code | d5b8bfefd2418a915dde89f7da2cb6683f438556 | [
"MIT"
] | null | null | null | //
// Created by zelenyy on 07.12.17.
//
#include "SensitiveDetectorFactory.hh"
#include "SensitiveScoredDetector.hh"
#include "G4SDManager.hh"
using namespace std;
G4VSensitiveDetector *SensitiveDetectorFactory::getSensitiveDetector(G4GDMLAuxListType::const_iterator vit) {
auto name = (*vit).value;
G4SDMan... | 26.962963 | 109 | 0.721154 |
b4e2959d4569b3a2fe6e34d099433cc45686a1a4 | 924 | cpp | C++ | test/examples_test/02_module_test/02_module_tests.cpp | acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Ruby1909 | 3edea4f327aea2b8c9c7e788693339d1625a039f | [
"MIT"
] | null | null | null | test/examples_test/02_module_test/02_module_tests.cpp | acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Ruby1909 | 3edea4f327aea2b8c9c7e788693339d1625a039f | [
"MIT"
] | null | null | null | test/examples_test/02_module_test/02_module_tests.cpp | acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Ruby1909 | 3edea4f327aea2b8c9c7e788693339d1625a039f | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.hpp"
#include "if.h"
#include "if_else.h"
#include "switch.h"
TEST_CASE("Verify Test Configuration", "verification") {
REQUIRE(true == true);
}
TEST_CASE("Test is even function")
{
REQUIRE(is_even(2) ==... | 27.176471 | 97 | 0.685065 |
b4e30396f958ebc6cf81d57b713635ac95a5406e | 2,658 | cpp | C++ | actions/SendMessageAction.cpp | horfee/alarmpi | e48e016d2378f0db0ef19abd47d144d0b1dbd904 | [
"Apache-2.0"
] | null | null | null | actions/SendMessageAction.cpp | horfee/alarmpi | e48e016d2378f0db0ef19abd47d144d0b1dbd904 | [
"Apache-2.0"
] | null | null | null | actions/SendMessageAction.cpp | horfee/alarmpi | e48e016d2378f0db0ef19abd47d144d0b1dbd904 | [
"Apache-2.0"
] | null | null | null | /*
* SendMessageAction.cpp
*
* Created on: 3 août 2015
* Author: horfee
*/
#include "SendMessageAction.h"
#include "../Properties.h"
#include <ctime>
#include <locale>
namespace alarmpi {
SendMessageAction::SendMessageAction(std::string name, std::string message, bool synchronous): Action(name, synchrono... | 29.208791 | 140 | 0.611362 |
b4e59b2d4ff7ae5363cb8830079782c204448464 | 7,679 | cpp | C++ | src/runtime_src/core/tools/common/XBMain.cpp | DavidMarec/XRT | 629f07123bff878a7916b82068b925acf5c4aa9c | [
"Apache-2.0"
] | null | null | null | src/runtime_src/core/tools/common/XBMain.cpp | DavidMarec/XRT | 629f07123bff878a7916b82068b925acf5c4aa9c | [
"Apache-2.0"
] | null | null | null | src/runtime_src/core/tools/common/XBMain.cpp | DavidMarec/XRT | 629f07123bff878a7916b82068b925acf5c4aa9c | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2019-2022 Xilinx, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 37.096618 | 234 | 0.650345 |
b4e868e08e9d479d724d5eff05c4abb63dbde16f | 569 | cpp | C++ | cpp/optimizers/ut/optimizer_ut.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | 1 | 2019-02-15T09:40:43.000Z | 2019-02-15T09:40:43.000Z | cpp/optimizers/ut/optimizer_ut.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | null | null | null | cpp/optimizers/ut/optimizer_ut.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | 2 | 2018-09-29T10:17:26.000Z | 2018-10-03T20:33:31.000Z | #include <core/vec_factory.h>
#include <core/optimizers/gradient_descent.h>
#include <core/vec_tools/fill.h>
#include <core/vec_tools/distance.h>
#include <core/funcs/lq.h>
#include <gtest/gtest.h>
TEST(Optimizer, GradientDescentTest) {
const int N = 10;
const double q = 2;
const double EPS = 0.01;
G... | 20.321429 | 55 | 0.659051 |
b4e8e9b3393dddbcf50e3367d317acd84f1c7744 | 18,826 | hpp | C++ | gsa/wit/COIN/Bcp/include/BCP_matrix.hpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 1 | 2019-10-25T05:25:23.000Z | 2019-10-25T05:25:23.000Z | gsa/wit/COIN/Bcp/include/BCP_matrix.hpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 2 | 2019-09-04T17:34:59.000Z | 2020-09-16T08:10:57.000Z | gsa/wit/COIN/Bcp/include/BCP_matrix.hpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 18 | 2019-07-22T19:01:25.000Z | 2022-03-03T15:36:11.000Z | // Copyright (C) 2000, International Business Machines
// Corporation and others. All Rights Reserved.
#ifndef _BCP_MATRIX_H
#define _BCP_MATRIX_H
// This file is fully docified.
#include <cmath>
#include <cfloat>
#include "CoinPackedVector.hpp"
#include "CoinPackedMatrix.hpp"
#include "BCP_vector.hpp"
//########... | 41.650442 | 79 | 0.625783 |
b4ece1f0d256f7f097e86cf6c8abf2a7711f0d74 | 3,869 | cxx | C++ | SequenceIO/Logic/vtkSlicerSequenceIOLogic.cxx | nathanbmnt/SlicerIGSIO | a06e405cce4d38d96a1132022e97a71feba0f8b0 | [
"BSD-3-Clause"
] | 8 | 2019-03-19T21:52:04.000Z | 2022-02-25T21:35:40.000Z | SequenceIO/Logic/vtkSlicerSequenceIOLogic.cxx | nathanbmnt/SlicerIGSIO | a06e405cce4d38d96a1132022e97a71feba0f8b0 | [
"BSD-3-Clause"
] | 13 | 2019-04-10T18:41:25.000Z | 2022-03-21T14:28:46.000Z | SequenceIO/Logic/vtkSlicerSequenceIOLogic.cxx | nathanbmnt/SlicerIGSIO | a06e405cce4d38d96a1132022e97a71feba0f8b0 | [
"BSD-3-Clause"
] | 10 | 2019-02-15T14:15:15.000Z | 2022-01-03T03:09:16.000Z | /*==============================================================================
Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
Queen's University, Kingston, ON, Canada. All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law... | 33.068376 | 118 | 0.582063 |
b4edd9903a9b291dca0cc419439d573b9a957efb | 5,512 | cpp | C++ | Desktop/Lib/CCore/src/video/lib/Shape.FixedFrame.cpp | SergeyStrukov/CCore-3-xx | 820507e78f8aa35ca05761e00e060c8f64c59af5 | [
"BSL-1.0"
] | 8 | 2017-12-21T07:00:16.000Z | 2020-04-02T09:05:55.000Z | Desktop/Lib/CCore/src/video/lib/Shape.FixedFrame.cpp | SergeyStrukov/CCore-3-xx | 820507e78f8aa35ca05761e00e060c8f64c59af5 | [
"BSL-1.0"
] | null | null | null | Desktop/Lib/CCore/src/video/lib/Shape.FixedFrame.cpp | SergeyStrukov/CCore-3-xx | 820507e78f8aa35ca05761e00e060c8f64c59af5 | [
"BSL-1.0"
] | 1 | 2020-03-30T09:54:18.000Z | 2020-03-30T09:54:18.000Z | /* Shape.FixedFrame.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 3.50
//
// Tag: Desktop
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local copy
//
// ... | 21.53125 | 90 | 0.630987 |
b4eef0fcf4c0c5747f617ca484bff6622669060b | 11,488 | cc | C++ | algorithms/loopclosure/inverted-multi-index/test/test_inverted-multi-index.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 1,936 | 2017-11-27T23:11:37.000Z | 2022-03-30T14:24:14.000Z | algorithms/loopclosure/inverted-multi-index/test/test_inverted-multi-index.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 353 | 2017-11-29T18:40:39.000Z | 2022-03-30T15:53:46.000Z | algorithms/loopclosure/inverted-multi-index/test/test_inverted-multi-index.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 661 | 2017-11-28T07:20:08.000Z | 2022-03-28T08:06:29.000Z | #include <utility>
#include <vector>
#include <Eigen/Core>
#include <aslam/common/memory.h>
#include <maplab-common/test/testing-entrypoint.h>
#include <maplab-common/test/testing-predicates.h>
#include <inverted-multi-index/inverted-multi-index-common.h>
#include <inverted-multi-index/inverted-multi-index.h>
namesp... | 48.677966 | 80 | 0.616382 |
b4f02c1822a80467f974b87e28504ea4c78819be | 12,609 | cpp | C++ | C++/6.cpp | pissmilk/old_homework | e7d07fc6773529df2fe09cfa61b751e3a18fbf28 | [
"MIT"
] | null | null | null | C++/6.cpp | pissmilk/old_homework | e7d07fc6773529df2fe09cfa61b751e3a18fbf28 | [
"MIT"
] | null | null | null | C++/6.cpp | pissmilk/old_homework | e7d07fc6773529df2fe09cfa61b751e3a18fbf28 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
using namespace std;
class Hole {
public:
bool isEmpty = true;
int id = -1;
Hole *upRight = nullptr;
Hole *upLeft = nullptr;
Hole *downLeft = nullptr;
Hole *downRight = nullptr;
Hole *left = nullptr;
Hole *right... | 38.325228 | 207 | 0.44722 |
b4f0464df70ec90e1830f970cde7a89b2b9bf6db | 10,795 | cpp | C++ | example/oglplus/026_stencil_shadow.cpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | null | null | null | example/oglplus/026_stencil_shadow.cpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | null | null | null | example/oglplus/026_stencil_shadow.cpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | null | null | null | /**
* @example oglplus/026_stencil_shadow.cpp
* @brief Shows how to render shadows using geometry shader and stencil buffer
*
* @oglplus_screenshot{026_stencil_shadow}
*
* Copyright 2008-2015 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.... | 25.459906 | 87 | 0.663733 |
b4f10f80f28b32110c8241615f73353e7c005a39 | 2,185 | hpp | C++ | extras/deprecated/vom/vom/l2_emulation_cmds.hpp | yasics/vpp | a4d0956082f12ac8269fd415134af7f605c1f3c9 | [
"Apache-2.0"
] | 751 | 2017-07-13T06:16:46.000Z | 2022-03-30T09:14:35.000Z | extras/deprecated/vom/vom/l2_emulation_cmds.hpp | yasics/vpp | a4d0956082f12ac8269fd415134af7f605c1f3c9 | [
"Apache-2.0"
] | 32 | 2021-03-24T06:04:08.000Z | 2021-09-14T02:02:22.000Z | extras/deprecated/vom/vom/l2_emulation_cmds.hpp | yasics/vpp | a4d0956082f12ac8269fd415134af7f605c1f3c9 | [
"Apache-2.0"
] | 479 | 2017-07-13T06:17:26.000Z | 2022-03-31T18:20:43.000Z | /*
* Copyright (c) 2017 Cisco and/or its affiliates.
* 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 applicabl... | 21.213592 | 75 | 0.679634 |
b4f15544ccbf06ddbe8f7b61117269c3d27a9229 | 16,716 | hpp | C++ | include/nsimd/cxx_adv_api.hpp | eschnett/nsimd | 11a58156ac8f1d8b60f1112c41efd9ef91d91c3d | [
"MIT"
] | null | null | null | include/nsimd/cxx_adv_api.hpp | eschnett/nsimd | 11a58156ac8f1d8b60f1112c41efd9ef91d91c3d | [
"MIT"
] | null | null | null | include/nsimd/cxx_adv_api.hpp | eschnett/nsimd | 11a58156ac8f1d8b60f1112c41efd9ef91d91c3d | [
"MIT"
] | null | null | null | /*
Copyright (c) 2019 Agenium Scale
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | 29.121951 | 79 | 0.626825 |
b4f3985c4624b9a1e4df3f507e1c601182aad782 | 46,815 | hpp | C++ | include/internal/iutest_genparams.hpp | BuildJet/iutest | 7d92bc1957b8e1815bde55f5aa36171197518adc | [
"BSD-3-Clause"
] | null | null | null | include/internal/iutest_genparams.hpp | BuildJet/iutest | 7d92bc1957b8e1815bde55f5aa36171197518adc | [
"BSD-3-Clause"
] | null | null | null | include/internal/iutest_genparams.hpp | BuildJet/iutest | 7d92bc1957b8e1815bde55f5aa36171197518adc | [
"BSD-3-Clause"
] | null | null | null | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_genparams.hpp
* @brief iris unit test parameter generator
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011... | 31.868618 | 144 | 0.621382 |
b4f76f5feab067fa574fb85896d0655ec2f1ba59 | 79,166 | cpp | C++ | test/string.cpp | maximilianriemensberger/json | 2d0bef633d47418461710639fda58f6db68f6def | [
"BSL-1.0"
] | null | null | null | test/string.cpp | maximilianriemensberger/json | 2d0bef633d47418461710639fda58f6db68f6def | [
"BSL-1.0"
] | null | null | null | test/string.cpp | maximilianriemensberger/json | 2d0bef633d47418461710639fda58f6db68f6def | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
//
// 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)
//
// Official repository: https://github.com/cppalliance/json
//
// Test that header file is self-c... | 28.56947 | 92 | 0.375325 |
b4f815035bfbcd3925e92de71c9d44cddd6cd5bf | 18,256 | cpp | C++ | src/chrono_vehicle/tracked_vehicle/ChTrackContactManager.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | 1 | 2021-12-09T05:24:42.000Z | 2021-12-09T05:24:42.000Z | src/chrono_vehicle/tracked_vehicle/ChTrackContactManager.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | 7 | 2021-10-20T04:43:35.000Z | 2021-12-24T08:44:31.000Z | src/chrono_vehicle/tracked_vehicle/ChTrackContactManager.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | 2 | 2021-12-09T05:32:31.000Z | 2021-12-12T17:31:18.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 39.686957 | 119 | 0.590436 |
b4f86e0afbd48cc1074fd52fb7cec438690f9009 | 10,381 | cpp | C++ | examples/02Physics/GroundTileMap.cpp | Galhad/firestorm | 3c1584b1e5b95f21d963b9cf226f6ec1a469d7af | [
"MIT"
] | null | null | null | examples/02Physics/GroundTileMap.cpp | Galhad/firestorm | 3c1584b1e5b95f21d963b9cf226f6ec1a469d7af | [
"MIT"
] | null | null | null | examples/02Physics/GroundTileMap.cpp | Galhad/firestorm | 3c1584b1e5b95f21d963b9cf226f6ec1a469d7af | [
"MIT"
] | null | null | null | #include "GroundTileMap.hpp"
#include "Obstacle.hpp"
#include "Collectable.hpp"
namespace fs::scene
{
void GroundTileMap::create(io::InputManager& inputManager, physics::PhysicsManager& physicsManager,
graphics::SpriteSheet& tilesSpriteSheet, graphics::SpriteSheet& itemsSpriteSheet)
{
G... | 84.398374 | 320 | 0.305173 |
b4f87e5f352086b5794b0b75e0a75a5736e9c732 | 853 | cpp | C++ | examples/hello-world/main.cpp | alexraymond/edict | 4c71f3b0c2a24ddcff49152dabcf2ba6daa64c44 | [
"MIT"
] | null | null | null | examples/hello-world/main.cpp | alexraymond/edict | 4c71f3b0c2a24ddcff49152dabcf2ba6daa64c44 | [
"MIT"
] | null | null | null | examples/hello-world/main.cpp | alexraymond/edict | 4c71f3b0c2a24ddcff49152dabcf2ba6daa64c44 | [
"MIT"
] | null | null | null | /*
* Edict is a blackboard messaging system -- have fun!
* Copyright (c) 2018 Alex Raymond, Kier Dugan.
*/
#include <edict/edict.h>
using namespace edict;
#include <iostream>
#include <regex>
using namespace std;
void helloHandler(const string &message_)
{
cout << message_ << ", Handler!" << endl;
}
void print... | 22.447368 | 92 | 0.658851 |
b4fa9b3cc4e73e3eab58992c9d15bd1a4a0aa863 | 782 | cpp | C++ | 2016/Day03/Day03.cpp | jloehr/AdventOfCode | 11fa8f52b7ba156cecb729c7a3d24fbec27203d0 | [
"MIT"
] | null | null | null | 2016/Day03/Day03.cpp | jloehr/AdventOfCode | 11fa8f52b7ba156cecb729c7a3d24fbec27203d0 | [
"MIT"
] | null | null | null | 2016/Day03/Day03.cpp | jloehr/AdventOfCode | 11fa8f52b7ba156cecb729c7a3d24fbec27203d0 | [
"MIT"
] | null | null | null | // Day03.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "TriangleTest.h"
int main()
{
signed ValidRowTriangles = 0;
signed ValidColumnTriangles = 0;
StringVectorVector Lines = GetFileLineParts("Input.txt");
TriangleTest RowTest;
std::array<TriangleTest, 3> ColumnTes... | 18.619048 | 78 | 0.653453 |
b4fd4b37363a84e15e006aa613d78fc3e3d59124 | 49,241 | cpp | C++ | Code/Engine/RendererCore/Debug/Implementation/DebugRenderer.cpp | autoint/ezEngine | 4fcd72172791d2eeae1146428f3032e0da499f81 | [
"MIT"
] | null | null | null | Code/Engine/RendererCore/Debug/Implementation/DebugRenderer.cpp | autoint/ezEngine | 4fcd72172791d2eeae1146428f3032e0da499f81 | [
"MIT"
] | null | null | null | Code/Engine/RendererCore/Debug/Implementation/DebugRenderer.cpp | autoint/ezEngine | 4fcd72172791d2eeae1146428f3032e0da499f81 | [
"MIT"
] | 1 | 2022-03-28T15:57:46.000Z | 2022-03-28T15:57:46.000Z | #include <RendererCorePCH.h>
#include <Core/Graphics/Geometry.h>
#include <Core/World/World.h>
#include <Foundation/Configuration/Startup.h>
#include <RendererCore/Debug/DebugRenderer.h>
#include <RendererCore/Debug/SimpleASCIIFont.h>
#include <RendererCore/Meshes/MeshBufferResource.h>
#include <RendererCore/Pipeline/... | 38.590125 | 276 | 0.730347 |
b4fec66f6482b86d26b9c51e614b5a28808d92c1 | 2,697 | cpp | C++ | src/AcadosSolver.cpp | TorBorve/mpc_local_planner | b237f9df5ff77d4f7282c4df1469ab357e56237e | [
"MIT"
] | 3 | 2021-12-15T06:51:02.000Z | 2021-12-20T11:56:11.000Z | src/AcadosSolver.cpp | TorBorve/mpc-local-planner | b237f9df5ff77d4f7282c4df1469ab357e56237e | [
"MIT"
] | 3 | 2021-12-17T12:22:28.000Z | 2022-02-19T22:18:44.000Z | src/AcadosSolver.cpp | TorBorve/mpc-local-planner | b237f9df5ff77d4f7282c4df1469ab357e56237e | [
"MIT"
] | 4 | 2021-12-15T06:51:15.000Z | 2022-03-05T13:09:51.000Z | #include "mpc_local_planner/AcadosSolver.h"
#include <ros/ros.h>
namespace mpc {
namespace Acados {
void Solver::reInit(const State &state) {
freeAllocated();
init();
setInitGuess(state);
return;
}
void Solver::setInitCondition(const State &state) {
// initial condition
auto x0 = state.toArr... | 28.389474 | 87 | 0.597701 |
b4fed554f2fa465ed8e518e96ba2280aa1491091 | 11,816 | cc | C++ | src/analyzer/protocol/pia/PIA.cc | ThalesGroup/zeek | c28fd3b6108b76059387ddc144a861660af0a20a | [
"Apache-2.0"
] | null | null | null | src/analyzer/protocol/pia/PIA.cc | ThalesGroup/zeek | c28fd3b6108b76059387ddc144a861660af0a20a | [
"Apache-2.0"
] | null | null | null | src/analyzer/protocol/pia/PIA.cc | ThalesGroup/zeek | c28fd3b6108b76059387ddc144a861660af0a20a | [
"Apache-2.0"
] | null | null | null | #include "zeek/analyzer/protocol/pia/PIA.h"
#include "zeek/DebugLogger.h"
#include "zeek/Event.h"
#include "zeek/IP.h"
#include "zeek/NetVar.h"
#include "zeek/Reporter.h"
#include "zeek/RuleMatcher.h"
#include "zeek/RunState.h"
#include "zeek/analyzer/protocol/tcp/TCP_Flags.h"
#include "zeek/analyzer/protocol/tcp/TCP_... | 26.672686 | 98 | 0.671209 |
37003536421cc7186519a875e41bdbe254461a6d | 5,366 | hpp | C++ | src/graphlab/rpc/object_request_issue.hpp | zgdahai/graphlabapi | 7d66bbda82d4d44cded35f9438e1c9359b0ca64e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2016-11-07T05:47:18.000Z | 2016-11-07T05:47:18.000Z | src/graphlab/rpc/object_request_issue.hpp | keerthanashanmugam/graphlabapi | 7d66bbda82d4d44cded35f9438e1c9359b0ca64e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/graphlab/rpc/object_request_issue.hpp | keerthanashanmugam/graphlabapi | 7d66bbda82d4d44cded35f9438e1c9359b0ca64e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2009 Carnegie Mellon University.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 36.013423 | 213 | 0.684122 |
3700ffd26095888ed88e80f7014e9b3c1a5932db | 3,723 | cpp | C++ | YSQFace/src/main/cpp/facedetectcnn-jni.cpp | zhu260824/FaceDetection | 99d5170dbcdac0da6c0c21b717b0ff42214790f0 | [
"Apache-2.0"
] | 2 | 2019-06-22T09:44:19.000Z | 2019-06-27T00:58:12.000Z | YSQFace/src/main/cpp/facedetectcnn-jni.cpp | zhu260824/FaceDetection | 99d5170dbcdac0da6c0c21b717b0ff42214790f0 | [
"Apache-2.0"
] | null | null | null | YSQFace/src/main/cpp/facedetectcnn-jni.cpp | zhu260824/FaceDetection | 99d5170dbcdac0da6c0c21b717b0ff42214790f0 | [
"Apache-2.0"
] | 2 | 2019-06-27T00:58:13.000Z | 2021-01-04T18:11:30.000Z | #include <jni.h>
#include <string>
#include <android/log.h>
#include "facedetectcnn.h"
#include <opencv2/opencv.hpp>
//define the buffer size. Do not change the size!
#define DETECT_BUFFER_SIZE 0x20000
using namespace cv;
extern "C" {
char *JNITag = const_cast<char *>("face-jni");
JNIEXPORT jobjectArray JNICALL
Java... | 43.290698 | 140 | 0.633629 |
37039617142372856fa5bc17fc7329329f09c246 | 1,174 | hpp | C++ | micromamba/src/version.hpp | joshhjacobson/mamba | 42f2cd88ba7e50d696dc6d7376a1cfa7d02315a2 | [
"BSD-3-Clause"
] | null | null | null | micromamba/src/version.hpp | joshhjacobson/mamba | 42f2cd88ba7e50d696dc6d7376a1cfa7d02315a2 | [
"BSD-3-Clause"
] | null | null | null | micromamba/src/version.hpp | joshhjacobson/mamba | 42f2cd88ba7e50d696dc6d7376a1cfa7d02315a2 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef UMAMBA_VERSION_HPP
#define UMAMBA_VERSION_HPP
#include <array>
#include <string>
#define UMAMBA_VERSION_MAJOR ... | 30.102564 | 100 | 0.65247 |
37044b7c153036b9e11efa48a25888f5832b52fe | 27,213 | cpp | C++ | extras/Projucer/Source/Project/jucer_Module.cpp | Hanley1/JUCE | e583f7b9927cd5b47cf151b9f7210a727b68b572 | [
"ISC"
] | null | null | null | extras/Projucer/Source/Project/jucer_Module.cpp | Hanley1/JUCE | e583f7b9927cd5b47cf151b9f7210a727b68b572 | [
"ISC"
] | null | null | null | extras/Projucer/Source/Project/jucer_Module.cpp | Hanley1/JUCE | e583f7b9927cd5b47cf151b9f7210a727b68b572 | [
"ISC"
] | null | null | null | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End... | 33.065614 | 149 | 0.597656 |
370527f4c4f225ea2964f50f2366c75eb69827f9 | 5,592 | cxx | C++ | Qt/Testing/pqTestUtility.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 1 | 2016-05-09T00:36:44.000Z | 2016-05-09T00:36:44.000Z | Qt/Testing/pqTestUtility.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | null | null | null | Qt/Testing/pqTestUtility.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 3 | 2015-05-14T21:18:53.000Z | 2022-03-07T02:53:45.000Z | /*=========================================================================
Program: ParaView
Module: $RCSfile: pqTestUtility.cxx,v $
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the term... | 27.014493 | 87 | 0.683476 |
3705f4b9f010683aaf4e480e36899e6f259b758f | 487 | hpp | C++ | lib/ldcp_sdk/third_party/Asio/asio-1.12.1/include/asio/yield.hpp | MoveXBot/ltme_node | 988f5c8a7ccc3f962e1c46ea61d7805f7d30bfe5 | [
"Apache-2.0"
] | 27 | 2019-10-24T11:09:06.000Z | 2022-03-22T10:00:51.000Z | lib/ldcp_sdk/third_party/Asio/asio-1.12.1/include/asio/yield.hpp | MoveXBot/ltme_node | 988f5c8a7ccc3f962e1c46ea61d7805f7d30bfe5 | [
"Apache-2.0"
] | 1 | 2019-12-09T06:15:01.000Z | 2019-12-09T06:15:01.000Z | lib/ldcp_sdk/third_party/Asio/asio-1.12.1/include/asio/yield.hpp | MoveXBot/ltme_node | 988f5c8a7ccc3f962e1c46ea61d7805f7d30bfe5 | [
"Apache-2.0"
] | 10 | 2020-01-10T09:10:57.000Z | 2020-06-26T11:03:11.000Z | //
// yield.hpp
// ~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "coroutine.hpp"
#ifndef ree... | 20.291667 | 80 | 0.687885 |
370845949294c2a5a41ce9bdf6dc86ad624575f2 | 24,507 | cpp | C++ | modules/videostab/samples/videostab.cpp | Kriston-SCT/opencv_contrib | 65abc7090dedc84bbedec4dfd143f0340e52114f | [
"BSD-3-Clause"
] | 3 | 2020-01-02T11:53:17.000Z | 2021-04-10T14:02:20.000Z | modules/videostab/samples/videostab.cpp | Kriston-SCT/opencv_contrib | 65abc7090dedc84bbedec4dfd143f0340e52114f | [
"BSD-3-Clause"
] | 1 | 2020-12-08T15:15:26.000Z | 2020-12-08T15:15:26.000Z | modules/videostab/samples/videostab.cpp | Kriston-SCT/opencv_contrib | 65abc7090dedc84bbedec4dfd143f0340e52114f | [
"BSD-3-Clause"
] | 3 | 2019-09-04T02:01:31.000Z | 2020-01-02T11:53:23.000Z | #include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include "opencv2/core.hpp"
#include <opencv2/core/utility.hpp>
#include "opencv2/video.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/videoio.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/videostab.hpp"
#inc... | 42.036021 | 124 | 0.540907 |
3708613729c793f8c46cbf6bf09d74e2cc8949b1 | 2,622 | cpp | C++ | src/Conversion/SeqToMemref/KrnlSeqStore.cpp | philass/onnx-mlir | 09965003137f82d8891676c986ec6403faa9c3cb | [
"Apache-2.0"
] | 1 | 2022-03-23T06:41:14.000Z | 2022-03-23T06:41:14.000Z | src/Conversion/SeqToMemref/KrnlSeqStore.cpp | philass/onnx-mlir | 09965003137f82d8891676c986ec6403faa9c3cb | [
"Apache-2.0"
] | 1 | 2022-03-31T23:58:31.000Z | 2022-03-31T23:58:31.000Z | src/Conversion/SeqToMemref/KrnlSeqStore.cpp | philass/onnx-mlir | 09965003137f82d8891676c986ec6403faa9c3cb | [
"Apache-2.0"
] | null | null | null | /*
* SPDX-License-Identifier: Apache-2.0
*/
//===------ KrnlSeqStore.cpp - Lower KrnlSeqStoreOp ----------------------===//
//
// Copyright 2019-2022 The IBM Research Authors.
//
// =============================================================================
//
// This file lowers the KrnlSeqStoreOp operator.
//
//=... | 34.051948 | 80 | 0.673913 |
37091c43e13e4fb56373d968db8f11a0fc473f62 | 9,754 | cpp | C++ | cmds/stagefright/record.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | cmds/stagefright/record.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | cmds/stagefright/record.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | 2 | 2021-07-08T07:42:11.000Z | 2021-07-09T21:56:10.000Z | /*
* Copyright (C) 2009 The Android Open Source Project
*
* 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 app... | 27.789174 | 87 | 0.629588 |
37095ddb49b305a3229a1b8d5ff281f1c9a3463f | 529 | cpp | C++ | xfa/fxfa/app/xfa_ffdraw.cpp | ADVAN-ELAA-8QM-PRC1/platform-external-pdfium | e67ae11a46c7b9f48ebc2efab8ca58cc9982cb38 | [
"BSD-3-Clause"
] | 18 | 2015-01-07T21:02:47.000Z | 2021-01-19T02:14:58.000Z | xfa/fxfa/app/xfa_ffdraw.cpp | ADVAN-ELAA-8QM-PRC1/platform-external-pdfium | e67ae11a46c7b9f48ebc2efab8ca58cc9982cb38 | [
"BSD-3-Clause"
] | 1 | 2017-02-14T01:38:56.000Z | 2017-02-15T06:01:13.000Z | xfa/fxfa/app/xfa_ffdraw.cpp | ADVAN-ELAA-8QM-PRC1/platform-external-pdfium | e67ae11a46c7b9f48ebc2efab8ca58cc9982cb38 | [
"BSD-3-Clause"
] | 10 | 2015-07-04T06:37:40.000Z | 2021-04-08T09:31:20.000Z | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/app/xfa_ffdraw.h"
#include "xfa/fxfa/xfa_ffapp.h"
#include... | 31.117647 | 80 | 0.761815 |
370a1b6d2d4bccf45fe401b1685cee1054ff769f | 28,376 | cpp | C++ | wrappers/Modelica/src/coolpropsolver.cpp | friederikeboehm/CoolProp | 44325d9e6abd9e6f88f428720f4f64a0c1962784 | [
"MIT"
] | null | null | null | wrappers/Modelica/src/coolpropsolver.cpp | friederikeboehm/CoolProp | 44325d9e6abd9e6f88f428720f4f64a0c1962784 | [
"MIT"
] | null | null | null | wrappers/Modelica/src/coolpropsolver.cpp | friederikeboehm/CoolProp | 44325d9e6abd9e6f88f428720f4f64a0c1962784 | [
"MIT"
] | null | null | null | #include "coolpropsolver.h"
#include "CoolPropTools.h"
#include "CoolProp.h"
#include "CPState.h"
#include <iostream>
#include <string>
#include <stdlib.h>
CoolPropSolver::CoolPropSolver(const std::string& mediumName, const std::string& libraryName, const std::string& substanceName)
: BaseSolver(mediumName, libraryN... | 47.451505 | 145 | 0.646673 |
370aff99bee3a95c0464f7040a326c5702bf2ac5 | 1,151 | cpp | C++ | Sorting/SelectionSort.cpp | ukayaj620/learn-algorithm | 6437dcb4ac0f97faf6ffcfbbb2a18cb3a284ed96 | [
"MIT"
] | null | null | null | Sorting/SelectionSort.cpp | ukayaj620/learn-algorithm | 6437dcb4ac0f97faf6ffcfbbb2a18cb3a284ed96 | [
"MIT"
] | null | null | null | Sorting/SelectionSort.cpp | ukayaj620/learn-algorithm | 6437dcb4ac0f97faf6ffcfbbb2a18cb3a284ed96 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main ()
{
int n, arr[10000];
// INPUT HOW MUCH NUMBER TO INPUT
cout << "Numbers?: "; cin >> n;
// INPUT THE NUMBERS
for (int i=0; i<n; i++)
{
cin >> arr[i];
}
// SELECTION SORT ALGORITHM (ASCENDING)
for (int i=0; i<n-1; i++)
{
int min_index = i;
for(i... | 16.926471 | 62 | 0.54735 |
37115c56046fb2143589d2ab1124d2d65a1c62ba | 3,717 | cpp | C++ | src/logging.cpp | CESNET/lldp-systemd-networkd-sysrepo | 6d79dede96f720b77aa5bf132e7f16787002f6ce | [
"Apache-2.0"
] | null | null | null | src/logging.cpp | CESNET/lldp-systemd-networkd-sysrepo | 6d79dede96f720b77aa5bf132e7f16787002f6ce | [
"Apache-2.0"
] | 1 | 2020-10-31T23:05:17.000Z | 2022-02-16T13:37:00.000Z | src/logging.cpp | CESNET/lldp-systemd-networkd-sysrepo | 6d79dede96f720b77aa5bf132e7f16787002f6ce | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2020 CESNET, https://photonics.cesnet.cz/
*
* Written by Jan Kundrát <jan.kundrat@cesnet.cz>, Tomáš Pecka <tomas.pecka@fit.cvut.cz>
*
*/
extern "C" {
#include <sysrepo.h>
}
#include <cinttypes>
#include <cstdio>
#include <cxxabi.h>
#include <spdlog/sinks/systemd_sink.h>
#include <sys/stat.h>
#i... | 30.719008 | 131 | 0.626581 |
3712559010b696fc5e1e43045dd56302b79daed1 | 2,571 | inl | C++ | src/cunumeric/matrix/tile_template.inl | marcinz/cunumeric | c40b038d4eb0611f7bb16d5bd11891a633ef7892 | [
"Apache-2.0"
] | 118 | 2021-04-12T18:06:59.000Z | 2021-10-12T21:30:24.000Z | src/cunumeric/matrix/tile_template.inl | marcinz/cunumeric | c40b038d4eb0611f7bb16d5bd11891a633ef7892 | [
"Apache-2.0"
] | 51 | 2021-04-21T10:40:13.000Z | 2021-09-10T22:09:26.000Z | src/cunumeric/matrix/tile_template.inl | marcinz/cunumeric | c40b038d4eb0611f7bb16d5bd11891a633ef7892 | [
"Apache-2.0"
] | 9 | 2021-04-14T03:07:42.000Z | 2021-09-22T17:02:53.000Z | /* Copyright 2021 NVIDIA 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 agreed... | 30.975904 | 95 | 0.698561 |
371484c32adb41d06fec45db2cc24a093f1875b0 | 4,009 | cpp | C++ | src/ros_tutorials/roscpp_tutorials/custom_callback_processing/custom_callback_processing.cpp | duken72/ros2wsTest | 4fa8f7aaf9ec8e70a8b6d7554ced373300a38a71 | [
"MIT"
] | 742 | 2017-07-05T02:49:36.000Z | 2022-03-30T12:55:43.000Z | src/ros_tutorials/roscpp_tutorials/custom_callback_processing/custom_callback_processing.cpp | duken72/ros2wsTest | 4fa8f7aaf9ec8e70a8b6d7554ced373300a38a71 | [
"MIT"
] | 73 | 2017-07-06T12:50:51.000Z | 2022-03-07T08:07:07.000Z | src/ros_tutorials/roscpp_tutorials/custom_callback_processing/custom_callback_processing.cpp | duken72/ros2wsTest | 4fa8f7aaf9ec8e70a8b6d7554ced373300a38a71 | [
"MIT"
] | 425 | 2017-07-04T22:03:29.000Z | 2022-03-29T06:59:06.000Z | /*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the follo... | 36.117117 | 118 | 0.694936 |
3715fd906a7cf0cf89a6e98fbc665d31ccabf64b | 3,479 | cpp | C++ | libs/libgui/src/animation.cpp | mbits-os/JiraDesktop | eb9b66b9c11b2fba1079f03a6f90aea425ce6138 | [
"MIT"
] | null | null | null | libs/libgui/src/animation.cpp | mbits-os/JiraDesktop | eb9b66b9c11b2fba1079f03a6f90aea425ce6138 | [
"MIT"
] | null | null | null | libs/libgui/src/animation.cpp | mbits-os/JiraDesktop | eb9b66b9c11b2fba1079f03a6f90aea425ce6138 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2015 midnightBITS
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, pub... | 25.580882 | 115 | 0.694452 |
37165a40dad2e0075a25d5412d3e053e86f06868 | 12,830 | cpp | C++ | QtRPT-Example/QtRptProject/QtRptDesigner/TContainerLine.cpp | salim97/QtRPT | 0bb1cb7e2c8d5c638f53092625b00bb608d9ede3 | [
"MIT"
] | null | null | null | QtRPT-Example/QtRptProject/QtRptDesigner/TContainerLine.cpp | salim97/QtRPT | 0bb1cb7e2c8d5c638f53092625b00bb608d9ede3 | [
"MIT"
] | null | null | null | QtRPT-Example/QtRptProject/QtRptDesigner/TContainerLine.cpp | salim97/QtRPT | 0bb1cb7e2c8d5c638f53092625b00bb608d9ede3 | [
"MIT"
] | 3 | 2019-12-23T12:51:20.000Z | 2022-03-17T03:36:53.000Z | /*
Name: QtRpt
Version: 1.5.5
Web-site: http://www.qtrpt.tk
Programmer: Aleksey Osipov
E-mail: aliks-os@ukr.net
Web-site: http://www.aliks-os.tk
Copyright 2012-2015 Aleksey Osipov
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may o... | 35.150685 | 115 | 0.633983 |
3717cf8ec69118ea296ade4607ef88216db07397 | 7,573 | cpp | C++ | td/telegram/net/SessionProxy.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | 1 | 2019-10-12T18:08:04.000Z | 2019-10-12T18:08:04.000Z | td/telegram/net/SessionProxy.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | null | null | null | td/telegram/net/SessionProxy.cpp | sintyaaaaa/td | 0e930c15d3cd65dc5cc3fa6e8492684038129510 | [
"BSL-1.0"
] | 1 | 2020-08-14T12:43:30.000Z | 2020-08-14T12:43:30.000Z | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2019
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "td/telegram/net/SessionProxy.h"
#include "td/teleg... | 30.784553 | 119 | 0.692196 |
371a7ef4925afa4dce7d6fb64afd7766d3a94857 | 11,455 | cpp | C++ | clang/test/OpenMP/target_teams_distribute_parallel_for_simd_linear_messages.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | clang/test/OpenMP/target_teams_distribute_parallel_for_simd_linear_messages.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang/test/OpenMP/target_teams_distribute_parallel_for_simd_linear_messages.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | // RUN: %clang_cc1 -verify -fopenmp %s -Wuninitialized
// RUN: %clang_cc1 -verify -fopenmp-simd %s -Wuninitialized
typedef void **omp_allocator_handle_t;
extern const omp_allocator_handle_t omp_default_mem_alloc;
extern const omp_allocator_handle_t omp_large_cap_mem_alloc;
extern const omp_allocator_handle_t omp_cons... | 45.456349 | 500 | 0.6921 |
371b0ad1957aac9f07b95c372379da9bbc46b776 | 13,817 | cc | C++ | src/yb/yql/pgwrapper/pg_on_conflict-test.cc | deepld/yugabyte-db | 3a4464deef220f5bbc58cce22ad6bfa8c57c98a8 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/yb/yql/pgwrapper/pg_on_conflict-test.cc | deepld/yugabyte-db | 3a4464deef220f5bbc58cce22ad6bfa8c57c98a8 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/yb/yql/pgwrapper/pg_on_conflict-test.cc | deepld/yugabyte-db | 3a4464deef220f5bbc58cce22ad6bfa8c57c98a8 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | // Copyright (c) YugaByte, 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 applicable law or agreed to in writ... | 32.207459 | 100 | 0.6044 |
371b9f40f7dbb7f926000ae17bcff9791eed1aad | 4,753 | cpp | C++ | src/gamecredits.cpp | cpusam/dangerous_tux | e5f099f3e3665d62f1c484458125f003c1d5eece | [
"Zlib"
] | 1 | 2020-09-18T07:43:07.000Z | 2020-09-18T07:43:07.000Z | src/gamecredits.cpp | cpusam/dangerous_tux | e5f099f3e3665d62f1c484458125f003c1d5eece | [
"Zlib"
] | null | null | null | src/gamecredits.cpp | cpusam/dangerous_tux | e5f099f3e3665d62f1c484458125f003c1d5eece | [
"Zlib"
] | null | null | null | #include "gamecredits.hpp"
CGameCredits::CGameCredits ( SDL_Renderer * r )
{
SDL_Surface * aux;
#if _WIN32 || _WIN64
char path[FILENAME_MAX], bg_path[FILENAME_MAX];
char p2[FILENAME_MAX];
_getcwd(p2, sizeof(p2));
#else
char path[1024], bg_path[1024];
#endif
#if _WIN32 || _WIN64
#ifndef PREFIX
spri... | 27.795322 | 187 | 0.673469 |
371c13b60ea02cdbffa7cb54a6e594fecdd1a94c | 15,321 | cpp | C++ | tests/test_solver.cpp | polyfem/solver-wrapper | c7f68cabc9ed93839a946d0d55d70df9b1b05f46 | [
"MIT"
] | 2 | 2020-05-30T18:23:34.000Z | 2020-05-30T19:16:54.000Z | tests/test_solver.cpp | polyfem/solver-wrapper | c7f68cabc9ed93839a946d0d55d70df9b1b05f46 | [
"MIT"
] | null | null | null | tests/test_solver.cpp | polyfem/solver-wrapper | c7f68cabc9ed93839a946d0d55d70df9b1b05f46 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////
#include <polysolve/FEMSolver.hpp>
#include <catch2/catch.hpp>
#include <iostream>
#include <unsupported/Eigen/SparseExtra>
#include <fstream>
#include <vector>
#include <ctime>
#include <polysolve/LinearSolverAMGCL.hpp>
////////////////////////... | 29.749515 | 120 | 0.545656 |
7deab687b399e21866c78bbc3df6a2a9c3b22180 | 2,600 | cpp | C++ | src/TestPorter/main.cpp | v1otusc/wondertrader | fd65a052d26be32882f89e8e9dfcd1d7b8736a3b | [
"MIT"
] | null | null | null | src/TestPorter/main.cpp | v1otusc/wondertrader | fd65a052d26be32882f89e8e9dfcd1d7b8736a3b | [
"MIT"
] | 1 | 2022-03-21T06:51:59.000Z | 2022-03-21T06:51:59.000Z | src/TestPorter/main.cpp | v1otusc/wondertrader | fd65a052d26be32882f89e8e9dfcd1d7b8736a3b | [
"MIT"
] | null | null | null | #define _CRT_SECURE_NO_WARNINGS
#include "../WtPorter/WtPorter.h"
//#include "../WtExecMon/WtExecPorter.h"
#include "../Includes/WTSStruct.h"
#include "../Share/DLLHelper.hpp"
#include "../Share/CodeHelper.hpp"
void PORTER_FLAG on_init(CtxHandler ctxid)
{
printf("on_init\r\n");
hft_sub_ticks(ctxid, "CFFE... | 23.423423 | 182 | 0.715 |
7decb2ab6e29424bf49014c707a3ae60bf42290f | 2,402 | cpp | C++ | arangod/RocksDBEngine/RocksDBBackgroundErrorListener.cpp | Korov/arangodb | d1f8df028f8af60d1cd5708890f0d6ae75f9dd06 | [
"Apache-2.0"
] | 1 | 2020-10-27T12:19:33.000Z | 2020-10-27T12:19:33.000Z | arangod/RocksDBEngine/RocksDBBackgroundErrorListener.cpp | Korov/arangodb | d1f8df028f8af60d1cd5708890f0d6ae75f9dd06 | [
"Apache-2.0"
] | null | null | null | arangod/RocksDBEngine/RocksDBBackgroundErrorListener.cpp | Korov/arangodb | d1f8df028f8af60d1cd5708890f0d6ae75f9dd06 | [
"Apache-2.0"
] | 1 | 2020-10-01T08:49:12.000Z | 2020-10-01T08:49:12.000Z | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 33.361111 | 98 | 0.616986 |
7ded15a6131f165f97675f07465255b4d67d5048 | 2,007 | hpp | C++ | modules/core/combinatorial/include/nt2/combinatorial/functions/lcm.hpp | feelpp/nt2 | 4d121e2c7450f24b735d6cff03720f07b4b2146c | [
"BSL-1.0"
] | 34 | 2017-05-19T18:10:17.000Z | 2022-01-04T02:18:13.000Z | modules/core/combinatorial/include/nt2/combinatorial/functions/lcm.hpp | feelpp/nt2 | 4d121e2c7450f24b735d6cff03720f07b4b2146c | [
"BSL-1.0"
] | null | null | null | modules/core/combinatorial/include/nt2/combinatorial/functions/lcm.hpp | feelpp/nt2 | 4d121e2c7450f24b735d6cff03720f07b4b2146c | [
"BSL-1.0"
] | 7 | 2017-12-02T12:59:17.000Z | 2021-07-31T12:46:14.000Z | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 27.875 | 129 | 0.607872 |
7dedaf628f5693f3e7aed18de73c8d00ddeedc27 | 3,190 | cpp | C++ | src/vulkan/vulkan_render.cpp | cmaughan/vklive | 649c64335d7d77f4d3199ea8f66c04a53455b4a9 | [
"MIT"
] | null | null | null | src/vulkan/vulkan_render.cpp | cmaughan/vklive | 649c64335d7d77f4d3199ea8f66c04a53455b4a9 | [
"MIT"
] | null | null | null | src/vulkan/vulkan_render.cpp | cmaughan/vklive | 649c64335d7d77f4d3199ea8f66c04a53455b4a9 | [
"MIT"
] | null | null | null | #include "vklive/vulkan/vulkan_render.h"
#include "config_app.h"
#include "vklive/file/file.h"
#include "vklive/vulkan/vulkan_framebuffer.h"
#include "vklive/vulkan/vulkan_model.h"
#include "vklive/vulkan/vulkan_pipeline.h"
#include "vklive/vulkan/vulkan_shader.h"
#include "vklive/vulkan/vulkan_uniform.h"
#include "vkl... | 30.380952 | 147 | 0.739812 |
7df0b3aafe209df5e363f70d0ee3c4300b71f6c0 | 2,835 | cc | C++ | tests/unit/stall_detector_test.cc | jwnx/seastar | 4207837dfbc969e46c0b581e6c3f801dbc8f3a07 | [
"Apache-2.0"
] | null | null | null | tests/unit/stall_detector_test.cc | jwnx/seastar | 4207837dfbc969e46c0b581e6c3f801dbc8f3a07 | [
"Apache-2.0"
] | null | null | null | tests/unit/stall_detector_test.cc | jwnx/seastar | 4207837dfbc969e46c0b581e6c3f801dbc8f3a07 | [
"Apache-2.0"
] | 1 | 2020-08-10T12:54:33.000Z | 2020-08-10T12:54:33.000Z | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | 33.75 | 116 | 0.703351 |
7df10500bb520d6f7ef0cd6065cad44154857131 | 2,630 | cpp | C++ | utils/utils.cpp | canesin/OpenPVT | 1fb917a58c7b02d40565cecc41ab395f0c23d12d | [
"MIT"
] | 3 | 2015-02-12T11:48:23.000Z | 2017-05-08T16:47:48.000Z | utils/utils.cpp | canesin/OpenPVT | 1fb917a58c7b02d40565cecc41ab395f0c23d12d | [
"MIT"
] | null | null | null | utils/utils.cpp | canesin/OpenPVT | 1fb917a58c7b02d40565cecc41ab395f0c23d12d | [
"MIT"
] | null | null | null | #include <math.h>
#include <stdio.h>
#include "utils.h"
//Helper function to see if value is in tolerance
int is_equal(double a, double b, const double epsilon)
{
double c = a - b;
return fabs(c) <= epsilon;
}
//Central diff function, makes two function calls, O(h^2)
REAL diff(const REAL x, REAL (*func)(const... | 32.469136 | 90 | 0.652852 |
7df2058ba1ee34629e396e88716ad9a0bf07a1a5 | 3,979 | hpp | C++ | include/bitpacker/bitpacker.hpp | YarikTH/bitpacker | a778a5ab5eab2cee80beb1819ee7d352775db046 | [
"BSL-1.0"
] | null | null | null | include/bitpacker/bitpacker.hpp | YarikTH/bitpacker | a778a5ab5eab2cee80beb1819ee7d352775db046 | [
"BSL-1.0"
] | null | null | null | include/bitpacker/bitpacker.hpp | YarikTH/bitpacker | a778a5ab5eab2cee80beb1819ee7d352775db046 | [
"BSL-1.0"
] | null | null | null | #pragma once
#include <array>
#include <bitset>
#include <cassert>
#if !defined( BITPACKER_USE_STD_BIT )
# define BITPACKER_USE_STD_BIT __has_include( <bit> ) && __cplusplus >= 202002L
#endif
#if BITPACKER_USE_STD_BIT
# include <bit>
#endif
#define BITPACKER_VERSION_MAJOR 0
#define BITPACKER_VE... | 25.837662 | 101 | 0.627042 |
7df26e063b76c4063de18842b4922826bd4706a0 | 14,125 | cpp | C++ | src/mme-app/utils/mmeCommonUtils.cpp | dksan23/Nucleus | 0377bee9cacebe352caba9d9cf76dcc9af9e69bf | [
"Apache-2.0"
] | null | null | null | src/mme-app/utils/mmeCommonUtils.cpp | dksan23/Nucleus | 0377bee9cacebe352caba9d9cf76dcc9af9e69bf | [
"Apache-2.0"
] | 1 | 2021-05-12T09:17:31.000Z | 2021-05-12T09:17:31.000Z | src/mme-app/utils/mmeCommonUtils.cpp | dksan23/Nucleus | 0377bee9cacebe352caba9d9cf76dcc9af9e69bf | [
"Apache-2.0"
] | 6 | 2021-05-06T11:18:55.000Z | 2021-05-12T13:13:21.000Z | /*
* Copyright (c) 2019, Infosys Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <utils/mmeCommonUtils.h>
#include <cmath>
#include <controlBlock.h>
#include <contextManager/dataBlocks.h>
#include <contextManager/subsDataGroupManager.h>
#include <log.h>
#include <mme_app.h>
#include <msgBuffer.h>
#include... | 28.193613 | 105 | 0.632212 |
7df37ff7b62b2e446ee6b4b53d8b3d57b05d880c | 695 | cpp | C++ | 112-path-sum/112-path-sum.cpp | SouvikChan/-Leetcode_Souvik | cc4b72cb4a14a1c6b8be8bd8390de047443fe008 | [
"MIT"
] | null | null | null | 112-path-sum/112-path-sum.cpp | SouvikChan/-Leetcode_Souvik | cc4b72cb4a14a1c6b8be8bd8390de047443fe008 | [
"MIT"
] | null | null | null | 112-path-sum/112-path-sum.cpp | SouvikChan/-Leetcode_Souvik | cc4b72cb4a14a1c6b8be8bd8390de047443fe008 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 33.095238 | 106 | 0.592806 |
7df3ff31a0f12af5f99989e23e969a1563996568 | 2,319 | cpp | C++ | FW/SC/scene.cpp | JAntn/wblocks | e8aa383882b4726f6f7cca7213fa49e9e80d990f | [
"MIT"
] | null | null | null | FW/SC/scene.cpp | JAntn/wblocks | e8aa383882b4726f6f7cca7213fa49e9e80d990f | [
"MIT"
] | null | null | null | FW/SC/scene.cpp | JAntn/wblocks | e8aa383882b4726f6f7cca7213fa49e9e80d990f | [
"MIT"
] | null | null | null | #include "FW/SC/scene.h"
#include "FW/tools.h"
#include "FW/ST/state_writer.h"
#include "FW/RC/record.h"
#include "FW/SC/scene_line.h"
////////////////////////////////////////////////////////////////////////
/// Static
long TypeScene::m_IdCount = 0;
QString TypeScene::GenerateId()
{
return QString().setNum( m_Id... | 20.705357 | 104 | 0.552393 |
7df5be715159b1976cc0082ac8515bb247bfee33 | 1,766 | cpp | C++ | ngraph/frontend/onnx_import/src/utils/provenance_tag.cpp | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:05:09.000Z | 2022-02-10T08:05:09.000Z | ngraph/frontend/onnx_import/src/utils/provenance_tag.cpp | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 105 | 2020-06-04T00:23:29.000Z | 2022-02-21T13:04:33.000Z | ngraph/frontend/onnx/frontend/src/utils/provenance_tag.cpp | v-Golubev/openvino | 26936d1fbb025c503ee43fe74593ee9d7862ab15 | [
"Apache-2.0"
] | 3 | 2021-04-25T06:52:41.000Z | 2021-05-07T02:01:44.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <functional>
#include <numeric>
#include <sstream>
#include "utils/provenance_tag.hpp"
namespace ngraph
{
namespace onnx_import
{
namespace detail
{
std::string concat_strings(
... | 34.627451 | 99 | 0.513024 |
7df68ea30a4435e95cf9e77cff8e5af224d508e6 | 619 | cpp | C++ | AlgorithmsLibrary/ Non-modifying sequence operations/find_if_find_if_not_find/find_if_find_if_not_if.cpp | paulkokos/CppReference | dd62c7f34bae129930b61b636e60863b946aa4dc | [
"MIT"
] | 1 | 2020-07-07T08:14:46.000Z | 2020-07-07T08:14:46.000Z | AlgorithmsLibrary/ Non-modifying sequence operations/find_if_find_if_not_find/find_if_find_if_not_if.cpp | paulkokos/CppReference | dd62c7f34bae129930b61b636e60863b946aa4dc | [
"MIT"
] | null | null | null | AlgorithmsLibrary/ Non-modifying sequence operations/find_if_find_if_not_find/find_if_find_if_not_if.cpp | paulkokos/CppReference | dd62c7f34bae129930b61b636e60863b946aa4dc | [
"MIT"
] | 1 | 2019-01-17T14:32:46.000Z | 2019-01-17T14:32:46.000Z | #include <iostream>
#include <algorithm>
#include <vector>
#include <iterator>
int main()
{
int n1 = 3;
int n2 = 5;
std::vector<int> v{0, 1, 2, 3, 4};
auto result1 = std::find(std::begin(v), std::end(v), n1);
auto result2 = std::find(std::begin(v), std::end(v), n2);
if (result1 != std::end(v... | 22.925926 | 61 | 0.478191 |
7df766eedc0152e169e8416896437132f2ae0bdc | 16,057 | cpp | C++ | hphp/runtime/vm/unwind.cpp | Atry/hhvm | f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/unwind.cpp | Atry/hhvm | f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e | [
"PHP-3.01",
"Zend-2.0"
] | 3 | 2022-02-17T04:00:03.000Z | 2022-03-24T03:45:33.000Z | hphp/runtime/vm/unwind.cpp | Atry/hhvm | f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2022-02-19T09:29:50.000Z | 2022-02-19T09:29:50.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 35.603104 | 80 | 0.622595 |
7df94dbfe2eb1d337d19f03c8b460ab9640c7087 | 1,360 | cc | C++ | cc/output/copy_output_result.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/output/copy_output_result.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/output/copy_output_result.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 "cc/output/copy_output_result.h"
#include "base/logging.h"
#include "components/viz/common/quads/texture_mailbox.h"
namespace cc {
CopyOutputR... | 28.333333 | 76 | 0.747794 |
7dfa357ea81a103eef3e76c1f4dc78093c7e9783 | 468 | hpp | C++ | lib/cml/hal/peripherals/RS485.hpp | msemegen/CML | f37e20f0add711c743b69607d39aa5ab0680cf7e | [
"MIT"
] | 23 | 2020-07-16T21:52:38.000Z | 2022-03-13T18:24:16.000Z | lib/cml/hal/peripherals/RS485.hpp | msemegen/CML | f37e20f0add711c743b69607d39aa5ab0680cf7e | [
"MIT"
] | 16 | 2019-12-28T01:14:44.000Z | 2021-04-15T14:40:07.000Z | lib/cml/hal/peripherals/RS485.hpp | msemegen/CML | f37e20f0add711c743b69607d39aa5ab0680cf7e | [
"MIT"
] | 5 | 2020-07-17T17:48:50.000Z | 2022-03-25T16:06:52.000Z | #pragma once
/*
* Name: RS485.hpp
*
* Copyright (c) Mateusz Semegen and contributors. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#ifdef STM32L4
#include <soc/m4/stm32l4/peripherals/RS485.hpp>
#endif // STM32L4
namespace cml {
n... | 20.347826 | 87 | 0.675214 |
7dfdfa0938d87d3c746a60cd2566d0ba6e14b113 | 173 | cpp | C++ | RemoteServer/EchoCommand.cpp | tdm1223/RemoteExplorer | b3ad193426f88c7d66cd1f23bf1fb4d4bde66bc4 | [
"MIT"
] | 2 | 2020-06-26T08:42:04.000Z | 2021-10-30T07:47:30.000Z | RemoteServer/EchoCommand.cpp | tdm1223/RemoteExplorer | b3ad193426f88c7d66cd1f23bf1fb4d4bde66bc4 | [
"MIT"
] | null | null | null | RemoteServer/EchoCommand.cpp | tdm1223/RemoteExplorer | b3ad193426f88c7d66cd1f23bf1fb4d4bde66bc4 | [
"MIT"
] | null | null | null | #include"EchoCommand.h"
bool EchoCommand::Execute(SOCKET sock, char* buf)
{
Sleep(2000);
if (!Send(sock, buf))
{
return false;
}
return true;
} | 15.727273 | 49 | 0.583815 |
7dfee15069cb1c0af2454d5d8d30cd03e401d9c8 | 1,864 | cpp | C++ | cpp-leetcode/lcci17.17-multi-search-lcci_trie.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 45 | 2021-07-25T00:45:43.000Z | 2022-03-24T05:10:43.000Z | cpp-leetcode/lcci17.17-multi-search-lcci_trie.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | null | null | null | cpp-leetcode/lcci17.17-multi-search-lcci_trie.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 15 | 2021-07-25T00:40:52.000Z | 2021-12-27T06:25:31.000Z | #include<vector>
#include<algorithm>
#include<iostream>
#include<unordered_map>
using namespace std;
class Solution {
private:
struct Node {
int idx;
vector<Node*> children;
Node() : idx(-1), children(26, nullptr) {}
};
struct Trie {
Node* root;
Trie() : root(new Nod... | 24.207792 | 73 | 0.413627 |
b40120c3a5e2bb8e6ba692b2cd8c782c7b787e59 | 26,057 | cpp | C++ | aten/src/ATen/native/LinearAlgebra.cpp | wxwoods/mctorch | 7cd6eb51fdd01fa75ed9245039a4f145ba342de2 | [
"BSD-3-Clause"
] | 1 | 2019-07-23T11:20:58.000Z | 2019-07-23T11:20:58.000Z | aten/src/ATen/native/LinearAlgebra.cpp | wxwoods/mctorch | 7cd6eb51fdd01fa75ed9245039a4f145ba342de2 | [
"BSD-3-Clause"
] | null | null | null | aten/src/ATen/native/LinearAlgebra.cpp | wxwoods/mctorch | 7cd6eb51fdd01fa75ed9245039a4f145ba342de2 | [
"BSD-3-Clause"
] | null | null | null | #include <ATen/ATen.h>
#include <ATen/ExpandUtils.h>
#include <ATen/Dispatch.h>
#include <ATen/NativeFunctions.h>
#include <ATen/LegacyTHFunctions.h>
#include <ATen/native/LinearAlgebraUtils.h>
#include <ATen/TensorUtils.h>
#include <ATen/Parallel.h>
#include <functional>
#include <numeric>
#include <vector>
#include <... | 39.065967 | 155 | 0.644856 |
b4017fd6a90ad0f9f060e68d9500d2c4da784f73 | 40,053 | cpp | C++ | be/src/olap/reader.cpp | spaces-X/doris-vectorized | 73ff3f3c0786c79a154e714fde56c812ac3f4f8f | [
"Apache-2.0"
] | null | null | null | be/src/olap/reader.cpp | spaces-X/doris-vectorized | 73ff3f3c0786c79a154e714fde56c812ac3f4f8f | [
"Apache-2.0"
] | null | null | null | be/src/olap/reader.cpp | spaces-X/doris-vectorized | 73ff3f3c0786c79a154e714fde56c812ac3f4f8f | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 46.304046 | 135 | 0.521684 |
b402c43c99a988838ab4dff131732d5da0186279 | 9,571 | cpp | C++ | vehicle/OVMS.V3/components/can/src/canlog.cpp | Wil63/Open-Vehicle-Monitoring-System-3 | 781b863c91f74ece9a8943f48feb4f2d3ebe19f0 | [
"MIT"
] | null | null | null | vehicle/OVMS.V3/components/can/src/canlog.cpp | Wil63/Open-Vehicle-Monitoring-System-3 | 781b863c91f74ece9a8943f48feb4f2d3ebe19f0 | [
"MIT"
] | null | null | null | vehicle/OVMS.V3/components/can/src/canlog.cpp | Wil63/Open-Vehicle-Monitoring-System-3 | 781b863c91f74ece9a8943f48feb4f2d3ebe19f0 | [
"MIT"
] | null | null | null | /*
; Project: Open Vehicle Monitor System
; Module: CAN logging framework
; Date: 18th January 2018
;
; (C) 2018 Michael Balzer
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"),... | 24.85974 | 114 | 0.604326 |
b4059cf3bbff0376086ece948f66bdf87f3b2a6e | 5,542 | hpp | C++ | DFNs/StereoReconstruction/ScanlineOptimization.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 7 | 2019-02-26T15:09:50.000Z | 2021-09-30T07:39:01.000Z | DFNs/StereoReconstruction/ScanlineOptimization.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | null | null | null | DFNs/StereoReconstruction/ScanlineOptimization.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 1 | 2020-12-06T12:09:05.000Z | 2020-12-06T12:09:05.000Z | /**
* @author Alessandro Bianco
*/
/**
* @addtogroup DFNs
* @{
*/
#ifndef STEREORECONSTRUCTION_SCANLINEOPTIMIZATION_HPP
#define STEREORECONSTRUCTION_SCANLINEOPTIMIZATION_HPP
#include "StereoReconstructionInterface.hpp"
#include <Types/CPP/PointCloud.hpp>
#include <Types/CPP/Frame.hpp>
#include <Helpers/Paramet... | 32.034682 | 107 | 0.746481 |
b4063a6084a2e2804dc5a3f28c50332ac508920c | 1,229 | cpp | C++ | QmlStream/AvLib/Common/AvCommon.cpp | milclo39/QtTools | 41463299799fc74d2691939e85b52c02a30ad9e6 | [
"Apache-2.0"
] | null | null | null | QmlStream/AvLib/Common/AvCommon.cpp | milclo39/QtTools | 41463299799fc74d2691939e85b52c02a30ad9e6 | [
"Apache-2.0"
] | null | null | null | QmlStream/AvLib/Common/AvCommon.cpp | milclo39/QtTools | 41463299799fc74d2691939e85b52c02a30ad9e6 | [
"Apache-2.0"
] | null | null | null | //--------------------------------------------------------------------------------//
/*!
@file AvCommon.cpp
@brief libAvライブラリ共通クラス
@author 大橋
*/
//--------------------------------------------------------------------------------//
#include "../AvCommon.h"
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDIN... | 28.581395 | 94 | 0.313263 |
b40aa8ff2d0280f6a0f3c399759b76a8e06f84e2 | 460 | hpp | C++ | MainBrain/test/ModelTest/ButtonTest/ButtonTest.hpp | smit-happens/YCP_EVOS | cecfa8aaa3c73945106786c44aa78d4fe872e3c3 | [
"MIT"
] | 10 | 2017-07-30T21:26:32.000Z | 2021-05-04T14:33:29.000Z | MainBrain/test/ModelTest/ButtonTest/ButtonTest.hpp | smit-happens/YCP_EVOS | cecfa8aaa3c73945106786c44aa78d4fe872e3c3 | [
"MIT"
] | 122 | 2017-07-30T15:55:55.000Z | 2019-05-19T20:29:13.000Z | MainBrain/test/ModelTest/ButtonTest/ButtonTest.hpp | smit-happens/YCP_EVOS | cecfa8aaa3c73945106786c44aa78d4fe872e3c3 | [
"MIT"
] | 3 | 2018-03-10T20:01:10.000Z | 2019-06-07T18:02:38.000Z | /** A one line description of the class.
*
* #include "ButtonTest.hpp"
* Created 3-12-18 By: Smitty
*
* A longer description.
*/
#ifndef BUTTONTEST_HPP
#define BUTTONTEST_HPP
#include "../BaseModelTest/BaseModelTest.hpp"
class ButtonTest : public BaseModelTest
{
public:
ButtonTest(void);
~ButtonTest... | 14.375 | 45 | 0.678261 |
b40afe568a853447158e863d9ea060df8fe564e8 | 4,076 | cpp | C++ | cdn/src/v20180606/model/QnPrivateAccess.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | 1 | 2022-01-27T09:27:34.000Z | 2022-01-27T09:27:34.000Z | cdn/src/v20180606/model/QnPrivateAccess.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | cdn/src/v20180606/model/QnPrivateAccess.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 27.727891 | 143 | 0.692591 |
b40c812493bc55443a5c09da02193a2bd1a70d53 | 10,169 | cpp | C++ | src/chainparams.cpp | frg17/smileyCoin | 6ce3e041c31e5308c688c9cde6a3d33385560915 | [
"MIT"
] | 1 | 2021-04-05T20:07:23.000Z | 2021-04-05T20:07:23.000Z | src/chainparams.cpp | frg17/smileyCoin | 6ce3e041c31e5308c688c9cde6a3d33385560915 | [
"MIT"
] | null | null | null | src/chainparams.cpp | frg17/smileyCoin | 6ce3e041c31e5308c688c9cde6a3d33385560915 | [
"MIT"
] | null | null | null | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016 The Auroracoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
#include "ass... | 40.839357 | 208 | 0.645098 |
b40ce6f2a657d35e764164dc09ccee362752e54d | 1,263 | hpp | C++ | sim_algorithm/b_tree.hpp | pachicobue/CacheObliviousAlgorithms | db6e5f19c708d83208206091ae44cd6d7c71c4e0 | [
"Unlicense"
] | null | null | null | sim_algorithm/b_tree.hpp | pachicobue/CacheObliviousAlgorithms | db6e5f19c708d83208206091ae44cd6d7c71c4e0 | [
"Unlicense"
] | null | null | null | sim_algorithm/b_tree.hpp | pachicobue/CacheObliviousAlgorithms | db6e5f19c708d83208206091ae44cd6d7c71c4e0 | [
"Unlicense"
] | null | null | null | #pragma once
/**
* @file b_tree.hpp
* @brief B-木
*/
#include <memory>
#include "config.hpp"
#include "simulator/disk_variable.hpp"
/**
* @brief B-木
* @details Cache Awareなデータ構造
* @note
* 中間ノードは以下のデータを持つ (根のキー数はK-1未満でもOK + 葉のsonsは空)
* - keys:k個のキー (キー数kは K-1 <= k <= 2K-1)
* - sons:k+1個の子ノード
*
* さらに探索木としての性質と... | 19.136364 | 67 | 0.585115 |
b40dcafc5aed4211d2d4a3cd395cb8b1b74a10b6 | 2,057 | cpp | C++ | modules/segmentation/src/segmenter_organized_connected_component.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | 2 | 2021-02-22T11:36:33.000Z | 2021-07-20T11:31:08.000Z | modules/segmentation/src/segmenter_organized_connected_component.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | null | null | null | modules/segmentation/src/segmenter_organized_connected_component.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | 3 | 2018-10-19T10:39:23.000Z | 2021-04-07T13:39:03.000Z | #include <v4r/segmentation/plane_utils.h>
#include <v4r/segmentation/segmenter_organized_connected_component.h>
#include <pcl/common/angles.h>
#include <pcl/pcl_config.h>
#include <pcl/segmentation/euclidean_cluster_comparator.h>
#include <pcl/segmentation/organized_connected_component_segmentation.h>
#include <pcl/im... | 41.979592 | 119 | 0.792902 |
b40df7bdec0f3905c976fa4bf85430ae073ddb6c | 116 | cpp | C++ | cmake_tutorials/01-basic/C-static-library/src/main.cpp | walkacross/cpp_tutorials | 184dd674a4861b8f69eb795c59012d4d2a97eedc | [
"Apache-2.0"
] | 1 | 2019-03-14T18:43:51.000Z | 2019-03-14T18:43:51.000Z | cmake_tutorials/01-basic/C-static-library/src/main.cpp | walkacross/cpp_tutorials | 184dd674a4861b8f69eb795c59012d4d2a97eedc | [
"Apache-2.0"
] | null | null | null | cmake_tutorials/01-basic/C-static-library/src/main.cpp | walkacross/cpp_tutorials | 184dd674a4861b8f69eb795c59012d4d2a97eedc | [
"Apache-2.0"
] | null | null | null | #include "static/Hello.h"
int main(int argc, char* argv[])
{
Hello hi_obj;
hi_obj.print();
return 0;
}
| 12.888889 | 32 | 0.603448 |
b40e7f9938f691f32bb44b53e04392a9a9ef413f | 6,967 | cpp | C++ | samples/game/Engine.cpp | Admer456/FoxGLBox | 6717902d102c929e565b3237753d4f918cf83ab7 | [
"MIT"
] | null | null | null | samples/game/Engine.cpp | Admer456/FoxGLBox | 6717902d102c929e565b3237753d4f918cf83ab7 | [
"MIT"
] | null | null | null | samples/game/Engine.cpp | Admer456/FoxGLBox | 6717902d102c929e565b3237753d4f918cf83ab7 | [
"MIT"
] | null | null | null | #include "IEngine.hpp"
#include "Vector.hpp"
#include "IRenderWorld.hpp"
#include "GameEntity.hpp"
#include <iostream>
#include <chrono>
#include "SDL.h"
#include "SDL_opengl.h"
#include "glm/gtc/matrix_transform.hpp"
#include "Engine.hpp"
namespace chrono = std::chrono;
IEngine* IEngine::AllocateIns... | 31.102679 | 119 | 0.602268 |
b40eec3ec4fc17178ae487d540648a9c18cd0d1b | 949 | hpp | C++ | pogre/CameraStrategy.hpp | ValtoLibraries/PUtils | f30ebf21416654743ad2a05b14974acd27257da8 | [
"MIT"
] | null | null | null | pogre/CameraStrategy.hpp | ValtoLibraries/PUtils | f30ebf21416654743ad2a05b14974acd27257da8 | [
"MIT"
] | null | null | null | pogre/CameraStrategy.hpp | ValtoLibraries/PUtils | f30ebf21416654743ad2a05b14974acd27257da8 | [
"MIT"
] | null | null | null | #pragma once
#include <OgreInput.h>
#include <OgreSceneNode.h>
namespace pogre
{
class CameraStrategy
{
public:
CameraStrategy(Ogre::SceneNode *camNode = nullptr) : _camNode(camNode) {}
virtual ~CameraStrategy() = default;
public:
virtual void keyPressed(const OgreBites::Keybo... | 28.757576 | 81 | 0.670179 |
b41019ad77fa92c7d7746c17dd0c79736e53cae0 | 5,170 | cc | C++ | zircon/system/utest/debugger/crash-and-recover.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | zircon/system/utest/debugger/crash-and-recover.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 2 | 2021-09-19T21:55:09.000Z | 2021-12-19T03:34:53.000Z | zircon/system/utest/debugger/crash-and-recover.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 1 | 2021-08-23T11:33:57.000Z | 2021-08-23T11:33:57.000Z | // Copyright 2016 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.
// This file contains basic "crash-and-recover" test support where the inferior
// crashes and then the cause of the crash is fixed in the debugger and the... | 29.044944 | 97 | 0.681431 |
b4128eded06ac8e8acf2d51e8653792f3e99b3dc | 3,093 | cpp | C++ | ace/tao/tao_idl/be/be_visitor_operation/base_proxy_impl_ch.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/tao/tao_idl/be/be_visitor_operation/base_proxy_impl_ch.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/tao/tao_idl/be/be_visitor_operation/base_proxy_impl_ch.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // base_proxy_impl_ch.cpp,v 1.2 2001/05/15 15:48:35 parsons Exp
#include "idl.h"
#include "idl_extern.h"
#include "be.h"
#include "be_visitor_operation.h"
ACE_RCSID(be_visitor_operation, x_proxy_impl_xh, "base_proxy_impl_ch.cpp,v 1.2 2001/05/15 15:48:35 parsons Exp")
be_visitor_oper... | 29.740385 | 113 | 0.555448 |
b4131c729c07e9fb420407b622a64a563ab1fec8 | 19,019 | cpp | C++ | aslam_optimizer/aslam_backend_expressions/src/EuclideanExpressionNode.cpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | aslam_optimizer/aslam_backend_expressions/src/EuclideanExpressionNode.cpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | aslam_optimizer/aslam_backend_expressions/src/EuclideanExpressionNode.cpp | chengfzy/kalibr | fe9705b380b160dc939607135f7d30efa64ea2e9 | [
"BSD-4-Clause"
] | null | null | null | #include <aslam/backend/EuclideanExpressionNode.hpp>
#include <aslam/backend/HomogeneousExpressionNode.hpp>
#include <aslam/backend/VectorExpressionNode.hpp>
#include <sm/kinematics/homogeneous_coordinates.hpp>
#include <sm/kinematics/rotations.hpp>
namespace aslam {
namespace backend {
EuclideanExpressionNode::Euclid... | 45.828916 | 120 | 0.784636 |
b4136df13a37303d5f549e6931c671aa95b8a28b | 7,099 | cpp | C++ | ProtoRPC_UE4/Source/ProtoRPC_UE4/FHttpModuleRpc/HttpRpcRequest.cpp | fire/Grpc_UE4 | b3d1246ee2c2b7e50bee7cb5f6c42366f7497e86 | [
"BSD-2-Clause"
] | 5 | 2017-02-28T00:53:52.000Z | 2018-08-02T10:06:13.000Z | ProtoRPC_UE4/Source/ProtoRPC_UE4/FHttpModuleRpc/HttpRpcRequest.cpp | fire/Grpc_UE4 | b3d1246ee2c2b7e50bee7cb5f6c42366f7497e86 | [
"BSD-2-Clause"
] | null | null | null | ProtoRPC_UE4/Source/ProtoRPC_UE4/FHttpModuleRpc/HttpRpcRequest.cpp | fire/Grpc_UE4 | b3d1246ee2c2b7e50bee7cb5f6c42366f7497e86 | [
"BSD-2-Clause"
] | 1 | 2020-10-07T07:20:25.000Z | 2020-10-07T07:20:25.000Z | // Copyright 2015 Paddle Creek Games Inc. All Rights Reserved.
#include "HttpRpcRequest.h"
#include <google/protobuf/descriptor.h>
#include <google/protobuf/message.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/util/json_util.h>
#include <google/protobuf/util/type_resolver_util.h>
DEFINE_LOG_CA... | 42.255952 | 135 | 0.755881 |
b4151e70d7555aff9046b564a293832c45a831a3 | 680 | cpp | C++ | hackerrank/practice/mathematics/combinatorics/game_of_thrones_ii.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 4 | 2018-06-05T14:15:52.000Z | 2022-02-08T05:14:23.000Z | hackerrank/practice/mathematics/combinatorics/game_of_thrones_ii.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | null | null | null | hackerrank/practice/mathematics/combinatorics/game_of_thrones_ii.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 1 | 2018-10-21T11:01:35.000Z | 2018-10-21T11:01:35.000Z | // https://www.hackerrank.com/challenges/game-of-throne-ii
#include "common/modular/static/factorial.h"
#include "common/modular_io.h"
#include "common/stl/base.h"
#include <string>
using TFactorial = modular::mstatic::Factorial<TModularD, false>;
int main_game_of_thrones_ii() {
TFactorial f;
string s;
cin >>... | 22.666667 | 65 | 0.582353 |
b415c6f92dac18b5e6b09338096263327aa5bec8 | 3,279 | cc | C++ | app/tests/base64_openssh_test.cc | anonymous-akorn/firebase-cpp-sdk | 1d13237b37dcecdc3a48ccd882337e03d4ac5bf0 | [
"Apache-2.0"
] | null | null | null | app/tests/base64_openssh_test.cc | anonymous-akorn/firebase-cpp-sdk | 1d13237b37dcecdc3a48ccd882337e03d4ac5bf0 | [
"Apache-2.0"
] | null | null | null | app/tests/base64_openssh_test.cc | anonymous-akorn/firebase-cpp-sdk | 1d13237b37dcecdc3a48ccd882337e03d4ac5bf0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 33.121212 | 79 | 0.693504 |
b4193ba0088f347d7df4bdb08fdcd36b1427c0cd | 3,561 | cpp | C++ | demos/SE2RigidBodyPlanning/DynamicCarPlanning.cpp | tjzxh/ompl | cec1575a0198e47309b0db02b8f2055896b0b5b0 | [
"BSD-3-Clause"
] | null | null | null | demos/SE2RigidBodyPlanning/DynamicCarPlanning.cpp | tjzxh/ompl | cec1575a0198e47309b0db02b8f2055896b0b5b0 | [
"BSD-3-Clause"
] | null | null | null | demos/SE2RigidBodyPlanning/DynamicCarPlanning.cpp | tjzxh/ompl | cec1575a0198e47309b0db02b8f2055896b0b5b0 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Rice University Software Distribution License
*
* Copyright (c) 2010, Rice University
* All Rights Reserved.
*
* For a full description see the file named LICENSE.
*
*********************************************************************/
/... | 33.914286 | 95 | 0.638865 |
b41a26abd0fa34f844cdad5d201057bca222d018 | 255 | cpp | C++ | BattleSim/Main.cpp | pdblouin/Trial_and_Error | a94827302ea2e7287ad100b096c2f8a8c9702365 | [
"BSD-3-Clause"
] | null | null | null | BattleSim/Main.cpp | pdblouin/Trial_and_Error | a94827302ea2e7287ad100b096c2f8a8c9702365 | [
"BSD-3-Clause"
] | null | null | null | BattleSim/Main.cpp | pdblouin/Trial_and_Error | a94827302ea2e7287ad100b096c2f8a8c9702365 | [
"BSD-3-Clause"
] | null | null | null | #include "olcPixelGameEngine.h"
#include <cstdlib>
#include <memory>
#include "GameEngine.h"
#include "Card.h"
#include "Board.h"
int main()
{
clsEngine gameInstance;
if (gameInstance.Construct(1280, 720, 1, 1))
gameInstance.Start();
return 0;
} | 14.166667 | 45 | 0.705882 |
b41a3eaba77ff98259b271b1b784bc4b6fe6749c | 2,479 | cpp | C++ | ql/instruments/dividendbarrieroption.cpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 3,358 | 2015-12-18T02:56:17.000Z | 2022-03-31T02:42:47.000Z | ql/instruments/dividendbarrieroption.cpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 965 | 2015-12-21T10:35:28.000Z | 2022-03-30T02:47:00.000Z | ql/instruments/dividendbarrieroption.cpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 1,663 | 2015-12-17T17:45:38.000Z | 2022-03-31T07:58:29.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Andreas Gaida
Copyright (C) 2008 Ralph Schreyer
Copyright (C) 2008 Klaus Spanderen
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://q... | 37 | 80 | 0.628479 |