text stringlengths 9 948k |
|---|
/** @file
A minimal command-line shell.
Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/ShellLib.h>
#include <Library/ConsoleInLib.h>
#include <Library/ConsoleOutLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library... |
// Generated by HLC 4.2.1 (HL v4)
#define HLC_BOOT
#include <hlc.h>
#include <hl/WinLog.h>
#include <hl/natives.h>
void hl_WinLog_new(hl__WinLog r0,String r1,int r2,int r3) {
ui_window *r4;
vbyte *r5;
if( r1 == NULL ) hl_null_access();
r5 = r1->bytes;
r4 = ui_ui_winlog_new(r5,r2,r3);
r0->h = r4;
return;
}
voi... |
/* This file contains the heart of the mechanism used to read (and write)
* files. Read and write requests are split up into chunks that do not cross
* block boundaries. Each chunk is then processed in turn. Reads on special
* files are also detected and handled.
*
* The entry points into this file are
* do_... |
#ifndef C_MINUS_COMPILER_UTIL_H
#define C_MINUS_COMPILER_UTIL_H
#include "globals.h"
//#include "parser.tab.h"
Node * find_tail(Node * node);
std::string print_token(int token, const std::string & text);
void print_tree(Node * tree, int level=0);
std::string print_type(TypeKind type);
std::string print_op(OpKind op);... |
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic -Werror -Wno-variadic-macros" } */
#define f(x,...) /* { dg-bogus "variadic" } */
#define g(x,y...) /* { dg-bogus "variadic" } */
int not_empty; |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... |
/*
* 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
... |
#pragma once
#include "etlbase.h"
#include "StateDef.h"
class StartState : public IStateBase
{
public:
//IStateBase methods
virtual int Process(unsigned int uEvent, const std::any& param);
}; |
//
// BMKRecommendStopSearchResult.h
// BaiduMapAPI_Search
//
// Created by Baidu on 2020/7/27.
// Copyright © 2020 Baidu. All rights reserved.
//
#import <BaiduMapAPI_Base/BMKTypes.h>
@class BMKRecommendStopInfo;
NS_ASSUME_NONNULL_BEGIN
@interface BMKRecommendStopSearchResult : NSObject
/// 推荐上车点返回结果列表
@prope... |
#pragma once
class ArrayGenerator {
public:
ArrayGenerator() = delete;
static int *generateOrderedArray(int n);
};
int *ArrayGenerator::generateOrderedArray(int n) {
int *data = new int[n];
for (int i = 0; i < n; ++i) data[i] = i;
return data;
} |
//************************************************************************************************************
//
// © 2016-2019 Regents of the University of California on behalf of the University of California at Berkeley
// with rights granted for USDOT OSADP distribution with the ECL-2.0 open source license.
/... |
#ifndef _PROCESSMON_H
#define _PROCESSMON_H
#define PROC_PATH "/proc"
#define MSG_REQ_Q_KEY 1232
#define MSG_RSP_Q_KEY 1233
#define CMDLINE_MAX_LEN 4096
#define MAX_PROCESSES_ALLOWED 8192
#define MAX_PROCESSES_LOCKED 8192
#define PROCESS_TYPE_LEARNED 0
#define PROCESS_TYPE_WHITELIST 1
#define PROCESS_TYPE_LOCKE... |
// Room: /d/wuyi/tianyouguan.c
// Last modified by Winder on Mar.20.2002
inherit ROOM;
void create()
{
set("short", "天遊觀");
set("long", @LONG
天遊峯的天遊觀,始建天牀,明嘉靖五年重建,有殿宇式的樓閣,
名「遨遊霄漢」,成為遊客飲茶,賞景的場所,閣後有妙高台、振衣崗
、紅豆樹諸勝。古人云:「飛泉響落睛疑雨,古木濃蔭夏亦寒」。
觀中供奉着彭祖的兩個兒子:彭武和彭夷。相傳二人疏浚三三水,
堆就六六峯,才有了這座碧水丹山的人間洞天。山因之名。
LONG );... |
/* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern float strtof(char const *str , char const *endptr ) ;
extern void signal(int sig , void *func ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... |
/*
* hvm/save.h
*
* Structure definitions for HVM state that is held by Xen and must
* be saved along with the domain's memory and device-model state.
*
* Copyright (c) 2007 XenSource Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documen... |
// Copyright 2020 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*
Copyright <SWGEmu>
See file COPYING for copying conditions.*/
#ifndef PLACESTRUCTUREMODECOMMAND_H_
#define PLACESTRUCTUREMODECOMMAND_H_
#include "server/zone/objects/scene/SceneObject.h"
#include "server/zone/packets/player/EnterStructurePlacementModeMessage.h"
#include "templates/manager/TemplateManager.h"
... |
/*
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2005, ps2dev - http://www.ps2dev.org
# Licenced under GNU Library General Public Li... |
#ifndef AWS_COMMON_CLOCK_H
#define AWS_COMMON_CLOCK_H
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
*... |
/*
pbrt source code is Copyright(c) 1998-2016
Matt Pharr, Greg Humphreys, and Wenzel Jakob.
This file is part of pbrt.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redis... |
//
// RHMusicRemoteCommander.h
// Example
//
// Created by zhuruhong on 16/7/21.
// Copyright © 2016年 zhuruhong. All rights reserved.
//
#import <Foundation/Foundation.h>
@class RHMusicPlaybackService;
@interface RHMusicRemoteCommander : NSObject
- (instancetype)initWithService:(RHMusicPlaybackService *)service... |
#ifndef _BT_STRUCT_H_
#define _BT_STRUCT_H_
#include <stddef.h>
/**
* @brief A special macro to cast a member of a structure out to the containing structure
*
* @ptr: the pointer to the member.
* @type: the type of the container struct this is embedded in.
* @member: the name of the member within ... |
// Copyright (c) 2018 The Particl Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef FALCON_SMSG_KEYSTORE_H
#define FALCON_SMSG_KEYSTORE_H
#include <key.h>
#include <pubkey.h>
#include <sync.h>
namespace s... |
/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... |
#include <stdio.h>
int ssearch(int number, int target){
if (number) return ssearch(number/10, target) + (number % 10 == target);
else return number == target - 1;
}
int main(){
printf("%d\n", ssearch(762021092, 0));
return 0;
} |
/*
* colour.h
*
* Created on: 29 Jul 2019
* Author: me
*/
#ifndef COLOUR_H_
#define COLOUR_H_
#include "globals.h"
void HandleColourHeader(void);
void HandleGammaHeader(void);
void SendColourHeader(void);
void SendColourData(void);
void SendGammaHeader(void);
void SendGammaData(void);
#endif /* COLOUR_... |
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-10-18 Meco Man The first version
*/
#include <lvgl.h>
#include <drv_lcd.h>
#define MY_DISP_HOR_RES LCD_W
#define DISP_BUFFER_LINES (LCD_H/5)... |
#include "ets_sys.h"
#include "os_type.h"
#include "osapi.h"
#include "driver/uart.h"
#include "c_types.h"
// UartDev is defined and initialized in rom code.
extern UartDevice UartDev;
#define uart_putc uart0_putc
bool uart_getc(char *c){
RcvMsgBuff *pRxBuff = &(UartDev.rcv_buff);
if(pRxBuff->pWritePos == pR... |
#import "RNPermissions.h"
@interface RNPermissionHandlerCalendars : NSObject<RNPermissionHandler>
@end |
/// \file
/// \brief Forwards UDP datagrams. Independent of RakNet's protocol.
///
/// This file is part of RakNet Copyright 2003 Jenkins Software LLC
///
/// Usage of RakNet is subject to the appropriate license agreement.
#include "NativeFeatureIncludes.h"
#if _RAKNET_SUPPORT_UDPForwarder==1
#ifndef __UDP_FORWARDE... |
/*
Copyright [2017] [IBM 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 law or agreed t... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018-2019 The PhoneCoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/li... |
//
// photosphereRotationAppDelegate.h
// photosphereRotation
//
// Created by tomtomtong on 06/02/2017.
// Copyright (c) 2017 tomtomtong. All rights reserved.
//
@import UIKit;
@interface photosphereRotationAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/*
* Copyright (c) 2015 Apple 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
* complia... |
/* $Id: PciInline.h $ */
/** @file
* PCI - The PCI Controller And Devices, inline device helpers.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:48:48 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/CoreThemeDefinition.framework/CoreThemeDefinition
* classdump-dyld is licensed under GPLv3, Copyright ... |
#ifndef test_h
#define test_h
#include "defs.h"
#include <expression/ExprLib.h>
//====================================================================
class RHSExpr : public Expr::Expression<VolT>
{
const bool doFlux_, doSrc_;
DECLARE_FIELD( XFluxT, flux_ )
DECLARE_FIELD( VolT, src_ )
const XDivT* div_... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
#include <atomic>
#include <cstdint>
namespace FASTER {
namespace core {
/// State of the active garbage-collection call.
class GcState {
public:
typedef void(*truncate_callback_t)(uint64_t offset);
... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <T1Twitter/T1KeywordFormAppearance.h>
@interface T1MuteOptionsFormAppearance : T1KeywordFormAppearance
{
}
- (_Bool)insetSepa... |
/*
* Copyright 1997, Regents of the University of Minnesota
*
* pqueue.c
*
* This file contains functions for manipulating the bucket list
* representation of the gains associated with each vertex in a graph.
* These functions are used by the refinement algorithms
*
* Started 9/2/94
* George
*
* $Id: pqueue... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2021 The REBEL Coin 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_RECENTREQUES... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@class DVTFileDataType, IDENavigableItemArchivableRepresentation, NSDictionary, NSImage, NSString, NSURL;
@interface IDEEditorHistoryItem : NSObject
{
... |
// Copyright (c) 2019 Diamond Key Security, NFP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
// - Redistributions of source code must retain the above copyright notice,
// this list of... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/* Dependencies
*****************************************************************************/
#include "Core.h"
#include "ModuleManager.h"
/* Interfaces
*****************************************************************************/
#in... |
#include "syslib.h"
#include <string.h>
#include <unistd.h>
int
mapdriver(char *label, devmajor_t major)
{
message m;
memset(&m, 0, sizeof(m));
m.m_lsys_vfs_mapdriver.label = (vir_bytes)label;
m.m_lsys_vfs_mapdriver.labellen = strlen(label) + 1;
m.m_lsys_vfs_mapdriver.major = major;
return _taskcall(VFS_PROC_... |
//
// SKACollisionDefine.h
//
// Copyright (c) 2015 Sprite Kit Alliance
//
// 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
// ri... |
/*
*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
*... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "F1AP-IEs"
* found in "/home/labuser/Desktop/openairinterface5g_f1ap/openair2/F1AP/MESSAGES/ASN1/R15.2.1/F1AP-IEs.asn"
* `asn1c -gen-PER -fcompound-names -no-gen-example -findirect-choice -fno-include-deps -D /home/labuser/Desktop/opena... |
#ifndef QVARIANT_CAPI_H
#define QVARIANT_CAPI_H
#include <stdint.h>
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef double qreal;
typedef signed char qint8; /* 8 bit signed */
typedef unsigned char quint8; /* 8 bit unsigned */
ty... |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (C... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:51:06 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/HomeKitDaemon.framework/HomeKitDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016... |
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... |
/*
* DumbAlien.h
*
* Created on: Oct 20, 2018
* Author: george
*/
#ifndef SpaceObject_H_
#define SpaceObject_H_
#include <SFML/Graphics.hpp>
#include <memory>
class SpaceObject
{
public:
SpaceObject( sf::Shape *shape );
virtual ~SpaceObject();
bool isExploding() const;
void setIsExploding();
st... |
#pragma once
class PlayerSettings
{
private:
static PlayerSettings* mInstance;
PlayerSettings();
~PlayerSettings();
public:
static PlayerSettings* Instance();
static void Release();
void Reset();
public:
int playerLifes;
int playerScore;
bool isLevelCompleted[2];
bool isInit = false;
}; |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:36:00 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/SiriInstru... |
//
// sem.c
// baye-ios
//
// Created by loong on 15/8/15.
//
//
#include "sem.h"
#include <stdlib.h>
#include <emscripten.h>
GAM_SEM gam_sem_create()
{
int* p = (int*)malloc(sizeof(int));
*p = 0;
return (GAM_SEM)p;
}
void gam_sem_delete(GAM_SEM sem)
{
free((void*)sem);
}
void gam_sem_signal(GAM... |
/* cairo - a vector graphics library with display and print output
*
* Copyright © 2002 University of Southern California
*
* This library is free software; you can redistribute it and/or
* modify it either under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Fo... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__CWE839_fgets_07.c
Label Definition File: CWE124_Buffer_Underwrite__CWE839.label.xml
Template File: sources-sinks-07.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: fgets Read data from the console using fgets()
* GoodSourc... |
/*
* Copyright (C) 2010-2021 Arm Limited or its affiliates. All rights reserved.
*
* 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 the License.
* You may obtain a copy of the License at
*
* www.apache.... |
#ifndef EXPORTEXPRESSIONMATRIX_H
#define EXPORTEXPRESSIONMATRIX_H
#include <ace/core/core.h>
#include "expressionmatrix.h"
/*!
* This class implements the export expression matrix analytic. This analytic
* writes an expression matrix to a text file as table; that is, with each row
* on a line, each value separat... |
#ifndef fl_show_colormapC_H
#define fl_show_colormapC_H
#ifdef __cplusplus
// always include the FL/*.H headers before local headers
// Fl_Widget is included transitively and needed for
// the callback mechanism included below to work.
#include "FL/Fl.H"
#include "FL/fl_show_colormap.H"
#include "Fl_CallbackC.h"
EXPORT... |
#ifndef __LUA_BITOP_H_
#define __LUA_BITOP_H_
#if __cplusplus
extern "C" {
#endif
#include "lauxlib.h"
LUALIB_API int luaopen_bit(lua_State *L);
#if __cplusplus
}
#endif
#endif |
/******************************************************************************
* $Id: ogr_openair.h 842d122d2f23aaebb28362e083b52d6bc7dbcde2 2019-08-11 17:42:34 +0200 Even Rouault $
*
* Project: OpenAir Translator
* Purpose: Definition of classes for OGR .sua driver.
* Author: Even Rouault, even dot rouault a... |
/*
* Copyright (C) 2019-2021 HERE Europe B.V.
*
* 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... |
/*
* Copyright (c) 2014 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEA... |
//
// LoadingController.h
// newsyc
//
// Created by Grant Paul on 3/4/11.
// Copyright 2011 Xuzz Productions, LLC. All rights reserved.
//
#import <MessageUI/MFMailComposeViewController.h>
#import "HNKit.h"
#import "LoginController.h"
#import "BarButtonItem.h"
#import "ActivityIndicatorItem.h"
#import "Placard... |
/*
Copyright (c) 2013-2014 Martin Sustrik 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 without limitation
the rights to ... |
#include <stdio.h>
struct date_t {
int ano;
char mes;
char dia;
};
struct pessoa_t {
char *nome;
struct date_t nascimento;
};
int compare(struct date_t *d1, struct date_t *d2){
int resp = 0;
if (d1->dia == d2->dia && d1->mes == d2->mes && d1->ano == d2->ano)
resp = 1;
return resp;
}
int main() {
int i, j;
... |
/** \file max30102.cpp ******************************************************
*
* Project: MAXREFDES117#
* Filename: max30102.cpp
* Description: This module is an embedded controller driver for the MAX30102
*
* Revision History:
*\n 1-18-2016 Rev 01.00 GL Initial release.
*\n 12-22-2017 Rev 02.00 Significantlly modifie... |
/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... |
#ifndef HUAWEICLOUD_SDK_VPC_V2_MODEL_CreatePortRequestBody_H_
#define HUAWEICLOUD_SDK_VPC_V2_MODEL_CreatePortRequestBody_H_
#include <huaweicloud/vpc/v2/VpcExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <huaweicloud/vpc/v2/model/CreatePortOption.h>
n... |
/*
* rtGetInf.h
*
* Code generation for function 'FCM_NLJD'
*
* C source code generated on: Tue Jun 18 15:54:57 2013
*
*/
#ifndef __RTGETINF_H__
#define __RTGETINF_H__
#include <stddef.h>
#include "rtwtypes.h"
#include "rt_nonfinite.h"
extern real_T rtGetInf(void);
extern real32_T rtGetInfF(void);
extern real... |
/*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* 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 co... |
#include <linux/version.h>
#ifndef HAVE_METADATA_DST
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/socket.h>
#include <linux/udp.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <net/ip_tunnels.h>
#include <net/udp.h>
#include <net/udp_tunnel.h>
#include <net/net_namespace.h>
#inclu... |
/* kim/lib/kim_library_private.h */
/*
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or organization cont... |
// Copyright 2019 DeepMind Technologies 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 require... |
#include "../runtime.h"
void* memory;
u32 memory_size;
#define TOTAL_PAGES 4
#define MEM_SIZE (WASM_PAGE_SIZE * TOTAL_PAGES)
char CORTEX_M_MEM[MEM_SIZE] = { 0 };
u32 cortex_mem_size = MEM_SIZE;
int printf_(const char* format, ...);
void alloc_linear_memory() {
awsm_assert(starting_pages > 0);
awsm_as... |
/**
* \file
*
* \brief Instance description for EIC
*
* Copyright (c) 2016 Atmel Corporation,
* a wholly owned subsidiary of Microchip Technology Inc.
*
* \asf_license_start
*
* \page License
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... |
14 uid=311598
27 mtime=1430738578.326251
27 atime=1430738578.325251 |
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Kenneth Almquist.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... |
/**
* @file
* Management Information Base II (RFC1213) TCP objects and functions.
*/
/*
* Copyright (c) 2006 Axon Digital Design B.V., The Netherlands.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditi... |
/*---------------------------------------------------------------------------
(c) 2004 Scorpio Software
19 Wittama Drive
Glenmore Park
Sydney NSW 2745
Australia
-----------------------------------------------------------------------------
$Workfile:: ... |
/** @file
Smbios type 2.
Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "SmbiosBasic.h"
/**
This function makes boot time changes to the contents of the
BaseBoardManufacturer (Type 2).
@retval EFI_SUCCESS All p... |
/*
* 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
* distribut... |
/*
* SPDX-License-Identifier: MIT
*
* Copyright © 2018 Intel Corporation
*/
#ifndef _I915_SCHEDULER_TYPES_H_
#define _I915_SCHEDULER_TYPES_H_
#include <linux/list.h>
#include "gt/intel_engine_types.h"
#include "i915_priolist_types.h"
struct drm_i915_private;
struct i915_request;
struct intel_engine_cs;
struct ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__malloc_free_long_16.c
Label Definition File: CWE415_Double_Free__malloc_free.label.xml
Template File: sources-sinks-16.tmpl.c
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using malloc() and Deallocate data using free()
* Go... |
/*
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 ... |
#pragma once
#include <collection.h>
namespace BaseElementEvents
{
namespace Common
{
/// <summary>
/// Typical implementation of Page that provides several important conveniences:
/// <list type="bullet">
/// <item>
/// <description>Application view state to visual state mapping</description>
/// </ite... |
/**
* Copyright (c) 2018 - 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,... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import <IDEKit/DVTInvalidation-Protocol.h>
@class DVTFilePath, DVTStackBacktrace, NSString;
@interface IDESourceControlMergeController : NSObject <... |
/**
* @file tiledb_dense_read_subset_incomplete.c
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2017-2018 TileDB, Inc.
* @copyright Copyright (c) 2016 MIT and Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and as... |
/*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <UIKit/UIKit.h>
#import "SDWebImageCompat.h"
#import "SDWebImageManager.h"
/**
*... |
/*
* FreeRTOS Kernel V10.1.1
* Copyright (C) 2018 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, includ... |
#ifndef _APPLICATION_H_
#define _APPLICATION_H_
//Modifying the file !!!!!
struct GLFWwindow;
class Application
{
public:
Application();
virtual ~Application();
virtual bool startup();
virtual void shutdown();
virtual bool update();
virtual void draw();
GLFWwindow* m_window;
};
#endif //_APPLICATION_H_ |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... |
/*
* Oracle Linux DTrace.
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*
* The syscall provider for DTrace.
*
* System call probes are exposed by the kernel as tracepoint e... |
#ifndef _LIBFDT_INTERNAL_H
#define _LIBFDT_INTERNAL_H
/*
* libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation.
*
* libfdt is dual licensed: you can use it either under the terms of
* the GPL, or the BSD license, at your option.
*
* a) This library is free software; you can... |
/*
* Copyright (c) 2012 Taobao.
* Written by Tao Ma <boyu.mt@taobao.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2.1 of the GNU Lesser General Public License
* as published by the Free Software Foundation.
*
* This program is distributed in the ho... |
// 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 NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_
#define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_
#include <deque>
#include "n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.