blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f131b846e0a795dbf47fc76646d3f98bc60c2b16 | 841cf1e9cb8b05ba9c23f73d6b2c5a665783060b | /hardware_beetle+MPU6050/Initial Design/BlunoBeetle/BlunoBeetle.ino | e0af0515a9317e9eb1b882f213e4ac6e227dcc61 | [] | no_license | nicholasleeeee/fitNests | 6800f52242d7da9c998e9c3dd8a46aa2dc4d7cbd | cc01dcacd908b69039cafe0c1a84f0c1bf7490ee | refs/heads/master | 2023-01-14T16:10:50.379938 | 2020-11-17T06:57:01 | 2020-11-17T06:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,988 | ino | BlunoBeetle.ino | // class default I2C address is 0x68
// AD0 low = 0x68
// AD0 high = 0x69
// declare static variables
#define OUTPUT_READABLE_WORLDACCEL
// include libraries
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps20.h"
#include "Wire.h"
// declare objects
MPU6050 mpu1(0x68); //AD0 low
MPU6050 mpu2(0x69); //AD0 High... |
51b96218287432038c39820e7afde2abc40c16de | 7b15ab8e034d4dc1ef1e4c41936ee0b905cd5fb4 | /strong_num.cpp | 2b160c153b8d46047d5455409b2e7e49ae385536 | [
"MIT"
] | permissive | preetimaurya1992/programming_practise_C-Interview-question- | 41a214e128e43fe62378b165ce1b969a9b136ef1 | 5b85c6b1005051199825e472a37cde2503f28489 | refs/heads/main | 2023-07-07T16:55:03.250456 | 2021-08-27T07:13:30 | 2021-08-27T07:13:30 | 397,579,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | strong_num.cpp | #include<bits/stdc++.h>
using namespace std;
//Write a program to identify if the number is Strong number or not
int fact(int n){
if(n==0)
return 1;
else{
return (n*fact(n-1));
}
}
int main(){
int rem,n,original,facto,sum=0;
cout<<"enter the number"<<endl;
cin>>n;
original=n;
... |
14772bc1088b9655fc498b1be005215521c701c9 | e40bf6030a0dbe79d2276640a1f9ec8c9de4a52a | /daring_stantia1 (3).ino | c143f31e827a87c0d1d4734203f01a5fa6d7ea5e | [] | no_license | sindetisarah/ServoMotor | 9ee1b8e5129154d3307f5d9f81782db61baa824b | f8f9158122d854ec791ea3f25ad5b5b347a14501 | refs/heads/main | 2023-04-17T04:16:36.907791 | 2021-04-29T07:48:12 | 2021-04-29T07:48:12 | 362,720,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | ino | daring_stantia1 (3).ino | #include <Servo.h>
Servo servo1;
int Red=4;
int Blue=5;
int Green=6;
int val;
int potpin=0;
void setup()
{
Serial.begin(9600);
servo1.attach(3);
pinMode(Red, OUTPUT);
pinMode(Blue,OUTPUT);
pinMode(Green,OUTPUT);
}
void loop() {
val=analogRead(potpin);
val=map(val,0,1023,0,180);
servo... |
c7adb555565b0f8a61d6691fa4a9e3a9729c8dff | 1c6a7125c8ea024050045fb18a685daadcfbcb0f | /codeforces/random/A_A_B_Trial_Problem_.cpp | 49eeea31a289204f9874eff5358a4770ae0cd0e7 | [] | no_license | HurayraIIT/competitive-programming | 0e2f40cf1cae76129eac0cd8402b62165a6c29e4 | 3b9bc3066c70284cddab0f3e39ffc3e9cd59225f | refs/heads/master | 2022-12-10T18:33:10.405727 | 2022-12-06T13:15:15 | 2022-12-06T13:15:15 | 236,779,058 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | cpp | A_A_B_Trial_Problem_.cpp | // Abu Hurayra (HurayraIIT)
// IIT, Jahangirnagar University
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
#include <deque>
#include <bitset>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <math.h>
#include <stdio.h>
#include <string.h>
using nam... |
bedbe9d789e6c0b23b21340001c541f4c4dae320 | f2ed7cc1b9ae6328ff4d207f47ba7c0171f2578c | /src/mbed/ECE4012_Sailboat/Get.cpp | 501b96b36cc2a1cd4c467f6bb751f7d427fc6254 | [] | no_license | taoqiuyang/SailBoat | f65ebf2245fe38ec5ef48c4a8a511aeb6caaf146 | 494780ad2dd73e9846b13c5eb07799f6b2e55806 | refs/heads/master | 2021-01-18T14:11:03.717991 | 2015-12-10T06:16:01 | 2015-12-10T06:16:01 | 32,179,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,459 | cpp | Get.cpp | #include "Config.h"
double Initial_Bearing;
double Final_Bearing;
double D_IMU_Y_north;
string decodeCommandGET(string cmd) {
if (cmd == "IMU_Y") {
return(IMU_Y);
} else if (cmd == "IMU_P") {
return(IMU_P);
} else if (cmd == "IMU_R") {
return(IMU_R);
} else if (cmd == "GPS_Qual... |
9784d2359e8b5e0809c11a57fb458cc8582bc653 | 1711e8d420c675a8647aa0839d735f43522b990c | /src/FemaleContainer.cpp | bebc68e66316e997b107c38d4528d2583d898463 | [] | no_license | peterdeka/SoftMatching | f3d5325fb47e4d24b2573d08fa3b31f237589682 | ee2323c00b1677ab75f60bedadab4fa68af15584 | refs/heads/master | 2021-01-23T00:06:31.219665 | 2014-01-31T02:20:57 | 2014-01-31T02:20:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | FemaleContainer.cpp | /*
* FemaleContainer.cpp
*
* Created on: Nov 11, 2013
* Author: deka
*/
#include "FemaleContainer.h"
FemaleContainer::FemaleContainer(Female **females, int nfemales) {
//cout<<"initializing hashtable\n";
nvars=females[0]->numvars;
this->nfemales=nfemales;
char tmp[nvars+3];
for(int i=0;i<nfemales;i++)... |
e763bc18bc001d8193382bc9985dc37e15653293 | ec65189850a31bbf352bd6569c83e2da9496e857 | /Game/Ejercito.cpp | f89c38c8afbab87d93435df602b6f4bcd6d2825d | [] | no_license | Azokah/TTS-Vengine | 1e10c886737f7b3c4290db2bb3fc9ce85f25b90b | 6321a3abb0b066166f67ed262ffebc53128a3574 | refs/heads/master | 2021-01-15T17:09:54.280697 | 2017-10-09T06:01:11 | 2017-10-09T06:01:11 | 99,735,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,784 | cpp | Ejercito.cpp | #include "Ejercito.h"
Ejercito::Ejercito(Unidad * unidad){
sprite = new Sprite();
sprite->agregarFrame(0,4*TILE_H,TILE_W,TILE_H);
x = 0;
y = 0;
addUnidad(unidad);
size = 1;
speed = unidad->getSpeed();
damage = unidad->getDamage();
fort = 0;
}
Ejercito::~Ejercito(){};
void Ejercito::... |
8ac3d14f0119c1e32d698d7ad6b6aacb05acb83c | b1f1886db246b8c7be9cb6adddfcc2e0de72b828 | /main.cpp | 4ace897e83cb7f1977990d93fa95417e57808455 | [] | no_license | parvmor/SHELL | 89f3dd8e920a57e7e4f70a6badd987fa7116ffbc | cab7c78d6d2e94b06b5cec706c195c680130d8b9 | refs/heads/master | 2021-01-20T09:21:25.774990 | 2017-03-04T19:46:24 | 2017-03-04T19:46:24 | 83,920,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,044 | cpp | main.cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<unistd.h>
#include<sys/wait.h>
#define BUF_SIZE 256
#define NUM_CMD 2
char *commands[]={
"cd",
"exit"
};
int cd(char** args){
if(args[1]==NULL){
fprintf(stderr,"shell:few arguments\n");
}
else{
if(chdir(args[1])!=0){... |
d594fc8fe3d76bb656c912aeef2a17ba03e67052 | f0d9cb209d81ec7bf981bc1502948c0191c2bb8c | /source/data/clair_de_lune.hpp | d629327465706d1e23f18ffd866ca66e5601c71b | [
"GPL-1.0-or-later",
"MIT"
] | permissive | evanbowman/blind-jump-portable | 7bcbba0a4cf5860587a6bc19e126e39b6783bd70 | 60f57285d96c083a6fd76d0a07bf7f9c15158feb | refs/heads/master | 2023-07-21T08:52:49.305448 | 2023-07-07T19:53:09 | 2023-07-07T19:53:09 | 193,804,028 | 195 | 11 | MIT | 2023-07-07T19:53:10 | 2019-06-26T00:55:21 | C++ | UTF-8 | C++ | false | false | 115 | hpp | clair_de_lune.hpp | #pragma once
constexpr int clair_de_luneLen = 1040790;
extern const unsigned char clair_de_lune[clair_de_luneLen];
|
3e8bbcee28e39e3a1433216ca339d40bbe78ec9b | 2388b920849f5990d86e49d9e23e6769bfe98b87 | /X/XTune/xcanvas.cpp | 410b0c0d8ba119e4d09c15fcf800e68c6d66f666 | [] | no_license | iqch/mayax | fd544c822a0906421fe9d06217ff80f784d8efba | cc41e5c23dad502579d8adc3f9d7366bdc48cf65 | refs/heads/master | 2021-07-15T08:17:41.584024 | 2021-07-11T05:20:17 | 2021-07-11T05:20:17 | 33,368,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | cpp | xcanvas.cpp | #include "stdafx.h"
#include "xcanvas.h"
XCanvas::XCanvas(QWidget *parent)
: QGraphicsView(parent)
{
}
XCanvas::~XCanvas()
{
}
|
aad2fccbdd2bb82a988fe95cbe239e3d8d49483f | 87a2896f868dc13f89ecbb629d897f0ffe8a57e6 | /Code/877d.cpp | 0c0d9539dccb6f8e7ea4ac0ceb517bd7f800dc2c | [] | no_license | sahashoo/Daily | a20a4bce60b0903fde23bea9d5244c65a9ea3928 | c209cf800cbae850e2233a149d3cc8181b49fb5e | refs/heads/master | 2020-04-23T04:31:13.770829 | 2019-02-15T20:00:34 | 2019-02-15T20:00:34 | 170,910,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | 877d.cpp | ///age yekam bekeshi beham is no problem ._.
#include<bits/stdc++.h>
#define F first
#define S second
using namespace std;
const int dx[]={1,-1,0,0};
const int dy[]={0,0,1,-1};
const int maxn=1e3+7;
char c[maxn][maxn];
int dst[maxn][maxn];
bool mrk[maxn][maxn][5],onQ[maxn][maxn];
int32_t main(){
ios_base::sync_wit... |
d60359e480227f4f7592c5e3cf39627c048dcb8f | ce3374a15d2062de9f50f11ec6b31cab096985be | /Particle.h | 00a66ad9552aa44627a263a8e6b33977ad4e8ffc | [] | no_license | futamiyuuki/Cloth-Simulation | 553a07d4fe712e33d1602523e7c1d7ba0263cda5 | 82e70f42bdd0589235d78258cbefdca9dc0becd9 | refs/heads/master | 2018-01-09T06:52:38.476515 | 2017-10-07T18:23:01 | 2017-10-07T18:23:01 | 44,860,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | h | Particle.h | #ifndef __cse169__Particle__
#define __cse169__Particle__
#include "Vector3.h"
class Particle {
public:
Particle();
void Update(float deltaTime);
void Draw();
void Reset();
void ApplyForce(Vector3 &f);
void updatePrevious(Vector3 prev);
Vector3& getPrevPosition();
Vector... |
9eba9bda31314a0a7731e87f2a9077d5a2ed3a52 | f4b54688bfbbc9ef45901e789aba694049b8e226 | /PunikuGame/Puniku.h | 35c0059950b887e5cafbe4604017852fedc5d0f0 | [] | no_license | ElroyDolleman/PunikuGame | e7f4fd6588bdfdedcc16269deaf570d446362c9e | ec47320c145dad2148984d29ce33c7b2777a85e7 | refs/heads/master | 2021-06-07T02:49:32.111728 | 2019-05-12T12:46:40 | 2019-05-12T12:46:40 | 33,026,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | h | Puniku.h | #include <SFML/Graphics.hpp>
#include <iostream>
#include "Math.h";
class Puniku
{
public:
enum class Flavour { Cream = 32*0, Strawberry = 32*1, Chocolate = 32*2, Cherry = 32*3, Avocado = 32*4, Blueberry = 32*5 };
sf::Sprite body;
sf::IntRect hitbox;
sf::Vector2<float> position;
int landingPosition;
fl... |
fb7fb907834c5a63e7ddc7a264a7e53cadde1682 | 30013e4f0def356c3ddad242f9bff0a155cbb039 | /rxDev/src/launchFileReader.h | 7ef3c78003c5fd07d479c7691d6f87f7f0e16aa1 | [] | no_license | songxuchao/rxdeveloper-ros-pkg | 972c56b11d28d452d7272984454503cfa63e06e2 | 917c7874b16b9727eba9cfbfc64c5f98262db390 | refs/heads/master | 2021-01-10T20:14:17.495579 | 2012-04-14T13:02:10 | 2012-04-14T13:02:10 | 34,845,885 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | h | launchFileReader.h | #ifndef LAUNCHFILEREADER_H
#define LAUNCHFILEREADER_H
#include <QString>
class LaunchReader
{
public:
};
#endif // LAUNCHFILEREADER_H
|
5db1957ba2d9f3b4e9e3b88ccc9acd64a61d9dd9 | 074055ccff84322b093c5a6d9a506cc0b794a469 | /src/comm/lanserialbridge.cpp | 4a68eabd970ef0495bc88538bc07f90bc2480733 | [] | no_license | rtszkrsn/serial-arduino-2-fs | 9570a25ff6798fddeb67f3ef208cd4fe1e4ed7fa | d2bb132ea1c0657f32cc6173781426a45d1c1d89 | refs/heads/master | 2021-01-10T04:29:29.836081 | 2012-04-17T18:17:50 | 2012-04-17T18:17:50 | 47,084,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | lanserialbridge.cpp | #include "lanserialbridge.h"
#include <boost/foreach.hpp>
namespace comm {
LanSerialBridge::LanSerialBridge() {
_serial = new SerialProtocol();
}
LanSerialBridge::~LanSerialBridge() {
delete _serial;
_serial = NULL;
}
const std::string LanSerialBridge::initSerial( void ) {
char data[6];
comm::Command c;
c.id ... |
ab0bf4b1a9bfcfafd0e36038d84b27e08d73cacd | 672b515a7c61b4bd4ed29f8ceac94029bfdca995 | /week-03/hit/src/main.cpp | 95646ab16fb133e1bcd8baa0b5e5eb977a0bb3cb | [
"MIT"
] | permissive | tehwalris/algolab | 9b6a81d5f6db6af5246b16798a813ab79ba15dfa | 489e0f6dd137336fa32b8002fc6eed8a7d35d87a | refs/heads/master | 2023-02-26T03:31:57.780546 | 2021-01-27T20:48:35 | 2021-01-27T20:48:35 | 329,075,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | cpp | main.cpp | #include <iostream>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <limits>
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
bool testcase()
{
int n;
std::cin >> n;
if (n == 0)
{
return false;
}
assert(n >= 1 && n <= 20'000);
double x, y, a, b;
std::cin >> ... |
b575bdece132b190148dce7361b742353837183f | 3bb13a68193e18486e39870a0b84addcb1c259e2 | /colorizer.hpp | 43e5c3d8c4df832054e4bc609af97eade3438025 | [
"MIT"
] | permissive | jonathanyip/arduino-rgb-controller | a6fc71d2369a58f712bc1be4e2b6b3fc079904f8 | 84cc463115c03e1d7a7c4f28ceb6ee8eea78122a | refs/heads/master | 2022-12-23T14:22:15.201472 | 2020-09-25T05:22:40 | 2020-09-25T05:22:40 | 297,182,543 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | hpp | colorizer.hpp | #ifndef COLORIZER_HPP
#define COLORIZER_HPP
#include <FastLED.h>
#include "config.hpp"
/**
* Colorizer applies colors to RGBs
*/
class Colorizer
{
public:
static bool applyColor(RGBHeaderConfig *config, CRGB *leds, uint8_t *cache, bool needsInit);
static bool off(RGBHeaderConfig *config, CRGB *leds, uint8_t... |
4b6681a1a23ee7c5c58be4f7912b0af4b82fcdf3 | ce3208edd4daf11cf0a605311779861eb73c2d97 | /inc/i_agent_creator.hpp | b6c243884ef0a09245233a0f261b9f7f1e1e4a62 | [] | no_license | AsafPeretz/smarthome | 5fb84377943c8a354bc9fef5589ee06d8779b489 | c453125d4280bda39a1017663b24a7a290c2d3ae | refs/heads/master | 2023-03-10T23:57:42.371952 | 2021-02-27T17:55:32 | 2021-02-27T17:55:32 | 342,615,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | hpp | i_agent_creator.hpp | #ifndef I_AGENT_CREATOR_HPP
#define I_AGENT_CREATOR_HPP
#include "shared_ptr.hpp"
#include "agent.hpp"
namespace smarthome {
template<class ValType>
class IAgentCreator {
public:
// IAgentCreator() = delete
virtual ~IAgentCreator();
virtual SharedPtr<ValType> Create() const = 0;
virtual std::string GetName()... |
c498dfde56d0f35323d3aae0dd6c23c6410b28b0 | d64d091be0b6c4c4a3eb4beaaeace35e4487c51f | /src/main/cpp/Subsystems/Arm.cpp | 1de796819c527e12f18ff583ebd08f696556e318 | [] | no_license | daniel-lee-user/Mock2018-TeamYellow | 57ea741b8e49ddfcc4a87c5da83edf3742b32a6b | b52a0c40539dd73ceb460c4315b8221d07d027ca | refs/heads/master | 2020-04-18T17:11:44.160904 | 2019-01-26T04:33:29 | 2019-01-26T04:33:29 | 167,649,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | Arm.cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
6041f53c7bbaa46cc063f8b3bc35edc14e9182e7 | 15e43d4c3c3022442af2f1c0bf4b74db7ebb8029 | /Inheritance/Position.h | c679d7beb3fbc3ae3c8e9336247c66664497e780 | [] | no_license | JakubLem/Lab | ec12f451522d786e3a1b1c4c0af1e189a8bb2fdf | f7e1abb53527eb401f795160e61f2c5a2fab531c | refs/heads/master | 2021-03-18T09:24:21.642586 | 2020-04-29T15:21:21 | 2020-04-29T15:21:21 | 247,062,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | h | Position.h | #pragma once
enum class Type {
Relative,
Absolute,
Static,
Fixed
};
class Position
{
Type type;
double left;
double right;
public:
Position();
~Position();
};
|
53093a4de23e916ee65a6e663fa8ecbe6c37182c | 2d9c79fb81fc415e96d638af5bee1ce2aa64432b | /ext/dino/LLVM/DINO/DINOTaskCost.h | 5d5d80efcc805d89ac559fdc6915130411cd210b | [] | no_license | CMUAbstract/alpaca-oopsla2017 | bb8a1f4da63c80ffff8fb1e151c575a5d6a2afde | a979300cb51409a89b7a776ead8fe50b50711bfd | refs/heads/master | 2020-12-03T04:16:32.435441 | 2017-12-20T02:46:18 | 2017-12-20T02:46:18 | 95,842,336 | 3 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | h | DINOTaskCost.h | #include "DINO.h"
#include <llvm/Analysis/CallGraph.h>
class DINOTaskCost: public llvm::ModulePass {
public:
static char ID;
DINOTaskCost();
virtual ~DINOTaskCost();
virtual const char *getPassName() const;
virtual bool doInitialization (llvm::Module &M);
virtual ... |
94433790baa5cdbc496713febbb83e0099883d9e | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2018/solutions/E/IAK-Varna/beautiful.cpp | d0d6bf2cd9747f41b56a618a2523ef060e4cc9d7 | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | beautiful.cpp | #include <iostream>
using namespace std;
int main()
{
int n,k,brc=0;
long long a;
cin>>n>>k;
if(k>0 && n>0)
{
while(n>0)
{
n--;
brc++;
}
cout<<a<<endl;
}
else cout<<"NO"<<endl;
return 0;
}
|
aa242a41145f9e5c7dbdd54c7c9a302781875b00 | 153248ef36e48bdcdd08293622435857a75d60b6 | /ProcessData/ElfData.cpp | 1f973bf63e46d34cb3d2285215fc05f3800e7081 | [] | no_license | daniel868/ProiectPOO | 4e227cf8c7757ef4d9fbc6f47cf34f56e6a978d9 | 98a92ef9df599fe60a620a36172f339dc123054f | refs/heads/master | 2023-02-17T13:38:06.777115 | 2021-01-16T09:02:29 | 2021-01-16T09:02:29 | 328,099,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | ElfData.cpp | //
// Created by danit on 12/29/2020.
//
#include "ElfData.h"
#include "../Utils/Util.h"
//TODO: get and set for containing items
const vector<Wishlist> &ElfData::getFinalChildrenWishList() const {
return finalChildrenWishList;
}
void ElfData::setFinalChildrenWishList(const vector<Wishlist> &finalChildrenWishLi... |
4e0ccf1bd44141d9531f54e2e3be4b0932afd2e5 | c1b03b59b3974058e3dc4e3aa7a46a7ab9cc3b29 | /src/module-midi/Event.h | 26730bfc08585e66528d7e3a67b27361ba1d4c16 | [] | no_license | gura-lang/gura | 972725895c93c22e0ec87c17166df4d15bdbe338 | 03aff5e2b7fe4f761a16400ae7cc6fa7fec73a47 | refs/heads/master | 2021-01-25T08:04:38.269289 | 2020-05-09T12:42:23 | 2020-05-09T12:42:23 | 7,141,465 | 25 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,128 | h | Event.h | #ifndef __EVENT_H__
#define __EVENT_H__
#include <gura.h>
Gura_BeginModuleScope(midi)
class Track;
class EventList;
class Player;
//-----------------------------------------------------------------------------
// Event
//-----------------------------------------------------------------------------
class Event {
publ... |
22c81ee288ed83bb020389beaa74d37d23eefdae | 69da69c264664048a1379dea65ee1d3c3d75930c | /cppfiles/RouterSimulator/PkgBsw.h | 96536bd78dcd539ff7c65e8062c3b809f6b6d879 | [
"MIT"
] | permissive | ChickPlane/OmsnSimulator | 4bc4388688fcfa09929fdc0ef8c6fcb5079149d6 | f77ea7a13e803948e147b1c19048391fc6b4e87a | refs/heads/master | 2021-07-25T16:03:53.927638 | 2017-11-08T19:44:53 | 2017-11-08T19:44:53 | 103,067,857 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | PkgBsw.h | #pragma once
#include "Sentence.h"
#include "TestSessionBsw.h"
class CRoutingProtocol;
typedef unsigned int BSW_USERID;
enum
{
BSW_MSG_TYPE_DATA = SENTENCE_TYPE_MAX + 23,
BSW_MSG_TYPE_MAX
};
class CPkgBswData : public CSentence
{
public:
CPkgBswData();
CPkgBswData(const CPkgBswData & src);
virtual CPkgBswData &... |
691d6ac61370d8335fba9b6a52ac4bdf582c8475 | 9180566ada73c10829197112891f33c5b839dd93 | /data_structures/linked_lists/ReverseADoublyLinkedList.cpp | c95396991d3962de895dedc22421d2a5fe59f4f6 | [] | no_license | chaghdashko/hackerrank | c5ce5c16541e0dec8c18b7e4947264f109b1633e | 00963bf9e6fc722b3e4457cfd4bd4970ede82b55 | refs/heads/master | 2020-05-21T20:33:11.269974 | 2019-01-26T21:39:29 | 2019-01-26T21:39:29 | 62,549,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | ReverseADoublyLinkedList.cpp | struct Node {
int data;
struct Node * next;
struct Node * prev;
}
Node * Reverse(Node * head) {
if ((head != nullptr) && (head->next != nullptr)) {
Node * node = head;
Node * last;
while (node != nullptr) {
Node * tmp = node->next;
node->next = node->prev;
node->prev = tmp;
last = node;
nod... |
e8e531976785180dc8786fbda4440ba641b71437 | 24482c111305ef2c7e92db45beffa50513f9138e | /src/multipleColumnsFileTest.cc | 64ab9eea57cffd2d4d0292e258c41e4b00ed44f2 | [
"LicenseRef-scancode-other-permissive"
] | permissive | sandywang/oobicpl | c919d21abbd35ea2de12d9c7873c2d4f7b67efa8 | 1e2850ca4bc36a003adf55597c8be7bd30cec110 | refs/heads/master | 2020-05-20T00:17:35.061668 | 2019-05-07T20:09:55 | 2019-05-07T20:09:55 | 185,283,205 | 0 | 1 | null | 2019-05-06T22:58:38 | 2019-05-06T22:58:38 | null | UTF-8 | C++ | false | false | 1,003 | cc | multipleColumnsFileTest.cc | // testing an old style multiple columns file
#include "mniVertstatsFile.h"
#include <iostream>
int main(int argc, char *argv[]) {
mniVertstatsFile f("multiple_columns_file.vertstats");
if (f.getNumColumns() != 4) {
cerr << "Wrong number of columns. Should have been 4, was "
<< f.getNumColumns() <<... |
4e4a320bf40add4a86f4ed13666420f449fb2348 | 4e7d6bae303518441891948bc0e9dfafbdcf5141 | /exercises/exSheet4/question4/main.cpp | 5cf85c15598e09876096e140762383ef83a5b1a9 | [] | no_license | David-Loughnane/oopExercises | 611df9635fe5cc1af7c8c2e4a587f9ebca15d0c9 | a89e5ef80b95ae1624f8bdfb97bcc0060a5dfc5c | refs/heads/master | 2020-04-05T23:14:47.458524 | 2016-06-25T10:44:26 | 2016-06-25T10:44:26 | 61,938,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | main.cpp | #include <iostream>
#include <fstream>
using namespace std;
int main() {
char character;
int count = 0;
ifstream input_stream;
input_stream.open("main.cpp");
while (!input_stream.eof()) {
input_stream.get(character);
count++;
}
input_stream.close();
cout << count;
for (int i = count ;... |
d1f41478fa20af95d94f37fc979efaf7812bf58d | c6c8bf3525698a8184fde1b5439a24744970512d | /vdslib/src/vespa/vdslib/distribution/idealnodecalculatorimpl.h | 4b55a732aeed41c13a894bd026585f8390d8ef9d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | socratesone/vespa | 0df03ece09de001942232300de23f8db13a38e45 | 7ee52b93cbae2695cf916c9b2941361b35b973f1 | refs/heads/master | 2023-03-16T23:35:10.953427 | 2021-03-17T02:41:56 | 2021-03-17T02:41:56 | 305,143,840 | 1 | 0 | Apache-2.0 | 2021-03-17T02:41:56 | 2020-10-18T16:18:57 | null | UTF-8 | C++ | false | false | 942 | h | idealnodecalculatorimpl.h | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* A cache for an ideal nodes implementation. Making it cheap for localized
* access, regardless of real implementation.
*/
#pragma once
#include "idealnodecalculator.h"
namespace storage::lib ... |
4d5447e052f30bb5ef83fb5da97e1272cf5376d7 | 02da816d5558f34b79e4b3126234a37e4627aeca | /src/maptimer.cpp | 03907f25ccea4f5735e901a3220201415052f014 | [] | no_license | petrmiculek/icp_project | 7713a019a2888e57c3f587958d66a6c697c94c16 | a85a29dbe5933b7b85c7ff933ba1073ed7d0b568 | refs/heads/master | 2022-07-23T16:35:27.004713 | 2020-05-17T16:24:01 | 2020-05-17T16:24:01 | 261,010,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,002 | cpp | maptimer.cpp | /* maptimer.cpp
* Project: CPP
* Description: Timer sending periodic signals.
* Author: Kryštof Lavinger, FIT <xlavin00@stud.fit.vutbr.cz>
*/
#include "maptimer.h"
#include <stdexcept>
MapTimer::MapTimer(int h, int m, int s, double multiplier, QObject *parent) : QObject(parent)
{
setTime = new QTime(h, m, s)... |
2eda8ac6395d9b9185ac59c140c6a4ec5d2736bb | 24653c0a8be19e46eb95451de1d961ffbcc01341 | /software/src/8.0/src/kernel/Vca_IRexecConnectionFactory.cpp | 86e1462e4bcfa44bf52b8de67f3980c9b4fc298e | [
"BSD-3-Clause"
] | permissive | VisionAerie/vision | 150e5bfa7eb16116b1e5b4bdb1bb8cee888fbfe5 | e40c39e3abc49b0e2c9623204c54b900c4333f29 | refs/heads/master | 2021-01-19T09:23:34.429209 | 2019-01-30T17:10:59 | 2019-01-30T17:10:59 | 82,104,368 | 2 | 1 | BSD-3-Clause | 2019-01-30T17:11:00 | 2017-02-15T20:41:27 | C++ | UTF-8 | C++ | false | false | 915 | cpp | Vca_IRexecConnectionFactory.cpp | /***** Vca_IRexecConnectionFactory Implementation *****/
/************************
************************
***** Interfaces *****
************************
************************/
/********************
***** System *****
********************/
#include "Vk.h"
/******************
***** Self *****
**... |
b76416a51cb1370a3592b53db7e3bd0afa2d8284 | e7c742e3e2ef60da6f63d1c3af83c7668347ea8f | /luogu/2566.cpp | dc20b2692390eafc776c6d4c0c5cccc809adb9ef | [] | no_license | huhaoo/code | 7d4a4d4529827db5c5220f9000155470beae4afc | e7699484bc4a9a3cb14159c4fe5ca2e909c8fcb6 | refs/heads/main | 2022-01-13T11:57:14.740166 | 2022-01-02T01:30:24 | 2022-01-02T01:30:24 | 183,852,670 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,091 | cpp | 2566.cpp | /***************************************************************
File name: 2566.cpp
Author: huhao
Create time: Wed 07 Aug 2019 04:02:20 PM CST
***************************************************************/
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<algorithm>
using namespace std;
#define fr(i,... |
3bd35255569b68ebcc2b5b06b0956b45495338ba | 3ea9cb3ea22f638f05c651500ab5ddaa00f5c333 | /BST/array_to_bst.cpp | 9f507bbb306a75a21d01ced5d691888b4a151ff0 | [] | no_license | vrinda22/DS-ALGO | 8948e4f0dba6d32e478f1e765da85104ce4c82f3 | dc2c333058c72561b2cd322398949b6a7a99ab36 | refs/heads/master | 2023-08-26T00:06:24.714500 | 2021-10-31T17:22:11 | 2021-10-31T17:22:11 | 271,074,544 | 1 | 1 | null | 2021-10-31T17:22:12 | 2020-06-09T18:02:48 | C++ | UTF-8 | C++ | false | false | 1,045 | cpp | array_to_bst.cpp | /*Given a sorted array. Write a program that creates a Balanced Binary Search Tree using array elements. If there are N elements in array, then floor(n/2)'th element should be chosen as root and same should be followed recursively.
Input:
The first line of input contains an integer T, denoting the number of test cases... |
aaab3ee556a379fb656b4c7094604612dcf34401 | f680ae26ed92f7e1f29abcd7125b99b5d620fb13 | /protocol/clk/CLKProtocolStrategy.cpp | ac40fbf1769fb81c886138224af56677c0159c80 | [] | no_license | zhouqilin/casparLinux | 962252194dd8754ab6bb6957099a41693ed74423 | bb1a98e43a1aa5bf72c70b6b21202406d31caf90 | refs/heads/master | 2021-01-12T21:26:58.230471 | 2015-03-29T09:14:58 | 2015-03-29T11:16:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,366 | cpp | CLKProtocolStrategy.cpp | /*
* Copyright 2013 Sveriges Television AB http://casparcg.com/
*
* This file is part of CasparCG (www.casparcg.com).
*
* CasparCG 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 3 of the... |
e54790cfb34bbf3198653af3d71158fba82a8710 | c211ef3f0102894fe7db592e3ff4816f23102c80 | /Luo_Jia_Li_Xian_Ji/TeachingBuilding.cpp | 4a6c1c44a21f8dd344df9b546045774b2494cfd3 | [] | no_license | lost-cat/Luo_Jia_Li_Xian_Ji | e1f1d0f87237c47339dfa9a43d8b0ea1add4eb5d | 7c12c167f0221705be66d7b5185938138d8db05a | refs/heads/master | 2022-11-10T06:44:03.293173 | 2020-06-16T07:31:45 | 2020-06-16T07:31:45 | 263,050,455 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,757 | cpp | TeachingBuilding.cpp | #include "TeachingBuilding.h"
#include <qpushbutton.h>
#include <qmessagebox.h>
#include<qtimer.h>
TeachingBuilding::TeachingBuilding(maincharc* mm, QWidget* parent)
: QWidget(parent)
{
ui.setupUi(this);
int *which= new int;
setAutoFillBackground(true);
QPalette backgoundTeachingBuilding = this->palette(... |
0dcd893c6e72ab3d2e888a4c2299e919821a2500 | ba84238a328de411c0aed71cdf60e6b25a0b183e | /140_单词拆分 II/140_单词拆分 II/单词拆分 II.cpp | e6d4c9f8310de306a32606d7c8291b3efc4cacb7 | [] | no_license | wangkai5616/leetcode | 5e080b6f7bb026626c56b74ebe62d564699c4ea6 | 1702da25f8ec9b5038b6f23e634be24167dfbcf6 | refs/heads/master | 2020-04-05T12:40:57.511058 | 2019-08-13T02:14:46 | 2019-08-13T02:14:46 | 156,875,509 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,081 | cpp | 单词拆分 II.cpp | #include<iostream>
#include<vector>
#include<string>
#include<unordered_set>
using namespace std;
/*
给定一个非空字符串 s 和一个包含非空单词列表的字典 wordDict,在字符串中增加空格来构建一个句子,
使得句子中所有的单词都在词典中。返回所有这些可能的句子。
说明:
分隔时可以重复使用字典中的单词。
你可以假设字典中没有重复的单词。
示例 1:
输入:
s = "catsanddog"
wordDict = ["cat", "cats", "and", "sand", "dog"]
输出:
[
"cats and dog",... |
3eb01011ea7dba32e70fb2936e271f43f860beea | a8fc0eedb061ed09bfe605b67014624b23e44d9d | /amr-wind/equation_systems/vof/height_functions.H | b37b40c69843ef5352947546c82ac9ae661a8b58 | [
"BSD-3-Clause"
] | permissive | jrood-nrel/amr-wind | 9910459ca90310226af4b66ac8304853a30dc03e | 79be152505b90b8a09d93b4e7a4cdd2a3a04a4df | refs/heads/main | 2023-08-11T20:08:58.499868 | 2023-08-04T17:26:11 | 2023-08-04T17:26:11 | 240,058,263 | 0 | 0 | BSD-3-Clause | 2020-02-12T16:19:13 | 2020-02-12T16:19:12 | null | UTF-8 | C++ | false | false | 173 | h | height_functions.H | #ifndef HEIGHT_FUNCTIONS_H_
#define HEIGHT_FUNCTIONS_H_
#include <AMReX_FArrayBox.H>
#include <cmath>
namespace amr_wind {
namespace multiphase {}
} // namespace amr_wind
|
c2a12a8ee1f7223545f9085c5ae3c518a9833c9f | dec4e2d3855a8ef0b6e490c82401517f6727f2b1 | /languages/c++/portable-fork/SocketMultiProcessListener.cpp | 82c3229e5fb1b198a40a0853df2095016723f74c | [] | no_license | begoon/stuff | 29e51d284dbea69c11ff71de29f4cd9d156994a6 | 4078072f864a2f1a0d6c7fdc242b602be88cd70e | refs/heads/master | 2022-12-22T12:58:31.107251 | 2021-07-02T07:14:44 | 2021-07-02T07:14:44 | 5,796,715 | 2 | 5 | null | 2022-12-14T05:04:04 | 2012-09-13T15:25:39 | C++ | UTF-8 | C++ | false | false | 3,099 | cpp | SocketMultiProcessListener.cpp | #ifdef WIN32
#include <windows.h>
#else
#include <unistd.h>
#include <signal.h>
#include <errno.h>
#include <sys/wait.h>
#endif
#include <string>
#include <sstream>
#include "ListenSocket.h"
#include "SystemMessage.h"
#include "Thread.h"
#include "Socket.h"
#include "SocketMultiProcessListener.h"
class Child: publi... |
61b6d92885b62e1a3cb733bb1bd71276978b5124 | e24ca08b969bc66dbc368bea721dac3206c3bb43 | /DHTS/map/tests/testsIntInsertRemoveParallel.cpp | 6b8486c3c55e2fc6123150285f3b118d2cd871ac | [] | no_license | kamciokodzi/distributed-nvm-hashtable | 99980fa187862981bcce894d616bd8b9ab3dd2bd | ab94ba8a5f48ba1a1aa91e6260e017c370ac546d | refs/heads/master | 2020-04-01T10:08:56.156100 | 2019-10-30T13:59:10 | 2019-10-30T13:59:10 | 153,104,726 | 0 | 1 | null | 2019-01-24T00:10:20 | 2018-10-15T11:55:55 | C++ | UTF-8 | C++ | false | false | 2,497 | cpp | testsIntInsertRemoveParallel.cpp | #include "../NvmHashMap.hpp"
#include "constants.hpp"
#include <gtest/gtest.h>
#include <thread>
#include <chrono>
#include <ctime>
#include <string.h>
struct root {
pmem::obj::persistent_ptr<NvmHashMap<int, int> > pmap;
};
bool file_exists(const char *fname) {
FILE *file;
if ((file = fopen(fname, "r"))) ... |
dbc244619e97b3f76c34d51fb8a47378d4506716 | 3c3f900dadf850dc7720656a986b3d3db60b14d5 | /plugins/messageviewer/bodypartformatter/calendar/delegateselector.h | 8828b3f618ca690fbded689b12a0e5d6a5b00459 | [
"BSD-3-Clause"
] | permissive | KDE/kdepim-addons | 680602d3b8dd1bfecd6e5c5423412cc5bf1b7cbf | d0bff1924db427aae0b6cf40dda52e998293b906 | refs/heads/master | 2023-09-04T05:08:51.218761 | 2023-09-04T01:49:13 | 2023-09-04T01:49:13 | 46,991,984 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 741 | h | delegateselector.h | /*
SPDX-FileCopyrightText: 2007 Volker Krause <vkrause@kde.org>
SPDX-FileCopyrightText: 2012-2023 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include <QDialog>
class QPushButton;
namespace PimCommon
{
class AddresseeLineEdit;
}
class QCheckBox;
/**
Sele... |
7eb34ec15e4ef5dd0495c2a23311fa6eb185cca8 | 65545133c5784e8e791f058aee9210863337505b | /Exp_1/average.cpp | 1c84ce29208f124dc09f7ec4561091c91860f96b | [] | no_license | clau224/OS-Experiment | 907f01a2be30801a24abec021d52e31f0cc227ff | 7738977acc84782705fc3d9f542c92a0bbc2ce0f | refs/heads/master | 2023-02-16T10:41:55.143493 | 2018-06-08T11:19:42 | 2018-06-08T11:19:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | average.cpp | #include <iostream>
#include <string.h>
using namespace std;
int main() {
int a, b;
cout << "请输入两个数字,空格隔开" << endl;
cin >> a >> b;
float ans = (1.0 * a + b) / 2;
cout << "两数字平均值为" << ans << endl;
return 0;
}
|
0fb9c94099fc2493ec2e75057bf4d53e3820c48b | 9aa7ebc266c1a22e00ff87ea4a3d2b90df016362 | /src/orcreader/orc_proto.pb.h | 3f48e3d660c03361c59579473ff4af56bf7f4b46 | [] | no_license | tengdj/tengdb | ce43111c75aeb2e00e33f04bfa5355a0dc198b07 | 374b3346cc6668d7a401d24cb7c1d26887a53480 | refs/heads/master | 2021-03-16T09:19:08.112083 | 2017-01-12T22:30:34 | 2017-01-12T22:30:34 | 63,617,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 220,039 | h | orc_proto.pb.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: orc_proto.proto
#ifndef PROTOBUF_orc_5fproto_2eproto__INCLUDED
#define PROTOBUF_orc_5fproto_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3001000
#error This file was generated by a n... |
0b9acaf70df1db5abe4dc1ac678714abe8ecc5d0 | 82cbd61d7e76c92db0e640c0f2f70bbf1c502663 | /test/TestRunArgs.cpp | f3bebea63e0c24d979cdf62ed0d94b4f265f4b65 | [] | no_license | Badhi/mawk | e7dd8a0fba52a6c15619c59636c1aa9ea941ff0c | 0455597efbd9497aedff322ac337cad458d1c9e0 | refs/heads/master | 2022-04-25T13:50:09.465322 | 2020-04-18T06:31:39 | 2020-04-18T06:31:39 | 201,778,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,949 | cpp | TestRunArgs.cpp | #include <vector>
#include <fstream>
#include <RunArgs.h>
#include <gtest/gtest.h>
class TestRunArgs : public ::testing::Test
{
};
TEST_F(TestRunArgs, invaid_args)
{
int argc = 0;
const char ** argv = nullptr;
EXPECT_DEATH(RunArgs r(argc, argv), ".*Assertion.*");
}
TEST_F(TestRunArgs, default_args)... |
d32169719e561d8b9dd887b9b8646619ac51c25d | db129902d35e952d6af6e7970f030726cbf6775a | /Klock_Trials_Of_time/Klock_Trials_Of_time/CollisionSystem.h | 18666976486c98aefb935741da6bf9c5e00442fb | [] | no_license | noah-glassford/Child_Of_Time | 07b77a9495b70ac13a6147a33e76a2ef580aeeca | f52c5d92f103971e18d37e45df7d75e7bc661dc6 | refs/heads/master | 2021-07-01T16:24:55.588349 | 2021-05-11T04:12:50 | 2021-05-11T04:12:50 | 233,625,595 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,495 | h | CollisionSystem.h | #pragma once
/*
22 23 for level 1
*/
#include "PhysicsSystem.h"
#include "MovementSystem.h"
#include "SoundEngine.h"
/*
This system is to make collision better
Also contains the collision listener
*/
class CollisionListener : public b2ContactListener
{
public:
void BeginContact(b2Contact* contact);
... |
92559ab678f1a57daab990b7d2d64acacd0a1c04 | 514c657aad2bc22448f6590124e9fa0054729fe7 | /SpaceShooter/src/Entities/MovePattern.h | 86978c19f4e9065161a9b95c37746a58384402ae | [
"MIT"
] | permissive | NDobricic/SFML-Space-Shooter | a1b5df7fdd87e453f331ff89bb21aa2f1c7aad8b | ea1ffdc1352c61304757dee776f72350dc8602d7 | refs/heads/main | 2023-05-28T20:22:33.916818 | 2021-06-14T21:11:21 | 2021-06-14T21:11:21 | 366,418,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | h | MovePattern.h | #pragma once
#include <SFML/Graphics.hpp>
namespace ss
{
struct MovePattern
{
protected:
float totalTime = 0.0f;
public:
virtual sf::Vector2f GetPositionOffset(float deltaTime) = 0;
};
} |
66e96c16138f6430390dfb88dabadb4c93e67fb5 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /QF/inst/testfiles/compute_ak_nc/libFuzzer_compute_ak_nc/compute_ak_nc_DeepState_TestHarness.cpp | 7cd9bfaed97511d8702326d6c242a494506c9fbf | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,760 | cpp | compute_ak_nc_DeepState_TestHarness.cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// compute_ak_nc_DeepState_TestHarness_generation.cpp and compute_ak_nc_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
... |
053931412fb57825e03fe1fd14dc79c443aa453f | f6c9c91f56f7814cbfa7c4e9af96c5d500cc4e86 | /Src/Common/Logger.h | a8918b30107925f5ad02b23eafb86d7bcfc468ae | [
"MIT"
] | permissive | juyoungkim-lisa/radeon_compute_profiler | 1f24877bb7ada1e61e6fba1dad67bbdbcca35ff0 | 43b01a1ee293e31762ac1e346bc454c93254fa7c | refs/heads/master | 2023-01-22T14:31:00.273091 | 2020-12-02T16:52:48 | 2020-12-02T16:52:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,917 | h | Logger.h | //==============================================================================
// Copyright (c) 2015 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief Generic Logging mechanism for Radeon Compute Profiler
//=====================================================... |
33fad13944b6012b1c0f9e213cdbe54fbf813484 | aeeb70ee311ca6beaa59507952ae0fd8296b7f28 | /forCodingTest01/forCodingTest01/bak_17141.cpp | 88374a7881c7a115a6b778bffe83ddc6a813dd95 | [] | no_license | flyingtw/CodingTestRepository | 73ef2650913e629ded31367573ad3761fff84204 | eecd7b6bc7f8c3a12ce4a750568ebd95e5f9a9bf | refs/heads/master | 2023-01-18T20:00:37.196557 | 2020-11-20T05:51:36 | 2020-11-20T05:51:36 | 259,932,004 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,144 | cpp | bak_17141.cpp | #include <bits/stdc++.h>
#define endl "\n"
using namespace std;
void init();
void print();
int dy[4] = { -1,1,0,0 };
int dx[4] = { 0,0,-1,1 };
int N, M;//M : 바이러스 갯수
char arr[51][51];
int tmp_arr[51][51];
int visited[51][51];
vector<pair<int, int>>v;
int result = 99999999;
void virus() {
memset(visited, 0, sizeof(vi... |
7f151bab17a5167dfb9b2dd0b7b4c03c5e4dd921 | 868e8628acaa0bf276134f9cc3ced379679eab10 | /firstCrude2D/we123/h10_refined2/0.089/phiAlpha | b5d94413e6c43fdf4837d89c2a93f28f643c934d | [] | no_license | stigmn/droplet | 921af6851f88c0acf8b1cd84f5e2903f1d0cb87a | 1649ceb0a9ce5abb243fb77569211558c2f0dc96 | refs/heads/master | 2020-04-04T20:08:37.912624 | 2015-11-25T11:20:32 | 2015-11-25T11:20:32 | 45,102,907 | 0 | 0 | null | 2015-10-28T09:46:30 | 2015-10-28T09:46:29 | null | UTF-8 | C++ | false | false | 1,426,005 | phiAlpha | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | |
30a2f8588eeff09207d03ffc445cc26a03010bc9 | de00e17c4369418cd037d1c4a7102579a76d8961 | /Project Euler/Project Euler #11: Largest product in a grid.cpp | 68fd88d2510fd4ec1c7ecebbef896ec95ec7a790 | [] | no_license | UjjwalAryal/HackerRank-Solutions | f70133f794fdcbf5f108e09cd7bac0e3a77717c0 | 0db1bac58f55a6960df047e4ff0721134b387a0d | refs/heads/master | 2021-09-23T13:50:53.733626 | 2018-09-23T11:28:52 | 2018-09-23T11:28:52 | 89,837,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | Project Euler #11: Largest product in a grid.cpp | #include <iostream>
using namespace std;
int maxProduct(int arr[20][20]){
int cur,max = -99;
//check right
for(int i=0;i<20;i++){
for(int j=0;j<17;j++){
cur = arr[i][j] * arr[i][j+1] * arr[i][j+2] * arr[i][j+3];
if(cur>max) max = cur;
}
}
//check down
... |
9cd6126f7da3bf7ebf8ceed4ff823beb1e5ce3ad | aa6291ef7f36fb89d03494e42297b37597f6da90 | /src/alarm/alarm.hpp | 738dd90177bff0a3f9507bd6f5e34c9ab82a0891 | [
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | o-ran-sc/ric-plt-xapp-frame-cpp | f071b4c3d85a815df42018cdafb803ecaacd2dbc | 9bd073513e61d0ae75df6b2ccf668e1f240a5e0f | refs/heads/master | 2023-06-28T19:32:55.131215 | 2023-06-16T12:46:10 | 2023-06-16T13:45:11 | 243,324,300 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,650 | hpp | alarm.hpp | // vi: ts=4 sw=4 noet:
/*
==================================================================================
Copyright (c) 2020 Nokia
Copyright (c) 2020 AT&T Intellectual Property.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... |
ff5d0bdb7e97797ac19179257f0fbada221daf6b | 15c36c4bd77099b4359bc7cb81ee2f64550b43c6 | /codeforces/65a.harry-potter-and-three-spells/65a.cpp | b97d0a24c6999449ec354e1418f9c5280903b040 | [
"MIT"
] | permissive | KayvanMazaheri/acm | f969640ba0b7054bd6af6f0685715d7e37292f8e | aeb05074bc9b9c92f35b6a741183da09a08af85d | refs/heads/master | 2021-03-22T03:30:17.115202 | 2017-12-12T08:16:08 | 2017-12-12T08:16:08 | 48,699,733 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | 65a.cpp | #include <iostream>
using namespace std;
int main()
{
int a, b, c, d, e, f;
cin >> a >> b >> c >> d >> e >> f;
float finalGold = 0;
if (e && c)
finalGold = float (f * b * d) / float(e * c) ;
{
if ((!e && f && b && d) || (!c && d) || (!a && b && d))
finalGold = a + 1;
}
//cerr << finalGold << endl;
if(f... |
4c927695409bd83d3577c4bb149f525454cac970 | 0444145e5175efd1f43c51051df6b73a249d1fc6 | /Tanks/source/main.cpp | 58ac4ed410ec1e38fcfbf2988eedb879280e52d9 | [] | no_license | jloudermilk/AITanks | 4eea83011f9d53ec9a7602643b4a3a6d1872f7a2 | 26ece8e2c103951116335330d475371f2ba07b32 | refs/heads/master | 2021-05-29T10:20:58.270449 | 2015-02-23T20:09:38 | 2015-02-23T20:09:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,765 | cpp | main.cpp | #include "Globals.h"
#include "framework/Framework.h"
#include "Tile.h"
void CreateGrid();
void LoadGridEdges();
void Destroy();
Tile* GetTile(int a_row, int a_col);
const int GRID_ROWS = 10;
const int GRID_COLS = 10;
std::vector<Tile*> grid;
int main()
{
CreateGrid();
Tile* t = GetTile(3, 7);
Framework frk;
f... |
eb792867c039757039fe921acbb6792e6b12e3d0 | f859836d9bc4688d4881f117417b6c71f6b5e09f | /third_party/wpilibsuite/allwpilib/wpilibc/src/test/native/cpp/MockSpeedController.cpp | 875fec1d42514240354ba0638d89b481ab19e039 | [
"BSD-3-Clause",
"MIT"
] | permissive | aakamishra/robot-code-public | 163c8c484e2e77d66e6f81804cdb80721f1c0653 | 439864b4701fb2068a5c5932356cbc5aacc61d1d | refs/heads/master | 2020-09-22T06:07:51.905224 | 2019-11-30T22:58:10 | 2019-11-30T22:58:10 | 225,080,034 | 0 | 0 | MIT | 2019-11-30T22:55:49 | 2019-11-30T22:55:49 | null | UTF-8 | C++ | false | false | 1,032 | cpp | MockSpeedController.cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
c38d8fc52d7b712c85a95635480b955bece7b902 | 39f0138d12a5bed64e2c5d16a10fd63be4b3e3c6 | /node.cpp | d9830df5ac4c41339d8944fbe302072bc95570d1 | [] | no_license | ecenm/sim | 5a025759289d5abbd808332175fd24d732b0280b | ff7034daf9b8e400e2b7eefd3d177384b2677b25 | refs/heads/master | 2021-01-21T14:02:14.395981 | 2016-05-09T14:54:58 | 2016-05-09T14:54:58 | 49,063,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,691 | cpp | node.cpp | #include "node.h"
#include "factory.h"
#include "params.h"
extern DCExpParams params;
Node::Node(uint32_t id, uint32_t type) {
this->id = id;
this->type = type;
}
// TODO FIX superclass constructor
Host::Host(uint32_t id, double rate, uint32_t queue_size, uint32_t queue_type, uint32_t host_type, int locati... |
b19167442b6e8f2c208e80c826b3d1129ac852b8 | 687bccfa22d3f0b184bc04b8a4ba4b4b2d5e7a24 | /include/agf/Entity.h | 1ef317e3e9637689e13fc01bf79700da18bd8981 | [] | no_license | wilkss/another-game-framework | 589d9c81c57be5aac77df997c90f941e0cd54c2e | 286b17827c4ee6ee9b795beb77d31e242720e144 | refs/heads/master | 2020-04-14T13:57:16.490478 | 2019-01-02T19:58:07 | 2019-01-02T19:58:07 | 163,883,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | h | Entity.h | #pragma once
#include <glm/glm.hpp>
#include <vector>
namespace agf {
class Component;
class Entity
{
public:
Entity(const std::string& name, const glm::vec3& position = glm::vec3(0.0f), const glm::vec3& rotation = glm::vec3(0.0f), const glm::vec3& scale = glm::vec3(1.0f));
~Entity();
void AddComponent(... |
09b43b6d5007961fcf7de2821d4d5bce8086a1bc | 6bc995f614acdd9d9ae51cdcf25075e63af8599a | /Btree/mainwindow.h | f0a8bd0681fd9489f5df164f5cb44f871816cc65 | [] | no_license | gringo-04/Crossplatform-Programming | f545064449a306e40460124d9e0b6080c08fbba1 | 4f9ca203e2dd34cc37911d8f840f7ed56827b198 | refs/heads/master | 2021-08-22T07:24:22.963933 | 2017-11-29T16:08:36 | 2017-11-29T16:08:36 | 112,481,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QWidget>
#include <QPainter>
#include <QMessageBox>
#include <QLabel>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
... |
16c13362e1a3834123fbb0cb8f03dfb7309538c4 | dc93125d44b9f271715d5bf44a882a1dadd611aa | /Using_CPP11/9_packaged_task.cpp | 6ca66450bed94f799d239bfc22722b5bef660b6c | [
"Apache-2.0"
] | permissive | tarunkp/MultiThreading | 93b9432614f7ddd6e4c15d3dc2640b3a1bf5510b | e4eb145248ff76e3b2f190a855b3607c2eb33c49 | refs/heads/master | 2020-07-03T00:13:01.679768 | 2019-08-31T21:51:36 | 2019-08-31T21:51:36 | 201,720,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,117 | cpp | 9_packaged_task.cpp | // https://thispointer.com/c11-multithreading-part-10-packaged_task-example-and-tutorial/
//
// Consider scenario where a function is used synchronously, and it is needed to be used asynchronously.
// If we use promise and future, then we will need to change the interface of the function to pass promise.
// std::packag... |
63c586ef86bbe0d795e738ee03b36b6712e6b2f5 | c418116d3e89b5bacf8c97334a57502e44cba7f9 | /CUGBLinker/deletecombobox.h | 067844624e9df8a14c7644cfb4470f5b150bbfb6 | [] | no_license | dinglx/cugblinker-qt | 104efcbc0872bb799a99761800718a5a7724de82 | 4ba60d5fbfa6bf7a4657579583fa175d74e57dfb | refs/heads/master | 2021-01-16T23:14:47.361857 | 2010-03-18T02:50:09 | 2010-03-18T02:50:09 | 32,516,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | deletecombobox.h | #ifndef DELETECOMBOBOX_H
#define DELETECOMBOBOX_H
#include <QWidget>
#include <QComboBox>
class DeleteComboBox : public QComboBox
{
Q_OBJECT
public:
explicit DeleteComboBox(QWidget *parent = 0);
signals:
public slots:
void onDeleteItem(QString text);
void onHighLighted(QString text);
... |
63cef689863ce695e7095907a7ecc1e0d17a2753 | fe2443aba176535322e06a7f92e19821c86ccb04 | /LeeCourse1/src/LeeCourse1ActionInitialization.cc | 7db057e8ef77683f25cae2b031710d8b32d3a025 | [] | no_license | John-Philippe/Geant4-jiaocheng | 0ead57e18efd20181ce35e8c57f1d8ae139a490a | ab940f5346fdf80c52d7c86cf1af52965566dcdf | refs/heads/master | 2023-03-16T22:02:46.817517 | 2020-04-28T17:53:47 | 2020-04-28T17:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | cc | LeeCourse1ActionInitialization.cc | // LeeCourse1ActionInitialization.cc ---
//
// Filename: LeeCourse1ActionInitialization.cc
// Description:
// Author: Li Hui,李会
// Maintainer:
// Created: 一 9月 16 22:23:37 2019 (+0800)
// Version:
// Package-Requires: ()
// Last-Updated: 一 9月 16 22:46:36 2019 (+0800)
// By: Li Hui,李会
// Update #: 4
/... |
fae67538c6717db2c9de1c978c4f2ef9b64d55e0 | d8eb1f8419507940d2e5505411cc89e7bc282cae | /playground/PlaygroundSDK/src/pcomponentproperties.cpp | 561e46057dd33fe1e47c3b3c038b05e1e1890532 | [] | no_license | OndraVoves/BackGenEngine | 34905865ac2896471cc5ad9c1cf4e393a33bb631 | bec51508ab0c43d5898c87a4649df0f9d567fcbf | refs/heads/master | 2021-01-20T08:46:32.547364 | 2015-08-26T19:53:48 | 2015-08-26T19:53:48 | 41,446,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | pcomponentproperties.cpp | #include "../include/pcomponentproperties.h"
PComponentProperties::PComponentProperties ( BackGenEngine::BAbstractComponent *pc_component, PActualProject *pc_actual_project ) :
QWidget ( 0 ), pcActualProject ( pc_actual_project ) {
}
PActualProject *PComponentProperties::project() {
return pcActualProject;
}
|
e04a12bd618bcbe492d6f0bbed3752759cbbe7ef | 3a19dadbc4dda570bdd5714f2c62b8ff1250d66a | /Camera/src/Camera.cpp | 83f900fa0cbff5756ec3d0adedea447a2adeaa87 | [
"MIT"
] | permissive | jl17432/COMS30020 | 264cbd8c7ca6c108b6fc0f7acdc5d06775002682 | d7b5050b6d66c7f77963de25cdf972b3d4a6eb98 | refs/heads/main | 2023-07-14T13:23:51.135504 | 2021-08-18T11:54:36 | 2021-08-18T11:54:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,195 | cpp | Camera.cpp | #include <CanvasTriangle.h>
#include <ModelTriangle.h>
#include <CanvasPoint.h>
#include <TextureMap.h>
#include <Colour.h>
#include <DrawingWindow.h>
#include <Utils.h>
#include <utility>
#include <fstream>
#include <vector>
#include <glm/glm.hpp>
#include <glm/gtx/string_cast.hpp>
#include <unordered_map>... |
b296206853ec87abbb511abcf74a09d33cf2c7fa | ddca95269478743a9697c1c3224b8a983c5eb3b9 | /LeetCode/81. Search in Rotated Sorted Array II.cpp | 3f9396ed2e045b40836b7378bbecabbd30c9ac9c | [] | no_license | hijkzzz/leetcode | d265bd4b6548b84cc91ca65d2e50f500eea33100 | 135003500fa25f47a45ded87f360ab40ed9cc35f | refs/heads/master | 2021-10-23T20:55:21.334513 | 2018-08-25T08:58:48 | 2018-08-25T08:58:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | 81. Search in Rotated Sorted Array II.cpp | // Yes, when there could be duplicates in the array, the worst case is O(n).
//
// To explain why, consider this sorted array 1111115, which is rotated to 1151111.
//
// Assume left = 0 and mid = 3, and the target we want to search for is 5. Therefore, the condition A[left] == A[mid] holds true, which leaves us with on... |
9a2bdf650c14ec19cf9710406bddc8715450ca6a | aefe49ac682d6391a096d24142a5dbd99fc68358 | /allTest.cpp | 5c00ce7590ee967ac277106b5fc342db90e6b125 | [] | no_license | Laion459/MASTERMIND2_0 | b04536a6654f0f6d85444346cadab3f53e29861b | eb0e505b5225124ba57e8ac7f891e3ed8c96f398 | refs/heads/master | 2023-03-30T23:35:34.880482 | 2021-04-07T21:33:26 | 2021-04-07T21:33:26 | 351,586,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | allTest.cpp | #include "allTest.h"
void playGame(){
//welcom();
//testNumberRandomKey();
//testKeySystem();
//testinputPlayerRandom();
//testWin();
runGame();
}
|
ae386aeb49f643327d986f66548e7f130e3cfa44 | cfda967d1ee249c263c809f4c558ba841ff5b875 | /Cache/cachecouponseria.h | da8a291d788859eea47cea70a45b5218786f7331 | [] | no_license | End1-1/Resort | 6f217475b3a51b4ec8c321430a1ddebbde1277de | e4c128ad689ea0e218353ddae50dbb430edab595 | refs/heads/master | 2023-08-23T18:29:48.413708 | 2023-08-14T06:38:48 | 2023-08-14T06:38:48 | 151,435,576 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | cachecouponseria.h | #ifndef CACHECOUPONSERIA_H
#define CACHECOUPONSERIA_H
#include "cachebasestruct.h"
#define cid_coupon_seria 109
class CacheCouponSeria : public CacheBaseStruct
{
public:
CacheCouponSeria();
inline QString fCode() { return getString("f_id"); }
inline QString fName() { return getString("f_name"); }
in... |
17fd269e19b6677792c1e0bdf109741b9e2dd964 | e269905023cdc8041f6d7bc138716858d9b2d26d | /terrain-demo/src/scene.cpp | 98d433d4a2b508010a412edbe1711a5c701c99bf | [] | no_license | marni/roll-the-ball | 41b8734e0acd35f12584933269fceb1281b060f2 | 235e2972c6222c2aec0765e842e83088faacff5c | refs/heads/master | 2020-11-26T23:19:46.172816 | 2014-12-25T08:29:13 | 2014-12-25T08:29:13 | 5,323,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,756 | cpp | scene.cpp | //
// scene.cpp
// terrain-demo
//
// Created by Mariusz Nowostawski on 14/12/14.
// Copyright (c) 2014 Mariusz Nowostawski. All rights reserved.
//
#include "scene.h"
#include "vbo.h"
#include "hgtloader.h"
Scene::Scene()
{
}
Scene::~Scene()
{
delete heightdata;
}
void Scene::onInit()
{
/*/
... |
aeaa2df46fcb63d79bdde824b943c106060ca50e | 406861b91b7e28fa7b602834575229dc90426902 | /src/Layer.h | 1511cd0dec49d5c7160e02394f77f9ec2aacdc5d | [] | no_license | lijin456/falcon-public | 1696f65b3aa29045749c81097aa87ef96dcf36b7 | b227f78b92a9d5db5d8891f8b17b016d7d04ddef | refs/heads/master | 2023-03-23T11:21:18.989998 | 2021-03-15T17:45:56 | 2021-03-15T17:45:56 | 414,138,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | Layer.h |
#pragma once
#include "globals.h"
class Layer
{
public:
int layerNum = 0;
Layer(int _layerNum): layerNum(_layerNum) {};
//Virtual functions
virtual void printLayer() {};
virtual void forward(const RSSVectorMyType& inputActivation) {};
virtual void computeDelta(RSSVectorMyType& prevDelta) {};
virtual void upd... |
69fd732cae0f40d8337d7abf0ccf6c172d7d0cad | 8e47c3e7cce62a2de86fd5e66c20a0c2479a9205 | /Projekt/uczen.cpp | c92a4cef5a83acdbc6c9376fc74baf2ded3abae2 | [] | no_license | IchiruSan/Baza-danych | 040b0bf648f2328d28210ee26a7f0e1aa5187155 | d0edf0ab737c0912c8f7a0df77152fa958f988ad | refs/heads/master | 2020-04-01T17:28:21.362454 | 2018-10-23T17:37:40 | 2018-10-23T17:37:40 | 153,431,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | uczen.cpp | #include "uczen.h"
void uczen::setImie(QString im)
{
if(im==imie1)return;
imie1=im;
emit imieChanged();
}
void uczen::setNazwisko(QString na)
{
if(na==nazwisko1)return;
nazwisko1=na;
emit nazwiskoChanged();
}
void uczen::setKlasa(int kl)
{
if(kl==klasa1)return;
klas... |
eb1caefe9204d3fa52a7f0821d7c5f60379af861 | 2a1e4deb8341dea2c21f9609f137f04a2d961cdf | /inc/motionCompensate.hpp | b8dab53fa63a91597ae6246abd2be5d7a7f2769f | [] | no_license | tianxiejack/qr_gpu_stb | 203b38b5a212ce7ff54946233d60526bc2d57c8f | a8af36f68fed2d3a662f07e05bf273e0ccb1c631 | refs/heads/master | 2020-03-16T17:26:50.517156 | 2018-03-27T02:30:20 | 2018-03-27T02:30:20 | 132,832,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | hpp | motionCompensate.hpp | #ifndef MOTIONCOMPENSATE_HPP_
#define MOTIONCOMPENSATE_HPP_
void RotImg(unsigned char *forg,unsigned char *frot,int i_width,int i_height,float s_cos,float s_sin,float dx,float dy);
void MotionProcess(CStability* mcs,Mat src,Mat dst,uchar mode);
void Rotate_Tradition2(int x, int y, affine_param *ap, float *px1, ... |
b449eb1ce6fbabb7655020c787ceb03a6174f68c | 977f3440608af0c33622d1be182f14ea64212208 | /Hw2/NYUCodebase/main.cpp | 77a7741ae8f977f455cd0e761f58e243a313bb70 | [] | no_license | kevinhu98/CS3113 | 031409b3aff14ac50e60cdee2718efff18f1229c | 28d94ef5121d2f496fac67496ef92ef8b396f7a1 | refs/heads/master | 2021-09-13T05:45:18.763013 | 2018-04-25T15:45:06 | 2018-04-25T15:45:06 | 118,691,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,921 | cpp | main.cpp | #ifdef _WINDOWS
#include <GL/glew.h>
#endif
#include <SDL.h>
#include <SDL_opengl.h>
#include <SDL_image.h>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include "ShaderProgram.h"
#ifdef _WINDOWS
#define RESOURCE_FOLDER ""
#else
#define RESOURCE_FOLDER "NYUCodebase.app/Contents/Resources/"
#endif
SDL_Windo... |
2b9b881cf82ce8ef9e735b35ab4f641c5e197e4c | 20b49a6ef1fa417d67abef2d29a598c9e41c478e | /CodeForces/1400-1600/drazilAndFactorial.cpp | fe89d7b5c8e8da3f15ea0030560c2522c9a1f103 | [] | no_license | switchpiggy/Competitive_Programming | 956dac4a71fdf65de2959dd142a2032e2f0710e1 | beaaae4ece70889b0af1494d68c630a6e053558a | refs/heads/master | 2023-04-15T19:13:12.348433 | 2021-04-04T06:12:29 | 2021-04-04T06:12:29 | 290,905,106 | 1 | 3 | null | 2020-10-05T20:16:53 | 2020-08-27T23:38:48 | C++ | UTF-8 | C++ | false | false | 250 | cpp | drazilAndFactorial.cpp | #include <bits/stdc++.h>
using namespace std;
string ans, M[] = {"","","2","3","322","5","53","7","7222","7332"};
long long a;
int main()
{
cin>>a>>a;
while(a)
ans += M[a%10], a/=10;
sort(ans.rbegin(),ans.rend());
cout<<ans;
} |
8c99bb80202691a38e3532b31385bb3d4ce68e01 | 6d475afb4d39555d9e36a0025b5cdface2ab371a | /arrzulu/main.cpp | 99d75699e6066c551da47c942a8a3540ec8bac82 | [] | no_license | DaisyHax/My-Codes | dc30135f10eb880a0aeda9eb526dabeb7265ac60 | fbc517328399726994164c0298c4d18bc25ae1d7 | refs/heads/master | 2021-08-29T19:41:19.385002 | 2017-12-14T17:28:38 | 2017-12-14T17:28:38 | 114,290,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | main.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
long long int n,a[200001],maxim=0;
stack<long int> s;
scanf("%d",&t);
while(t--)
{
scanf("%ld",&n);
for(long int i=0;i<n;i++)
{
scanf("%ld",&a[i]);
}
s.push(abs(a[0]-a[1]));
... |
f6bd878b5dc6bdd38849ef4d6a7b5e34508d2ebc | fe7b1e7729a06e7294f14d3a504409dbc03ca9bb | /DK.cpp | 1c7d696968018fc1b90458e98141194d3de43707 | [] | no_license | demandre/donkey-kong-cpp | 382a440009a7092be02859c65131d80dbe441f9f | 64b915fa38d08d16d32bd5f625c8fe6e1c364c2e | refs/heads/master | 2022-11-13T00:02:36.128550 | 2020-07-10T23:00:43 | 2020-07-10T23:01:13 | 279,153,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33 | cpp | DK.cpp | #include "pch.h"
#include "DK.h"
|
2ca9c9dab406d1d7bcb54deb3a0a3bd39ee5742d | 12633cba8ee8702df840b33e5f6b62302d591da3 | /ws_test/Classes/Native/Il2CppCompilerCalculateTypeValues1.cpp | a77d75abd34c842d79d05de82f004efb5b6de74a | [] | no_license | angelcch3/ws_standalone | 0086df88a00d7af2606ef3b8f551febd26457164 | 8c239e71ef858c03ffeb98c8f09b33ff463cdc03 | refs/heads/master | 2020-08-05T19:43:52.566330 | 2019-10-05T23:58:28 | 2019-10-05T23:58:28 | 212,681,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,731,125 | cpp | Il2CppCompilerCalculateTypeValues1.cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... |
ae30943f195b613dd0d3f6da78a4dca88b136274 | c9614a38e16c4ae76d553f73e7aab6c88023290b | /lib/AST/RequirementMachine/GeneratingConformances.cpp | 3676c5713e2e54aefd22856cc4d91a11e9229abd | [
"Apache-2.0",
"Swift-exception"
] | permissive | acamcor/swift | 147a813e3a69c1e497fff380b288cc99c2172401 | 83c023446a8836507e32aa7b88e50e6e0caa5b9b | refs/heads/main | 2023-08-23T02:30:46.556090 | 2021-09-30T17:20:08 | 2021-09-30T17:20:08 | 412,176,688 | 0 | 0 | Apache-2.0 | 2021-09-30T18:21:24 | 2021-09-30T18:21:23 | null | UTF-8 | C++ | false | false | 12,040 | cpp | GeneratingConformances.cpp | //===--- GeneratingConformances.cpp - Reasoning about conformance rules ---===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2021 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.... |
894765949e6129a87378af0ed1ed8467741d013c | 32471e5367e92966c9126e0d0de27dcb7935abda | /07_ll_trees/FifthFromEnd.cc | ef709d0ed761a08398776fa3631cbaf5a211d46b | [] | no_license | coding-blocks-archives/algo17winter-dwk | 59256abaaffb19e4d3aa7a20a9f9a7e0886b46dd | 8012875b3901b3e87f8c8c3ec44121be46117e3f | refs/heads/master | 2021-09-05T10:51:47.300630 | 2018-01-26T16:07:54 | 2018-01-26T16:07:54 | 112,652,697 | 2 | 3 | null | 2017-12-01T03:31:18 | 2017-11-30T19:41:19 | null | UTF-8 | C++ | false | false | 2,572 | cc | FifthFromEnd.cc | #include <iostream>
using namespace std;
class Node {
public:
int data;
Node* next;
};
Node* createLL() {
Node* head = NULL;
Node* tail = NULL;
int x;
while (true) {
cin >> x;
if (x == -1) break;
Node* curNode = new Node;
// curNode.data = x;
(*curNode)... |
7784f40bb12a47826da719e6c8442710cda3737e | babe2a67db96780e56fa73f30350b79c49905f72 | /anms/TickMeter.h | a3e2ccdf6c813c67e23782d8d64da888c4e4a135 | [] | no_license | cvidkal/OpenCV-complement | ddfb7c58bb1f3bede93877b88e61e1d7760dd10b | 5848042b200db224888673baa5fabd5d83859c93 | refs/heads/master | 2021-01-01T19:34:28.037084 | 2015-06-29T06:52:26 | 2015-06-29T06:52:26 | 37,460,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | h | TickMeter.h | #ifndef _TICK_METER_H_
#define _TICK_METER_H_
#include <opencv2\opencv.hpp>
class TickMeter
{
public:
TickMeter();
void start();
void stop();
__int64 getTimeTicks() const;
double getTimeMicro() const;
double getTimeMilli() const;
double getTimeSec() const;
__int64 getCounter() const;
void reset();
privat... |
7d9d83272c6443d276033fdebd4858080211f9fc | c31ee8136a57a96649196081e1cfde0676c2a481 | /larcv/app/ThreadIO/BatchHolder.h | 1c03c729402c203bc3e384d4cefa0642d47459dd | [
"MIT"
] | permissive | DeepLearnPhysics/larcv2 | b12b46168e5c6795c70461c9495e29b427cd88b5 | 31863c9b094a09db2a0286cfbb63ccd2f161e14d | refs/heads/develop | 2023-06-11T03:15:51.679864 | 2023-05-30T17:51:19 | 2023-05-30T17:51:19 | 107,551,725 | 16 | 19 | MIT | 2023-04-10T10:15:13 | 2017-10-19T13:42:39 | C++ | UTF-8 | C++ | false | false | 1,068 | h | BatchHolder.h | /**
* \file BatchHolder.h
*
* \ingroup ThreadIO
*
* \brief Class def header for a class BatchHolder
*
* @author kazuhiro
*/
/** \addtogroup ThreadIO
@{*/
#ifndef __BATCHHOLDER_H__
#define __BATCHHOLDER_H__
#include "larcv/core/Processor/ProcessBase.h"
#include "ThreadIOTypes.h"
namespace larcv {
class... |
7642645ef0f95aabb3ca68c3f733e0fd91d7bd52 | 26a4c0a16ca315c3618e9db04c7d6a0cdb2ddaf5 | /networkplaygroundclient/include/graphics/TextureManager.h | 85b49e82be4f42fbc6ea59b40f060b107e76c93f | [] | no_license | notbaab/networkplayground | d721618794d56dcee5bf4ba91837de9ffc99e5e4 | e1f70371cbcbd2637e6295d86ba7a9e8e3b7120a | refs/heads/master | 2021-09-25T04:19:20.063929 | 2018-10-18T03:41:00 | 2018-10-18T03:41:00 | 51,873,909 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | TextureManager.h | #include <cstdint>
#include <graphics/Texture.h>
#include <string>
#include <unordered_map>
#include <vector>
#ifndef TextureManager_h
#define TextureManager_h
class TextureManager
{
public:
static void StaticInit();
static std::unique_ptr<TextureManager> sInstance;
TexturePtr GetTexture(const std::st... |
4cc1d9d5241c9f1cffc092c7a8425e66a6fe9c2f | 6a16318ae41875c771477a1279044cdc8fc11c83 | /Horoscopes/src/managers/serializer/serializer.h | 586b916a76e06400cf19768779f8b23fe653e4d4 | [] | no_license | JasF/horoscopes | 81c5ad2e9809c67d16606a2e918fd96b0450dbee | 880fdf92d6cd48a808e24928dc54a106bda34ce6 | refs/heads/master | 2021-09-10T13:43:46.246063 | 2018-03-27T06:24:02 | 2018-03-27T06:24:02 | 118,770,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | h | serializer.h | //
// serializer.h
// Horoscopes
//
// Created by Jasf on 29.10.2017.
// Copyright © 2017 Freedom. All rights reserved.
//
#ifndef serializer_h
#define serializer_h
#include "base/horobase.h"
namespace horo {
class _Serializer {
public:
virtual ~_Serializer() {}
public:
virtual voi... |
fdec38c85d6d60611085cb30822bd3f98de32650 | c11930d68fb07c16bb71bd87ad1887fb6f219799 | /Strings/26. Convert Roman Numerals to Decimal.cpp | 5cf123ea9886ccfd25648dcc0543a759ad879663 | [] | no_license | vbhv17/DSA-Questions | 3ea345b80ea71f96629c5ed3f075e4abcc689e0f | 20b0a463a56f2bfbe6ed86c2357a60f22d708f3b | refs/heads/main | 2023-07-17T01:28:03.435410 | 2021-08-31T08:20:56 | 2021-08-31T08:20:56 | 340,821,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | 26. Convert Roman Numerals to Decimal.cpp | https://www.youtube.com/watch?v=KwrAArXFF30&ab_channel=CodeWhoop
int val(char c) {
switch (c) {
case 'I':
return 1;
case 'V':
return 5;
case 'X':
return 10;
case 'L':
return 50;
case 'C':
return 100;
case 'D':
return 500;
case 'M':
return 1000;
}
}
int romanToDecimal(str... |
0628e020ff52be0fb642034c844287e6d4513aad | fd51502e83cd2609b85fa7127d0818b284ee02c4 | /opengl_test/include/RenderingModels/rmText2D.cpp | 378fd83ca977497db09a146081e8d679554d8bed | [
"MIT"
] | permissive | Benson516/opengl_test_ROS | 759f53e82e4513a1ff11fe82db6601dab3211d0e | 830b6fef71cc7bc09889084750502cf652504af7 | refs/heads/master | 2020-05-30T04:01:04.304862 | 2020-05-14T18:47:57 | 2020-05-14T18:47:57 | 189,523,279 | 0 | 0 | null | 2020-05-14T18:47:58 | 2019-05-31T03:44:56 | C++ | UTF-8 | C++ | false | false | 2,738 | cpp | rmText2D.cpp | #include "rmText2D.h"
void *font2D = GLUT_BITMAP_TIMES_ROMAN_24;
void *fonts2D[] =
{
GLUT_BITMAP_8_BY_13,
GLUT_BITMAP_9_BY_15,
GLUT_BITMAP_TIMES_ROMAN_10,
GLUT_BITMAP_TIMES_ROMAN_24,
GLUT_BITMAP_HELVETICA_10,
GLUT_BITMAP_HELVETICA_12,
GLUT_BITMAP_HELVETICA_18
};
rmText2D:... |
f1a0898d239a62f8f6ce34d2b8450ea7eb3e110e | e1876272c5405efe78514263de88c9e8303606c8 | /inheritance1.cpp | b7b9f7267f38469d331213abac365fce59e08587 | [] | no_license | SujonHossain1/c-plus-plus | 35ab43b24b20d3414f40ae974118b6e0fede076f | 932f5f0ec2ed9d02764d7f35a225722a95b14e57 | refs/heads/master | 2022-12-14T17:25:23.368237 | 2020-09-17T11:17:25 | 2020-09-17T11:17:25 | 274,623,271 | 0 | 0 | null | 2020-06-24T19:53:54 | 2020-06-24T09:01:41 | C++ | UTF-8 | C++ | false | false | 1,471 | cpp | inheritance1.cpp | /**
* Defination: Inheritance is one of the feature of Object Oriented Programming System(OOPs), it allows the child class to acquire the properties (the data members) and functionality (the member functions) of parent class.
*
*
*
Syntax of Inheritance:
class parent_class
{
//Body of parent... |
87069fc7bfad4ed20695c440ad8f92fc242d3b83 | 7d26e96f1dab6955fc96cf0eb69018deb8a31fe7 | /source/engine/adl_resource/adlTexture.cpp | 909edaf2ada1a33f4e068e7a567ba6b11ae69257 | [
"MIT"
] | permissive | AtakanFire/adlGame | 9220d3ea98e6e7ff9cf996bd9f38eac968253c42 | d617988b166c1cdd50dd7acb26507231a502a537 | refs/heads/master | 2020-04-03T12:37:47.862949 | 2019-06-14T17:38:28 | 2019-06-14T17:38:28 | 155,257,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | adlTexture.cpp | #include "adlTexture.h"
adlTexture::adlTexture()
{
glGenTextures(1, &texture_id_);
glGenTextures(1, &specular_map_id_);
}
adlTexture::~adlTexture()
{
}
unsigned int adlTexture::get_id()
{
return texture_id_;
}
unsigned int adlTexture::get_specular_map_id()
{
return specular_map_id_;
}
void adlTexture::reload... |
683d5fd9b7a07465e148e094f7ef4fa4e2f31969 | 769eb80c69155583d24a5194be72eb586dde5b1f | /tensorhell/standard/test_interop_eigen_inversion1.cpp | 8e2f7daf1ab332dde67d73db8270328c716ec4c6 | [
"Apache-2.0"
] | permissive | imclab/tensorheaven | 88464fe8b02221d66db9c9878c24aa46413790e8 | 4bdf06bb376314ca43c65c06efcd9c5863ef7acd | refs/heads/master | 2020-05-20T19:26:02.474133 | 2015-04-17T00:31:20 | 2015-04-17T00:31:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | test_interop_eigen_inversion1.cpp | // ///////////////////////////////////////////////////////////////////////////
// test_interop_eigen_inversion1.cpp by Victor Dods, created 2013/04/13
// Copyright Leap Motion Inc.
// ///////////////////////////////////////////////////////////////////////////
#include "test_interop_eigen_inversion.hpp"
namespace Test... |
a41ae03e23a9c065ee670c8b18c54ad8199b607a | 7c3ee199012d6e5234a2fb0634293d7330fe59bd | /SSD_hw_platforms/gem5/extra_sim_objects/iSSDHostInterface.hh | 97493d2ccc2cf465046e2b0301f6c87749d7f83b | [] | no_license | jiwonlee-dev/s4sim | 44ba7e76038381a177c9610ce33ee3fb6f1f3a25 | 953b19df65e7746d812a65850d3267575e3dfdfc | refs/heads/master | 2021-09-28T13:02:28.691962 | 2018-08-25T01:07:48 | 2018-08-25T01:07:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | hh | iSSDHostInterface.hh |
//#define print_src_line fprintf(sim_verbose_fd, " %s : %u \n", __FUNCTION__ ,__LINE__ );fflush(sim_verbose_fd);
#define print_src_line
#ifndef __DEV_ARM_iSSDHostinterface_HH__
#define __DEV_ARM_iSSDHostinterface_HH__
#include <queue>
#include <deque>
#include "base/addr_range.hh"
#include "base/bitfield.hh"
#inc... |
fa8ef8a8f803b9b33d8c3aa321b6a5868dfa55cb | 62979f266e1793e90f1ead05f7312affbe9e83ab | /Source/Bliss/Private/IPlayerCameraManager.cpp | 85ae533c1ac859b4ec7c427e3a44f3463f938626 | [] | no_license | muhammadmoizulhaq/ue4_template | 9b7f1dc897d97d4e7e218b6c688f9eabec22668c | 4b1013766c364376da93de0c448a4ecab5138595 | refs/heads/master | 2023-03-21T14:30:47.552487 | 2019-08-05T23:56:38 | 2019-08-05T23:56:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | IPlayerCameraManager.cpp | // Copyright 2018, Colby Hall. All Rights Reserved.
#include "IPlayerCameraManager.h"
AIPlayerCameraManager::AIPlayerCameraManager()
{
ViewPitchMax = 90.f;
ViewPitchMin = -70.f;
}
|
eae50960fdffffa5c3457bdebeb0baba2f659ea2 | 9b21d065b183d0f714129bf5d5f1be747f56039f | /include/tlnc/expressions/detail/scalar_function.hpp | 094e5ddd09fd6b637b4021bc7507233101fd5ea5 | [] | no_license | quartorz/tlnc | 2336581d55ee2ffe892619ac766ef9d1d3891bd7 | 4fcf29d2f5924323cd911d72ee8e4607e98b5742 | refs/heads/master | 2021-01-10T21:48:42.947442 | 2015-12-19T18:05:58 | 2015-12-19T18:05:58 | 38,970,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,898 | hpp | scalar_function.hpp | #pragma once
#include <cstdint>
#include <type_traits>
#include <bcl/tuple.hpp>
#include <tlnc/traits.hpp>
#include <tlnc/generic.hpp>
#include <tlnc/expressions/detail/make_memo.hpp>
#include <tlnc/expressions/detail/memo_find.hpp>
#define TLNC_SCALAR_FUNCTION(name, ...)\
namespace tlnc{\
namespace expressions{... |
afedb69f587f6e775ecdfab772d1ef1689fc5d1e | 3059b388ef9bf2b7d81265f2a418bf3e360fb235 | /Gep/Source/win32/ddraw/ddsurface.cpp | c17427ba7c98dd560422600167800abb35b9cc24 | [
"MIT"
] | permissive | iaddis/SNESticle | 4486e560e3c8ee0d1d8993955f1394e0edc4b38f | 9590ebf3bf768424ebd6cb018f322e724a7aade3 | refs/heads/main | 2023-09-03T13:19:59.494801 | 2022-01-13T07:59:38 | 2022-01-13T07:59:38 | 447,509,804 | 341 | 51 | null | null | null | null | UTF-8 | C++ | false | false | 3,280 | cpp | ddsurface.cpp |
#include <ddraw.h>
#include "types.h"
#include "winddraw.h"
#include "ddsurface.h"
#include "console.h"
static void _DecomposeMask(Uint32 uMask, Uint8 &uShift, Uint8 &nBits)
{
Uint32 uBit = 1;
// get shift amount
uShift=0;
while ( !(uMask&uBit) && uBit)
{
uShift++;
uBit<<=1;
}
uShift&=31... |
0eac376511ba304869c767093b513b92aeafd2b4 | b534758541a11669239c8c20e548c0e5060066c8 | /ENGN2912/Assignment3/hw3Tests/01_ClassesTests/testMatrix2x2.cpp | 09cb9ec47210e89a251162f5f78afc447c9ea1e2 | [] | no_license | chang-1/BrownUniversity | abe74183bdff6876f11324eb5510df4ef6abe7cc | f57edf1fcf9e4a06a7a244cc8cfb8793bd2fc42b | refs/heads/master | 2022-11-24T00:10:01.622516 | 2020-07-26T02:03:48 | 2020-07-26T02:03:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,456 | cpp | testMatrix2x2.cpp | #include <vector>
#include <string>
#include "gtest/gtest.h"
#include "Matrix2x2.h"
using namespace std;
TEST(hw3ClassesTests, DetTest){
bool testFlag;
int currentPoints_Matrix = 0;
int maxPoints = 5;
testFlag = true;
Matrix2x2 A(3.0, 2.0, 1.0, 3.0);
double d = A.Det();
EXPECT_NEAR(7, d... |
63c6bc18397df2b575f9c41b2c4eb3bfce35086c | 0fa38286cea2f9e2ae7fd91c4b0af8ab7ad57c2a | /include/sfv_net.hpp | 8a232879cb2594992bba15ed0102362beaec7e47 | [] | no_license | SimonFV/MMO-Network-Cpp | 8cc3189dc7222b97d02d3035bf09b505b0e87dfd | 8f73c315fa2d5392bb2dd8e2fa3165df307c40ec | refs/heads/main | 2022-12-31T06:17:13.493179 | 2020-10-19T22:57:37 | 2020-10-19T22:57:37 | 303,536,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | hpp | sfv_net.hpp | #pragma once
#include "net_common.hpp"
#include "net_message.hpp"
#include "net_thr_safe_queue.hpp"
#include "net_connection.hpp"
#include "net_server.hpp"
#include "net_client.hpp"
|
5f7d679edbea8a017e6937776985c956b4dd895b | 2b721d0e6d9ada23668d02ee14e83219a1ee0f48 | /source/libguiex_widget/guiwgtmultieditbox.cpp | a4d52802d0c3b573c090853fe05e6df9b55d8d52 | [] | no_license | lougithub/libguiex | fef2165e06f3adb66295aac2cf5f0be24dd47d46 | 30cf061a40a4c113b58765dc3aeacddc4521a034 | refs/heads/master | 2016-09-10T10:20:48.122440 | 2014-06-11T14:17:56 | 2014-06-11T14:17:56 | 2,423,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,415 | cpp | guiwgtmultieditbox.cpp | /**
* @file guiwgtmultieditbox.cpp
* @brief multi lineeditbox used in this system
* @author ken
* @date 2007-06-27
*/
//============================================================================//
// include
//============================================================================//
#include "guiwg... |
93bbd8c031c2cd31bcc4c4c3d68e9682fe005658 | 4ea24a91f82973f9c79d4650522d5250232218e5 | /test_lldb_values.cpp | 7b27e2764c775b927b05a967b1108ed72377f5b7 | [] | no_license | Twiebs/debugger | ae9ce1c2c1b64cdc8fc888c967cd7c8b6adadef3 | 0ed22cce7e457d95600c68bfb6aaa07cb326aeda | refs/heads/master | 2020-12-30T13:22:14.591564 | 2017-05-14T01:20:56 | 2017-05-14T01:20:56 | 91,211,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | test_lldb_values.cpp |
#define ARRAYCOUNT(a) (sizeof(a) / sizeof(*a))
#define log_debug(...) printf(__VA_ARGS__); printf("\n")
#define log_error(...) printf(__VA_ARGS__); printf("\n")
#define log_info(...) printf(__VA_ARGS__); printf("\n")
#include "lldb_backend.cpp"
int main() {
DebugContext debugContext = {};
lldb_initialize(&... |
8035f53462e740813a12c039e54fce1d28dbe4c7 | e599837d54e27f72fd1eb8dddb53dc700ee2c754 | /Сысоев/base/stack.h | d516b33eea8906bfc69d7e492bacef7f495e28b6 | [] | no_license | GorbunovaVI/mp2-lab3-postfix | 324444750a8bbba4408af5d9a47073e49c8b2649 | 66f50181b61b8e0e8b61de9a3e6db467e9610627 | refs/heads/master | 2020-08-07T06:00:11.631931 | 2019-10-30T13:49:04 | 2019-10-30T13:49:04 | 213,324,507 | 0 | 2 | null | 2019-10-30T13:49:08 | 2019-10-07T07:51:44 | null | UTF-8 | C++ | false | false | 969 | h | stack.h | #ifndef __STACK_H__
#define __STACK_H__
const int MaxStackSize = 100;
template <class T>
class TStack
{
T *pMem;
int size;
int count;
public:
TStack(int len);
~TStack();
void Push(T val);
T Pop();
T Top();
int Getsize() { return size; };
bool IsEmpty();
bool IsFull();
};
template <class T>
TStack<T>::... |
27d12f46c6f2bdb176d4d959305cfd101f6bf544 | d1dc5b492328a2b2d27c9113245c548830069082 | /Arduino/libraries/TouchScreen/HID_ts.h | 2ff31105607b8797105e3fbf769a3350167f7011 | [] | no_license | Frederick-Zhu/LLSIF-Hardware-controller | e06f203ab368104a50bcf9e389b1bc3f3cdc9b42 | 014cddb37db4d7658c0fe84d5dc23597f79bc118 | refs/heads/master | 2021-01-10T17:23:16.359654 | 2016-03-29T14:50:40 | 2016-03-29T14:50:40 | 54,983,275 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,493 | h | HID_ts.h | /*
HID.h
Copyright (c) 2015, Arduino LLC
Original code (pre-library): Copyright (c) 2011, Peter Barrett
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... |
e51919c5f37cd1470c5f6fb39fdd380b3de96d19 | b9da884eebff16d6e0a576bbf7e8d3f07940bb78 | /main5/stepper.h | c865d3c0aec66a10208ff2cfe8887fd364e0b432 | [] | no_license | xionluhnis/print-me-a-cookie | 2815fe8e24d5848d88053822b72ce584b0cc0612 | 99b2fb6bbca4c4028847af1b27485ddb0550211d | refs/heads/master | 2020-05-21T11:59:45.424402 | 2015-08-28T19:50:06 | 2015-08-28T19:50:06 | 39,158,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,098 | h | stepper.h | #pragma once
#include "Arduino.h"
#include "utils.h"
long sign(long l){
return l < 0 ? -1 : 1;
}
class Stepper {
public:
typedef void (*Callback)(int state);
// Microstep modes
static const byte MS_FULL = B000;
static const byte MS_1_1 = B000;
static const byte MS_1_2 = B100;
static const byte MS_1_... |
cc7bd67b24c88c8e04d1ed3aec0c836f24368e6b | b9ce06b136b1ca6b81774e0c9049960a04715e35 | /TIM/DuiLib/Control/UIListExItem.h | f7f0d359d291f5911fc4cbf10d1ec9b57a85199e | [
"BSD-2-Clause"
] | permissive | strfkr/hacker | 454a0e62a567d65377ef31d8f5a23cba4084da90 | 6fd1e3be4864b674ae030d0a3a9e78724d23f50b | refs/heads/master | 2020-12-27T19:23:41.865529 | 2018-09-21T10:17:23 | 2018-09-21T10:17:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h | UIListExItem.h | #pragma once
namespace DuiLib
{
class CListExItem
{
public:
//CPaintManagerUI *m_pManager;
CListExItem(CPaintManagerUI& paint_manager, const wchar_t *item_xml) : paint_manager_(paint_manager), item_xml_(item_xml)
{
CListContainerElementUI *pListElement = static_cast<CListContainerElementUI*>(m_dlgBuilder.C... |
c1e48c956d270b854f662208177b37cbbbbfbfad | dfe086a3aefc449ddfc6d5c40b7c09424afaa83a | /code.ino | f4b2bd885f51f3bb7a973197870bf3179a7f87e7 | [] | no_license | Rajavn6789/arduino-tachometer | 152586531e6a246b5f0c7048b0dc8645693d542a | 7669cc3c6a3b36c3a7b4273aad3beaa4ff55a1b7 | refs/heads/master | 2020-07-03T15:34:24.777936 | 2019-08-16T17:37:13 | 2019-08-16T17:37:13 | 201,953,968 | 2 | 0 | null | 2019-08-12T15:07:40 | 2019-08-12T15:07:40 | null | UTF-8 | C++ | false | false | 2,073 | ino | code.ino | /*
* SIMPLE ARDUINO BIKE TACHOMETER
*/
const uint8_t TOTAL_LEDS = 24;
const uint8_t interruptPin = 2;
const int LED_UPDATE_INTERVAL = 100;
const int MAX_RPM = 2000;
const int FIRES_PER_REV = 2;
int lastRpmValue = 0;
unsigned long lastInterrupt;
unsigned long previousMillis = 0;
unsigned long currentM... |
e0b3ca0e22e8a3588355b6084aed784a9fd2014f | 1de9002cf9cd12f48041c8d0ad26a9609ce270ca | /XV Semana 0ct 2016/divideyvenceras/validator.cpp | 71257ed3b698b47c103bf340367395aaf977dd90 | [] | no_license | Silverutm/Concursos-Algoritmia | ac80426becf8b00570d5253bb3712f8f8593510a | 3a13554fdf15952a093b3ff95f00f88acc4c675c | refs/heads/master | 2020-04-14T11:41:25.262102 | 2019-01-17T00:13:08 | 2019-01-17T00:13:08 | 163,820,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | cpp | validator.cpp | #include <iostream>
using namespace std;
int main()
{
long long c;
cin>>c;
string x;
while (c--)
{
cin>>x;
if (x.size()>500) cout<<"Nel\n";
}
return 0;
} |
ba7b2d65e6444e19b2985f977a44a14cc4f0cb30 | 4918175a5a587349ca1bf3f4b47606e25ebef58e | /TrueNgine/PropertiesWindow.cpp | f3c38cd0aba2de1370cf2df2cef865a5c15aa09d | [
"MIT"
] | permissive | GSBicalho/TrueNgine | e3c21b52552043480ff5ed76ffb28219f63d333a | 069ac9acc1558ae0b549e15eba67dfc646da9200 | refs/heads/master | 2021-10-02T22:17:28.766871 | 2018-12-01T19:32:35 | 2018-12-01T19:32:35 | 110,592,215 | 16 | 2 | null | 2018-01-10T19:11:09 | 2017-11-13T19:30:18 | C++ | UTF-8 | C++ | false | false | 10,633 | cpp | PropertiesWindow.cpp | #include "PropertiesWindow.h"
#include <iostream>
#include <QScrollArea>
#include <QPushButton>
#include <QCheckBox>
#include <QDebug>
#include <QLine>
#include <QWidget>
#include <QAction>
#include <QMenuBar>
#include <QMenu>
#include <QFileDialog>
#include <QInputDialog>
#include <QLabel>
#include <QComboBox>
#includ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.