text
stringlengths
4
6.14k
#ifndef __SVI_FLASHEFFECTOR_H_ #define __SVI_FLASHEFFECTOR_H_ #include "SVITransitionEffector.h" namespace SVI { class SVIFlashEffector : public SVITransitionEffector { public: SVIFlashEffector(SVIGLSurface *surface); virtual ~SVIFlashEffector() {} protected: void setAnimation(); }; } #endif
// // ViewController.h // 03-pthread // // Created by Ammar on 15/7/8. // Copyright (c) 2015年 小码哥. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// // Generated by gen_resource_source.py // #ifndef _COM_IBM_ICU_IMPL_DATA_ICUDT58B_EN_AU_RES_H #define _COM_IBM_ICU_IMPL_DATA_ICUDT58B_EN_AU_RES_H static jbyte _com_ibm_icu_impl_data_icudt58b_en_AU_res[] = { 0x00, 0x20, 0xDA, 0x27, 0x00, 0x14, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x52, 0x65, 0x73, 0x42, 0x03, 0x...
/*!The Treasure Box Library * * 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 under the Apache License, Version ...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_ValueType1744280289.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_En833703292.h" #ifdef __clang__ #pragma clang diagnostic push #pragma cla...
#pragma once #include "Inimigo.h" class finalBoss : public Inimigo { public: finalBoss(void); virtual void status(); virtual int attack(); virtual int defense(int damage); virtual void image(); virtual int getSpeed(); virtual int getLuck(); virtual int getLife(); virtual char *getName(); virtual ~finalB...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2011 EMC Corp. // // @filename: // CEnfdRewindability.h // // @doc: // Enforceable rewindability property //--------------------------------------------------------------------------- #ifndef GPOPT_CEn...
// Copyright 2022 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <vector> #include <vespa/document/bucket/bucket.h> #include <vespa/storageapi/buckets/bucketinfo.h> #include <vespa/storage/common/messagesender.h> #include <vespa/storage/common/servicelayerc...
// // Colleague.h // 20中介者模式 // // Created by huangchengdu on 17/5/22. // Copyright © 2017年 黄成都. All rights reserved. // #import <Foundation/Foundation.h> @class Mediator; @interface Colleague : NSObject @property(nonatomic, strong)Mediator *mediator; -(instancetype)initWithMediator:(Mediator *)mediator; -(voi...
/* * Copyright 2006 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkOSWindow_Unix_DEFINED #define SkOSWindow_Unix_DEFINED #include <GL/glx.h> #include <X11/Xlib.h> #include "SkWindow.h" class SkEvent; struct S...
#ifndef YAKKA_WEAK_REF_H_ #define YAKKA_WEAK_REF_H_ /** @defgroup WeakRef WeakRef * * A reference to an object that does not prevent an object from being * destroyed. * * As long as the referent (some other object) exists, its weak reference can * be used to obtain a referenced pointer to it. However the ex...
/****************************************************************************** * Licensed under Apache License Version 2.0 - see LICENSE *****************************************************************************/ #include "allmonotone.h" #include "helper.h" PyObject * PyIU_Monotone(PyObject *Py_UNUSED(m), PyObj...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. ...
/* * Copyright 2014-2022 Real Logic Limited. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * 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 under the Apache License, Version 2.0 * (the "License"); you may ...
/** * Tencent is pleased to support the open source community by making Tars available. * * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the License. You may obtain a c...
#ifndef _ldskflsld_cmdmdmdmdmdmdmdmd_ikdjjfjkskskskfj_h_lsldkfj #define _ldskflsld_cmdmdmdmdmdmdmdmd_ikdjjfjkskskskfj_h_lsldkfj #include "FileBaseStream.h" #include "MemStream.h" #include <string> using namespace std; class CMemToFile : public FileBaseStream, public MemStream { public: CMemToFile(const char...
/* Copyright 2017 Jonathan Realmuto 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, s...
/* * Project: FullereneViewer * Version: 1.0 * Copyright: (C) 2011-15 Dr.Sc.KAWAMOTO,Takuji (Ext) */ #ifndef __POSTURE_H__ #define __POSTURE_H__ #include "Matrix3.h" #include "Vector3.h" class Posture { // members public: Matrix3 posture; bool fixed; Matrix3 fixed_posture; Matrix3 last_posture; Vecto...
// // ViewController.h // QuakeRadar // // Created by Tekhne on 10/26/13. // Copyright (c) 2013 Tekhne. All rights reserved. // #import <UIKit/UIKit.h> #import <MapKit/MapKit.h> #import "QuakeUtilities.h" #import "Quake.h" @interface MapViewController : UIViewController @property (weak, nonatomic) IBOutlet MKMapV...
/********************************************************************** Filename : BoaScriptException.h Content : Created : June 20, 2013 Authors : Boris Rayskiy Copyright : (c) 2013 **********************************************************************/ #ifndef _BOA_SCRIPT_EXCEPTION_H...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed W...
/* Copyright (c) 2010 Aldo J. Nunez Licensed under the Apache License, Version 2.0. See the LICENSE text file for details. */ #pragma once const GUID& GetEngineId(); const wchar_t* GetEngineName(); const GUID& GetDLanguageId(); const GUID& GetDExceptionType(); const GUID& GetWin32Exceptio...
// // eLongTakePictureService.h // eLongFramework // // Created by 吕月 on 16/4/19. // Copyright © 2016年 Kirn. All rights reserved. // #import <Foundation/Foundation.h> #import "eLongTakePictureServiceDelegate.h" @interface eLongTakePictureService : NSObject <eLongTakePictureServiceDelegate> @end
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/toolkit/components/startup/public/nsIUserInfo.idl */ #ifndef __gen_nsIUserInfo_h__ #define __gen_nsIUserInfo_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include ro...
/* * 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...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. ...
/* * FFIO.h * * Created on: Sep 13, 2014 * Author: amlogic */ #ifndef FFIO_H_ #define FFIO_H_ extern "C" { #include <stdint.h> #include <libavformat/avio.h> } #include "DataSource.h" namespace android { class FFIO { public: FFIO(); ~FFIO(); bool init(DataSource* src); AVIOContext* getCon...
// // Generated by gen_resource_source.py // #ifndef _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_EN_KI_RES_H #define _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_EN_KI_RES_H static jbyte _com_ibm_icu_impl_data_icudt58b_zone_en_KI_res[] = { 0x00, 0x20, 0xDA, 0x27, 0x00, 0x14, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x52, 0x65, 0x73,...
#include "Ougens.h" #include <Instrument.h> class MYWAVETABLE : public Instrument { Ooscili *theOscil; Ooscili *theEnv; float _amp; float _pitch; float _spread; int _updateCounter; public: MYWAVETABLE(); virtual ~MYWAVETABLE(); virtual int init(double p[], int n_args); virtual int run(); };
/* Copyright 2016 Esri 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, ...
// // GLUtil.h // // Created by Jingshu Huang on 8/28/13. // Copyright (c) HuangImage 2013. All rights reserved. // #ifndef __GLUtil__ #define __GLUtil__ #include <string> #include "platformGL.h" typedef enum { BlendNone, BlendAlpha, BlendAdditive, BlendAlphaAdditive, BlendCustom } BlendMode; typedef ...
/*----------------------------------------------------------------------------- Header to use with JPEG.LIB. functions: int ReadJPEG (char * buffer, stJPEG *Image) [buffer] - buffer with compressed JPEG, it's freing after decompression [stJPEG] - structure with decompressed JPEG { ...
// // LoadModel.h // OpenSourceChina // // Created by bokan on 16/6/25. // Copyright © 2016年 guozhidong. All rights reserved. // #import <Foundation/Foundation.h> typedef void(^SuccessCallBack)(id responseObject); //请求失败代码块 typedef void(^FailCallBack) (NSError *error); @interface LoadModel : NSObject /** * 网络po...
/* * Copyright (C) 2015 luodichen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
#ifndef _TESTBCPLAYERSTATISTICSEVENT_H_ #define _TESTBCPLAYERSTATISTICSEVENT_H_ #include "gtest/gtest.h" #include "braincloud/BrainCloudClient.h" #include "TestFixtureBase.h" #include "json/json.h" using namespace BrainCloud; class TestBCPlayerStatisticsEvent: public TestFixtureBase, public IRewardCallback { protect...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Monkey HTTP Server * ================== * Copyright 2001-2017 Eduardo Silva <eduardo@monkey.io> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
// // Location.h // MyLocations // // Created by Matthijs on 14-10-13. // Copyright (c) 2013 Razeware LLC. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @interface Location : NSManagedObject <MKAnnotation> @property (nonatomic, retain) NSNumber * latitude; @property (non...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/dom/interfaces/svg/nsIDOMSVGZoomAndPan.idl */ #ifndef __gen_nsIDOMSVGZoomAndPan_h__ #define __gen_nsIDOMSVGZoomAndPan_h__ #ifndef __gen_domstubs_h__ #include "domstubs.h" #endif /* For IDL files that don't want to include...
// // HomeViewController.h // // // Created by lgh on 16/4/5. // // #import <UIKit/UIKit.h> @interface HomeViewController : UIViewController @end
/* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Sample app for CDC ACM class driver * * Sample app for USB CDC ACM class driver. The received data is echoed back * to the serial port. */ #include <stdio.h> #include <string.h> #include <device.h> #inc...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #ifndef TIDBOBJECT_H_ #define TIDBOBJECT_H_ #include "TiProxy.h" class NativeOb...
// @copyright 2017-2018 zzu_softboy <zzu_softboy@163.com> // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHOR BE ...
#ifndef __MODBUS_DRIVE_H__ #define __MODBUS_DRIVE_H__ #include <mutex> #include <chrono> class ModbusDrive { public: static ModbusDrive* get_instance(); static int delete_instance(); int pro_ctrl(); int pro_data_request(); int pro_data_response(); // int ProcReadWords((s_modbusPktReadWordResponse*)pData); // ...
//--------------------------------------------------------------------------- #ifndef PropertyFormH #define PropertyFormH //--------------------------------------------------------------------------- #include <Classes.hpp> #include <Controls.hpp> #include <StdCtrls.hpp> #include <Forms.hpp> #include <ExtCtrls...
/* * Copyright (c) 2015 by Farsight Security, 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 a...
#if !defined(CETTY_HANDLER_TIMEOUT_READTIMEOUTHANDLER_H) #define CETTY_HANDLER_TIMEOUT_READTIMEOUTHANDLER_H /* * Copyright 2009 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may o...
// // LYHTTPToolManager.h // GoHomeForDinner // // Created by Mac on 16/8/26. // Copyright © 2016年 Mac. All rights reserved. // #import "AFHTTPSessionManager.h" @interface LYHTTPToolManager : AFHTTPSessionManager + (instancetype)shareManager; @end
#pragma once #include"Globals.h" #include<map> class MaterialImporter { public: MaterialImporter(); ~MaterialImporter(); std::multimap<int, std::string> Mat_Map; public: void ImportMaterial(const char* path, std::string * new_path=nullptr); };
/********************************************************************** Filename : BPlotDriverPPM.h Content : PPM driver. Created : July 30, 2009 Authors : Boris Rayskiy Copyright : (c) 2009 **********************************************************************/ #ifndef _B_PLOT_DRIVER_...
/* * 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...
// 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, software // distributed ...
/* * * Copyright 2015 gRPC 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 agree...
/**************************************************************************\ * This file is part of CaSPER. * * * * Copyright: * * 2011-20...
#include <stdbool.h> #include <stdint.h> #include "src/lib.h" #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #define LOAD_SYM GetProcAddress #else #include <dlfcn.h> #define LOAD_SYM dlsym #endif typedef bool (*extract_inno_ptr)(const char *path, const char *destination, inno_progress_callback callback...
// // YDMessageShowViewController.h // YaoDaoBingChu // // Created by lanou3g on 15/7/22. // Copyright (c) 2015年 zlwz. All rights reserved. // 显示所有的“留言” #import <UIKit/UIKit.h> @interface YDMessageShowViewController : UIViewController @end
// ============================================================================ // Coda Binary Encoder // ============================================================================ #ifndef CODA_IO_BINARYENCODER_H #define CODA_IO_BINARYENCODER_H 1 #ifndef CODA_IO_ABSTRACTENCODER_H #include "coda/io/abstractencoder...
/* Copyright (c) 2019, Arm Limited and Contributors * * SPDX-License-Identifier: Apache-2.0 * * 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/LICENS...
// // UserListViewController.h // MicroSport // // Created by Satya on 26/08/17. // Copyright © 2017 Hashim Khan. All rights reserved. // #import <UIKit/UIKit.h> @interface UserListViewController : UIViewController @property (weak, nonatomic) IBOutlet UITableView *userlistTableView; @end
/* * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "soc/interrupts.h" const char *const esp_isr_names[ETS_MAX_INTR_SOURCE] = { [0] = "WIFI_MAC", [1] = "WIFI_NMI", [2] = "WIFI_PWR", [3] = "WIFI_BB", [4] = "BT_MAC", ...
// Copyright 2017 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 ...
// // WikiTodayData.h // // Created by 超逸 李 on 14/12/25 // Copyright (c) 2014 Duostec. All rights reserved. // #import <Foundation/Foundation.h> @interface WikiTodayData : NSObject <NSCoding, NSCopying> @property (nonatomic, strong) NSString *author; @property (nonatomic, strong) NSString *cateId; @property (no...
/* * Copyright (c) 2013 Thomas Adam <thomas@xteddy.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND T...
/*- * Copyright (C) 2011-2012 by Maxim Ignatenko <gelraen.ua@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...
/* * Copyright (c) 2015, Guillermo Amaral <gamaral@kdab.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 * noti...
/* * ===================================================================================== * * Filename: gaussian.h * * Description: <F7> * * Version: 1.0 * Created: 11/28/2015 9:54:01 PM * Revision: none * Compiler: gcc * * Author: Gabe Jespersen (), gzack...
/* * Copyright (C) 2009 Google 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 conditio...
/* * Verse encryption routines. There are two distinct flavors of encryption * in use: one "heavy" for login/connection establishment security, and * a far lighter symmetrical one that is applied to each data packet after * the key has been exchanged during connection. */ #include "verse.h" /* Internal key size d...
#include "libtrading/proto/fix_message.h" #include "libtrading/proto/fix_session.h" #include "libtrading/array.h" #include "libtrading/die.h" #include <netinet/tcp.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <stdlib.h> #include <string.h> #include <libgen.h> #include <stdio.h> #...
/*- * Copyright (c) 2011 Varnish Software AS * All rights reserved. * * Author: Martin Blix Grydeland <martin@varnish-software.com> * Author: Poul-Henning Kamp <phk@phk.freebsd.dk> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
#ifndef DOWNLOADHTTP_H #define DOWNLOADHTTP_H #include <QtGlobal> #include <QObject> #include <QNetworkAccessManager> #include <QNetworkRequest> #include <QNetworkReply> #include <QFile> #include <QTimer> class DownloadHTTP : public QObject { Q_OBJECT public: explicit DownloadHTTP(QObject* parent = 0); virtua...
// USB HID helper library for libUSBThermo #ifndef __USBHID_H__ #define __USBHID_H__ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif struct HidDevice_; typedef struct HidDevice_ HidDevice; typedef struct HidDevicePathList_ HidDevicePathList; struct HidDevicePathList_ { char *path; HidDevicePathList *n...
/*- * Copyright (c) 1987, 1991 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 copyright...
#include "apue.h" #include <sys/socket.h> /* * Returns a full-duplex "stream" pipe (a UNIX domain socket) * with the two file descriptors returned in fd[0] and fd[1]. */ int s_pipe(int fd[2]) { return socketpair(AF_UNIX, SOCK_STREAM, 0, fd); }
#include "e.h" static void _fsel_path_save(E_Import_Dialog *id) { const char *fdev = NULL, *fpath = NULL; e_widget_fsel_path_get(id->fsel_obj, &fdev, &fpath); if ((fdev) || (fpath)) { eina_stringshare_replace(&e_config->wallpaper_import_last_dev, fdev); eina_stringshare_replace(&e_config...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "ModuleManager.h" /** * The public interface to this module. In most cases, this interface is only public to sibling modules * within this plugin. */ class ILiveEditorListenServer : public IModuleInterface { public: /** * S...
/* Copyright (c) 2013, Robert Clausecker * 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 cond...
#ifndef INCLUDE_POD_LIST_H #define INCLUDE_POD_LIST_H /******************************************************************** * pod_list.h * Copyright (c) 2011-2012, James A. Banks * All rights reserved. * See file LICENSE for details. ********************************************************************/ #inc...
/******************************************************************************* * Copyright 2016 ROBOTIS 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.o...
/* bcal-cbc.h */ /* This file is part of the ARM-Crypto-Lib. Copyright (C) 2010 Daniel Otte (daniel.otte@rub.de) 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 o...
#ifndef _SL_LOG_H_ #define _SL_LOG_H_ #include <stdio.h> #define SL_LOG_ERROR(fmt, arg...) printf(fmt, arg); #define SL_LOG_WARN(fmt, arg...) printf(fmt, arg); #define SL_LOG_INFO(fmt, arg...) printf(fmt, arg); #define SL_LOG_DEBUG(fmt, arg...) printf(fmt, arg); #endif
//--------------------------------------------------------------------------- #ifndef Unit2H #define Unit2H //--------------------------------------------------------------------------- #include <Classes.hpp> #include <Controls.hpp> #include <StdCtrls.hpp> #include <Forms.hpp> #include <ExtCtrls.hpp> //---------------...
/* This file is a part of NNTL project (https://github.com/Arech/nntl) Copyright (c) 2015-2021, Arech (aradvert@gmail.com; https://github.com/Arech) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...
/* $NetBSD: cpu.h,v 1.3 1999/12/24 08:29:25 msaitoh Exp $ */ #ifndef _EVBSH3_CPU_H_ #define _EVBSH3_CPU_H_ #include <sh3/cpu.h> #endif /* _EVBSH3_CPU_H_ */
/* * 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 under the Apache License, Version 2.0 (the * "License"); you ma...
/* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.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: - Redistributions of source code must retain the above copyright notice,...
#ifndef INTERPOLATION_H #define INTERPOLATION_H #ifndef USE_MINLIN #include "interpolation_legacy.h" #else #include <cuda_runtime.h> #include <cusparse.h> #include <util/coordinators.h> #include <util/mklallocator.h> #include <mkl_spblas.h> #include <mkl_service.h> #include <algorithm> namespace util{ enum sparse...
// 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 Response_h #define Response_h #include "bindings/core/v8/Dictionary.h" #include "bindings/core/v8/ScriptWrappable.h" #include "bindings/modules/v...
/** * \file */ #ifndef RF_ELLIPSEPROPERTIES_H #define RF_ELLIPSEPROPERTIES_H #include "Workspace/DataExecution/Operations/operation.h" #include "Workspace/DataExecution/Operations/operationfactorytraits.h" #include "volcanoplugin.h" namespace RF { class EllipsePropertiesImpl; /** * \brief Put a one...
// 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 SERVICES_NETWORK_PUBLIC_CPP_ISOLATION_OPT_IN_HINTS_H_ #define SERVICES_NETWORK_PUBLIC_CPP_ISOLATION_OPT_IN_HINTS_H_ #include <string> #include "...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_listen_socket_w32_spawnv_63a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-63a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: listen_socket Read data ...
/* $OpenBSD: if_fereg.h,v 1.2 1997/11/07 08:06:55 niklas Exp $ */ /* * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 * * This software may be used, modified, copied, distributed, and sold, * in both source and binary form provided that the above copyright, * these terms and the following disclaimer are ...
/* zpoequb.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 o...
/* * Software License Agreement (BSD License) * * Copyright (c) 2011-2014, Willow Garage, Inc. * Copyright (c) 2014-2015, Open Source Robotics Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
#include <node_api.h> #include "../common.h" static double value_ = 1; static double static_value_ = 10; napi_ref constructor_; napi_value GetValue(napi_env env, napi_callback_info info) { size_t argc = 0; NAPI_CALL(env, napi_get_cb_info(env, info, &argc, NULL, NULL, NULL)); NAPI_ASSERT(env, argc == 0, "Wrong ...
/******************************************************************** Copyright (c) 2010-2015, Regents of the University of Colorado 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 s...
#include "info.h" void _info_botman_send(Module_Info *info, Gotham_Citizen *citizen) { Eina_Iterator *it; Eina_Strbuf *buf; void *data; Eina_Bool found = EINA_FALSE; buf = eina_strbuf_new(); it = gotham_citizen_var_iterate(info->gotham->me); while (eina_iterator_next(it, &data)...
/* This file is part of INDDGO. Copyright (C) 2012, Oak Ridge National Laboratory This product includes software produced by UT-Battelle, LLC under Contract No. DE-AC05-00OR22725 with the Department of Energy. This program is free software; you can redistribute it and/or modify it under the terms of t...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__wchar_t_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...