text
stringlengths
9
948k
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:22:11 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/Convers...
#import <Foundation/Foundation.h> @interface ZYRuntime : NSObject @end @interface NSObject (ResolveNoMethod) + (void)swizzleInstanceMethod:(Class)class originSelector:(SEL)originSelector otherSelector:(SEL)otherSelector; @end
#ifndef C0P_PARAM_OBJECTS_SURFER__VS_8O0__SURFTIMECONST_0O5_GROUP_HOMOGENEOUS_MEMBER_AGENT_BEHAVIOUR_CHOICE_H #define C0P_PARAM_OBJECTS_SURFER__VS_8O0__SURFTIMECONST_0O5_GROUP_HOMOGENEOUS_MEMBER_AGENT_BEHAVIOUR_CHOICE_H #pragma once // THIS FILE SHOULD NOT BE EDITED DIRECTLY BY THE USERS. // THIS FILE WILL BE AUTOMATI...
/* Math module -- standard C math library functions, pi and e */ /* Here are some comments from Tim Peters, extracted from the discussion attached to http://bugs.python.org/issue1640. They describe the general aims of the math module with respect to special values, IEEE-754 floating-point exceptions, and Pyt...
/* * Copyright (C) 2015, 2016 "IoT.bzh" * Author "Fulup Ar Foll" * * 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...
/* ______ ___ ___ * /\ _ \ /\_ \ /\_ \ * \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ * \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ * \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ * \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ * ...
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016, Image Engine 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: // // * R...
/* * IXmlReader implementation * * Copyright 2010, 2012-2013 Nikolay Sivov * * 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 your optio...
/* * Brief: Used to open a file and write text into the file. Exits appropriately in case of errors * Author: Deekshith Reddy Patil, patil.deekshithreddy@colorado.edu * Reference: Syslog, https://linux.die.net/man/3/syslog */ #include <stdio.h> #include <stdlib.h> #include <syslog.h> #define TOTAL_NUMBER_OF_ARGUMENTS...
/* * Copyright (c) 2009, Google Inc. * All rights reserved. * * Copyright (c) 2013-2015, The Linux Foundation. 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 s...
// SPDX-License-Identifier: GPL-2.0 #include <test_progs.h> #include "timer_crash.skel.h" enum { MODE_ARRAY, MODE_HASH, }; static void test_timer_crash_mode(int mode) { struct timer_crash *skel; skel = timer_crash__open_and_load(); if (!ASSERT_OK_PTR(skel, "timer_crash__open_and_load")) return; skel->bss->pi...
/* * This file is part of RGBDS. * * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. * * SPDX-License-Identifier: MIT */ #include <float.h> #include <math.h> #include <stdarg.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "asm/symbo...
/************************************************************************** * * Copyright (c) 2013 Alcatel-Lucent * * Alcatel Lucent licenses this file to You 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 conta...
//***************************************************************************** // // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ // // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: //...
// Copyright 2013 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 NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ #define NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ #include <cstddef> #include <deque> #include <memory> #include...
#pragma once #include "il2cpp.h" void System_Net_Configuration_ConnectionManagementElementCollection___ctor (System_Net_Configuration_ConnectionManagementElementCollection_o* __this, const MethodInfo* method_info);
/* Copyright 2009 Lawrence Sebald Copyright 2005-2006 Theo Berkau This file is part of Yabause. Yabause 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 (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 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 hope tha...
/* Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #pragma once #include "kernel/expr.h" namespace lean { class io_state; bool is_equation(expr const & e); expr const & equation_lhs(expr const & e); expr c...
/* * Copyright 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 * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
// OCMockito by Jon Reid, http://qualitycoding.org/about/ // Copyright 2015 Jonathan M. Reid. See LICENSE.txt // Contribution by Kevin Lundberg #import "MKTProtocolMock.h" /*! * @abstract Mock object of a given class that also implements a given protocol. */ @interface MKTObjectAndProtocolMock : MKTProtocolMock...
/****************************************************************************** * File Name: tickless_idle.h * * Version: 1.00 * * Description: This file is the public interface of tickless_idle.c * * Related Document: CE220331_BLE_UI_RTOS.pdf * * Hardware Dependency: CY8CKIT-062-BLE PSoC 6 BLE Pioneer Kit * **********...
#pragma once /////////////////////////////////////////////////////////////////////////////////// // Platform #define GLM_PLATFORM_UNKNOWN 0x00000000 #define GLM_PLATFORM_WINDOWS 0x00010000 #define GLM_PLATFORM_LINUX 0x00020000 #define GLM_PLATFORM_APPLE 0x00040000 //#define GLM_PLATFORM_IOS 0x00080000 #define...
#ifndef WU_QUANTIZER_H #define WU_QUANTIZER_H /*! ** ** Copyright (c) 20011 by John W. Ratcliff mailto:jratcliffscarab@gmail.com ** ** ** The MIT license: ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ...
#include <std.h> #include <spell.h> inherit SPELL; object ob,*ppl; int i; void create() { ::create(); set_spell_name("legend lore"); set_spell_level(([ "bard" : 1, "mage" : 6, "inquisitor" : 6, "oracle":6, "psion" : 6 ])); set_mystery("lore"); set_discipline("seer"); set_domains("knowledge"); ...
// // MKPolyline.h // MapKit // // Copyright (c) 2010-2014, Apple Inc. All rights reserved. // #import <MapKit/MKMultiPoint.h> #import <MapKit/MKOverlay.h> #import <MapKit/MKFoundation.h> NS_ASSUME_NONNULL_BEGIN NS_CLASS_AVAILABLE(10_9, 4_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos) @interface MKPolyline : M...
#ifndef __PATH_H__ #define __PATH_H__ #ifdef __cplusplus extern "C" { #endif static inline int is_absolute_path(const char * path) { if(path && (*path == '/')) return 1; return 0; } static inline int is_relative_path(const char * path) { if(path && (*path != '/')) return 1; return 0; } char * basename(char ...
#ifndef I2C_HAL_H #define I2C_HAL_H //============================================================================== // S E N S I R I O N AG, Laubisruetistr. 50, CH-8712 Staefa, Switzerland //============================================================================== // Project : SF04 Sample Code (V1.0) // ...
/** * @file * Handler for Command Class Battery. * @copyright 2019 Silicon Laboratories Inc. */ #ifndef _CC_BATTERY_H_ #define _CC_BATTERY_H_ /****************************************************************************/ /* INCLUDE FILES */ /*************...
/*! \file usbh_core.c \brief USB MSC(mass storage device) class driver \version 2018-10-08, V1.0.0, firmware for GD32 USBFS&USBHS */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, ar...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <vespa/searchcorespi/index/iindexmaintaineroperations.h> #include <vespa/searchcorespi/index/iindexmanager.h> #include <vespa/searchcorespi/index/indexmaintainer.h> #include <ves...
/* See LICENSE file for copyright and license details. */ /* appearance */ #if ROUNDED_CORNERS_PATCH static const unsigned int borderpx = 0; /* border pixel of windows */ static const int corner_radius = 10; #else static const unsigned int borderpx = 1; /* border pixel of windows */ #endif //...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 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_VALIDATION_H #define BITCOIN_VALIDATION_H #if defined(HAVE_CONFI...
/**************************************************************************** * * Copyright (C) 2017 PX4 Development Team. 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. Redistri...
#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 "MRJLoadStateProperty.h" #import "MRJNetworkErrorView.h" #import "UIView+MRJState.h" FOUNDATION_EXPORT double MRJVie...
/**************************************************************************** * * * ZMOUSE.H -- Include file for IntelliMouse(tm) 1.0 * * * * NOTE: ...
/* --COPYRIGHT--,BSD * Copyright (c) 2012, Texas Instruments Incorporated * 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 copy...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ #include "queueing.h" #include "timers.h" #include "device.h" #include "peer.h" #include "socket.h" #include "messages.h" #include "cookie.h" #include <linux/uio.h> #include <linux/inetdevi...
/***************************************************************************/ /* */ /* pfrload.c */ /* */ /* Fr...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__dest_wchar_t_declare_cat_54b.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__dest.label.xml Template File: sources-sink-54b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Set data pointer ...
#include <stdlib.h> #include <stdio.h> #include <string.h> #define FLAGSIZE 128 void win() { char buf[FLAGSIZE]; FILE *f = fopen("flag.txt","r"); fgets(buf,FLAGSIZE,f); fprintf(stdout,"%s\n",buf); fflush(stdout); } int main(int argc, char *argv[]) { char *fullname, *name, *lastname; fullname = malloc...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Navigation.framework/Navigation */ @interface MNXPCActivity : NSObject { id /* block */ _codeBlock; NSString * _identifier; unsigned long long _networkRequirements; unsigned long long _qualityOfService; bool _repeat; ...
/*******************************************************************************\ * * * This file contains routines for transforming between the different coordinate * * systems used in Tsai's perspective projection camera model. The routine...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #pragma once #include <AzToolsFramework/API/EditorEntityAPI.h> #include <AzToolsFramework/Prefab/...
#ifndef __BL_DYN_ARRAY_H__ #define __BL_DYN_ARRAY_H__ #include <stdio.h> /* FILE* */ #include <bl/base/assert.h> #include <bl/base/platform.h> #include <bl/base/integer.h> #include <bl/base/error.h> #include <bl/base/allocator.h> #include <bl/base/libexport.h> #ifdef __cplusplus extern "C" { #endif /*---------------...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef skiatest_Test_DEFINED #define skiatest_Test_DEFINED #include "../tools/Registry.h" #include "SkClipOpPriv.h" #include "SkString.h" #include "SkTraceEvent.h" #include "...
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
/* Include files */ #include <stddef.h> #include "blas.h" #include "JointSpaceControl_CorrectFalseCombo_sfun.h" #include "c7_JointSpaceControl_CorrectFalseCombo.h" #include "mwmathutil.h" #define CHARTINSTANCE_CHARTNUMBER (chartInstance->chartNumber) #define CHARTINSTANCE_INSTANCENUMBER (chartInstance->instance...
/////////////////////////////////////////////////////////////////////////////// // Name: wx/msw/apptrait.h // Purpose: class implementing wxAppTraits for MSW // Author: Vadim Zeitlin // Modified by: // Created: 21.06.2003 // RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.o...
/* Copyright 2007-2015 QReal Research Group * * 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...
#pragma once // Include the GL headers. #include "gl/gl.h" #include "gl/glu.h" // Include the helper. #include "helpers/gravitation3DHelper.h" #include "helpers/glMaterial.h" #include "helpers/referenceFrameHelper.h" #include "settings/gravitation3DSettings.h" class CPlanet { public: CPlanet( ); CPlanet( const ...
/* * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> * Copyright (C) 2014 Google, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * Lice...
// // APComment.h // Afterparty // // Created by David Okun on 6/5/14. // Copyright (c) 2014 Afterparty. All rights reserved. // #import <Foundation/Foundation.h> @interface APComment : NSObject @property (strong, nonatomic) NSString *comment; @property (strong, nonatomic) NSString *username; @property (strong, ...
/*========================================================================= * * Copyright Insight Software 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 * * h...
#include <string.h> #include "randombytes.h" #include "crypto_sign.h" #include "crypto_hash_sha512.h" #include "ge.h" int crypto_sign_seckey_expand(unsigned char *sk,const unsigned char *seed) { crypto_hash_sha512(sk,seed,32); sk[0] &= 248; sk[31] &= 63; sk[31] |= 64; return 0; } int crypto_sign_seckey(uns...
int main(void) { unsigned int x = 10; while (x >= 10) { x += 2; } assert(!(x % 2)); }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 11 2021 20:53:35). // // Copyright (C) 1997-2019 Steve Nygard. // #import <FxPlug/FxParameterRetrievalAPI_v6-Protocol.h> @protocol FxParameterRetrievalAPI_v7 <FxParameterRetrievalAPI_v6> - (BOOL)imageSize:(struct CGSize *)arg1 fromParameter:(...
//===- IRBindings.h - Additional bindings for IR ----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#ifndef _SPARC_SEMAPHORE_H #define _SPARC_SEMAPHORE_H /* Dinky, good for nothing, just barely irq safe, Sparc semaphores. */ #ifdef __KERNEL__ #include <asm/atomic.h> #include <linux/wait.h> #include <linux/rwsem.h> struct semaphore { atomic24_t count; int sleepers; wait_queue_head_t wait; }; #define __SEMAPHOR...
/* * FLV decoding. * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * F...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "DTXAllowedRPC.h" @class NSDate, NSMutableDictionary, NSNumber, XRVMState; @protocol DTVMTrackingServiceAuthorizedAPI <DTXAllowedRPC> - (void)stopTracking; - (void)startTr...
#include "samtools.pysam.h" /* phase.c -- phase subcommand. Copyright (C) 2011 Broad Institute. Copyright (C) 2013-2016 Genome Research Ltd. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation file...
// 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 GOLDBIT_SCRIPT_STANDARD_H #define GOLDBIT_SCRIPT_STANDARD_H #include "sc...
int maxProductDifference(int *nums, int numsSize) { // a, b hold 1st and 2nd maxes int a = 0, b = 0; // c, d hold 1st and 2nd mins int c = 10 << 10, d = c; for (int i = 0; i < numsSize; i++) { int num = nums[i]; if (num >= a) { int tmp = a; a = num; b = tmp; } else if (num > b) ...
#import <CoreLocation/CoreLocation.h> #import <UIKit/UIKit.h> #import "MWMTypes.h" @class MWMMapSearchResult; typedef NS_ENUM(NSUInteger, MWMZoomMode) { MWMZoomModeIn = 0, MWMZoomModeOut }; NS_ASSUME_NONNULL_BEGIN typedef void (^SearchInDownloaderCompletions)(NSArray<MWMMapSearchResult *> *results, BOOL finished);...
#ifndef INODE_H #define INODE_H /* This function removes the inode entry corresponding to the first arguement. */ int removeInodeEntry(int locationOfInode); /* This function returns the basic block entry(pass by pointer) corresponding to the address specified by the second arguement. */ int getDataBlocks(int *bas...
/**************************************************************************** * boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.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 re...
/*------------------------------------------------------------------------- * * tuptoaster.c * Support routines for external and compressed storage of * variable size attributes. * * Copyright (c) 2000-2018, PostgreSQL Global Development Group * * * IDENTIFICATION * src/backend/access/heap/tuptoaster.c ...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:47:15 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...
/* * 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...
// feat/online-feature-itf.h // Copyright 2013 Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple 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 obta...
/******************************************************************************* * Copyright 2019-2021 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.apa...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2018 The Jasmine developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_COMPAT_H #define...
/* * 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) 2017 GreenWaves Technologies * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. * */ #include <stdint.h> #include <stdio.h> #include "AutoTilerLib.h" #include "ResizeGenerator.h" void LoadResizeLib...
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrPath_DEFINED #define GrPath_DEFINED #include "GrGpuResource.h" #include "GrStrokeInfo.h" #include "SkPath.h" #include "SkRect.h" class GrPath : public GrGpuResourc...
/* * This definitions of the PIC16LF1825 MCU. * * This file is part of the GNU PIC library for SDCC, originally * created by Molnar Karoly <molnarkaroly@users.sf.net> 2016. * * This file is generated automatically by the cinc2h.pl, 2016-04-13 17:23:20 UTC. * * SDCC is licensed under the GNU Public license (GPL)...
/* Copyright 2013-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" /* clock /root * Returns the current clock value for a watched root */ void cmd_clock(struct watchman_client *client, json_t *args) { w_root_t *root; json_t *resp; /* resolve the root */ if (...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:04:30 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/Frameworks/EventKit.framewor...
#pragma once struct SHM; // 初始化 int createSHM(struct SHM **shm, int size); // 初始化第一个问题 int writeQueryToSHM(struct SHM *shm, const char *q); // 提问者: 读取答案并写入下一个问题 int readAnswerFromAndWriteQueryToSHM(char *a, int len_a, struct SHM *shm, const char *q); // 解答者: 读取问题并写入答案 int readQueryFromAndWriteAnswerToSHM(char *a, ...
/* * Copyright (c) 2016 PrivatBank IT <acsk@privatbank.ua>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include "utest.h" #include "cryptonite_manager.h" #include "asn1_utils.h" #include "signed_data.h" #include "signed_data_engine.h" #include "signer_info_engi...
#ifndef SECOND_STEP_HASHPAIR_H #define SECOND_STEP_HASHPAIR_H #include <unordered_map> using namespace std; struct hash_pair { template<class T1, class T2> size_t operator()(const pair<T1, T2> &p) const { auto hash1 = hash<T1>{}(p.first); auto hash2 = hash<T2>{}(p.second); return hash...
/* * Amazon FreeRTOS V1.4.7 * 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, includi...
// Copyright 2019 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 SRC_UI_INPUT_DRIVERS_HID_INPUT_REPORT_INPUT_REPORT_H_ #define SRC_UI_INPUT_DRIVERS_HID_INPUT_REPORT_INPUT_REPORT_H_ #include <fuchsia/hardware/hid...
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" #include "php_ini.h" #include "ext/standard/info.h" #if PHP_MAJOR_VERSION >= 7 && defined(HAVE_APCU_SUPPORT) #include "ext/standard/php_var.h" #include "ext/apcu/apc_serializer.h" #include "zend_smart_str.h" #endif #include "php_snappy.h" /* snappy */ #...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
#ifndef OCTOON_GAME_FEATURE_H_ #define OCTOON_GAME_FEATURE_H_ #include <octoon/game_types.h> #include <octoon/runtime/any.h> #include <functional> namespace octoon { class OCTOON_EXPORT GameFeature : public runtime::RttiInterface { OctoonDeclareSubInterface(GameFeature, runtime::RttiInterface) public: GameFeat...
/*************************************************************************** -= Yun Sung 16 Bit Games =- driver by Luca Elia (l.elia@tin.it) [ 2 Scrolling Layers ] Tiles are 16 x 16 x 8. The layout of the tilemap is a bit weird: 16 consecutive tile codes ...
/* Relative (relocatable) prefix support. Copyright (C) 1987-2017 Free Software Foundation, Inc. This file is part of libiberty. GCC 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, or (at yo...
/* * Copyright (c) 2002-2007 Niels Provos <provos@citi.umich.edu> * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson * * 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 mu...
/* * v1_object_reference.h * * ObjectReference contains enough information to let you inspect or modify the referred object. */ #ifndef _v1_object_reference_H_ #define _v1_object_reference_H_ #include <string.h> #include "../external/cJSON.h" #include "../include/list.h" #include "../include/keyValuePair.h" ty...
// // UISplitViewController+TFEasyCoder.h // TFEasyCoder // // Created by ztf on 16/10/26. // Copyright © 2016年 ztf. All rights reserved. // #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import "TFEasyCoderConst.h" typedef void(^UISplitViewControllerEasyCoderBlock) (UISplitViewController * ins); @in...
/* A simple 2D hydro code (C) Romain Teyssier : CEA/IRFU -- original F90 code (C) Pierre-Francois Lavallee : IDRIS -- original F90 code (C) Guillaume Colin de Verdiere : CEA/DAM -- for the C version */ /* This software is governed by the CeCILL license under French law and abiding by the rules ...
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0618 */ /* @@MIDL_FILE_HEADING( ) */ /* verify that the <rpcndr.h> version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 5...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
// // TDPerformanceDataModel.h // TuanDaiV4 // // Created by guoxiaoliang on 2018/6/28. // Copyright © 2018 Dee. All rights reserved. // #import <Foundation/Foundation.h> @interface TDPerformanceDataModel : NSObject //类别,1表示cup,2表示FPS,3表示内存大小,4表示页面停留时间 @property(nonatomic,strong)NSNumber *type; @property(nonatomi...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/config/ConfigService_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/config/model/ConfigurationRecorderStatus.h> #include <utility> namespace Aws ...
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
/** ******************************************************************************** \file oplkcfg.h \brief Configuration options for openPOWERLINK MN library This file contains the configuration options for the openPOWERLINK MN libary on Linux. ********************************************************************...