text stringlengths 4 6.14k |
|---|
/*
* Copyright (c) 2016 The AnyRTC project authors. All Rights Reserved.
*
* Please visit https://www.anyrtc.io for detail.
*
* The GNU General Public License is a free, copyleft license for
* software and other kinds of works.
*
* The licenses for most software and other practical works are designed
* to take away y... |
// driver/atkbd.c
#include <arch/x86/io.h>
#include <driver/i8259.h>
#include <driver/atkbd.h>
#include <kernel/process/lock.h>
#define I8042_DATA_IO 0x60
#define I8042_STAT_IO 0x64
#define I8042_CTL_IO 0x64
#define SET_LED 0xed
static _key_handler_t atkbd_handler;
static _lock_t ilock;
static void... |
#define __GM4_INDEX_C__
#include <malloc.h>
#include <string.h>
#include "index.h"
#include "version.h"
unsigned long long
gt4_index_get_kmer_info (GT4Index *index, unsigned int kmer, unsigned int *num_reads)
{
if ((index->version_major == 0) && (index->version_minor < 4)) {
*num_reads = index->read_blocks[kme... |
/*
File: leaidrawable.h
Project: leafhopper
Author: Douwe Vos
Date: Nov 18, 2014
e-mail: dmvos2000(at)yahoo.com
Copyright (C) 2014 Douwe Vos.
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... |
/*
This file is part of Chirp.
Chirp 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 License, or
any later version.
Chirp is distributed in the hope that it will b... |
#ifndef PROTY_TOKEN_H
#define PROTY_TOKEN_H
typedef enum TokenType {
// operators
Token_binaryop,
Token_unaryop,
Token_assign,
// primitive data types
Token_integer,
Token_decimal,
Token_string,
Token_name,
// keywords
Token_doKw,
Token_ifKw,
Token_elseKw,
Token_whileKw,
Token_endKw,
... |
// Copyright 2017 Philip Zwanenburg
// MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE)
#ifndef DPG__solver_Advection_functions_h__INCLUDED
#define DPG__solver_Advection_functions_h__INCLUDED
double *compute_b_Advection (unsigned int const Nn, double const *const XYZ);
#endif // DPG__s... |
/****************************************************************************/
/// @file Bresenham.h
/// @author Daniel Krajzewicz
/// @author Michael Behrisch
/// @date Mon, 17 Dec 2001
/// @version $Id: Bresenham.h 13811 2013-05-01 20:31:43Z behrisch $
///
// A class to realise a uniform n:m - relationship us... |
/******************************************************************************
* main.h
*
* pdfresurrect - PDF history extraction tool
*
* Copyright (C) 2008, 2009, 2010, 2012, 2019, 2020, 2021 Matt Davis (enferex).
*
* Special thanks to all of the contributors: See AUTHORS.
*
* Special thanks to 757labs (75... |
/* AGS - Advanced GTK Sequencer
* Copyright (C) 2005-2011 Joël Krähemann
*
* 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 3 of the License, or
* (at your option) any later ... |
//
// Created by bernardoct on 8/25/17.
//
#ifndef TRIANGLEMODEL_OBJECTIVESCALCULATOR_H
#define TRIANGLEMODEL_OBJECTIVESCALCULATOR_H
#include "../DataCollector/UtilitiesDataCollector.h"
#include "../DataCollector/RestrictionsDataCollector.h"
class ObjectivesCalculator {
public:
static double calculateReliabili... |
/*
* Generated by class-dump 3.1.2.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
*/
#import "_ABCreateStringWithAddressDictionary.h"
@interface _TNDRUser : _ABCreateStringWithAddressDictionary
{
}
+ (id)keyPathsForValuesAffectingValueForKey:(id)fp8;
+ (id)entityInManag... |
#include "gui.h"
int gui(){
return 0;
}
|
/*
atmega88_example.c
*/
#ifndef F_CPU
#define F_CPU 8000000
#endif
#include <avr/io.h>
#include <stdio.h>
#include <avr/interrupt.h>
#include <avr/eeprom.h>
#include <avr/sleep.h>
/*
* This demonstrate how to use the avr_mcu_section.h file The macro adds a section to the ELF file
* with useful information for th... |
#ifndef SENSORMODULE_H
#define SENSORMODULE_H
// wrappes sensor access, eventual data polling and the publishing
class SensorModule {
public:
SensorModule(
shared_ptr<AbstractActiveSensor> sensor,
shared_ptr<AbstractPublisher> publisher)
: sensor(sensor), publisher(publisher)
{
sensor.setCallback(this->da... |
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/grsecurity.h>
#include <linux/grinternal.h>
char *signames[] = {
[SIGSEGV] = "Segmentation fault",
[SIGILL] = "Illegal instruction",
[SIGABRT] = "Abort",
[SIGBUS] = "Invalid alignment/Bus error"
};
void
gr_log_signal(const... |
// tf8036_bl.c : tex font drawing, 80 cols, 36 rows - baseline implementation
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "GL/glfw.h"
#include "util/sys.h"
#include "util/fps.h"
#include "util/win.h"
#include "font/tfont.h"
#include "tf8036_common.h"
static const char* ... |
#ifndef MUSICQQQUERYALBUMREQUEST_H
#define MUSICQQQUERYALBUMREQUEST_H
/***************************************************************************
* This file is part of the TTK Music Player project
* Copyright (C) 2015 - 2022 Greedysky Studio
* This program is free software; you can redistribute it and/or modify
... |
/****************************************************************************/
/// @file NIVissimSingleTypeParser_Signalgeberdefinition.h
/// @author Daniel Krajzewicz
/// @date Wed, 18 Dec 2002
/// @version $Id: NIVissimSingleTypeParser_Signalgeberdefinition.h 22608 2017-01-17 06:28:54Z behrisch $
///
//
/*****... |
/*
* Copyright 1997, Regents of the University of Minnesota
*
* cmpfillin.c
*
* This file takes a graph and a fill-reducing ordering and computes
* the fillin.
*
* Started 9/1/2004
* George
*
* $Id: cmpfillin.c 9982 2011-05-25 17:18:00Z karypis $
*
*/
#include "metisbin.h"
/******************************... |
/*
* Copyright (C) 2021 Yee Young Han <websearch@naver.com> (http://blog.naver.com/websearch)
*
* 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 3 of the License, or
*... |
#include "../../../../../src/purchasing/inapppurchase/winrt/qwinrtinappproduct_p.h"
|
/*
* Copyright (C) 2015 NIPE-SYSTEMS
* Copyright (C) 2015 Jonas Krug
* Copyright (C) 2015 Tim Gevers
*
* 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 3 of the License, or... |
/*
PubSubClient.h - A simple client for MQTT.
Nick O'Leary
http://knolleary.net
*/
#ifndef PubSubClient_h
#define PubSubClient_h
#include <Arduino.h>
#include "IPAddress.h"
#include "Client.h"
#include "Stream.h"
#define MQTT_VERSION_3_1 3
#define MQTT_VERSION_3_1_1 4
// MQTT_VERSION : Pick the version... |
/**
****************************************************************************************
*
* @file user_profiles_config.h
*
* @brief Configuration file for the profiles used in the application.
*
* Copyright (C) 2015. Dialog Semiconductor Ltd, unpublished work. This computer
* program includes Confidentia... |
//===----------------------- config_elast.h -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
/*
This file is part of Darling.
Copyright (C) 2020 Lubos Dolezel
Darling 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 License, or
(at your option) any later version.
Darling is distr... |
/*
SSSD
Utilities to for tha pam_data structure
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2009 Red Hat
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... |
/*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[3];
atomic_int atom_0_r3_0;
atomic_int atom_1_r6_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... |
/* RetroArch - A frontend for libretro.
* Copyright (c) 2011-2016 - Daniel De Matteis
*
* RetroArch 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 Found-
* ation, either version 3 of the License, or (at your opt... |
/*
* HackRFFrontend.h
*
* Created on: 26/02/2017
* Author: Lucas Teske
*/
#if 0
#ifndef SRC_HACKRFFRONTEND_H_
#define SRC_HACKRFFRONTEND_H_
#include "FrontendDevice.h"
#include <libhackrf/hackrf.h>
class HackRFFrontend: public FrontendDevice {
private:
std::function<void(void*data, int length, int type)... |
// Generated by gencpp from file rosserial_msgs/RequestParamRequest.msg
// DO NOT EDIT!
#ifndef ROSSERIAL_MSGS_MESSAGE_REQUESTPARAMREQUEST_H
#define ROSSERIAL_MSGS_MESSAGE_REQUESTPARAMREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/bu... |
#include "pyc_code.h"
#include "pyc_module.h"
#include "data.h"
namespace Pyc {
enum Opcode {
/* No parameter word */
STOP_CODE, POP_TOP, ROT_TWO, ROT_THREE, DUP_TOP, DUP_TOP_TWO,
UNARY_POSITIVE, UNARY_NEGATIVE, UNARY_NOT, UNARY_CONVERT, UNARY_CALL,
UNARY_INVERT, BINARY_POWER, BINARY_MULTIPLY, BINARY_... |
#ifndef __lockpick__
#define __lockpick__
// Libraries
#include <unistd.h>
#ifdef __graphics__
#include <passe_par_tout.h>
#endif
namespace lockpick
{
struct vector
{
// Members
double x;
double y;
// Constructors
vector();
vector(double x, double y);
};
struct color
... |
/*
* Copyright(C) 2016 Davidson Francis <davidsondfgl@gmail.com>
*
* This file is part of Nanvix.
*
* Nanvix 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 License, or
* (at ... |
/*
* Copyright (C) 2006-2016 Christopho, Solarus - http://www.solarus-games.org
*
* Solarus 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 License, or
* (at your option) any late... |
#include <cassert>
#include "UnitTest/UnitTest.h"
#include "../src/CacheManager.h"
using namespace std;
class TestCacheManager : public TestClass<TestCacheManager>
{
public:
TestCacheManager();
~TestCacheManager();
bool ModuleCache();
bool ConfigCache();
bool ParamCache();
bool DeviceCache();... |
/* -------------------------------------------------------------------------
// File Name : InternalStruct.h
// Author : Zhang Fan
// Create Time : 2013-3-18 18:22:47
// Description :
//
// -----------------------------------------------------------------------*/
#ifndef __INTERNALSTRUCT_H__
... |
/***
* This file is part of rtorrent-cli
* Copyright (C) 2013 Damir Jelić
*
* 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 late... |
/*
Graffik Motion Control Application
Copyright (c) 2011-2013 Dynamic Perception
This file is part of Graffik.
Graffik 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 L... |
/*
Copyright (C) 2020 Anssi Kulju
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 3 of the License, or
(at your option) any later version.
This program is distribut... |
#ifndef NETWORK_H
#define NETWORK_H
#include <QObject>
#include <QUdpSocket>
//枚举:发送数据的类型
typedef enum MessageType {
NewParticipant, //新用户上线
Message, //消息
FileName, //传送文件名
Refuse, //拒绝接收文件
ParticipantLeft //用户下线
}MessageType;
class Ne... |
#pragma once
#include "Shared.h"
#include "CasparDevice.h"
class CORE_EXPORT DeviceManager
{
public:
explicit DeviceManager();
~DeviceManager();
static DeviceManager& getInstance();
CasparDevice& getDevice();
private:
CasparDevice* device;
};
|
// PD is a free, modular C++ library for biomolecular simulation with a
// flexible and scriptable Python interface.
// Copyright (C) 2003-2013 Mike Tyka and Jon Rea
//
// 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
// t... |
# if !defined(LINK_H)
# define LINK_H
# include <sys/link.h>
//# include "/usr/include/link.h"
# endif
|
/**
* \file
*
* \author Georg Hopp
*
* \copyright
* Copyright © 2014 Georg Hopp
*
* 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 3 of the License, or
* (at your option... |
/******************************************************************************
CCAV: Media play library based on Qt(UI),c/c++11 and FFmpeg
Copyright (C) 2015-2016 Juno <junowendy@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public... |
#pragma once
#include "DNode.h"
namespace BI
{
template<class TData>
class Sort
{
public:
Sort() { }
~Sort() { }
virtual void sort(DNode<TData>* head, DNode<TData>* tail, const size_t size) = 0;
protected:
bool swap(DNode<TData>* n1, DNode<TData>* n2);
};
template<clas... |
void base() { }
|
/* Lips of Suna
* Copyright© 2007-2012 Lips of Suna development team.
*
* Lips of Suna 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 3 of the
* License, or (at your option) any la... |
/* DO NOT EDIT THIS FILE - it is machine generated */
/* Generated for class beast.evomodel.treelikelihood.NativeNucleotideLikelihoodCore */
/* Generated from NativeNucleotideLik%231272A6.java*/
#ifndef _Included_beast_evomodel_treelikelihood_NativeNucleotideLikelihoodCore
#define _Included_beast_evomodel_treelikeliho... |
/****************************************************************************************//**
Author of this file is
__________ _______ __ _____ __ __________ _____ __ __ _____ ______ __ ____
/ _ _ // ___ /__/ /_ / ___ / // _ _ // ___ / // //____// ____ \ / //___ \
/ / / / / // /__/_//... |
/*
* Copyright (C) 2003-2020 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat 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 ve... |
/* AGS - Advanced GTK Sequencer
* Copyright (C) 2014 Joël Krähemann
*
* 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 3 of the License, or
* (at your option) any later versi... |
// This file is part of tralloc. Copyright (C) 2013 Andrew Aladjev aladjev.andrew@gmail.com
// tralloc 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 License, or (at your option) any later... |
#ifndef _BSIM3v0INIT_H
#define _BSIM3v0INIT_H
extern IFparm BSIM3v0pTable[ ];
extern IFparm BSIM3v0mPTable[ ];
extern char *BSIM3v0names[ ];
extern int BSIM3v0pTSize;
extern int BSIM3v0mPTSize;
extern int BSIM3v0nSize;
extern int BSIM3v0iSize;
extern int BSIM3v0mSize;
#endif
|
#ifndef MANAGECHUCVU_H
#define MANAGECHUCVU_H
#include <QKeyEvent>
#include <QWidget>
#include <QtSql>
#include "manageindex.h"
#include <QDebug>
namespace Ui {
class ManageChucVu;
}
class ManageChucVu : public QWidget
{
Q_OBJECT
public:
explicit ManageChucVu(QWidget *parent = 0);
~Ma... |
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include "rh4n.h"
#include "rh4n_nat_varhandling.h"
int rh4nnatputBool(RH4nNatVarHandleParms *args, char *groupname, char *varname) {
int rc = 0;
char val = 0;
if(args->desc->dimensions > 0) return(rh4nnatputBoolArray(args, groupname, varname));
... |
// Copyright 2017 Philip Zwanenburg
// MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE)
#ifndef DPG__const_cast_h__INCLUDED
#define DPG__const_cast_h__INCLUDED
/** \file
* \brief Provides functions for casting to const lvalues for standard datatypes.
*
* Variables with standard dataty... |
/*
* See Licensing and Copyright notice in naev.h
*/
#ifndef AI_EXTRA_H
# define AI_EXTRA_H
#include "ai.h"
#include "pilot.h"
/*
* Init, destruction.
*/
int ai_pinit( Pilot *p, const char *ai );
void ai_destroy( Pilot* p );
/*
* Task related.
*/
Task *ai_newtask( Pilot *p, const char *func, int subtask,... |
/*
* Interface to SPI flash
*
* Copyright (C) 2008 Atmel Corporation
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free S... |
#ifndef REQUESTHANDLER_H
#define REQUESTHANDLER_H
#include <QNetworkAccessManager>
#include <QNetworkReply>
namespace GrooveShark
{
class RequestHandler
{
public:
/**
* @param username The username that should be used for authentication if required.
* @param password The password that should be used ... |
//
// JYTrendTypeView.h
// 各种报表
//
// Created by niko on 17/4/28.
// Copyright © 2017年 YMS. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "JYDashboardModel.h"
@interface JYTrendTypeView : UIView
@property (nonatomic, assign) TrendTypeArrow arrow;
@end
|
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_
#define _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_
#include "smsdk_ext.h"
class PluginStatusForward : public SDKExtension, public IPluginsListener
{
public: // SDKExtension
virtual bool SDK_OnLoad(char *error, size_t maxlength, bool late);
virtual void SDK_OnUnl... |
/*
Aventurine Alpha
Copyright (C) 2014 Jie Kang
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 later version.
T... |
/*
* Copyright (c) 2017 Cisco and/or its affiliates.
* 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 applicabl... |
#ifndef __SOCK_IO_H__
#define __SOCK_IO_H__
#define GRD_DATA_TYPE_TEXT 1
#define GRD_DATA_TYPE_FILE 2
#define GRD_RECV_ERROR 1
#define GRD_RECV_SUCESS 0
#define GRD_SEND_ERROR 1
#define GRD_SEND_SUCESS 0
#include <web-header.h>
#include <unistd.h>
int grd_recv(int fd_sock, char **recvd);
int grd_recv_len(int fd_... |
#include "hermes2d.h"
using namespace Hermes;
using namespace Hermes::Hermes2D;
using namespace Hermes::Hermes2D::WeakFormsH1;
using namespace Hermes::Hermes2D::Views;
/* Weak forms */
class CustomWeakFormPoisson : public WeakForm<double>
{
public:
CustomWeakFormPoisson(std::string mat_al, Hermes1DFunction<double>... |
/*
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#define BITS_PER_UNIT 8
#define SI_TYPE_SIZE (sizeof (SItype) * BITS_PER_UNIT)
typedef unsigned int UQItype __attribute__ ((mode(QI)));
typedef int SItype __attribute__ ((mode(SI)));
typedef unsigned int USItype __attribute__ ... |
/*
* Code for class TYPE [NATURAL_64]
*/
#include "eif_eiffel.h"
#include "../E1/estructure.h"
#include "../E1/eoffsets.h"
#include "ty416.h"
#include "eif_built_in.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* {TYPE}.name */
EIF_REFERENCE F631... |
/*
* include/asm-xtensa/page.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version2 as
* published by the Free Software Foundation.
*
* Copyright (C) 2001 - 2007 Tensilica Inc.
*/
#ifndef _XTENSA_PAGE_H
#define _XTENSA_PAGE_H
... |
#pragma once
#include "afxcmn.h"
#include "DTreeCtrl.h"
// CAddItemGroupDlg ¶Ô»°¿ò
namespace Dialog{
class CAddItemGroupDlg : public CDialog, public Tool::IDTreeOwner
{
DECLARE_DYNAMIC(CAddItemGroupDlg)
public:
CString m_strGroupName;
CString m_strParentName;
UINT m_uiParentID;
private:
CString m_strOldGroupNam... |
/* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*-
*******************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011.
*
* Al... |
// Copyright 2008 Wincent Colaiuta
// 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 3 of the License, or
// (at your option) any later version.
//
// This program is distributed... |
#include </usr/include/artik/base/artik_module.h>
#include </usr/include/artik/base/artik_loop.h>
#include </usr/include/artik/bluetooth/artik_bluetooth.h>
#include "../Hardware/hardLibrary.h";
int main (int argc, char** argv) {
int pipe = atoi(argv[1]);
artik_bt_device *devices = NULL;
int *num = 0;
artik_erro... |
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <stdint.h>
#include <string.h>
#include "vpn_opt.h"
#include "error.h"
#include "utils.h"
void print_usage() {
printf("Usage: main -c -s [IP] -p [PORT]\n");
}
int vpn_opt(int argc, char *argv[], options_main* opt) {
int option = 0;
int port;... |
#ifndef _APP_DELEGATE_H_
#define _APP_DELEGATE_H_
#include "cocos2d.h"
/**
@brief The cocos2d Application.
The reason for implement as private inheritance is to hide some interface call by Director.
*/
class AppDelegate : private cocos2d::Application
{
public:
AppDelegate();
virtual ~AppDelegate();
... |
//========= Copyright © 1996-2003, Valve LLC, All rights reserved. ============
//
// Purpose:
//
//=============================================================================
#ifndef IVP_H
#define IVP_H
#ifdef _WIN32
#pragma once
#endif
#include "utlvector.h"
class CPhysCollide;
class CTextBuffer;
class IPhysics... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Code/Dev/appNativa/source/rareobjc/../rare/core/com/appnativa/rare/ui/event/iItemChangeListener.java
//
// Created by decoteaud on 3/11/16.
//
#ifndef _RAREiItemChangeListener_H_
#define _RAREiItemChangeListener_H_
@class RAREItemChangeEvent;
#im... |
#pragma once
class MarketTradesModel : public QAbstractItemModel, public Entity::Listener
{
public:
enum class Column
{
first,
date = first,
price,
amount,
last = amount,
};
public:
MarketTradesModel(Entity::Manager& channelEntityManager);
~MarketTradesModel();
// void reset... |
#ifndef CONTROL_2XXXX_H
#define CONTROL_2XXXX_H
void hard_reset_to_bootloader(void);
void hard_reset_to_user_code(void);
#endif // ..._H
|
#ifndef IQMOL_SHADERLIBRARY_H
#define IQMOL_SHADERLIBRARY_H
/*******************************************************************************
Copyright (C) 2011-2013 Andrew Gilbert
This file is part of IQmol, a free molecular visualization program. See
<http://iqmol.org> for more details.
... |
/*******************************************************************
Part of the Fritzing project - http://fritzing.org
Copyright (c) 2007-2014 Fachhochschule Potsdam - http://fh-potsdam.de
Fritzing is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... |
//*******************************************************************************
// tinyRTX Filename: srtxuser.h (System Real Time eXecutive to USER interface)
//
// Copyright 2014 Sycamore Software, Inc. ** www.tinyRTX.com **
// Distributed under the terms of the GNU Lesser General Purpose License v3
//
// This file... |
void pr(int a, float b)
{
__print_int(a);
__print_float(b);
}
int main()
{
int a;
float b;
a = -27;
b = -0.07;
pr(a, b);
a = !5;
b = !3.4;
pr(a, b);
a = !0;
b = !0.0;
pr(a, b);
a = ~5;
__print_int(a);
a = 2 + 6;
b = 2 + 6.5;
pr(a, b);
a = 7 - 4;
b = 7.35 - 4;
pr(a, b);
a = 3 * 5;
b = 3.3 ... |
/*
* Unfuddle Tracker is a time tracking tool for Unfuddle service.
* Copyright (C) 2012 Viatcheslav Gachkaylo <vgachkaylo@crystalnix.com>
*
* This file is part of Unfuddle Tracker.
*
* Unfuddle Tracker is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public... |
//
// LTMediaCollectionCell.h
// LesTaxinomes
//
// Created by Pierre-Loup Tristant on 06/03/13.
// Copyright (c) 2013 Les Petits Débrouillards Bretagne. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LTMedia.h"
@interface LTMediaCollectionCell : UICollectionViewCell
@property (nonatomic, strong) LTM... |
////////////////////////////////////////////////////////////////////////////
// Created : 06.05.2010
// Author : Dmitriy Iassenev
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef XRAY_STDLIB_EXTENSIONS_INLINE_H_INCLUDED
#define XRAY_STDLIB_EX... |
// This is a Demo of the Irrlicht Engine (c) 2005 by N.Gebhardt.
// This file is not documentated.
#ifndef __C_MAIN_MENU_H_INCLUDED__
#define __C_MAIN_MENU_H_INCLUDED__
#include <irrlicht.h>
using namespace irr;
class CMainMenu : public IEventReceiver
{
public:
CMainMenu();
bool run(bool& outFullscreen, bool& o... |
// -*- C++ -*-
#ifndef HERWIG_GammaPMETest_H
#define HERWIG_GammaPMETest_H
//
// This is the declaration of the GammaPMETest class.
//
#include "ThePEG/Handlers/AnalysisHandler.h"
#include "Herwig/Utilities/Histogram.h"
namespace Herwig {
using namespace ThePEG;
/**
* Here is the documentation of the GammaPMETest ... |
/*
Author: cuckoo
Date: 2017/07/06 11:13:17
Update:
Problem: Number of Digit One
Difficulty: Hard
Source: https://leetcode.com/problems/number-of-digit-one/#/description
*/
#include <string>
using std::string;
#include <cmath> ... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <semaphore.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <assert.h>
#include "semconfig.h"
sem_t *mysem = NULL;
pid_t child;
int main(int argc, char **argv) {
sem_unlink(TESTSEM);
if ( (mysem... |
/*****************************************************************************
This file is part of QSS Solver.
QSS Solver 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 License, or
... |
INPUT_PORTS_START( iqblock )
PORT_START
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
... |
/*
* This file is part of the Colobot: Gold Edition source code
* Copyright (C) 2001-2015, Daniel Roux, EPSITEC SA & TerranovaTeam
* http://epsitec.ch; http://colobot.info; http://github.com/colobot
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Pu... |
/**********************************************************
* Version $Id$
*********************************************************/
///////////////////////////////////////////////////////////
// //
// SAGA //
// ... |
/*
* Copyright (C) 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
/* Test of u16_prev() function.
Copyright (C) 2010-2014 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 published by
the Free Software Foundation; either version 3 of the License, or
(at your opti... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid comme... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.