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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5631489a1e7b8dbb1e348c7148ecab3eb9eeab01 | b0fb3980413944c8b3d5ea96472f52ce0a18d103 | /Graficos/Modelo.cpp | 2179385d22378675de4eaa9f4d8e986464d9afb1 | [] | no_license | MinnethGM/Examen2Graficos | fdd323977cd6d1772572dc225dab859341e74a14 | 17da43639c17cbf8c8e3168dd88c15f6f0daaae1 | refs/heads/master | 2021-04-15T03:53:10.314195 | 2018-03-23T18:24:30 | 2018-03-23T18:24:30 | 126,524,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | cpp | #include "stdafx.h"
#include "Modelo.h"
Modelo::Modelo() {
transformaciones = mat4(1.0f);
}
void Modelo::inicializarVertexArray(GLuint posicionID, GLuint colorID, GLuint transformacionesID) {
this->transformacionesID = transformacionesID;
//Crear un vertex array
glGenVertexArrays(1, &vertexArrayID);
glBind... | [
"veronicaminneth@MINNETH"
] | veronicaminneth@MINNETH |
1a5327ccc89d10a8d73d388818c518e0661170ee | 82e84d9c75c1b09adcdc475f2758d80ae6b9c69b | /src/darwin/Framework/CHIP/gen/callback-stub.cpp | 0ff0367697811e6a35770f21de630d11d638cd65 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | FlomoN/connectedhomeip | bf4cd877b435bd9097d65b8e0e753c65007f797a | fc199cecfb4160944e932b3401b4b6b6a43e903e | refs/heads/master | 2023-04-08T02:56:11.308997 | 2021-04-16T23:07:36 | 2021-04-16T23:07:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,554 | cpp | /*
*
* Copyright (c) 2021 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | [
"noreply@github.com"
] | noreply@github.com |
6c9a24cdd612d7c54502ff33f80254ab8816182e | 597c1c4de7970a292fdc7a88ab6e203a82015705 | /src/mmpm/modbus.h | 98492757f2d353669a5525503b20b29ddb68fb68 | [] | no_license | alex-krutikov/MkStudio | 0fdf05dbf4931f23c6dc676ee5476d6da70651ec | 876cbe83658dfbd200dd7acbf4a54fed06af0f26 | refs/heads/master | 2023-09-04T12:25:31.026208 | 2022-08-30T09:35:56 | 2022-08-30T09:35:56 | 43,285,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,115 | h | #ifndef __modbus_h__
#define __modbus_h__
#include "mmpm_types.h"
#include <QObject>
class AbstractSerialPort;
class QString;
//==============================================================================
// Modbus Master
//==============================================================================
class Modbu... | [
"alex-krutikov@yandex.ru"
] | alex-krutikov@yandex.ru |
588aeb5189bb623ec042771be8b1893e43536785 | 2b1e1bf71d65fb90d8d0787a6332d38559020a18 | /3rdparty/spirv-cross/spirv_hlsl.hpp | f01bcf96fb12fd45a00b41a42e9835433eca6269 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | SammyEnigma/bgfx | 920af505b46db3993462bc2459ef9c1f527768b6 | 01f308dd58194bbe967ca77390b4c7d28c08ce34 | refs/heads/master | 2023-08-16T18:33:16.969654 | 2022-09-21T03:48:48 | 2022-09-21T03:48:48 | 233,206,772 | 0 | 0 | BSD-2-Clause | 2022-09-23T09:33:27 | 2020-01-11T09:25:39 | C++ | UTF-8 | C++ | false | false | 15,678 | hpp | /*
* Copyright 2016-2021 Robert Konrad
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
* 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
... | [
"branimirkaradzic@gmail.com"
] | branimirkaradzic@gmail.com |
6e07831c11976117ce6797bbc45a53832b49341e | b5ec62a30af9acab5e81bb258f0b65992c96b25e | /WasherTest/EXPANDINGDIALOG.H | 8fbfe80eba8c8c6ccb8fb3e380d27f62eaaf6662 | [] | no_license | xuyuand/WasherTest | 4332845ef375edea22a8895e751a8502aab1d534 | d79ac27c564f42744040b7c65adf95aa38623cbd | refs/heads/master | 2021-01-22T21:48:51.263957 | 2017-05-28T03:25:27 | 2017-05-28T03:25:27 | 92,739,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,762 | h | #if !defined(AFX_EXPANDINGDIALOG_H__CC371CE2_1DD1_11D2_96D3_841605C10627__INCLUDED_)
#define AFX_EXPANDINGDIALOG_H__CC371CE2_1DD1_11D2_96D3_841605C10627__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// ExpandingDia... | [
"xuyuand@163.com"
] | xuyuand@163.com |
00c413f0d7b85c918f2cc8b1c922604055a13c15 | b7cc506928ddbb68ba717acf0bae99c6005391d6 | /sdk/ti/compiler_5_2_9/include/assert.h | 3085b205f9aab330cb3699629ffbff7626a22f36 | [
"MIT"
] | permissive | RobbyChapman/plow-bot-v2 | 383be4d3a3c73a7e111937375048805a2e62ebb3 | 4bb2025fc0f348f2b7d6d003c13daffcf162d989 | refs/heads/main | 2023-04-05T03:23:22.102825 | 2021-04-12T19:42:35 | 2021-04-12T19:42:35 | 356,278,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,399 | h | /*****************************************************************************/
/* assert.h v5.2.9 */
/* */
/* Copyright (c) 1993-2017 Texas Instruments Incorporated */
... | [
"RobbyChapman@users.noreply.github.com"
] | RobbyChapman@users.noreply.github.com |
6ab664dee58068336681e65e12f0e6170d6e3f97 | 72b3ce4b329d38953b1545d442161ba8385d8773 | /dance.cpp | cc22b1a99b0c39b844a4f2760383f3362aafa30a | [] | no_license | MitulRakholiya/Dance | 6de7776853f39e4375f50419f41227fbbaf801e8 | 4e6efea5178510808f95a7109283e3bcdae3e17e | refs/heads/master | 2022-12-27T00:42:06.802570 | 2020-10-04T10:47:36 | 2020-10-04T10:47:36 | 301,100,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | /*
dance.cpp
Single line ASCII dancer who dances forever
*/
#include <iostream>
#include <unistd.h>
useconds_t MOVE_SPEED = 500000;
const char* DANCE_MOVES[] = {
"(>'-')>",
"<('-'<)",
"^('-')^",
"v('-')v",
"(>'-')>",
" (^-^) "
};
int main() {
// unbuffered output for std::cout... | [
"mvr16@ubuntu.members.linode.com"
] | mvr16@ubuntu.members.linode.com |
afdb4b908cb38a9fa63d7cda37ce9908e96a452f | 846a619bb3d4437df1ef97587e37878fcf103d20 | /netlib/net/EventLoopThreadPool.cc | 00fb9fac0a75574dc7966c595a2e6ad2df107dea | [] | no_license | nwuking/netlib | 1df16b8267dd35e844c1701d2689d7a811928028 | 2806da415063c14a61bc1a1ea953d97fd4181449 | refs/heads/main | 2023-06-01T23:55:58.163784 | 2021-06-18T14:27:08 | 2021-06-18T14:27:08 | 357,458,032 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,335 | cc | #include "netlib/net/EventLoopThreadPool.h"
#include "netlib/net/EventLoop.h"
#include "netlib/net/EventLoopThread.h"
#include <assert.h>
#include <stdio.h>
using namespace netlib;
EventLoopThreadPool::EventLoopThreadPool(EventLoop *baseLoop, const std::string &name)
: _baseLoop(baseLoop),
_name(name),
... | [
"2283300457@qq.com"
] | 2283300457@qq.com |
f3672391a4cfa0c401d02cda5b376b25667da6a1 | 4ea02c6154fcf86c5ecf336660f5c42ea32836f2 | /src/test/pq/strtox.cpp | 1cc8d573277bb6f2beb87ec7a9108ecacee24d4a | [
"BSL-1.0",
"LicenseRef-scancode-free-unknown"
] | permissive | radpointhq/taopq | 0eb8fd2f2ea5f6fb6e0917e407147ec4fba053a1 | 694c6878fd54bfb3f78d4fc436004e92754e34f6 | refs/heads/master | 2022-11-10T11:22:37.832599 | 2022-10-28T10:13:20 | 2022-10-28T10:13:20 | 185,247,389 | 0 | 0 | MIT | 2021-04-29T19:21:56 | 2019-05-06T18:08:08 | C++ | UTF-8 | C++ | false | false | 5,840 | cpp | // Copyright (c) 2016-2022 Daniel Frey and Dr. Colin Hirsch
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#if defined( _WIN32 )
auto main() -> int {}
#else
#include "../macros.hpp"
#include <cmath>
#include <s... | [
"d.frey@gmx.de"
] | d.frey@gmx.de |
1bd5d72ce5165fa296fbad252a127f4a3b01e745 | 8aa38a2e932fe463eb51c25e65122faaa935dd5c | /Engine_Source/Third_Party/Microsoft/DirectX12/TK/Inc/SpriteBatch.h | a72417fd0da386c3e597859b651382209d4b2462 | [
"MIT",
"Apache-2.0"
] | permissive | GCourtney27/Insight-Engine | 74f25f23a54f29f36b64491a17c161c722a089a1 | ebbe470b697c6e5ab98502c0be4163500d91641a | refs/heads/master | 2023-05-29T13:38:55.302832 | 2020-12-13T20:29:47 | 2020-12-13T20:29:47 | 198,895,159 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,427 | h | //--------------------------------------------------------------------------------------
// File: SpriteBatch.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkID=615561
//-------------------------------------------------------... | [
"garrett1168@outlook.com"
] | garrett1168@outlook.com |
b10271af07dd3d96c99684c3969e29cb9ce649cd | 0bdb717b5df863ea92260cdcbfd98e92320658c8 | /audioplayer/audioplayer.h | 575ef6b1db169beb1f6f5151aee7037639744aa1 | [] | no_license | wylnii/service-robot | abdc789daab7015cc00d810d79799877613f225e | 5c05809380b3b76b2849a93397982e8fd1bb78db | refs/heads/master | 2020-04-06T05:06:30.039857 | 2017-03-16T08:59:15 | 2017-03-16T08:59:15 | 52,859,776 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | #ifndef AUDIOPLAYER_H
#define AUDIOPLAYER_H
#include <QObject>
#include <QProcess>
class AudioPlayer : public QObject
{
Q_OBJECT
public:
explicit AudioPlayer(QObject *parent = 0, const QString& server = QString("60.171.108.115"), int port = 20000);
~AudioPlayer();
QString getRobotId() const;
void ... | [
"wylnii@163.com"
] | wylnii@163.com |
c2573591dcabf9f62da0410a44467a1e156094d9 | cd71ff07588f49a6957a221138c1db2a67432b32 | /nam-1.11/.svn/text-base/psview.cc.svn-base | a3270d21be85ac364bb4b335110cd62005a1bc13 | [] | no_license | soohyunc/USN | 1f87c63181dfa7ff811810c27be677d5fcb92711 | f27e0c8af84698d0b5aca58e24e1dfc1ad6d9f55 | refs/heads/master | 2021-01-06T20:42:36.949756 | 2010-12-09T16:40:33 | 2010-12-09T16:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,025 | /*
* Copyright (c) 1991,1993 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | [
"soohyunc@corona.cs.ucl.ac.uk"
] | soohyunc@corona.cs.ucl.ac.uk | |
a8739cb3b5be9a33b6911c80055654ca658d56f5 | 8a52b7795cf727729f0058e3a30ba5d9638a0dc5 | /lab3/PhaseB/lifeform/Algae.h | 92079ea208a21a9ac9a48a100da3a06487f1ab98 | [] | no_license | hanyc1992/EPL-Project | a79ddec09ff367a97f7bdfe2465fc5f0b228c256 | 1d550f07b6d152e603ce17cbc2ae5af91212af6b | refs/heads/master | 2021-01-01T19:56:43.752802 | 2015-08-29T00:59:40 | 2015-08-29T00:59:40 | 41,575,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | h | #if !(_Algae_h)
#define _Algae_h 1
#include <memory>
#include "LifeForm.h"
#include "Init.h"
class Algae : public LifeForm {
static void initialize(void);
Event* photo_event;
void photosynthesize(void);
public:
Algae(void);
void draw(int,int) const; // defines LifeForm::draw
Color my_color(void) const;... | [
"hanyc1992@utexas.edu"
] | hanyc1992@utexas.edu |
9ad0bd44d752a8ddd4d25895e232c652c8c2b278 | 96df46515663aee49a753171fb3b07d74c8ef72f | /bindgen-tests/tests/headers/no-hash-allowlisted.hpp | 0f60817da6cb9c66102a0e018da9c987ebb7cd42 | [
"BSD-3-Clause"
] | permissive | rust-lang/rust-bindgen | 05273ad4d385ce0b5a2315859f8c7c453c150db6 | 820ca42982fe77d5504f7a0534a3de6db6a1d703 | refs/heads/main | 2023-08-30T19:59:33.017994 | 2023-08-15T18:01:02 | 2023-08-15T18:01:02 | 61,728,459 | 2,874 | 391 | BSD-3-Clause | 2023-09-12T20:32:46 | 2016-06-22T15:05:51 | Rust | UTF-8 | C++ | false | false | 110 | hpp | // bindgen-flags: --with-derive-hash --allowlist-type "NoHash" --no-hash "NoHash"
class NoHash {
int i;
};
| [
"emilio@crisal.io"
] | emilio@crisal.io |
9dab03a9d96a04052d917050e903a476c68a5887 | 87c12524efba5a739caa1f8b31b503f4bf1e2979 | /Strangecop.cpp | a2ab5a98cd569a67e787d6d93e74f01b2ce39a3b | [] | no_license | Ironman0505/Spoj-1 | fe234ab5f70f239090caece9ca888df3de61c22a | d4e6db21ee1ce6cc5bc65a61ae1aeb0d30d0278d | refs/heads/master | 2022-01-18T22:17:03.575047 | 2014-09-01T18:42:56 | 2014-09-01T18:42:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,579 | cpp | #include <stdio.h>
#define N 24
static int x, y;
static char initial[N][N];
static char final[N+2][N+2];
static char buf[N+1];
static void
flip (int ax, int ay)
{
final[ax][ay] = 1- final[ax][ay];
final[ax-1][ay] = 1 - final[ax-1][ay];
final[ax+1][ay] = 1 - final[ax+1][ay];
final[ax][ay-1] = 1 - fin... | [
"piyushagarwal.mnnit@gmail.com"
] | piyushagarwal.mnnit@gmail.com |
4b50bf1cccee9f17baa01cd6ef22aec041892e66 | 71758af810f205ee89f5c5aa943929d6233f73b6 | /src/April/Gui/DhuumInfo.cpp | 182b87bba465aaecae85f32eb375cde8b9f5f38d | [] | no_license | JuliusPunhal/GW-April | 4e752fa84bd5ff326659876d4a9264dfed14778b | 3cf61395b73ed4bfe7964a63642474e5e6f75340 | refs/heads/master | 2023-03-13T12:27:40.724742 | 2022-08-15T16:19:05 | 2022-08-15T16:19:05 | 504,679,851 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,566 | cpp |
#include "April/Gui/DhuumInfo.h"
#include "April/Utility/TimeFormatting.h"
#include "GWCA/GWCA.hpp"
using namespace April;
using namespace GW::Packet::StoC;
namespace {
auto dhuums_rest_str() -> std::string
{
auto const percent = GW::GetMissionProgress() * 100;
if ( percent < 0 || percent > 100 )
return... | [
"julius@punhal.de"
] | julius@punhal.de |
8d2633694f15eae3b767126c94006466bf8cd4c9 | 31fb0637247e423776ea25986a2a23efaacafece | /Unit 15. Friends and exceptions/exc_mean2.h | 1af2ef9ef742ff27f78058c95a77e1c0cb430280 | [] | no_license | Cordylidae/Exercises | 0b8a6bcc8c3493ef81653d99185027de0c4825b7 | 4fe4658e807f0c55afcbe6441739c2dc4929e597 | refs/heads/main | 2023-02-07T09:20:08.117163 | 2020-12-29T18:35:44 | 2020-12-29T18:35:44 | 325,356,588 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | h | #ifndef EXC2_H_
#define EXC2_H_
#include<iostream>
#include<stdexcept>
#include<string>
class base_mean : public std::logic_error
{
private:
double a;
double b;
public:
base_mean(const std::string& what_arg, double a_, double b_) : logic_error(what_arg),a(a_),b(b_) {}
base_mean(const char* what_arg, double a_, d... | [
"nsbeketov@gmail.com"
] | nsbeketov@gmail.com |
0df9cf9ebbe40e2b798cbe1eeedc8a0c5ae701c5 | 77b887117d7abc316ee8956f377dc9fc4a792bde | /Game.cpp | f8f66e3143a77024c68fbf77dfd8bfb90ce9e9bd | [] | no_license | zwirec/Pool2D | 1f58f7324615277570a302bc111594c9034e4252 | 24a8ceab884e91b5d1f91ef22e9a64a05746a1be | refs/heads/master | 2021-01-13T06:16:02.042552 | 2017-06-21T13:57:48 | 2017-06-21T13:57:48 | 95,009,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,059 | cpp | #include <TGUI/Gui.hpp>
#include <TGUI/Widgets/EditBox.hpp>
#include "Game.hpp"
#include "SFGUI/SFGUI.hpp"
#include "SoundManager.h"
Game::Game():
world(b2Vec2(0.0, 0.0), true){
world.SetContactListener(&myContactListener);
SoundManager::playMainTheme();
}
void Game::start(){
choosingMenuItem();
... | [
"zwirec@icloud.com"
] | zwirec@icloud.com |
9e0196b558934a7d102515c8a4ee56624af14b51 | 70c04083731c6d4c9115ef1bd1d6a965d4d222b6 | /src/capi/App/Messenger.cpp | 9d67357a71b50c8b4ba3d25487a94088caa4fb89 | [] | no_license | HaikuArchives/Habid | 0bd3b3da8980554c9824111f7c748816135f2f95 | 1f5e2612dfcf6a0d1b5247a15c1f34c3891c110d | refs/heads/master | 2016-08-05T10:28:50.072417 | 2015-03-16T17:15:43 | 2015-03-16T17:15:43 | 32,340,382 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,479 | cpp | /*
* Copyright 2010 Tomas Wilhelmsson <tomas.wilhelmsson@gmail.com>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#include <Messenger.h>
extern "C" {
BMessenger* be_BMessenger_ctor(void *bindInstPtr)
{
return new BMessenger();
}
BMessenger* be_BMessenger_ctor_1(void *bindInstPtr,... | [
"tomas.wilhelmsson@gmail.com"
] | tomas.wilhelmsson@gmail.com |
9b90ab02c409422684f51f2f9913df2ddde8c322 | 54d3f14cf0074f52d3047e0df93f6fbe283d97dd | /include/SEG_Type.h | 97b30c7a6487583c23778a307370be5c675c6502 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | PuppyRush/SDL2EasyGUI | c6ef88525ff331433ac35ce8fac26e1572949491 | f83d587a8f99fe813a11c93df79421ed3f931331 | refs/heads/master | 2020-04-27T20:46:34.820794 | 2019-05-18T12:47:15 | 2019-05-18T12:47:15 | 174,670,355 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | h |
#ifndef SDLEASYGUIDE_TTYPE_H
#define SDLEASYGUIDE_TTYPE_H
#if _MSC_VER >= 1200
#pragma once
#endif
#include <cstddef>
#include <atomic>
#include <ctime>
#include <SDL2/SDL.h>
#include <SDL2/SDL_stdinc.h>
namespace sdleasygui {
using t_color = uint8_t;
using t_type = uint8_t;
using t_unique = uint_fast16_t;
usi... | [
"gooddaumi@gmail.com"
] | gooddaumi@gmail.com |
fdb8dda2e4b249c6e58f3ea1b08ebe08ce9904e4 | b4e2870e505b3a576115fa9318aabfb971535aef | /zParserExtender/ZenGin/Gothic_II_Classic/API/oInformationManager.h | 64320a5a153733ebb9762dd93a24538c38c02d0e | [] | no_license | Gratt-5r2/zParserExtender | 4289ba2e71748bbac0c929dd1941d151cdde46ff | ecf51966e4d8b4dc27e3bfaff06848fab69ec9f1 | refs/heads/master | 2023-01-07T07:35:15.720162 | 2022-10-08T15:58:41 | 2022-10-08T15:58:41 | 208,900,373 | 6 | 1 | null | 2023-01-02T21:53:03 | 2019-09-16T21:21:28 | C++ | UTF-8 | C++ | false | false | 3,629 | h | // Supported with union (c) 2018 Union team
#ifndef __OINFORMATION_MANAGER_H__VER2__
#define __OINFORMATION_MANAGER_H__VER2__
namespace Gothic_II_Classic {
class oCInformationManager {
public:
typedef enum zEInformationManagerMode {
INFO_MGR_MODE_IMPORTANT,
INFO_MGR_MODE_INFO,
INFO_MGR_MODE... | [
"amax96@yandex.ru"
] | amax96@yandex.ru |
3a5cd93d22a0d86e7aa05427996174e4108d8bb7 | 88b9c2bf6f9db92159de61ab702254929ba1dea8 | /examples/sample4/shape.cpp | a579070358edcdf59936b760e257883d6d2748bb | [] | no_license | jonigata/partix | 1eee4e3fc1748726735d6388f8a364a275c12215 | 695f369433ae6bfbc39372b6a1a8e428aa34e3c4 | refs/heads/master | 2021-01-19T16:50:49.951452 | 2017-09-07T11:38:54 | 2017-09-07T11:38:54 | 9,712,290 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 15,269 | cpp | // $Id: shape.cpp 32 2008-10-25 12:19:56Z Naoyuki.Hirayama $
#include "shape.hpp"
#include "zw/dprintf.hpp"
#include "zw/d3dmathutils.hpp"
/*===========================================================================*/
/*!
* @class ShapeImp
* @brief
*
*
*/
/*=======================================... | [
"naoyuki.hirayama@gmail.com"
] | naoyuki.hirayama@gmail.com |
e301885ede03c42d030d087d389ccbfe1af25840 | c39ab19ab18c0d52e9d678998ba07a3735e11743 | /EXCEL-TEST/EXCEL-TEST/CWorkbooks.h | 6dc009bc161ef4712e80a7521ff93f9a51d13b88 | [] | no_license | presscad/Some_codes | 8037fd3ef9cb38bb9066351823ba0a67b05870cc | 5f830bb06be0af9361c1eefd0a7648981feec827 | refs/heads/master | 2020-09-13T06:14:46.789228 | 2018-09-27T11:13:04 | 2018-09-27T11:13:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,251 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装器类
// CWorkbooks 包装器类
class CWorkbooks : public COleDispatchDriver
{
public:
CWorkbooks() {} // 调用 COleDispatchDriver 默认构造函数
CWorkbooks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CWorkbooks(const CWorkbooks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// ... | [
"ruiruiwangpr@163.com"
] | ruiruiwangpr@163.com |
c7aee8752c734ac8d4f5785d98a04627b5ee2273 | 84a9e9de9f67f1cc5bacfa0d5b58cbe8186e9564 | /src/app/include/test_class.h | 95a2d10abe5fabc5390ae1deac562e49530c5458 | [] | no_license | monkeber/tools-test | 90aaaba5a0d04ab994ed241731f9b4c4d27ad9fe | 57e17fc5ff2439467732d29ab0d3a39fd5390dc3 | refs/heads/main | 2023-06-19T02:15:15.628536 | 2021-07-11T21:18:23 | 2021-07-11T21:18:23 | 379,053,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | h | class TestClass {
private:
int m_testMember;
public:
char m_charMember;
private:
int m_secondMember;
};
| [
"e.tiagniriadno@avantize.com"
] | e.tiagniriadno@avantize.com |
b3078bb797ddec9bd5070c2cfd9dbeb315cbb83a | 6fd1f7c954f00506d195bccf26f684847a794d49 | /include/Snake.h | bfadae5124a2fb7a4234194a960d07543ec52031 | [] | no_license | JulioMelo-Classes/trabalho-3-BrunoKaike | 2f0f90de4a42b328a55ac159d76728b5ad0c2611 | c0d68e2bdc6532f3126e65373650f168b7a15fb8 | refs/heads/main | 2023-08-04T15:39:14.360353 | 2021-09-14T18:06:18 | 2021-09-14T18:06:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | h | #ifndef SNAKE_H
#define SNAKE_H
#include <vector>
#include <string>
#include <iostream>
#include <map>
#include "Player.h"
#include "Directions.h"
class Snake{
/*
TODO implementação dos atributos e métodos
*/
private:
int vidas = 5;
int numCauda = 0;
std::map< int, std::pair<int, int> > cauda;
i... | [
"noreply@github.com"
] | noreply@github.com |
cb462caf4eec6eebe8b392622219828e7c100a0c | d2c59879cbaa8f657da7124594607293a9ea2761 | /fdfr_demo/modules/utils/include/range.hpp | 0a03a5fc9f2e8b3b785d243917481a01bc9a3541 | [] | no_license | freewind2016/bm1880-ai-demo-program | 9032cb2845a79b3bfebf270f8771ea6ee3f1e102 | d1634e5c314e346a1229c4df96efe9c37401cdd7 | refs/heads/master | 2022-06-01T02:39:57.883696 | 2020-03-20T01:56:43 | 2020-03-20T01:56:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,398 | hpp | #pragma once
#include <list>
#include <algorithm>
namespace Memory {
struct Range {
size_t begin;
size_t end;
};
struct RangeSet {
std::list<Range> ranges;
size_t length() const {
size_t sum = 0;
for (auto &range : ranges) {
sum += range.end - range.begin;
}
... | [
"liang.wang02@bitmain.com"
] | liang.wang02@bitmain.com |
1f2ea8c6bc3f4f0f081ff22bf64b29d7ae1707f9 | 6161b3c2ce504c0e661c2ccb933915ceedcbbe27 | /practice10.29/practice10.29/源10.29.cpp | a8f3dacbba7a576a1e24f7a873c51c06c02d300d | [] | no_license | tom1232289/Cpp_Primer_5th | 97a6d19d3feffde11fdca0e1548f0e08439b9a89 | 1b484a893f050d9ecd0b768d5f681ca289b89064 | refs/heads/master | 2020-04-23T10:58:23.409606 | 2019-08-27T12:54:50 | 2019-08-27T12:54:50 | 171,120,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include<iostream>
#include<fstream>
#include<iterator>
#include<vector>
#include<string>
using namespace std;
int main(int argc,char* argv[])
{
ifstream in(argv[1]);
if (!in) {
cerr << "无法读取输入文件" << endl;
system("pause"); return -1;
}
istream_iterator<string> str_iter(in), eof;
vector<string... | [
"noreply@github.com"
] | noreply@github.com |
8dea4438673c7908f9b28b5831f0a6b190c757ae | 07006c9a2436071a25f825dd5403c321a01514d1 | /Jhl/Classes/LogoNode.h | 9625a5097a50cdca8b9c63aae2d6fce834ad4e0f | [] | no_license | kfjihailong/jhl_test | e68a2b8dbcb4f37c29c9493e8bd7839286e78555 | d809c401591468ffa1555ca925ceb9a2450181ac | refs/heads/master | 2020-03-25T13:00:48.508489 | 2015-07-14T07:35:17 | 2015-07-14T07:35:17 | 38,965,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | //
// LogoNodes.h
// Jhl
//
// Created by 姬94 on 15/7/12.
//
//
#ifndef __Jhl__LogoNode__
#define __Jhl__LogoNode__
#include <stdio.h>
#include "cocos2d.h"
USING_NS_CC;
class LogoNode:public Node
{
protected:
Sprite* _logo;
Sprite* _cocosLogo;
public:
LogoNode();
virtual ~LogoNode();
virtual ... | [
"ji94@ji94deMacBook-Pro.local"
] | ji94@ji94deMacBook-Pro.local |
dd817fae2eb624d9d39c9f10e4539e3354e0f3aa | cc28ddea2d108bfa69de23d1ecaf42164d82a1e4 | /Client/TUYOI_Solver/DeepFocusSearch/forLinux/FullSearch.cpp | d90f64caf817bda999012fb9de2bdf78a99743b1 | [] | no_license | KNCT-KPC/Bungo | ee72ae994baebea77bac16ea74576379e89b3bfc | e32b07f969579fcf0be318033a82bb521c0f5e39 | refs/heads/master | 2020-04-09T15:32:49.929579 | 2016-06-12T14:34:13 | 2016-06-12T14:34:13 | 41,380,044 | 6 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 30,303 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <vector>
#include <stack>
#include <queue>
int dx1;
int dy1;
#define INT_MAX 200000000
//#define ZERO_SOLVE
//#define DEBUG_CODE
//#define CHECK_CODE
#define STONE(n, x, y) stones[((n) << 6) + ((y) << 3) + (x)]
... | [
"yuke1222@gmail.com"
] | yuke1222@gmail.com |
9ad730a2ab970e4e597ce475acfee3eafe220973 | 2ec336c36ac878f5cb91146ee3b983b2d79f20aa | /Easy/UVA - 11764 Jumping Mario.cpp | 34b58645e0ad7003fc8fe730631c39efa03d3948 | [] | no_license | jmacboy/solved-problems | e3b5d2b71aa9df454badbff35cf866bc052d3e9a | 3912aac295d1b5c9039f44d2c86cacade16f0086 | refs/heads/master | 2016-09-08T01:50:21.854520 | 2013-10-07T12:32:30 | 2013-10-07T12:32:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | #include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <sstream>
#include <fstream>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <string>
#include <cstdio>
#include <vector>
#include <cmath>
#include <queue>
#include <deque>
#include <stack>
#inc... | [
"j.m.alvarez.camacho@gmail.com"
] | j.m.alvarez.camacho@gmail.com |
e39db49975834b5d413080aa6db5f0090485c2b9 | a9a8879b45590342cdeaf845f700c44230afb806 | /ece5775/fixed_64_32_20.prj/solution1/.autopilot/db/cordic.pp.0.cpp.ap-cdt.cpp | c6ede9473f576ffdfcaf60739c8ca9a8049ae040 | [] | no_license | Glyfina-Fernando/5775 | 4ef355bbba25b9d67f2fa56e9584268fb52e531c | 6e6be472856313b878ccf0c4bdbffe39694dc4c6 | refs/heads/master | 2020-04-26T23:27:33.888436 | 2015-09-09T23:05:57 | 2015-09-09T23:05:57 | 42,186,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,381,020 | cpp | #pragma line 1 "cordic.cpp"
#pragma line 1 "cordic.cpp" 1
#pragma line 1 "<built-in>" 1
#pragma line 1 "<built-in>" 3
#pragma line 155 "<built-in>" 3
#pragma line 1 "<command line>" 1
#pragma line 10 "<command line>"
#pragma line 1 "/opt/xilinx/Vivado_HLS/2014.2/common/technology/autopilot/etc/autopilot_ssdm_op.h" 1
/*... | [
"gsf52@cornell.edu"
] | gsf52@cornell.edu |
74e1a8de03340500d91857c82508fbd10028afdb | 0cd9bc955c92cf8bef30a0fddebef4fdb0dba09e | /tasks/36/game.h | b3d31187f835fac66378ea6c24d7fe89a41dce3e | [] | no_license | zimnicky/knu-iii-s-labs-oop | 5e590efda6639356b1984bd7b81ccb3e6a6b6a54 | aa79d947f6e679b11f6d26af586fc0bb783ec2ae | refs/heads/master | 2020-07-08T00:09:55.010210 | 2013-12-24T12:06:18 | 2013-12-24T12:06:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | h | #ifndef GAME_H
#define GAME_H
#include <vector>
using namespace std;
class Game
{
private:
int n;
int k;
vector<vector<int>> posType; // posType[n][k] -- type of situation with n matches, when max size of next move is k
// 0 -- undefined, 1 -- win, 2 -- loss
bool i... | [
"zimnicky@gmail.com"
] | zimnicky@gmail.com |
c3b1d57d36b3fbbdb172e19164c0800d75287022 | bc62fef73c32417ed4b71c193ab8b6ed712a73f1 | /nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/protobuf/tf/tensorflow/core/lib/strings/ordered_code_test.cc | ede9f4d390180501bd65c3cbfe301da86d7530a6 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | deeplearning4j/deeplearning4j | 0a1af00abc2fe7a843b50650b72c8200364b53bf | 91131d0e1e2cf37002658764df29ae5c0e1f577b | refs/heads/master | 2023-08-17T08:20:54.290807 | 2023-07-30T10:04:23 | 2023-07-30T10:04:23 | 14,734,876 | 13,626 | 4,793 | Apache-2.0 | 2023-09-11T06:54:25 | 2013-11-27T02:03:28 | Java | UTF-8 | C++ | false | false | 54,003 | cc | /* Copyright 2015 The TensorFlow 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 by applicable law or a... | [
"34909009+skymindops@users.noreply.github.com"
] | 34909009+skymindops@users.noreply.github.com |
8d22c51b42bc7797543bb5c245fa678edea550b7 | fee787c8bb156c80927c7f066260ae4b19ab9922 | /src/types/amfstring.hpp | 81cc83f49e22a57dbd333664e7b17302117796a6 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | shouganai/amf-cpp | 57ebc1268acd30dd230cf5e0c0a80b7b3807f6f2 | 38bef9263b5eff380a7f27c8847bce20a34ee0be | refs/heads/master | 2021-01-18T07:46:09.019850 | 2014-05-10T01:09:27 | 2014-05-10T01:10:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,754 | hpp | #pragma once
#ifndef AMFSTRING_HPP
#define AMFSTRING_HPP
#include <string>
#include "deserializationcontext.hpp"
#include "types/amfitem.hpp"
#include "types/amfinteger.hpp"
namespace amf {
class AmfString : public AmfItem {
public:
AmfString() { }
AmfString(const char* v) : value(v == nullptr ? "" : v) { }
Amf... | [
"ventero@ventero.de"
] | ventero@ventero.de |
ffd94c82f729241966a3402e1e0534c456690e86 | 2fd0f8b67ff3fbe7e07a27a10f71445da9f54292 | /src/saiga/vision/cameraModel/Intrinsics4.h | c2fcefe185b740ea0e9d0c7dfab680c541fe1fe3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Yes-Jumby/saiga | 51d9c28c5d75fc7be91edddffca2cf67518afef9 | ce184da8a8a89f9446fe5471c7fbe0cbac41905c | refs/heads/master | 2023-08-27T09:12:44.534747 | 2021-11-08T11:04:26 | 2021-11-08T11:04:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,863 | h | /**
* Copyright (c) 2021 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#pragma once
#include "saiga/vision/VisionIncludes.h"
namespace Saiga
{
// Basic Intrinsics Matrix K used in the pinhole camera model.
//
// | fx s cx |
// | 0 fy cy |
// | 0 0 ... | [
"darius.rueckert@fau.de"
] | darius.rueckert@fau.de |
cb8023e782bc5badee245da55616a67f99fd4b0a | c02c6fcfa9521bb2287af45b3fa5a9b27bf75553 | /motor_control/src/motor_control.cpp | 55edb8fe0b53ea876ceaca650d969f37c4547989 | [] | no_license | NeleAnnaert/SmartEmbeddedElectronics | 656e7b079e03aff97cdc32f0c83e9cc5a5526785 | e9cc764301b9bcb01f3bb71b3113759a86987f9c | refs/heads/master | 2021-01-01T18:39:02.516453 | 2017-08-30T03:54:13 | 2017-08-30T03:54:13 | 98,390,814 | 0 | 0 | null | 2017-08-30T03:52:09 | 2017-07-26T07:03:14 | Python | UTF-8 | C++ | false | false | 5,199 | cpp | /*
* motor_control.cpp
* Motor Control Node For Serial Communication With The RP6 Robot
* Bevers Tim - tim.bevers@student.kuleuven.be
*
* Wiki: https://github.com/GreenTeam-KUL/ParkingWithROS/wiki/Motor-Ros
*/
#include "motor_control.hpp"
#include <ros/ros.h>
#include <serial/serial.h>
#include <motor_control/... | [
"noreply@github.com"
] | noreply@github.com |
03cc03dbecd712e09f8bd7c7bffa3b9141eb0238 | 3b984fb1a0f84bfe6dc0b4ec34a042581cb53812 | /LookControl.h | 48e18431c4eb19f2e69c14b4b5ba85211c1db8c7 | [] | no_license | mackthehobbit/MCPE-Headers | 78cf741bc1081471fab4506cdda4808b0c8417cc | adf073d666cc63dbc640a455c4907da522929307 | refs/heads/master | 2021-01-17T09:35:08.454693 | 2016-08-29T03:28:45 | 2016-08-29T03:28:45 | 66,353,700 | 0 | 0 | null | 2016-08-23T09:36:05 | 2016-08-23T09:36:04 | null | UTF-8 | C++ | false | false | 237 | h | #pragma once
class Mob;
class Entity;
class Vec3;
class LookControl {
public:
virtual ~LookControl();
virtual void tick();
LookControl(Mob&);
void setLookAt(Entity*, float, float);
void setLookAt(const Vec3&, float, float);
}; | [
"cabo.rambo@hotmail.com"
] | cabo.rambo@hotmail.com |
8063095580f4a6c1172bdb0d68cd949a78918f9c | c19587ed6f4d80b0a6be5189cbc07b1d831f8c15 | /term_project/big_block.h | 6472a16b017c22da0e458703c2737fc4645a8f03 | [] | no_license | oceanmaster1231/OOP | 42a632cc2279bfec1b720f195829435f52646e22 | dab8272120f784171818b6a38a2ff83e2d025afe | refs/heads/master | 2020-07-23T23:36:33.779882 | 2019-12-16T12:25:25 | 2019-12-16T12:25:25 | 207,740,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | #ifndef BIG_BLOCK_H
#define BIG_BLOCK_H
#include <vector>
class big_block {
protected:
int x, y;
public:
void move_left();
void move_right();
void move_down();
void move_rotate();
void possible_left();
void possible_right();
void possible_down();
void possible_rotate();
};
#endif
| [
"noreply@github.com"
] | noreply@github.com |
df91514f00ef5059dde7fff4120a1c3d6bb312bd | 6e2f8b62a9977ae6c51c6bcbe41daccc92a87677 | /ParabellumEngine/ParabellumEngine/SceneEditor.cpp | 295b3f4c3fcdb0890cf2d4f73e4961f92eec0fdb | [
"MIT"
] | permissive | Qazwar/ParabellumFramework | 8a455ea5e1ac0dab9c466604d2f443317e2a57bd | 7b55003bb04e696a68f436b9ec98a05e026526fd | refs/heads/master | 2022-01-26T06:28:53.040419 | 2019-06-29T11:05:34 | 2019-06-29T11:05:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,422 | cpp | #include "stdafx.h"
#include "SceneEditor.h"
// ------------------------------------------------------------
// Constructors and destructors
// ------------------------------------------------------------
ParabellumEngine::Editor::SceneEditor::SceneEditor(_IN_ GraphicsDevice* pDevice, _IN_ InputDevice* pInput, _IN... | [
"szuplak@gmail.com"
] | szuplak@gmail.com |
5b66150d4e5e91d6ad3853a9960ce1163807a0d3 | 75d431d9694133bd5bd9c54c337fd9570de065c8 | /Digraph.cpp | 50f5da7ded07fc149da445bdd7fb677b9bb99249 | [] | no_license | timothyshull/tools_to_remember | c29a5d622a73a6fb1a735d73bacc812604c3aff5 | 4ce4b7caa7fca8b71bf047ea9e2a814548634070 | refs/heads/master | 2021-01-22T20:44:09.931916 | 2017-07-15T00:12:30 | 2017-07-15T00:12:30 | 85,347,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | #include "Digraph.h"
Digraph::Digraph(std::size_t num_vertices)
: _num_vertices{num_vertices},
_num_edges{0},
_adjacency_lists(num_vertices, std::unordered_set<int>{}),
_indegree(num_vertices, 0) {}
void Digraph::add_edge(int v, int w)
{
if (_adjacency_lists[v].find(w) == _ad... | [
"timothyshull@gmail.com"
] | timothyshull@gmail.com |
53611ca9c91ba5a8eacaab844c69a25444e516ea | 7388b64516208c6a7b03bba6700eac5515dfe048 | /InGame/StaticData/CppSeed.hpp | 4a252fbb869df067a5b7dc5c9ef1a3e4bf98c6fb | [] | no_license | Wenjin186/Classes | a055d81a8fa97d5d9c8a9927d64947e7fcaa1180 | 493ef06e63f4d47fbad404d6fb510cfbab70529d | refs/heads/master | 2020-12-03T04:16:21.757616 | 2017-08-04T04:26:04 | 2017-08-04T04:26:04 | 95,841,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | hpp | //
// CppSeed.hpp
// youxi
//
// Created by Qi on 2017/8/2.
//
//
#ifndef CppSeed_hpp
#define CppSeed_hpp
#include "cocos2d.h"
using namespace std;
extern "C"{
#include "MxzyDatabase.h"
}
class CppSeed{
public:
CppSeed(Seed *seed);
~CppSeed();
void setSeedId(int seedId);
int getSeedId();
... | [
"qipe3398@colorado.edu"
] | qipe3398@colorado.edu |
a217fdad1d650c0ae61b7a02023d98a189ab3e88 | 71625f6f736693dc5d8e0fc112d48a7c631ae3e2 | /display/src/displaylangcellcreator.h | 5903ba01068cbdf1ed2fd412d40169bdac3e464b | [] | no_license | dudochkin-victor/touchcp-language | a1ba18dbd22fed3d1d40d4a447e884eb4f2c0345 | 60546f72cb25d9a13a8d4c9cb0c68f86390366ad | refs/heads/master | 2021-01-10T18:38:04.440482 | 2013-05-15T06:51:30 | 2013-05-15T06:51:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | h | /***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Karoliina T. Salminen <karoliina.t.salminen@nokia.com>
**
** This file is part of duicontrolpanel-languageapplet.
**
**
** This program... | [
"dudochkin.victor@gmail.com"
] | dudochkin.victor@gmail.com |
ee9f769cce153123a0be80ee067cb44bdab4c3d6 | 4d68064a06d8dc390762564c216b6040c28c2fd1 | /0136/723979AC.cpp | 88c9e92eebf70ecda2cb82e6b6b9a98752d48121 | [] | no_license | pocke/aoj_codes | ea35fe295cd87080f9af6c9f23d38476820910b5 | 668e46de83d7f95fbed1f82df058a006fb3e05f6 | refs/heads/master | 2021-01-23T02:41:23.089223 | 2014-01-24T04:04:46 | 2014-01-24T04:04:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | #include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int m[6] = { 0, 0, 0, 0, 0, 0, };
for (int i=0; i<n; i++)
{
double height;
cin >> height;
if ( height < 165.0 )
{
m[0]++;
}
else if ( height < 170.0 )
{
m[1]++;
}
else if ( height < 175.0 )... | [
"p.ck.t22@gmail.com"
] | p.ck.t22@gmail.com |
c4621fab098b7cfbd3e9abfc58afb97462ab3257 | 986cebd477c362d8936c4bd7b678e8f5a90ceee6 | /Manual/matrix.cpp | 94a714d021964e3dbe085e036b4a7fe529803475 | [] | no_license | dipankarjain/Portfolio_Rebalancing | 6c22f8dd35867bd387cc1f33aa1ada243eed1688 | cc0cdf19d3440a3cde4e9b7374f39f4a5f0316cf | refs/heads/master | 2023-05-09T01:08:39.551201 | 2021-06-04T18:33:48 | 2021-06-04T18:33:48 | 373,925,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | cpp | #include <iostream>
#include<math.h>
using namespace std;
int main()
{
float Returns[10][5]={{2.53, 56.91, -1.61, 14.33, 19.68},
{-0.14, 29.63, 6.29, -18.63, 1.93},
{17.58, -0.18, -7.30, 23.22, 13.41},
{1.92, 9.44, 32.10, 16.26, 18.45},
{9.54, 49.36, 6.55, -1.79, 10.35},
... | [
"dipankarjain@Dipankars-MacBook-Air.local"
] | dipankarjain@Dipankars-MacBook-Air.local |
7969ef82412bc39480ef95f06d16fd92bc075421 | e1143a0d4841d513413a39664137af65efe9aeec | /src/handlers/file/FileSaveHandler.h | 79d3965c821e6bd8f8fa2d410fa64bc74e8bea99 | [
"MIT"
] | permissive | Aerijo/latex-language-server | 83bf9dd72bc5514d0ea33bb74faff6059dffa389 | fbd520e40e7878ca9b114e408b21b6b1e181a875 | refs/heads/master | 2020-04-11T17:16:46.442719 | 2019-04-15T13:56:27 | 2019-04-15T13:56:27 | 161,954,658 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | h | #ifndef LATEX_LANGUAGE_SERVER_FILESAVEHANDLER_H
#define LATEX_LANGUAGE_SERVER_FILESAVEHANDLER_H
class FileSaveHandler {
};
#endif //LATEX_LANGUAGE_SERVER_FILESAVEHANDLER_H
| [
"bengray178@gmail.com"
] | bengray178@gmail.com |
30c8d6e290e31246d1dec78e6b96c5782ec4bf24 | 460f981dfe1a05f14d2a4cdc6cc71e9ad798b785 | /3/amd64/envs/navigator/include/qt/Qt3DRender/qseamlesscubemap.h | 40ae0a9555593643794b998d835adef8af47c550 | [
"MIT",
"Zlib",
"BSD-2-Clause",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"LicenseRef-scancode-mit-old-style",
"dtoa",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain-disclaimer",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"LicenseR... | permissive | DFO-Ocean-Navigator/navigator-toolchain | d8c7351b477e66d674b50da54ec6ddc0f3a325ee | 930d26886fdf8591b51da9d53e2aca743bf128ba | refs/heads/master | 2022-11-05T18:57:30.938372 | 2021-04-22T02:02:45 | 2021-04-22T02:02:45 | 234,445,230 | 0 | 1 | BSD-3-Clause | 2022-10-25T06:46:23 | 2020-01-17T01:26:49 | C++ | UTF-8 | C++ | false | false | 2,450 | h | /****************************************************************************
**
** Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdin... | [
"dwayne.hart@gmail.com"
] | dwayne.hart@gmail.com |
039e18edc37a55f16c643d6927a1f92b94c891ec | 44aafe01ac5cec557ca7cb3295b11eea51db3265 | /AISonification/JuceLibraryCode/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h | 60fae94805c903f5a57c0eef1cb0333db29501fd | [
"MIT"
] | permissive | jayb2/AISonification | c99581123b7f96336366430dace4dca8dee48215 | 07e010ca3946341b3922329db1269a86098769a4 | refs/heads/master | 2021-03-18T04:56:17.789547 | 2020-05-26T20:06:15 | 2020-05-26T20:06:15 | 247,047,490 | 1 | 1 | MIT | 2020-05-19T20:35:43 | 2020-03-13T10:40:36 | C++ | UTF-8 | C++ | false | false | 6,680 | h | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... | [
"up811534@myport.ac.uk"
] | up811534@myport.ac.uk |
a464c88c89711f5837389e73cb332540253d3ba7 | 76dc590f1af1e4db0007f4ca117150c4ecf857aa | /interfaces/ui/OpticaJireh/moc_ui_new_user.cpp | 97c9d46a41b5e6b547055fbacd138e8e66e6041b | [] | no_license | jvalenciag/ProyFinal-IS2 | d5c9b167cd739ce0ae1ae37bd9018eb8ebb6f2ad | da471e5ab42c74883393aac85d44fca478a407f2 | refs/heads/master | 2020-12-24T23:49:11.281551 | 2012-10-01T22:27:38 | 2012-10-01T22:27:38 | 6,037,681 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,830 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'ui_new_user.h'
**
** Created: Wed Sep 19 19:23:26 2012
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
***********************... | [
"taurus.936@gmail.com"
] | taurus.936@gmail.com |
8ed6891a102ffebd6e282db5ada13b883425bfaa | 80d0f3283caecda13b499e384caaaf96e1003d5c | /src/core/net/utils/heap.hpp | 8d561d5eda30b79687e046f7904bde7b042b7fe9 | [] | no_license | darkostack/vcos | 20fd75ce711cde115bb1cfe54ac1a8fd458ab064 | e7ebe6708fed0e993458a7531ec50286ac6ea27c | refs/heads/master | 2020-09-11T00:27:55.199336 | 2019-12-03T02:27:01 | 2019-12-03T02:27:01 | 221,879,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,558 | hpp | #ifndef NET_UTILS_HEAP_HPP
#define NET_UTILS_HEAP_HPP
#include "vcos-core-config.h"
#include <stddef.h>
#include <stdint.h>
#include "utils/static_assert.hpp"
namespace vc {
namespace Net {
namespace Utils {
class Block
{
friend class Heap;
public:
uint16_t GetSize(void) const { return mSize; }
void ... | [
"darkopancev.dev@gmail.com"
] | darkopancev.dev@gmail.com |
2e2e61174a530c414235a620571a983a1b5d7288 | c81ef20ab259c0941b25054ad07fde801db8a615 | /src/Utils/File/FileOpenMode.h | 498c70da38596bde9f4facb416d30bf4df3646a0 | [] | no_license | gerald5867/GFMEngine | d449c55b356a4839fba7e64f013f8bdd60494453 | b1d4dd3da93872e64a3dc3edd204f9e9bbdc992b | refs/heads/master | 2021-04-29T23:17:17.540132 | 2019-06-18T08:06:53 | 2019-06-18T08:06:53 | 121,552,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | #pragma once
#ifndef FILE_OPEN_MODE_H
#define FILE_OPEN_MODE_H
namespace gfm {
namespace utils {
namespace file {
enum class FileOpenMode
{
eTEXT_WRITE,
eTEXT_READ,
eTEXT_READ_UPDATE,
eTEXT_WRITE_UPDAE,
eTEXT_APPEND_UPDATE,
eBINARY_WRITE,
eBINARY_READ,
eBINARY_READ_UPDATE,
eBINARY_WRITE_UPDAE,
eBINARY_APPEND... | [
"gerald.fischer@live.at"
] | gerald.fischer@live.at |
d83e49080ad76a19aae7d06752617a35ef8fe3ab | 265b55ca4d6e84e97792cf55dc0bac3dd82c8e9c | /COSC112_CS1/Source Code/Chapter 15 Source Code/Ch15_Factorial.cpp | 70924ff1b333ff37c81a69849b2e8bbc593f2945 | [] | no_license | Mario-Kart-Felix/CS-Courses | daf8ceb5a29eed6e724c0c6934cd8f5ce36c82a6 | 405c5bfd853da563169958e7daffcc2790306ad5 | refs/heads/master | 2023-03-16T08:46:51.160883 | 2021-03-07T23:37:41 | 2021-03-07T23:37:41 | 344,701,898 | 0 | 0 | null | 2021-03-07T07:39:42 | 2021-03-05T05:13:35 | C++ | UTF-8 | C++ | false | false | 333 | cpp | //Chapter 15: Factorial
#include <iostream>
using namespace std;
int fact(int num);
int main()
{
cout << "Factorial of 6 = " << fact(6) << endl;
cout << "Factorial of 10 = " << fact(10) << endl;
return 0;
}
int fact(int num)
{
if (num == 0)
return 1;
else
return num * fact... | [
"frank.w.xu@gmail.com"
] | frank.w.xu@gmail.com |
6159f7472c12e09681b5bf23a2be6dd73d3af97a | 857c552d1b60da022f8270b72ce64b2c3ad7f83f | /Projects/Framework/Debug/Logger/Logger.h | 611a0317734efd6c1d7ca2bd0731af0f241cfe79 | [] | no_license | stijnbilliet/SB3D_RaytracedSS | 85f7ecc5b5906bee99c9a734ae3ea24410c7ab84 | d61bfe248d3c7b863b699cf160c221cec078ea04 | refs/heads/master | 2022-09-15T17:59:26.023280 | 2020-06-01T18:53:22 | 2020-06-01T18:53:22 | 150,579,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | #pragma once
#include "Patterns/Singleton.h"
enum ELogLevel
{
INFO,
WARNING,
ERR0R,
FATAL
};
class Logger : public Singleton<Logger>
{
public:
void Logf(const ELogLevel logLevel, const char* format, ...);
void LogInfo(const std::string& msg) { Logf(ELogLevel::INFO, "[INFO] %s", msg.c_str()); };
void LogWarning... | [
"stijn.billiet@student.howest.be"
] | stijn.billiet@student.howest.be |
3fd878d6908e38b47328f85c3be00f07892c94e6 | a3a2bccb492c513b75344cded0110e75bc17103d | /python/3.pyp/2.jisuanke_cainiao/data/786/多维数组与字符串/矩阵螺旋输出.cpp | 687fe8a43a7b80ce576dbfc192f9534f361922ca | [] | no_license | ldc0111/learn | abc40e0041b48a821935860be800a616d7dd0404 | e06d68437d5d1525cc6cee95fd99a9f2b90b17df | refs/heads/master | 2020-03-26T01:57:31.444390 | 2019-11-21T03:19:32 | 2019-11-21T03:19:32 | 144,390,234 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | cpp | #include <stdio.h>
int main() {
int matrix[100][100];
int n, m;
int shang,xia,zuo,you;
int x = 1,y = 1,st = 1;
scanf("%d %d",&n, &m);
shang = 1, zuo = 1, xia = n, you = m;
for (int i = 1; i <= n; i++){
for (int j = 1; j <= m; j++){
scanf("%d", &matrix[i][j]);
... | [
"15736818863@163.com"
] | 15736818863@163.com |
16e13918b3c60a3d82f80b46ab875d7c9cb71089 | 1bb406712fbd77de4cddbceb683c9fb9ec6fc74b | /src/odom_broadcaster/src/odom_broadcaster.cpp | 4e1ffdfafea96abe95d3f823bde0e99e26ff9fc0 | [] | no_license | nickkw/roshydro | 1d9cde78808ef2c033ac28fa6385ed1cbdd9e2e0 | 94219d1aa5d8c560a089279d237e9161fd78f934 | refs/heads/master | 2021-01-10T19:33:05.499883 | 2015-04-23T18:34:10 | 2015-04-23T18:34:10 | 30,709,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,945 | cpp | #include <ros/ros.h>
#include <std_msgs/String.h>
#include <tf/transform_broadcaster.h>
#include <nav_msgs/Odometry.h>
// Publisher and subscriber objects
ros::Publisher odom_pub_;
ros::Subscriber odom_str_sub_;
// Implementation variables
std::string velstr, xmsg, ymsg, thmsg;
size_t strpos1, strpos2; // Used to get... | [
"kwanwong@ualberta.ca"
] | kwanwong@ualberta.ca |
cd843256bf18cd49dc54f8fdd366e0f9b826465c | e0d94831c9a910331bb1d1c24106973d155c5a67 | /src/Bresenham.cpp | 154cb226338f6c0e0872ed8702ebcd0db7ade8bd | [] | no_license | prakhar7651/OpenGL_Demo | d52269d7189a47547f63bdedb033fbe0d6bc5cfd | e9abb7cde6f33c593fd0c2ec0c3225ad4151ae1c | refs/heads/master | 2023-03-20T17:21:41.902453 | 2021-03-25T16:00:05 | 2021-03-25T16:00:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,523 | cpp | #include "Bresenham.h"
#include <iostream>
void addCirclePoints(std::vector<float>& ans , float x , float y , float z , glm::vec3 centre , std::vector<float> color);
float abs(float f)
{
if(f < 0.0f)return -f;
return f;
}
std::vector<float> Bresenham::drawLine(glm::vec3 p1 , glm::vec3 p2 , std::vector<float>... | [
"56273982+PrAkHaR-BitsPilani@users.noreply.github.com"
] | 56273982+PrAkHaR-BitsPilani@users.noreply.github.com |
cf8f6dd07a1993c486f4b1bf2c579ea6430acd19 | cb5b061a07eaaaef65aaf674a82d82fbb4eea0c0 | /depends/sdk/include/mozilla/dom/ElementReplaceEventBinding.h | 7d0e6d6d5b3bfd6b229e40757574d479252d5d99 | [] | no_license | shwneo/MonacoIDE | 5a5831a1553b2af10844aa5649e302c701fd4fb4 | 6d5d08733c2f144d60abc4aeb7b6a1a3d5e349d5 | refs/heads/master | 2016-09-06T07:34:03.315445 | 2014-06-01T15:06:34 | 2014-06-01T15:06:34 | 17,567,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,264 | h | /* THIS FILE IS AUTOGENERATED - DO NOT EDIT */
#ifndef mozilla_dom_ElementReplaceEventBinding_h__
#define mozilla_dom_ElementReplaceEventBinding_h__
#include "EventBinding.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/dom/BindingDeclarations.h"
#include "mozilla/dom/DOMJSClass.h"
#include "mozilla/dom/DOMJSPr... | [
"shwneo@gmail.com"
] | shwneo@gmail.com |
f6977c6c4644f894e369c1d8525628f294f29b77 | 57a6c63cd604bf167f4ff2d5df5f3e04833e7466 | /main.cpp | ec9255f73a55edeec824b6d8e41d5067faeaeab4 | [] | no_license | TrayanTG/World-Of-Warcraft | ed56d0e43ec5b3b42292913e2c590e332f022992 | 9e0fa4839c2796fd0b00b4a0bf6121f8fc676460 | refs/heads/master | 2020-05-17T12:20:03.596257 | 2019-06-06T13:50:26 | 2019-06-06T13:50:26 | 183,708,121 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,518 | cpp | #include "HeadersAndConsts.h"
#include "Data.h"
#include "PlayerClasses.h"
#include "Enemy.h"
#include "Graphics.h"
#include "Engine.h"
#include "FloatingTexts.h"
using namespace std;
int main()
{
srand((size_t)time(0));
Data::loadItems();
Data::loadAbilities();
Data::loadEnemies();
Engine::lo... | [
"noreply@github.com"
] | noreply@github.com |
3dc17e5299a45dec8203ec0123401523ac1e928e | 38cea84aad798112978e45e330792d50ec05bd3e | /game/shared/sdk/sdk_playeranimstate.cpp | 5a79050e04aa751a5cd2d3f96bca3afedaff6732 | [] | no_license | HL2-Ghosting-Team/src | 3822c5f7b621ef8e158fa7e2a74551c9cd81257f | 8c9e32e78a0f67591d6dd8a17cb77bc0ebf832b5 | refs/heads/master | 2022-06-25T01:15:20.989386 | 2022-06-16T19:58:43 | 2022-06-18T17:52:05 | 12,396,254 | 20 | 19 | null | 2022-06-18T17:52:06 | 2013-08-27T03:49:09 | C++ | WINDOWS-1252 | C++ | false | false | 18,103 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "base_playeranimstate.h"
#include "tier0/vprof.h"
#include "animation.h"
#include "studio.h"
#includ... | [
"nkerns25@yahoo.com"
] | nkerns25@yahoo.com |
888d5d88de10df1599221442a4770b72c18ad355 | 1c83aef38de4e27f54d4664886a431b4fd2caea3 | /Engine/Asset/AudioAsset.cpp | 1b28a4643fd61ef26e2db1eecddf2a39e5888e8f | [] | no_license | quinsmpang/StormBrewerEngine | 7a84494debe415c9216586ccfb7d1faf5e0e016f | 73f0f3874874909fdf97977737133f5996668410 | refs/heads/master | 2021-06-21T05:42:34.051588 | 2017-08-09T08:51:42 | 2017-08-09T08:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,652 | cpp |
#include "Engine/EngineCommon.h"
#include "Foundation/Buffer/BufferUtil.h"
#include "Engine/Asset/AudioAsset.h"
#include "Engine/Asset/AssetManager.h"
struct WAVE_HEADER {
unsigned int riff; // RIFF string
unsigned int overall_size; // overall size of file in bytes
unsigned char wave[4]; //... | [
"nick.weihs@gmail.com"
] | nick.weihs@gmail.com |
a30ffdaf5b5c14fee07b1bfb682b9eef79a5fabb | 4a3d1a40c47206520984a18f1736a62b3ca2577f | /src/City.cpp | f0f3821f7a31ceb10e471b9749d0c6e7472a53f8 | [] | no_license | Louis-DR/Pixel4X | a12be3294b770c9b42e088fb2473085707ac607a | 4b13690f3d09f48b503c41031e4fd0941e7b3fc4 | refs/heads/master | 2022-01-07T10:35:37.438289 | 2019-06-11T13:13:09 | 2019-06-11T13:13:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | cpp | #include "City.hpp"
City::City(Cell* _location) :
location(_location)
{
}
City::~City()
{
}
void City::assign(Province* _province) {
province = _province;
} | [
"louisduret@gmail.com"
] | louisduret@gmail.com |
3cf97d9dbbf468015a09c78e3e8818dcfebf198e | aa59edc791efa1eea8bb477689e5ae227f7621b2 | /source/NanairoCore/Material/EmitterModel/non_directional_emitter.hpp | 6e7cfba80388be2eb90d617cbad24b3ceb5f5240 | [
"MIT"
] | permissive | byzin/Nanairo | e5f30fb8fae8d65c45c768c8560524ac41f57d21 | 23fb6deeec73509c538a9c21009e12be63e8d0e4 | refs/heads/master | 2020-12-25T17:58:18.361872 | 2019-05-05T06:05:34 | 2019-05-05T06:05:34 | 18,831,971 | 32 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | hpp | /*!
\file non_directional_emitter.hpp
\author Sho Ikeda
Copyright (c) 2015-2018 Sho Ikeda
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
#ifndef NANAIRO_NON_DIRECTIONAL_EMITTER_HPP
#define NANAIRO_NON_DIRECTIONAL_EMITTER_HPP
// Standard C++ library
#inc... | [
"zin.kosmos.1190@gmail.com"
] | zin.kosmos.1190@gmail.com |
5c6a172b6d420366b29bf82e38554b78ec9cabfb | bf0f85a3516e2ef51abf3c892c01ab252dcb624f | /src/mio/http_headers.cpp | b33d032eb1d6f463741c8fc4552b7ca166afeedf | [
"MIT"
] | permissive | Ryooooooga/mio | 7f67ce44c17d3d92135c852a71324f56f883afad | 9ec4e0819eb0eda35e4a4a314ca6aa8aeeedcd9d | refs/heads/master | 2022-12-09T00:25:18.010107 | 2020-09-10T02:58:27 | 2020-09-10T02:58:27 | 291,269,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,972 | cpp | #include "mio/http_headers.hpp"
#include <algorithm>
#include <charconv>
namespace mio {
namespace {
constexpr char to_ascii_lower(char c) noexcept {
// Character encoding should follows ASCII.
return ('A' <= c && c <= 'Z') ? static_cast<unsigned char>(c) | 0x20 : c;
}
... | [
"ryoga_314@yahoo.co.jp"
] | ryoga_314@yahoo.co.jp |
80b0011a19cd21ec4c44ec6501cd80ff74c8ef2b | 8a5f8dfdd038590a579d14a84558cce2bb930b22 | /AICamera/app/src/main/cpp/caffe2/perfkernels/embedding_lookup_fused_8bit_rowwise_avx2.cc | 0c18a1df52ff8a010fad30e8f0a461577504ef6b | [
"MIT"
] | permissive | blackxer/AICamera | ebc94c663e6f2ea6e8c81290a64bce4e7d369ed9 | 4f0a6a09a2288da2ec7140744b5c2862df114c78 | refs/heads/master | 2020-08-11T19:53:42.388828 | 2019-10-16T01:19:59 | 2019-10-16T01:19:59 | 214,616,987 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 126,352 | cc | //// --------------------------
//// ATTENTION:
//// THIS CODE IS AUTOGENERATED
//// BY hp_emblookup_codegen.py
//// DO NOT MODIFY!!!
//// --------------------------
#include <caffe2/core/common.h>
#include <caffe2/core/types.h>
#include <immintrin.h>
namespace caffe2 {
template <bool IS_WEIGHT_POSITION... | [
"zhangwei@egova.com.cn"
] | zhangwei@egova.com.cn |
56a41a4a5474891af5c15e734528af67405c8e15 | 10c2ec47c85c53d4618611ced929cc20881b2369 | /dij优先队列优化.cpp | 16af3c67700fe72e5a34cc9bf479f7c2769077dc | [] | no_license | butwedo/OI-code | 51c9d763120b6f977387734ca2cf54d037d915ed | 5727a35137108cf9224af7671994e7e2f41d3610 | refs/heads/master | 2021-06-24T11:40:46.973128 | 2017-09-11T06:37:55 | 2017-09-11T06:37:55 | 103,098,919 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,065 | cpp | #include<iostream>
#include<queue>
using namespace std;
int point[500002],head[500002],nxt[500002],val[500005],tot;
int len[500002];
bool vis[500002];
const int big=2147483647;
void add(int x,int y,int v)
{
tot++;
point[tot]=y;
val[tot]=v;
nxt[tot]=head[x];
head[x]=tot;
}
struct mine{
int num;
... | [
"noreply@github.com"
] | noreply@github.com |
ecf93848ab92f5340a79f1575e38913012549636 | 271ee7f9b31c4053442d1e488bcf7113b984e9a3 | /Covid Challenge/Round-2/judge/submissions/96109588/code2.cpp | 08d9327719dd975800d1118cf3064ba1489d59af | [] | no_license | amirghx/Algorithms_Jupyter | 3f3e196a43023c3f231adaddb57c1b55e1202d1c | adceb29cc6a7618e9040eae809f8e027dfe90593 | refs/heads/master | 2023-01-22T19:27:51.767018 | 2020-12-07T16:46:53 | 2020-12-07T16:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | cpp | #include <iostream>
#include <vector>
using namespace std;
typedef pair<int, int> match;
struct PlaceHolder {
int type, day, from, to;
PlaceHolder(int type, int day, int from, int to) {
this->type = type;
this->day = day;
this->from = from;
this->to = to;
}
};
match make_match(int from, int to, int end)... | [
"kianoosh.abbasi76@gmail.com"
] | kianoosh.abbasi76@gmail.com |
1d0f7aeced09d5486a4db0924420eeabc1bb8726 | dbfc72c75df1c93bef6fe7cb344771ebfa46786e | /HDUOj/2015-2.cpp | dbd0044ed987a3465b51192bdb0ef8d3e2611ba1 | [] | no_license | Tukekehaohaonuli/algorithm | 610a47fbd67adf7304805b04fd5ca07bcfd63943 | c23d5306e7ecfd0fcff769b353dcaf23b4d12f3f | refs/heads/master | 2023-01-22T20:41:25.693524 | 2020-12-01T06:11:58 | 2020-12-01T06:11:58 | 293,814,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include<cstdio>
const int maxn=101;
int G[maxn][maxn];
int visited[maxn][maxn];
int dir[][2]={{-1,0},{1,0},{0,1},{0,-1}};
int m,n;
void dfs(int x,int y){
visited[x][y]=1;
for(int i=0;i<4;i++){
int dx=x+dir[i][0];
int dy=y+dir[i][1];
if(dx<0||dx>=m||dy<0||dy>=n||visited[dx][dy]||G[dx][dy]!=G[x][y])
continue;
... | [
"850580234@qq.com"
] | 850580234@qq.com |
bc64d21ddc5aa3d1d6b9c7e6a030f097191a4b65 | b9d51f5b505e53c3c92fb33065c650ab3cc7137d | /readonly Virtual File System/myMemoryFS_cmt.cpp | 08fc3ae211aa0f7493a13d4fd8bdd6b35fc1c547 | [] | no_license | ergaurav2/OS | 6fa6b84740ecfc025049ecf075584433e5f56075 | cbddb361c7799b71da9d501a527d3e75d7db209d | refs/heads/master | 2020-06-03T22:21:19.091795 | 2014-03-11T16:51:08 | 2014-03-11T16:51:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,662 | cpp | /*
g++ -Wall myMemoryFS.cpp `pkg-config fuse --cflags --libs` -o myMemoryFS
*/
#define FUSE_USE_VERSION 26
#include <fuse.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <vector>
#include<cstring>
#include<string>
#include<stdio.h>
#include<iostream>
#include<stdlib.h>
using... | [
"ergaurav2@gmail.com"
] | ergaurav2@gmail.com |
ab3ac9af8d3788e0a584d02cc4e639ec206abfac | d347554c4bc24b7e159551007f5683cac8fa97d0 | /cwp/src/front/pandawidgets/RestrRouteItem.h | 4e3009573de21781ce44814a92bfd399dc770f04 | [] | no_license | ansartnl/ALPHA | 892065b1476ec9c35e834a3158592332cda4c5f5 | 138ddd981ed5bac882c29f28a065171e51d680cf | refs/heads/main | 2022-12-27T16:15:28.721053 | 2020-10-16T08:58:41 | 2020-10-16T08:58:41 | 304,633,537 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #ifndef RESTRROUTEITEM_H
#define RESTRROUTEITEM_H
#include <QListWidgetItem>
class RestrRouteItem : public QListWidgetItem
{
public:
/*RestrRouteItem(Route route);
Route *route();
private:
Route m_route;*/
};
#endif // RESTRROUTEITEM_H
| [
"50514882+dg-atmsys@users.noreply.github.com"
] | 50514882+dg-atmsys@users.noreply.github.com |
f102dced036b781b1debb18b9e0bcbb13f927ca9 | 8729bf0a5c04c8e862d4237611d6f46dec755872 | /main.ino | 2f7ab69cfbf86663a62c895aabe901e4f52a70cb | [] | no_license | xKIVIx/Home | 022ec08f189b91a647db27d3b69e7714b805f4fe | 91b32a5b1993672a5818a9359b886ff739da33eb | refs/heads/master | 2021-05-01T14:27:20.635517 | 2018-02-11T04:54:51 | 2018-02-11T04:54:51 | 121,086,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,161 | ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include "settings.h"
#include "CRelay.h"
#include "CTemperature.h"
#define MQTT_VERSION MQTT_VERSION_3_1_1
WiFiClient wifiClient;
PubSubClient client (wifiClient);
/////////////////////////// RELAY ////////////////////////////////////////////
// Количесвто реле
co... | [
"hj09@mail.ru"
] | hj09@mail.ru |
ff6c70ee08ada6fe101d7b4e204bb9afaa2b762f | a94770c70704c22590c72d7a90f38e3a7d2e3e5c | /Algo/Leetcode/100SameTree.cpp | a09599c9e53051233516cd8c3b76d8fbe541e750 | [] | no_license | lawy623/Algorithm_Interview_Prep | 00d8a1c0ac1f47e149e95f8655d52be1efa67743 | ca8b2662330776d14962532ed8994dfeedadef70 | refs/heads/master | 2023-03-22T16:19:12.382081 | 2023-03-21T02:42:05 | 2023-03-21T02:42:05 | 180,056,076 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | cpp | //1. Recursion. O(N)
class Solution {
public:
bool isSameTree(TreeNode* p, TreeNode* q) {
if(!p && q || p &&!q) return false;
if(!p && !q) return true;
if(p && q) return (p->val==q->val)&&isSameTree(p->left,q->left)&&isSameTree(p->right,q->right);
}
};
//2. Iteration use one stack.
clas... | [
"yl4003@columbia.edu"
] | yl4003@columbia.edu |
183b423ea66184da4fa720ac380473a29ed24a91 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_PrimalItemConsumable_Egg_Moschops_classes.hpp | da42e43f2698f0600ada29213f42ee52cd155893 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 893 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemConsumable_Egg_Moschops_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
b81aefcd3689aef8ed215a264801569de629aab0 | 59dfdf529e7de2fea8fd16465164a14e82d7766c | /lomos/sampcont.cpp | 310ed4961b7dc1e4d273dab13945663e45c91c7f | [] | no_license | OS2World/DEV-SAMPLES-MESA-MODK-Samples | 505c2e1d8f683d15f2126e52a33393dbdb865240 | 011d28fdbb291f710ab3ca98f77002f6ddd6574d | refs/heads/master | 2020-06-05T02:19:33.347143 | 2014-12-25T16:05:02 | 2014-12-25T16:05:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,840 | cpp | /**************************************************************************
* *
* *
* This code is copyright (c) 1994 *
* ... | [
"martin@os2world.com"
] | martin@os2world.com |
cdc6e649dee3d74bfd60894dc125e1b62fc06b93 | b3bb60ab41fbfcdaed9b8dc29b477e6503ead64f | /robert/4/Array2.cpp | 0642e1cd467945dbf22b42d3e6ec04ac03966774 | [] | no_license | yokoi-h/cpp-study | ec728ae4f7de219aa766b3cf64a396faba3316cf | 5a558c3ed3a8122a1ed7b5e7250ff0062732bc32 | refs/heads/master | 2021-01-24T06:41:18.470841 | 2015-01-08T23:32:57 | 2015-01-08T23:32:57 | 28,852,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include <iostream>
using namespace std;
void Init(int array[]){
for(int i = 0; i< 5; i++ ){
array[i] = i * 5;
}
}
void Show(int array[]){
for(int i = 0; i< 5; i++ ){
cout << array[i] << endl;
}
}
int main() {
int n[5];
Init(n);
Show(n);
}
| [
"yokoi.hiroshi@po.ntts.co.jp"
] | yokoi.hiroshi@po.ntts.co.jp |
55c4e4dfa1df08832e5eaca0990ac2c2e13a722b | 1479561071f34bc92cba23cb9d99efdcf71f05cd | /examples/statistical_key_facts.cpp | 43a1aa6feb436be0b33bead39497fa98826c9bf7 | [
"MIT"
] | permissive | bloomen/transwarp | 9c9203b8f5f655cd6d875149024612d4ff2c8e39 | 4c7b2e492b6c389f76d3e4001aeecf4ff516b22c | refs/heads/master | 2023-06-01T01:17:52.491657 | 2023-05-18T09:33:10 | 2023-05-18T09:33:10 | 79,993,446 | 633 | 58 | MIT | 2022-06-24T10:53:16 | 2017-01-25T07:43:33 | C++ | UTF-8 | C++ | false | false | 5,232 | cpp | #include "statistical_key_facts.h"
#include <transwarp.h>
#include <fstream>
#include <iostream>
#include <random>
#include <numeric>
namespace tw = transwarp;
namespace {
using data_t = std::shared_ptr<std::vector<double>>;
data_t generate_gamma(std::size_t sample_size, double alpha, double beta, std::shared_ptr<s... | [
"chr.blume@gmail.com"
] | chr.blume@gmail.com |
bfaa98fe7f383f0692c57bf9a69563301136cf42 | b36a45655541071306d832641a952150aa4f9047 | /AKB_ZAD_3/Input.h | 2babcbb6775cf1923c55ba6b9098b8b8857cc5cb | [] | no_license | ddarkpete/AKB-3 | 71c1a257afca1001733c5050b40329ef10b14934 | 3e21c60a68ca6872bbd3b7c0a5fc94b489766dd6 | refs/heads/master | 2021-01-11T21:13:55.658117 | 2017-05-11T23:19:01 | 2017-05-11T23:19:01 | 79,273,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | #pragma once
#include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
using namespace std;
class Input
{
public:
Input();
~Input();
string input_id;
string whole_sequence;
string sequence_with_del;
vector<int> quals;
//vector<Input> instances;
};
| [
"pmichalak17@gmail.com"
] | pmichalak17@gmail.com |
3ebb4e26a15b961521b91707fb73030ce38d52e5 | 5d3f49bfbb5c2cbf5b594753a40284559568ebfd | /doc/quickbook/oglplus/quickref/frag_data.hpp | c88134dabe1e9664ea7552be2543bbeaaf8ae14d | [
"BSL-1.0"
] | permissive | highfidelity/oglplus | f28e41c20e2776b8bd9c0a87758fb6b9395ff649 | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | refs/heads/develop | 2021-01-16T18:57:37.366227 | 2015-04-08T18:35:37 | 2015-04-08T18:54:19 | 33,630,979 | 2 | 8 | null | 2015-04-08T20:38:33 | 2015-04-08T20:38:32 | null | UTF-8 | C++ | false | false | 1,500 | hpp | /*
* Copyright 2014-2015 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)
*/
//[oglplus_frag_data_loc_ops
namespace oglplus {
template <>
class __ProgVarLocOps<__tag_FragData>
{
public:
static... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
f4f32746b47a298e9ca765ce8932df1346b19e17 | e3505cfd86c57b1869c2885a3a44550af552d483 | /source/plugins/org.custusx.webserver/cxRemoteAPI.cpp | aa6b3c09f1add98848b3cc80a88f451024a51da7 | [
"BSD-3-Clause"
] | permissive | leettran/CustusX | afb6a3bc6607bf28fa1c94f94b66cf9979728cd5 | b4e64e0db364da189ee9eafa54ce0ab258f5105a | refs/heads/master | 2021-07-14T03:33:55.038281 | 2017-02-09T09:29:57 | 2017-02-09T09:29:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,124 | cpp | /*=========================================================================
This file is part of CustusX, an Image Guided Therapy Application.
Copyright (c) 2008-2014, SINTEF Department of Medical Technology
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are perm... | [
"christian.askeland@sintef.no"
] | christian.askeland@sintef.no |
9ed87ac8ae2cd61df377d172d180e28a3d4fa27f | 28333b208bdea2203bbcfa6154b043f3adac9d46 | /Utils/Source/Logger.h | 9fc20cbf968a942ef828b819141faecb16cd650c | [] | no_license | tedopranowo/WewEngine | c674eb56ce6d11efa7cd91fccfdc05cbeb6efd8a | 7dda831a1dc34e415aa78b2b779f7cbf06d90b93 | refs/heads/master | 2020-04-06T13:18:02.747123 | 2018-11-14T05:27:02 | 2018-11-14T05:27:02 | 157,493,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | h | #pragma once
#include <Windows.h>
#include <unordered_set>
#include "Color.h"
#define LOG(type, format, ...) Logger::PrintLog(Logger::Type::type, __FILE__, __LINE__, format, __VA_ARGS__)
//#define LOG(type, message, ...) Logger::PrintLog(Logger::Type::)
class Logger
{
public:
enum class Type : char{
Inf... | [
"tedokdr@yahoo.com"
] | tedokdr@yahoo.com |
d3e0dc508c964de92c093469c915559bc70427f3 | e3e027f6234076d39681520c4da27ad756660022 | /sleepy_discord/webhook.cpp | eb45593eb2d1434666c6585ede5460733837f661 | [
"MIT"
] | permissive | Sirivasv/sleepy-discord | ef4d5194c10e9cbd364a6967616fac910d4f3870 | 6b1982dad4de83ce3848ce8c9714d5fef15d7713 | refs/heads/master | 2021-07-09T06:57:08.504963 | 2017-10-03T01:18:02 | 2017-10-03T01:18:02 | 105,602,116 | 0 | 0 | null | 2017-10-03T01:15:03 | 2017-10-03T01:15:03 | null | UTF-8 | C++ | false | false | 531 | cpp | #include "webhook.h"
SleepyDiscord::Webhook::Webhook(const std::string * rawJSON) {
std::vector<std::string> values = json::getValues(rawJSON->c_str(),
{ "id", "guild_id", "channel_id", "user", "name", "avatar", "token" });
unsigned int i = -1;
id = values[i++];
server_id = isDefined(values[i++]) ? value... | [
"wuhao64@gmail.com"
] | wuhao64@gmail.com |
258a5c2605ef4e397a6334cf9cd079f50e4a040c | 727fe8be94f19e1e11ed580ca1bde5029ff4c4e4 | /SortContacts.h | 86b9400eebe6efe40645631a2d06e987a57561e8 | [] | no_license | Gaveno/ContactDatabase | 2f97d9b78852b8d722f240be051249d4496a5508 | 0fc82e2a76ef41b039ac22d0a6bd06538188712e | refs/heads/master | 2016-09-14T07:27:47.051011 | 2016-05-11T14:22:27 | 2016-05-11T14:22:27 | 56,981,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | h | //
// Created by Gavin on 5/9/2016.
//
#ifndef FINALPROJECT_SORTCONTACTS_H
#define FINALPROJECT_SORTCONTACTS_H
#include "searchconstants.h"
#include "Contacts.h"
namespace ContactDatabase {
class SortContacts {
public:
SortContacts() : __index(0) { }
SortContacts(FieldSearch index)
... | [
"gavin.monkeystudios@gmail.com"
] | gavin.monkeystudios@gmail.com |
c944cffd1944feaa45f7df210f87be7b162b9d18 | bd43b754debc7907e52948d369cda7a5f477b387 | /src/controller/python/ChipDeviceController-ScriptBinding.cpp | f33b58dcb45ea643d4ce6d1e5dc2d1d10d8b8b55 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | qingzhang15/connectedhomeip | 67d7fa0d999b8433b6c9ec5f751c99056b2450ec | 49aec49b4186241ba596cf0746365bedc00aa124 | refs/heads/master | 2023-03-18T07:31:41.487089 | 2021-03-03T01:27:38 | 2021-03-03T01:27:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,296 | cpp | /*
*
* Copyright (c) 2020-2021 Project CHIP Authors
* Copyright (c) 2019-2020 Google LLC.
* Copyright (c) 2013-2018 Nest Labs, 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.
* ... | [
"noreply@github.com"
] | noreply@github.com |
2741f3ff7d88c8a57b9c8f6525185938055a7812 | 349155e94705ae1f0e3dd7dff688dcfbe4abe66d | /generic_problems/generate_subarrays.cpp | 9e8170838f46ea414cdad8b4771dfc1b4bb5daf7 | [] | no_license | compilepeace/DS_AND_ALGORITHMS | e7f003ac4cdadf4629482418051b4d34292c588c | 9f7d08900efead330614bb09cca626c9fe68e7fe | refs/heads/master | 2023-02-07T13:32:28.339202 | 2023-02-03T10:32:40 | 2023-02-03T10:32:40 | 183,763,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | #include <iostream>
using namespace std;
void printSubarrays(int a[], int n)
{
for (int i = 0; i < n; ++i)
{
for (int j = i; j < n; ++j)
{
for (int k = i; k <= j; ++k)
cout << a[k] << ' ';
cout << endl;
}
}
}
int main()
{
int n;
cin >> n;
int a[n];
for (int i = 0; i < n; ++i)
cin >> ... | [
"compilepeace@gmail.com"
] | compilepeace@gmail.com |
379ef049e92fe33be94fcc5c4b0eb718d376da8b | 1b51a272541a76f41dab9d1507fcc968c21b99a3 | /Exam_Rank_05/template/canonical.cpp | 4ccd795629efc4e8374d0d0bdbdd7b11fe57238a | [] | no_license | flavienfr/Exam | b6e15b675010b8259abf0862218a6d3f2f90d173 | 42670f99d15e1c74f71932b259818eb4defd9614 | refs/heads/main | 2023-02-26T14:30:04.090972 | 2021-02-03T18:30:58 | 2021-02-03T18:30:58 | 335,458,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include "ChangeMe.hpp"
ChangeMe::ChangeMe(){
}
ChangeMe::ChangeMe(const ChangeMe &the_ChangeMe){
*this = the_ChangeMe;
}
ChangeMe &ChangeMe::operator=(const ChangeMe &the_ChangeMe){
return (*this);
}
ChangeMe::~ChangeMe(){
}
| [
"flav.rsl@hotmail.fr"
] | flav.rsl@hotmail.fr |
3a86085c6714185ebab3787ebdd015002fbbf095 | 82dbfac2dcb667b472e3ca17657fb28334c7a0e8 | /src/libzerocoin/Commitment.cpp | 098fdb74b817a3ae6701a6655450c74e1bd76bb0 | [
"MIT"
] | permissive | GrinCash/GrincCore | 3a267a1fd49410aaf71de3c2ed49a1e4b6778f67 | 505e960567d30c1d6d0cdf17bac9493b3575e2cb | refs/heads/master | 2020-04-29T14:14:21.614368 | 2019-03-19T18:11:02 | 2019-03-19T18:11:02 | 176,190,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,186 | cpp | /**
* @file Commitment.cpp
*
* @brief Commitment and CommitmentProof classes for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is rele... | [
"grincashcoin@yahoo.com"
] | grincashcoin@yahoo.com |
6bc31dc524534a4263f0a1029cbf6cba4bb764c3 | 4507dd7dba7e600e9c95f8d9628ff0f9d66e5df3 | /04/bigint.cpp | 4396de1fa27ddd4341b3aecae10e443bc270eb65 | [] | no_license | AsAsgard/cpp_spring_2019 | 86602290497241316e397beedb288c7abf7ceda3 | f3efd5f8f1a65a2a2d2f745fa2b72fd5759b26b7 | refs/heads/master | 2020-04-28T19:24:28.457984 | 2019-05-13T20:26:58 | 2019-05-13T20:26:58 | 175,509,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,370 | cpp | #include "bigint.h"
BigInt::BigInt(int64_t value) : sign_(Sign::plus)
{
if (value < 0)
{
this->sign_ = Sign::minus;
value = std::abs(value);
}
do {
this->data_.PushFront(value % 10);
} while((value = value/10) != 0);
}
BigInt& BigInt::operator=(int64_t value)
{
BigInt r... | [
"dbrylkin96@gmail.com"
] | dbrylkin96@gmail.com |
07ac4de3684c188c94805388d4f474c084477a34 | b13b51704390ee6af926a85ab8e7890b6aa8976e | /Unique_Paths_II.cpp | 284e6f07275b577c09ff50eef5646523bd8b9a42 | [] | no_license | kxingit/LeetCode | 7308eb306fe899e3f68a7cf90b43a37da46416cc | a0ef8e5454bd29076b50ffedc5b1720dd7273a9d | refs/heads/master | 2021-01-14T08:03:20.811221 | 2017-03-20T19:25:56 | 2017-03-20T19:25:56 | 35,183,062 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | /*
* Now consider if some obstacles are added to the grids. How many unique paths would there be?
* An obstacle and empty space is marked as 1 and 0 respectively in the grid.
*/
class Solution {
public:
int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) {
int m = obstacleGrid.size();
i... | [
"kxin@me.com"
] | kxin@me.com |
8e7e5e0383b40d67896e7446fce00fb78d1a6f3f | 1c3eb2936dcad3905b87ae07798017aa724b49fe | /src/proj/Qt/entboost/ebdialoglogin.h | 87298ed2988ccc896eef2b49217711449edb6fe1 | [] | no_license | jjzhang166/entboost | cbe726c1501733b162e053caba2301dea3f917b8 | f066949b129848828b99a68eb36157ba146190fc | refs/heads/master | 2021-01-04T22:24:14.639949 | 2017-08-02T06:42:00 | 2017-08-02T06:42:00 | 99,302,114 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,338 | h | #ifndef EBDIALOGLOGIN_H
#define EBDIALOGLOGIN_H
#include "ebclientapp.h"
#include <QMouseEvent>
#include <QMenu>
#include <QListWidgetItem>
#include <ebdialogbase.h>
#include <eblabel.h>
namespace Ui {
class EbDialogLogin;
}
class EbLoginInfo
{
public:
typedef boost::shared_ptr<EbLoginInfo> pointer;
EbLoginI... | [
"akee.yang@gmail.com"
] | akee.yang@gmail.com |
c7cd4d953eb90d5fe5aacaf4550d1174e8893550 | 656db190a455582faf3dc04bea90184bf7d08a87 | /MetaBox.h | 002fce3e529fc9d215facf1f5c4ad0413bb6b2ed | [
"MIT"
] | permissive | mjtb/moocow | 34766da02bbb8c1c3117dad4e9149c67aa8a07d2 | e85719419635589ee4b63a2206a6de2ec4524679 | refs/heads/master | 2020-03-17T16:38:37.350362 | 2018-05-29T04:34:45 | 2018-05-29T04:34:45 | 133,753,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #ifndef MOOCOW_METABOX_H_INCLUDED
#define MOOCOW_METABOX_H_INCLUDED
#include "Box.h"
class MetaBox : public Box {
public:
MetaBox(const void * p, size_t o) : Box(p, o) {
make_container();
children()->load(dataptr(), 0, data_length());
}
};
#endif
| [
"michael_john_boyle@hotmail.com"
] | michael_john_boyle@hotmail.com |
0a223efbcffeb5eb6d077005ba618a94b15c9670 | 4429392bbd608f6ee8f1bcd68f745ec74c8458fc | /PredatorAndPrey/PredatorAndPrey/ini.h | 835d94114cb936c14ec20f4f5e747b9abf6c3421 | [] | no_license | flyingtoaster0/CS4471TREE | eccee91bcb999f73a0b499d7e48b68c02530d0b6 | b9a3c40e3a8cc7f5d3b16a0a471db745df0a3fb5 | refs/heads/master | 2021-01-13T14:10:41.148206 | 2013-12-02T21:41:49 | 2013-12-02T21:41:49 | 14,600,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,961 | h | /*
Feather INI Parser - 1.29
You are free to use this for whatever you wish.
If you find a bug, please debug the cause and look into a solution.
Post your compiler, version and the cause or fix in the issues section.
Written by Turbine.
Website:
http://code.google.com/p/feather-ini-parser/downlo... | [
"timothy.schonberger@gmail.com"
] | timothy.schonberger@gmail.com |
68182ebc722f110e9df6fd87d8da3bdd177bd161 | ff7197836231cbae2a7b4c80934725fb7a581595 | /vol00/0085/Josephs_Potato.cpp | 4ffcd558470e82b6fbc08193a2853a578b5a31b3 | [] | no_license | catupper/AOJans | 40e0a3e78e7ce57fea73d920ffec91d202fed25d | 69b0cb9e857d3f67e3e13ab7bf5eaa87e106eb60 | refs/heads/master | 2021-01-22T04:49:31.688646 | 2013-10-15T18:41:08 | 2013-10-15T18:41:08 | 5,828,564 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int num[1050];
int main(){
int a, b;
while(cin >> a >> b){
if(a == 0 && b == 0)return 0;
fill(num, num + a, 1);
int now = 0;
for(int i = 0;i < a - 1;i++){
for(int j = 1;j < b;j++){
while(!num[(++now)%=a]);
}
num[now] = 0;
whi... | [
"nekarugo628@gmail.com"
] | nekarugo628@gmail.com |
01e528344dfd93fc1fc0d32ba10e2172813b3c0d | 06a5dcb7d5933cd51f340238a2153730d316fd1f | /SC_CtrlBoard_arm/bsp/stm32f40x/cpptools/PID.h | 669f21e3012c9187c2f77c75aaf26626c95c0262 | [] | no_license | ekrats/ctrl_arm | f2a79942cadb3f131d90aa25857a5c139539e5e4 | 10ddefd992d390f4a2a5e9bfbc679754cfe5cf53 | refs/heads/master | 2020-07-03T03:19:05.109204 | 2016-11-28T10:32:49 | 2016-11-28T10:32:49 | 74,199,690 | 0 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,020 | h | /*!
* This is a part of the TongYe Foundation Classes C++ library.
* COPYRIGHT (C) 1999-2014, TongYe Corporation All rights reserved.
* @file PID.h
* @brief This file contains definition of class PID
* Change Logs:
* Date Author Notes
* 2014/07/15 Coase the first version
*/
#p... | [
"2yelrl@gmail.com"
] | 2yelrl@gmail.com |
aab7babe33a0bb773fe0f789a354daf0604eb7c0 | c91f7f15e9a0950f8c189c727cbf3c5464b20d61 | /TrabalhoApJoyce.cpp | e6c119558f1b9dc7a84da729d0c1e332c7d7ba3c | [] | no_license | Igor-Ribz/TrabalhoAP | e473312d41bf403d063493105b7c4d6c85baae4c | 46a44b1c3d15d5771f07ea42508a4ade8fbd9fd9 | refs/heads/main | 2023-04-14T23:26:16.505569 | 2021-04-25T22:02:50 | 2021-04-25T22:02:50 | 361,548,289 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,160 | cpp | //Nome completo: Igor Ribeiro de lima martins
// Matrícula: UC21103937
// Curso: Ciências da Computação
#include<stdio.h> //Biblioteca para acrescentar Scanf e Printf.
#include<locale.h>//Biblioteca para permitir o uso de acentuação e modificar a linguagem.
#include<string.h> //Biblioteca para utilizar string... | [
"noreply@github.com"
] | noreply@github.com |
59050d881e6e8e4b36f76fe4d51466f5f7e481b9 | de4ce2980d5a0e506b3e1a97ec9e9e6f70ceda67 | /scenes/Menu/Menu.h | 9bc8db95f59faad903408e2ba579444c3ebed6fe | [] | no_license | DLowHP/Hangman | d704969fb8e1e0bcd5be99f9637f27543a1c7350 | 342c613d439d5043b1b77d7318533a73dd168893 | refs/heads/master | 2023-01-29T21:33:12.275885 | 2020-12-08T14:40:50 | 2020-12-08T14:40:50 | 318,792,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | h | #ifndef MENU_H
#define MENU_H
#include <QWidget>
#include "include/nlohmann/json.hpp"
using json = nlohmann::json;
#include "scenes/Help/Help.h"
namespace Ui {
class Menu;
}
class Menu : public QWidget
{
Q_OBJECT
public:
explicit Menu(QWidget *parent = nullptr);
~Menu();
json getPhrases();
e... | [
"biznes.danielfidor@gmail.com"
] | biznes.danielfidor@gmail.com |
5946b76d00d8de4e9d9385bac03a739275bd4bc8 | 005d4f0fe244fd806b51669eecd27871dbbb5f3d | /TrapSquare.h | ea9bc573f177c8915736c3b5dce950c7443aec52 | [] | no_license | peterlloydclayton/IgelArgern | 65363d91b2d0e4303e621afc6234dc298d774c50 | aa0065a5939c58c3aef64339eb7a5b3a7d237843 | refs/heads/master | 2023-02-14T03:47:31.325539 | 2021-01-10T05:20:26 | 2021-01-10T05:20:26 | 328,307,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | /*
a. File Name: TrapSquare.h
b. Author: Harika Para, Sereysathia Luy, Peter Clayton
c. Date: 03/27/2020
d. Compiler Used: Visual Studio 2019, Xcode (For Sereysathia)
e. Brief Description of the file: header file for the TrapSquare
*/
#ifndef TRAPSQUARE_H
#define TRAPSQUARE_H
#include <string>
#include <stack>
#incl... | [
"56154881+peterlloydclayton@users.noreply.github.com"
] | 56154881+peterlloydclayton@users.noreply.github.com |
d307ec47656abf6c5c4264377a08e384093ce35c | 9729feb18c6652bd538e3abdd56f13d64233398b | /C++/OOP/overloading/operator_overloading.cpp | f822c3198c1c1715b677fb5914a65f973b32ec25 | [] | no_license | phannguyenlong/c_programming | e40b772678c5695faf44e11f9773ca5e39ec5aa1 | 23624ccca8865e11e40580330e750cc99194be8e | refs/heads/master | 2020-11-24T12:46:51.170542 | 2020-10-28T23:09:08 | 2020-10-28T23:09:08 | 228,150,317 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,719 | cpp | #include <iostream>
#include <iomanip> // manipulate output to correct form
using namespace std;
// this excercise to learn about operator overloading
const int HOUR_MAX = 23;
const int MINUTE_MAX = 59;
class Time {
private:
int hour;
int minute;
public:
Time(int time = 0)
: hou... | [
"phannguyenlong0812@gmail.com"
] | phannguyenlong0812@gmail.com |
fcfe56d24b15783ff65df8b37edd721ba3618f23 | 0a0228b199d68193cfce8e6996ed298c72865071 | /src/types.h | ff8d34b0beec08a95de28f385986386a22e111fd | [
"MIT"
] | permissive | logachev14/protoEng | 4fb91affe96315150fe318a7c692b24c6357e096 | df5ea2e811afe226aa9b7b82aed2b800fe70d54d | refs/heads/master | 2020-03-22T22:36:24.448502 | 2018-10-10T15:11:44 | 2018-10-10T15:11:44 | 140,760,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,787 | h | #pragma once
#include "eng_settings.h"
#include "i_register.h"
class IRawDataProvider
{
public:
IRawDataProvider(): m_rawDataPtr(0), m_currDataLen(0)
{
}
virtual void setData(uint8_t * newData, uint32_t len) = 0;
uint32_t getLen()
{
return m_currDataLen... | [
"logachev14@gmail.com"
] | logachev14@gmail.com |
cf6304de05daa6b6b2a8930994602cb98fd395e1 | 10e9a0b8a9a3e534b07d2131b7831593c70b331f | /LoVid_hardwareTest/src/Commander.hpp | 153e2c84c04dfeef1fccf8a406d8d0657728c38a | [] | no_license | tyhenry/LoVid-ReactionBubble-RAW-oF | 9bfa95b93aac4eb538e573aaafbb993c4acb6a9a | 8e97c196cca2c7402e440fe475abf63a4b70c66d | refs/heads/master | 2021-01-11T15:13:23.166728 | 2018-02-15T20:15:21 | 2018-02-15T20:15:21 | 80,319,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | hpp | //
// Commander.hpp
// scannerControl
//
// Created by Tyler on 8/3/16.
//
//
#pragma once
#include "ofMain.h"
class Commander {
public:
struct cmdVal {
char cmd = 0;
unsigned long val = 0;
};
Commander(){
memset(buf,0,sizeof(buf)); // clear buffer
}
Comma... | [
"henrytyler@gmail.com"
] | henrytyler@gmail.com |
a88f83e7bdd1f58927152b5d59c91e506112b17e | 32fbc825e34ac1b4331ada9805bb37e95e24c2c1 | /examples/examplesV1/dataLogger/dataLogger.ino | c859bcdb91261cee0c2bb93708946439c96b80e1 | [
"MIT"
] | permissive | greiman/SdFat | fead5dcae573a26cfd4098c1a7a910592eaf721b | 57900b21d21655c513ef7e344f55e8190e612dcb | refs/heads/master | 2023-08-11T08:57:51.878225 | 2023-04-05T12:34:17 | 2023-04-05T12:34:17 | 22,680,890 | 1,018 | 516 | MIT | 2023-06-25T18:04:26 | 2014-08-06T11:56:59 | C++ | UTF-8 | C++ | false | false | 4,078 | ino | /*
* Simple data logger.
*/
#include <SPI.h>
#include "SdFat.h"
// SD chip select pin. Be sure to disable any other SPI devices such as Enet.
const uint8_t chipSelect = SS;
// Interval between data records in milliseconds.
// The interval must be greater than the maximum SD write latency plus the
// time to acquir... | [
"fat16lib@sbcglobal.net"
] | fat16lib@sbcglobal.net |
f669465dcc2fd8935ba7cb96ddbd8464f0cf6293 | 3d94b86278516c6f5fa771015c798913d85da3e5 | /mathematics/hcf.cpp | d5dea2a538b1bc8b8c3f0564a54f4545e5787765 | [] | no_license | bhavya2026/practice-questions | bfe01393b7d2986d716dfb219d55b9d8fc8c6e26 | 5eb35906f061aa936a1753eb0afa111a60f30bcb | refs/heads/main | 2023-08-11T08:30:13.086201 | 2021-09-25T12:11:49 | 2021-09-25T12:11:49 | 386,561,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include<iostream>
using namespace std;
int main(){
int a,b;
cout<<"enter two numbers";
cin>>a>>b;
while(a!=b){
if(a>b)
a=a-b;
else
b=b-a;
}
cout<<a<<" is the hcf of two numbers";
} | [
"bhayvasrivastava2026@gmail.com"
] | bhayvasrivastava2026@gmail.com |
abee34a0c5869c568aa1f5ba5bbd1a72899343db | b86b48b538d91ac73968e41a5ebf1f664547f714 | /controller/communication.cpp | 33437303889299ddbbf484e8eaae331e0f202999 | [] | no_license | gwm06150/STEAM | 739a2a2811e763328c58f8ae4b5839612ee339b6 | 63962bfa3bacfa84ccd49ad37bfa0eb109cbb53b | refs/heads/master | 2020-11-30T05:33:36.359742 | 2020-04-17T22:51:52 | 2020-04-17T22:51:52 | 230,318,654 | 0 | 1 | null | 2020-01-22T16:06:38 | 2019-12-26T19:39:39 | C++ | UTF-8 | C++ | false | false | 113 | cpp | #include <Arduino.h>
#include "communication.h"
bool setup_comms(void)
{
Serial.begin(9600);
return true;
}
| [
"gwm06150@vtc.vsc.edu"
] | gwm06150@vtc.vsc.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.