text stringlengths 4 6.14k |
|---|
/* machine.h. Generated automatically by configure. */
/* Any machine specific stuff goes here */
/* Add details necessary for your own installation here! */
/* This is for use with "configure" -- if you are not using configure
then use machine.van for the "vanilla" version of machine.h */
/* Note special macros: ... |
/**
* Copyright (C) Mellanox Technologies Ltd. 2001-2013. ALL RIGHTS RESERVED.
*
* $COPYRIGHT$
* $HEADER$
*/
#ifndef UCS_PPC64_CPU_H_
#define UCS_PPC64_CPU_H_
#include <ucs/debug/log.h>
#include <ucs/sys/compiler.h>
#ifdef HAVE_SYS_PLATFORM_PPC_H
# include <sys/platform/ppc.h>
#endif
#define UCS_SYS_CACHE_LINE_S... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE272_Least_Privilege_Violation__w32_char_SHRegOpenUSKey_13.c
Label Definition File: CWE272_Least_Privilege_Violation__w32.label.xml
Template File: point-flaw-13.tmpl.c
*/
/*
* @description
* CWE: 272 Least Privilege Violation
* Sinks: SHRegOpenUSKey
* Good... |
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copy... |
/* Copyright 2017 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Memory mapping */
#define CONFIG_FLASH_SIZE_BYTES 0x00040000 /* 256 kB */
#define CONFIG_FLASH_BANK_SIZE 0x800 /* 2 kB */
#define CONFIG_F... |
/*
* This file is part of FFmpeg.
*
* FFmpeg 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.
*
* FFmpeg is distributed... |
// Copyright (c)2008-2011, Preferred Infrastructure 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:
//
// * Redistributions of source code must retain the above copyright
// ... |
/**
* Created by Weex.
* Copyright (c) 2016, Alibaba, Inc. All rights reserved.
*
* This source code is licensed under the Apache Licence 2.0.
* For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.
*/
#import "WXScrollerProtocol.h"
#import "WXComp... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: src-delomboked/com/sponberg/fluid/util/LRUCacheTree.java
//
#ifndef _FFTLRUCacheTree_H_
#define _FFTLRUCacheTree_H_
@class FFTLRUCache;
@class IOSObjectArray;
@class JavaUtilHashSet;
#import "JreEmulation.h"
@interface FFTLRUCacheTree : NSObject {... |
// -*- c++ -*-
// +--------------------------------------------------------------------+
// | This file is part of WaveletTL - the Wavelet Template Library |
// | |
// | Copyright (c) 2002-2007 |
// | Tho... |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2016-2018 Baldur Karlsson
*
* 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... |
#pragma once
#include "PixelConverter.h"
#include <cstdint>
template<bool enabled, uint8_t defaultValue = 255>
class PixelComponentValueGetter{
public:
static const bool Enabled = enabled;
static uint8_t Get(const uint8_t *ptr){
return defaultValue;
}
};
template<bool enabled, int byteOffset, uint8_t defaultVa... |
//
// LocalOAuthConfirmAuthParamsBuilder.h
// DConnectSDK
//
// Copyright (c) 2014 NTT DOCOMO,INC.
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//
#import <Foundation/Foundation.h>
#import "LocalOAuthConfirmAuthParams.h"
@interface LocalOAuthConfirmAuthParamsBuilder : NSObj... |
#include <stdio.h>
#include "wich.h"
int main(int ____c, char *____v[])
{
setup_error_handlers();
String * s1;
String * s2;
String * s3;
String * s4;
String * s5;
s1 = String_new("abc");
s2 = String_add(s1,String_new("xyz"));
s3 = String_add(s1,String_from_int(100));
s4 = String_add(s1,String_from_float(3.14... |
//
// FKFlickrPlacesGetPlaceTypes.h
// FlickrKit
//
// Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPlacesGetPlaceTy... |
//
// UIView+Extension.h
// extension
//
// Created by czljcb on 2017/8/12.
// Copyright © 2017年 czljcb. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (Extension)
/** x */
@property (assign, nonatomic) CGFloat x;
/** y */
@property (assign, nonatomic) CGFloat y;
/** width */
@property (assign,... |
//*****************************************************************************
// pinmux.c
//
// Configure the device pins for different peripheral signals
//
// Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
//
//
// Redistribution and use in source and binary forms, with or wit... |
/******************************************************************************
File: InterpRegisters.h
Description:
Specification of the Smalltalk Interpreter Registers
******************************************************************************/
#pragma once
#include "STMethod.h"
#include "STProcess.h"
#inc... |
//
// MyOneSDK.h
// MyOneSDK
//
// Created by Mon Zacharias on 27/10/2017.
// Copyright © 2017 Mon Zacharias. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for MyOneSDK.
FOUNDATION_EXPORT double MyOneSDKVersionNumber;
//! Project version string for MyOneSDK.
FOUNDATION_EXPORT const u... |
#include<stdio.h>
int main (){
int n, i, new1;
float avg = 0;
do {
scanf("%d",&n);
}while(n < 1 && n > 9999);
for(i = 0; n / 10 != 0; i++){
new1 = n % 10;
avg += new1;
n /= 10;
}
avg = avg / i;
if(avg < 7)
printf("light\n");
else
prin... |
#ifndef __VSC_LOGIN_H__
#define __VSC_LOGIN_H__
#include <QDialog>
#include "ui_vsclogin.h"
#include "utility.hpp"
#include <QTimer>
#include <QPoint>
#include <QMouseEvent>
class VSCLogin : public QDialog
{
Q_OBJECT
public:
VSCLogin(QWidget *parent = 0);
~VSCLogin(){}
void mousePressEvent(QMouseEvent *... |
//
// LPDRootTabBarViewModel.h
// LPDMvvmKit
//
// Created by foxsofter on 15/12/16.
// Copyright © 2015年 eleme. All rights reserved.
//
#import "LPDTabBarViewModel.h"
@interface LPDRootTabBarViewModel : LPDTabBarViewModel
@end
|
#ifndef B_PNG_H
#define B_PNG_H
static unsigned char b_png[] =
{
0x00, 0x00, 0x01, 0x1e,
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x10, 0x08, 0x02, 0x00, 0x00, 0x00, 0x4f, 0xdf, 0x12,
0x29, 0x00, 0x00, 0x00, 0x06, ... |
/**********************************************************************
* *
* Voreen - The Volume Rendering Engine *
* *
* Created between 2005 and 2012... |
/*
* utils.c
*
* metapixel
*
* Copyright (C) 1997-2004 Mark Probst
*
* 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 ve... |
/* packet-dcerpc-bossvr.c
*
* Routines for DCE DFS Basic Overseer Server dissection
* Copyright 2002, Jaime Fournier <Jaime.Fournier@hush.com>
* This information is based off the released idl files from opengroup.
* ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz file/bosserver/bbos_ncs_interface.idl
*
* ... |
/* Open a stdio stream on an anonymous temporary file. Generic/POSIX version.
Copyright (C) 1991,93,96,97,98,99,2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General... |
/*
* sr595.h:
* Extend wiringPi with the 74x595 shift registers.
* Copyright (c) 2013 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
*
* wiringPi is free software: you can redistrib... |
static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg)
{
struct video_tuner v;
f(v.field1, v.field2);
}
|
/* Aseprite
* Copyright (C) 2001-2013 David Capello
*
* 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 ... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 Advanced Micro Devices, 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 ... |
/* wireshark_application.h
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* 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 Foundatio... |
#ifndef _ASM_UAPI_LKL_BITSPERLONG_H
#define _ASM_UAPI_LKL_BITSPERLONG_H
#ifdef CONFIG_64BIT
#define __BITS_PER_LONG 64
#else
#define __BITS_PER_LONG 32
#endif
#define __ARCH_WANT_STAT64
#endif /* _ASM_UAPI_LKL_BITSPERLONG_H */
|
#define CONFIG_AX25_MODULE 1
|
#include <linux/cpumask.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/irqnr.h>
#include <asm/cputime.h>
#include ... |
/*
* Dropbear - a SSH2 server
*
* Copyright (c) 2002,2003 Matt Johnston
* All rights reserved.
*
* 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 witho... |
/*
* Copyright (c) 2013 Red Hat, Inc.
*
* 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 of the License, or (at your
* option) any later version.
*
* This program... |
/* $Id: xcoredraw.c,v 1.2 2005/07/01 10:02:58 svitak Exp $ */
/*
* $Log: xcoredraw.c,v $
* Revision 1.2 2005/07/01 10:02:58 svitak
* Misc fixes to address compiler warnings, esp. providing explicit types
* for all functions and cleaning up unused variables.
*
* Revision 1.1 2005/06/17 21:23:51 svitak
* This ... |
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... |
/* Copyright (c) 2012 Samsung Electronics Co. Ltd
*
* Exynos Phy register definitions
*
* 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.
*/
#ifndef _ASM_ARCH_XHCI_EXYNOS_H_
#def... |
/*
* Copyright (C) 2014 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... |
/*
* Copyright (c) 2015 Novell, Inc.
* Copyright (c) 2020 SUSE LLC
*
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as published
* by the Free Software Foundation.
*
* This program is distribut... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/*
* 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 License, or (at your option) ... |
/*****************************************************************************
*
* McStas, neutron ray-tracing package
* Copyright 1997-2006, All rights reserved
* Risoe National Laboratory, Roskilde, Denmark
* Institut Laue Langevin, Grenoble, France
*
* Library: share/ref-lib.h
*
* %Identifica... |
/**
* @file
*
* @brief Restart Thread
* @ingroup ScoreThread
*/
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*... |
#ifndef NCHAN_MEMSTORE_H
#define NCHAN_MEMSTORE_H
extern nchan_store_t nchan_store_memory;
ngx_int_t msg_reserve(nchan_msg_t *msg, char *lbl);
ngx_int_t msg_release(nchan_msg_t *msg, char *lbl);
ngx_int_t memstore_channel_owner(ngx_str_t *id);
nchan_loc_conf_shared_data_t *memstore_get_conf_shared_data(nchan_loc_c... |
/*
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2014 Vladimir Golovnev <glassez@yandex.ru>
* Copyright (C) 2006 Ishan Arora and Christophe Dumez <chris@qbittorrent.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License... |
/***************************************************************************
qgsanalysis.h
--------
begin : September 2018
copyright : (C) 2018 by Matthias Kuhn
email : matthias@opengis.ch
***************************... |
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-... |
#include "timestamp.h"
#include "sys/time.h"
FILE * logfp;
struct timeval mystime;
double oldtime=0;
static int loglevel=0;
int logprint(const char *const message,const int loglevel){
int retval=0;
int myerror=0;
char outmessage[MAX_MESSAGE];
snprintf(outmessage,MAX_MESSAGE,"timestamp.c:%s",message);
... |
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2.1 of the GNU Lesser General Public License
as published by the Free Software Foundation.
This program is distributed in the hope tha... |
// DO NOT EDIT -- generated by mk-ops
#if !defined (octave_mx_i16_ui16nda_h)
#define octave_mx_i16_ui16nda_h 1
#include "oct-inttypes.h"
#include "uint16NDArray.h"
#include "mx-op-decl.h"
SND_CMP_OP_DECLS (octave_int16, uint16NDArray, OCTAVE_API)
SND_BOOL_OP_DECLS (octave_int16, uint16NDArray, OCTAVE_API)
#endif
|
/*-
* Copyright (c) 2005 Poul-Henning Kamp
* 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 c... |
#ifndef _DTX_STM32F1_JTAG_H_
#define _DTX_STM32F1_JTAG_H_
#include "common.h"
#include "../rcc.h"
static inline void DisableJTAG()
{
rcc_periph_clock_enable(RCC_AFIO);
AFIO_MAPR = (AFIO_MAPR & ~AFIO_MAPR_SWJ_MASK) | AFIO_MAPR_SWJ_CFG_JTAG_OFF_SW_OFF;
gpio_set_mode(GPIO_BANK_JTMS_SWDIO, GPIO_MODE_OUTPUT_50_... |
// -*- c++ -*-
/*
* Copyright (C) 2011 Hans Vandierendonck (hvandierendonck@acm.org)
* Copyright (C) 2011 Dimitrios S. Nikolopoulos (dsn@ics.forth.gr)
*
* This file is part of Swan.
*
* Swan is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "PDU-definitions"
* found in "../asn/PDU-definitions.asn"
* `asn1c -fcompound-names -fnative-types`
*/
#include "SystemInformationChangeIndication-v860ext-IEs.h"
static asn_TYPE_member_t asn_MBR_SystemInformationChangeIndication_v860... |
/*
* Process Hacker -
* National Language Support functions
*
* This file is part of Process Hacker.
*
* Process Hacker 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... |
/*
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
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 requi... |
/*----------------------------------------------------------------------------
* CMSIS-RTOS - RTX
*----------------------------------------------------------------------------
* Name: RT_TASK.H
* Purpose: Task functions and system start up.
* Rev.: V4.79
*------------------------... |
/*
* SPDX-FileCopyrightText: 2008 Till Harbaum <till@harbaum.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <osm2go_i18n.h>
#include <osm2go_platform.h>
void error_dlg(trstring::arg_type msg, osm2go_platform::Widget *parent = nullptr);
void warning_dlg(trstring::arg_type msg, osm2go_... |
#ifndef OBJECT_H_
#define OBJECT_H_
#include "QGLViewer/frame.h"
class Object
{
public :
void draw() const;
qglviewer::Frame frame;
};
#endif // OBJECT_H_
|
/**
******************************************************************************
* @file SDIO/uSDCard/stm32l1xx_conf.h
* @author MCD Application Team
* @version V1.1.1
* @date 13-April-2012
* @brief Library configuration file.
*******************************************************************... |
/****************************************************************************
**
** Copyright (C) 2016 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... |
#ifndef _SYSLIMITS_H
#define _SYSLIMITS_H
/* some POSIX definitions */
#define OPEN_MAX 8
#define PATH_MAX 256
#endif
|
#ifndef Settings_h
#define Settings_h
// EEPROM locations for parameters
#define CHANNEL_LOC 12 // int
#define PA_LEVEL_LOC 14 // int
#define DATA_RATE_LOC 16 // int
#define CAL_POS_1_LOC 18 // int
#define CAL_POS_2_LOC 20 // int
#define SAVED_POS_ARR_LOC 22 // int[4]
#define START_IN_CAL_LOC ... |
#include "includes.h"
#include "Expect.h"
//Values for 'flags' that are not visible to the user
//These must not clash with any visible values
#define DIALOG_DONE 67108864
void ExpectDialogAdd(ListNode *ExpectDialogs, char *Expect, char *Reply, int Flags)
{
TExpectDialog *ExpectDialog;
ExpectDialog=(TExpec... |
/*
Copyright <SWGEmu>
See file COPYING for copying conditions.*/
#ifndef BETCOMMAND_H_
#define BETCOMMAND_H_
#include "server/zone/managers/minigames/GamblingManager.h"
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/Zone.h"
#include "server/zone/ZoneServer.h"
#include "server/zon... |
/*
* Copyright (C) 2017 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @defgroup drivers_feetech Feetech driver
* @ingroup drivers_actuators
*
* This module contain... |
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/*
* Copyright (C) 2011 Ruby-GNOME2 Project Team
* Copyright (C) 2005 Masao Mutoh
*
* 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 Softw... |
/*
* (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
*
* 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 F... |
#define LIBUSB_NANO 10920
|
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class MITShuttleDataSource;
extern NSString* const MITMobileErrorOwnerDeallocatedErrorFormat;
extern NSUInteger const MITMobileOwnerDeallocatedError;
extern NSError* MITDispatcherDeallocatedError(void *block);
@interface MITShuttleDataSource : NSObject... |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:B... |
/*
* Copyright (C) Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @{
*
* @file
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#include "lwip... |
#pragma once
#include <stddef.h>
#include <ucontext.h>
#include <functional>
#include <exception>
#include <vector>
#include <list>
#include "ts_queue.h"
#include "timer.h"
namespace co
{
enum class TaskState
{
runnable,
io_block, // write, writev, read, select, poll, ...
sys_block, // co_mutex... |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* --------------------------------------------------------------------... |
/****************************************************************************
**
** Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees ho... |
#ifndef __S3UPLOADER_H__
#define __S3UPLOADER_H__
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <pthread.h>
#include <iostream>
#include <cstdint>
#include <map>
#include <string>
#include <vector>
#include <cstddef>
#include <cstdlib>
#include <cstdint>
#include <cstri... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
#ifndef ZMAP_SHARD_H
#define ZMAP_SHARD_H
#include <stdint.h>
#include "cyclic.h"
typedef void (*shard_complete_cb)(uint8_t id, void *arg);
typedef struct shard {
struct shard_state {
uint32_t sent;
uint32_t blacklisted;
uint32_t failures;
uint32_t first_scanned;
uint32_t max_targets;
} state;
struct s... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace EC2
{
namespace Model
{
enum class ApplianceModeSupportValue
{
NOT_SET... |
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-9-16 GuEe-GUI the first version
*/
#ifndef DRV_VIRTIO_BLK_H__
#define DRV_VIRTIO_BLK_H__
#include <rthw.h>
#include <stdint.h>
#include "virtio.... |
#ifndef PARTICLEMEM_H__
#define PARTICLEMEM_H__
#ifdef _WIN32
#pragma once
#endif
#include <vector>
class CCoreTriangleEffect;
#define TRIANGLE_FPS 30
typedef struct visibleparticles_s
{
CCoreTriangleEffect *pVisibleParticle;
} visibleparticles_t;
//---------------------------------------------------------------... |
// DeadlockDetect.h
// Declares the cDeadlockDetect class that tries to detect deadlocks and aborts the server when it detects one
/*
This class simply monitors each world's m_WorldAge, which is expected to grow on each tick.
If the world age doesn't grow for several seconds, it's either because the server is Super-... |
//
// pili_camera.h
// camera-sdk
//
// Created on 15/2/6.
// Copyright (c) Pili Engineering, Qiniu Inc. All rights reserved.
//
#ifndef camera_sdk_pili_camera_h
#define camera_sdk_pili_camera_h
#include "pili_macro.h"
#include "pili_type.h"
#include "push.h"
#include "flv.h"
#endif
|
/*
Copyright 1999-2015 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
http://www.imagemagick.org/script/license.php
Unless required ... |
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2009-01-05 Bernard first implementation
*/
#include <rthw.h>
#include <rtthread.h>
#include "board.h"
#include "pin_mux.h"
/* MPU configuration. */
s... |
// Copyright 2017 The Abseil Authors.
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... |
/*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* you may not use t... |
#include <stdlib.h>
#include <stdio.h>
void jsPrint () { fprintf(stderr, "Unimplemented Javascript primitive myPrint!\n"); exit(1); }
|
/*-
* Copyright 2007-2009 Colin Percival
* 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 con... |
/*
* Copyright (C) 2004 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 condit... |
/*
* Copyright (c) 2014, STMicroelectronics International N.V.
* 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,
... |
// Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_
#define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_UI_H_
#include "content/public/brow... |
// Copyright 2016 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 MatrixTransformComponent_h
#define MatrixTransformComponent_h
#include "core/css/cssom/TransformComponent.h"
#include "platform/transforms/Transf... |
/*
* image.h - Image Data Structures and definitions
*
* One day, this file will define a common structure
* for all image / animation / volume type data structures.
* This will allow me to design and implement a library of
* pixel processing routines for pre and post processing of
* image data in the rendering... |
/* -*- coding: utf-8 -*-
* ----------------------------------------------------------------------
* Copyright © 2012, RedJack, LLC.
* All rights reserved.
*
* Please see the COPYING file in this distribution for license
* details.
* ----------------------------------------------------------------------
*/
#inc... |
/*
* Copyright (c) 2021, The OpenThread Authors.
* 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 ... |
/****************************************************************************
*
* Copyright (C) 2015 Mark Charlebois. 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. Redistributio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.