text
stringlengths
4
6.14k
#pragma once #define CPUM_CACHELINESIZE 64
/* * GraphicCurrentTimeLine.h * * Author : Alwin de Jong * e-mail : jong@astron.nl * Revision : $Revision$ * Last change by : $Author$ * Change date : $Date$ * First creation : 15-apr-2010 * URL : $URL: https://svn.astron.nl/ROD/trunk/LOFAR_Scheduler/GraphicCurrentTimeLine.h ...
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
//# BlAllocArr.h: Tripled that describes an allocation of a beamlet //# //# Copyright (C) 2009 //# ASTRON (Netherlands Foundation for Research in Astronomy) //# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, softwaresupport@astron.nl //# //# This program is free software; you can redistribute it and/or modify //# ...
// rawimg2png.c // Meteor Pi, Cambridge Science Centre // Dominic Ford // ------------------------------------------------- // Copyright 2016 Cambridge Science Centre. // This file is part of Meteor Pi. // Meteor Pi is free software: you can redistribute it and/or modify // it under the terms of the GNU General Pub...
/* Simple DirectMedia Layer Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
#ifndef _SMARTRF_SETTINGS_H_ #define _SMARTRF_SETTINGS_H_ //********************************************************************************* // Generated by SmartRF Studio version 2.6.0 (build #81) // Tested for SimpleLink SDK version: CC13x0 SDK 1.0.xx // Device: CC1310 Rev. 2.1 // //*******************************...
/** * @file object.h * @brief */ #ifndef _OBJECT_H_ #define _OBJECT_H_ /** * */ extern const void * Object; /** * @param _objA * @param _objB * @return * @brief */ extern int differ(const void * _objA, const void * _objB); #endif
#ifndef RlMove_RandomGeometricWalk_H #define RlMove_RandomGeometricWalk_H #include "RlMove.h" #include "TypedDagNode.h" #include <ostream> #include <string> namespace RevLanguage { /** * The RevLanguage wrapper of the random-geometric-walk move. * * The RevLanguage wrapper of the random-...
/* $Id: nls_time.c,v 1.5 2004/02/01 13:52:17 skaus Exp $ Return the dynamically allocated ASCII representation of the passed in time This file bases on NLS.C of FreeCOM v0.81 beta 1. $Log: nls_time.c,v $ Revision 1.5 2004/02/01 13:52:17 skaus add/upd: CVS $id$ keywords to/of files Revision 1.4 2003/03/11...
/************************************************************************ * To the extent possible under law, Nils Maier has waived all copyright * and related or neighboring rights to this work. ************************************************************************/ #include <windows.h> BOOL WINAPI DllMain(HINS...
/****************************************************************************** Copyright (C) 2002-2015 Argentum Online & Dakara Online Developers This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free So...
#ifndef JSONREADER_H #define JSONREADER_H #include "System/Buffers/ReadBuffer.h" /* =============================================================================================== JSONReader =============================================================================================== */ class JSONReader { publi...
/* draw a circle on an image * * Author N. Dessipris * Written on 30/05/1990 * Updated on: * 22/7/93 JC * - im_incheck() call added * 16/8/94 JC * - im_incheck() changed to im_makerw() * 5/12/06 * - im_invalidate() after paint * 6/3/10 * - don't im_invalidate() after paint, this now needs to be at a highe...
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Less...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGP...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Less...
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holdi...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding ...
/* Copyright (C) 2011, 2010 Sebastian Pancratz Copyright (C) 2009 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 versi...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding ...
/* Copyright (C) 2016 Vincent Delecroix 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 opti...
#include <cxxtest/TestSuite.h> // // A simple test suite that cannot be parsed with the default test discovery mechanism // class BadTest : public CxxTest::TestSuite { public: void testEquality() { TS_ASSERT_EQUALS( 1, 1 ); TS_ASSERT_EQUALS( 1, 2 ); TS_ASSERT_EQUALS( 'a', 'A' ); ...
/* * Copyright (C) 2011, 2012, 2013 Apple 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 list of ...
/**************************************************************************** ** ** Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB). ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt3D module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holdin...
/** * Copyright (c) 2018 panStamp S.L.U. <contact@panstamp.com> * * This file is part of the panStamp project. * * panStamp 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 Lic...
// Copyright (c) 2012-2015, The CryptoNote developers, The Bytecoin developers // // This file is part of Bytecoin. // // Bytecoin 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 3 of t...
/** * Copyright (c) 2016 panStamp <contact@panstamp.com> * * This file is part of the panStamp project. * * panStamp 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 3 of the Lic...
/*------------------------------------------------------------------------------ * (c) 2015 by Ivan Peon * All rights reserved *------------------------------------------------------------------------------ * Module : OsProcTest.h * Date : Jun ...
#include <stdint.h> #include <stdlib.h> #include "pd9p.h" uint32_t pd9p_newfid(pd9p_session *s) { uint32_t fid; struct pd9p_fidlinklist *newp; if(!(*s).freefids) fid=(*s).fidcounter++; else { fid=(*(*s).freefids).fid; newp=(*(*s).freefids).next; free((*s).freefids); (*s).freefids=newp; } return fid; }...
#include "Python.h" static PyObject *__Pyx_UnpackItem(PyObject *, int); static int __Pyx_EndUnpack(PyObject *, int); static int __Pyx_PrintItem(PyObject *); static int __Pyx_PrintNewline(void); static void __Pyx_ReRaise(void); static void __Pyx_RaiseWithTraceback(PyObject *, PyObject *, PyObject *); static PyObject *...
#pragma once #include "Serialize.h" class Serialize__tagUserOwnProjectTab : public Serialize_StructBase<_tagUserOwnProjectTab,Serialize__tagUserOwnProjectTab> { public: typedef _tagUserOwnProjectTab _MyObjectType; Serialize_map<Serialize_BaseObject<tstring> ,Serialize__tagUserProjectSet ,less<tstring>> OwnProjec...
// Copyright 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // ospray #include "../ImageOp.h" #include "rkcommon/tasking/parallel_for.h" // std #include <algorithm> namespace ospray { // The blur frame op is a test which applies a Gaussian blur to the frame struct OSPRAY_SDK_INTERFACE BlurFrameOp : pu...
/*========================================================================= Library: TubeTK Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 ( the "License" ); you may not use this file except in compliance with the L...
/* * Copyright 2011-2013 Ziminji * * 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...
/* * Copyright 2006-2008 The FLWOR Foundation. * * 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 o...
/* $OpenBSD: xmalloc.c,v 1.2 2009/06/07 08:39:13 ray Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved * Versions of malloc and friends that check their results, and never return * failure (they call fatal if ...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 Couchbase, 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 * * h...
/* * Copyright (c) 2017 Linaro Limited * Copyright (c) 2017 BayLibre, SAS. * * SPDX-License-Identifier: Apache-2.0 */ #ifndef DRIVERS_FLASH_STM32_H #define DRIVERS_FLASH_STM32_H #include <flash_registers.h> #if defined(CONFIG_SOC_SERIES_STM32F4X) #include <flash_map.h> #endif #if defined(CONFIG_SOC_SERIES_STM3...
// // Cannon.h // findit // // Created by Hongmin Wang on 6/7/15. // Copyright (c) 2015 www.whunmr.com. All rights reserved. // #import <SpriteKit/SpriteKit.h> #import "common.h" @interface Cannon : SKSpriteNode<Updatable> +(Cannon*)cannon: (NSString*)param; -(void)update:(CFTimeInterval)currentTime; @end
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: MainFrm.h,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softw...
// Copyright 2015 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 wri...
/* ========================================================================= * * * * The Apache Software License, Version 1.1 * * * * ...
/* * Copyright 2014 - 2015 Real Logic 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* Copyright 2016 Mirantis 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 distri...
/*========================================================================= * * 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...
/* * Copyright (c) 2014 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...
//===--- CodeCompletionResultSink.h ---------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2022 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
// // JTAlipayFriendsViewController.h // JLGT // // Created by 刘蒲艳 on 15/7/25. // Copyright (c) 2015年 ds. All rights reserved. // #import "JTBaseViewController.h" @interface JTAlipayFriendsViewController : JTBaseViewController @end
/* * Copyright 2017 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 ...
// // ZUser.h // Zulip // // Created by Leonardo Franchi on 7/29/13. // // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @class ZMessage, ZSubscription; @interface ZUser : NSManagedObject @property (nonatomic, retain) NSString * avatar_url; @property (nonatomic, retain) NSString * email; @prope...
// // UIViewCtrl_Software_Help.h // GreatTit04_Application // // Created by gabriella on 14-3-3. // Copyright (c) 2014年 gabriella. All rights reserved. // #import <UIKit/UIKit.h> @interface UIViewCtrl_Software_Help : FrameBaseViewController<UIWebViewDelegate> @property (assign, nonatomic) IBOutlet UIWebView *web...
#ifndef __wx__friendemploylog__ #define __wx__friendemploylog__ #include <iostream> #include "cocos2d.h" #include "cocos-ext.h" USING_NS_CC; USING_NS_CC_EXT; using namespace std; class friendemploylog:public CCLayer { public: CREATE_FUNC(friendemploylog); private: virtual bool init(); virtual...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
/* * Copyright (c) 2013-2014 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Cache manipulation * * This module contains functions for manipulation caches. */ #include <kernel.h> #include <arch/cpu.h> #include <misc/util.h> #include <toolchain.h> #include <cache.h> #in...
/***************************************************************************** * Copyright (C) 2013-2017 MulticoreWare, Inc * * Authors: Steve Borho <steve@borho.org> * Min Chen <chenm003@163.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
/* objplane.h - structure values for plane */ { "plane", "plane", /* long and short names */ "cube", /* long name of dual */ 4, 4, 1, /* number of vertices, edges, and faces */ { /* vertices (x,y,z) */ /* all points must be within...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/events/CloudWatchEvents_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue;...
#include <math.h> #include <vector> #include <random> #include <algorithm> #include <Eigen\dense> std::vector<int> DTMC (Eigen::MatrixXf, int, int);
// // BYTableViewCellRenderer.h // Beautify // // Created by Colin Eberhardt on 02/06/2013. // Copyright (c) 2013 Colin Eberhardt. All rights reserved. // #import "BYViewRenderer.h" #import "BYControlRenderer.h" @interface BYTableViewCellRenderer : BYControlRenderer @end
/* * Copyright (C) 2013 The Android Open Source Project * * 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 app...
// // CharacterScene.h // mcdrunning // // Created by chenbingfeng on 15/6/22. // // 角色选择 #ifndef __mcdrunning__CharacterScene__ #define __mcdrunning__CharacterScene__ #include "TRBaseScene.h" #include "cocos2d.h" #include <string> #include <unordered_map> #include <vector> class CharacterScene: public TRBaseScene...
// ZMTP protocol engine class /* 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/.*/ #ifndef __ZMTP_HANDSHAKE_H_INCLUDED__ #define __ZMTP_HANDSHAKE_H_INCLUDED__ #inclu...
/*************************************************************************** *cr *cr (C) Copyright 2008-2010 The Board of Trustees of the *cr University of Illinois *cr All Rights Reserved *cr ***************************************************************...
#ifndef framework2_h #define framework2_h #ifdef WIN32 # ifdef framework2_EXPORTS # define FRAMEWORK2_EXPORT __declspec(dllexport) # else # define FRAMEWORK2_EXPORT __declspec(dllimport) # endif #else # define FRAMEWORK2_EXPORT #endif void FRAMEWORK2_EXPORT framework2(); #endif
#include "e.h" #include "e_mod_main.h" /* actual module specifics */ static void _e_mod_action_syscon_cb(E_Object *obj, const char *params); static Eina_Bool _e_mod_syscon_defer_cb(void *data); static void _e_mod_syscon_cb(void *data, E_Menu *m, E_Menu_Item *mi); static void _e_mod_menu_add(void *data, ...
// 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_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_ #define UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_ #include <string> #include "base/macros.h" #include "ui/ap...
#ifndef INTERNAL_H #define INTERNAL_H #include <stdio.h> #include <stddef.h> #include <stdint.h> #include <stdlib.h> #include <time.h> #include <string.h> typedef int (*_compar_fn_t)(const void * r1, const void * r2, size_t rsize); typedef void (*_bisect_fn_t)(void * r, const void * r1, const void * r2, size_t rsize)...
#ifndef FALCON_DAMAGE_H #define FALCON_DAMAGE_H class FalconDamageType { public: enum { BulletDamage, MissileDamage, CollisionDamage, BombDamage, FODDamage, GroundCollisionDamage, ObjectCollisionDamage, FeatureCollisionDamage, DebrisDamage, ProximityDamage...
/* file: OGREUser.h * description: Defines a Database interface for generation and interaction * with the users in the database. * * For detailed usage and design notes, please refer the * OGRE Server - Data Services.md documentation. * * License **********...
//===-- MachException.h -----------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__dest_wchar_t_declare_cat_41.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__dest.label.xml Template File: sources-sink-41.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Set data po...
/****************************************************************************** This source file is part of the Avogadro project. Copyright 2011-2012 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 d...
/*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
// Copyright (C) 2013 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 conditions a...
// 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 COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_ #define COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_ #include "component...
/* * Copyright (C) 2010 Apple 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 list of conditions a...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE617_Reachable_Assertion__fgets_12.c Label Definition File: CWE617_Reachable_Assertion.label.xml Template File: sources-sink-12.tmpl.c */ /* * @description * CWE: 617 Reachable Assertion * BadSource: fgets Read data from the console using fgets() * GoodSource...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE188_Reliance_on_Data_Memory_Layout__modify_local_17.c Label Definition File: CWE188_Reliance_on_Data_Memory_Layout.label.xml Template File: point-flaw-17.tmpl.c */ /* * @description * CWE: 188 Reliance on Data Memory Layout * Sinks: modify_local * GoodSin...
/* Copyright 2018 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 "ec_commands.h" #include "led_pwm.h" #include "pwm.h" #include "util.h" const enum ec_led_id supported_led_ids[] = { ...
/* +----------------------------------------------------------------------------------------------+ | Windows Cache for PHP | +----------------------------------------------------------------------------------------------+ | Copyright (c...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Soeren Sonnenburg, Heiko Strathmann, Evan Shelhamer */ #include <shogun/lib/config.h> #ifndef MULTIQUADRIC_H_ #define MULTIQUADRIC_H_ #include <shogun/lib/common.h> #include <shogun/kernel/Kernel.h> #include <shogun/dis...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE506_Embedded_Malicious_Code__file_transfer_listen_socket_16.c Label Definition File: CWE506_Embedded_Malicious_Code__file_transfer.badonly.label.xml Template File: point-flaw-badonly-16.tmpl.c */ /* * @description * CWE: 506 Embedded Malicious Code * Sinks: li...
/* $NetBSD: strnlen.c,v 1.1.1.1 2011/04/13 18:15:43 elric Exp $ */ /* * Copyright (c) 1995 - 1999 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
/* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that this notice is preserved and that due credit is given * to the University of California at Berkeley. The name of the University * may not be ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE126_Buffer_Overread__char_alloca_memmove_44.c Label Definition File: CWE126_Buffer_Overread.stack.label.xml Template File: sources-sink-44.tmpl.c */ /* * @description * CWE: 126 Buffer Over-read * BadSource: Set data pointer to a small buffer * GoodSource: ...
// 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 CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_ARC_ARC_PROCESS_TASK_PROVIDER_H_ #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_ARC_ARC_PROCESS_TASK_PR...
/*- * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copy...
/// @file /// @version 2.0 /// /// @section LICENSE /// /// This program is free software; you can redistribute it and/or modify it under /// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause /// /// @section DESCRIPTION /// /// Demonstrates how multiple videos can be rendered at once easily...
#include "first.h" #undef NDEBUG #include <sys/types.h> #include <assert.h> #include <stdlib.h> #include <stdio.h> #include "mod_indexfile.c" #include "fdlog.h" __attribute_noinline__ static void test_mod_indexfile_reset (request_st * const r) { r->http_status = 0; buffer_copy_string_len(&r->uri.path, CONST_...
//------------------------------------------------------------------------------ // // // Project: Dynamic Script Converter // // File name: DSC_ScriptConverter.c // // Author: Charles Liu // // // Copyright (c) 2002 Zeevo Inc. All rights reserved. // //---------------------------------------...
/* * Copyright (c) 1986 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ #include "param.h" #include "user.h" #include "proc.h" #include "systm.h" #include "vm.h" #include "kernel.h" /* * Resource c...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_listen_socket_54e.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54e.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: listen_socket Read data using a listen socket (se...
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SAFE_BROWSING_ANDROID_SAFE_BROWSING_SETTINGS_LAUNCHER_ANDROID_H_ #define CHROME_BROWSER_SAFE_BROWSING_ANDROID_SAFE_BROWSING_SETTING...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE675_Duplicate_Operations_on_Resource__w32CreateFile_10.c Label Definition File: CWE675_Duplicate_Operations_on_Resource__w32CreateFile.label.xml Template File: sources-sinks-10.tmpl.c */ /* * @description * CWE: 675 Duplicate Operations on Resource * BadSource...
#ifndef COIN_SOSFNAME_H #define COIN_SOSFNAME_H /**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE690_NULL_Deref_From_Return__wchar_t_calloc_32.c Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml Template File: source-sinks-32.tmpl.c */ /* * @description * CWE: 690 Unchecked Return Value To NULL Pointer * BadSource: calloc Allocate data u...