text stringlengths 9 948k |
|---|
#if !defined (PROJECTOPTIONS_H)
#define PROJECTOPTIONS_H
//----------------------------------
// (c) Reliable Software 2005 - 2007
//----------------------------------
#include <Bit.h>
namespace Project
{
class Options
{
public:
bool IsWiki () const { return _bits.test (WikiProj); }
bool IsAutoSynch () const {... |
/*
* $Id: save.h 942 2008-03-04 18:21:33Z hubert@u.washington.edu $
*
* ========================================================================
* Copyright 2006-2008 University of Washington
* Copyright 2013-2018 Eduardo Chappa
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... |
//===--- Ownership.h - Parser ownership helpers -----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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... |
/* Copyright 2015 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.
*/
/* Snoball board configuration */
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
/* 48 MHz SYSCLK clock frequency */
#define CPU_CLOCK 48000... |
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
QImage wpawn,bpawn,wrook,brook,wbishop,bbishop,whorse,bhorse,wqueen,bqueen,wking,bking;
int board[8][8]={{1,1,1,1,1,1,1,1},
{1,1,1,1,1,1... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:35 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/BulletinBoa... |
#import "ImgList.h"
#import <UIKit/UIKit.h>
@interface SeasonSceneModelList : NSObject
@property (nonatomic, strong) NSArray<ImgList *> *imgList;
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
- (NSDictionary *)toDictionary;
@end |
void conexionMQTTBroker();
bool publicar(char *datos);
void callback(char *topic, byte *payload, unsigned int length); |
/***************************************************************
* Copyright © 2011-2016 HERE Global B.V. All rights reserved. *
**************************************************************/
#import <Foundation/Foundation.h>
#import "NMARoutingMode.h"
@class NMAGeoCoordinates;
@class NMAGeoBoundingBox;
@class NM... |
/*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:07:20 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/IMAVCore.framework/IMAVCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L... |
//
// VKActivity.h
//
// Copyright (c) 2014 VK.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, mo... |
/**
* @file
* @brief Menus and associated malarkey.
**/
#ifndef __MENU_H__
#define __MENU_H__
#include <algorithm>
#include <cstdio>
#include <ctime>
#include <string>
#include <vector>
#include "format.h"
#ifdef USE_TILE
#include "tiledoll.h"
#endif
#ifdef USE_TILE_LOCAL
#include "tilebuf.h"
#endif
class forma... |
/*-------------------------------------------------------------------------
*
* visibilitymap.h
* visibility map interface
*
*
* Portions Copyright (c) 2007-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL$
*
*------------------... |
//thief_auril.c - reward for Riddle Quest. Thanks to Shar for
//the item description! Circe 1/19/04
#include <std.h>
#include "../../nereid.h"
inherit NHAT;
void create(){
::create();
set_name("golden headband");
set_id(({ "headband", "headband of the rising sun" }));
set_short("%^BOLD%^%^YELLOW%^Headband of th... |
#pragma once
#include "GameObject.h"
class CExplosiveItem;
namespace XRay
{
public ref class Explosive
{
CExplosiveItem* pGameObject;
public:
Explosive(GameObject^ pObject);
void Explode();
};
}; |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <DevToolsInterface/XCUserScriptNode.h>
#import "NSMenuDelegate-Protocol.h"
@class NSMenu, NSMutableArray;
@interface XCUserScriptGroup : XCUserScriptNode <NSMenuDelega... |
/*
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
... |
#ifndef VARA_FEATURE_RELATIONSHIP_H
#define VARA_FEATURE_RELATIONSHIP_H
#include "vara/Feature/FeatureTreeNode.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Value.h"
#include "llvm/... |
#ifndef _RISCV_COPROCESSOR_H
#define _RISCV_COPROCESSOR_H
#include "processor.h"
#include "disasm.h"
#include <vector>
#include <functional>
class extension_t
{
public:
virtual std::vector<insn_desc_t> get_instructions() = 0;
virtual std::vector<disasm_insn_t*> get_disasms() = 0;
virtual const char* name() = 0... |
#include "./inc/client.h"
typedef struct s_list
{
GtkWidget *Label;
GtkWidget *Box;
struct s_list *next;
} t_list;
enum
{
LIST_ITEM = 0,
N_COLUMNS
};
void get_msg_PTH(gpointer name);
void remove_all(GtkWidget *widget, gpointer selection);
void Profile(GtkButton *butt, gpointer data);
void MainD(Gt... |
/****************************************************************************
* mm/mm_heap/mm_sem.c
*
* 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. T... |
/*
* Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich
* 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
... |
///////////////////////////////////////////////////////////////////////
// File: unicity_table.h
// Description: a class to uniquify objects, manipulating them using integers
// ids.
// Author: Samuel Charron
//
// (C) Copyright 2006, Google Inc.
// Licensed under the Apache License, Version 2.... |
#include "ole.h"
#define OLE_PLAY OLEVERB_PRIMARY
#define OLE_EDIT (OLEVERB_PRIMARY+1)
#define PASTELINK 119
#define PLAY 150
#define UPDATE 151
#define FREEZE 152
#define EDIT 153
#define CLONE 134
#define COPYFROMLINK 135
#define LINKSDIALOG ... |
/***********************************************************************
Copyright 2006-2009 Ma Bingyao
Copyright 2013 Gao Chunhui, Liu Tao
These sources is free software. Redistributions of source code must
retain the above copyright notice. Redistributions in binary form
must reproduce the above copyright noti... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:11:03 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/BiomePubSu... |
/*
* RAW H.263 video demuxer
* Copyright (c) 2009 Michael Niedermayer <michaelni@gmx.at>
*
* 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
* ve... |
//
// RACSequence.h
// ReactiveCocoa
//
// Created by Justin Spahr-Summers on 2012-10-29.
// Copyright (c) 2012 GitHub. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RACStream.h"
@class RACScheduler;
@class RACSignal;
/// Represents an immutable sequence of values. Unless otherwise specified... |
/*
* Copyright (c) 2014 Wind River Systems, 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 ... |
/******************************************************************************
*
* Module Name: exutils - interpreter/scanner utilities
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2006, R. Byron Moore
* All rights reserved.
*
* Redistribution and ... |
enum E_VOCAB {
vPosition,
vRadius,
vIsAlive,
vLength
};
enum E_GUI_DATA_STRINGS {
E_GDS_DATA_SOURCE,
E_GDS_DATA_FILE,
E_GDS_CHILD_TYPE,
E_GDS_CHILD_NAME,
E_GDS_MATERIAL,
E_GDS_LENGTH
};
enum E_PERFORMANCE_PROFILE {
E_PP_TILTING,
E_PP_FAST_LOWRES,
E_PP_SCROLLING,
E_PP_HIGHQUALITY,
E_PP_FAST_MODIFICATION... |
/* THIS FILE IS AUTOGENERATED FROM SVGFEImageElement.webidl BY Codegen.py - DO NOT EDIT */
#ifndef mozilla_dom_SVGFEImageElementBinding_h
#define mozilla_dom_SVGFEImageElementBinding_h
#include "js/RootingAPI.h"
#include "jspubtd.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/dom/BindingDeclarations.h"
#includ... |
// Copyright 2009-2021 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2021, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directory... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:47:14 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by El... |
/**
******************************************************************************
* @file stm32f4xx_hal_usart.h
* @author MCD Application Team
* @version V1.0.0
* @date 18-February-2014
* @brief Header file of USART HAL module.
********************************************************************... |
/* Generated automatically by gengenrtl from rtl.def. */
#ifndef GCC_GENRTL_H
#define GCC_GENRTL_H
#include "statistics.h"
static inline rtx
init_rtx_fmt_0 (rtx rt, machine_mode mode)
{
PUT_MODE_RAW (rt, mode);
X0EXP (rt, 0) = NULL_RTX;
return rt;
}
static inline rtx
gen_rtx_fmt_0_stat (RTX_CODE code, machin... |
//
// UIImageView+Extension.h
// Thermometer
//
// Created by milk on 2017/4/6.
// Copyright © 2017年 milk. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImageView (Extension)
- (void)setupWithPortrait:(UIImage *)portrait iconSize:(CGSize)iconSize;
@end |
/*
** EPITECH PROJECT, 2020
** B-MUL-100-RUN-1-1-myrunner-mattis.dalleau
** File description:
** draw_snow
*/
#include <my_runner/runner.h>
#include <my_runner/scene.h>
void draw_snow(scene_t *scene, game_manager_t *manager)
{
sfTime time_struct = sfClock_getElapsedTime(manager->clock);
float seconds = sfTime... |
/* ----------------------------------------------------------------------- *
*
* Copyright 2007-2008 H. Peter Anvin - 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 th... |
/*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:07:56 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/AccessibilityBundles/UIKit.axbundle/UIKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne... |
/*
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:
- Redist... |
/*******************************************************************************
*
* Module Name: dmwalk - AML disassembly tree walk
*
******************************************************************************/
/******************************************************************************
*
* 1. Copyright N... |
/** ***********************************************************************************************
* @class MainObjectRigidBody2DParameters
* @brief Parameter class for MainObjectRigidBody2D
*
* @author Gerstmayr Johannes
* @date 2019-07-01 (generated)
* @date 2020-09-08 22:06:16 (... |
/**
* Copyright (c) 2017 IpTronix
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "wifi_winc1500_nm_bsp_internal.h"
#include <bsp/include/nm_bsp.h>
#include <common/include/nm_common.h>
#include "wifi_winc1500_config.h"
struct winc1500_device winc1500;
void (*isr_function)(void);
static inline void chip_i... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_ncat_10.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml
Template File: sources-sink-10.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Initialize data a... |
/*************************************************************************\
* PURPOSE: minor review program to check the procs.u file.
*
* Reads the "*.c" module and generates list of all routines.
*
*
\***************************************************************************/
#include <stdio.h>
#define MAX 300
#def... |
#pragma once
#include "memz.h"
extern const char *sites[];
extern const char *sounds[];
extern const size_t nSites;
extern const size_t nSounds;
#ifndef CLEAN
extern const unsigned char msg[];
extern const char *msgs[];
extern const size_t msg_len;
extern const size_t nMsgs;
#endif |
DECL|LPS22HB_DEFAULT_SAMPLING_RATE|macro|LPS22HB_DEFAULT_SAMPLING_RATE
DECL|LPS22HB_DEFAULT_SAMPLING_RATE|macro|LPS22HB_DEFAULT_SAMPLING_RATE
DECL|LPS22HB_DEFAULT_SAMPLING_RATE|macro|LPS22HB_DEFAULT_SAMPLING_RATE
DECL|LPS22HB_DEFAULT_SAMPLING_RATE|macro|LPS22HB_DEFAULT_SAMPLING_RATE
DECL|LPS22HB_DEFAULT_SAMPLING_RATE|m... |
/**
* Copyright (c) 2016 - 2018, Nordic Semiconductor ASA
*
* 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,... |
#pragma once
#include <GameHeader.h>
#include <Vector.h>
#include <Camera.h>
#include <Sphere.h>
#include <vector>
#include <memory>
//Forward declarations
class Physical;
class Mesh;
class Texture;
class Shader;
class Object {
public:
Object();
virtual ~Object() {}
virtual void Reset();
virtual void Draw(co... |
/*
* Analog devices AD5764, AD5764R, AD5744, AD5744R quad-channel
* Digital to Analog Converters driver
*
* Copyright 2011 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/device.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include... |
/****************************************************************************
* arch/mips/src/pic32mx/pic32mx_usbdev.c
*
* Copyright (C) 2011-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* References:
* This file derives from the STM32 USB device driver with modificati... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
// $NoKeywords: $
//=============================================================================//
#ifndef UTILMATLIB_H
#define UTILMATLIB_H
#ifdef _WIN32
#pragma once
#endif
#defi... |
//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#ifndef _X86UNIXSTDCONSOLE_H_
#define _X86UNIXSTDCONSOLE_H_
#define MAX_CMDS 10
#ifndef _CONSO... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Taler Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SUPPORT_ALLOCATORS_SECURE_H
#define BITCOIN_SUPPORT_ALLOCATORS_SECU... |
/* $OpenBSD: ka650.c,v 1.6 1997/09/12 09:30:55 maja Exp $ */
/* $NetBSD: ka650.c,v 1.10 1997/07/26 10:12:48 ragge Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Mt. Xinu.
*
* Redistribution a... |
/* 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... |
#ifndef JISP_PARSER_H_
#define JISP_PARSER_H_
#include <memory>
#include <string>
#include <unordered_set>
#include <vector>
#include "jisp/ast/ast.h"
#include "jisp/lexer/token.h"
using Tokens = std::vector<Token>;
class Parser {
public:
explicit Parser(Tokens tokens) : tokens(std::move(tokens)), index(0) {}
... |
/*
* Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU Lesser General
* Public License. You may obtain a copy of the GNU Lesser General
* Public License Version 2.1 or later at the following locations:
*
* http://www.opensourc... |
// Copyright (c) 2018, Ryo Currency Project
// Portions copyright (c) 2014-2018, The Monero Project
//
// Portions of this file are available under BSD-3 license. Please see ORIGINAL-LICENSE for details
// All rights reserved.
//
// Ryo changes to this code are in public domain. Please note, other licences may apply to... |
//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2000 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and condi... |
/*
* Copyright 2017 The Polycube 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... |
#include <test2.h>
#include <stdio.h>
void test2()
{
printf("test2\n");
} |
/* algorithms.c - the algorithms supported by the rhash library
*
* Copyright (c) 2011, Aleksey Kravchenko <rhash.admin@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISC... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2015-2019 The PivX developers
// Copyright (c) 2018-2019 The KGS developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_SENDCOINSDIALO... |
// wengwengweng
#include <stdbool.h>
#include <lua/lua.h>
#include <lua/lualib.h>
#include <lua/lauxlib.h>
#define HTTPSERVER_IMPL
#include <httpserver.h>
// TODO: expose http_respond for easy early response
lua_State *lua;
int handler_ref;
void handler(http_request_t *req) {
bool responded = false;
lua_setto... |
#ifndef STORAGE_LEVELDB_DB_BUFFER_ITERATOR_H_
#define STORAGE_LEVELDB_DB_BUFFER_ITERATOR_H_
#include <vector>
#include <set>
#include <string>
#include "db/dbformat.h"
#include "db/log_writer.h"
#include "db/snapshot.h"
#include "leveldb/db.h"
#include "leveldb/env.h"
#include "port/port.h"
#include "port/thread_annot... |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 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.
Permission is granted to anyone to use this ... |
/*
* Copyright (c) 2020-2021 Valve Corporation
* Copyright (c) 2020-2021 LunarG, 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... |
/*
* EncVal_Print - VERSION: %I% %E% %T%
*/
#include <mel_bufr.h>
#if PROTOTYPE_NEEDED
void EncVal_Print( EncVal_t EV, FILE* fp )
#else
void EncVal_Print( EV, fp )
EncVal_t EV;
FILE* fp;
#endif
{
int i;
HexStr_t hs;
if( fp == NULL )
fp = stdout;
if( EncVal_IsBad(EV) )
{
... |
/*****************************************************************************
* Copyright(C)2009-2019 by VSF Team *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* ... |
/*******************************************************************************
* Copyright (C) 2005-2014 Alfresco Software Limited.
*
* This file is part of the Alfresco Mobile iOS App.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... |
/** SSL slave related code. */
#include "copyrite.h"
#ifdef SSL_SLAVE
#ifndef HAS_OPENSSL
#error "ssl_slave requires OpenSSL!"
#endif
#ifndef HAVE_LIBEVENT
#error "ssl_slave requires libevent!"
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
#include <unistd.h>
#in... |
/*
* File: user.h
*
* Descrição:
* Header para rotinas de configuração o ambiente do usuário.
*
* DESKTOP -> WINDOW STATION -> USER SECTION.
*
* USER -> USER SECTION.
* USER -> ROOM (Window station).
* USER -> DESKTOP.
*
* PROCESS -> WINDOW STATION.
* THREAD -> DESKTOP.
*
*... |
/*
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... |
#pragma once
#include <functional>
#include <memory>
#include "envoy/common/pure.h"
namespace Envoy {
namespace Event {
/**
* Callback wrapper that allows direct scheduling of callbacks in the event loop.
*/
class SchedulableCallback {
public:
virtual ~SchedulableCallback() = default;
/**
* Schedule the c... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else
#include <GL/gl.h>
#include <GL/glu.h>
#endif
#include <gtk/gtk.h>
#include <lcm/lcm.h>
#include "bot_frames_renderers.h"
#include <bot_core/bot_core.h>
#include <bot_v... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "MMObject.h"
#import "IWAJSContextPluginProtocol.h"
@class NSString, WAJSContextPluginDelegateCenter, WAJSCoreService;
@interface WAJSContextPluginBase : MMObject <IWAJSC... |
#include <avr/io.h>
#include <util/delay.h>
static inline void initADC0(void) {
ADMUX |= (1 << REFS0); //ref. voltage on AVCC
ADCSRA |= (1 << ADPS1)| (1<<ADPS0); //ADC clock prescaler.
ADCSRA |= (1 << ADEN); //enables the ADC
}
int main (void) {
uint16_t pResValue;
uint16_t thresholdLevel;
thresholdL... |
/**
* Copyright (c) 2017-present, Facebook, 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 ... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
//
// Keyword+CoreDataProperties.h
// KYPFanfou
//
// Created by JayKong on 8/11/16.
// Copyright © 2016 trainer. All rights reserved.
//
// Choose "Create NSManagedObject Subclass…" from the Core Data editor menu
// to delete and recreate this implementation file for your updated model.
//
#import "Keyword.h"
... |
/*
jep - Java Embedded Python
Copyright (c) 2017-2021 JEP AUTHORS.
This file is licensed under the the zlib/libpng License.
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.
... |
// Copyright 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 SYNC_INTERNAL_API_SYNC_MANAGER_H_
#define SYNC_INTERNAL_API_SYNC_MANAGER_H_
#include <string>
#include <vector>
#include "net/base/network_chang... |
#include "StyleLexers.h"
// ----------------------------------------------------------------------------
KEYWORDLIST KeyWords_CPP =
{
// Primary keywords
"_Alignas _Alignof _Atomic _Bool _Complex _Generic _Imaginary _Noreturn _Static_assert _Thread_local alignas "
"alignof auto bool break case catch char char... |
//
// ViewController.h
// JCAutoGeneratedAttributes
//
// Created by 陈鹏 on 16/5/3.
// Copyright © 2016年 JackeyChen. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
// license:BSD-3-Clause
// copyright-holders:cam900
/**********************************************************************
NEC PC Engine/TurboGrafx-16 2 Button Joypad emulation
**********************************************************************/
#ifndef MAME_BUS_PCE_CTRL_JOYPAD2_H
#define MAME_BUS_PCE_CTRL_J... |
/****************************************************************************
*
* Keyboard matrix row scanner A
*
***************************************************************************/
#if !defined(__RK_AS_ROW_SCANNER_A__)
#define __RK_AS_ROW_SCANNER_A__
//---------------------------------------------------... |
// 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 BITCOIN_BITCOINCONSENSUS_H
#define BITCOIN_BITCOINCONSENSUS_H
#include <... |
/*
* 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 ... |
//Copyright (c) 2014-2019, The Monero Project
//Copyright (c) 2018-2020, The Scala Network
//
// 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 re... |
//
// Created by Wouter Groeneveld on 28/07/18.
//
#ifndef GBA_SPRITE_ENGINE_BACKGROUND_H
#define GBA_SPRITE_ENGINE_BACKGROUND_H
#include <libgba-sprite-engine/gba/tonc_types.h>
#define MAPLAYOUT_32X32 0
#define MAPLAYOUT_32X64 1
#define MAPLAYOUT_64X32 2
#define MAPLAYOUT_64X64 3
class Background {
private:
v... |
//=================================================================================================
/*!
// \file blaze/math/typetraits/IsDeclHermExpr.h
// \brief Header file for the IsDeclHermExpr type trait class
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Bla... |
#pragma once
#ifndef EVENT_MANAGER_H_INCLUDED
#define EVENT_MANAGER_H_INCLUDED
#include "Core.h"
#include "Export.h"
#include "ColorText.h"
#include "PluginManager.h"
#include "Console.h"
#include "DataDefs.h"
#include <df/coord.h>
#include <df/unit_inventory_item.h>
namespace DFHack {
namespace EventManager {
... |
//
// NSDate+OneLibrary.h
// RPAntus
//
// Created by Crz on 15/12/21.
// Copyright © 2015年 Ranger. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSDate (OneLibrary)
#pragma mark- 返回string
/** NSTimeInterval 转成string 默认 yyyy-MM-dd HH:mm:ss */
+ (NSString *)zy_st... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2017 The LISYNetwork Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef LISYNETWORK_SCRIPT_... |
//------------------------------------------------------------------------------
// GB_Adot4B: hard-coded dot4 method for a semiring
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
// SPDX-License-Identifi... |
#ifndef _TEXT_H_
#define _TEXT_H_
#include "Renderable.h"
#include <GLFW/glfw3.h>
/*
Class representing 2d text.
*/
class Text : public Renderable
{
private:
GLuint alphabetTextureID;
public:
std::string textValue;
int posX;
int posY;
int size;
unsigned int numberOfLines = 0;
unsigned int textWidthInChars =... |
// 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 CHROMEOS_SERVICES_DEVICE_SYNC_FAKE_DEVICE_SYNC_H_
#define CHROMEOS_SERVICES_DEVICE_SYNC_FAKE_DEVICE_SYNC_H_
#include <queue>
#include "base/macr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.