text stringlengths 4 6.14k |
|---|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE506_Embedded_Malicious_Code__w32_file_attrib_modified_02.c
Label Definition File: CWE506_Embedded_Malicious_Code__w32.label.xml
Template File: point-flaw-02.tmpl.c
*/
/*
* @description
* CWE: 506 Embedded Malicious Code
* Sinks: file_attrib_modified
* Goo... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__char_alloca_loop_53a.c
Label Definition File: CWE127_Buffer_Underread.stack.label.xml
Template File: sources-sink-53a.tmpl.c
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory b... |
#ifndef everything_h
#define everything_h
#include "colors.h"
#include "debugs.h"
#include "maths.h"
#include "matrices.h"
#include "misc.h"
#include "rands.h"
#include "strings.h"
#include "timings.h"
#include "files.h"
#endif
|
/*============================================================================
Library: CppMicroServices
Copyright (c) German Cancer Research Center (DKFZ)
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.
... |
/* 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 "console.h"
#include "ipi_chip.h"
#include "mdp_ipi_message.h"
#include "queue_policies.h"
#include "registers.h"
#include "task.h"
#inclu... |
//
// AAMFeedbackTopicsViewController.h
// AAMFeedbackViewController
//
// Created by 深津 貴之 on 11/11/30.
// Copyright (c) 2011年 Art & Mobile. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AAMFeedbackTopicsViewController : UITableViewController {
}
@property(weak, nonatomic) id delegate;
@property(no... |
#ifdef HAVE_CONFIG_H
#include "../../ext_config.h"
#endif
#include <php.h>
#include "../../php_ext.h"
#include "../../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
#include "kernel/object.h"
#include "kernel/memory.h"
#include "k... |
/*
* Copyright (c) 1986, 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... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "item.h"
struct t_item{
int key;
char str[MAX_STR];
};
int item_compare(Item a, Item b)
{
return a->key - b->key;
}
Item item_scan(FILE *fp)
{
Item new = malloc(sizeof(*new));
if(fp == stdin)
{
printf("\nKey: ");
scanf("%d", &new->key);
... |
/*
* Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__fscanf_memcpy_15.c
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-15.tmpl.c
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fscanf Read data from the console u... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
// 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 CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
#define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_
#include "base/basictypes.h"
class ChromePro... |
// Copyright 2011 Mariano Iglesias <mgiglesias@gmail.com>
#ifndef QUERY_H_
#define QUERY_H_
#include <v8.h>
#include <stdlib.h>
#include <node.h>
#include <node_buffer.h>
#include <node_version.h>
#include <algorithm>
#include <cctype>
#include <iomanip>
#include <string>
#include <sstream>
#include <vector>
#include ... |
/* mos_timer.c */
/*
Copyright (c) 2012 by Jason Cheung <yujiecheung@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_delete_array_long_83.h
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_delete_array.label.xml
Template File: sources-sinks-83.tmpl.h
*/
/*
* @description
* CWE: 762 Mismatched Memory Managem... |
// 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 VIEWS_WIDGET_WIDGET_DELEGATE_H_
#define VIEWS_WIDGET_WIDGET_DELEGATE_H_
#pragma once
namespace views {
// WidgetDelegate interface
// Handle... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int64_t_fscanf_add_65b.c
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-65b.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: fscanf Read data from the console using fscanf()
* G... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__dest_wchar_t_alloca_cat_32.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__dest.label.xml
Template File: sources-sink-32.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Set data poi... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_environment_vfprintf_61b.c
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-61b.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: environ... |
/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkVMVisualizer_DEFINED
#define SkVMVisualizer_DEFINED
#include <unordered_map>
#include <vector>
#include "include/core/SkSpan.h"
#include "include/core/SkStream.h"
#inc... |
// Copyright (c) 2009-2014 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); 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 License,
// or... |
/*
* Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
* Copyright (C) 2005 Eric Seidel <eric@webkit.org>
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify ... |
//
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// 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 top level of the distribution
// and at http://projectchrono.org/license-chrono.txt.
//
#if... |
#include <stdio.h>
#include <string.h>
#include <libgen.h>
#include <stdlib.h>
int
main(int argc, char *argv[])
{
if (argc < 3) {
printf("not enough arguments\n");
return 1;
}
FILE *fp_h = fopen(argv[1], "w");
if (!fp_h) {
printf("can't open %s\n", argv[1]);
return 2;
... |
/*
*
* Copyright (C) 1993-2011, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmqrdb
*
* Author: Marco Ei... |
/*-
* BSD LICENSE
*
* Copyright(c) 2017 Intel 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 copyrig... |
/**********************************************************************
utf_32le.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
* Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
* All rights reserved.
*
* Redistribution an... |
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#ifndef ZL_H
#define ZL_H
#include <zlcore/pch.h>
#include <zlcore/zl_mutex.h>
#ifdef __cplusplus
extern "C" {
#endif
//================================================================//
// zl_stat
//========================... |
//
// BRAppleWatchSharedConstants.h
// BreadWallet
//
// Created by Henry on 10/27/15.
// Copyright (c) 2015 Aaron Voisine <voisine@gmail.com>
// Copyright © 2016 Litecoin Association <loshan1212@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and... |
#include <stdlib.h>
#include <time.h>
#include "item.h"
#include "list.h"
static int N = 10;
int main(void) {
link h;
srand(time(NULL));
h = list_init(N);
list_show(h);
h = list_sort(h);
list_show(h);
return 0;
}
|
//
// Created by Dani Postigo on 1/29/14.
//
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
@interface NSButton (DPKit)
- (void) addTarget: (id) target action: (SEL) selector;
@end |
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
@class WebViewDelegate;
@interface ContentView : NSView {
IBOutlet WebView* webView;
WebViewDelegate* delegate;
}
- (void) triggerEvent:(NSString *)type;
@property (retain) WebView* webView;
@property (retain) WebViewDelegate* delegate;
@end
|
/*!
* \file ConcertDesign.h
*
* \brief It contain declarations for ConcertDesgin to be defined
*
*
* Compiler g++
*
* \author amarjeet singh kapoor
*
*/
#ifndef _CONCERTDESIGN_H
#define _CONCERTDESIGN_H
#include"header.h"
class CodeType{
public:
string code;
string section;
vector<int>... |
//
// PKShortVideoWriter.h
// DevelopWriterDemo
//
// Created by jiangxincai on 16/1/14.
// Copyright © 2016年 pepsikirk. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class PKShortVideoRecorder;
@protocol PKShortVideoRecorderDelegate <NSObject>
@requ... |
/*
Copyright (c) 2013 GoPivotal, Inc. All rights reserved.
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,... |
#ifndef __HTTP_CLIENT_H__
#define __HTTP_CLIENT_H__
#include "cocos2d.h"
#include "extensions/cocos-ext.h"
#include "network/HttpClient.h"
class HttpClientTest : public cocos2d::Layer
{
public:
HttpClientTest();
virtual ~HttpClientTest();
void toExtensionsMainLayer(cocos2d::Object *sender);
//Men... |
#ifndef _MFnStringData
#define _MFnStringData
//
//-
// ==========================================================================
// Copyright (C) 1995 - 2006 Autodesk, Inc., and/or its licensors. All
// rights reserved.
//
// The coded instructions, statements, computer programs, and/or related
// material (coll... |
/*
Copyright 2009-2013 Urban Airship 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... |
#ifndef MAIN_H
#define MAIN_H
extern const char *dns_client_socket_path, *base_dir;
extern struct mail_storage_service_ctx *storage_service;
extern struct anvil_client *anvil;
void listener_client_destroyed(void);
#endif
|
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2013 The PHP Group |
+---------... |
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Android\0.18.8\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
#include <Uno.Recti.h>
namespace g{namespace Android{namespace android{namespace text{struct LayoutDLRAlignment;}}}}
namesp... |
//
// IMUIMacros.h
// JLWeChat
//
// Created by jimneylee on 14-5-19.
// Copyright (c) 2014年 jimneylee. All rights reserved.
//
#ifndef JLWeChat_IMUIMacros_h
#define JLWeChat_IMUIMacros_h
// APP 主色调
#define APP_MAIN_COLOR RGBCOLOR(33.f, 40.f, 42.f)
// 搜索框激活时背景色
#define SEARCH_ACTIVE_BG_COLOR RGBCOLOR(201, 201, 2... |
//
// GADMediatedNativeAdNotificationSource.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>
#import <GoogleMobileAds/Mediation/GADMediatedNativeAd.h>
GAD_ASSUME_NONNULL_BEGIN
/// Used by media... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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 witho... |
/****************************************************************************
Copyright (c) 2010 cocos2d-x.org
http://www.cocos2d-x.org
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 res... |
//
// Dweet_ios.h
// Dweet-ios
//
// Created by Tim Buick on 2015-06-10.
// Copyright (c) 2015 PBJ Studios. All rights reserved.
//
#import <Foundation/Foundation.h>
#define DDBG(x,...) if (debugLevel!=0 && x<=debugLevel) NSLog(__VA_ARGS__)
// debug levels
enum {
NO_DEBUG=0,
SHOW_ERRORS=1,
SHOW_ALL=2,
}... |
#ifndef POP_FADE_H
#define POP_FADE_H
void pop_fade() {
unsigned long thiscolour;
if (ranamount >NUM_LEDS) ranamount = NUM_LEDS; // Make sure we're at least utilizing ALL the LED's.
int idex = random16(0, ranamount);
if (idex < NUM_LEDS) { // Only the lowest p... |
//
// Copyright 2011-2014 Orbotix Inc. All rights reserved.
//
/*! @file */
#import <Foundation/Foundation.h>
#import "RKDeviceCommand.h"
/*!
* @brief Class to encapsulate a set heading command and it's parameters.
*
* Class that encapsulates a calibrate command used to set the 0° heading.
* Thus, if you send... |
/*
* Copyright (C) 2006-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 conditi... |
/*
* CGGeometry.h
* Foundation
*
* Created by Francisco Tolmasky.
* Copyright 2008, 280 North, Inc.
*
* This library 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... |
#ifndef REGTEST
#include <windows.h>
#include <threads.h>
#include <stdlib.h>
extern struct _PDCLIB_tss * _PDCLIB_tss_first;
void tss_delete( tss_t key )
{
struct _PDCLIB_tss * prev = NULL;
struct _PDCLIB_tss * cur = _PDCLIB_tss_first;
while(cur) {
if(cur == key) {
if(prev)... |
/*
* Copyright (C) 2006 Cooper Street Innovations Inc.
* Charles Eidsness <charles@cooper-street.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 Licen... |
/*
* ProFTPD - mod_auth_otp
* Copyright (c) 2015 TJ Saunders
*
* 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 version.
*... |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/mmio.h>
#include <console/console.h>
#include <delay.h>
#include <soc/clock.h>
#include <soc/iomap.h>
#include <soc/usb.h>
#define CRPORT_TX_OVRD_DRV_LO 0x1002
#define CRPORT_RX_OVRD_IN_HI 0x1006
#define CRPORT_TX_ALT_BLOCK 0x102d
static u32 *const tcsr_us... |
/*************************************************************************************************/
/* AIT ISP Host API */
/* All rights reserved by Alpah Image Technology Corp */
/*---------------... |
/* r3964 linediscipline for linux
*
* -----------------------------------------------------------
* Copyright by
* Philips Automation Projects
* Kassel (Germany)
* http://www.pap-philips.de
* -----------------------------------------------------------
* This software may be used and distributed according to the... |
/* This file is part of the KDE project
* Copyright 2007 Marijn Kruisselbrink <m.Kruisselbrink@student.tue.nl>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 ... |
/*
* drivers/amlogic/amports/arch/regs/hhi_regs.h
*
* Copyright (C) 2015 Amlogic, Inc. All rights reserved.
*
* 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 Licen... |
/*
* ChromeOS EC multi-function device
*
* Copyright (C) 2012 Google, Inc
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed ... |
#include "../generic/wrappers.c"
long lens_get_focus_pos()
{
return _GetFocusLensSubjectDistance();
}
long lens_get_focus_pos_from_lens()
{
return _GetFocusLensSubjectDistanceFromLens();
}
long lens_get_target_distance()
{
return _GetCurrentTargetDistance();
//return 0;
}
|
/*
* Enterprise specific IPFIX Information Elements and lookup functions
* Copyright (C) 2014 Oliver Gasser
*
* 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 Lic... |
/*
* Compressed RAM block device
*
* Copyright (C) 2008, 2009, 2010 Nitin Gupta
*
* This code is released using a dual license strategy: BSD/GPL
* You can choose the licence that better fits your requirements.
*
* Released under the terms of 3-clause BSD License
* Released under the terms of GNU General Publi... |
/*
* print.c - library routines for printing ASN.1 values.
*
* Copyright (C) 1992 Michael Sample and the University of British Columbia
*
* This library is free software; you can redistribute it and/or
* modify it provided that this copyright/license information is retained
* in original form.
*
* If you modif... |
#pragma once
/*
* Copyright (C) 2012-2013 Team XBMC
* http://www.xbmc.org
*
* 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, or (at your option)
* any later... |
/*
* Copyright (c) 2020 SUSE LLC
*
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as published
* by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... |
#ifndef __GESENT3D_H__
#define __GESENT3D_H__
#include "gecurv3d.h"
#include "gekvec.h"
#include "gept3dar.h"
#include "gevec3d.h"
#include "gepnt3d.h"
#include "gept3dar.h"
#include "..\inc\zgesent3d.h"
#ifndef AcGeContext
#define AcGeContext ZcGeContext
#endif //#ifndef AcGeContext
#ifndef AcGe... |
/* Support for GCC on PowerPC using WindISS simulator.
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
This file is part of GCC.
GCC 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) 2004, Bull SA. All rights reserved.
* Created by: Laurent.Vivier@bull.net
* 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.
*/
/*
* assertion:
*
* The list array may contain NULL elements wh... |
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
* vim:expandtab:shiftwidth=8:tabstop=8:
*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lic... |
/***************************************************************************
* 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 you... |
/* Misfit Model 3D
*
* Copyright (c) 2004-2007 Kevin Worcester
*
* 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 ... |
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
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.
This program is distributed in t... |
#include "../../../src/devicehosting/controlpoint/hcontrolpoint_configuration.h"
|
/* Abiword
* Copyright (C) 2002 Christian Biesinger <cbiesinger@web.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later ... |
/*
* Copyright (C) 2005 Jimi Xenidis <jimix@watson.ibm.com>, IBM Corporation
*
* 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 la... |
#ifndef __LINUX_COMPILER_H
#error "Please don't include <linux/compiler-gcc4.h> directly, include <linux/compiler.h> instead."
#endif
/* GCC 4.1.[01] miscompiles __weak */
#ifdef __KERNEL__
# if __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ <= 1
# error Your version of gcc miscompiles the __weak directive
# endif
#endif... |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (c) 2004-2007 Silicon Graphics, Inc. All Rights Reserved.
*/
/*
* Cross Partition Memory (XPMEM) structures and macros.
*/
... |
/*
* Copyright (C) 2021 Paul Davis <paul@linuxaudiosystems.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 version.
... |
/* mkhdimage.c, for the Linux DOS emulator
*
* cheesy program to create an hdimage header
*
*/
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#ifdef __linux__
#include <getopt.h>
#endif
#include <errno.h>
#include <string.h>
int sectors = 17, heads = 4, cylinders = 40, header_size =... |
/*
* This file is part of the coreboot project.
*
* Copyright 2017 Google Inc.
*
* 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.
*
* This program is distribute... |
#pragma once
/*
* Copyright 2010-2016 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom 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... |
/*
*
* Author: Thomas Pasquier <thomas.pasquier@bristol.ac.uk>
*
* Copyright (C) 2015-2016 University of Cambridge
* Copyright (C) 2016-2017 Harvard University
* Copyright (C) 2017-2018 University of Cambridge
* Copyright (C) 2018-202O University of Bristol
*
* This program is free software; you can redistribute it and... |
/* ----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support
* ----------------------------------------------------------------------------
* Copyright (c) 2015, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in source and... |
/****************************************************************************
**
** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://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 w... |
/*! @file RoboPedestrianState.h
@brief RoboPedestrian State
@author Jason Kulk, Aaron Wong
Copyright (c) 2010 Jason Kulk
This file 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 ... |
#pragma once
#include "Score.h"
#include "ofxXmlSettings.h"
class Ranking: public ofxXmlSettings
{
public:
Ranking(void);
void saveXmlScore(Score score);
void loadXmlRanking();
Score getMaxScore(void);
private:
int numberOfSavedPoints;
vector<Score> rank;
... |
/*
* 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.
... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIProxiedChannel.idl
*/
#ifndef __gen_nsIProxiedChannel_h__
#define __gen_nsIProxiedChannel_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#en... |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "InformationElements"
* found in "../asn/InformationElements.asn"
* `asn1c -fcompound-names -fnative-types`
*/
#include "GSM-MS-RadioAccessCapability.h"
int
GSM_MS_RadioAccessCapability_constraint(asn_TYPE_descriptor_t *td, const voi... |
/*
* Image.h
*
* Author: ROBOTIS
*
*/
#ifndef _IMAGE_H_
#define _IMAGE_H_
namespace Robot
{
class Image
{
private:
protected:
public:
static const int YUV_PIXEL_SIZE = 4;
static const int RGB_PIXEL_SIZE = 3;
static const int HSV_PIXEL_SIZE = 4;
unsigned... |
/*
auditory/syslatency.h
Measures latency of the whole system, i.e. signal delay, transduction,
RELACS - Relaxed ELectrophysiological data Acquisition, Control, and Stimulation
Copyright (C) 2002-2015 Jan Benda <jan.benda@uni-tuebingen.de>
This program is free software; you can redistribute it and/or modif... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://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 w... |
/*
* GMAMEUI
*
* Copyright 2010 Andrew Burton <adb@iinet.net.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 3 of the License, or
* (at your option) any later versi... |
/*****************************************************************************
* Copyright (c) 2014-2019 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... |
/**
* 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... |
/* Test file for mpfr_asinh.
Copyright 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it under ... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://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 w... |
/*
* Include files
*/
#include "../pblas.h"
#include "../PBpblas.h"
#include "../PBtools.h"
#include "../PBblacs.h"
#include "../PBblas.h"
//WCC:add
// To disable warnings generated by gcc-9.
void wcc_Cigebs2d(int ConTxt, char *scope, char *top, int m, int n, char *A,
int lda)
{
Cigebs2d(ConTxt, ... |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.