text
stringlengths
9
948k
// This code contributed by Nadi Sarrar. #pragma once #include "analyzer/protocol/tcp/TCP.h" #define BTTRACKER_BUF 2048 ZEEK_FORWARD_DECLARE_NAMESPACED(StringVal, zeek); namespace analyzer { namespace bittorrent { // If the following is defined, then the analyzer will store all of // the headers seen in tracker m...
/** * Copyright (C) 2008 Happy Fish / YuQing * * FastDFS may be copied only under the terms of the GNU General * Public License V3, which may be found in the FastDFS source kit. * Please visit the FastDFS Home Page http://www.fastken.com/ for more detail. **/ //tracker_dump.h #ifndef _TRACKER_DUMP_H #define _TRACKER_...
// Copyright (c) 2019 Simon Fell // // 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, publish, di...
/* * X11 mouse driver * * Copyright 1998 Ulrich Weigand * Copyright 2007 Henri Verbeet * * 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 (...
/* The MIT License (MIT) Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus 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 limitatio...
/** * This is a program that demonstrates the usage * of the the protein utility library. You can * provide an RNA trigram as a command line argument * and the corresponding protein will be printed. */ #include <stdlib.h> #include <stdio.h> #include "protein_utils.h" int main(int argc, char **argv) { if(argc...
// // NSObject+Swizzling.h // // Created by Tim Searle on 29/05/2014. // Copyright (c) 2014 Tim Searle. All rights reserved. // @interface NSObject (Swizzling) /*! Switch the implementation of one method at runtime with another method (swizzling). *\param original The selector of the method that you wish to repla...
// // AppDelegate.h // testdoc // // Created by HuWeinan on 2018/7/13. // Copyright © 2018年 perhwn. All rights reserved. // #import <UIKit/UIKit.h> #import <CoreData/CoreData.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property (readonly, stro...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:43:17 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/CompanionSync.framework/CompanionSync * classdump-dyld is licensed under GPLv3, Copyright © 2013-201...
/* Copyright (C) 2017-2021 Rodrigo Jose Hernandez Cordoba 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 ...
// vim:ts=4:sw=4:expandtab #include <config.h> #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <yajl/yajl_gen.h> #include <yajl/yajl_version.h> #include "i3status.h" void parse_todo(char *out) { FILE * f; if ((f = fopen("/home/vaino/todo", "r")) == NULL) { // Pr...
#ifndef GNMINMAP_H #define GNMINMAP_H #include <stdint.h> #include <stdio.h> #include <sys/types.h> #define MM_F_NO_DIAG 0x001 // no exact diagonal hit #define MM_F_NO_DUAL 0x002 // skip pairs where query name is lexicographically larger than target name #define MM_F_CIGAR 0x004 #define MM_F_OUT_S...
/*------------------------------------------------------------------------- * oracle_compat.c * Oracle compatible functions. * * Copyright (c) 1996-2021, PostgreSQL Global Development Group * * Author: Edmund Mergl <E.Mergl@bawue.de> * Multibyte enhancement: Tatsuo Ishii <ishii@postgresql.org> * * * IDENTIFIC...
#pragma once #if SEAL_COMPILER == SEAL_COMPILER_CLANG // We require clang >= 5 #if (__clang_major__ < 5) || not defined(__cplusplus) #error "SEAL requires __clang_major__ >= 5" #endif // Read in config.h #include "config.h" // Are we using MSGSL? #ifdef SEAL_USE_MSGSL #include <gsl/gsl> #endif // Are intrinsics ...
// // ABI26_0_0AIRMapSnapshot.h // AirMaps // // Created by Hein Rutjes on 26/09/16. // Copyright © 2016 Christopher. All rights reserved. // #ifndef ABI26_0_0AIRMapSnapshot_h #define ABI26_0_0AIRMapSnapshot_h @protocol ABI26_0_0AIRMapSnapshot <NSObject> @optional - (void) drawToSnapshot:(MKMapSnapshot *) snapsho...
#ifndef DAMAGE_CALCULATION_H #define DAMAGE_CALCULATION_H #include <algorithm> typedef int32_t damage_int; /// Contains the logic for damage calculation. It is meant to be used by having /// global/const default object, which is copied and modified with inputs /// (hp, shields, damage, armor, etc) specific to the hi...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
/* This code was written by Nick Darnell Plugin created by Rama Modified by Nicholas Helish */ #pragma once #include "Framework/Application/AnalogCursor.h" class GAMEPADUMGPLUGIN_API FGameAnalogCursor : public FAnalogCursor { public: /** Ctor */ FGameAnalogCursor(ULocalPlayer* InLocalPlayer, UWorld* InWorld,...
//===--- GenExistential.h - IR generation for existentials ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
/* e_os.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial us...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:44:31 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/PassKitUIFoundation.framework/PassKitUIFoundation * classdump-dyld is licensed under GPLv3, Copyrigh...
#ifndef GUARD_DY_BUILTIN_ABSTRACT_ADYLOADINGWIDGETMETARESOURCE_H #define GUARD_DY_BUILTIN_ABSTRACT_ADYLOADINGWIDGETMETARESOURCE_H /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE W...
/* * testRegexp.c: simple module for testing regular expressions * * See Copyright for the status of this software. * * Daniel Veillard <veillard@redhat.com> */ #ifdef TARGET_EMSCRIPTEN #error "main defined on JS build, this file should not have been linked or compiled." #endif #include "libxml.h" #ifdef LIBXML...
#ifndef LEETCODE_ROTATE_IMAGE_H_ #define LEETCODE_ROTATE_IMAGE_H_ // You are given an n x n 2D matrix representing an image. // Rotate the image by 90 degrees (clockwise). // Note: // You have to rotate the image in-place, which means you have to modify the // input 2D matrix directly. DO NOT allocate another 2D m...
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: srv.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "srv.pb-c.h" void mgmt__daos_rank__init (Mgmt__DaosRank *...
/**************************************************************************** * libs/libc/pthread/pthread_barrierinit.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 cop...
// 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 NET_CERT_NSS_CERT_DATABASE_H_ #define NET_CERT_NSS_CERT_DATABASE_H_ #include <stdint.h> #include <memory> #include <string> #include <vector...
// // NSString+json.h // FE // // Created by Tom on 14-4-21. // Copyright (c) 2014年 liyy. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (json) - (id)jsonValue; @end
#ifndef __ASM_APICDEF_H #define __ASM_APICDEF_H #define APIC_DEFAULT_PHYS_BASE 0xfee00000 #define APIC_ID 0x20 #define APIC_ID_MASK (0xFFu<<24) #define GET_APIC_ID(x) (((x)>>24)&0xFFu) #define SET_APIC_ID(x) (((x)<<24)) #define APIC_LVR 0x30 #define APIC_LVR...
/* Copyright 2019 Fate * * 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 is distributed in the h...
/*************************************************************************** qgslabelinggui.h Smart labeling for vector layers ------------------- begin : June 2009 copyright : (C) Martin Dobias email : wonder dot sk at gmail dot com **********...
/** @file InterlockedCompareExchange64 function Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ __int64 _InterlockedCompareExchange64( __int64 volatile * Des...
#pragma once #include "il2cpp.h" void XLSXContent_BattleDataTable_SheetWeatherData___ctor (XLSXContent_BattleDataTable_SheetWeatherData_o* __this, const MethodInfo* method_info);
// Copyright 2017 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
#pragma once class CDialogReplace : public CDialogImpl<CDialogReplace>, public CDialogResize<CDialogReplace> { public: CDialogReplace(HWND p_hedit); BEGIN_DLGRESIZE_MAP(CDialogReplace) DLGRESIZE_CONTROL(IDC_EDIT_FINDWHAT, DLSZ_SIZE_X) DLGRESIZE_CONTROL(IDC_EDIT_REPLACE, DLSZ_SIZE_X) DLGRESIZE_CONTROL(IDC_FIND...
// Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_SCENIC_FAKE_RESOURCES_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_SCENIC_FAKE_...
/************************************************************************************ Filename : Util_Render_Stereo.h Content : Sample stereo rendering configuration classes. Created : October 22, 2012 Authors : Michael Antonov, Tom Forsyth Copyright : Copyright 2014 Oculus VR, Inc. All Rig...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_conv_e.c :+: :+: :+: ...
#include "commands.h" #include "stdio.h" #include <stdint.h> #include "stdlib.h" #include "VideoModule.h" #include "TimeModule.h" #include "syscall.h" extern void opcodeExc(); //static const int mycolours[SIZE] = {12354, 658456, 736534, 12444, 0xFF}; Colour colour1 = {255, 255, 255}; Colour colour2 = {180, 40, 18}; C...
/* * Copyright (C) 2020-present The Kraken authors. All rights reserved. */ #ifndef KRAKEN_DEBUGGER_SEARCH_MATCH_H #define KRAKEN_DEBUGGER_SEARCH_MATCH_H #include "inspector/protocol/error_support.h" #include "inspector/protocol/maybe.h" #include "kraken_foundation.h" #include <memory> #include <string> #include <v...
/* +----------------------------------------------------------------------+ | APC | +----------------------------------------------------------------------+ | Copyright (c) 2006-2011 The PHP Group | +--------------...
// Copyright (c) 2019 The BITCORN developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SEND_H #define SEND_H #include <QWidget> #include <QPushButton> #include "qt/bitcorn/pwidget.h" #include "qt/bitcorn/contacts...
#define LIBPHORWARD_VERSION "0.22.1"
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #ifndef SRC_BGP_BGP_SERVER_H_ #define SRC_BGP_BGP_SERVER_H_ #include <tbb/spin_rw_mutex.h> #include <boost/asio/ip/tcp.hpp> #include <boost/dynamic_bitset.hpp> #include <boost/scoped_ptr.hpp> #include <map> #include <set> #include <string> #inc...
/** FNELEM-GPU - TEST MEMBRANE Test membrane element. @package test.model.elements @author ppizarror @date 26/11/2018 @license MIT License Copyright (c) 2018 Pablo Pizarro R. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
#include <kernel.h> #include <storage.h> #include "virtio_internal.h" #include "virtio_mmio.h" #include "virtio_pci.h" //#define VIRTIO_BLK_DEBUG #ifdef VIRTIO_BLK_DEBUG #define virtio_blk_debug(x, ...) do {tprintf(sym(vtblk), 0, x, ##__VA_ARGS__);} while(0) #else #define virtio_blk_debug(x, ...) #endif // this is n...
/* * 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...
#include "compiler.h" #include "cpucore.h" #include "pccore.h" #include "iocore.h" #include "bios.h" #include "biosmem.h" void bios0x09_init(void) { iocore_out8(0x43, 0x3a); // keyboard reset-high iocore_out8(0x43, 0x32); // keyboard reset-low iocore_out8(0x43, 0x16); // error reset ZeroMemory(mem + 0x00502, ...
#pragma once #include "Kernel/Compilable.h" #include "Kernel/Reference.h" #include "Kernel/FontBase.h" #include "BitmapGlyph.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// class BitmapFont : public FontBase { DECLARE_FACTORABLE( BitmapFon...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_int_declare_memmove_67a.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.label.xml Template File: sources-sink-67a.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Set data poin...
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_COMMON_BYTE_BUFFER_H_ #define SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_COMMON_BYTE_BUFFER_H_ #include <fbl/...
/****************************************************************************** * * (c) Copyright 2014 Xilinx, Inc. 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 with...
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * * Copyright (C) 2000-2003, International Business Machines * Corporation and others. All Rights Reserved. * **********...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PREFERENCES_H_ #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PREFERENCES_H_ #include ...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__ #define COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__ #include <map> #include "base/...
/* Copyright 2019 Triad National Security, LLC. All rights reserved. This file is part of the MSTK project. Please see the license file at the root of this repository or at https://github.com/MeshToolkit/MSTK/blob/master/LICENSE */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "Mesh.h" #include...
/* FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd. FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
/* * RELIC is an Efficient LIbrary for Cryptography * Copyright (C) 2007-2015 RELIC Authors * * This file is part of RELIC. RELIC is legal property of its developers, * whose names are not listed here. Please refer to the COPYRIGHT file * for contact information. * * RELIC is free software; you can redistribute...
/* * MIT License * * Copyright(c) 2011-2020 The Maintainers of Nanvix * * 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 * ...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:53:24 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/MLCompute.framework/MLCompute * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limn...
/* $KAME: vmbuf.c,v 1.11 2001/11/26 16:54:29 sakane Exp $ */ /* * Copyright (C) 2004 WIDE Project. * 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 mu...
/* Clocks (v1) * Portable Snippets - https://github.com/nemequ/portable-snippets * Created by Evan Nemerson <evan@nemerson.com> * * To the extent possible under law, the authors have waived all * copyright and related or neighboring rights to this code. For * details, see the Creative Commons Zero 1.0 Univ...
/** * @file CCSpawn.h * */ #ifndef _INC_CCSPAWN_H #define _INC_CCSPAWN_H #include "../resource/CResourceBase.h" #include "../items/CItemBase.h" #include "../uo_files/uofiles_enums_itemid.h" #include "../uo_files/uofiles_enums_creid.h" #include "../CComponent.h" #include "../CTimedObject.h" #include "../../sphere/thre...
#pragma once #ifndef INDIRECTDRAW_H #define INDIRECTDRAW_H #include "Utilities/GL/StaticMultiBuffer.h" /** A helper class encapsulating the data needed to perform an indirect draw call in OpenGL. */ template <int BufferCount = 3> class IndirectDraw { public: // Public (De)Constructors /** Default Constructor. */ ...
// kram - Copyright 2020-2022 by Alec Miller. - MIT License // The license and copyright notice shall be included // in all copies or substantial portions of the Software. #pragma once // This is a master header. Can be used if turning this into a framework. // But found frameworks to be more difficult to use than l...
/* * Copyright © 2014-2017 Broadcom * * 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, publish...
// // QSDirectoryParser.h // Quicksilver // // Created by Alcor on 4/6/05. // Makoto Yamashita 2009-12-25 #import <Cocoa/Cocoa.h> @interface QSDirectoryParser : QSParser - (NSArray *)objectsFromPath:(NSString *)path depth:(int)depth types:(NSArray *)types; @end
#define RIGHT_MOTOR 0 #define LEFT_MOTOR 1 #include <joyos.h> void initRun() { return; } void activateRun() { motor_set_vel(RIGHT_MOTOR,0); motor_set_vel(LEFT_MOTOR,0); } void step() { return; }
// For licensing and usage information, read docs/winui_license.txt //**************************************************************************** //============================================================ // // swconfig.h // //============================================================ #ifndef WINUI_SWCONFIG_H ...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2013 - Raw Material Software Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL v3 ...
/* * Speed and Pitch effect plugin for Audacious * Copyright 2012 John Lindgren * * 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, * ...
/* vi: set sw=4 ts=4: */ /* * lsscsi implementation for busybox * * Copyright (C) 2017 Markus Gothe <nietzsche@lysator.liu.se> * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ //config:config LSSCSI //config: bool "lsscsi (2.5 kb)" //config: default y //config: #select PLATFORM_LINUX //...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
/* * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #pra...
/* * Base16: https://github.com/chriskempson/base16 */ #define THEME_BACKGROUND "#f5f7ff" #define THEME_FOREGROUND "#5e6687" /* * Colors */ #define THEME_BLACK "#f5f7ff" #define THEME_RED "#c94922" #define THEME_GREEN "#ac9739" #define THEME_YELLOW "#c08b30" #define THEME_BLUE "#3d8fd1" #define THEME_MAGENTA "#66...
//***************************************************************************** // // startup_gcc.c - Startup code for use with GNU tools. // // Copyright (c) 2013-2017 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this software for use so...
/* * 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 * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/**************************************************************************** * hn70ap/apps/export/crc.h * * Copyright (C) 2018 Sebastien Lorquet. All rights reserved. * Author: Sebastien Lorquet <sebastien@lorquet.fr> * * Redistribution and use in source and binary forms, with or without * modification, are...
/* * Copyright (C) 2007, 2008, 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this lis...
#pragma once #include "ofBaseApp.h" #include "ofApp.h" #include "ofAppQtWindow.h" // #include <QOpenGLFunctions> #include <QOpenGLWidget> extern void qt_set_sequence_auto_mnemonic(bool b); class ofAppQtWindow; class QtGLWidget : public QOpenGLWidget, protected QOpenGLFunctions { Q_OBJECT public: QtGLWidget(ofApp...
/****************************************************************************** Copyright (c) 2018, Stefan Wolfsheimer 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 ...
/* * Pulse Width Modulation Memory Map * * Copyright (C) 2004-2008 Freescale Semiconductor, Inc. * TsiChung Liew (Tsi-Chung.Liew@freescale.com) * * 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 ter...
/** @file This library is TPM2 DTPM device lib. Choosing this library means platform uses and only uses DTPM device as TPM2 engine. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/BaseMemoryLib...
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> #import "CSActivationEventNotificationHandlerDelegate-Protocol.h" #import "CSAudioRouteChangeMonitorDelegate-Protocol.h"...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:09:51 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /usr/lib/libacmobileshim.dylib ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "json_utils.h" #include "nlohmann/json.hpp" namespace Ethereum { inline void to_json(nlohmann::json& j, const BlockHeader& s) { j = nlohmann::json::object(); j["number"] = eevm::to_hex_string(...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_INVESTIGATOR_H_ #define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_INVESTIGATOR_H_ #include <string> #include ...
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #pragma once #include "../lib/idependency.h" #include "iuidescription.h" #include "uidescriptionfwd.h" #include "xml...
#ifndef __METADATA_H_ #define __METADATA_H_ #include <stdint.h> #include <unistd.h> #include "atomic_ops.h" typedef uint32_t GraphType; //get upper 32bits of 64bit value #define GETU32BIT_M 0xffffffff00000000 //get lower 32bits of 64bit value #define GETL32BIT_M 0x00000000ffffffff typedef struct __metadata{ ...
/* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS * I...
/****************************************************************************** * Copyright (C) 2015 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
/* * 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 * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
// Geometric Tools, LLC // Copyright (c) 1998-2010 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 4.10.0 (2009/11/18) #ifndef WM4THASHSET_H #define WM4THASHSET_H #include "Wm4Found...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2018-2020 Christoph Hellwig. * * DMA operations that map physical memory directly without using an IOMMU. */ #include <linux/memblock.h> /* for max_pfn */ #include <linux/export.h> #include <linux/mm.h> #include <linux/dma-map-ops.h> #include <linux/scatterlist...
struct callbacks { void (*f1)(int *); void (*f2)(int *); }; void foo(int *a) { *a = 1; } void foo2(int *c) { *c = 2; } static struct callbacks cb = { .f1 = foo, .f2 = foo2 }; int main(void) { int a, b; cb.f1(&a); cb.f2(&b); test_assert(a == 1 && b == 2); return 0; }
// Copyright (c) 2014-2020 The Virie Project // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include "account.h" #define BC_ESCROW_SERVICE_ID "E" #define BC_ESCROW_SERVICE_INSTR...
// Copyright (c) 2013, Sergey Lyubka // Copyright (c) 2017-2018, The Monero Project // All rights reserved. // Released under the MIT license. // This program takes a list of files as an input, and produces C++ code that // contains the contents of all these files as a collection of strings. // // Usage: // 1. Compi...
/* Copyright 2011, 2012, 2013 SRI International * See LICENSE for other credits and copying information */ #ifndef _PDFSTEG_H #define _PDFSTEG_H #include "http.h" #define PDF_CONTENT_TYPE "application/pdf" #define PDF_SIZE_CEILING 20480 #define PDF_DELIMITER '?' #define PDF_DELIMITER2 '.' #define STREAM...
// // Copyright 2017 Animal Logic // // 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 ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> @class ABI38_0_0RCTRootView; @protocol ABI38_0_0RCTRootViewDelegate <NSObject> /** * Called a...