text stringlengths 9 948k |
|---|
/*
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) an... |
#pragma once
#include <vector>
#include <string>
#include <stdexcept>
#include "configs.h"
class Reader {
public:
explicit Reader(size_t bufferSize) : buffer_(bufferSize) {}
char readChar();
std::string readLine();
std::string readRaw(size_t len);
int64_t readInt();
protected:
std::vect... |
#if TT_KEYS_COUNT > 0
TT_000,
#endif
#if TT_KEYS_COUNT > 1
TT_001,
#endif
#if TT_KEYS_COUNT > 2
TT_002,
#endif
#if TT_KEYS_COUNT > 3
TT_003,
#endif
#if TT_KEYS_COUNT > 4
TT_004,
#endif
#if TT_KEYS_COUNT > 5
TT_005,
#endif
#if TT_KEYS_COUNT > 6
TT_006,
#endif
#if TT_KEYS_COUNT > 7
TT_007,
#endif
#if TT_K... |
// axe.c
// 自造物品 (by Find.)
// 沒有安全問題但太麻煩
#include <mine_def.h>
#include <weapon.h>
#include <self.h>
#include <origin.h>
inherit AXE;
protected int weapon_attr_flag, require_res;
string query_selling_msg() { return "自造兵器"; }
int query_weapon_attr() { return weapon_attr_flag; }
int set_weapon_attr(int n)
{
... |
/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/helpers/ptr_math.h"
#include "unit_tests/command_queue/command_enqueue_fixture.h"
#include "unit_tests/fixtures/buffer_fixture.h"
#include "unit_tests/gen_common/gen_cmd_parse.h"
#include "unit_test... |
/*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:06:45 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/TVKit.framework/TVKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos... |
//
// MRCAboutViewModel.h
// MVVMReactiveCocoa
//
// Created by leichunfeng on 15/3/4.
// Copyright (c) 2015年 leichunfeng. All rights reserved.
//
#import "MRCTableViewModel.h"
@interface MRCAboutViewModel : MRCTableViewModel
@property (nonatomic, assign, readonly) BOOL isLatestVersion;
@property (nonatomic, co... |
/*============================================================================
CMake - Cross Platform Makefile Generator
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This softwa... |
// Copyright (c) 2014-2016 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ACTIVEMASTERNODE_H
#define ACTIVEMASTERNODE_H
#include "init.h"
#include ... |
/*
* Copyright (C) Shinpei Kato
*
* University of California, Santa Cruz
* Systems Research Lab.
*
* 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 r... |
#include "cache.h"
#include "dir.h"
static int compare_untracked(const void *a_, const void *b_)
{
const char *const *a = a_;
const char *const *b = b_;
return strcmp(*a, *b);
}
static int compare_dir(const void *a_, const void *b_)
{
const struct untracked_cache_dir *const *a = a_;
const struct untracked_cache_... |
/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
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... |
// Copyright (c) 2011 The University of Sydney
/// @author Vsevolod Vlaskine, Cedric Wohlleber
#pragma once
#ifdef WIN32
#include <winsock2.h>
//#include <windows.h>
#endif
#ifndef Q_MOC_RUN
#include <boost/property_tree/ptree.hpp>
#endif
#include <iostream>
#include <memory>
#include "../../../qt3d/qt3d_v1/view.h"... |
/*
* tools/testing/selftests/epoll/test_epoll.c
*
* Copyright 2012 Adobe Systems Incorporated
*
* 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
*... |
// Copyright 2021 The 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 agreed t... |
// Copyright 2015 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 wri... |
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SKSL_CONSTRUCTOR
#define SKSL_CONSTRUCTOR
#include "include/core/SkSpan.h"
#include "src/sksl/SkSLIRGenerator.h"
#include "src/sksl/ir/SkSLExpression.h"
namespace Sk... |
#pragma once
// @generated by aten/src/ATen/gen.py
#include <ATen/CPUTypeDefault.h>
#include <ATen/Context.h>
#include <ATen/CheckGenerator.h>
#include <ATen/DeviceGuard.h>
#include <ATen/cuda/ATenCUDAGeneral.h>
#include <ATen/cuda/CUDADevice.h>
#include <ATen/cuda/CUDATypeDefault.h>
#ifdef _MSC_VER
#ifdef Type
#un... |
/* Code generated by cmd/cgo; DO NOT EDIT. */
/* package command-line-arguments */
#line 1 "cgo-builtin-export-prolog"
#include <stddef.h> /* for ptrdiff_t below */
#ifndef GO_CGO_EXPORT_PROLOGUE_H
#define GO_CGO_EXPORT_PROLOGUE_H
#ifndef GO_CGO_GOSTRING_TYPEDEF
typedef struct { const char *p; ptrdiff_t n; } _GoS... |
/*
Copyright (c) 2015, Plume Design 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:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the... |
/* dsa.c
*
* Copyright (C) 2006-2017 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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) a... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_
#define IOS_CHROME_BROWSER_SIGNIN_FAKE_SIGNIN_MANAGER_H_
#include "base/memory/scoped_ptr.h"
na... |
/*
* Copyright (c) 2015 Nicira, 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 agre... |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... |
/* SPDX-License-Identifier: MIT
Copyright 2020 Kevin Thibedeau
(kevin 'period' thibedeau 'at' gmail 'punto' com)
See LICENSE in the EVFS project root for details
*/
/*
------------------------------------------------------------------------------
Embedded Virtual Filesystem
Tracing shim VFS
This adds debugging t... |
/*
* parse_and_demar.h
*
* Copyright © 2017 Franco Masotti <franco.masotti@student.unife.it>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the LICENSE file for more details.
*/
/*
... |
// 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 CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_GAMEPAD_HOST_H_
#define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_GAMEPAD_HOST_H_
#include <std... |
/*
@encoding utf8
@ns cerl
@*/
// -------------------------------------------------------------------------
// function mkdir
/** 该函数以mkdir为例,提供了一种TaskRunner的使用方法:
如果纤程代码中有需要使用TaskPool的线程来处理的任务,那么可以把任务包装成
本例程提供的样式。在经过包装的函数中首先调用TaskRunner(),之后再填充任务
代码。这样可以确保任务在TaskPool中执行,并且在任务执行完毕后能够继续把执
行权切换到纤程中。
@arg self
当前拥有... |
inherit "room/room";
reset(arg) {
if(arg) { return; }
add_exit("southeast", "/wizards/torspo/areat/gnomes/hills11.c");
add_exit("northeast", "/wizards/torspo/areat/gnomes/hills21.c");
short_desc = "Gnomish mountains";
long_desc = "You are in the bottom of the narrow canyon. The mountains rise all around\n"+... |
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/device.h>
#include <linux/types.h>
#include <linux/io.h>
#include <linux/mm.h>
#ifndef ioremap_cache
/* temporary while we convert existing ioremap_cache users to memremap */
__weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size)
{
return ... |
//
// ViewController.h
// CropImage
//
// Created by change009 on 16/3/1.
// Copyright © 2016年 change009. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
/*
* This header is generated by classdump-dyld 1.0
* on Monday, September 28, 2020 at 5:58:18 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CoreSugge... |
/*
* Soft: Keepalived is a failover program for the LVS project
* <www.linuxvirtualserver.org>. It monitor & manipulate
* a loadbalanced server pool using multi-layer checks.
*
* Part: Dynamic data structure definition.
*
* Author: Alexandre Cassen, <acassen@linux-vs.... |
/*
* Do not modify this file; it is automatically
* generated and any modifications will be overwritten.
*
* @(#) xdc-B06
*/
#include <xdc/std.h>
#include <ti/sysbios/hal/Timer.h>
extern const ti_sysbios_hal_Timer_Handle timer0;
#include <ti/sysbios/knl/Swi.h>
extern const ti_sysbios_knl_Swi_Handle swi0H;
e... |
//===--- SwiftLookupTable.h - Swift Lookup Table ----------------*- 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... |
#ifndef __SPI_DRIVER__
#define __SPI_DRIVER__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
typedef uint8_t (*SPI_Driver_Read)(void);
typedef void (*SPI_Driver_Write)(uint8_t data);
typedef void (*SPI_Driver_ReadWrite)(uint8_t *buffer, uint16_t length);
typedef void (*SPI_Driver_InitCsPin)(void... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
// Copyright 2018 Google LLC
//
// 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 ... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
// 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.
#ifndef PYTHONBIT_POW_H
#define PYTHONBIT_POW_H
#include "consensus/params.h"
#... |
/*|-----------------------------------------------------------------------------
*| This source code is provided under the Apache 2.0 license --
*| and is provided AS IS with no warranty or guarantee of fit for purpose. --
*| See the project's LICENSE.md for details. ... |
/*
*
* Copyright (C) 2011, 2015 Cisco Systems, Inc.
* Copyright (C) 2015 CBA research group, Technical University of Catalonia.
*
* 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:
*
* ... |
/* $Xorg: XimTrans.h,v 1.3 2000/08/17 19:45:05 cpqbld Exp $ */
/******************************************************************
Copyright 1992 by Sun Microsystems, Inc.
Copyright 1992, 1993, 1994 by FUJITSU LIMITED
Permission to use, copy, modify, distribute, and sell this software
and its do... |
#include "skynet.h"
#include "skynet_handle.h"
#include "skynet_server.h"
#include "rwlock.h"
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#define DEFAULT_SLOT_SIZE 4
#define MAX_SLOT_SIZE 0x40000000
// skynet 服务编号的管理和分配
// handle_name 服务 name 和 对应 handle id 的 hash表
struct handle_name
{
char *name... |
/*
* $Id: signal.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
*
* ========================================================================
* Copyright 2013-2019 Eduardo Chappa
* Copyright 2006 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... |
#pragma once
#include <QtSquid/core/page/Page.h>
/**
* Permission Page (undefined)
*
* Should handle permission add and change for any user or user group.
*/
class PermissionPage : public Page
{
Q_OBJECT
public:
explicit PermissionPage(QtSquid* ref);
void handle() override { }
}; |
// SPDX-License-Identifier: GPL-2.0-only
/*
* intel_soc_dts_iosf.c
* Copyright (c) 2015, Intel Corporation.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitops.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <asm/iosf_mbi.h>
#include "intel_soc_dts_iosf.... |
//
// PCVersion.h
// Pica
//
// Created by Fancy on 2022/3/3.
// Copyright © 2022 fancy. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface PCVersion : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *tag_name;
@property (no... |
/* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/internal/atomic/gcc_builtins_.h
*
* Purpose: Atomic operations built around GCC's builtins
*
* Created: 6th January 2017
* Updated: 19th February 2017
*
* Author: Matthew Wilson
*
* Home: ... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef BITMAP_H
#define BITMAP_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/IImage.h>
#include <Color.h>
namespac... |
/*
Copyright (c) 2019, Ameer Haj Ali (UC Berkeley), and Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
... |
// 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_VIEWS_WEB_APPS_WEB_APP_UNINSTALL_DIALOG_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_WEB_APPS_WEB_APP_UNINSTALL_DIALOG_VIEW_H_
#... |
// Blender_Screen_SET.h: interface for the Blender_Screen_SET class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BLENDER_SCREEN_SET_H__A215FA40_D885_4D06_9032_ED934AE295E3__INCLUDED_)
#define AFX_BLENDER_SCREEN_SET_H__A215FA40_D885_4D06_9032_ED934AE295E3__INCLUDED_
#pragm... |
#ifndef ADIOS2_QUERY_INDEX_H
#define ADIOS2_QUERY_INDEX_H
#include "Query.h"
namespace adios2
{
namespace query
{
struct IndexInfo
{
std::string m_IdxType; // minmax (default)
adios2::Params m_SetupParameters;
};
template <class T>
class AbstractQueryIndex
{
public:
void Generate(std::string &fromBPFile,... |
/*
* Copyright (c) 2019, Cisco Systems, Inc.
*
* 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://github.com/cisco/libacvp/LICENSE
*/
#ifndef acvp_lcl... |
/*
* Copyright (c) 2013 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _DM_H_
#define _DM_H_
#include <dm/ofnode.h>
#include <dm/device.h>
#include <dm/fdtaddr.h>
#include <dm/ofnode.h>
#include <dm/read.h>
#include <dm/platdata.h>
#include <dm/uclass.h>
#endif |
/*
Z88-DK Z80ASM - Z80 Assembler
Copyright (C) Gunther Strube, InterLogic 1993-99
Copyright (C) Paulo Custodio, 2011-2020
License: The Artistic License 2.0, http://www.perlfoundation.org/artistic_license_2_0
Repository: https://github.com/z88dk/z88dk
Scanner. Scanning engine is built by ragel from scan_rules.rl.
*/
... |
/*
* Copyright (c) 1991 Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* the Systems Programming Group of the University of Utah Computer
* Science Department and William Jolitz of UUNET Technologies Inc.
*
* Redistribution and u... |
/* f2c.h -- Standard Fortran to C header file */
/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed."
- From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */
#ifndef F2C_INCLUDE
#define F2C_INCLUDE
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#in... |
/**
** @file cnames.c
** @author Hugh S. Myers
** @brief A collection of functions in aid of Rgb naming and value retrieval.
** @date Fri Aug 11 06:49:25 2017
**
** @section DESCRIPTION
**
** The functions in this file allow fetching the names and values of a particular Rgb instance.
** As collateral da... |
/*
*
* 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... |
#pragma once
#include <Foundation/Basics.h>
// Configure the DLL Import/Export Define
#if EZ_ENABLED(EZ_COMPILE_ENGINE_AS_DLL)
# ifdef BUILDSYSTEM_BUILDING_TEXTURE_LIB
# define EZ_TEXTURE_DLL __declspec(dllexport)
# else
# define EZ_TEXTURE_DLL __declspec(dllimport)
# endif
#else
# define EZ_TEXTURE_DLL
#en... |
/**
* \file
*
* \brief Component description for EVSYS
*
* Copyright (c) 2018 Microchip Technology Inc.
*
* \asf_license_start
*
* \page License
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with... |
/*
* Copyright (c) 2014 VMware, 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 agre... |
/**
* @file lv_ex_poring.c
*
*/
/*
* WELCOME TO THE LITTLEVGL TUTORIAL
*
*-------------------------------------------------------------------------------
* Now you will learn how to port the Littlev Graphics Library to your system
* ------------------------------------------------------------------------------... |
// 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 COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_GENERATION_AGENT_H_
#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_GENERATION_AGENT... |
// This program is a part of NT MudLIB
inherit ROOM;
void create()
{
set("short", "長廊");
set("long", @LONG
這裏是遊府的長廊,不少家丁和僕婦正在四處忙碌。
LONG);
set("exits", ([ /* sizeof() == 2 */
"west" : __DIR__"xiangfang4",
"south" : __DIR__"changlang5",
]));
... |
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 8.00.0613 */
/* @@MIDL_FILE_HEADING( ) */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifnd... |
//*****************************************************************************
//
//! @file am_devices_da14581.h
//!
//! @brief Support functions for the Dialog Semiconductor DA14581 BTLE radio.
//
//*****************************************************************************
//**************************************... |
const uint8_t georgia28pt8bBitmaps[] PROGMEM = {
0x38, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xF9, 0xF3, 0xE7, 0xCF,
0x9F, 0x3E, 0x7C, 0xF9, 0xE1, 0xC3, 0x87, 0x0E, 0x1C, 0x38, 0x70, 0xE1,
0xC0, 0x00, 0x00, 0x00, 0x00, 0x71, 0xF7, 0xFF, 0xFF, 0xDF, 0x1C, 0x78,
0x1E, 0xFC, 0x3F, 0xFC, 0x3F, 0xFC, 0x3F, 0xFC,... |
#pragma once
#include "Hazel/Renderer/Renderer.h"
namespace Hazel {
class OpenGLRendererAPI : public RendererAPI
{
public:
virtual void Init() override;
virtual void SetClearColor(const glm::vec4& color) override;
virtual void Clear() override;
virtual void DrawIndexed(const Ref<VertexArray>& vertexArray... |
#ifndef I2CDev_H_
#define I2CDev_H_
#include "reg24le1.h"
#include <stdint.h>
#include <stdbool.h>
//NOTE: definições nao usadas na library
#define I2C_IDLE 0x00 // Define the clock frequency
#define I2C_100K 0x01 // Define the clock frequency
#define I2C_400K 0x02 // Define the clock frequenc... |
/*
* Gwork
* Copyright (c) 2010 Facepunch Studios
* Copyright (c) 2013-2018 Billy Quith
* See license in Gwork.h
*/
#pragma once
#ifndef GWK_CONTROLS_VERTICALSLIDER_H
#define GWK_CONTROLS_VERTICALSLIDER_H
#include <Gwork/Controls/Base.h>
#include <Gwork/Controls/Button.h>
#include <Gwork/Controls/Dragger.h>
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <stdlib.h>
#include "azure_c_shared_utility/umock_c_prod.h"
#include "azure_c_shared_utility/gballoc.h"
#include "azure_c_shared_utility/sastoken.h"
#include "... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Interface for main frame modules.
*/
class IMainFrameModule
: public IModuleInterface
{
public:
/**
* Creates the default editor main frame
*
* @param bStartImmersivePIE True if we should force a viewport into immersive mode P... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef DMATTRIBUTETYPES_H
#define DMATTRIBUTETYPES_H
#ifdef _WIN32
#pragma once
#endif
#include "tier1/utlvector.h"
#include "tier1/utlbinar... |
#pragma once
int day3(int argc, char** argv); |
/*************************************************************************************************/
/*!
* \file
*
* \brief WSF buffer IO for UART driver.
*
* Copyright (c) 2013-2018 Arm Ltd.
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... |
/*
This .c file serves to compile stb_image.h into as a single translation unit.
Do not define `STB_IMAGE_IMPLEMENTATION` elsewhere!!
*/
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h" |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Copyright 2008 Openmoko, Inc.
* Copyright 2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
* http://armlinux.simtec.co.uk/
*
* S3C USB2.0 High-speed / OtG driver
*/
#include... |
extern void cppISteamGameServer_SteamGameServer005_LogOn(void *);
extern void cppISteamGameServer_SteamGameServer005_LogOff(void *);
extern bool cppISteamGameServer_SteamGameServer005_BLoggedOn(void *);
extern bool cppISteamGameServer_SteamGameServer005_BSecure(void *);
extern CSteamID cppISteamGameServer_SteamGameServ... |
#ifndef _PMMUI_H_
#define _PMMUI_H
#define MAX_SOURCES 10000
class Vector3;
bool initGL();
void createColorBuffer(int width, int height);
void destroyBuffers();
void display();
void rotateTimer(int value);
void scaleTimer(int value);
void replaceOneSourceTimer(int value);
void animateSources(int value);
bool calcula... |
/* slide.c - stuff to implement the crop/slide selection. Lets you
make a FLI out of a scrolling background among other things. */
#include <stdio.h>
#include "jimk.h"
#include "crop.h"
#include "jfile.h"
#include "slide.str"
static int dx, dy, dframes = 50;
int complete;
qslide()
{
char *bufs[8];
char b1[30],b... |
//===-- DIContext.h ---------------------------------------------*- C++ -*-===//
//
// The LLVM37 Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... |
/**
* @file CoinSpend.h
*
* @brief CoinSpend class for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is released under the MIT license... |
/////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
// Distributable under the terms of either the Apache License (Version 2.0)
// or the GNU Lesser General Public License.
////////////////////////////////////////////////////////////... |
/******************************************************************************
* Copyright (c) 2004, 2008 IBM Corporation
* All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the BSD License
* which accompanies this distribution, and is available at
* http:... |
#include "morsecode.h"
#include <string.h>
struct
{
char Char;
char *Morse;
}
static const table[] =
{
{ .Char = 'A', .Morse = ".-" },
{ .Char = 'B', .Morse = "-..." },
{ .Char = 'C', .Morse = "-.-." },
{ .Char = 'D', .Morse = "-.." },
{ .Char = 'E', .Morse = "." },
{ .Char = 'F', .Morse = "..-." }... |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... |
#include "u8g2.h"
/*
Fontname: -FreeType-Roentgen NBP-Medium-R-Normal--16-160-72-72-P-67-ISO10646-1
Copyright: Created by total FontGeek, generated by Fontstruct. Licensed under CC BY SA.
Glyphs: 95/257
BBX Build Mode: 0
*/
const uint8_t u8g2_font_roentgen_nbp_tr[1075] U8G2_FONT_SECTION("u8g2_font_roentgen_nbp_... |
// Copyright 2017 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.
#ifndef INTEL_HDA_CODEC_UTILS_STREAM_BASE_H_
#define INTEL_HDA_CODEC_UTILS_STREAM_BASE_H_
#include <fuchsia/hardware/audio/llcpp/fidl.h>
#include <fuchsia... |
/* This is the Assembler Pre-Processor
Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2002, 2003
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU Ge... |
#ifndef VALLY_TIME_H_
#define VALLY_TIME_H_
#include <vally/config.h>
f64 time_now();
#endif // VALLY_TIME_H_ |
/*=========================================================================
*
* Copyright RTK Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... |
// Copyright (c) 2012-2016, The CryptoNote developers, The Bytecoin developers
//
// This file is part of Karbo.
//
// Karbo 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 3 of the Lic... |
//
// AppDelegate.h
// TestRac
//
// Created by lk on 2019/5/14.
// Copyright © 2019 lk. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/*
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 not use ... |
#include "persist.h"
/**
* persist_dispatch -
* 1. checks if the request contains all the necessary data,
* 2. casts the request data to an appropriate data type,
* 3. calls the right persistence function based on the received request type.
* @req: persistence request passed response handler
*
* RETURNS:
* a... |
#ifndef Melody_h
#define Melody_h
#include "Sequence.h"
#include "SequenceParser.h"
#include "SimpleSequence.h"
#include "NoteToSound.h"
#define DEFAULT_TEMPO 120
/******************************************************************************
* Definitions
*************************************************************... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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. Oracle designates this
* particular file as subject to th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.