text stringlengths 4 6.14k |
|---|
/**
* StreamSwitch is an extensible and scalable media stream server for
* multi-protocol environment.
*
* Copyright (C) 2014 OpenSight (www.opensight.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by ... |
#ifndef GETAUCTIONDETAILSRESPONSEMESSAGE_H_
#define GETAUCTIONDETAILSRESPONSEMESSAGE_H_
#include "../BaseMessage.h"
class GetAuctionDetailsResponse : public BaseMessage {
public:
GetAuctionDetailsResponse(uint64 objectID, const UnicodeString& description) {
insertShort(0x02);
insertInt(0xFE0E644B); //GetAuctionD... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.4.0/38413-g40.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
*/
#ifndef _NGAP_PDUSessionResourceListCxtRelCpl_H_... |
/*
Copyright (c) 2014-2019 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#pragma once
enum CastInterruptFlags
{
CAST_INTERRUPT_NULL = 0x0,
CAST_INTERRUPT_ON_MOVEMENT = 0x1,
CAST_INTERRUPT_PUSHBACK ... |
/*****************************************************************************
* cache.c: cache video filter
*****************************************************************************
* Copyright (C) 2010-2018 x264 project
*
* Authors: Steven Walters <kemuri9@gmail.com>
*
* This program is free software; you ... |
# include <worldlib.h>
# include <kernel/kernel.h>
inherit thing THING_LIB;
/*
* Not much else needed.
*/
object iflib_driver;
static void create(varargs int clone) {
if(clone) {
thing::create(clone);
}
}
void set_iflib_driver(object x) {
if(!SYSTEM()) error("Illegal setting of IFLib driver.");
iflib... |
//
// Copyright (C) 2013-2015 University of Amsterdam
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
/... |
/*
* norama suite - Panorama tools suite
*
* Copyright (c) 2013-2015 FOXEL SA - http://foxel.ch
* Please read <http://foxel.ch/license> for more information.
*
*
* Author(s):
*
* Nils Hamel <n.hamel@foxel.ch>
*
*
* This file is part of the FOXEL project <http://foxel.ch>.
*
* This program is free sof... |
/**
******************************************************************************
* @file PWR/PWR_STANDBY/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.0.3
* @date 29-January-2016
* @brief This file contains the headers of the interrupt handlers.
************************... |
/*
* Copyright (c) 2011 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... |
/* DO NOT EDIT: automatically built by dist/s_include. */
#ifndef _mutex_ext_h_
#define _mutex_ext_h_
#if defined(__cplusplus)
extern "C" {
#endif
int __mutex_alloc(ENV *, int, uint32, db_mutex_t *);
int __mutex_alloc_int(ENV *, int, int, uint32, db_mutex_t *);
int FASTCALL __mutex_free(ENV *, db_mutex_t *);
int __mu... |
/*
* This file is part of Kotaka, a mud library for DGD
* http://github.com/shentino/kotaka
*
* Copyright (C) 2018 Raymond Jennings
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundati... |
// gls_gpu.h: interface for the GPU memory
//
//////////////////////////////////////////////////////////////////////
#if !defined(_GLS_GPU_H_)
#define _GLS_GPU_H_
#include "fm_matrix.h"
#include "fm_vector.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef USECUDA
//#include <curand_kernel.h>
struct GPUobj{
//__dev... |
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "36331-ac0.asn"
* `asn1c -S /home/nyee/srsLTE/srslte/examples/src/asn1c/skeletons -fcompound-names -fskeletons-copy -gen-PER -pdu=auto`
*/
#include "MeasObjectGERAN.h"
static int
memb_ncc_Permitted_... |
/*******************************************************************************
* File Name: CapSense_CSD_Clk2.c
* Version 2.0
*
* Description:
* Provides system API for the clocking, interrupts and watchdog timer.
*
* Note:
* Documentation of the API's in this file is located in the
* System Reference Guide p... |
//******************************************************************************
///
/// @file frontend/imageprocessing.h
///
/// @todo What's in here?
///
/// @copyright
/// @parblock
///
/// Persistence of Vision Ray Tracer ('POV-Ray') version 3.7.
/// Copyright 1991-2015 Persistence of Vision Raytracer Pty. Ltd.
/... |
/*--!>
This file is part of Nebula, a multi-purpose library mainly written in C++.
Copyright 2015-2016 outshined (outshined@riseup.net)
(PGP: 0x8A80C12396A4836F82A93FA79CA3D0F7E8FBCED6)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License... |
/**
Released as open source by NCC Group Plc - http://www.nccgroup.com/
Developed by Gabriel Caudrelier, gabriel dot caudrelier at nccgroup dot com
https://github.com/nccgroup/pip3line
Released under AGPL see LICENSE for more information
**/
#ifndef URLENCODE_H
#define URLENCODE_H
#include "transformabstract.h"
c... |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without... |
/*
**********************************************************************
* Copyright (c) 2002-2011, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
#ifndef _UCURR_IMP_H_
#define _UCURR_IMP_H_
#include "unicode/... |
/* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc.
See the COPYRIGHT file for more information. */
#ifndef OCINTERNAL_H
#define OCINTERNAL_H
#include "config.h"
#if defined(_WIN32) || defined(_WIN64)
#include <malloc.h>
#endif
#ifdef _AIX
#include <netinet/in.h>
#endif
#include <stdlib.h>
#include <assert.h>
#i... |
/*
* PHP-GTK - The PHP language bindings for GTK+
*
* Copyright (C) 2001-2008 Andrei Zmievski <andrei@php.net>
*
* 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... |
#ifndef STRATEGIES_PICTURE_SSE41_H_
#define STRATEGIES_PICTURE_SSE41_H_
#include "global.h"
/*****************************************************************************
* This file is part of Kvazaar HEVC encoder.
*
* Copyright (C) 2013-2015 Tampere University of Technology and others (see
* COPYING file).
*
... |
/* ADG - Automatic Drawing Generation
* Copyright (C) 2007-2022 Nicola Fontana <ntd at entidi.it>
*
* 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 of the Licens... |
#ifndef _SEMANAGE_NODE_INTERNAL_H_
#define _SEMANAGE_NODE_INTERNAL_H_
#include <semanage/node_record.h>
#include <semanage/nodes_local.h>
#include <semanage/nodes_policy.h>
#include "database.h"
#include "handle.h"
#include "dso.h"
hidden_proto(semanage_node_create)
hidden_proto(semanage_node_compare)
hidden_... |
/*
* simple-account.h - header for a simple account service.
*
* Copyright (C) 2010-2012 Collabora Ltd. <http://www.collabora.co.uk/>
*
* Copying and distribution of this file, with or without modification,
* are permitted in any medium without royalty provided the copyright
* notice and this notice are preserve... |
// El siguiente bloque ifdef muestra la forma estándar de crear macros que facilitan
// la exportación de archivos DLL. Todos los archivos de este archivo DLL se compilan con el símbolo Q3BSP_EXPORTS
// definido en la línea de comandos. Este símbolo no se debe definir en ningún proyecto
// que utilice este archivo DLL... |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... |
/**
* Copyright 2017, Huang Yang <elious.huang@gmail.com>. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#include "tlog/tlog.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char **argv)
{
int err = tlog_open("./file.conf", TLOG_FILE);... |
/***************************************************************************
* Copyright (c) 2014 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... |
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Copyright (C) 2013 Klarälvdalens Datakonsult AB (KDAB).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Compositor.
**
** $QT_BEGIN_LICENSE:BSD$
... |
/*
* fsu.h - Header for fsutils plugins
*
* Copyright (C) 2010 Collabora Ltd.
* @author: Youness Alaoui <youness.alaoui@collabora.co.uk>
*
* 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 Fou... |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LIC... |
/* thread_info.h: i386 low-level thread information
*
* Copyright (C) 2002 David Howells (dhowells@redhat.com)
* - Incorporating suggestions made by Linus Torvalds and Dave Miller
*/
#ifndef _ASM_THREAD_INFO_H
#define _ASM_THREAD_INFO_H
#ifdef __KERNEL__
#include <linux/config.h>
#include <asm/page.h>
#ifndef ... |
/* summer-web-backend-ram.h */
/* This file is part of libsummer.
* Copyright © 2008-2009 Robin Sonefors <ozamosi@flukkost.nu>
*
* Libsummer 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 Foundatio... |
/*****************************************************************************************
BioQt - Integrated Bioinformatics Library
Copyright (C) 2013-2014 Usama S Erawab <alrawab@hotmail.com> Libya
This program is free software; you can redistribute it and/or modify
it under the terms of the G... |
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
This library 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; either
version 2 of the License, or (at your opt... |
/*
* StarPU
* Copyright (C) Université Bordeaux 1, CNRS 2008-2010 (see AUTHORS file)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* y... |
#ifndef _ROS_pr2_plugs_msgs_DetectPlugOnBaseResult_h
#define _ROS_pr2_plugs_msgs_DetectPlugOnBaseResult_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "geometry_msgs/PoseStamped.h"
namespace pr2_plugs_msgs
{
class DetectPlugOnBaseResult : public ros::Msg
{
public:... |
/*
Copyright (C) 2003-2006 by Marten Svanfeldt
2005-2012 by Frank Richter
This library 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; either
version 2 of the License, or (at your option) any ... |
#ifndef _ROS_pr2_plugs_msgs_DetectOutletActionResult_h
#define _ROS_pr2_plugs_msgs_DetectOutletActionResult_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "actionlib_msgs/GoalStatus.h"
#include "pr2_plugs_msgs/DetectOutletResult.h"
namespace pr... |
#ifndef COLLISION_BODY_H
#define COLLISION_BODY_H
#include "CollisionObject.h"
#include "Body.h"
namespace CGE{
class VertexBuffer;
class IndexBuffer;
}
namespace CGE{
class CollisionSpace;
class CollisionBody : public CollisionObject, public Body{
public:
CollisionBody(const Simulator& sim)... |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* Copyright (C) 2002-2004 Novell, Inc. */
#ifndef __E2K_ACTION_H__
#define __E2K_ACTION_H__
#include "e2k-types.h"
#include "e2k-properties.h"
#include "e2k-rule.h"
#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */
gboolea... |
/** ###################################################################
** This component module is generated by Processor Expert. Do not modify it.
** Filename : task_template_list.h
** Project : FSFK_K64F
** Processor : MK64FN1M0VLL12
** Version : Component 01.110, Driver 01.00, CPU d... |
/*
* Copyright (C) 2021 Sean Rhodes <sean@starlabs.systems>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#include "config.h"
#include <sys/io.h>
#include "fu-flashrom-cmos.h"
static gboolean
fu_flashrom_cmos_write(guint8 addr, guint8 val)
{
guint8 tmp;
/* Reject addresses in the second bank */
if (addr >= 128)
... |
/*!The Treasure Box Library
*
* 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 wr... |
/*
* librest - RESTful web services access
* Copyright (c) 2008, 2009, Intel Corporation.
*
* Authors: Rob Bradford <rob@linux.intel.com>
* Ross Burton <ross@linux.intel.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser ... |
// Created file "Lib\src\Uuid\propkeys"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
// Created file "Lib\src\strmiids\X64\strmiids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, ... |
//
// GreetingCell.h
// CIC
//
// Created by GiPyeong Lee on 2014. 11. 17..
// Copyright (c) 2014년 com.devsfolder.cic. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GreetingCell : UITableViewCell
@property (nonatomic, strong) UIImageView *profileImg;
@property (nonatomic,strong) UILabel *label_major;... |
// Created file "Lib\src\Uuid\X64\netcon_i"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,... |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "Account.h"
#import "AccountViewController.h" |
// Created file "Lib\src\Shell32\X64\shguid"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4... |
/*
* Index functions
*
* Copyright (c) 2009-2012, Joachim Metz <jbmetz@users.sourceforge.net>
*
* Refer to AUTHORS for acknowledgements.
*
* This software 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 Fo... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
//
// Created by Jesse Squires
// http://www.jessesquires.com
//
//
// Documentation
// http://cocoadocs.org/docsets/JSQMessagesViewController
//
//
// GitHub
// https://github.com/jessesquires/JSQMessagesViewController
//
//
// License
// Copyright (c) 2014 Jesse Squires
// Released under an MIT license: http... |
/*
* ortpextension.h
*
* The ortpextension library implement RTP extension (Realtime Transport Protocol - RFC 3550)
* Copyright (C) 2011 Orazio Briante orazio.briante@hotmail.it
* Laboratory A.R.T.S. - University Mediterranea of Reggio Calabria - Faculty of Engineering
*
* This library is free software; you can... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 later v... |
/* Copyright (C) 2014-2016 by Martin Langlotz alias stackshadow
This file is part of evillib.
evillib 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
... |
// Created file "Lib\src\WiaGuid\wiaevent"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, ... |
/*
This source file is part of KBEngine
For the latest info, see http://www.kbengine.org/
Copyright (c) 2008-2016 KBEngine.
KBEngine 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... |
// test path tools
#include <string.h>
#include <stdio.h>
#include "utest.h"
#include <ah5.h>
#define EXTERNAL_TEST_FILE (XSTR(AH5_TEST_DATA_DIR) "/test_external_principle.h5")
#define mu_assert_equal2(x, y) mu_assert("Test of equality failed: " #x " != " #y "." , x == y)
#define mu_assert_str_equal2(x, y) mu_ass... |
/*
* File: tiny_codec.h
* Author: nTesla64a
*
* Created on August 31, 2017, 5:06 PM
*/
#ifndef TINY_CODEC_H
#define TINY_CODEC_H
#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#define AV_PKT_FLAG_KEY 0x0001 ///< The packet contains a keyframe
#define AV_PKT_FLAG_CORRUPT 0x0002 ///< The pac... |
/* Copyright 2009 Google Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is dist... |
/*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2022 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 ProgSys
*
* 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... |
// Copyright (c) 2011-2015 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "serialization/ISerializer.h"
namespace cryptonote {
template <typename Element, typename Iterator... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/krasnocka/Downloads/j2objc-master/testing/mockito/build_result/java/org/mockito/internal/matchers/Null.java
//
#ifndef _OrgMockitoInternalMatchersNull_H_
#define _OrgMockitoInternalMatchersNull_H_
@protocol OrgHamcrestDescription;
#include "... |
/** \file state_machine.h
* \brief State machine tools.
*
* \author Ivan Koryakovskiy <i.koryakovskiy@tudelft.nl>
* \date 2016-01-01
*
* \copyright \verbatim
* Copyright (c) 2016, Ivan Koryakovskiy
* All rights reserved.
*
* This file is part of GRL, the Generic Reinforcement Learning library.
*
* G... |
/******************************************************************************
* Copyright (C) 2015 by Ralf Kaestner *
* ralf.kaestner@gmail.com *
* *
... |
/*
pins_arduino.h - Pin definition functions for Arduino
Part of Arduino - http://www.arduino.cc/
Modified by Juan Menendez <juanbm@ingen10.com>
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... |
// Created file "Lib\src\WiaGuid\X64\wiaevent"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, ... |
#ifndef PREFERENCESWIDGET_H
#define PREFERENCESWIDGET_H
#include "imageviewer_global.h"
#include <QWidget>
namespace Ui {
class PreferencesWidget;
}
namespace ImageViewer {
class IMAGEVIEWER_EXPORT PreferencesWidget : public QWidget
{
Q_OBJECT
public:
explicit PreferencesWidget(QWidget *parent = 0);
~... |
// Created file "Lib\src\Uuid\rtccore_i"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b... |
/* babl - dynamically extendable universal pixel conversion library.
* Copyright (C) 2005-2008, Øyvind Kolås and others.
*
* 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
* v... |
// --------------------------------------------------------------------------
// Citadel: Log5.H
//
// This class specifies the contents of LOG5.DAT. This is used to keep track
// of each user's message pointers for each room. For each room, each user
// has an unsigned long that is the number of the newest messag... |
#include <stdio.h>
int main(void) {
int s, m, h;
scanf("%d", &s);
h = s / 3600;
s = s - (h * 3600);
m = s / 60;
s = s - (m * 60);
printf("%d h %d min %d s", h, m, s);
return 0;
} |
#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#define ALIGN_DOWN( size, align ) ( (size) - ( (size) % (align) ) )
int
main( int argc, char **argv )
{
size_t size, oldsize;
char *endptr;
int i;
if ( argc < 3 ) {
... |
//
// AppDelegate.h
// Sports
//
// Created by 吴超 on 15/6/26.
// Copyright (c) 2015年 吴超. All rights reserved.
//
#import <UIKit/UIKit.h>
@class IndexViewController;
@class DDMenuController;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (stro... |
#ifndef NSTD_MAT_TASK_LIST_H
#define NSTD_MAT_TASK_LIST_H
//(*Headers(nstd_mat_task_list)
#include <wx/sizer.h>
#include <wx/menu.h>
#include <wx/grid.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)
#include "interface/sqlresulttable.h"
#include "xlslib.h"
using namespace xlslib_core;
#define RECORDCOU... |
/*
* ControlUnit.h
*
* Author: tate
*/
#ifndef CONTROLUNIT_H_
#define CONTROLUNIT_H_
#include <bitset>
#include "globals.h"
/*
* =====================================================================================
* Class: ControlUnit
* Description: Thing-that-tells-other-stuff-what-to-do... (... |
/*
Copyright 2013 Cosmogia
*/
#include <libopencm3/stm32/f4/gpio.h>
#include <libopencm3/stm32/f4/usart.h>
#include <libopencm3/stm32/f4/nvic.h>
#include "./usart.h"
void
usart_init(int usart, int irq, int baudrate, int over8) {
/* Setup USART parameters. */
nvic_disable_irq(irq);
usart_disable_rx_interrupt(usa... |
#pragma once
#define WINDOW_TITLE_MAX_LEN 256
#define WINDOW_CLASS_MAX_LEN 256
#define WINDOWID_FLSERVER_MENUIDSUMVIEW 0x800c
#define WINDOWID_FLSERVER_STATUSFRAME 0xe900
#define WIDGET_WM_INIT_WIDGETS 0xeeff
#include <string>
#include <memory>
#include "../flhookplugin_sdk/headers/FLHook.h"
using namespace std;
... |
// An empty effect class as example or template to create new effects
class Empty : public FillerBase
{
private:
// put your class variables here
public:
// standard ctor, will be called on construction
Empty();
// dtor, will be called on destruction
virtual ~Empty();
// overridden init function, will... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
/**
* A class which describes the properties and actions of a channel splitter.
* This channel will take an element at it source and divides the element over
* all its exits.
*
* Please note that this class is NOT responsible for the descruction of the
* specified channels.
*
* @date 16 Janua... |
#pragma once
#include <memory>
namespace Halley
{
class NetworkService;
enum class NetworkProtocol
{
TCP,
UDP
};
class NetworkAPI
{
public:
virtual ~NetworkAPI() {}
virtual std::unique_ptr<NetworkService> createService(NetworkProtocol protocol, int port = 0) = 0;
};
}
|
// This file is part of the Yttrium toolkit.
// Copyright (C) Sergei Blagodarin.
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <cstddef>
namespace Yt
{
enum class AudioSample
{
i16,
f32,
};
class AudioFormat
{
public:
constexpr AudioFormat() noexcept = default;
constexpr AudioFormat(Aud... |
/*
pins_arduino.h - Pin definition functions for Arduino
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2007 David A. Mellis
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 Foundatio... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// UnityEngine.UI.ObjectPool`1<System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>>
struct ObjectPool_1_t229885755;
// UnityEngine.Events.UnityAction`1<System.Collections.Gen... |
// Copyright (c) 2006-2008 The Chromium 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 BASE_COMPILER_SPECIFIC_H_
#define BASE_COMPILER_SPECIFIC_H_
#pragma once
// TITANIUM: detect compiler based on platform.
#if defined(OS_... |
#ifndef __INPUTSERVER_H__
#define __INPUTSERVER_H__
#include "SDL2\SDL.h"
#include "common_net.h"
#define CTRL_MAX_ID_LENGTH 64
#define CTRL_CURRENT_VERSION "GACtrlV01"
#define CTRL_QUEUE_SIZE 65536 // 64K
#define SDL_EVENT_MSGTYPE_NULL 0
#define SDL_EVENT_MSGTYPE_KEYBOARD 1
#define SDL_EVENT_MSGTYPE_MOUSEKEY 2
#d... |
#ifndef _ASM_RISCV_SIGCONTEXT_H
#define _ASM_RISCV_SIGCONTEXT_H
/* This struct is saved by setup_frame in signal.c, to keep the current
* context while a signal handler is executed. It is restored by sys_sigreturn.
*/
struct sigcontext {
unsigned long epc;
unsigned long ra;
unsigned long sp;
unsigned long gp;
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
int main(void)
{
int size = 0;
int chunk_size = 512;
void *p = NULL;
while(1) {
if ((p = malloc(chunk_size)) == NULL) {
printf("out of memory!!\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.