blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eba1de1307034d8b28503dafd774d8fe6046d484 | 5816f1fcafab854c576ebdc201038cac6a1c8d46 | /topologies/src/IO/unit_test/test_stltxtloader.cpp | 2836c9db269e23ec6007b5e1d1f07581c20df811 | [
"CC0-1.0",
"LicenseRef-scancode-generic-cla"
] | permissive | OlegJakushkin/ARL_Topologies | 26edb221d3e27e68eee324dc74522c8971c1d2c0 | 2c0d3d806b34171c824705b3e1a00e12460c0930 | refs/heads/master | 2021-09-25T07:55:32.474242 | 2018-10-19T20:30:53 | 2018-10-19T20:30:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,082 | cpp | /*
* ARL_Topologies - An extensible topology optimization program
*
* Written in 2017 by Raymond A. Wildman <raymond.a.wildman.civ@mail.mil>
* This project constitutes a work of the United States Government and is not
* subject to domestic copyright protection under 17 USC Sec. 105.
* Release authorized by the ... | [
"1300726395@mil"
] | 1300726395@mil |
2d62c4209a89085f25e8567d8e47a7f3fbe3d41b | 572a3cd78d94e2ee8d7067d1a52678527c56bf37 | /src/linux/glibcInfo.cpp | 6b4c2cbaa4d73bc2a28578ac118714c8aa0b5965 | [] | no_license | wow2006/OS_Info | b44640c4549b7565c1972b98abfc4f249c378887 | 0d47cc0c4b38ab22da47e2fd62ee4d9266eefe55 | refs/heads/master | 2021-07-18T04:17:41.555871 | 2017-10-25T19:54:58 | 2017-10-25T19:54:58 | 103,783,248 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include "linux/glibcInfo.hpp"
#include <gnu/libc-version.h>
using map = GlibcInfo::map;
bool GlibcInfo::read_glibc(map& info) {
info["version"] = gnu_get_libc_version();
return !info["version"].empty();
}
| [
"thelastrealdevil@gmail.com"
] | thelastrealdevil@gmail.com |
b173534cb5d926b362d416c54764ea8bae0d81a2 | 734c7a0e6608689802a5af084fc79452f8ef7e91 | /Project/06_OpenTyrian/Class/opentyr.cpp | ae54d357e3b029eabe0e61087812f24eee9fb8cc | [] | no_license | mehome/SDLProgramming | 7a167fbff8727121a06680ac8c05b0c33ba018c3 | d2578b364e8d4f2df3b8d2fb1401239c18478ce4 | refs/heads/master | 2022-01-14T10:39:53.498247 | 2019-06-15T20:36:46 | 2019-06-15T20:36:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,940 | cpp | /*
* OpenTyrian Classic: A modern cross-platform port of Tyrian
* Copyright (C) 2007-2009 The OpenTyrian Development Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either ve... | [
"juhang3@daum.net"
] | juhang3@daum.net |
b1997f1d6845fd2e71e1fc1e4f4da311c6129005 | 22db0c32c2dcc176a7c3941906426e4930149e64 | /src/username.cpp | 473c485b03278d90082845f4babab54e7d86e3ff | [] | no_license | marcomak91/LinQedIn | 59567ac2f5303814f0c91781583cf882b47f0308 | 36fa8e1b8fa815c15d09abab871d2dd5a5b3cd50 | refs/heads/master | 2021-01-10T07:54:28.294513 | 2016-02-01T17:46:40 | 2016-02-01T17:46:40 | 50,854,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include"username.h"
Username::Username(string l, string p)
: password(p), login(l) {}
string Username::getPassword() const
{
return password;
}
void Username::setPassword(string p)
{
password=p;
}
| [
"marcomak91@hotmail.it"
] | marcomak91@hotmail.it |
4cda734468ae74003c7f0a096f451212247fcf7d | ba9322f7db02d797f6984298d892f74768193dcf | /ecsops/include/alibabacloud/ecsops/model/OpsCreateInstanceRequest.h | 1964b716f0f2e933577e1800f38337672422a4a9 | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 11,819 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
076d6a7aea08b7f9030381f45c38bebbc3c18c70 | 35accc2bdcc11a19f867a157f3835b6ffa07e7d8 | /Driver.h | af43695b5e5b03a2bae3c1099a43535f2601ea83 | [] | no_license | Ryan2k/Banking-Application | 891a8889e517adb21407ca182052a1764685eb3d | cffe575b72762c7b5c0161229a52cd9ee02020f7 | refs/heads/main | 2023-02-02T13:58:52.660976 | 2020-12-22T19:26:57 | 2020-12-22T19:26:57 | 319,748,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | #pragma once
#include<iostream>
#include<fstream>
#include<queue>
#include<vector>
#include "Transaction.h"
#include "Account.h"
#include "AccountDataBase.h"
using namespace std;
class Driver {
private:
AccountDataBase myAccounts;
public:
queue<Transaction> BuildTransactions(string fileName);
void runTrans... | [
"ryan2kool@yahoo.com"
] | ryan2kool@yahoo.com |
8bb5b106b6687a5e94f99e014d8fde4e456074bb | d32f5552b7fd679f4d3fd3ccf6f8b4fb0247bb9f | /viewer/Saba/Viewer/Light.cpp | 1376946faa1451776862fa93bcedd505c4e8e2ac | [
"MIT"
] | permissive | benikabocha/saba | 62f442e0f3ea8c47dfc3c5180367e69f077c3978 | fa2ea89b1e2108271591c8bcdfcff8fb32e7f528 | refs/heads/master | 2023-05-14T06:28:56.784898 | 2023-05-08T13:51:55 | 2023-05-08T13:51:55 | 78,288,889 | 406 | 77 | MIT | 2023-05-07T22:38:41 | 2017-01-07T16:08:14 | C++ | UTF-8 | C++ | false | false | 567 | cpp | //
// Copyright(c) 2016-2017 benikabocha.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include "Light.h"
namespace saba
{
Light::Light()
: m_lightColor(0.6f)
, m_lightDir(-0.5f, -1.0f, -0.5f)
{
}
void Light::SetLightColor(const glm::vec3 & color)
{
m_lightColor = color;
... | [
"benikabocha@gmail.com"
] | benikabocha@gmail.com |
46d02bbcac334f52184b3c73ba6064e5490bbc60 | 250c553efc27c7e47145f7d08a11ff1e464a1449 | /include/cat3d/gl.hpp | 43301eb76577302602fac8d77fd7c05fc933131f | [
"MIT"
] | permissive | sarahkittyy/cat3d | b27a93219408852c3c5a8e7cf2a6cea708761941 | 1b5f15bddb60d1870b23321a9907e7f79547ca1a | refs/heads/master | 2022-12-11T20:32:09.328379 | 2020-09-06T07:08:16 | 2020-09-06T07:08:16 | 293,015,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | hpp | #pragma once
#include "cat3d/gl/array.hpp"
#include "cat3d/gl/buffer.hpp"
#include "cat3d/gl/mesh.hpp"
#include "cat3d/gl/primitives.hpp"
#include "cat3d/gl/shader.hpp"
#include "cat3d/gl/texture.hpp"
| [
"sarahohlin1@gmail.com"
] | sarahohlin1@gmail.com |
d27f806d6ad646003bb76979f1b831e1a985b8fb | 9c0987e2a040902a82ed04d5e788a074a2161d2f | /cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h | 695807f54447e7574e1314473e0359e15e142307 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | l1kw1d/nearby-connections | ff9119338a6bd3e5c61bc2c93d8d28b96e5ebae5 | ea231c7138d3dea8cd4cd75692137e078cbdd73d | refs/heads/master | 2023-06-15T04:15:54.683855 | 2021-07-12T23:05:16 | 2021-07-12T23:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85,134 | h | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
c478a5895d99df565fae94278aed50d00fafe82c | de6e9dcb37d94300c6a170de9de3847c21e73906 | /chrome/browser/feature_engagement/feature_tracker_unittest.cc | db0cbf4c6ee235aa5bc0c668d6a86216c32f9004 | [
"BSD-3-Clause"
] | permissive | Jubata/Cheetah-browser | cadc8770eb74c79083a77ffe9f04f2c316ca71a4 | f8f5e873250e4413161cc36950ff20b1ff73ef6a | refs/heads/master | 2023-01-09T03:03:08.233816 | 2017-12-25T16:41:35 | 2017-12-25T16:41:35 | 109,480,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,044 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/feature_engagement/feature_tracker.h"
#include <memory>
#include "base/feature_list.h"
#include "base/files/file_util.h"
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
561f7fc0efcfdccbcb5fd8bb21a8407517cdf16d | 7291e3ad90c004c77d1783d359759f65a2260817 | /ex03.cpp | 76e15788058d43bddf4fdde89d3fd07f4ed8a3f2 | [] | no_license | EstherTsai4/CS-172-Homework-1 | 890cde496e85b0c489b1fb2515447c025bdba60b | 888049388beda09967da111d7dc1a41c40858b6f | refs/heads/master | 2021-01-21T20:16:42.951621 | 2017-05-25T22:29:28 | 2017-05-25T22:29:28 | 92,212,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | cpp | #include <iostream>
#include <string>
#include <cctype>
#include <cmath>
using namespace std;
void ex03()
{
//part a
//initialize and declare variable for the area of a square
int area = 0;
//ask user to input area of square
cout << "Enter in the area of the square: ";
cin >> area;
//calculate... | [
"noreply@github.com"
] | noreply@github.com |
87dcf4f1a911b8ef85568d7bd854e34965b05695 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-old-new/CMake-old-new/Kitware_CMake_new_file_716.cpp | 0a15d4bcd377dca19789c354d65823e55d047b3c | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,156 | cpp | #include "curl/curl.h"
#include <stdlib.h>
int GetFtpFile(void)
{
int retVal = 0;
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl)
{
/* Get curl 7.9.2 from sunet.se's FTP site: */
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
curl_easy_setopt(curl, CURLOPT_HEADER, 1);
curl_easy_... | [
"993273596@qq.com"
] | 993273596@qq.com |
053025714e19914efc1e4e6b6bde0ffef77300c7 | fed74881c49f387ed082122de9210beca29084bd | /Source/SoulDrive2/SDFinalCall.cpp | 9f86c5732f335eb6ab6980339e63465f7f59c080 | [] | no_license | Arveanor/SoulDrive | bfc53ea1367bef507eb72a2bb8f15b5eaefeadd6 | b0cfc4dd77ebafde1e55aa924a160cdab0ab8aa9 | refs/heads/master | 2023-05-11T03:13:54.109507 | 2021-05-31T21:54:54 | 2021-05-31T21:54:54 | 111,176,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SoulDrive2.h"
#include "SDFinalCall.h"
// This function does not need to be modified.
USDFinalCall::USDFinalCall(const class FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
// Add default functionality her... | [
"keysertheloner@gmail.com"
] | keysertheloner@gmail.com |
f1c1a44314b9c48f200a8d8175562ec9877b19a8 | 387ae5d07b63d7edd792655c0e9a72d5c9f26cb8 | /CGM_v_cycle.h | ae8c0899eee7624aea753a4da742eeb12553f614 | [] | no_license | mpiz/Solvers | 42985046afb0caed5e7893b9634ddaa7325cb3d3 | c47f9118c6bcd9b248424146702fc7c99474b5e9 | refs/heads/master | 2021-01-01T17:48:20.830653 | 2015-05-17T08:03:12 | 2015-05-17T08:03:12 | 35,757,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | h | #pragma once
#include <math.h>
class CGM_v_cycle;
typedef void (CGM_v_cycle::*mm_f)(double *, double *&);
class CGM_v_cycle{
public:
void init(int *gi_s, int *gj_s, double *di_s, double *gg_s, int n_s);
void init_projector(int *gi_R_s, int *gj_R_s, double *gg_R_s, int n_lvl2_s);
void solve_iteration(int int_... | [
"elnadrius@gmail.com"
] | elnadrius@gmail.com |
e787cf9d24215f0e7e729696044e92696a803286 | 29f87adb9d8413e90b364179fe98f95242819d38 | /FlowchartEditor/FlowchartClipboardHandler.h | 34321c04b1173300e3b918eeb40548d83e19f78f | [
"Unlicense"
] | permissive | pmachapman/Tulip | d05f069c2ec11b900711c1be5a12e0dbe1bb40e1 | 2123145132faff5e0d606af8626007d8e9ffe3a3 | refs/heads/master | 2023-01-29T10:19:01.249474 | 2023-01-17T06:09:23 | 2023-01-17T06:09:23 | 130,920,566 | 0 | 1 | Unlicense | 2023-09-05T19:06:38 | 2018-04-24T22:28:13 | C++ | UTF-8 | C++ | false | false | 625 | h | #ifndef _FLOCHARTCLIPBOARDHANDLER_H_
#define _FLOCHARTCLIPBOARDHANDLER_H_
#include "../DiagramEditor/DiagramClipboardHandler.h"
class CFlowchartClipboardHandler : public CDiagramClipboardHandler
{
public:
// Construction/initialization/desturction
CFlowchartClipboardHandler();
virtual ~CFlowchartClipboardHandler()... | [
"peter@conglomo.co.nz"
] | peter@conglomo.co.nz |
4a6850c5b8857e87d65024e087d00cdfb6b460e2 | 08aa739be29bda39f7e20402dbce42cb8d82ffde | /Engine/BaseSoundSystem.h | c2dc4e69c4b9c015cd2ac991eac25e4d8c567d89 | [] | no_license | kdedeurw/MiniginQBert | a44ede77e91cd7ebb7e16e53d9b4343d6f0eb742 | 3e2abd6f4b93e2d63f5cd99f9093285717b848a9 | refs/heads/main | 2023-08-25T06:43:30.598141 | 2021-10-15T01:57:07 | 2021-10-15T01:57:07 | 349,778,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | h | #pragma once
#include <stdint.h>
using SoundId = unsigned int;
struct SoundRequest
{
SoundRequest(SoundId id = UINT32_MAX, int vol = -1)
: soundId{ id }
, volume{ vol }
{};
SoundId soundId;
int volume;
};
class BaseSoundSystem
{
public:
virtual ~BaseSoundSystem() = default;
virtual Sou... | [
"noreply@github.com"
] | noreply@github.com |
47ea1dc1942415ce2cc95076a664ee84b9efedc0 | 453ef442430b58701b4e67bc9c6d55cc0d7aeb3f | /workspace/src/TimeAttackInfomation/TiCurveInfomation.cpp | 741e8dfad4aade910b0ec549f333687b1cf90edc | [] | no_license | sakiyama02/chanponship | 6d6348eb3e200b7682aa3ec3917e2c7746f754cb | 2dccb2670d03db301434c223d3b80beed55a24d3 | refs/heads/master | 2023-09-06T00:12:07.740578 | 2021-10-22T02:33:11 | 2021-10-22T02:33:11 | 419,940,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,722 | cpp | //TiCurveInfomation
//タイムアタックカーブインフォメーション
//
#include "../../include/TimeAttackInfomation/TiCurveInfomation.h"
TiCurveInfomation::TiCurveInfomation(){
memset(curveData,0,sizeof(CurveData)*TIMEATTACK_NUM);
int16 index = 0;
//template
/*
//カーブで使用する数値設定
//radius :半径を設定
//dirction:回転
curveData[i... | [
"sakiyama.hayato02@gmail.com"
] | sakiyama.hayato02@gmail.com |
2f1855aff96366fbeab64f471cbb93f5c7d4f364 | 3e8a4aff5eb7e0dacdda4824d4683345020979c1 | /PricingMethod/TreeMethod/TrinomialTreeMethod/TrinomialBlackScholesVarianceReduction.cpp | 79b6e137df5324b86de0bbb36eae6c68467b51d8 | [] | no_license | ddyuewang/NumericalMethodsForOptionPricing | 0d7c092f06bfb92eaf8ccde7660a2c14d6a3f2da | de6805fb775994c901ed24b7e5231db85459bb2f | refs/heads/master | 2020-12-25T20:42:02.613211 | 2015-09-25T14:25:09 | 2015-09-25T14:25:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,423 | cpp | // This file was created to have a TrinomialBlackScholes with variance reduction class
//
// Zhenfeng Liang
//
// 10/12/2014 in New York ,NY
#ifndef TRINOMIALBLACKSCHOLESVARIANCEREDUCTION_CPP
#define TRINOMIALBLACKSCHOLESVARIANCEREDUCTION_CPP
#include "TrinomialBlackScholesVarianceReduction.hpp"
namespace... | [
"joseleungbit@gmail.com"
] | joseleungbit@gmail.com |
ebd9f0613e96abff819515e8914cf9e4e932c4e4 | 4dfb4d54de2c2771198f273e6e79e914182b7ca3 | /wdl-ol/WDL/poollist.h | 0694f2fb675cc8e82af0865fde8bb96b6ac98032 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nimaid/BytebeatVST | 95592bb5b985c1542762c7a3a7dbf0c16c5c3dde | 531b7ff952cabf5ff144260d4d81a5d8fbc2ec57 | refs/heads/master | 2020-04-01T17:02:09.051029 | 2017-03-14T14:16:07 | 2017-03-14T14:16:07 | 62,697,724 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,595 | h | /*
WDL - poollist.h
Copyright (C) 2006 and later, Cockos Incorporated
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any... | [
"Ella Jameson"
] | Ella Jameson |
0a24dbebfbf13cf9dcb7f8cd98da7bcc40b12906 | 05203cde7eb19ec43b238d396ec26b1876fadbb8 | /Olympiads Work/Week 4/dlet/Strategic Placement.cpp | 3fd1eb0df1428a3e5835c67b07a18da9c549ad55 | [] | no_license | ung-steven/competitive_programming | a717be6213a84a3c60e85cdc0114e832cf82150b | a1357d2418231ac0be7e2af46ffff1cff693f918 | refs/heads/master | 2022-04-06T18:42:59.766092 | 2020-02-13T23:57:57 | 2020-02-13T23:57:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | cpp | #include <bits/stdc++.h>
#define MEM(a, b) memset(a, (b), sizeof(a))
#define PI 3.1415926535897932384626433832795
#define endl '\n'
#define exists(s, e) (s.find(e)!=s.end())
#define WHILE(n)
#define pb push_back
#define scan(x) do{while((x=getchar())<'0'); for(x-='0'; '0'<=(_=getchar()); x=(x<<3)+(x<<1)+_-'0');}while(... | [
"stevenung1234567890@gmail.com"
] | stevenung1234567890@gmail.com |
f72247702b6ebb6bde5028c1ad5d0679df3c2d47 | 1a1cd225bf6994db41f2b3abc34b55abd6cb635d | /RayTracer/RayTracer/Header/Tetrahedron.h | 68666754d339a33ab77b4823d560491676f01558 | [] | no_license | femtiolapp/TNCG15-RayTracer | f1b59ba1eb29c3eb0a2c53084c6197b7d4b28269 | 5dc15faad7f6e1471e44d207739e36a6e2a67e1c | refs/heads/master | 2023-04-14T07:18:35.666133 | 2021-04-26T14:39:20 | 2021-04-26T14:39:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | h | #pragma once
#include "definitions.h"
#include "Triangle.h"
#include "Surface.h"
#include <vector>
class Tetrahedron {
public:
Tetrahedron(Surface color);
Tetrahedron(vec3 position, float sideLength);
const std::vector<Triangle>& getTriangles() const;
private:
std::vector<Triangle> triangles;
}; | [
"simbr615@student.liu.se"
] | simbr615@student.liu.se |
4caabb85f946f62c2588a021f6fc426205e48e65 | 347ab64d91ddc8f857ea0c81da371c8ab5ea86c3 | /C++/Assignment2/StringConstruction.h | a84ec2ae02e58e29f69d68ced2920555a99c213a | [] | no_license | ron-kap/university-projects | 94132276c6fbc1177669067eb3e1ca9bea5966cf | 9e10028372cb5fa23cc98a8e857b80cfadab1889 | refs/heads/main | 2023-09-03T08:54:59.165070 | 2021-09-22T15:49:22 | 2021-09-22T15:49:22 | 334,437,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,862 | h | #ifndef STRINGCONSTRUCTION_H
#define STRINGCONSTRUCTION_H
#include <string>
using std::string;
// TODO: your code goes here:
#include <vector>
using std::vector;
#include <iostream>
using std::cout;
//private:
void kmpTable(string w, int t[]) {
int p = 0;
t[0] = -1;
for (int i = 1; i < w.size(); ++i) {
p = ... | [
"75795038+ron-kap@users.noreply.github.com"
] | 75795038+ron-kap@users.noreply.github.com |
cf105a7a48cf58b1bb62b26194c50c8a6b85b73b | 016fb9eeb1482a3f820905d65ec6ddff03459b6c | /15th_abstract/4th_virtual/Englishman.h | 1d829e42865868abea9218107be68c5881439db5 | [] | no_license | Koh84/CPP_revision | cd165a565a34443cbe674fb8b6299f8c8adb1381 | a1dd0cf04bb42eed9e5f2da79198b3cc69563f4e | refs/heads/master | 2020-12-12T07:36:17.483902 | 2020-01-27T10:15:00 | 2020-01-27T10:15:00 | 234,071,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | #ifndef _ENGLISHMAN_H
#define _ENGLISHMAN_H
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <unistd.h>
#include "Human.h"
using namespace std;
class Englishman : public Human{
public:
void eating(void);
void wearing(void);
void driving(void);
~Englishman();
};
#endif
| [
"book@book-virtual-machine.(none)"
] | book@book-virtual-machine.(none) |
d01fd2b8e192d6203321c2de97219adc94d20d0e | dfa01799abe3a66370878ce28d721c371a2133c8 | /zad14funkcje.cpp | 90a3f5d58950955b5876ae0f3b0abdec91011997 | [] | no_license | PiotrPalczewski/Zadania-domowe | 567fb166098e27512e34d2580f7dbcd9933e98fc | cccd12e060f75986c123e81718542c7f7ef086da | refs/heads/master | 2021-05-07T16:36:06.283503 | 2018-03-12T13:37:17 | 2018-03-12T13:37:17 | 108,577,281 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,220 | cpp | #include <iostream>
#include <conio.h>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
double funkcja(double x) { // f(x)= e^(-1.5*x)-0.3*x^2
return (pow(M_E, (-1.5 * x)) - (0.3 * pow(x, 2)));
}
double bisekcja(double a, double b, double epsilon, int& i) {
double pierwiastek;
while (abs(a - b)... | [
"elrondpe@gmail.com"
] | elrondpe@gmail.com |
d6710784f2d07bf07036bf111deb3d15b66cbe99 | b3c761601a8b79563a7325c8c621121c8afc25a3 | /Hashing/Task1.cpp | d771cf408c410bc005513dc0f9ee372cbca48ab0 | [] | no_license | KhanShaheb34/Algorithm-Design-and-Analysis | 7d98c1f462d32b845c39521532f87573bc084aa8 | 805125ef77e1175ca05ce553d036b92ab2e61b3f | refs/heads/master | 2020-06-19T21:25:26.725991 | 2019-10-31T07:08:19 | 2019-10-31T07:08:19 | 196,879,835 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include<bits/stdc++.h>
using namespace std;
int hashify(string query, int mod) {
unsigned long long rad = 0;
for(unsigned long long i = 1; query != ""; i *= 128) {
rad += i * (int)query[query.size()-1];
if(query.size() == 1) break;
query = query.substr(0, query.size()... | [
"shakirul34@student.sust.edu"
] | shakirul34@student.sust.edu |
4099dcbd8ae6d588db0acff0b0c0e017a8b8af24 | ee20365172dd689805cef7ad754a9e9245b198cc | /include/grasp.hpp | 90f7706df9a21ab94712f8a9133626ed4d40c0ac | [] | no_license | alu0101133201/MDP | 7210be416146e934c24dd090d62b4c637e965f16 | 0c5378be2d2a3f2d1416008cb84d193d35308dbd | refs/heads/master | 2022-07-14T21:19:14.269227 | 2020-05-19T08:13:47 | 2020-05-19T08:13:47 | 261,302,001 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | hpp | /*
* Autor: Sergio Guera Arencibia
* alu0101133201@ull.edu.es
* Universidad de La Laguna
* 22-04-20
* Fichero que describe las clases que definirá
* el planteamiento grasp voraz del algoritmo MDP
*/
#pragma once
#define ITERACIONES 0
#define SINMEJORA 1
#include <utility>
#include "MDP.hpp"
class Grasp : p... | [
"alu0101133201@ull.edu.es"
] | alu0101133201@ull.edu.es |
1e53809ec349f1995044d42b52f436952e6d4a15 | 0379dd91363f38d8637ff242c1ce5d3595c9b549 | /windows_10_shared_source_kit/windows_10_shared_source_kit/10_1_14354_1000/Source/Tests/Graphics/Graphics/DirectX/d3d/conf/DepthStencil/testapp.cpp | dfed9fda07542bdc74cc4c34a2c91099a9edcb8b | [] | no_license | zhanglGitHub/windows_10_shared_source_kit | 14f25e6fff898733892d0b5cc23b2b88b04458d9 | 6784379b0023185027894efe6b97afee24ca77e0 | refs/heads/master | 2023-03-21T05:04:08.653859 | 2020-09-28T16:44:54 | 2020-09-28T16:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,175 | cpp | #include "testapp.h"
#include "views.h"
#include "state.h"
#include "clamp.h"
#include "bias.h"
#include "stencil.h"
CDepthStencilTestApp g_TestApp;
/******************************
* CDepthStencilTestApp methods
******************************/
void CDepthStencilTestApp::InitOptionVariables( )
{
CD3... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
925005538bbb13d56869ac6dfd24b09aafcc2f92 | 48b3071f36fd94f8d44511d6350535d013e541e6 | /Chapter_09/ch_9.00_simple_multi_files_project/prog.cpp | 790b51f46e77e473aa6f73138c78e590e552592b | [] | no_license | VicSch/Prata_S_Cpp_2011 | e97b2ce72aefa75049f7d841214cb066e98a9ce8 | 875d27967c4678d020dadfc6e83bf5e17087bf10 | refs/heads/master | 2023-04-02T13:37:19.301274 | 2021-04-11T11:57:32 | 2021-04-11T11:57:32 | 356,495,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | #include <iostream>
#include "header.h"
using namespace std;
// const int SIZE = 5; // constant size of array
// int sum(int*, int); // prototype of function
int main() {
int arr[SIZE] {1, 2, 3, 4, 5};
int s = sum(arr, SIZE);
cout << "Result: " << s << endl;
cin.get();
return 0;
}
// int sum(int* arr, int ... | [
"vicvvsh@gmail.com"
] | vicvvsh@gmail.com |
617eaf12838423a58c23a1a5c4f4ac654f0f9491 | 430a27ecb85827c64e852338220a1909f3815f40 | /src/dbwrapper.h | d13ba9200c2b36ba9991544fd3515c482c7d8100 | [
"MIT"
] | permissive | bayerman-rol/MagpieCoin | e3d4d2935d962d4fe969984969b6a27470c35347 | 411d364217a0ef5cd0e403881bd2edf5023d465a | refs/heads/main | 2023-05-12T00:30:59.511945 | 2021-06-06T18:48:57 | 2021-06-06T18:48:57 | 374,305,398 | 0 | 0 | MIT | 2021-06-06T08:19:11 | 2021-06-06T08:19:10 | null | UTF-8 | C++ | false | false | 10,545 | h | // Copyright (c) 2012-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <clientversion.h>
#include <fs.h>
#include <serialize.h>
#include <streams.h>
#include <util.h>
#inclu... | [
"53425811+mgpc-lab@users.noreply.github.com"
] | 53425811+mgpc-lab@users.noreply.github.com |
8592eb4a0214a5ed18f662eb211d247ffeb41383 | 91346f3238674aecebc9b84c9f7750a770d1f04b | /Vela con control remoto/Vela-con-control-remoto/Vela-con-control-remoto.ino | 1e3c325ad920648e549bab89066685f228934874 | [] | no_license | arduino-guay/Blog | ed1cec084ac58d6d39f6596412cd91621c3de0ce | 976b8739ae4c3c937b55eabe447eebd5e70b1377 | refs/heads/master | 2021-01-13T12:35:16.314379 | 2016-11-02T07:42:34 | 2016-11-02T07:42:34 | 72,575,943 | 4 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 7,644 | ino | /*****************************************************************************
*
* Vela electronica con Arduino Pro Mini y Control Remoto
* Autor: José Daniel Herrera Gomariz
* http://arduino-guay.blogspot.com.es
*
* Simula el funcionamiento de una vela sobre una tira de leds tipo NeoPixel
* Se co... | [
"jose.daniel.herrera@gmail.com"
] | jose.daniel.herrera@gmail.com |
21a599e7823f52298abe0a2037783305e2e40c58 | f1de96ca81888cd12cef3880ee701a3fe267e6dd | /Source/UE4_BattleTank/Public/AIBot/BTTaskNode_Fire.h | 46d3c38c8d278d4f9bc05d1d717e388108de397c | [] | no_license | lineCode/UE4_BattleTank | 8b2651a88698d4749c7b54e01fe0ad3d6a619592 | ea3e40b0f02f88e504834f9e8b668945243e6ceb | refs/heads/master | 2023-05-27T10:13:36.195974 | 2021-06-17T20:50:33 | 2021-06-17T20:50:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | // Copyright 2018 - 2021 Stuart McDonald.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/BTTaskNode.h"
#include "BTTaskNode_Fire.generated.h"
/**
* Fire Tank Projectile
*/
UCLASS()
class UE4_BATTLETANK_API UBTTaskNode_Fire : public UBTTaskNode
{
GENERATED_BODY()
public:
/** Fire at enemy */
virt... | [
"stuartmcdonald91@yahoo.co.uk"
] | stuartmcdonald91@yahoo.co.uk |
2d48fff120e63bd62df65f5390c631532e36869a | 15d33d7864473654d8a3cff4cb99d07b095ecb89 | /v2/source/Math.hpp | 98e36169daef7b9204370a66550c9ae712212205 | [] | no_license | hnOsmium0001/soft-renderer | 51db8764a32b4302304b82cca3cb19abcae03ec8 | d41d19a840777ba0d886ec5643fe5542fbcf667e | refs/heads/master | 2023-04-01T23:27:05.200727 | 2023-03-20T23:45:31 | 2023-03-20T23:45:31 | 221,831,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | hpp | #pragma once
namespace MathUtils {
// `std::abs` is currently not constexpr (though there is no reason that it can't)
// so we use a custom function that is basically what every implementation uses for std::abs, except marked constexpr
// See https://stackoverflow.com/questions/27708629/why-isnt-abs-constexpr
templat... | [
"hn.osmium0001@gmail.com"
] | hn.osmium0001@gmail.com |
cde31e55940feddeef7c5a7009a818c403792aad | f58705a986a1794771914fae0e3da9234a99fd88 | /roi_assignment/test/test_auction.cpp | 2199e3350550de20d258faed1715e1e7ac2f66f1 | [
"Apache-2.0"
] | permissive | cpswarm/swarm_functions | f0d8704574cb5093aaf005225ab0d87d60db797b | be1467f2f2cf3e9f6204a4ab741903f2df3e130d | refs/heads/noetic-devel | 2023-08-06T02:06:22.930883 | 2023-06-01T07:41:42 | 2023-06-01T07:41:42 | 207,556,903 | 35 | 10 | Apache-2.0 | 2022-04-26T10:20:14 | 2019-09-10T12:44:52 | C++ | UTF-8 | C++ | false | false | 1,290 | cpp | #include <gtest/gtest.h>
#include "lib/auction.h"
/**
* @brief Test the auction constructors.
*/
TEST (UnitTestAuction, testConstruction)
{
// test empty roi
auction auction_empty;
EXPECT_EQ(auction_empty.roi, "");
EXPECT_DOUBLE_EQ(auction_empty.bid, 0);
EXPECT_EQ(auction_empty.winner, "");
E... | [
"sende@lakeside-labs.com"
] | sende@lakeside-labs.com |
0f9d2a9ee17df6aa365836b7256511e34f3f888c | 7ac4b4b7eff397904a90a703cc6f43ce06211f3c | /Temp/il2cppOutput/il2cppOutput/Bulk_System.Core_0.cpp | d4e31ad901dc1b7ad5890a3c7fc69435eea70fef | [] | no_license | lzuehsow/Third-Eye | 9a703169df5cac13ca62845445bfdbcd73e0420c | 7fac7e989d0010cf633a6d7888fd0d402e6c63c6 | refs/heads/master | 2022-07-16T23:46:36.723961 | 2018-10-20T14:09:51 | 2018-10-20T14:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439,887 | cpp | #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 "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | [
"dan1510123@gmail.com"
] | dan1510123@gmail.com |
18d161ce9ffde0b80ce864e699dacd5a1100c460 | e922f9dd851d17057a208fd45570cc4849c2c1cc | /Set 4/L4C_main.cpp | 91cfe333d63032587c54ece7a04a976b8093710c | [] | no_license | rocketminer24/CSCI-261 | 86c7ce33c9a94cda8f16e5c2860eb05a79058c88 | 59d22422b39087a885339ac5e3e45207d85e747f | refs/heads/master | 2020-05-31T03:14:21.441654 | 2019-06-04T02:05:34 | 2019-06-04T02:05:34 | 190,078,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,865 | cpp | /* CSCI 261: Fix Function Errors
*
* Author: Jarod Spencer
*
*Description: This program illustrates a variety of common loop errors. Fix the errors in each section.
Copyright 2018 Dr. Jeffrey Paone
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documen... | [
"noreply@github.com"
] | noreply@github.com |
29ef4439bac8728c2065a0ec43f32d20e2b88987 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/0.5/uniform/time | d14226d0b4ebad343c74660df7dc6a20f5a3667f | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
a37ded7b15f4479e86a504761cd482e0669b0c9f | 790c74e6fb10857cd396e07f1eb39c4733596e91 | /implement/oglplus/texgen/fold_node.inl | 2cf9c162feb05daba7b856f63ebea379db361369 | [
"BSL-1.0"
] | permissive | Blinky0815/oglplu2 | 838a4d9484359b8c381ab49827caad4bef7e0a39 | 8cc3f1d3305179e4ade8b3973f4862df7543ad2a | refs/heads/master | 2020-03-22T21:59:10.271736 | 2017-11-17T14:01:25 | 2017-11-17T14:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,969 | inl | /**
* @file oglplus/texgen/fold_node.inl
*
* Copyright Matus Chochlik.
* Distributed under the Boost Software License, Version 1.0.
* See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt
*/
#include <iostream>
#include <cassert>
namespace oglplus {
namespace texgen {
//-... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
3fbae41d44ef93756f4a195bb8a9444c39bfcc92 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/signals2/detail/slot_call_iterator.hpp | 7d93f80b1fbc607a8c12ac21efadd3319d1f0396 | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,111 | hpp | // Boost.Signals2 library
// Copyright Douglas Gregor 2001-2004.
// Copyright Frank Mori Hess 2007-2008.
// Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// For more information... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
a55a86ed7caf633743d0ad5afa7738275f02d168 | 5d38c1bd3847702533e8c4e7e476722c3e569685 | /Two Sum.cpp | 4d58d8eec708c49b5c4ce032300c98ac546a00dd | [] | no_license | jrvaughan917/Algorithm-Study | 83b3f3bb2e3d95b751f0655bcba4d608c95912d7 | ce104043ee7cde8db3dd611a6b513a14d044e1ca | refs/heads/master | 2021-01-22T02:17:57.219625 | 2017-07-28T02:23:12 | 2017-07-28T02:23:12 | 92,350,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | /* Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
Example:
Given nums = [2, 7, 11, 15], target = 9,
Because nums[0] + nums[1] = 2 + 7 = 9,
ret... | [
"noreply@github.com"
] | noreply@github.com |
8db8175afa5c3a48e33777245a8a0f813b66d9f4 | cfb78973fbdea3a23dd4cde9fbbb67cd425b49a6 | /core/ydk/src/path/schema_value_type.cpp | ebc4c8b1c8973d1fbd7b77d9551461f09886c04b | [
"Apache-2.0"
] | permissive | 111pontes/ydk-cpp | 9df1609d3c80f80f256613d2f95a7d63f1d74399 | e9448f250675db11adb010c0b2b24bf585e12b36 | refs/heads/master | 2020-06-10T20:09:58.789840 | 2016-12-02T18:19:44 | 2016-12-02T18:19:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,552 | cpp | /// YANG Development Kit
// Copyright 2016 Cisco Systems. All rights reserved
//
////////////////////////////////////////////////////////////////
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional inf... | [
"abhirame@cisco.com"
] | abhirame@cisco.com |
5371182a85280d73ace6493f0d53f2bf73c72742 | 3d8254cdec23ce1bf8fb8ade5527732fa86a477c | /srci/fft_hc.cpp | 4b9be2a3a6000bc420ea8415e6bf8b8a805fccc9 | [
"BSD-3-Clause"
] | permissive | zcy618/openVOICE | 8cb2cc60e3aa73b40a438beed38282c343688a97 | ee7cff99cfd1bd21265138b4407cfd685c1c0ce7 | refs/heads/master | 2022-08-27T20:26:34.537356 | 2020-05-29T21:29:13 | 2020-05-29T21:29:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,894 | cpp | //Includes
#include "fft_hc.c"
//Declarations
const valarray<uint8_t> oktypes = {1,2};
const size_t I = 1, O = 1;
int dim, nfft;
//Description
string descr;
descr += "Does 1D FFT along rows or cols of RxC input matrix X.\n";
descr += "\n";
descr += "The output (Y) is real-valued in the \"half-complex\" (hc)\n";
descr... | [
"erik.edwards4@gmail.com"
] | erik.edwards4@gmail.com |
83b26170a3b324316d64ad8aae32e244aa84faa7 | fdd4f0bc76a3ca8a7b283614bd4f760bf8ba9ed5 | /inc/common/memory.h | 537d50eddb5d5015ac9b32fe67d94f1c5b277bd3 | [] | no_license | yanrk/goofer | 06f519e2aa31432075515941eb98654050c439d5 | 5d6e065ebcd4453da73524aa14957a71fec29f17 | refs/heads/master | 2023-05-01T06:38:52.324955 | 2023-04-19T03:05:01 | 2023-04-19T03:05:01 | 137,684,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,536 | h | /********************************************************
* Description : alloc and free memory macros
* Date : 2013-05-18 18:00:25
* Author : yanrk
* Email : yanrkchina@163.com
* Blog : blog.csdn.net/cxxmaker
* Version : 1.0
* History :
* Copyright(C): 2013 - 2020
************... | [
"yanrkchina@163.com"
] | yanrkchina@163.com |
46109eb346db35ddc0eafc45f2ed8d9dadbdee61 | c76c412ca2c6d79aaf9f417c1dfb40bdb17f2832 | /cpp_crash_course/artillery_game.cpp | da7a49720dc16f75592b90e1ba0610e2a668790b | [] | no_license | jpjandrade/coding_exercises | fb9338a5d16395f4a42dd373d49b6bb83bef5431 | 433c684dfe605fa3e58da32c202f35c2b8a7b409 | refs/heads/master | 2023-05-03T07:56:51.353860 | 2023-04-20T16:13:27 | 2023-04-20T16:13:27 | 85,243,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,824 | cpp | #include <math.h>
#include <ctime>
#include <iostream>
using namespace std;
void introduction(int const cannon_balls) {
cout << "Welcome to Artillery." << endl;
cout << "You are in the middle of a war and being charged by thousands of enemies." << endl;
cout << "You have one cannon, which you can shoot at any a... | [
"jpjandrade@gmail.com"
] | jpjandrade@gmail.com |
21c860358d69f46c7f796a82844d9702e3ce7d31 | 5887acadd7a0f2e042c39338e41e3eb962398b16 | /Algorithms and Data Structures/Lab07_Segment/H_Parking.cpp | 804b2e15904464a2ec2b7f5d64c32e1148362d3b | [] | no_license | andrey-star/itmo-labs | bd23560c2873245cfde96b9b5d49766036850740 | 79bb67dc2a4134355dec9fa8ce5f82840fc72a99 | refs/heads/master | 2023-01-06T12:11:26.824877 | 2022-12-28T20:08:46 | 2022-12-28T20:08:46 | 218,313,068 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,257 | cpp | #include <bits/stdc++.h>
using namespace std;
int left(int i) {
return 2 * i + 1;
}
int right(int i) {
return left(i) + 1;
}
int parent(int i) {
return (i - 1) / 2;
}
int INF = static_cast<int>(1e9 + 128);
void update(int i, vector<int> &t) {
if (t[left(i)] != INF) {
t[i] = t[left(i)];
... | [
"fastrazor2000@gmail.com"
] | fastrazor2000@gmail.com |
aec7542247108a23c45fd4614349c03b9679357c | 9147a2cd384808c4ddb6933d0347d865c4f8d6bd | /CommonSrc/Interface/USBSerial3.h | 37fadc59556cd71b60578981402d8202509efd03 | [] | no_license | JosephMolokoSebake/continuousIntegration | 16b69ee7063589d4d250367c0db266a3ca08c36f | 95698f34da30925ce73935f252ebcbd9e2475ae0 | refs/heads/master | 2020-09-12T10:16:08.709741 | 2019-11-18T08:00:59 | 2019-11-18T08:00:59 | 222,390,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,703 | h | //---------------------------------------------------------------------------
#ifndef USBSerial3H
#define USBSerial3H
//---------------------------------------------------------------------------
#include "USB_FT245.h"
#include "JList.h"
#include "JFile.h"
class USBSerial3 : public USB_FT245
{
enum
{
CL... | [
"logosjm@gmail.com"
] | logosjm@gmail.com |
2ddd982178820c0ff0cb692ea9b887c7033a987d | fdfc2b3438a8fc210eaec23672ccbe561ce36b07 | /svn/EPOS_Guto/tags/.svn/pristine/2d/2ddd982178820c0ff0cb692ea9b887c7033a987d.svn-base | e3f6a900e5b20cb38513d60082541ea9defc45dd | [] | no_license | soldi/mestrado | e26dac3dbc5f1ff88f36765a6ef239c9520460bf | e9e3d33ec7f361de4637aeb8f9f8e7996dcf4d56 | refs/heads/master | 2021-01-15T11:28:49.113106 | 2015-10-30T15:31:56 | 2015-10-30T15:31:56 | 16,246,005 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,564 | // EPOS Thread Abstraction Declarations
#ifndef __thread_h
#define __thread_h
#include <utility/queue.h>
#include <utility/handler.h>
#include <cpu.h>
#include <machine.h>
#include <system.h>
#include <scheduler.h>
__BEGIN_SYS
class Thread
{
friend class Init_First;
friend class Scheduler<Thread>;
frien... | [
"soldi"
] | soldi | |
8dfed079b25f914e4442f39de3acdb6502052d35 | 5f7fbddf527a5dd9bef56278563271f49ce688bb | /src/Nebula/gfx/glsl/Uniform/vector/Mat.cpp | dd74bfb16277cb8c48aa0dfc6266dd4ee62c55f4 | [] | no_license | chuck1/gru_old | 766d5804c0ff1523609dd8b8e081ba74293965ab | 97066a92f8ddc3902cef24d412bd386236f31d83 | refs/heads/master | 2021-01-10T13:38:31.416361 | 2014-06-22T16:53:08 | 2014-06-22T16:53:08 | 47,048,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | #include <stdio.h>
#include <string.h>
#include <assert.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
//#include <GL/glut.h>
#include <Nebula/gfx/glsl/Uniform/vector.hpp>
#include <Nebula/free.hh>
/*
void neb::glsl::Uniform::Scalar::Mat4::load(mat4 const & m) {
assert(o_ != -1);
glUniformMatrix4fv(o_, 1, fals... | [
"charlesrymal@gmail.com"
] | charlesrymal@gmail.com |
94b8494faa39f94e50cae85727d633fda1e03489 | 2ba3a298d8967fd1a14b5a82b0d262669735eed8 | /src/qt/bitcoin.cpp | a7a5c3edabf094259a444fc9d804cba160a04f26 | [
"MIT"
] | permissive | creath/aldc | a894d9014d3fc2ebb9586023b229305f15abf818 | 72d9e35574d6c1d669178f4c46edcd0f08c23203 | refs/heads/master | 2021-01-13T04:36:09.312070 | 2017-01-20T07:35:51 | 2017-01-20T07:35:51 | 79,536,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,645 | cpp | /*
* W.J. van der Laan 2011-2012
*/
#include <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
#include "util.h"
#include "ui_interface.h"
#include "paymentserver.h"
#include "splashscre... | [
"root@citipay.io"
] | root@citipay.io |
114de37f1ddd50ae9f8fce831bb470dec00d3c88 | 9e34e84c20760a9a37512c675074974ac7e56275 | /timus/timus_1238.cpp | 7d6488a868fa0dbd33e7bfd0b8c53db58a8b8d75 | [] | no_license | Slava/competitiveProgramming | 2b7f26bf24143b459c6e2625ef1ea343a926bb76 | b68391720b9f9efc4162a66ca07d9448cffc1453 | refs/heads/master | 2021-01-21T12:40:40.053352 | 2020-01-06T19:21:45 | 2020-01-06T19:21:45 | 9,552,080 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#define min(a,b) (a<b?a:b)
int pi[110];
int prefix (char s[], int n){
int j = 0, ans = 0;
for (int i = 1; i < n; i++){
while(j > 0 && s[j] != s[i])
j = pi[j - 1];
if (s[i] == s[j])
j++;
pi[i] = j;
}
if (n - j <= j){
ans = n - j;
if (n % ans !=... | [
"slava@collections.me"
] | slava@collections.me |
e94ecdc1765242a9e65c930bbdbbf866e0b40bda | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/multimedia/dshow/filterus/dexter/audscrub/audscrub.cpp | 5c7a8ee772fc9661cf7f6b66e4438b021e5d7bf5 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,133 | cpp | // Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
#include <streams.h>
#include <initguid.h>
#include <vfw.h>
// {6A9E0A10-C6C2-11d2-8D3E-00A0C9441E20}
DEFINE_GUID( CLSID_AudioScrubber,
0x6a9e0a10, 0xc6c2, 0x11d2, 0x8d, 0x3e, 0x0, 0xa0, 0xc9, 0x44, 0x1e, 0x20);
class CAudScrub : public CBa... | [
"112426112@qq.com"
] | 112426112@qq.com |
066e3857c5a0f55b96827d2c4f38ab6943ba1953 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/63/1755.c | 670fcd46b7d452b576ab74ad813e92ab1817d981 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | c | //******************
//???3 **
//?????? **
//???2013.11.1 **
//******************
int main()
{
int x1, x2, y1, y2, A[105][105], B[105][105], c[105][105], num = 0;
memset( c, 0, sizeof(c) );
cin >> x1 >> y1;
for ( int i = 0; i < x1; i++ )
for ( int j = 0; j < y1; j++ )
cin >> A[... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
94b0a6f34abedca235254275a1c1e7fe0069b77a | d1e35721f6ea629c596186fc329255f157fb9c37 | /multi_robot_rrt/RobotsPosition.cpp | c26db549d8100a766704726f374298201e6ed8d3 | [] | no_license | rodrigowerberich/MultiTaskAllocation | 2ef6acfd54be12c87d94ccdf3b9a6fbe1bc39218 | 6d0fe2cde8ea4127284b1e6250bcdfa82b43642e | refs/heads/master | 2022-02-27T06:05:03.060567 | 2019-10-13T21:31:21 | 2019-10-13T21:31:21 | 183,325,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | cpp | #include <RobotsPosition.h>
#include <iostream>
Point RobotsPosition::NullPoint = {0,0};
Point RobotsPosition::PlaceHolderPoint = {0,0};
RobotsPosition::RobotsPosition(size_t num_of_robots, const Points& points): m_num_of_robots{num_of_robots}, m_points(num_of_robots){
if(points.size() > m_num_of_robots){
... | [
"rodrigowerberich@hotmail.com"
] | rodrigowerberich@hotmail.com |
174f75f287b6f681afcdb673f155952ce492b999 | 2a3d5ef8faf6dac2efb11a8e77ceedd5394e3d09 | /code/Quartz/src/textures/CubeMap.h | bf2f4be2939a52a9fbf5245f7ffa7adfb0aa7498 | [] | no_license | 18epedersen/cs284a-final-proj | 0dd01df4d1ee08d93edea999a71d3a44af31c7ff | 9cbe8e794da2c2f743bbea5b4c8c31e4c22afebb | refs/heads/master | 2020-05-07T00:56:08.351180 | 2019-05-15T05:20:36 | 2019-05-15T05:20:36 | 180,250,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | h | #pragma once
#include "../errors/ErrorHandler.h"
#include "stb_image\stb_image.h"
#include <vector>
class CubeMap {
public:
CubeMap();
~CubeMap() { GLCall(glDeleteTextures(1, &m_ID)); }
void bind(unsigned int slot = 0) const;
void unbind() const;
private:
unsigned int m_ID;
//std::vector<std::string> m_Face... | [
"georgebzhang5@gmail.com"
] | georgebzhang5@gmail.com |
c0abb0bec13dfe959cc874d910b38a7ea1255771 | d09ecd1e56f9389e7199b030dbbe3573d28c1be2 | /Main20.cpp | e2354c064dda316c998c4830f67ea898757f9b38 | [] | no_license | Casprovy/numerical-methods-in-finance-with-cpp | d2c1addd03122592c4957454b1129bdf5c6cd904 | bc804ebf27028405a77586b39ad78b69ae45d2c0 | refs/heads/master | 2022-04-13T15:29:13.262572 | 2020-02-25T05:14:23 | 2020-02-25T05:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | #include <iostream>
#include "PathDepOption02.h"
using namespace std;
int main()
{
double S0=100., r=0.03, sigma=0.2;
BSModel Model(S0,r,sigma);
double T=1.0/12.0, K=100.0;
int m=30;
ArthmAsianCall Option(T,K,m);
long N=30000;
Option.PriceByMC(Model,N);
cout << "Asian Call Pr... | [
"chcchiang@asiaa.sinica.edu.tw"
] | chcchiang@asiaa.sinica.edu.tw |
e3165c5c4ba969741730011736e2ccf40e80707f | b7f7f54210bbd450a5c749925c6495e53a8aa660 | /libs/gazebo/physics/ode/ODEMesh.hh | e880e5d77f1862f9b22f30bc0e6d0bb5b1862d64 | [] | no_license | robksawyer/ofxGazebo | baa4608f2126c9955ed0ad4d1e10d4a340ab65ed | f44604f2029f9738a53ad090db892ce1ec1a9a0c | refs/heads/master | 2021-01-10T05:15:38.217261 | 2016-03-14T20:35:05 | 2016-03-14T20:35:05 | 53,706,837 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | hh | /*
* Copyright (C) 2014-2016 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"rob.sawyer@razorfish.com"
] | rob.sawyer@razorfish.com |
8ce7d87e0c747d14783011b2736a32379034a169 | 59ea12023da4a0b23d86498f1ea839917116885a | /codeforces/1244/a.cpp | 9fb89f466601a510b4495a66d4e5dfc570dbbaa0 | [] | no_license | electricpants01/ACMicpc-contest | 2da6403080d7669f391be255e038909686c46c9d | 2fb6a23b9a88f8bbf4a8223525d1aaa1d7724310 | refs/heads/master | 2022-02-14T07:52:50.112624 | 2022-01-30T15:15:14 | 2022-01-30T15:15:14 | 131,452,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int d = 16;
cout<<"d es "<<d<<endl;
d = d >> 1;
cout<<"d es "<<d<<endl;
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
532b86ff23b74bbc1dbc5e277162113d617ecfc3 | 8982c709529d20dae5f46e95bbf0822b23ad4c40 | /Warden_lib/include/engine/data/SceneManager.hpp | 57871a49d454ef4cd4c94b17adbc645cb547dca8 | [] | no_license | Solarius66/WardenEngine | 6da099039d19516bada5a10d5ec23a40f19a79fa | 28d27af99ea3cabbadcfae3131ffb0bd58f4c5c9 | refs/heads/master | 2020-12-26T05:33:28.863487 | 2020-06-14T09:58:07 | 2020-06-14T09:58:07 | 237,400,959 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | hpp | /*
** EPITECH PROJECT, 2019
** SceneManager.hpp
** File description:
** SceneManager Class Declaration
*/
#ifndef SCENEMANAGER_HPP_
#define SCENEMANAGER_HPP_
/// @file include/engine/data/SceneManager.hpp
#include <QSharedPointer>
#include "include/engine/data/ISceneManager.hpp"
///
/// SceneManager Class, contain... | [
"alexandre.seignol@epitech.eu"
] | alexandre.seignol@epitech.eu |
c5c1ab454d9e3d1f882f1aad84c20b951fda9226 | b32520558d4b40174d27e89cd2a92a11c3f6e552 | /src/editor/codeeditor.cpp | 9964c43e99a7c853a605453a9c24d36e4b8b6a04 | [
"MIT"
] | permissive | alexcrack/qetchosts | 8bfa5c481ade189e97894b7d63fc7b8b3c1d673b | b902955a49c7385ac79ce1a8caf9db60ecc99ad5 | refs/heads/master | 2020-04-27T12:58:09.616922 | 2019-03-25T13:47:39 | 2019-03-25T13:47:39 | 174,351,042 | 5 | 0 | MIT | 2019-03-22T08:09:24 | 2019-03-07T13:40:43 | C++ | UTF-8 | C++ | false | false | 3,681 | cpp | #include "codeeditor.h"
CodeEditor::CodeEditor(QWidget *parent) : QPlainTextEdit(parent)
{
lineNumberArea = new LineNumberArea(this);
highlighter = new Highlighter(document());
setEditor();
connect(this, &CodeEditor::blockCountChanged, this, &CodeEditor::updateLineNumberAreaWidth);
connect(this,... | [
"a13xcrack@gmail.com"
] | a13xcrack@gmail.com |
02ec8d8e14b511a3bc2f0b239cd1bc8510bb858a | 5b27c5a740e76c5c77c876b0ac2e009abe8cb120 | /lib/monitor/MonDiskspace.cpp | 7fa3190101d25cd827ab14f708ef1d970a156bc3 | [] | no_license | dframework/cpp-common | 5a31ee667fa53a2e27c4ea362a4273889a860cb1 | 745d52e848db5261c9c3b2974999d085baffd1b2 | refs/heads/master | 2021-01-17T20:36:01.823663 | 2020-10-22T11:31:16 | 2020-10-22T11:31:16 | 59,715,298 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,527 | cpp | #include <dframework/monitor/MonDiskspace.h>
#include <dframework/io/File.h>
#include <dframework/util/Regexp.h>
#include <dframework/lang/Integer.h>
#include <dframework/lang/Long.h>
#include <sys/vfs.h>
namespace dframework {
MonDiskspace::Data::Data(){
}
MonDiskspace::Data::~Data(){
}
MonDiskspace::Mon... | [
"dframework0724@gmail.com"
] | dframework0724@gmail.com |
f0df235fdd371af6a31b281294ad41b1fc4c0227 | 6b650ad8d0a87babe0a58ce34a0184e6c07f8b1d | /Third Year/Adv Object Oriented Sys Design Using C++/A1/Assign1.cxx | 0d2bb90a72bc95ad1b2ed2d43a9e6223ae00d549 | [] | no_license | WilliamBriguglio/Undergraduate-Assignments | e5f9becc36d2242fb20eae4266bfe840ea747c94 | b4bbdb0edf69e430418f7bf830f936438fb926fc | refs/heads/master | 2022-04-03T06:01:02.173486 | 2020-01-28T23:53:55 | 2020-01-28T23:53:55 | 109,301,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | cxx | #include <iostream>
#include <iomanip>
#include <map>
#include <string>
#include <algorithm>
using namespace std;
int main(){
map<string, unsigned> hist;
string s;
while (cin >> s) //while no error in input stream or EOF
++hist[s]; //increment the count in the row with string s as a key
cout << "\n\nAn... | [
"briguglw@uwindsor.ca"
] | briguglw@uwindsor.ca |
ea779159968b0a08c014a4005d7af6a48671549d | 3da6556ca4cde0d7c78ebd826fa4f67a00baf16e | /Source/Dynamics/b2WorldCallbacks.cpp | 568e0543cd1a2b93df5a41742540df71a686480e | [
"Zlib"
] | permissive | Rinnegatamante/Box2D | 4320edf8404ef54f0a1391f018cf65d0f9e98f12 | e4e218f5ec0d5e8fab5d6a8f54079066e8dc0a16 | refs/heads/master | 2021-01-22T06:03:14.116068 | 2020-09-04T20:11:20 | 2020-09-04T20:11:20 | 92,520,660 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | cpp | /*
* Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
... | [
"rinnegatamante@gmail.com"
] | rinnegatamante@gmail.com |
0bcf820ab4266ff510f40f1924812cb6097b7628 | 8f667db34f2f6ebcf4c4f8c2153c26c0b375c724 | /MDClient/Application.h | 2cb004b3a5566f810f0b92e847214827e82cf8d4 | [] | no_license | zdong/FIX | f5115e5a0b22931ac6ee2b98518041f738686490 | b7ac27b2248a0c535d8c3db463a4a6fcb0ebd3fc | refs/heads/master | 2020-05-18T20:23:53.001329 | 2014-03-18T03:57:16 | 2014-03-18T03:57:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | h | #ifndef TRADECLIENT_APPLICATION_H
#define TRADECLIENT_APPLICATION_H
#include <quickfix/Application.h>
#include <quickfix/MessageCracker.h>
#include <quickfix/Values.h>
#include <quickfix/Mutex.h>
#include <quickfix/fix42/NewOrderSingle.h>
#include <quickfix/fix42/ExecutionReport.h>
#include <quickfix/fix42/OrderCance... | [
"zhijian.dong@hotmail.com"
] | zhijian.dong@hotmail.com |
591a6bc596f5e4efdfb5141b39ea960f3f332ccf | 4642c03a06bc975145e305317df3869a62892bf9 | /WeatherClick.h | 5aa6bd322581837b922e19a6e0994b6dcc499208 | [] | no_license | ClickerSupport/WeatherClick | 6d3343d59d0dd5ee250ae8a59e1c066b3e807fb2 | 0fee189a4ec4e676922478114e83f98ac89cf39f | refs/heads/master | 2020-12-04T04:28:16.719053 | 2016-08-26T14:14:05 | 2016-08-26T14:14:05 | 66,653,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,093 | h | #ifndef _WEATHERCLICK_H
#define _WEATHERCLICK_H
#include "Arduino.h"
#include <Wire.h>
#define BME280_ADDRESS (0x76)
enum {
BME280_REGISTER_DIG_T1 = 0x88,
BME280_REGISTER_DIG_T2 = 0x8A,
BME280_REGISTER_DIG_T3 = 0x8C,
BME280_REGISTER_DIG_P1 ... | [
"matt@majenko.co.uk"
] | matt@majenko.co.uk |
d8b76e2a6466acf6aecd63ad49b36d63b78b84a3 | d2dd40c21dfe90592168942c6b91cd0d19823df7 | /XInputDemo/XInputDemo/main.cpp | eab3eed9c31e20910a6f4056dd92a9aad9b337b2 | [] | no_license | ZhuoweiDing/Parctise | cbb1b92fe8a9a497066d87e1b140cae5465c564b | b7271775bbd406f6fbbddb0c5ef35ff9f22f0bbf | refs/heads/master | 2020-05-20T02:16:31.466996 | 2013-04-27T06:02:26 | 2013-04-27T06:02:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,340 | cpp | #include<Windows.h>
#include<memory>
#include"XInputDemo.h"
LRESULT CALLBACK WndProc ( HWND hwnd , UINT message , WPARAM wParam , LPARAM lParam );
int WINAPI wWinMain ( HINSTANCE hInstance , HINSTANCE prevInstance , LPWSTR cmdLine , int cmdShow )
{
UNREFERENCED_PARAMETER ( prevInstance );
UNREFERENCED_PARAMETER ( ... | [
"kiritoding@gmail.com"
] | kiritoding@gmail.com |
4d6322e572ac50bfd603e56e220fa2eb33a439f9 | 0c4e6f239618dd565152d070397ec4cbe7fde708 | /Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/Assembly-CSharp.cpp | 10ea19e41c5f98699bb15a74b4fc2cd9d1f8f15f | [] | no_license | TEFA4577/Hito4_RAV | 96e6f90ec4c4e3be28140da4064fcb89b7d02dfa | 9a902da72a8dd1a87b6886a26d7435ead12f6529 | refs/heads/main | 2023-05-23T11:48:31.145978 | 2021-06-11T04:45:48 | 2021-06-11T04:45:48 | 375,906,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379,834 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const Virt... | [
"tefihvmoonwalker77746@gmail.com"
] | tefihvmoonwalker77746@gmail.com |
24c8ac1491ab91465c1e4055b47974a82fd2d73f | 2ac82ee542fc67892d89c94ca43ea9847bf92ffc | /game/GameMode.h | df2875fe5ba87fd4dc21350921f061a61277fee1 | [] | no_license | yudjin87/qml_chess | abadedbe1525addd0f5c39bb85404095a2a72410 | a0d0ad2809a90d855af384a3cae44a8561349051 | refs/heads/master | 2016-09-05T17:24:31.177954 | 2015-07-02T18:19:39 | 2015-07-02T18:19:39 | 38,440,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | h | /* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* Carousel - Qt-based managed component library.
*
* Copyright: 2011-2015 Carousel team
* Authors:
* Eugene Chuguy <eugene.chuguy@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Less... | [
"eugene.chuguy@gmail.com"
] | eugene.chuguy@gmail.com |
381f93d157bce446683defc3523b45de17d89225 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigEvent/TrigMuonEventTPCnv/TrigMuonEventTPCnv/TileMuFeatureCnv_p1.h | a65b99f98e9f8c9f566e3041885fb63e2f57f985 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/**********************************************************************************
* @Project: Trigger
* @Package: TrigMuonEventTPCnv
* @Class : TileMuFeatureCnv_p1
*
* @brief transient-persistent converter for TileMuFeature
*
* @... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
0483cf710beef3f9ec7e03c8177e55d52e85e080 | d4e4770cf534a02dc111f20936477b4c3a69fff8 | /remotemonitor5-12-使用ACCESS数据库/remotemonitor.h | 16cd5850e5a798820495c036b0ac335e15f27e20 | [] | no_license | pikapikaqiu1996/Supervision-and-control-system | 7f2412619bb5fb21bf543cf8323b48ee32cf28a7 | b902ffcc071234765a4fdb560ec784a8a5b68831 | refs/heads/master | 2020-05-01T04:35:48.782509 | 2019-03-23T11:15:23 | 2019-03-23T11:15:23 | 177,278,888 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | h | // remotemonitor.h : main header file for the REMOTEMONITOR application
//
#if !defined(AFX_REMOTEMONITOR_H__1BCFFF20_7B73_4EC4_839E_C53B4867BD4D__INCLUDED_)
#define AFX_REMOTEMONITOR_H__1BCFFF20_7B73_4EC4_839E_C53B4867BD4D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#... | [
"734533927@qq.com"
] | 734533927@qq.com |
5cc1fef3a505338b71ab6a584dd1050e508f610a | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /content/browser/shared_worker/shared_worker_service_impl_unittest.cc | 0644ff6189b713ab7559c5ef8542bdc9b6ce15d5 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 37,474 | cc | // Copyright 2014 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 "content/browser/shared_worker/shared_worker_service_impl.h"
#include <stddef.h>
#include <map>
#include <memory>
#include <set>
#include <stri... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
8b4788e9db9772cad7bcc81e9523b4e83459a127 | 3940e9f7839db65ebc3c4bdb7d6ff3204eab1dc9 | /src/qt/optionsdialog.cpp | e083a70b0dfb8552f5681f89f0b124509189cdf9 | [
"MIT"
] | permissive | GrantLine25/grantline-master | ee25f7d9175e6312cd427b178c92eb98d6ef0ecb | c81186040025c39dc503ce40c5a30707eeb657fb | refs/heads/master | 2021-05-16T11:43:21.757526 | 2017-09-28T22:24:51 | 2017-09-28T22:24:51 | 105,078,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,242 | cpp | #include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
#include <QRegExp>
#include <QRegExpValidator>
OptionsDialog::OptionsDi... | [
"admin@coin.com"
] | admin@coin.com |
20fe006280f8f21b525cbd6e03dbb9ca45102b4b | 6386a49813c3fa723fa6490f010c832e415b87d8 | /leetcode/submission/0394-decode-string.cpp | ebbe5ee7c8f5d3bb3a0ec0f04e2236492c2e6191 | [] | no_license | PYushchenko/contests | 93902860d43ee33b2e683f49f8934e0259a1a5a0 | 9db6ebd6be90f3d87398ead24abf2adb862609ff | refs/heads/master | 2020-05-22T16:06:18.538115 | 2019-05-13T14:27:49 | 2019-05-13T14:27:49 | 186,422,646 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | class Solution {
public:
string decode(string &s, int &pos) {
if (pos >= s.size()) return "";
if (isdigit(s[pos])) {
string counts;
while (isdigit(s[pos])) {
counts += s[pos++];
}
int count = stoi(counts);
pos++;
... | [
"yushchenko@smartdec.ru"
] | yushchenko@smartdec.ru |
4442b62b8282fa2909a420765a3fe06bbc4e6df7 | 0a7230442c536f49bbac38e17cadcf5ede9aa12b | /2sig/missing_pangram.cpp | 010666f3cba608ab4d4fa8dc49ce71f2da5522ae | [] | no_license | vschon/Elements_Of_Programming_Interview | 3260a1b396eb5ff3904574b6b90438c84350cc4d | 2b72987c37f591c4e736003a8138cf58225b6359 | refs/heads/master | 2021-01-15T12:19:20.296968 | 2014-05-10T19:23:12 | 2014-05-10T19:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | cpp | #include <iostream>
#include <unordered_map>
#include <vector>
#include <string>
#include <utility>
/*
FindMissingChar(string S)
hashmap H<char, int)
initialize H
set every char count to 0
for each char in s:
increase the count for the char by 1
for each <key,value> pair in H
... | [
"yangrucheng@gmail.com"
] | yangrucheng@gmail.com |
761b011954c41c25d237cddd3010495971a99802 | 627157a23a44a38852c3e146efb8fd993f6c4128 | /3367.cpp | addf969f06b2488bb0e7679fd5898efd7af38eca | [] | no_license | hsh778205/luogu_code | e598fd87896a61ea6c75e3c918885bd00ea6933b | 5280e8d5cae5d5ac51cb9dbbe2a69fd8a8c3595a | refs/heads/master | 2021-07-21T12:24:37.708033 | 2021-03-30T06:29:21 | 2021-03-30T06:29:21 | 247,858,584 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 812 | cpp | #include<iostream>
using namespace std;
int n,m,a[10001];
int getf(int i){//查询i的祖先
if(a[i]==i) return i;//要是祖先就是他自己,直接返回
return a[i]=getf(a[i]);//若不是,就再找。同时把a[i]的祖先也变成即将找的祖先
}//路径压缩
void merge(int x,int y){//合并
//分别找出他们的祖先
if(getf(x)!=getf(y)) //这一行可有可无(有更好)。可以在合并前先判断他们是不是在同一个集合里面
a[getf(x)]=getf(y);
retu... | [
"51521470+hsh778205@users.noreply.github.com"
] | 51521470+hsh778205@users.noreply.github.com |
e9775ceeff68a2cc25029e0c8dfc92b817f52e06 | b1af8bb863a6730e6e4e93129efbad89d33cf509 | /SDK/SCUM_Jeans_02_05_parameters.hpp | c35791ea4fcfd704d2d889232f18c2c1eea6c36c | [] | no_license | frankie-11/SCUM_SDK7.13.2020 | b3bbd8fb9b6c03120b865a6254eca6a2389ea654 | 7b48bcf9e8088aa8917c07dd6756eac90e3f693a | refs/heads/master | 2022-11-16T05:48:55.729087 | 2020-07-13T23:48:50 | 2020-07-13T23:48:50 | 279,433,512 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | hpp | #pragma once
// SCUM (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function ConZ.ClothesItem... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
343ba7581f3a3d117d4778f37b476fafb9b74a08 | ceb020fee45a01645f0b2adc118483c6cf296226 | /SmallestIntegerDivisibleByK.cpp | 0f95fc0fd218c40843968c30cb44132b7708fe41 | [] | no_license | anaypaul/LeetCode | 6423c4ca1b0d147206c06ebb86c9e558a85077f2 | 667825d32df2499301184d486e3a674291c0ca0b | refs/heads/master | 2021-09-28T06:05:21.256702 | 2020-10-12T04:01:46 | 2020-10-12T04:01:46 | 153,226,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | class Solution {
public:
int smallestRepunitDivByK(int K) {
int val = 0;
int length = 0;
for(int i = 0; i<=1000000;i++){
val = (10 * val + 1) %K;
length++;
if(val == 0){
return length;
}
}
return -1;
}
}; | [
"anay.paul2@gmail.com"
] | anay.paul2@gmail.com |
20a0712ff8ba80c34d7306074e61294d5b5c487c | bf2db44f287a9630d564ad75adb1032654134c9a | /Versao alternativa/Jogo.h | 9b55c6cb24462d4e9881500d491f92975c5175e7 | [] | no_license | jpaborges/Cin-race | 01949ee1a2e4a89ea747a6dd469ea4b5352766ef | bbaaf37f9ce9ac217f3f50201f2bdaaf96ce71aa | refs/heads/master | 2020-06-01T05:53:17.396895 | 2014-09-15T14:02:16 | 2014-09-15T14:02:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | h | /*
* File: Jogo.h
* Author: jpaborges
*
* Created on September 18, 2010, 6:44 PM
*/
#ifndef JOGO_H
#define JOGO_H
#include "Pista.h"
#include <allegro.h>
#include <iostream>
#include <vector>
#include "Imagem.h"
typedef enum controle
{
NOVO_JOGO,
MULTIPLAYER,
AJUDA,
RECORDES... | [
"jpaborges@gmail.com"
] | jpaborges@gmail.com |
ff855d6e2a2f625aa88a861541b7c6fd71d9ca11 | 5cb5014451125389a26dd2d130c983cd53321868 | /RF_HT6P20.h | 90738cb7b9c934fe4fba10ed7d42e4a67d8eaa7c | [] | no_license | lucasmaziero/RF_HT6P20 | 73f1a15221736e6e92efb2894b5dd2e5586d955c | 580113308a9bca7face2bb22ba16de8f3f84ac73 | refs/heads/master | 2021-05-03T20:41:51.615351 | 2017-01-03T14:46:15 | 2017-01-03T14:46:15 | 71,420,295 | 4 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,699 | h | /**************************************************************************
LIBRARY DECODER FOR CHIP HT6P20
***************************************************************************
AUTOR: LUCAS MAZIERO - Eletric engineer
E-MAIL: lucas.mazie.... | [
"noreply@github.com"
] | noreply@github.com |
558c750ceb89b3aac21ba0e42945ad2e79bfc2ed | b9dd98d301aa2055616f21fd1026a5e4ff9e81fb | /UVA/11475 - Extend to Palindrome.cpp | 9cba4def89575b7b2c3c6e9b735d898ad45f4e3b | [] | no_license | AlaaAbuHantash/Competitive-Programming | f587fcbbe9da33114c6bed3eb76f5cf0429fbf95 | 179a8473662d04b8c5c129e852f6eab075e80fb2 | refs/heads/master | 2021-07-25T08:17:49.841307 | 2018-08-06T10:06:54 | 2018-08-06T10:06:54 | 128,920,319 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,615 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <set>
#include <utility>
#include <stack>
#include <cstring>
#include <math.h>
#include<cstdio>
#include<deque>
#include<sstream>
/*
You got a dream, you gotta protect it.
*/
#de... | [
"noreply@github.com"
] | noreply@github.com |
84c7b071547bcb9ac7229a06239fc42d8026f258 | 6c6a5fb627b1d51fd4645ff95550b5ff08003e8f | /Example/Source/DX2DEngine/tga2d/math/color.h | ee5bb214b4833c2bb686a470ea4047d671364f19 | [] | no_license | TheHood-AI/EmberNet | f922d7899a7cbeaab25b48cc842be363b46bee4b | 38cd202f2dc4e72f7921e386d5a1fb13d18404ef | refs/heads/master | 2022-06-17T15:19:51.342755 | 2020-05-05T07:07:17 | 2020-05-05T07:07:17 | 250,199,780 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | #pragma once
#include "Vector4.h"
namespace Tga2D
{
class CColor
{
public:
CColor()
:myR(0.0f)
, myG(0.0f)
, myB(0.0f)
, myA(0.0f)
{}
CColor(float aR, float aG, float aB, float aA)
{
myR = aR;
myG = aG;
myB = aB;
myA = aA;
}
void Set(float aR, float aG, float aB, float aA)
{... | [
"viktor.jacklin99@gmail.com"
] | viktor.jacklin99@gmail.com |
3803feab4544746fb39244153955a2367e9f2b5c | 80784e1e71187edaaa44cf39f0e8dccbf1893912 | /lighting.h | 55c54035f4b9809726a559962e3e8d3f2e415e72 | [] | no_license | damon-murdoch/opengl-project | 62da65178443dfc315809f8b2e0e2caa888dad1d | 03aa6c8b5655ca08fa717797a24fe1988c9735a4 | refs/heads/master | 2023-04-06T18:12:30.830772 | 2021-04-13T01:46:03 | 2021-04-13T01:46:03 | 134,478,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | #ifndef _INCLUDE_LIGHTING
#define _INCLUDE_LIGHTING
#include "common.h"
class Light{
public:
GLfloat ambient_light[4];
GLfloat diffuse_light[4];
GLfloat specular_light[4];
GLfloat position[4];
Light::Light();
Light::Light(GLfloat ambient_light[4],GLfloat diffuse_light[4],GLfloat specular_light[4],GLfloat pos... | [
"sirscrubvgc@gmail.com"
] | sirscrubvgc@gmail.com |
27175fb8b9808b347271304518cc22ab9380988e | f09be262c24f8e8d6c029c29832cf1730dd379bb | /include/caffe/layers/cudnn_deconv_layer.hpp | 9abdcd589ef3f4ec0613bedf7c5a3fa696c43d25 | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | NVIDIA/caffe | 86daa95b8bd7cfc74cb22984a8508782c763568b | 82832a87e587a83d4b5a2a451d9f22cb71dd1588 | refs/heads/caffe-0.17 | 2023-09-05T03:40:03.082476 | 2021-08-22T20:29:59 | 2021-08-22T20:29:59 | 31,136,177 | 769 | 394 | NOASSERTION | 2023-04-03T07:27:52 | 2015-02-21T18:41:24 | C++ | UTF-8 | C++ | false | false | 2,458 | hpp | #ifndef CAFFE_CUDNN_DECONV_LAYER_HPP_
#define CAFFE_CUDNN_DECONV_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/layers/deconv_layer.hpp"
namespace caffe {
#ifdef USE_CUDNN
/*
* @brief cuDNN implementation of DeConvolutionLayer.
... | [
"snikolaev@nvidia.com"
] | snikolaev@nvidia.com |
e9e87b16be9b9fe80fd175dd6a067236fe674c7b | e8ec21731f44cd8588ee587b3c840008cfb2f18a | /NITK06.cpp | 709be479f9cbeb68fc3b7d2c92343c3de8066a45 | [] | no_license | mynk322/Spoj | 9a0cde6ce7783529f1e8467720eaf1eccdc40b47 | f2ce970a06187424111101002a9e4423455d11dd | refs/heads/master | 2020-04-23T03:53:03.403090 | 2019-02-15T15:58:51 | 2019-02-15T15:58:51 | 170,890,929 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | #include <bits/stdc++.h>
using namespace std;
#define llt long long int
int main()
{
llt t, z, i, a, b, n, n1, j;
cin >> t;
for (z = 0; z < t; z++)
{
cin >> n;
llt a[n], b[n];
llt s = 0;
for (i = 0; i < n; i++)
{
cin >> a[i];
}
llt po =... | [
"mayankpadia50@gmail.com"
] | mayankpadia50@gmail.com |
cd6b2c536b59489c05cb25dc875920726b56b9be | 6409376322c8cb807f2c1d1137affed097568842 | /ITE_Castor3_SDK/sdk/driver/demod_ctrl/it9133/user.cpp | ddee521dd094d0da41f40b27996217b42e2ed7a7 | [] | no_license | Music802/Midea_Hsg_SDK_V2281 | 141dd25eda566162eb95641c1f397cceb6ad12bf | 0acf53d1d551d5092cf8e63e3a1ee7680c5edbd0 | refs/heads/master | 2021-08-22T21:21:29.821756 | 2017-12-01T09:49:34 | 2017-12-01T09:49:34 | 112,737,483 | 1 | 0 | null | 2017-12-01T12:28:13 | 2017-12-01T12:28:13 | null | UTF-8 | C++ | false | false | 4,720 | cpp |
#include <unistd.h>
#include <stdint.h>
#include "ite/itp.h"
#include "mmp_iic.h"
#include "user.h"
#include "pthread.h"
/**
* Variable of critical section
*/
// Global Mutex for critical section protection
static pthread_mutex_t gAfaMutex = 0;
Dword User_memoryCopy (
IN Demodulator* demodulator,
IN... | [
"itecn0079@internal.itechina.cn"
] | itecn0079@internal.itechina.cn |
192d801c16273fa480c8c609882c8053cb407237 | 40172ef126338b72ee2eff03056c0fced996c957 | /day11/day11.cpp | f281a20f16f8489da7e56f633daaca73b8fc7c44 | [
"MIT"
] | permissive | cristicretu/advent_of_code_2020 | 70413e0cfc2adc39cd475331bbb6955986d44cce | 456969f98bd6df56800301a006fbd6971957914e | refs/heads/main | 2023-02-03T18:47:17.615332 | 2020-12-23T19:21:56 | 2020-12-23T19:21:56 | 322,234,135 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,604 | cpp |
#include <cassert>
#include <fstream>
#include <iostream>
#include <tuple>
#include <vector>
using namespace std;
vector<vector<char>> parse_input(string filename) {
vector<vector<char>> layout;
ifstream input_file;
input_file.open(filename);
string line;
while (getline(input_file, line)) {
vector<ch... | [
"cristicretu38@gmail.com"
] | cristicretu38@gmail.com |
71cbd2d94b969f205ff2e421f8a28dad0bcaac9a | 3f96f4c7d8c32b662a4b913f5596c2c33953ab65 | /BCDNumber.cpp | 8e2c964651601c81ed8e2f16fcd6d4fb801e0ff5 | [] | no_license | hannahellis4242/clock | 397dad52941e6d51747c47cab737a8a7e55447f2 | d8f450f246c7178812b7282ca308a8f48a261d18 | refs/heads/master | 2022-08-29T09:19:00.157778 | 2020-05-28T16:04:52 | 2020-05-28T16:04:52 | 255,748,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include "BCDNumber.h"
BCDNumber::BCDNumber( const uint8_t & data )
: data_( data ) {}
const uint8_t & BCDNumber::raw() const
{
return data_ ;
}
uint8_t BCDNumber::units() const
{
return data_ & 0x0f ;
}
uint8_t BCDNumber::tens() const
{
return ( data_ & 0xf0 ) >> 4 ;
}
uint8_t BCDNumber::asByte() const
{
... | [
"hannah.ellis@pulsic.com"
] | hannah.ellis@pulsic.com |
13bc631ff49310a63fd80039c66ebd857e1a0640 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14763/function14763_schedule_40/function14763_schedule_40_wrapper.cpp | 6bdc9b59ae319ea421873bdb689c281d2f8c959b | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 857 | cpp | #include "Halide.h"
#include "function14763_schedule_40_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){Halide::Buffer<int32_t> buf0(512, 256, 512);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
c142a42b1a4279e374a330bdba6f4fa5b3dc87a0 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /ui/message_center/views/slide_out_controller.cc | 57977736fdcf25ea540abd47adf61a6edfac83a1 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 8,088 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/message_center/views/slide_out_controller.h"
#include "base/bind.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/scoped_laye... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
ab6426e1c9a131e087d57d828b48ade92d84ca3a | 49a5ef856084a0864f6fac950a9b38e79181490c | /MasterThesis_The5/0AlterCode/main_08_12.cpp | 53e8ba2de909aa86df2fffeaa95b8f7a1ce602fb | [] | no_license | The5-1/MasterThesis_The5 | 0720695601fc3eb2e3cfa83dd918bc05a6b7a2a5 | 7f451c64e729c2d879f6719da7ae91fe394759eb | refs/heads/master | 2021-09-17T04:28:29.396062 | 2018-06-27T15:50:00 | 2018-06-27T15:50:00 | 110,879,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,154 | cpp | #define GLEW_STATIC //Using the static lib, so we need to enable it
#define _CRT_SECURE_NO_DEPRECATE
#include <iostream>
#include <GL/glew.h>
#include <GL/glut.h>
#include <Ant/AntTweakBar.h>
#include <memory>
#include <algorithm>
#include "helper.h"
#include "Shader.h"
#include "Skybox.h"
#include "times.h"
#include "... | [
"Kompie8@DESKTOP-14I3S5M"
] | Kompie8@DESKTOP-14I3S5M |
7a1eaa1871d798d9be1c613d919991d1cd836b7d | 26d2a90a6124ba7ce440f9892f90b8b2b5018a51 | /mq135.ino | 6b248d0919837747e9a424cda1fa2b2a9765921d | [] | no_license | ngthanhvinh1996/Project_NodeMonitoring | 9cb8f073227c03250592858e936785fde7b95de6 | 399485796bb174630af415f9b6a0be3ec45b5530 | refs/heads/master | 2020-12-07T20:44:40.130388 | 2020-01-09T11:58:10 | 2020-01-09T11:58:10 | 232,796,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | ino | MQ135 mq135_sensor = MQ135(PIN_MQ135);
//float t = Sensor_DHT_Temperature();
//float h = Sensor_DHT_Humidity();
String MQ135_Sensor(){
// float rzero = mq135_sensor.getRZero();
float correctedRZero = mq135_sensor.getCorrectedRZero(t,h);
// float resistance = mq135_sensor.getResistance();
float ppm = mq135_senso... | [
"="
] | = |
26b9cc4f60823b1e6f0f7478202bb7434dc08f86 | 2219014ace769bb85af6ae590dba013feb7c2e2e | /SideBySideRenderWindowsQt/SideBySideRenderWindowsQt.h | 7276ce2cc912f177f46b0d536fe528f06938e680 | [] | no_license | krishnaprasadsoundararajan/Semester4 | 47c9c39df49255d4864f6d5e96c5447ed34d33bc | 3abc5a6509963547581604fec13bdd99d7231e8e | refs/heads/master | 2020-09-12T22:24:20.416307 | 2014-01-28T09:41:23 | 2014-01-28T09:41:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,377 | h | #ifndef SideBySideRenderWindowsQt_H
#define SideBySideRenderWindowsQt_H
#include <vtkSmartPointer.h>
#include <vtkImageSliceMapper.h>
#include <vtkPolyData.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderer.h>
#include <vtkProperty.h>
#include <vtkImageProperty.h>
#include <vtkProp3D.h>
#inc... | [
"krishnaprasad.s89@gmail.com"
] | krishnaprasad.s89@gmail.com |
64ee3c0d5a07e5a50be37b9e834ddc5bd2c18819 | 2ed4aa631e4f2f4f25fc8ad01c98bf7d2e5fd562 | /src/HII.cpp | 35fa8dac3fe6a2e02f2ad7573b5c912f450b3bae | [] | no_license | hgsteggles/GalSim | eb75f16b47703854661347a8d605f214a12e06db | 34ce1f21415ac2b105098fb2de282568a5fb69db | refs/heads/master | 2020-04-18T09:59:37.037128 | 2016-10-20T20:16:00 | 2016-10-20T20:16:00 | 67,701,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | //
// Created by harry on 11/05/16.
//
#include <cmath>
#include "HII.hpp"
#include "Constants.hpp"
double HII::stromgrenRadius(double ne, double logq, double T) {
double alphaH = 2.59e-13; // cm3.s-1
alphaH *= std::pow(T / 10000.0, -0.7);
return std::pow(3.0 * std::pow(10.0, logq) / (4.0 * CST::PI * ne * ne * alp... | [
"hgsteggles@gmail.com"
] | hgsteggles@gmail.com |
ac7f0c4aecab451362667afc992c78afd4fc7cc8 | 82555ed986f85b47cbb189d5a15b059ba8592946 | /lib/chemm.cpp | a73a8602c8edb5c9fbf2fde55da3189eabcf444b | [
"BSD-3-Clause-Open-MPI",
"BSD-3-Clause"
] | permissive | langou/latl | 5596e7298f5263a64d545267351b82b01a14f096 | df838fb44a1ef5c77b57bf60bd46eaeff8db3492 | refs/heads/master | 2020-03-26T20:12:08.408112 | 2015-05-04T19:51:04 | 2015-05-04T19:51:04 | 10,975,131 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | //
// chemm.cpp
// Linear Algebra Template Library
//
// Created by Rodney James on 1/1/13.
// Copyright (c) 2013 University of Colorado Denver. All rights reserved.
//
#include "blas.h"
#include "hemm.h"
using std::complex;
using LATL::HEMM;
int chemm_(char& side, char& uplo, int &m, int &n, complex<float> &alp... | [
"rodney.james@ucdenver.edu"
] | rodney.james@ucdenver.edu |
f3d687db6f590a798615705c8a9cbb352c4b01a6 | e7235cd7705c80e3b17f4c794faafc54e92d9f20 | /planner/3rdParty/linux-libxsde/xsde/cxx/parser/non-validating/uri.cxx | d52f6f5d43da276ab4da0580c4a95d46690db5c6 | [] | no_license | Emresav/popcorn | b576c6319956a7d77ef0511dd65ed04aa579c152 | 99ff76c0997be393b7dda0e7321c2684954e3aef | refs/heads/master | 2020-03-29T19:15:13.828041 | 2018-10-05T10:44:26 | 2018-10-05T10:44:26 | 150,254,313 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cxx | // file : xsde/cxx/parser/non-validating/uri.cxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsde/cxx/config.hxx>
#include <xsde/cxx/parser/non-validating/ur... | [
"emresavas89@hotmail.com"
] | emresavas89@hotmail.com |
4f0c004a9a1e38f1abb44e8f44ca1bcec662825d | 26678448847f7e56e73ca4f80cf41adc5df20ac9 | /stm32Lib/HAL/Include/RCC/ClockControl.hpp | 9bfbb38f741270d99de738afeb9528d43cceccb0 | [] | no_license | joaoc/STM32LIB | d6e032b363074ba63bffd73fc9df672d1a75944b | 38cdd455c8990613bc963b0bf4714f61d27048c0 | HEAD | 2016-09-02T20:47:38.198194 | 2015-11-16T16:25:47 | 2015-11-16T16:25:47 | 33,891,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,047 | hpp | #pragma once
#ifndef RCC_HPP_INCLUDED
#define RCC_HPP_INCLUDED
#include "Config/config.h"
namespace STM32LIB{
/** \brief Reset and Clock Control acesss.
* \details Alllows to enable/disable peripheral clock.<br>
* Example usage:
* \code
#include "RCC/ClockControl.hpp"
using nam... | [
"joao.c.cabral@gmail.com"
] | joao.c.cabral@gmail.com |
2bfd37acd562081dcf61a06aa00ac6a06faafc50 | 12680d5790ee811ebf53b4b3c1d292576acf1aea | /TP4/exo02.cpp | ea2858822f32c08383502ff02c8d1501d4dee45a | [] | no_license | apolloLemon/algorithmique_s2 | e62a57609a7b5cac4cc998753201f95edc069911 | 9ff6cc43cd56b9dfb5069911d926a2afb92c4232 | refs/heads/master | 2021-10-21T18:51:44.272927 | 2019-03-05T21:09:06 | 2019-03-05T21:09:06 | 117,008,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73 | cpp | struct nb_list {
int nb;
nb_list *nxt;
};
int main (){
return 0;
} | [
"matthewcoyle@me.com"
] | matthewcoyle@me.com |
acb90232ba6b685b2d38011bda6333f3b3b7d9c6 | 64660b80ceb80d0e27f871688a9651a9e2e852ba | /SparkFun_APDS9960.cpp | 1e307b26a889a44c272501f99fedb9a8adf88bba | [] | no_license | karol-szczepaniec/SparkFun_APDS9960_fixed | 275acbb498f111d74aa24436bf111c86bcda465b | 0c79f6b4f6fe467dc60e1a678e3bcb3d6c1d4ed7 | refs/heads/master | 2020-06-09T04:49:39.795447 | 2019-06-23T16:57:49 | 2019-06-23T16:57:49 | 193,373,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56,061 | cpp | /**
* @file SparkFun_APDS-9960.cpp
* @brief Library for the SparkFun APDS-9960 breakout board
* @author Shawn Hymel (SparkFun Electronics)
*
* @copyright This code is public domain but you buy me a beer if you use
* this and we meet someday (Beerware license).
*
* This library interfaces the Avago APDS-99... | [
"noreply@github.com"
] | noreply@github.com |
b7d6876304a0a7f288e8e2118f55b1258c85b750 | 575c265b54bbb7f20b74701753174678b1d5ce2c | /lottery/Classes/lottery/ChongQing/ChongQingBetArea.h | c0ff8578f638ebca8b858eaea5398e3c6cc45715 | [] | no_license | larryzen/Project3.x | c8c8a0be1874647909fcb1a0eb453c46d6d674f1 | cdc2bf42ea737c317fe747255d2ff955f80dbdae | refs/heads/master | 2020-12-04T21:27:46.777239 | 2019-03-02T06:30:26 | 2019-03-02T06:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | h | #ifndef __Game__ChongQingBetArea__
#define __Game__ChongQingBetArea__
#include "CocosUnits.h"
#include "ConfigMgr.h"
#include "AnsString.h"
#include <iostream>
#include "cocos2d.h"
#include "comm.h"
class ChongQingBetArea : public Layer
{
public:
ChongQingBetArea();
virtual ~ChongQingBetArea();
virtual String *get... | [
"hanshouqing85@163.com"
] | hanshouqing85@163.com |
7240c623d7a8766d5cfd55cb404f522a1d68fa7a | 1e6e98f2a25caf35fa52e9ed751820b874d1912f | /include/mos/gfx/character.hpp | 7876f053f1b4289fcddee554227f5cf34257b044 | [
"MIT"
] | permissive | thom-bahm/mos | ee421f57d82c1a16fc3f993fe8583031ab94a97d | 9f1e1e32d2ba28908abc687efbd0cb3c42487328 | refs/heads/master | 2021-01-03T03:22:54.723808 | 2020-02-11T17:40:28 | 2020-02-11T17:40:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | hpp | #pragma once
namespace mos {
namespace gfx {
/** Measurements of a character glyph, for text rendering. */
struct Character final {
float x_offset;
float y_offset;
float x_advance;
float width;
float x;
float y;
float height;
/** Unicode character point id. **/
unsigned int id;
};
}
}
| [
"bengtsson.morgan@gmail.com"
] | bengtsson.morgan@gmail.com |
f2119681fb3fd684e9fb226eb1593e2e0a15217f | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/UMG/Public/Components/OverlaySlot.h | 93d2abe4f67f88feb7514198cecd1db3d27e43a5 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 1,766 | h | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SlateWrapperTypes.h"
#include "Components/PanelSlot.h"
#include "OverlaySlot.generated.h"
/** Slot for the UOverlay panel. Allows content to be hover above other content. */
UCLASS()
class UMG_API UOverlaySlot : public UPanelSlot
... | [
"dkroell@acm.org"
] | dkroell@acm.org |
fda886192f968c071e95f3c7013e51d03bf75161 | fe7dfc6ff8f24881fe4097bc3f3005cfdf361962 | /Plugin~/WebRTCPlugin/GraphicsDevice/Vulkan/UnityVulkanInitCallback.h | 678db47202d8d8ceffc4beb1bb7e233a0d3f0884 | [
"Apache-2.0"
] | permissive | Unity-Technologies/com.unity.webrtc | b897e87a99b10bb616ca378c03a1cecad0894ed5 | 84718a6e2f76f8755f880f1bed043e3f438fc5e3 | refs/heads/main | 2023-09-04T05:34:17.116673 | 2023-09-01T03:14:25 | 2023-09-01T03:14:25 | 206,225,948 | 711 | 186 | NOASSERTION | 2023-09-13T00:52:53 | 2019-09-04T03:46:05 | Assembly | UTF-8 | C++ | false | false | 416 | h | #pragma once
#include <vulkan/vulkan.h>
namespace unity
{
namespace webrtc
{
/// <summary>
///
/// </summary>
/// <param name="getInstanceProcAddr"></param>
/// <param name="userdata"></param>
/// <returns></returns>
PFN_vkGetInstanceProcAddr
InterceptVulkanInitialization(PFN_vkGetIns... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.