text
stringlengths
4
6.14k
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_console_execl_04.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-04.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: console Read input from the console * ...
/* This software is released under the BSD License. | | Copyright (c) 2009, Kevin P. Barry [the resourcerver project] | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modification, are permitted provided that the following conditions are met: | | - Redis...
// Copyright (c) 2016, Mads Sig Ager. // All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #ifndef SRC_OPTIONS_H_ #define SRC_OPTIONS_H_ #include <string.h> namespace dexgrok { class Options { public: Options(int argc, char** argv) : f...
#ifndef ATREEVIEW_H #define ATREEVIEW_H typedef bool (*FWalkTreeItemFunc)(ATreeViewItem* pItem,void* pArg);//·µ»Øfalseʱֹͣ±éÀú class AUI_API ATreeView: public AContainer { CLASS_INFO(TreeView,Container); friend class ATreeViewEnumerator; friend class ATreeViewItem; public: ATreeView(AComponent* pOwner); virtu...
/* * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. * Copyright (C) 2008 Rob Buis <buis@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as...
/** * @file qsort.c * @brief Implementation of the Quicksort algorithm * @author Philip J. Erdelsky * */ void QuickSort (void *base, int count, int size, int (*compare) (const void *, const void *, void *), void *pointer); static void InternalQuickSort (char *left, char *right, size_t size, int (*compare) (...
/* -*- c++ -*- */ //============================================================================= /** * @file HTTP_Helpers.h * * @author James Hu */ //============================================================================= #ifndef HTTP_HELPERS_H #define HTTP_HELPERS_H #include "ace/Synch_Traits.h" #i...
#if !defined(PROTO_AMISSL_H) && !defined(AMISSL_COMPILE) #include <proto/amissl.h> #endif /* * Generated by util/mkerr.pl DO NOT EDIT * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance ...
/* $KAME: main.c,v 1.12 2002/04/26 05:42:59 fujisawa Exp $ */ /* * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 and 2001 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
#ifndef LIBBINPAC_MISC_H #include "libbinpac++.h" hlt_string binpac_fmt_string(hlt_string fmt, const hlt_type_info* type, void* tuple, hlt_exception** excpt, hlt_execution_context* ctx); hlt_bytes* binpac_fmt_bytes(hlt_bytes* fmt, const hlt_type_info* type, void* tuple, hlt_exception** excpt, hlt_execution_context*...
/***************************************************************************** * * C++ interface/implementation created by Martin Kojtal (0xc0170). Thanks to * Jim Carver and Frank Vannieuwkerke for their inital cc3000 mbed port and * provided help. * * This version of "host driver" uses CC3000 Host Driver Implemen...
// 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_BASE_IME_MOCK_INPUT_METHOD_H_ #define UI_BASE_IME_MOCK_INPUT_METHOD_H_ #include "base/compiler_specific.h" #include "base/component_expor...
// 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 COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_DISPATCHER_H_ #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_C...
// 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 COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_SELECTOR_H_ #define COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_SELECTOR_H_ #include <ostream> #include <string> ...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Soeren Sonnenburg, Sergey Lisitsyn, Thoralf Klein, Yuyu Zhang */ #ifndef __SERIALIZABLE_ASCII_FILE_H__ #define __SERIALIZABLE_ASCII_FILE_H__ #include <shogun/lib/config.h> #include <shogun/io/SerializableFile.h> #include...
// 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 CONTENT_BROWSER_WEB_CONTENTS_AURA_IMAGE_WINDOW_DELEGATE_H_ #define CONTENT_BROWSER_WEB_CONTENTS_AURA_IMAGE_WINDOW_DELEGATE_H_ #include "conte...
/* $Id: of_codec_profile.h 199 2014-10-21 14:25:02Z roca $ */ /* * OpenFEC.org AL-FEC Library. * (c) Copyright 2009 - 2012 INRIA - All rights reserved * Contact: vincent.roca@inria.fr * * This software is governed by the CeCILL license under French law and * abiding by the rules of distribution of free software. ...
#ifndef _VDBWINDOW_H #define _VDBWINDOW_H #include "GLWindow.h" #include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Slider.H> #include <FL/Fl_Button.H> #include <FL/Fl_Choice.H> #include <FL/Fl_Browser.H> struct VDBWindow : public Fl_Window { GLWindow *gl; Fl_Slider * point_size; ...
/* * Copyright (c) 2018, Ford Motor Company * 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 condit...
// SDLRequestType.h // SyncProxy // Copyright (c) 2014 Ford Motor Company. All rights reserved. #import <Foundation/Foundation.h> #import <AppLink/SDLEnum.h> @interface SDLRequestType : SDLEnum {} +(SDLRequestType*) valueOf:(NSString*) value; +(NSMutableArray*) values; +(SDLRequestType*) HTTP; +(SDLRequestType*)...
// 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 ASH_PUBLIC_CPP_TABLET_MODE_H_ #define ASH_PUBLIC_CPP_TABLET_MODE_H_ #include "ash/public/cpp/ash_public_export.h" #include "ash/public/cpp/tablet...
#ifndef HAMCRESTQT_STRINGDESCRIPTION_H #define HAMCRESTQT_STRINGDESCRIPTION_H #include "basedescription.h" namespace HamcrestQt { class SelfDescribing; /** * A {@link Description} that is stored as a string. */ class StringDescription : public BaseDescription { public: StringDescription(); /** * Retur...
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | ...
/* * lls.h * * Created on: Apr 14, 2014 * Author: HOME */ #ifndef LLS_H_ #define LLS_H_ #include "matrix.h" #ifdef __cplusplus extern "C" { #endif int lls_normal(double *A,double *b,int M,int N,double *x); int lls_qr(double *A,double *b,int M,int N,double *xo); void bidiag(double *A, int M, int N); vo...
/* * Copyright (c) 2004-present, 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. * */ // C...
// SDLBitsPerSample.h // SyncProxy // Copyright (c) 2014 Ford Motor Company. All rights reserved. #import <Foundation/Foundation.h> #import <SmartDeviceLink/SDLEnum.h> @interface SDLBitsPerSample : SDLEnum {} +(SDLBitsPerSample*) valueOf:(NSString*) value; +(NSMutableArray*) values; +(SDLBitsPerSample*) _8_BIT; ...
/*** c86ctl Copyright (c) 2009-2012, honet. All rights reserved. This software is licensed under the BSD license. honet.kk(at)gmail.com */ #pragma once #include "chip.h" #include "opx.h" namespace c86ctl{ // -------------------------------------------------------------------------------------...
/*- * Copyright (c) 1982, 1986, 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the University of California by American Telephone and Telegraph * Co. or Unix Syst...
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributi...
/* $NetBSD: i2c_io.h,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. * All rights reserved. * * Written by Jason R. Thorpe for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
/* * provsh.h * * Created on: Dec 13, 2012 * Author: calucian */ #ifndef PROVSH_H_ #define PROVSH_H_ #include <string> #include <boost/filesystem.hpp> #include <boost/optional.hpp> #include <map> #include <signal.h> namespace provsh{ class RunCommand; class Shell{ typedef std::map<std::string, RunCo...
/* * Copyright (c) 1994 The Regents of the University of California. * Copyright (c) 1994 Jan-Simon Pendry. * All rights reserved. * * This code is derived from software donated to Berkeley by * Jan-Simon Pendry. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
// // #include <stdio.h> #include <math.h> #include <stdlib.h> int main(void) { int number, rem; printf("\nEnter an integer > "); scanf("%d", &number); printf("\n"); if (number < 0) { number = abs(number); while (number > 10) { rem = number % 10; printf("%d\n", rem); number = number/10; } ...
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.24 04/21/06 */ /* */ /* ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_max_postinc_68a.c Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-68a.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: max Set data to the max value for int * GoodSource...
/**@file zlocsegchainconn.h * @brief Connection between two locseg chains * @author Ting Zhao * @date 22-AUG-2009 */ #ifndef ZLOCSEGCHAINCONN_H_ #define ZLOCSEGCHAINCONN_H_ #include <QXmlStreamWriter> #include "zdocumentable.h" #include "zstackdrawable.h" #include "tz_neurocomp_conn.h" class QImage; class XmlStr...
// Copyright Paul Dardeau, SwampBits LLC 2015 // BSD License #ifndef CHAUDIERE_TESTAUTOPOINTER_H #define CHAUDIERE_TESTAUTOPOINTER_H #include "TestSuite.h" namespace chaudiere { class TestAutoPointer : public poivre::TestSuite { protected: void runTests(); void testConstructor(); void testOperatorArrow...
// Copyright © 2018 650 Industries. All rights reserved. #import <ExpoModulesCore/EXExportedModule.h> #import <ExpoModulesCore/EXModuleRegistryConsumer.h> @interface EXWebBrowser : EXExportedModule <EXModuleRegistryConsumer> @end
// Copyright 2005-2019 The Mumble Developers. All rights reserved. // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file at the root of the // Mumble source tree or at <https://www.mumble.info/LICENSE>. #ifndef MUMBLE_MURMUR_BONJOURSERVER_H_ #define MUMBLE_MURMUR_BONJOU...
#ifndef INCLUDED_RECTANGLE_H #define INCLUDED_RECTANGLE_H #include "fixed_point.h" typedef struct { fixed_point x; fixed_point y; } vec2d; static inline vec2d vec2d_add(vec2d v1, vec2d v2) { vec2d r = { fixed_point_add(v1.x, v2.x), fixed_point_add(v1.y, v2.y) }; return r; } static inline vec2d vec...
/****************************************************************************** This source file is part of the Avogadro project. Copyright 2013 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distri...
//===-- ctzdi2.c - Implement __ctzdi2 -------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
// Copyright 2017 The Cobalt Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
/* Copyright (c) 2014 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. */ #include "common.h" #include "gpio.h" #include "hooks.h" #include "registers.h" #include "task.h" /* GPIOs are split into 2 words of 16 GPIOs ...
/* $FreeBSD: src/sys/alpha/alpha/promcons.c,v 1.15 2000/01/09 16:24:55 bde Exp $ */ /* $NetBSD: promcons.c,v 1.13 1998/03/21 22:52:59 mycroft Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. * All rights reserved. * * Author: Chris G. Demetriou * * Permission to use, copy, modify and dis...
/** * @file ipv4.c * @brief ipv4 socket address * @author zhaochenyou16@gmail.com * @version 1.0.0 * @date 2015-11-08 * @platform * gcc 5.1.1 * linux 4.2.5-201.fc22.x86_64 */ #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <netinet/in.h> #include <arpa/inet.h> #include ...
// 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 CHROME_BROWSER_UI_APP_LIST_SEARCH_DRIVE_QUICK_ACCESS_PROVIDER_H_ #define CHROME_BROWSER_UI_APP_LIST_SEARCH_DRIVE_QUICK_ACCESS_PROVIDER_H_ #includ...
// // MIKMIDIControlChangeCommand.h // MIDI Testbed // // Created by Andrew Madsen on 6/2/13. // Copyright (c) 2013 Mixed In Key. All rights reserved. // #import "MIKMIDIChannelVoiceCommand.h" /** * A MIDI control change message. */ @interface MIKMIDIControlChangeCommand : MIKMIDIChannelVoiceCommand /** * C...
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
// 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 COMPONENTS_POLICY_CORE_COMMON_CONFIG_DIR_POLICY_LOADER_H_ #define COMPONENTS_POLICY_CORE_COMMON_CONFIG_DIR_POLICY_LOADER_H_ #include "base/fi...
// 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_POLICY_CORE_BROWSER_POLICY_CONVERSIONS_H_ #define COMPONENTS_POLICY_CORE_BROWSER_POLICY_CONVERSIONS_H_ #include <memory> #include <str...
/* * fontconfig/fc-pattern/fc-pattern.c * * Copyright © 2003 Keith Packard * * 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...
/*========================================================================= Program: Visualization Toolkit Module: vtkImageOpenClose3D.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwar...
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef XWALK_APPLICATION_BROWSER_APPLICATION_PROCESS_MANAGER_H_ #define XWALK_APPLICATION_BROWSER_APPLICATION_PROCESS_MANAGER_H_ #include <map> #includ...
/** @file MaxRectsBinPack.h @author Jukka Jylänki @brief Implements different bin packer algorithms that use the MAXRECTS data structure. This work is released to Public Domain, do whatever you want with it. */ #pragma once #include <vector> #include "Rect.h" namespace RectangleBinPack { /** Max...
#define POW2(x) ((x) * (x)) float dot(const float x[3], const float y[3]); void normalize(float x[3]); float sphere_intersect(float* restrict y, float* restrict r, const float* restrict s, const float* restrict d, const float* restrict c, float R, int invert);
//===-- Event.h -------------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/*- * Copyright (c) 2000-2015 Mark R V Murray * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list o...
// // TCPStatusHandler.h // Minecraft Server // // Created by Victor Brekenfeld on 05.01.14. // Copyright (c) 2014 Victor Brekenfeld. All rights reserved. // #import <ObjFW/ObjFW.h> #import "TCPPacketHandler.h" @class TCPClientConnection; @interface TCPStatusHandler : OFObject<TCPPacketDelegate> { TCPClientCo...
// RUN: %libomp-compile-and-run | FileCheck %s // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s // REQUIRES: ompt #include "callback.h" int main() { #pragma omp parallel num_threads(4) { print_ids(0); print_ids(1); } // CHECK: 0: NULL_POINTER=[[NULL:.*$]] // CHEC...
/* * Copyright © 2013-2015 Rinat Ibragimov * * This file is part of FreshPlayerPlugin. * * 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 limitat...
/* @(#)values.h 1.16 */ #ifndef BITSPERBYTE /* These values work with any binary representation of integers * where the high-order bit contains the sign. */ /* a number used normally for size of a shift */ #if gcos #define BITSPERBYTE 9 #else #define BITSPERBYTE 8 #endif #define BITS(type) (BITSPERBYTE * (int)sizeof(...
// // RecordDto.h // yyxb // // Created by mac03 on 15/11/30. // Copyright (c) 2015年 杨易. All rights reserved. // #import "MBTestMainModel.h" @interface RecordDto : MBTestMainModel @property (nonatomic, copy) NSString *siteid; //地址id @property (nonatomic, copy) NSString *idD; ...
// ILPDFNumber.h // // Copyright (c) 2018 Derek Blair // // 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, copy, modi...
// Copyright (c) 2017 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef SHELL_RENDERER_WEB_WORKER_OBSERVER_H_ #define SHELL_RENDERER_WEB_WORKER_OBSERVER_H_ #include <memory> #include "base/macros.h" #include "v8/include/v8.h" namespace electron ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2011-2012 Litecoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef __cplusplus # error This he...
// // UIViewController+PHCategory.h // New_Simplify // // Created by Kowloon on 15/9/15. // Copyright (c) 2015年 Goome. All rights reserved. // #import <UIKit/UIKit.h> @interface UIViewController (PHCategory) /** * 获取当前处于activity状态的view controller * */ + (UIViewController *)activityViewController; @end
/* Copyright (c) 2006-2007 Christopher J. W. Lloyd 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, copy, modify, merge, publish...
/**************************************************************************** * * Copyright (C) 2008-2013 PX4 Development Team. All rights reserved. * Author: Samuel Zihlmann <samuezih@ee.ethz.ch> * Lorenz Meier <lm@inf.ethz.ch> * * Redistribution and use in source and binary forms, with or without * mo...
#include <stdio.h> // cuenta los caracteres de la entrada int main() { int c, nc; nc = 0; while ((c = getchar()) != EOF) { nc = nc + 1; // ++nc } printf("%d\n", nc); return 0; }
// // AppDelegate.h // SMBImageView // // Created by Soumen Bhuin on 24/05/12. // Copyright (C) 2012 SMB. All rights reserved. // #import <UIKit/UIKit.h> @class GalleryViewController; @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property (strong,...
// // SyncanoParameters_Subscriptions.h // Syncano // // Created by Syncano Inc. on 07/01/14. // Copyright (c) 2014 Syncano Inc. All rights reserved. // #import "SyncanoParameters.h" /** Subscribe to project level notifications - will get all notifications in contained collections. */ @interface SyncanoParame...
#ifndef INCLUDED_sys_io__Process_Stdin #define INCLUDED_sys_io__Process_Stdin #ifndef HXCPP_H #include <hxcpp.h> #endif #include <haxe/io/Output.h> HX_DECLARE_CLASS2(haxe,io,Bytes) HX_DECLARE_CLASS2(haxe,io,Output) HX_DECLARE_CLASS3(sys,io,_Process,Stdin) namespace sys{ namespace io{ namespace _Process{ class HXCPP...
/* * FreeRTOS+FAT Labs Build 160919 (C) 2016 Real Time Engineers ltd. * Authors include James Walmsley, Hein Tibosch and Richard Barry * ******************************************************************************* ***** NOTE ******* NOTE ******* NOTE ******* NOTE ******* NOTE ******* NOTE *** *** ...
//////////////////////////////////////////////////////////////////////////////// // FreeSteel -- Computer Aided Manufacture Algorithms // Copyright (C) 2004 Julian Todd and Martin Dunschen. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public Licens...
#pragma once //------------------------------------------------------------------------------ /** @class Oryol::_priv::soundMgrBase @ingroup _priv @brief sound manager base class */ #include "Synth/Core/SynthSetup.h" #include "Synth/Core/SynthOp.h" #include "Synth/Core/voice.h" #include "Synth/Cor...
/* * Copyright 2008 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 SkBlurDrawLooper_DEFINED #define SkBlurDrawLooper_DEFINED #include "SkDrawLooper.h" #include "SkColor.h" class SkMaskFilter; class SkColorFilter...
// // NSMutableArray+Shuffle.h // VK320 // // Created by Roman Silin on 28.01.15. // Copyright (c) 2015 Roman Silin. All rights reserved. // #import <Foundation/Foundation.h> @interface NSMutableArray (Shuffle) - (void)shuffle; @end
// // RCRealTimeLocationCommonDefine.h // RongIMLib // // Created by LiFei on 2018/3/8. // Copyright © 2018年 RongCloud. All rights reserved. // #ifndef RCRealTimeLocationCommonDefine_h #define RCRealTimeLocationCommonDefine_h /** 坐标体系类型 - RCRealTimeLocationTypeWGS84: WGS-84 - RCRealTimeLocationTypeGCJ02: GCJ-...
#include "ascii.h" int gumbo_ascii_strcasecmp(const char *s1, const char *s2) { int c1, c2; while (*s1 && *s2) { c1 = (int)(unsigned char) gumbo_ascii_tolower(*s1); c2 = (int)(unsigned char) gumbo_ascii_tolower(*s2); if (c1 != c2) { return (c1 - c2); } s1++; s2++; } return (((int)...
//------------------------------------------------------------------------ // Name: ProtocolDispatcher.h // Author: jjuiddong // Date: 1/2/2013 // // ³×Æ®¿öÅ©·ÎºÎÅÍ ¹ÞÀº ÆÐŶÀ» ÇØ´çÇÏ´Â ÇÁ·ÎÅäÄÝ¿¡ ¸Â°Ô ºÐ¼®Çؼ­ ListenerÀÇ // ÇÔ¼ö¸¦ È£ÃâÇÑ´Ù. // Dispatch ÇÔ¼ö¿¡¼­ °³º° ÇÁ·ÎÅäÄÝ ÇÔ¼öµéÀ» È£ÃâÇÏ°Ô µÈ´Ù. // ³×Æ®¿öÅ...
/* Generated by CIL v. 1.7.0 */ /* print_CIL_Input is false */ struct _IO_FILE; struct timeval; extern float strtof(char const *str , char const *endptr ) ; extern void signal(int sig , void *func ) ; typedef struct _IO_FILE FILE; extern int atoi(char const *s ) ; extern double strtod(char const *str , char co...
// fmasgn.c #include "fmtype.h" #include "fmasgn.h" #include "fmvoice.h" // Variable static Fmvoice _fmvc[MAX_FM_VOICE]; static Fmvoice* _firstEmptyVc; // old static Fmvoice* _lastEmptyVc; // new static Fmvoice* _firstOccupiedVc; // old static Fmvoice* _lastOccupiedVc; // new // Prototype static void setToEmptyList...
#ifndef POSTPREPARESTRATEGYMULTIPART_H #define POSTPREPARESTRATEGYMULTIPART_H #include "ipostpreparestrategy.h" class PostPrepareStrategyMultipart : public IPostPrepareStrategy { Q_OBJECT QString Boundary; public: explicit PostPrepareStrategyMultipart(QObject *parent = 0); virtual QByteArray GenerateDa...
#pragma once #include "Common.h" #include "Constants.h" #include "Array.hpp" #include "ActionType.h" namespace BOSS { class ActionSet { Vec<ActionType, Constants::MAX_ACTION_TYPES> _actionTypes; public: ActionSet(); const size_t size() const; const bool isEmpty() const; const bool contains(const Act...
// // LHTagModel.h // // // Created by Ivan Bruel on 13/03/15. // // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @class LHAppModel, LHBeaconModel; @interface LHTagModel : NSManagedObject @property (nonatomic, retain) NSNumber * identifier; @property (nonatomic, retain) NSString * name; @prop...
/* 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...
/*! \copyright (c) RDO-Team, 2011 \file rdoparser_rdo.h \authors Барс Александр \authors Урусов Андрей (rdo@rk9.bmstu.ru) \date \brief \indent 4T */ #ifndef _CONVERTOR_RDOCONVERTER_CONVERTOR_RDO_H_ #define _CONVERTOR_RDOCONVERTER_CONVERTOR_RDO_H_ // ------------------------------------------...
// // UIFont.h // UIKit // // Created by Shaun Harrison on 7/19/09. // Copyright 2009 enormego. All rights reserved. // #import <Cocoa/Cocoa.h> @interface UIFont : NSFont { } + (UIFont *)systemFontOfSize:(CGFloat)fontSize; + (UIFont *)boldSystemFontOfSize:(CGFloat)fontSize; @end
#ifndef FIR_SWIFT_NAME // NOLINT #import <Foundation/Foundation.h> // NS_SWIFT_NAME can only translate factory methods before the iOS 9.3 SDK. // // Wrap it in our own macro if it's a non-compatible SDK. #ifdef __IPHONE_9_3 #define FIR_SWIFT_NAME(X) NS_SWIFT_NAME(X) #else #define FIR_SWIFT_NAME(X) // Intentionally b...
/////////////////////////////////////////////////////////////////////////////// // // CoinQ_txs.h // // Copyright (c) 2013 Eric Lombrozo // Copyright (c) 2011-2016 Ciphrex Corp. // // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php....
#if defined(PEGASUS_OS_HPUX) # include "UNIX_IEEE8021xCapabilitiesDeps_HPUX.h" #elif defined(PEGASUS_OS_LINUX) # include "UNIX_IEEE8021xCapabilitiesDeps_LINUX.h" #elif defined(PEGASUS_OS_DARWIN) # include "UNIX_IEEE8021xCapabilitiesDeps_DARWIN.h" #elif defined(PEGASUS_OS_AIX) # include "UNIX_IEEE8021xCapabilitiesDeps_...
/**************************************************************************** * * Open Watcom Project * * Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved. * * ======================================================================== * * This file contains Original Code...
#pragma once class Trait { Trait(); ~Trait(); bool freeze; // On collision freeze the other object bool explosive; // On remove, remove all objects inside range bool healing; // On remove, add health to all objects };
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <iup.h> #include <iupcontrols.h> #include <cd.h> Ihandle *create_mat(void) { Ihandle *mat = IupMatrix(NULL); IupSetAttribute(mat,"NUMCOL","5"); IupSetAttribute(mat,"NUMLIN","10"); IupSetAttribute(mat,"NUMCOL_VISIBLE","2"); IupSetAt...
// // WBImage+WBUtils.h // // Created by JasioWoo on 15/5/21. // // #import <Foundation/Foundation.h> #if TARGET_OS_IPHONE #import <UIKit/UIKit.h> #define WBImage UIImage #define WBColor UIColor #else #import <AppKit/AppKit.h> #define WBImage NSImage #define WBColor NSColor #endif @interface...
struct announce_msg_t am; jasync loop() { while(1) { am = announce_msg; printf("Field %s, Index %d\n", am.field, am.index); } } jasync messager() { while(1) { jsleep(500); printf("Printing a message..\n"); } } jasync logger() { char *names[10] = {"david", "may...
/******************************************************************************* *//** * @mainpage * @section section1 Introduction: * Having studied this LAB you will able to: \n * - Understand the general Timer functions \n * - Study the programs related to the general timer * * @s...
// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2018 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://op...
#ifndef QTCDBVIEWERCONSTANTS_H #define QTCDBVIEWERCONSTANTS_H namespace QtcDbViewer { namespace Constants { const char QTCDBVIEWER_ID[] = "QtcDbViewer.Mode"; const char QTCDBVIEWER_CONTEXT[] = "QtcDbViewer.Context"; } // namespace QtcDbViewer } // namespace Constants #endif // QTCDBVIEWERCONSTANTS_H