text
stringlengths
4
6.14k
/* * 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...
#ifndef JME_Random_h__ #define JME_Random_h__ /******************************************************************** created: 2015/06/19 author: huangzhi purpose: ¼òµ¥µÄËæ»úÊý·â×°£¬ ¶ÔËæ»úÖÖ×Ó½øÐмòµ¥´¦Àí warning: *********************************************************************/ #include <assert.h> #inclu...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. /** * @version $Id$ * @author Haakon Humberset * @date 2005-09-23 * * @brief String tokenizer with a C++ approach. * * Uses vespalib::string and common C++ functions. Gives a simple interface * to a string t...
#ifndef INPUT_MENU_H #define INPUT_MENU_H #include <Mode.h> class InputsMenu : public Mode{ private: Button *backButton; Button *analogInput1Button; void Setup(); public: InputsMenu(); ~InputsMenu(); virtual void Draw(); virtual void Redraw(); virtual void Update(); }; #end...
/* * meego-handset-email - Meego Handset Email application * Copyright © 2010, Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 * */ #ifndef MESSAGELISTPAG...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #ifndef vnsw_agent_flow_stats_collector_h #define vnsw_agent_flow_stats_collector_h #include <sandesh/common/flow_types.h> #include <cmn/agent_cmn.h> #include <uve/stats_collector.h> #include <pkt/flow_table.h> #include <ksync/flowtable_ksync.h>...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "PKIXqualified88" * found in "asn1/rfc3739-PKIXqualified88.asn1" * `asn1c -S asn1c/skeletons -pdu=all -pdu=Certificate -fwide-types` */ #ifndef _PredefinedBiometricType_H_ #define _PredefinedBiometricType_H_ #include <asn_applicatio...
/* * Copyright 2016 Hewlett Packard Enterprise Development LP * * 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...
// // ViewController.h // HelloDjinni // // Created by John on 16/5/7. // Copyright © 2016年 joinAero. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
/* mmap_file.h -*- C++ -*- Jeremy Barnes, 16 December 2011 Copyright (c) 2011 Datacratic. All rights reserved. Overall file used at the root of an actual mmap file use case. */ #ifndef __mmap__mmap_file_h__ #define __mmap__mmap_file_h__ #include "mmap_co...
#include <stdio.h> #ifndef convex #include <string.h> #endif /* * VAX VMS includes etc.. */ #ifdef VMS #include <descrip.h> #include <ssdef.h> typedef struct dsc$descriptor_s VMS_string; #define VMS_STRING(dsc, string) \ dsc.dsc$w_length = strlen(string); \ dsc.dsc$b_dtype = DSC$K_DTYPE_T; \ d...
#ifndef _TRAITS_H #define _TRAITS_H class IObject; template <typename T> class TypeChecker { public: static bool check(uchar type) { return true; } }; template <> class TypeChecker<int8_t> { public: static bool check(uchar type) { if(type == INT8) { return true; } return false;...
/** * Copyright 2012 Batis Degryll Ludo * @file CommonFactories.h * @since 2019-02-20 * @date 2019-02-20 * @author Ludo Degryll Batis * @brief Daemon capable of load all common factories. */ #ifndef ZBE_FACTORIES_COMMONFACTORIES_H_ #define ZBE_FACTORIES_COMMONFACTORIES_H_ #include <string> #include "ZBE/core/...
//===----------------------------------------------------------------------===// // // Peloton // // timestamp_ordering_transaction_manager.h // // Identification: // src/include/concurrency/timestamp_ordering_transaction_manager.h // // Copyright (c) 2015-16, Carnegie Mellon University Database...
// // Map.h // SimpleMap // // Created by masashi on 11/8/13. // // #import "GoogleMaps.h" #import "MyPlgunProtocol.h" //#import "NSData-Base64/NSData+Base64.h" #import "NSData+Base64.h" @interface Map : CDVPlugin<MyPlgunProtocol> @property (nonatomic, strong) GoogleMapsViewController* mapCtrl; - (void)setTilt:(CD...
/* * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, 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 b...
/** * Copyright (C) 2013 kangliqiang ,kangliq@163.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
#ifndef CPPSUMARRAY #define CPPSUMARRAY #include <stdio.h> #include <stdlib.h> #include <string.h> #include <iostream> #include <stdint.h> #include <jni.h> #include <mutex> class CPPSumArray { private: JNIEnv* env; jobject jniJavaClassRef; int jniCreated = 0; int* sum; jintArray sumArr; int sum_length; static ...
// // ADVViewController.h // ADVProgressBar // // /* The MIT License Original work Copyright (c) 2011 Tope Abayomi http://www.appdesignvault.com/ Modified work Copyright (c) 2013 Corrado Ubezio https://github.com/corerd/ Permission is hereby granted, free of charge, to any person obtaining a copy of this...
//===--- GenericEnvironment.h - Generic Environment AST ---------*- 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...
// // NSSet+PFObject.h // MyCQs // // Created by JAMES GUPTA on 07/06/2014. // Copyright (c) 2014 MyLabs. All rights reserved. // #import <Foundation/Foundation.h> @interface NSSet (PFObject) -(BOOL)containsParseObject:(PFObject*)object; @end
/* Copyright (C) 2001-2003, Parrot Foundation. $Id$ =head1 NAME examples/benchmarks/primes.c - Calculate prime numbers < 50000 =head1 SYNOPSIS % make examples/benchmarks/primes % time examples/benchmarks/primes =head1 DESCRIPTION Calculates all the prime numbers up to 50000 and prints out the number of pr...
#include "resh.h" int main(int argc, char *argv[]) { argv[0] = "ylc"; return(spawn(argc, argv)); }
/* * Copyright 2014, NICTA * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(NICTA_BSD) */ /* * DesignWare eMMC */ #include <stdlib.h> #include <string.h> #include "../../...
/* * Copyright (c) 2007 Hypertriton, Inc. <http://hypertriton.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: * 1. Redistributions of source code must retain the above copyright * ...
/* * Copyright (c) 2016,2021 Daichi GOTO * 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...
#include <stdio.h> #include <string.h> #include <at/path.h> #define W 20 #define H 10 static int is_obstructed(void *v, int x, int y) { int *grid = (int *)v; return grid[y * W + x] != 0; } int main(int argc, char *argv[]) { unsigned x, y; char display[W...
/////////////////////////////////////////////////////////////////////////////// // This file is generated automatically using Prop (version 2.4.0), // last updated on Jul 1, 2011. // The original source file is "querygraph.ph". /////////////////////////////////////////////////////////////////////////////// #define ...
/**************************************************************************** ** Copyright (c) 2017, Fougue Ltd. <http://www.fougue.pro> ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions ** are met: ** *...
#ifndef __TCPCRYPT_CHECKSUM_H__ #define __TCPCRYPT_CHECKSUM_H__ extern void checksum_packet(struct tc *tc, struct ip *ip, struct tcphdr *tcp); extern void checksum_ip(struct ip *ip); extern void checksum_tcp(struct tc *tc, struct ip *ip, struct tcphdr *tcp); extern uint16_t checksum(void *data, int len...
/* * Copyright (c) 2013-2015, Roland Bock * 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 cond...
/* * This file is part of synconv. * * © 2013 Fernando Tarlá Cardoso Lemos * * Refer to the LICENSE file for licensing information. * */ #import "SCVRenamingFilter.h" @interface SCVConservativeRenamingFilter : SCVRenamingFilter @end
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGX_EVENT_PIPE_H_INCLUDED_ #define _NGX_EVENT_PIPE_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> typedef struct ngx_event_pipe_s ngx_event_pipe_t; /* 处理接收自上游的包体的回调方法原型 */ typedef ngx_int_t (*ngx_event_p...
/* * POK header * * The following file is a part of the POK project. Any modification should * made according to the POK licence. You CANNOT use this file or a part of * this file is this part of a file for your own project * * For more information on the POK licence, please see ou...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <sys/time.h> #include <sys/timerfd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <errno.h> #include <unistd.h> #include <getopt.h> #include <zmq.h> #include "metadata_exporter...
/*** VT100 Display Control Escape Sequences ***/ #define ClearScreen "\x1b[2J" #define CursorToTopLeft "\x1b[H" #define TildeReturnNewline "~\r\n" #define ReturnNewline "\r\n" #define CursorUp "\x1b[1A" ...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "../GenericErrorReport.h" /** * Helper that works with Windows Error Reports */ class FWindowsErrorReport : public FGenericErrorReport { public: /** * Default constructor: creates a report with no files */ FWindowsErrorReport(...
#ifndef _GND_MULTI_PLATFORM_H #define _GND_MULTI_PLATFORM_H // visual studio secure function #if defined(_MSC_VER) // visual studio #pragma warning(disable:4996) #else #endif #endif // _GND_MULTI_PLATFORM_H
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2014-2016 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
/*! * \copy * Copyright (c) 2009-2013, Cisco Systems * 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 abo...
#include <fatfs/fatfs.h> #include <base/kstd.h> #include <base/mem/alloc.h> unsigned fatfs_relclus_to_sect_fat32( fatfs_device_t *dev, unsigned cluster ){ //unsigned first_data_sector; unsigned first_sect; unsigned ret; // Return sector kprintf( "[%s] got here\n", __func__ ); first_sect = dev->bpb->reserved_se...
/* Copyright (c) 2014, x3x7apps(@gmail.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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions ...
/*- * Copyright (c) 1988, 1993 * The Regents of the University of California. 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 copy...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "IDocumentationModule.h" #include "IDocumentationPage.h" /** Invoked when someone clicks on a hyperlink. */ DECLARE_DELEGATE_OneParam( FOnNavigate, const FString& ) class FDocumentationStyle { public: FDocumentationStyle() : Conten...
#pragma once #include "cinder/app/AppNative.h" #include "chronotext/cinder/CinderSketch.h" #include "chronotext/utils/accel/AccelEvent.h" class CinderApp : public ci::app::AppNative { int startCount; int updateCount; int ticks; double t0; double elapsed; void start(); void stop(...
#import <UIKit/UIKit.h> #import "TTKeyboardphobia.h" #import "UIView+TTViewKeyboardAnimation.h" FOUNDATION_EXPORT double TTKeyboardphobiaVersionNumber; FOUNDATION_EXPORT const unsigned char TTKeyboardphobiaVersionString[];
/* $NetBSD: elf_machdep.h,v 1.1 2000/08/12 22:58:16 wdk Exp $ */ #include <mips/elf_machdep.h> #define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB #define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
// © 2015 Massachusetts Institute of Technology #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <errno.h> #include <math.h> #include <netax25/ax25.h> #include <netax25/axlib.h> #include <n...
// 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 ANDROID_WEBVIEW_BROWSER_AW_DOWNLOAD_MANAGER_DELEGATE_H_ #define ANDROID_WEBVIEW_BROWSER_AW_DOWNLOAD_MANAGER_DELEGATE_H_ #include <string> #i...
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
/* * Copyright (C) 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. ...
/* * 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. */ #pragma once #include <ABI41_0_0React/components/view/ConcreteViewShadowNode.h> #include <ABI41_0_0React/components/view/ViewProps...
#import <ABI43_0_0React/ABI43_0_0UIView+React.h> #import <CoreText/CoreText.h> #import "ABI43_0_0RNSVGFontData.h" @class ABI43_0_0RNSVGText; @class ABI43_0_0RNSVGGroup; @class ABI43_0_0RNSVGGlyphContext; @interface ABI43_0_0RNSVGGlyphContext : NSObject - (CTFontRef)getGlyphFont; - (instancetype)initWithWidth:(CGFlo...
/* * Written by J.T. Conklin, Apr 6, 1995 * Public domain. */ #ifndef _MACHINE_IEEEFP_H_ #define _MACHINE_IEEEFP_H_ typedef int fp_except; #define FP_X_IMP 0x01 /* imprecise (loss of precision) */ #define FP_X_DZ 0x02 /* divide-by-zero exception */ #define FP_X_UFL 0x04 /* underflow exception */ #define FP_X_OFL...
/* Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke 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 ...
/* * Copyright (c) 2019, The OpenThread Authors. * 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 ...
// // Created by Leland Richardson on 12/27/15. // Copyright (c) 2015 Facebook. All rights reserved. // #import <ABI41_0_0React/ABI41_0_0RCTViewManager.h> @interface ABI41_0_0AIRMapCircleManager : ABI41_0_0RCTViewManager @end
// ============================================================================ // // Copyright (c) 1999 The CGAL Consortium // // // // // // ---------------------------------------------------------------------------- // release : // release_date : // // file : ch__test.h // revision : $Id$ //...
/* * Copyright © 2009 CNRS * Copyright © 2009-2010 INRIA. All rights reserved. * Copyright © 2009, 2011 Université Bordeaux 1 * Copyright © 2011 Cisco Systems, Inc. All rights reserved. * See COPYING in top-level directory. */ /* The configuration file */ #ifndef HWLOC_DEBUG_H #define HWLOC_DEBUG_H #include ...
#pragma once #include "core/node.h" // Dot Parametric Rectifier Unit class DeepFlowDllExport DPRelu : public Node { public: DPRelu(deepflow::NodeParam *param); int minNumInputs() override { return 2; } int minNumOutputs() override { return 1; } std::string op_name() const override { return "dprelu"; } void init...
#include "espresso.h" #include <stdio.h> static void dump_irredundant(pset_family E, pset_family Rt, pset_family Rp, sm_matrix *table); static pcover do_minimize(pset_family F, pset_family D, pset_family R, int exact_cover, int weighted); /* * minimize_exact -- main entry point for exact minimization * * Global...
/************************************************ ast.h - $Author: wzq $ $Date: 2014/04/08 $ Copyright (C) 2014 Zheqin Wang ************************************************/ #ifndef AST_H #define AST_H #include "daim.h" enum dm_node_type { nd_kAssign = 1, nd_KAddAssign, nd_kSubAss...
#include <stdlib.h> #include <stdio.h> static void exit1() { exit(34); } int main() { atexit(exit1); abort(); }
// // SDLPhoneCapability.h // SmartDeviceLink-iOS // // Created by Joel Fischer on 7/11/17. // Copyright © 2017 smartdevicelink. All rights reserved. // #import "SDLRPCStruct.h" NS_ASSUME_NONNULL_BEGIN /** Extended capabilities of the module's phone feature */ @interface SDLPhoneCapability : SDLRPCStruct /// ...
/* * Copyright (c) 2010,2011,2012,2014,2015 Apple Inc. All rights reserved. * * corecrypto Internal Use License Agreement * * IMPORTANT: This Apple corecrypto software is supplied to you by Apple Inc. ("Apple") * in consideration of your agreement to the following terms, and your download or use * of this App...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__char_realloc_52a.c Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: sources-sinks-52a.tmpl.c */ /* * @description * CWE: 401 Memory Leak * BadSource: realloc Allocate data using realloc() * GoodSource: Allocate data on th...
// 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 UI_GL_GL_CONTEXT_EGL_H_ #define UI_GL_GL_CONTEXT_EGL_H_ #include <map> #include "base/compiler_specific.h" #include "ui/gl/gl_context.h" #in...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE467_Use_of_sizeof_on_Pointer_Type__short_01.c Label Definition File: CWE467_Use_of_sizeof_on_Pointer_Type.label.xml Template File: point-flaw-01.tmpl.c */ /* * @description * CWE: 467 Use of sizeof() on a Pointer Type * Sinks: short * GoodSink: Use sizeof...
/******************************************************************************* * * Copyright (c) 2010-2011 Michael Schulze <mschulze@ivs.cs.uni-magdeburg.de> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follow...
#ifndef _NETWINDER_CONF_H #define _NETWINDER_CONF_H #include <sys/conf.h> /* * NETWINDER specific device includes go in here */ #define CONF_HAVE_PCI #define CONF_HAVE_SCSIPI #define CONF_HAVE_WSCONS #endif /* _NETWINDER_CONF_H */
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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 cod...
/* inet/mq.c Created: Jan 3, 1992 by Philip Homburg */ #include "inet.h" #include "mq.h" #define MQ_SIZE 64 PRIVATE mq_t mq_list[MQ_SIZE]; PRIVATE mq_t *mq_freelist; void mq_init() { int i; mq_freelist= NULL; for (i= 0; i<MQ_SIZE; i++) { mq_list[i].mq_next= mq_freelist; mq_freelist= &mq_list[i]; } } mq...
/* $NetBSD: linux_blkio.h,v 1.2.4.1 2001/03/30 21:37:26 he Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. * All rights reserved. * * Written by Frank van der Linden for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
/* Copyright 1998-1999, Brian J. Swetland. All rights reserved. ** Distributed under the terms of the OpenBLT License */ #include "blt/error.h" #include "kernel.h" #include "resource.h" #include "rights.h" int right_create(uint32 rsrc_id, uint32 flags) { return ERR_NONE; } int right_destroy(uint32 right_id) { retu...
/* * Copyright (c) 2015, Xilinx Inc. and Contributors. 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 ...
// SDLListFilesResponse.h // // Copyright (c) 2014 Ford Motor Company. All rights reserved. #import <Foundation/Foundation.h> #import <SmartDeviceLink/SDLRPCResponse.h> @interface SDLListFilesResponse : SDLRPCResponse {} -(id) init; -(id) initWithDictionary:(NSMutableDictionary*) dict; @property(strong) NSMutable...
/* Copyright (c) nasser-sh 2016 * * Distributed under BSD-style license. See accompanying LICENSE.txt in project * directory. */ #pragma once #ifdef _WIN32 #include <afxwin.h> #include "WindowsGL.h" #endif
// // kfsfileid.h // KFS // // Copyright (c) 2012, FadingRed LLC // 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 copyr...
#include <stdio.h> #include <curses.h> int cmd_example_test(int argc, char* argv[]) { printw("Example test command\n"); return 0; }
#ifndef __CRYPTO_H__ #define __CRYPTO_H__ #include "stdafx.h" #ifndef keybits #define ebits 48 #define keybits 528 #endif unsigned int CrpB(char* crp, char* p, int len, const unsigned short * e, const unsigned short *n, short KeyBits=keybits); unsigned int DCrpB(char* dcrp, int* dlen, char* c, int len, const unsi...
/*****************************************************************************/ /** * @file ResultData.h * @author Guo Jiazhen */ /*****************************************************************************/ #ifndef KVS__FSTR__RESULT_DATA_H_INCLUDE #define KVS__FSTR__RESULT_DATA_H_INCLUDE #include <iostream> ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_ncpy_53a.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml Template File: sources-sink-53a.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Initialize dat...
#ifndef _FBUFFER_H_ #define _FBUFFER_H_ #include "ruby.h" #ifndef RHASH_SIZE #define RHASH_SIZE(hsh) (RHASH(hsh)->tbl->num_entries) #endif #ifndef RFLOAT_VALUE #define RFLOAT_VALUE(val) (RFLOAT(val)->value) #endif #ifndef RARRAY_PTR #define RARRAY_PTR(ARRAY) RARRAY(ARRAY)->ptr #endif #ifndef RARRAY_LEN #define RAR...
// Copyright 2019 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_TEST_MEDIA_START_STOP_OBSERVER_H_ #define CONTENT_PUBLIC_TEST_MEDIA_START_STOP_OBSERVER_H_ #include "base/macros.h" #include "base...
// Copyright 2016-present 650 Industries. All rights reserved. #import <ABI39_0_0UMCore/ABI39_0_0UMViewManager.h> #import <ABI39_0_0UMCore/ABI39_0_0UMModuleRegistryConsumer.h> @interface ABI39_0_0EXModuleTemplateViewManager : ABI39_0_0UMViewManager <ABI39_0_0UMModuleRegistryConsumer> @end
// // SplitterChannel.h // // $Id$ // // Library: Foundation // Package: Logging // Module: SplitterChannel // // Definition of the SplitterChannel class. // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person...
/*- * Copyright (c) 1997, Stefan Esser <se@FreeBSD.ORG> * Copyright (c) 1997, 1998, 1999, Kenneth D. Merry <ken@FreeBSD.ORG> * 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...
// Copyright 2020 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 THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_ISOLATE_H_ #define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_ISOLATE_H_ #include <memory> #include "third_part...
/* * Copyright © 2018, VideoLAN and dav1d authors * Copyright © 2018, Two Orioles, LLC * 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...
// -*- c++ -*- /*========================================================================= Program: Visualization Toolkit Module: vtkSubCommunicator.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * * Copyright (C) 1997 University of Chicago. * See COPYRIGHT notice in top-level directory. */ #include "mpioimpl.h" #ifdef HAVE_WEAK_SYMBOLS #if defined(HAVE_PRAGMA_WEAK) #pragma weak MPI_File_read_all_begin = PMPI_File_read_all_begin #elif defined(HAVE_PRAGMA...
/* * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". * * Author: Ceriel J.H. Jacobs */ /* $Id$ */ double fabs(double x) { return x < 0 ? -x : x; }
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2018, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
/* Arbitrary precision integer * * Copyright (C) 2015 Yibo Cai */ #pragma once #ifdef _TT_LP64_ /* 64 bit */ typedef uint64_t _tt_word; typedef __uint128_t _tt_word_double; #define _tt_word_sz 8 #define _tt_word_bits 63 #define _tt_word_top_bit (1ULL << 63) #else /* 32 bit */ typedef uint _tt_word; typedef uint...
/***************************************************************************\ * * PROGRAMMNAME: WPDCF77 * ------------- * * VERSION: 6.0 * -------- * * MODULNAME: LOCALE.H * ---------- * * BESCHREIBUNG: * ------------- * Header-Datei mit allgemeinen Definitionen fr die Uhr * * Ver. Date Comme...
/* ///////////////////////////////////////////////////////////////////////// * File: pantheios/implicit_link/ber.WindowsEventLog.h * * Purpose: Implicitly links in the Pantheios Windows Event Log Remote Back-End Library * * Created: 4th January 2006 * Updated: 29th June 2016 * * Home: http://pantheios.org...
/******************************************************************************* * * Filename: main.c * * Basic entry points for top-level functions * * Revision information: * * 20AUG2004 kb_admin initial creation * 12JAN2005 kb_admin cosmetic changes * 29APR2005 kb_admin modified boot delay * * BEGIN_KBDD...
/* * Copyright (c) 2012,2015 Apple Inc. All rights reserved. * * corecrypto Internal Use License Agreement * * IMPORTANT: This Apple corecrypto software is supplied to you by Apple Inc. ("Apple") * in consideration of your agreement to the following terms, and your download or use * of this Apple software con...
/* * Copyright (c) 2011-2014, 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 copyright notice, this * list of...
/* Copyright (C) 2005 Commonwealth Scientific and Industrial Research Organisation (CSIRO) Australia 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 copyrig...