text stringlengths 4 6.14k |
|---|
/*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... |
//
// 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
// distribute... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace ... |
/*
* 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... |
/*
* Copyright (c) 2010-2015 Wind River Systems, Inc.
* Copyright (c) 2017 Oticon A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Kernel swapper code for POSIX
*
* This module implements the arch_swap() routine for the POSIX architecture.
*
*/
#include "kernel.h"
#include <kernel_struct... |
//
// MobFoxNativeCustomEventSmaato.h
// MobFoxCoreDemo
//
// Created by Shimon Shnitzer on 17/5/16.
// Copyright © 2015 Shimon Shnitzer. All rights reserved.
//
#ifndef MobFoxNativeCustomEventSmaato_h
#define MobFoxNativeCustomEventSmaato_h
#import <MobFoxSDKCore/MobFoxSDKCore.h>
#import <iSoma/iSoma.h>
@interf... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/gamelift/GameLift_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult... |
/* $NetBSD: fsspace.c,v 1.1.1.1 2009/06/23 10:08:59 tron Exp $ */
/*++
/* NAME
/* fsspace 3
/* SUMMARY
/* determine available file system space
/* SYNOPSIS
/* #include <fsspace.h>
/*
/* struct fsspace {
/* .in +4
/* unsigned long block_size;
/* unsigned long block_free;
/* .in -4
/* };
/*
/* void fsspace(path, sp)
/... |
/*
* Copyright 2006-2011 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... |
// -*- C++ -*-
//=============================================================================
/**
* @file HTBP_Notifier.h
*
* $Id: HTBP_Notifier.h 80826 2008-03-04 14:51:23Z wotte $
*
* @author Phil Mesnier, Priyanka Gontla
*/
//=============================================================================
... |
////////////////////////////////////////////////////////////////////////////////
//
// APPS QUICKLY
// Copyright 2015 Apps Quickly Pty Ltd
// All Rights Reserved.
//
// NOTICE: Prepared by AppsQuick.ly on behalf of Apps Quickly. This software
// is proprietary information. Unauthorized use is prohibited.
//
//////... |
/*
* Copyright (c) 1991, 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 ... |
/*-
* 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... |
#ifndef TARANTOOL_UUID_H_INCLUDED
#define TARANTOOL_UUID_H_INCLUDED
/*
* Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributions o... |
/*
* refuse() reports a refused connection, and takes the consequences: in
* case of a datagram-oriented service, the unread datagram is taken from
* the input queue (or inetd would see the same datagram again and again);
* the program is terminated.
*
* Author: Wietse Venema, Eindhoven University of Tech... |
/*
* Copyright (c) 2014, 2015, 2016
* Kyle Cardoza <Kyle.Cardoza@icloud.com>
*
* All rights reserved.
*
* This file is part of GTKKit. It may be distributed under the terms of the
* 2-clause BSD License, which can be found in the file COPYING.BSD included in
* the packaging of this file.
*
* Alternatively, ... |
/*-
* Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
* Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pro... |
#pragma once
#include <node.h>
#include <v8.h>
#include <iostream>
#include <math.h>
#include <memory>
#include <algorithm>
#include <vector>
#include <string>
#include <stdio.h>
#include "Box2D/Box2D.h"
using std::vector;
using std::unique_ptr;
using std::shared_ptr;
using std::weak_ptr;
using std::cout;
using std::ce... |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PAGE_INFO_PERMISSION_CONTENT_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PAGE_INFO_PERMISSION_CONTENT_VIEW... |
/* $NetBSD: puts.c,v 1.17 2018/02/04 01:13:45 mrg Exp $ */
/*-
* 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
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE126_Buffer_Overread__CWE129_large_52a.c
Label Definition File: CWE126_Buffer_Overread__CWE129.label.xml
Template File: sources-sinks-52a.tmpl.c
*/
/*
* @description
* CWE: 126 Buffer Overread
* BadSource: large Large index value that is greater than 10-1
* G... |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_
#define CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_
#pragma once
#include "base/c... |
/*
* Firepony
* Copyright (c) 2014-2015, NVIDIA CORPORATION. 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
* notic... |
/* $OpenBSD: arc4random.c,v 1.41 2014/07/12 13:24:54 deraadt Exp $ */
/*
* Copyright (c) 1996, David Mazieres <dm@uun.org>
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
* Copyright (c) 2013, Markus Friedl <markus@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
... |
/* $OpenBSD: sha1_one.c,v 1.10 2014/06/12 15:49:30 deraadt Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* Th... |
/* Copyright (c) 2001, Stanford University
* All rights reserved.
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#ifndef BINARYSWAP_SPU_H
#define BINARYSWAP_SPU_H
#ifdef WINDOWS
#define BINARYSWAPSPU_APIENTRY __stdcall
#else
#define BINARYSWAPSPU_APIENTRY
#endif
#include "cr_has... |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, Esteban Tovagliari. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistr... |
/* Generated by re2c */
#line 1 "calc_008.b.re"
/* re2c lesson 001_upn_calculator, calc_008, (c) M. Boerger 2006 - 2007 */
#line 31 "calc_008.b.re"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define DEBUG(stmt) stmt
int stack[4];
int depth = 0;
int push_num(const char *t, const char *l, int radix)... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_listen_socket_printf_54e.c
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-54e.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: listen_socket Rea... |
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class edu_vt_cbil_visda_comp_FeaturePreSelector */
#ifndef _Included_edu_vt_cbil_visda_comp_FeaturePreSelector
#define _Included_edu_vt_cbil_visda_comp_FeaturePreSelector
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: edu... |
/*
* Copyright (C) 2010 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... |
#define V_SIMD 128
#define V_SIMD_F64 1
/***************************
* Data Type
***************************/
typedef __m128 v_f32;
typedef __m128d v_f64;
#define v_nlanes_f32 4
#define v_nlanes_f64 2
/***************************
* Arithmetic
***************************/
#define v_add_f32 _mm_add_ps
#define v_add... |
// Copyright (c) 2012 The Chromium Embedded Framework 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 CEF_LIBCEF_BROWSER_COOKIE_MANAGER_IMPL_H_
#define CEF_LIBCEF_BROWSER_COOKIE_MANAGER_IMPL_H_
#include <set>
#include "incl... |
/* $NetBSD: aout_machdep.h,v 1.1 2000/05/25 22:11:59 is Exp $ */
#include <powerpc/aout_machdep.h>
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__dest_char_alloca_cat_45.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__dest.label.xml
Template File: sources-sink-45.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Set data pointe... |
/* Glue functions for the minIni library, based on the EFS Library, see
* http://www.efsl.be/
*
* Copyright (c) CompuPhase, 2008-2011
*
* 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... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_int64_t_alloca_82.h
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete.pointer.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: alloca Data buffe... |
// 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 BASE_WIN_SCOPED_HDC_H_
#define BASE_WIN_SCOPED_HDC_H_
#include <windows.h>
#include "base/check.h"
#include "base/debug/gdi_debug_util_win.h... |
/***************************************************************************
Copyright (c) 2014, The OpenBLAS 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... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__short_fscanf_multiply_01.c
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-01.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: fscanf Read data from the console using fscanf()
* ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__wchar_t_declare_memmove_54c.c
Label Definition File: CWE127_Buffer_Underread.stack.label.xml
Template File: sources-sink-54c.tmpl.c
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated m... |
/*
* PMP demuxer.
* Copyright (c) 2011 Reimar Döffinger
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at y... |
#ifndef LISTWINDOW_H
#define LISTWINDOW_H
#include <QMainWindow>
#include <QSharedPointer>
#include <QFile>
#include <QTextStream>
;
namespace Ui {
class ListWindow;
}
namespace DNSView
{
class NonEditableQStringListModel;
class PCapThread;
class ListWindow : public QMainWindow
{
Q_OBJECT
public:
explicit... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__malloc_wchar_t_ncpy_61a.c
Label Definition File: CWE124_Buffer_Underwrite__malloc.label.xml
Template File: sources-sink-61a.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated m... |
// Copyright 2017 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 FXJS_XFA_CJX_EXTRAS_H_
#define FXJS_XFA_CJX_EXTRAS_H_
#include "fxjs/... |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... |
/* Copyright (C) 2005-2010, 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,... |
//
// US2ConditionCollection.h
// US2FormValidator
//
// Copyright (C) 2012 ustwo™
//
// 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... |
/* PM watchdog timer management. These functions in this file provide
* a convenient interface to the timers library that manages a list of
* watchdog timers. All details of scheduling an alarm at the CLOCK task
* are hidden behind this interface.
* Only system processes are allowed to set an alarm timer at th... |
/*
*
* Copyright (c) International Business Machines Corp., 2002
*
* 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 2 of the License, or
* (at your option... |
//
// ZDConcurrentOperation.h
// ZDToolKit
//
// Created by Zero.D.Saber on 2019/5/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef void(^ZDTaskOnComplteBlock)(BOOL);
typedef void(^ZDOperationTaskBlock)(ZDTaskOnComplteBlock);
@interface ZDConcurrentOperation : NSOperation
+ (instancetype... |
/**
* Basic header/include file for PromptOverlay.cpp.
*
* @author GabuEx, dawnmew
* @since 1.0
*
* Licensed under the MIT License.
*
* Copyright (c) 2014 Equestrian Dreamers
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files... |
/* error.c
* Reseni IJC-DU1, priklad a) b), 28.2.2013
* Autor: Michal Kozubik, FIT, xkozub03@stud.fit.vutbr.cz
* Prelozeno: gcc 4.7.2
* Soubor obsahuje funkce pro vypis chybovych hlasek na standardni chybovy
* vystup. U obou se pracuje s promennym poctem parametru (pomoci stdarg.h)
* a s funkci vfprintf.
* Error... |
//
// ALPHAFileConverter.h
// Alpha
//
// Created by Dal Rupnik on 10/06/15.
// Copyright (c) 2015 Unified Sense. All rights reserved.
//
#import "ALPHADataConverterSource.h"
@interface ALPHAFileConverter : NSObject <ALPHADataConverterSource>
@end
|
//
// AppDelegate.h
// SoundPayDevice
//
// Created by François Le Brun on 27/05/2014.
// Copyright (c) 2014 LeBrun. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//===- MCSectionXCore.h - XCore-specific section representation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//
// IGLDropDownMenu.h
// IGLDropDownMenuDemo
//
// Created by Galvin Li on 8/30/14.
// Copyright (c) 2014 Galvin Li. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "IGLDropDownItem.h"
@class IGLDropDownMenu;
typedef NS_ENUM(NSUInteger, IGLDropDownMenuRotate) {
IGLDropDownMenuRotateNone,
IGLDrop... |
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#ifndef MOAIFONTSHADER_FSH_H
#define MOAIFONTSHADER_FSH_H
#define SHADER(str) #str
static cc8* _fontShaderFSH = SHADER (
varying LOWP vec4 colorVarying;
varying MEDP vec2 uvVarying;
uniform sampler2D sampler;
void main ... |
//
// PKTCategoryItemFieldValue.h
// PodioKit
//
// Created by Sebastian Rehnby on 28/04/14.
// Copyright (c) 2014 Citrix Systems, Inc. All rights reserved.
//
#import "PKTItemFieldValue.h"
@interface PKTCategoryItemFieldValue : PKTItemFieldValue
@end
|
// This file was generated based on 'C:\ProgramData\Uno\Packages\Uno.Data.Xml\0.19.2\Source\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Uno{
namespace Data{
namespace Xml{
// internal class TargetSpecificXmlNode :54
// {
uType*... |
/**
* Copyright (C) 2013 Qualcomm Retail Solutions, Inc. All rights reserved.
*
* This software is the confidential and proprietary information of Qualcomm
* Retail Solutions, Inc.
*
* The following sample code illustrates various aspects of the FYX iOS SDK.
*
* The sample code herein is provided for your conve... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
#include <windows.h>
#include "seh.h"
char test[] = "SEH0045.c";
int perfect;
int main() {
ULONG Index1;
ULONG Index2 = 1;
LONG Counter;
Co... |
// MESSAGE STATUSTEXT PACKING
#define MAVLINK_MSG_ID_STATUSTEXT 254
typedef struct __mavlink_statustext_t
{
uint8_t severity; ///< Severity of status, 0 = info message, 255 = critical fault
int8_t text[50]; ///< Status text message, without null termination character
} mavlink_statustext_t;
#define MAVLINK_MSG_S... |
/*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* 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 2 of the License, or
* (at your o... |
/* MiniDLNA media server
* Copyright (C) 2013 NETGEAR
*
* This file is part of MiniDLNA.
*
* MiniDLNA is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* MiniDLNA is distributed in the hope... |
//
// iTermShortcutInputView.h
// iTerm
//
// Created by George Nachman on 4/7/14.
//
//
#import <Cocoa/Cocoa.h>
#import "iTermShortcut.h"
@class iTermShortcutInputView;
@protocol iTermShortcutInputViewDelegate <NSObject>
- (void)shortcutInputView:(iTermShortcutInputView *)view didReceiveKeyPressEvent:(NSEvent *... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by OcsWmi.RC
//
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 3000
#define _APS_NEXT_CONTROL_VALUE 3000
#define _APS_NEXT_SYMED_VALUE 3000... |
/*
* max98096.c -- MAX98095/6 ALSA SoC Audio driver
*
* Copyright 2012 Maxim Integrated Products
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#define DEVICE_MAX98096
... |
/****************************************************************
* RetroShare is distributed under the following license:
*
* Copyright (C) 2014 - 2010 RetroShare Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publis... |
/*
* Testing memory allocation.
*/
#include <runtime/lib.h>
#include <kernel/uos.h>
#include <random/rand15.h>
#include <mem/mem.h>
/*
* Installed SRAM 64k*8.
*/
#define RAM_START 0x1000
#define RAM_END 0xffff
#define MEM_SIZE 15000
#define NPTR 40
ARRAY (task, 0x400);
mem_pool_t pool;
unsigned long allocated... |
/*
Copyright 2007-2008 by Robert Knight <robertknight@gmail.com>
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 2 of the License, or
(at your option) any later ver... |
#include "../../corelibs/U2View/src/ov_sequence/sequence_info/DNAStatisticsTask.h"
|
/*
* Copyright (c) 2011 The Chromium OS Authors.
* (C) Copyright 2008,2009
* Graeme Russ, <graeme.russ@gmail.com>
*
* (C) Copyright 2002
* Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <malloc.h>
#... |
// license:BSD-3-Clause
// copyright-holders:hap, Sean Riddle, Kevin Horton
/*
TMS1000 MCU series tabletops/handhelds or other simple devices.
*/
#ifndef _HH_TMS1K_H_
#define _HH_TMS1K_H_
#include "emu.h"
#include "cpu/tms1000/tms1000.h"
#include "cpu/tms1000/tms1100.h"
#include "cpu/tms1000/tms1400.h"
#include "... |
/* AbiWord
* Copyright (C) 2005 Martin Sevior <msevior@physics.unimel.edu.au>
*
* 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 2
* of the License, or (at your option) any ... |
/*
* llist.c: linked list routines
*
* Some code copyright (C) 2002-2003, Philip S Tellis <philip . tellis AT gmx . net>
* Other code copyright Meredydd Luff <meredydd AT everybuddy.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licens... |
#ifndef _ASM_X86_BOOTPARAM_H
#define _ASM_X86_BOOTPARAM_H
#include <linux/types.h>
#include <linux/screen_info.h>
#include <linux/apm_bios.h>
#include <linux/edd.h>
#include <asm/e820.h>
#include <asm/ist.h>
#include <asm/video/edid.h>
/* setup data types */
enum {
SETUP_NONE = 0,
SETUP_E820_EXT,
SETUP_DTB,
};
/*... |
#ifndef QHIMDDETECTION_H
#define QHIMDDETECTION_H
#include <QObject>
#include <QList>
#include <QString>
#include <qmddevice.h>
// known vendor IDs
#define SONY 0x054c
#define SHARP 0x4dd
// known himd-mode product IDs
#define MZ_NH1_HIMD 0x017f
#define MZ_NH3D_HIMD 0x0181
#define MZ_NH900_HIMD 0x0183
#define MZ_NH7... |
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <console/console.h>
#include <fsp/util.h>
struct hob_type_name {
uint16_t type;
const char *name;
} __packed;
static const struct hob_type_name hob_type_names[] = {
{ HOB_TYPE_HANDOFF, "HOB_TYPE_HANDOFF" },
{ HOB_TYPE_MEMORY_ALLOCATION, "HOB_TYPE_MEMORY_AL... |
/*
* Copyright (c) 2003, Intel Corporation. All rights reserved.
* Created by: crystal.xiong REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*/
/*
* mq_timedreceive() test plan:
* ... |
#pragma once
#include "gcm_enums.h"
namespace rsx
{
class fragment_texture
{
protected:
const u8 m_index;
std::array<u32, 0x10000 / 4> ®isters;
public:
fragment_texture(u8 idx, std::array<u32, 0x10000 / 4> &r) : m_index(idx), registers(r) { }
fragment_texture() = delete;
// Offset
u32 offset() co... |
/*
* Copyright (C) 2012 Samsung Electronics
* Alim Akhtar <alim.akhtar@samsung.com>
*
* 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 2 of
* the License, or (at your opti... |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <symbols.h>
#include <soc/addressmap.h>
#include <soc/mmu.h>
#include <soc/sdram.h>
#include <arch/mmu.h>
void soc_mmu_init(void)
{
const unsigned long devmem = MA_DEV | MA_S | MA_RW;
const unsigned long secure_mem = MA_MEM | MA_S | MA_RW;
mmu_init();
/*
* ... |
/*
* Seven Kingdoms 2: The Fryhtan War
*
* Copyright 1999 Enlight Software Ltd.
*
* 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 2 of the License, or
* (at your option) a... |
#ifndef __BIOS_H
#define __BIOS_H
#include <features.h>
union REGS
{
struct { unsigned int ax, bx, cx, dx, si, di, cflag, flags; } x;
struct { unsigned char al, ah, bl, bh, cl, ch, dl, dh; } h;
};
struct SREGS
{
unsigned int es, cs, ss, ds;
};
unsigned int __get_cs __P((void));
unsigned int __get_ds __P(... |
#ifndef __CONFIG_H
#define __CONFIG_H
#define AT91_MAIN_CLOCK 6000000 /* 6.000 MHz crystal */
#endif /* __CONFIG_H */
|
/* Copyright (C) 2006, 2007 William McCune
This file is part of the LADR Deduction Library.
The LADR Deduction Library is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License,
version 2.
The LADR Deduction Library is distributed in the hope th... |
/* { dg-do compile } */
/* { dg-require-effective-target power10_ok } */
/* { dg-options "-Wno-psabi -mdejagnu-cpu=power10 -O2" } */
typedef unsigned char vec_t __attribute__((vector_size(16)));
void
foo (__vector_quad *dst, vec_t *src)
{
__vector_quad acc;
__builtin_mma_assemble_acc (&acc, src[0], src[4], src[8]... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 Rudolf Marek <r.marek@assembler.cz>
*
* 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; version 2 of the License.
*
... |
/*
* Copyright (c) 2009 Atheros Communications Inc.
* All rights reserved.
*
*
//
// Permission to use, copy, modify, and/or 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 SOFT... |
/** @file
* VirtualBox - Global Guest Operating System definition.
*/
/*
* Copyright (C) 2006-2011 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the ter... |
#ifndef __LINUX_CMA_H
#define __LINUX_CMA_H
/*
* Contiguous Memory Allocator for DMA mapping framework
* Copyright (c) 2010-2011 by Samsung Electronics.
* Written by:
* Marek Szyprowski <m.szyprowski@samsung.com>
* Michal Nazarewicz <mina86@mina86.com>
*
* This program is free software; you can redistribute it ... |
// Copyright 2009 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <vector>
#include "Common/CommonTypes.h"
#include "VideoBackends/Software/NativeVertexFormat.h"
#include "VideoBackends/Software/SetupUnit.h"
#include "VideoCommon/VertexManagerBase.... |
/*
* This file is part of Cleanflight.
*
* Cleanflight is free software. You can redistribute
* this software and/or modify this software 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.
... |
/* === This file is part of Calamares - <http://github.com/calamares> ===
*
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
*
* Calamares 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 versi... |
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <syslog.h>
#include "liburi.h"
void lib_clean_uri(struct uri *p)
{
if (p->params)
free(p->params);
memset(p, 0, sizeof(*p));
}
const char *lib_uri_param(struct uri *p, const char *key)
{
int j;
for (j = 0; j < p->nparams; j += 2) {
if (!st... |
/*
Unix SMB/CIFS implementation.
Generic Authentication Interface
Copyright (C) Andrew Tridgell 2003
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2004-2006
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... |
/*
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
* Reserved. This file contains Original Code and/or Modifications of
* Original Code as defined in and that are subject to the Apple Public
* Sour... |
/*
Copyright (C) 1997-2017 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 software for any purpose,
... |
/*
* This file is part of APRIL-ANN toolkit (A
* Pattern Recognizer In Lua with Artificial Neural Networks).
*
* Copyright 2012, Salvador España-Boquera, Adrian Palacios Corella, Francisco
* Zamora-Martinez
*
* The APRIL-ANN toolkit is free software; you can redistribute it and/or modify it
* under the terms of... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.