text stringlengths 4 6.14k |
|---|
//
// TJNetManager.h
// TJMVVM
//
// Created by Tang杰 on 17/2/21.
// Copyright © 2017年 Tang杰. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TJRequest.h"
#import <AFNetworking/AFNetworking.h>
typedef void (^progress)(NSProgress *progress);
typedef void (^success)(NSDictionary *responseObject);... |
#ifndef __INCREMENTAL_READ_INTERFACE_H
#define __INCREMENTAL_READ_INTERFACE_H
#include "FileListNodeContext.h"
#include "Export.h"
class RAK_DLL_EXPORT IncrementalReadInterface
{
public:
/// Read part of a file into \a destination
/// Return the number of bytes written. Return 0 when file is done.
/// \... |
/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
// Copyright 2013 Sina Inc. All rights reserved.
// Author: sijia2@staff.sina.com.cn (Sijia Yu)
// Description: retrieval handler supplied to the other class
#ifndef SRC_RETRIEVAL_RETRIEVAL_HANDLER_H_
#define SRC_RETRIEVAL_RETRIEVAL_HANDLER_H_
#include <boost/shared_ptr.hpp>
#include <vector>
#include <map>
#include... |
//
// ZXAppDelegate.h
// screenShotDemo
//
// Created by zx on 1/31/15.
// Copyright (c) 2015 zx. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZXAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/*
* The Minimal snprintf() implementation
* Copyright (c) 2013 Michal Ludvig <michal@logix.cz>
*
* This is a minimal snprintf() implementation optimised
* for embedded systems with a very limited program memory.
* mini_snprintf() doesn't support _all_ the formatting
* the glibc does but on the other hand is a l... |
#ifndef ThirdInnerPlan_H_
#define ThirdInnerPlan_H_
#include "DomainCondition.h"
#include "engine/BasicUtilityFunction.h"
#include "engine/UtilityFunction.h"
#include "engine/DefaultUtilityFunction.h"
/*PROTECTED REGION ID(incl1464091819666) ENABLED START*/
//Add inlcudes here
/*PROTECTED REGION END*/
using namespace ... |
#ifndef __FASTFORWARD_PERFORMANCE_MANAGER_H
#define __FASTFORWARD_PERFORMANCE_MANAGER_H
#include "fixed_types.h"
#include "subsecond_time.h"
class FastForwardPerformanceManager
{
public:
static FastForwardPerformanceManager* create();
FastForwardPerformanceManager();
void enable();
void di... |
#pragma once
#include <vector>
#include "Boop.h"
#include "Food.h"
#include "ContactListener.h"
#include <chrono>
class Tournament
{
private:
ContactListener *contactListener;
std::chrono::milliseconds deltaTime;
std::chrono::high_resolution_clock::time_point lastRun = std::chrono::high_resolution_clock::now();
pu... |
#import <MUKSignal/MUKSignal-Base.h>
NS_ASSUME_NONNULL_BEGIN
/**
A signal which can be observed with a suspendable subscription.
When a subscriber is suspended, dispatching a signal does not invoke a
subscriber. When subscriber is resumed it receives the last dispatched payload.
*/
@interface MUKSignal<__covarian... |
#include "x86.h"
#define TIMER_PORT 0x40
#define FREQ_8253 1193182
void init_timer() {
int counter = FREQ_8253 / 100;
assert(counter < 65536);
out_byte(TIMER_PORT + 3, 0x34);
out_byte(TIMER_PORT + 0, counter % 256);
out_byte(TIMER_PORT + 0, counter / 256);
}
|
///////////////////////////////////////////////////////////////////////////////
// Name: wx/osx/core/stdpaths.h
// Purpose: wxStandardPaths for CoreFoundation systems
// Author: David Elliott
// Modified by:
// Created: 2004-10-27
// RCS-ID: $Id$
// Copyright: (c) 2004 David Elliott
/... |
/* annoStreamer -- returns items sorted by genomic position to successive nextRow calls */
#ifndef ANNOSTREAMER_H
#define ANNOSTREAMER_H
#include "annoAssembly.h"
#include "annoFilter.h"
#include "annoRow.h"
// The real work of fetching and filtering data is left to subclass
// implementations. The purpose of this ... |
//
// TACAppleMaps.h
// TACKit
//
// Created by masato_arai on 2015/04/27.
// Copyright (c) 2015年 Tea and Coffee. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface TACAppleMaps : NSObject
@property (nonatomic) CLLocation *location;
@property (nonatomic) NSString *mapI... |
// ----------------------------------------------------------------------------
// ATMEL Microcontroller Software Support - ROUSSET -
// ----------------------------------------------------------------------------
// DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
// ... |
/* SOGoUserSettings.h - this file is part of SOGo
*
* Copyright (C) 2009-2014 Inverse inc.
*
* This file 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, or (at your option)
* any later... |
#ifndef BLKTRACE_H
#define BLKTRACE_H
#include <stdio.h>
#include <limits.h>
#include <byteswap.h>
#include <endian.h>
#include <sys/types.h>
#include "blktrace_api.h"
#include "rbtree.h"
#define MINORBITS 20
#define MINORMASK ((1U << MINORBITS) - 1)
#define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))
#define M... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* Cherokee
*
* Authors:
* Alvaro Lopez Ortega <alvaro@alobbs.com>
*
* Copyright (C) 2001-2010 Alvaro Lopez Ortega
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the G... |
/* This file is part of Motion.
*
* Motion 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.
*
* Motion is distributed... |
#ifndef __JUNIPER_FPGA_INTERFACE__
#define __JUNIPER_FPGA_INTERFACE__
#include <stdint.h>
#define JUNIPER_FPGA_OK 0
#define JUNIPER_FPGA_FAIL_NOFILE -1
#define JUNIPER_FPGA_FAIL_DRVERR -2
#define JUNIPER_FPGA_SYSCALL_IN_ARGS_SIZE 21
#define JUNIPER_FPGA_SYSCALL_OUT_ARGS_SIZE 5
#define JUNIPER_FPGA_SYSCALL_OUT_KNOCK... |
#include <stdio.h>
#include "mms.h"
const char *url = "mms://od-msn.msn.com/3/mbr/apprentice_bts.wmv";
int main(int argc, char *argv[])
{
mms_t *this = NULL;
char buf[1024];
int i, res;
FILE* f;
if((this = mms_connect(NULL, NULL, url, 1)))
printf("Connect OK\n");
f = fopen("/tmp/mmsdownload.test", ... |
/*
* Copyright (C) 2016 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... |
/*
* PC Speaker beeper driver for Linux
*
* Copyright (c) 2002 Vojtech Pavlik
* Copyright (c) 1992 Orest Zborowski
*
*/
/*
* 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 Software Foundation
... |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* K2HK: SoC definitions
*
* (C) Copyright 2012-2014
* Texas Instruments Incorporated, <www.ti.com>
*/
#ifndef __ASM_ARCH_HARDWARE_K2HK_H
#define __ASM_ARCH_HARDWARE_K2HK_H
#define KS2_ARM_PLL_EN BIT(13)
/* PA SS Registers */
#define KS2_PASS_BASE 0x02000000
/*... |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the te... |
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2011-2016 ArkCORE <http://www.arkania.net/>
*
* 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 ... |
/* IKFilterBrowserView
Copyright (c) 2006 Apple Computer, Inc.
All rights reserved. */
#import <AppKit/AppKit.h>
#import <QuartzCore/QuartzCore.h>
/*!
@header IKFilterBrowserView
@copyright 2006 Apple Computer, Inc. All rights reserved.
@availability Coming to a Leopard installation near you
@abstr... |
/*
mmx ditherer
Copyright (C) 2000 Martin Vogt
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as published by
the Free Software Foundation.
For more information look at the file COPYRIGHT in this package
*/
#ifndef __D... |
/* Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list o... |
/*
* ip_vs_est.c: simple rate estimator for IPVS
*
* Authors: Wensong Zhang <wensong@linuxvirtualserver.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... |
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class dv_DoubleVector */
#ifndef _Included_dv_DoubleVector
#define _Included_dv_DoubleVector
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: dv_DoubleVector
* Method: DV_SetCUDDManager
* Signature: (J)V
*/
JNIEXPORT void... |
/*
* Copyright (c) 2004, Bull SA. All rights reserved.
* Created by: Laurent.Vivier@bull.net
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*/
/*
* assertion:
*
* aio_read() shall fail with [EINVAL] or the e... |
#ifndef LITCUDATRACKPARAM_H_
#define LITCUDATRACKPARAM_H_ 1
#include <iostream>
struct LitCudaTrackParam {
float X, Y, Z, Tx, Ty, Qp;
float
C0, C1, C2, C3, C4,
C5, C6, C7, C8,
C9, C10, C11,
C12, C13,
C14;
friend std::ostream& operator<<(std::ostream& strm, const LitCudaTrackParam... |
//===========================================================================
// FullScreen Titlebar Constants
// 2004 - All rights reservered
//===========================================================================
//
// Project/Product : FullScreenTitlebar
// FileName : FullScreenTitleBarConst.h
// Auth... |
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Revision: $
// $NoKeywords: $
//=============================================================================//
#ifndef ICLIENTMODE_H
#define ICLIENTMODE_H
#include <vgui/VGUI.h>
class CViewSetup;
class C... |
/* move to /include/linux/ ,in case conflict with qcom */
/*Add synaptics new driver "Synaptics DSX I2C V2.0"*/
/*
* Synaptics DSX touchscreen driver
*
* Copyright (C) 2012 Synaptics Incorporated
*
* Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com>
* Copyright (C) 2012 Scott Lin <scott.lin@tw.s... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2010 coresystems GmbH
* Copyright (C) 2012 Google 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; version 2 ... |
/*
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* Copyright (C) 2008-2010 Trinity <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 vers... |
/*
* Copyright (C) 2005-2010 MaNGOS <http://getmangos.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; either version 2 of the License, or
* (at your option) any later version.
*
... |
#pragma once
#include <cstdio>
#include <string>
#include "../Math/Vector2D.h"
#include <tinyxml2.h>
#ifdef _DEBUG
#undef DEBUG
#endif
namespace OT {
class Game;
namespace Item {
class Factory;
class Item;
class AbstractPrototype
{
public:
std::string id;
std::string name;
int price;
int2 ... |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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.
*
* This program is ... |
#ifndef TIMELINEPANE_H
#define TIMELINEPANE_H
#include "maincursor.inc"
#include "mtimebar.inc"
#include "mwindow.inc"
#include "mwindowgui.inc"
#include "patchbay.inc"
#include "samplescroll.inc"
#include "trackcanvas.inc"
#include "trackscroll.inc"
class TimelinePane
{
public:
// coordinates are relative to the m... |
/***************************************************************************
qgswcsgecapabilities.h
-------------------------
begin : January 16 , 2017
copyright : (C) 2013 by René-Luc D'Hont ( parts from qgswcsserver )
... |
/* Gcolor3ColorItem
*
* Copyright (C) 2018 Jente Hidskes
*
* Author: Jente Hidskes <hjdskes@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; either version 2 of the License, ... |
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
extern const device_t s3_virge_vlb_device;
extern const device_t s3_virge_pci_device;
extern const device_t s3_virge_988_vlb_device;
extern const device_t s3_virge_988_pci_device;
extern const device_t s3_virge_375_vlb_device;
extern const device_t s... |
/*
* Copyright (c) 2010 Cyrille Berger <cberger@cberger.net>
*
* 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... |
/*
* Copyright (C) 2007 Neil Jagdish Patel <njpatel@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; either version 2 of the License, or
* (at your option) any later versi... |
/*
* qsort.c
* Qsort algorithm
*
* Based on technology:
* Copyright (c) 1980, 1983 The Regents of the University of California.
* All rights reserved.
*
* Our own version of the system qsort routine which is faster by an
* average of 25%, with lows and highs of 10% and 50%.
*
* The THRESHold below is the ins... |
/*
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#ifndef SQUID_PEERPOOLMGR_H
#define SQUID_PE... |
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
* vim:expandtab:shiftwidth=8:tabstop=8:
*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... |
extern struct vfsmount * sysfs_mount;
extern struct kmem_cache *sysfs_dir_cachep;
extern struct inode * sysfs_new_inode(mode_t mode, struct sysfs_dirent *);
extern int sysfs_create(struct dentry *, int mode, int (*init)(struct inode *));
extern int sysfs_dirent_exist(struct sysfs_dirent *, const unsigned char *);
ex... |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/*
* brasero
* Copyright (C) Philippe Rouquier 2009 <bonfire-app@wanadoo.fr>
*
* brasero 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 Sof... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 Google 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; version 2 of the License.
*
* This program is distri... |
% ClassName
GstElement
% TYPE_CLASS_NAME
GST_TYPE_ELEMENT
% pkg-config
gstreamer-0.10
% includes
#include <gst/gst.h>
% prototypes
static GstPad *gst_replace_request_new_pad (GstElement * element,
GstPadTemplate * templ, const gchar * name);
static void gst_replace_release_pad (GstElement * element, GstPad * pad);
... |
/*
* UCIMF - Unicode Console InputMethod Framework
*
* Copyright (c) 2006-2007 Chun-Yu Lee (Mat) and Open RazzmatazZ Laboratory (OrzLab)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2010-2013
* NVIDIA Corporation <www.nvidia.com>
*/
#ifndef _TEGRA124_PMU_H_
#define _TEGRA124_PMU_H_
/* Set core and CPU voltages to nominal levels */
int pmu_set_nominal(void);
#endif /* _TEGRA124_PMU_H_ */
|
/* -LICENSE-START-
** Copyright (c) 2016 Blackmagic Design
**
** Permission is hereby granted, free of charge, to any person or organization
** obtaining a copy of the software and accompanying documentation covered by
** this license (the "Software") to use, reproduce, display, distribute,
** execute, and transmit the... |
/* @(#) $Header: /usr/local/dslrepos/uClinux-dist/user/tcpdump_web/af.h,v 1.1 2009/10/08 07:41:51 kaohj Exp $ (LBL) */
/*
* Copyright (c) 1998-2006 The TCPDUMP project
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code
* distribution... |
/*
* File: wgl_ext_api.c
* Purpose: Wrapper functions for Win32 OpenGL wgl extension functions
*
* Authors: Jon TURNEY
*
* Copyright (c) Jon TURNEY 2009
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*... |
/*
* settings.h
*
* Created on: 5.5.2015
* Author: horinek
*/
#ifndef set_menu_audio_H_
#define set_menu_audio_H_
#include "../gui.h"
#define gui_set_menu_audio_loop gui_list_draw
#define gui_set_menu_audio_irqh gui_list_irqh
void gui_set_menu_audio_init();
void gui_set_menu_audio_stop();
void gui_set_me... |
/************************************************************************
This software is part of React, a control engine
Copyright (C) 2005,2006 Donald Wayne Carr
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 Soft... |
#ifndef PENDING_COMMAND_H
#define PENDING_COMMAND_H
#include "pb/commands.pb.h"
#include "pb/response.pb.h"
#include <QVariant>
class PendingCommand : public QObject
{
Q_OBJECT
signals:
void finished(const Response &response, const CommandContainer &commandContainer, const QVariant &extraData);
void finis... |
/*
* IBM System z Huge TLB Page Support for Kernel.
*
* Copyright 2007 IBM Corp.
* Author(s): Gerald Schaefer <gerald.schaefer@de.ibm.com>
*/
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <asm/io.h>
#include <asm/pgalloc.h>
void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
... |
/* Unicorn Emulator Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2015 */
#ifndef UC_QEMU_TARGET_ARM_H
#define UC_QEMU_TARGET_ARM_H
// functions to read & write registers
int arm_reg_read(struct uc_struct *uc, unsigned int *regs, void **vals, int count);
int arm_reg_write(struct uc_struct *uc, unsigned int *re... |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... |
/**
* (c) 2015 Alexandro Sanchez Bach. All rights reserved.
* Released under GPL v2 license. Read LICENSE for more details.
*/
#pragma once
#include "nucleus/common.h"
namespace sys {
// Process objects
enum
{
// Official
SYS_MEM_OBJECT = 0x08,
SYS_INTR_TAG_OBJECT = 0x0A,... |
#ifndef __NETNS_CORE_H__
#define __NETNS_CORE_H__
struct ctl_table_header;
struct prot_inuse;
struct netns_core {
/* core sysctls */
struct ctl_table_header *sysctl_hdr;
int sysctl_somaxconn;
struct prot_inuse __percpu *inuse;
};
#endif
|
#ifndef MPLAYER_CACHE2_H
#define MPLAYER_CACHE2_H
#include "stream.h"
void cache_uninit(stream_t *s);
int cache_do_control(stream_t *stream, int cmd, void *arg);
#endif /* MPLAYER_CACHE2_H */
|
/*
This file is part of the Astrometry.net suite.
Copyright 2006, 2007 Dustin Lang, Keir Mierle and Sam Roweis.
The Astrometry.net suite 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, version 2.
The... |
///
/// \file barry.h
/// Main header file for applications
///
/*
Copyright (C) 2005-2012, Net Direct Inc. (http://www.netdirect.ca/)
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... |
/*
* Author: MontaVista Software, Inc. <source@mvista.com>
*
* 2007 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/
#include <linux/init.h>
#inc... |
/**
******************************************************************************
* @file bsp_xxx.c
* @author fire
* @version V1.0
* @date 2013-xx-xx
* @brief adc1 Ó¦ÓÃbsp / DMA ģʽ
******************************************************************************
* @attention
*
* Ê... |
/***************************************************************************
* Copyright (C) 2008 by Ely Levy <elylevy@cs.huji.ac.il> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... |
/*
*********************************************************************************************************
* uC/GUI
* Universal graphic software for embedded applications
*
* (c) Copyright 2002, Micrium Inc., Weston, FL
* ... |
/*
Copyright (C) 2004-2011 John E. Davis
This file is part of the S-Lang Library.
The S-Lang Library 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... |
#ifndef BASICWORKER_H
#define BASICWORKER_H
#include <QThread>
#include <qhexedit/document/qhexdocument.h>
class BasicWorker : public QThread
{
Q_OBJECT
public:
explicit BasicWorker(QHexDocument *document, QObject *parent = 0);
public slots:
void abort();
protected:
QHexDocu... |
/* QWinFF - a qt4 gui frontend for ffmpeg
* Copyright (C) 2011-2013 Timothy Lin <lzh9102@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, either version 3 of the License, o... |
/*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... |
///////////////////////////////////////////////////////////////////////////////
// String Tokenizer class
// This class is a very covenient class for manipulating tokens inside a string.
// It offers many functions for manipulating tokens.
// With all this functions,token manipulations becomes very easy!
// This c... |
/* $Id: lircd.h,v 5.16 2007/09/29 17:13:14 lirc Exp $ */
/****************************************************************************
** lircd.h *****************************************************************
****************************************************************************
*
*/
#ifndef _L... |
/*
* Copyright (C) 2015-2018 Département de l'Instruction Publique (DIP-SEM)
*
* Copyright (C) 2013 Open Education Foundation
*
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour
* l'Education Numérique en Afrique (GIP ENA)
*
* This file is part of OpenBoard.
*
* OpenBoard is free software: you can re... |
/****************************************************************************
**
** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... |
//timer02.c
// use atmega timer2 as main system timer instead of timer0
// timer0 is used for fast pwm (OC0B output)
// original OVF handler is disabled
#include "system_timer.h"
#ifdef SYSTEM_TIMER_2
#include <avr/io.h>
#include <avr/interrupt.h>
#include "macros.h"
void timer0_init(void)
{
CRITICAL_SECTION_START... |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
/*
libparted
Copyright (C) 1998-2001, 2007-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 opt... |
/*
* Broadcom Proprietary and Confidential. Copyright 2016 Broadcom
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* writt... |
/*
Copyright (C) 2008 Bradley Arsenault
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 distribute... |
/*
This source file is part of Rigs of Rods
Copyright 2005-2012 Pierre-Michel Ricordel
Copyright 2007-2012 Thomas Fischer
For more information, see http://www.rigsofrods.com/
Rigs of Rods is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3, as
publish... |
/*
* Copyright (C) 2008-2018 Free Software Foundation, Inc.
* Written by Simon Josefsson.
*
* 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 ... |
/*
* This file is part of NumptyPhysics <http://thp.io/2015/numptyphysics/>
* Coyright (c) 2014 Thomas Perl <m@thp.io>
*
* 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... |
/*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
/*
* mpi_life
*
* Coursework 5DV152 Parallel Programming for Multicore based Systems
* at Umea University, March 2017
*
* Lorenz Gerber
*
* Version 0.1
*
* Licensed under GPLv3
*
*/
/**
* @file mpi_life.c
* @author Lorenz Gerber
* @date 26 March 2017
* @brief File contains the main method for mpi_life
... |
#ifndef BiogeographicCladoEvent_H
#define BiogeographicCladoEvent_H
namespace RevBayesCore {
namespace BiogeographicCladoEvent {
const unsigned NUM_STATES = 6;
const unsigned SYMPATRY_NARROW = 0; // A -> A | A
const unsigned SYMPATRY_WIDESPREAD = 1; ... |
#ifndef __SDL_RADIO_BUTTON_H_
#define __SDL_RADIO_BUTTON_H_
#include <SDL/SDL.h>
#include "globals.h"
#include "sdl_check_button.h"
class sdl_radio_button : public sdl_check_button
{
public:
sdl_radio_button(int num, int x, int y, sdl_user *who, funcptr *stuff,
sdl_widget**, int amnt, int indx);
virtual ~sdl... |
/*
Copyright © 2017-2019 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
qTox is libre 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 versi... |
#include "common.h"
#include "log.h"
#include <getopt.h>
#include <ccnet.h>
#include "seafile-session.h"
#include "gc-core.h"
#include "verify.h"
#include "utils.h"
static char *config_dir = NULL;
static char *seafile_dir = NULL;
CcnetClient *ccnet_client;
SeafileSession *seaf;
static const char *short_opts = "h... |
/* gb-greeter-window.h
*
* Copyright (C) 2015 Christian Hergert <christian@hergert.me>
*
* 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 opt... |
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_IA32_FRAMES_IA32_H_
#define V8_IA32_FRAMES_IA32_H_
namespace v8 {
namespace internal {
// Register lists
// Note that the bit values must ... |
/*
* copyright (c) 2010 Sveriges Television AB <info@casparcg.com>
*
* This file is part of CasparCG.
*
* 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 Licen... |
#ifndef DATA_ACTION_T_H
#define DATA_ACTION_T_H
#include <enum/action/action.h>
/** @ingroup data
* @addtogroup action_t action_t
*/
/** @ingroup action_t
* @page action_t_overview Overview
*
* This data used to hold actions
*/
#define DATA_ACTIONT(...) { TYPE_ACTIONT, (action_t []){ __VA_ARGS__ } }
#def... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.