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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
002cb0cd9dcecbf8d4d36348094ebd7cf667d29e | c037b2c6c2f40797e1b4b3fe3e15396dd493ad68 | /TradeWinner/GeneratedFiles/Release/moc_winner_win.cpp | 03f1be37b3ad6950dbf7632c46d52f952b4ef55f | [] | no_license | jwpl190/mytrd_proj | d38e2de32dddc9cd75702850b7dedf9b2cd7d9ce | 501ff45a4ec9a21a422c95f47b9444bc88003598 | refs/heads/master | 2020-06-12T15:50:05.663013 | 2018-03-02T07:19:27 | 2018-03-02T07:19:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,385 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'winner_win.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"32713201+spartawwy@users.noreply.github.com"
] | 32713201+spartawwy@users.noreply.github.com |
fae29e6d169bebcc6eb49c55fa64b63ab929178c | 40b7147c8ecb8834c378716f841bf8fa5535ff19 | /src/Formas3D.h | 49e54173d594690e12185be579fd6c9dd20009ba | [] | no_license | Diesirala/Trabajoinformatica | 6ad7af20b6d4d663966d8833d0fc1e0316f0e886 | 4c817d63c2d05342a3f8ae6b642a58b8b7b5131b | refs/heads/master | 2021-03-26T05:22:40.008133 | 2020-05-30T12:50:18 | 2020-05-30T12:50:18 | 247,675,417 | 3 | 1 | null | 2020-05-15T18:58:55 | 2020-03-16T10:38:27 | C | UTF-8 | C++ | false | false | 250 | h |
#pragma once
#include <stdlib.h>
#include "glut.h"
class Formas3D
{
public:
Formas3D();
virtual~Formas3D();
static void Cilindro(float, float,int ,int);
static void Disco(float);
static void Box(float x, float y, float z);
};
| [
"juanmadiz123@gmail.com"
] | juanmadiz123@gmail.com |
bae0f127b99e9e314e5cb23be1e2ba33caf3b751 | 2c09e65187b748d04b37375550689258846a052f | /logdevice/common/Processor.cpp | c863eec5fae6d29ffd0ed9a61c17bea3cf8a34d1 | [
"BSD-3-Clause"
] | permissive | QPanDevOps/MON-LogDevice | d28d6818c65b881f8e6f6ea35039ff923b0aae2c | ffeddcf3434b6f062ee4ec6d94aa5f4d94deb2ab | refs/heads/master | 2022-11-26T00:36:32.398144 | 2020-07-30T18:58:15 | 2020-07-30T19:07:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,526 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/Processor.h"
#include <algorithm>
#include <memory>
#includ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
e6c2dd2a023aad586c73186195effa8c4956406d | a9114e4bb76898e0159e8a7c417582e04cd5aea2 | /4장/4-3.cpp | ee3f8686cae16ae2fdaf27a8ea1919b41aaa24b1 | [] | no_license | J-woooo/Python_Coding_Test | 6df73a7ec7f920644de7c76bf77c18d96982ffcd | 61b2d9b00f433ddefcbf1adee4eb4ab91f12bdde | refs/heads/master | 2023-04-04T21:43:08.041628 | 2021-04-18T02:54:16 | 2021-04-18T02:54:16 | 329,506,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | #include <bits/stdc++.h>
using namespace std;
string input;
int row;
int col;
int dx[8] = {-2,-2,-1,-1,1,1,2,2};
int dy[8] = {-1,1,-2,2,-2,2,-1,1};
int main() {
int count = 0;
cin>>input;
row = int(input[1]) - 48;
col = int(input[0]) - 96;
for(int i = 0;i<8; i++) {
int nextX = row + dx[i... | [
"jw969696@naver.com"
] | jw969696@naver.com |
0e12884f8d95ecb156b83036ec9b3cfbfeea0572 | bf5e35e2d15d5e9202ef05740b72f3ba908c90a7 | /DC/Arduino/dc_stepper_pid/dc_stepper_pid.ino | f7df73a1d3da21cc30189036051189373dd65ec0 | [] | no_license | ofriwi/LOSER-v2 | 8c65b842325db16055bca1b9e5603e1c5a04f3ba | b8361b37ecde7153dc7d4d8209af665c88a2596b | refs/heads/master | 2021-04-09T15:49:03.355112 | 2018-04-08T17:15:57 | 2018-04-08T17:15:57 | 125,852,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,395 | ino | #include <SoftwareSerial.h>
#include <Encoder.h>
#include <PID_v1.h>
#define DEBUG_MODE true
#define enA 10
#define in1 8
#define in2 9
#define encoderPinA 2
#define encoderPinB 3
#define MAX_SPEED 100
#define MIN_SPEED 0
#define ACCEL_SPEED 50
#define CW true
#define CCW false
double ENCODER_STEP = 0.171756;
flo... | [
"ofriw.38.talpiot@gmail.com"
] | ofriw.38.talpiot@gmail.com |
8188f0bf5a1ac0acd9f3c2634e4955466cb6c2bd | 1382b2ac7f7e04ff2f6a6fcae5872e3c832b17d1 | /GameClient/conwindow.h | daa1669e589f80826c4a06154251abf21cdbe59d | [] | no_license | LyricZhao/GZTank | dbd426182a8991f6b0bd5c205e780cd264b5c38c | bb669ae70823e816406d4759b9136478e3c73ddb | refs/heads/master | 2020-03-22T21:42:51.114708 | 2018-07-15T04:04:01 | 2018-07-15T04:04:01 | 140,709,341 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | #ifndef CONWINDOW_H
#define CONWINDOW_H
#include <QDialog>
#include <vector>
#include <string>
namespace Ui {
class ConWindow;
}
class ConWindow : public QDialog
{
Q_OBJECT
public:
explicit ConWindow(QWidget *parent = 0);
~ConWindow();
void setSerialList(const std:: vector<std:: string> &serialList... | [
"lyricz@yeah.net"
] | lyricz@yeah.net |
f302100459e36d88bd9a41ee190f380b066afbf3 | 1e3ba7a378b1e5bf81294ce0b1575e0271479ab6 | /include/G4DMRunAction.hh | d671f1887cd64a72fad00228af768f70428b0f87 | [] | no_license | revering/G4DM | 909897928c2941b2b9af10f0dc530ec04fdfcaa4 | 396378101e2fe2b8888dd30088dfaa56952beb1f | refs/heads/master | 2021-01-02T08:35:26.028630 | 2017-08-23T20:01:23 | 2017-08-23T20:01:23 | 99,024,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | hh | #ifndef B1RunAction_h
#define B1RunAction_h 1
#include "G4UserRunAction.hh"
#include "G4Parameter.hh"
#include "globals.hh"
class G4Run;
class G4DMRunAction : public G4UserRunAction
{
public:
G4DMRunAction();
virtual ~G4DMRunAction();
virtual void BeginOfRunAction(const G4Run*);
virtual v... | [
"rever025@umn.edu"
] | rever025@umn.edu |
858bcc92a67dbedbb6bdabc7db20c8f622c922c3 | 436d5cde84d3ec4bd16c0b663c7fdc68db02a723 | /ch03/e3.14_15.cpp | 5a6798be0fbc654d3183d1fe3704fb0c483f863d | [] | no_license | focus000/cppprimer | 31f0cadd1ee69f20a6a2a20fc62ddfa0c5341b83 | c901b55da35922a96857a108d25213fa37121b33 | refs/heads/master | 2020-09-13T04:56:55.130773 | 2020-05-09T09:23:00 | 2020-05-09T09:23:00 | 222,660,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <iostream>
#include <vector>
#include <string>
using namespace std;
int main() {
int i;
vector<int> v;
while (cin >> i)
{
v.push_back(i);
}
return 0;
} | [
"hanszimmerme@gmail.com"
] | hanszimmerme@gmail.com |
02d768f7beb3478aa6670cf55dde52eec9d08819 | 5c0cde9516179e199beda1104a329b252c7684b7 | /Graphics/Middleware/QT/include/QtQuick/5.0.2/QtQuick/private/qsgdefaultrenderer_p.h | 5bd6eeeb1ebb0f745f085102990fb2da73afbb22 | [] | no_license | herocrx/OpenGLMatrices | 3f8ff924e7160e76464d9480af7cf5652954622b | ca532ebba199945813a563fe2fbadc2f408e9f4b | refs/heads/master | 2021-05-07T08:28:21.614604 | 2017-12-17T19:45:40 | 2017-12-17T19:45:40 | 109,338,861 | 0 | 0 | null | 2017-12-17T19:45:41 | 2017-11-03T01:47:27 | HTML | UTF-8 | C++ | false | false | 3,215 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtQml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | [
"hubertkuc13@gmail.com"
] | hubertkuc13@gmail.com |
7b331fdf6e3cf524d3681adb09de0140955560af | 27a7b51c853902d757c50cb6fc5774310d09385a | /[Server]Map/FieldBossMonsterManager.cpp | 0645f4b67bb18b95a32edc7ab2db475719acd643 | [] | no_license | WildGenie/LUNAPlus | f3ce20cf5b685efe98ab841eb1068819d2314cf3 | a1d6c24ece725df097ac9a975a94139117166124 | refs/heads/master | 2021-01-11T05:24:16.253566 | 2015-06-19T21:34:46 | 2015-06-19T21:34:46 | 71,666,622 | 4 | 2 | null | 2016-10-22T21:27:35 | 2016-10-22T21:27:34 | null | UHC | C++ | false | false | 11,337 | cpp | #include "stdafx.h"
#include "FieldBossMonsterManager.h"
#include "FieldBossMonster.h"
#include "FieldSubMonster.h"
#include "AIGroupManager.h"
#include "AISystem.h"
#include "RegenManager.h"
#include "MHFile.h"
#include "..\[cc]BattleSystem\BattleSystem_Server.h"
#include "UserTable.h"
#include "ObjectFactory.h"
#incl... | [
"brandonroode75@gmail.com"
] | brandonroode75@gmail.com |
e0a3032034e9d3a50b7570f14b48a001fe13fa07 | e363b63383c617acc55c5b43bd0fa524d9e64dff | /game/server/swarm/asw_pickup_money.cpp | 8a838cb19968d7e130d2696f2e77bc6e9693ea8a | [] | no_license | paralin/hl2sdk-dota | 63a17b641e2cc9d6d030df9244c03d60e013737d | e0fe36f0132b36ba9b1ca56aa10f888f66e9b2bf | refs/heads/master | 2016-09-09T22:37:57.509357 | 2014-04-09T13:26:01 | 2014-04-09T13:26:01 | 18,719,255 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,263 | cpp | #include "cbase.h"
#include "asw_pickup_money.h"
#include "asw_marine.h"
#include "Sprite.h"
#include "SpriteTrail.h"
#include "asw_game_resource.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
#define ITEM_PICKUP_BOX_BLOAT 24
#define MONEY_MODEL "models/swarm/... | [
"ds@alliedmods.net"
] | ds@alliedmods.net |
26ee750f81096ba2bcb85852b7b250374a93f872 | d561fb973fcb9ee5c2b006dc9f736400b8d07d6a | /320.cpp | bcaf597f0007d3d334db05197bef10a8d6fca45a | [] | no_license | pnikic/Hacking-uva | 02947286d02a64a3b9ec7326c4581a11724d27fa | cf236c0239f5fba9f934e8431441cadd919ce13d | refs/heads/master | 2020-06-21T22:34:40.688518 | 2018-11-04T12:46:19 | 2018-11-04T12:46:19 | 74,769,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
string D = "NSEW", s;
int dx[] = { 0, -1, -1, 0 };
int dy[] = {-1, 0, -1, 0 };
int di[] = { 0, 0, 1, -1 };
int dj[] = { 1, -1, 0, 0 };
int main()
{
int n, x, y;
cin >> n;
for (int cn = 1; cn <= n; ++cn)
{
vector<st... | [
"pnikic@mathos.hr"
] | pnikic@mathos.hr |
3a3e880f7123cc03208b7cf0e3300c653c0cde42 | ecf549cd38f7c2022494649c073c971b185ab66f | /SystemClass.cpp | b5fc7e15b9d077ece9aecc82939da13c080047ae | [] | no_license | bursaar/3DVFX | 2f3c01afa5e1fb850783b6c66ef8ffd75882f530 | ffeb6b73370f7f49d23443bedf57de3cf33a1a9f | refs/heads/master | 2018-12-28T08:47:31.192004 | 2014-03-31T09:08:05 | 2014-03-31T09:08:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,025 | cpp | #include "SystemClass.h"
#include "T2G\Code\Scene.h"
#include "PlayerClass.h"
bool keys[256];
SystemClass::SystemClass()
{
m_nCmdShow = 0;
}
SystemClass::~SystemClass()
{
}
int SystemClass::InitialiseWindows()
{
// clear out the window class for use
ZeroMemory(&m_wc, sizeof(WNDCLASSEX));
... | [
"ben@ben.ie"
] | ben@ben.ie |
719867b1f413b2791b25599c30a7a180ca5cac20 | 6d1c143787686870c2bd792b75836c5a707dad3f | /Server/CommonCPlus/CommonCPlus/boost_old/geometry/io/wkt/write.hpp | 35b1c5a5b98b39204ee81fdd40903119d3d0b029 | [] | no_license | jakeowner/lastbattle | 66dad639dd0ac43fd46bac7a0005cc157d350cc9 | 22d310f5bca796461678ccf044389ed5f60e03e0 | refs/heads/master | 2021-05-06T18:25:48.932112 | 2017-11-24T08:21:59 | 2017-11-24T08:21:59 | 111,915,246 | 45 | 34 | null | 2017-11-24T12:19:15 | 2017-11-24T12:19:15 | null | UTF-8 | C++ | false | false | 11,065 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
... | [
"613961636@qq.com"
] | 613961636@qq.com |
716865c319ed831d60da45f9bc811fed5ea6d34a | 96241fb6d4528aaf5e2ddcd4f762b257c10d688e | /week-02/day-4/bunniesAgain/main.cpp | 359b0e40076a339ad3cde7f9a648a216ef93300a | [] | no_license | green-fox-academy/moharos89 | e2fc620b99deae3f768d28d6a15669526732844d | ac983b505968ce450cd356e726c20499539ab4e9 | refs/heads/master | 2020-05-04T11:04:55.942085 | 2019-06-21T15:29:25 | 2019-06-21T15:29:25 | 179,100,362 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include <iostream>
int bunnies (int n);
int main() {
int n = 4;
std::cout << bunnies(n) << std::endl;
return 0;
}
int bunnies ( int n){
if (n == 1) {
return 2;
} else if (n % 2 == 0){
return 3 + bunnies (n -1);
} else {
return 2 + bunnies (n - 1);
}
} | [
"moharos89@gmail.com"
] | moharos89@gmail.com |
81a4dba64da5994b04ea899cb2405271435d940b | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/trigonometric/include/functions/simd/indeg.hpp | 8b39d495e709a8a78824bdd3d239345e99d3ae2b | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 251 | hpp | #ifndef NT2_TRIGONOMETRIC_INCLUDE_FUNCTIONS_SIMD_INDEG_HPP_INCLUDED
#define NT2_TRIGONOMETRIC_INCLUDE_FUNCTIONS_SIMD_INDEG_HPP_INCLUDED
#include <nt2/trigonometric/functions/indeg.hpp>
#include <nt2/trigonometric/functions/generic/indeg.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
1145f9599f6416aa55befb3cb9ddbfeb87f2ccd5 | 5808778b6aa2b632f0378e961686c496c139f5ac | /include/exception.h | 389205595a4a68d465ea931babea3f8f627c65eb | [] | no_license | Kamijoucen/tiny-interpreter | d4570925bbcc39167fc6800f72e4a2001ef2cf02 | 00d4f4f8bfea1b3908371a9b83c15abd3ed7a9bf | refs/heads/master | 2020-04-16T09:57:19.134726 | 2019-01-25T02:28:14 | 2019-01-25T02:28:14 | 165,483,336 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | #ifndef PL_EXCEPTION_H
#define PL_EXCEPTION_H
#include <stdexcept>
namespace cen
{
struct FileAccessError : public std::runtime_error
{
explicit FileAccessError(const std::string &__arg) noexcept;
};
struct SyntaxError : public std::runtime_error
{
explicit SyntaxError(const std... | [
"lisicen12138@outlook.com"
] | lisicen12138@outlook.com |
207a9d776303278d49aad55963255231a3b3c132 | 7229c8da3e88fc088ed369e9bba4d0eb8ff20df3 | /libs/infinity_cad/src/infinity_cad/rendering/render_objects/curves/spline.cpp | 856b36c6f1f403b3cb57de81426e62bf4db64650 | [] | no_license | Jakub-Ciecierski/InfinityCAD | a85b43ba8804ea1e1f1749837fff0f89ccb9fbcb | 8817447317d2833448db105276e3d32395455139 | refs/heads/master | 2021-01-17T10:10:26.523174 | 2016-12-15T22:28:45 | 2016-12-15T22:28:45 | 52,552,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | cpp | //
// Created by jakub on 4/11/16.
//
#include <algorithm>
#include <infinity_cad/rendering/render_objects/curves/spline.h>
using namespace std;
using namespace ifc;
using namespace glm;
//-----------------------//
// CONSTRUCTORS
//-----------------------//
Spline::Spline(SceneID sceneID, std::string name) :
... | [
"jakub.ciecier@gmail.com"
] | jakub.ciecier@gmail.com |
d0079d4558f2566e7a7328dcaead6e38ce9becda | a3053a6bc0afe884a0f329951680ca362c6a69cb | /onegin/Onegin.cpp | 9cc28f4f39506cf48452fe7fb10cbd48189ae107 | [] | no_license | ThisMortalCoil/C_fall2020 | 04fdf0c97d886b681392150af800fbc17e7de930 | 42683b217d99c4c29b0df9f119485e4b2bfbe08e | refs/heads/master | 2023-01-03T07:48:06.167506 | 2020-10-18T20:14:51 | 2020-10-18T20:14:51 | 290,817,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,613 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
//-------------------------------------------------------------------------------------------------------------------------
#define FILE_OK(fptr, fname) \
{ ... | [
"noreply@github.com"
] | noreply@github.com |
0f3c93637102977b386486d478da49e9f8117fb8 | b247668a88e0fe282b1cd29da8afaea9c9691d3d | /cantera/branches/jacobians/src/thermo/ShomatePoly.cpp | 0201a5ecb5fb8f1b7b8d106055761733f8a10c75 | [] | no_license | nashiong/cantera | 1d47be92b1ad321018ac6136ca9bd52e3e5ac3b4 | 45c579993135e5899d851cc0ca66618445b5296e | refs/heads/master | 2021-01-10T07:00:29.059520 | 2015-08-24T17:10:06 | 2015-08-24T17:10:06 | 44,044,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,801 | cpp | /**
* @file ShomatePoly.h
* Header for a single-species standard state object derived
* from \link Cantera::SpeciesThermoInterpType SpeciesThermoInterpType\endlink based
* on the Shomate temperature polynomial form applied to one temperature region
* (see \ref spthermo and class \link Cantera::ShomatePoly Sh... | [
"hkmoffa@02a645c2-efd0-11dd-984d-ab748d24aa7e"
] | hkmoffa@02a645c2-efd0-11dd-984d-ab748d24aa7e |
c98eeb5e5b452b6dca9eb852f468db881fef8e52 | a81111ea5d673188bf19e8564b17c5242ad2a782 | /src/seal/kernel/multiply_seal.cpp | 9a06796bc68012f2b65c943c2334fc01ec41bebf | [
"Apache-2.0"
] | permissive | liuwenbo3/he-transformer | 83b98a2ded6f3b862b376db1ef454ca999fc00f4 | 907419e937f0e9a3276c6c0583f43bd7098286fe | refs/heads/master | 2020-05-20T19:16:47.944580 | 2019-04-18T20:52:26 | 2019-04-18T20:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,224 | cpp | //*****************************************************************************
// Copyright 2018-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | [
"noreply@github.com"
] | noreply@github.com |
ad80abe215cbdd64c4e1c90d1b1ce405cdb153c9 | 09c1b5b70ffd5b06cc58c42340848ae912c49abe | /efls-train/cc/efl/communicator/grpc_utils.cc | 5df5c0026d6855f7d8f99e29a1c9a5eaf3fedb4e | [
"Apache-2.0"
] | permissive | zonghua94/Elastic-Federated-Learning-Solution | 7ad656daba825dbb28fb260d0a9b45deb2be9e70 | 62d398e8673f8d3734697b8ea2759e32de3cfa3b | refs/heads/master | 2023-09-05T08:38:10.491294 | 2021-10-18T11:46:18 | 2021-10-18T11:46:18 | 418,481,128 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | cc | /* Copyright (C) 2016-2021 Alibaba Group Holding Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | [
"zy143424@alibaba-inc.com"
] | zy143424@alibaba-inc.com |
c8a1e2834097e89e6910d3ffa1bf9d3a08a4ed15 | dbec01ac3551d4dd2e1efbed81f6b1701a416fe3 | /Models/Chapter5_MBT/GearShiftingComponent/GSC_Animation/Pegasus_System.h | ebc35ecc2087550d20aac401cb75ff23bff31aa3 | [
"MIT"
] | permissive | ceobkdn/Agile-Model-Based-Systems-Engineering-Cookbook | 8bebdb3892b12c6efc13a0bb8c71f34f0c81c119 | 459c90a7b5af0aa9c16f517fd6caafc39d83f545 | refs/heads/main | 2023-03-23T05:58:06.611129 | 2021-03-16T08:29:14 | 2021-03-16T08:29:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,701 | h | /*********************************************************************
Rhapsody : 9.0
Login : Bruce
Component : GearShiftingComponent
Configuration : GSC_Animation
Model Element : Pegasus_System
//! Generated Date : Sat, 28, Nov 2020
File Path : GearShiftingComponent/GSC_Animation/Pegasus_System.h
*********... | [
"45961039+packt-pradeeps@users.noreply.github.com"
] | 45961039+packt-pradeeps@users.noreply.github.com |
d14c5f441c6fc917f0ca6713544f44410efc2d07 | 70adc5f0653c16f906160d1ca6bc5aa8d5859e1c | /Distance_2dots.cpp | aa9e126856f1cf53942c6aece6418b980d0605ae | [] | no_license | Taeyoung96/cpp_project | 2c820c87cc384a58a91cabe239e365a79977f79d | 9006c9b97e25d1355000f43ddd5cab28a6f1098c | refs/heads/master | 2021-07-08T07:02:45.200936 | 2021-05-29T08:50:09 | 2021-05-29T08:50:09 | 244,312,706 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,635 | cpp | #include <iostream>
#include <ctime>
#include <cmath>
using namespace std;
struct Point //구조체를 활용하여 x,y좌표 선언
{
int x;
int y;
};
class two_dot
{
public:
int n;
int range1,range2;
Point point1,point2;
Point *p;
double Min_length;
double Max_length;
two_dot(Poi... | [
"noreply@github.com"
] | noreply@github.com |
f95336b402a2c50189aa0bf37c8b286bbd46c046 | ddf649a8bcd3e452b1e50fe5bf54e8d19daa8cd5 | /2020/s2/oop/workshop-12/vegie.cpp | f92fb1f4c5725bc967c41a5c128688eaa371784f | [] | no_license | AlexMcClay/Uni | f324af20e89f2fc65354c8d0a3148bb880a6f122 | b4fd2e94b9a20d1bddfa9c6cf27584bc95285d69 | refs/heads/main | 2023-03-16T02:16:18.426106 | 2021-03-04T02:44:42 | 2021-03-04T02:44:42 | 344,324,466 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | #include <iostream>
#include <stdlib.h>
#include <string>
#include "animal.h"
#include "vegie.h"
using namespace std;
int vegie::nextID = 100;
vegie::vegie(string n, int v)
{
name = n;
volume = v;
animalID = nextID;
nextID++;
}
string vegie::get_name()
{
return ("Safe: " + name);
}
... | [
"noreply@github.com"
] | noreply@github.com |
ef32584c95c8fcb4f492f95b439f270e5572295e | a4002adea1316c1af460b26ddbfb1c51de7c4499 | /app/src/main/cpp/lib/Bare.hpp | c4d452ea055b7b662e349dc651982bcf563d44e7 | [] | no_license | moscich/CrossPlatform | f5362747c23ec322a34c54a458e6993499925c7b | a04f2c2148f527edfcd758134e5136abfe208b7b | refs/heads/master | 2021-05-15T18:01:55.685621 | 2017-10-19T20:21:37 | 2017-10-19T20:21:37 | 107,594,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | hpp | //
// Cpp.hpp
// Lib
//
// Created by Marek Mościchowski on 11.10.2017.
// Copyright © 2017 Marek Mościchowski. All rights reserved.
//
#ifndef Bare_hpp
#define Bare_hpp
#include <stdio.h>
#include <string>
class Bare {
public:
std::string gogo();
};
#endif /* Cpp_hpp */
| [
"agnieszka.moscichowska@miquido.com"
] | agnieszka.moscichowska@miquido.com |
dadd6bde5014b30b4ee42a3a15233f7c6fd7dea1 | bea2e4112f2942225ac4cdaf641ec9176be53d06 | /MATHS/C-sum of cubes.cpp | 50dabe97ba31a697489d3a7d1b4f41e6259375e6 | [] | no_license | SakshamSoni-code/DSA--PRACTISE | ea2f31aa153722c76fcb8f4ca8d3226da663340a | da8c00a5f7e68bc89acce26aa5d627bf89c6e439 | refs/heads/main | 2023-08-20T10:06:23.795293 | 2021-09-21T08:03:36 | 2021-09-21T08:03:36 | 335,625,782 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,245 | cpp | /*------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... | [
"noreply@github.com"
] | noreply@github.com |
6e0cbe1beab942d7c1d7aafeb2be09aa6c2ea3b3 | fa1e949205aa367e35ee02ca85c142fd14b01128 | /SIC_XEAssembler/14_phase1/Pass1/Parser.cpp | 7a0ec9811c8db759c1df0d31ac3f970b27c7801a | [] | no_license | arwa5310/Projects | 65eb553b0bc002b6dec80c54f32508a0c306fde1 | dc3ace86856d60f62425a211bba89f7760d54f3a | refs/heads/master | 2021-01-21T15:49:18.245114 | 2016-09-13T20:40:16 | 2016-09-13T20:40:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,236 | cpp | #include "Parser.h"
#include<regex>
#include<bits/stdc++.h>
using namespace std ;
Instruction inst ;
Parser::Parser()
{
//ctor
}
void Parser::parse(string line, int format)
{inst = Instruction();
fileFormat = format;
if(fileFormat == fixedFormat ) {
linePartsQueue = queue<string>();
lineRe... | [
"ahmed.elsayed.mahmoud3@gmail.com"
] | ahmed.elsayed.mahmoud3@gmail.com |
675bc07c8e42065868fa24c936b85c1f5888e2c9 | 72b08c6856e42b85244720dcd65da3fcbbe75f55 | /3º/IG/Practica 4/src/Textura.h | ba8df0bc38d2c687f240f4d7caa30800135f9158 | [] | no_license | arturocs/grado_informatica_ugr | 774faa1553be035af3bb49f9d3500465a2076f37 | be67c5b5c03f859edc30a94d20a8e7e6b7a140cd | refs/heads/master | 2023-04-01T06:19:47.962602 | 2021-04-01T11:15:43 | 2021-04-01T11:15:43 | 340,430,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | //==============================================================
// Práctica 4 - IG
// Arturo Cortés Sánchez
//==============================================================
#ifndef _TEXTURA_H
#define _TEXTURA_H
#include "Objeto3D.h"
#include <GL/gl.h>
#include <GL/glut.h>
#include <vector>
class Textura{
float tv... | [
"arturocs@protonmail.com"
] | arturocs@protonmail.com |
8c2eb3e5c12ab0d0106f037377fd33aa17b39e84 | 9f85248a34069e96b41e0274db12ddb0bd6ed00a | /example13/src/main.cpp | 498682cdff7c5fea67e2d8546574aa7c00a3ff64 | [] | no_license | paulpaul91/c-_practice | 0b6230ddf01463246a88f36e4c2be881b1293ab2 | 6131d4f0906fe5d126a42ca43cba205ae49d3b74 | refs/heads/master | 2021-08-19T02:50:50.418872 | 2017-11-24T14:49:41 | 2017-11-24T14:49:41 | 110,942,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | #include <iostream>
#include <vector>
//#include "employ.h"
#include "supervisor.h"
using namespace std;
using namespace My_code;
int main()
{
employ m_employ;
m_employ.Show_employ_info();
m_employ.SetFirstName("luo").SetLastName("BIN").SetNumberID(10000).SetSalary(1000);
m_employ.Show_employ_info();
Super... | [
"453794011@qq.com"
] | 453794011@qq.com |
0ab7f27c9e85edea84b2a0fe38fa52bca354642e | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_357.cpp | 89700c73878ef4e54c4eca53722e7eb408111849 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57 | cpp | ( !( form->status & _POSTED ) )
RETURN(E_NOT_POSTED) | [
"993273596@qq.com"
] | 993273596@qq.com |
ec424eb05d546898f0741d6adb10076801fa44e8 | 4955cbb4b834a003e66afa6e6a83c32439aa9c71 | /gomokAI/GomokuBoard.cpp | 039bd9eee40f5d2113182180ed2eb61eb1dcfa69 | [] | no_license | yuntaewoong/gomokuAI_SDL2 | 1b85ee51cf5055c831cee6fcad5703157e94cc83 | 5bdd1ab5ced6a7a05620c6886b884bf583f70b52 | refs/heads/master | 2023-07-02T11:52:30.810843 | 2021-07-25T08:00:44 | 2021-07-25T08:00:44 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 9,713 | cpp | #include "GomokuBoard.h"
GomokuBoard::GomokuBoard(CustomRenderer* renderer, int boardWidth, int boardHeight, int boardWhiteSpace)
{
this->board = new GomokuBoardState*[BOARD_SIZE];
for (int i = 0; i < BOARD_SIZE; i++)
this->board[i] = new GomokuBoardState[BOARD_SIZE];
this->renderer = renderer;
this->renjuRuleMan... | [
"15ywt@naver.com"
] | 15ywt@naver.com |
5fde689453137f3a5ff309356dca86d0790d23c6 | 18f87c1b5b48979c68a621c70770d12c9eac4f78 | /opencv/LineFinder.cpp | bde3757069abff45c744bd69312ef8898a7002f4 | [] | no_license | Gorogoa/opencv | 5fb34ce0ecb82fc48144ae68c0957187baf77b55 | b1c07fdf0b7feca9041e30cc69cab3509c416b9d | refs/heads/master | 2020-05-31T22:17:24.841266 | 2019-07-01T08:26:37 | 2019-07-01T08:26:37 | 190,495,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | #include "LineFinder.h"
LineFinder::LineFinder():deltaRho(1),deltaTheta(PI/180),minVote(10),minLength(0.0),maxGap(0.0)
{
}
LineFinder::~LineFinder()
{
}
void LineFinder::setConfig(double dRho, double dTheta, int minV, double length, double gap)
{
deltaRho = dRho;
deltaTheta = dTheta;
minVote = minV;
minLength =... | [
"Char_894613854@outlook.com"
] | Char_894613854@outlook.com |
7ee7428b998c452f84d7e5d6a451fad2e8063d4a | aff3bafff05cf745d5514226fde8c52208303519 | /src/graphics/window.cpp | c2cd101f5b0e993526e89681690a551c240c38c3 | [] | no_license | suruz/game-engine | 752c86fd3cb6a9c9e6dee0eb4fbbe310db358c56 | f29c5fca468f56dc14735a69f6741d14f17f38f1 | refs/heads/master | 2023-04-30T04:06:11.238075 | 2018-05-16T10:05:13 | 2018-05-16T10:05:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | //
// Created by Kirill Korolev on 08/05/2018.
//
#include "window.h"
namespace kengine{ namespace graphics{
void resize(GLFWwindow *window, int width, int height) {
glViewport(0, 0, width, height);
}
Window::Window(const char *title, int width, int height) {
title_ = title;
widt... | [
"kafafyf@gmail.com"
] | kafafyf@gmail.com |
85eb68124bdfa8f8c7446574bd0d6e0edd35f829 | c9d647b75b3f985531efa642c57605d0f20342dc | /BatallaNaval.cpp | 06085f89ab230857b27554f07fa36da0b76c2c7a | [] | no_license | FedericoNery/Juegos-en-C- | 846757c23f70c858cb6d999da919a88e0e939ef5 | 56659d01111ad079bfcf2fac5f32a5924d9d4d3a | refs/heads/master | 2021-06-25T21:13:26.490809 | 2017-08-17T13:07:07 | 2017-08-17T13:07:07 | 100,604,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,278 | cpp | #include <iostream>
#include <stdlib.h>
#include <string>
#include <windows.h>
using namespace std;
const size_t TAM_JUGADORES = 2;
typedef string arregloDeString[TAM_JUGADORES];
const size_t TAM_TABLERO = 10;
typedef char tablero[TAM_TABLERO][TAM_TABLERO];
//FUNCIONES DE INICIALIZACION
void inicializ... | [
"noreply@github.com"
] | noreply@github.com |
901ab811c13112fdaadfc95a16925028f82f6053 | 64c1b9c032fad1abbce456708df0755f53c13e24 | /src/init.cpp | 8a188bc537b4721d0cc09b36e963704e79c9647b | [
"MIT"
] | permissive | Indiancryptocoin/indiancoin | 1493b1aecbc28667ce26fd9b74b58fc89d66ac6a | d57d8ae1bf258d4266120976f397cd776debdf3b | refs/heads/master | 2021-04-13T19:30:57.576647 | 2020-03-22T14:30:23 | 2020-03-22T14:30:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,938 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2011-2013 The PPCoin developers
// Copyright (c) 2013-2014 The NovaCoin Developers
// Copyright (c) 2014-2018 The BlackCoin Developers
// Copyright (c) 2015-2020 ... | [
"indianpivxcoin@gmail.com"
] | indianpivxcoin@gmail.com |
1848f67ec23eaef98c30709938017652de497862 | 0f21a67f298566a5950c52a858df72cc3fd7213a | /HDU/hdu 1228.cpp | f55e6ac72f527ddf5502f367f1768b317103ac5a | [] | no_license | mzhinf/OJ-Code | 4e1e053142248a42a56b20ac62aac75086408b29 | 07a339604ee44341e06980551dcfcb51a225d387 | refs/heads/master | 2021-04-27T00:10:40.198258 | 2018-03-04T06:35:51 | 2018-03-04T06:35:51 | 123,762,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | #include <cstdio>
#include <cstring>
char J[10][6]={
"zero","one","two","three","four","five","six","seven","eight","nine"
};
int judge(char *s){
for(int i=0;i<10;i++){
if(strcmp(s,J[i])==0)return i;
}
return -1;
}
int main(){
char str[10];
while(1){
int a=0,b=0;
while(~scanf("%s",str)&&str[0]!='+'){
... | [
"mazehuainf@gmail.com"
] | mazehuainf@gmail.com |
5a51e5eaa8629469625d08fda180a82bcbcf31fb | b9bce3fa1828780f436fc6c3745191871d89f6e4 | /cw8/Account.h | c335cfe9928c72f00b685bb7ab705b0f36cfaacf | [] | no_license | do324/OOP244_assignment | 4c8a974fbdc72f3ccbf57ac5572c5d7376f800bf | 2a6a144ce24d804dd7cd8fb1c7ac3973c88f0040 | refs/heads/master | 2022-04-23T07:04:39.456995 | 2020-04-26T10:08:13 | 2020-04-26T10:08:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | h | // Workshop <Workshop #8>
// Name: <doyeon kim>
// Student #: <Your Student #139766166>
// Course: OOP244 Fall 2018
// File: <Account.h>
#ifndef SICT_ACCOUNT_H__
#define SICT_ACCOUNT_H__
#include <iostream>
#include "iAccount.h"
namespace sict {
class Account : public iAccount
{
double m_balance;
protecte... | [
"doyun5114@gmail.com"
] | doyun5114@gmail.com |
06ab043d4bc9ce7d1af1ce91c7c45c8a756e9c18 | 293606fabbb24d2b849199edbd1dd4c2940c29a7 | /acm训练/7.22.d.cpp | 8583de5ac839e27ab6162c9e34ca498cd9bf03d1 | [] | no_license | DMHACYJ/work1 | bf71c8dfe8924778b0c5c1a2e9be57ee66de0f81 | 08ee204f6b6d91c047c54d932f85de4404a4b40e | refs/heads/master | 2020-05-16T01:48:28.368661 | 2020-05-09T13:50:09 | 2020-05-09T13:50:09 | 182,610,200 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,713 | cpp | /*
题目描述
可可与人友好,经常喜欢设置一些有意思的游戏取人开心。今天她设置了一个迷宫让红红来走,她设计的迷宫是双向连通的,也就是说如果一个迷宫可以从A走到B,那么也一定可以从B走到A。为了提高难度,可可希望每两个顶点之间只有一条路可以通向对方(除非走了回头路)。可可现在把她的设计图给你,让你帮她判断她的设计是否符合她的设计思路。比如下面两个样例中,前两个是符合的,而最后一个由于从5->8的路径有两条不重复的路,因此不满足条件。
输入
输入包含多组数据,每组数据是一个以0 0结尾的整数对列表,每一对数表示了一条通道连接的两个位置的编号。位置的编号至少为1,且不超过100000。每两组数据之间有一个空... | [
"noreply@github.com"
] | noreply@github.com |
b8d16649b74f99fcbbcaa581bea6033571a90ed6 | 44b2ed19caf3d3453ad20d4419dfb2b42779ae74 | /ArduinoTutorials/Projects/Temperature/Lesson 12 - Temperature.ino | e2a9355565fe5397e1c1bcf31bcd57a3528e0871 | [] | no_license | junior0w0/Arduino | 7b59ebf8aabec0166305d29f63d11ec2eab2c697 | da0cef5ebeaa08b89be1271b0acd94a4ee8703ca | refs/heads/master | 2022-04-21T18:15:15.121357 | 2019-08-26T20:25:36 | 2019-08-26T20:25:36 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,528 | ino | // Lesson 12
#define PIN 2
void setup() {
Serial.begin(9600);
}
bool InRange( int _value, int _expectedValue, int _tolerance ) {
return abs( _value - _expectedValue ) <= _tolerance;
}
int GetResults( byte _bitDurations[2*41], float& _humidity, float& _temperature ) {
// Verify the ACK signal
if ( !I... | [
"patapom@gmail.com"
] | patapom@gmail.com |
bf22a3c19012dbab902bff608b386b1e47bd837b | 8018f269727b5d698afe0b9dc5eb1680b2eaf1e4 | /Codeforces/337/A.cpp | 0d012dc3b3339a01aa4d14f06be7305f62fc27a5 | [
"MIT"
] | permissive | Mindjolt2406/Competitive-Programming | 1c68a911669f4abb7ca124f84b2b75355795651a | 54e8efafe426585ef0937637da18b7aaf0fef5e5 | refs/heads/master | 2022-03-20T14:43:37.791926 | 2022-01-29T11:34:45 | 2022-01-29T11:34:45 | 157,658,857 | 2 | 0 | null | 2019-02-10T08:48:25 | 2018-11-15T05:50:05 | C++ | UTF-8 | C++ | false | false | 197 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
if(n%2==1) cout<<0<<endl;
else
{
if(n%4==0) cout<<(n/4)-1<<endl;
else cout<<n/4<<endl;
}
return 0;
}
| [
"rathin7@gmail.com"
] | rathin7@gmail.com |
aa0aea8a2516fd1119b49d3f11d3234df137d038 | fc8d6a76f7cb1e4a79fc516c75ed51368d364e93 | /LED.h | ce4973c97544733e421dea104d1c8a5dc768b107 | [
"Unlicense"
] | permissive | chappy1978/7SegmentDisplay | b223d784c6e5d08fec953d6cf8b159bf460e6083 | 16971515aa3bb9db5cca915e72fcb9b8f7491bf3 | refs/heads/master | 2021-07-05T00:05:25.998633 | 2017-09-26T07:19:47 | 2017-09-26T07:19:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | #pragma once
#include <stdint.h>
class LED
{
public:
LED();
LED(uint16_t pos);
~LED();
uint16_t getPositon();
void setColor(uint16_t r, uint16_t g, uint16_t b);
void turnOff();
void turnOn();
uint16_t r;
uint16_t g;
uint16_t b;
private:
uint16_t position;
uint16_t old_r;
uint16_t ... | [
"noreply@github.com"
] | noreply@github.com |
6a53b600760732805e7279666dd443b62fac3396 | 8539fedc3ffcdbd788d401e255038b586328f95e | /test/EndToEndTests.cpp | 7ff6cab40f99bd666b8c7423524855689f89e57f | [] | no_license | lkts/BW-Data-Compression | 5265b64ba5bbce2776cdfa398c715ce769f6c6dd | eec8acd47e6308fe787d5ad666c26f713d9e90fa | refs/heads/dev | 2020-03-26T19:04:17.702659 | 2018-09-27T19:59:13 | 2018-09-27T19:59:13 | 145,247,239 | 0 | 0 | null | 2018-09-20T19:17:26 | 2018-08-18T19:28:47 | C++ | UTF-8 | C++ | false | false | 1,645 | cpp | #include <gtest/gtest.h>
#include <random>
#include <limits>
#include "../BWTransform.h"
#include "../MoveToFrontEncoding.h"
#include "../HuffmanCompression.h"
#include "../BurrowsWheelerCompression.h"
vector<uint8_t> GenerateRandomData(size_t size)
{
std::mt19937 gen(time(0));
std::uniform_int_distribution<int> di... | [
"cod7alex@gmail.com"
] | cod7alex@gmail.com |
7372f5fb59c9a921cfa7031f24df9305fcc17c08 | 3a1c20546f37daa765792051adc990d220a7aabb | /src/gameobject/basic/submodule.cpp | 525942b5c1029887bcd27022dae310dbd6edea91 | [] | no_license | KROIA/Pixelengine | 76ca227c3d98aff1b448289bcdd338dfb56185ec | 5320932ca2867905db6c27a559b93e6c6eebb30e | refs/heads/master | 2023-06-22T17:43:11.633880 | 2021-07-22T13:04:19 | 2021-07-22T13:04:19 | 299,718,960 | 0 | 0 | null | 2021-06-15T22:12:57 | 2020-09-29T19:33:20 | C++ | UTF-8 | C++ | false | false | 9,936 | cpp | #include "submodule.h"
SubmoduleSubscriberList::SubmoduleSubscriberList()
: SubscriberList<SubmoduleSignal>()
{}
void SubmoduleSubscriberList::moved(Submodule* sender,const Vector2f &move)
{
EMIT_SIGNAL(moved,sender,move);
}
void SubmoduleSubscriberList::rotated(Submodule* sender,const float deltaAngle)
{
... | [
"alexkrieg@gmx.ch"
] | alexkrieg@gmx.ch |
833ffc3459a483d560fc71934e46f739b33d1c20 | 069b6c1e4e5a445235f49417ade6e5c3f79bb58d | /branches/2.4x/client/SearchResult.h | bf7f700f590ea4ce6ed7c0da2899f737144f6c0a | [] | no_license | BackupTheBerlios/airdc-svn | 65a99494d5267ecb2ad96f21ead0299e7811131c | 17236498160afe8dc317bb75db374be8234eb541 | refs/heads/master | 2021-01-01T17:56:34.167869 | 2013-10-16T13:01:20 | 2013-10-16T13:01:20 | 40,718,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,936 | h | /*
* Copyright (C) 2001-2013 Jacek Sieka, arnetheduck on gmail point com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any ... | [
"maksis@d6773c42-f83c-be49-aa62-2d473f764b1f"
] | maksis@d6773c42-f83c-be49-aa62-2d473f764b1f |
5f38d2549bde90974cf6e57666f21222e61f8d97 | 400c079f4e61f179773578ee8307ff50ae3d1458 | /1.Single Responsibility Principle/Countries.cpp | 1039fbaa3df3e39f1f656ec9330602755588810b | [] | no_license | zeishan-hasan/SOLID-CPP-Examples | 7ac9e0d2834e7c315dfcb49d180f1b2da6cc42d2 | 56a4dee57dede6d17f96ed931df5dce9be798698 | refs/heads/master | 2023-05-29T19:15:10.220006 | 2021-06-12T05:44:04 | 2021-06-12T05:44:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | #include <iostream>
#include <cstdint>
class TaxCalculator;
class UnitedStates{
friend TaxCalculator;
uint16_t avg_citizen_income;
public:
UnitedStates(uint16_t avg_income) : avg_citizen_income(avg_income){}
};
class UnitedKingdom{
friend TaxCalculator;
uint16_t avg_citizen_income;
... | [
"abdalrahman.hesham48@gmail.com"
] | abdalrahman.hesham48@gmail.com |
e7d6d4169d3af77a5c2cc9fa2e18220d6c1f35ed | 34a128a6005bdb976c0f7b31eeebd02c3e02edc9 | /1712884/Project1/CreateData.cpp | 4dc6d0eeb9b87b02178285ee0d688554e3769566 | [] | no_license | TunggNguyenn/DoAnGiuaKy_CTDL-GT | ff423357d9a429d0ff95f95dc0eaf368adb09cb9 | 0ebea379e489a01aefadb2db77958f03a304de18 | refs/heads/master | 2020-04-01T09:58:33.590991 | 2018-10-23T15:59:25 | 2018-10-23T15:59:25 | 153,096,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,182 | cpp | #include "CreateData.h"
#include "sortAlgorithm.h"
void Sorted(string StateSort, int N)
{
ofstream ofopen;
ofopen.open(StateSort, ios::out);
if (ofopen.fail())
{
cout << "Khong tao duoc File. Vui long tao lai. Tks.!!.\n";
return;
}
int *A = new int[N];
if (A != NULL)
{
srand(time(0));
for (int i = 0;... | [
"example@email.com"
] | example@email.com |
791fef1092442605bcf76ebb9e0b094daad45a26 | 0dcd32c050b50b50c12e9e9802c7a06a17b5f720 | /omicron/include/omicron/Sound.h | 38e19a3eddb5e20e32f8757f362b1c0b522c97c7 | [] | no_license | SummerShinoda/omicron-sdk | 2ceaab0c3cc0703698d659f3c759bab79c059d85 | be7dff37faddb1a0f9cbe776ffd68acb0c3ff2cf | refs/heads/master | 2016-08-06T06:28:38.202197 | 2013-06-06T22:44:39 | 2013-06-06T22:44:39 | 32,416,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,547 | h | /**********************************************************************************************************************
* THE OMICRON PROJECT
*---------------------------------------------------------------------------------------------------------------------
* Copyright 2010-2013 Electronic Visualizatio... | [
"febret@gmail.com@8d1ca450-7b93-c883-7266-5b08a63b922e"
] | febret@gmail.com@8d1ca450-7b93-c883-7266-5b08a63b922e |
23fd94e1223bd568b78d75c730dca59e23f0b929 | 59beee7926dd41d1b3dd4f9ee75001f2754f0542 | /f4se/ScaleformTypes.cpp | 76f196d8623c8b010c9b000f40e781d42c441430 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Ryan-rsm-McKenzie/f4se | a31d4e765119fca0e034981697bd07fea875f40d | baad8c80362122da3a6ba371c34e51f0a7e32994 | refs/heads/master | 2023-06-01T13:23:54.118295 | 2021-06-18T22:45:27 | 2021-06-18T22:45:27 | 310,821,116 | 3 | 0 | null | 2021-01-16T23:49:05 | 2020-11-07T10:38:56 | C++ | UTF-8 | C++ | false | false | 34 | cpp | #include "f4se/ScaleformTypes.h"
| [
"ianpatt@gmail.com"
] | ianpatt@gmail.com |
37b11f09dc777922a60a64ed8bedf30cabde8669 | 92947e9833b94814612d14a65d1e3772bda10553 | /DeepSee_Stars/DeepSee_Stars/Device/DirectXGraphicDevice/DirectXGraphicDevice.h | 88cd4fb448e1db738c1f67aae6cf0f362b0a4791 | [] | no_license | human-osaka-game-2018/DeepSee-Stars | db68ee2f834e8f187fed653ea45177f2cc12b85b | 6e4c65ee0f328a7489850304c936f80616780f65 | refs/heads/master | 2020-04-30T21:34:03.248483 | 2019-05-31T10:52:07 | 2019-05-31T10:57:05 | 177,096,457 | 0 | 0 | null | 2019-06-12T05:27:01 | 2019-03-22T07:57:06 | C++ | UTF-8 | C++ | false | false | 1,418 | h | #ifndef DIRECTX_GRAPHIC_DEVICE_H_
#define DIRECTX_GRAPHIC_DEVICE_H_
#include <d3dx9.h>
#include <tchar.h>
#include "../../Wnd/Wnd.h"
#include "../DirectXDevice/DirectXDevice.h"
#include "PresentParam/PresentParam.h"
namespace device
{
/// <summary>
///DirectXのグラフィック関連に必要な情報をまとめた構造体
/// </summary>
class DirectX... | [
"39691763+ToshiyaMatsuoka@users.noreply.github.com"
] | 39691763+ToshiyaMatsuoka@users.noreply.github.com |
cf794a77fc6aa97ca38a507d0e9bdb324558deff | bcba9580a60de4602fea58f5932439bbe47e6878 | /Metnum2(Azhar-Fikkyh).cpp | ca42818e855157bd7ef7aa3d175b5001fddc7906 | [] | no_license | azhar032/Metnum2 | b67353f98ad3cfc06153e325210a4b43f8ba87d6 | e8433b2a24c78fc50bb838103237fcd3b63df63f | refs/heads/master | 2021-07-09T04:27:57.843763 | 2017-10-05T09:08:26 | 2017-10-05T09:08:26 | 105,869,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,362 | cpp | #include <stdio.h>
#include <conio.h>
#include <windows.h>
#include <math.h>
#define Nmax 8
int main() {
int x[Nmax+1];
int x2[Nmax+1];
int y[Nmax+1];
int y2[Nmax+1];
int xy[Nmax+1];
int n, i, data;
int sigmax=0, sigmay=0, sigmax2=0, sigmaxy=0;
float prediksi[Nmax+1];
fl... | [
"noreply@github.com"
] | noreply@github.com |
900b6877c92586196142ad8b6bad33f3d2de219d | 9386acb33a6c522ebbb79c4447b61b191860a87b | /include/sk/util/LinkedList.cxx | 5391ec04d85f192387c1be21fc66d7bdcf63fdd7 | [
"MIT"
] | permissive | stemkit-collection/stemkit-cpp | 878fa2c74272127a8cf3ff9659ec9e39034bb4d8 | dfa77d831f49916ba6d134f407a4dcd0983328f6 | refs/heads/master | 2020-04-19T08:58:17.402275 | 2019-02-04T20:16:47 | 2019-02-04T20:16:47 | 168,095,623 | 4 | 0 | MIT | 2019-01-30T04:49:32 | 2019-01-29T05:35:00 | HTML | UTF-8 | C++ | false | false | 2,654 | cxx | /* vim: set sw=2:
* Copyright (c) 2009, Gennady Bystritsky <bystr@mac.com>
*
* Distributed under the MIT Licence.
* This is free software. See 'LICENSE' for details.
* You must read and accept the license prior to use.
*
* Author: Gennady Bystritsky
*/
#ifndef _SK_UTIL_LINKEDLIST_CXX_
#define _SK_UTIL_LIN... | [
"gennady@bystr.com"
] | gennady@bystr.com |
e05338422b4ed78803d88a8de3ce1d9229065d44 | a7bf10fe3a873eadfc4c566bbce94fb0647deacb | /codeforces/931/A.cpp | 9f27f491c6b9c26e730e18cb40bfb33ff2eb7a68 | [] | no_license | anshitmishraa/anshitmishra-codeforces-atcoder | bfb065d6f1a3f4139aa1b2035fb45506b9c25d3c | 269678e9c752377b8581717c595f4b90a211bd10 | refs/heads/master | 2023-03-10T11:48:05.750418 | 2021-01-05T08:46:00 | 2021-02-27T03:51:35 | 342,761,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include <bits/stdc++.h>
using namespace std;
#define endl ("\n")
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
void solve(){
int a,b;
cin>>a>>b;
int x = abs(b-a);
int y = x%2 != 0;
x /= 2;
cout<<(x+y)*(x+1)<<endl;
}
int main(){
fast
solve();
return 0;
} | [
"anshitmishraa@gmail.com"
] | anshitmishraa@gmail.com |
c4f88e772f55dd48bb6ad8556c00800275cf56dc | 994a028690528ac4af66b926c31c16be250b479b | /stdc++/zk_full_cocheer/jni/logic/cameraLogic.cc | 20ef833148c1d6f41dcf34c9926542a8ff063866 | [] | no_license | aaron201912/UuidSSDPlayer | da9e3f6e377c7333d963c5bc9bc289a1e79d2e59 | 9373fe274127712621d26abadfa26240d200d508 | refs/heads/master | 2022-01-29T23:07:47.021829 | 2022-01-05T04:06:42 | 2022-01-05T04:06:42 | 246,770,538 | 7 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 15,087 | cc | #pragma once
#include "uart/ProtocolSender.h"
/*
*此文件由GUI工具生成
*文件功能:用于处理用户的逻辑相应代码
*功能说明:
*========================onButtonClick_XXXX
当页面中的按键按下后系统会调用对应的函数,XXX代表GUI工具里面的[ID值]名称,
如Button1,当返回值为false的时候系统将不再处理这个按键,返回true的时候系统将会继续处理此按键。比如SYS_BACK.
*========================onSlideWindowItemClick_XXXX(int index)
当页面中存在滑动窗口并且... | [
"koda.xu@sigmastar.com.cn"
] | koda.xu@sigmastar.com.cn |
2b94b0bf04d3184f25e98acd0ea812d39070397d | cbd874f3f833565418642d73736d42b29e4dfcb7 | /solutions/alexandr_lapenkov/trade_processor_project/sources/multicast_communication/binreader.cpp | f0d60f42b071834c365e24bf6a55b9ff23fe1c2c | [] | no_license | sidorovis/cpp_craft_1013 | 4f5e67e6df30949d12d92549d1fd7eda62d98247 | 6805cfb7a059a45928c1ac6e086032df18a07524 | refs/heads/master | 2021-01-18T02:18:50.956921 | 2013-12-17T10:17:57 | 2013-12-17T10:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | cpp | #include "binreader.h"
binreader::binreader( std::stringstream& in )
:error( 0 )
{
this->in << in.rdbuf();
}
char binreader::get()
{
if(!good())return 0;
char res=0;
if(!in.read(reinterpret_cast<char*>(&res), sizeof(res)))
error = 1;
if(!res)
error = 1;
return res;
}
double binreader::get_double()
{
if... | [
"lapenkov.a@yandex.by"
] | lapenkov.a@yandex.by |
42bdd244e16fc4eaa42277c4d050cfddeba3c5f0 | d4876d852d32d64391f4eaf67b38a461a219cf73 | /src/GameCuaTao/Direct2DGame/Input/InputHelper.h | 7f5007c8cfb5b5e22adb852c1509855a53ae64ad | [] | no_license | ngb0511/Castlevania | 1894988743bfcd622e4eb01d13329cffaf31c91a | c2c8a33fcbe9c67cb22b0fe15fbe65b313f0b8aa | refs/heads/master | 2022-03-21T03:16:26.013207 | 2019-10-15T12:55:57 | 2019-10-15T12:55:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #pragma once
#include "Direct2DGame/Base/Vector2.h"
#include "KeyboardState.h"
#include "MouseState.h"
class InputHelper
{
public:
static void Update();
static bool IsKeyDown(int keyCode);
static bool IsKeyUp(int keyCode);
static bool IsKeyPressed(int keyCode);
static bool IsMouseHold(MouseButton mouseButton);
... | [
"near.huscarl@gmail.com"
] | near.huscarl@gmail.com |
272fbf2432cf7ab936dc913e154294dfd7e60b94 | efda786f376041e72d8660bac6581d7d5d90487a | /cell/cell.h | b17be5c1166e02bda2cbdfb42af7642fb695becc | [] | no_license | DmitryGalich/flies_project | 4aece7b92b5fc6134441cb243fc496f188a74373 | 48267a5b4295499c7cfeffe7fcacf94e69d75ec2 | refs/heads/main | 2023-07-03T08:18:05.915367 | 2021-08-05T17:44:53 | 2021-08-05T17:44:53 | 389,946,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | h | #ifndef CELL
#define CELL
#include <vector>
#include "support.h"
class Cell {
public:
Cell(const int capacity = 15);
~Cell() = default;
int GetCapacity() const;
void SetCapacity(const int capacity);
int GetFliesCount() const;
void SetFliesyCount(const int flies_count);
bool AddFly();
void RemoveFl... | [
"emeyl.prosto@mail.ru"
] | emeyl.prosto@mail.ru |
56f3bd586a0d6669e8dd1ea176befa36b5b9c068 | b04e71b13e659929815c64282e1a56928e2b355b | /Red/first_week/first_week/airline_ticket.h | 73bf1cd10f826271a68b310a97c8629447c27d8e | [] | no_license | momsspaghettti/coursera-c-plus-plus-modern-development | 98f0ef39dcec90cc96b3178d1fec492fe87be1c7 | f38464dc422e2e6891972dff5a0e576d7a41bc9f | refs/heads/master | 2020-05-26T03:00:58.262528 | 2019-11-06T18:51:04 | 2019-11-06T18:51:04 | 188,082,349 | 86 | 70 | null | null | null | null | UTF-8 | C++ | false | false | 837 | h | #pragma once
#include <string>
struct Date
{
int year, month, day;
};
struct Time
{
int hours;
int minutes;
};
struct AirlineTicket
{
std::string from;
std::string to;
std::string airline;
Date departure_date;
Time departure_time;
Date arrival_date;
Time arrival_time;
int... | [
"ivan.samoilov.1999@yandex.ru"
] | ivan.samoilov.1999@yandex.ru |
8fe04317be61b985a08f2742f32655c9b9cb65a4 | cff646bcc15fd7483197111c69f02612d2959799 | /src/ConfectioneryTest.cpp | 72b987ae310acc5180f9ce138f16ff9879303638 | [] | no_license | wysoczanska/Confectionery | f8361fdf236558bc9701e278fb059db595f40f67 | fc366926e5786a5241f85ce990e9948a14170d0e | refs/heads/master | 2021-01-22T19:22:58.948218 | 2017-05-24T22:06:33 | 2017-05-24T22:06:33 | 85,196,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,096 | cpp | #include "../include/ConfectioneryTest.h"
#include "../include/Muffin.h"
#include"../include/Confectionery.h"
#include "../include/Cart.h"
#include "../include/Cookie.h"
#include <iostream>
#include <vector>
using namespace std;
ConfectioneryTest::ConfectioneryTest()
{
//ctor
}
ConfectioneryTest::~ConfectioneryT... | [
"moniawysoczanska@gmail.com"
] | moniawysoczanska@gmail.com |
758ce2f68f9ffc428d94c4a4da99609dc6527b3f | 1ec2aca632b4df5878f68067eb3ff8c3bd4403ae | /OcxFilePpg.cpp | fe3529240ff5ce122933ecbbba19750afdd7102e | [
"MIT"
] | permissive | CheneyWong/OcxFile | 36c4779d96482434d33c462251c54470ecfb1885 | 1b1ff75784a903ef46801e3e62b29ff99cd0a32c | refs/heads/master | 2020-06-08T17:15:24.745850 | 2015-03-24T02:40:46 | 2015-03-24T02:40:46 | 31,533,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,399 | cpp | // OcxFilePpg.cpp : Implementation of the COcxFilePropPage property page class.
#include "stdafx.h"
#include "OcxFile.h"
#include "OcxFilePpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(COcxFilePropPage, COlePropertyPage)
/... | [
"hq@axb.me"
] | hq@axb.me |
95526e48be7bab4debc3e822e0499767d31a535b | 01553d07828278cab0c77da9c1f6b6c3dc87f7c2 | /spojsolutions/EIGHTS-20904737-src.cpp | 664db9f156b998301172e691df10260762e099b5 | [] | no_license | alphaWizard/competitive-coding | d6f0e01a2643947c0aa79af45687fbcb9d0fa24f | 95bb20b13cc1b06028451904c4aa8c076f5fb5c4 | refs/heads/master | 2021-05-05T01:29:47.856903 | 2018-04-08T13:31:06 | 2018-04-08T13:31:06 | 119,661,782 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
ll t;
cin>>t;
while(t--)
{
ll a;
cin>>a;
cout<<192+250*(a-1)<<endl;
}
return 0;
} | [
"beitmyway@gmail.com"
] | beitmyway@gmail.com |
c5fdb600e8f39803666e3800c860931bd98342b1 | 05f7631068fc1bbb93782ccbf9f9f0f5efccbf71 | /src/var_utils_01.hpp | 2a878113ed0f0da6813b32a35826b1fa1528aae1 | [] | no_license | malefstro/sourcecpp | ba3470662d3ba6c0542dc820c117ba9636c8d3f1 | 26ba75cf4ce13ed97638b25fceff23e57600b4d6 | refs/heads/master | 2023-01-01T13:10:18.703416 | 2020-10-20T11:04:19 | 2020-10-20T11:04:19 | 305,365,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | hpp | #ifndef SOURCECPP_VAR_UTILS_01_HPP
#define SOURCECPP_VAR_UTILS_01_HPP
#include <optional>
namespace varu {
std::optional<uint64_t> safe_parse_str_to_uint64_t(const std::string&);
}
#endif //SOURCECPP_VAR_UTILS_01_HPP
| [
"64612319+malefstro@users.noreply.github.com"
] | 64612319+malefstro@users.noreply.github.com |
8b6bb6f3a503c1a103bd66f50a66e919de909c76 | d11235048abad36a8f09b5881c225074869aca71 | /include/thrust/system_error.h | fbf3e620bafee347a7d5e4ec68a8964879f1edc0 | [] | no_license | peu-oliveira/pibiti | 108057e196e7388a39916bf464d89d886d3e2cba | 7acfa9d173c7d2bd4d4406e030a8510ced8a3add | refs/heads/main | 2023-04-18T00:30:43.890808 | 2021-04-28T13:55:50 | 2021-04-28T13:55:50 | 306,166,539 | 1 | 0 | null | 2021-04-28T13:55:50 | 2020-10-21T22:54:45 | C | UTF-8 | C++ | false | false | 1,561 | h | /*
* Copyright 2008-2013 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | [
"pepeuguimaraes@gmail.com"
] | pepeuguimaraes@gmail.com |
a7a132ece4290aff8c345b3b59692c1bad1ab72d | 46d4712c82816290417d611a75b604d51b046ecc | /Samples/Win7Samples/dataaccess/oledb/rowsetviewer/crowposition.h | 9e3d57cfd2d67cf8044b0a308787d7f60c75623f | [
"MIT"
] | permissive | ennoherr/Windows-classic-samples | 00edd65e4808c21ca73def0a9bb2af9fa78b4f77 | a26f029a1385c7bea1c500b7f182d41fb6bcf571 | refs/heads/master | 2022-12-09T20:11:56.456977 | 2022-12-04T16:46:55 | 2022-12-04T16:46:55 | 156,835,248 | 1 | 0 | NOASSERTION | 2022-12-04T16:46:55 | 2018-11-09T08:50:41 | null | UTF-8 | C++ | false | false | 1,586 | h | //-----------------------------------------------------------------------------
// Microsoft OLE DB RowsetViewer
// Copyright (C) 1994 - 1999 By Microsoft Corporation.
//
// @doc
//
// @module CROWPOSITION.H
//
//-----------------------------------------------------------------------------------
#ifndef _CROWPOSITION_... | [
"chrisg@microsoft.com"
] | chrisg@microsoft.com |
7870d23e089f99d12bf0bc9900771f4245b57365 | 1db032f12776c25e54e48c80901a670727c35c1b | /fsu/high_performance_computing/color_to_gray/color_to_gray_sequential.cpp | 08cdb80a822d5c97224ee3c1fa017adce4c9b326 | [] | no_license | ckpiper/school | f089ee68e6725e815f191f89c9ee328f55b7a638 | ce1e30a122cbbd805a6b135aa9887dbdd2f13810 | refs/heads/master | 2020-06-01T14:53:19.582348 | 2019-06-20T16:20:15 | 2019-06-20T16:20:15 | 190,823,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | cpp | #include <stdio.h>
#include <stdlib.h>
#include "Jpegfile.h"
#include <time.h>
int main()
{
// clock_t t;
// int f;
// t = clock();
UINT height;
UINT width;
BYTE *dataBuf;
//read the file to dataBuf with RGB format
dataBuf = JpegFile::JpegFileToRGB("monarchColor.jpg", &width, &height);
clock_t t;
int f;
... | [
"noreply@github.com"
] | noreply@github.com |
3c3e6957314f304f52d453b3e60e3759fbdcdcb0 | a466068799942bd2cb3b634a85435e9925a15d08 | /Arduino/libs/EggBus/examples/PollEggBus_WriteTest/PollEggBus_WriteTest.ino | df98d132dad0781bd16094c1a31bbe7af85cf9e0 | [] | no_license | carru/Quad | 8da3e1853f63f469e830f7cb4bf7f44996cc33ca | 2f65dbb7c338d09cf8622ba2d11020bb494b4bbb | refs/heads/master | 2020-05-30T18:31:38.698333 | 2014-06-15T10:39:43 | 2014-06-15T10:39:43 | 18,684,634 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,444 | ino | #include <stdint.h>
#include "Wire.h"
#include "EggBus.h"
EggBus eggBus;
uint32_t r0_values[2] = {2200, 750000};
boolean flag[2] = {true, true};
uint8_t counter = 0;
void setup(){
Serial.begin(9600);
}
void loop(){
uint8_t egg_bus_address;
float x_scaler = 0.0;
float y_scaler = 0.0;
f... | [
"carru400@gmail.com"
] | carru400@gmail.com |
893970f5c27da3ca9d9c80b3c510ef207a25fb62 | 9180c4938e5f48dd299f20794311f4a772c7fdb3 | /src/firmble.cpp | 037b5edc9386ce3a71e0900aca49f387f1bb73ff | [
"Apache-2.0"
] | permissive | ajuniper/firmatacpp | 6c3ef1da3646cfcd25aba91d886a81ef571daa5b | ea2012d1ec4ec6d2dbc9cbc3a99faba476853da3 | refs/heads/master | 2021-01-01T20:13:49.310041 | 2017-09-25T20:47:06 | 2017-09-25T20:47:06 | 98,792,136 | 0 | 0 | null | 2017-07-30T11:09:57 | 2017-07-30T11:09:57 | null | UTF-8 | C++ | false | false | 31,721 | cpp | #include "firmble.h"
#include <iostream>
#include <sstream>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/eventfd.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <cerr... | [
"linux@thejunipers.me.uk"
] | linux@thejunipers.me.uk |
5fda6480d2d07013b6cb9fcc20ac704987e5ecf9 | 4c08d143040db7f8c638481612455ee318f2478d | /Codechef/Beginner/REMISS.cpp | fd326572b1c11440712e0cff48f12d1d5310537b | [] | no_license | ganeshskudva/Algorithms | 1e8f47767ffcfc8e381d054cfb6816f42030d9c9 | 530a8c38d92d65003e0f8dcf57757a1147c42c65 | refs/heads/master | 2021-07-14T01:22:00.788658 | 2021-03-29T17:56:17 | 2021-03-29T17:56:17 | 25,098,710 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | #include <bits/stdc++.h>
typedef unsigned long long int ll;
using namespace std;
#define GETCHAR getchar_unlocked
inline ll readInt()
{
ll n = 0;
char c;
while (1)
{
c=GETCHAR();
if(c=='\n'||c==' ') break;
n = n * 10 + c - '0';
}
return n;
}
ll max(ll a, ll b)
{
return a>b?a:b;
}
i... | [
"ganeshskudva@gmail.com"
] | ganeshskudva@gmail.com |
fc30588ee5b1c9fc8893445ba40f948aa1720d4a | 2a34f1d14e6bd68cee1bb320fd0bb34ca9558886 | /Problems/CodeForces/1700_CircleGame.cpp | 2c0997f895e26bbf0e1da3254f27bd1de8bff32a | [] | no_license | DevinLeamy/Competitive-Programming | 840fc905ba872c476e4180274555770cf013d400 | 9c0fac489e238d98ba983606da4a0a6d7f519d13 | refs/heads/master | 2022-05-05T05:17:48.256661 | 2022-03-21T03:43:00 | 2022-03-21T03:43:00 | 199,560,255 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <iomanip>
#define INF 2147483647
#define LINF 9223372036854775807ll
#define PI pair<int, int>
#define PL pair<long long, long long>
#define ll long long
#define pb push_b... | [
"devinleamy@gmail.com"
] | devinleamy@gmail.com |
8233bf64b1a90ef4cde3f841097956f7d7e94f84 | 5933373d7421235d7978ef1f04c90c84d4c32c6b | /contrib/psol/include/net/instaweb/http/public/fetcher_test.h | 43a205dfd1cfe07b7c2e69d950b0b1d1f47ccac3 | [
"MIT"
] | permissive | heartshare/openresty-bundle | 1343287bca0c747c562b0ba2e640e613d9db4884 | 2a8f4a2bff14fad719fc516c5836aac47c289c67 | refs/heads/master | 2021-01-22T07:27:55.759619 | 2014-08-27T13:48:42 | 2014-08-27T13:48:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,256 | h | /*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"bhanlon@inviqa.com"
] | bhanlon@inviqa.com |
e6140ab09b9fc53bbfe67500f5b1fc569240495f | 2603a7011f6e0f16c12d5b529fd4370fbc5939ce | /src/rocksdb_multimap.hpp | 1b1d3ec1e35f36ca505d6f84099584da14337b08 | [
"MIT"
] | permissive | RobertoMalatesta/insecure-index | 2f47c257a26d8ce47e5a7e74555910681a588301 | 14be5afa278543a938edd9dac49c86b99dd5eab7 | refs/heads/master | 2020-09-10T19:26:32.981558 | 2019-10-26T18:29:06 | 2019-10-26T18:29:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | hpp | #pragma once
#include "index.hpp"
#include <memory>
namespace rocksdb {
class DB;
}
namespace sse {
namespace insecure {
class RocksDBMultiMap : public Index
{
public:
RocksDBMultiMap(const std::string& path);
std::vector<Index::document_type> search(
const Index::keyword_type& keyword) const;
... | [
"raphael_bost@alumni.brown.edu"
] | raphael_bost@alumni.brown.edu |
b683294bbde2a920c9230e9f4a6d8a77ba98bf1a | 0cd407f6a73c21bbeb52958665fc2872bd25e83b | /cpp/tasks/30-days/02-operators.cpp | 40a3bf1e3b7947a452a315e8866c31c3ffc8ab13 | [] | no_license | ikenticus/blogcode | 178c6d99e7805490fbe95417d6e28d1f64b0ce9d | 550b57c46284bb2e47ac23b3984792f3e68d73ea | refs/heads/master | 2023-07-05T09:00:55.780386 | 2023-06-30T02:08:10 | 2023-06-30T02:08:10 | 1,432,663 | 4 | 3 | null | 2023-01-05T17:26:25 | 2011-03-02T22:12:14 | Python | UTF-8 | C++ | false | false | 714 | cpp | #include <bits/stdc++.h>
using namespace std;
// Complete the solve function below.
void solve(double meal_cost, int tip_percent, int tax_percent) {
double tip = (double) tip_percent / 100;
double tax = (double) tax_percent / 100;
printf("The total meal cost is %.0f dollars.\n", meal_cost * (1 + tip + tax... | [
"ikenticus@gmail.com"
] | ikenticus@gmail.com |
1abf8dc6f117a145ae1a4b8bd380fe7cad6fa7a6 | a0423109d0dd871a0e5ae7be64c57afd062c3375 | /Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Uno.Threading.IDispatcher.h | 9990e0d8f072140a24767d8c92dc45fc60dedeee | [
"Apache-2.0"
] | permissive | marferfer/SpinOff-LoL | 1c8a823302dac86133aa579d26ff90698bfc1ad6 | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | refs/heads/master | 2020-03-29T20:09:20.322768 | 2018-10-09T10:19:33 | 2018-10-09T10:19:33 | 150,298,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | h | // This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Uno.Threading/1.9.0/IDispatcher.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Uno{
namespace Threading{
// public abstract interface IDispatcher ... | [
"mariofdezfdez@hotmail.com"
] | mariofdezfdez@hotmail.com |
a54a111388e5b12df0c14c341e79060846783832 | f64492e023482398fc9902f0ad45379988cd708b | /Lab_5/Unit1.cpp | 7b73990a0fc1443373c5c119498fdbdd5242c051 | [] | no_license | Evgescha/1-semester---OAiP-Lab-1-6 | 2c3cca380bc3507a9cef5a58a2a272e16a57d108 | b85606f798652327a5de192c7d577cb45d14e434 | refs/heads/master | 2020-03-29T00:13:30.359007 | 2018-09-18T17:52:58 | 2018-09-18T17:52:58 | 149,330,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------... | [
"Yauheni.maslau@yandex.by"
] | Yauheni.maslau@yandex.by |
6addbee458170e8403259a2cefc8f6c8448bea8a | d3fa9d816bb95d1dc10ef11b1aec95265bb56edf | /SearchAndTrackingTarget.cpp | ad649ac4b3a1230b74896b666777b677db314227 | [] | no_license | Rasim1995/SearchAndTrackingTargetLibrary | b7539f3809ec0c22c15e58051a06402a78e88813 | dd901c4de3c4d43a4ace5a1f746f3cecc53a88e7 | refs/heads/master | 2021-01-11T21:53:54.840465 | 2017-01-13T18:19:26 | 2017-01-13T18:19:26 | 78,871,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,170 | cpp | #include "SearchAndTrackingTarget.h"
#include <QMutex>
using namespace cv;
using namespace std;
SearchAndTrackingTarget::SearchAndTrackingTarget()
{
_original0.create(gl_heightOriginal, gl_widthOriginal, CV_16UC1);
_original.create(gl_heightOriginal, gl_widthOriginal, CV_8UC1);
_delta = 50;
_lossTime... | [
"ismagilovrasim1995@gmail.com"
] | ismagilovrasim1995@gmail.com |
04d6951eeaee09e3cb56dea5e05e2ec1c3b3976f | 1206549c0eee9abe07cabd6b53b2626c264735d3 | /CppFiles/ReLULayer.cpp | c0d2c7f0942670b8382f50aa04cd5179cb5d74de | [] | no_license | Dubidu1212/NN0_1 | 6201849958a24ff5b85d92e33ffd12dcdb07275d | 15de02f6f6feef3da66275384dddd79d322d41f3 | refs/heads/master | 2020-06-05T08:31:04.065957 | 2019-10-10T19:57:02 | 2019-10-10T19:57:02 | 192,376,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | #include "ReLULayer.h"
std::vector<Mat1f> ReLULayer::use(std::vector<Mat1f> in) {
std::vector<Mat1f> out;
for(Mat1f mat : in){
eWMOp(mat,ReLU);
out.push_back(mat.clone());
}
inputHistory = copyVec(out);
return out;
}
std::vector<Mat1f> ReLULayer::dErr(std::vector<Mat1f> in) {
... | [
"rz.ausserschwand@gmail.com"
] | rz.ausserschwand@gmail.com |
55edc5931daaf9401498c26c94f282e26f561b20 | 8bb2e9db6e23f76e34726f3bcc7a81ba5b1cf5ac | /Source/RTS_Ver2/Networking/RTSReplicationGraph.cpp | ba9c608cd7927584b7789d3b7d840d215588365b | [] | no_license | FreshMutroom/UE4-RTS | eeeffd8b75d2f244291aaad01dffc1b5f8026f5c | 4dda44bf0fbc25d28bc247b905fc83ed17cee61c | refs/heads/master | 2023-05-11T15:24:20.298194 | 2023-05-06T00:52:32 | 2023-05-06T00:52:32 | 199,134,350 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 62,850 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "RTSReplicationGraph.h"
#include "Engine/NetConnection.h"
#include "Public/GameplayDebuggerCategoryReplicator.h"
#include "Net/RepLayout.h"
#include "Engine/ChildConnection.h"
#include "GameFramework/RTSGameState.h"
#include "Game... | [
"diarrhea_twins@hotmail.com"
] | diarrhea_twins@hotmail.com |
37bc778c875fe05c38d78109fdb6f9d70474794d | 8d8507655970723484d8d3fd4d04b3ef4879855c | /code/AzCore/Input/Channels/InputChannel.cpp | f84f0474c79a2403fa3feb6659d12a8cbfb12f18 | [] | no_license | leafnsand/xEngine | 305b69069d93cfc1bf1e3f426cb31c6d2f15da1e | 05b83ba249e2c9517253c50b13264b4514b3b34e | refs/heads/master | 2020-05-21T20:11:05.684108 | 2019-08-06T03:35:34 | 2019-08-06T03:35:34 | 60,331,266 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 7,739 | cpp | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | [
"xavierjiang@hotmail.com"
] | xavierjiang@hotmail.com |
4dd381406493af7fabe8a52eec8989e1044b9724 | 2aa4aa250fbc1e9cb4e08e545c07504ebbf31656 | /lib/VM/JSDataView.cpp | 89148b75613deb1df26f640356e214e488a65f71 | [
"MIT"
] | permissive | MedRedha/hermes | d6bb77bdd054153bb351b900dd2ee0ed79014101 | ef513ad2ceb39d2286c9e7347709dc59399a2f52 | refs/heads/master | 2020-09-23T05:52:48.107221 | 2019-12-01T13:02:32 | 2019-12-01T13:03:58 | 225,420,986 | 1 | 0 | MIT | 2019-12-02T16:33:47 | 2019-12-02T16:33:46 | null | UTF-8 | C++ | false | false | 2,393 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "hermes/VM/JSDataView.h"
#include "hermes/VM/BuildMetadata.h"
#include "llvm/Support/Debug.h"
#define DEBUG_TYPE "serial... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
4e34647b00062819452b04b6c5541695479eb231 | ef193e87ba7063715469e93d603fbdec3bac77a9 | /src/Core/Camera.h | 9b1cb026906a976a587b9d026199700d12efdfc0 | [] | no_license | ignore444/RSM | 2eea7ae4b251017d50b250d782eb6de4e52d8367 | 0fa64039bc227c88cb2b6c6e33ca4bad14afbfdb | refs/heads/master | 2022-03-28T07:33:13.355165 | 2019-12-09T12:00:27 | 2019-12-09T12:00:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | h | #ifndef __RSM_CAMERA_H__
#define __RSM_CAMERA_H__
#include "SceneObject.h"
namespace rsm {
struct CameraData {
glm::mat4 viewMatrix;
glm::mat4 projMatrix;
glm::mat4 viewProjMatrix;
glm::vec3 viewPos;
};
class Camera : public SceneObject {
public:
Camera();
Camera(int width, int height,
const glm:... | [
"sapphiron7@gmail.com"
] | sapphiron7@gmail.com |
0d29e6cd36fa16457d24fbfb27f25aa6a0c4ca3b | c57819bebe1a3e1d305ae0cb869cdcc48c7181d1 | /src/qt/src/3rdparty/webkit/Source/WebCore/generated/JSSVGFEDropShadowElement.h | e21a9fdfadcff07056b129b11d183ef72ea21123 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-generic-exception",
"GPL-3.0-only",
"GPL-1.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | blowery/phantomjs | 255829570e90a28d1cd597192e20314578ef0276 | f929d2b04a29ff6c3c5b47cd08a8f741b1335c72 | refs/heads/master | 2023-04-08T01:22:35.426692 | 2012-10-11T17:43:24 | 2012-10-11T17:43:24 | 6,177,895 | 1 | 0 | BSD-3-Clause | 2023-04-03T23:09:40 | 2012-10-11T17:39:25 | C++ | UTF-8 | C++ | false | false | 4,826 | h | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
6cbd47266aeb7173478c024c66ce07d03cf465f4 | e1ce5c1c8e403df3446ea6736803cec795b47ec5 | /18-utk-master/unit-tests/testIO_EDAT.cpp | 4e572e39300b9cb1c557dc822200d8257e52471a | [
"BSD-2-Clause"
] | permissive | HannahJHan/BlueNoiseSampling | c33f240221dd91843d0033de144adc4a238f69c7 | 1aec7e67f3e84735054ec79c6b477950095942ca | refs/heads/master | 2022-12-31T16:17:48.937577 | 2020-10-20T10:43:32 | 2020-10-20T10:43:32 | 305,656,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,491 | cpp | #include "../src/pointsets/Pointset.hpp"
#include "../src/samplers/SamplerWhitenoise.hpp"
#include "../src/samplers/SamplerHalton.hpp"
#include "../src/io/fileIO.hpp"
#include <cstdlib>
using namespace utk;
int main(int argc, char** argv)
{
/********************
* REGULAR CASES
*******************/
SamplerWhi... | [
"741891498@qq.com"
] | 741891498@qq.com |
f730bc3a79320fde92ef232820f533dde2adf5e3 | b19f020a57b0d3ca74a955106489e80baaf9127f | /UDPChatroom/Address.cpp | 6f3c264ff12ef4d4e53e5b1697f53247bf4cb826 | [] | no_license | TurtlesOnDown/UDPChatroom | 4100dcd9ce54db0d982a5e678b1333b6d68453f9 | 0334be94e1b0255a7e869089a41afeb843f0520e | refs/heads/master | 2021-08-14T15:32:21.796588 | 2017-11-16T04:46:10 | 2017-11-16T04:46:10 | 108,348,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | #include "Address.h"
Address::Address() {
address = (127 << 24) | (0 << 16) | (0 << 8) | 1;
port = 0;
}
Address::Address(unsigned char a, unsigned char b, unsigned char c, unsigned char d, unsigned short prt) {
address = (a << 24) | (b << 16) | (c << 8) | d;
port = prt;
}
Address::Address(unsigned int addres... | [
"spenser.riebs@gmail.com"
] | spenser.riebs@gmail.com |
fee156f195e367c6627878d0b9ee3ea7ebe76910 | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /CondFormats/DataRecord/interface/AlCaRecoTriggerBitsRcd.h | 08956b6182367f16b4c3ad72a7d35f5d8f7410b0 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 605 | h | #ifndef CondFormats_AlCaRecoTriggerBitsRcd_h
#define CondFormats_AlCaRecoTriggerBitsRcd_h
// -*- C++ -*-
//
// Package: CondFormats
// Class : AlCaRecoTriggerBitsRcd
//
/**\class AlCaRecoTriggerBitsRcd AlCaRecoTriggerBitsRcd.h src/CondFormats/interface/AlCaRecoTriggerBitsRcd.h
Description: <one line class s... | [
"sha1-1aff87905f4e0572a16a433d78e0dff2e49ac9af@cern.ch"
] | sha1-1aff87905f4e0572a16a433d78e0dff2e49ac9af@cern.ch |
223aa5e3f2d86b4a791b184403a3904f948120f2 | 923a4858ca40e3b2a60a27c03f93ea362b11d870 | /C++/Task6_Part2_C++Code/PayOffConstructible.h | bc8881286ba47fd402c5cab2266fc0d5867b82b6 | [] | no_license | himanshu199391/DerivativePricing-DesignPatterns | 97a4db4823403bc2bf642662ce2dd1edd8e120eb | 69ab4ee574d6ef72ecd207528fec91567a8d8ef5 | refs/heads/master | 2022-02-04T12:22:34.923691 | 2019-08-27T17:53:02 | 2019-08-27T17:53:02 | 204,757,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | h | //
// PayOffConstructible.h
// ch10_factory_pattern
//
// Created by cheerzzh on 24/6/14.
// Copyright (c) 2014年 Jared Zhou. All rights reserved.
//
#ifndef __ch10_factory_pattern__PayOffConstructible__
#define __ch10_factory_pattern__PayOffConstructible__
#if defined(_MSC_VER)
#pragma warning( disable : 4786)
#e... | [
"himanshu@HIMANSHUs-Air.fios-router.home"
] | himanshu@HIMANSHUs-Air.fios-router.home |
7c17074707133a323a507fce4d20f0007a869f87 | bf01635649460496c35a2881adc13937c73d8179 | /RPG/window.h | c4676c028dff341efe4802428a508a08476da7e1 | [] | no_license | tcarrel/RPG | f77cb7ecfa51c94f73836146d12aa0daf2e57d3b | a41d02fca6ef2378c06198c0701a20e602a023b5 | refs/heads/master | 2021-04-06T11:44:19.998412 | 2019-04-08T11:44:21 | 2019-04-08T11:44:21 | 124,679,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | h | #pragma once
#include "stdafx.h"
class Scaler;
/**
* A wrapper for the SDL Window.
*/
class Window
{
public:
Window();
bool good( void );
void clear( void );
void update( void );
~Window();
SDL_Renderer* get_renderer( void );
SDL_Surface* get_surface( void );
SDL_Rect get_dimens... | [
"goshisanniichi@yahoo.com"
] | goshisanniichi@yahoo.com |
72d329f40ac890aa20b0bf6dda35334e803a6382 | 287c395493406faf22407fe4d99e07baa382e792 | /src/clientversion.cpp | cbe0bd0b7d799c177d7bd97bce2c408d636a73f4 | [
"MIT"
] | permissive | apt-get-schwifty/thehashcoin | 9ca6d69d7da8bedcb9c33db34e0271d3a2e6ea81 | 57165e44a28ebe44dd665883a5327452c193c3e5 | refs/heads/master | 2020-03-25T07:42:09.102994 | 2018-09-08T18:52:02 | 2018-09-08T18:52:02 | 141,077,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,800 | cpp | // Copyright (c) 2012-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <clientversion.h>
#include <tinyformat.h>
/**
* Name of client reported in the 'version' message. Report the sam... | [
"bhuff25930@gmail.com"
] | bhuff25930@gmail.com |
b7d530a6382faa15dcba64accd870266f19668f7 | 5b8f1ab8098079d610eb8e188a9e3586893be5ac | /src/pywrapper.cpp | 0b470d3b5f3052058d630364e361d2b422801711 | [] | no_license | fridgerator/PyNode | b19c5fc1c368088c92390fa9503eb61da12955e0 | 99abd9621f4bd0663f7ca106c21a34292e8bf2ba | refs/heads/master | 2023-07-26T19:21:06.505643 | 2022-03-01T18:59:22 | 2022-03-01T18:59:22 | 192,140,226 | 133 | 20 | null | 2023-07-12T00:05:36 | 2019-06-16T01:58:26 | C++ | UTF-8 | C++ | false | false | 3,564 | cpp | #include "pywrapper.hpp"
#include <napi.h>
#include <iostream>
Napi::Object PyNodeWrappedPythonObject::Init(Napi::Env env, Napi::Object exports) {
// This method is used to hook the accessor and method callbacks
Napi::Function func = DefineClass(env, "PyNodeWrappedPythonObject", {
InstanceMethod("call"... | [
"noreply@github.com"
] | noreply@github.com |
8b7880efef655e4ca5b29fd30665002ed0bc8679 | 89e430e5e47642132b272ab454c0bd40344c40a7 | /LeetcodeCplusplus/temp/基本算法/查找排序/查找-顺序查找.cpp | 0df971278d3820c8431a3c9073166679d494b5bc | [] | no_license | selonsy/leetcode | bebde23e0e13ba236adb3d905a701a34602f98df | b8f705a77cfcdb7d498d3422f9c4ee88fd61a3b3 | refs/heads/master | 2021-06-28T06:23:36.422766 | 2021-02-23T12:34:40 | 2021-02-23T12:34:40 | 220,758,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <iostream>
using namespace std;
int SequenceSearch(int a[], int value, int n)
{
int i;
for (i = 0; i < n; i++)
if (a[i] == value)
return i;
return -1;
}
int main()
{
int a[10] = {5, 6, 7, 8, 9, 10, 11, 12, 13, 14};
int i = SequenceSearch(a, 10, 10);
cout << "index:"... | [
"selonsy@gmail.com"
] | selonsy@gmail.com |
a1598a495b75d480fadfd569bdd97fd00d56c9cd | 08adbe2ccd9ba03bc9475f4e738fd8425e95fe7f | /new/CSVreader.cpp | 18296b9c6a09f1393239ee590e0b5ef463a541d9 | [] | no_license | fai516/Soccer-Research | 0ef5dcf2e208f35bee0fdb079b22fce8f79b4993 | 6456d6f13afcd10bdee3176d28edc319ceb1f33c | refs/heads/master | 2021-01-21T06:43:07.040719 | 2017-04-03T23:17:29 | 2017-04-03T23:17:29 | 83,274,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include "CSVreader.h"
#include <iostream>
#include <string>
#include <vector>
using namespace std;
void CSVreader::CSVtoArray(string input, char s){
array.clear();
int last = -1;
int count = 0;
for(int i=0;i<input.size();i++){
if(input[i] != s) count++;
else{ // input[i]==s
string buffer = input.... | [
"ysryb@mst.edu"
] | ysryb@mst.edu |
20c0127fa3e2fce435794d05df86eab7d0f05cfa | 76171660651f1c680d5b5a380c07635de5b2367c | /SH6_43_msh4/0.54/phi | db76828ee6745d6a1cb43b4c670180b02c268c37 | [] | no_license | lisegaAM/SH_Paper1 | 3cd0cac0d95cc60d296268e65e2dd6fed4cc6127 | 12ceadba5c58c563ccac236b965b4b917ac47551 | refs/heads/master | 2021-04-27T19:44:19.527187 | 2018-02-21T16:16:50 | 2018-02-21T16:16:50 | 122,360,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583,766 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
... | [
"alexmayes@gmail.com"
] | alexmayes@gmail.com | |
b97a8cdec32cb584785551382f36a516eb6edd49 | 3c5d5a26bc129e48bbd391272af654552f6e32e4 | /torch_xla/csrc/ops/amp_update_scale.h | fb3bef82a5cd4c8afd18c4c4aee9dadb441b79bd | [
"BSD-2-Clause"
] | permissive | pytorch/xla | ea30221b0c1d810f743011e35fbcaadadfe1fbd7 | e22c9ce169ebfe50f4f583970dfe395519dfcbf8 | refs/heads/master | 2023-09-04T08:55:20.147988 | 2023-09-01T21:22:35 | 2023-09-01T21:22:35 | 156,293,205 | 2,245 | 415 | NOASSERTION | 2023-09-14T21:33:43 | 2018-11-05T22:42:04 | Jupyter Notebook | UTF-8 | C++ | false | false | 810 | h | #ifndef XLA_TORCH_XLA_CSRC_OPS_AMP_UPDATE_SCALE_H_
#define XLA_TORCH_XLA_CSRC_OPS_AMP_UPDATE_SCALE_H_
#include "torch_xla/csrc/ir.h"
namespace torch_xla {
class AmpUpdateScale : public XlaNode {
public:
AmpUpdateScale(const torch::lazy::Value& current_scale,
const torch::lazy::Value& growth_track... | [
"noreply@github.com"
] | noreply@github.com |
2ad8c9877dbd749a9011dea3df2cc6f9ccd5c047 | e834a0aa0adb76d253f21701c45c11c3c74ed630 | /Beautiful 5.cpp | 83c73dee98c02e17f1c7d44ded0e03e93eee350f | [] | no_license | Shotazhvania/Small-Algorithms | 60d2094cf4b8d3c87819027953a3d4f63402a2f6 | 086fa9466eccf29e7d29695e634a3797edaeb234 | refs/heads/master | 2020-06-30T05:36:39.215904 | 2019-08-05T23:50:06 | 2019-08-05T23:50:06 | 200,742,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include <iostream>
using namespace std;
int main()
{
int g[4][5] = {{1,2,-1,-1,-1},
{-1,2,-1,-1,-1},
{-1,2,3,-1,-1},
{-1,-1,3,4,-1}}, i, k, m, N;
string S;
cin >> S; N = S.size();
for (m = i = 0; i <= N && m > -1; i++, m = g[m][k])
if (i == N)k = 3;
else if (S[i] == '1' || S[i] ==... | [
"noreply@github.com"
] | noreply@github.com |
21c4e2b10d5e6fb3742cbc4b6eaca121ec985371 | 3a918810fff9810a3e77ba6e8d323cd67b99f4cd | /ArduinoPlatformio/02_demos/04 elementos/01 leds/03_NeoPixel/07_Rings/02_multi/01_clock3a/Platformio/src/main.cpp | 079cac511bc4f5ecc38eb99d1995604e0f25674f | [] | no_license | ramonjunquera/GlobalEnvironment | 7cdb81e7dd30619016ee36f3d4501ebb13891d8b | d099ce6fbaa4e9f570428ca30a058bf75a4ac4b5 | refs/heads/master | 2023-03-08T02:36:07.720569 | 2023-02-20T08:58:18 | 2023-02-20T08:58:18 | 110,946,331 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,769 | cpp | /*
Autor: Ramón Junquera
Fecha: 20221103
Tema: Anillos de leds NeoPixel
Descripción:
Reloj analógico con 3 esferas/anillos para horas, minutos y segundos
*/
#include <Arduino.h>
#include <RoJoNeoPixel.h> //Gestión de leds NeoPixel
#include <RoJoNeoPixelRing.h> //Gestión de anillos NeoPixel
#include <WiFi.... | [
"ramonjunquera@users.noreply.github.com"
] | ramonjunquera@users.noreply.github.com |
14c021fd5650407278483f14a3e09c535e0312d8 | df85175d4b80fbf5c9e23c742eea77fdc1247352 | /question8.cpp | 6413cad04ed0b1308d0caf65ffbe5d328353634a | [] | no_license | PPL-IIITA/ppl-assignment-jaiswalkautish | 0d2500dd401aa0a91edc95ac4b1fc6c7110cc1da | 264ae440bf2b5a7f2bb88558003de81182b8bedc | refs/heads/master | 2021-01-21T06:24:40.634824 | 2017-04-09T22:03:10 | 2017-04-09T22:03:10 | 83,226,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include "initialize.h"
#include "couple.h"
#include "gift_selecter.h"
#include "gift_selecter_m1.h"
#include "gift_selecter_m2.h"
using namespace std;
int main()
{
/** the main function that does everything as asked in question 8 using inheritance */
boy... | [
"jaiswalkautish@gmail.com"
] | jaiswalkautish@gmail.com |
c2419ab42a24dff7dc45c48572e9be6026e905a5 | 1055188b74eb94de406df167eb7f4b92c4d55dd9 | /Classes/HudTrigEquipArmor.cpp | eba7cd3c0056beca6b376ebda3de1a3e57dd53fa | [] | no_license | qwertylevel3/T3project_0 | 79a1d5d9203d89204a0aee309a99ece00ad4193a | a42ddcf2fa45e366091f71bb4731f71cc6b3a357 | refs/heads/master | 2021-06-12T05:07:13.253530 | 2017-01-30T17:22:24 | 2017-01-30T17:22:24 | 62,017,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | cpp | #include "HudTrigEquipArmor.h"
#include "KeyController.h"
#include "HudMenuItem.h"
#include "Player.h"
#include "InventoryFactory.h"
#include "Inventory.h"
#include "Character.h"
#include "HudInventoryMenu.h"
HudTrigEquipArmor::HudTrigEquipArmor()
{
}
HudTrigEquipArmor::~HudTrigEquipArmor()
{
}
void HudTrigEquipA... | [
"qwertylevel3@126.com"
] | qwertylevel3@126.com |
ce075a7522431f0b2e3a2a33d5943aed063552ae | 869f5fe7bd0cafa507a699256cf3f0a64b6cf121 | /my_unity_app/Classes/Native/Generics15.cpp | 5800892afe0b2f25b19588e13393a086d3ceca1e | [] | no_license | shahhyash/Opus | f372068c903a4de882b34edb47b80fc246b58a61 | 98bdb67280aa1102beb12bffc3a9a08d1860613f | refs/heads/master | 2022-07-09T17:10:03.587710 | 2020-05-13T15:34:38 | 2020-05-13T15:34:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271,244 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"s.k.omer@hotmail.com"
] | s.k.omer@hotmail.com |
be46101c03b10ceccca8d2817ec593b7ea3d5cc7 | b6a53cc812f1e68eb06739ade4eb6c930d699886 | /c++/Remove_Duplicate_Letters.cpp | 2848995a4eccbcb0b035eda4e7b144c8781594ca | [] | no_license | brotherhuang/notebook_leetcode | c07ee2bdd22b92b946a531ea2f73f5eebb0f6035 | 9c253dde16cc2f3891eaba1de998c0e96bf84fd6 | refs/heads/master | 2021-01-23T21:31:00.680491 | 2017-07-07T20:48:43 | 2017-07-07T20:48:43 | 58,677,338 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | /* Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your result is the smallest in lexicographical order among all possible results.
Example:
Given "bcabc"
Return "abc"
Given "cbacdcbc"
Return "acdb" */
class Solu... | [
"jackiehuanghaibin@gmail.com"
] | jackiehuanghaibin@gmail.com |
710ed616ea685f9d05b1a9c7d969eb296cef2765 | 4b479d308e3507dac3cfbde34556a0a609b9f522 | /CK.MiniCRT/Src/CK.Convert.h | 112582bfd84a3ac5e2913b238d703b8fbdb8aca9 | [] | no_license | transformersprimeabcxyz/ck-llhook | 58ed663c639bfd88774d11d5e160da5f07e29fd7 | d1f04cfb35dba8053f438c482b12ef0faddc3403 | refs/heads/master | 2020-02-26T17:20:41.859814 | 2013-05-09T15:19:24 | 2013-05-09T15:19:24 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,136 | h | /*----------------------------------------------------------------------------
* This file (CK.LLHook\CK.MiniCRT\Src\CK.Convert.h) is part of CiviKey.
*
* CiviKey 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 Softwar... | [
"olivier.spinelli@invenietis.com"
] | olivier.spinelli@invenietis.com |
9dafff3edb3eca8d4895aed7b5a5f7acd7f19ef8 | 3aa9a68026ab10ced85dec559b6b4dfcb74ae251 | /leetCode/linked-list-cycle/Accepted/2-4-2021, 12_26_34 AM/Solution.cpp | ace0fe69b51189ff834e6653232e3dd76ac63e96 | [] | no_license | kushuu/competitive_programming_all | 10eee29c3ca0656a2ffa37b142df680c3a022f1b | 5edaec66d2179a012832698035bdfb0957dbd806 | refs/heads/master | 2023-08-17T15:09:48.492816 | 2021-10-04T20:09:37 | 2021-10-04T20:09:37 | 334,891,360 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | // https://leetcode.com/problems/linked-list-cycle
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
bool hasCycle(ListNode *head) {
if(head == nullptr) return false;
... | [
"sonikushu007@gmail.com"
] | sonikushu007@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.