text
stringlengths
4
6.14k
#pragma once /*************************************************************** * This source files comes from the xLights project * https://www.xlights.org * https://github.com/smeighan/xLights * See the github commit history for a record of contributing * developers. * Copyright claimed based on commit dates rec...
/****************************************************************************/ /* Entropic (Shanghai) Co, LTD */ /* SOFTWARE FILE/MODULE HEADER */ /* Copyright Entropic Co, LTD */ ...
/* * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com> * * This file is part of CasparCG (www.casparcg.com). * * CasparCG 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 3 of the Lic...
#pragma once #include <thread> class ComputationThread { public: void Start(); protected: std::thread mThread; virtual ~ComputationThread(); virtual void Calculate() = 0; public: void join(); };
/* * Unix SMB/CIFS implementation. * Samba system utilities * Copyright (C) Jeremy Allison 2000 * * 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 3 of the License, or * ...
#ifndef WID_PROJEKTI_H #define WID_PROJEKTI_H #include <QWidget> namespace Ui { class wid_projekti; } class wid_projekti : public QWidget { Q_OBJECT public: explicit wid_projekti(QWidget *parent = 0); ~wid_projekti(); private slots: void on_cb_stranka_currentIndexChanged(); void on_cb_mesec_curre...
/** * @file ol_player_mpris.h * @author Tiger Soldier <tigersoldi@gmail.com> * @date Sun Jun 7 16:53:56 2009 * * @brief Supports all players that provides MPRIS interface * */ #ifndef _OL_PLAYER_MPRIS_H_ #define _OL_PLAYER_MPRIS_H_ #include "ol_music_info.h" typedef struct { DBusGProxy *proxy; gcha...
/* Copyright (C) 2013 Statoil ASA, Norway. The file 'ecl_kw_equal.c' is part of ERT - Ensemble based Reservoir Tool. ERT 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...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 d...
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
/* ** PCDebugger ** ** Copyright (c) 2008 ** ** Author: Gregory Casamento <greg_casamento@yahoo.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 Software Foundation; either version 2 of the License, ...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Linguist of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid com...
/* Test suite for version-etc. Copyright (C) 2009-2019 Free Software Foundation, Inc. This file is part of the GNUlib Library. 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 ve...
#ifndef MANTID_CRYSTAL_DISJOINTELEMENTTEST_H_ #define MANTID_CRYSTAL_DISJOINTELEMENTTEST_H_ #include <cxxtest/TestSuite.h> #include <boost/shared_ptr.hpp> #include <boost/make_shared.hpp> #include "MantidCrystal/DisjointElement.h" using Mantid::Crystal::DisjointElement; class DisjointElementTest : public CxxTest::Te...
//Copyright 2015 Roger Bassons #include <SDL2/SDL.h> class Paddle { public: Paddle(); void setSize(int width, int height); void setPosition(int x, int y); int getX() const; int getY() const; int getWidth() const; int getHeight() const; void accelerateUp(); void accelerateDown(); void stop(); void move(int...
#ifndef AUTOSTART_H #define AUTOSTART_H #include <QDialog> #include "../component/kylinlistwidget.h" #include "../component/kylintitlebar.h" #include "../component/autogroup.h" //class KylinTitleBar; //#include <QScrollArea> //#include "../component/kylinscrollarea.h" #include "../component/testscrollwidget.h" clas...
/* * Copyright (C) 2007-2013 Dyson Technology Ltd, all rights reserved. * * 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 3 of the License, or * (at your option) any later v...
// // TVHDebugLytics.h // TvhClient // // Created by Luis Fernandes on 01/11/13. // Copyright (c) 2013 Luis Fernandes. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
// ======================================================================== // // Copyright 2009-2014 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
#ifndef _ARCH_I386_PIC_H #define _ARCH_I386_PIC_H #include <stdint.h> #include <arch/i386/portio.h> #define PIC_MASTER 0x20 #define PIC_SLAVE 0xA0 #define PIC_COMMAND 0x00 #define PIC_DATA 0x01 #define PIC_CMD_ENDINTR 0x20 #define PIC_ICW1_ICW4 0x01 #define PIC_ICW1_SINGLE 0x02 #define PIC_ICW1_INTERVAL4 0x04 #defin...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
/* Copyright (C) 2010 William Hart This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) a...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
/* * libvirt-sandbox-console.h: libvirt sandbox console * * Copyright (C) 2011 Red Hat, Inc. * * 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,...
/* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */ /* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */ #ifndef TEST_H #define TEST_H #include <QString> #include <QPointer> #include <MApplication> #include <MButton> #include <alerttone.h> class MApplicationWindow; class MApp...
/* ugens5.h: Copyright (C) 1991 Barry Vercoe, John ffitch, Gabriel Maldonado This file is part of Csound. The Csound 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...
/* Copyright (C) 2012, 2013 Fredrik Johansson This file is part of Arb. Arb is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your op...
/* * Copyright 2016 Red Hat Inc., Durham, North Carolina. * All Rights Reserved. * * 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 ...
//===-- MBlazeMCTargetDesc.h - MBlaze Target Descriptions -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#ifndef _ASM_RISCV_SETUP_H #define _ASM_RISCV_SETUP_H #include <asm-generic/setup.h> #endif /* _ASM_RISCV_SETUP_H */
/* cstool.h -- Generated automatically; do not edit. */ #ifndef __CSTOOL_H__ #define __CSTOOL_H__ /* 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 Lic...
/* Copyright (C) 2020 William Hart This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) a...
// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // #ifndef BALL_VIEW_RENDERING_TILINGRENDERER_H #define BALL_VIEW_RENDERING_TILINGRENDERER_H #ifndef BALL_VIEW_RENDERING_RENDERERS_RENDERER_H # include <BALL/VIEW/RENDERING/RENDERERS/renderer.h> #endif #ifndef BALL_VIEW_RENDERING_RENDERTARGET_H # include <BALL/VIE...
#ifndef _CONFIG_H_ #define _CONFIG_H_ #define USE_COMPACT_KISS_FFT //#define USE_KISS_FFT #ifdef WIN32 //#define FIXED_POINT #define inline __inline #define restrict #elif defined (__TCS__) #define FIXED_POINT #define PREPROCESS_MDF_FLOAT #define TM_ASM #define TM_DEBUGMEM_ALIGNNMENT 1 #define TM_P...
#ifndef __AF_RESAMPLE_H_ #define __AF_RESAMPLE_H_ af_priv_t* af_open_resample(int rate, int nch, int format, int bps); int af_init_resample(af_priv_t* af,af_data_t *data); void af_uninit_resample(af_priv_t* af); #endif
/* * 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 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/libcore/luni/src/main/java/java/nio/ByteBuffer.java // #ifndef _JavaNioByteBuffer_H_ #define _JavaNioByteBuffer_H_ @class IOSByteArray; @class JavaNioByteOrder; @class JavaNioCharBuffer; @class JavaNioDoubleBuffer; @class JavaNioFloatBuffer;...
#ifndef WS2812_h #define WS2812_h #include <SmingCore.h> // Byte triples in the buffer are interpreted as R G B values and sent to the hardware as G R B. void ICACHE_FLASH_ATTR ws2812_writergb(uint8_t gpio, char *buffer, size_t length); #endif
/** @defgroup adc_defines ADC Defines * * @brief <b>Defined Constants and Types for the STM32L4xx Analog to Digital * Converter</b> * * @ingroup STM32L4xx_defines * * @version 1.0.0 * * @date 24 Oct 2015 * * LGPL License Terms @ref lgpl_license */ /* * This file is part of the libopencm3 project. * * Cop...
/*********************************************************************** This file is part of the LidarFormat project source files. LidarFormat is an open source library for efficiently handling 3D point clouds with a variable number of attributes at runtime. Homepage: http://code.google.com/p/lidarformat ...
// // UILabel+SFAddition.h // SimpleFramework // // Created by yangzexin on 13-7-29. // Copyright (c) 2013年 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> @interface UILabel (SFAddition) - (CGFloat)fitHeightByTextUsingCurrentFontWithMaxNumOfLines:(NSInteger)maxNumOfLines; - (CGFloat...
// // JEditLeadPlanVC.h // JieXinIphone // // Created by Jeffrey on 14-4-30. // Copyright (c) 2014年 sunboxsoft. All rights reserved. // #import "JAdminLeadPlanVC.h" @interface JEditLeadPlanVC : JAdminLeadPlanVC -(id)editLeadPlan:(NSString*)title type:(NSString*)type person:(NSArray*)person time:(NSArray*)time add...
/* * Copyright 2012 ZXing 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 ...
#ifndef __NATIVEWIN_H__ #define __NATIVEWIN_H__ #include <EGL/egl.h> void OnNativeWinResize(int width, int height); void OnNativeWinMouseMove(int mousex, int mousey, bool lbutton); bool OpenNativeDisplay(EGLNativeDisplayType* nativedisp_out); void CloseNativeDisplay(EGLNativeDisplayType nativedisp); bool CreateNa...
/** @file A brief file description @section license License 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 und...
/* * 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...
// Copyright (c) 2018, Arm Limited and affiliates. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #ifndef UTIL_CRC32C_ARM64_H #define UTIL_CRC32C_ARM64...
#ifndef FIBERPROCESSING_H #define FIBERPROCESSING_H #include <string> #include <cmath> #include <memory> #include <iostream> #include <fstream> #include <stdio.h> #include <math.h> #include <numeric> #include <algorithm> #include <vtkCellArray.h> #include <vtkPolyLine.h> #include <vtkVersion.h> #include <itkSpatialOb...
// Copyright 2011-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
#pragma once #include "source/extensions/filters/network/thrift_proxy/metadata.h" #include "source/extensions/filters/network/thrift_proxy/thrift.h" namespace Envoy { namespace Extensions { namespace NetworkFilters { namespace ThriftProxy { enum class FilterStatus { // Continue filter chain iteration. Continue, ...
#ifndef __SK_TYPE_DEF_H__ #define __SK_TYPE_DEF_H__ /** * Describes how to interpret the alpha compoent of a pixel. */ enum SkAlphaType { /** * All pixels should be treated as opaque, regardless of the value stored * in their alpha field. Used for legacy images that wrote 0 or garbarge * in t...
/* * this file (combined.c) is malloc.c, free.c, and realloc.c, combined into * one file, because the malloc.o in libc defined malloc, realloc, and free, * and libc sometimes invokes realloc, which can greatly confuse things * in the linking process... * * $Id: combined.c,v 1.1 1993/10/26 06:52:17 cgd Exp $ */ ...
// Modifications copyright (C) 2017, Baidu.com, Inc. // Copyright 2017 The Apache Software Foundation // 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. ...
/** * Class for the LogonUser call. * * Copyright 2013 Thincast Technologies GmbH * Copyright 2013 DI (FH) Martin Haimberger <martin.haimberger@thincast.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 ...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
// // GetMessageFromWXResp+responseWithTextOrMediaMessage.h // SDKSample // // Created by Jeason on 15/7/14. // // #import "WXApiObject.h" #import <UIKit/UIKit.h> @interface GetMessageFromWXResp (responseWithTextOrMediaMessage) + (GetMessageFromWXResp *)responseWithText:(NSString *)text ...
#include "esp_log.h" #include "driver/uart.h" #include "minmea.h" #define GPS_TX_PIN (34) static char tag[] = "gps"; char *readLine(uart_port_t uart) { static char line[256]; int size; char *ptr = line; while(1) { size = uart_read_bytes(uart, (unsigned char *)ptr, 1, portMAX_DELAY); if (size == 1) { if (*...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
/* * Copyright 1992 Network Computing Devices * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission not...
// // ExtremeGeocoder.h // // // Created by yangzexin on 12-10-11. // // #import <Foundation/Foundation.h> #import "SFGeocoder.h" @interface SFExtremeGeocoder : NSObject <SFGeocoder> - (id)initWithGeocoders:(NSArray *)gecoders; @end
/* * Copyright (c) 2017 Linaro Limited * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __DT_BINDING_ST_MEM_H #define __DT_BINDING_ST_MEM_H #define __SIZE_K(x) (x * 1024) #if defined(CONFIG_SOC_STM32F103X8) #define DT_FLASH_SIZE __SIZE_K(64) #define DT_SRAM_SIZE __SIZE_K(20) #elif defined(CONFIG_SOC_STM32F103...
/**** Copyright 2005-2007, Moshe Looks and Novamente LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
#pragma once #include <stdint.h> #include "il2cpp-config.h" #include "object-internals.h" struct Il2CppObject; struct Il2CppDelegate; struct Il2CppReflectionType; struct Il2CppReflectionMethod; struct Il2CppReflectionField; struct Il2CppArray; struct Il2CppException; struct Il2CppReflectionModule; struct Il2CppAssemb...
#pragma once #include <cstdint> #include <list> #include <memory> #include "envoy/event/deferred_deletable.h" #include "envoy/event/timer.h" #include "envoy/http/codec.h" #include "envoy/http/conn_pool.h" #include "envoy/network/connection.h" #include "envoy/stats/timespan.h" #include "envoy/upstream/upstream.h" #in...
/* xpmap.h */ /* mmap() style cross-platform development wrappers */ /* $Id: xpmap.h,v 1.4 2014/02/10 09:20:44 deuce Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro....
/* * THE UNICODE TEST SUITE FOR CINDER: https://github.com/arielm/Unicode * COPYRIGHT (C) 2013, ARIEL MALKA ALL RIGHTS RESERVED. * * THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE MODIFIED BSD LICENSE: * https://github.com/arielm/Unicode/blob/master/LICENSE.md */ #pragma once #include "GlyphData.h" #include...
/* raw os - Copyright (C) Lingjun Chen(jorya_txj). This file is part of raw os. raw os is free software; you can redistribute it it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later ve...
/**************************************************************************** * Copyright (c) 2012, the Konoha project 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: * * * Redistributi...
/* $Date$ $RCSfile$ $Revision$ */ #ifndef CHELSIO_TP_H #define CHELSIO_TP_H #include "common.h" #define TP_MAX_RX_COALESCING_SIZE 16224U struct tp_mib_statistics { /* IP */ u32 ipInReceive_hi; u32 ipInReceive_lo; u32 ipInHdrErrors_hi; u32 ipInHdrErrors_lo; u32 ipInAddrErrors_hi; u32 ipInAddrErrors_lo; u32 i...
#ifndef SYSTEM_SAM4S_H_INCLUDED #define SYSTEM_SAM4S_H_INCLUDED #ifdef __cplusplus extern "C" { #endif #include <stdint.h> extern uint32_t SystemCoreClock ; /* System Clock Frequency (Core Clock) */ /** * @brief Setup the microcontroller system. * Initialize the System and update the SystemCoreClock variable. */...
/** * @file * @brief TODO * * @date 24.02.10 * @author Eldar Abusalimov */ #include <unistd.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <stdint.h> #include <framework/mod/api.h> static void print_usage(void) { printf("Usage: lsmod [-qdlhp:n:]\n"); } static void mod_print(const struc...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
/* * Copyright (c) Citrix Systems, 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...
// address: 0x104f4 int main(int argc, char *argv[], char *envp[]) { unsigned int local0; // m[o6 - 12] int local1; // m[o6 - 412] unsigned int local2; // m[o6 - 4] int o0; // r8 __isoc99_scanf(); local2 = 0; while ((int)local2 < (int)local0) { __isoc99_scanf(); loca...
/* * Copyright (c) The Shogun Machine Learning Toolbox * Written (w) 2015 Wu Lin * 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...
//##################################################################### // Class Zero //##################################################################### #pragma once #include <iostream> namespace geode { struct Zero { explicit operator bool() const { return false; } Zero operator-() const { return...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_memmove_54b.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml Template File: sources-sink-54b.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Initialize ...
#ifndef ZFLYEMNEURONFILTERTASKMANAGER_H #define ZFLYEMNEURONFILTERTASKMANAGER_H #include <QVector> #include "zmultitaskmanager.h" #include "ztask.h" class ZFlyEmNeuron; class ZFlyEmNeuronFilter; class ZFlyEmNeuronFilterTask : public ZTask { Q_OBJECT public: ZFlyEmNeuronFilterTask(); inline void setTest(ZFlyE...
// // OCHamcrest - NSObject_HCSelfDescribingValue.h // Copyright 2009 www.hamcrest.org. See LICENSE.txt // // Created by: Jon Reid // // Mac #import <Foundation/Foundation.h> @protocol HCDescription; /** This category allows any object to satisfy the HCSelfDescribing protocol. */ @interface NSObject (HCS...
/*=================================================================== 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...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE193_char_declare_ncpy_06.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE193.label.xml Template File: sources-sink-06.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Point dat...
// Copyright 2018 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_BROWSER_MEDIA_AUDIO_MUTING_SESSION_H_ #define CONTENT_BROWSER_MEDIA_AUDIO_MUTING_SESSION_H_ #include "base/unguessable_token.h" #include ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE690_NULL_Deref_From_Return__int_malloc_65b.c Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml Template File: source-sinks-65b.tmpl.c */ /* * @description * CWE: 690 Unchecked Return Value To NULL Pointer * BadSource: malloc Allocate data usi...
// Version: $Id$ // // // Commentary: // // // Change Log: // // // Code: #pragma once #include "dtkComposerExport.h" #include "dtkComposerMetaType.h" #include <QtCore> class dtkComposerNode; class dtkComposerTransmitterPrivate; class dtkComposerTransmitterLink; class dtkComposerTransmitterLinkList; class dtkCom...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__dest_char_alloca_cpy_65b.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__dest.label.xml Template File: sources-sink-65b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Set data poin...
/* * libjingle * Copyright 2004--2010, Google Inc. * * 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 and...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_memmove_81.h Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml Template File: sources-sink-81.tmpl.h */ /* * @description * CWE: 195 Signed to Unsigned Conversion Error * BadSource: fsca...
// 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_UI_VIEWS_ASH_USER_ACTION_HANDLER_H_ #define CHROME_BROWSER_UI_VIEWS_ASH_USER_ACTION_HANDLER_H_ #include "base/basictypes.h" #i...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE253_Incorrect_Check_of_Function_Return_Value__wchar_t_fwrite_13.c Label Definition File: CWE253_Incorrect_Check_of_Function_Return_Value.label.xml Template File: point-flaw-13.tmpl.c */ /* * @description * CWE: 253 Incorrect Check of Return Value * Sinks: fwri...
/**************************************************************************** * * Copyright (c) 2006 Dave Hylands <dhylands@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free So...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE506_Embedded_Malicious_Code__w32_email_02.c Label Definition File: CWE506_Embedded_Malicious_Code__w32.badonly.label.xml Template File: point-flaw-badonly-02.tmpl.c */ /* * @description * CWE: 506 Embedded Malicious Code * Sinks: email * BadSink : Send an...
//===-- MICmdCmdSupportList.h -----------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * include/asm-s390/cache.h * * S390 version * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * * Derived from "include/asm-i386/cache.h" * Copyright (C) 1992, Linus Torvalds */ #ifndef __ARCH_S390_CACHE_H #define __ARCH_S390_CACHE_H #define L1_CACHE_BYTES 256 #define L1_C...
#ifndef LIBETPAN_CONFIG_H #define LIBETPAN_CONFIG_H #ifdef WIN32 # define PATH_MAX 512 // Windows API security level # define SECURITY_WIN32 # ifdef __cplusplus # define PropVariantInit __inline PropVariantInit # pragma warning( push ) # pragma warning( disable : 4005 4141 ) # endif # include <tchar.h> # includ...
// 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 AnimationNodeTiming_h #define AnimationNodeTiming_h #include "bindings/core/v8/Nullable.h" #include "bindings/core/v8/ScriptWrappable.h" #include...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE400_Resource_Exhaustion__connect_socket_fwrite_54c.c Label Definition File: CWE400_Resource_Exhaustion.label.xml Template File: sources-sinks-54c.tmpl.c */ /* * @description * CWE: 400 Resource Exhaustion * BadSource: connect_socket Read data using a connect s...
#ifndef __ALEMBIC_SPLINE_TOPO_MODIFIER__H #define __ALEMBIC_SPLINE_TOPO_MODIFIER__H #include "AlembicDefinitions.h" #include "AlembicNames.h" #include "AlembicSplineUtilities.h" #include "resource.h" class AlembicSplineTopoModifier : public Modifier { public: IParamBlock2 *pblock; // Parameters in first block: ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_char_declare_snprintf_12.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.string.label.xml Template File: sources-sink-12.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource:...
#include "erfa.h" void eraEceq06(double date1, double date2, double dl, double db, double *dr, double *dd) /* ** - - - - - - - - - - ** e r a E c e q 0 6 ** - - - - - - - - - - ** ** Transformation from ecliptic coordinates (mean equinox and ecliptic ** of date) to ICRS RA,Dec, using the IAU 2006 ...