text stringlengths 4 6.14k |
|---|
/* The 27 tests below excercise all combinations of 0/1/unknown values
for an #if...#elif...#elif...#else combination */
#if zero
delete part 1 of 0-0-0
#elif zero
delete part 2 of 0-0-0
#elif zero
delete part 3 of 0-0-0
#else
keep part 4 of 0-0-0
#endif
#if zero
delete part 1 of 0-0-1
#elif ze... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ram/RAM_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace RAM
{
namespace Model
{
enum class ResourceRegionScope
{
NOT_SET,
... |
/***********************************************************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only
* intended for use with Renesas products. No other uses are authorized. This
* software is owned by Renesas E... |
/*
Copyright 2015 LE, Duc-Anh
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 writing, softwar... |
// MainFrm.h : Schnittstelle der Klasse CMainFrame
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__9222C98D_6036_11D2_B3F3_006097A8F69A__INCLUDED_)
#define AFX_MAINFRM_H__9222C98D_6036_11D2_B3F3_006097A8F69A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endi... |
#ifndef LMARK_H
#define LMARK_H
#include <QFileInfo>
#include <QString>
#include <QRect>
#include <QVector>
class MarkInfo
{
public:
QRect rect;
QString tag;
MarkInfo();
MarkInfo(QRect r, QString t);
bool operator ==(const MarkInfo& m);
};
/**
*Ò»¸öÎļþµÄ±ê¼Ç¼¯
*/
class LMark
{
public:
... |
typedef int INT;
typedef enum _INTEL_CACHE_TYPE {
IntelCacheNull,
IntelCacheTrace
} INTEL_CACHE_TYPE;
struct bft {
unsigned int a:3;
unsigned int b:1;
// an anonymous bitfield
signed int :2;
// with typedef
INT x:1;
// made of sizeof
unsigned int abc: sizeof(int);
// enums are intege... |
#ifndef PUBLIC_DKC_H_INCLUDED
#define PUBLIC_DKC_H_INCLUDED
#include <stdio.h>
#include "DVM_code.h"
typedef struct DKC_Compiler_tag DKC_Compiler;
DKC_Compiler *DKC_create_compiler(void);
DVM_ExecutableList *DKC_compile(DKC_Compiler *compiler, FILE *fp, char *path);
void DKC_dispose_compiler(DKC_Compiler *compiler);
... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
/*
Copyright 2016 Vanderbilt University
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... |
/* ============================================================================
* Introduction to Operating Systems
* CS 8803, GT OMSCS
*
* Unauthorized copying of this file, via any medium is strictly prohibited.
*
* "priority-readers-and-writers.h"
* Defines entry points for "Priority Readers and Writers" in ... |
#define SPOT 1
enum id_action {ID_FOLD, ID_CALL, ID_BET, ID_RAISE, ID_ALLIN, ID_SMALLBLIND, ID_BIGBLIND, ID_ANTE, ID_NACTIONS};
std::string str_action[] = {"FOLD", "CALL", "BET", "RAISE", "ALL_IN", "SMALL_BLIND", "BIG_BLIND", "ANTE"};
enum id_street {ID_BLINDS, ID_PREFLOP, ID_FLOP, ID_TURN, ID_RIVER, ID_NSTREETS};
s... |
/*=========================================================================
*
* Copyright RTK 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
*
* http://www.apa... |
//
// DeviceTableViewCell.h
// Stream
//
// Created by Ben Brown on 10/3/15.
// Copyright (c) 2015 Ben Brown. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DeviceInnerView.h"
#import "BarDayItemView.h"
@interface GalView : UIView {
IBOutlet UILabel *curGalLabel, *galLabel;
}
- (void)setGalLabelStr... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by QuickDic, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
*/
... |
//------------------------------------------------------------------------------
// Copyright (c) 2018 by contributors. 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.
// You may obtain a copy of the License a... |
//
// MGSUserDefaultsUtilities.h
// Fragaria
//
// Created by Jim Derry on 3/4/15.
//
//
#import <Cocoa/Cocoa.h>
/**
* This class implements some utilities required by MGSUserDefaults tests.
**/
@interface MGSUserDefaultsUtilities : NSObject
/**
* Returns a dictionary of all visible properties of an object,... |
//
// GADVideoControllerDelegate.h
// Google Mobile Ads SDK
//
// Copyright (c) 2017 Google Inc. All rights reserved.
//
#import <GoogleMobileAds/GADVideoController.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>
GAD_ASSUME_NONNULL_BEGIN
/// The GADVideoControllerDelegate protocol defines methods that are c... |
/* Copyright 2016 Google Inc.
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 writing, soft... |
#ifndef QFACTIONCREATOR_H
#define QFACTIONCREATOR_H
#include <QObject>
#include <QQmlParserStatus>
#include <QFAppDispatcher>
#include <QPointer>
#include "priv/qfsignalproxy.h"
class QFActionCreator : public QObject, public QQmlParserStatus
{
Q_OBJECT
Q_INTERFACES(QQmlParserStatus)
Q_PROPERTY(QFDispatche... |
/*!
* @file ubridge10.h
* @brief __ubirch#1 r0.3k0.1__ board specific defines
*
* @author Matthias L. Jugel
* @date 2016-05-01
*
* @copyright © 2015 ubirch GmbH (https://ubirch.com)
*
* ```
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance... |
//
// AmpleGPS.h
//
//
// Created by dial on 4/16/16.
//
//
#ifndef AMPLEGPS_H
#define AMPLEGPS_H
#endif /* AmpleGPS_h */
// char *nmeaPrefix = "$GP";// keep in mind that 'GP" may be changed
// The prefix will be removed asap in order to save some bytes
#define GPRMC_NMEA "RMC"
#define GPVTG_NMEA "VTG"
#define ... |
#pragma once
#include "ofMain.h"
#include "pingPongFbo.h"
class testApp : public ofBaseApp
{
public:
static const int Width = 512;
static const int Height = 512;
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y ... |
/*
** $Id: llex.h 4116 2012-04-12 22:35:23Z olereinhardt $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
#ifndef llex_h
#define llex_h
#include <lua/lobject.h>
#include <lua/lzio.h>
#define FIRST_RESERVED 257
/* maximum length of a reserved word */
#define TOKEN_LEN (sizeof("function")/sizeof(char))
... |
/**
* Copyright (c) 2014 Los Alamos National Security, LLC
* 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... |
#ifndef _O5M_H
#define _O5M_H
#include <string>
#include <stdint.h>
#include <vector>
#include "fixeddeque.h"
#include <map>
#include <iostream>
#include <memory>
#ifdef PYTHON_AWARE
#include <Python.h>
#endif
#include "OsmData.h"
void TestDecodeNumber();
void TestEncodeNumber();
///Decodes a binary o5m stream and ... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "RuntimeAssetCacheInterface.h"
#include "RuntimeAssetCacheBPHooks.generated.h"
/** Forward declarations */
class IRuntimeAssetCacheBuilder;
class FOnRuntimeAssetCacheAsyncComplete;
UCLASS(... |
class Nuller;
class Stream;
struct FileTime;
struct Date : RelOps< Date, Moveable<Date> > {
byte day;
byte month;
int16 year;
void Serialize(Stream& s);
bool IsValid() const;
void Set(int scalar);
int Get() const;
static Date Low() { return Date(-4000,... |
// This code is in the public domain -- Ignacio Castaño <castano@gmail.com>
#ifndef NV_CORE_H
#error "Do not include this file directly."
#endif
// Function linkage
#define DLL_IMPORT __declspec(dllimport)
#define DLL_EXPORT __declspec(dllexport)
#define DLL_EXPORT_CLASS DLL_EXPORT
// Function calling modes
#define ... |
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, Brendan Bolles
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributi... |
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
* Copyright (C) 2002-2018 Aleph One Ltd.
*
* Created by Timothy Manning <timothy@yaffs.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License ver... |
/*
* MyTempNodeType.h
*
* Created on: 2015年12月16日
* Author: moss
*/
#ifndef MYTEMPNODETYPE_H_
#define MYTEMPNODETYPE_H_
#include <khala/TempNodeType.h>
class MyTempNodeType: public khala::TempNodeType {
public:
MyTempNodeType();
virtual ~MyTempNodeType();
virtual bool onDevTypeMsg(khala::InfoNodePtr& in... |
/*************************************************************************************************\
MPGameBrowser.h : Interface for the MPGameBrowser component.
//---------------------------------------------------------------------------//
// Copyright (C) Microsoft Corporation. All rights reserved. ... |
//===========================================================================//
// AttributeMeter.h : Implementation of the AttributeMeter component. //
//---------------------------------------------------------------------------//
// Copyright (C) Microsoft Corporation. All rights reserved. //
... |
/*
* RudeSkinnedMesh.h
* golf
*
* Created by Robert Rose on 9/20/08.
* Copyright 2008 Bork 3D LLC. All rights reserved.
*
*/
#ifndef __H_RudeSkinnedMesh
#define __H_RudeSkinnedMesh
#include "RudeMesh.h"
class RudeObject;
class RudeSkinnedMesh : public RudeMesh {
public:
RudeSkinnedMesh(RudeObject *... |
char* utoa64_sse(uint64_t v) {
// v is 16-digit number = abcdefghijklmnop
const __m128i div_10000 = _mm_set1_epi32(DIV_10000);
const __m128i mul_10000 = _mm_set1_epi32(10000);
const int div_10000_shift = 45;
const __m128i div_100 = _mm_set1_epi16(DIV_100);
const __m128i mul_100 = _mm_set1... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2016-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
#ifndef _VM_
#define _VM_
#include <set>
#include <string>
#include "utils/func_option.h"
#include "sysinfo/vm/dynamic/vm_base.h"
#include "sysinfo/vm/dynamic/vm_cpu_usage.h"
#include "sysinfo/vm/dynamic/vm_cache_miss.h"
#include "exec/cpu_mig.h"
#include <mutex>
class Host;
class VM;
class VmSet {
friend class ... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2014-2015 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
#pragma once
/************************************************************************/
/* A value struct vector that supports efficient sorting */
/************************************************************************/
template<typename VT, typename ST>
struct ValStructVec
{
ValStruct... |
/**
* Copyright 2013: James Steven Supancic III
**/
#include "using.hpp"
#pragma once
class Evaluator
{
private:
PXCSmartPtr<PXCSession>&session;
UtilRender renderer_depth;
PXCSmartPtr<PXCAccelerator> accel;
PXCSmartPtr<UtilRender> renderer_blob;
PXCSmartPtr<PXCGesture> gestureDetector;
PXCGes... |
// Copyright (c) 2015, Matthew Malensek.
// Distributed under the BSD 2-Clause License (see LICENSE.txt for details)
#pragma once
#include <string>
#include <unordered_map>
#include <vector>
#include "TinyXml2\tinyxml2.h"
class LanguageTranslator {
public:
LanguageTranslator();
LanguageTranslator(std::wstri... |
/*
* POK header
*
* The following file is a part of the POK project. Any modification should
* made according to the POK licence. You CANNOT use this file or a part of
* this file is this part of a file for your own project
*
* For more information on the POK licence, please see ou... |
/* $Id: thres.c,v 1.1 2014/03/05 21:15:11 weerd Exp $ */
/*
* Copyright (c) 2004 Daniel Hartmeier
* 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... |
#pragma once
#include "VulkanDef.h"
#define DECLARE_FUNCTION(functionName) PFN_##functionName functionName = nullptr;
namespace Framework
{
namespace Vulkan
{
class CInstance
{
public:
CInstance() = default;
CInstance(const VkInstanceCreateInfo&);
CInstance(const CInstance&) ... |
// ==================================================================
// ROCS - Toolkit for Robots Comprehending Space
// Copyright (C) 2010 Arnaud Ramey, Andrzej Pronobis
//
// This file is part of ROCS.
//
// ROCS is free software: you can redistribute it and/or modify it
// under the terms of the GNU Lesser General... |
#include "global.h"
#include "pkg.h"
void pkg_add_value(global_t *g, int v)
{
g->pkg->value = v;
}
|
// Copyright (c) Lauri Mäkinen 2014 - 2015
// All rights reserved.
#ifndef ENGINE_RTTI_OBJECT_H
#define ENGINE_RTTI_OBJECT_H
#include "engine/rtti/RTTI.h"
#include "engine/Context.h"
PROPELLER_FORWARD_DECLARE_2(engine, rtti, Class);
namespace engine {
namespace rtti {
class Object : public Context
{
public:
Ob... |
/**
* @file ptrace.h
* @brief
* @author Denis Deryugin <deryugin.denis@gmail.com>
* @version
* @date 19.07.2019
*/
#ifndef AARCH64_PTRACE_H_
#define AARCH64_PTRACE_H_
#ifndef __ASSEMBLER__
#include <stdint.h>
typedef struct pt_regs {
uint64_t x[31];
} pt_regs_t;
static inline void ptregs_retcode(struct pt_r... |
////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2017, Kuba Sejdak <kuba.sejdak@gmail.com>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are me... |
/*
* 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,
... |
//
// BBMediaPickerAssetCollectionViewLayout.h
// BBFrameworks
//
// Created by William Towe on 7/29/15.
// Copyright (c) 2015 Bion Bilateral, LLC. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are me... |
#ifndef VIEW_3D_H
#define VIEW_3D_H
#include <QWidget>
#include <QPainter>
#include <QtMath>
#include <allOrder.h>
#include <openglview.h>
#include <iostream>
#include <viewobj.h>
namespace Ui {
class CView3D;
}
class CView3D : public QWidget
{
Q_OBJECT
public:
explicit CView3D(QWidget... |
// Copyright (c) 2013 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 TOOLS_GN_BUILDER_RECORD_H_
#define TOOLS_GN_BUILDER_RECORD_H_
#include <memory>
#include <set>
#include <utility>
#include "gn/item.h"
#incl... |
#include <stdlib.h>
#include <stddef.h> // size_t
#include <limits.h> // UCHAR_MAX
#include <ctype.h>
#include "Scrape.h"
#include "URLCommon.h"
#include "macros.h"
#include "dbg.h"
static int dualDecodeInfoHash( const char *input, size_t length, char *compactHash, char *infoHash ) {
int c = 0, h = 0;
for ( int i =... |
// Copyright 2013 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_LOCAL_TO_REMOTE_SYNCER_H_
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_LOCAL_TO_REMOTE_SYNC... |
// Copyright 2014 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 CC_RESOURCES_DISPLAY_LIST_RECORDING_SOURCE_H_
#define CC_RESOURCES_DISPLAY_LIST_RECORDING_SOURCE_H_
#include "base/memory/scoped_ptr.h"
#include ... |
#ifndef _TYPES_H
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned long LONGWORD;
typedef void *ADDRESS;
#define _TYPES_H
#endif
|
// Copyright 2015 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_AUTOFILL_AUTOFILL_UITEST_UTIL_H_
#define CHROME_BROWSER_AUTOFILL_AUTOFILL_UITEST_UTIL_H_
#include <vector>
class Browser;
namesp... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
#import <ABI41_0_0React/ABI41_0_0RCTComponentViewProtocol.h>
#import <ABI41_0_0React/ABI41_0_0RCTTouchable... |
/*
* solutionset.h
*
* Created on: 1-oct-2015
* Author: M. El-Kebir
*/
#ifndef SOLUTIONSET_H
#define SOLUTIONSET_H
#include "utils.h"
#include "solution.h"
#include "realtensor.h"
#include "statetree.h"
#include "perfectphylotree.h"
namespace gm {
class SolutionSet
{
public:
typedef std::vector<So... |
/* ============================================================================
* Copyright (c) 2011 Michael A. Jackson (BlueQuartz Software)
* Copyright (c) 2011 Singanallur Venkatakrishnan (Purdue University)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modificati... |
#ifndef __ffi_h__
#define __ffi_h__
#ifdef __cplusplus
extern "C"
{
#endif
void* hashmap_create();
void hashmap_destroy(void* h);
void hashmap_insert(void* h, const unsigned char* key, unsigned int nK, const unsigned char* val, unsigned int nV);
void hashmap_lookup(void* h, const unsigned char* key, ... |
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TERA_SDK_SCHEMA_IMPL_H_
#define TERA_SDK_SCHEMA_IMPL_H_
#include <string>
#include "proto/table_meta.pb.h"
#include "sdk/tera.h"
namespace tera... |
#ifndef PLANNING_INTERPOLATOR_H
#define PLANNING_INTERPOLATOR_H
#include <KrisLibrary/planning/CSpace.h>
#include <memory>
/** @ingroup MotionPlanning
* @brief A base class for all 1D interpolators.
*/
class Interpolator
{
public:
virtual ~Interpolator() {}
virtual void Eval(Real u,Config& x) const=0;
virtual... |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... |
/* $OpenBSD: armcap.c,v 1.5 2014/06/12 15:49:27 deraadt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include <signal.h>
#include <crypto.h>
#include "arm_arch.h"
unsigned int OPENSSL_armcap_P;
#if __ARM_ARCH__ >= 7
static sigset_t all_masked;
static sigjmp_buf ill_jmp;
s... |
#pragma once
#ifndef TIIO_QUANTEL_INCLUDED
#define TIIO_QUANTEL_INCLUDED
//#include "timage_io.h"
#include "tiio.h"
//===========================================================================
namespace Tiio
{
Tiio::Reader *makeQntReader();
Tiio::Writer *makeQntWriter();
} // namespace
#endif
|
#ifndef CHANNEL_TRANSPORT_H
#define CHANNEL_TRANSPORT_H
#include "AVTransport.h"
class VoiceChannelTransport:public webrtc::Transport{
public:
VoiceChannelTransport(webrtc::VoENetwork* voe_network, int channel,
VoiceTransport *transport, bool STOR): channel_(channel),
voe_network_(voe... |
#ifndef __hash_hash_murmur_h
#define __hash_hash_murmur_h
#include <stdint.h>
uint32_t hash_murmur3_32( const uint8_t *key
, uint32_t len
, uint32_t seed);
#endif
|
/*
* Copyright (C) 2006 Apple Computer, Inc.
* Copyright (C) 2009 Google, Inc.
*
* 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... |
/**************************************************************************************/
/* Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. ... |
#ifndef mozilla_psm__CryptoUtil_h
#define mozilla_psm__CryptoUtil_h
#include <mozilla/RefPtr.h>
#include "mozilla/Types.h"
#ifdef MOZILLA_INTERNAL_API
#define MOZ_CRYPTO_API(x) MOZ_EXPORT_API(x)
#else
#define MOZ_CRYPTO_API(x) MOZ_IMPORT_API(x)
#endif
#endif // mozilla_psm__CryptoUtil_h
|
/* Copyright (c) 2010-2019, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... |
/**
* @file compfwd.h
* @brief SBML Comp C structure declarations
* @author Lucian Smith
*
*<!---------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest version of libSBML... |
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... |
/**
* \file
*
* \brief User board initialization template
*
*/
#include <asf.h>
#include <board.h>
#include <conf_board.h>
#include "nrf24l01p.h"
#include "ms5607_02ba_dev.h"
void board_init(void)
{
/* This function is meant to contain board-specific initialization code
* for, e.g., the I/O p... |
/**************************************************************************
***
*** Copyright (c) 1995-2000 Regents of the University of California,
*** Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov
*** Copyright (c) 2000-2007 Regents of the University of Michigan,
*** Saurabh N. Ad... |
/* ============================================================================
Copyright (c) 2008-2014, Broadcom Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source c... |
#include <stdlib.h>
int main(int argc, char **argv) {
int x;
int r = rand();
if (0 != r) {
x = 42;
}
else {
x = 7;
}
return x;
}
|
/*
* (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*
* Author: Ceriel J.H. Jacobs
*/
/* $Id$ */
#define __NO_DEFS
#include <math.h>
#include <pc_err.h>
extern _trp();
#define NITER 5
static double
Ldexp(fl... |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistr... |
// Copyright 2020 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 ASH_COMPONENTS_PHONEHUB_BROWSER_TABS_MODEL_PROVIDER_H_
#define ASH_COMPONENTS_PHONEHUB_BROWSER_TABS_MODEL_PROVIDER_H_
#include <ostream>
#includ... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2017 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*
* Copyright (c) 2019, 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 2011 Google Inc. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
*
* Copyright 2015-2016, Google 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
* notice, this list of ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__int64_t_realloc_18.c
Label Definition File: CWE401_Memory_Leak.c.label.xml
Template File: sources-sinks-18.tmpl.c
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: realloc Allocate data using realloc()
* GoodSource: Allocate data on t... |
#define GIT_VERSION "-g74892ac"
|
/*=========================================================================
Program: Visualization Toolkit
Module: vtkPlaneSource.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is ... |
/* $NetBSD: profile.h,v 1.12 1998/09/11 16:46:31 jonathan Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Ralph Campbell.
*
* Redistribution and use in source and binary forms, with or... |
// Copyright 2021 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 COMPONENTS_OPTIMIZATION_GUIDE_CORE_PAGE_CONTENT_ANNOTATIONS_COMMON_H_
#define COMPONENTS_OPTIMIZATION_GUIDE_CORE_PAGE_CONTENT_ANNOTATIONS_COMMON_H... |
/*
* Copyright (c) 2014,2015 Apple Inc. All rights reserved.
*
* corecrypto Internal Use License Agreement
*
* IMPORTANT: This Apple corecrypto software is supplied to you by Apple Inc. ("Apple")
* in consideration of your agreement to the following terms, and your download or use
* of this Apple software con... |
// GWCityAskInitInfo.h
//
// 请求申请建立新的城市
//
//////////////////////////////////////////////////////
#ifndef __GWCITYASKINITINFO_H__
#define __GWCITYASKINITINFO_H__
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
namespace Packets
{
class GWCityAskInitInfo : public Packet
{
public:
... |
//
// ODViewController.h
// ODCoreDataManagerSample
//
// Created by Olivier Demolliens on 12/05/13.
// Copyright (c) 2013 Olivier Demolliens. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ODViewController : UIViewController
@end
|
#pragma once
#include <df/platform.h>
#include <df/system/NonCopyable.h>
#include <pthread.h>
namespace df
{
namespace priv
{
/// windows thread implementation
class ThreadImpl : NonCopyable
{
public:
ThreadImpl( void (*functionPtr)(void *), void * userData );
~ThreadImpl();
void join();
uint32 getID();... |
/****************************************************************************
*****************************************************************************
** Copyright (c) 1998-2013 **
** Forschungszentrum Juelich GmbH, Juelich Supercomputing Centre **
** ... |
#ifndef ENGPAR_CONTAINER_H
#define ENGPAR_CONTAINER_H
#include <sstream>
#include <unordered_map>
namespace engpar {
template <class T> class Container {
typedef std::unordered_map<int,T> Data;
public:
typedef typename Data::iterator iterator;
Container() {my_total=0;}
iterator begin() {
re... |
/****************************************************************************
* Copyright (c) 1993, 1994
* Century Computing, Inc.
* ALL RIGHTS RESERVED
*
* The software (programs, data bases and/or documentation) on or in
* any media can not be reproduced, disclosed, or used except under... |
/* $OpenBSD: fpu_arith.h,v 1.2 1997/08/08 08:25:48 downsj Exp $ */
/* $NetBSD: fpu_arith.h,v 1.2 1994/11/20 20:52:35 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at La... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.