blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
da50670e21d7dfd78cbdb53943dafa8968e1f085 | 669b14eca95aa69b10bed108898d24457f2f6b77 | /src/vertex.hpp | b18cf3440720693ddcdd019be9dbd53a4f16420a | [] | no_license | andrei-toterman/solar_system | 00d37c962455fb8f95d62a29ee54b94e7651a870 | 993e9885c05034fbd42e09a9f3aa918cc688b68a | refs/heads/master | 2023-02-19T02:01:57.776312 | 2021-01-20T21:22:56 | 2021-01-20T21:22:56 | 318,847,551 | 0 | 0 | null | 2021-01-01T16:39:27 | 2020-12-05T17:26:08 | C++ | UTF-8 | C++ | false | false | 147 | hpp | #pragma once
#include <glm/glm.hpp>
struct Vertex {
glm::vec3 position_coords;
glm::vec3 normal_coords;
glm::vec2 texture_coords;
};
| [
"andrei.toterman@gmail.com"
] | andrei.toterman@gmail.com |
52485c1a4e364486c163b2c5b51c0429605cb570 | 7aa122a22d586744ab3177dfc94a3f5c2a33a260 | /shading/include/ForwardShader.h | 4565c326194d2b886704936ae527891022c68430 | [] | no_license | octopusprime314/manawar-engine | d608934d8f664ce96f434f0a631fa1d739dbaf3c | 9dcef0956e4ace8c38ca28535645574525b54496 | refs/heads/master | 2022-11-05T00:01:34.859160 | 2020-04-20T14:51:44 | 2020-04-20T14:51:44 | 106,635,965 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | h | /*
* ForwardRenderer is part of the ReBoot distribution (https://github.com/octopusprime314/ReBoot.git).
* Copyright (c) 2017 Peter Morley.
*
* ReBoot 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, version 3.... | [
"peter_morley@my.uri.edu"
] | peter_morley@my.uri.edu |
3913466101cb2a6551c0428ea606dcf603ff0226 | 77c12e4b652b83c386d61ce24e1a14a9a3071177 | /Bank2/Bank2.h | b9adf3787ec2fadcaf4f16f6d103acd92ac53bf1 | [] | no_license | ok0035/CPPTraining | affbfd8a05c46be0d582f651f961c6f6197137a7 | 81e1c82ca67dc29c633f98de6c85aacaa1d7a63e | refs/heads/master | 2021-04-29T13:41:42.687289 | 2018-03-07T14:30:35 | 2018-03-07T14:30:35 | 121,756,298 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 318 | h | #ifndef __BANK2__
#define __BANK2__
class Account {
private:
int accID; // 계좌번호
int balance; // 잔 액
char *cusName; //고객이름
public:
Account(int ID, int money, char *name);
int GetAccID() const;
void Deposit(int money);
int Withdraw(int money);
void ShowAccInfo();
~Account();
};
#endif
| [
"mapl003@naver.com"
] | mapl003@naver.com |
7ef4901da475d64beee36228db6246c8cfdb1e9d | d430f39b5c6012cbc24a9ce30355381e8153acc3 | /2A1/hard_dif.cpp | 130186cb6fd9ebff0dafac4d4af10da194981c75 | [] | no_license | fypiskate/practice-of-algorithms | ed13319fa14ff4dd1914f9514ed6a873deabba82 | cfaab36c3b0210cc1cd45c5af6b191642e152160 | refs/heads/master | 2023-08-18T13:08:31.421741 | 2021-09-28T10:28:28 | 2021-09-28T10:28:28 | 411,234,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | //
// Created by katrin on 07.09.2021.
//
#include <iostream>
int main() {
int a, b, c, d;
std::cin >> a >> b >> c >> d;
if (a == 0) {
if (b == 0) {
std::cout << "INF";
} else {
std::cout << "NO";
}
} else {
if (b % a == 0) {
if (c != ... | [
"ek.mandr@yandex.ru"
] | ek.mandr@yandex.ru |
46ae012ecfe87d797e6ce908efc7715315629f0f | d63b1b36634b68070f6f3c017c0250a7ea646e6f | /SMC/GEM5/gem5/src/arch/mips/isa/formats/trap.isa | 796cb5928cfd83b87643dba795002dba246fe857 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later"
] | permissive | jiwon-choe/Brown-SMCSim | ccf506d34d85fb3d085bf50ed47de8b4eeaee474 | ff3d9334c1d5c8d6a00421848c0d51e50e6b67f8 | refs/heads/master | 2021-06-30T00:15:57.128209 | 2020-11-24T03:11:41 | 2020-11-24T03:11:41 | 192,596,189 | 15 | 8 | MIT | 2019-06-20T15:43:00 | 2019-06-18T18:53:40 | C++ | UTF-8 | C++ | false | false | 4,278 | isa | // -*- mode:c++ -*-
// Copyright (c) 2007 MIPS Technologies, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met: redistributions of source code must retain the above copyright
// notice, ... | [
"brandnew7th@gmail.com"
] | brandnew7th@gmail.com |
aa98bed494d6557e78d4b219b526a0330f1c248e | 2c618ee391a7692c35e535a1abeea5cbe8427515 | /DAPILIB/source/MonsterData.h | 7f7e90833fa3738299f532211600f5a7f30d023f | [] | no_license | NiteKat/DAPI | fa7e7d017417ce35ba8418d4f65ef4661b5dad4c | 56d0fa7291560fcce4d3475cb8889cdd830c6198 | refs/heads/master | 2023-03-15T20:05:35.269613 | 2023-03-13T01:55:44 | 2023-03-13T01:55:44 | 138,970,543 | 44 | 11 | null | 2021-04-14T18:43:51 | 2018-06-28T05:31:32 | C++ | UTF-8 | C++ | false | false | 2,527 | h | #pragma once
#include<optional>
#include<string>
namespace DAPI
{
enum struct MonsterType {
NZOMBIE = 0x0,
BZOMBIE = 0x1,
GZOMBIE = 0x2,
YZOMBIE = 0x3,
RFALLSP = 0x4,
DFALLSP = 0x5,
YFALLSP = 0x6,
BFALLSP = 0x7,
WSKELAX = 0x8,
TSKELAX = 0x9,
RSKELAX = 0xA,
XSKELAX = 0x... | [
"dcm254@gmail.com"
] | dcm254@gmail.com |
084309dbbf2257483e922089114c7874ac20bca1 | eda244ef78e215f234e1f44461dff818cf066903 | /chapter_5/break_statement.cpp | 5e9195872038b6320d5d9625d401180b1bcb4024 | [] | no_license | LiuChuang0059/learn_cpp | 9a45732c9d7cb21e08b7b012246653debe9ee555 | cbb1eedec48364fd53ec57872d630c6a0b855ea8 | refs/heads/master | 2020-03-24T10:16:51.228561 | 2018-09-10T08:51:10 | 2018-09-10T08:51:10 | 142,652,179 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
string temp,write;
while(cin >> write)
if(temp==write) break;
else temp = write;
if (cin.eof()) cout<<"No words reapeted!"<< endl;
else cout<< write << "reapeted" << endl;
return 0;
} | [
"noreply@github.com"
] | LiuChuang0059.noreply@github.com |
202977225b6ef15ad76251d0e01cfa3a93377927 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-kinesisvideo/include/aws/kinesisvideo/model/Tag.h | 53dea44c5956acaad2341ba1e766453ee53c80e7 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 4,261 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValu... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c08c43ad538713c5c6c4ffab48e00a93d7febe11 | e46f28e66992f2f74a955fed10ea496a4fb3432e | /Circulo.cpp | f90e3f4dc6c0aa7fedd81016b985c02b827f3fa8 | [] | no_license | hedmon84/Progra3.0Tarea3 | 4fbf2dd64abccf51a34441ac9cafeb3fd243ba3e | e3320ced0d50880f9e13006344cd73ca40eb0f33 | refs/heads/master | 2021-09-06T11:40:47.639677 | 2018-02-06T05:56:16 | 2018-02-06T05:56:16 | 120,039,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | //
// Created by Hedmon lopez on 05/02/2018.
//
#include <iostream>
using namespace std;
int radio=0;
double perimetro=0, area=0;
int main()
{
cout << "::Circulo::\n";
cout << "Ingrese el radio: "; cin >> radio;
cout<<"Diametro: "<<radio*3.14;
perimetro = 2 * 3.14 * radio;
area = 3.14 * radio * ... | [
"hedmonlopes@gmail.com"
] | hedmonlopes@gmail.com |
d5e6927e043227f1df2b4c21961f4608ca0a07ab | 9536b881623482c60ec78cabf6c6318b71de037b | /ODLA/platforms/tensorrt/plugins/batchedNMSPlugin/batchedNMSPlugin.cpp | cdef33200516908ac6165b10b785953e41467150 | [
"Apache-2.0"
] | permissive | ahuizxc/heterogeneity-aware-lowering-and-optimization | d33856cce91e205f50740d1cbfedd10cd455ec11 | 065496a9c3b2923067bccd6fe1519677cb23c4f6 | refs/heads/master | 2023-03-18T21:22:57.033753 | 2021-02-18T16:43:22 | 2021-02-18T16:43:22 | 321,588,303 | 1 | 1 | Apache-2.0 | 2020-12-15T07:34:18 | 2020-12-15T07:34:17 | null | UTF-8 | C++ | false | false | 11,164 | cpp | /*
* Copyright (c) 2019, NVIDIA CORPORATION. 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 requir... | [
"wmzhao.code@gmail.com"
] | wmzhao.code@gmail.com |
4a57b24d7512602896ca8ee7c6f0f6e66e760735 | 1e8bc724d3c69300a55e3f4c42945db167158a82 | /src/plugins/api/SBMLAPI/tests/tests.cpp | 628dfbb86a230ff3cac72a9f122b95079b8d7567 | [
"Apache-2.0"
] | permissive | mirams/opencor | 9104d821a16da92b5023e98ab1c3a07f8b8fbf1d | 71dd884194ec8080f96f8e982c5afedec8473405 | refs/heads/master | 2021-01-18T10:49:32.934690 | 2016-07-21T10:30:57 | 2016-07-21T10:30:57 | 9,960,636 | 0 | 0 | null | 2016-07-21T10:30:57 | 2013-05-09T14:18:17 | C++ | UTF-8 | C++ | false | false | 2,611 | cpp | /*******************************************************************************
Copyright The University of Auckland
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/lice... | [
"agarny@hellix.com"
] | agarny@hellix.com |
a28efd247d477f05b3e41e661906078888c23caf | 8a1f074b4f6464986eeea6b443003007a8db4579 | /DX11_200216/FrameWork/Environment/Environment.h | ee0aad3a55db5fae02fac1613dff943549764066 | [] | no_license | ljm3994/TeraGame | 26719244f670169bf4246d3179fdfa0521fa942c | 08f680dec95b6efdf3f533231e46aa879efe6f28 | refs/heads/master | 2022-11-26T16:26:14.633346 | 2020-08-04T18:29:51 | 2020-08-04T18:29:51 | 285,057,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | h | #pragma once
#include "Framework/Buffer/Environment/ViewProjectionBuffer.h"
#include "FrameWork\Buffer\Environment\DirectionLightBuffer.h"
#include "FrameWork\Buffer\Environment\PointLightBuffer.h"
#include "FrameWork\Buffer\Environment\SpotLightBuffer.h"
class Application;
class Environment
{
private:
friend class ... | [
"ljm3994@gmail.com"
] | ljm3994@gmail.com |
e52a5afff0aa8f4711c8961d58fd8ff145379e1f | 0f3122ce2aa1a5c4c5e0d38c3d8c590ce485ca03 | /security/certificateservices/policy/c++/windowsserver2008/request.cpp | cf61b3f9303ba1554f14b923c3ef3c2b64653e54 | [] | no_license | WindowsKernel/sdk71examples | 15cfee86bcb6621d13b91ca59bba425391b1b7a8 | 677997402e3bd3e51558464e50e4c33ebe1dd491 | refs/heads/master | 2022-04-27T21:10:51.846940 | 2015-01-19T18:35:09 | 2015-01-19T18:35:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,307 | cpp | //+--------------------------------------------------------------------------
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// C... | [
"ganboing@gmail.com"
] | ganboing@gmail.com |
b153174d69acde65bfba4a3d1a8f1fdf5aac77f6 | 8a400b61b3944b3f4da2f805afb681b025e92535 | /Game4/DDPage.h | e80b68bea035dee94ada4228d4dd0b9dfa984e86 | [] | no_license | carson-hatter/Game4 | e7b3baa2adc802cb438c77b1b20fa06e5bdcffea | 64b24d97bbac4f93889b57a3da0bb199d589f622 | refs/heads/master | 2016-09-06T12:11:05.547254 | 2014-08-08T05:27:20 | 2014-08-08T05:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | /*
A cluster of dialog that caters to the needs of "DDScene" : a "Page" class plus
a boolean function to determine if any Page::RText global bounds contain the
mouse cursor position; the function 'getNextPageId' inheirited from "Page" is
redundant, but is inheirited because all other members of "Page" are
worthwhil... | [
"carson.hatter@yahoo.com"
] | carson.hatter@yahoo.com |
7637d9b630ac374a3c7b86e46e10ba9ce9dfe667 | 90b14281e50308326a28fab05bd139311298d587 | /Library/Il2cppBuildCache/iOS/il2cppOutput/Il2CppReversePInvokeWrapperTable.cpp | 98da897394f21a0069c86393427dfcf02060c7f0 | [] | no_license | PietB0X/AR_Moebel | 9212ec990993e6215ebe4fc23555bf1a0927b99e | 2148cd65605744129a84f587bedc0b7ca848a4fa | refs/heads/main | 2023-04-11T06:23:34.721654 | 2021-04-27T17:02:36 | 2021-04-27T17:02:36 | 361,156,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,809 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.String
struct String_t;
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5... | [
"p.berendjy1@googlemail.com"
] | p.berendjy1@googlemail.com |
82b3151c03f97953f24e5d1577c36066dd9af0e2 | 2efbd422ef2389f7812898ab2ca0edccdb35fa5c | /include/algo_geom/cMesh3D.h | c0892d399d981c687ca94c34b9adf5a284844ab6 | [
"LicenseRef-scancode-cecill-b-en"
] | permissive | peppsac/micmac | 4c4ffdd64ec53fa2d4ea6f6b3dcfb0d20182cc02 | 6c7810716d45a200495bfffa3da42aa1a23258fa | refs/heads/master | 2021-01-22T19:42:26.631196 | 2017-03-16T17:49:36 | 2017-03-16T17:49:36 | 85,233,149 | 1 | 1 | null | 2017-03-16T19:16:43 | 2017-03-16T19:16:43 | null | ISO-8859-1 | C++ | false | false | 11,577 | h | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maillet, ... | [
"deseilligny@users.noreply.github.com"
] | deseilligny@users.noreply.github.com |
9c3a214ca65e876da05958d6f6d7230472f36970 | f5f25e7a46aef5222fdf19e8777493f676030403 | /src/Service/ConnectionService.h | f45671127f47ab4a2b729e126bf2f461df1f4839 | [] | no_license | popov-aa/QtBoostDIExample | 842fcd9890ce0ee3ff7750dac1e2c877e77e8997 | 890c83a16dbcb25ef60f9641e891d7fa7402efb0 | refs/heads/master | 2020-11-30T03:36:14.490420 | 2020-01-10T12:30:21 | 2020-01-10T12:30:21 | 230,290,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | h | #pragma once
#include <QString>
class ConnectionService {
public:
ConnectionService();
virtual ~ConnectionService();
QString interface() const;
QString speed() const;
};
| [
"popov.spb@gmail.com"
] | popov.spb@gmail.com |
a3c9db7cee8e45fd6203273acfd27b396a7dc062 | d65089fb1e66b41f4eabdd0676f45a66e03765bd | /texture.h | e7014028506c0a9ed9e00bbf5cbc72e89682e765 | [] | no_license | idgmatrix/Ray3d | c4df9417c01bd3ad5234e24814c83256d94c2801 | d10b3039a1a55a8458761bde245ff3f9d4554bcd | refs/heads/master | 2023-08-17T01:13:22.672060 | 2023-08-12T13:50:38 | 2023-08-12T13:50:38 | 184,364,885 | 6 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 718 | h | /******************************************************
g-Matrix3D Neo Engine
Copyright (c)2003 Kim Seong Wan (kaswan, Â𻧱ͽÅ)
E-mail: kaswan@hitel.net
http://www.g-matrix.pe.kr
*******************************************************/
#ifndef TEXTURE_H
#define TEXTURE_H
#include "stdafx.h"
typed... | [
"noreply@github.com"
] | idgmatrix.noreply@github.com |
6644513e03abe8ec4bf81ee116ab5117165bbb0e | 9c868f082c5954e9e99a4af2b4737e9e88f4cf13 | /extras/vom/vom/bond_group_binding.cpp | 60721dd4265ff930c9074ee5fa54db8e97b9b9ab | [
"Apache-2.0"
] | permissive | kanehuange/vpp | fccd804b4c940bcfcb94f67d6edf8211630df480 | 8186b4f6e5e00a7c4b39c6e79d8cb8372387c857 | refs/heads/master | 2020-03-24T16:45:05.263184 | 2018-07-13T21:29:58 | 2019-05-05T05:11:06 | 142,835,123 | 0 | 0 | Apache-2.0 | 2018-07-30T06:38:27 | 2018-07-30T06:38:27 | null | UTF-8 | C++ | false | false | 3,878 | cpp | /*
* Copyright (c) 2018 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | [
"jonathan.liu@ericsson.com"
] | jonathan.liu@ericsson.com |
82f5285d48588e4797c54875ad7b32bfb19a400f | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/hana/test/issues/github_202.cpp | 62aea3b8fdcde8b2da457f3e7be6710f5904859c | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <sstd/boost/hana/integral_constant.hpp>
#include <sstd/boost/hana/pair.hpp>
#include <sstd/boost/hana/tuple.hpp>
#include <vecto... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
eabe6047e1b8dd086620f843173eb125fc22fe97 | 43bc58c3892d122ba58fb0a05ca0bd9970a56bb6 | /POJ/1797/12948603_AC_391MS_4112K.cpp | 396f4c4a85eb6a8ab8eae07d92911217dbd0996f | [] | no_license | CSdlwr/OJ | 8f5fe75273c685ccca381ae41a2fa7055e376e34 | 224ea9cdbbad6edc25695017fe52fa12f681ac09 | refs/heads/master | 2021-01-22T10:25:41.005901 | 2016-12-11T12:57:32 | 2016-12-11T12:57:32 | 68,557,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | #include <iostream>
using namespace std;
#define MAXN 1005
#define INF 0xfffffff
int min(int a, int b);
int dijkstra();
int w[MAXN][MAXN];
int n, m;
int main() {
int t;
scanf("%d", &t);
for (int nn = 1; nn <= t; ++nn) {
scanf("%d %d", &n, &m);
int v1, v2, wt;
memset(w, -1, sizeof(w));
for (int i = 0; i < m;... | [
"luming.lv@qunar.com"
] | luming.lv@qunar.com |
34ce401e23e6b70719cf956caa0f959855844389 | 1609cd4e9c62923cb6eec331408e5c4e465e66c1 | /include/trident/utils/json.h | ea6fbbb600e719e283a94a8fba5874f83b72940f | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | mmarx/trident | 94114cac86e35f3457b4a19415774b5112bfc973 | 89ae2d9f613d379a4351732b67f8d4c1ff4db4c8 | refs/heads/master | 2021-10-10T20:18:38.778781 | 2021-10-01T11:37:06 | 2021-10-01T11:37:06 | 149,278,326 | 0 | 0 | Apache-2.0 | 2018-09-18T11:37:35 | 2018-09-18T11:37:35 | null | UTF-8 | C++ | false | false | 2,946 | h | #ifndef _JSON_H
#define _JSON_H
#include <kognac/logs.h>
#include <map>
#include <string>
#include <vector>
#include <iostream>
class JSON {
private:
std::map<std::string, std::string> values;
std::map<std::string, JSON> children;
std::vector<std::string> listvalues;
std::vector<... | [
"jacopo@cs.vu.nl"
] | jacopo@cs.vu.nl |
ccbe5f92bb70f5e01e30a804a6509aeb2946be12 | 2c97e06cb0031b47baf889c79f9558ec1c1d8f24 | /week-04/HOMEofficeday5/pointers/swap/main.cpp | 6e4d4c025b288d0eae4cde06638aaa6bf48333f9 | [] | no_license | green-fox-academy/KisG93 | c88d70721671ac3f5b6d4a94b240ca84cb859d98 | 133262e00fd7a82a7269a8f1adfec094114373ba | refs/heads/master | 2020-04-02T17:22:10.749501 | 2019-02-21T13:17:27 | 2019-02-21T13:17:27 | 154,655,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <iostream>
void changer(int &x, int &y);
int main ()
{
int a = 10;
int b = 316;
int *aPtr = &a;
int *bPtr = &b;
changer(a, b);
std::cout << *aPtr << ", " << *bPtr << std::endl;
return 0;
}
void changer(int &x, int &y) {
int keeper = x;
x = y;
y = keeper;
int *k... | [
"kisg93@gmail.com"
] | kisg93@gmail.com |
256bde53adb9a2692a95396c411b3cb7c8839aae | e849efeec50fd305d01c14efc62f6f8d096898fb | /src/perception/3D/polygon_primitives_extraction/src/polygon_primitive_with_texture_rviz.cpp | b8710108be98d200c3a8fe94351fbd283cf22bc7 | [
"BSD-3-Clause"
] | permissive | HuaiyuCai/lartkv5 | e069839976f0100d7eb6090927481dfcc4b0f30d | de7bcd416a1861e7ed19b35ff4258df370fbd07e | refs/heads/master | 2020-04-23T15:42:13.803955 | 2017-10-12T19:55:32 | 2017-10-12T19:55:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,017 | cpp | /**************************************************************************************************
Software License Agreement (BSD License)
Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
All rights reserved.
Redistribution and use in source and binary forms, with o... | [
"vsantos@mec.ua.pt"
] | vsantos@mec.ua.pt |
36bb10c0bf9a571ceb6df70d2cc1be0a1f4970ee | cff81ff659ad529706dc9ba1befbc68d8ae5ad26 | /grading students.cpp | caf49ef057299ef99cbd1208fe9062e82f250531 | [] | no_license | iishipatel/Competetive-Programming | 9dafb3e49e60daee0f7dfca7f88ea23fd0777507 | 2ece5d282e753aee38d503bc5102baffa0141b2f | refs/heads/master | 2020-08-05T23:03:48.027950 | 2019-10-08T12:02:27 | 2019-10-08T12:02:27 | 212,747,647 | 1 | 0 | null | 2019-10-04T06:12:08 | 2019-10-04T06:12:06 | null | UTF-8 | C++ | false | false | 900 | cpp | #include <bits/stdc++.h>
using namespace std;
void solve(int grades[],int max){
// Complete this function
int n;
int result[max];
for(int i = 0; i < max; i++)
{
if(grades[i]>40 && grades[i]!=100)
{
n=grades[i];
n=n/10;
if((n*10+5)-grades[i]>0 && (n*10+5)-... | [
"imabhinav.am@gmail.com"
] | imabhinav.am@gmail.com |
86eaa24940975cb95b617ab3073cc1e9ad0f599a | 9a7683cf91b1a3c338f035b9e7318be165c41782 | /lab_1/main.cpp | 7b9c0502d0f327be0a75b515c19439d7b60d9c6e | [] | no_license | gorbylevako/OOP-2017 | dac03fe0c6bb9a16f4543389412ca9139438720b | a37c33f7d90bed484cc813553ac238c82e316de1 | refs/heads/master | 2021-01-17T15:36:47.350645 | 2017-03-07T14:23:30 | 2017-03-07T14:23:30 | 82,905,038 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,587 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
class A
{
private:
int a, b;
public:
void set_a_b(int a_in, int b_in)
{
a = a_in;
b = b_in;
}
int c(int p)
{
switch(p)
{
case 1:
... | [
"Ксения Горбылева"
] | Ксения Горбылева |
c8acb800ce39c0d297340e6c4acbbec6a5e8e29a | 85d823449bb08a91375ec1e7f85a6b8cd978f627 | /include/external/gason.hpp | 8c0e1f8aad284257475304c0da374a7e15157321 | [
"BSD-2-Clause"
] | permissive | alanrostin/tileson | 4903c31039bd9c61795e2402af51e5ee5eca746b | 0b6ec3bb0fe02769cc3e3e7a58736243bb06cfa0 | refs/heads/master | 2023-06-18T11:24:57.416427 | 2021-07-03T05:27:27 | 2021-07-03T05:27:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,908 | hpp | /*!
*
* The MIT License (MIT)
*
* Copyright (c) 2013-2015 Ivan Vashchaev
*
* 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... | [
"ssbmtonberry@gmail.com"
] | ssbmtonberry@gmail.com |
ad00c9154ae273e0b25d815bbbdd9e2a36dcd965 | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zSOAP/PSS_SoapPublisher_System.cpp | fc94a2929053e5ff877c8cd549cdb06f40bf4a5b | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,000 | cpp | /****************************************************************************
* ==> PSS_SoapPublisher_System --------------------------------------------*
****************************************************************************
* Description : SOAP protocol to publish a system *
* Devel... | [
"jean_milost@hotmail.com"
] | jean_milost@hotmail.com |
bd155efc1d1d279517b970309475fbbff70912ef | 61bd9ef77bc11a903069b8e409e3b535dfcf9e4f | /include/Base.hpp | b77f42ba0a12cc9275a56e30155d5fbbbdf8c489 | [] | no_license | justgook/SlicerLib | 72a20c78bedc02fbde5708d9437c4169379b8488 | 3da1f03076eea47718d69920474cf727a5d3fcee | refs/heads/master | 2020-05-14T13:50:41.569374 | 2014-12-26T12:03:34 | 2014-12-26T12:03:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | hpp | #ifndef __Base_H_
#define __Base_H_
#include <lua.hpp>
#include "Exception.hpp"
class Base {
public:
Base(const char *filename, const int errorBase_):errorBase(errorBase_) {
L = luaL_newstate();
luaL_openlibs(L);
if (luaL_dofile(L, filename)) {
throw(Exception(errorBase + 2,... | [
"justgook@gmail.com"
] | justgook@gmail.com |
3ee03f89748009727979c3356702a38243f374af | 6c1dea00f4f082c9be3b1ba74390084bb776b714 | /SettingsViewTest/instance_tracker.h | d401299390ca9052f215dc062f085fd47a7988f9 | [
"MIT"
] | permissive | phikaczu/SettingsView | b405619a9f67edc3c6ae0ce0d6ae93adb9fd3cd8 | 89b2f3916b003e99580cd5fe61b790e25b8db2d1 | refs/heads/master | 2020-04-10T15:47:48.871776 | 2018-12-16T15:50:41 | 2018-12-16T15:50:41 | 161,123,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | h | #pragma once
#include <algorithm>
#include <functional>
#include <vector>
template <typename T>
class instance_tracker final
{
public:
using instance_t = T;
using container_t = std::vector<std::reference_wrapper<const instance_t>>;
instance_tracker() = delete;
static void register_ins... | [
"filipmohyla01@gmail.com"
] | filipmohyla01@gmail.com |
4237a30b03b8585984062595fa2a60906c1c8e13 | e94e282dc570226d9083e26414544baa154af950 | /Modules/Operation.cpp | 6c7b084d60d012542b94f719f67b7e7726df6807 | [] | no_license | Hirose-Yuto/SocialDistance | 5cd5a96e2a61ede6caf263c20281459e57fba33a | 15b7bc7d1a53b85ce308de5e50cf050d3ae5ee51 | refs/heads/master | 2023-07-20T05:35:47.011151 | 2021-07-13T03:43:20 | 2021-07-13T03:43:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 65 | cpp | //
// Created by Amida on 2021/06/28.
//
#include "Operation.h"
| [
"hirose.y.aj@m.titech.ac.jp"
] | hirose.y.aj@m.titech.ac.jp |
c5f23f5a242fcb8f5327981764bc213fb0b21ad3 | c1474358f693f601cd1e3a158b58a35a04920d71 | /release/ui_newconsulta_paciente_ui.h | d59520b3cdb56007e83a9944eec51929ea12ddd4 | [] | no_license | rodety/Clinica | 4daf7e1de06f86886d5ceed3a3c779567cfe2d42 | 7f59cee381660dea6bce52d42510c5d41616e4c6 | refs/heads/master | 2020-12-24T06:54:12.497079 | 2016-06-11T22:02:51 | 2016-06-11T22:02:51 | 60,613,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,867 | h | /********************************************************************************
** Form generated from reading UI file 'newconsulta_paciente_ui.ui'
**
** Created: Wed 27. May 12:29:14 2015
** by: Qt User Interface Compiler version 4.7.3
**
** WARNING! All changes made in this file will be lost when recompiling U... | [
"rodety@gmail.com"
] | rodety@gmail.com |
6672e82a8df676dbfcdf054474acd239fa146caf | 5de8cb7505cc48cc4179a4030500d85d8305fd36 | /client/StreamLineReader.h | 94ab4185025bf21ea5fadaf684a34d0ae137d876 | [] | no_license | ThousandSunny/cppHttp | 311e049e8540b08eea30cd6adcd2c7e3beae3b34 | 38acaccd0e46a1069faeefdd5b0e5687c0445992 | refs/heads/master | 2023-02-14T02:01:39.698851 | 2021-01-01T16:47:00 | 2021-01-01T16:47:36 | 262,550,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | //
// Created by Tinggeng Yan on 2020/7/22.
//
#ifndef CPPHTTP_STREAMLINEREADER_H
#define CPPHTTP_STREAMLINEREADER_H
#include <array>
#include "constant.h"
/**
* 用于读取一行的数据
*/
class StreamLineReader {
private:
int sock_fd;
public:
StreamLineReader(int sockFd);
public:
void readLine(char *buf);
};
#... | [
"tinggeng.ytg@alibaba-inc.com"
] | tinggeng.ytg@alibaba-inc.com |
4b2d405fb8875b7c1005c77400042cb5d1384fae | 24fbd1bd6b891ba766fd7122d7ccf5ee8406a161 | /test/sort_t.cpp | 5c2224c05961dcbdaf02cb1f5d7ff6408beaeb87 | [] | no_license | iqwxiaopeng/tlib | 7eb126b4cf0d523ba0a19d217e51b655927f4858 | 3233abca57fc856a8880e8a643ea64a0b0f1422a | refs/heads/master | 2021-01-18T05:49:40.503282 | 2013-07-08T07:07:32 | 2013-07-08T07:07:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | cpp | #include <stdio.h>
#include <cstdint>
#include "../sort.h"
void print_array(int arr[], int size)
{
for(int i=0; i<size; i++)
{
printf("%d ", arr[i]);
}
printf("\n");
}
int main()
{
int arr[5] = {1,5,3,2,4};
//int arr[]={5,-3,10,12,-2,-5};
//int arr[]={3,3,3,3,3};
//int arr[]={... | [
"lj8175@gmail.com"
] | lj8175@gmail.com |
1b19718059b3b0129a95d7023b731f30ecb9db63 | 2b4cc3a50855efd249431436fe78550804edcd79 | /SameTree.cpp | 2416a3ca09c05b5a542b380d844bdc1be926cb23 | [] | no_license | 15831944/Leetcode-5 | 47ed9cc68f36162859655ffe88dc87277d5ee689 | 74478380c389fc7e7455a8b2324ea70f4d1b2c96 | refs/heads/master | 2023-03-17T23:02:25.445977 | 2016-02-16T14:58:57 | 2016-02-16T14:58:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
bool isSameTree(TreeNode *p, TreeNode *q) {
// Start typing your C/C++ solution below
/... | [
"tommengdel@gmail.com"
] | tommengdel@gmail.com |
8fe6ffb3e939424a5347aaa827452986919c3215 | 45fc902810ce11ab9e2fd56b21033de1af86dd72 | /overlays/Nuti.framework/Versions/A/Headers/vectortiles/MBVectorTileStyleSet.h | f2cd250f3d441e67aabf7179f7223a85bcd8fc92 | [
"BSD-2-Clause"
] | permissive | oooits72/hellomap3d-ios | 0cbfb1f672002462dd4e4acf36721fe4b9c4471e | 8441f7aa142761fbe9139bce8a00982c782f52c6 | refs/heads/master | 2020-03-30T15:36:28.879330 | 2014-10-10T08:04:27 | 2014-10-10T08:04:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | h | #ifndef MBVECTORTILESTYLESET_H_
#define MBVECTORTILESTYLESET_H_
#include <string>
#include <map>
#include <vector>
#include <memory>
namespace Nuti {
/**
* Style set for MapBox vector tiles. Style set is a read-only key-value containers,
* their contents should not be read or used at application level.... | [
"jaak@nutiteq.com"
] | jaak@nutiteq.com |
a3181f38d97d9da76ce2b948175ba7aff98b87ea | cd790fb7e8ef78b1989531f5864f67649dcb1557 | /uva12032(The Monkey and the Oiled Bamboo).cpp | 3c5f45b44aa5031870acfc31375573a87332f664 | [] | no_license | FatimaTasnim/uva-solution | 59387c26816c271b17e9604255934b7c8c7faf11 | c7d75f0a5384229b243504dfbef4686052b9dea8 | refs/heads/master | 2020-03-27T22:23:18.611201 | 2018-10-23T05:53:46 | 2018-10-23T05:53:46 | 147,226,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int g,n,k=1,initial,hg,prev,next,i,maxima;
int arr[100001];
//freopen("test9.txt","r",stdin);
//freopen("test2.txt","w",stdout);
scanf("%d",&g);
while(g--){
maxima=-1;
scanf("%d",&n);
prev=0;
for(i=0;i<n;i+... | [
"tasnim.roujat@gmail.com"
] | tasnim.roujat@gmail.com |
98fd203cd1f08b0d1e7a17d28a486227ffffe30e | 00ea0c6287de7b49d59fac407c7f0b8e1a0894ea | /C++/链表分区.h | 02b6bc5d025b86d1af40087e28e8b76d117ccec5 | [] | no_license | JairZhu/CODE | b0ff52fce181f7e5282bc6b1f4cbca8b24c9a305 | f2ab7e3ee9c74bddfd6477e249178d994342b9dc | refs/heads/master | 2020-03-28T11:41:24.460884 | 2018-09-11T01:05:05 | 2018-09-11T01:05:05 | 148,239,027 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | #ifndef ListNode_h
#define ListNode_h
#include<iostream>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode() {
val = 0;
next = NULL;
}
ListNode(int x) : val(x), next(NULL) {}
~ListNode() {}
};
#endif
#include <queue>
using namespace std;
ListNode* partList(ListNode* head, int x) {
q... | [
"739741104@qq.com"
] | 739741104@qq.com |
be4d741d6daca544a935fad100846c380fd47297 | 0440fcb4ff56e43c4faf855e441e70a99a30186a | /busmaster/Sources/TestSetupEditorGUI/TSEditorGUI_MDIChildBase.h | 76a7c4c7acadf457c9cce8fbf1da0399579cbbe4 | [] | no_license | MarcSerraLear/UDS_Busmaster | 0383d1d1349dc3d0e29762c1457821807f530b5d | 9f624aa11ebc4041d6048088ac02960f38a80293 | refs/heads/master | 2020-05-17T12:35:02.189914 | 2014-04-14T13:44:27 | 2014-04-14T13:44:27 | 12,892,058 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,373 | h | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will... | [
"mserrasunol@lear.com"
] | mserrasunol@lear.com |
4372cc3f6b56c97661bb2130eef1a1091a925fb5 | 1723d81677fe13ae545972b55d5b0be4ae3094f3 | /apps/viewer/Viewer.cpp | b234ca6e3e52bc28b4bb01e7aa1903a18acc83bd | [
"MIT"
] | permissive | MAPSWorks/atlas-Vulkan-Globe | ec6981827f82e565b92915e6c9e09b9ba14c9c8a | b69b7759be0361ffdcbbba64501e07feb79143be | refs/heads/master | 2022-01-26T14:30:18.978804 | 2018-09-23T12:37:37 | 2018-09-23T12:37:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | cpp | #include "atlas/core/Atlas.hpp"
#include <iostream>
int main(int argc, char *argv[])
{
atlas::Atlas app;
return 0;
} | [
"sguimmara@pobox.com"
] | sguimmara@pobox.com |
011eefdc55caebb6583d5527f6817c4fc36a03cf | daf5203225fa0d3c3383b25f98ef7ad2c36c9662 | /plotdata.cpp | eb64c765f0fc0baf099ebf8f32e7f9e2efec39d9 | [] | no_license | dkyabuki/ICT | 6a3f611d4eb9f3b73962cb9f06994fea82af969e | f71bc2d44b88347e05241c27ed33bc1c8aa044ca | refs/heads/master | 2020-06-05T20:16:29.571001 | 2014-11-04T09:06:47 | 2014-11-04T09:06:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include "plotdata.h"
PlotData::PlotData()
{
}
QRectF PlotData::boundingRect() const
{
if ( d_boundingRect.width() < 0.0 )
d_boundingRect = qwtBoundingRect( *this );
return d_boundingRect;
}
void PlotData::append( const QPointF &point )
{
d_samples += point;
}
void PlotData::clear()
{
d_samples.... | [
"dkyabuki@gmail.com"
] | dkyabuki@gmail.com |
7a0d39bba92825ef03b2f22abc4d4abca8f7c5f9 | 4f8fe7694cb7aed7d53ae11aa594e7b4454fa468 | /Src/Hardware/MCU/STM32L1xx/Src/Memory_Flash.h | 0d610e42ade1eff3623088ce5996a2da8216fef0 | [
"MIT"
] | permissive | jjzhang166/EmbSysLib | 2ef4c7c7641142b2f5ec71b0db7c80d2279f57e1 | 650122100e876a819b1b4e6d52aed24e5504e86e | refs/heads/master | 2021-12-09T03:51:35.748055 | 2016-04-25T16:21:33 | 2016-04-25T16:21:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | h | //*******************************************************************
/*!
\file Memory_Flash.h
\author Thomas Breuer (Bonn-Rhein-Sieg University of Applied Sciences)
\date 23.03.2016
This file is released under the MIT License.
*/
//*******************************************************************
#ifndef _HW_M... | [
"thomas.breuer@h-brs.de"
] | thomas.breuer@h-brs.de |
6ffd816ce0816fb9a7f3074d221b3db6e6cf83ac | 209019b8fd2770aad60905a54da26d13dee081b9 | /tests/test_bitmap.cc | 470df085cff097e5027c6fea4c11e1c64f7900b1 | [] | no_license | miscmo/Rock | d8ae2f9667e7ca505792d018dbaef745f8c45a4a | e40d6015fe7414f6d74850a3e0e7c52775fe1591 | refs/heads/main | 2023-07-11T22:45:21.666498 | 2021-08-23T10:05:39 | 2021-08-23T10:05:39 | 393,286,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,920 | cc | #include "rock/rock.h"
#include "rock/ds/bitmap.h"
#include "rock/ds/roaring_bitmap.h"
static rock::Logger::ptr g_logger = ROCK_LOG_ROOT();
#if 0
void init(uint32_t size, std::set<uint32_t> v = {}) {
//uint32_t size = rand() % 8 * 7 + 128;
std::set<uint32_t> v0;
rock::ds::Bitmap::ptr b;
if(!size) {
... | [
"754657908@qq.com"
] | 754657908@qq.com |
6af83a6d64d3f2f29e1d4c765cfd6c75cb1e5b12 | 0dd8058b60ee4f53f007fba01b9796f213f9c8af | /State/src/low_battery_state.cc | 957fc0c0f4408bf091cb2d4a1971f8779481cb84 | [] | no_license | ertugungor/DesignPatterns | 68cbeb5efb55b2ee481ab9c95c2622a93fa48e1b | 385eb8ffcce93f5da19d63b565f517a89dd0708c | refs/heads/master | 2023-02-28T23:51:56.194780 | 2021-02-06T21:07:17 | 2021-02-06T21:07:17 | 236,246,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cc | #include "low_battery_state.h"
#include <iostream>
void LowBatteryState::OpenApplication(int seconds)
{
std::cout << "Application is running in low battery mode" << std::endl;
int new_battery;
while(seconds > 0)
{
if (operating_system_->GetBatteryLevel() >= kLowBatteryConsumption)
{
new_battery... | [
"ertugungor@gmail.com"
] | ertugungor@gmail.com |
4fbb34d1f55d475b247b8b1871250994afd256d7 | dae8f6787c40c92b79ebd32a80fe3867c07c8c57 | /shadows/Code/Camera.cpp | 60950227459fcda2dc33eeb8298a0cbd197b9788 | [] | no_license | Kamelen/D3D2proj2 | d9d3e9a90d459ad77348731b7ae200fff607840e | d53b314a2b956fc85244131c49a14c3ba4779806 | refs/heads/master | 2021-01-20T22:25:38.770103 | 2013-08-28T07:31:56 | 2013-08-28T07:31:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,658 | cpp | #include "Camera.h"
Camera::Camera(D3DXVECTOR3 pos, D3DXVECTOR3 look, D3DXVECTOR3 right, D3DXVECTOR3 up)
{
this->position = pos;
this->look = look;
this->right = right;
this->up = up;
}
Camera::~Camera(void)
{
}
//////////////////////////////////////////////////////////////
///////////////////////GetSet Metho... | [
"erikpersson583@gmail.com"
] | erikpersson583@gmail.com |
4eaaa1c4bf79be6de12daa6f8bb48981c670ff3a | 5060933b2d12aa50028f3afc4149a041e71e7318 | /include/SI/absorbed_dose.h | 221bbce8c50076978c093afa3aeab95f52d39417 | [
"MIT"
] | permissive | zeta1999/SI | 23e617086748683fb1f2611875577026c14e6044 | 94d5160fae2285ed5e5edc4c6d3abebf34e69f2a | refs/heads/master | 2023-01-05T08:26:26.013524 | 2020-11-04T12:00:32 | 2020-11-04T12:00:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,593 | h | /**
* This file is part of "SI" version 2.0.0
* A header only c++ library that provides type safety and user defined literals
* for handling pyhsical values defined in the International System of
* Units
*
* https://github.com/bernedom/SI
*
* SPDX-License-Identifier: MIT
*
**/
#pragma once
#include "detail/n... | [
"dominik.berner@gmail.com"
] | dominik.berner@gmail.com |
284e7f53abd3d462aa8dc33700849097105b3b50 | ef15a4a77b6e1fbb3220a5047885ba7568a80b74 | /src/testhelpersinput/TestHelpers/Input/BackendFacadeStub.hpp | b330666b5988c69fe5df8e1c0b05a32d90a2420c | [] | no_license | el-bart/ACARM-ng | 22ad5a40dc90a2239206f18dacbd4329ff8377de | de277af4b1c54e52ad96cbe4e1f574bae01b507d | refs/heads/master | 2020-12-27T09:24:14.591095 | 2014-01-28T19:24:34 | 2014-01-28T19:24:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | hpp | /*
* BackendFacadeStub.hpp
*
*/
#ifndef INCLUDE_TESTHELPERS_INPUT_BACKENDFACADESTUB_HPP_FILE
#define INCLUDE_TESTHELPERS_INPUT_BACKENDFACADESTUB_HPP_FILE
/* public header */
#include "Persistency/IO/Connection.hpp"
#include "Persistency/IO/Transaction.hpp"
#include "Input/BackendFacade.hpp"
namespace TestHelpers
... | [
"bartosz.szurgot@pwr.wroc.pl"
] | bartosz.szurgot@pwr.wroc.pl |
bafebf9d82dc75c9002d910f295d1802327992e2 | d46b6c57100fb32e38e0a1455566e520d28f0499 | /kernel/include/carbon/percpu.h | a8ade357bbe1043794c6bddae801929b6a31e64b | [
"MIT",
"BSD-2-Clause"
] | permissive | heatd/Carbon | 3cd14208ee8f677bbb437d9f3a25fdd113b16243 | eb4984806f2dace675df3ffe70351147a8516187 | refs/heads/master | 2021-11-25T12:35:56.167295 | 2021-10-25T11:01:57 | 2021-10-25T11:01:57 | 128,283,939 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,582 | h | /*
* Copyright (c) 2019 Pedro Falcato
* This file is part of Carbon, and is released under the terms of the MIT License
* check LICENSE at the root directory for more information
*/
#ifndef _CARBON_PERCPU_H
#define _CARBON_PERCPU_H
#include <carbon/compiler.h>
unsigned int get_cpu_nr();
#define PER_CPU_VAR(var) __at... | [
"pedro.falcato@gmail.com"
] | pedro.falcato@gmail.com |
bcf5755ae0c17fd500e93665a334a8a8843758f6 | 0ccbb872ef7e3790d6c00171b55c8ec030550389 | /modul14/tugas2.cpp | e88d8631fb8b839b319441cf7e8eaba2a20df079 | [] | no_license | AkhdanFirdaus/belajarC | b8d947d779363d195b366e499c33fd0c3dba34a6 | 519a03cb8c70451941bc498cbe5f2cffd082de8e | refs/heads/master | 2022-11-06T20:12:17.291608 | 2020-06-30T08:54:52 | 2020-06-30T08:54:52 | 276,043,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | #include <iostream>
using namespace std;
int main()
{
int aziz = 70, *defa, *dewi;
cout << "aziz = 70" << endl;
cout << "defa = aziz" << endl;
cout << "dewi = aziz + 3" << endl
<< endl;
defa = &aziz;
cout << "a. Berapakah nilai Defa ?? " << endl;
cout << " Nilai Defa = " << *d... | [
"akhdan.musyaffa.firdaus@gmail.com"
] | akhdan.musyaffa.firdaus@gmail.com |
a7bc5dbcaf43255c33291b52bb83b00e4a99b330 | d9db2195cf3f3f5090d3d9ee938e023ddd43b55d | /AIPI_Engine/Aipi_RETE_BMCond.cpp | 24a059b12a59938ef2f79c05f2d415685e452ecb | [] | no_license | radtek/AiPI | e3a31fbf34a695764a36855cb0fae1e9e48db9d8 | 732a21ba0707be1c01002dcbefba433c69d46e1b | refs/heads/master | 2020-06-08T21:40:36.564225 | 2012-06-09T22:32:01 | 2012-06-09T22:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,379 | cpp | // Aipi_RETE_BMCond.cpp: implementation of the CAipi_RETE_BMCond class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "../AIPI.h"
#include "Aipi_RETE_BMCond.h"
#include "../MainFrm.h"
#include "../ChildFrm.h"
#include "../OutputTabView.h"
#ifdef _DEBUG
#undef ... | [
"malpharo1969"
] | malpharo1969 |
267895bc6166f2d65a58422e0b5d75fb18b1bdd5 | 3fb658e6629175cff615024fcc81f6dc6a5a0291 | /src/GameState.cpp | 0754db96529e823efc526e8e200e1b053b7d6c14 | [] | no_license | jpenny1993/dsLearn | 13865a97079f72300997b5b4693e0497880836d8 | 9957965c5abf1bf21879e3b4acee67e7a35cb555 | refs/heads/main | 2023-03-02T19:36:11.461414 | 2021-02-14T14:54:35 | 2021-02-14T14:54:35 | 330,479,969 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include <cstdio>
#include "GameState.h"
GameState *GameState::_instance = nullptr;
GameState::GameState() {
// The maximum number of entities that can be rendered on NDS is 128
sprite_infos.reserve(MAX_SPRITE_NUMBER);
// Set up logic
_current_scene = Scene::MAIN_MENU;
}
GameState::~GameState() {
}
... | [
"jpenny1993@users.noreply.github.com"
] | jpenny1993@users.noreply.github.com |
ea5d41439dcb5f4fa72de38ce0b5ecf373880d73 | 091fcd4264fa547a504bca9aa79777ebae341e12 | /labclient/qmostraeventi.h | e826ec5409e4ca7ad96c4c95181164a809c02625 | [] | no_license | pvdlab/pc-plc-source-file | 812e18b7f5e41212966ab6c6678a5ef1e580a611 | fa2a947b6758ee0a7c1aaa19ce7e731d33ea05a7 | refs/heads/master | 2021-02-08T18:30:32.309429 | 2020-03-01T19:22:07 | 2020-03-01T19:22:07 | 244,183,992 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #ifndef QMOSTRAEVENTI_H
#define QMOSTRAEVENTI_H
#include <QDialog>
#include <QListWidget>
namespace Ui {
class QMostraEventi;
}
class QMostraEventi : public QDialog
{
Q_OBJECT
public:
explicit QMostraEventi(QWidget *parent =0 );
~QMostraEventi();
void addLista(QListWidget *lista);
void addLista(... | [
"pvdlab.di.villa.riccardo@gmail.com"
] | pvdlab.di.villa.riccardo@gmail.com |
6f00b427913a2b38b4f18fc496419663d5aee708 | 19865a73e81d510b70ee4dcfffe48443667f02bd | /cpp/Dynamic Programming/06_SubsetSum.cpp | 3eaee0724be1902448a1fb5c91585d2fd2ea66ed | [] | no_license | debojeetjha10/algorithms_in_c_and_cpp | f1004bced4ffa7efc1a388a74da099724966d61a | 63e516ceae49d11e0b0b1eca3afb5dde51b63a2d | refs/heads/master | 2022-12-25T05:34:35.253135 | 2020-10-07T17:31:01 | 2020-10-07T17:31:01 | 300,556,085 | 3 | 7 | null | 2020-10-17T16:29:18 | 2020-10-02T08:51:09 | C++ | UTF-8 | C++ | false | false | 1,962 | cpp | //Author: rishab_1128
#include<bits/stdc++.h>
using namespace std;
bool SubsetSum(int n, int*values, int sum)
{
bool**dp=new bool*[n+1];
for(int i=0; i<=n; i++)
{
dp[i]=new bool[sum+1];
}
//Base Cases
for(int j=0; j<=sum; j++)
{
dp[0][j]=0;
}
for(int i=0; i<=n; i++)
{
dp[i][0]=1;
}
for (int i = 1;... | [
"rishabpurkayastha28@gmail.com"
] | rishabpurkayastha28@gmail.com |
127417f8a970847ef07ca2b8d664f7c48ac78ea1 | 66330f421ce3722b150fbb3db020fcd82726cae1 | /rbaMotorDriver.cpp | d337992241825bd6dc7f481f6c7ccfa3f66e8040 | [] | no_license | ozos/robotcar-arduino | 17504b780696d88ced979894bcfb6896114aebfb | 06089cd2352a8b37931e96a7ec7506631663e352 | refs/heads/master | 2020-12-30T10:23:36.235194 | 2015-03-06T08:45:31 | 2015-03-06T08:45:31 | 29,564,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,118 | cpp | /*
This class controls motor's speed using pulse signals.
*/
#include "rbaMotorDriver.h"
rbaMotorDriver::rbaMotorDriver(uint8_t motor1_EN, uint8_t motor1_B, uint8_t motor1_A, uint8_t motor2_EN, uint8_t motor2_B, uint8_t motor2_A)
{
motor1_EN_Pin = motor1_EN;
motor1_A_Pin = motor1_A;
motor1_B_Pin = motor1_B;
mot... | [
"ozos.leyher@gmail.com"
] | ozos.leyher@gmail.com |
5d1239863d27f97f6a7db6d789913777e8e49c79 | ce7453e65bc63cfffa334a39a368891eab082f29 | /mediatek/platform/mt6589/hardware/mtkcam/acdk/src/surfaceview/surfaceView.h | 0533a5bd2c7b078f8a63c33b9ff8041212b4b601 | [] | no_license | AdryV/kernel_w200_kk_4.4.2_3.4.67_mt6589 | 7a65d4c3ca0f4b59e4ad6d7d8a81c28862812f1c | f2b1be8f087cd8216ec1c9439b688df30c1c67d4 | refs/heads/master | 2021-01-13T00:45:17.398354 | 2016-12-04T17:41:24 | 2016-12-04T17:41:24 | 48,487,823 | 7 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 11,615 | h | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"vetaxa.manchyk@gmail.com"
] | vetaxa.manchyk@gmail.com |
1d8cddc01786f956a952dd4b6a5102db394483e8 | 339334d6639abf62f658141d0835e5eb38a6b172 | /webrtc/include/webrtc/media/engine/webrtcvoiceengine.h | 184230e9c1340204210b5510aa1319bc66e41565 | [] | no_license | PoojaGhosh2019/webrtc_reflector | e8897af7cbf72b03dd0b373a25fb178dbc5576c7 | b4249773d13294c2f72104ca35913e2adf1d055c | refs/heads/master | 2022-12-26T11:52:39.855512 | 2020-10-02T16:39:35 | 2020-10-02T16:39:35 | 296,668,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,153 | h | /*
* Copyright (c) 2004 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"pooja.sun@gmail.com"
] | pooja.sun@gmail.com |
b1a8e6d0896114198a589b57d11c19b9a1a4a1c1 | b0ff7bcf70a626e853e177f5dd800d278cf75975 | /RMDS/RMDSDlg.cpp | 9556d096cf12445fa3d717ebb16af400a78138cc | [] | no_license | UMRhamster/RMDS | 8f959d3144fbcf8ddf44aa99dda8ccff93aad310 | eabde5319bfee88a708316358924ca03c68d3880 | refs/heads/master | 2021-09-03T21:41:32.571600 | 2018-01-12T07:32:47 | 2018-01-12T07:32:47 | 116,754,554 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 8,858 | cpp |
// RMDSDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "RMDS.h"
#include "RMDSDlg.h"
#include "afxdialogex.h"
#include "Resource.h"
#include "MainInterface.h"
#include "RegisterDialog.h"
#include "HttpProcess.h"
#include "Utils.h"
#include <regex>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutD... | [
"32890418+UMRhamster@users.noreply.github.com"
] | 32890418+UMRhamster@users.noreply.github.com |
2610306d2524a9fad2d81edd38d6852dfba57f88 | 2cd0803ba1e648d591cb3bae11e879de179f0f93 | /Contests/Virtual Judge/ShengSaiXunLian02/3.cc | d2bb2a419ea795e71f179bec4801921dc40285ad | [
"MIT"
] | permissive | DCTewi/CodeWorkspace | 62e323fc126d92c9e20c711cae4bac9220907e64 | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | refs/heads/master | 2023-05-31T23:46:55.126704 | 2021-06-23T12:11:45 | 2021-06-23T12:11:45 | 175,194,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cc | //B
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAXN = 2e5 + 5;
int prf[MAXN], suf[MAXN];
int ans = -9999;
int main()
{
string a; cin>>a;
for (int i = 1; i < a.size(); i++)
{
prf[i] += prf[i - 1];
if (a[i] == ':' && a[i - 1] == '(') prf[i]++;
}
for... | [
"dctewi@dctewi.com"
] | dctewi@dctewi.com |
341274be443b984af5761b5cc24c5887b610e069 | 4014e8a0e9b0c18d37fca762b890c10a21591421 | /XZZ2l2nu/tools/metCorr/include/SimpleJetCorrectionUncertainty.h | 5b6771e4a4af33d7673c50cccdd8316344985346 | [] | no_license | VirginiaCMS/cmgtools-lite | 03801ebd074c0c617f75c19abffea60e4e79358c | fc43746a91ca3a2bb857858d3c78e15d20f54074 | refs/heads/xzz2l2nu_8026p1 | 2021-01-24T05:41:59.334426 | 2017-10-26T00:42:54 | 2017-10-26T00:42:54 | 67,161,086 | 0 | 2 | null | 2017-10-26T00:42:55 | 2016-09-01T19:43:37 | Fortran | UTF-8 | C++ | false | false | 1,071 | h | #ifndef SimpleJetCorrectionUncertainty_h
#define SimpleJetCorrectionUncertainty_h
//#include "CondFormats/Serialization/interface/Serializable.h"
#include <string>
#include <vector>
class JetCorrectorParameters;
class SimpleJetCorrectionUncertainty
{
public:
SimpleJetCorrectionUncertainty();
SimpleJetCorrectio... | [
"Hengne.Li@CERN.CH"
] | Hengne.Li@CERN.CH |
16c51d634441ac69a20f92ada14d4b125e642278 | 74f84fb04f641f352b482b32696a6536b0b43b33 | /FiniteElementAnalysis/HarwellBoeing.h | cb9b309d70ec57d66af29c04d7c68455c2187a72 | [] | no_license | RMAReader/FiniteElementAnalysis | 23333ee76f05c699f7406e3bd89df383a844abad | 1e4d24b33e77d0162d6a85a8ba987881398ec216 | refs/heads/master | 2020-02-26T15:03:52.550866 | 2017-05-29T20:34:25 | 2017-05-29T20:34:25 | 83,332,823 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | #pragma once
#include <string>
#ifdef FEADLL_EXPORTS
#define FEADLL_API __declspec(dllexport)
#else
#define FEADLL_API __declspec(dllimport)
#endif
class HarwellBoeing
{
public:
HarwellBoeing();
~HarwellBoeing();
static int Save(std::string filename, int NROW, int NCOL, int NNZERO, double VALUES[], int ROWIND[... | [
"richardreader@hotmail.co.uk"
] | richardreader@hotmail.co.uk |
2a835ac09d5984d08c399305a1b5c59feb7eadf9 | fdb54ad118ebdc572ed223dc0f3686d4940c803b | /u2fd/u2fhid.cc | 33a677a598500f4c9d8cb5cad4c84b94c3d20fe1 | [
"BSD-3-Clause"
] | permissive | ComputerStudyBoard/chromiumos-platform2 | 6589b7097ef226f811f55f8a4dd6a890bf7a29bb | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | refs/heads/master | 2022-03-27T22:35:41.013481 | 2018-12-06T09:08:40 | 2018-12-06T09:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,050 | cc | // Copyright 2017 The Chromium OS 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 <algorithm>
#include <memory>
#include <utility>
#include <base/bind.h>
#include <base/callback.h>
#include <base/strings/string_number_conve... | [
"chrome-bot@chromium.org"
] | chrome-bot@chromium.org |
6eed6652d127cc0a2d889e24d2e11d4985d27bdf | 190c2dc8dd46fa83060794b7941f83e83bd6c90c | /TopCoder/srm535/FoxAndGCDLCM_ans.cpp | 2b5045ce0d1340b834e8ffec3759317cf89bb75b | [] | no_license | yku/Competition | 85ce169342e12c28e6d8dca8b78e00be1786403f | 892046f3e80fe3d30fa12ca77f5cbba2d0c764fa | refs/heads/master | 2020-05-20T08:14:01.912818 | 2014-04-13T05:28:26 | 2014-04-13T05:28:26 | 2,637,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,551 | cpp | #include <iostream>
#include <sstream>
#include <cstring>
#include <algorithm>
#include <string>
#include <vector>
#include <cmath>
using namespace std;
class FoxAndGCDLCM {
public:
long long gcd(long long x, long long y)
{
if(y == 0) return x;
else return gcd(y, x % y);
}
/**
* G = gcd(A, B)
* L = (A*B)/G... | [
"kz2yz4@gmail.com"
] | kz2yz4@gmail.com |
7adc04cbb9d0bb1209a314c5e0d5237774bd07d1 | c26db506037704131aad29c0b45343e4407b9680 | /Algorithm/Rotated_Array.cpp | 9bee04d6cfb3e3b39c8d5e0c4f9c4446e188263d | [] | no_license | lalitc375/Data-Structure-And-Algorithms | b9d805cc903f91da9b5e57f21320cea617d8a8ce | fc0f1e3a204aaec96ba721fb6bb239c5a6e5ae0e | refs/heads/master | 2021-01-17T02:25:58.108189 | 2017-04-14T05:35:08 | 2017-04-14T05:35:08 | 49,047,685 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | //By lalitc375
#include<bits/stdc++.h>
#define LL long
#define loop(i,a,b) for(i=a;i<b;++i)
#define plln(n) printf("%lld\n",n)
#define pn(n) printf("%d\n",n)
#define pln(n) printf("%ld\n",n)
#define sll(n) scanf("%lld",&n)
#define sl(n) scanf("%ld",&n)
#define s(n) scanf("%d",&n)
#define MOD 1000000007
using namespace... | [
"lalitc375@gmail.com"
] | lalitc375@gmail.com |
e8215e2b14841adc14f8d323a903b18bb0aa9d5d | cb025796d16332ad92bb39c05dc6b1fe3f79c149 | /blink/blink.ino | 7ebf02eed4f661694035e64d8b4dc5cd3fc05952 | [] | no_license | ash/arduino101 | c9a0e4e2fd94e2643d00ae3dd664faed09d3b15b | ba4893296099d6205175e0a1c836918972968b4b | refs/heads/master | 2021-01-13T15:46:01.338977 | 2016-12-19T20:48:34 | 2016-12-19T20:48:34 | 76,896,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | ino | bool state = LOW;
unsigned long prev = 0;
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
unsigned long now = millis();
if (now - prev > 500) {
state = !state;
digitalWrite(13, state);
prev = now;
}
}
| [
"andy@shitov.ru"
] | andy@shitov.ru |
b8017b157fca31260000e838171ef61078731840 | 533d5e1a40def1e1118895f6ba2b4d503c918d1a | /code/GM/FASTCORD.HPP | 51265722c2c253154b6355f9d0bd3836aa7103a9 | [
"MIT"
] | permissive | gandrewstone/GameMaker | 415cccdf0f9ecf5f339b7551469f07d53e43a6fd | 1fe0070a9f8412b5b53923aae7e64769722685a3 | refs/heads/master | 2020-06-12T19:30:07.252432 | 2014-07-14T14:38:55 | 2014-07-14T14:38:55 | 21,754,773 | 103 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 4,398 | hpp | #ifndef COORDINATE
#define COORDINATE
#include "gen.h"
#define Sign(x) ((x) > 0 ? 1: ((x) == 0 ? 0: (-1)))
#define Min(a,b) ( (a) < (b) ? (a):(b) )
#define Max(a,b) ( (a) > (b) ? (a):(b) )
#define Abs(a) ( (a) > 0 ? (a):(-(a)) )
/* inline int Min (int a, int b) { if (a>b) return b; return a; }
inline i... | [
"g.andrew.stone@gmail.com"
] | g.andrew.stone@gmail.com |
4b878da00cdb99954f6600c57031dbd6ce8fd204 | b23401fabcdd22576f4be2b9b9513bd86778a67a | /paddle/phi/kernels/cpu/log_softmax_grad_kernel.cc | e9cd26f422ce319dbdb4147d765357941e487131 | [
"Apache-2.0"
] | permissive | vishalbelsare/Paddle | bdc8670b430f6784894f5b50bb3183d8293a21cd | 987cb97e36e8f72c48c13d1913506313b8bc338b | refs/heads/develop | 2023-08-31T09:23:41.209085 | 2023-08-30T09:38:54 | 2023-08-30T09:38:54 | 133,497,124 | 0 | 0 | Apache-2.0 | 2023-09-14T18:42:59 | 2018-05-15T10:03:45 | C++ | UTF-8 | C++ | false | false | 3,300 | cc | // Copyright (c) 2022 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... | [
"noreply@github.com"
] | vishalbelsare.noreply@github.com |
160ace08759b4d4a575aefe442b0b78886345ff0 | 507f76500a2c69e124d5b4a0f4e63211d588f470 | /假期笔记/c++/C++day2/test0226/student.h | 8d670c8cb5ccbccae647e46c7ed268a4f7a33395 | [] | no_license | luckydog22/study_note | fce082e6d8bdeffca24aaa0d08dc9260e08f5e3a | 2330cc5a85081b32ae4dfdc2495917095dc95ac2 | refs/heads/master | 2020-12-29T17:07:58.357907 | 2020-04-19T23:52:11 | 2020-04-19T23:52:11 | 238,678,712 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #ifndef STUDENT_H
#define STUDENT_H
#include <string>
using namespace std;
class Student
{
private:
int score;
string name;
public:
Student(int score, string name);
void setScore(int score);
void show();
};
#endif // STUDENT_H
| [
"1961124619@qq.com"
] | 1961124619@qq.com |
a862e5fa0d7264bfd2640e4bfe0e874a980d0f7f | 448115bb6d9c5334d4e94d9866ae1da044590d28 | /src/lib/parser/parser.h | 3b3ce2097d4b51b22a90f599566f98f96ef3fe23 | [
"MIT"
] | permissive | arthurfait/soundcloudcpp | 25a55f37a5faa84cc6ae2863cc6d1576f34b89dd | 23ae084aa620f245e65c3b11178d423cd9363b36 | refs/heads/master | 2021-07-08T02:19:47.788689 | 2020-09-05T19:09:32 | 2020-09-05T19:09:32 | 29,215,687 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | h | #ifndef TRACKPARSER_H
#define TRACKPARSER_H
#include <vector>
#include <string>
#include <json/json.h>
#include "types/track.h"
namespace soundcloud {
class Parser
{
public:
Parser()
: lastParsingSuccessful(false)
, m_lastNextHref("")
{}
~Parser() {}
const std::string& lastNextHref(... | [
"afait@luxoft.com"
] | afait@luxoft.com |
af6c0c60d2066a4f4e447f46d81d1b6a8d3f6869 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /s2/src/s2/s2edge_distances.cc | d0caf6a0ceea3e03c427039d73363a566fdec87b | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,481 | cc | // Copyright 2005 Google Inc. 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 by applicable... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
6375716891d0f0458e5919eebbc9abb3199f8568 | 67b89d73d8c91f01342988cb70160a1e47544d5d | /include/aware/bonjour/detail/service.hpp | 10c91893e5707733049b776eca77496bea00eb14 | [
"BSL-1.0"
] | permissive | Mobsya/aware | 0d03fe16b8361d1d3c65d7792c9741c4e73ea7a9 | d5ca796566045dcb4c7d9c76c12868e4aabc1821 | refs/heads/master | 2021-09-08T23:26:16.736889 | 2021-09-02T08:01:34 | 2021-09-02T08:01:34 | 133,833,909 | 2 | 2 | BSL-1.0 | 2021-09-02T08:01:35 | 2018-05-17T15:33:58 | C++ | UTF-8 | C++ | false | false | 1,332 | hpp | #ifndef AWARE_BONJOUR_DETAIL_SERVICE_HPP
#define AWARE_BONJOUR_DETAIL_SERVICE_HPP
///////////////////////////////////////////////////////////////////////////////
//
// http://github.com/breese/aware
//
// Copyright (C) 2016 Bjorn Reese <breese@users.sourceforge.net>
//
// Distributed under the Boost Software License, ... | [
"breese@stofanet.dk"
] | breese@stofanet.dk |
38a075bbac3977a4301f2d5a128c055ea1446647 | aa51ad32b1db931124b031a655b421cf323a729c | /nco.h | e53a8940d9ced61d3c33ac2396cbcef2ee685137 | [] | no_license | nsmith-/rtlcpp | 5a4ac90eb56d45332bf0a7513162ff64cce44638 | 7849ce90f6a6bc72be1ad60d526d9d2040affae5 | refs/heads/master | 2022-04-27T15:04:09.801106 | 2020-04-27T07:13:33 | 2020-04-27T07:13:33 | 258,903,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | #ifndef NCO_H
#define NCO_H
#include <array>
class Oscillator {
public:
Oscillator(double frequency, uint32_t sample_rate, double initial_phase=0.);
std::array<int32_t, 2> pop();
private:
static constexpr size_t tablesize{256};
static std::array<int32_t, tablesize> sinetable;
static bool sinet... | [
"nick.smith@cern.ch"
] | nick.smith@cern.ch |
6b86694596d82114048fe1b5263d05d975568200 | d196985cfabcac736fe8b1da1037f5ce97facf18 | /tide/master/rest/ThumbnailCache.cpp | 410dfdf50961385dbc6ca8ef25c8363b83d98ae1 | [
"BSD-2-Clause"
] | permissive | ppodhajski/Tide | 9b4edfc4c61fcf82a42b82d0e065e9ac882fce21 | f33173c2fa02ed087886387d741bc38f8a05a870 | refs/heads/master | 2020-04-04T22:59:40.928263 | 2018-06-07T13:54:37 | 2018-07-03T09:46:43 | 60,774,231 | 0 | 0 | null | 2017-10-27T15:11:23 | 2016-06-09T12:47:52 | C++ | UTF-8 | C++ | false | false | 4,571 | cpp | /*********************************************************************/
/* Copyright (c) 2016-2018, EPFL/Blue Brain Project */
/* Pawel Podhajski <pawel.podhajski@epfl.ch>*/
/* Raphael Dumusc <raphael.dumusc@epfl.ch> */
/* All rights reserved. ... | [
"raphael.dumusc@epfl.ch"
] | raphael.dumusc@epfl.ch |
04d9148795edceffff4163d47f31c4a76f42dfb4 | c7b16fffd7b78cf9362071ef2c013c2c0d01f97f | /ParticleLife/src/Particle.cpp | 34de2748801a37bad4eed1f14d78d8de0fdd2cf5 | [
"MIT"
] | permissive | pjulien21/ParticleLife | 0774c932856e8f6e7b9f3130d5d3467bb5e68c16 | f02d78913c51dceb84a3d71e461ea0cd3b4d6375 | refs/heads/master | 2020-07-10T09:07:25.133893 | 2019-08-29T02:30:24 | 2019-08-29T02:30:24 | 204,227,486 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | // Copyright (c) 2019 Philippe Julien
// Email : pjulien21@gmail.com
// LinkedIn : https://www.linkedin.com/in/philippe-julien-a80b2442/
// License : MIT
// https://opensource.org/licenses/MIT
#include "Particle.h"
#include "ofMain.h"
Particle::Particle(const ParticleType& particleType,
... | [
"pjulien21@gmail.com"
] | pjulien21@gmail.com |
2a38307edc5bdd8c8eba02b42a0978200cda8106 | f4320a070e55f684ae2839a3c111ef4ae7266653 | /CppPrimerPlus6th/list_6_10_switch.cpp | 24eb23a02d532d3db6aaee8eff4c3896808e06cc | [] | no_license | q279003765/CppPrimerPlus6th | 0821f3494136072d1ea28f9ddaf71f4a9d9393e6 | 4d7157a2ae5a1cc4953ae96d8502c59035a6f3dc | refs/heads/main | 2023-01-05T19:38:07.522563 | 2020-11-05T04:46:45 | 2020-11-05T04:46:45 | 307,618,470 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,420 | cpp | //
// list_6_10_switch.cpp
// CppPrimerPlus6th
//
// Created by xxin on 2020/10/26.
// Copyright © 2020 xxin. All rights reserved.
//
#include "list_6_10_switch.hpp"
#include <iostream>
using namespace std;
void showmenu();
void report();
void comfort();
int switchfunc();
/*
*
int main()
{
switchfunc();
}
... | [
"xxin225@163.com"
] | xxin225@163.com |
a1cbd14d656011f05886b786f5984cb79a9b7082 | 5d7c3953c3cc29e33150d509d472a796c5803b31 | /vp/src/core/rv64/iss.h | 8c9e464c4174a336925ab25edaacb58cb382896a | [
"MIT"
] | permissive | amedoc/risc-vp_bit-manip-basic-extension | 9c3952b2454039ee84e16ac0400a3364e7c48b56 | df10d2e6346dc0429b56c0b6b6ffa70420dbea9a | refs/heads/main | 2023-02-23T22:48:26.051966 | 2021-01-25T13:14:19 | 2021-01-25T13:14:19 | 332,745,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,808 | h | #pragma once
#include "util/common.h"
#include "core/common/clint_if.h"
#include "core/common/irq_if.h"
#include "core/common/bus_lock_if.h"
#include "core/common/instr.h"
#include "core/common/trap.h"
#include "core/common/core_defs.h"
#include "syscall_if.h"
#include "mem_if.h"
#include "csr.h"
#include "fp.h"
#inc... | [
"ahmed.mahmoudi.mk@gmail.com"
] | ahmed.mahmoudi.mk@gmail.com |
09db74745bc6e1d7706ef137d45f0d5d5dd9b3fc | 0f086c65a1ac30c5a5743684f6efb144b03e8989 | /acmstruggler/1719.cpp | 7caaa9bbe03ab263fe483a3cf6dbbec8e381bb13 | [] | no_license | Solomonwisdom/ForthStruggler | 29d70efc489d39269c490e09357bbcab4cb4fc52 | 54babfa1934073115fc634bdfb4ae54f36049dab | refs/heads/master | 2021-09-16T03:08:15.528525 | 2018-06-15T10:43:00 | 2018-06-15T10:43:00 | 103,479,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: acmstruggler
////Nickname: acmstruggler
////Run ID:
////Submit time: 2015-07-21 17:37:36
////Compiler: Vis... | [
"whg19962015@163.com"
] | whg19962015@163.com |
d872fbefd2e27404aa810942056e122c84664525 | 3f7913b77571e3316b0a549b461535a39df5d4b1 | /Algorithm/CPPSTL/set/set.hpp | f09188ada520139a639bc21b32e04dcc2fb75175 | [
"MIT"
] | permissive | nchkdxlq/Algorithm | c8f668238ad69b42b62e6194bc147effac6c882f | a89aec4859a1e2a1367113bf17345ef4a5c40a91 | refs/heads/master | 2021-11-21T15:05:12.764799 | 2021-10-10T02:29:15 | 2021-10-10T02:29:15 | 97,487,816 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | hpp | //
// set.hpp
// STLDemo
//
// Created by nchkdxlq on 2019/6/11.
// Copyright © 2019 luoquan. All rights reserved.
//
#ifndef set_hpp
#define set_hpp
#include <stdio.h>
void set_entry();
#endif /* set_hpp */
| [
"nchkdxlq.gmail.com"
] | nchkdxlq.gmail.com |
8d6e8ac90b385571e2aed90818795c02b846685b | 9e8dd618018b4abace5fd06a4634cefdedbef531 | /Section 13 - OOP - Classes and Objects/exercise28/Dog.cpp | d62e5197661a2357e1d7c34509b7c096d130b351 | [] | no_license | nmctwisp/Beginning-C-Programming---From-Beginnner-to-Beyond | e51858a4ee71cb459d278b55d5f4e5359fbdf14f | 86983cfad687be6c9cc3ccded101ae8f8a2be34c | refs/heads/master | 2020-09-24T14:17:01.265416 | 2019-12-04T15:25:33 | 2019-12-04T15:27:16 | 225,778,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include "Dog.h"
Dog test_dog() {
//---- WRITE YOUR CODE BELOW THIS LINE----
Dog spot;
spot.name = "Spot";
spot.age = 5;
//---- WRITE YOUR CODE ABOVE THIS LINE----
//---- DO NOT CHANGE THE CODE BELOW----
return spot;
} | [
"chen.k.yam@gmail.com"
] | chen.k.yam@gmail.com |
3c83dfeaf7d78bc503db5be85811fd4d7d45b87c | 9e1fb87d6aa5084c850d3165ea749da67d0add59 | /atcoder/ABC/083_ABC_B.cpp | 505454466c2430f649c287da952bd0e5faf983d5 | [] | no_license | Yang-33/competitive-programming | 673d57bc95efb559f8e2905bad758cd576505761 | f85ef9f1a5763334e4d26f9206154e4f7c0a85ac | refs/heads/master | 2021-01-12T03:19:17.961860 | 2019-10-06T15:35:48 | 2019-10-06T15:35:48 | 78,174,818 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,358 | cpp | #include <bits/stdc++.h>
using namespace std;
using VS = vector<string>; using LL = long long;
using VI = vector<int>; using VVI = vector<VI>;
using PII = pair<int, int>; using PLL = pair<LL, LL>;
using VL = vector<LL>; using VVL = vector<VL>;
#define ALL(a) begin((a)),end((a))
#define RALL(a) (a).... | [
"kasai.yuta0810@gmail.com"
] | kasai.yuta0810@gmail.com |
9ac6a8eca073569d6f12405054e3abe499553f07 | c02e6a950d0bf2ee8c875c70ad707df8b074bb8e | /build/Android/Preview/bimcast/app/src/main/jni/Android.android.content.g.cpp | 3770c65a3ba107f640530379e1a9a00fb8fff964 | [] | no_license | BIMCast/bimcast-landing-ui | 38c51ad5f997348f8c97051386552509ff4e3faf | a9c7ff963d32d625dfb0237a8a5d1933c7009516 | refs/heads/master | 2021-05-03T10:51:50.705052 | 2016-10-04T12:18:22 | 2016-10-04T12:18:22 | 69,959,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,110 | cpp | // This file was generated based on '(multiple files)'.
// WARNING: Changes might be lost if you edit this file directly.
#include <Android.android.content.ComponentName.h>
#include <Android.android.content.Context.h>
#include <Android.android.content.Intent.h>
#include <Android.Base.AndroidBindingMacros.h>
#include <... | [
"mabu@itechhub.co.za"
] | mabu@itechhub.co.za |
ac94750674ac710d75adb044c94a83a544970352 | e9c062c44c10b3df22f1614c3704365308ec94d2 | /Arduino/libraries/ST_Anything/EX_Switch_Dim.cpp | 1c5e7846f8f3e0c9a6eba98c193fe64d589cf3e4 | [] | no_license | bryant1410/ST_Anything | ed645666bfcc886fd398d209838007862f0b44c7 | 59d3561c0f10ccbecf612f9ac4df3ceee7d141ec | refs/heads/master | 2021-01-19T20:49:29.664941 | 2017-04-18T00:13:05 | 2017-04-18T00:13:05 | 88,562,387 | 1 | 0 | null | 2017-04-18T00:13:06 | 2017-04-18T00:13:06 | null | UTF-8 | C++ | false | false | 3,237 | cpp | //******************************************************************************************
// File: EX_Switch_Dim.cpp
// Authors: Dan G Ogorchock
//
// Summary: EX_Switch_Dim is a class which implements the SmartThings "Switch" and "Switch Level" device capabilities.
// It inherits from the st::Executor class... | [
"danogorchock@yahoo.com"
] | danogorchock@yahoo.com |
ecdf14e8152ee3176aefbb1f9f0cffd546b7d4b4 | 28cd4f2c2e1887535239d23d625e890384bdb65c | /MyBot/hlt/location.cpp | b785cc7ef6576a65374f041eca3044962c806937 | [] | no_license | SatputePragati/HaliteChallenge | 32081ff5ef202e77f4b466d5f6906f3f43b5e31e | ffda2ab2e10646ff499da10ed6a9a5fac54d88bd | refs/heads/master | 2021-08-30T11:37:00.612606 | 2017-12-17T19:39:22 | 2017-12-17T19:39:22 | 111,173,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include <cmath>
#include "location.h"
namespace hlt {
std::ostream& operator<<(std::ostream& out, const Location& location) {
out << '(' << location.pos_x << ", " << location.pos_y << ')';
return out;
}
}
| [
"pragati.satpute@gmail.com"
] | pragati.satpute@gmail.com |
27308b26bb226a24667677bf339da7de8a5082cb | da95df412cea60df65e2e91c2b5279c499f456aa | /surface.cpp | bdd5dec11acd2c4309b0e4616446e17f18a34279 | [] | no_license | JCoMcL/vulkan-tutorial-functional | d174a87a501951fcb303134279940c9ff0bde86a | f732decbd3fedc88be159370fb5738e211985e8c | refs/heads/master | 2022-12-07T10:29:14.764023 | 2020-08-27T15:24:12 | 2020-08-27T15:24:12 | 290,812,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | #define GLFW_INCLUDE_VULKAN
// these next two includes are part of the above line and are ignored in compilation
// they are only neccesary as the language server does not recognise that the above lines has this effect
#include <GLFW/glfw3.h>
#include <vulkan/vulkan.h>
#include <stdexcept>
VkSurfaceKHR createSurface(... | [
"rapcyss@gmail"
] | rapcyss@gmail |
710edb4521f893e019284e04f9e8b2780d824df2 | 42e5582c11598d53d661ea45c084a7bede457761 | /Demo/Project2/include/stdafx.h | 1a8399f402d8374e9ad7d0fe21ebd178b96c8f1d | [] | no_license | steezer/duilib | 24c17b795b6d577f2cc49befb3b6345b11c0e19a | babeff3b77d3590bcb987c7e5316cb9a194ae3ab | refs/heads/master | 2020-09-09T23:08:44.996337 | 2019-11-19T09:13:28 | 2019-11-19T09:13:28 | 221,592,249 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h |
#if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
#define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_
#pragma once
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_DEPRECATE
#include <windows.h>
#include <objbase.h>
#include <tchar.h>
#include <atlbase.h>
#include "U... | [
"spring.wind2006@163.com"
] | spring.wind2006@163.com |
a64d989ddb200cab4d62b0084bb17f8f677f4389 | 2112057af069a78e75adfd244a3f5b224fbab321 | /branches/refactor/src_root/include/common/OgreOde/OgreOdeWorld.h | a08a904a8dd150f3c463a97e89a643e55844f8a9 | [] | no_license | blockspacer/ireon | 120bde79e39fb107c961697985a1fe4cb309bd81 | a89fa30b369a0b21661c992da2c4ec1087aac312 | refs/heads/master | 2023-04-15T00:22:02.905112 | 2010-01-07T20:31:07 | 2010-01-07T20:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,902 | h | #ifndef _OGREODEWORLD_H_
#define _OGREODEWORLD_H_
#include "OgreOdePreReqs.h"
#include "OgreOdeMaintainedList.h"
#include "OgreSingleton.h"
#include <map>
namespace OgreOde
{
/** The main class which you will use to simulate your world.
*
* This is the core class of OgreOde, it is directly ana... | [
"psavichev@gmail.com"
] | psavichev@gmail.com |
bbcfbc65b489cf0f11a9d5682681b4ea96c98f1c | 90a26e6ddf65183f628c2005c6faf373d95bd35f | /Flush.ino | 8b22a24ef0c0fa6ab15964c5c72046330c15bde2 | [] | no_license | nalindeepak16/SansadhanHackathon | 06b9a89858b5e9568c04059085b8f622968b7664 | 5d9fec6d586a1f0a3896f6f49a6d9dc084f0e5cb | refs/heads/master | 2022-11-24T22:08:11.934774 | 2020-07-31T08:27:48 | 2020-07-31T08:27:48 | 283,979,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,721 | ino | #include <Servo.h>
int LED = 13; // Use the onboard Uno LED
int isObstaclePin = 2; // This is our input pin
int isObstacle = HIGH; // HIGH MEANS NO OBSTACLE
int servoPin = 3;
Servo Servo1;
const int motorPin1 = 5; // Pin 14 of L293
const int motorPin2 = 6; // Pin 10 of L293
void smallFlush()
{
tone(... | [
"noreply@github.com"
] | nalindeepak16.noreply@github.com |
e6778479957f46d3cc29c341d65ee85a8d67882c | d332acf4ae440a03a32d5b2f780246c9d1e93b41 | /sharpen/main_3.cpp | fc7c2482d345ffa0eb13b4d036bc753928785a13 | [] | no_license | ShenXiaoJun/CUDA-work | 07139838486dc9039489869a3778d4718c9a8dec | b3accc2305f09983ad61f68cc1030c6938c90a71 | refs/heads/master | 2020-04-08T02:37:10.362357 | 2019-01-28T12:31:03 | 2019-01-28T12:31:03 | 158,941,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include "kernel.h"
#define cimg_display 0
#include "CImg.h"
#include <cuda_runtime.h>
#include <stdlib.h>
int main(){
cimg_library::CImg<unsigned char>image("butterfly.bmp");
const int w = image.width();
const int h = image.height();
uchar4 *arr = (uchar4 *)malloc(w*h*sizeof(uchar4));
for(int r = 0; r < h; ++r... | [
"2200319548@qq.com"
] | 2200319548@qq.com |
dc3f85f41bb63635eec40c3412e38172daa8428a | 820c7ac39cedd003e832ea1991402881ac417082 | /PS4Starter/RenderObject.h | fac8b5f9bc8b76a3c534adb76733096e64eaba3c | [] | no_license | Donmiao/Team-4-PS4 | 6d3c10fa961e6a68e830d82ffd154bc5bd7c280d | 26ec1aa198808ea75f1bf30257302d726fb764a5 | refs/heads/master | 2023-03-03T06:24:07.209366 | 2019-03-28T19:42:13 | 2019-03-28T19:42:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | h | #pragma once
#include "../Common/Matrix4.h"
#include "../Common/MeshGeometry.h"
#include"../Plugins/PlayStation4/PS4Texture.h"
class ShaderBase;
class TextureBase;
namespace NCL {
namespace Rendering {
class ShaderBase;
class TextureBase;
}
namespace PS4 {
class RenderObject {
public:
RenderObject();
... | [
"b8052301@newcastle.ac.uk"
] | b8052301@newcastle.ac.uk |
d521286837cfaf0d3ac8e81c95b809c6f1f5df46 | 22ac3f7ee206e8d5e2e0cf727958fd5a93d33d67 | /TFM/Device/MouseAction.h | b974faeeee86a7a617df3de167b6e145cb37a3d3 | [] | no_license | dmmontes/BleDeviceController | 756dfb618561af1c3449daca92e210697ae9285e | 8b116cebb28c0dd80fa38ddf3f58cc3b28a1f048 | refs/heads/main | 2023-02-05T19:23:47.098847 | 2020-12-25T10:39:26 | 2020-12-27T16:10:42 | 308,870,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | h |
#ifndef MOUSE_ACTION
#define MOUSE_ACTION
#include "IAction.h"
/**
* @brief Represents a mouse action
*/
class MouseAction : public IAction
{
public:
///< Implementation of virtual methods from IAction
virtual IAction::ActionData getActionData() override;
/**
* @brief Add rigth click information ... | [
"dmmontes@uoc.com"
] | dmmontes@uoc.com |
9e2873bd5e8f68582a293bce787fc2e52ef8412c | a11e2edaa536604d5bdc867f5f1e04bbc0b58700 | /AggroEngine/src/Resource/Mesh/Modifiers/GenerateTangents.cpp | b42cdf1beb31cc0829d94293b785010d6d406c81 | [] | no_license | Argo15/Aggro-Engine | bd9be7b996ec0c3c9e70fe10ee4d02fc3e57ab18 | 7df2211900e6b3572a06f3195cbb357d23677e5f | refs/heads/master | 2021-12-31T12:23:12.208908 | 2021-10-07T22:10:32 | 2021-10-07T22:10:32 | 72,375,974 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,095 | cpp | #include "GenerateTangents.hpp"
#include "LineMesh.hpp"
#include "MemoryUtil.hpp"
static glm::vec3 top = glm::vec3(0, 1.0, 0);
static glm::vec3 side = glm::vec3(1.0, 0, 0);
GenerateTangents::GenerateTangents()
{
}
shared_ptr<Mesh> GenerateTangents::apply(shared_ptr<Mesh> &sourceMesh)
{
if (!sourceMesh || sourceMes... | [
"wcrane15@gmail.com"
] | wcrane15@gmail.com |
e2e5afb44410f04ef4af2e12209be2b0a8b1579d | 4c88477f18547df725150a5c29371f99af2a2acb | /Codeforces/Problems/950A.cpp | 4dc4ca581446c192f916d7dc1e06a0d0d87c5069 | [] | no_license | SEETHAMRAJU/Competitive_Programming | 912b1e81d3cc07b5eeaebbf0086520700867df4e | b456a35766697363c9b77552a50db2ae1cc42ffd | refs/heads/master | 2020-03-26T09:15:23.047626 | 2019-10-06T05:06:42 | 2019-10-06T05:06:42 | 144,742,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int l,r,a;
scanf("%d%d%d",&l,&r,&a);
int mi = min(l,r);
int ma = max(l,r);
while(a>0 && mi != ma)
{
mi++;
a--;
}
if(a>0)
printf("%d\n",(mi+a/2)*2);
else
printf("%d\n",2*mi);
return 0;
}
| [
"spurvaj@gmail.com"
] | spurvaj@gmail.com |
5c8264fd90d4d470519de055bf382bde59dca83b | 786de89be635eb21295070a6a3452f3a7fe6712c | /psddl_psana/tags/V00-06-04/include/quartz.ddl.h | f145399b9a7eaf614161741ff6b8b9cad061161c | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,469 | h | #ifndef PSANA_QUARTZ_DDL_H
#define PSANA_QUARTZ_DDL_H 1
// *** Do not edit this file, it is auto-generated ***
#include <vector>
#include <iosfwd>
#include <cstring>
#include "ndarray/ndarray.h"
#include "pdsdata/xtc/TypeId.hh"
#include "psddl_psana/camera.ddl.h"
namespace Psana {
namespace Quartz {
/** @class Confi... | [
"davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
6a3af2d1aac369c19ff79dc9b87caa7be1934e40 | 7abcfadb4a9db992ab3d18feeff13415ee836cf3 | /第六章 分支语句和逻辑操作符/6.13 cinfish/cinfish.cpp | 7320e1f434915dfc40a53cb52962cde12a6ffea4 | [] | no_license | wangxinguang110704/C-Primer-Plus- | 12b9d6709952767183305d34c7c5791c46876faa | 2d4263f8dcbc5fa87987e3c51b55a96e4e358131 | refs/heads/master | 2021-01-20T01:13:56.677187 | 2017-05-01T10:09:16 | 2017-05-01T10:09:16 | 89,242,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | // cinfish.cpp -- non-numeric input terminates loop
#include <iostream>
const int Max = 5;
int main()
{
using namespace std;
// get data
double fish[Max];
cout << "Please enter the weights of your fish.\n";
cout << "You may enter up to " << Max
<< " fish <q to terminate>.\n";
cout << "f... | [
"wang.xinguang110704@gmail.com"
] | wang.xinguang110704@gmail.com |
a507d2abffd2ba54799e74f4b70fdd7ea0773bd7 | 24c33c2ed391720a9bc2be77239d93d0e1f2d991 | /Raspberry Pi/Arduino Code/Class_pointer_Structure/Class_pointer_Structure.ino | a18260d9b48cfe8a18da07a9a776993df61e2b32 | [] | no_license | AnthonyWalton1/ARBI | 3ea4dfa051e597984cc486090f25e69170452890 | d620834effb615d9bb31e92d9fb48b84da62a66e | refs/heads/master | 2016-09-01T12:16:56.659112 | 2016-02-10T03:58:29 | 2016-02-10T03:58:29 | 47,526,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,692 | ino | // this is the code that runs the situation handling interrupts, the one that measures time
// the frequency controller interrupt, this interrupt is used to controllthe swicthing of the led's, occurs 3926 times a second
// the time counter / uart use interrupt. keeps track of time with resolution 123 per second upda... | [
"sean.foster@my.jcu.edu.au"
] | sean.foster@my.jcu.edu.au |
cbdece3417ae238894f65ddc7d08c709bef28f9e | a565b3b1c416cd187a34559cb759fe0102f81805 | /Useful Code/Hash.cpp | e3773a3a26c31b28c421070db32abd55dc8d44ba | [
"MIT"
] | permissive | litosly/C- | 468966a61474c2510c7447aee8afe645997b979e | e25cdcd818a616fbdeff166944b6d2e8151260e6 | refs/heads/master | 2021-01-20T15:23:25.151030 | 2017-05-09T15:33:21 | 2017-05-09T15:33:21 | 90,761,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,753 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<math.h>
#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
template<class T>
struct Gethash{
size_t operator ()(const T &x)const{return x;}
};
template<> size_t Gethash<int>::operator ()(const int &... | [
"noreply@github.com"
] | litosly.noreply@github.com |
42a9ba0e7639390652a41b5bea90e4352e961a14 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetsrv/iis/svcs/nntp/adminsso/vroots.cpp | b77507ab91069539a2b6af960bfa1cf67cae3c90 | [] | 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 | 30,487 | cpp | // VirtualRoot.cpp : Implementation of CNntpVirtualRoot & CNntpVirtualRoots.
#include "stdafx.h"
#include "nntpcmn.h"
#include "cmultisz.h"
#include "vroots.h"
#include "oleutil.h"
#include "metautil.h"
#include "metakey.h"
#define THIS_FILE_HELP_CONTEXT 0
#define THIS_FILE_PROG_ID _T("Nntpa... | [
"112426112@qq.com"
] | 112426112@qq.com |
a944e035e6714df206da5b310ff4f121ba200ad5 | 40291ae3695d87d541d558779228f289c4501913 | /ESP8266_MCP3208_PID/WebServer.h | dc1a390caa88856f87bbf2cbc64f65e3652fa4b2 | [] | no_license | mhaas/Coffee-Arduino | bc55699568e8ebdda1f0d284e0464c762317bbdf | e4c7c8e54bf19d3a2dc228bcd0220bbe96ceb8c6 | refs/heads/master | 2020-12-13T21:46:05.722842 | 2015-12-29T11:35:18 | 2015-12-29T11:35:18 | 42,017,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | h |
#ifndef WEB_SERVER_H
#define WEB_SERVER_H
#include <Arduino.h>
#include <WiFiClient.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include "SettingsStorage.h"
class WebServer {
public:
WebServer(SettingsStorage* settings);
void begin();
void update();
void addTrigger(const char* uri... | [
"haas@computerlinguist.org"
] | haas@computerlinguist.org |
4804b8ef21aabe6aa30dc3a347483e0d1fa11c8a | 0d1e16d41663efca9191b51576bf09d64e805623 | /Преподователь № 3/ДЗ№12/5. Шаблоны/3. Статические поля в шаблонном классе/Sample/Main.cpp | 444217a85de0c5fbba3f2a5557fc14be2b3e78cc | [] | no_license | lukianchykov/Flash_C | ddd4ce697952d45d09b1f36dfda9e2ffcc55d758 | 9d6e120155ebe9b674a087687bf99f2d5d9c070e | refs/heads/master | 2021-07-13T17:22:22.216004 | 2017-09-18T17:31:05 | 2017-09-18T17:31:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include <iostream>
#include "Foo.h"
using namespace std;
int main()
{
cout << Foo<int>::s_count << endl;
cout << Foo<double>::s_count << endl;
return 0;
} | [
"lukigor61@gmail.com"
] | lukigor61@gmail.com |
66c915d4667cd5d7e7bf926d1f2f417ca3a94425 | 4d6bf26f4d9a43082f87e177c1a2ac6c9662c288 | /Chapter 14/class specification and implementation/Date.cpp | 5414c88af688c9e8d9abc6b9c54a584d0f029c5d | [] | no_license | Miao4382/Starting-Out-with-Cplusplus | 08d13d75fdb741be59a398b76275c5ee394840ca | dd3a1eadcf403ae57a68183987fc24fbfac0517f | refs/heads/master | 2020-05-24T23:22:49.978761 | 2019-05-20T18:40:01 | 2019-05-20T18:40:01 | 187,513,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,710 | cpp | #include <iostream>
#include "Date.h"
/* Private member function */
void Date::strcpy2(char *destination, const char *source)
{
int i = 0;
while (source[i] != '\0')
destination[i] = source[i++];
destination[i] = '\0';
}
void Date::display_month_name() const
{
if (month[0] == '1')
{
switch (month[1])
{
ca... | [
"33183267+Miao4382@users.noreply.github.com"
] | 33183267+Miao4382@users.noreply.github.com |
4e60291215f428a43670d6caf372875eaeed1aea | 04088f844e6dcdc1ff20940f51be15ea28947a0c | /Beginner/studvote.cpp | 4c32fa40721e24c0db0c41467a195e2fbd87fcd1 | [] | no_license | ishita2206/CodeChef | 8210d81b7db1d9d84f1d8acbd6a69e1319f5d349 | 0004dec37ee018a3dc74e9947631a8f01ef61e00 | refs/heads/master | 2021-01-16T18:21:23.502457 | 2017-08-11T19:12:01 | 2017-08-11T19:12:01 | 100,061,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | #include <iostream>
#define MAX 101
using namespace std;
int main()
{
int t;
cin >> t;
while(t--)
{
int n,k;
cin >> n >> k;
int arr[MAX] = {0}, temp, c = 0;
bool iselig[MAX] = {true};
for(int i = 1 ; i <= n ; i ++ )
{
cin >> temp;
if( temp == i )
iselig[i] = 1;
arr[temp]++;
}
for( int... | [
"noreply@github.com"
] | ishita2206.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.