text
stringlengths
9
948k
/* * da7219.c - DA7219 ALSA SoC Codec Driver * * Copyright (c) 2015 Dialog Semiconductor * * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> * * 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 ...
/* * coreHTTP v1.0.0 * Copyright (C) 2020 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, including with...
#pragma once #include "drawable.h" class Letter { public: Letter(); Letter(std::vector<Drawable> primitives); ~Letter(); void draw(QPainter& painter); private: std::vector<Drawable> m_primitives; };
#pragma once /* Copyright © 2019-2020 N. Van Bossuyt. */ /* This code is licensed under the 3-Clause BSD License. */ /* See: LICENSE.md */ #include <libruntime/ErrorOr.h> #include <libruntime/RefCounte...
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
#ifndef DETECTOR_DESCRIPTION_PARSER_DDL_ELEMENT_REGISTRY_H #define DETECTOR_DESCRIPTION_PARSER_DDL_ELEMENT_REGISTRY_H #include "DetectorDescription/Core/interface/ClhepEvaluator.h" #include <CLHEP/Evaluator/Evaluator.h> #include <string> #include <map> #include <memory> class DDXMLElement; /// The main class for pr...
/* notification_manager.c * Routines for loading notification in an overlay window * Each notification is loaded with its own stack and heap. * RebbleOS * * Author: Barry Carter <barry.carter@gmail.com>. */ #include "rebbleos.h" #include "protocol_notification.h" #include "notification_manager.h" #include "overl...
/* * Wine server requests * * Copyright (C) 1999 Alexandre Julliard * * 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 option) any ...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2005-2014, Anthony Minessale II <anthm@freeswitch.org> * * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except i...
/** @file Create the device path for the Port internal connector designator. Port internal connector designator information is Misc. subclass type 6 and SMBIOS type 8. Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made a...
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBTEAMLOGAccountCaptureChangeAvailabilityType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountCapture...
// // SharedRoutesAsDriver.h // SocialCar // // Created by Kostas Kalogirou (CERTH)on 24/07/17. // Copyright © 2017 Kostas Kalogirou. All rights reserved. // #import <Foundation/Foundation.h> @interface SharedRoutesAsDriver : NSObject //1 lift has more than one trip and one trip has more than one steps //May ha...
// SPDX-License-Identifier: GPL-2.0+ /* * ARM PrimeCell MultiMedia Card Interface - PL180 * * Copyright (C) ST-Ericsson SA 2010 * * Author: Ulf Hansson <ulf.hansson@stericsson.com> * Author: Martin Lundholm <martin.xa.lundholm@stericsson.com> * Ported to drivers/mmc/ by: Matt Waddel <matt.waddel@linaro.org> */ ...
// freebayes htslib configuration // // This file is used when building a local htslib. The local version has // LZMA CRAM support. // #define HAVE_LIBBZ2 1 // may add BZ2 support for CRAM later #define HAVE_LIBLZMA 1 #ifndef __APPLE__ #define HAVE_LZMA_H 1 #endif #define HAVE_DRAND48 1 // #define HAVE_LIBCURL 1
// Copyright (c) 2009-2014 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 GENESIS_COMPAT_SANITY_H #define GENESIS_COMPAT_SANITY_H bool glibc_sanity_test(); bool glibcxx_sanity_test(); #endi...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the terms found in...
#include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-features.h> #include <net-snmp/net-snmp-includes.h> #include <stdio.h> #include <ctype.h> #if HAVE_STDLIB_H # include <stdlib.h> #endif #if HAVE_UNISTD_H # include <unistd.h> #endif #if HAVE_STRING_H # include <string.h> #else # include <strings....
#ifndef FMODAUDIOSYSTEM_H #define FMODAUDIOSYSTEM_H #include "audiosystemcommon.h" #include "map.h" #include "set.h" #include "list.h" #include "hashedstring.h" #include "array.h" #include "interpolator.h" #include "fmod.hpp" class FMODAudioSystem : public AudioSystemCommon { public: FMODAudioSystem(); virtual ~FM...
/*---------------------------------------------------------------------------- * Tencent is pleased to support the open source community by making TencentOS * available. * * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * If you have downloaded a copy of the TencentOS binary from Tenc...
#include "LCD.h" #include "../Drivers/Timing.h" #include "../Drivers/UART.h" #include "../Drivers/Port.h" #include <stdio.h> uint8_t LCD_Write_String(uint8_t* string, uint8_t line) { uint8_t index, value; LCD_Write_Command(line); //Set address to start of the line Timing_delay_ms(1); index = 0; value = string[...
/** @file * Safe way to include wdm.h. */ /* * Copyright (C) 2016-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 and/or modify it under the terms of the GNU * General Pub...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE134_Uncontrolled_Format_String__char_fromFile_snprintf_54d.c Label Definition File: CWE134_Uncontrolled_Format_String.label.xml Template File: sources-sinks-54d.tmpl.c */ /* * @description * CWE: 134 Uncontrolled Format String * BadSource: fromFile Read input from a f...
#ifndef _GPXE_TCPIP_H #define _GPXE_TCPIP_H /** @file * * Transport-network layer interface * */ FILE_LICENCE ( GPL2_OR_LATER ); #include <stdint.h> #include <gpxe/socket.h> #include <gpxe/in.h> #include <gpxe/tables.h> struct io_buffer; struct net_device; /** Empty checksum value * * This is the TCP/IP chec...
/* A splay-tree datatype. Copyright (C) 1998-2015 Free Software Foundation, Inc. Contributed by Mark Mitchell (mark@markmitchell.com). This file is part of GCC. 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 F...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Contains AABB-related code. (axis-aligned bounding box) * \file IceAABB.h * \author Pierre Terdiman * \date ...
#ifndef NW4R_LYT_ARCRESOURCEACCESSOR_H #define NW4R_LYT_ARCRESOURCEACCESSOR_H #include "types_nw4r.h" #include "ut_LinkList.h" #include "ut_Font.h" #include "lyt_resourceAccessor.h" #include <RevoSDK/ARC/arc.h> #include <STL/string.h> #define FONTNAMEBUF_MAX 127 namespace { UNKWORD FindNameResource(ARCHandle *, c...
/********************************************************************* * NAN - Native Abstractions for Node.js * * Copyright (c) 2015 NAN contributors * * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md> ********************************************************************/ #ifndef NAN_IMPLEMENT...
/*------------------------------------------------------------------------- * * dependency.c * Routines to support inter-object dependencies. * * * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION ...
int main() { test("c1:c2"); }
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:23:27 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/NanoTim...
/* * DynWeaklyConnectedComponents.h * * Created on: June 20, 2017 * Author: Eugenio Angriman */ #ifndef DYNWEAKLYCONNECTEDCOMPONENTS_H_ #define DYNWEAKLYCONNECTEDCOMPONENTS_H_ #include "../graph/Graph.h" #include "../base/Algorithm.h" #include "../base/DynAlgorithm.h" #include "../dynamics/GraphEvent.h" namesp...
//------------------------------------------------------------------------------ // GB_Adot3B: hard-coded dot3 method for a semiring //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. // SPDX-License-Identifi...
/**************************************************************************\ * ** 2004 Thomas Klein <thomas.klein@informatik.uni-stuttgart.de> ** * **************************************************************************** * * * File: datR...
/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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 witho...
 #ifndef HEADER_COMP_H # define HEADER_COMP_H # include <openssl/crypto.h> #ifdef __cplusplus extern "C" { #endif typedef struct comp_ctx_st COMP_CTX; typedef struct comp_method_st { int type; /* NID for compression library */ const char *name; /* A text string to identify the ...
/* LEGO Power Functions protocol for the Arduino. 20-04-2009 Version 1.1 Changelist: - Changed the timing in oscillationWrite from 13us to 9us. - Forgot to set the ir-pin to OUTPUT - added support for SingleOutput the "Clear - Set - Toggle" This code is based on the code of Bob Kojima 01-19-2008 I have modified ...
/* * Copyright (c) 2020 Bouffalolab. * * This file is part of * *** Bouffalolab Software Dev Kit *** * (see www.bouffalolab.com). * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * 1. Redistributions ...
/* * kleen_closure_automatons.c * * Created on: 13 oct. 2017 * Author: juven */ #include "cdfa_operation_intern.h" cdfa__dynamic_states_set_array *cdfa__kleen_plus_new_states(const cdfa__automaton * const a) { unsigned int i; unsigned int j; cdfa__letter current_letter; cdfa__automaton_state next_sta...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:54:04 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/CameraEffectsKit.framework/CameraEffectsKit * classdump-dyld is licensed under GPLv3, Copyright © 20...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:07:24 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/Frameworks/ExternalAccessory...
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #pragma once // clang-format off // This header contains the bytecode definition for Luau interpreter // Creating the bytecode is outside the scope of this file and is handled by bytecode builder (Byte...
// Copyright (c) 2014-2018, The Monero 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 must retain the above copyright notice, this list o...
/* Copyright (c) 2009, OpenEmu Team 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 conditions and the following disclaimer...
! Perform the multiplication if (cx .eq. __MatOne__) then if(cy .eq. __VecZero__) then !$omp parallel do default(shared) private(ia,icol,ivar,Ddtmp) & !$omp if(NEQ > rperfconfig%NEQMIN_OMP) do irow = 1,NEQ Ddtmp = __MatZero__ do ia = Kld(irow), Kld(irow+1)-1 icol = Kc...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/AssetViewer.framework/AssetViewer */ @interface SensorInterceptor : NSObject <ARSensorDelegate> { void _acceleration; <ARSensorDelegate> * _originalDelegate; <ARSensor> * _targetSensor; } @property (nonatomic) void acceleration; @...
/** * Author: Philippe Legault * Date: 2016 * License: MIT * Source: https://github.com/Bathlamos/delaunay-triangulation/ * Description: Fast Delaunay triangulation. * Each circumcircle contains none of the input points. * There must be no duplicate points. * If all points are on a line, no triangles will be re...
// 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 LIB_INSPECT_CPP_VMO_SCANNER_H_ #define LIB_INSPECT_CPP_VMO_SCANNER_H_ #include <lib/inspect/cpp/vmo/block.h> #include <zircon/types.h> namespace ...
#ifndef CONSOLE_H #define CONSOLE_H #include <graph.h> typedef struct { uint32_t start_line; uint32_t line; uint32_t line_num; uint32_t line_w; uint32_t total; char* data; uint32_t size; } content_t; typedef struct { graph_t* g; uint32_t bg_color; uint32_t fg_color; font_t* font; content_t content; } con...
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, w...
/* PIC interface for FZKM-mega */ /* Structures and definitions follow */ #define SEEK_SET 0 #define SEEK_CUR 1 #define SEEK_END 2 /* Prototypings follow */ void start_composite(void); void stop_composite(void); void set_palette(uint8_t n,uint8_t b,uint8_t r,uint8_t g); void set_bgcolor(uint8_t b,uint8_t r,uint8_t...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:53:30 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia...
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
//***************************************************************************** // // bl_usb.c - Functions to transfer data via the USB port. // // Copyright (c) 2009-2013 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this software for use...
#include "red_black_tree.h" #include <assert.h> /***********************************************************************/ /* FUNCTION: RBTreeCreate */ /**/ /* INPUTS: All the inputs are names of functions. CompFunc takes two */ /* void pointers to keys and returns 1 if the first arguement is */ /* "greater than...
// Copyright (c) 2014, 2020-2021 The Amero / Monero Projects // // 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 notic...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/qldb-session/QLDBSession_EXPORTS.h> #include <aws/qldb-session/QLDBSessionRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/qldb-session/model/StartS...
#ifndef DIFFUSION_EVT_H_ #define DIFFUSION_EVT_H_ #include <vector> #include <string> #include "../Voxel/_Voxel.h" #include "_Event.h" namespace nw{ using namespace std; /**@brief Realization of diffusion between two voxels. * * The Diffusion_Event alters the stae vector of two adjacent Voxel. The execute() functi...
/******************************************************************************* * Copyright 2013-2020 Aerospike, 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://ww...
/* crypto/cryptlib.c */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL 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:...
// // TRNStopMapCell.h // Transport // // Created by Luke Stringer on 28/04/2014. // Copyright (c) 2014 Luke Stringer. All rights reserved. // #import "TRNCell.h" @interface TRNStopMapCell : TRNCell @end
// jitui.c 山雞腿 #include <weapon.h> inherit HAMMER; inherit F_FOOD; void create() { set_name("烤山雞腿", ({ "jitui", "tui" }) ); set_weight(350); if( clonep() ) set_default_object(__FILE__); else { set("long", "一枝烤得香噴噴的山雞腿。\n"); set("unit", "...
// 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 CONTENT_PUBLIC_COMMON_RESOURCE_TYPE_H_ #define CONTENT_PUBLIC_COMMON_RESOURCE_TYPE_H_ #include "content/common/content_export.h" namespace conte...
/* $XFree86: xc/programs/twm/add_window.c,v 1.1.1.2.8.1 1997/05/11 05:04:28 dawes Exp $ */ /*****************************************************************************/ /* Copyright (c) 1989 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated do...
/* *********************************************************************************************************************** * * Copyright (c) 2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated ...
/*- * BSD LICENSE * * Copyright(c) 2010-2016 Intel Corporation. All rights reserved. * Copyright(c) 2014 6WIND S.A. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
/* * remplissage.c * * Created on: Aug 26, 2013 * Author: Francis Giraldeau <francis.giraldeau@gmail.com> */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #define READ 0 #define WRITE 1 int main(int argc, char **argv) { int fds[2]; int ret; char c = 'x'; int i = 0; /* ...
// 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 WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ #include <strin...
/* Copyright 2016 Google 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 agreed to in writing, soft...
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2016, STMicroelectronics * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
// Copyright 2017 The Ray 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 to i...
// // DoraemonStartPluginProtocol.h // DoraemonKit // // Created by yixiang on 2017/12/17. // #import <Foundation/Foundation.h> @protocol DoraemonStartPluginProtocol <NSObject> @optional - (void)startPluginDidLoad; @end
// // 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 "BKDisplayAnnotationRenderer.h" @class CALayer, NSArray, NSMutableDictionary; @interface BKDisplayAnnotationContainedSubnodeRenderer : BK...
#ifndef NF2_OPENFLOW_H_ #define NF2_OPENFLOW_H_ #include <linux/types.h> #include <linux/etherdevice.h> #define OPENFLOW_NF2_EXACT_TABLE_SIZE 32768 #pragma pack(push) /* push current alignment to stack */ #pragma pack(1) /* set alignment to 1 byte boundary */ #define NF2_OF_ENTRY_WORD_LEN 8 struct nf2_of_entry...
/* * Copyright (C) 2014- Shingo OKAWA */ #ifndef jargon_util_object_h #define jargon_util_object_h #include <cstdlib> #include <list> #include <map> #include <set> #include <vector> #include "../shared/monolithic.h" JARGON_NAMESPACE_BEGIN(util) /* NamedObject represents object with specified name. */ class NamedOb...
#ifndef CSCSegment_CSCSegAlgoRU_h #define CSCSegment_CSCSegAlgoRU_h /** * \class CSCSegAlgoRU * * This is the original algorithm for building endcap muon track segments * out of the rechit's in a CSCChamber * 'RU' = 'RUssia' = Road Usage * * A CSCSegment is a RecSegment4D, and is built from * CSCRecHit2D objec...
#include <esp_log.h> #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <stdio.h> #include "MQTTClient.h" #include "sdkconfig.h" static char tag[] = "mqtt_paho"; static unsigned char sendBuf[1000]; static unsigned char readBuf[1000]; Network network; static void messageHandler_func(MessageData *md) {...
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
#ifndef UTILITAIRES_TABLEAUX #define UTILITAIRES_TABLEAUX /*****************************************************************************/ /* Ensemble de fonctions facilitant la manipulation de tableaux d entiers. */ /*****************************************************************************/ /*******************...
/* * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/licens...
/* $NetBSD: pmap_svc.c,v 1.2 2000/10/20 11:49:40 fvdl Exp $ */ /* $FreeBSD: soc2013/dpl/head/usr.sbin/rpcbind/pmap_svc.c 173455 2007-11-07 10:53:41Z kevlo $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape * media and as ...
#ifndef __TORCH_API_H__ #define __TORCH_API_H__ #include<stdint.h> #ifdef __cplusplus thread_local char *torch_last_err = nullptr; extern "C" { typedef torch::Tensor *tensor; typedef torch::Scalar *scalar; typedef torch::optim::Optimizer *optimizer; typedef torch::jit::script::Module *module; typedef torch::jit::IVal...
#include "tiffiop.h" #if defined(JPEG_DUAL_MODE_8_12) #define TIFFInitJPEG TIFFInitJPEG_12 #define TIFFJPEGIsFullStripRequired TIFFJPEGIsFullStripRequired_12 int TIFFInitJPEG_12(TIFF *tif, int scheme); #include LIBJPEG_12_PATH #include "tif_jpeg.c" int TIFFReInitJPEG_12(TIFF *tif, const JPEGOtherSettings *otherSe...
//************************************************************************ // Loop com DO WHILE //************************************************************************ /* O loop com do while tem a mesma função do loop com while, porém executa primeiro o bloco de comandos e só depois testa a condição. do{ ...
#pragma once /** SipHash is a fast cryptographic hash function for short strings. * Taken from here: https://www.131002.net/siphash/ * * This is SipHash 2-4 variant. * * Two changes are made: * - returns also 128 bits, not only 64; * - done streaming (can be calculated in parts). * * On short strings...
/** * Copyright (c) 2016 - 2021, 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, th...
#pragma once #include "CHazel/Core/Core.h" #include "CHazel/Core/Window.h" #include "CHazel/Core/Layer.h" #include "CHazel/Core/LayerStack.h" #include "CHazel/Events/ApplicationEvent.h" #include "CHazel/Core/Timestep.h" #include "CHazel/ImGui/ImGuiLayer.h" namespace CHazel { class Application { public: Appli...
/****************************************************************************** * * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Fr...
// Copyright 2015-2018 Espressif Systems (Shanghai) PTE LTD // // 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 a...
/* * BK Id: SCCS/s.softemu8xx.c 1.8 05/17/01 18:14:22 cort */ /* * Software emulation of some PPC instructions for the 8xx core. * * Copyright (C) 1998 Dan Malek (dmalek@jlc.net) * * Software floating emuation for the MPC8xx processor. I did this mostly * because it was easier than trying to get the libraries ...
#import "GCLOfflinePack.h" #include <mbgl/storage/default_file_source.hpp> NS_ASSUME_NONNULL_BEGIN @interface GCLOfflinePack (Private) @property (nonatomic, nullable) mbgl::OfflineRegion *mbglOfflineRegion; @property (nonatomic, readwrite) GCLOfflinePackState state; - (instancetype)initWithMBGLRegion:(mbgl::Offli...
#ifndef _GET_MNEMONIC_PASSPHRASE_H #define _GET_MNEMONIC_PASSPHRASE_H #include <stdbool.h> #include "workflow.h" workflow_t* workflow_get_mnemonic_passphrase(void (*callback)(char*, void*), void* callback_param); #endif // _GET_MNEMONIC_PASSPHRASE_H
#include "file.h" #include "strings.h" #include <assert.h> V load_file(V file_name, V global) { if (file_name == NULL || getType(file_name) != T_STR) { clear_ref(file_name); return NULL; } FILE* f = fopen(toNewString(file_name)->text, "rb"); if (f == NULL) { clear_ref(file_name); return NULL; } fseek(f...
/* * drivers/net/phy/phy.c * * Framework for configuring and reading PHY devices * Based on code in sungem_phy.c and gianfar_phy.c * * Author: Andy Fleming * * Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2006 Maciej W. Rozycki * * This program is free software; you can redistribute it ...
/* * Copyright (c) 2014, Siemens AG. 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 list of conditions an...
// // NSObject+AssociatedObject.h // RuntimeMethodSwizzling // // Created by 郭伟林 on 2018/8/17. // Copyright © 2018年 SR. All rights reserved. // #import <Foundation/Foundation.h> @interface NSObject (AssociatedObject) @property (nonatomic, strong) id associatedObject; @end
/* * $Id: mtd-abi.h,v 1.13 2005/11/07 11:14:56 gleixner Exp $ * * Portions of MTD ABI definition which are shared by kernel and user space */ #ifndef __MTD_ABI_H__ #define __MTD_ABI_H__ struct erase_info_user { uint32_t start; uint32_t length; }; struct mtd_oob_buf { uint32_t start; uint32_t length; unsigne...
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/*- * Copyright (c) 2011 NetApp, Inc. * Copyright (c) 2017 Intel Corporation * 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 cop...