text stringlengths 9 948k |
|---|
// Copyright 2018 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 THIRD_PARTY_BLINK_RENDERER_CORE_DISPLAY_LOCK_DISPLAY_LOCK_BUDGET_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_DISPLAY_LOCK_DISPLAY_LOCK_BUDGET_H_
#... |
/*************************************************************************/
/* cpu_particles_2d_editor_plugin.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
/*
* memiec.c - IEC drive memory.
*
* Written by
* Andreas Boose <viceteam@t-online.de>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public... |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* ex_cmds.c: some functions for command line... |
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrSurfaceProxyPriv_DEFINED
#define GrSurfaceProxyPriv_DEFINED
#include "src/gpu/ganesh/GrSurfaceProxy.h"
class GrResourceProvider;
/** Class that adds methods to Gr... |
/*
* Author: Tomi Jylhä-Ollila, Finland 2011-2014
*
* This file is part of Kunquat.
*
* CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/
*
* To the extent possible under law, Kunquat Affirmers have waived all
* copyright and related or neighboring rights to Kunquat.
*/
#ifndef K_ENVIRONME... |
/*****************************************************************************
* *
* Copyright 2018 Rice University *
* *
* ... |
/*
* Copyright 2017 WalmartLabs
* 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... |
//
// Copyright (C) 2013 OpenSim Ltd.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program i... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE114_Process_Control__w32_char_environment_08.c
Label Definition File: CWE114_Process_Control__w32.label.xml
Template File: sources-sink-08.tmpl.c
*/
/*
* @description
* CWE: 114 Process Control
* BadSource: environment Read input from an environment variable
* GoodSo... |
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... |
#pragma once
/*
* Copyright (c) David Connet. All Rights Reserved.
*
* License: See License.txt
*/
/**
* @file
* @brief Progress dialog
* @author David Connet
*
* This is simply an interface in case I want to push it down into the ARB
* code at some point. If that happens, this interface declaration will mo... |
/* Benjamin DELPY `gentilkiwi`
http://blog.gentilkiwi.com
benjamin@gentilkiwi.com
Licence : https://creativecommons.org/licenses/by/4.0/
*/
#include "kull_m_kernel.h"
BOOL kull_m_kernel_ioctl_handle(HANDLE hDriver, DWORD ioctlCode, PVOID bufferIn, DWORD szBufferIn, PVOID * pBufferOut, PDWORD pSzBufferOut, BOOL auto... |
/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... |
/* Complex exponential function. m68k fpu version
Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
The GNU C Library is free software; you can redistribute it and/or
modify it under the... |
#pragma once
#include <string>
#include <vector>
#include <array>
#include <memory>
#include <unordered_set>
#include <unordered_map>
#include <map>
#include <regex>
#include "../imgui.h"
#include "../../ModuleScriptImporter.h"
class TextEditor
{
public:
enum class PaletteIndex : uint8_t
{
Default,
Keyword,
N... |
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int gappx = 6; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int swallowfl... |
#ifndef DPA_UTILS_H
#define DPA_UTILS_H
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <DPA/utils/helper_macros.h>
#define DPA_MIN( a, b ) (((a)<(b))?(a):(b))
#define DPA_MAX( a, b ) (((a)>(b))?(a):(b))
#define DPA_htob16 DPA_btoh16
#define DPA_htob32 DPA_btoh32
struct linked_data_list;
typed... |
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
/**
* @file vfs.c
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2017-2018 TileDB, Inc.
*
* 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 restricti... |
// Copyright (c) 2018-2021 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 BITCOIN_INTERFACES_WALLET_H
#define BITCOIN_INTERFACES_WALLET_H
#include <consensus/amount.h>
#include <fs.h>
#inclu... |
// 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... |
/**
******************************************************************************
* @file stm32f4xx_hash.c
* @author MCD Application Team
* @version V1.8.0
* @date 04-November-2016
* @brief This file provides firmware functions to manage the following
* functionalities of the HASH / HM... |
//
// HTImageCliped.h
// HTImageCliped
//
// Created by huangyibiao on 16/4/2.
// Copyright © 2016年 huangyibiao. All HT reserved.
//
#ifndef HTImageCliped_h
#define HTImageCliped_h
#import "UIImageView+HTImageCliped.h"
#import "UIImage+HTmageCliped.h"
#import "UIView+HTImageCliped.h"
#import "UIButton+HTImageCli... |
#ifndef JSON_SPIRIT_WRITER_TEMPLATE
#define JSON_SPIRIT_WRITER_TEMPLATE
// Copyright John W. Wilkinson 2007 - 2009.
// Distributed under the MIT License, see accompanying file LICENSE.txt
// json spirit version 4.03
#include "json_spirit_value.h"
#include <cassert>
#include <iomanip>
#include <sstream>
na... |
/******************************************************************************
* The MIT License
*
* Copyright (c) 2010 Bryan Newbold.
*
* 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 Softwar... |
//
// LNAssetCollectionViewCell.h
// UsePhotosDemo
//
// Created by llj on 16/10/18.
// Copyright © 2016年 llj. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LNAssetCollectionViewCell : UICollectionViewCell
@property (nonatomic, strong) UIImage *thumbnailImage;
@property (copy, nonatomic) NSString *... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Server/client environment: argument handling, config file parsing,
* logg... |
#pragma once
#include "neko/model/Behavior.h"
namespace neko
{
class Itching : public Behavior
{
private:
Math::Vec2i _last_mouse_position;
public:
const char *name() override { return "Itching"; }
Itching();
void update(Neko &neko) override;
Animation animation(Neko &neko) override;
};
} //... |
/*
* Arm SCP/MCP Software
* Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <fwk_module.h>
/*
* Empty placeholder for compatibility as all clocks are
* managed by SCP.
*/
const struct fwk_module_config config_clock = { 0 }; |
#ifndef __THREADPOOLV2_H__
#define __THREADPOOLV2_H__
#include <queue>
#include <functional>
#include <iostream>
#include <thread>
#include <vector>
#include <mutex>
#include <condition_variable>
/*
线程池第二版:
- 设计思路:
- 牢记线程池的本质是生产者/消费者模型。
线程消费资源(需要执行的任务函数);外部调用append函数生产资源(添加需要执行的函数)
- 对外接口:
... |
///-----------------------------------------------------------------------------
/// @file mm32_device.h
/// @brief CMSIS Cortex-M Peripheral Access Layer for MindMotion
/// microcontroller devices
///
/// This is a convenience header file for defining the part number on the
/// build command line, instead of sp... |
//
// Lol Engine
//
// Copyright © 2010—2018 Sam Hocevar <sam@hocevar.net>
//
// Lol Engine is free software. It comes without any warranty, to
// the extent permitted by applicable law. You can redistribute it
// and/or modify it under the terms of the Do What the Fuck You Want
// to Public License, Version 2, a... |
/*******************************************************************************
System Definitions
File Name:
definitions.h
Summary:
project system definitions.
Description:
This file contains the system-wide prototypes and definitions for a project.
*******************************************... |
/******************************************************************************/
/* */
/* Copyright (c) International Business Machines Corp., 2007, 2008 */
/* ... |
// Copyright 2018 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 ... |
#ifndef ITEM_SUM_INCLUDED
#define ITEM_SUM_INCLUDED
/* Copyright (c) 2000, 2013 Oracle and/or its affiliates.
Copyright (c) 2008, 2013 Monty Program Ab.
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 Softwar... |
//
// WNJChannelEditController.h
// WNJChannelEditController
//
// Created by 陈诚 on 2020/3/6.
// Copyright © 2020年 陈诚. All rights reserved.
//
#import "WNJChannelUnitModel.h"
#import <UIKit/UIKit.h>
@interface WNJChannelEditController : UIViewController
-(id)initWithTopDataSource:(NSArray<WNJChannelUnitModel *>... |
/****************************************************************************
* Copyright (C) 2021 by NQMCyber Ltd *
* *
* This file is part of EDGESec. *
* ... |
//
// (c) 2015-2018 WLAC. For details refers to LICENSE.md
//
/*
* File: <strings.h> For WINDOWS MFC
*
* Created on: Dec 22, 2015
* Author : Davit Kalantaryan (Email: davit.kalantaryan@desy.de)
*
*
*/
#ifndef __win_signal_new_h__
#define __win_signal_new_h__
#include <first_includes/common_include_for_head... |
/*
* Mach Operating System
* Copyright (c) 1992 Carnegie Mellon University
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* softw... |
/*
* Copyright (c) 2019 Samsung Electronics Co., Ltd. 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... |
/*-
* Copyright (c) 2015 Landon Fuller <landon@landonf.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
* notic... |
#pragma once
#include <vector>
#include <camera.h>
#include <zbuffer.h>
#include <canvas.h>
#include <mesh.h>
class Scene
{
Camera& camera;
ZBuffer& zbuffer;
Canvas& canvas;
std::vector<Mesh>& meshes;
Scene(Camera& _camera, ZBuffer& _zbuffer, Canvas& _canvas, std::vector<Mesh>& _meshes) : camera(_camera), zbuffe... |
// Copyright (c) 2012-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018 The Wagerr developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licens... |
//
// Wechat.h
// Pods
//
// Created by star diao on 11/12/2018.
//
//
//#ifndef Wechat_h
//#define Wechat_h
//
//
//#endif /* Wechat_h */
//#import <Foundation/Foundation.h>
//#import <UIKit/UIKit.h>
//#import <WXApi.h>
//#import <WXApiObject.h>
//
//#define WXResTypeShare @"Wechat:Share"
//#define WXResTypePa... |
//
// NSError+QMCDRecordErrorHandling.h
// Sidekick
//
// Created by Injoit on 5/7/13.
// Copyright (c) 2015 Quickblox Team. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
Category method to make logging to the console easier.
@since Available in v3.0 and later.
*/
@interface NSString (QMCDReco... |
void bmk_beforemain(void);
int main(int, char **); |
//##########################################################################
//# #
//# CLOUDCOMPARE #
//# #
//# This pr... |
//
// IMLEXArgumentInputViewFactory.h
// IMLEXInjected
//
// Created by Ryan Olson on 6/15/14.
//
//
#import <Foundation/Foundation.h>
#import "IMLEXArgumentInputSwitchView.h"
@interface IMLEXArgumentInputViewFactory : NSObject
/// Forwards to argumentInputViewForTypeEncoding:currentValue: with a nil currentValue... |
/* Copyright 2018 The TensorFlow 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 by applicable law or a... |
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// This file was automatically generated. Please do not edit it manually.
#pragma once
namespace ABI { namespace Microsoft { namespace Graphics { namespace C... |
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2018 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this ... |
#include <stm32f10x_lib.h>
#include "sys.h"
#include "usart.h"
#include "delay.h"
#include "usb_ch341.h"
//This demo will send two string every 700ms and send any string it receive.(Receive function is in USB_CH341.c Line 44.)
int main6(void)
{
char string1[]="hello,world -w-\r\n";
char string2[]="----b... |
// Font 8
//
// This font has been 8 bit Run Length Encoded to save FLASH space
//
// It is a Arial 75 pixel height font intended to display large numbers
// Width for numerals reduced from 55 to 53 (to fit in 160 pixel screens)
// This font only contains characters [space] 0 1 2 3 4 5 6 7 8 9 0 : - .
// All other char... |
/*
american fuzzy lop - LLVM-mode wrapper for clang
------------------------------------------------
Written by Laszlo Szekeres <lszekeres@google.com> and
Michal Zalewski <lcamtuf@google.com>
LLVM integration design comes from Laszlo Szekeres.
Copyright 2015, 2016 Google Inc. All rights ... |
/*
* corePKCS11 v3.4.0
* Copyright (C) 2020 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, including wi... |
#include "lvgl/lvgl.h"
#include "lv_edisplay/edisplay_font.h"
/*******************************************************************************
* Size: 16 px
* Bpp: 2
* Opts:
******************************************************************************/
#ifndef LIB16
#define LIB16 1
#endif
#if LIB16
/*--------... |
/*
* Copyright (C) 2004 the ffmpeg project
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) an... |
/* (c) Copyright 2020 Xilinx, 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, software
di... |
#include "kernel/param.h"
#include "kernel/types.h"
#include "user/user.h"
int fmtpargs(char **pargs, char *buf, int n)
{
int t = 0;
char *h = buf + 1, *p = buf + 1;
for (int i = 1; i < n; ++i)
{
if (buf[i] == '\\' || buf[i] == '\"')
{
pargs[t] = malloc(p - h);
m... |
/*
* Marubun MR-SHPC-01 PCMCIA controller device driver
*
* (c) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
*
* 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 ... |
#pragma once
#include <hvm.h>
#include "fd.h"
#include "vm.h"
extern struct proc proc_table[NPROC];
extern pid_t current;
int alloc_proc(pid_t pid, pn_t page_table_root, pn_t stack, pn_t hvm);
noreturn void run_current(void);
/* defined in entry.S */
int sys_clone(pid_t pid, pn_t pml4, pn_t stack, pn_t hvm);
int s... |
// Copyright (c) 2014-2020 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef FLAT_DATABASE_H
#define FLAT_DATABASE_H
#include "chainparams.h"
#include "clientversion.h"
#include "fs.h"
#includ... |
/* Copyright 2019 The TensorFlow 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 by applicable law or a... |
#include "ets_sys.h"
#include "osapi.h"
#include "gpio.h"
#include "os_type.h"
#include "user_config.h"
#include "driver/uart.h"
#include "esp8266_user.h"
#define USER_RX_QUEUE_LEN 1
os_event_t user_rx_queue[USER_RX_QUEUE_LEN];
#define BUF_SPAN (8)
#define BUF_SIZE (1<<BUF_SPAN)
#define POS_MASK (BUF_SIZE - 1)... |
#ifndef __DECODE_H__
#define __DECODE_H__
#include <string>
extern "C" {
#include "xed-interface.h"
}
struct Mop_t;
struct uop_t;
namespace xiosim {
namespace x86 {
const size_t MAX_ILEN = 15;
void init_decoder();
void decode(struct Mop_t * Mop);
void decode_flags(struct Mop_t * Mop);
bool is_trap(const struct M... |
// Copyright (c) 2017-2020 Intel Corporation
//
// 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, merge,... |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Slabs memory allocation, based on powers-of-N. Slabs are up to 1MB in size
* and are divided into chunks. The chunk sizes start off at the size of the
* "item" structure plus space for a small key and value. They increase by
* a mult... |
#pragma once
#include "texture.h"
#include "constants.h"
void BackgroundInit(Texture& texture, int index);
void BackgroundUpdate(Texture& texture, bool movementInX, bool movementInY, int sign, int speed = BACKOGRUND_MOVE_SPEED); |
/// @file xml/xpath/xpath_item.h
#ifndef _aspose_xml_xpath_xpath_item_h_
#define _aspose_xml_xpath_xpath_item_h_
#include <system/object.h>
#include <system/date_time.h>
namespace System { namespace Xml { namespace XPath {
/// Represents an item in the XQuery 1.0 and XPath 2.0 Data Model.
/// Objects of this class s... |
//
// YQDropDownMenu.h
// YQDropDownMenu
//
// Created by Wang on 2017/5/3.
// Copyright © 2017年 Wang. All rights reserved.
//
#import <UIKit/UIKit.h>
@class YQDropDownMenu;
@protocol YQDropDownMenuDelegate <NSObject>
- (void)dropDownMenu:(YQDropDownMenu *)menu didClickRow:(NSInteger)row;
- (void)dropDownMenuMo... |
/*++
Copyright (c) 1997 Microsoft Corporation
Module Name :
tables.h
Abstract:
mapping tables to convert various info between text and binary
Environment:
Win32 User Mode
Author:
jaroslad (jan 1997)
--*/
#if !defined (__JD_TABLES_H)
#define __JD_TABLES_... |
/* Windows ISAPI Dll for WebKit */
#include <httpext.h>
#include <string.h>
#include <stdio.h>
#include "wk_isapi.h"
static const char isa_desc[]="WebKit ISAPI Extension Ver 0";
int DEBUG=0;
static LPEXTENSION_CONTROL_BLOCK staticecb;
static char* HEADERS[37]= {
"AUTH_PASSWORD",// Specifies the value entered in ... |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkContourLineInterpolator.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 ... |
float celsius (float x);
float farenheit (float x); |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:18 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CoreSuggestionsML.framework/CoreSuggestionsML
* classdump-dyld is licensed under GPLv3, Copyright © ... |
//
// VTPaymentXLTunai.h
// MidtransCoreKit
//
// Created by Nanang Rafsanjani on 8/8/16.
// Copyright © 2016 Veritrans. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MidtransPaymentDetails.h"
@interface MidtransPaymentXLTunai : NSObject <MidtransPaymentDetails>
@end |
#pragma once
#include "LAB_gen.h"
#include "LAB_gen_structure.h"
// TODO: LAB_ namespace!!!
// Note: extern allows the array to be defined without a size
extern const LAB_StructureLayer overworld_layers[];
extern const size_t overworld_layers_count;
/*extern const LAB_StructureLayer cave_layers[];
extern const size_... |
/*
* (C) Copyright 1996-2015 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 in... |
#pragma once
#include "camera.h"
class SDFRenderer
{
public:
void initilalize();
void setCamera(const Camera &camera);
void setTracer(int maxTraceSteps, float absThreshold);
void setSDF(
const Float3 &lower,
const Float3 &upper,
ComPtr<... |
/*
* Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org>
* Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation
*
* This program i... |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... |
#ifndef HEADER_LIBTEST_TESTTRACE_H
#define HEADER_LIBTEST_TESTTRACE_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* ... |
/*
*
* Copyright (c) 2021 Project CHIP 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 requir... |
/**
******************************************************************************
* @file stm32l1xx_flash.h
* @author MCD Application Team
* @version V1.3.1
* @date 20-April-2015
* @brief This file contains all the functions prototypes for the FLASH
* firmware library.
**************... |
// Copyright (c) 2018, ETH Zurich and UNC Chapel Hill.
// 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
// notic... |
/*
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 int64_t x3 = INT64_MIN;
uint64_t t0 = 765025621LLU;
int8_t x16 = INT8_MIN;
int32_t t3 = -26;
int16_t x... |
/*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to TO_YEAR PrismTech
* Limited, its affiliated companies and licensors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complia... |
/*
* @Author: hasee
* @Date: 2017-11-18 09:17:38
* @Last Modified by: hasee
* @Last Modified time: 2017-11-18 10:30:03
*/
// 函数
# include"test.h"
int test(int a){
printf("test: %d\n", a);
return 0;
} |
#include <sapi_gpio.h>
bool pins[16] = {false};
bool_t gpioRead( GpioMap_t pin )
{
printf("PIN%d readed value is %d\n", pin, pins[pin]);
fflush(stdout);
return pins[pin];
}
bool_t gpioWrite( GpioMap_t pin, bool_t value )
{
pins[pin] = value;
printf("PIN%d set to %d\n", pin, pins[pin]);
fflush(stdou... |
//=============================================================================================================
/**
* @file evokedmodalitywidget.h
* @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date May, 2014
*
* @section LICEN... |
/**
******************************************************************************
* @file : usbd_conf.c
* @version : v2.0_Cube
* @brief : This file implements the board support package for the USB device library
***********************************************************************... |
/*
**********************************************************************
* Copyright (C) 1998-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
#ifndef __LEGLYPHSTORAGE_H
#define __LEGLYPHSTORAGE_H
... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:18:23 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/ControlCenter/Bundles/Qui... |
/* Copyright 2014-2018 The PySCF Developers. 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 requi... |
/* Descriptors */
#ifndef Py_DESCROBJECT_H
#define Py_DESCROBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
typedef PyObject *(*getter)(PyObject *, void *);
typedef int (*setter)(PyObject *, PyObject *, void *);
typedef struct PyGetSetDef {
char *name;
getter get;
setter set;
char *doc;
void *closu... |
/*++
Copyright (c) 2016 Microsoft Corporation
Module Name:
enum2bv_solver.h
Abstract:
Finite domain solver.
Author:
Nikolaj Bjorner (nbjorner) 2016-10-17
Notes:
--*/
#pragma once
#include "ast/ast.h"
#include "util/params.h"
class solver;
solver * mk_enum2bv_solver(ast_manager & m, params_ref ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.