hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b1ea0ac93e6cee3a423b96f1fed8299f0c013860 | 220 | cc | C++ | ch03/ex3_08.cc | meishaoming/cpp_primer_5th_answer | 482d60e37e8bf69c0ae83e7e98d955f76dfbffe0 | [
"MIT"
] | null | null | null | ch03/ex3_08.cc | meishaoming/cpp_primer_5th_answer | 482d60e37e8bf69c0ae83e7e98d955f76dfbffe0 | [
"MIT"
] | null | null | null | ch03/ex3_08.cc | meishaoming/cpp_primer_5th_answer | 482d60e37e8bf69c0ae83e7e98d955f76dfbffe0 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
int main() {
std::string str;
std::cin >> str;
for (std::string::size_type n = 0;n < str.size(); ++n) {
str[n] = 'X';
}
std::cout << str << std::endl;
return 0;
}
| 14.666667 | 58 | 0.531818 | meishaoming |
b1ecbe3935e3c377f10c93df50bbd520e1903e7e | 2,854 | cc | C++ | lite/kernels/xpu/yolo_box_compute.cc | Danielmic/Paddle-Lite | 8bf08425035cfae077754ac72629292fac7bb996 | [
"Apache-2.0"
] | 808 | 2018-04-17T17:43:12.000Z | 2019-08-18T07:39:13.000Z | lite/kernels/xpu/yolo_box_compute.cc | Danielmic/Paddle-Lite | 8bf08425035cfae077754ac72629292fac7bb996 | [
"Apache-2.0"
] | 728 | 2018-04-18T08:15:25.000Z | 2019-08-16T07:14:43.000Z | lite/kernels/xpu/yolo_box_compute.cc | Danielmic/Paddle-Lite | 8bf08425035cfae077754ac72629292fac7bb996 | [
"Apache-2.0"
] | 364 | 2018-04-18T17:05:02.000Z | 2019-08-18T03:25:38.000Z | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 36.589744 | 80 | 0.563069 | Danielmic |
b1f20967450e189ee6b02c5be2ac19b293c8502f | 9,721 | hpp | C++ | externals/browser/externals/browser/externals/libimgproc/imgproc/texturing.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 1 | 2021-09-02T08:42:59.000Z | 2021-09-02T08:42:59.000Z | externals/browser/externals/browser/externals/libimgproc/imgproc/texturing.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | externals/browser/externals/browser/externals/libimgproc/imgproc/texturing.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (c) 2017 Melown Technologies SE
*
* 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 f... | 25.785146 | 79 | 0.648596 | HanochZhu |
5901a00f4c8f434ae1e55975d204d108040cb80b | 1,443 | cpp | C++ | Jacobi_vs_Gauss_Siedel/main.cpp | soumyasen1809/CFD_NPTEL_IITKGP | b747955650b37fbdb9a006f2292deb1b78fae6b9 | [
"MIT"
] | 2 | 2021-06-17T21:54:14.000Z | 2021-07-06T02:18:10.000Z | Jacobi_vs_Gauss_Siedel/main.cpp | soumyasen1809/CFD_NPTEL_IITKGP | b747955650b37fbdb9a006f2292deb1b78fae6b9 | [
"MIT"
] | null | null | null | Jacobi_vs_Gauss_Siedel/main.cpp | soumyasen1809/CFD_NPTEL_IITKGP | b747955650b37fbdb9a006f2292deb1b78fae6b9 | [
"MIT"
] | null | null | null | //Equation to solve: 5x1 + x2 = 7 ; x1 + 5x2 = 11
#include <iostream>
int main() {
double x_1 = 0.01; // Initialize x1 = 0
double x_1_new = 0.0;
double x_2 = 0.01; // Initialize x2 = 0
double x_2_new = 0.0;
double eps = 1.0; // Tolerance limit epsilon, initialized to 1
int count_s... | 23.655738 | 100 | 0.567568 | soumyasen1809 |
5901d82d0a22a5068e980d0f5bb02a5223fcacad | 9,176 | cpp | C++ | 3D_Mathematics_Engine/3D_Mathematics_Engine/Matrix.cpp | ConfuzzledBovv/GameEngineDevelopment | ef8b1a370fd09ca3fff3582f766b1d723cdcd7f1 | [
"Apache-2.0"
] | null | null | null | 3D_Mathematics_Engine/3D_Mathematics_Engine/Matrix.cpp | ConfuzzledBovv/GameEngineDevelopment | ef8b1a370fd09ca3fff3582f766b1d723cdcd7f1 | [
"Apache-2.0"
] | null | null | null | 3D_Mathematics_Engine/3D_Mathematics_Engine/Matrix.cpp | ConfuzzledBovv/GameEngineDevelopment | ef8b1a370fd09ca3fff3582f766b1d723cdcd7f1 | [
"Apache-2.0"
] | null | null | null | #include "Matrix.h"
#include "iostream"
namespace Maths
{
Matrix::Matrix()
{
// If no data is given then set as identity matrix
for (int i = 0; i < 9; i++)
{
matrixData[i] = 0;
}
matrixData[0] = matrixData[4] = matrixData[8] = 1.0f;
}
Matrix::Matrix(float matrix0, float matrix3, float ... | 39.551724 | 167 | 0.654425 | ConfuzzledBovv |
5902ed7a0dab756a28e36d2062017b05b0f8bd9b | 23,154 | cpp | C++ | source/prt_lines_continuum.cpp | cloudy-astrophysics/cloudy_lfs | aed1d6d78042b93f17ea497a37b35a524f3d3e2e | [
"Zlib"
] | null | null | null | source/prt_lines_continuum.cpp | cloudy-astrophysics/cloudy_lfs | aed1d6d78042b93f17ea497a37b35a524f3d3e2e | [
"Zlib"
] | null | null | null | source/prt_lines_continuum.cpp | cloudy-astrophysics/cloudy_lfs | aed1d6d78042b93f17ea497a37b35a524f3d3e2e | [
"Zlib"
] | null | null | null | /* This file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and
* others. For conditions of distribution and use see copyright notice in license.txt */
/*lines_continuum put energetics, H, and He lines into line intensity stack */
#include "cddefines.h"
#include "taulines.h"
#include "iso.h"
#incl... | 36.578199 | 111 | 0.652501 | cloudy-astrophysics |
59096f00721334d343b226b9c528f1098e159d6c | 4,924 | cpp | C++ | source/Plugins/PostEffects/LightStreaksPostEffect/LightStreaksPostEffect.cpp | DragonJoker/Castor3D | ee0b02eeda70cd235a224be306539850e32195f6 | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | source/Plugins/PostEffects/LightStreaksPostEffect/LightStreaksPostEffect.cpp | DragonJoker/Castor3D | ee0b02eeda70cd235a224be306539850e32195f6 | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | source/Plugins/PostEffects/LightStreaksPostEffect/LightStreaksPostEffect.cpp | DragonJoker/Castor3D | ee0b02eeda70cd235a224be306539850e32195f6 | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | #include "LightStreaksPostEffect/LightStreaksPostEffect.hpp"
#include <Castor3D/Engine.hpp>
#include <Castor3D/Buffer/GpuBuffer.hpp>
#include <Castor3D/Model/Vertex.hpp>
#include <Castor3D/Material/Texture/Sampler.hpp>
#include <Castor3D/Material/Texture/TextureLayout.hpp>
#include <Castor3D/Miscellaneous/Parameter.hp... | 27.662921 | 108 | 0.693745 | DragonJoker |
590abc5da91904c53ccf38e68a0cd9edf113d02f | 854 | cpp | C++ | 0400/00/408a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0400/00/408a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0400/00/408a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <iostream>
#include <numeric>
#include <vector>
#include <climits>
template <typename T>
std::istream& operator >>(std::istream& input, std::vector<T>& v)
{
for (T& a : v)
input >> a;
return input;
}
void answer(unsigned v)
{
std::cout << v << '\n';
}
void solve(const std::vector<std::... | 16.113208 | 84 | 0.523419 | actium |
590b34e3e8449f330810b3275f24a2899f6ba3fe | 535 | cc | C++ | data-structure/pb_ds.cc | ac-voyage/template | 84d7db1db0e79f50d641d84d4aaa17442b0653f6 | [
"MIT"
] | null | null | null | data-structure/pb_ds.cc | ac-voyage/template | 84d7db1db0e79f50d641d84d4aaa17442b0653f6 | [
"MIT"
] | null | null | null | data-structure/pb_ds.cc | ac-voyage/template | 84d7db1db0e79f50d641d84d4aaa17442b0653f6 | [
"MIT"
] | 1 | 2017-04-20T09:47:09.000Z | 2017-04-20T09:47:09.000Z | /* Red-Black tree via pb_ds. */
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
template <typename T>
using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
int main(){
ordere... | 31.470588 | 96 | 0.721495 | ac-voyage |
590da069353fcffec5b4f8c224cd7882911076ff | 13,609 | cpp | C++ | extras/DemFiles/src/GridLib/ParseNumber.cpp | jebreimo/GridLib | a90a5299512eb01623881c62a1e5f73b9f2c2513 | [
"BSD-2-Clause"
] | null | null | null | extras/DemFiles/src/GridLib/ParseNumber.cpp | jebreimo/GridLib | a90a5299512eb01623881c62a1e5f73b9f2c2513 | [
"BSD-2-Clause"
] | null | null | null | extras/DemFiles/src/GridLib/ParseNumber.cpp | jebreimo/GridLib | a90a5299512eb01623881c62a1e5f73b9f2c2513 | [
"BSD-2-Clause"
] | null | null | null | //****************************************************************************
// Copyright © 2017 Jan Erik Breimo. All rights reserved.
// Created by Jan Erik Breimo on 23.02.2017.
//
// This file is distributed under the BSD License.
// License text is included with the source distribution.
//************************... | 29.975771 | 82 | 0.384525 | jebreimo |
590fbbc29a6577b81fa544ca21977aed63372e58 | 8,862 | cpp | C++ | src/PermNetwork.cpp | patrick-schwarz/HElib | cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59 | [
"Apache-2.0"
] | 1 | 2020-12-01T07:18:47.000Z | 2020-12-01T07:18:47.000Z | src/PermNetwork.cpp | wangjinglin0721/HElib | cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59 | [
"Apache-2.0"
] | null | null | null | src/PermNetwork.cpp | wangjinglin0721/HElib | cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59 | [
"Apache-2.0"
] | null | null | null | /* Copyright (C) 2012-2019 IBM Corp.
* This program is Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or a... | 34.889764 | 79 | 0.64297 | patrick-schwarz |
591573ae2b4b07b82625256973d1a0a936730162 | 31,861 | cpp | C++ | MK4duo/src/lcd/menu/menu_advanced.cpp | DapDeveloper/MK4duo | 385fdcd3cda94e73396dd12f23ff570c86d2eab5 | [
"RSA-MD"
] | null | null | null | MK4duo/src/lcd/menu/menu_advanced.cpp | DapDeveloper/MK4duo | 385fdcd3cda94e73396dd12f23ff570c86d2eab5 | [
"RSA-MD"
] | null | null | null | MK4duo/src/lcd/menu/menu_advanced.cpp | DapDeveloper/MK4duo | 385fdcd3cda94e73396dd12f23ff570c86d2eab5 | [
"RSA-MD"
] | null | null | null | /**
* MK4duo Firmware for 3D Printer, Laser and CNC
*
* Based on Marlin, Sprinter and grbl
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2019 Alberto Cotronei @MagoKimbra
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | 42.651941 | 197 | 0.695866 | DapDeveloper |
5915aba6512fc1bcd4d42873cf2255b08c4f3732 | 6,444 | cpp | C++ | src/mongocxx/test/read_preference.cpp | oledahle/mongo-cxx-driver | 60509b2d430b94d8e52d05502fb60e7b91c63cba | [
"Apache-2.0"
] | 934 | 2015-01-02T14:49:43.000Z | 2022-03-16T01:21:42.000Z | src/mongocxx/test/read_preference.cpp | oledahle/mongo-cxx-driver | 60509b2d430b94d8e52d05502fb60e7b91c63cba | [
"Apache-2.0"
] | 533 | 2015-01-07T18:45:30.000Z | 2022-03-23T00:44:26.000Z | src/mongocxx/test/read_preference.cpp | oledahle/mongo-cxx-driver | 60509b2d430b94d8e52d05502fb60e7b91c63cba | [
"Apache-2.0"
] | 570 | 2015-01-04T05:47:04.000Z | 2022-03-28T11:12:38.000Z | // Copyright 2014 MongoDB 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 wri... | 33.915789 | 99 | 0.665115 | oledahle |
5915ddf6d41c2605c4db388b4b71653bbff19a8b | 18,160 | cpp | C++ | QSynthesis/Backend/Documents/Files/SequenceTextFile.cpp | SineStriker/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | 3 | 2021-12-08T05:30:52.000Z | 2021-12-18T10:46:49.000Z | QSynthesis/Backend/Documents/Files/SequenceTextFile.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | QSynthesis/Backend/Documents/Files/SequenceTextFile.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | #include "SequenceTextFile.h"
#include "SystemApis.h"
#include "Variables.h"
using namespace Utau;
Q_CHARSET_DECLARE(SequenceTextFile)
// Project File Reader
SequenceTextFile::SequenceTextFile() : BaseFile(Qs::Default) {
m_codec = defaultCodec;
reset();
}
SequenceTextFile::SequenceTextFile(const QString &f... | 31.803853 | 100 | 0.557269 | SineStriker |
5917564f6f820e30d8adb2b1baeff950fd4f1057 | 496 | cpp | C++ | components/rollkit/src/chracteristic.cpp | NeilBetham/rollk | e82026397c892b5f0d3b53891d5efa51d941fd9d | [
"MIT"
] | 4 | 2018-06-12T21:48:01.000Z | 2021-04-01T15:18:50.000Z | components/rollkit/src/chracteristic.cpp | NeilBetham/rollk | e82026397c892b5f0d3b53891d5efa51d941fd9d | [
"MIT"
] | null | null | null | components/rollkit/src/chracteristic.cpp | NeilBetham/rollk | e82026397c892b5f0d3b53891d5efa51d941fd9d | [
"MIT"
] | 1 | 2018-08-18T13:05:31.000Z | 2018-08-18T13:05:31.000Z | #include "rollkit/characteristic.hpp"
#include <algorithm>
#include "rollkit/utils.hpp"
using namespace std;
namespace rollkit {
nlohmann::json Characteristic::serialize() const {
nlohmann::json ret;
bool is_readable = find(_perms.begin(), _perms.end(), "pr") != _perms.end();
ret["type"] = _hap_type;
ret... | 17.103448 | 78 | 0.66129 | NeilBetham |
591b215502ae32dc5fcc9b5d7eb6f95ae377a5e5 | 28,005 | cpp | C++ | src/lib/foundations/solvers/mckay.cpp | abetten/orbiter | 5994d0868a26c37676d6aadfc66a1f1bcb715c4b | [
"RSA-MD"
] | 15 | 2016-10-27T15:18:28.000Z | 2022-02-09T11:13:07.000Z | src/lib/foundations/solvers/mckay.cpp | abetten/orbiter | 5994d0868a26c37676d6aadfc66a1f1bcb715c4b | [
"RSA-MD"
] | 4 | 2019-12-09T11:49:11.000Z | 2020-07-30T17:34:45.000Z | src/lib/foundations/solvers/mckay.cpp | abetten/orbiter | 5994d0868a26c37676d6aadfc66a1f1bcb715c4b | [
"RSA-MD"
] | 15 | 2016-06-10T20:05:30.000Z | 2020-12-18T04:59:19.000Z | // mckay.cpp
//
// solver due to Brendan McKay
// C++ translation by Volker Widor 2003
// adapted by Anton Betten
// 1/16/2009
#include "foundations.h"
using namespace std;
namespace orbiter {
namespace foundations {
mckay::tMCKAY::tMCKAY() {
nb_calls_to_solve = 0;
first_moved = 0;
second_moved = 0;
problem_l... | 25.858726 | 115 | 0.508124 | abetten |
591cfcda93a7f61258283a371c37cf3f085c0a55 | 123,412 | cpp | C++ | api/modules/SAM_TroughPhysicalProcessHeat.cpp | jkelroy/SAM | 3c05e55ec7d9e31f33e06f17fa6fb41bb19f04db | [
"BSD-3-Clause"
] | 219 | 2017-07-28T17:25:14.000Z | 2022-03-17T23:03:17.000Z | api/modules/SAM_TroughPhysicalProcessHeat.cpp | jkelroy/SAM | 3c05e55ec7d9e31f33e06f17fa6fb41bb19f04db | [
"BSD-3-Clause"
] | 729 | 2017-08-10T14:42:30.000Z | 2022-03-31T23:14:09.000Z | api/modules/SAM_TroughPhysicalProcessHeat.cpp | jkelroy/SAM | 3c05e55ec7d9e31f33e06f17fa6fb41bb19f04db | [
"BSD-3-Clause"
] | 109 | 2017-09-16T00:52:54.000Z | 2022-03-31T18:05:05.000Z | #include <string>
#include <utility>
#include <vector>
#include <memory>
#include <iostream>
#include <ssc/sscapi.h>
#include "SAM_api.h"
#include "ErrorHandler.h"
#include "SAM_TroughPhysicalProcessHeat.h"
SAM_EXPORT int SAM_TroughPhysicalProcessHeat_execute(SAM_table data, int verbosity, SAM_error* err){
return S... | 31.180394 | 149 | 0.782695 | jkelroy |
591d267b6213c0d548dcdb9ae73eb3f6530a54cb | 9,198 | cpp | C++ | rede/newtonSolver.cpp | BigsonLvrocha/NeuralPowerFlow | 3d64078b5d1053cd521318229b69592acab6582a | [
"MIT"
] | null | null | null | rede/newtonSolver.cpp | BigsonLvrocha/NeuralPowerFlow | 3d64078b5d1053cd521318229b69592acab6582a | [
"MIT"
] | null | null | null | rede/newtonSolver.cpp | BigsonLvrocha/NeuralPowerFlow | 3d64078b5d1053cd521318229b69592acab6582a | [
"MIT"
] | null | null | null | /**
* @brief defines newton raphman power flow solver
*
* @file newtonSolver.cpp
* @author Luiz Victor Linhares Rocha
* @date 2018-09-22
* @copyright 2018
*/
#include <cmath>
#include "newtonSolver.hpp"
#include "barra.hpp"
#include "branch.hpp"
#include "powerNet.hpp"
namespace neuralFlux {
NewtonSolver::N... | 31.82699 | 94 | 0.570885 | BigsonLvrocha |
591ead5f05ce505f1761f2c20a818b612ecd25aa | 414 | cpp | C++ | share/src/util/getuniquepath.cpp | MrCryptoBeast/WWW | 857e860df0aa1bc7fde2ee6f5918ff32933beeb3 | [
"MIT"
] | null | null | null | share/src/util/getuniquepath.cpp | MrCryptoBeast/WWW | 857e860df0aa1bc7fde2ee6f5918ff32933beeb3 | [
"MIT"
] | null | null | null | share/src/util/getuniquepath.cpp | MrCryptoBeast/WWW | 857e860df0aa1bc7fde2ee6f5918ff32933beeb3 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The worldwideweb Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <random.h>
#include <fs.h>
#include <util/strencodings.h>
fs::path GetUniquePath(const fs::path& base)
{
FastRa... | 29.571429 | 70 | 0.731884 | MrCryptoBeast |
591f2e18b9be255023a45a51f9e176edd6da3ce8 | 4,240 | cc | C++ | test/libponyc/compiler_serialisation.cc | rtpax/ponyc | 5af6626fcc894ef201bebfac712c454e6c8b14c9 | [
"BSD-2-Clause"
] | 4,304 | 2016-02-01T14:46:51.000Z | 2022-03-29T15:17:15.000Z | test/libponyc/compiler_serialisation.cc | rtpax/ponyc | 5af6626fcc894ef201bebfac712c454e6c8b14c9 | [
"BSD-2-Clause"
] | 2,889 | 2016-02-01T11:11:07.000Z | 2022-03-31T20:59:39.000Z | test/libponyc/compiler_serialisation.cc | rtpax/ponyc | 5af6626fcc894ef201bebfac712c454e6c8b14c9 | [
"BSD-2-Clause"
] | 534 | 2016-02-01T12:42:45.000Z | 2022-03-22T16:45:45.000Z | #include <gtest/gtest.h>
#include <platform.h>
#include <../libponyrt/mem/pool.h>
#include <../libponyrt/sched/scheduler.h>
#include "util.h"
#include <memory>
#define TEST_COMPILE(src, pass) DO(test_compile(src, pass))
#define TEST_COMPILE_RESUME(pass) DO(test_compile_resume(pass))
class CompilerSerialisationTes... | 19.62963 | 81 | 0.713915 | rtpax |
591fadfaf96f3d07e889163a3d389b5223c7d722 | 39 | hpp | C++ | src/boost_asio_system_timer.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_asio_system_timer.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_asio_system_timer.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/asio/system_timer.hpp>
| 19.5 | 38 | 0.794872 | miathedev |
59204a0c83d260e99bb08a6a6cb71fe598368a59 | 3,912 | cpp | C++ | VC2010Samples/ATL/General/ATLCollections/Client/Client.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/ATL/General/ATLCollections/Client/Client.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/ATL/General/ATLCollections/Client/Client.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // This is a part of the Active Template Library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with the library.
// See these sources for detailed inform... | 26.08 | 90 | 0.67638 | alonmm |
5923a4647afae175e045a7ec96bd97975c593a29 | 13,848 | cpp | C++ | automated-tests/src/dali/utc-Dali-Shader.cpp | vcebollada/dali-core | 1f880695d4f6cb871db7f946538721e882ba1633 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | automated-tests/src/dali/utc-Dali-Shader.cpp | vcebollada/dali-core | 1f880695d4f6cb871db7f946538721e882ba1633 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-03-22T10:19:17.000Z | 2020-03-22T10:19:17.000Z | automated-tests/src/dali/utc-Dali-Shader.cpp | fayhot/dali-core | a69ea317f30961164520664a645ac36c387055ef | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017 Samsung Electronics 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... | 32.204651 | 118 | 0.737363 | vcebollada |
59254d576bf9a2162a693904ee0576cc2eae7992 | 25,309 | cpp | C++ | Qt Source Code/opencv_.cpp | GorkemTok33/Temel-Resim-Islemleri | 197fa4f5eeb1194f27800e2ebc1c08fcad275df1 | [
"MIT"
] | null | null | null | Qt Source Code/opencv_.cpp | GorkemTok33/Temel-Resim-Islemleri | 197fa4f5eeb1194f27800e2ebc1c08fcad275df1 | [
"MIT"
] | null | null | null | Qt Source Code/opencv_.cpp | GorkemTok33/Temel-Resim-Islemleri | 197fa4f5eeb1194f27800e2ebc1c08fcad275df1 | [
"MIT"
] | null | null | null | /****************************************************************************************
Program: PictureDesigner
Author: Görkem Tok
Language: C++
Platform: Qt Creator
Contact: ceng.gorkem.tok@gmail.com
License: MIT
****************************************************************************************/
#... | 32.572716 | 200 | 0.608716 | GorkemTok33 |
59264ede404d20daf02b4b2d53ae543df9c017d7 | 220 | hxx | C++ | src/lib/ui/widgets/label.hxx | johanneslochmann/cppprojecttemplate | 28f1bd4dd1bc414ed38c8a739e33974f65891f83 | [
"BSD-3-Clause"
] | null | null | null | src/lib/ui/widgets/label.hxx | johanneslochmann/cppprojecttemplate | 28f1bd4dd1bc414ed38c8a739e33974f65891f83 | [
"BSD-3-Clause"
] | null | null | null | src/lib/ui/widgets/label.hxx | johanneslochmann/cppprojecttemplate | 28f1bd4dd1bc414ed38c8a739e33974f65891f83 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <ui/widgets/config.hxx>
#include <QLabel>
PRAM_NS_BEGIN
WIDGETS_NAMESPACE_BEGIN
class Label: public QLabel
{
Q_OBJECT
public:
using QLabel::QLabel;
};
PRAM_NS_END
WIDGETS_NAMESPACE_END
| 11.578947 | 32 | 0.768182 | johanneslochmann |
59274351d802839b10cd13fc322f83b28799931f | 2,567 | hpp | C++ | src/xrt/auxiliary/tracking/t_helper_debug_sink.hpp | mateosss/monado | 5c6158cc8bbd92add1aa38bf44164cd9d0386900 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-02-25T19:36:30.000Z | 2021-02-25T19:36:30.000Z | src/xrt/auxiliary/tracking/t_helper_debug_sink.hpp | mateosss/monado | 5c6158cc8bbd92add1aa38bf44164cd9d0386900 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/xrt/auxiliary/tracking/t_helper_debug_sink.hpp | mateosss/monado | 5c6158cc8bbd92add1aa38bf44164cd9d0386900 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Small helper struct that for debugging views.
* @author Jakob Bornecrantz <jakob@collabora.com>
* @ingroup aux_tracking
*/
#pragma once
#ifndef __cplusplus
#error "This header is C++-only."
#endif
#include <opencv2/open... | 20.212598 | 67 | 0.613946 | mateosss |
592bd95a74c9a08b03b2d079850914ccca204634 | 14,141 | cpp | C++ | wifi-x-nucleo-idw01m1/SpwfSAInterface.cpp | rmikio/STM32L475_Ubidots_LCF | 1d9fd282969d035680de2ff42a97389ce831711a | [
"MIT"
] | null | null | null | wifi-x-nucleo-idw01m1/SpwfSAInterface.cpp | rmikio/STM32L475_Ubidots_LCF | 1d9fd282969d035680de2ff42a97389ce831711a | [
"MIT"
] | null | null | null | wifi-x-nucleo-idw01m1/SpwfSAInterface.cpp | rmikio/STM32L475_Ubidots_LCF | 1d9fd282969d035680de2ff42a97389ce831711a | [
"MIT"
] | null | null | null | /* mbed Microcontroller Library
* Copyright (c) 20015 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 27.565302 | 154 | 0.655753 | rmikio |
592c133b276684d0c8e4ad2e04426e3d55f461cc | 333 | hpp | C++ | Classifier/TransformerBuilder.hpp | TomaszRewak/Classifiers | 35f383b4a87d905f9c15dfdec88a94ea9f8b1abb | [
"MIT"
] | null | null | null | Classifier/TransformerBuilder.hpp | TomaszRewak/Classifiers | 35f383b4a87d905f9c15dfdec88a94ea9f8b1abb | [
"MIT"
] | null | null | null | Classifier/TransformerBuilder.hpp | TomaszRewak/Classifiers | 35f383b4a87d905f9c15dfdec88a94ea9f8b1abb | [
"MIT"
] | null | null | null | #pragma once
#include "Transformer.hpp"
namespace Classifier::Data::Transformation
{
class TransformerBuilder
{
public:
template<typename ...Ts>
static Transformer<InputFeatures<Ts...>, OutputFeatures<Ts...>> from(FeatureSet<Ts...>& set)
{
return Transformer<InputFeatures<Ts...>, OutputFeatures<Ts...>>(se... | 20.8125 | 94 | 0.6997 | TomaszRewak |
592e9ae42ef83ac29643bd7f3a4159072f665245 | 12,177 | cpp | C++ | src/helics/application_api/Filters.cpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | src/helics/application_api/Filters.cpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | src/helics/application_api/Filters.cpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2017-2020,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#include "Filters.hpp"
#include "CoreApp.hpp"
#include "FilterOperat... | 30.984733 | 100 | 0.625113 | bmkelley |
5932560724f312a4b6110af9eddff9da97581ad6 | 7,373 | cpp | C++ | src/Cello/control_stopping.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Cello/control_stopping.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Cello/control_stopping.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file control_stopping.cpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2013-04-26
/// @brief Charm-related functions associated with initialization
/// @ingroup Control
///
/// STOPPING
///
/// Block::stopping(... | 25.77972 | 86 | 0.607351 | TrevorMcCrary |
593354c5453f53ade53e9f4dc05587e3b13ff53a | 2,178 | cc | C++ | src/common/chemistry/base_chemistry/ion_exchange_site.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | 1 | 2021-02-23T18:34:47.000Z | 2021-02-23T18:34:47.000Z | src/common/chemistry/base_chemistry/ion_exchange_site.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | src/common/chemistry/base_chemistry/ion_exchange_site.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | /*
Chemistry
Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL.
Amanzi is released under the three-clause BSD License.
The terms of use and "as is" disclaimer for this license are
provided in the top-level COPYRIGHT file.
Author: Ben Andre
Base class for ion exchange sites (e.g. X- in s... | 27.225 | 88 | 0.653352 | ajkhattak |
5934cba98b73e262663e0266c928b8eeb4c52487 | 1,714 | hpp | C++ | include/RadonFramework/System/Hardware/ProcessorFeatures.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 3 | 2015-09-15T06:57:50.000Z | 2021-03-16T19:05:02.000Z | include/RadonFramework/System/Hardware/ProcessorFeatures.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 2 | 2015-09-26T12:41:10.000Z | 2015-12-08T08:41:37.000Z | include/RadonFramework/System/Hardware/ProcessorFeatures.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 1 | 2015-07-09T02:56:34.000Z | 2015-07-09T02:56:34.000Z | #ifndef RF_SYSTEM_HARDWARE_PROCESSORFEATURES_HPP
#define RF_SYSTEM_HARDWARE_PROCESSORFEATURES_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include <RadonFramework/Collections/BitSet.hpp>
namespace RadonFramework::System::Hardware::ProcessorFeatures {
enum Type
{
AES, // Advanced Encryption Standard instruction s... | 31.163636 | 78 | 0.717036 | tak2004 |
5936b8427d03384772e56818fe99645f19183040 | 9,210 | cc | C++ | libview/reparenter.cc | libview/libview | 3d9b8bd63589e8bdc43638331bf6061127690cd3 | [
"MIT"
] | 2 | 2020-10-22T22:02:52.000Z | 2021-12-13T18:07:16.000Z | libview/reparenter.cc | libview/libview | 3d9b8bd63589e8bdc43638331bf6061127690cd3 | [
"MIT"
] | null | null | null | libview/reparenter.cc | libview/libview | 3d9b8bd63589e8bdc43638331bf6061127690cd3 | [
"MIT"
] | null | null | null | /* *************************************************************************
* Copyright (c) 2005 VMware, Inc.
*
* 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, incl... | 28.079268 | 79 | 0.577742 | libview |
593b3a4f9051ebca909b9cf72a4578b31374eeba | 2,770 | cpp | C++ | editor/utils/assets.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | editor/utils/assets.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | editor/utils/assets.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | /*******************************
Copyright (c) 2016-2022 Grégoire Angerand
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... | 29.784946 | 80 | 0.62852 | gan74 |
593b872a7cfd628d62724c84aa2511b3fd841687 | 52 | cpp | C++ | src/kernel/dev/Mouse.cpp | jameskingstonclarke/arctic | 6fec04809d6175689477abfe21416f33e63cb177 | [
"MIT"
] | 1 | 2021-02-01T19:28:02.000Z | 2021-02-01T19:28:02.000Z | src/kernel/dev/Mouse.cpp | jameskingstonclarke/arctic | 6fec04809d6175689477abfe21416f33e63cb177 | [
"MIT"
] | 9 | 2021-02-07T15:46:11.000Z | 2021-02-18T08:25:42.000Z | src/kernel/dev/Mouse.cpp | jameskingstonclarke/arctic | 6fec04809d6175689477abfe21416f33e63cb177 | [
"MIT"
] | null | null | null | #include "Mouse.h"
namespace Dev::Mouse{
} | 10.4 | 22 | 0.576923 | jameskingstonclarke |
593bd25ac5a25fecf5736831b3397f22b9c6b303 | 441 | hpp | C++ | core/test/tu-PRNG.hpp | iboB/word-grid | d1029323d5c51499298f3ed19390928371cb70a6 | [
"MIT"
] | 2 | 2019-07-01T00:10:43.000Z | 2019-09-18T19:37:38.000Z | core/test/tu-PRNG.hpp | iboB/word-grid | d1029323d5c51499298f3ed19390928371cb70a6 | [
"MIT"
] | null | null | null | core/test/tu-PRNG.hpp | iboB/word-grid | d1029323d5c51499298f3ed19390928371cb70a6 | [
"MIT"
] | 2 | 2019-07-17T17:44:16.000Z | 2020-12-21T07:56:11.000Z | // word-grid
// Copyright (c) 2019-2021 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// https://opensource.org/licenses/MIT
//
#pragma once
#include <core/PRNG.hpp>
#include <iostream>
namespace test
{
core::PRNG makePrng()
{
auto seed = cor... | 18.375 | 61 | 0.673469 | iboB |
86ca97038a9f2204c4a6c18c843ccc41cb98f527 | 1,967 | cpp | C++ | modules/task_1/butescu_v_vector_average/butescu_v_vector_average.cpp | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/butescu_v_vector_average/butescu_v_vector_average.cpp | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/butescu_v_vector_average/butescu_v_vector_average.cpp | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 Butescu Vladimir
#include <mpi.h>
#include <vector>
#include <random>
#include <algorithm>
#include"./butescu_v_vector_average.h"
std::vector<int> getRandomPositiveVector(int size) {
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<> dist(1, 100);
if (si... | 24.898734 | 96 | 0.591764 | Gurgen-Arm |
86cac429332810b3c115d63bf553ce073b22505e | 4,507 | cc | C++ | src/CollectionIdentifier.cc | sschaal2/ign-fuel-tools | c0ec7e960fa87ba90690774bebd478acaaaff7bc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/CollectionIdentifier.cc | sschaal2/ign-fuel-tools | c0ec7e960fa87ba90690774bebd478acaaaff7bc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/CollectionIdentifier.cc | sschaal2/ign-fuel-tools | c0ec7e960fa87ba90690774bebd478acaaaff7bc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2020 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 28.16875 | 80 | 0.575327 | sschaal2 |
86cff7f73bc393ed074e048e25d8fe6bad06cbbd | 10,748 | hh | C++ | mcg/src/external/BSR/include/mlearning/clustering/clusterers/graph/tree_clusterer.hh | mouthwater/rgb | 3fafca24ecc133910923182581a2133b8568bf77 | [
"BSD-2-Clause"
] | 392 | 2015-01-14T13:19:40.000Z | 2022-02-12T08:47:33.000Z | mcg/src/external/BSR/include/mlearning/clustering/clusterers/graph/tree_clusterer.hh | mouthwater/rgb | 3fafca24ecc133910923182581a2133b8568bf77 | [
"BSD-2-Clause"
] | 45 | 2015-02-03T12:16:10.000Z | 2022-03-07T00:25:09.000Z | mcg/src/external/BSR/include/mlearning/clustering/clusterers/graph/tree_clusterer.hh | mouthwater/rgb | 3fafca24ecc133910923182581a2133b8568bf77 | [
"BSD-2-Clause"
] | 168 | 2015-01-05T02:29:53.000Z | 2022-02-22T04:32:04.000Z | /*
* Clusterer on undirected graphs that produces an agglomeration tree.
*
* Graph vertices are initialized to each be a single element tree. Each
* step of the agglomeration merges the vertices at the ends of the highest
* priority edge and updates the costs of the edges connected to the merged
* vertex. Th... | 29.206522 | 79 | 0.640026 | mouthwater |
86d0ee63a3f8f9afd860dca3becca6d1988d40d4 | 4,217 | cpp | C++ | UVa/UVA - 116/Wrong answer (3).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | UVa/UVA - 116/Wrong answer (3).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | UVa/UVA - 116/Wrong answer (3).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 2017-08-07 23:11:59
* solution_verdict: Wrong answer language: C++
* run... | 27.927152 | 111 | 0.311359 | kzvd4729 |
86d3a42632747ee3ca59b603153f0e44e6e7a540 | 6,503 | cpp | C++ | export/debug/windows/obj/src/openfl/ui/Multitouch.cpp | bobisdabbing/Vs-The-United-Lands-stable | 0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5 | [
"MIT"
] | null | null | null | export/debug/windows/obj/src/openfl/ui/Multitouch.cpp | bobisdabbing/Vs-The-United-Lands-stable | 0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5 | [
"MIT"
] | null | null | null | export/debug/windows/obj/src/openfl/ui/Multitouch.cpp | bobisdabbing/Vs-The-United-Lands-stable | 0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED_openfl__Vector_IVector
#include <openfl/_Vector/IVector.h>
#endif
#ifndef INCLUDED_openfl__Vector_ObjectVector
#include <openfl/_Vector/ObjectVector.h>
#endif
#ifndef INCLUDED_openfl_ui_Multitouch
#include <openfl/ui/Multitouch.h>
#endif
HX_LOCAL_STACK_FR... | 36.127778 | 222 | 0.761495 | bobisdabbing |
86da8fb4899c1fbda2d748079cee5fddd67ce0d5 | 294,519 | cc | C++ | extra/tensorflow-r1.4/tensorflow/core/protobuf/meta_graph.pb.cc | langsunny/DEye | dba4b297fff71c72d28e2b48eeb7d447066a32ce | [
"Apache-2.0"
] | 850 | 2018-01-18T05:56:02.000Z | 2022-03-31T08:17:34.000Z | extra/tensorflow-r1.4/tensorflow/core/protobuf/meta_graph.pb.cc | langsunny/DEye | dba4b297fff71c72d28e2b48eeb7d447066a32ce | [
"Apache-2.0"
] | 11 | 2018-03-14T02:49:04.000Z | 2021-03-09T02:06:00.000Z | extra/tensorflow-r1.4/tensorflow/core/protobuf/meta_graph.pb.cc | langsunny/DEye | dba4b297fff71c72d28e2b48eeb7d447066a32ce | [
"Apache-2.0"
] | 364 | 2018-01-22T02:11:16.000Z | 2022-03-27T12:58:47.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/meta_graph.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "tensorflow/core/protobuf/meta_graph.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port... | 38.72193 | 143 | 0.724483 | langsunny |
86dc14fa56d3ed07953dcfd7230caa1ac1ba9818 | 17,404 | cpp | C++ | Source/AllProjects/CIDLib/CIDLib_SharedMemory.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | 1 | 2019-05-28T06:33:01.000Z | 2019-05-28T06:33:01.000Z | Source/AllProjects/CIDLib/CIDLib_SharedMemory.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | Source/AllProjects/CIDLib/CIDLib_SharedMemory.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | //
// FILE NAME: CIDLib_SharedMemory.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/28/1997
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opens... | 30.006897 | 84 | 0.529476 | eudora-jia |
86dcd2a60ef8348ab2a45806d45fa70ccba91c59 | 55,364 | cpp | C++ | Code/Engine/Texture/Image/Implementation/ImageUtils.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | Code/Engine/Texture/Image/Implementation/ImageUtils.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | Code/Engine/Texture/Image/Implementation/ImageUtils.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | #include <TexturePCH.h>
#include <Texture/Image/ImageUtils.h>
#include <Foundation/SimdMath/SimdVec4f.h>
#include <Texture/Image/ImageConversion.h>
#include <Texture/Image/ImageEnums.h>
#include <Texture/Image/ImageFilter.h>
template <typename TYPE>
static void SetDiff(
const ezImageView& ImageA, const ... | 34.689223 | 148 | 0.653511 | fereeh |
86e0f09299846a4f5fe2ef5ce22148c03461df8f | 1,649 | cpp | C++ | Training/PosStreamer.cpp | CheckersGuy/DarkHorse | f5e763536508770a336d099af7ac4d0a7b2f72a0 | [
"MIT"
] | 1 | 2020-04-03T01:20:36.000Z | 2020-04-03T01:20:36.000Z | Training/PosStreamer.cpp | CheckersGuy/DarkHorse | f5e763536508770a336d099af7ac4d0a7b2f72a0 | [
"MIT"
] | 2 | 2018-10-30T13:46:19.000Z | 2019-11-04T20:46:25.000Z | Training/PosStreamer.cpp | CheckersGuy/DarkHorse | f5e763536508770a336d099af7ac4d0a7b2f72a0 | [
"MIT"
] | null | null | null | //
// Created by robin on 06.10.21.
//
#include <sys/stat.h>
#include "PosStreamer.h"
Sample PosStreamer::get_next() {
if (ptr >= buffer_size) {
ptr = 0;
//if we reached the end of our file
//we have to wrap around
size_t read_elements = 0;
do {
if (stream.peek... | 25.369231 | 78 | 0.562765 | CheckersGuy |
86e2383ed549929989f3d9a2d9c0e43dca471f4a | 5,694 | cpp | C++ | Tests/AK/TestGenericLexer.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 19,438 | 2019-05-20T15:11:11.000Z | 2022-03-31T23:31:32.000Z | Tests/AK/TestGenericLexer.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 7,882 | 2019-05-20T01:03:52.000Z | 2022-03-31T23:26:31.000Z | Tests/AK/TestGenericLexer.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 2,721 | 2019-05-23T00:44:57.000Z | 2022-03-31T22:49:34.000Z | /*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibTest/TestCase.h>
#include <AK/GenericLexer.h>
#include <AK/StringView.h>
TEST_CASE(should_constexpr_construct_from_empty_string_view)
{
constexpr GenericLexer sut(StringView {});
static_assert(su... | 27.507246 | 130 | 0.654373 | r00ster91 |
86e4e3725e3309f19d1a72bb92b4230aee8f5a29 | 1,796 | cpp | C++ | Engine/Graphics/Texture.cpp | Antd23rus/S2DE_DirectX11 | 4f729278e6c795f7d606afc70a292c6501b0cafd | [
"MIT"
] | null | null | null | Engine/Graphics/Texture.cpp | Antd23rus/S2DE_DirectX11 | 4f729278e6c795f7d606afc70a292c6501b0cafd | [
"MIT"
] | null | null | null | Engine/Graphics/Texture.cpp | Antd23rus/S2DE_DirectX11 | 4f729278e6c795f7d606afc70a292c6501b0cafd | [
"MIT"
] | 1 | 2021-09-06T08:30:20.000Z | 2021-09-06T08:30:20.000Z | #include "Texture.h"
#include "Base/Engine.h"
#include "Graphics/Renderer.h"
#include <D3DX11tex.h>
namespace S2DE::Render
{
Texture::Texture()
{
m_type = "Texture";
m_ex = { ".dds", ".png", ".tga", ".jpg" };
}
Texture::~Texture()
{
}
void Texture::Cleanup()
{
Core::Release(m_resource);
Core::Rele... | 24.60274 | 165 | 0.732183 | Antd23rus |
86e89e3d6ff08f50ac78ce7a36e218df72e0eb03 | 6,499 | cpp | C++ | Engine/source/forest/editor/forestBrushElement.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/forest/editor/forestBrushElement.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/forest/editor/forestBrushElement.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 32.495 | 107 | 0.634251 | vbillet |
86e99399ef083cc3001424ee0adfa0d08ac07561 | 195 | cpp | C++ | tests/example.cpp | marshal2111/lab-03-shared-ptr | ad6aabcd088250ae2cc5b44932ee1b7f17fa5aa3 | [
"MIT"
] | null | null | null | tests/example.cpp | marshal2111/lab-03-shared-ptr | ad6aabcd088250ae2cc5b44932ee1b7f17fa5aa3 | [
"MIT"
] | null | null | null | tests/example.cpp | marshal2111/lab-03-shared-ptr | ad6aabcd088250ae2cc5b44932ee1b7f17fa5aa3 | [
"MIT"
] | null | null | null | // Copyright 2021 Your Name <your_email>
#include <stdexcept>
#include <gtest/gtest.h>
#include <shared_ptr.hpp>
TEST(Example, EmptyTest) {
EXPECT_THROW(example(), std::runtime_error);
}
| 16.25 | 48 | 0.717949 | marshal2111 |
86eac7b4eea603d977b95fd7f7d3329c23cd6ffb | 866 | cpp | C++ | kernel/src/IO.cpp | pradosh-arduino/pradoshOS | b7c2a8b238261fc61460e609fd8352aa62b5f32e | [
"MIT"
] | 9 | 2021-11-17T10:27:18.000Z | 2022-03-16T09:43:24.000Z | kernel/src/IO.cpp | pradosh-arduino/pradoshOS | b7c2a8b238261fc61460e609fd8352aa62b5f32e | [
"MIT"
] | 1 | 2022-03-17T08:31:05.000Z | 2022-03-28T02:50:59.000Z | kernel/src/IO.cpp | pradosh-arduino/pradoshOS | b7c2a8b238261fc61460e609fd8352aa62b5f32e | [
"MIT"
] | 1 | 2021-12-21T09:49:02.000Z | 2021-12-21T09:49:02.000Z | #include "IO.h"
void outb(uint16_t port, uint8_t value){
asm volatile ("outb %0, %1" : : "a"(value), "Nd"(port));
}
uint8_t inb(uint16_t port){
uint8_t returnVal;
asm volatile ("inb %1, %0"
: "=a"(returnVal)
: "Nd"(port));
return returnVal;
}
void outw(uint16_t portNumber, uint16_t data) {
... | 22.789474 | 69 | 0.598152 | pradosh-arduino |
86ed87b7c84cdf660c025eb101606b6ffd26b38d | 9,281 | cc | C++ | test/syscalls/linux/timerfd.cc | Simon-Zh-0409/gvisor | c619cc59c2e826ef1168259287023de198e3e2aa | [
"Apache-2.0"
] | 2 | 2021-02-23T03:14:54.000Z | 2021-04-16T08:46:24.000Z | test/syscalls/linux/timerfd.cc | Simon-Zh-0409/gvisor | c619cc59c2e826ef1168259287023de198e3e2aa | [
"Apache-2.0"
] | 12 | 2020-09-20T00:41:11.000Z | 2022-03-31T01:29:24.000Z | test/syscalls/linux/timerfd.cc | Simon-Zh-0409/gvisor | c619cc59c2e826ef1168259287023de198e3e2aa | [
"Apache-2.0"
] | 3 | 2021-02-08T17:44:27.000Z | 2022-01-14T16:48:26.000Z | // Copyright 2018 The gVisor Authors.
//
// 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 agree... | 36.11284 | 79 | 0.696261 | Simon-Zh-0409 |
86f1178a1ea6ec2cc2f4c9b5b26cc480a2c3f0a3 | 2,643 | cpp | C++ | src/AppLines/PageScaling.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/AppLines/PageScaling.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/AppLines/PageScaling.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | 1 | 2022-01-07T15:58:38.000Z | 2022-01-07T15:58:38.000Z | /*
**
** $Filename: PageScaling.cpp $
** $Release: Dortmund 2004 $
** $Revision$
** $Date$
** $Author$
** $Developer: Steffen A. Mork $
**
** Blizzard III - Scaling properties
**
** (C) Copyright 2004 Steffen A. Mork
** All Rights Reserved
**
**
*/
/****************************************************************... | 27.821053 | 83 | 0.534241 | stmork |
86fe9c368588062ca9065046400e9f313dab4ce6 | 687 | cpp | C++ | ReactUbuntu/runtime/src/reactevents.cpp | Abdulhafiz-Yusuf/react-native | 98e0ce38cdcb8c489a064c436a353be754e95f89 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 1,079 | 2016-08-02T16:20:28.000Z | 2022-03-22T20:40:37.000Z | ReactUbuntu/runtime/src/reactevents.cpp | daisty/react-native-1 | 98e0ce38cdcb8c489a064c436a353be754e95f89 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 3 | 2016-08-04T07:57:48.000Z | 2020-05-21T05:02:52.000Z | ReactUbuntu/runtime/src/reactevents.cpp | daisty/react-native-1 | 98e0ce38cdcb8c489a064c436a353be754e95f89 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 80 | 2016-08-03T09:34:32.000Z | 2021-04-22T16:57:11.000Z |
/**
* Copyright (C) 2016, Canonical Ltd.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* Author: Justin M... | 22.16129 | 78 | 0.676856 | Abdulhafiz-Yusuf |
86ff8e340289cd82061077f230923a8a3f332e98 | 2,609 | cpp | C++ | dev/spark/Gem/Code/Utils/DynamicSliceWrapper.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 2 | 2020-08-20T03:40:24.000Z | 2021-02-07T20:31:43.000Z | dev/spark/Gem/Code/Utils/DynamicSliceWrapper.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | null | null | null | dev/spark/Gem/Code/Utils/DynamicSliceWrapper.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z |
#include "spark_precompiled.h"
#include "DynamicSliceWrapper.h"
using namespace spark;
using namespace AzFramework;
//DynamicSliceWrapper implementation
bool DynamicSliceWrapper::IsReady() const {
return m_id.IsValid();
}
AZ::EntityId DynamicSliceWrapper::GetId() const {
return m_id;
}
AZ::Data::AssetId Dynami... | 31.059524 | 146 | 0.77271 | chrisinajar |
8100336759d6ac7951978a3dfa16586a294103a1 | 2,480 | cpp | C++ | lab02/src/Delegates/moviesdelegate.cpp | actpohabtNS/oop_labs | 0284dc3b494e5b1246e8b4956d92ea659e6c00a9 | [
"CC0-1.0"
] | null | null | null | lab02/src/Delegates/moviesdelegate.cpp | actpohabtNS/oop_labs | 0284dc3b494e5b1246e8b4956d92ea659e6c00a9 | [
"CC0-1.0"
] | null | null | null | lab02/src/Delegates/moviesdelegate.cpp | actpohabtNS/oop_labs | 0284dc3b494e5b1246e8b4956d92ea659e6c00a9 | [
"CC0-1.0"
] | null | null | null | #include "moviesdelegate.h"
#include <QApplication>
#include <QPainter>
MoviesDelegate::MoviesDelegate(QObject *parent, MovieTypes type)
: HoverRowDelegate(parent)
{
setMovieType(type);
}
void MoviesDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
H... | 26.105263 | 113 | 0.550806 | actpohabtNS |
81029074d7005145fda75df656d536967a004aca | 3,187 | cpp | C++ | src/tx/coinminttx.cpp | xiaoyu1998/wasm.bitcoin | 0fbd7bdc4555382abca64b5df33e8aec7a65ff3b | [
"MIT"
] | 1,313 | 2018-01-09T01:49:01.000Z | 2022-02-26T11:10:40.000Z | src/tx/coinminttx.cpp | linnbenton/WaykiChain | 91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a | [
"MIT"
] | 32 | 2018-06-07T10:21:21.000Z | 2021-12-07T06:53:42.000Z | src/tx/coinminttx.cpp | linnbenton/WaykiChain | 91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a | [
"MIT"
] | 322 | 2018-02-26T03:41:36.000Z | 2022-02-08T08:12:16.000Z | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2017-2019 The WaykiChain Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "coinminttx.h"
#include "main.h"
bool CCoinMintTx::CheckTx(CTxExecu... | 43.657534 | 120 | 0.655789 | xiaoyu1998 |
810b9821a00bebbacc16c206e73ba65fd8169d04 | 17,995 | cpp | C++ | AppCUI/src/Utils/String.cpp | agschipor/AppCUI | 914e101470bee2c85c32b64e4714fd85f4899486 | [
"MIT"
] | null | null | null | AppCUI/src/Utils/String.cpp | agschipor/AppCUI | 914e101470bee2c85c32b64e4714fd85f4899486 | [
"MIT"
] | null | null | null | AppCUI/src/Utils/String.cpp | agschipor/AppCUI | 914e101470bee2c85c32b64e4714fd85f4899486 | [
"MIT"
] | null | null | null | #include "AppCUI.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
const unsigned char __lower_case_table__[256] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59... | 31.625659 | 989 | 0.62434 | agschipor |
810d894066c7bbf59457253e8aa0e124894d1ae2 | 2,990 | hpp | C++ | depends/boost/intrusive/detail/tree_value_compare.hpp | mistydew/RSSearch | 52e597aeb495fe35f2f6069741ef19c9d0bfe2bb | [
"MIT"
] | 471 | 2019-06-26T09:59:09.000Z | 2022-03-30T04:59:42.000Z | depends/boost/intrusive/detail/tree_value_compare.hpp | mistydew/RSSearch | 52e597aeb495fe35f2f6069741ef19c9d0bfe2bb | [
"MIT"
] | 39 | 2019-07-06T02:51:39.000Z | 2022-02-18T11:48:33.000Z | depends/boost/intrusive/detail/tree_value_compare.hpp | mistydew/RSSearch | 52e597aeb495fe35f2f6069741ef19c9d0bfe2bb | [
"MIT"
] | 151 | 2019-06-26T14:21:49.000Z | 2022-03-24T10:10:18.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2015-2015. 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)
//
// See http://www.boost.org/libs/contain... | 32.857143 | 96 | 0.684281 | mistydew |
810e0701e6bf1c6fd167c5b4a0d7fafc24d146dc | 71,550 | cpp | C++ | src/runtime/agas/addressing_service.cpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | src/runtime/agas/addressing_service.cpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | src/runtime/agas/addressing_service.cpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011 Bryce Adelstein-Lelbach
// Copyright (c) 2011-2013 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_... | 30.240913 | 91 | 0.6058 | andreasbuhr |
810f92a261d4901690f29a2ecf0db00f31d6fa31 | 473 | cc | C++ | kernel/mutex.cc | PoisonNinja/quark | 0cc2b8191f0c5cbd856caac688bfdac54a7d3369 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2019-08-01T03:16:31.000Z | 2022-02-17T06:52:26.000Z | kernel/mutex.cc | PoisonNinja/quark | 0cc2b8191f0c5cbd856caac688bfdac54a7d3369 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 32 | 2018-03-26T20:10:44.000Z | 2020-07-13T03:01:42.000Z | kernel/mutex.cc | PoisonNinja/quark | 0cc2b8191f0c5cbd856caac688bfdac54a7d3369 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 1 | 2018-08-29T21:31:06.000Z | 2018-08-29T21:31:06.000Z | #include <kernel/mutex.h>
mutex::mutex()
: locked(ATOMIC_FLAG_INIT)
{
}
void mutex::lock()
{
// For now we have no way to tell, so keep this in.
if (locked.test_and_set(std::memory_order_acquire)) {
// We'd rather not be woken up by a signal
queue.wait(0, [&]() {
return !locked... | 19.708333 | 67 | 0.610994 | PoisonNinja |
810ff6ac8839742cfa9828e92b5b8108b247bf72 | 2,576 | cpp | C++ | CORE/Source/Subsystems/CORE_Audio.cpp | pike4/CORE-Dev-Build-1.0 | 08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3 | [
"MIT"
] | 3 | 2016-10-06T22:42:50.000Z | 2016-10-14T16:04:46.000Z | CORE/Source/Subsystems/CORE_Audio.cpp | pike4/CORE-Dev-Build-1.0 | 08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3 | [
"MIT"
] | null | null | null | CORE/Source/Subsystems/CORE_Audio.cpp | pike4/CORE-Dev-Build-1.0 | 08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3 | [
"MIT"
] | null | null | null | #include "CORE_Audio.h"
#include "CORE_Resources.h"
#include "SDL_Mixer.h"
#include <string>
std::map<std::string, Mix_Chunk*> sounds;
std::map<std::string, Mix_Music*> music;
namespace CORE_Audio
{
Mix_Chunk* getSound(std::string name)
{
Mix_Chunk* ret = NULL;
if (sounds.find(name) != sounds.e... | 17.52381 | 67 | 0.607143 | pike4 |
811193d92558c6272487e5fdd8c188ddf74e4e09 | 17,742 | hpp | C++ | src/vlCore/Transform.hpp | zpc930/visualizationlibrary | c81fa75c720a3d04d295b977a1f5dc4624428b53 | [
"BSD-2-Clause"
] | null | null | null | src/vlCore/Transform.hpp | zpc930/visualizationlibrary | c81fa75c720a3d04d295b977a1f5dc4624428b53 | [
"BSD-2-Clause"
] | null | null | null | src/vlCore/Transform.hpp | zpc930/visualizationlibrary | c81fa75c720a3d04d295b977a1f5dc4624428b53 | [
"BSD-2-Clause"
] | null | null | null | /**************************************************************************************/
/* */
/* Visualization Library */
/* http://www.visualizationlibrary.org ... | 41.069444 | 158 | 0.598129 | zpc930 |
8111d829fadf5948e6885bb96ffe9522e09ab82b | 1,911 | cpp | C++ | SerialPrograms/Source/PokemonLA/Programs/PokemonLA_OverworldWatcher.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonLA/Programs/PokemonLA_OverworldWatcher.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonLA/Programs/PokemonLA_OverworldWatcher.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | /* Shiny Hunt - Legendary Reset
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
//#include "CommonFramework/InferenceInfra/VisualInferenceRoutines.h"
#include "CommonFramework/InferenceInfra/VisualInferenceSession.h"
#include "PokemonLA/Inference/Objects/PokemonLA_BubbleDetector.h"
#include "P... | 25.48 | 94 | 0.703297 | BlizzardHero |
8113077e52eecb30d51aadbdbb27af088d03533b | 12,992 | cpp | C++ | SDKs/CryCode/3.6.15/CryEngine/CryEntitySystem/EntityObject.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.6.15/CryEngine/CryEntitySystem/EntityObject.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.6.15/CryEngine/CryEntitySystem/EntityObject.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | ////////////////////////////////////////////////////////////////////////////
//
// Crytek Engine Source File.
// Copyright (C), Crytek Studios, 2001-2004.
// -------------------------------------------------------------------------
// File name: EntityObject.cpp
// Version: v1.00
// Created: 18/5/2004 by... | 26.036072 | 164 | 0.613608 | amrhead |
8113082dbc1de1cae459ebf81d010993382e9a9e | 1,688 | cpp | C++ | Core/Material/BSDF/DiffuseBSDF.cpp | Witek902/Raytracer | 3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d | [
"MIT"
] | 101 | 2018-11-11T23:58:14.000Z | 2022-03-20T01:09:18.000Z | Core/Material/BSDF/DiffuseBSDF.cpp | Witek902/Raytracer | 3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d | [
"MIT"
] | null | null | null | Core/Material/BSDF/DiffuseBSDF.cpp | Witek902/Raytracer | 3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d | [
"MIT"
] | 7 | 2018-12-31T09:42:00.000Z | 2021-04-26T14:55:23.000Z | #include "PCH.h"
#include "DiffuseBSDF.h"
#include "Math/SamplingHelpers.h"
namespace rt {
using namespace math;
const char* DiffuseBSDF::GetName() const
{
return "diffuse";
}
bool DiffuseBSDF::Sample(SamplingContext& ctx) const
{
const float NdotV = ctx.outgoingDir.z;
if (NdotV < CosEpsilon)
{
... | 21.922078 | 117 | 0.626777 | Witek902 |
8115ec2d48c7acf61b22fdfcc663e8c9b4b1a097 | 844,873 | cpp | C++ | MRBasics/App/Il2CppOutputProject/Source/il2cppOutput/Unity.XR.WindowsMR.cpp | helenchg/LearnHololensDevUnity | 88fd113ba10150c96b018474c7ed4ae68e6ce357 | [
"MIT"
] | null | null | null | MRBasics/App/Il2CppOutputProject/Source/il2cppOutput/Unity.XR.WindowsMR.cpp | helenchg/LearnHololensDevUnity | 88fd113ba10150c96b018474c7ed4ae68e6ce357 | [
"MIT"
] | 1 | 2019-12-08T01:51:15.000Z | 2019-12-08T01:51:15.000Z | MRBasics/App/Il2CppOutputProject/Source/il2cppOutput/Unity.XR.WindowsMR.cpp | helenchg/LearnHololensDevUnity | 88fd113ba10150c96b018474c7ed4ae68e6ce357 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | 59.397708 | 556 | 0.85588 | helenchg |
8116917d295839056760121833fb24df9da26bde | 587 | hpp | C++ | pythran/pythonic/__builtin__/str/startswith.hpp | Pikalchemist/Pythran | 17d4108b56b3b365e089a4e1b01a09eb7e12942b | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/__builtin__/str/startswith.hpp | Pikalchemist/Pythran | 17d4108b56b3b365e089a4e1b01a09eb7e12942b | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/__builtin__/str/startswith.hpp | Pikalchemist/Pythran | 17d4108b56b3b365e089a4e1b01a09eb7e12942b | [
"BSD-3-Clause"
] | 1 | 2017-03-12T20:32:36.000Z | 2017-03-12T20:32:36.000Z | #ifndef PYTHONIC_STR_STARTSWITH_HPP
#define PYTHONIC_STR_STARTSWITH_HPP
#include "pythonic/utils/proxy.hpp"
#include "pythonic/types/str.hpp"
namespace pythonic { namespace __builtin__ {
namespace str {
bool startswith(types::str const& s, types::str const& prefix, long start=0, size_t end=std::string::... | 24.458333 | 116 | 0.635434 | Pikalchemist |
81169223eefcf79d0dd3c76c611547a51587916b | 866 | cpp | C++ | 1.6/src/main.cpp | ckilimci/Questions | 1d9ffaccd96c9ad2d7fa5e6c88e1c729b255d54a | [
"MIT"
] | null | null | null | 1.6/src/main.cpp | ckilimci/Questions | 1d9ffaccd96c9ad2d7fa5e6c88e1c729b255d54a | [
"MIT"
] | null | null | null | 1.6/src/main.cpp | ckilimci/Questions | 1d9ffaccd96c9ad2d7fa5e6c88e1c729b255d54a | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
using namespace std;
string shrinkString(string s) {
stringstream ss;
int count=0;
char current=0, reg=0;
for(int i=0; i<s.length(); i++) {
current = s[i];
if (current == reg) {
count++;
continue;
} else if (reg != ... | 22.205128 | 63 | 0.518476 | ckilimci |
811afd2702651d93ded2d6997e8ce546af8a7855 | 347 | cpp | C++ | mgasa.cpp | jhembe/cp_111_assignments | 415dc777d8e4704485b5c5092b56726a1ab063ae | [
"MIT"
] | null | null | null | mgasa.cpp | jhembe/cp_111_assignments | 415dc777d8e4704485b5c5092b56726a1ab063ae | [
"MIT"
] | null | null | null | mgasa.cpp | jhembe/cp_111_assignments | 415dc777d8e4704485b5c5092b56726a1ab063ae | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
int numb1;
int numb2;
int numb3;
int sum;
cout<<"Enter numb1"<<endl;
cin>>numb1;
cout<<"Enter numb2"<<endl;
cin>>numb2;
cout<<"Enter numb3"<<endl;
cin>>numb3;
sum=(numb1+numb2+numb3);
cout<<"the value of sum:"<<s... | 14.458333 | 42 | 0.564841 | jhembe |
81230662ad67feb5f68974392aceb162c4a7bf77 | 1,299 | cpp | C++ | src/engine/ResultTable.cpp | Tobias-Buerger/QLever | 6376b0e2022da702417e15bbc9701fedf35c31d0 | [
"Apache-2.0"
] | 6 | 2016-12-22T12:45:22.000Z | 2018-01-11T05:40:39.000Z | src/engine/ResultTable.cpp | Tobias-Buerger/QLever | 6376b0e2022da702417e15bbc9701fedf35c31d0 | [
"Apache-2.0"
] | 24 | 2017-01-03T00:01:37.000Z | 2018-03-05T09:03:11.000Z | src/engine/ResultTable.cpp | Tobias-Buerger/QLever | 6376b0e2022da702417e15bbc9701fedf35c31d0 | [
"Apache-2.0"
] | 5 | 2017-04-27T07:19:05.000Z | 2018-03-08T10:43:35.000Z | // Copyright 2015, University of Freiburg,
// Chair of Algorithms and Data Structures.
// Author: Björn Buchhold (buchhold@informatik.uni-freiburg.de)
#include "./ResultTable.h"
#include <cassert>
// _____________________________________________________________________________
ResultTable::ResultTable()
: _sorted... | 32.475 | 80 | 0.732102 | Tobias-Buerger |
8124ef82aea1bec48968752c59b8c5f796046319 | 2,035 | cpp | C++ | ParamedicCommander.cpp | yarden7696/wargame | 03f9b0b61388c99790a6ef188777fbca75de29ae | [
"MIT"
] | null | null | null | ParamedicCommander.cpp | yarden7696/wargame | 03f9b0b61388c99790a6ef188777fbca75de29ae | [
"MIT"
] | null | null | null | ParamedicCommander.cpp | yarden7696/wargame | 03f9b0b61388c99790a6ef188777fbca75de29ae | [
"MIT"
] | null | null | null | #include "ParamedicCommander.hpp"
using namespace std;
// .כמו חובש, אבל כשהוא זז, כל החובשים של אותו שחקן מרפאים את החיילים שנמצאים לידם
void ParamedicCommander :: attack(vector<vector<Soldier *>> &board, pair<int, int> location) {
Soldier *prmdComndr_src = board[location.first][locati... | 50.875 | 195 | 0.499754 | yarden7696 |
81258ce8d398c47b1ced3a83fc9996396df76a3e | 11,331 | cc | C++ | source/mutableSources32/marbles/ramp/ramp_extractor.cc | v7b1/vb.mi-dev | af141104699fba2aa35938f33300f5e3b42dffb4 | [
"MIT"
] | 47 | 2020-05-11T09:45:44.000Z | 2022-03-17T22:12:53.000Z | source/mutableSources32/marbles/ramp/ramp_extractor.cc | robtherich/vb.mi-dev | 4497b5917ed9680a170d3c9b87ac34e525e65978 | [
"MIT"
] | 2 | 2021-04-07T09:14:37.000Z | 2022-01-25T09:00:07.000Z | source/mutableSources32/marbles/ramp/ramp_extractor.cc | robtherich/vb.mi-dev | 4497b5917ed9680a170d3c9b87ac34e525e65978 | [
"MIT"
] | 6 | 2020-08-06T11:09:18.000Z | 2021-12-10T14:37:02.000Z | // Copyright 2015 Emilie Gillet.
//
// Author: Emilie Gillet (emilie.o.gillet@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitatio... | 35.857595 | 83 | 0.639043 | v7b1 |
81259d02f302215e3b7c4124436ddb712fd48748 | 257 | cpp | C++ | deps/unrar/smallfn.cpp | Masha/hashcat | 178003d692ab72abfd9588fdce9e4f569d2b1aa7 | [
"MIT"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | deps/unrar/smallfn.cpp | Masha/hashcat | 178003d692ab72abfd9588fdce9e4f569d2b1aa7 | [
"MIT"
] | 2,014 | 2015-12-04T16:45:36.000Z | 2022-03-31T21:02:58.000Z | deps/unrar/smallfn.cpp | Masha/hashcat | 178003d692ab72abfd9588fdce9e4f569d2b1aa7 | [
"MIT"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | #include "rar.hpp"
int ToPercent(int64 N1,int64 N2)
{
if (N2<N1)
return 100;
return ToPercentUnlim(N1,N2);
}
// Allows the percent larger than 100.
int ToPercentUnlim(int64 N1,int64 N2)
{
if (N2==0)
return 0;
return (int)(N1*100/N2);
}
| 12.85 | 38 | 0.645914 | Masha |
81280d632353b1e8418ffcab4c954f356fe2a864 | 5,716 | cpp | C++ | Game Engine/src/NetworkManager.cpp | aprithul/Prengine | 7aff20bb73ab21e9e11dda1985e6b22992479f0d | [
"BSD-3-Clause"
] | 1 | 2019-10-08T05:20:30.000Z | 2019-10-08T05:20:30.000Z | Game Engine/src/NetworkManager.cpp | aprithul/PrEngine | 7aff20bb73ab21e9e11dda1985e6b22992479f0d | [
"BSD-3-Clause"
] | null | null | null | Game Engine/src/NetworkManager.cpp | aprithul/PrEngine | 7aff20bb73ab21e9e11dda1985e6b22992479f0d | [
"BSD-3-Clause"
] | null | null | null | #if PLATFORM != PLATFORM_WINDOWS
#include "NetworkManager.hpp"
namespace PrEngine
{
bool InitializeSockets()
{
#if PLATFORM == PLATFORM_WINDOWS
WSADATA WsaData;
return WSAStartup( MAKEWORD(2,2),
&WsaData )
== NO_ERROR;
#else
... | 24.960699 | 133 | 0.455913 | aprithul |
81285d1a83485d388a7d0290e843707c3fad95c6 | 1,421 | hpp | C++ | boost/test/utils/runtime/cla/fwd.hpp | UnPourTous/boost-159-for-rn | 47e2c37fcbd5e1b25561e5a4fc81bc4f31d2cbf4 | [
"BSL-1.0"
] | 2 | 2021-08-08T02:06:56.000Z | 2021-12-20T02:16:44.000Z | include/boost/test/utils/runtime/cla/fwd.hpp | Acidburn0zzz/PopcornTorrent-1 | c12a30ef9e971059dae5f7ce24a8c37fef83c0c4 | [
"MIT"
] | null | null | null | include/boost/test/utils/runtime/cla/fwd.hpp | Acidburn0zzz/PopcornTorrent-1 | c12a30ef9e971059dae5f7ce24a8c37fef83c0c4 | [
"MIT"
] | 1 | 2017-04-09T17:04:14.000Z | 2017-04-09T17:04:14.000Z | // (C) Copyright Gennadiy Rozental 2005-2014.
// Use, modification, and distribution are 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)
// See http://www.boost.org/libs/test for the library home page.
//
// ... | 25.375 | 79 | 0.707248 | UnPourTous |
812c39fc7afee61f2f54bd8815b5a4a0fed9cd6c | 4,843 | cpp | C++ | src/cli/cmd_option_value.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | src/cli/cmd_option_value.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | src/cli/cmd_option_value.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | /*
* cmd_option_value.cpp
*
* Created on: 2011-12-29
* Author: OWenT
*
* 应用程序命令处理
*
*/
#include "cli/cmd_option_value.h"
#include <algorithm>
namespace util {
namespace cli {
namespace detail {
static char tolower(char c) {
if (c >= 'A' && c <= 'Z') {
... | 41.042373 | 130 | 0.604584 | tangzhenquan |
812d4827f4ecc97274ec8637d697331f3810a84b | 11,784 | cc | C++ | engine/source/game/gameConnection.cc | Sednari/twitch-tutorial-flappy-birds | 9aaed1cea2ef24ef6a5212c3350db17a017142fe | [
"MIT"
] | 1,309 | 2015-01-01T02:46:14.000Z | 2022-03-14T04:56:02.000Z | engine/source/game/gameConnection.cc | Sednari/twitch-tutorial-flappy-birds | 9aaed1cea2ef24ef6a5212c3350db17a017142fe | [
"MIT"
] | 155 | 2015-01-11T19:26:32.000Z | 2021-11-22T04:08:55.000Z | engine/source/game/gameConnection.cc | Sednari/twitch-tutorial-flappy-birds | 9aaed1cea2ef24ef6a5212c3350db17a017142fe | [
"MIT"
] | 1,595 | 2015-01-01T23:19:48.000Z | 2022-02-17T07:00:52.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restr... | 28.395181 | 108 | 0.583333 | Sednari |
812d64a7944482bf656ee29bc1d2b756da5a9b66 | 5,719 | cpp | C++ | src/Frameworks/Gleam/Gleam_Buffer_Direct3D11.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | 1 | 2020-04-06T17:35:47.000Z | 2020-04-06T17:35:47.000Z | src/Frameworks/Gleam/Gleam_Buffer_Direct3D11.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | src/Frameworks/Gleam/Gleam_Buffer_Direct3D11.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | /************************************************************************************
Copyright (C) 2021 by Nicholas LaCroix
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 restrictio... | 33.444444 | 138 | 0.728274 | Connway |
813372c9ddb35276cd4bd5371f3f2ee4e0c87dcc | 1,508 | cpp | C++ | UVA/11926 - Multitasking.cpp | Mhmd-Hisham/Problem-Solving | 7ce0955b697e735c5ccb37347d9bec83e57339b5 | [
"MIT"
] | null | null | null | UVA/11926 - Multitasking.cpp | Mhmd-Hisham/Problem-Solving | 7ce0955b697e735c5ccb37347d9bec83e57339b5 | [
"MIT"
] | null | null | null | UVA/11926 - Multitasking.cpp | Mhmd-Hisham/Problem-Solving | 7ce0955b697e735c5ccb37347d9bec83e57339b5 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
/*
Problem: 11926 - Multitasking
Link : https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=3077
Solution by: Mohamed Hisham El-Banna
Gmail : Mohamed00Hisham@Gmail.com
Github : www.github.com/Mhmd-Hisham
LinkedIn: www.linkedin.com/i... | 19.333333 | 121 | 0.529841 | Mhmd-Hisham |
8134a77ab597dce053369caf5455287331b84cb2 | 1,505 | cpp | C++ | Example/TRLSL_Example/Main.cpp | morrow1nd/TRL | 24023dc0a1c227c8987a484aed68fbc1775d8d0a | [
"MIT"
] | null | null | null | Example/TRLSL_Example/Main.cpp | morrow1nd/TRL | 24023dc0a1c227c8987a484aed68fbc1775d8d0a | [
"MIT"
] | null | null | null | Example/TRLSL_Example/Main.cpp | morrow1nd/TRL | 24023dc0a1c227c8987a484aed68fbc1775d8d0a | [
"MIT"
] | null | null | null | #include <iostream>
#include "ToyUtility/Prerequisites/PreDefine.h"
#include "ToyUtility/DataStream/MemoryDataStream.h"
#include "ToyUtility/DataStream/FileDataStream.h"
#include "TRL/details/TRLSL/TRLSLParser.h"
#include "TRL/details/TRLSL/TRLSLTokener.h"
using namespace ToyUtility;
using namespace TRL;
int main(... | 22.132353 | 96 | 0.581395 | morrow1nd |
8137c708a4c945b7b68d252dc36837fceac76f24 | 5,148 | cpp | C++ | source/worksheet/range_reference.cpp | Polymedia/xlnt | c214c6ca0b2533a799c8d788c8697d69639a224f | [
"Unlicense"
] | null | null | null | source/worksheet/range_reference.cpp | Polymedia/xlnt | c214c6ca0b2533a799c8d788c8697d69639a224f | [
"Unlicense"
] | null | null | null | source/worksheet/range_reference.cpp | Polymedia/xlnt | c214c6ca0b2533a799c8d788c8697d69639a224f | [
"Unlicense"
] | 1 | 2019-03-05T01:07:08.000Z | 2019-03-05T01:07:08.000Z | // Copyright (c) 2014-2017 Thomas Fussell
//
// 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, pu... | 28.285714 | 89 | 0.744367 | Polymedia |
813837762849dc9d9805a2597acc7eddf6b0ba26 | 1,245 | hpp | C++ | boost/numeric/bindings/blas/level1.hpp | rabauke/numeric_bindings | f4de93bd7a01a8b31c9367fad35c81d086768f99 | [
"BSL-1.0"
] | null | null | null | boost/numeric/bindings/blas/level1.hpp | rabauke/numeric_bindings | f4de93bd7a01a8b31c9367fad35c81d086768f99 | [
"BSL-1.0"
] | null | null | null | boost/numeric/bindings/blas/level1.hpp | rabauke/numeric_bindings | f4de93bd7a01a8b31c9367fad35c81d086768f99 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2009 Rutger ter Borg
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_NUMERIC_BINDINGS_BLAS_LEVEL1_HPP
#define BOOST_NUMERIC_BINDINGS_BLAS_LEVEL1_HPP
#include <boost/numer... | 40.16129 | 61 | 0.794378 | rabauke |
813ad25b44dc4bd63a76670c8985ae40c07d9483 | 682 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Data/XslTRansform.Transform7/CPP/trans_snip4.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_Data/XslTRansform.Transform7/CPP/trans_snip4.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_Data/XslTRansform.Transform7/CPP/trans_snip4.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | #using <System.Xml.dll>
#using <System.dll>
using namespace System;
using namespace System::IO;
using namespace System::Xml;
using namespace System::Xml::Xsl;
int main()
{
//<snippet1>
// Create a resolver with default credentials.
XmlUrlResolver^ resolver = gcnew XmlUrlResolver;
resolver->Cr... | 26.230769 | 77 | 0.670088 | hamarb123 |
8140b91b3b1cc4a6bddd6d526275b5ced5198f3a | 219 | cpp | C++ | Game/Client/WXClient/Network/PacketHandler/CGUseAbilityHandler.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/Client/WXClient/Network/PacketHandler/CGUseAbilityHandler.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/Client/WXClient/Network/PacketHandler/CGUseAbilityHandler.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | #include "StdAfx.h"
#include "CGUseAbility.h"
uint CGUseAbilityHandler::Execute(CGUseAbility* pPacket,Player* pPlayer)
{
__ENTER_FUNCTION
return PACKET_EXE_CONTINUE;
__LEAVE_FUNCTION
return PACKET_EXE_ERROR;
}
| 14.6 | 72 | 0.799087 | hackerlank |
8143adae3f1c11eae4809957553d6be45b20e7d1 | 3,322 | cpp | C++ | firmware/stm32/f746/src/mcu/quadratureTimer.cpp | AlanFord/self-balancing-stick | c805f3136effbceed71b7b6fe086c471a698899b | [
"MIT"
] | 64 | 2018-08-13T07:02:33.000Z | 2022-03-18T09:21:28.000Z | firmware/stm32/f746/src/mcu/quadratureTimer.cpp | AlanFord/self-balancing-stick | c805f3136effbceed71b7b6fe086c471a698899b | [
"MIT"
] | 7 | 2019-04-29T15:11:33.000Z | 2022-02-19T14:15:25.000Z | firmware/stm32/f746/src/mcu/quadratureTimer.cpp | AlanFord/self-balancing-stick | c805f3136effbceed71b7b6fe086c471a698899b | [
"MIT"
] | 15 | 2019-01-22T20:53:44.000Z | 2021-11-26T14:53:20.000Z | /*
timer.cpp - Implementation file for the Timer class.
*/
#include <nodate.h>
#include "quadratureTimer.h"
/*---------------------------------------------------------------------------*/
/** @brief TIMER PWM Timer Initialization
This configures a timer perpheral in PWM output mode.
*/
QuadratureTimer::Quadr... | 33.22 | 145 | 0.674293 | AlanFord |
8144d1d8d9d4cc9fe3abade76beadea112159d0a | 923 | cpp | C++ | src/binary_tree.cpp | israni/CPP2 | b917c85dbde217360ba3c469e6a4aa2c5e794716 | [
"MIT"
] | null | null | null | src/binary_tree.cpp | israni/CPP2 | b917c85dbde217360ba3c469e6a4aa2c5e794716 | [
"MIT"
] | null | null | null | src/binary_tree.cpp | israni/CPP2 | b917c85dbde217360ba3c469e6a4aa2c5e794716 | [
"MIT"
] | null | null | null | #include<iostream>
#include"node.h"
int main()
{
node<int> mynode1(10);
node<int> mynode2 (20);
std::cout << mynode1.get_data() << "," << mynode2.get_data() << std::endl;
if (mynode1==mynode2){
std::cout << "EQUAL" << std::endl;
}
else{
std::cout << "NOT EQUAL" << std::endl; ... | 28.84375 | 112 | 0.566631 | israni |
8144ed50732ba0b82562bd70868885087d717e49 | 3,719 | cpp | C++ | src/Output/Output_Flux.cpp | zhulianhua/Daino | db88f5738aba76fa8a28d7672450e0c5c832b3de | [
"MIT"
] | 3 | 2019-04-13T02:08:01.000Z | 2020-11-17T12:45:37.000Z | src/Output/Output_Flux.cpp | zhulianhua/Daino | db88f5738aba76fa8a28d7672450e0c5c832b3de | [
"MIT"
] | null | null | null | src/Output/Output_Flux.cpp | zhulianhua/Daino | db88f5738aba76fa8a28d7672450e0c5c832b3de | [
"MIT"
] | 2 | 2019-11-12T02:00:20.000Z | 2019-12-09T14:52:31.000Z |
#include "DAINO.h"
//-------------------------------------------------------------------------------------------------------
// Function : Output_Flux
// Description : Output the flux of a single patch
//
// Parameter : lv : Targeted refinement level
// PID : Targeted patch ID
//... | 33.809091 | 112 | 0.491799 | zhulianhua |
81465f3944cfea695e3e5bf03dd2cc3a7a109860 | 4,953 | hpp | C++ | include/sobfu/solver.hpp | LuyaooChen/sobfu | 688e06a2e81fdf30bd2d019516dc025a951bcbc2 | [
"BSD-3-Clause"
] | 142 | 2019-01-10T14:38:03.000Z | 2022-03-18T08:45:30.000Z | include/sobfu/solver.hpp | GucciPrada/sobfu | c83646582a146a3f4b8d8ad62de31ec60f8004d6 | [
"BSD-3-Clause"
] | 17 | 2019-01-18T05:15:33.000Z | 2021-12-22T15:00:44.000Z | include/sobfu/solver.hpp | GucciPrada/sobfu | c83646582a146a3f4b8d8ad62de31ec60f8004d6 | [
"BSD-3-Clause"
] | 27 | 2019-02-16T10:11:49.000Z | 2021-11-02T19:51:28.000Z | #pragma once
/* kinfu incldues */
#include <kfusion/cuda/tsdf_volume.hpp>
#include <kfusion/safe_call.hpp>
/* sobfu includes */
#include <sobfu/reductor.hpp>
#include <sobfu/scalar_fields.hpp>
#include <sobfu/vector_fields.hpp>
/*
* SOLVER PARAMETERS
*/
struct SolverParams {
int verbosity, max_iter, s;
fl... | 35.378571 | 117 | 0.689885 | LuyaooChen |
8147c0ad2a81e17f7cdda544e1bb7bdc1be524cd | 3,431 | cpp | C++ | tests/services_unit/check_adaptation.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | tests/services_unit/check_adaptation.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | tests/services_unit/check_adaptation.cpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #include "check_adaptation.hpp"
double stan::test::unit::stod(const std::string& val) {
char tmp[val.length()];
strcpy(tmp, val.c_str());
return atof(tmp);
}
void stan::test::unit::check_adaptation(
const size_t& num_params, const std::vector<double>& param_vals,
stan::test::unit::instrumented_writer& r... | 35.010204 | 78 | 0.628097 | alashworth |
814899dbbbf43143638a90b8eec6cbfd933041e1 | 323 | inl | C++ | args/core/math/glm/gtx/normal.inl | Developer-The-Great/Args-Engine | 1eee1eaadc5e203778896c803e8fa4e9f52b4f7b | [
"MIT"
] | null | null | null | args/core/math/glm/gtx/normal.inl | Developer-The-Great/Args-Engine | 1eee1eaadc5e203778896c803e8fa4e9f52b4f7b | [
"MIT"
] | null | null | null | args/core/math/glm/gtx/normal.inl | Developer-The-Great/Args-Engine | 1eee1eaadc5e203778896c803e8fa4e9f52b4f7b | [
"MIT"
] | null | null | null | /// @ref gtx_normal
namespace args::core::math::detail::glm
{
template<typename T, qualifier Q>
GLM_FUNC_QUALIFIER vec<3, T, Q> triangleNormal
(
vec<3, T, Q> const& p1,
vec<3, T, Q> const& p2,
vec<3, T, Q> const& p3
)
{
return normalize(cross(p1 - p2, p1 - p3));
}
}//namespace args::core::math::detail::g... | 20.1875 | 47 | 0.634675 | Developer-The-Great |
814acf2c8156d42d7e1bd760d51c914f75c62762 | 617 | hpp | C++ | unit-tests/test-files/template/full-base.hpp | Mirinth/Plexiglass | d5e1e83a4863ae764c951d79a574ab5f4970793e | [
"Unlicense"
] | null | null | null | unit-tests/test-files/template/full-base.hpp | Mirinth/Plexiglass | d5e1e83a4863ae764c951d79a574ab5f4970793e | [
"Unlicense"
] | 39 | 2021-10-10T20:50:02.000Z | 2021-11-29T01:42:09.000Z | unit-tests/test-files/template/full-base.hpp | Mirinth/Plexiglass | d5e1e83a4863ae764c951d79a574ab5f4970793e | [
"Unlicense"
] | null | null | null | #pragma once
#include <filesystem>
#include <string>
#include <string_view>
enum class LexerState;
enum class TokenType
{
__eof__,
__jam__,
__nothing__,
secondToken,
};
std::string ToString(TokenType type, const std::string& text);
class full
{
public:
full(const std::filesystem::path& path);
... | 16.675676 | 62 | 0.677472 | Mirinth |
814e9c0a2e5498b167b42b6d991997f4f76585f9 | 1,292 | hpp | C++ | android-31/android/app/LocalActivityManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/app/LocalActivityManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/app/LocalActivityManager.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::app
{
class Activity;
}
namespace android::content
{
class Intent;
}
namespace android::os
{
class Bundle;
}
namespace android::view
{
class Window;
}
class JString;
namespace android::app
{
class LocalActivityManager : public JObject
{
public:
//... | 24.377358 | 161 | 0.736842 | YJBeetle |
814ea14782e84bacbc2ba747321dee746bc44d2c | 1,514 | cpp | C++ | scratch/src/resources/shader_library.cpp | jaideng123/Scratch | 91ff6de4f9f1e4f801441d3da45a4a001871a7ac | [
"MIT",
"Unlicense"
] | null | null | null | scratch/src/resources/shader_library.cpp | jaideng123/Scratch | 91ff6de4f9f1e4f801441d3da45a4a001871a7ac | [
"MIT",
"Unlicense"
] | null | null | null | scratch/src/resources/shader_library.cpp | jaideng123/Scratch | 91ff6de4f9f1e4f801441d3da45a4a001871a7ac | [
"MIT",
"Unlicense"
] | null | null | null | //
// Created by JJJai on 12/18/2021.
//
#include <iostream>
#include <utilities/assert.h>
#include "shader_library.h"
std::shared_ptr<scratch::Shader>
scratch::ShaderLibrary::addShader(const std::string &name, const std::string &vertexPath, const std::string &fragPath) {
std::cout << "Loading Shader: " << name <... | 38.820513 | 120 | 0.622853 | jaideng123 |
8154d0d229468dcfc47708c22f46ea0367c975e9 | 5,853 | cpp | C++ | lib/ST_Anything/IS_DoorControl.cpp | hansaya/GarageDoorOpener | 946b1431143d4c5b1c9493f951f6d8f09a7e52f5 | [
"MIT"
] | 1 | 2020-12-07T22:32:27.000Z | 2020-12-07T22:32:27.000Z | lib/ST_Anything/IS_DoorControl.cpp | hansaya/GarageDoorOpener | 946b1431143d4c5b1c9493f951f6d8f09a7e52f5 | [
"MIT"
] | null | null | null | lib/ST_Anything/IS_DoorControl.cpp | hansaya/GarageDoorOpener | 946b1431143d4c5b1c9493f951f6d8f09a7e52f5 | [
"MIT"
] | null | null | null | //******************************************************************************************
// File: IS_DoorControl.h
// Authors: Dan G Ogorchock & Daniel J Ogorchock (Father and Son)
//
// Summary: IS_DoorControl is a class which implements the SmartThings "Door Control" device capability. It features
// an ... | 36.12963 | 224 | 0.676064 | hansaya |
815502270af86215db65534b43b0d1f9e277c0f2 | 2,807 | cpp | C++ | ass4/testdepartment.cpp | starcraft66/COEN243-Fall-2019-Assignments | 66caa4d6bf0f960218c86288e1c17bdae16b22b1 | [
"BSD-3-Clause"
] | 2 | 2021-07-24T15:01:50.000Z | 2022-01-17T21:49:09.000Z | ass4/testdepartment.cpp | starcraft66/COEN243-Fall-2019-Assignments | 66caa4d6bf0f960218c86288e1c17bdae16b22b1 | [
"BSD-3-Clause"
] | null | null | null | ass4/testdepartment.cpp | starcraft66/COEN243-Fall-2019-Assignments | 66caa4d6bf0f960218c86288e1c17bdae16b22b1 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <array>
#include "department.hpp"
int main(int argc, char *argv[])
{
Employee lastemp;
std::string id_number, name, history;
std::cout << "Enter the name of the department: ";
std::getline(std::cin, name);
std::cout << "Enter the department's identification number: ";
... | 41.279412 | 120 | 0.604916 | starcraft66 |
8155065d74e25fe0011fb3788409b9be64d6a4f5 | 699 | cc | C++ | geometry.cc | Computational-Camera/OPENCV_Tricks | e79957306ce8f267cc725f869769ffda92f47e7c | [
"MIT"
] | 1 | 2019-10-30T06:07:52.000Z | 2019-10-30T06:07:52.000Z | geometry.cc | Computational-Camera/OPENCV_Tricks | e79957306ce8f267cc725f869769ffda92f47e7c | [
"MIT"
] | null | null | null | geometry.cc | Computational-Camera/OPENCV_Tricks | e79957306ce8f267cc725f869769ffda92f47e7c | [
"MIT"
] | 1 | 2019-11-19T05:56:19.000Z | 2019-11-19T05:56:19.000Z | //=== Convert Point vector to Mat===
vector<Point2f> pt_vec;
Mat pt_mat = Mat(pt_vec).clone();
//==== Convert Mat to vector ===
Point *pts = (const Point*) Mat(contour).data;
//=== Warp image ====
warpPerspective ( src, dst, T, Size(w,h), INTER_LINEAR, BORDER_CONSTANT);
//=== Points Transformation
perspectiveTrans... | 27.96 | 73 | 0.672389 | Computational-Camera |
8156392c8abad48c94d44fc3bb753aaa80872ca4 | 7,405 | cpp | C++ | test-suite/businessdayconventions.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 1 | 2020-10-13T09:57:04.000Z | 2020-10-13T09:57:04.000Z | test-suite/businessdayconventions.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 19 | 2020-11-23T08:36:10.000Z | 2022-03-28T10:06:53.000Z | test-suite/businessdayconventions.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 5 | 2020-06-04T15:19:22.000Z | 2020-06-18T08:24:37.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or modify it
under the terms of the... | 56.098485 | 134 | 0.669413 | urgu00 |
815725f6f0c76658b1c9bbb9f3e517267dd67b44 | 511 | cpp | C++ | SVEngine/src/detect/SVDetectBase.cpp | SVEChina/SVEngine | 56174f479a3096e57165448142c1822e7db8c02f | [
"MIT"
] | 34 | 2018-09-28T08:28:27.000Z | 2022-01-15T10:31:41.000Z | SVEngine/src/detect/SVDetectBase.cpp | SVEChina/SVEngine | 56174f479a3096e57165448142c1822e7db8c02f | [
"MIT"
] | null | null | null | SVEngine/src/detect/SVDetectBase.cpp | SVEChina/SVEngine | 56174f479a3096e57165448142c1822e7db8c02f | [
"MIT"
] | 8 | 2018-10-11T13:36:35.000Z | 2021-04-01T09:29:34.000Z | //
// SVDetectBase.cpp
// SVEngine
// Copyright 2017-2020
// yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li
//
#include "SVDetectBase.h"
#include "SVPerson.h"
SVDetectBase::SVDetectBase(SVInst *_app)
:SVListenBase(_app) {
}
SVDetectBase::~SVDetectBase() {
}
void SVDetectBase::update(f32 _dt){
}
void S... | 15.96875 | 62 | 0.729941 | SVEChina |
8158b3b9570f392bc42ac6e73e216775910e2b5c | 38,558 | hpp | C++ | include/pstore/core/hamt_map_types.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | null | null | null | include/pstore/core/hamt_map_types.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 1 | 2021-03-09T21:33:38.000Z | 2021-03-09T21:33:38.000Z | include/pstore/core/hamt_map_types.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | null | null | null | //===- include/pstore/core/hamt_map_types.hpp -------------*- mode: C++ -*-===//
//* _ _ _ *
//* | |__ __ _ _ __ ___ | |_ _ __ ___ __ _ _ __ | |_ _ _ _ __ ___ ___ *
//* | '_ \ / _` | '_ ` _ \| __| | '_ ` _ \ / _` | '_ \ | __| | | |... | 52.891632 | 100 | 0.518595 | paulhuggett |
815e6b183d2acb5cedfe2d6291338ba75c426576 | 1,339 | hpp | C++ | include/unifex/detail/unifex_fwd.hpp | ChuanqiXu9/libunifex | 33c48459a86029e38a376f1d74799a0caee252a0 | [
"Apache-2.0"
] | null | null | null | include/unifex/detail/unifex_fwd.hpp | ChuanqiXu9/libunifex | 33c48459a86029e38a376f1d74799a0caee252a0 | [
"Apache-2.0"
] | null | null | null | include/unifex/detail/unifex_fwd.hpp | ChuanqiXu9/libunifex | 33c48459a86029e38a376f1d74799a0caee252a0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and 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 applicab... | 29.108696 | 75 | 0.725915 | ChuanqiXu9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.