text stringlengths 9 948k |
|---|
// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base_serialized.h
// REQUIRES: ompt
// GCC doesn't call runtime for auto = static schedule
// XFAIL: gcc
#define SCHEDULE auto
#include "base_serialized.h" |
/*
** $Id: llex.h,v 1.58.1.1 2007/12/27 13:02:25 roberto Exp $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
#ifndef llex_h
#define llex_h
#include "lobject.h"
#include "lzio.h"
// 256个字符
#define FIRST_RESERVED 257
/* maximum length of a reserved word */
#define TOKEN_LEN (sizeof("function")/sizeof(char))... |
/*
Copyright (c) 2007 Michael P. Thompson <mpthompson@gmail.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... |
/**INC+**********************************************************************/
/* Header: sp.h */
/* */
/* Purpose: Sound Player Class */
/* ... |
#pragma once
// @generated by aten/src/ATen/gen.py
#include <c10/core/TensorOptions.h>
#include <c10/core/Scalar.h>
#include <c10/core/QScheme.h>
#include <c10/core/MemoryFormat.h>
#include <c10/util/ArrayRef.h>
#include <c10/util/intrusive_ptr.h>
#include <torch/csrc/WindowsTorchApiMacro.h>
#include <ATen/Dimname.h>... |
#pragma once
#include "common/String.h"
#include "Activity.h"
#include "tasks/TaskListener.h"
#include <vector>
#include <functional>
#include <memory>
class SaveFile;
namespace ui
{
class Label;
class ScrollPanel;
class ProgressBar;
}
class LoadFilesTask;
class FileBrowserActivity: public TaskListener, public ... |
//
// NTESSettingVC.h
// DeviceManager-iOS-ObjC
//
// Created by Think on 2020/9/15.
// Copyright © 2020 Wenchao Ding. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class NTESPickViewSettingModel;
@interface NTESSettingVC : UIViewController
@property (nonatomic, strong) NTESPickVie... |
/*
* BindCtx implementation
*
* Copyright 1999 Noomen Hamza
*
* 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 y... |
/* time.h
Struct and function declarations for dealing with time.
*/
/*
* C/C++ Run Time Library - Version 24.0
*
* Copyright (c) 1987, 2016 by Embarcadero Technologies, Inc.
* All Rights Reserved.
*
*/
/* $Revision: 34733 $ */
#ifndef __TIME_H
#define __TIME_H
#define _INC_TIME /* MSC G... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
*************************************************... |
#include <stdio.h>
#include <stdlib.h>
#include "Env.h"
int main(int argc, char *argv[]){
Env *e1 = new_Env(NULL);
Env *e2 = new_Env(e1);
Env_setString(e1, "$abc", "def");
Env_setString(e1, "$def", "123");
Env_setString(e2, "$abc", "different");
printf("abc: %s\n", Env_getString(e2,"$abc"));
... |
/*
* vhost-user-scsi host device
*
* Copyright (c) 2016 Nutanix Inc. All rights reserved.
*
* Author:
* Felipe Franciosi <felipe@nutanix.com>
*
* This work is largely based on the "vhost-scsi" implementation by:
* Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
* Nicholas Bellinger <nab@risingtidesystems.... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
#include "../../b-plus/common-b-plus/i2c.h"
#define MPU6050_ADDR 0x68 // When AD0 == 0
#define MPU6050_REG_CONFIG 26
#define MPU6050_REG_GYRO_CONFIG 27
#define MPU6050_REG_ACCEL_CONFIG 28
#define MPU6050_REG_ACCEL_X 59
#define MPU6050_REG_POWER_MGMT_1 107
#define MPU6050_REG_WHO_AM_I ... |
#pragma once
#define PLUGIN_NAME "CBP"
#define PLUGIN_AUTHOR "polygonhell, SlavicPotato"
#include "version.h"
#define PLUGIN_BASE_PATH "Data\\SKSE\\Plugins\\"
#define CBP_DATA_BASE_PATH "Data\\SKSE\\Plugins\\CBP\\"
constexpr const char* PLUGIN_INI_FILE = PLUGIN_BASE... |
/*
* Class LIST [CHARACTER_8]
*/
#include "eif_macros.h"
#ifdef __cplusplus
extern "C" {
#endif
static const EIF_TYPE_INDEX egt_0_517 [] = {0xFF01,232,0xFFFF};
static const EIF_TYPE_INDEX egt_1_517 [] = {0xFF01,245,516,197,0xFFFF};
static const EIF_TYPE_INDEX egt_2_517 [] = {0xFF01,516,197,0xFFFF};
static const E... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <stdint.h>
#include <limits.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <getopt.h>
#include <malloc.h>
#include <ring_buffer.h>
#include <ring_buffer_i.h>
int unit_test()
{
struc... |
//
// HDAppDelegate.h
// HaidoraPopupView
//
// Created by CocoaPods on 05/08/2015.
// Copyright (c) 2014 mrdaios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HDAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* RDP Core
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2014 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... |
/*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
/* $NetBSD: sunxi_usb3phy.c,v 1.1 2018/05/01 23:59:42 jmcneill Exp $ */
/*-
* Copyright (c) 2018 Jared McNeill <jmcneill@invisible.ca>
* 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... |
//
// APCLocalization.h
// APCAppCore
//
// Copyright (c) 2015, Sage Bionetworks. 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 ... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/FuseUI.framework/FuseUI
*/
@interface MusicStoreCuratorPlaylistsRequest : MPStoreModelRequest {
long long _curatorStoreAdamID;
MusicStoreCuratorPlaylistsResponse * _previousResponse;
}
@property (nonatomic) long long curatorStoreAdam... |
//
// YBLMyPurchaseCell.h
// YBL365
//
// Created by 乔同新 on 2017/2/10.
// Copyright © 2017年 乔同新. All rights reserved.
//
#import <UIKit/UIKit.h>
@class YBLPurchaseOrderModel;
typedef void(^MyPurchaseCellButtonBlock)(YBLPurchaseOrderModel *selectModel,NSString *currentTitle);
@interface YBLMyPurchaseCell : UITab... |
#include <stdio.h>
unsigned long get_sp(void) {
unsigned long result;
asm("movl %%esp,%0"
: "=g"(result));
return result;
}
void main() {
printf("0x%lx\n", get_sp());
} |
/**
* \file IfxGtm_bf.h
* \brief
* \copyright Copyright (c) 2018 Infineon Technologies AG. All rights reserved.
*
*
* Version: TC39XB_UM_V1.0.0.R0
* Specification: TC3xx User Manual V1.0.0
* MAY BE CHANGED BY USER [yes/no]: No
*
* IMPORTANT NOTICE
*
*
* Infineon Technologies... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include <stdbool.h>
#include "sf-types.h"
#include "tag.h"
#include "devsim7708.h"
#include "sh7708.h"
#include "devscc.h"
#include "../../port/devrtc.h"
#include "../../port/devexcp.h"
#include "../../port/devlog.h"
#include "../../port/de... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSMutableURLRequest, NSString, NSURLRequest;
@protocol GTMFetcherAuthorizationProtocol <NSObject>
@property(readonly) NSString *userEmail;
- (_Bool)isA... |
/*
* arch/arm/include/asm/hardware/cs89712.h
*
* This file contains the hardware definitions of the CS89712
* additional internal registers.
*
* Copyright (C) 2001 Thomas Gleixner autronix automation <gleixner@autronix.de>
*
*
* This program is free software; you can redistribute it and/or modify
* it ... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/s3virge/s3v_xv.c,v 1.10tsi Exp $ */
/*
Copyright (C) 2000 The XFree86 Project, Inc. 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... |
#pragma once
class tTVPArchive
{
public:
virtual ~tTVPArchive() = 0;
virtual tjs_uint GetCount() = 0;
virtual ttstr GetName(tjs_uint idx) = 0;
virtual tTJSBinaryStream* CreateStreamByIndex(tjs_uint idx) = 0;
protected:
tjs_uint RefCount;
tTJSHashTable<ttstr, tjs_uint, tTJSHashFunc<ttstr>, 1024> Hash;
bool Init... |
#pragma once
#include <string>
#include <ShlObj.h>
#include <algorithm>
#include <vector>
#include "Board.h"
#include "User.h"
namespace bbg {
class BoardManager
{
public:
static BoardManager* Instance();
void AddBoard(Board* v);
void Init(void);
void Join(User* u, Board* b);
void Leave(User* u, Board* b);
voi... |
#ifndef BLANKET__XPC_CRASH__XPC_CRASH_H_
#define BLANKET__XPC_CRASH__XPC_CRASH_H_
#include <stdbool.h>
/*
* xpc_crash
*
* Description:
* Crash the specified XPC service.
*
* Parameters:
* service The name of the service endpoint.
*
* Returns:
* Returns true if the service appears to have crashed.
*/
... |
#ifndef TRANSFORM_DEPGRAPH
#define TRANSFORM_DEPGRAPH
#include <GraphUpdate.h>
#include <DomainInfo.h>
#include <DepInfoUpdate.h>
#include <DepGraph.h>
#include <assert.h>
inline DepDirection EdgeDir2DepDir( GraphAccess::EdgeDirection dir)
{
switch (dir) {
case GraphAccess::EdgeOut : return DEP_SRC;
case GraphA... |
#include "stm32l476xx.h"
#include "init.h"
void System_Clock_80MHz_Init(void) {
// To correctly read data from FLASH memory, the number of wait states
// (LATENCY) must be correctly programmed according to the frequency
// of the CPU clock (HCLK) and the supply voltage of the device.
FLASH->ACR &= ~ FL... |
/**
* @file
*
* @brief
*
* Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip products.
* It is your responsibility ... |
//*****************************************************************************
//
// am_hal_card_host.c
//! @file
//!
//! @brief Functions for interfacing with the SDHC or SPI SD/MMC/SDIO card host.
//!
//! @addtogroup ambiq card host
//! @ingroup apollo4hal
//! @{
//
//***********************************************... |
/*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2013 <copyright holder> <email>
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 ve... |
// Check passing Mips ABI options to the backend.
//
// RUN: %clang -target mips-linux-gnu -### -c %s 2>&1 \
// RUN: | FileCheck -check-prefix=MIPS-DEF %s
// MIPS-DEF: "-target-cpu" "mips32r2"
// MIPS-DEF: "-target-abi" "o32"
//
// RUN: %clang -target mips64-linux-gnu -### -c %s 2>&1 \
// RUN: | FileCheck -check-pr... |
// 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 NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
#define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
#include <string>
#include "base/compiler_specific.h... |
//
// UANetworking.h
// BowenToolDemo
//
// Created by 陈伟财 on 2018/2/22.
// Copyright © 2018年 Bowen. All rights reserved.
//
#import <Foundation/Foundation.h>
#if __has_include(<YYKit/YYCache.h>)
#import <YYKit/YYCache.h>
#else
#import "YYCache.h"
#endif
#if __has_include(<AFNetworking/AFNetworkActivityIndicator... |
/*
Copyright 2019 MechMerlin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it w... |
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... |
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#pragma once
#include <memory>
#include <unordered_map>
#include <vector>
#include "runtime/global_dicts.h"
#include "storage/olap_common.h"
#include "storage/seek_range.h"
namespace starrocks {
class Conditions;
clas... |
/**
******************************************************************************
* @file stm32f0xx_it.h
* @brief This file contains the headers of the interrupt handlers.
******************************************************************************
*
* COPYRIGHT(c) 2018 STMicroelectronics
*
* Re... |
/* mbed Microcontroller Library
* Copyright (c) 2006-2017 ARM Limited
*
* 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... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
namespace AZ
{
namespace Render
{
namespace PencilMap
{
... |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// The following only applies to changes made to this file as part of YugaByte development.
//
// Por... |
/*
* encoder.h
*
* Created on: 2016/8/31
* Author: Tsukasa Fukunaga
*/
#ifndef ENCODER_H
#define ENCODER_H
#include <string>
#include <vector>
#include <iostream>
#include <limits.h>
#include <stdlib.h>
using namespace std;
class Encoder {
public:
Encoder(int flag) {
_sentinel_character = 0;
... |
/*
* YCSB Workload
*/
#include "headers.h"
#include "workload-common.h"
size_t wl_key_size = 27;
size_t wl_value_size = 1024;
static char *_create_unique_item_ycsb(uint64_t uid) {
return create_unique_item(wl_key_size, wl_value_size, uid);
}
static char *create_unique_item_ycsb(uint64_t uid, uint64_t max_uid) {... |
/**
* @file base_container_data.h
* @date 2020-11-25
* @brief
*
* Copyright (C) 2020 NIIC EDA
*
* All rights reserved.
*
* This software may be modified and distributed under the terms
*
* of the BSD license. See the LICENSE file for details.
*/
#ifndef EDI_DB_TIMING_SDC_BASE_CONTAINER_DATA_H_
#define EDI... |
/**************************************************************
* Copyright (c) 2010-2013, Dynamic Network Services, Inc.
* Jake Montgomery (jmontgomery@dyn.com) & Tom Daly (tom@dyn.com)
* Distributed under the FreeBSD License - see LICENSE
***************************************************************/
#pragma once
... |
/* Copyright 2018 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.
*
* Test USB PD module.
*/
#define HIDE_EC_STDLIB
#include "common.h"
#include "task.h"
#include "tcpm.h"
#include "test_util.h"
#include "timer.h"
#... |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... |
/*
* 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 ma... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <IDEInterfaceBuilderKit/IBDocumentArchivingSchemaEnumerationComponent.h>
@interface IBDocumentArchivingSchemaEnumerationComponent_IBLayoutAttribute : IBDocumentArchivingSch... |
#ifndef _SYS_SYSTM_H_
#define _SYS_SYSTM_H_
#include "common.h"
int copystr(const void *restrict kfaddr, void *restrict kdaddr, size_t len,
size_t *restrict lencopied) __nonnull(1) __nonnull(2);
int copyinstr(const void *restrict udaddr, void *restrict kaddr, size_t len,
size_t *restrict len... |
class BetaSound
{
static SoundOnVehicle SaySound(Object source, string sound_name, float distance, bool looped)
{
bool is_female = source.ConfigGetBool("woman");
string path_class = "CfgActionSounds " + sound_name;
string path_sound = path_class + " sounds";
//is the action sound class defined ? if n... |
/*
* 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 ... |
/*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limitatio... |
/*
** © 2017 by Kornel Lesiński.
**
** See COPYRIGHT file for license.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <getopt.h>
#include "rwpng.h"
#include "libimagequant.h" /* if you get compile error, add -Ilib to compiler flags */
#include "pngquant_opts.h"
extern cha... |
/*
* File: QuadForces.h
* Author: Jonatan Mota Campos
* Project: ProVANT
* Company: Federal University of Minas Gerais
* Version: 1.0
* Date: 10/12/19
* Description: This library is responsable to implement aerodynamics forces in a UAV
*/
//#ifndef AERO_H
//#define AERO_H
#include <ros/ros.h>
#include <gazebo/physic... |
//----------------------------------------------------------------------------
//
// File: ossimRpfReplaceUpdateSectionSubheader.h
//
// License: See top level LICENSE.txt file.
//
// Author: David Burken
//
// Description: See class description.
//
//----------------------------------------------------------... |
#define DENORM_EXP (MIN_EXP - 1)
#include <sysdeps/ieee754/ldbl-96/strtold.c> |
/*
* ThreadSafeTransaction.h
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ... |
/*
* Copyright 2017 MapD Technologies, 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 o... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commerci... |
// 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 CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_
#define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_ANDROID_IMPL_H_
#include <memory>
#incl... |
#import "Three20/TTGlobal.h"
@class TTURLRequest;
@protocol TTURLResponse <NSObject>
/**
* Processes the data from a successful request and determines if it is valid.
*
* If the data is not valid, return an error. The data will not be cached if there is an error.
*/
- (NSError*)request:(TTURLRequest*)request pr... |
/*
*
* Copyright 2015 gRPC 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 29 2017 23:22:24).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "WXPBGeneratedMessage.h"
@class NSString;
@interface StatisticsAppInfo : WXPBGeneratedMessage
{
}
+ (void)initialize;
// Re... |
/******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
* File Name : usb_pwr.h
* Author : MCD Application Team
* Version : V3.3.0
* Date : 21-March-2011
* Description : Connection/disconnection & power management header
*********************... |
/*
* Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <arm_gic.h>
#include <assert.h>
#include <bl_common.h>
#include <console.h>
#include <debug.h>
#include <generic_delay_timer.h>
#include <mmio.h>
#include <platform.h>
#include <plat_pr... |
/*
LUFA Library
Copyright (C) Dean Camera, 2014.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... |
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
//
// 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 app... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@interface DVTObjectDeallocationMonitor : NSObject
{
}
+ (void)logLeakedObjects;
+ (BOOL)isEnabled;
@end |
#ifndef FTSQ_MUTEX_H
#define FTSQ_MUTEX_H
#include "ftsq/mutex.h"
#include <vector>
#include <deque>
namespace ftsq
{
template <typename T, typename mutex_type=ftsq::mutex>
class queue_pop_one
{
public:
typedef std::deque<T> queue_type;
typedef typename queue_type::size_type size_type;... |
#ifndef __VR_VR_H__
#define __VR_VR_H__
// Forward
struct VR_GHOST_Event;
#ifdef __cplusplus
extern "C" {
#endif
// Forward
struct bContext;
struct GPUViewport;
struct wmWindow;
struct View3D;
struct ARegion;
struct CameraParams;
typedef enum _VR_Result
{
VR_RESULT_SUCCESS,
VR_RESULT_ERROR
} VR_Result;
typedef... |
#include <stdio.h>
#include <stdlib.h>
int array_sum(int a[],int n)
{
int sum=0,i;
for(i=0;i<n;i++)
sum=sum+a[i];
return(sum);
}
int main()
{
int n,i;
printf("Enter the value of n\n");
scanf("%d",&n);
int a[n];
printf("Enter the elements\n");
for(i=0;i<n;i++)
scanf(... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "WAJSEventHandler_BaseEvent.h"
@interface WAJSEventHandler_setDeviceOrientation : WAJSEventHandler_BaseEvent
{
}
- (void)handleJSEvent:(id)arg1;
@end |
#pragma once
#include "Camera.h"
#include "../world/ChunkManager.h"
#include "../world/BlockManager.h"
#include "../util/ToggleKey.h"
struct Player
{
Player(Camera* cam)
: m_camera(cam)
, m_height(1.5f)
, m_position(1, Chunk::Height - 1, 1)
, m_velocity(0, 0, 0)
, m_toggleSp... |
/*
* 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 ... |
/*
* $Id: pod.h 1487 2009-04-08 21:07:12Z arniml $
*
* Pod signal names
* Copyright (C) 2008 K. Waschk
*
* 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 Licens... |
/*
* Copyright 2005-2019 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
* virtue of its status as an int... |
//
// OCAutoreleasePool.c
//
// Created by Philip on 12/27/09.
//
#include "OCLibrary.h"
#ifndef FREE
#define FREE(X) {free(X); X=NULL;}
#endif
#ifndef IF_SELF_DOESNT_EXISTS_RETURN
#define IF_SELF_DOESNT_EXISTS_RETURN(X) if(NULL==theUnit) {fprintf(stderr, "*** WARNING - %s %s - object doesn't exist.\n",__FILE__,__... |
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkCodec_DEFINED
#define SkCodec_DEFINED
#include "include/codec/SkCodecAnimation.h"
#include "include/codec/SkEncodedOrigin.h"
#include "include/core/SkColor.h"
#incl... |
/*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas at Austin
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Re... |
#include "f2c.h"
#ifdef KR_headers
double erf();
double erf_(x) real *x;
#else
extern double erf(double);
double erf_(real *x)
#endif
{
return( erf(*x) );
} |
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <ddk/debug.h>
#include <ddk/driver.h>
#include <ddk/protocol/pci.h>
#include <ddk/protocol/sysmem.h>
#include <hw/pci.h>
#include <string.h>
#inc... |
#ifndef ESceneCustomOToolsH
#define ESceneCustomOToolsH
#include "ESceneCustomMTools.h"
struct SRayPickInfo;
class ESceneCustomOTool: public ESceneToolBase
{
typedef ESceneToolBase inherited;
protected:
ObjectList m_Objects;
bool OnLoadSelectionAppendObject(CCustomObject* obj);
bool OnLoadAppendOb... |
/******************************************************************************
* Copyright (C) 2020, Huada Semiconductor Co., Ltd. All rights reserved.
*
* This software component is licensed by HDSC under BSD 3-Clause license
* (the "License"); You may not use this file except in compliance with the
* License. Y... |
#pragma once
#include "CoreDEF.h"
namespace bv
{
class Asset;
class AssetDesc;
class AnimationAsset;
class AnimationAssetDesc;
class GeneratedSingleTextureAssetDesc;
class MipMapAsset;
class MipMapAssetDesc;
class SingleTextureAsset;
class SingleTextureAssetDesc;
class TextureAsset;
class TextureAssetDesc;
class Fon... |
/* omapi.c
OMAPI object interfaces for the DHCP server. */
/*
* Copyright (c) 2004-2010,2012 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1999-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby ... |
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... |
/*
* Copyright (C) 2005-2006 Dell Inc.
* Released under GPL v2.
*
* Serial Attached SCSI (SAS) transport class.
*
* The SAS transport class contains common code to deal with SAS HBAs,
* an aproximated representation of SAS topologies in the driver model,
* and various sysfs attributes to expose these topologies... |
/*****************************************************************************
TransOpPowOfs.h
Author: Laurent de Soras, 2021
Reference:
https://github.com/imageworks/OpenColorIO-Configs/blob/master/nuke-default/make.py
Gamma to lin is in the form:
f (x) = (pow (10, (m * x - o) / d) - l) / (1 - l)
w... |
//===--- CrashRecoveryContext.h - Crash Recovery ----------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#ifndef __TS_MUXER_H
#define __TS_MUXER_H
#include <types/types.h>
#include <map>
#include <vector>
#include "abstractMuxer.h"
#include "avPacket.h"
#include "hevc.h"
#include "limits.h"
#include "vodCoreException.h"
const static int MAX_PES_HEADER_LEN = 512;
class TSMuxer : public AbstractMuxer
{
typedef Abst... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <unistd.h>
#include "compiler.h"
int main(int argc, char **argv)
{
return 0;
} |
//
// EasyHUD.h
// Example
//
// Created by WzxJiang on 16/11/10.
// Copyright © 2016年 WzxJiang. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VisHUD : UIView
+ (void)show:(NSString *)text userInteraction:(BOOL)userInteractionEnabled afterDelay:(CGFloat)second;
+ (void)show:(NSString *)text userIn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.