text stringlengths 9 948k |
|---|
/* $NetBSD: svc.c,v 1.21 2000/07/06 03:10:35 christos Exp $ */
/*-
* Copyright (c) 2009, Sun Microsystems, 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 sourc... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Dan Halbert for Adafruit Industries
* Copyright (c) 2018 Artur Pacholec
* Copyright (c) 2017 Glenn Ruben Bakke
*
* Permission is hereby granted, free of charge, to any person obtaining a ... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <IMCore/IMTranscriptChatItem.h>
#import "IMMessageChatItem.h"
@class IMHandle, IMMessage, NSDate, NSString;
@interface IMMessageChatItem : IMTranscriptChatItem <IMMessage... |
/*
*
* Copyright (c) 1997 Metro Link Incorporated
*
* 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... |
/**
* Copyright 2015 Comcast Cable Communications Management, 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 requir... |
#include "ch13.h"
#define SIZE 100
int a[SIZE],b[SIZE];
int max;
pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
void max_fun(int *arg) /* 計算max(max, arg[]) */
{
int * ap=arg;
int rv, i, l_max;
for (i=1; i<SIZE; i++){ // 找出陣列ap中的最大值
if (ap[i] > l_max)
l_max = ap[i];
}
/* 計算max(L_max,... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "MBVerigiyButton.h"
FOUNDATION_EXPORT double MBVerifyButtonVersionNumber;
FOUNDATION_EXPORT const unsigned char MBVe... |
/*
* Software License Agreement (GNU General Public License)
*
* Copyright (c) 2011, Thomas Mörwald
*
* 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 3 of the License, ... |
/** @file
The EFI HII results processing protocol invokes this type of protocol
when it needs to forward results to a driver's configuration handler.
This protocol is published by drivers providing and requesting
configuration data from HII. It may only be invoked by HII.
Copyright (c) 2006 - 2018, Intel Corp... |
#include <gmock/gmock.h>
#include <list>
#include <string>
#include <vector>
#include "src/metafs/include/meta_storage_info.h"
namespace pos
{
class MockMetaStorageInfo : public MetaStorageInfo
{
public:
using MetaStorageInfo::MetaStorageInfo;
};
} // namespace pos |
//
// RootNavigationController.h
// Messages
//
// Created by Jesse on 7/20/13.
// Copyright (c) 2013 Boolean Cupcake, LLC. All rights reserved.
//
@import UIKit;
@interface RootNavigationController : UINavigationController
@end |
/**************************************************************************//**
* @file sc.c
* @version V3.00
* @brief Smartcard(SC) driver source file
*
* @copyright (C) 2016 Nuvoton Technology Corp. All rights reserved.
*****************************************************************************/
#incl... |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_mult_q31.c
* Description: Q31 vector multiplication
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* --------------------------------... |
/*
* Clock initialization routines
*
* Copyright (c) 2011 The Chromium OS Authors.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 Fr... |
#pragma once
#include <libutils/Array.h>
#include <libutils/Edge.h>
#include <libutils/Trans2.h>
#include <libgraphic/Bitmap.h>
#include <libgraphic/svg/Path.h>
namespace Graphic
{
class EdgeList
{
private:
static constexpr auto TOLERANCE = 0.25f;
static constexpr auto MAX_DEPTH = 8;
Optional<Vec2f> _l... |
// Copyright 2014 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_CLOSURE_THREAD_H_
#define MEDIA_BASE_CLOSURE_THREAD_H_
#include "packager/base... |
_BEGIN_STD_C
#if defined(__arm__) || defined(__thumb__)
/*
* All callee preserved registers:
* v1 - v7, fp, ip, sp, lr, f4, f5, f6, f7
*/
#define _JBLEN 23
#endif
#if defined(__AVR__)
#define _JBLEN 24
#endif
#ifdef __sparc__
/*
* onsstack,sigmask,sp,pc,npc,psr,g1,o0,wbcnt (sigcontext).
* All else recovered by ... |
#ifndef _PHONEBOOK_H
#define _PHONEBOOK_H
#define BKDR_HASH 1
#define MAX_LAST_NAME_SIZE 16
#define HASH_TABLE_SIZE 8192
/* optial version */
typedef struct __PHONE_BOOK_DETAIL {
char firstName[16];
char email[16];
char phone[10];
char cell[10];
char addr1[16];
char addr2[16];
char city[16... |
/* * Copyright (c) 2012-2013, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file channeltls.c
* \brief channel_t concrete subclass using or_connection_t
**/
/*
* Define this so channel.h gives us things only channel_t subclasses
* should touch.
*/
#define TOR_CHANNEL_INTERNAL_
#i... |
/**
******************************************************************************
* @file stm32wbxx_hal_usart.h
* @author MCD Application Team
* @brief Header file of USART HAL module.
******************************************************************************
* @attention
*
* <h2><center>&cop... |
/*******************************************************************************
mainErr.h - Shape-it
Copyright 2012-2021 by Silicos-it, a division of Imacosi BVBA, Hans De Winter,
and the Shape-it contributors
This file is part of Shape-it.
Permission is hereby granted, free of charge, to any person obtaining a cop... |
/*
* set_get.h -- Internal set/get definitions
*
* Copyright (C) 2003 Gabriel Bouvigne / Lame project
*
* 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 ... |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_plaf_metal_MetalScrollPaneUI__
#define __javax_swing_plaf_metal_MetalScrollPaneUI__
#pragma interface
#include <javax/swing/plaf/basic/BasicScrollPaneUI.h>
extern "Java"
{
namespace java
{
namespace beans
{
class... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//===========================================================================//
#ifndef BITVEC_H
#define BITVEC_H
#ifdef _WIN32
#pragma once
#endif
#include <limits.h>
#include "tier0/dbg.h"
#include "tier0/basetypes.h"
... |
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkTypedArray.h.in
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <F... |
/*
* Copyright (C) 2015-2016 STMicroelectronics
* Author: Denis Ciocca - <denis.ciocca@st.com>
*
* 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/... |
//
// NotificationService.h
// OneSignalNotificationServiceExtension
//
// Created by Jakob Kerkhove on 11/04/2019.
// Copyright © 2019 Facebook. All rights reserved.
//
#import <UserNotifications/UserNotifications.h>
@interface NotificationService : UNNotificationServiceExtension
@end |
//
// Document.h
// RegionEditor
//
// Created by Rob Menke on 1/19/19.
// Copyright © 2019 Rob Menke. All rights reserved.
//
@import Cocoa;
NS_ASSUME_NONNULL_BEGIN
@interface Document : NSDocument
@property (nonatomic, assign) BOOL saveAsXML;
@end
NS_ASSUME_NONNULL_END |
/*
* MSCMS - Color Management System for Wine
*
* Copyright 2004, 2005 Hans Leidekker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at... |
#include <stdbool.h>
#include <vga.h>
#include <mem.h>
#include <stdint.h>
#include <string.h>
#include <helper.h>
#include <vm.h>
#include <errno.h>
void page_fault(registers_t *regs)
{
// A page fault has occurred.
// The faulting address is stored in the CR2 register.
uint32_t faulting_address;
__asm volatile("... |
/*****************************************************************************\
* *
* Filename reparsept.h *
* *
* Description Definitions for W... |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... |
/**
* Copyright 2015-2017 DataStax, 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 agree... |
//
// YMAppDelegate.h
// YMSearch
//
// Created by nightxu on 05/07/2018.
// Copyright (c) 2018 nightxu. All rights reserved.
//
@import UIKit;
@interface YMAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/*
* Copyright 1993, 1995 Christopher Seiwald.
* Copyright 2007 Noel Belcourt.
*
* Utility functions shared between different exec*.c platform specific
* implementation modules.
*
* This file is part of Jam - see jam.c for Copyright information.
*/
#include "jam.h"
#include "execcmd.h"
#include <assert.h>
#... |
/** @file
The header of common Variable.c
Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __VARIABLE_COMMON_H__
#define __VARIABLE_COMMON_H__
typedef enum {
VariableTypeNormal,
VariableTypeCountBasedAuth,
VariableTypeTimeBasedAuth,
V... |
#pragma once
#include <stddef.h>
#include <SDL2/SDL_rect.h>
#include "video/texture.h"
#include "core/atlas.h"
typedef struct Glyph {
Uint16 ch;
SDL_Rect rc;
int advance;
int type;
} GLYPH;
typedef struct GlyphGroup {
int type;
int size;
int ... |
#ifndef __PLAYER_EDITBOX_SERVICE_PROTOCOL_H_
#define __PLAYER_EDITBOX_SERVICE_PROTOCOL_H_
#include <string>
#include "cocos2d.h"
#include "PlayerMacros.h"
#include "PlayerServiceProtocol.h"
PLAYER_NS_BEGIN
class PlayerEditBoxServiceProtocol : public PlayerServiceProtocol
{
public:
static const int FORMAT_NONE ... |
/* $Id: //WIFI_SOC/MP/SDK_4_2_0_0/RT288x_SDK/source/linux-2.6.36.x/drivers/isdn/hisax/asuscom.c#1 $
*
* low level stuff for ASUSCOM NETWORK INC. ISDNLink cards
*
* Author Karsten Keil
* Copyright by Karsten Keil <keil@isdn4linux.de>
*
* This software may be used and distributed according to the ter... |
// SPDX-License-Identifier: GPL-2.0
/*
* Scheduler topology setup/handling methods
*/
#include "sched.h"
DEFINE_MUTEX(sched_domains_mutex);
/* Protected by sched_domains_mutex: */
static cpumask_var_t sched_domains_tmpmask;
static cpumask_var_t sched_domains_tmpmask2;
#ifdef CONFIG_SCHED_DEBUG
static int __init s... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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
* or http://www.opensolar... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_fromFile_vfprintf_52c.c
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-52c.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: fromFile Read inpu... |
//
// AppDelegate.h
// YCCategoryExample
//
// Created by 王耀昌 on 2018/2/23.
// Copyright © 2018年 王耀昌. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "disk_index_stats.h"
#include "memory_index_stats.h"
#include <vector>
namespace searchcorespi {
class IIndexManager;
/**
* Information about an index manager usable by state... |
/*
* Copyright (c) 2007-2014 SlimDX Group
*
* 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, publis... |
/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <vm.h>
#include <io.h>
#define CMOS_ADDR_PORT 0x70U
#define CMOS_DATA_PORT 0x71U
#define RTC_STATUSA 0x0AU /* status register A */
#define RTCSA_TUP 0x80U /* time update, don't look now *... |
// Copyright 2017 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_RESOURCE_COORDINATOR_TAB_METRICS_LOGGER_H_
#define CHROME_BROWSER_RESOURCE_COORDINATOR_TAB_METRICS_LOGGER_H_
#include "base/macros... |
/*
* Copyright (c) 2014 by Evernote Corporation, All rights reserved.
*
* Use of the source code and binary libraries included in this package
* is permitted under the following terms:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
// Copyright (c) 2015-2016 The MKTcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// C++ wrapper around ctaes, a constant-time AES implementation
#ifndef MKTCOIN_CRYPTO_AES_H
#define MKTCOIN_CRYPTO_AES_H
... |
//===- llvm/Analysis/DemandedBits.h - Determine demanded bits ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* Fluent Bit
* ==========
* Copyright (C) 2019-2021 The Fluent Bit Authors
* Copyright (C) 2015-2018 Treasure Data Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in co... |
#pragma once
#include"box.h"
//ls:2020-04-06
struct Box;
typedef struct BoxManager
{
vector<Box> box_array;
int totBoxNum;
} BoxManager;
// |
#pragma once
#include "Window.h"
#include "Input.h"
#include "SceneManager.h"
#include "Time.h"
#include "Factories/PrimitiveFactory.h"
class EngineManager {
public:
EngineManager();
static EngineManager* getInstance() {
static EngineManager* instance = new EngineManager();
return instance;
}
void Initiali... |
/*
* Copyright (c) 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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 ... |
#include <platformdefines.h>
#include <xplatform.h>
inline char* CoStrDup(const char* str)
{
size_t size = strlen(str) + 1;
char* dup = (char *)CoreClrAlloc(size);
if (dup != nullptr)
{
strcpy_s(dup, size, str);
}
return dup;
}
const int NumArrElements = 2;
struct InnerSequential
{
int f1;
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE400_Resource_Exhaustion__connect_socket_fwrite_01.c
Label Definition File: CWE400_Resource_Exhaustion.label.xml
Template File: sources-sinks-01.tmpl.c
*/
/*
* @description
* CWE: 400 Resource Exhaustion
* BadSource: connect_socket Read data using a connect socket (cli... |
/*
* Public include file for the UUID library
*
* Copyright (C) 1996, 1997, 1998 Theodore Ts'o.
*
* %Begin-Header%
* 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 retai... |
#ifndef MICRANTHA_PREP_PLUGINS_ARCHIVE_H
#define MICRANTHA_PREP_PLUGINS_ARCHIVE_H
#ifdef __APPLE__
#define DEFAULT_PLUGINS_LIB "libprep-default-plugins.dylib"
#else
#define DEFAULT_PLUGINS_LIB "libprep-default-plugins.so"
#endif
#define DEFAULT_PLUGINS_ARCHIVE "default_plugins_archive"
#define DEFAULT_PLUGINS_ARCHIVE... |
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology,
* Brandeis University, Brown University, and University of Massachusetts
* Boston. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
/***************************************************************************
The Game Room Lethal Justice hardware
***************************************************************************/
#include "emu.h"
#include "cpu/tms34010/tms34010.h"
#include "includes/lethalj.h"
#define BLITTER_SOURCE_WIDTH 1024
#d... |
#include "threads.h"
#include <stdio.h>
//static int testThread(void* arg);
int main() {
/*thrd_t thrd;
thrd_create(&thrd, testThread, NULL);
int result;
thrd_join(thrd, &result);
printf("Thread Result: %d\n", (DWORD)result);*/
printf("Sleeping for 2500 ms\n");
struct timespec remaining;
struct timesp... |
/*
* Copyright (c) 2015, Freescale Semiconductor, Inc.
* Copyright 2016-2019 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "fsl_debug_console.h"
#include "fsl_flexcan.h"
#include "pin_mux.h"
#include "clock_config.h"
#include "board.h"
#include "fsl_irqsteer.h"
/**************... |
#pragma once
#include "RTypes.h"
#include "RBaseTexture.h"
#include "RMeshUtil.h"
#include "map"
#include "MemPool.h"
using namespace std;
struct LightSource : public CMemPoolSm<LightSource>
{
bool bAttenuation;
rvector pos;
float power; /* 0~1 */
DWORD attenuationTime;
DWORD deadTime;
};
class ZStencilLight
... |
#pragma once
#include <array>
#include <cstddef>
#include <map>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include "program/errors.h"
#include "utils/meta.h"
namespace Refl
{
enum class FieldCategory {mandatory, optional, default_category = mandatory};
enum FromStringMode {... |
/*
* Copyright (C) 2010 Cisco Systems, Inc.
*
* 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 ... |
#ifndef _GAME_EDITOR_H
#define _GAME_EDITOR_H
#include "game_editor.h"
#include <stdbool.h>
#include "array.h"
#include "assets.h"
#include "data_stream.h"
#include "file.h"
#include "game.h"
#include "lightmaps.h"
#include "renderer.h"
#include "sokol_time.h"
enum editor_entity_type {
EDITOR_ENTITY_WATER,
... |
/****************************************************************************
* arch/misoc/include/tls.h
*
* 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 ownershi... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ADDRESSTABLEMODEL_H
#define ADDRESSTABLEMODEL_H
#include <QAbstractTableModel>
#include <QStringList>
class AddressT... |
#pragma once
#include "common.h"
namespace PochiVM
{
class FastInterpBoilerplateInstance;
struct FastInterpSnippet
{
FastInterpSnippet(FastInterpBoilerplateInstance* entry, FastInterpBoilerplateInstance* tail)
: m_entry(entry), m_tail(tail)
{ }
// No-op snippet
//
FastInterpSnippet() : ... |
/* tools/mkbootimg/dtbimg.c
**
** Copyright 2007, The Android Open Source Project
** Copyright 2013, Sony Mobile Communications
**
** 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
**
** h... |
/*-------------------------------------------------------------------------
*
* exec.c
* Functions for finding and validating executable files
*
*
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATIO... |
/*****************************************************************************
Cst.h
Author: Laurent de Soras, 2016
--- Legal stuff ---
This program 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 ... |
/*
* libeg/libegint.h
* EFI graphics library internal header
*
* Copyright (c) 2006 Christoph Pfisterer
* 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 sourc... |
// 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... |
/*
Copyright (c) 2019 Alibaba Group Holding Limited
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, publis... |
#pragma once
#include "core.h"
#include "system/assets.h"
#include "graphics/shader.h"
#include "graphics/texture.h"
#include "math/vector3D.h"
#include "math/vector4D.h"
#define SPR_REGISTER_COMPONENT(type) static const char* GetComponentName() { return #type; }
namespace spr {
struct EntityInfo {
SPR_R... |
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved
#pragma once
namespace ExampleApp
{
namespace InitialExperience
{
namespace SdkModel
{
class IInitialExperienceController
{
public:
virtual ~IInitialExperienceController() { }
... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, JSK, The University of Tokyo.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
/*
LUFA Library
Copyright (C) Dean Camera, 2019.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... |
/*
* ________________________________________________________________________________________________________
* Copyright (c) 2020 InvenSense Inc. All rights reserved.
*
* This software, related documentation and any modifications thereto (collectively �Software�) is subject
* to InvenSense and its licensors' inte... |
#include <lib.h>
#include <serial.h>
#include <memory.h>
/* String Library routines */
int strlen(char *ptr){
int i = 0;
while(ptr[i] && i >= 0)
++i;
return i;
}
void bzero(char *ptr,int length){
int i;
for(i=0;i<length;++i) ptr[i] = 0;
}
char *strcat(char *dst,char *app){
i... |
// Coded by Bane
// bar22.c
#include <std.h>
inherit ROOM;
void create(){
::create();
set_short("Village of Barovia");
set_long(
"%^RED%^"
"You are on one of the villages main roads. There "+
"are houses on either side of you, most of them "+
"are either abandoned or too dangerous to live in. "+
"The... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "INJSONSerializable.h"
#import "NSCopying.h"
#import "NSSecureCoding.h"
@class INSpeakableString, NSString;
@interface INBillPayee : NSObject <INJSON... |
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <StreamString.h>
#include <base64.h>
#ifndef ESP8266SMTPClient_H_
#define ESP8266SMTPClient_H_
//#define DEBUG_ESP_SMTP_CLIENT
#ifdef DEBUG_ESP_SMTP_CLIENT
#ifdef DEBUG_ESP_PORT
#define DEBUG_SMTPCLIENT(...) DEBUG_ESP_PORT.printf( _... |
//
// LKActionSheetViewController.h
// LemonKit
//
// Created by 1em0nsOft on 2016/9/20.
// Copyright © 2016年 1em0nsOft. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LKActionSheet.h"
@interface LKActionSheetViewController : UIViewController
@end |
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.io>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the L... |
/** mbed Microcontroller Library
******************************************************************************
* @file serial_api.h
* @author
* @version V1.0.0
* @brief This file provides mbed API for UART.
******************************************************************************
* @attention
... |
/*
* EAP peer method: EAP-TEAP (RFC 7170)
* Copyright (c) 2004-2019, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "crypto/tls.h"
#include "eap_common/eap_teap_common.h"
#inclu... |
/*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <fizz/protocol/Certificate.h>
#include <fizz/protocol/Types.h>
#include <fizz/re... |
static cmVS7FlagTable cmVS141CLFlagTable[] = {
// Enum Properties
{ "DebugInformationFormat", "", "None", "None", 0 },
{ "DebugInformationFormat", "Z7", "C7 compatible", "OldStyle", 0 },
{ "DebugInformationFormat", "Zi", "Program Database", "ProgramDatabase", 0 },
{ "DebugInformationFormat", "ZI", "Program D... |
// Copyright (c) 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_RPCSERVER_H
#define BITCOIN_RPCSERVER_H
#include "amount.h"
#include ... |
/*!=============================================================================
==============================================================================
\file control.c
\author Stefan Schaal
\date October 1992
==============================================================================
\r... |
/*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... |
/******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:15:53 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/Frameworks/Contacts.framework/Contacts
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*... |
// -*-Mode: C++;-*- // technically C99
// * BeginRiceCopyright *****************************************************
//
// $HeadURL$
// $Id$
//
// --------------------------------------------------------------------------
// Part of HPCToolkit (hpctoolkit.org)
//
// Information about sources of support for research an... |
/* Pseudo implementation of waitid.
Copyright (C) 1997-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... |
// Copyright 2014 the V8 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.
#ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
#define V8_COMPILER_AST_GRAPH_BUILDER_H_
#include "src/ast.h"
#include "src/compiler/js-graph.h"
#include "src... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.