text stringlengths 9 948k |
|---|
/*
* Copyright (c) 2016 The ZLToolKit project authors. All Rights Reserved.
*
* This file is part of ZLToolKit(https://github.com/ZLMediaKit/ZLToolKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contributing project authors
... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:26:01 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/PrivateFederatedLearning.framework/PrivateFederatedLearning
* classdump-dyld is licensed under GPLv3... |
#ifndef _METERPRETER_SOURCE_EXTENSION_MSFMAP_MSFMAP_H
#define _METERPRETER_SOURCE_EXTENSION_MSFMAP_MSFMAP_H
#endif
#include <Ipexport.h>
/* #define DEBUG */
#define BUFFER_SIZE 1024 /* 512 packed ports or 256 packed ips */
#define BUFFER_SIZE_INCREMENT 512
#define MAX_REQ_TIMEOUT 10
#define WINDOW_SIZE 8192
#define ... |
#ifndef VACUUM_HANDLER_H
#define VACUUM_HANDLER_H
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <stdlib.h>
#include "I2Cdv.h"
#include "ADS1115.h"
#include "GPIOClass.h"
#include <sys/time.h>
class VacuumHandler {
public:
VacuumHandler();
bool Update(bool bRelayState);
private:
... |
/*
* Copyright 2006 Sony Computer Entertainment Inc.
*
* Licensed under the MIT Open Source License, for details please see license.txt or the website
* http://www.opensource.org/licenses/mit-license.php
*
*/
#ifndef __domGl_hook_abstract_h__
#define __domGl_hook_abstract_h__
#include <dae/daeDocument.h>
#include <d... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:48:02 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/Frameworks/HomeKit.framework/HomeKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrProcessor_DEFINED
#define GrProcessor_DEFINED
#include "include/core/SkMath.h"
#include "include/core/SkSpan.h"
#include "include/core/SkString.h"
#include "src/gpu... |
/***************************************************************************//**
* @file
* @brief EFM32GG11B_TIMER_CC register and bit field definitions
*******************************************************************************
* # License
* <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
****... |
#pragma once
#include <stdint.h>
#include <vector>
namespace IndicatorLights {
class Effect {
public:
virtual void run() = 0;
std::vector<std::vector<uint8_t>> getColors() {
return m_colors;
}
bool isDone() {
return m_done;
}
virtual void reset() = 0;
protected:
bool m_done = false;
std::v... |
/**
******************************************************************************
* @file RTC/RTC_Tamper/stm32f30x_it.c
* @author MCD Application Team
* @version V1.1.3
* @date 14-December-2021
* @brief Main Interrupt Service Routines.
***********************************************************... |
#ifndef MAP_TABLE_H
#define MAP_TABLE_H
#include "nvmconfig.h"
word_t *init_maptable(word_t size);
int update_maptable(word_t *map_table, word_t lbn, word_t pbn);
word_t get_maptable(word_t *map_table, word_t lbn);
word_t map_table(word_t *map_table, word_t lbn, word_t pbn);
int demap_maptable(word_t *map_table, word... |
/*
Project : Wolf Engine. Copyright(c) Pooya Eimandar (http://PooyaEimandar.com) . All rights reserved.
Source : Please direct any bug to https://github.com/PooyaEimandar/Wolf.Engine/issues
Website : http://WolfSource.io
Name : view_controller.h
Description : view controller for MacOS
Comment ... |
#pragma once
typedef unsigned char Byte;
struct ByteBlock {
Byte content[4][4];
ByteBlock(){};
ByteBlock(Byte const b[4][4]) {
for (int i = 0; i < 4; i++)
for (int j = 0; j < 4; j++)
content[i][j] = b[i][j];
}
};
/* 初始轮
输入:数据块、密钥
输出:加密后数据块
*/
ByteBlock initialRound(ByteBlock const &dataIn, ByteBlock const... |
#ifndef QEMU_HW_XEN_H
#define QEMU_HW_XEN_H 1
/*
* public xen header
* stuff needed outside xen-*.c, i.e. interfaces to qemu.
* must not depend on any xen headers being present in
* /usr/include/xen, so it can be included unconditionally.
*/
#include <inttypes.h>
#include "hw/irq.h"
#include "qemu-common.h"... |
/** @brief helper for python c-api
<p>(c) 2016, stefan.berke@modular-audio-graphics.com</p>
<p>MIT License</p>
v3
*/
#ifndef PY_UTILS_H
#define PY_UTILS_H
#ifndef PYUTILS_PRINT
# include <iostream>
# define PYUTILS_PRINT(arg__) { std::cout << arg__ << std::endl; }
#endif
#include <string>
#include ... |
/*
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
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
... |
//
// NSObject+BlockNotification.h
// BlockNotification
//
// Created by 方阳 on 2018/8/7.
// Copyright © 2018年 yy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (BlockNotification)
/*
* 为自身添加特定通知的监听
* @param notification 通知名
* @param callback 通知回调
*/
- (BOOL)observeBlockNotific... |
/*
* Copyright (c) 2013-2014, 2016, GreenPeak Technologies
* Copyright (c) 2017-2019, Qorvo Inc
*
*
*
* This software is owned by Qorvo Inc
* and protected under applicable copyright laws.
* It is delivered under the terms of the license
* and is intended and supplied for use solely and
* exclusively with pro... |
/*
SDL_mixer: An audio mixer library based on the SDL library
Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
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.
Permissio... |
/*
* Copyright 2017 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.
*/
#include <math.h>
#include <stdio.h>
// Prints the float/... |
// Copyright (c) 2014-2020 The Gridcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "amount.h"
#include "gridcoin/contract/payload.h"
#include "gridcoin/voting/claims.h"
#include "serial... |
#pragma once
// Copyright 2014 Hcnet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "util/asio.h"
#include "database/Database.h"
#include "overlay/PeerBareAdd... |
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
// REQUIRES: riscv-registered-target
// RUN: %clang_cc1 -triple riscv32 -target-feature +experimental-v -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV32 %s
// RUN: %clang_cc1 -triple riscv64 -targ... |
#ifndef EVAS_ENGINE_H
#define EVAS_ENGINE_H
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/extensions/XShm.h>
#include <X11/extensions/Xrender.h>
#include <X11/Xresource.h> // xres - dpi
#ifdef BUILD_ENGINE_XRENDER_XCB
# include <xcb/xcb.h>... |
/****************************************************************************//**
* @file eadc.h
* @version V0.10
* @brief M251 series EADC driver header file
*
* @note
* @copyright (C) 2018 Nuvoton Technology Corp. All rights reserved.
*********************************************************************... |
#include <hellfire.h>
sem_t s1, s2, s3, s4;
void task0(void){
int i;
for(;;){
for(i = 1; i <= 200; i++)
printf("%d ", i);
hf_sempost(&s1);
for(;;);
}
}
void task1(void){
int i;
for(;;){
hf_semwait(&s1);
for(i = 200; i <= 400; i++)
printf("%d ", i);
hf_sempost(&s2);
for(;;);
}
}
void task... |
// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "primitive.h"
#include "curve_intersector_precalculations.h"
namespace embree
{
template<int M>
struct CurveNi
{
struct Type : public PrimitiveType {
const char* name() const;
size_t sizeActi... |
//===-- CodeGen/RuntimeLibcalls.h - Runtime Library Calls -------*- 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
//
//===---------------------------... |
/* =========================================================================
zuuid - UUID support class
Copyright (c) the Contributors as noted in the AUTHORS file.
This file is part of CZMQ, the high-level C binding for 0MQ:
http://czmq.zeromq.org.
This Source Code Form is subject to the terms o... |
//
// Copyright (c) 2008-2020 the Urho3D project.
//
// 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, modify, m... |
/**
* @file lv_test_win.h
*
*/
#ifndef LV_TEST_WIN_H
#define LV_TEST_WIN_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "../../../../lv_ex_conf.h"
#include "lvgl/lvgl.h"
#if USE_LV_WIN && USE_LV_TESTS
/*********************
* DEFINES
*... |
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <errno.h>
/*
inet_ntop, не зависящий от протокола.
нужно написать остальное, по примерам из книги (скачать).
*/
char* sock_ntop(const struct sockaddr* sa, socklen_t sa_len) {
char port_str[7];
static char s... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/iot/IoTRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iot/model/... |
/* Copyright (c) 2010-2015 Vanderbilt University
*
* 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, modify, m... |
#ifndef SGX_PWD_UTIL_H
#define SGX_PWD_UTIL_H
#include <struct/sgx_pwd_struct.h>
#include <proxy/sgx_pwd_t.h>
#ifdef __cplusplus
extern "C" {
#endif
extern struct passwd *sgx_wrapper_getpwuid(uid_t uid);
extern struct passwd *sgx_wrapper_getpwnam(const char *name);
extern int sgx_wrapper_getpwnam_r(const char *name... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@interface APDynamicDeploymentPolicyFactory : NSObject
{
}
+ (id)policyFromString:(id)arg1 forBizName:(id)a... |
/* Exit Games Common - C++ Client Lib
* Copyright (C) 2004-2020 by Exit Games GmbH. All rights reserved.
* http://www.photonengine.com
* mailto:developer@photonengine.com
*/
#pragma once
#include "Common-cpp/inc/Logger.h"
#include "Common-cpp/inc/MemoryManagement/Allocate.h"
namespace ExitGames
{
namespace Comm... |
/**************************************************************************************************
The MIT License (MIT)
Copyright (c) 2014, Sam Bayless
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 th... |
/* $Id$
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1992 - 1997, 2000 Silicon Graphics, Inc.
* Copyright (C) 2000 by Colin Ngam
*/
#ifndef _ASM_SN_DRIVER_H
#define _A... |
//cave74.c
#include <std.h>
#include "echoes.h"
inherit OGRES;
void create(){
::create();
set_exits(([
"east" : ROOMS"cave73",
"west" : ROOMS"cave75",
]));
} |
/*
* linux/fs/jbd2/journal.c
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1998
*
* Copyright 1998 Red Hat corp --- All Rights Reserved
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
* option, any later version, i... |
/*
Copyright (C) 2006-2009 Tsinghua University. 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 distributed in the hope that it would be... |
/*
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdbool.h>
#include "sdkconfig.h"
#include "esp_err.h"
#include "esp_intr_alloc.h"
#if !CONFIG_IDF_TARGET_LINUX
#include "esp_attr.h"
#include "esp_types.h"
#include "soc/so... |
//////////////////////////////////////////////////////////////////////////
// Software License Agreement (BSD License) //
// //
// Copyright (c) 2009 //
// Engin Tola ... |
/*-
* Copyright (c) 2010, Oracle America, 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 co... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class NSString;
@interface HCRecItem : NSObject
{
int _type;
NSString *_recId;
NSString *_sche... |
#ifndef __MOONLIGHT_CONTROLLER_MOUSE_CONTROLLER_H__
# define __MOONLIGHT_CONTROLLER_MOUSE_CONTROLLER_H__
# include <libmoonlightcontroller/Position.h>
# include <libmoonlightcontroller/EMouseButton.h>
# include <libmoonlightcontroller/Platform.h>
# if defined(MOONLIGHT_CONTROLLER_LINUX)
# include <libmoonlightcontro... |
// 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 EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_
#define EXTENSIONS_RENDERER_USER_SCRIPT_SET_MANAGER_H_
#include <map>
#include <set>
#include <str... |
// Generated by Apple Swift version 3.0.2 (swiftlang-800.0.61 clang-800.0.42.1)
#pragma clang diagnostic push
#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wauto-import"
#include <objc/NSObject.h>
#include <stdint.h>
#i... |
#pragma once
#include "engine/core/main/module.h"
namespace Echo
{
class HLodModule : public Module
{
ECHO_SINGLETON_CLASS(HLodModule, Module)
public:
HLodModule();
virtual ~HLodModule();
// instance
static HLodModule* instance();
// register all types of the module
virtual voi... |
/* dynamic SQL support routines
*
* src/interfaces/ecpg/ecpglib/descriptor.c
*/
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
#include "catalog/pg_type_d.h"
#include "ecpg-pthread-win32.h"
#include "ecpgerrno.h"
#include "ecpglib.h"
#include "ecpglib_extern.h"
#include "ecpgtype.h"
#include "sql3types.h"... |
#ifndef SSF_SERVICES_COPY_STATE_SENDER_WAIT_EOF_STATE_H_
#define SSF_SERVICES_COPY_STATE_SENDER_WAIT_EOF_STATE_H_
#include <iostream>
#include <msgpack.hpp>
#include <ssf/log/log.h>
#include "common/error/error.h"
#include "services/copy/i_copy_state.h"
#include "services/copy/packet/init.h"
#include "services/cop... |
/*
* Copyright (C) INGCHIPS. All rights reserved.
* This code is INGCHIPS proprietary and confidential.
* Any use of the code for whatever purpose is subject to
* specific written permission of INGCHIPS.
*/
#include <stdio.h>
#include <string.h>
#include "ingsoc.h"
#include "att_db.h"
#include "ota_service.h"
#includ... |
#include <stdio.h>
#include <string.h>
#include "config.h"
#include "misc.h"
#define parserInvalidStartCode_d (-3)
#define parserInvalidTypeCode_d (-2)
#define parserError_d (-1)
#define parserData_d (0)
#define parserEndOffFile_d (1)
#define parserOffset_d (4)
int __parseLine(FILE* f, unsigned int* add... |
/*-------------------------------------------------------------------------
*
* array.h
* Declarations for Postgres arrays.
*
* A standard varlena array has the following internal structure:
* <vl_len_> - standard varlena header word
* <ndim> - number of dimensions of the array
* <dataoffset> - offset... |
#pragma once
#include <memory>
#include <vector>
namespace Raymond
{
class Ray;
class Traceable;
class Camera;
struct Scene
{
std::vector<std::shared_ptr<Traceable>> Objects;
std::vector< std::shared_ptr<Light>> Lights;
std::shared_ptr<Camera> Camera;
glm::vec3 BackgroundColor = glm::vec3(0.0f, 0... |
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITBREADCRUMB_CHECKPOINTS_H
#define BITBREADCRUMB_CHECKPOINTS_H
#include "uint256.h"
#include <map>
class CBlockIndex;
... |
#pragma strict_types
#include "../def.h"
inherit MASTER_ROOM;
inherit MOD_DOOR;
void create_object(void);
void init(void);
void create_object(void)
{
set_short("A roof in front of a tower");
set_long("An open area up on the roof of the castle. A five foot high " +
"wall goes round the edge of the... |
/* stb_image - v2.19 - public domain image loader - http://nothings.org/stb
no warranty implied; use at your own risk
Do this:
#define STB_IMAGE_IMPLEMENTATION
before you include this file in *one* C or C++ file to create the implementation.
// i.e. it should look like this:
#include ...
#include ...
#include ...
#d... |
#include <std.h>
#include "../../arctic.h"
inherit ROOMS"caveb.c";
void create()
{
::create();
set_exits(([
"north" : CAVE"cave16",
"west" : CAVE"cave9",
"southeast" : CAVE"cave11",
"northwest" : CAVE"cave17",
]));
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceRes... |
/*******************************************************************************************
*
* raylib [text] example - BMFont and TTF Fonts loading
*
* This example has been created using raylib 1.4 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
* C... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:26:10 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/RemoteUI.framework/RemoteUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
/*
* Copyright (c) 2016 PrivatBank IT <acsk@privatbank.ua>. All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
#include "pthread_internal.h"
#undef FILE_MARKER
#define FILE_MARKER "cryptonite/pthread_impl.c"
#ifdef _WIN32
int pthread_create(pthread_t *thread, const pt... |
#ifndef __GEEXTC3D_H__
#define __GEEXTC3D_H__
#include "gecurv3d.h"
#include "gearc3d.h"
#include "gevec3d.h"
#include "gepnt3d.h"
#include "..\inc\zgeextc3d.h"
#ifndef AcGe
#define AcGe ZcGe
#endif //#ifndef AcGe
#ifndef AcGeCurve3d
#define AcGeCurve3d ZcGeCurve3d
#endif //#ifndef AcGeCurve3d
#ifndef AcGeEllipA... |
/** @file
Header file for PchCycleDecodingLib.
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _PCH_CYCLE_DECODING_LIB_H_
#define _PCH_CYCLE_DECODING_LIB_H_
/**
Set PCH TCO base address.
This cycle decoding is allowed to set whe... |
/**
* @file vi.h
* @brief Display (vi:*) service IPC wrapper.
* @author yellows8
* @copyright libnx Authors
*/
#pragma once
#include "../types.h"
#include "../kernel/event.h"
#include "../sf/service.h"
typedef struct {
char data[0x40];
} ViDisplayName;
typedef struct {
u64 display_id;
ViDisplayName ... |
#ifndef __GAME_H__
#define __GAME_H__
#include "cube.h"
// console message types
enum
{
CON_CHAT = 1<<8,
CON_TEAMCHAT = 1<<9,
CON_GAMEINFO = 1<<10,
CON_FRAG_SELF = 1<<11,
CON_FRAG_OTHER = 1<<12,
CON_TEAMKILL = 1<<13
};
// network quantization scale
#define DMF 16.0f ... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
/* asmhead.nas */
struct BOOTINFO { /* 0x0ff0-0x0fff */
char cyls; /* ブートセクタはどこまでディスクを読んだのか */
char leds; /* ブート時のキーボードのLEDの状態 */
char vmode; /* ビデオモード 何ビットカラーか */
char reserve;
short scrnx, scrny; /* 画面解像度 */
char *vram;
};
#define ADR_BOOTINFO 0x00000ff0
/* naskfunc.nas */
void io_hlt(void);
void io_cli(void)... |
#pragma once
#include <memory>
#include "storm/utility/constants.h"
#include "storm/utility/macros.h"
namespace storm {
namespace builder {
/*!
* Enum representing the heuristic used for deciding which states to expand.
*/
enum class ApproximationHeuristic { DEPTH, PROBABILITY... |
/*
* 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
#if !defined(Q_MOC_RUN)
#include "EMStudioConfig.h"
#include "NotificationWindow.h"
... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:24:46 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/PassKitCore.framework/PassKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli... |
/*-
* Copyright (C) 2014 Warner Losh.
* 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... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include "colors.h"
#define MAXZEILEN 5000
int zeilen = 0;
void pruefeZeilen() {
++zeilen;
if( zeilen > MAXZEILEN ) {
printf("Maximalzahl von %d Zeilen erreicht\n", MAXZEILEN);
exit(1);
}
}
void groesse(int x, int y) {
prin... |
//
// Car.h
// QLJSON2Model
//
// Created by xuqianlong on 2016/12/18.
// Copyright © 2016年 xuqianlong. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FavModel.h"
#import "objc/runtime.h"
@interface Car : NSObject
@property (nonatomic, strong) FavModel *pStorng;
@property (nonatomic, weak) NSN... |
#pragma once
#include<string>
#include<cstdint>
uint64_t StringToInt(std::string str);
std::string IntToString(uint64_t i);
constexpr uint64_t CptrToInt(const char str[9])
{
uint64_t result = 0;
for (uint64_t i = 0; i < 8; ++i)
{
result += uint64_t(str[i]) << uint64_t(i * 8);
}
return res... |
#include "file.h"
#include "file_int.h"
#include "file_rose.h"
#include "array.h"
#include "utility.h"
#include <string.h>
#include <stdlib.h> /* malloc/free */
typedef struct scheme {
string name;
RD_File *(*open)(const char *name, R_Byte mode);
} scheme;
static const scheme *get_scheme(const RD_ByteArray *path);
... |
#pragma once
#include <DXUT.h>
#include <DirectXMath.h>
#include "utils/TimingLog.h"
#include "utils/timer.h"
#include <SDX/DXPerfEvent.h>
#include <osd/d3d11ComputeController.h>
#include "Voxelization.h"
class DXPicking;
static ID3D11ShaderResourceView* const g_ppSRVNULL[] = {NULL, NULL, NULL, NULL, NULL, NULL, NU... |
//
// DBHandelClass.h
// 01-QYNews
//
// Created by qingyun on 16/9/27.
// Copyright © 2016年 qingyun. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef void(^CallFinished) (BOOL result,NSString *errorMsg);
typedef void(^CallResult)(NSMutableArray *resuletArr,NSString *errorMsg);
@interface DBHand... |
// 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 UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_EVENT_READER_LIBEVDEV_CROS_H_
#define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_EVENT_READER_LIBEVDEV_CROS_H_
... |
/*
dc.c - Sega Dreamcast hardware
*/
#include "driver.h"
#include "dc.h"
READ64_HANDLER( dc_sysctrl_r )
{
return 0;
}
WRITE64_HANDLER( dc_sysctrl_w )
{
mame_printf_verbose("SYSCTRL: write %llx to %x, mask %llx\n", data, offset, mem_mask);
}
READ64_HANDLER( dc_maple_r )
{
return 0;
}
WRITE64_HANDLER( dc_ma... |
#include "target-helpers/drm_helper.h"
#include "target-helpers/sw_helper.h"
#include "dri_screen.h"
#define DEFINE_LOADER_DRM_ENTRYPOINT(drivername) \
const __DRIextension **__driDriverGetExtensions_##drivername(void); \
PUBLIC const __DRIextension **__driDriverGetExtensions_##driverna... |
/* -*- C++ -*- */
// MainFrame.h,v 1.1 2000/05/17 15:48:13 parsons Exp
#ifndef _ConfigurationViewer_MainFrame_H
#define _ConfigurationViewer_MainFrame_H
class ConfigTreeCtrl;
class ValueListCtrl;
enum
{
// menu items
QUIT = 1,
ABOUT,
FILE_NEW_PERSISTENT_HEAP,
FILE_NEW_TRANSIENT_HEAP,
FILE_OPE... |
#ifndef _PYTHONQTINSTANCEWRAPPER_H
#define _PYTHONQTINSTANCEWRAPPER_H
/*
*
* Copyright (C) 2010 MeVis Medical Solutions AG All Rights Reserved.
*
* 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 Sof... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strlcpy.c :+: :+: :+: ... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:15:50 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/IMCore.fr... |
/**
* @copyright
* Copyright (C) 2020 Assured Information Security, Inc.
*
* @copyright
* 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... |
//
// Created by 谢涛 on 2020/6/30.
//
#include <stdio.h>
#include <stdlib.h>
struct ListNode {
int val;
struct ListNode *next;
};
int kthToLast(struct ListNode* head, int k){
struct ListNode* slow = head;
struct ListNode* fast = head;
while(k--){
fast = fast->next;
}
while(... |
// Copyright (c) 2022 PaddlePaddle Authors. 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... |
#pragma once
#include "GraphicsObject.h"
#include <string>
#include <vector>
namespace Wex
{
class Font : public GraphicsObject<HFONT>
{
public:
enum Attribute
{
Italic,
Underline,
Strikeout
};
Font() = default;
Font(
const std::string& family,
int height,
unsigned long weight = FW_DO... |
//
// FLEXObjectExplorerViewController.h
// Flipboard
//
// Created by Ryan Olson on 2014-05-03.
// Copyright (c) 2014 Flipboard. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, FLEXObjectExplorerSection) {
FLEXObjectExplorerSectionDescription,
FLEXObjectExplorerSectionCustom,
... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
/*
* Generated by util/mkerr.pl DO NOT EDIT
* Copyright 1995-2017 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... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
/* Spawn a child process running a new program. PROGRAM is the name
of the program to run; the path will be searched for this program.
ARG_LIST is a NULL-terminated list of character strings to be
passed as the program's argument list. Re... |
#pragma once
#include <stdint-gcc.h>
#ifndef __DDR_INIT_G2E_
#define __DDR_INIT_G2E_
#define RZG2E_DDR_VERSION "rev.0.12"
#ifdef ddr_qos_init_setting
#define REFRESH_RATE 3900 // Average periodic refresh interval[ns]. Support 3900,7800
#else
#if RZG2_REF_INT == 0
#define REFRESH_RATE 3... |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 co... |
/****************************** Module Header ******************************\
* Module Name: sprite.c
*
* Copyright (c) 1985 - 1999, Microsoft Corporation
*
* Windows Layering (Sprite) support.
*
* History:
* 12/05/97 vadimg created
\***************************************************************************/... |
/*
* MIT License
*
*
* Copyright (c) 2020 Temirkhan Myrzamadi
*
* 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,... |
/*
* Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#include "aos/hal/gpio.h"
#ifdef HAL_GPIO_MODULE_ENABLED
int32_t hal_gpio_init(gpio_dev_t *gpio)
{
}
int32_t hal_gpio_output_toggle(gpio_dev_t *gpio)
{
}
int32_t hal_gpio_output_high(gpio_dev_t *gpio)
{
}
int32_t hal_gpio_output_low(gpio_dev_t *gp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.