text
stringlengths
4
6.14k
/* * +----------------------------------------------------------+ * | +------------------------------------------------------+ | * | | Quafios Calculator. | | * | | -> Boolean header. | | * | +--------------------...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
// ************************************************************************** // // // BornAgain: simulate and fit scattering at grazing incidence // //! @file GUI/coregui/Views/JobWidgets/ProjectionsToolBar.h //! @brief Defines class ProjectionsToolBar //! //! @homepage http://www.bornagainproject.org //! @...
/* LeDiscovery.h Interactex Designer Created by Juan Haladjian on 05/10/2013. Interactex Designer is a configuration tool to easily setup, simulate and connect e-Textile hardware with smartphone functionality. Interactex Client is an app to store and replay projects made with Interactex Designer. www.interactex.or...
class Move { public: Move() {} Move( const InputState& inInputState, float inTimestamp, float inDeltaTime ) : mInputState( inInputState ), mTimestamp( inTimestamp ), mDeltaTime( inDeltaTime ) {} const InputState& GetInputState() const { return mInputState; } float GetTimestamp() const { return mTime...
#include "backupfile.h" #include <stdbool.h> extern char *backupfile_internal (int, char const *, enum backup_type, bool);
// // Copyright (c) 2017 Open Whisper Systems. All rights reserved. // NS_ASSUME_NONNULL_BEGIN @protocol ContactsManagerProtocol; @class OWSMessageSender; @protocol NotificationsProtocol; @protocol OWSCallMessageHandler; @interface TextSecureKitEnv : NSObject - (instancetype)initWithCallMessageHandler:(id<OWSCallM...
/* Copyright_License { Copyright (C) 2016 VirtualFlightRadar-Backend A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foun...
/* This file is part of solidity. solidity is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. solidity is distributed in the hope that i...
/* Copyright (C) 2011 Statoil ASA, Norway. The file 'gen_data.h' is part of ERT - Ensemble based Reservoir Tool. ERT is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Licens...
/* gb-project-tree-actions.h * * Copyright © 2015 Christian Hergert <christian@hergert.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
#pragma once #include "robomongo/gui/widgets/explorer/ExplorerTreeItem.h" namespace Robomongo { class ExplorerCollectionIndexesDir : public ExplorerTreeItem { Q_OBJECT public: using BaseClass = ExplorerTreeItem; static const QString labelText; explicit ExplorerCollectionInd...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** Commercial License Usage ** Licensees holding valid commercial Qt...
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_FXGE_CFX_FONTMAPPER_H_ #define CORE_FXGE_CFX_FONTMAPPER_H_ #incl...
//*************************************************************************** // // Copyright (c) 1999 - 2006 Intel Corporation // // 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 // // ...
#ifndef TICSCOUNTER_H #define TICSCOUNTER_H #include <linux/hpet.h> #include <sys/ioctl.h> #include <sys/wait.h> #include <signal.h> #include <time.h> #include <atomic> #include <stdlib.h> #include <fcntl.h> #include <stdint.h> #include <sys/ioctl.h> #include <sys/types.h> #include <unistd.h> #include <stdio.h> #incl...
/** * Copyright (c) 2006-2016 LOVE Development Team * * 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 software for any purpose, * ...
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-generic256.h" #include "../common/hc2cfdftv_8.c"
/* large.h - Handles binary manipulation of large numbers */ /* libzint - the open source barcode library Copyright (C) 2008 - 2021 Robin Stuart <rstuart114@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* 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...
/* NUI3 - C++ cross-platform GUI framework for OpenGL based applications Copyright (C) 2002-2003 Sebastien Metrot licence: see nui3/LICENCE.TXT */ #pragma once #include "nuiMainWindow.h" class MainWindow : public nuiMainWindow { public: MainWindow(const nglContextInfo& rContext, const nglWindowInfo& rInfo,...
#pragma once #include "augs/templates/maybe_const.h" template <class, class> class component_synchronizer; template <class, class> class synchronizer_base; template <class H> void construct_pre_inference(H); class write_synchronized_component_access { template <class, class> friend class synchronizer_base; temp...
/*****************************************************************************/ /* File: include.h (Khepera Simulator) */ /* Author: Olivier MICHEL <om@alto.unice.fr> */ /* Date: Wed Feb 14 10:05:32 MET 1996 */ ...
/* Implements > for _Decimal64 Copyright (C) 2018 Free Software Foundation, Inc. This file is part of the Decimal Floating Point C Library. The Decimal Floating Point C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2...
// // Copyright (C) 2004-2006 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ /////////////////////////////////////////////////////////////////////////////// #if !defi...
/* 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...
/* * ivykis, an event handling library * Copyright (C) 2013 Lennert Buytenhek * Dedicated to Marija Kulikova. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version * 2.1 as published by the Free Software Foundation. * * Th...
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Lice...
////////////////////////////////////////////////////////////////////// // // Pixie // // Copyright © 1999 - 2003, Okan Arikan // // Contact: okan@cs.utexas.edu // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public //...
/** * @file _httpsetpriority.h * @brief Internal declarations for HttpSetPriority * * $LicenseInfo:firstyear=2012&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2012, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the...
#include <stdlib.h> /* Provides exit */ #include <stdio.h> /* Provides printf, scanf, sscanf */ #include <unistd.h> /* Provides isatty */ #include "io_frontend.h" int ISATTY; /* Standard Input procedures **************/ _Bool _get_bool(FILE* file, char* n){ char b[512]; int r = 0; int s = 1; char c; do...
/** * \file * * \brief Chip-specific sleep manager configuration * * Copyright (c) 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Li...
/* Copyright (C) 2011 Sebastian Pancratz 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 opt...
#ifndef __RARBUG_H__ #define __RARBUG_H__ #include <openssl/sha.h> void SHA1_Update_WithRARBug(SHA_CTX *ctx,void *bytes,unsigned long length,int bug); #endif
/* * GPAC - Multimedia Framework C SDK * * Authors: Jean Le Feuvre * Copyright (c) Telecom ParisTech 2009-2012 * All rights reserved * * This file is part of GPAC / Dummy input module * * GPAC is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General ...
static char rcsid[] = "$Id$"; /* * $TSUKUBA_Release: Omni OpenMP Compiler 3 $ * $TSUKUBA_Copyright: * PLEASE DESCRIBE LICENSE AGREEMENT HERE * $ */ /* error case of parallel for 003: * do while ¤ËÂФ·¤Æ¡¢parallel for ¤ò»ØÄꤷ¤¿¾ì¹ç */ #include <omp.h> main () { int true = 1; #pragma omp parallel for ...
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You m...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/libcore/luni/src/main/java/libcore/io/ErrnoException.java // #ifndef _LibcoreIoErrnoException_H_ #define _LibcoreIoErrnoException_H_ @class JavaIoIOException; @class JavaLangThrowable; @class JavaNetSocketException; #include "J2ObjC_header....
// // MNSGetCreateMetadataOptions.h // // Copyright 2014 MediaNet Software // This file is part of MNSJiraRESTClient. // // MNSJiraRESTClient 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, eith...
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You m...
/**************************************************************************** ** ** Copyright (C) 2014 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) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #ifndef SPDLOG_HEADER_ONLY #include <spdlog/sinks/stdout_sinks.h> #endif #include <spdlog/details/console_globals.h> #include <spdlog/pattern_formatter.h> #include <...
#pragma once #include "types.h" #include "player.h" #include "qgameitem.h" class Player; class Block; class Block : public QGameItem { Q_OBJECT protected: int position; BlockType::Type block_type; virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); public: Block(QGameItem * parent); ...
/* * Copyright 2013 MongoDB, 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 ...
// // 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) 2015 Magnet Systems, Inc. * 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 require...
/* Copyright (C) 2013-2015 Computer Sciences Corporation * * 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...
// // DiffMatchPatch_iOSTests.h // DiffMatchPatch iOSTests // // Created by Harry Jordan on 12/04/2013. // // #import <SenTestingKit/SenTestingKit.h> @interface DiffMatchPatch_iOSTests : SenTestCase @end
/* * Copyright (c) 2011 Yeecco Limited */ #import <Foundation/Foundation.h> #import <StellaGraphics/StellaGraphics.h> #import "StellaKitExport.h" #import "SVView.h" #import "SVButton.h" #import "SVBarItem.h" #import "SVInterface.h" #import "SVControl.h" #import "SVGeometry.h" typedef enum { UIBarButtonSyste...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** Conform to `IGListTransitionDelegate` to provide customized layout information for a collection view. */ @protocol IGListTra...
/*! @file int16_to_float.h * @brief int16 to float converter. * @author Markovtsev Vadim <v.markovtsev@samsung.com> * @version 1.0 * * @section Notes * This code partially conforms to <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guide</a>. * * @section Copyrigh...
/* * Copyright (C) 2009-2012 Texas Instruments, 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 applicabl...
// Generated by generate_test_data.py using TFL version 2.6.0 as reference. #pragma once #include <stdint.h> const q7_t depthwise_2_weights[108] = { 31, -60, 10, 19, -70, 125, 35, 93, 22, -42, -54, -73, -24, -19, -99, 98, 58, -96, -18, 52, 10, -127, -44, 103, -46, -63, 51, 127, 93, ...
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. // // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, // copy, modify, and distribute this software in source code or binary form for use // in connection with the web services and APIs provided by Facebook. // // As with...
// 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_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ #define CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ #include "base/ba...
/***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___...
/********************************** (C) COPYRIGHT ******************************* * File Name : ch32f20x_crc.c * Author : WCH * Version : V1.0.0 * Date : 2021/08/08 * Description : This file provides all the CRC firmware functions. *********************************...
/* Copyright 2007-2015 QReal Research Group * * 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...
#include <sys/cdefs.h> #include <lib.h> #include "namespace.h" #include <string.h> #include <sys/time.h> #include <sys/select.h> int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout) { message m; memset(&m, 0, sizeof(m)); m.m_lc_vfs_select.nfds = nfds; m.m_lc_vf...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/chime-sdk-messaging/ChimeSDKMessaging_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/chime-sdk-me...
/******************************************************************************* * * Copyright 2013 Bess Siegal * * 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.apac...
/* * 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 ...
#include <stdint.h> #include <stddef.h> #include <assert.h> #include <nnpack.h> #include <nnpack/macros.h> #include <nnpack/utils.h> #include <nnpack/hwinfo.h> #include <nnpack/activations.h> #include <nnpack/validation.h> struct NNP_CACHE_ALIGN relu_context { nnp_relu_function relu_function; const float* input; ...
#ifndef _FALCLIB_H #define _FALCLIB_H #include "F4Vu.h" #pragma pack(1) typedef struct { ushort size; ushort type; } EventIdData; #pragma pack () extern FILE* F4EventFile; // ================================== // Falcon 4 Event stuff // ================================== class FalconEvent : public VuMessag...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #define BUFFER_SIZE 4096 char buffer[BUFFER_SIZE]; #define CPUINFO_PATH "/proc/cpuinfo" int main(int argc, char** argv) { int file = open(CPUINFO_PATH, O_RDONLY); if (file == -1) { fprintf(stder...
int main() { 2 + 3 * 5; return 0; }
/* * Copyright (c) 1983, 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 copyr...
/*- * Copyright (C) 1999 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condi...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
// OCHamcrest by Jon Reid, https://qualitycoding.org // Copyright 2021 hamcrest. See LICENSE.txt #import <OCHamcrest/HCBaseMatcher.h> NS_ASSUME_NONNULL_BEGIN /*! * @abstract Base class for matchers that generate mismatch descriptions during the matching. * @discussion Some matching algorithms have several "no m...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE400_Resource_Exhaustion__fgets_fwrite_84.h Label Definition File: CWE400_Resource_Exhaustion.label.xml Template File: sources-sinks-84.tmpl.h */ /* * @description * CWE: 400 Resource Exhaustion * BadSource: fgets Read data from the console using fgets() * Go...
// Copyright 2010-2021, 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 condit...
// 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_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_BYPASS_PROTOCOL_H_ #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_RED...
/* Copyright 2020 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. */ /* ite_evb baseboard configuration */ #include "clock.h" #include "common.h" #include "console.h" #include "fan.h" #include "gpio.h" #include "hook...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE843_Type_Confusion__short_51b.c Label Definition File: CWE843_Type_Confusion.label.xml Template File: sources-sink-51b.tmpl.c */ /* * @description * CWE: 843 Type Confusion * BadSource: short Point data to a short data type * GoodSource: Point data to an int...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_int_81.h Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml Template File: sources-sinks-81.tmpl.h */ /* * @description * CWE: 762 Mismatched Memory Management Routines * ...
/* Copyright 2022 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. */ /* Tune the MP2964 IMVP9.1 parameters for brya */ #include "common.h" #include "compile_time_macros.h" #include "console.h" #include "hooks.h" #in...
// 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_SENDER_VPX_ENCODER_H_ #define MEDIA_CAST_SENDER_VPX_ENCODER_H_ #include <stdint.h> #include "base/macros.h" #include "base/threading/...
// 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 PPAPI_PROXY_TCP_SERVER_SOCKET_PRIVATE_RESOURCE_H_ #define PPAPI_PROXY_TCP_SERVER_SOCKET_PRIVATE_RESOURCE_H_ #include <stdint.h> #include "base/c...
/* see copyright notice in squirrel.h */ #ifndef _SQPCHEADER_H_ #define _SQPCHEADER_H_ #if defined(_MSC_VER) && defined(_DEBUG) #include <crtdbg.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> //#include <new> //squirrel stuff #include <squirrel.h> #include "sqobject.h" #incl...
enum { SXSIMEDIA_SASITYPE = 0x07, SXSIMEDIA_INVSASI = 0x08 }; typedef struct { UINT8 sectors; UINT8 surfaces; UINT16 cylinders; } SASIHDD; typedef struct { UINT8 cylinders[2]; } THDHDR; typedef struct { char sig[16]; char comment[0x100]; UINT8 headersize[4]; UINT8 cylinders[4]; UINT8 surfaces[2]; UINT8 ...
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2013 Semtech Description: Generic driver for the GPS receiver UP501 License: Rev...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_ncpy_83.h Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml Template File: sources-sink-83.tmpl.h */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Initializ...
/*========================================================================= Program: Visualization Toolkit Module: vtkInteractorStyleTrackballCamera.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
/*- * Copyright (c) 1992, 1993, 1994 * The Regents of the University of California. All rights reserved. * Copyright (c) 1992, 1993, 1994, 1995, 1996 * Keith Bostic. All rights reserved. * * See the LICENSE file for redistribution information. */ #include "config.h" #ifndef lint static const char sccsid[] = ...
// @TEST-IGNORE #include <stdio.h> #include <libhilti.h> #include "callable.hlt.h" int main() { hlt_init(); hlt_execution_context* ctx = hlt_global_execution_context(); hlt_exception* excpt = 0; /// hlt_callable* c = foo_create_void(&excpt, ctx); HLT_CALLABLE_RUN(c, 0, Foo_MyCallableVoid, ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__free_int_declare_44.c Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml Template File: sources-sink-44.tmpl.c */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: declare Data buffer is declared ...
/* Copyright 2017 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. */ /* I2C module driver depends on chip series for Chrome EC */ #include "i2c.h" #include "i2c_chip.h" #include "registers.h" #include "util.h" /***...
// Copyright 2020 the V8 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. #ifndef V8_TRACING_TRACE_CATEGORIES_H_ #define V8_TRACING_TRACE_CATEGORIES_H_ #include "src/base/macros.h" #if defined(V8_USE_PERFETTO) // Exports tr...
/* Copyright (c) 2016, 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 and the follow...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE690_NULL_Deref_From_Return__long_realloc_67b.c Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml Template File: source-sinks-67b.tmpl.c */ /* * @description * CWE: 690 Unchecked Return Value To NULL Pointer * BadSource: realloc Allocate data ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE197_Numeric_Truncation_Error__int_large_to_short_65a.c Label Definition File: CWE197_Numeric_Truncation_Error__int.label.xml Template File: sources-sink-65a.tmpl.c */ /* * @description * CWE: 197 Numeric Truncation Error * BadSource: large Set data to a number...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file bulletShape.h * @autho...
// 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 CHROME_BROWSER_PREFS_PROFILE_PREF_STORE_MANAGER_H_ #define CHROME_BROWSER_PREFS_PROFILE_PREF_STORE_MANAGER_H_ #include <stddef.h> #include <memo...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_class_loop_81.h Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.label.xml Template File: sources-sink-81.tmpl.h */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Allocate us...
/* * pg_bulkload: lib/writer.c * * Copyright (c) 2011-2015, NIPPON TELEGRAPH AND TELEPHONE CORPORATION */ /** * @file * @brief Implementation of writer module */ #include "pg_bulkload.h" #include "utils/builtins.h" #include "utils/lsyscache.h" #include "pg_strutil.h" #include "logger.h" #include "reader.h" ...
// 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 SERVICES_DEVICE_GENERIC_SENSOR_ABSOLUTE_ORIENTATION_EULER_ANGLES_FUSION_ALGORITHM_USING_ACCELEROMETER_AND_MAGNETOMETER_H_ #define SERVICES_DEVICE_...
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #ifndef RUNTIME_VM_HEAP_SWEEPER_H_ #define RUNTIME_VM_HEAP_SWEEPER_H_ #include "vm/globals.h" namespa...
/* $Id: alloc.c,v 1.1 2003/05/16 21:48:12 fredette Exp $ */ /* libtme/alloc.c - memory allocation utility functions: */ /* * Copyright (c) 2003 Matt Fredette * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...