text stringlengths 9 948k |
|---|
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
volatile uint8_t x44 = UINT8_MAX;
int32_t t0 = 610243865;
volatile uint16_t x86 = 8U;
uint64_t x204 = 1593LLU;
... |
//
// RCBaseViewController.h
// RongIMKit
//
// Created by xugang on 15/1/22.
// Copyright (c) 2015年 RongCloud. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <RongIMLib/RongIMLib.h>
/*!
IMKit ViewController基类
@discussion 主要定义了View的默认大小。
*/
@interface RCBaseViewController : UIViewController
///*!
/... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MyMessages.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_MyMessages_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_MyMessages_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3011000
#error This file w... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CDStructures.h"
@class NSImage;
@interface DVTFileIconCreatorImageRep : NSImageRep
{
BOOL _isDirty;
BOOL _isMissing;
NSImage *_badgeIcon;
NSImage *_baseIc... |
/*
* Copyright (c) 2015-present, Yann Collet, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* Yo... |
/*
* Copyright 2010-2013 Branimir Karadzic. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#ifndef BX_MPSCQUEUE_H_HEADER_GUARD
#define BX_MPSCQUEUE_H_HEADER_GUARD
#include "spscqueue.h"
namespace bx
{
template <typename Ty>
class MpScUnboundedQueue
{
BX_CLASS(MpScUnbounded... |
//
// NSDictionary+Stripe.h
// Stripe
//
// Created by Jack Flintermann on 10/15/15.
// Copyright © 2015 Stripe, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSDictionary (Stripe)
- (NSDictionary *)stp_dictionaryByRemovingNulls;
- (NSDictionary<NSString *, N... |
#ifndef __COUNTED_TEST_H__
#define __COUNTED_TEST_H__
/*
* CountedTest.h
* zxing
*
* Created by Christian Brunschen on 08/05/2008.
* Copyright 2008 Google UK. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... |
/******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... |
/*************************************************************************
Atari Liberator hardware
*************************************************************************/
/*----------- defined in vidhrdw/liberatr.c -----------*/
extern UINT8 *liberatr_base_ram;
extern UINT8 *liberatr_planet_frame;
extern UINT8... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE606_Unchecked_Loop_Condition__char_connect_socket_54b.c
Label Definition File: CWE606_Unchecked_Loop_Condition.label.xml
Template File: sources-sinks-54b.tmpl.c
*/
/*
* @description
* CWE: 606 Unchecked Input For Loop Condition
* BadSource: connect_socket Read data us... |
/*
* FreeRTOS Kernel V10.2.0
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. 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, includ... |
//
// DBCameraBaseCropController+Private.h
// CropImage
//
// Created by Daniele Bogo on 19/04/14.
// Copyright (c) 2014 Daniele Bogo. All rights reserved.
//
#import "DBCameraBaseCropViewController.h"
#import "DBCameraDelegate.h"
/**
* DBCameraBaseCropViewController private method
*/
@interface DBCameraBaseCr... |
/*
* Copyright 2010-2016 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... |
/* Definitions for thread-local data handling. linuxthreads/s390 version.
Copyright (C) 2002, 2003, 2005 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 Public
L... |
/**
******************************************************************************
* @file stm32f4xx_hal_adc_ex.c
* @author MCD Application Team
* @brief This file provides firmware functions to manage the following
* functionalities of the ADC extension peripheral:
* + Extended fea... |
/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The dollarcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef _BITCOINRPC_H_
#define _BITCOINRPC_H_ 1
#include <string>
#include <list>
#... |
//===--- Expr.h - Swift Language Expression ASTs ----------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
//
// DBCameraLoadingView.h
// DBCamera
//
// Created by Marco De Nadai on 23/06/14.
// Copyright (c) 2014 PSSD - Daniele Bogo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DBCameraLoadingView : UIView
@end |
/*
Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
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 Licens... |
/*=========================================================================
*
* 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... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:10:38 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/ManagedCo... |
#pragma once
// Copyright (c) 2018-present The Alive2 Authors.
// Distributed under the MIT license that can be found in the LICENSE file.
#include "ir/function.h"
#include <unordered_map>
namespace util {
template <typename DataTy>
class DenseDataFlow {
std::unordered_map<const IR::BasicBlock*, DataTy> bb_data;
... |
/*
* RELIC is an Efficient LIbrary for Cryptography
* Copyright (C) 2007-2020 RELIC Authors
*
* This file is part of RELIC. RELIC is legal property of its developers,
* whose names are not listed here. Please refer to the COPYRIGHT file
* for contact information.
*
* RELIC is free software; you can redistribute... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define NUMDOCS 10000
#define NUMBYTES 16
#define NUMVECS 7
int pct() {
return random() % 100;
}
void header(int num) {
printf("{\"id\":\"id:test:hamm... |
/*
* SuperH Mobile SDHI
*
* Copyright (C) 2016 Sang Engineering, Wolfram Sang
* Copyright (C) 2015-16 Renesas Electronics Corporation
* Copyright (C) 2009 Magnus Damm
*
* 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
* p... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2017, ITU/ISO/IEC
* All rights reserve... |
#include <stdio.h>
int main() {
int Readers = 0, Books = 0;
while (scanf("%d%d", &Readers, &Books) != EOF) {
int i = 0, j = 0, Table[Readers];
for (i = 0; i < Readers; i++) scanf("%d", Table + i);
for (i = 0; i < Readers; i++) {
int Count = 0;
for (j = 0; j < Readers; j++) if (Table[i] == Table[j]) Count... |
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DIAZ_PSBT_H
#define DIAZ_PSBT_H
#include <attributes.h>
#include <node/transaction.h>
#include <optional.h>
#include... |
/*
Copyright (c) 2014 Dwayn Matthies <dwayn dot matthies at gmail dot com>
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,... |
/**
* \file
*
* \brief Parallel Input/Output (PIO) Controller driver for SAM.
*
* Copyright (c) 2011 - 2013 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... |
/*
* Copyright 2015 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/
#define _GNU_SOURCE
#include "../internal/libc.h"
#include... |
#include <csolve.h>
void main()
{
int x = 100;
while (1) {
csolve_assert (x >= 0);
x--;
if (x < 0) goto hell;
}
hell: ;
} |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
/*
LZ4 - Fast LZ compression algorithm
Copyright (C) 2011-2014, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
... |
#include <stdlib.h>
#include <math.h>
#include <stdint.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
#include "../readstat.h"
#include "../readstat_bits.h"
#include "../readstat_iconv.h"
#include "../readstat_writer.h"
#include "readstat_dta.h"
#define DTA_DEFAULT_FORMAT_BYTE ... |
/*
AngelCode Scripting Library
Copyright (c) 2003-2007 Andreas Jonsson
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software... |
#ifndef __vtkTestClass_h
#define __vtkTestClass_h
#include "vtkDataObject.h"
class vtkMatrix3x3;
class vtkTestClass : public vtkDataObject
{
public:
vtkTypeRevisionMacro(vtkTestClass,vtkDataObject);
static vtkTestClass *New();
vtkSetClampMacro(Value, int, 2, 8);
vtkGetMacro(Value, int);
protected:
... |
/*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#pragma once
#include <jni.h>
#include "Common.h"
#include "Exceptions.h"
#include "MetaConvert.h"
#include "References.h"
#includ... |
//
// tiger.c
// lab3
//
// Created by Filip Gulan on 11/05/16.
// Copyright © 2016 Filip Gulan. All rights reserved.
//
#include <stdlib.h>
typedef char const* (*PTRFUN)();
typedef struct {
PTRFUN *vtable;
char const* name;
} Tiger;
char const *name(void *this) {
return ((Tiger *)this)->name;
}
ch... |
// SPDX-FileCopyrightText: 2016-2020 c0riolis
// SPDX-FileCopyrightText: 2016-2020 x0urc3
// SPDX-License-Identifier: LGPL-3.0-only
#include "pyc.h"
#include "marshal.h"
bool pyc_get_sections_symbols(RzList *sections, RzList *symbols, RzList *cobjs, RzBuffer *buf, ut32 magic) {
return get_sections_symbols_from_code_... |
/*
* Code generated from Atmel Start.
*
* This file will be overwritten when reconfiguring your Atmel Start project.
* Please copy examples or other code you want to keep to a separate file
* to avoid losing it when reconfiguring.
*/
#include "driver_init.h"
#include <peripheral_clk_config.h>
#include <utils.h>
... |
/*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#im... |
// Market Street, Verhedin
// Thorn@ShadowGate
// 001027
// New City, Verhedin
// som4.c
#include <std.h>
#include "/d/tsarven/include/southern.h"
#include "/d/verhedin/include/city.h"
inherit ROOM;
void create() {
room::create();
set_light(2);
set_short("%^BOLD%^Market Street, Verhedin%^RESET%^");
set_long... |
/***************************************************************************/
/* */
/* svttglyf.h */
/* */
/* Th... |
/* EGLIBC: function wrappers for big macros.
Copyright (C) 2009 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 Public License as
published by the Free Software F... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2018 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
/*
* 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... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2016 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#ifdef USE_TI_UIIPHONELISTVIEWCELLSELECTIONSTYLE
#import "TiProxy.h"
@interface ... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVI... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
#include "FWBTTask_ShootAtTarget.generated.h"
/**
*
*/
UCLASS()
class FLATWAVE_API UFWBTTask_ShootAtTarget : public UBTTask_BlackboardBase
{
GE... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* Copyright (c) International Business Machines Corp., 2001
*/
/*
* hugetlb.h - common definitions for the hugepage tests
*/
#ifndef __HUGETLB_H
#define __HUGETLB_H
#include <stdlib.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <errno.h>
#include <sys/... |
/*-
* Copyright (c) 2008 John Hay
* Copyright (c) 2006 M Warner Losh <imp@freebsd.org>
* Copyright (c) 1998 Robert Nordier
* All rights reserved.
*
* Redistribution and use in source and binary forms are freely
* permitted provided that the above copyright notice and this
* paragraph and the following disclaime... |
../../../EZUIKit/dist/EZUIKit/include/EZUIPlayer.h |
// ---------------------------------------------------------
// Copyright (c) Neopost Inc., 2012. All rights reserved.
// ---------------------------------------------------------
// Domain - IDFNetworks
// Version - 0.1
// ---------------------------------------------------------
// File Name -... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by RLSimion1.rc
//
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE ... |
/**
******************************************************************************
* @file stm32f1xx_hal_conf.h
* @author MCD Application Team
* @version V1.3.0
* @date 18-December-2015
* @brief HAL configuration file.
******************************************************************************... |
// Copyright (c) 2014-2016 The Alphapay Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CRYPTO_SHA1_H
#define BITCOIN_CRYPTO_SHA1_H
#include <stdint.h>
#include <stdlib.h>
/** A hasher class for... |
// 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.
// This file is auto-generated from
// gpu/command_buffer/build_gles2_cmd_buffer.py
// It's formatted by clang-format using chromium coding style:
// c... |
#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITrackingLayoutGuide.h>)
//
// UITrackingLayoutGuide.h
// UIKit
//
// Copyright © 2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIGeometry.h>
#import <UIKit/UIKitDefines.h>
#i... |
/*
* Hobject property set/get functionality.
*
* This is very central functionality for size, performance, and compliance.
* It is also rather intricate; see hobject-algorithms.rst for discussion on
* the algorithms and memory-management.rst for discussion on refcounts and
* side effect issues.
*
* Notes:... |
// Copyright 2019 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 CHROMEOS_COMPONENTS_SYNC_WIFI_NETWORK_TEST_HELPER_H_
#define CHROMEOS_COMPONENTS_SYNC_WIFI_NETWORK_TEST_HELPER_H_
#include "chromeos/network/mana... |
#ifndef _VK_SAMPLE_IMAGE_IMPORTER_H_
#define _VK_SAMPLE_IMAGE_IMPORTER_H_ 1
#include "../Core/VKDevice.h"
#include "../Core/VKHelper.h"
#include <stdio.h>
#include <vulkan/vulkan.h>
/**
* @brief
*
*/
class ImageImporter {
public:
/**
* @brief
*
*/
enum Format { // GraphicsFormat
NoFormat,
RGB = 0x1, /... |
//****************************************************************************
// Module: SDK
// File: NMAPPSTR.H
// Content:
//
//
// Copyright (c) Microsoft Corporation 1999-2002
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR I... |
/** @file
The EHCI register operation routines.
Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may ... |
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#include "bem.h"
#ifndef NORSCID
static char rcs_id[] = "$Id$" ;
#endif
/* expression types for predefined functions are assembled */
int typetable[10];... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-PDU-Contents"
* found in "/home/lixh/ue_folder/openair3/S1AP/MESSAGES/ASN1/R14/s1ap-14.5.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -fno-include-deps -D /home/lixh/ue_folder/cmake_targets/lte_b... |
/*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... |
/* --COPYRIGHT--,BSD
* Copyright (c) 2017, Texas Instruments Incorporated
* 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 copy... |
// Copyright 2022 Vanyushkov Maxim
#ifndef MODULES_VANYUSHKOV_M_RATIO_INCLUDE_RATIO_H_
#define MODULES_VANYUSHKOV_M_RATIO_INCLUDE_RATIO_H_
class Ratio {
private:
int numerator;
int denominator;
int gcd(int a, int b) const;
public:
explicit Ratio(int _numerator = 0, int _denominator = 1);
Ratio... |
// Copyright (c) 2014
// INRIA Saclay-Ile de France (France)
//
// This file is part of CGAL (www.cgal.org)
//
// $URL$
// $Id$
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
//
// Author(s) : Marc Glisse
#ifndef CGAL_KERNEL_D_CARTESIAN_COMPLETE_H
#define CGAL_KERNEL_D_CARTESIAN_COMPLETE_H
... |
/**
* MojoAL; a simple drop-in OpenAL implementation.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/
#include <stdio.h>
#include <stdlib.h> /* needed for alloca */
#include <math.h>
#include <float.h>
#ifdef _MSC_VER
#define AL_API __declspec(... |
// Copyright 2016-present 650 Industries. All rights reserved.
#import "EXPermissions.h"
@interface EXRemoteNotificationRequester : NSObject <EXPermissionRequester>
+ (NSDictionary *)permissions;
@end |
#ifndef v1_pod_condition_TEST
#define v1_pod_condition_TEST
// the following is to include only the main from the first c file
#ifndef TEST_MAIN
#define TEST_MAIN
#define v1_pod_condition_MAIN
#endif // TEST_MAIN
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdbool.h>
#include "../external/cJS... |
/* uio.h: User interface input/output
*
* Copyright 2015, 2016 Vincent Damewood
*
* 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
*
... |
/*
* SelectBackground.h
*
* Created on: 2015年1月30日
* Author: netbeen
*/
#ifndef SELECTBACKGROUNDLAYER_H_
#define SELECTBACKGROUNDLAYER_H_
#include "cocos2d.h"
class SelectBackgroundLayer : public cocos2d::Layer{
public:
CREATE_FUNC(SelectBackgroundLayer);
private:
virtual bool init() override;
virtual ... |
/*
* Copyright (c) 2005-2012 Intel Corporation. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this s... |
/**
******************************************************************************
* @file SPIRIT_Commands.c
* @author VMA division - AMS
* @version 3.2.3
* @date 21-October-2015
* @brief Management of SPIRIT Commands.
*
* @attention
*
* <h2><center>© COPYRIGHT(c) 2015 STMicroelectroni... |
#include "Doom.h"
#include <IntMath.h>
/**********************************
Check all the visible walls and fill in all the "Blanks" such
as texture pointers and sky hack variables.
When finished all the viswall records are filled in.
**********************************/
static sector_t emptysector = { 0,0,-2,-2,... |
#define ZINT
#include <../Source/umf_transpose.c> |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <stdint.h>
#include <vector>
namespace fl {
namespace lib {
namespace audio ... |
#pragma once
#include "ResourceContainer.h"
#include "json.hpp"
#include <map>
#include <memory>
#include <vector>
class PrefabHierarchy;
typedef std::shared_ptr<PrefabHierarchy> SPrefabHierarchy;
class PrefabHierarchy
{
public:
static void ConstructVectorOfHierarchy(std::vector<SPrefabHierarchy>& out, SPrefabHierar... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (C) 2018-2018 The CoinClix developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mi... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team,
* check out http://www.gromacs.org for more information.
* Copyright (c) 2012,2013, by the GROMACS development team, l... |
// 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_CONSTRAINED_WEB_DIALOG_UI_H_
#define CHROME_BROWSER_UI_WEBUI_CONSTRAINED_WEB_DIALOG_UI_H_
#include "base/compiler_spe... |
/*
* OMAP44xx and 54xx PRM common functions
*
* Copyright (C) 2009-2013 Texas Instruments, Inc.
* Copyright (C) 2009-2010 Nokia Corporation
*
* Paul Walmsley (paul@pwsan.com)
* Rajendra Nayak (rnayak@ti.com)
* Benoit Cousson (b-cousson@ti.com)
*
* This file is automatically generated from the OMAP hardware da... |
// Copyright (c) 2013 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_COMMON_ATOM_VERSION_H_
#define ATOM_COMMON_ATOM_VERSION_H_
#define ATOM_MAJOR_VERSION 1
#define ATOM_MINOR_VERSION 4
#define ATOM_PATCH_VERSION 6
#define ATOM_VERSION_IS... |
/*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
* 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, t... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OVERVIEWPAGE_H
#define BITCOIN_QT_OVERVIEWPAGE_H
#include "amount.h"
#include <QWidget>
class ClientMode... |
/** \file
* \brief Declaration of class GraphCopy Attributes which manages
* access on a copy of an attributed graph.
*
* \author Carsten Gutwenger
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.md in the OGDF root directory ... |
/*
# ____ ____ ____ ___ ____ ____ _ _
# | | ____> ____> | | | <____ \ /
# |____| | \ ____> | ___| ____| <____ \_/ ORBISDEV Open Source Project.
#------------------------------------------------------------------------------------
# Copyright 2010-2020, orbisdev - http:... |
/*-
* Copyright (c) 1982, 1986, 1990, 1993
* The Regents of the University of California. 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 th... |
//
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#ifndef GENOSL_H
#define GENOSL_H
#include <MaterialXTest/Catch/catch.hpp>
#include <MaterialXGenOsl/OslShaderGenerator.h>
#include <MaterialXTest/GenShaderUtil.h>
namespace mx = Mat... |
//cb63.c - 6.3 rate codebook code
#include "opt.h"
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <memory.h>
#include "typedef.h"
#include "cst_lbc.h"
#include "tab_lbc.h"
#include "util_lbc.h"
#include "exc_lbc.h"
#include "timer.h"
#include "mmxutil.h"
//---------------------... |
// Copyright 2015, VIXL 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:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE328_Reversible_One_Way_Hash__w32_SHA1_08.c
Label Definition File: CWE328_Reversible_One_Way_Hash__w32.label.xml
Template File: point-flaw-08.tmpl.c
*/
/*
* @description
* CWE: 328 Reversible One Way Hash
* Sinks: SHA1
* GoodSink: Use SHA-512 as a hashing algorithm... |
// 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... |
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
enum MoveType {
MOVE_HORZ,
MOVE_DEPTH,
};
bool parse_cmd(char *in, enum MoveType *mvtype, int *value) {
char *token;
bool reverse = false;
token = strtok(in, " ");
if(!strcmp(in, "forward")) {
*mvtype = MO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.