blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
320ff4b86c7a7febf7737bae1be9b0737864467b | 3f935da243e0839f15392d914d45f9c7037e1ddf | /DriverStation/main.cpp | 9bb5d42d925531b4588cef53e6522af150fe1f4a | [] | no_license | dgitz/DriverStation | d7fe1ab0c3f9ad9f6e8fa6acd9d309b4b65f6771 | 0110d75b465e75bf3c4514fb76006bf2aaecc1b0 | refs/heads/master | 2021-01-19T07:55:14.316051 | 2020-04-05T20:05:58 | 2020-04-05T20:05:58 | 83,970,385 | 0 | 1 | null | 2020-04-05T20:05:59 | 2017-03-05T13:04:31 | C++ | UTF-8 | C++ | false | false | 1,669 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <QtCharts/QChartView>
#include <QDesktopWidget>
/*
class Player : public QCoreApplication
{
public:
Player(int argc, char **argv);
~Player();
private:
void onBusMessage(const QGst::MessagePtr & message);
private:
QGst::PipelinePtr pipeline1;
}... | [
"davidgitz@gmail.com"
] | davidgitz@gmail.com |
821567d7cb92f5489ccb9e22de5f2b342291fb29 | dac5254630fefae851da7c843dcab7f6a6af9703 | /Linux/Sources/Application/Address_Book/CGroupTable.cp | 020888673ec3609dc3131eac23720497d2e01393 | [
"Apache-2.0"
] | permissive | gpreviato/Mulberry-Mail | dd4e3618468fff36361bd2aeb0a725593faa0f8d | ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a | refs/heads/master | 2021-01-20T03:31:39.515653 | 2017-09-21T13:09:55 | 2017-09-21T13:09:55 | 18,178,314 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 34,723 | cp | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | [
"svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132"
] | svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132 |
69bb2dc63c1e5b5e632f2a5a288cb89432338cd2 | 12937c90030aa0a9d14f20e55a593ac81186b384 | /posix_qextserialport.h | 1f789aa92cb0ca8e069d8a8e94f09686fafe8596 | [] | no_license | iuvei/baccarat-1 | 8c61d4b124e266337353cc5710abff6c9b828804 | 617c0eb1a1de7e347aafc7026923a6eb03591128 | refs/heads/master | 2020-11-26T15:17:31.785402 | 2016-02-19T09:03:27 | 2016-02-19T09:03:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | h | #ifndef _POSIX_QEXTSERIALPORT_H_
#define _POSIX_QEXTSERIALPORT_H_
#include <stdio.h>
#include <termios.h>
#include <errno.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/select.h>
#include "qextserialbase.h"
class Posix_QextSerialPort:public QextSerialBase
{
private:
... | [
"weison86@sina.cn"
] | weison86@sina.cn |
6e6c83345c9a86cb4e3793ca8383bd0570ca2b4c | e2bf73db30f6efbe12675b8ed11dbb7e03d7fd44 | /codigo_alfa/codigo_alfa.ino | 7977f765aaa2048900685ebe9b247ec658c85d56 | [
"BSD-3-Clause"
] | permissive | AlejoJamC/Blitz-arduino | edf8c47c8cb5f6770fbe83d0a099838d9cfb61b7 | 96f80efa805b077694cf57ea34da00f91ceca23e | refs/heads/master | 2021-01-22T08:47:20.547547 | 2017-11-10T20:10:46 | 2017-11-10T20:10:46 | 92,631,321 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | ino | // instancio las variables globales y librerias requeridas
#include <SD.h>
File Archivo;
void setup() {
//Se esablece comunicación con el monitor serial para la comprobación de la
//carga de datos.
Serial.begin(9600);
if (!SD.begin(10)) {
return;
}
// Se crear el archivo
Archivo = SD.open("datos.txt... | [
"alejandromantilla7@hotmail.com"
] | alejandromantilla7@hotmail.com |
21af0c478474880ed18fa6183185392b5c617a69 | 8cd626538767888c92a94d2db5ef6b6713dbeef6 | /cpp_d13_2018/ex05/Picture.cpp | 585a1f7552a3fac9d92e6f0a4f261f44b28360e7 | [] | no_license | simonprovost/cppPool | e3be0746e1a3e67d739a8effa67ce9a676af6213 | 8d604708d2dfe0778b95c8a510f6efdcc54b6c61 | refs/heads/master | 2020-05-19T13:03:00.318979 | 2019-05-14T09:42:12 | 2019-05-14T09:42:12 | 185,029,336 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | /*
** EPITECH PROJECT, 2018
** //name_project
** File description:
** //todo
*/
#include <fstream>
#include <sstream>
#include <cstring>
#include "Picture.hpp"
bool Picture::getPictureFromFile(const std::string &file)
{
std::ifstream PicFile(file.data());
if (PicFile.is_open()) {
std::stringstream bu... | [
"simon1.provost@epitech.eu"
] | simon1.provost@epitech.eu |
f5d6ff01751adc38596c32372922a7f2d4ddf3fe | 27698cb6fc1a958c772f3439166b8f109ac27e4d | /models/ideal_am.cpp | 67cb74f77c84c7bb923aa5e1719a5bd1b70200b3 | [] | no_license | gxhen/WirelessModelCPP | 321177b3dfa736ae1289a48c12e3c04fbe6749f6 | 67983fdebfe24710db023711d0fff58b49a4dc7d | refs/heads/master | 2023-05-29T04:57:23.448902 | 2015-09-19T18:28:03 | 2015-09-19T18:28:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,094 | cpp | //
// File = ideal_am.cpp
//
#include <stdlib.h>
#include <fstream>
#include "parmfile.h"
#include "ideal_am.h"
#include "model_graph.h"
//#include "uni_rand.h"
extern ParmFile *ParmInput;
//======================================================
IdealAmplitudeModulator::IdealAmplitudeModulator( char* ... | [
"410090357@qq.com"
] | 410090357@qq.com |
7460aa3ffe22f81d4469c6be9668f2bd6165afbe | 90f518ee59a241d39752ba0c7ab2ed4f7325de31 | /src/NetWidgets/Widgets/nSldClassifier.cpp | f6100d8a15a716890788984c57dcdc51cb3a4cd3 | [
"MIT"
] | permissive | Vladimir-Lin/QtNetWidgets | 86999fcae79914f319cbd8cd671215ed0f09012e | e09339c47d40b65875f15bd0839e0bdf89951601 | refs/heads/main | 2023-05-23T14:32:03.824075 | 2021-06-16T17:12:13 | 2021-06-16T17:12:13 | 377,571,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,087 | cpp | #include <netwidgets.h>
N::SldClassifier:: SldClassifier (QObject * parent,Plan * p)
: QThread ( parent )
, NetworkManager ( p)
, plan ( p)
, Go (NULL ... | [
"lin.vladimir@gmail.com"
] | lin.vladimir@gmail.com |
af637682100426d51140e248394fa4b975862726 | 66daa8fdb9aecce0dc4df5b0e1ea10fb983705a8 | /WatSat_arduino_code/sensor_shield_code/mux2/mux2.ino | 385cfe3cf92866392deb8f229d1e7b6ad6d668c1 | [
"MIT"
] | permissive | cjski/Arduino-ish | 7e964e77b866d3e777c6b1ff06de491765e32978 | b9c6612a2ee971f05d913fbcd5d136d4f3fdec65 | refs/heads/master | 2021-01-21T05:20:58.088739 | 2016-12-01T00:27:58 | 2016-12-01T00:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | ino | // 74HC4067 demultiplexer demonstration (1 to 16)
// control pins output table in array form
// see truth table on page 2 of TI 74HC4067 data sheet
// connect 74HC4067 S0~S3 to Arduino D7~D4 respectively
// 5V to 74HC4067 pin 1 to power the LEDs :)
byte controlPins[] = {B00000000,
B10000000,
... | [
"herman.stubeda@outlook.com"
] | herman.stubeda@outlook.com |
a3a45905576b7b28985e8abe2e5f6ca9481ea67a | 81b1e98f8a4b964e4db70d17ca61f2d9fbff2606 | /GameEngine/cGLColourHelper.cpp | f930dd2ae046ae14169bb1876148aa7ac51d9e8e | [] | no_license | niral3737/GameJam | 07f47349341b53dc5c8bc23253c92afd61eb3b97 | f3a9f7fa161770976f21d724a1a7aa683cfc1122 | refs/heads/master | 2020-05-16T06:23:59.768707 | 2019-04-24T00:22:18 | 2019-04-24T00:22:18 | 182,845,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,075 | cpp | #include "cGLColourHelper.h"
#include <algorithm>
cGLColourHelper::cColour::cColour( std::string sName, cGLColourHelper::enumColours colourEnum, glm::vec3 initRGB )
{
this->enumName = colourEnum;
this->name = sName;
this->rgb = initRGB;
return;
}
cGLColourHelper::cColour::cColour( std::string sName, cGLColourHe... | [
"niral.eagle100@gmail.com"
] | niral.eagle100@gmail.com |
c929d3ea98a71c12d07ae37cd8353cf42bbde8b5 | 03d3231478373089a3de04db162f61b79a388fd3 | /l2detect/ConfigIni.h | ed6c015d21824129fa479d4b9209630775070b85 | [] | no_license | minlexx/l2-unlegits | f4b0e9d70afe2a0a26f81daa16123eb2fe31cc13 | fc189ca35edf14439a5eeac81359b30112496b80 | refs/heads/master | 2021-01-17T05:35:09.738039 | 2015-06-28T09:16:13 | 2015-06-28T09:16:13 | 38,192,499 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | h | #ifndef CONFIGINI_H_
#define CONFIGINI_H_
class CConfig
{
public:
CConfig();
virtual ~CConfig();
public:
bool ReadConfig( const char *szConfigFileName );
bool ReadConfig( const wchar_t *szConfigFilename );
bool SaveConfig();
void SetDefault();
protected:
void _initNull();
public:
char szC... | [
"alexey.min@gmail.com"
] | alexey.min@gmail.com |
2da1706a3ff86cb174a36160d72ba4a9c27a937c | fd944c61dc1a10b7b2cacaccc32d94af0b8c7a0a | /ofxUI/Old/simpleButton.h | 4cfe0be57e29b768cdcdee5220b7d3d4a6d1c987 | [] | no_license | vtron/ofxVtron | 6878af2090c4d4053c2b466e0b4988e409af253b | 23d1c5641b8b7ea8b43b99ed07dfd77c201a8e6a | refs/heads/master | 2016-09-06T16:06:27.322694 | 2011-03-02T02:40:17 | 2011-03-02T02:40:17 | 1,428,337 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | h | /*
* test.h
* openFrameworks
*
* Created by StephenVarga on 10/6/09.
* Copyright 2009. All rights reserved.
*
*/
#ifndef _simpleButton
#define _simpleButton
#include "uiObserver.h"
#include "ofMain.h"
class uiObserver;
class simpleButton {
public:
simpleButton();
virtual ~simpleButton();
uiObserv... | [
"steve@vargatron.com"
] | steve@vargatron.com |
81b9b48ef557ff8d7424698e7aed8620600efc37 | 16a753af9647c88408e7854dd04cef1a6183e2c4 | /CC3k/src/things/character/pc/decorator/wdDecorator.cc | 8f8c59b0cadb2a3fee9063b181a84b34f913acbf | [] | no_license | pfryerda/project-IMDD | a8c88f15ed43c55b34a1439b777686a347adc757 | e2e56ed78043f148d799fd48bba1e318b158e932 | refs/heads/master | 2016-09-06T18:18:54.252083 | 2013-12-16T17:04:12 | 2013-12-16T17:04:12 | 14,460,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cc | #include "wdDecorator.h"
using namespace std;
wdDecorator::wdDecorator(PC* pc):Decorator(pc) {}
unsigned int wdDecorator::getDef() const {
if ((pc->getDef() - 5) < 0) return 0;
else return (pc->getDef() - 5);
}
| [
"Luke.Michael.Brown@gmail.com"
] | Luke.Michael.Brown@gmail.com |
0b3ab25185408b8541ce311244a78afe64ff5a00 | e3ef6ff25d8322cf479210846ebc677702e8edab | /necrodancer/weapon_bow_basic.h | cfab545dcbf9e9fccc2f560339fed6af748a0163 | [] | no_license | dongnamyoooooooooon/yoOoOoOon | 885dbfe0c982ddc3c79eca8b129a2b11bbfd53c5 | 8a1e84a053bcf752532fb102d54fe5d810ce255b | refs/heads/master | 2020-05-01T14:05:27.437184 | 2019-04-09T08:44:05 | 2019-04-09T08:44:05 | 177,509,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | h | #pragma once
#include "item.h"
class weapon_bow_basic : public item
{
private:
bool _isLong;
public:
weapon_bow_basic();
~weapon_bow_basic();
HRESULT init(string imgName, int idxX, int idxY, ITEM_TYPE type);
void release();
void update();
void render();
void drawHint();
bool useItem(int idxX, int idxY, int... | [
"46731689+dongnamyoooooooooon@users.noreply.github.com"
] | 46731689+dongnamyoooooooooon@users.noreply.github.com |
93d47b0ab338a83bede886ce8f16dc0362f3a8b0 | 4a64577b9c517d876047ea7d16a8fd75c1c30295 | /JadenCase 문자열 만들기.cpp | 050bf8e365207cd7c3a37f4a9ef8ee19fc757474 | [] | no_license | Hyeon97/Problem_solve | 1f2ddef70281b511d8cfbf02a05a2b04346bf790 | 5b035852b79136b7720bd9d86ac65a6e249580bc | refs/heads/master | 2023-06-25T10:57:56.843495 | 2021-07-29T01:03:59 | 2021-07-29T01:03:59 | 289,007,224 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 702 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
string solution(string s) {
string answer = "";
for (int i = 0; i < s.length(); i++) {
if (i == 0) {//문장 맨 첫 글자
if ('a' <= s[i] && s[i] <= 'z') {
answer += (s[i] - 32);
}
else answer += s[... | [
"noreply@github.com"
] | Hyeon97.noreply@github.com |
f982bc8553cb3a0e221830c9b0527e93bff6b77c | 784f9eac2b9c8f3e604487a5b8127be1bd55f1ce | /evenodd.cpp | c262267fbf3a366ba1b8bcdb846ab8c08ba6c172 | [] | no_license | NikitaVerma26/Programming-Of-CPP | 36013df885f506d024ad4dedfee5ae843801c196 | 727bfc21af246816cd1ab67ab45dcaabe4bb6292 | refs/heads/main | 2023-08-30T15:21:31.871095 | 2021-11-10T05:02:26 | 2021-11-10T05:02:26 | 426,490,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | cpp | #include<iostream>
using namespace std;
int main()
{
int num;
cout<<"Please enter a number to check whether it is even or odd : "<<endl;
cin>>num;
if(num%2==0)
cout<<"number is even";
else
cout<<"number is odd";
return 0;
}
| [
"noreply@github.com"
] | NikitaVerma26.noreply@github.com |
27bf2721eaa69963019d393585c09f24d4391a6d | a36d39f47661e70148ad5b068baddd26f2d6c68a | /UVMProject/methodCallStack.cpp | cbefea99ee7e39f228f80de87898172ede31ceb7 | [] | no_license | mrthetkhine/UVMForMac | d5203f0de3baf2e7acc9ed431d2e01d3f99c2fc1 | 866baa644f9c1ae111de311b348abb25dd184f51 | refs/heads/master | 2020-05-30T23:22:20.078924 | 2019-06-03T13:57:19 | 2019-06-03T13:57:19 | 190,015,221 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | cpp | #ifndef uvm_h
#include "uvm.h"
#endif
#ifndef methodCallStack_h
#include "methodCallStack.h"
#endif
#include <iostream>
using namespace std;
MethodCallStack* MethodCallStack::methodCallStack = NULL;
MethodCallStack::MethodCallStack()
{
for(int i=0; i< maxNoOfFrame;i++)
{
frames[i] = NULL;
}
... | [
"mrthetkhine@gmail.com"
] | mrthetkhine@gmail.com |
2d6f9a47d6b8f3560ac1d702577d3920ce83d93c | 711d7074da3939f11b7f56e359ed37ec42795133 | /test/VSidoService/test_gpio.cpp | 38e076973e6c39b4036c70c646c10cb25d051015 | [
"BSD-3-Clause"
] | permissive | Asratec/VSidoConnServer | 6ff9ad346721d6fd9e22fb3b9fe9947bea5241c6 | a465b87e1843b8945b14440c9bd407c562bb3439 | refs/heads/master | 2020-04-25T18:12:34.037523 | 2016-08-12T03:00:57 | 2016-08-12T03:00:57 | 31,400,816 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,959 | cpp | /*
Copyright (c) 2015, Asratec Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | [
"yma@asratec.co.jp"
] | yma@asratec.co.jp |
90ce9e138bf5805d32267874f2b0a1004a23b17c | 48eb7edd9acb951db2b7b088977cf56ebac5987c | /DIC_Labor_1.2/src/main.cpp | 3b9461df427a5d9bea48908c6bdef100bdf397be | [] | no_license | Weesy1712/platformIoProjects | 3cb6f504fbe2e60ee65bebc1bc1b2e045a352622 | 1f43d0ba272dc0dc2a6548ea8ff145f6bd764c27 | refs/heads/main | 2023-02-02T19:55:11.933045 | 2020-12-17T15:04:52 | 2020-12-17T15:04:52 | 322,327,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include <Arduino.h>
int ledr = 3;
void setup() {
Serial.begin(9600);
pinMode(ledr, OUTPUT);
Serial.println("Zum Steuern müssen Sie in diesem Format eingeben!" );
Serial.println("Zum Einschalten: ");
Serial.println("switch.on");
Serial.println("switch.off");
}
void loop() {
int fadingState;
if(Seria... | [
"karim.tayari@htl-klu.at"
] | karim.tayari@htl-klu.at |
9e83226a7107d5e67e9129a522871df559e438b1 | ff4055860f0adf927a9401e4019b771d0dfc2d02 | /animaMCMEstimation/animaMCMEstimationPlugin.cpp | 32c2d5bde3d5896e3810a34ecd53daf74883956e | [] | no_license | medInria/medInria-visages | 2b02695f673542a460791ed99f9f93200e3c1bad | a80e69d846c59eb667ad3def8fe42e34104b3503 | refs/heads/master | 2023-01-18T19:13:38.521506 | 2020-11-27T10:01:17 | 2020-11-27T10:01:17 | 9,451,653 | 0 | 2 | null | 2020-11-27T10:01:19 | 2013-04-15T15:20:44 | C++ | UTF-8 | C++ | false | false | 833 | cpp | #include <animaMCMEstimationPlugin.h>
#include <medCore.h>
#include <medWidgets.h>
#include <animaMCMEstimationProcess.h>
#include <animaMCMEstimationProcessPresenter.h>
void animaMCMEstimationPlugin::initialize(void)
{
medCore::diffusionModelEstimation::pluginFactory().record(animaMCMEstimationProcess::staticMet... | [
"olivier.commowick@inria.fr"
] | olivier.commowick@inria.fr |
895c81d739b8ff1d1a2f9c7c81697fdd002cabc9 | fc9509b72acc753eaae129a1fcb27cd9f8ee56b0 | /zhengtu/libscenesserver/Trade.cpp | fd6c3b502901013c0e9abf5df6fdcc8d6f873e79 | [] | no_license | edolphin-ydf/hydzhengtu | 25df5567226c5b7533e24631ae3d641ee0182aa9 | 724601751c00702438ffb93c1411226ae21f46a0 | refs/heads/master | 2020-12-31T03:25:48.625000 | 2012-10-24T10:58:00 | 2012-10-24T10:58:00 | 49,243,199 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 69,523 | cpp | #include <zebra/ScenesServer.h>
PrivateStore::PrivateStore() : _step(NONE)
{
}
PrivateStore::~PrivateStore()
{
clear();
_step = NONE;
}
void PrivateStore::step(STEP step_,SceneUser *pUser)
{
_step = step_;
if (_step == BEGIN) {
pUser->setUState(Cmd::USTATE_SITDOWN);
pUser->setUSta... | [
"hyd998877@gmail.com"
] | hyd998877@gmail.com |
dc3fc45a2a80b41cb7573ae0d49f23370edd92e8 | 5740ea2c2d9d5fb5626ff5ad651f3789048ae86b | /PlasmaLibraries/Common/Time.cpp | a9e88440be533e8d68d0a384330782bdbb9ad462 | [
"MIT"
] | permissive | donovan680/Plasma | 4945b92b7c6e642a557f12e05c7d53819186de55 | 51d40ef0669b7a3015f95e3c84c6d639d5469b62 | refs/heads/master | 2022-04-15T02:42:26.469268 | 2020-02-26T22:32:12 | 2020-02-26T22:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | ///////////////////////////////////////////////////////////////////////////////
///
/// \file Time.cpp
///
/// Authors: Joshua Davis
/// Copyright 2010-2015, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#include "Precompiled.hpp"
namespace Plasma
... | [
"dragonCASTjosh@gmail.com"
] | dragonCASTjosh@gmail.com |
4c5d4d28060f48082ed6929861621d4ff6ec7fc6 | a7e1ea450087be3c6f01daa7d4215239310f6320 | /string_class/String.cpp | 7b4de30fbc50b523e12ed5e3a5e672328a18cfa7 | [] | no_license | lohani2280/c-plus-plus_stuffs | 3b0bfb6e4b7a639311eba4404605913059c4a302 | a18c8f883df23ff541af8d7d962399ecb19970ae | refs/heads/master | 2021-06-08T03:08:26.890932 | 2016-11-14T12:05:52 | 2016-11-14T12:05:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,737 | cpp | #include<iostream>
#include<cstring>
#include"String.h"
String::String()
{
len=0;
str=new char[1];
str[0]='\0';
}
String::String(const char* st)
{
len=std::strlen(st);
str=new char[len+1];
std::strcpy(str,st);
}
String::String(const String &st)
{
len=st.len;
str=new char[len+1];
s... | [
"lohani.ayush@gmail.com"
] | lohani.ayush@gmail.com |
d555cd6225e1e7085330379b47f7bb13d25ce7d3 | 5679731cee36c537615d285ed72810f4c6b17380 | /011_ContainerWithMostWater.cpp | 781e6f69bc2774638d57559f90d7b218c11ab98c | [] | no_license | manofmountain/LeetCode | 6b76105190a9b62df65a7b56b6def4120498b9fa | 718f688b3d316e8c10ef680d9c21ecd518d062f8 | refs/heads/master | 2021-01-12T03:41:48.318116 | 2017-07-18T12:35:58 | 2017-07-18T12:35:58 | 78,252,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | //29.38%
class Solution {
public:
int maxArea(vector<int>& height) {
int left(0), right(height.size() - 1), maxRes(-1);
while(left < right){
if(height[left] > height[right]){
int lowerBound(height[right]);
maxRes = max(maxRes, lowerBound * (right - left));
while(height[--right] <= ... | [
"noreply@github.com"
] | manofmountain.noreply@github.com |
ef77374d7b29a90bd26fa7bbc7f5026765643c34 | b193a4bf6ab67851256cca7f2f3259a5c57d7180 | /ZSUM.cpp | 2de45bedfc78f74bc3ed660d0cc3afc44691ac5a | [] | no_license | kaushik12048/Spoj_Solutions | ec133fb82bd6b1e9fe20a156183d111d42b21f07 | 20a893fd5ea9bd108ec367ddce71d3092ab63a4c | refs/heads/master | 2016-08-10T11:56:05.796740 | 2015-05-25T06:56:24 | 2015-05-25T06:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include<bits/stdc++.h>
using namespace std;
#define m 10000007
long long int mod(long long int x,long long int y){
long long int ans=1;
long long int t=x;
while(y>0)
{
if(y%2==1)
ans=(ans*t)%m;
y=y>>1;
t=(t*t)%m;
}
return ans;
}
int main()
{
while(1){
long long int n,k,ans;
sca... | [
"kaushik12048@iiitd.ac.in"
] | kaushik12048@iiitd.ac.in |
1ecf73072fefc3cb87c5daf1ef6e72abd829ca97 | 6fcf6e0ace3541a78e6aab26a98bf9c0a8fd879e | /src/bmplib.cpp | 330e68b4a7a73291e03d4e08424bc422a610b793 | [] | no_license | allusai/Chromakey | a3e5f6f858517a80cd9d66b1de965fe5fbca4d35 | dbb59122e8d9530bce8a3e4a31f0e358aa3cebf7 | refs/heads/master | 2021-08-20T05:31:16.447787 | 2017-11-28T08:23:19 | 2017-11-28T08:23:19 | 106,965,275 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,216 | cpp | #include <stdio.h>
#include <iostream>
#include <cstdlib>
#include "bmplib.h"
#include "unistd.h"
using namespace std;
using std::cout;
using std::cin;
using std::endl;
typedef unsigned char uint8;
typedef unsigned short int uint16;
typedef unsigned int uint32;
//#define BMP_BIG_ENDIAN
#define BYTE_SWAP(num) (((num>... | [
"noreply@github.com"
] | allusai.noreply@github.com |
3a5d2291822cb44be7b1167ff28a97806225df60 | 0a9efa427df98fc6ce599a929b8b0c137a3d2eb7 | /XML Parser/main.cpp | f1bcdb49660eae350959fff422f56dc8a5342ffa | [] | no_license | jdkizer9/cs540p1 | 1e820a2bffc5e7bf0edc76f2836be88818bdd000 | 16bf7f65da8fba11c9cc08a438d35d0cbc323a31 | refs/heads/master | 2016-09-01T18:28:39.963097 | 2013-12-24T16:52:16 | 2013-12-24T16:52:16 | 30,951,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | cpp | //
// main.cpp
// XML Parser
//
// Created by James Kizer on 2/18/13.
// Copyright (c) 2013 James Kizer. All rights reserved.
//
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <iostream>
#include "Parser.hpp"
#i... | [
"jk@Jamess-MacBook-Pro.local"
] | jk@Jamess-MacBook-Pro.local |
18658de618a466dd243c8f9b9f42e41971a7f707 | f379e7d99b72f44a71d76066fdf68406ae9187c0 | /GameClient/character.h | 7056376f1c34550475673dba4591aa933e21dcc7 | [] | no_license | Weaver-JS/Redes_UDP_Taller_6 | 09fc962da6204e7ba423b0b3b97fb86c67a05280 | 1660f33cf2a8a30d6f4cc27fe89648aa9aa41018 | refs/heads/master | 2021-01-19T09:10:47.282164 | 2017-04-09T20:11:05 | 2017-04-09T20:11:05 | 87,736,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | #include "SFML\System.hpp"
#include "SFML\Graphics.hpp"
#define RADIUS 60
class character
{
private:
sf::Vector2<int16_t> position;
sf::Texture circle_texture;
sf::CircleShape* circle_shape;
//character();
public:
character(int16_t x, int16_t y);
character(sf::Vector2<int16_t> pos);
~character();
sf::Vector2... | [
"josesweaver@gmail.com"
] | josesweaver@gmail.com |
e1017088228e88f1ab878575d80b67087d678230 | d5adbe2194ef53fa93c2d643398638b302e6c326 | /Procedural-Midi/MidiAsset/Source/ProceduralAudio/Public/ProceduralAudio.h | 17b00c30cf24740f811a5cea6fde2c3eafccc09d | [] | no_license | risooonho/Midi-Unreal | 4fe8f8f036120068624bd2d5f13103f4894d88de | b08b2d5ab1c2f5f01e9cb66f49d80335a716f6fe | refs/heads/main | 2022-11-15T07:20:14.593335 | 2020-06-30T02:28:15 | 2020-06-30T02:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | // Copyright -> Scott Bishel
#pragma once
#include "Modules/ModuleManager.h"
class FProceduralAudioModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
}; | [
"scott.bishel@yahoo.com"
] | scott.bishel@yahoo.com |
6132857258158331acc820f30497a3cf1a49e1f9 | 5c0a7c7ae18ce37c29f93f2272166fe759569643 | /C-pp/chapter12/12.7.cpp | 5a2a7131d2e4e413419858c3d6be73b28751f4a6 | [] | no_license | liushengxi13689209566/Programming-language-learning | 21a330c257f56f2f3f0ed3525d2faf76bdc0eb31 | fcc6b10a852a0dcc2dce41f0abaa438f92a34a80 | refs/heads/master | 2020-04-07T02:36:00.268533 | 2019-04-15T08:34:29 | 2019-04-15T08:34:29 | 157,982,315 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | /*************************************************************************
> File Name: 12.6.cpp
> Author:
> Mail:
> Created Time: 2018年02月17日 星期六 19时09分38秒
************************************************************************/
#include<iostream>
#include<vector>
#include<string>
#include<new>
using namespac... | [
"liushengxi13689209566@163.com"
] | liushengxi13689209566@163.com |
5535ef017b5009e4c3b9832878265c24668c4be2 | f95975d9454984803586de7f0600f3ecf9918f60 | /include/algorithms/pca/pca_batch.h | 42d322025b37407989cd7393bd58b654c960a42b | [
"Intel",
"Apache-2.0"
] | permissive | jjuribe/daal | f4e05656ca5f01e56debdbd2de51eeb2f506ca3d | 242d358db584dd4c9c65826b345fe63313ff8f2a | refs/heads/master | 2020-09-15T01:33:34.752543 | 2019-11-21T08:27:26 | 2019-11-21T08:27:26 | 223,316,648 | 0 | 0 | Apache-2.0 | 2019-11-22T03:33:41 | 2019-11-22T03:33:39 | null | UTF-8 | C++ | false | false | 6,600 | h | /* file: pca_batch.h */
/*******************************************************************************
* Copyright 2014-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 a... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
adbe0a572c903fa1fa934b5ed54bd2ba47c577e7 | 2624367eff0831094a2f5a76f41f69ee70a7940b | /Stuff/SmartcardWrap.h | 8eb05e0325b5da4e9e245d00011597a0f3807c42 | [
"MIT"
] | permissive | cabralfilho/Omnikey-SyncAPI-NodeJS-Wrapper | 1086b9a628ee037b23a712ecbd4eb7b94eb588c3 | 360c15eaa56bd3b28a417dc6ca2cac24aba3eb24 | refs/heads/master | 2021-04-19T07:08:06.690460 | 2019-05-10T18:55:28 | 2019-05-10T18:55:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | #include <napi.h>
#include "SmartcardClass.h"
class Smartcard : public Napi::ObjectWrap<Smartcard> {
public:
static Napi::Object Init(Napi::Env, Napi::Object exports);
Smartcard(const Napi::CallbackInfo& info);
SmartcardClass* GetInternalInstance();
private:
stati... | [
"meatdeli97@gmail.com"
] | meatdeli97@gmail.com |
576ff1b74182d3aa4db3122acf1197fe05607512 | 67a53e3ba09a6b8f83fc1d40b85b5941310702bd | /src/lib/collision_prevention/CollisionPreventionTest.cpp | 0e4940f16e9809f6e3dcac27bf7d11286981be80 | [
"BSD-3-Clause"
] | permissive | Diksha-agg/Firmware_val | f3bd60c7356b2f21b8c8ea4db98955f41d43e848 | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | refs/heads/main | 2023-07-13T11:12:47.831945 | 2021-08-26T02:06:15 | 2021-08-26T02:06:15 | 397,618,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:f6a2c2503ff0077fd1e33be104473da29d3bd41fe5a428edbbcac3dafd2e99eb
size 44642
| [
"diksha.dtu@gmail.com"
] | diksha.dtu@gmail.com |
b5d7813c37270cae361e3525bb606eccc31f41c1 | 0bcf6cf143f30781288d67d23ef3fa5efdf10b94 | /cs16/lab05/pointsApproxEqualTest.cpp | bb98c90f74bd9bf2bd50a4e5fcbe7e7f367abbe8 | [] | no_license | Gopu2001/ucsb_ccs_labs | e787f2f2a330a512563cd9d1f03b09693c045278 | c02ae4c698bd8e9e1662c8ad09c3ce4a504180d5 | refs/heads/master | 2023-01-29T18:43:20.583703 | 2020-12-14T21:40:22 | 2020-12-14T21:40:22 | 301,958,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include "shapes.h"
#include "shapeFuncs.h"
#include "tddFuncs.h"
int main() {
struct Point p1,p2;
p1.x = 6.0; p1.y = 3.0;
p2.x = 7.0; p2.y = 11.0;
// p1 should be equal to itself
assertTrue(pointsApproxEqual(p1,p1),"pointsApproxEqual(p1,p1)");
// p1 and p2 should not be equal: note the... | [
"41317321+Gopu2001@users.noreply.github.com"
] | 41317321+Gopu2001@users.noreply.github.com |
a4c738092670555d782242981acc39cf48ad0f2b | aec7485b03ce1883db548f26b71b4fda2555130d | /GLSLCookbook/GLSLProgram.cpp | edbe9e714d7643b2a551f19a12f6a21f858bd85a | [] | no_license | Sunnyoung/OpenGL-Shading-Cookbook | d5d7a6071a21063ca3b068ff26926869fda34fd5 | 0a25c436e2b9948871b3a814eb966eb5121b6c98 | refs/heads/master | 2016-09-11T02:25:49.814410 | 2014-03-02T13:22:33 | 2014-03-02T13:22:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,565 | cpp | #include "GLSLProgram.h"
#include <fstream>
#include <sstream>
using namespace glm;
using namespace std;
GLSLProgram::GLSLProgram(const std::string &vertexfile, const std::string &fragfile) : mIsDebug(true){
mProgram = createProgram(vertexfile, fragfile);
use();
}
GLSLProgram::~GLSLProgram(void){
}
void GLSLProg... | [
"wuqiyang429@gmail.com"
] | wuqiyang429@gmail.com |
d5405675581960556922973604733ba74aa65001 | a6bb89b2ff6c1fc8c45a4f105ef528416100a360 | /contrib/framewave_1.3.1_src/SampleConvert/SRC/process_illusion.cpp | b6d2fb5fa3bf3daca22a590570bade75edffde77 | [
"Apache-2.0"
] | permissive | dudochkin-victor/ngxe | 2c03717c45431b5a88a7ca4f3a70a2f23695cd63 | 34687494bcbb4a9ce8cf0a7327a7296bfa95e68a | refs/heads/master | 2016-09-06T02:28:20.233312 | 2013-01-05T19:59:28 | 2013-01-05T19:59:28 | 7,311,793 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,670 | cpp | /*
Copyright (c) 2006-2009 Advanced Micro Devices, Inc. All Rights Reserved.
This software is subject to the Apache v2.0 License.
*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<math.h>
#include"process_API.h"
/*!
*********************************************... | [
"dudochkin.victor@gmail.com"
] | dudochkin.victor@gmail.com |
7a70b79bc7ba204ba14e5ca81af4cf3f076c9600 | f44b145f9b39b2da7ac5b8191fb2999ffad8154d | /contSampler.cpp | 660a907667823d2ac272793123d349898e15080d | [] | no_license | JSchallert/E80Spring2018 | fd394a41cbad762102de6797c5e55c24636ba60f | 8927f3c7c4b6e92b4bc61ff1dab13f835a2c299c | refs/heads/master | 2021-04-26T22:12:06.666581 | 2018-04-25T02:26:56 | 2018-04-25T02:26:56 | 124,038,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,488 | cpp |
#include "contSampler.h"
#include <math.h>
#include <stdio.h>
#include "Printer.h"
extern Printer printer;
String message;
contSampler::contSampler(void){
//Nothing to do?
}
void contSampler::updateSamples(void)
{
for (int i=0; i<NUM_SAMPS; i++){
samps[i] = analogRead(ENCODER_PIN);
}
}... | [
"noreply@github.com"
] | JSchallert.noreply@github.com |
18876fe03a64def267d7b7738551819f55ffe337 | b9873d80f8adcf5435fdaaf2cd3f99cb781974ff | /include/ops/declarable/LegacyTransformOp.h | 218d7ad2fa0b4aa56e29bfb52f95af46184bbc1c | [
"Apache-2.0"
] | permissive | gluonhq/libnd4j | 73b7a0484f31a5ad79cc721274ac48368669f5b7 | 6be4678caf6f820f5b0fd1a5392c0941936f2e43 | refs/heads/master | 2021-05-05T21:51:10.024782 | 2018-01-04T11:45:38 | 2018-01-04T11:45:38 | 116,035,267 | 0 | 1 | null | 2018-01-02T16:33:38 | 2018-01-02T16:33:38 | null | UTF-8 | C++ | false | false | 763 | h | //
// Created by raver119 on 16.10.2017.
//
#ifndef LIBND4J_LEGACYTRANSFORMOP_H
#define LIBND4J_LEGACYTRANSFORMOP_H
#include <ops/declarable/LegacyOp.h>
namespace nd4j {
namespace ops {
/**
* This class provides wrapper for Transform operations (i.e. Pow or OneMinus)
*/
templat... | [
"noreply@github.com"
] | gluonhq.noreply@github.com |
caa938368b9860650ac50bd06ea2536aa1e1e5cf | 8134cacd6e7c604a56d854727a68fc95797358de | /src/main/sdl2/rendersurface.hpp | 090300a4edde9aaa18d1622b4255dea3e2e691e2 | [] | no_license | lopespm/cannonball | 03d3d0febc09f9c0e3ea64679d45af8e6bea4f98 | 80d95e88daa82df7a77b615ae3fd1cf7584877f2 | refs/heads/master | 2021-01-21T01:20:23.606677 | 2016-10-03T22:10:18 | 2016-10-03T22:10:18 | 51,142,793 | 11 | 12 | null | 2016-02-05T11:26:58 | 2016-02-05T11:26:58 | null | UTF-8 | C++ | false | false | 1,194 | hpp | /***************************************************************************
SDL2 Hardware Surface Video Rendering.
Known Bugs:
- Software scanlines not implemented because we do hardware post-scaling
using the SDL_RenderCopy() rects from the original bitmap, so would not
look good at all... | [
"redwindwanderer@gmail.com"
] | redwindwanderer@gmail.com |
3f4a54b90b8649a932d081461242e2748111de42 | 902c38753580796b38443a48c807db531eb18d60 | /My practice in c++/adapter design pattern.cpp | 0d372209f65725da5051f6bab8cd7eaf732225d9 | [] | no_license | ibadeeCodes/All-About-C-plus | b6b189f4f2fb09b6ca85e2789de8da4a93997d39 | fe286f4cf93ea8a6c091baba8fba7d226e312c25 | refs/heads/master | 2020-04-14T13:29:40.232570 | 2019-01-02T18:32:27 | 2019-01-02T18:32:27 | 163,870,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include <iostream>
using namespace std;
class Circle
{
public:
virtual void draw() = 0;
};
class StandardCircle
{
public:
StandardCircle(double radius)
{
radius_ = radius;
cout << "StandardCircle: create. radius = "<< radius_ << endl;
}
void oldDraw()
{
cout << "Stand... | [
"ibadeeshaikh@gmail.com"
] | ibadeeshaikh@gmail.com |
c45beac7cf232d27d0c5124673b2c58c0d4a8d00 | ecb3b5552115c0228239a1bf7edb7a127de57482 | /mytimer.cpp | 575fbf0d8379ac51383b550c5885eb83c49f3478 | [] | no_license | yyyly/l110 | e8edfbab9600e1e154c8cec6d8220ed5ecbf5978 | 3361876192994b5a3ad906c5c0753ddbf19a0362 | refs/heads/master | 2020-09-28T01:58:41.569957 | 2020-08-22T02:16:54 | 2020-08-22T02:16:54 | 226,661,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include"mytimer.h"
myTimer::myTimer(QObject *parent)
:QTimer(parent)
{
}
myTimer::myTimer(LONG h, QObject *parent)
:QTimer(parent),handle(h)
{
connect(this,SIGNAL(timeout()),this,SLOT(finish()));
}
void myTimer::finish()
{
emit timeOut(handle);
}
| [
"1305892681@qq.com"
] | 1305892681@qq.com |
1ae9d895ac0f2b8db1d7f6e4159935369237400b | f8b92dc59e8e7216a31cc7b74714d079d5b4a6a5 | /Rendering/OpenGL2/vtkTextureObject.cxx | 619017bada40ef78c96cc24e6f0855a06bbdb0fc | [
"BSD-3-Clause"
] | permissive | vejmarie/vtk-7 | 6dfef52b090bb4cd34ac80b1b6ff88b2b3ebdb54 | 32025222cd631e758292e28ab72b3655be554dac | refs/heads/master | 2016-09-14T13:39:55.362280 | 2016-05-13T06:42:26 | 2016-05-13T06:42:26 | 58,708,076 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 58,674 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkTextureObject.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software... | [
"vejmarie@ruggedpod.qyshare.com"
] | vejmarie@ruggedpod.qyshare.com |
5677ab9a459a08f8541cbe2719a4cc51c212215c | 04edd07877771af42f66847baaefda410c265767 | /src/Object/Light.h | 2c05e6ef7a2aaabbe11250a187968bc5c7c4e506 | [] | no_license | aljox/Ray-Tracer | f59fae7b7bc4a53a7d7eb1ed0813773265e09ec7 | 6bfa61d9c9d365e764d520f37ddc3d508b6928cd | refs/heads/master | 2021-04-01T07:01:12.803758 | 2020-03-18T08:17:08 | 2020-03-18T08:17:08 | 248,166,339 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,752 | h | #pragma once
#include "./Object.h"
#include <string>
class Light : public Object
{
protected:
std::string m_type;
Vec3f m_albedo;
float m_intensity;
float m_ambientConst;
float m_diffuseConst;
float m_speculatConst;
public:
Light() {};
~Light() {};
Light(Vec3f albedo)
{
... | [
"noreply@github.com"
] | aljox.noreply@github.com |
db16bc2a02b455eb7d7156bb1a70fda0525593eb | eda7f1e5c79682bf55cfa09582a82ce071ee6cee | /aspects/thermal/network/test/UtThermFileParser.cpp | 11a06931118b688a6e47857b70de4263dea2eee2 | [
"LicenseRef-scancode-us-govt-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nasa/gunns | 923f4f7218e2ecd0a18213fe5494c2d79a566bb3 | d5455e3eaa8b50599bdb16e4867a880705298f62 | refs/heads/master | 2023-08-30T06:39:08.984844 | 2023-07-27T12:18:42 | 2023-07-27T12:18:42 | 235,422,976 | 34 | 11 | NOASSERTION | 2023-08-30T15:11:41 | 2020-01-21T19:21:16 | C++ | UTF-8 | C++ | false | false | 28,542 | cpp | /************************** TRICK HEADER ***********************************************************
@copyright Copyright 2019 United States Government as represented by the Administrator of the
National Aeronautics and Space Administration. All Rights Reserved.
LIBRARY DEPENDENCY:
((aspects/thermal/n... | [
"jason.l.harvey@nasa.gov"
] | jason.l.harvey@nasa.gov |
fdec1fe99af01d7e9050729f9deb1c1d8125932e | b71f6e948c3a74a6cb9713e61cf4035fb3f6cc79 | /CleanSFML/mission.h | 57c4496870f5114924e6ba3dd9f73d4465a86054 | [] | no_license | LowColor/myfight | 14a10dd30b1bbd38c7aa2e9cfcd4758ea077d1d2 | 9337fb09d8a40b97a377747e59264613a7839c81 | refs/heads/master | 2020-03-19T22:09:51.467400 | 2018-06-11T17:43:51 | 2018-06-11T17:43:51 | 136,961,112 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,750 | h |
///////////////////////////////////НОМЕР МИССИИ//////////////////////////////////
int getCurrentMission(int x)//ф-ция номера миссия, которая меняет номер миссии, в зависимости от координаты игрока Х (сюда будем передавать эту координату)
{
int mission = 0;
if ((x>0) && (x<400)) { mission = 0; } //знакомим игрока с и... | [
"desir7777@gmail.com"
] | desir7777@gmail.com |
d8e06d05484dba9cd164fa3c6b5f69d43bb0d83e | be3167504c0e32d7708e7d13725c2dbc9232f2cb | /mameppk/src/emu/bus/a2bus/a2estd80col.h | 0d85af21a8d022ab032bb36e75fc4a2f1a04ea8e | [] | no_license | sysfce2/MAME-Plus-Plus-Kaillera | 83b52085dda65045d9f5e8a0b6f3977d75179e78 | 9692743849af5a808e217470abc46e813c9068a5 | refs/heads/master | 2023-08-10T06:12:47.451039 | 2016-08-01T09:44:21 | 2016-08-01T09:44:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | h | // license:BSD-3-Clause
// copyright-holders:R. Belmont
/*********************************************************************
a2estd80col.c
Apple IIe Standard 80 Column Card
*********************************************************************/
#ifndef __A2EAUX_STD80COL__
#define __A2EAUX_STD80C... | [
"mameppk@199a702f-54f1-4ac0-8451-560dfe28270b"
] | mameppk@199a702f-54f1-4ac0-8451-560dfe28270b |
85bc6e3e72cad629b2cdcc65e17293a9f5072cf3 | 320660851dc9a8c7a230db6d5388ba0d737572f6 | /win32/include/pthread.h | 0172cb1a3083722319c6b64845fabe30e96629ed | [] | no_license | Vadiza/sage-3.5b | 0e9fb033324c4efd86aa0801c8ab2bd8d3a62ff9 | 5e2af1d1a9838933fe0e60673d74a54408fdb61e | refs/heads/master | 2020-04-09T15:16:17.571400 | 2014-05-09T15:27:17 | 2014-05-09T15:27:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,226 | h | /* This is an implementation of the threads API of POSIX 1003.1-2001.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1999,2005 Pthreads-win32 contributors
*
* ... | [
"matt@doeringtech.com"
] | matt@doeringtech.com |
2db79d5ef74797f0c90c48b039a7aaa4c365dda8 | cb6b0770bd3e01f888fc36bb658d8e5a40279408 | /bazel/google_cloud_cpp/generated/bigtable_mock.grpc.pb.h | 12dabc8ca6a3e74d43e7054d52552d4282eb79ee | [] | no_license | cschuet/tfs | 8f572dd49935ca47a05b7c78133198f24ee00b99 | 28bb8b273e6a5d0e07e475b5ff5ba338122b6aca | refs/heads/master | 2020-03-11T11:01:22.236629 | 2018-04-17T20:30:09 | 2018-04-17T20:30:09 | 129,958,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,797 | h | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: google/bigtable/v2/bigtable.proto
#include "google/bigtable/v2/bigtable.pb.h"
#include "google/bigtable/v2/bigtable.grpc.pb.h"
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/sync_stream.h>
... | [
"cschuet@google.com"
] | cschuet@google.com |
1b38ea63dfdec4dfc200ea79bebe28e655fbb299 | d4edd187959684ffb592510847833f2365f254c8 | /includes/Shapes.h | 1402d76c7c6c1eaa97d4405666712998f8aa9e91 | [] | no_license | costashatz/SimpleRaytracer | 8463d6eb193a408a5fa7892ab34f3afdd50c7f6e | b8f882d635017779989c5fd49e19971f98c3d11e | refs/heads/master | 2021-01-13T02:11:47.620915 | 2014-02-05T09:10:11 | 2014-02-05T09:10:11 | 16,525,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,249 | h | #pragma once
#include "LocalGeo.h"
#include "Ray.h"
//Shape class
class Shape
{
public:
virtual bool intersect(Ray& ray, float* thit, LocalGeo* local) { return false; }
virtual bool intersectP(Ray& ray)
{
float temp;
LocalGeo l;
return intersect(ray,&temp,&l);
}
};
//Triangle
class T... | [
"costas@costas-Xubuntu.(none)"
] | costas@costas-Xubuntu.(none) |
31fba71ecd1ee951cb358026f5fa3049042714cc | bee6ac60b1de3e20e3c88631a0139447ed3bb446 | /Hello-World.cpp | 2dda5546959bd42680f614d579ae04e458c4e2ae | [] | no_license | zs-co/upgraded-memory | 06bbe5b6a40b82877bf3fa9940e47b6548cd5ba8 | a6610be6b1f35c1a0baa6b88372d9f0b5472fead | refs/heads/master | 2022-10-25T02:45:51.262022 | 2020-06-10T06:50:56 | 2020-06-10T06:50:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include <iostream>
using namespace std;
int main(){
cout << "Hello-World\n";
return 0;
}
| [
"noreply@github.com"
] | zs-co.noreply@github.com |
7a09b88a2e2987bbdf05305b6da0b6dd4151b388 | 29948885a97f946dd46d25dcce1ae08247affb8a | /Examen2/proxy.cpp | 25e70dd14a2a925f42b5ecbf2751c9f25517e412 | [] | no_license | osanseviero/Software_Engineering | 8c9d573fd8793601d8ee25f827f7295c940a9174 | 396244b0de12275115959ce11c008a1bb08a7db2 | refs/heads/master | 2020-04-12T05:42:19.118305 | 2016-12-08T02:54:55 | 2016-12-08T02:54:58 | 65,292,647 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | class Proxy
{
private:
int id;
News* news;
static int next;
public:
Proxy() {
id = next++;
news = NULL;
}
void publish(std::string pub) {
if(!news) {
news = new News(id);
}
news-... | [
"osanseviero@gmail.com"
] | osanseviero@gmail.com |
1c41c93368cf4e8549e571023bed070aab5d5727 | 04f7112bb9f33921cd39c027621c612b1c60f9cc | /Dali/dali-core/dali/internal/event/animation/linear-constrainer-impl.cpp | a1b586a34aa1b0c39a3b31b1b7e8dc8d93869b5d | [] | no_license | zg2nets/windows-backend | c5cf568a3f865405a0b47c1208c9720fe00f0d02 | 8af57e6a295a810b51654d70af2e3e10b5a771bb | refs/heads/release | 2020-09-10T01:54:58.611433 | 2020-02-21T04:29:24 | 2020-02-21T04:29:24 | 221,619,486 | 0 | 0 | null | 2020-02-21T04:29:25 | 2019-11-14T05:32:57 | C++ | UTF-8 | C++ | false | false | 4,674 | cpp | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | [
"noreply@github.com"
] | zg2nets.noreply@github.com |
3faf9d7ffa9e8a101c506b48c02ef669fe615bda | c7bcd0590f52975d3a832e9dfb00763e8702c7ec | /src/IOE/IOEExceptions/IOEExceptionsPCH.cpp | 33b3ed2a9c6c209ffd8b0dc78431a12a3791246f | [] | no_license | stevenhartin/IOE | 656075f502b1e4f39525ec93564ba05c158215fe | d070a2f583aa26632625fe5b8115460d82349ca9 | refs/heads/master | 2020-05-23T09:47:56.408122 | 2019-05-15T22:03:38 | 2019-05-15T22:03:38 | 186,713,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29 | cpp | #include "IOEExceptionsPCH.h" | [
"steven.hartin@googlemail.com"
] | steven.hartin@googlemail.com |
7d059e592d9abd6c393d2fdd4ffbe1f7db4f86e8 | fdb63867d49dcc1e9d83e55197ca8a05baf7484b | /PMBRender/shaders/TriangleFragment0.cpp | 0ea4cd58f24c806783dca1e0ff9ac2e4570ee791 | [
"MIT"
] | permissive | LRLVEC/MarchingCubes | 3ae52235cc248aea4704016ef4bff354492ea724 | 6bcfdf36a057e22aea7a906330d074eb961e2f50 | refs/heads/master | 2023-08-21T13:40:57.600602 | 2021-09-23T15:48:25 | 2021-09-23T15:48:25 | 283,292,748 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cpp | #version 450 core
in vec4 in_color;
out vec4 o_color;
void main()
{
o_color = in_color;
} | [
"mjdyx@outlook.com"
] | mjdyx@outlook.com |
d5e1d0f3219703add4574c51bc6f4a5708d618f6 | 8085f16eaf5133bebb45aeeabb9b172ae3db4176 | /hdoj/hdu2222/hdu2222/main.cpp | 4e6a6c94d5ba9791803ba6f783690dbbbe160883 | [] | no_license | EyciaZhou/acm | ff0dd40971424f338369eca8507e8c339497f946 | 50121929dc658be717b8fa6076ec28dea915ce97 | refs/heads/master | 2020-05-01T08:57:48.118961 | 2015-06-09T06:48:53 | 2015-06-09T06:48:53 | 35,026,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | cpp | //
// main.cpp
// poj3080
//
// Created by eycia on 14/12/5.
// Copyright (c) 2014年 eycia. All rights reserved.
//
#include <cstdio>
#include <cstring>
#include <queue>
#include <iostream>
using namespace std;
char s[1000005];
typedef struct node {
int n[26];
int f; //fall
int d; //date
int fa; /... | [
"zhou.eycia@gmail.com"
] | zhou.eycia@gmail.com |
5ac91959ff9ba14f2f069715b94ef51f866c6ca6 | 27ef6b50e8d2d388ab0f745e5c402117baedf983 | /03Decorator/DarkRoast.cpp | a54946dc9d1a2cd908eb4ab2ef333f0049f29b4a | [] | no_license | sanqima/HeadFirstDesignPatternsCPP | c7decb6d4af5165ba5ada99e22cd4fe095e4bff3 | 1d8e20d9745610d69fbce92a600125a7ba5e1386 | refs/heads/master | 2023-03-16T18:45:04.567965 | 2020-09-28T13:48:37 | 2020-09-28T13:48:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | #include "DarkRoast.h"
namespace decorator
{
double DarkRoast::cost()
{
return 0.99f;
}
DarkRoast::DarkRoast()
{
description = "Dark Roast Coffee";
}
}
| [
"knapecz.adam@gmail.com"
] | knapecz.adam@gmail.com |
dd2233b2887285734ea8172b079447d56de89279 | fa8bc6a9c08210def6028f124a746da50b16c162 | /Source/Accelerate/AIManager.h | 7f1af4727626aee985d79d5637c68e840933ae2b | [] | no_license | arorabharat144/Accelerate | 661fe183c355a605817fd294c0260d610ce6a440 | 3c2791d093412ea69fa85b69cbe42598b94023b2 | refs/heads/master | 2022-01-05T06:35:47.832941 | 2019-05-11T18:44:38 | 2019-05-11T18:44:38 | 186,170,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "AICheckpoint.h"
#include <vector>
#include "AIManager.generated.h"
constexpr int MAX_AI = 11;
UENUM()
enum class AIPlayerActions
{
Left UMETA(DisplayName ... | [
"arorabharat144@gmail.com"
] | arorabharat144@gmail.com |
d035dda6ffbd237ccfc4d367d22cf5a17e14541f | 2e87e774d607afbe4f16582b0ade36324835a186 | /src/main.cpp | 3da2e2ca8e101cd669c936c80992188afabf8bd2 | [] | no_license | mateopolancec/CppND-Route-Planning-Project | 896ba6278832bacd5906dce69ed37d83e436c70e | f2d527a5a0dc0aaf6461f2c46d8a0f523304a5d2 | refs/heads/master | 2022-10-09T07:25:31.016430 | 2020-05-31T21:53:01 | 2020-05-31T21:53:01 | 263,146,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,758 | cpp | #include <optional>
#include <fstream>
#include <iostream>
#include <vector>
#include <string>
#include <io2d.h>
#include "route_model.h"
#include "render.h"
#include "route_planner.h"
using namespace std::experimental;
static std::optional<std::vector<std::byte>> ReadFile(const std::string &path)
{
std::ifstr... | [
"noreply@github.com"
] | mateopolancec.noreply@github.com |
111555f53c33fdf0713762f962e723c85f73e200 | b7f1b4df5d350e0edf55521172091c81f02f639e | /device/gamepad/gamepad_pad_state_provider.h | 62a8ccacf4a56b98b01e9e7bce2ef1744901eacd | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 3,259 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_GAMEPAD_GAMEPAD_PAD_STATE_PROVIDER_H_
#define DEVICE_GAMEPAD_GAMEPAD_PAD_STATE_PROVIDER_H_
#include <stdint.h>
#include <limits>
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
16c624c4e95a5c9a7ef025958af29b3c79285fee | 5390eac0ac54d2c3c1c664ae525881fa988e2cf9 | /include/Pothos/serialization/impl/mpl/vector/vector50_c.hpp | 698d13da92b1addf3d0d5ed3f1313146128e23cf | [
"BSL-1.0"
] | permissive | pothosware/pothos-serialization | 2935b8ab1fe51299a6beba2a3e11611928186849 | c59130f916a3e5b833a32ba415063f9cb306a8dd | refs/heads/master | 2021-08-16T15:22:12.642058 | 2015-12-10T03:32:04 | 2015-12-10T03:32:04 | 19,961,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | hpp |
#ifndef POTHOS_MPL_VECTOR_VECTOR50_C_HPP_INCLUDED
#define POTHOS_MPL_VECTOR_VECTOR50_C_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://... | [
"josh@joshknows.com"
] | josh@joshknows.com |
d672d244bb65a3d379955d8f7bad5aee00262a84 | 5a8fafefd7712b3730b27c5907ca8f54b567e328 | /neb/inc/com/centreon/engine/logging/broker.hh | f90ee9e3eb2d7bdfe489848db50a01accaad16e1 | [
"Apache-2.0"
] | permissive | joe4568/centreon-broker | 672d831389c17f92f09948704437c4bc9026998d | daf454371520989573c810be1f6dfca40979a75d | refs/heads/master | 2020-04-13T05:11:03.126655 | 2018-12-24T14:53:34 | 2018-12-24T14:53:34 | 162,984,149 | 0 | 0 | Apache-2.0 | 2018-12-24T11:33:05 | 2018-12-24T11:33:04 | null | UTF-8 | C++ | false | false | 2,143 | hh | /*
** Copyright 2011-2013 Merethis
**
** This file is part of Centreon Engine.
**
** Centreon Engine is free software: you can redistribute it and/or
** modify it under the terms of the GNU General Public License version 2
** as published by the Free Software Foundation.
**
** Centreon Engine is distributed in the hope... | [
"mkermagoret@centreon.com"
] | mkermagoret@centreon.com |
275ebe4d2029b9075693c5dcdf75c7c949d309f5 | c5e1991cee008b77104916da81197ea07c3911d6 | /Problems/EEGSpatioTemporal/Data/DataForEEGSpatioTemporal.cpp | 3c7c7e4ec304fbe0c0f6914c2299195934fae953 | [] | no_license | torms3/hypernetwork | 1be59ae5d077094586a6389a73e85048bac37b29 | 0d30bbcb48373d219fc4a598a79abae2338b246c | refs/heads/master | 2020-08-07T06:36:20.224433 | 2015-03-13T02:40:42 | 2015-03-13T02:40:42 | 32,121,237 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | //
// Copyright 2011 by
// kslee@bi.snu.ac.kr
// hmlee@bi.snu.ac.kr
//
#include "DataForEEGSpatioTemporal.h"
#include <algorithm>
namespace HN
{
//
// Implementation for Data class
//
EEGData::EEGData(int signal_size, int time_size)
{
m_signal_size = signal_size;
m_time_size = time_size;... | [
"kisuklee@mit.edu"
] | kisuklee@mit.edu |
1b03d3111889304a9f2629cf71c39fc48334c88d | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/skia/gm/fontmgr.cpp | 9290825e1d9ad60fe48d5433af938bd0b37ab7c7 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 13,435 | cpp | /*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontMetrics.h"
#include "incl... | [
"42931768+uzair-jaleel@users.noreply.github.com"
] | 42931768+uzair-jaleel@users.noreply.github.com |
9273677cb3cdf6c409910c6fc784c896e48a9a38 | dd1385ee93b0135f53c705f9d89f7936390a8fd8 | /src/glresource/glresource.h | a69df981c54a22482b40926dc953a57ed3b2f99d | [] | no_license | catompiler/celestial-battle | fcceff6d1551398bda97a62930295986d1217281 | 1998c50867317d71326caec54ecbc47749f71445 | refs/heads/master | 2016-09-05T09:51:32.493447 | 2015-05-09T16:47:44 | 2015-05-09T16:47:44 | 35,336,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #ifndef _GLRESOURCE_H
#define _GLRESOURCE_H
#include "opengl/opengl.h"
OPENGL_NAMESPACE_BEGIN
class Resource
{
public:
Resource();
Resource(GLuint id_);
virtual ~Resource();
GLuint id();
operator GLuint();
protected:
GLuint _id;
};
OPENGL_NAMESPACE_END
#endif ... | [
"artem.lab@localhost"
] | artem.lab@localhost |
e8bc2b1daa02c06f828018656c5c6fa73dc51912 | 3b27aa7866471739819670d91142e99031e8db59 | /eater.cpp | 33618a601f6e62a4a7b810c6ed8060ad39f2e068 | [] | no_license | krejgo/game-eater | 36260a40449ccf1e890cd0d49924df93b35ad571 | 8a96b17056d579a25eedf76909f7992695c08560 | refs/heads/master | 2021-07-23T01:31:51.461628 | 2017-11-01T00:34:48 | 2017-11-01T00:34:48 | 109,066,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | #include <iostream>
#include <unistd.h>
#include <conio.h>
#include <windows.h>
#include <vector>
using namespace std;
const int border = GetPrivateProfileInt("Settings", "border", 78, "./settings.ini");
const int dropdown = GetPrivateProfileInt("Settings", "dropRange", 60, "./settings.ini");
int ph1L = Get... | [
"noreply@github.com"
] | krejgo.noreply@github.com |
f3499e735b65ef62103804675740a1e10e4a1995 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DinoCharacterStatusComponent_BP_Shapeshifter_Small_functions.cpp | 622a18ac32fa8eb5064273bee990bc3c764a5ffe | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoCharacterStatusComponent_BP_Shapeshifter_Small_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
1e820c8a4fc99de24769b8907d28453a22f1601d | 0f46bca9176f453ea28be8a7c91adfdeee4af3e5 | /src/gui/CameraGUI.cpp | 1f9e6fe51ff53bcbd5d70a4577df1de62e9e693b | [] | no_license | PeterZs/RIM | 3181baf1b668c719ae55dbc0448228d233083cd4 | 81639c2f06b969c668f6d187f6cccf5d97a71ba7 | refs/heads/master | 2022-12-01T04:35:23.344641 | 2020-08-06T07:29:16 | 2020-08-06T07:29:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365 | cpp | #include "common.h"
#include "gui/CameraGUI.h"
#include "managers/TextureManager.h"
#include <imgui.h>
#include <imgui_impl_glfw.h>
#include <imgui_impl_opengl3.h>
#include <glm/gtc/type_ptr.hpp>
CameraGUI::CameraGUI(CameraFPS* cam)
{
setCamera(cam);
visible = true;
displayname = "Camera options";
}
CameraGU... | [
"RotateMe@gmail.com"
] | RotateMe@gmail.com |
4ec7c7b6244f59d63d37e435501164d9184e9b21 | fd094d2a03926ec1b5901cc2b54544aa1126d324 | /AOIS6/AOIS6/main.cpp | 3a8726a6553aaf5fba34594f5ac6759e643e009d | [] | no_license | LastStranger0/AOIS | 154a2574d567853fefd963174d95dc3737658f98 | 7b6953e6a987d996557ecce122a59376561adb55 | refs/heads/master | 2020-08-02T07:14:22.712938 | 2019-12-24T14:51:49 | 2019-12-24T14:51:49 | 211,273,251 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,561 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <forward_list>
using namespace std;
struct hesh
{
string id;
int value;
int hesh_code;
bool collision;
bool unaval;
bool terminal;
bool delining;
hesh* next;
string data;
};
int alpha(char);
int get_value(string);
int get... | [
"noreply@github.com"
] | LastStranger0.noreply@github.com |
49cc94b37ba61f252668bd58e8ab83adf3fac01c | 0c1da14e754ea8f2c558262e7ae920dca6c0dd9c | /matrix_object/main.cpp | 7399b9f8da150221ab42cf93562eac2f30aff50b | [] | no_license | risentveber/Old-code | 02d10bd3eb041f4ebc300b97732dfa78461e0d74 | 11fae95894891903bf261db7cdf7d8b8e7489880 | refs/heads/master | 2021-01-10T05:14:42.868148 | 2019-11-23T12:16:50 | 2019-11-23T12:16:50 | 45,670,454 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | #include "matrix.h"
int main(){
matrix one;
matrix two;
one.input();
two.input();
one = one*3;
one.output();
}
| [
"risentveber@gmail.com"
] | risentveber@gmail.com |
fbbfaad6e91852e5b5490df04523b0f1282547e2 | 754cc9e0424740907af49075f7c1eb6c7cbdcf91 | /common/Table/Table_NpcOptionalSkill.h | 6a6b6eabfb5d2ec449f1f20d32e4426fc5407b66 | [] | no_license | zhaojinwei0124/Project-RC_Server | 2d0906bed6406ef02e83cb9260746ccd23c0996e | b9ccb3e0476d7c562a4affb25d247e87c8aed1be | refs/heads/master | 2021-01-21T15:38:14.408311 | 2017-01-26T03:16:29 | 2017-01-26T03:16:29 | 81,521,050 | 0 | 2 | null | 2017-02-10T03:12:07 | 2017-02-10T03:12:07 | null | UTF-8 | C++ | false | false | 1,401 | h | //This code create by CodeEngine,don't modify
#ifndef _NpcOptionalSkillTABLE_H
#define _NpcOptionalSkillTABLE_H
#include "DBCTable.h"
class Table_NpcOptionalSkill:public DBC_Recorder_Loader<Table_NpcOptionalSkill,99999,500>
{
public:
enum _ID
{
INVLAID_INDEX=-1,
ID_SKILLID,
ID_SELETARGETLOGIC=2,
ID_ACTIVATELO... | [
"bu213200@gmail.com"
] | bu213200@gmail.com |
68192a75cf30157f16d1880680a85b52c4f9a021 | 5f3ba1affc395e24a762fe488b72bf9ae219e145 | /ScoreManager.h | ef26d7f65f72953907163f2fa0ec0ffa8f5b9aa0 | [] | no_license | Kawazuini/PurPose | a9e01acc35b6a64e82809d5235dc0c9d58807721 | d019887fc19cb22136dc6c16b14ced2461fa7aa1 | refs/heads/master | 2020-06-22T03:24:03.679572 | 2017-08-21T10:27:48 | 2017-08-21T10:27:48 | 74,759,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | h | /**
* @file ScoreManager.h
* @brief ScoreManager
* @author Maeda Takumi
*/
#ifndef SCOREMANAGER_H
#define SCOREMANAGER_H
#include "GameState.h"
/**
* @brief \~english management of game score
* @brief \~japanese ゲームスコア管理
* @author \~ Maeda Takumi
*/
class ScoreManager final {
private:
/* ランキングファイル名 ... | [
"kawazuini@gmail.com"
] | kawazuini@gmail.com |
4f99c2ea1f2375f0d354ec7714cee924c54371b9 | e983a641073f855fc613e5dc799f83104bd11663 | /binarySortTree/二叉排序树.cpp | f0cbfae4b3beeccf26f16a4ef90e3c9c3749ff85 | [] | no_license | AlbertMP/BinarySortTree | 4c79cea89e8688f7c98f8d0f1ea42d1a5ff627bc | 319f171ef394355a3469c051f6b75301f565fd4d | refs/heads/master | 2020-05-26T12:57:56.107585 | 2019-05-23T14:10:50 | 2019-05-23T14:10:50 | 188,239,609 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,549 | cpp | //
// main.cpp
// binarySortTree
//
// Created by 苗芃 on 2019/3/23.
// Copyright © 2019 苗芃. All rights reserved.
//
//【选做内容】
// (1) 创建一棵二叉排序树;
// (2) 查找二叉排序树中一个指定结点;
// (3) 输出查找指定结点过程中所需比较的次数。
#include <stdio.h>
#include <stdlib.h>
#define OK 1
#define TRUE 1
#define OVERFLOW -2
#define FALSE 0
#define ERROR 0
#de... | [
"2570869891@qq.com"
] | 2570869891@qq.com |
8d9c9edfdd27cc93dd576f4d4e628a5dffa4f71a | 55863c34d5ad8f893fd8506babb775bd5af7f4a0 | /BeatmapConvert/Mania.Pattern.cpp | a0d17e509c3899b081d04cd5aa1ac9bb2b64175e | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | HO-COOH/Osu12Jumper | bb401b01a7d3ce59bd5d1a6c5879941a1f832437 | 5f4ae438edda4a559d7844faf003918937ffe53f | refs/heads/master | 2023-09-04T12:07:11.775763 | 2021-11-11T09:30:27 | 2021-11-11T09:30:27 | 282,067,933 | 0 | 0 | null | 2021-11-11T09:30:28 | 2020-07-23T22:19:56 | HTML | UTF-8 | C++ | false | false | 2,261 | cpp | #include "include/Mania.Pattern.hpp"
#include <unordered_set>
#include <algorithm>
bool Mania::Pattern::colunmHasObject(int column) const
{
return std::any_of(hitObjects.cbegin(), hitObjects.cend(), [column, this](auto const& objPtr) { return objPtr->getColumnIndex(totalColumn) == column; });
}
int Mania::Pattern::n... | [
"noreply@github.com"
] | HO-COOH.noreply@github.com |
5379fec7b306c6831cf2023d1ad04783bf42cadc | 44846a44741833c1887f73b0a0b809f8f327e3d6 | /Greg/MIDIUtils.h | 8762eae40e876a641e9969236f771eafd709224b | [] | no_license | bmelts/greg | 296084da2bedc19f3420a2eb70e3edb91af44756 | a946523f5f5140f8911e6cdc593c5266aef457d2 | refs/heads/master | 2020-05-17T08:02:34.242736 | 2012-05-02T08:48:25 | 2012-05-02T08:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | h | /*
* Greg/MIDIUtils.h
*
* Copyright (c) 2011-2012 Bill Meltsner
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the author be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any ... | [
"bill@meltsner.com"
] | bill@meltsner.com |
234bea3778dfc2444e01cc32cc0f7c7bb32a1940 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetsrv/iis/iisrearc/iisplus/ulatq/wprecycler.cxx | d9486d58044eb0775d21bf592f24263fdd77245e | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,609 | cxx | /*++
Copyright (c) 1998 Microsoft Corporation
Module Name :
wprecycler.cxx
Abstract:
Implementation of WP_RECYCLER. Object handles worker process recycling
- Memory based recycling
- Schedule based recycling
- Elapsed Time based recycling
-... | [
"112426112@qq.com"
] | 112426112@qq.com |
de82b35c95021f3a2978cd09ae9882f2bd507c0f | 0250600efb84f9f324602934c3fe42e62e67f8f6 | /topcoder/SRM_523/BricksN.cpp | 6fe792a2a7de8803ba1a95d5a41a8b5a378672ef | [] | no_license | bloops/solved | 987b43a4e8b9a2276bf81588a694ed77724fc633 | 2be75bb735b2edc13ba55826fbc9982e403ef8ce | refs/heads/master | 2021-01-01T18:02:40.019170 | 2012-01-19T16:18:38 | 2012-01-19T16:18:38 | 3,089,147 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,612 | cpp | #include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
typedef long long int lli;
const lli MOD = 1000000007;
class BricksN {
public:
int partitions[55]; // partitions[i][k] = no of ways to make contiguous blocks of length i using 1..k
int count[55][55]; // count[w][h] = # of ways t... | [
"bloopsie@gmail.com"
] | bloopsie@gmail.com |
974fe86b534d4567f685ad4c15dfaad7b9b047f5 | 3b70cb095b5bc18cdb35d1affa5f78235b164dac | /draw/debug/moc_wumian.cpp | 870b3efbd8bbfee840d494dd6c87346aab9b5429 | [] | no_license | GaoYifanGHB/qtP | 2e96ad690e2d1844622847aa705db4fc3880e739 | 60f71804e6899301309e9de5e169d90609cbe000 | refs/heads/master | 2021-04-26T01:31:51.137849 | 2017-11-02T08:53:33 | 2017-11-02T08:53:33 | 107,406,674 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'wumian.h'
**
** Created: Sun Aug 13 16:22:49 2017
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3)
**
** WARNING! All changes made in this file will be lost!
****************************... | [
"gao_yifan@163.com"
] | gao_yifan@163.com |
7221349c9d3ad45499f97bfe605a3557673ab89c | 6956e203caf857ca4e1a64ff4248a5824951a314 | /common_src/Unirse.cpp | c84e1eb1c1418e1763a35847c45f42ecc5a484a9 | [] | no_license | psdimartino/TallerDeProgramacion_TP3 | 431f1bc48bd9ce26aaf8897938edff330125933f | 5ac9f7f1c031fbd74189a337a4396e43238b255e | refs/heads/main | 2023-05-29T01:07:56.307625 | 2021-06-15T20:21:16 | 2021-06-15T20:21:16 | 374,215,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include "../common_src/Unirse.h"
Unirse::Unirse(std::string const nombre) : nombre(nombre) {}
std::string const& Unirse::getNombre() const {
return nombre;
}
void Unirse::ejecutar(MapaDePartidas &partidas,
std::string &nombrePartida, char &jugador) {
if (!partidas.unirse(nombre))... | [
"pdimartino@fi.uba.ar"
] | pdimartino@fi.uba.ar |
56a6abb096668ae7d14e1647b55bc424fdd76710 | 92a9f837503a591161330d39d061ce290c996f0e | /SiNDY-u/DiffImportRoad/stdafx.h | 2babcb550a5e057680929941afc0f8313214614b | [] | no_license | AntLJ/TestUploadFolder | 53a7dae537071d2b1e3bab55e925c8782f3daa0f | 31f9837abbd6968fc3a0be7610560370c4431217 | refs/heads/master | 2020-12-15T21:56:47.756829 | 2020-01-23T07:33:23 | 2020-01-23T07:33:23 | 235,260,509 | 1 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,272 | h | /*
* Copyright (C) INCREMENT P CORP. All Rights Reserved.
*
* THIS SOFTWARE IS PROVIDED BY INCREMENT P CORP., WITHOUT WARRANTY OF
* ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NONINFRINGEMENT.
*
* IN NO EVENT SHAL... | [
"noreply@github.com"
] | AntLJ.noreply@github.com |
6070b13c45099e983645c086e468fc7ccc75d9a1 | 4054a250ae5db77119bfc5fd54de94675a3231ca | /test/block_cipher/test_aes_cbc.cpp | 8189a8662fa59a9a3d29070e35bb15eca85dc45d | [
"MIT"
] | permissive | hocktide/v-c-crypto | 21c937421534191e29d152f1e173e7e2dbd40bd0 | 4f3d5f21cc62f4a92c7987abdbcaee2d652781ca | refs/heads/master | 2022-09-10T13:13:25.771967 | 2020-05-14T03:26:13 | 2020-05-29T19:37:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,037 | cpp | /**
* \file test_aes_cbc.cpp
*
* Unit tests for AES CBC Mode.
*
* \copyright 2018 Velo Payments, Inc. All rights reserved.
*/
#include <gtest/gtest.h>
#include <vccrypt/block_cipher.h>
#include <vpr/allocator/malloc_allocator.h>
using namespace std;
class aes_cbc_test : public ::testing::Test {
protected:
... | [
"nanolith@gmail.com"
] | nanolith@gmail.com |
fb5ac67e56adc3ef9d0c7122e919436c200c7ac9 | a14badc58bc6b5871cbd85e91cd8bf636824acec | /Binary Search/WoodCuttingMadeEasy.cpp | bd37fbb5fe60c54130ce295e0a2230af64635d9f | [] | no_license | prashant97sikarwar/Interview-Bit | 693b37c15e70de346c58debfd18e22541aaf7452 | 4b3bf032e30e16b8033e1a47c840fcaa434be429 | refs/heads/master | 2023-07-16T17:02:58.297411 | 2021-08-31T11:35:39 | 2021-08-31T11:35:39 | 353,809,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | //Problem Link:- https://www.interviewbit.com/problems/woodcutting-made-easy/
#include<bits/stdc++.h>
using namespace std;
bool helper(vector<int> &nums,int k,int h){
long long sm = 0;
for(int i=0;i<nums.size();i++){
if (nums[i] > h){
sm += nums[i]-h;
}
}
if (sm >= k){
... | [
"prashant97sikarwar@gmail.com"
] | prashant97sikarwar@gmail.com |
6b835908aa7e9b9632807ddaca04d4acc4f0b3e8 | 9d8bd24d59ad0fafc84748ca3d74153ee118b41f | /sandbox/planar-arma/include/planar-utils.h | b1049ce52b46a5cf745aafeba65b9398aac94b7e | [] | no_license | ColleyLi/bsp | 2e990254ede7144f88c976e2f69a43258d5a632f | d920b6e687e6167b574cc3716acfebe9b725b5cc | refs/heads/master | 2021-05-27T22:15:25.940929 | 2014-09-14T17:33:31 | 2014-09-14T17:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | h | #ifndef __PLANAR_UTILS_H__
#define __PLANAR_UTILS_H__
#include <Python.h>
#include <map>
#include <boost/python.hpp>
#include <boost/python/numeric.hpp>
#include <boost/python/tuple.hpp>
#include <boost/numpy.hpp>
#include <boost/filesystem.hpp>
namespace py = boost::python;
namespace np = boost::numpy;
#include <... | [
"gkahn13@gmail.com"
] | gkahn13@gmail.com |
40d7dd3c139d08041ecd5d951952635959c3166e | 5be61bc794c26850ed6ad39e959d73c8e89975c7 | /Tugas SD Modul 6.cpp | 14c40df95e90688dad58efc486c7f1921c1ee96d | [] | no_license | MBaihaqqiPP/Tugas-Prak.-Struktur-Data | 85abce4963d878c0cbf378a7290c6c3e077127b6 | b6aa2e0cd7ccc4571d471c38d6ab39b224b76e6a | refs/heads/master | 2022-04-26T00:17:23.506323 | 2020-04-27T14:04:33 | 2020-04-27T14:04:33 | 241,255,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include<stdio.h>
#include<conio.h>
#include<string.h>
char balik(char K[50]);
char cek(char O[50],char P[50]);
int main()
{
char K[50],L[50];
printf("Masukkan kalimat : "); gets(m);
strcpy(K,L);
balik(K);
cek(K,L);
getch();
printf("Masukkan kalimat : "); gets(m);
strcpy(L,K);
balik(L... | [
"noreply@github.com"
] | MBaihaqqiPP.noreply@github.com |
d121214d0f4181d2d594c81fa5a527e281adbaff | 6ec2b24683e532193107f1b68f8e648893174dbc | /eos/10/docker/oasis/contracts/Marketplace/Marketplace.cpp | c8c420098ea4f81306ee3adbbf59b9bb49c9417c | [
"Apache-2.0"
] | permissive | AaronZgl/blockchain | dde3f51d520d2b474d2e90f54cc3b90b572751b8 | 7c1b75a5870c13dfbaf11c943a02ff6074604796 | refs/heads/master | 2020-03-27T17:41:53.808466 | 2018-08-31T09:32:36 | 2018-08-31T09:32:36 | 146,867,528 | 0 | 0 | Apache-2.0 | 2018-08-31T08:58:19 | 2018-08-31T08:58:19 | null | UTF-8 | C++ | false | false | 3,796 | cpp | #include "Marketplace.hpp"
#include <eosiolib/asset.hpp>
namespace Oasis {
void Marketplace::buy(account_name buyer, uint64_t productId) {
productIndex products(_self, _self);
print("buy function,self is: ", name{ _self });
auto iterator = products.find(productId);
eosio_assert(it... | [
"shanlusun@gmail.com"
] | shanlusun@gmail.com |
c95faa0483328b0d7e87ca8493590f4e994e7039 | c07c34c92e255583fb4d0e5318a47e04db66b0a2 | /sorting_algorithms/sorting_algorithms/Sort.hpp | fc10c36e1fcc984710e773c16ca9e82c19095d8d | [] | no_license | abyesses/calidad_software | 84e246e5ed6e86f2ebb77ebff41e69cd768f99d0 | 4ef352019bf61d2795a02ab8cd42557001a06db2 | refs/heads/master | 2021-01-11T23:02:07.554737 | 2017-02-10T16:04:40 | 2017-02-10T16:04:40 | 78,536,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | hpp | //
// Sort.hpp
// sorting_algorithms
//
// Created by Abraham Esses on 1/24/17.
// Copyright © 2017 Abraham Esses. All rights reserved.
//
#ifndef Sort_hpp
#define Sort_hpp
#define vect_tam 20
#include <stdio.h>
#include <vector>
#include <time.h>
using namespace std;
class Sort{
protected:
//vector<int> * uns... | [
"abraham@Abrahams-MacBook-Pro.local"
] | abraham@Abrahams-MacBook-Pro.local |
c48126c2316e1ea6740a8e324283cbc4bbf6918f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_3730_squid-3.5.27.cpp | 1027a95beb16649c8344a86d0b8ecf909e7ffc17 | [] | 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 | 203 | cpp | HttpHdrRangeSpec *
HttpHdrRangeSpec::Create(const char *field, int flen)
{
HttpHdrRangeSpec spec;
if (!spec.parseInit(field, flen))
return NULL;
return new HttpHdrRangeSpec(spec);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
84cb8f7a20954b011a38fb0337d0b547327465a5 | 21ede326b6cfcf5347ca6772d392d3acca80cfa0 | /content/renderer/input/input_event_prediction.cc | 72f91539214b2b2c8ee9c893714e4de287f5b3cb | [
"BSD-3-Clause"
] | permissive | csagan5/kiwi | 6eaab0ab4db60468358291956506ad6f889401f8 | eb2015c28925be91b4a3130b3c2bee2f5edc91de | refs/heads/master | 2020-04-04T17:06:54.003121 | 2018-10-24T08:20:01 | 2018-10-24T08:20:01 | 156,107,399 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,915 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/input/input_event_prediction.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/fi... | [
"team@geometry.ee"
] | team@geometry.ee |
7161a782338bbd493a0f853fe7ad69bf828fd956 | 9cb1727433c8da111f08ba139402761ad4169e57 | /SFML Wave function collapse/main.cpp | 028a71a5d8a6469719f435179877c766b4a4e539 | [] | no_license | Diemoonn/SFML-Wave-function-collapse-ESTM- | 661eab7795b85712fc505a25648e6e17404e93d0 | 8c3e2a01e75b2547990ec923236239356947dbd1 | refs/heads/master | 2023-07-14T15:55:06.749909 | 2021-08-10T08:52:11 | 2021-08-10T08:52:11 | 391,181,353 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 10,873 | cpp | #include <SFML/Graphics.hpp>
#include <vector>
#include <algorithm>
using namespace sf;
using namespace std;
struct Tile
{
string name;
Color color;
vector<string> compatible;
float probability;
};
class Cell
{
public:
vector<Tile> domain;
Tile tile;
Cell() {}
Cell(Vector2f position... | [
"gordienko.gordienkodima2004@yandex.ru"
] | gordienko.gordienkodima2004@yandex.ru |
cb7d2fab916674aca8dd89c4db34bfdbf9808538 | 714405f5edf52445771d680083c6d891b20f02b4 | /ClothApp/UserInteraction.cpp | 8958031318dd65c04c9973d25b81ecdbfcfc0a3e | [] | no_license | PeterZs/FastMassSpring-1 | 5fad64c8ad1d501705e1f69a9d08125a60fea8ab | 180015bdf09d1b70445b0835b4f9da0b485f33b5 | refs/heads/master | 2020-04-11T20:42:09.041378 | 2018-12-16T16:31:58 | 2018-12-16T16:31:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include "UserInteraction.h"
#include <GL/glew.h>
#include <iostream>
#include <cmath>
UserInteraction::UserInteraction(float* vbuff, int n)
: vbuff(vbuff), fixer(vbuff, 3 * n * n), n(n), i(-1) {}
int UserInteraction::colorToIndex(color c) {
if (c[2] != 51) return -1;
int vx = std::round((n - 1) * c[0] / 255.0);... | [
"24758349+sam007961@users.noreply.github.com"
] | 24758349+sam007961@users.noreply.github.com |
f8ab8ba26831a6a0c93fff95d7cdf3da714b8860 | 6d90e332ed3e630429e959578df1181967c4bcaa | /AC-Submissions/problems/longest_uploaded_prefix/solution.cpp | 5dcaf09661a35bdae6eefa44d15dddd06ca52fdd | [] | no_license | amir-hosen7/LeetCode | fe27cca877b5ee8c73c00b6553b682b94351e16d | ee13b162c098276abd2f01b0ae4ea6bbe527bfa1 | refs/heads/master | 2023-02-23T04:15:52.250303 | 2023-02-13T12:57:46 | 2023-02-13T12:57:46 | 234,529,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | class LUPrefix {
public:
int bit[200050], N;
void update(int idx, int n) {
while(idx<=n) {
bit[idx]++;
idx+=(idx&-idx);
}
}
int getSum(int idx) {
int sum=0;
while(idx>0) {
sum+=bit[idx];
idx-=(idx&-idx);
}
... | [
"42311923+amantuamir@users.noreply.github.com"
] | 42311923+amantuamir@users.noreply.github.com |
b5203eaf4da139e149a5a63d2aef8ed929676ec4 | 31589435071cbff4c5e95b357d8f3fa258f43269 | /PPTVForWin8/ppbox_1.2.0/src/p2p/server_mod/natcheck/base/AppBuffer.h | bac1bf86523aaa1dd272e51f86b151073c928397 | [] | no_license | huangyt/MyProjects | 8d94656f41f6fac9ae30f089230f7c4bfb5448ac | cd17f4b0092d19bc752d949737c6ed3a3ef00a86 | refs/heads/master | 2021-01-17T20:19:35.691882 | 2013-05-03T07:19:31 | 2013-05-03T07:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,273 | h | #ifndef _BUFFER_H_
#define _BUFFER_H_
#include "Common.h"
typedef boost::uint8_t byte;
namespace base
{
struct AppBuffer
{
public:
enum { BUF_NORMAL, BUF_SUBPIECE };
private:
boost::shared_array<byte> data_;
protocol::SubPieceContent::pointer subpiece_;
size_t length_... | [
"penneryu@outlook.com"
] | penneryu@outlook.com |
caa6d824924cce0c0fb30f7f346ca226c69781cd | ce87d9968abead1aaa084a343f9f18379d666922 | /src/actor/actor_actions/use_skill_action.cpp | a60b22bb73bb57af8e579854e022e7360d19590b | [] | no_license | lonski/amarlon | eec7cbf6da257bbc4d2385e1b3f64631c970536d | fd9abe327f98bd7050aef193803f5d9cba0bf5f1 | refs/heads/master | 2022-01-14T21:32:12.203539 | 2021-12-30T10:28:04 | 2021-12-30T10:28:04 | 24,822,534 | 7 | 3 | null | 2015-05-17T12:08:49 | 2014-10-05T18:18:47 | C++ | UTF-8 | C++ | false | false | 693 | cpp | #include "use_skill_action.h"
#include <skill.h>
namespace amarlon {
UseSkillAction::UseSkillAction(SkillPtr skill, Target target)
: _skill(skill)
, _target(target)
{
}
UseSkillAction::~UseSkillAction()
{
}
ActorActionResult UseSkillAction::perform(ActorPtr user)
{
_user = user;
ActorActionResult r = ActorA... | [
"michal@lonski.pl"
] | michal@lonski.pl |
59a2f96238c3ef4c78e821e4cf02189378c9d291 | 7b36063fb05909c9bca723e677b083fb7349ef04 | /algorithm/0258-add-digits/solution.cc | 7d3e0da57a6d997ae199b646c91c356060719171 | [] | no_license | Liam0205/leetcode | c3dff919fbd596ed3bcea514c599c18c66b4a388 | 64c668a8f47a8e649e90a5881a884559c31a1a1c | refs/heads/master | 2022-02-20T19:37:38.492782 | 2022-02-08T10:07:10 | 2022-02-08T10:19:02 | 49,959,125 | 7 | 4 | null | 2018-11-26T01:34:55 | 2016-01-19T14:46:23 | C++ | UTF-8 | C++ | false | false | 120 | cc | class Solution {
public:
int addDigits(int num) {
return (num - (int) (9 * floor((num - 1) / 9)));
}
};
| [
"liamhuang0205@gmail.com"
] | liamhuang0205@gmail.com |
583bf96fcdb0de09d9bf5c85e9072c65e81c4f6f | 91721cafcc790673eb39c99be05bad570aedef74 | /Leetcode practice/260. Single Number III.cpp | 52ea46751904be465f9befb8519d0f87e0ead1f5 | [] | no_license | olee12/Leetcode-practice | 6631d559377d926c480b3115c75b1348be5c55fe | ea4649601af66193da036c4cce6032a22b1a673b | refs/heads/master | 2022-07-09T09:04:26.542487 | 2022-07-02T05:16:10 | 2022-07-02T05:16:10 | 81,569,221 | 0 | 0 | null | 2020-10-13T10:30:13 | 2017-02-10T13:45:44 | C++ | UTF-8 | C++ | false | false | 575 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
vector<int> singleNumber(vector<int>& nums) {
long long mask = 0;
for(auto n:nums) mask ^= n;
long long diff = mask & (-mask);
long long x = 0;
for(auto n:nums) if(diff & n) x^=n;
... | [
"tahmid.hossain@shopee.com"
] | tahmid.hossain@shopee.com |
573dd44f707a3e83a1cc3827ac3e2c2b49dfc963 | 759ec1fd0308bcb3471dcddffb3a665a9e9c1479 | /src/Camera_I.hpp | f3c534a70f866fcd6272bb359f6ccdf8502a8722 | [] | no_license | pfriesch/makingOfMoon | 8787644a560d817b10bc7663afd7caac0b445264 | b0916525b81bb0453911559c46f9944df61d4892 | refs/heads/master | 2021-09-04T00:36:53.951178 | 2018-01-11T22:59:02 | 2018-01-11T22:59:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | hpp | #pragma once
#include "common.hpp"
#include "WindowManager.hpp"
class Camera_I : public WindowEventListener {
public:
virtual void onWindowSizeChanged(int width, int height) = 0;
};
| [
"p.friesch@posteo.de"
] | p.friesch@posteo.de |
9242fa7fc26623e3a845dd9eef457bcaf56392c3 | 76f79c8242b5e68f3fba1afdb134608482aced6d | /DogsMustDie/Classes/BuyScene.h | 6c0c35455862a89101e82b66037b00a561d368c4 | [] | no_license | daoduchai/DogsMustDie | 92a66d978bbcc349b45a635d96c576cad02c8e03 | f07d7cd33d4a66fc4c952ac5d4d3e10d8ae0e644 | refs/heads/master | 2021-01-22T08:40:00.115080 | 2013-05-16T16:00:27 | 2013-05-16T16:00:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h |
#ifndef BuyScene_h__
#define BuyScene_h__
#include "cocos2d.h"
#include "Box2D/Box2D.h"
#include "SimpleAudioEngine.h"
#include "BuyLayer.h"
class BuyScene : public cocos2d::CCScene
{
public:
BuyScene(void);
~BuyScene(void);
virtual bool init();
CREATE_FUNC(BuyScene);
CC_SYNTHESIZE(BuyLayer*, m_pBuyLayer, ... | [
"25331812a"
] | 25331812a |
7f225e4572a4b77fd2886bd069462abad2baa9c0 | e7428bcf823db625cdd988f9a2a57e146f3b74d8 | /src/amount.cpp | dd572cd103ba5a82edde7bee51dec9225d304f2c | [
"MIT"
] | permissive | 4XT-Forex-Trading/4xt | bf8ddcc7df0d76f7def4531a3e37b8c16ee0ca50 | ab8d27b4e760281e8e4d974044e1ddca4ae626f0 | refs/heads/master | 2021-05-17T01:32:43.492049 | 2020-03-27T14:34:59 | 2020-03-27T14:34:59 | 250,557,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2019 The PIVX developers
// Copyright (c) 2020 The Forex Trading developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"4XT-Forex-Trading@users.noreply.github.com"
] | 4XT-Forex-Trading@users.noreply.github.com |
40ca0d843b7924ab3c0e8d30880f0d9df6d0a20c | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/Character_RiftWalker_Clone_Male_AnimBP_parameters.h | 8ea0b46479436b3c7d4fbe63ef233f98784de803 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
610098b47f76932e4c841d8d53c9f64079c81a84 | ac62c3107b48aab1267c1e0e75653e9f3ded6e49 | /_COISA/exemplo_console/mysocket.h | b72b10f2323722f8b53c0aed0c798a6af441edb3 | [] | no_license | lariskelmer/programacao-avancada | e61bfd62902efea407f3c44f315ef1da306e2857 | 15c5129d998ff949c3ea0926ee2f5de3fa15c752 | refs/heads/master | 2020-08-30T12:26:37.924282 | 2019-10-30T19:18:44 | 2019-10-30T19:18:44 | 218,379,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,148 | h | #ifndef _MYSOCKET_H_
#define _MYSOCKET_H_
#include <iostream>
#include <string>
#include <stdint.h>
/* #############################################################
## ATENCAO: VOCE DEVE DESCOMENTAR UMA DAS LINHAS ABAIXO ##
## PARA PODER COMPILAR NO WINDOWS OU NO LINUX ##
##################... | [
"amc.marcelino.cordeiro@gmail.com"
] | amc.marcelino.cordeiro@gmail.com |
9735167e3e5593c888fab2841b95e89e72fdb211 | e53518a04b26c3019d9a3940726c29a1b3bb6c82 | /VC_USB_GPIO_Test/USB_GPIO_Test/USB_GPIO_Test/USB_GPIO_Test.cpp | c3edcf87d113947cdb176718dcf3376218745672 | [] | no_license | viewtool/SPI_Adapter | f4aab07d1617cac9abf9604803b9267df1f01d15 | e8229060805759bee4dd6f974a24251596510b57 | refs/heads/master | 2021-01-21T06:39:24.612496 | 2020-07-06T06:52:43 | 2020-07-06T06:52:43 | 83,263,145 | 6 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,921 | cpp | /*
******************************************************************************
* @file : USB_GPIO_Test.cpp
* @Copyright: ViewTool
* @Revision : ver 1.0
* @Date : 2014/12/19 11:53
* @brief : USB_GPIO_Test demo
******************************************************************************
... | [
"792499568@qq.com"
] | 792499568@qq.com |
9189c35d07bc49c3ba7ac85d1ef74c16ffd8691e | 1c21ea7d49d4d1a6dc96f40bc910496373c0190d | /Valdemar/Metaprogramming/FunctionalProgramming/typelists.cpp | 1e0c85fca7678dbf900f90f43af7d3b766136ceb | [] | no_license | tmoller96/APK | 5fcbc1677e15f6e6a3797a5e15fe72ea7e510e9b | 75d0cfd97b35b874d21656972d40c904900743e7 | refs/heads/master | 2023-02-11T16:05:31.901177 | 2021-01-08T13:27:17 | 2021-01-08T13:27:17 | 292,011,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #include "at_index.hpp"
#include "contains.hpp"
#include "is_same.hpp"
#include <iostream>
// #define TYPELIST1(T1) TypeList<T1, NullType>;
// #define TYPELIST2(T1, T2) TypeList<T1, T2>;
// #define TYPELIST3(T1, T2, T3) TypeList<T1, TypeList<T2, T3>>;
int main()
{
std::cout << "IsSame <int , int >:: value=" << IsSam... | [
"valdemar-tang@hotmail.com"
] | valdemar-tang@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.