text stringlengths 4 6.14k |
|---|
#include <rte_config.h>
#include <rte_common.h>
#include <rte_ring.h>
#include <rte_mbuf.h>
#include "queue.h"
int mg_queue_enqueue_export(struct rte_ring *r, void *obj){
struct rte_mbuf* buf = (struct rte_mbuf*)obj;
// FIXME: remove this debugging output, as soon, as it does not occur anymore
if(obj == NULL){... |
/**
******************************************************************************
* @file FLASH_Program/stm32f0xx_it.c
* @author MCD Application Team
* @version V1.0.0
* @date 23-March-2012
* @brief Main Interrupt Service Routines.
* This file provides template for all exceptions handle... |
//
// TTTracker.h
// TTTracker
//
// Created by fengyadong on 2017-3-14.
// Copyright (c) 2017 toutiao. All rights reserved.
//
#import <Foundation/Foundation.h>
//+----------------+----------+----------+---------+--------------------------+
//| Key | Type | Required | Default | Meaning ... |
#ifndef _ALVISION_BASE_H_
#define _ALVISION_BASE_H_
#include "../alvision.h"
class base : public overres::ObjectWrap{
public:
static void Init(Handle<Object> target, std::shared_ptr<overload_resolution> overload);
};
#endif
|
/*
* Find how many reduced proper fractions a/b exist for b less than or equal to N
*/
#include <stdio.h>
#include <stdlib.h>
#include "math_utils.h"
int main (int argc, char ** argv) {
if (argc != 2) {
fprintf (stderr, "usage: %s <N>\n", argv[0]);
return 1;
}
int N = atoi (argv[1]);
if (N <= 0)
return ... |
//
// Copyright (c) 2008-2018 the Urho3D project.
//
// 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 limitation the rights
// to use, copy, mod... |
//
// OLAlbumViewController.h
// FacebookImagePicker
//
// Created by Deon Botha on 16/12/2013.
// Copyright (c) 2013 Deon Botha. All rights reserved.
//
#import <UIKit/UIKit.h>
@class OLAlbumViewController;
@protocol OLAlbumViewControllerDelegate <NSObject>
@optional
- (void)albumViewController:(OLAlbumViewCont... |
#ifndef SETUP_H
#define SETUP_H
void setup_init();
#endif
|
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <iCalendar/ICSClassificationValue.h>
@interface ICSClassificationValue (ICSWriter)
- (void)_ICSStringWithOptions:(unsigned long long)arg1 appendingToString:(id)arg2;
@en... |
// (C) 2015
#pragma once
#include "Components/ActorComponent.h"
#include "Cargo.generated.h"
UENUM(BlueprintType)
enum class ECargoType : uint8
{
CE_Food UMETA(DisplayName = "Food"),
CE_Ore UMETA(DisplayName = "Ore"),
CE_Machinery UMETA(DisplayName = "Machinery"),
Count
};
UCLASS( ClassGroup=(Custom), met... |
#include <stdio.h>
int main(){
int troca, vetor[20], c, i=19, e=19;
for(c=0;c<=19;c++){
printf("digite o %d numero",c);
scanf("%d", &vetor[c]);
}
for (c=0;c<=9;c++){
troca = vetor[c];
vetor[c] = vetor[i--];
vetor[e--] = troca;
}
for (c=0;c<=19;c++){
printf("numero %d posicao %d\n", vetor[c], c);
}... |
#ifndef REMOVABLEDEVICE_H
#define REMOVABLEDEVICE_H
#include <QString>
#include <QObject>
#ifdef WIN32
#define NOMINMAX
#include <Windows.h>
#endif
#ifdef Q_OS_MAC
#endif
class RemovableDevice
{
protected:
#ifdef WIN32
HANDLE hDisk;
#endif
public:
RemovableDevice();
QString name;
QString path;
... |
#ifndef BIO_TSS_DATA_H_
#define BIO_TSS_DATA_H
#include "bio/defs.h"
#include <boost/filesystem/path.hpp>
#include <map>
#include <string>
BIO_NS_START
enum CloneType
{
RIKEN_CLONE,
TIGR_CLONE,
NO_CLONE,
NO_CONCLUSION_CLONE
};
struct Clone
{
std::string transcript;
CloneType type;
std::string id;
st... |
#include "preempt.h"
#include <sys/time.h>
#include <signal.h>
#include "rbtree.h"
#include "lock.h"
#include "alloc.h"
#include "timer.h"
#include <stdio.h>
#include "atomic.h"
#include "config.h"
#if YARNS_SYNERGY == YARNS_SYNERGY_PREEMPTIVE
static volatile unsigned long preempt_disable_count = 0;
preempt_handler p... |
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.13.2\Source\Uno\UX\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_U_X_VALUE_CHANGED_ARGS__FUSE_NAVIGATION_SWIPE_ENDS_H__
#define __APP_UNO_U_X_VALUE_CHANGED_ARGS__FUSE_NAVIGATION_SWIPE_ENDS_H__
#inc... |
//
// HTTPUrlManager.h
// HotLibApp
//
// Created by weiying on 16/9/14.
// Copyright © 2016年 amoby. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface HTTPUrlManager : NSObject
@end
|
#include "../tests.h"
#include "util/list.h"
int main(int argc, char** argv)
{
list_t* a = mk_list_node(1);
list_t* b = mk_list_node(2);
list_t* c = mk_list_node(3);
assert(list_append(NULL, a) == a);
assert(list_prepend(NULL, a) == a);
assert(list_size(a) == 1);
assert(list_size(b) == 1... |
#ifndef SIMILARITYGRAPHBUILDER_H
#define SIMILARITYGRAPHBUILDER_H
/**
* @file SimilarityGraphBuilder.h
* Header file defining the SimilarityGraphBuilder interface.
*/
#include "Drawable.h"
/**
* The Similarity Graph builder interface.
* Classes derived from this interface are intended to create the similiarity g... |
#ifndef _GAMESTATE_H_
#define _GAMESTATE_H_
#include "s3eTypes.h"
//-------------------------------------------------------------------------------------
// GameState - base class for gamestates
//-------------------------------------------------------------------------------------
class GameState
{
public:
static c... |
//
// Generated by class-dump 3.4 (64 bit) (Debug version compiled Mar 6 2013 16:24:16).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
//
#import "BRHorizontalSegmentedWidget.h"
__attribute__((visibility("hidden")))
@interface BRPasscodeSelectionWidget : BRHorizontalSegme... |
@interface ARGeneViewController : UIViewController
- (instancetype)initWithGeneID:(NSString *)geneID;
- (instancetype)initWithGene:(Gene *)gene;
@property (nonatomic, strong, readonly) Gene *gene;
@end
|
//
// ViewController.h
// MUPersistenceExample
//
// Created by Muer on 16/4/11.
// Copyright © 2016年 Muer. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UITableViewController
@end
|
// This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
// http://dead-code.org/redir.php?target=wme
#if !defined(AFX_ADSCENEGEOMETRY_H__6043ACFC_3844_4218_BFA9_805F2E690AEB__INCLUDED_)
#define AFX_ADSCENEGEOMETRY_H__6043ACFC_3844_4218_BFA9_805F2E... |
#pragma once
#include "Core/Renderer/Sampling/SamplingRenderer.h"
#include "Core/Renderer/Region/Region.h"
#include "Common/primitive_type.h"
#include "Core/Renderer/Region/DammertzDispatcher.h"
#include "Core/Renderer/Region/GridScheduler.h"
#include "Core/Renderer/Sampling/CameraSamplingWork.h"
#include "Frame/TFram... |
// includes standard header files
#include <stdint.h>
#include <string>
#include <vector>
#include <array>
#include <map>
#include <unordered_map>
using namespace std;
|
/**
* Notes.CC
*
* MIT/X11 License
* Copyright (c) 2014 Qball Cow <qball@gmpclient.org>
*
* 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 li... |
/*
* $QNXLicenseC:
* Copyright 2008, QNX Software Systems.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You
* may not reproduce, modify or distribute this software except in
* compliance with the License. You may obtain a copy of the License
* at: http://www.apache.org/licenses/LICENS... |
//
// Created by fanshiliang on 2017/6/23.
//
#ifndef ZION_HEADER_H
#define ZION_HEADER_H
#include <string>
namespace zion {
struct header
{
std::string key;
std::string value;
};
} //namespace zion
#endif //ZION_HEADER_H
|
#ifndef _HL1BSPINSTANCE_H_
#define _HL1BSPINSTANCE_H_
#include "hl1bspasset.h"
#include <set>
#include <string>
#include <glm/glm.hpp>
typedef struct
{
bool allsolid; /* if true, plane is not valid */
bool startsolid; /* if true, the initial point was in a solid area */
float fraction; /* ... |
#ifndef __COMMON_H__
#define __COMMON_H__
#include <algorithm>
#define NOMINMAX
#include <Windows.h>
#pragma warning(disable: 4512 4244 4100)
#include "avisynth.h"
#pragma warning(default: 4512 4244 4100)
#include <smmintrin.h>
typedef unsigned char Byte;
#define RG_FORCEINLINE __forceinline
#define USE_MOVPS
enum... |
//
// HMISearchingBox.h
// Hide My iPhone
//
// Created by John Yorke on 17/11/2013.
// Copyright (c) 2013 John Yorke. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HMISearchingBox : UIView
@end
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_popen_81.h
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-81.tmpl.h
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data us... |
#ifndef PACKER_H
#define PACKER_H
#include <vector>
class Packer {
public:
/**
* Packer constructor. A new constructor should be implemented by the deriving class which sets the length of the domain in ijk and the spacing between particles.
* @param len Size of the domain in Cartesian coord... |
// 功能:初始化串口
#include "uart.h"
#define ULCON0 (*((volatile unsigned long *)0x7F005000))
#define UCON0 (*((volatile unsigned long *)0x7F005004))
#define UFCON0 (*((volatile unsigned long *)0x7F005008))
#define UMCON0 (*((volatile unsigned long *)0x7F00500C))
#define UTRSTAT0 (*((volatile unsigned lon... |
#pragma once
#include <utils.h>
#include <string>
#include "WindowMapping.h"
#include "Vector3d.h"
#include "ViewPort.h"
#include "LayerManager.h"
class Viewer2d: public ViewPort
{
public:
//please call this first.
virtual void SetViewportSize(int w, int h);
virtual void SetLightingAndCamera();
void Translate(... |
/*
LUFA Library
Copyright (C) Dean Camera, 2009.
dean [at] fourwalledcubicle [dot] com
www.fourwalledcubicle.com
*/
/*
Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, and distribute this software
and its do... |
//
// GHUIImageView.h
// GHUIKit
//
// Created by Gabriel Handford on 11/1/13.
// Copyright (c) 2013 Gabriel Handford. All rights reserved.
//
#import "GHUIView.h"
@interface GHUIImageView : GHUIView
@property CGFloat cornerRadius UI_APPEARANCE_SELECTOR;
@property CGFloat cornerRadiusRatio UI_APPEARANCE_SELECTOR... |
//
// BHEmblemView.h
// CollectionViewTutorial
//
// Created by Bryan Hansen on 11/6/12.
// Copyright (c) 2012 Bryan Hansen. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BHEmblemView : UICollectionReusableView
+ (CGSize)defaultSize;
@end
|
/*
** Copyright (C) 1996, 1997 Microsoft Corporation. All Rights Reserved.
**
** File: warpIGC.h
**
** Author:
**
** Description:
** Header for the CwarpIGC class. This file was initially created by
** the ATL wizard.
**
** History:
*/
// warpIGC.h : Declaration of the CwarpIGC
#ifndef __WARPIGC_H_
#define ... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
#import "FudConnection-Protocol.h"
@class NSObject<OS_dispatch_queue>, NSObject<OS_xpc_object>, NSString;
@interface FudXPCConnection : NSObject <FudConne... |
#include <kstring.h>
static const char BASECHR[17] = "0123456789abcdef";
static void * __memcpy1(void * dest, const void * src, size_t num);
static void * __memcpy2(void * dest, const void * src, size_t num);
char * itoa(int value, int base)
{
static char buffer[16];
char * p;
int negative =... |
#pragma once
#include <glbinding/nogl.h>
#include <glbinding/gl/types.h>
namespace gl10ext
{
using gl::GLextension;
using gl::GLenum;
using gl::GLboolean;
using gl::GLbitfield;
using gl::GLvoid;
using gl::GLbyte;
using gl::GLshort;
using gl::GLint;
using gl::GLclampx;
using gl::GLubyte;
using gl::GLushort;
using... |
/*
LUFA Library
Copyright (C) Dean Camera, 2009.
dean [at] fourwalledcubicle [dot] com
www.fourwalledcubicle.com
*/
/*
Copyright 2009 Denver Gingerich (denver [at] ossguy [dot] com)
Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permissi... |
/*
* sgui_d3d9.h
* This file is part of sgui
*
* Copyright (C) 2012 - David Oberhollenzer
*
* 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 limi... |
/*
* Auto generated Run-Time-Environment Component Configuration File
* *** Do not modify ! ***
*
* Project: 'ble_app_hrs_rscs_relay_pca10028_s130'
* Target: 'nrf51422_xxac'
*/
#ifndef RTE_COMPONENTS_H
#define RTE_COMPONENTS_H
/*
* Define the Device Header File:
*/
#define CMSIS_dev... |
/*numPass=7, numTotal=7
Verdict:ACCEPTED, Visibility:1, Input:"1.2 2.3 2.7 5.3 7.6", ExpOutput:"Point is outside the Circle.", Output:"Point is outside the Circle."
Verdict:ACCEPTED, Visibility:1, Input:"0.0 0.0 5.0 3.0 7.0", ExpOutput:"Point is outside the Circle.", Output:"Point is outside the Circle."
Verdict:ACCEPT... |
//
// RRChannelCell.h
// Streams
//
// Created by James Reichley on 3/3/14.
// Copyright (c) 2014 RadReichley Inc. All rights reserved.
//
// Note that the cell is circular, so it assumes a square frame
@class RRChannel;
@interface RRChannelCell : UICollectionViewCell
@property (nonatomic, strong) RRChannel *ch... |
//
// XKMyDiaryCalendarView.h
// MyDiary
//
// Created by 浪漫恋星空 on 2017/3/25.
// Copyright © 2017年 浪漫恋星空. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XKCalendarView.h"
#import "XKDiaryModel.h"
typedef void(^DidClickCellBlock)(UITableView *tableView, NSIndexPath *indexPath);
@interface XKMyDiaryCale... |
#pragma once
#include "core/vec3.h"
#include "core/angle.h"
#include "core/quat.h"
#include "core/key.h"
namespace euphoria::core
{
struct FpsController
{
FpsController();
void
look(float delta_rot, float delta_look);
void
move_left(bool down);
void
mo... |
//
// DCHImageCollectionViewCell.h
// Kaleidoscope-of-500px
//
// Created by Derek Chen on 5/12/15.
// Copyright (c) 2015 Derek Chen. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DCHPhotoModel;
@interface DCHImageCollectionViewCell : UICollectionViewCell
+ (NSString *)cellIdentifier;
- (void)refreshW... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "IBDropTargetResolverDelegate-Protocol.h"
@protocol IBNSStackViewDropTargetResolverDelegate <IBDropTargetResolverDelegate>
- (void)dropTargetResolver:(id)arg1 dropGravit... |
/**
* @file json-rpc.h
* @date 02.08.2011
* @author Peter Spiess-Knafl
* @brief json-rpc.h
*
* This file is meant to include all necessary .h files of this framework.
*/
#ifndef JSONRPCCPP_H_
#define JSONRPCCPP_H_
#include "server.h"
#include "client.h"
//For error handling and catching Exceptions.
#include "... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <condition_variable>
#include <memory>
#include <thread>
#include <unordered_map>
#include <boost/filesys... |
/* Copyright (c) 2015 Mathias Panzenböck
*
* 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 limitation the rights
* to use, copy, modify, merge, pub... |
//
// PHAsset+MQExtension.h
// MQExtensionKit
//
// Created by 冯明庆 on 2018/5/20.
// Copyright © 2018 冯明庆. All rights reserved.
//
#import <Photos/Photos.h>
@import UIKit;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0
/*
typedef NS_ENUM(NSInteger , MQPHAssetCacheType) {
MQPHAssetCacheType_default = 0,
... |
/*************************************************************************/
/* editor_help.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
#ifndef CQSVGFeDiffuseLighting_H
#define CQSVGFeDiffuseLighting_H
#include <CQSVGObject.h>
#include <CSVGFeDiffuseLighting.h>
class CQSVG;
class CQSVGFeDiffuseLighting : public CQSVGObject, public CSVGFeDiffuseLighting {
Q_OBJECT
Q_PROPERTY(QColor lightingColor READ getLightingColor WRITE setLightingColor ... |
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include BLIK_LIBGIT2_U_common_h //original-code:"common.h"
#include BLIK_LIBGIT2_U_git2__types_h //origi... |
//
// NSThread+JORunLoop.h
// JOKit
//
// Created by 刘维 on 16/11/9.
// Copyright © 2016年 Joshua. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSThread(JORunLoop)
/**
返回单例的Thread,并默认开启了Runloop.
建议使用这个,你可以在任何线程里面调用它.
@return NSThread.
*/
+ (NSThread *)joRunLoopThread;
/**
返回新的的Thread... |
#ifndef _CONVERT_H_
#define _CONVERT_H_
#include <string>
class Convert
{
public:
Convert() = default;
~Convert() = default;
Convert(const Convert &) = delete;
Convert& operator=(const Convert &) = delete;
public:
static std::string BoolToStr(bool);
static std::string IntToStr(int);
static... |
#ifndef PROGRESSDIALOG_H
#define PROGRESSDIALOG_H
#include <QDialog>
#include <QtConcurrentRun>
#include "../FATX/FATX/StaticInformation.h"
#include "../FATX/IO/xDeviceFileStream.h"
#include "../FATX/FATX/stfspackage.h"
#include <qgraphicsscene.h>
enum Operations
{
OperationCopyToDisk
};
namespace Ui {
class Pro... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_dest_char_cat_21.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_dest.label.xml
Template File: sources-sink-21.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate using malloc... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_HackProductARHVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_HackProductARHVersionS... |
/*
* file: odometer.c
* created: 20160807
* author(s): mr-augustine
*
* Defines the functions used to operate the odometer. This library counts
* the number rotations performed by the robot's drive gear; and stores the
* value in a statevars variable.
*
* The rotations are detected by a hall effect sensor whic... |
#pragma once
#include <CEGUI\CEGUI.h>
#include <CEGUI\RendererModules\OpenGL\GL3Renderer.h>
#include <glm\glm.hpp>
#include <SDL\SDL_events.h>
namespace GameEngine
{
class GUI
{
public:
GUI() {};
~GUI() { if (!m_freed) DestroyGUI(); };
//initialize the gui
void Init(const std::strin... |
//
// AppDelegate.h
// Urge
//
// Created by cx on 15/7/23.
// Copyright (c) 2015年 cx. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
#pragma once
#include "animation.h"
namespace anim {
class MotionMap;
namespace filter {
class Base : public boost::noncopyable {
public:
virtual ~Base() = 0;
protected:
virtual void init(const MotionMap& mmap);
virtual float eval(const MotionMap& mmap, std::size_t x, std::size_t y) const = 0;
private:
... |
//
// Address.h
// Maishoku
//
// Created by Jonathan Sweemer on 11/1/11.
// Copyright (c) 2011 Dynaptico LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Address : NSObject
@property (nonatomic, strong) NSString *address;
@property (nonatomic, strong) NSString *buildingName;
@property (... |
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <getopt.h>
#include <ctype.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <pthread.h>
#include "measurement.h"
#include "publish.h"
static bool running = true;
static unsigned int reflections;
static pthread_mutex_t lock;
stati... |
#ifndef dplyr__Quosure_h
#define dplyr__Quosure_h
#include <tools/SymbolString.h>
#include "SymbolVector.h"
namespace dplyr {
inline SEXP quosure(SEXP expr, SEXP env) {
Language quo("~", expr);
quo.attr(".Environment") = env;
quo.attr("class") = CharacterVector("formula");
return quo;
}
class NamedQuosure... |
/* MAlib
* Copyright (C) 1999-2003 Kazuo HIYANE, Jun IIO, and Tomoyuki YATABE
* Copyright (C) 2003 Akira SAITO
*
* 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.... |
/**
* The Forgotten Server - a free and open-source MMORPG server emulator
* Copyright (C) 2014 Mark Samman <mark.samman@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eithe... |
/*
Game description:
This game is a text-based simulation of the daily:
- White-collar worker
- Data entry monkey
- Spreadsheet-making employee
*/
#include <stdio.h>
#include "../tools.h"
void mainWorkplaceSimLoop(char *username);
void workplaceSim(char *username){
int cont;
puts("Welcome to Workplace S... |
/*
* Purpose: Test retrieving compute rows
* Functions: dbaltbind dbaltcolid dbaltop dbalttype dbnumalts
*/
#include "common.h"
#include <assert.h>
static int failed = 0;
static int got_error = 0;
static int compute_supported = 1;
static int
compute_msg_handler(DBPROCESS * dbproc, DBINT msgno, int state, int sev... |
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... |
// -------------------------------------------------------------------------
// sg_local.h
// Definicje struktur danych i metod dla procesu EDP postument
//
// Ostatnia modyfikacja: 2006
// -------------------------------------------------------------------------
#ifndef __SG_IRP6P_TFG_H
#d... |
/*
* Copyright (C) 2006 Voice Sistem SRL
*
* This file is part of Open SIP Server (opensips).
*
* opensips is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your... |
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
extern char __dtb_imx6q_sabrelite_start[];
ENTRY_FUNCTION(start_imx6q_sabrelite, r0, r1, r2)
{
uint32_t fdt;
arm_cpu_lowlevel_init();
fdt = (uint32_t)__dtb_imx6q_sabrelite_start - get_runtime_offset();
barebox... |
// *************************************************************************
//
// Copyright 2004-2010 Bruno PAGES .
//
// This file is part of the BOUML Uml Toolkit.
//
// 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
// th... |
#ifndef __FOCALTECH_CTL_H__
#define __FOCALTECH_CTL_H__
#define FT_RW_IIC_DRV "ft_rw_iic_drv"
#define FT_RW_IIC_DRV_MAJOR 210
#define FT_I2C_RDWR_MAX_QUEUE 36
#define FT_I2C_SLAVEADDR 11
#define FT_I2C_RW 12
#define FT_RESET_TP 13
typedef struct ft_rw_i2c
{
u8 *buf;
u8 flag... |
#import <QuartzCore/CALayer.h>
@import QuartzCore;
@import JavaScriptCore;
@protocol JSBNSObject;
@protocol JSBCAEmitterCell <JSExport, JSBNSObject>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@property CGFloat emissionRange;
@property (copy) NSDictionary *style;
@pro... |
// ============================================================================
// Copyright Jean-Charles LAMBERT - 2007-2015
// e-mail: Jean-Charles.Lambert@lam.fr
// address: Centre de donneeS Astrophysique de Marseille (CeSAM)
/... |
/*
* Copyright (c) 1999-2005 Hewlett-Packard Development Company, L.P.
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
*
* Permission is hereby granted to use or copy this program
* for any purpose, provided the above notices are reta... |
#pragma once
//================================================================================
class DlgSelectFile : public CFileDialog
{
public:
DlgSelectFile(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
LPCTSTR lpszDefExt = NULL,
LPCTSTR lpszFileName = NULL,
DWORD dwFlags = OFN_HIDEREADON... |
/*
* Gridbrain
* Copyright (C) 2007 Telmo Menezes.
* telmo@telmomenezes.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*
* This program is distributed in the ho... |
/*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any la... |
/* Emacs style mode select -*- C++ -*-
*-----------------------------------------------------------------------------
*
*
* PrBoom: a Doom port merged with LxDoom and LSDLDoom
* based on BOOM, a modified and improved DOOM engine
* Copyright (C) 1999 by
* id Software, Chi Hoang, Lee Killough, Jim Flynn, Ran... |
/*
* $Id: StoreFSufs.h,v 1.5 2006/09/14 00:51:12 robertc Exp $
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous individuals from
* the Internet community; see the CONTRIBUTORS file for ful... |
/*
* ircd-ratbox: A slightly useful ircd.
* fileio.h: The file input/output header.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
* Copyright (C) 1996-2002 Hybrid Development Team
* Copyright (C) 2002-2004 ircd-ratbox development team
*
* This program is free software; you can ... |
/* ***** BEGIN LICENSE BLOCK *****
* This file is part of Natron <http://www.natron.fr/>,
* Copyright (C) 2013-2017 INRIA and Alexandre Gauthier-Foichat
*
* Natron 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 Fou... |
GtkWidget* create_fr (void);
|
/**
* @file ChargeCtl.c
*
* Charge Control
*
*
* @version $Revision$
* @author JLJuang <juangjl@csie.nctu.edu.tw>
* @note Copyright (c) 2010, JSoftLab, all rights reserved.
* @note
*/
#ifdef __cplusplus
extern "C" {
#endif ///< for __cplusplus
#include "UpiDef.h"
/**
* @brief CHGCheck... |
/*
* glights - A GTK Light Controller
* Copyright 2006-2008 Stefan Ott
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any l... |
#ifndef CYGONCE_HAL_PLF_REGS_H
#define CYGONCE_HAL_PLF_REGS_H
//==========================================================================
//
// plf_regs.h
//
// Generic platform CPU definitions
//
//==========================================================================
// ####ECOSGPLCOPYRIGHTBEGIN#### ... |
/*
mkvmerge -- utility for splicing together matroska files
from component media subtypes
Distributed under the GPL v2
see the file COPYING for details
or visit http://www.gnu.org/copyleft/gpl.html
class definition for the generic reader and packetizer
Written by Moritz Bunkus <moritz@bunkus.org... |
/*
* os_netbsd.h
*
* Home page of code is: http://www.smartmontools.org
*
* Copyright (C) 2003-8 Sergey Svishchev
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef OS_NETBSD_H_
#define OS_NETBSD_H_
#define OS_NETBSD_H_CVSID "$Id$\n"
#include <sys/device.h>
#include <sys/param.h>
#include <sys/sysctl.h... |
#ifndef CONTACTDELEGATE_H
#define CONTACTDELEGATE_H
#include <QStyledItemDelegate>
class ContactDelegate : public QStyledItemDelegate {
public:
explicit ContactDelegate(QWidget* parent = 0) : QStyledItemDelegate(parent){}
protected:
void paint(QPainter* painter, const QStyleOptionViewItem& option, const QMode... |
/*
** $Id: newtoolbar_impl.h 7338 2007-08-16 03:46:09Z xgwang $
**
** newtoolbar.h: the head file of NewToolBar control module.
**
** Copyright (C) 2003 ~ 2007 Feynman Software.
**
** Create date: 2003/04/24
*/
#ifndef __NEWTOOLBAR_IMPL_H_
#define __NEWTOOLBAR_IMPL_H_
#ifdef __cplusplus
extern "C" {
#endif
#defin... |
/*
* Copyright (C) 2011, 2012, NVIDIA CORPORATION
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this li... |
#define CONFIG_FEATURE_EDITING_ASK_TERMINAL 1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.