text
stringlengths
4
6.14k
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_char_snprintf_65a.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml Template File: sources-sink-65a.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: All...
#ifndef CAMERA_SETTINGS_H_ #define CAMERA_SETTINGS_H_ #ifndef _CYCLOPS_RESOLUTION_ #define _CYCLOPS_RESOLUTION_ 128 #endif #define _CYCLOPS_RESOLUTION_H _CYCLOPS_RESOLUTION_ //non square not fully implimented yet #define _CYCLOPS_RESOLUTION_W _CYCLOPS_RESOLUTION_ #ifndef _CYCLOPS_COLOR_DEPTH_ #define _CYCLOPS_COLO...
// tools.h // // Copyright (c) 2014 Sébastien MICHOY // // 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 fo...
/* FreeRTOS+TCP V2.0.7 Copyright (C) 2017 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 without lim...
#ifndef PARSER_H_ #define PARSER_H_ #include <string> #include <vector> #include <iostream> #include <fstream> #include <sstream> class Parser { public: void Init(const std::string &filename); bool GetData(std::vector<double> &d); private: std::vector<std::vector<double> > data...
/****************************************************************************** * * file: Visitor.h * * Copyright (c) 2003, Michael E. Smoot . * All rights reverved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS IS_, W...
/**************************************************************************** ** ** Copyright (C) 2004-2005 Trolltech AS. All rights reserved. ** ** This file is part of the documentation of the Qt Toolkit. ** ** This file may be used under the terms of the GNU General Public ** License version 2.0 as published ...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
/* TxSSA: Tech-X Sparse Spectral Approximation Copyright (C) 2012 Tech-X Corporation, 5621 Arapahoe Ave, Boulder CO 80303 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 abo...
/*=================================================================== 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...
// Copyright 2017-present 650 Industries. All rights reserved. #import <ABI43_0_0ExpoModulesCore/ABI43_0_0EXPermissionsInterface.h> @interface ABI43_0_0EXFacebookAdsAppTrackingPermissionRequester : NSObject<ABI43_0_0EXPermissionsRequester> @end
/***************************************************************************** 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...
// 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. // This file is of the same format as file that generated by // base/android/jni_generator/jni_generator.py // For // com/google/vr/cardboard/Disp...
/* * Copyright (c) 2009, Cybozu Labs, 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: * * * Redistributions of source code must retain the above copyright notice, * this list of c...
#include <stdio.h> #include <stdlib.h> #include "Logging.h" #include "memutils.h" #include "path.h" int main(int argc, char *argv[]){ char *currDir = NULL; char relPath[] = "../doc"; char testPart[] = "/foo/bar/test.txt"; char *filePart = NULL; char *newDir = NULL; Logging_setup(argv[0], LOG_TOSTDERR | LOG...
#ifndef edan_internal_variant_layout_base_h_ #define edan_internal_variant_layout_base_h_ #include<utility> #include<memory> #include<vector> #include<variant> #include<string> namespace edan { template < //class Self, class Tb_ > class basic_layout_dataset_variant_base { public: std::variant <...
#ifndef DALE_LEXER #define DALE_LEXER #include <vector> #include "../Error/Error.h" #include "../Token/Token.h" #include "../Utils/Utils.h" namespace dale { /*! Lexer The lexer class. A new lexer should be created for each file: see Unit. */ class Lexer { private: /*! The file pointer for the curre...
#ifndef __UI_EDITOR_INTROSPECTION_PROPERTY__ #define __UI_EDITOR_INTROSPECTION_PROPERTY__ #include "ValueProperty.h" namespace DAVA { class UIControl; class UIDataBindingComponent; class UILayoutSourceRectComponent; } class IntrospectionProperty : public ValueProperty { public: IntrospectionProperty(DAVA::BaseOb...
/** Copyright 2009-2017 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
/* dlasq5.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__char_min_postdec_03.c Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-03.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: min Set data to the min value for char * GoodSource: ...
#import "DBStatusBackgroundView.h" #import "DBStatusBarItemView.h" @class DBStatusWindowController; @protocol PanelControllerDelegate <NSObject> @optional - (DBStatusBarItemView *)statusItemViewForPanelController:(DBStatusWindowController *)controller; @end #pragma mark - @interface DBStatusWindowController : NS...
// // Created by mwo on 6/11/15. // #ifndef XMREG01_CMDLINEOPTIONS_H #define XMREG01_CMDLINEOPTIONS_H #include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/optional.hpp> namespace xmreg { using namespace std; using namespace boost::program_options; /** * Manag...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2011-2016. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
/* process text input from stdin write parsed output to stdout utterances terminated with newline type "quit" to exit */ #include <stdio.h> #include <ctype.h> #include <string.h> #include "parse.h" #include "pconf.h" #include "globals_parse.h" void strip_line(); extern char dict_file[LABEL_LEN], priority_...
// 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 CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ #define CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ #include "b...
#ifndef SHELL_DEBUGGER_H #define SHELL_DEBUGGER_H #include "reos_debugger.h" #ifdef __cplusplus extern "C" { #endif typedef struct ShellDebuggerData ShellDebuggerData; typedef struct ShellDebuggerCommand ShellDebuggerCommand; typedef struct ShellDebuggerOption ShellDebuggerOption; typedef struct ShellBreakCondition ...
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
#include "../../lib/libduck.h" int main(void); int main(void) { puts("Tasks linked list:\n"); __asm__("int $0x82" ::"a"(0x05)); }
#ifndef OPTIM_UTILS_H #define OPTIM_UTILS_H #include <cstdio> #include <vector> #include <cassert> #include <cmath> #include <float.h> #include "matrix.h" //Compute the gradient by central difference std::vector<double> gradient(double (*f)(std::vector<double>), const std::vector<double>& x, double tol) { std::vect...
/* * alloc.c * * memory allocation and deallocation * * David A. McGrew * Cisco Systems, Inc. */ /* * * Copyright (c) 2001-2006 Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following cond...
// 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. #import <Flutter/Flutter.h> #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MockBinaryMessenger : NSObject <FlutterBinaryMessenger> ...
#pragma once #include <memory> #include <SFGUI/SFGUI.hpp> #include "chatwindow.h" class IGame; namespace Gui{ class BamGui { public: void buttonClick(); void init(IGame& game); void display(sf::RenderWindow& target); void handleEvent(sf::Event& event); void logic(); bool hasFocus(); private: ...
// // TestConvenienceCategories.h // CoreData+JSON // // Copyright (c) 2010, emdentec (Elliot Neal) // 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 ...
/* * Copyright (c) 2016 CartoDB. All rights reserved. * Copying and using this code is allowed only according * to license terms, as given in https://cartodb.com/terms/ */ #ifndef _CARTO_GEOMUTILS_H_ #define _CARTO_GEOMUTILS_H_ #include <vector> namespace carto { class MapBounds; class MapPos; class ...
// Copyright (c) 2009 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_HISTORY_DOWNLOAD_DATABASE_H_ #define CHROME_BROWSER_HISTORY_DOWNLOAD_DATABASE_H_ #include "chrome/browser/history/history_type...
// 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 BASE_TEST_PARALLEL_TEST_LAUNCHER_H_ #define BASE_TEST_PARALLEL_TEST_LAUNCHER_H_ #include <map> #include <string> #include "base/callback.h" #inc...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_connect_socket_postinc_52c.c Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-52c.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: connect_socket Read data using a connect ...
#pragma once #ifndef __DAVA_Reflection__ #include "Reflection/Reflection.h" #endif #define IMPL__DAVA_REFLECTION(Cls) \ template <typename FT__> \ friend struct DAVA::ReflectionDetail::ReflectionInitializerRunner; \ static void Dava__ReflectionInitializer() { Dava__ReflectionInitializerS(); } \ static...
/* ///////////////////////////////////////////////////////////////////////// * File: incl.unixstl.h * * Purpose: #includes the UNIXSTL root header and verifies the version. * * Created: 8th November 2007 * Updated: 10th January 2017 * * Home: http://recls.org/ * * Copyright (c) 2003-...
#ifndef __APARSE_H__ #define __APARSE_H__ #include <string> #include <vector> #include <map> using namespace std; struct NumElement; struct Expression; struct MutiCheckNode; typedef enum CompareOperator { COPER_EQUAL, COPER_NOTEQUAL, COPER_LESS, COPER_BIG, COPER_NUMBER }; typedef enum ValueType...
/* * Copyright 2018 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
/* $NetBSD: db_memrw.c,v 1.3 2003/08/10 22:22:31 scw Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. * All rights reserved. * * Written by Steve C. Woodford for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
#include <stdlib.h> #include <string.h> #include <errno.h> #include <onevision/3dmodel/cloud.h> int cloud_allocate_data( cloud_t* nuage, size_t size, void* data ) { int i ; nuage->data_size = size ; nuage->data = malloc ( nuage->nb_points * size ) ; if ( nuage->points == NULL ) { errno = ENOMEM ; return -1 ; ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__int_listen_socket_predec_54b.c Label Definition File: CWE191_Integer_Underflow__int.label.xml Template File: sources-sinks-54b.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: listen_socket Read data using a listen s...
/* * Copyright (c) 1980, 1986, 1989, 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...
// 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 CHROME_BROWSER_EXTENSIONS_API_MDNS_MDNS_API_H_ #define CHROME_BROWSER_EXTENSIONS_API_MDNS_MDNS_API_H_ #include <map> #include <set> #include <str...
/* Version of 20 September 1989. */ typedef unsigned char ByteType; typedef unsigned int HalfWord; typedef unsigned short QuarterWord; struct JtR_FEAL8_CTX { QuarterWord K[16]; HalfWord K89; HalfWord K1011; HalfWord K1213; HalfWord K1415; }; void feal_SetKey(ByteType * KP, st...
/* Copyright (c) 2012 The Chromium OS 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 CRAS_CARD_CONFIG_H_ #define CRAS_CARD_CONFIG_H_ struct cras_card_config; struct cras_volume_curve; /* Creates a configuration based o...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_console_system_82.h Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml Template File: sources-sink-82.tmpl.h */ /* * @description * CWE: 78 OS Command Injection * BadSource: console Read input from the console ...
// 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 COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGATE_H_ #define COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGA...
#pragma once #include <avr-halib/interrupts/interrupt.h> #include <avr-halib/interrupts/InterruptManager/InterruptBinding.h> #include <avr-halib/interrupts/InterruptManager/Slot.h> #include <boost/mpl/vector.hpp> namespace avr_halib { namespace interrupts { namespace atmega128rfa1 { struct Timer5 { /*...
// Copyright (c) 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 COMPONENTS_SEARCH_ENGINES_ANDROID_TEMPLATE_URL_SERVICE_ANDROID_H_ #define COMPONENTS_SEARCH_ENGINES_ANDROID_TEMPLATE_URL_SERVICE_ANDROID_H_ #...
/* -*- Mode: C; tab-width:2 -*- */ /* ex: set ts=2 shiftwidth=2 softtabstop=2 cindent: */ #include <sys_module.h> #include <string.h> #define LED_DEBUG #include <led_dbg.h> #define BASE_NODE_ID 0 #define TEST_PID DFLT_APP_ID0 #define OTHER_PID DFLT_APP_ID1 /* this is a new message type which specifies our test driv...
/* * Copyright (c) 2004-2005, Swedish Institute of Computer Science. * 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) 2009 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * comp...
// ---------------------------------------------------------------------------- // MinimalDevice.h // // Authors: // Peter Polidoro peterpolidoro@gmail.com // ---------------------------------------------------------------------------- #ifndef MINIMAL_DEVICE_H #define MINIMAL_DEVICE_H #include <Functor.h> #include <Mod...
// 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 UI_GTK_PRINTING_GTK_UTIL_H_ #define UI_GTK_PRINTING_GTK_UTIL_H_ #include "ui/gfx/geometry/size.h" namespace printing { class PrintingContextLinu...
#pragma once #include "gl\glew.h" #include "wx\glcanvas.h" #include "wx\wx.h" #include "wx\aui\aui.h" #include "wx\panel.h" #include "wx\tglbtn.h" #include "wx\listctrl.h" #include "wxPLplotwindow.h" #include "Core/Core.h" #include "Geometry_Implementation.h" typedef void (*selection_callback_type)(const boost::c...
// // This file is subject to the software licence as defined in // the file 'LICENCE.txt' included in this source code package. // #import "CREnumerator.h" @interface CRSelectiveEnumerator : CREnumerator - (id) initWithEnumerator:(NSEnumerator *)enumerator filter:(CRWhereBlock)filter; @end
// Copyright (c) 2011 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 PRINTING_UNITS_H_ #define PRINTING_UNITS_H_ #include "printing/printing_export.h" namespace printing { // Length of an inch in 0.001mm unit...
/// @file /// @author Boris Mikic /// @version 3.0 /// /// @section LICENSE /// /// This program is free software; you can redistribute it and/or modify it under /// the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php /// /// @section DESCRIPTION /// /// Defines an animator that can mo...
// Copyright 2017 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_BROWSER_WEBRTC_LOG_H_ #define CONTENT_PUBLIC_BROWSER_WEBRTC_LOG_H_ #include <string> #include "base/callback_forward.h" #include ...
// Copyright 2017 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_COMMON_NOTIFICATIONS_NOTIFICATION_MOJOM_TRAITS_H_ #define THIRD_PARTY_BLINK_PUBLIC_COMMON_NOTIFICATIONS_NOTIFICATION_MOJO...
// 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_RELOAD_BUTTON_H__ #define CHROME_BROWSER_UI_VIEWS_RELOAD_BUTTON_H__ #include "base/basictypes.h" #include "base/gtest...
/* $OpenBSD: pcy_map.c,v 1.3 2014/06/12 15:49:31 deraadt Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2004. */ /* ==================================================================== * Copyright (c) 2004 The OpenSSL Project. All rights reserved. * * Redistribution and u...
/* * Copyright (c) 2013, 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. * */ #import "AB...
// 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 MEDIA_CAST_NET_RTCP_RTCP_UTILITY_H_ #define MEDIA_CAST_NET_RTCP_RTCP_UTILITY_H_ #include <stddef.h> #include <stdint.h> #include "base/big_endia...
/* * 2007 – 2013 Copyright Northwestern University * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details. */ #ifndef _ALTOVA_INCLUDED_AIMXML_ALTOVA_iso_ALTOVA_CNPPD_BL_NonNull #define _ALTOVA_INCLUDED_AIMXML_ALTOVA_iso_A...
// // object_input.h // x2d // // Created by Alex Kremer on 7/26/12. // Copyright (c) 2012 godexsoft. All rights reserved. // #pragma once #ifndef __X2D_OBJECT_INPUT_H__ #define __X2D_OBJECT_INPUT_H__ #include "base_object.h" #include "glm.hpp" #include "log.h" #include <deque> namespace x2d { // forward d...
#import <Flutter/Flutter.h> @interface SharedPreferencesPlugin : NSObject<FlutterPlugin> @end
//////////////////////////////////////////////////////////////////////////////// /// /// /// AliFemtoShareQualityCorrFctn - A correlation function that saves the /// /// amount of sharing and splitting hits per pair as a function of qinv ...
#ifndef DB_CLUSTER_H #define DB_CLUSTER_H #include <stdint.h> #include <assert.h> #include <util/atomic.h> #include <raft/raft.pb.h> namespace db { class Cluster { public: explicit Cluster(const raft::Config &config) : config_(config) { util::atomic_set(&refs_, 0); } /* * Reference...
/* IEEE754 floating point arithmetic * single precision */ /* * MIPS floating point support * Copyright (C) 1994-2000 Algorithmics Ltd. * * ######################################################################## * * This program is free software; you can distribute it and/or modify it * under the terms of t...
/*- * Copyright (c) 2014 The FreeBSD Foundation * All rights reserved. * * This software was developed by Semihalf under * the sponsorship of the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are...
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) // // X Macro include for commonly used DXGI-compatible // formats. // // We don't need to include every si...
/** * See Copyright Notice in picrin.h */ #ifndef PICRIN_LIB_H #define PICRIN_LIB_H #if defined(__cplusplus) extern "C" { #endif struct pic_lib { PIC_OBJECT_HEADER pic_value name; struct pic_env *env; struct pic_dict *exports; }; #define pic_lib_p(o) (pic_type(o) == PIC_TT_LIB) #define pic_lib_ptr(o) ((st...
// Copyright 2015 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 MOJO_SHELL_NATIVE_RUNNER_H_ #define MOJO_SHELL_NATIVE_RUNNER_H_ #include "base/callback_forward.h" #include "base/memory/scoped_ptr.h" #include "...
#ifndef __V3S_REG_DE_H__ #define __V3S_REG_DE_H__ #include <types.h> #define V3S_DE_BASE (0x01000000) #define V3S_DE_MUX_GLB (0x00100000 + 0x00000) #define V3S_DE_MUX_BLD (0x00100000 + 0x01000) #define V3S_DE_MUX_CHAN (0x00100000 + 0x02000) #define V3S_DE_MUX_VSU (0x00100000 + 0x20000) #define V3S_DE_MUX_GSU1 ...
// Macro Guard #ifndef CSE473_SINGLETON_H #define CSE473_SINGLETON_H /*============================================================================// SingletonType.h: header file for generic singletons Purpose is to allow user to create singleton object of arbitrary type. Implementation: Shane...
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sourc...
// Director.h // // Director object // MenuItem // // a menu item struct MenuItem { TCHAR Text[MAX_PATH]; // text for menu TCHAR Verb[MAX_PATH]; // verb for command - open, explore, menu, uninstall, back TCHAR Document[MAX_PATH]; // document/executable for command TCHAR Directory[MAX_PATH]; // direc...
/* Test divi4 for SPU Copyright (C) 2006, 2007 Sony Computer Entertainment 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: * Redistributions of source code must retain the ...
/* GTK - The GIMP Toolkit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * 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 of the Lice...
/* Generated by CIL v. 1.7.0 */ /* print_CIL_Input is false */ struct _IO_FILE; struct timeval; extern void signal(int sig , void *func ) ; extern float strtof(char const *str , char const *endptr ) ; typedef struct _IO_FILE FILE; extern int atoi(char const *s ) ; extern double strtod(char const *str , char co...
// CDVHeyzapAds.h // // Copyright 2015 Heyzap, 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 without // restriction, including without limitation the ri...
// Copyright (c) 2011-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef RPCCONSOLE_H #define RPCCONSOLE_H #include "guiutil.h" #include "net.h" #include "peertablemodel.h" #include <QWidg...
/* * TrackingAllocator.h * * Created on: May 18, 2013 * Author: tsharpe */ #ifndef TRACKINGALLOCATOR_H_ #define TRACKINGALLOCATOR_H_ #include <scoped_allocator> #include <memory> class MemUse { public: MemUse( char const* type ) : mType(type) {} ~MemUse() { if ( mTotalAllocated > gMinReportSiz...
// // WQCommonCustomItem.h // SomeUIKit // // Created by WangQiang on 2017/4/1. // Copyright © 2017年 WangQiang. All rights reserved. // #import "WQCommonBaseItem.h" //#import "WQCommonCellProtocol.h" @interface WQCommonCustomItem : WQCommonBaseItem +(NSString *)customIdentifire; /**须遵守 WQCommonCellProtocol*/ @pro...
// // The MIT License (MIT) // // Copyright (c) 2014 BZObjectStore // // 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...
/************************************************************************************ * * * Copyright (c) 2013 Axel Menzel <info@axelmenzel.de> * * ...
// // YIConfigUtil+Cache.h // Emma // // Created by efeng on 15/7/23. // Copyright (c) 2015年 weiboyi. All rights reserved. // #import "YIConfigUtil.h" @interface YIConfigUtil (Cache) @end
// // JLTwitterPermissions.h // // Created by Joseph Laws on 11/3/14. // Copyright (c) 2014 Joe Laws. All rights reserved. // #import "JLPermissionsCore.h" @interface JLTwitterPermission : JLPermissionsCore + (instancetype)sharedInstance; /** * Uses the default dialog which is identical to the system permissio...
#include "GenericTaskDeclarations.h" #include "GenericSharedDeclarations.h" #include "GenericSyncDeclarations.h" #include <stdlib.h> #include <string.h> GenericTaskDeclarations_VoidFuture_t GenericTaskDeclarations_runTaskAndGetVoidFuture(GenericTaskDeclarations_Task_t task) { pthread_t pth; if ( task.argsSize =...
/*------------------------------------------------------------------ * test_strremovews_s * * *------------------------------------------------------------------ */ #include "test_private.h" #include "safe_str_lib.h" #define LEN ( 128 ) int main() { errno_t rc; int ind; uint32_t len; char ...
/**************************************************************************//** * @file ezr32wg_burtc_ret.h * @brief EZR32WG_BURTC_RET register and bit field definitions * @version 5.4.0 ****************************************************************************** * # License * <b>Copyright 2017 Silicon Laborato...
/* * File: clht_lb.h * Author: Vasileios Trigonakis <vasileios.trigonakis@epfl.ch> * Description: lock-based cache-line hash table with no resizing * clht_lb.h is part of ASCYLIB * * The MIT License (MIT) * * Copyright (c) 2014 Vasileios Trigonakis <vasileios.trigonakis@epfl.ch> * Distr...
/*[clinic input] preserve [clinic start generated code]*/ PyDoc_STRVAR(unicode_maketrans__doc__, "maketrans(x, y=None, z=None, /)\n" "--\n" "\n" "Return a translation table usable for str.translate().\n" "\n" "If there is only one argument, it must be a dictionary mapping Unicode\n" "ordinals (integers) or characters ...
// Demonstrate partitioning rresamp work in separate blocks #include <stdio.h> #include <stdlib.h> #include <complex.h> #include <math.h> #include "liquid.h" #define OUTPUT_FILENAME "rresamp_crcf_partition_example.m" int main(int argc, char*argv[]) { // options unsigned int P = 4; // output rate (i...
/* * swiftree.h * * Copyright (c) 2014, Alessandro Pezzato */ #ifndef swiftree_SWIFTREE_FWD_H_ #define swiftree_SWIFTREE_FWD_H_ namespace swiftree { class Tree; class TreeImpl; } /* namespace swiftree */ #endif /* swiftree_SWIFTREE_FWD_H_ */