repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
pedromig/COMP-Project | tests/meta4/input/more_tests.c | int cc;
void f(void) {
cc = 'Y';
}
int error_in_C_problem(void) {
char a, b;
int c;
a = 10;
b = -5;
c = 0;
putchar(027 * 01365 + 'A');
putchar((!a || !b || !c));
putchar(!a);
putchar(!b);
putchar((!b || !a));
putchar((!a || !b || !c) && -2);
putchar((!a || !b || !c... |
pedromig/COMP-Project | tests/meta4/input/expressions.c | // Arithmetic, relational and logical expressions
int main(void) {
putchar((5 && 3) + 'A');
putchar((0 || 0) + 'A');
putchar(130 % 85);
putchar(82 & 81);
putchar(110 ^ 85);
putchar(82 | 81);
putchar((2 != 3) + 'A');
putchar((2 == 3) + 'A');
putchar((2 < 3) + 'A');
putchar((2 > ... |
pedromig/COMP-Project | tests/meta4/input/control_flow.c | void print_number(int n) {
int u = 1;
while (n / u) u = u * 10;
while (u > 1) {
putchar('0' + n / (u / 10) - n / u * 10);
u = u / 10;
}
}
int main(void) {
int gang = 'a';
if (gang > 'a') {
putchar('l');
putchar('o');
putchar('l');
putchar('\n');
... |
pedromig/COMP-Project | src/utils.h | /**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#ifndef UTILS_H
#define UTILS_H
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#inclu... |
pedromig/COMP-Project | tests/meta4/input/octal.c | int main(void) {
char a, b;
int c;
a = 10;
b = -5;
c = 0;
putchar(027 * 01365 + 'A');
putchar(a + 'A');
putchar(c + 'A');
putchar(!2 + '0');
putchar(!0 + '0');
putchar(!((!a || !b || !c) && -2 && (!b || !a)) + 'A');
putchar((a && (b = b + 1) && c || (b = b + 4) && (a = a... |
pedromig/COMP-Project | tests/meta3/input/testesV2.c | void f1(void, int a){
//algo
}
void f2(void, void){
//algo
}
int f3(char a);
int f3(int a); |
pedromig/COMP-Project | tests/meta4/input/doubles.c | <reponame>pedromig/COMP-Project<filename>tests/meta4/input/doubles.c<gh_stars>1-10
void print_equality(double a, double b) {
if (a == b) {
putchar('y');
putchar('e');
putchar('s');
} else {
putchar('n');
putchar('o');
}
putchar('\n');
}
int main(void) {
doubl... |
pedromig/COMP-Project | src/y.tab.h | /* A Bison parser, made by GNU Bison 3.5.1. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pub... |
pedromig/COMP-Project | tests/meta4/input/testFile.c |
int d;
int declaredOnly(int,int x);
double globalDouble = 2.0;
int func(int a, double c){
a=3;
return a*3;
}
void notTest(void){
int a;
a=!a;
double c;
c=!a;
}
void declarationTests(void){
int x;
double b=x;
double c = 2;
double anotherD = 'a';
int a = 'a';
double k2=2.2;
double k3=1+2.2... |
pedromig/COMP-Project | src/ast.h | /**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#include <assert.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h... |
pedromig/COMP-Project | tests/meta4/input/comma_exprs.c | <gh_stars>1-10
int return1(void) {
return 1;
}
int main(void) {
int a;
a = 0, 1, 2, 3;
putchar('a' + a);
a = (0, 1, 2, 3);
putchar('a' + a);
putchar('a' + ((1, 2, 3), (1, 2)));
putchar('a' + (3, 2, return1()));
putchar('a' + (3, 2, return1(), 0));
putchar('a' + ((a = return1()),... |
pedromig/COMP-Project | tests/meta4/input/logical_stuff.c | void and (void) {
putchar('0' + (0 && 0));
putchar('0' + (0 && 1));
putchar('0' + (1 && 0));
putchar('0' + (1 && 1));
putchar('0' + (0 && 0));
putchar('0' + (0 && 100));
putchar('0' + (100 && 0));
putchar('0' + (100 && 100));
}
void nand(void) {
putchar('0' + !(0 && 0));
putcha... |
pedromig/COMP-Project | tests/meta3/input/TestesEv2.c | <reponame>pedromig/COMP-Project<filename>tests/meta3/input/TestesEv2.c
//Joao
void fA(int a);
void fA(int a, int b);
void fB(int a, int b);
void fB(int a);
void fC(void);
void fC(int a);
void fD(void, void);
void fD(int c);
int a=3;
//Rui
void f1(int a, double b);
int f1(int a, double b);
int f1(int a, double ... |
pedromig/COMP-Project | tests/meta3/input/DecAndDefConflict.c | <reponame>pedromig/COMP-Project
int func1(int a);
int func1(double a){
}
int func2(double a);
int func2(int a){
} |
pedromig/COMP-Project | tests/meta3/input/testes_anotacaoErro.c | int f1(void a){
int h;
int a;
if(h == 1){
a = f1();
}
return h;
}
|
pedromig/COMP-Project | src/codegen.c | <gh_stars>1-10
/**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#include "codegen.h"
// Function Definition Auxiliary Variables
static int llvm_var_counter;
static co... |
pedromig/COMP-Project | tests/meta4/input/plus.c | <gh_stars>1-10
void print_equality(double a, double b) {
if (a == b) {
putchar('y');
putchar('e');
putchar('s');
} else {
putchar('n');
putchar('o');
}
putchar('\n');
}
int main(void){
print_equality(1.0, +1.0);
print_equality(1.0, +(-(-1.0)));
print_... |
pedromig/COMP-Project | src/semantic_analysis.h | /**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#ifndef __SEMANTIC_ANALYSIS_H
#define __SEMANTIC_ANALYSIS_H
#include "structures.h"
#include "symbol_table.h"
#includ... |
pedromig/COMP-Project | tests/meta3/input/redefinitionRedeclarationV2.c | int A(int);
int A(int a){}
int A(int);
int A(int a){}
int B(int);
int B(int a){}
int B(double);
int B(int a){}
int C(int a){}
int C(int);
int D(int a){}
int D(double);
|
pedromig/COMP-Project | tests/meta4/input/sierpinski.c | int main(void) {
int i = 0;
int j;
while (i < 32) {
j = 0;
while (j < 32) {
if (i & j)
putchar(' ');
else
putchar('+');
j = j + 1;
}
i = i + 1;
putchar('\n');
}
return 0;
}
|
pedromig/COMP-Project | tests/meta1/input/unterminatedChar_linecomment.c | 'ç'
' '
'ç
'abc 456
'~'
'^
//comentario EOF |
pedromig/COMP-Project | tests/meta4/input/alphabet.c | int main(void) {
int a;
while ((a = 0));
while (0);
int n = 0;
while(n < 26) {
putchar('a' + n);
n = n + 1;
}
} |
pedromig/COMP-Project | tests/meta3/input/testes.c | void f0_A(void);
void f0_B(void,void);
void f1(int a, double b);
int f1(int a, double b);
int f1(int a, double b){
return a;
}
int f2(int a, double b);
int f2(int a, double b){
return b;
}
void f3(void){
//algo
}
void f4(int a, char b, short c, double d);
int main(void){
void erro;
int a... |
pedromig/COMP-Project | tests/meta4/input/call_tests.c | int fabio = 80;
// int renata = fabio +2;
int a(void){
putchar(fabio +2);
putchar('\n');
putchar(fabio);
putchar('\n');
fabio = fabio + 5;
return fabio;
return 5;
return 'a';
}
int b(void){
putchar(fabio);
putchar('\n');
}
void c(void){
}
void d(int a){
return;
retur... |
pedromig/COMP-Project | src/symbol_table.h | <filename>src/symbol_table.h
/**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#include <assert.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdbool.h>
#include ... |
pedromig/COMP-Project | tests/meta4/input/declarations.c | <reponame>pedromig/COMP-Project
char aa(char a);
short bb(short b);
int cc(int c);
double dd(double d);
int main(void) {
putchar('A');
// getchar();
return 0;
} |
pedromig/COMP-Project | tests/meta3/input/alreadyDefinedAndVoid.c | <filename>tests/meta3/input/alreadyDefinedAndVoid.c
double f7(short a, double b, int b);
double f7(short a, double b){}
double f8(short a, void b);
double f8(short a){} |
pedromig/COMP-Project | tests/meta4/input/charlits.c | int main(void) {
char c;
c = 0;
putchar(c);
c = 1;
putchar(c);
c = 2;
putchar(c);
c = 3;
putchar(c);
c = 4;
putchar(c);
c = 5;
putchar(c);
c = 6;
putchar(c);
c = 7;
putchar(c);
c = 8;
putchar(c);
c = 9;
putchar(c);
c = 10;
putchar(c);
c = 11;
putchar(c);
c = 12;
putchar(c);
c = 13;
putchar(... |
pedromig/COMP-Project | tests/meta4/input/random_tests.c | <gh_stars>1-10
int oi(int x, int y) {
char a;
char b, c = 'd';
double d, e, f;
e = 4;
f = d + e;
return 0;
}
int x(void) {
int a, b, c, x;
int d = 2, j;
a = d != x;
}
int asd(int x) {
int b = 2, v, d, c;
char a = x, r = a - b;
putchar(x = a);
putchar(a + v);
put... |
pedromig/COMP-Project | tests/meta4/input/expressions2.c | int yaya = 52;
void print_number(int n) {
if (n == 0) putchar('0');
int u = 1;
while (n / u) u = u * 10;
while (u > 1) {
putchar('0' + n / (u / 10) - n / u * 10);
u = u / 10;
}
}
int main(void) {
int expr = 3 * 42 >= 84;
print_number(expr);
putchar('\n');
expr = (43... |
pedromig/COMP-Project | tests/meta4/input/testes_2.c | double a = 3;
int main(void) {
int a = 1;
int b = 2;
int c = 3;
int d;
d = a + b + c;
return 0;
}
int f1(void) {
int a = 1;
int b = 2;
int c = 3;
double d;
d = a + b + c;
return 0;
}
int f2(void) {
int a = 1;
int b = 2;
double c = 3;
double d;
d = a... |
pedromig/COMP-Project | src/symbol_table.c | /**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#include "symbol_table.h"
#define free_parameter(parameter) free(parameter);
symtab_t *symbol_table(const char *id) ... |
pedromig/COMP-Project | tests/meta4/input/numbers.c | <filename>tests/meta4/input/numbers.c
void print_number(int n) {
if (n == 0) {
putchar('0');
return;
}
int u = 1;
while (n / u) u = u * 10;
while (u > 1) {
putchar('0' + n / (u / 10) - n / u * 10);
u = u / 10;
}
}
int main(void) {
int n = 1;
while (n <= 1... |
pedromig/COMP-Project | src/codegen.h | /**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#ifndef __CODEGEN_H
#define __CODEGEN_H
#include <stdio.h>
#include <stdlib.h>
#include "structures.h"
#include "sym... |
pedromig/COMP-Project | tests/meta4/input/tests.c |
int a(void) {
int a = 2;
return a;
}
int aa(void) {
return 2;
}
short b(void) {
short a;
return a;
}
short bb(void) {
return 3;
}
char c(void) {
char a;
return a;
}
char cc(void) {
return 'A';
}
void d(void) {
return;
}
double e(void) {
double d;
return d;
}
doub... |
pedromig/COMP-Project | tests/meta4/input/function_calls.c | <reponame>pedromig/COMP-Project<gh_stars>1-10
char a(char x) {
return x;
}
short b(short x) {
return x;
}
int c(int x) {
return x;
}
double d(double x) {
return x;
}
int e(int x, short y) {
return x + y + c(12);
}
double f(double x, char y) {
return d(x) + a(y);
}
double g(double x, double... |
pedromig/COMP-Project | src/semantic_analysis.c | <filename>src/semantic_analysis.c
/**
* Licenciatura em Engenharia Informática | Faculdade de Ciências e Tecnologia da Universidade de Coimbra
* Projeto de Compiladores 2020/2021
*
* 2018288117 <NAME>
* 2018283166 <NAME>
*
*/
#include "semantic_analysis.h"
symtab_t *current_table = NULL;
// Helper defines f... |
pedromig/COMP-Project | tests/meta3/input/smallTestB.c | <filename>tests/meta3/input/smallTestB.c
int func(int);
int func(char);
int funcA(int a);
int funcA(void);
int funcA(void);
int funcB(void,int a); |
pedromig/COMP-Project | tests/meta3/input/testes2.c | int f1(void, int a){
return 0;
}
void f2(void){
//algo
}
int a;
int main(void){
if(a == f2()){ }
if(a == f2(33)){ }
}
|
pedromig/COMP-Project | tests/meta1/input/illegalchar.c | <>qwertyuiopásdfghjklç~\zxcvbnm,.-______j!"#$%&/(==?*´\~@
|| |char
elsewhileifshort inT intdoublereturnvoid^&&<=>=
{ [#}!=++--
int double return void short while else
\tolelele
/*lll
kkk*/?
wtf//gefggt
#
|
pedromig/COMP-Project | tests/meta4/input/comma_expr.c | <reponame>pedromig/COMP-Project<filename>tests/meta4/input/comma_expr.c
char f1(void) {
return 'A';
}
char f2(void) {
return 'B';
}
short f3(void) {
return 1;
}
short f4(void) {
return 2;
}
int f5(void) {
return 1;
}
int f6(void) {
return 2;
}
double f7(void) {
return 1.0;
}
double ... |
pedromig/COMP-Project | tests/meta4/input/operators.c | <gh_stars>1-10
char aa(char a) { return a; }
short bb(short b) { return b; }
int cc(int c) { return c; }
double dd(double d) { return d; }
int arithmetic(double a, double b, double c) {
double d = 1.2;
d = a + b;
d = a - b;
d = a / b;
d = a * b;
d = a + b + c;
d = a - b - c;
d = a / ... |
Andrew-Dev/SignInManager | SignInManager/ViewController.h | <reponame>Andrew-Dev/SignInManager
//
// ViewController.h
// SignInManager
//
// Created by Andrew on 9/24/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <UIKit/UIKit.h>
#import "BCScanner/BCScannerViewController.h"
#import "ClockViewController.h"
#import "Student.h"
#import "SessionR... |
Andrew-Dev/SignInManager | SignInManager/ClockViewController.h | //
// ClockViewController.h
// SignInManager
//
// Created by Andrew on 9/28/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <UIKit/UIKit.h>
#import "Student.h"
#import "Session.h"
@interface ClockViewController : UIViewController
{
IBOutlet UILabel * welcomeLabel;
IBOutlet UI... |
Andrew-Dev/SignInManager | SignInManager/Session.h | //
// Session.h
// SignInManager
//
// Created by Andrew on 9/30/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <Foundation/Foundation.h>
#import "StudentSession.h"
@interface Session : NSObject
{
NSDate * startTime;
NSDate * endTime;
}
-(NSMutableArray*)getAllSessionsForStu... |
Andrew-Dev/SignInManager | SessionReportViewController.h | <reponame>Andrew-Dev/SignInManager<filename>SessionReportViewController.h
//
// SessionReportViewController.h
// SignInManager
//
// Created by Andrew on 10/9/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <UIKit/UIKit.h>
#import "Session.h"
#import "Student.h"
@interface SessionRepo... |
Andrew-Dev/SignInManager | SignInManager/SessionsViewController.h | //
// SessionsViewController.h
// SignInManager
//
// Created by Andrew on 10/21/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <UIKit/UIKit.h>
#import "Session.h"
#import "SessionReportViewController.h"
@interface SessionsViewController : UIViewController <UITableViewDataSource,UITa... |
Andrew-Dev/SignInManager | SignInManager/ConfigViewController.h | <reponame>Andrew-Dev/SignInManager<gh_stars>0
//
// ConfigViewController.h
// SignInManager
//
// Created by Andrew on 2/2/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ConfigViewController : UIViewController <UITableViewDataSource,UITableViewDelegate>
@end
|
Andrew-Dev/SignInManager | SignInManager/Student.h | <gh_stars>0
//
// Student.h
// SignInManager
//
// Created by Andrew on 9/24/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <Foundation/Foundation.h>
#import "Session.h"
@interface Student : NSObject
@property NSString * code;
@property NSString * name;
+(NSMutableArray*)getAllStud... |
Andrew-Dev/SignInManager | SignInManager/BCScanner/BCScannerViewController.h | <reponame>Andrew-Dev/SignInManager
//
// BCScannerViewController.h
// BCScannerViewController
//
// Copyright 2013 bitecode, <NAME>
//
// 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
//
//... |
Andrew-Dev/SignInManager | StudentReportsListViewController.h | //
// StudentReportsListViewController.h
// SignInManager
//
// Created by Andrew on 10/23/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <UIKit/UIKit.h>
#import "Student.h"
#import "Session.h"
#import "StudentReportViewController.h"
@interface StudentReportsListViewController : UIVi... |
Andrew-Dev/SignInManager | SignInManager/StudentReportViewController.h | //
// StudentReportViewController.h
// SignInManager
//
// Created by Andrew on 10/23/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <UIKit/UIKit.h>
#import "Student.h"
#import "Session.h"
@interface StudentReportViewController : UIViewController
{
IBOutlet UILabel * studentLabel... |
Andrew-Dev/SignInManager | SignInManager/BCScanner/UIViewController+BCScanner.h | <reponame>Andrew-Dev/SignInManager
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
Andrew-Dev/SignInManager | SignInManager/StudentSession.h | //
// StudentSession.h
// SignInManager
//
// Created by Andrew on 10/7/14.
// Copyright (c) 2014 <NAME>. Licensed under the MIT license.
//
#import <Foundation/Foundation.h>
@interface StudentSession : NSObject
{
}
@property NSString * stucode;
@property NSDate * inTime;
@property NSDate * outTime;
@end
|
matrixs/Utility | Example/HCBNetwork/matrixsAppDelegate.h | //
// matrixsAppDelegate.h
// HCBNetwork
//
// Created by matrixs on 12/20/2016.
// Copyright (c) 2016 matrixs. All rights reserved.
//
@import UIKit;
@interface matrixsAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
matrixs/Utility | Example/Pods/Target Support Files/Pods-HCBNetwork_Example/Pods-HCBNetwork_Example-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_HCBNetwork_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_HCBNetwork_ExampleVersionString[];
|
matrixs/Utility | Example/HCBNetwork/matrixsViewController.h | <gh_stars>0
//
// matrixsViewController.h
// HCBNetwork
//
// Created by matrixs on 12/20/2016.
// Copyright (c) 2016 matrixs. All rights reserved.
//
@import UIKit;
@interface matrixsViewController : UIViewController
@end
|
matrixs/Utility | Example/Pods/Target Support Files/HCBNetwork/HCBNetwork-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double HCBNetworkVersionNumber;
FOUNDATION_EXPORT const unsigned char HCBNetworkVersionString[];
|
matrixs/Utility | Example/Pods/Target Support Files/Pods-HCBNetwork_Tests/Pods-HCBNetwork_Tests-umbrella.h | <reponame>matrixs/Utility
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_HCBNetwork_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_HCBNetwork_TestsVersionString[];
|
davemers0160/Ouster | include/os1_991838000603.h | #ifndef _OS1_991838000603_H
#define _OS1_991838000603_H
#include <cstdint>
#include <cmath>
#include "os1_packet.h"
const double beam_altitude_angles[ouster::OS1::pixels_per_column] = {
16.44860000, 15.86160000, 15.29380000, 14.75480000, 14.28190000, 13.70870000, 13.15370000, 12.59980000,
12.15560000, 11.5771... |
fifoforlifo/pynja | test2/code/a/a0/include/a0.h | <gh_stars>0
#pragma once
int a0_0();
int a0_1();
|
fifoforlifo/pynja | test2/code/dllexport/include/dllexport.h | #pragma once
#ifdef _WIN32
#define DLL_EXPORT_11 __declspec(dllexport)
#define DLL_EXPORT_10 __declspec(dllimport)
#define DLL_EXPORT_00
#define DLL_LOCAL_11
#define DLL_LOCAL_10
#define DLL_LOCAL_00
#else
#define DLL_EXPORT_11 __attribute__((visibility("default")))
#define DLL_EXPORT_1... |
fifoforlifo/pynja | test2/code/qt0/include/qbaz.h | <reponame>fifoforlifo/pynja
#ifndef qbaz_h
#define qbaz_h
#include <QtCore/QObject>
class QBaz : public QObject
{
Q_OBJECT
public:
QBaz();
};
#endif
|
fifoforlifo/pynja | test2/code/a/a1/include/a1.h | #pragma once
#include <dllexport.h>
DLL_EXPORT(a1)
int a1_0();
|
fifoforlifo/pynja | test2/code/qt0/source/qfizzle.h | <filename>test2/code/qt0/source/qfizzle.h
#ifndef qfizzle_h
#define qfizzle_h
#include <QtCore/QObject>
class QFizzle : public QObject
{
Q_OBJECT
public:
QFizzle();
};
#endif
|
fifoforlifo/pynja | test2/code/a/a2/source/a2_client_pch.h | #pragma once
#include "a2_0.h"
|
fifoforlifo/pynja | test2/code/a/a0/source/a0_pch.h | <gh_stars>0
#if defined(_WIN32)
#include <Windows.h>
#endif
#if defined(__linux__)
#include <sys/time.h>
#endif
#include "a2_0.h"
|
fifoforlifo/pynja | test2/code/a/a2/include/a2_0.h | <reponame>fifoforlifo/pynja
#pragma once
#include <dllexport.h>
DLL_EXPORT(a2)
int a2_0();
|
fifoforlifo/pynja | test2/code/qt0/include/qt0.h | <gh_stars>0
#pragma once
int a2_0();
|
fifoforlifo/pynja | test2/code/a/a2/source/a2_pch.h | #ifndef __a2_pch_h__
#define __a2_pch_h__
#include "a2_0.h"
#endif // file guard
|
fifoforlifo/pynja | test2/code/a/a0/includeSpecial/a0_special.h | <reponame>fifoforlifo/pynja
#pragma once
#include "a0.h"
inline int a0_0_special()
{
return a0_0();
}
|
soule/AppAuth-iOS | Source/AppAuthTV/OIDTVServiceConfiguration.h | <reponame>soule/AppAuth-iOS
/*! @file OIDTVServiceConfiguration.h
@brief AppAuth iOS SDK
@copyright
Copyright 2016 Google Inc.
@copydetails
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may... |
zxc524580210/Simd | src/Simd/SimdSynetConvolution8iCommon.h | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2020 <NAME>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limita... |
zxc524580210/Simd | src/Simd/SimdSynetMergedConvolution8i.h | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2020 <NAME>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limita... |
zxc524580210/Simd | src/Test/TestUtils.h | <filename>src/Test/TestUtils.h
/*
* Tests for Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2020 <NAME>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software with... |
TheRinger/Atlascoin | src/script/atlasconsensus.h | <filename>src/script/atlasconsensus.h
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2017 The Atlas Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifnd... |
TheRinger/Atlascoin | src/qt/assetrecord.h | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Copyright (c) 2017 The Atlas Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ATLAS_QT_ASSETRECORD_H
#define ATLAS_QT_ASSETRECORD_H
#include "math... |
TheRinger/Atlascoin | src/qt/atlasaddressvalidator.h | <gh_stars>0
// Copyright (c) 2011-2014 The Bitcoin Core developers
// Copyright (c) 2017 The Atlas Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ATLAS_QT_ATLASADDRESSVALIDATOR_H
#define ATLAS_QT_ATLASAD... |
TheRinger/Atlascoin | src/secp256k1/src/java/org_atlas_NativeSecp256k1.h | /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
#include "include/secp256k1.h"
/* Header for class org_atlas_NativeSecp256k1 */
#ifndef _Included_org_atlas_NativeSecp256k1
#define _Included_org_atlas_NativeSecp256k1
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_atlas_NativeSecp256k... |
TheRinger/Atlascoin | src/rpc/safemode.h | // Copyright (c) 2017 The Bitcoin Core developers
// Copyright (c) 2017 The Atlas Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ATLAS_RPC_SAFEMODE_H
#define ATLAS_RPC_SAFEMODE_H
static const bool DEFAU... |
feelc/blogs-share | 0_multithread_server/src/tcp_server/query_thread.c | #include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <event.h>
#include "query_thread.h"
extern int32_t tlog[];
#define SAFE_RECV(sock... |
feelc/blogs-share | 0_multithread_server/tests/tcp_client/client.c | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
int32_t main(int argc, char const *argv[])
{
int32_t sock = -1;
struct sockaddr_in server_addr;;
socklen_t addr_len = size... |
feelc/blogs-share | 0_multithread_server/src/udp_server/main.c | <gh_stars>0
#include "query_thread.h"
#include <stdio.h>
#include <pthread.h>
#include <stdint.h>
#include <unistd.h>
#include <signal.h>
const static int32_t S_PORT = 55555;
#define THREAD_NUM (5)
int32_t tlog[THREAD_NUM];
pthread_t tid[THREAD_NUM];
int32_t tmp[THREAD_NUM];
void single_hander_cb(in... |
feelc/blogs-share | 0_multithread_server/src/udp_server/query_thread.h | #ifndef __W_QUERY_THREAD_H__
#define __W_QUERY_THREAD_H__
void *query_thread_cb(void *arg);
#endif |
gisodal/highrestimer | include/timer.h | #ifndef TIMER_H
#define TIMER_H
#include <chrono>
class Timer {
public:
typedef std::chrono::high_resolution_clock Clock; // alt. std::chrono::system_clock
typedef std::chrono::time_point<Clock> TimePoint;
typedef std::chrono::microseconds Microseconds;
typedef std::chrono::nanosec... |
pmp-tool/PMP | src/qemu/src-pmp/target/riscv/insn_trans/trans_rvc.inc.c | <reponame>pmp-tool/PMP
/*
* RISC-V translation routines for the RVC Compressed Instruction Set.
*
* Copyright (c) 2016-2017 <NAME>, <EMAIL>
* Copyright (c) 2018 <NAME>, <EMAIL>
* <NAME>, <EMAIL>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and ... |
pmp-tool/PMP | src/qemu/src-pmp/tests/virtio-serial-test.c | <gh_stars>1-10
/*
* QTest testcase for VirtIO Serial
*
* Copyright (c) 2014 SUSE LINUX Products GmbH
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "libqtest.h"
#include "libqos/virtio-serial.h"... |
pmp-tool/PMP | src/qemu/src-pmp/include/qemu/cutils.h | #ifndef QEMU_CUTILS_H
#define QEMU_CUTILS_H
#include "qemu/fprintf-fn.h"
/**
* pstrcpy:
* @buf: buffer to copy string into
* @buf_size: size of @buf in bytes
* @str: string to copy
*
* Copy @str into @buf, including the trailing NUL, but do not
* write more than @buf_size bytes. The resulting buffer is
* alwa... |
pmp-tool/PMP | src/qemu/src-pmp/hw/virtio/virtio-input-pci.c | <filename>src/qemu/src-pmp/hw/virtio/virtio-input-pci.c
/*
* Virtio input PCI Bindings
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* (at your option) any later version. See the COPYING file in the
* top-level directory.
*/
#include "qemu/osdep.h"
#include "virtio-pci.h"
#include "hw/... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/qgraph.c | <reponame>pmp-tool/PMP
/*
* libqos driver framework
*
* Copyright (c) 2018 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2 as published by the Free Software Foundation.
*
* This library is distri... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/arm-xilinx-zynq-a9-machine.c | /*
* libqos driver framework
*
* Copyright (c) 2018 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that ... |
pmp-tool/PMP | src/qemu/src-pmp/tests/libqos/e1000e.c | <reponame>pmp-tool/PMP
/*
* libqos driver framework
*
* Copyright (c) 2018 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2 as published by the Free Software Foundation.
*
* This library is distri... |
pmp-tool/PMP | src/qemu/src-pmp/hw/tpm/tpm_crb.c | /*
* tpm_crb.c - QEMU's TPM CRB interface emulator
*
* Copyright (c) 2018 Red Hat, Inc.
*
* Authors:
* <NAME> <<EMAIL>>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
* tpm_crb is a device for TPM 2.0 Command Response Buffe... |
pmp-tool/PMP | src/qemu/src-pmp/include/hw/i386/pc.h | #ifndef HW_PC_H
#define HW_PC_H
#include "qemu-common.h"
#include "exec/memory.h"
#include "hw/boards.h"
#include "hw/isa/isa.h"
#include "hw/block/fdc.h"
#include "hw/block/flash.h"
#include "net/net.h"
#include "hw/i386/ioapic.h"
#include "qemu/range.h"
#include "qemu/bitmap.h"
#include "sysemu/sysemu.h"
#include "... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_b.c | <reponame>pmp-tool/PMP
/*
* Test program for MSA instruction MULV.B
*
* Copyright (C) 2018 Wave Computing, Inc.
* Copyright (C) 2018 <NAME> <<EMAIL>>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free... |
pmp-tool/PMP | src/qemu/src-pmp/migration/global_state.c | <gh_stars>1-10
/*
* Global State configuration
*
* Copyright (c) 2014-2017 Red Hat Inc
*
* Authors:
* <NAME> <<EMAIL>>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "qemu/cutils.h"
#include... |
pmp-tool/PMP | src/qemu/src-pmp/scsi/pr-manager.c | /*
* Persistent reservation manager abstract class
*
* Copyright (c) 2017 Red Hat, Inc.
*
* Author: <NAME> <<EMAIL>>
*
* This code is licensed under the LGPL.
*
*/
#include "qemu/osdep.h"
#include <scsi/sg.h>
#include "qapi/error.h"
#include "block/aio.h"
#include "block/thread-pool.h"
#include "scsi/pr-mana... |
pmp-tool/PMP | src/qemu/src-pmp/target/xtensa/core-test_mmuhifi_c3/gdb-config.inc.c | /* Configuration for the Xtensa architecture for GDB, the GNU debugger.
Copyright (C) 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publishe... |
pmp-tool/PMP | src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_dbitswap.c | <filename>src/qemu/src-pmp/tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_dbitswap.c
/*
* Test program for MIPS64R6 instruction DBITSWAP
*
* Copyright (C) 2019 Wave Computing, Inc.
* Copyright (C) 2019 <NAME> <<EMAIL>>
*
* This program is free software: you can redistribute it and/or modify
* it ... |
pmp-tool/PMP | src/qemu/src-pmp/include/hw/ppc/spapr_irq.h | <reponame>pmp-tool/PMP
/*
* QEMU PowerPC sPAPR IRQ backend definitions
*
* Copyright (c) 2018, IBM Corporation.
*
* This code is licensed under the GPL version 2 or later. See the
* COPYING file in the top-level directory.
*/
#ifndef HW_SPAPR_IRQ_H
#define HW_SPAPR_IRQ_H
/*
* IRQ range offsets per device type... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.