text stringlengths 4 6.14k |
|---|
/*
*
* Copyright (c) 2014-2017 Nest Labs, 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... |
//
// OJNIArrayInfo.h
// Zdravcity-iOS
//
// Created by Alexander Shitikov on 16.03.16.
// Copyright © 2016 A. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OJNIEnv.h"
@interface OJNIArrayInfo : NSObject
@property (nonatomic) BOOL isPrimitive;
@property (nonatomic) Class componentType;
@prop... |
#ifndef MUTEX_H_
#define MUTEX_H_
#include <pthread.h>
namespace PThread {
/**
* @brief Clase para manejar los mutex de POSIX threads. Tiene una interfaz muy
* simple, con los métodos básicos y solo se manejan mutex creados con los
* atributos por defecto
*/
class Mutex {
public:
/**
* @brief Instancia un m... |
////////////////////////////////////////////////////////////////////////////
// Module : alife_space.h
// Created : 08.01.2002
// Modified : 08.01.2003
// Author : Dmitriy Iassenev
// Description : ALife space
////////////////////////////////////////////////////////////////////////////
#ifndef XRAY_ALIFE_SPACE
#... |
/*
* Copyright 2010-2016 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... |
/*
ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
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 ... |
/*
* 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... |
#pragma once
#include <string>
#include "envoy/server/filter_config.h"
#include "common/config/well_known_names.h"
namespace Envoy {
namespace Server {
namespace Configuration {
/**
* Config registration for the cors filter. @see NamedHttpFilterConfigFactory.
*/
class CorsFilterConfig : public NamedHttpFilterCon... |
//
// KeyboardBar.h
// IB Checker
//
// Created by Thanh on 5/18/15.
// Copyright (c) 2015 Puganda_Mac. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KeyboardBar : UIView
@property (strong, nonatomic) UITextView *textView;
@end
|
//
// WebApiClient-Core.h
// WebApiClient
//
// Created by Matt on 21/07/15.
// Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.
//
#import <WebApiClient/DataWebApiResource.h>
#import <WebApiClient/FileWebApiResource.h>
#import <WebApiClient/NSDictionary+WebApiClien... |
//
// Aircraft.h
// Strategy
//
// Created by btw on 15/3/9.
// Copyright (c) 2015年 Nihility. All rights reserved.
//
#import <Foundation/Foundation.h>
@class Flight;
@protocol Flight;
@class TakeOff;
@protocol TakeOff;
@interface Aircraft : NSObject
@property (strong, nonatomic) Flight<Flight> *flight;
@prope... |
//
// AppDelegate.h
// kalestenika
//
// Created by Gian Marco Sibilla on 29/07/15.
// Copyright (c) 2015 Gian Marco Sibilla. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/*
* Copyright (c) 2018 <Carlos Chacón>
* All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
#ifndef OPENSIM_PSIM_CONCRETE_PARAMETERS_H_
#define OPENSIM_PSIM_CONCRETE_PARAMETERS_H_
/* -------------------------------------------------------------------------- *
* OpenSim: ConcreteParameters.h *
* ---------------------------------------------------------------------... |
//
// ArticleListView.h
// Vienna
//
// Created by Steve on 8/27/05.
// Copyright (c) 2004-2014 Steve Palmer and Vienna contributors. 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 ... |
#include<stdio.h>
// Andrew was here
int main()
{
int save1=5,save2=2; //Set the integers and name the save
float average; // Average variable
int total; // set total for integer
total=save1+save2; // Set total given the variables
average=total/2.0; // Divide
printf("Total of %d and %d = %d",save1,sav... |
#define PARROT_IN_EXTENSION
#include "parrot/parrot.h"
#include "parrot/extend.h"
#include "../sixmodelobject.h"
#include "VMIter.h"
/* This representation's function pointer table. */
static REPROps *this_repr;
/* Creates a new type object of this representation, and associates it with
* the given HOW. */
static PM... |
int xmodem_recv(int usecrc);
int xmodem_send(int send1k);
|
/*
* vsnprintf()
*
* Poor substitute for a real vsnprintf() function for systems
* that don't have them...
*/
#include "compiler.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "nasmlib.h"
#define BUFFER_SIZE 65536 /* Bigger than any string we mi... |
#ifndef SD_SNAPSHOTITER_H_
#define SD_SNAPSHOTITER_H_
/*
* sophia database
* sphia.org
*
* Copyright (c) Dmitry Simonenko
* BSD License
*/
typedef struct sdsnapshotiter sdsnapshotiter;
struct sdsnapshotiter {
sdsnapshot *s;
sdsnapshotnode *n;
uint32_t npos;
} sspacked;
static inline int
sd_snapshotiter_open... |
/*
* Copyright (c) 2014, Linaro Limited
* 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 cond... |
/* Public domain */
#ifndef _AGAR_CORE_NET_SERVER_H_
#define _AGAR_CORE_NET_SERVER_H_
#include <agar/core/begin.h>
#define NS_HOSTNAME_MAX 256
struct ns_server;
struct ns_client;
struct ns_cmd;
enum ns_log_lvl {
NS_DEBUG,
NS_INFO,
NS_NOTICE,
NS_WARNING,
NS_ERR,
NS_CRIT,
NS_ALERT,
NS_EMERG
};
typedef int (*... |
/*
* Copyright 2014 Nutiteq Llc. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://www.nutiteq.com/license/
*/
#ifndef _NUTI_TORQUETILEDECODER_H_
#define _NUTI_TORQUETILEDECODER_H_
#include "VectorTileDecoder.h"
#include "MapnikVT/Value.h"
#inclu... |
/*
* Part of DNS zone file validator `validns`.
*
* Copyright 2011-2014 Anton Berezin <tobez@tobez.org>
* Modified BSD license.
* (See LICENSE file in the distribution.)
*
*/
#include <sys/types.h>
#include <stdio.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "common.h"
#include "textparse.h"
#incl... |
/*
* THE CHRONOTEXT-PLAYGROUND: https://github.com/arielm/chronotext-playground
* COPYRIGHT (C) 2014-2015, ARIEL MALKA ALL RIGHTS RESERVED.
*
* THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE SIMPLIFIED BSD LICENSE:
* https://github.com/arielm/chronotext-playground/blob/master/LICENSE
*/
/*
* SEE COMMENTS IN... |
/*
* Copyright 2008-2017 Katherine Flavel
*
* See LICENCE for the full copyright terms.
*/
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <re/re.h>
static int
re_fprint(FILE *f, enum re_dialect dialect, const char *s)
{
char start, end;
assert(f != ... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2018-2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
/*
* Copywrite 2014-2015 Krzysztof Stasik. All rights reserved.
*/
#pragma once
#include "base/core/types.h"
#include "rush/punch/server.h"
#include "../common/punch_message.h"
#include "base/network/url.h"
#include "base/network/socket.h"
#include <vector>
namespace Rush {
namespace Punch {
static const s32 kPunc... |
/*-
* Copyright (c) 2010 Redpill Linpro AS
* All rights reserved.
*
* Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
*
* 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 re... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "BlueprintFieldNodeSpawner.h"
#include "BlueprintDelegateNodeSpawner.generated.h"
// Forward declarations
class UK2Node_BaseMCDelegate;
/**
* Takes care of spawning various nodes associated with delegates. Serves as the
* "action"... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Core.h"
#include "ISourceControlProvider.h"
class SOURCECONTROLWINDOWS_API FSourceControlWindows
{
public:
/** Opens a dialog to choose packages to submit */
static void ChoosePackagesToCheckIn();
/** Determines whether we can ch... |
#pragma once
#include "afxwin.h"
// CRegisterInsterface ¶Ô»°¿ò
class CRegisterInsterface : public CDialogEx
{
DECLARE_DYNAMIC(CRegisterInsterface)
public:
CRegisterInsterface(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
virtual ~CRegisterInsterface();
// ¶Ô»°¿òÊý¾Ý
enum { IDD = IDD_DIALOG_REGISTER };
protected:
... |
/*++
Copyright (C) 2018 3MF Consortium
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 followi... |
/****************************************************************************
* include/nuttx/regex.h
* Non-standard, pattern-matching APIs available in lib/.
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary for... |
/*
* POK header
*
* The following file is a part of the POK project. Any modification should
* be made according to the POK licence. You CANNOT use this file or a part
* of a file for your own project.
*
* For more information on the POK licence, please see our LICENCE FILE
*
* Pl... |
/*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*/
#ifndef __API_CONSTANTS_H
#define __API_CONSTANTS_H
#define BIT(n) (1ul<<(n))
enum... |
/**
* RayFoundation.h
* A ray of light in the realm of darkness.
* Some additions to C.
* If You don't like it, You can preprocess files, to get pure-C code.
* Author Kucheruavyu Ilya (kojiba@protonmail.com)
* 2014 Ukraine Kharkiv
* _ _ _ _
* | | (_|_) |
* | | _____ _ _| |__ __ _
* | |/ / _ ... |
#ifndef xt_case_dumpster_h
#define xt_case_dumpster_h
#include "xt/case/array.h"
#include "xt/case/list.h"
#include "xt/case/set.h"
#include "xt/core/iobject.h"
struct xt_case_dumpster_t;
typedef struct xt_case_dumpster_t xt_case_dumpster_t;
xt_core_bool_t xt_case_dumpster_add(xt_case_dumpster_t *dumpster,
void ... |
//
// http_core_header_map.h
// vClientTemplateLib
//
// Created by Virendra Shakya on 5/17/14.
// Copyright (c) 2014 Virendra Shakya. All rights reserved.
//
#ifndef __vClientTemplateLib__http_core_header_group__
#define __vClientTemplateLib__http_core_header_group__
#include <string>
#include "base/thread/threa... |
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef FORTIFY
#include "fortify/fortify.h"
#endif
#include "base/result.h"
#include "datastruct/bitfifo.h"
#include "test/all-tests.h"
#define MAXSIZE 32
static const struct
{
int length; /* in bits */
unsigned int after_... |
//
// PolitiekAppDelegate.h
// Politiek
//
// Created by Wolfgang Schreurs on 11/6/11.
// Copyright 2012 Wolfgang Schreurs. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AudioPlayerViewController.h"
#import "FBConnect.h"
@class Reachability;
@interface OnsNieuwsAppDelegate : UIResponder
<UIAppli... |
/* @LICENSE(MUSLC_MIT) */
#include <sys/io.h>
#include "internal/syscall.h"
#ifdef SYS_iopl
int iopl(int level)
{
return syscall(SYS_iopl, level);
}
#endif
|
/*
* Show the TPM capability information
*
* Copyright (c) 2016, Wind River Systems, Inc.
* All rights reserved.
*
* See "LICENSE" for license terms.
*
* Author:
* Jia Zhang <zhang.jia@linux.alibaba.com>
*/
#include <efi.h>
#include <efilib.h>
#include <tcg2.h>
EFI_STATUS
efi_main(EFI_HANDLE ImageHand... |
/*
* Copyright 2019 Shannon F. Stewman
*
* See LICENCE for the full copyright terms.
*/
#ifndef ADT_EDGESET_H
#define ADT_EDGESET_H
#include <stdint.h>
struct bm;
struct set;
struct fsm_alloc;
struct fsm_edge;
struct edge_set;
struct state_set;
struct edge_iter {
size_t i, j;
const struct edge_set *set;
};
s... |
// Copyright (c) 2009 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_SYNC_NOTIFIER_BASE_SSL_ADAPTER_H_
#define CHROME_BROWSER_SYNC_NOTIFIER_BASE_SSL_ADAPTER_H_
namespace talk_base {
class AsyncSo... |
#ifndef __LULESH_TYPES_H__
#define __LULESH_TYPES_H__
#include <math.h>
// Allow flexibility for arithmetic representations
// Could also support fixed point and interval arithmetic types
typedef float real4;
typedef double real8;
typedef long double real10; // 10 bytes on x86
typedef int Index_t; // ar... |
//
// IDPAppDelegate.h
// OSX
//
// Created by Oleksa Korin on 10/1/15.
// Copyright (c) 2015 IDAP Group. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface IDPAppDelegate : NSObject <NSApplicationDelegate>
@property (assign) IBOutlet NSWindow *window;
@end
|
//
// AppDelegate.h
// GiottoDataViewer
//
// Created by Eiji Hayashi on 3/20/16.
// Copyright © 2016 Eiji Hayashi. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GVLocationManager.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property ... |
//
// CachetHQIncidents.h
// CachetHQIncidents
//
// Created by Yoann Gini on 12/09/2018.
// Copyright © 2018 Yoann Gini (Open Source Project). All rights reserved.
//
#import <HITDevKit/HITDevKit.h>
@interface CachetHQIncidents : HITPeriodicPlugin
@end
|
// Copyright 2015 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
// Copyright 2010-2016, 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... |
#include <ncurses.h>
int main()
{
initscr();
printw("Hello, nCurses World");
refresh();
getch();
endwin();
return 0;
}
|
// SDLHmiZoneCapabilities.h
//
#import "SDLEnum.h"
/**
* Specifies HMI Zones in the vehicle. Used in RegisterAppInterfaceResponse
*
* @since SDL 1.0
*/
typedef SDLEnum SDLHMIZoneCapabilities NS_TYPED_ENUM;
/**
* Indicates HMI available for front seat passengers.
*/
extern SDLHMIZoneCapabilities const SDLHMIZ... |
#ifndef TASK_ADD
#define TASK_ADD
extern struct Mmutex MutexA;
#endif // TASK_ADD
|
/***************************************************************************
# Copyright (c) 2015-21, 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... |
#pragma once
#include <folly/MPMCQueue.h>
#include <memory>
#include <string>
#include <thread>
namespace comm {
using taskType = std::function<void()>;
class WorkerThread {
std::unique_ptr<std::thread> thread;
folly::MPMCQueue<std::unique_ptr<taskType>> tasks;
const std::string name;
public:
WorkerThread(... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE126_Buffer_Overread__malloc_wchar_t_memcpy_53a.c
Label Definition File: CWE126_Buffer_Overread__malloc.label.xml
Template File: sources-sink-53a.tmpl.c
*/
/*
* @description
* CWE: 126 Buffer Over-read
* BadSource: Use a small buffer
* GoodSource: Use a larg... |
// Copyright 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 CC_RESOURCE_UPDATE_CONTROLLER_H_
#define CC_RESOURCE_UPDATE_CONTROLLER_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#inclu... |
/*
* Copyright (C) 2002, 2003 The Karbon Developers
* Copyright (C) 2006 Alexander Kellett <lypanov@kde.org>
* Copyright (C) 2006, 2007 Rob Buis <buis@kde.org>
* Copyright (C) 2007, 2009 Apple Inc. All rights reserved.
* Copyright (C) Research In Motion Limited 2010. All rights reserved.
*
* This library is free... |
/************************************************************************/
/* */
/* PmodR2R.c -- Template driver for a Pmod which uses GPIO */
/* */
/************************************************************************/
/* Author: Thomas Kappenman, Arthur Brown */
/* Co... |
// Copyright 2014 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 XFA_FWL_CFX_BARCODE_H_
#define XFA_FWL_CFX_BARCODE_H_
#include <memor... |
/* $NetBSD: bootconfig.h,v 1.2 2002/04/12 18:01:17 bjh21 Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
* Copyright (c) 1994 Brini.
* All rights reserved.
*
* This code is derived from software written for Brini by Mark Brinicombe
*
* Redistribution and use in source and binary forms, with or without
* modi... |
#ifndef CONSTRAINT_CHECKER_H
#define CONSTRAINT_CHECKER_H
#include <Klampt/Modeling/Robot.h>
#include <Klampt/Modeling/Terrain.h>
#include <Klampt/Contact/Stance.h>
namespace Klampt {
/** @ingroup Planning
* @brief Checks for static constraints for a robot at a given stance.
*/
struct ConstraintChecker
{
static ... |
/* Provide support for both ANSI and non-ANSI environments. */
/* Some ANSI environments are "broken" in the sense that __STDC__ cannot be
relied upon to have it's intended meaning. Therefore we must use our own
concoction: _HAVE_STDC. Always use _HAVE_STDC instead of __STDC__ in newlib
sources!
To get... |
#define args_t <%=name%>_args_t
typedef struct {
enum CBLAS_ORDER order;
enum CBLAS_UPLO uplo;
enum CBLAS_TRANSPOSE trans;
dtype alpha, beta;
blasint n, k;
} args_t;
#define func_p <%=func_name%>_p
static <%=func_name%>_t func_p = 0;
static void
<%=c_iter%>(na_loop_t *const lp)
{
dtype *a, *... |
/*
* Copyright (c) 2015 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... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
// ============================================================================
#ifndef OSTAP_GSL_UTILS_H
#define OSTAP_GSL_UTILS_H 1
// ============================================================================
// Include files
// ============================================================================
// STD&S... |
// Copyright 2021 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
// Copyright (c) 2021, 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.
struct NormalStruct1
{
char a;
};
/// Should not be packed.
struct StructWithAttr
{
int *a;
... |
/*===================================================================
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... |
//
// FLEXDetectViewsTableViewController.h
// UICatalog
//
// Created by viczxwang on 15/12/20.
// Copyright © 2015年 f. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FLEXDetectViewsTableViewController : UITableViewController
@end
|
// 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_UI_WEBUI_SETTINGS_SHARED_SETTINGS_LOCALIZED_STRINGS_PROVIDER_H_
#define CHROME_BROWSER_UI_WEBUI_SETTINGS_SHARED_SETTINGS_LOCALIZED_... |
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#include <stdio.h>
#include <stdlib.h>
#include "codekd.h"
#include "kdtree_fits_io.h"
#include "starutil.h"
#include "errors.h"
static codetree_t* codetree_alloc() {
codetree_t* s = calloc(1, sizeof(c... |
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#ifndef PLOTXY_H
#define PLOTXY_H
#include "astrometry/plotstuff.h"
struct plotxy_args {
char* fn;
int ext;
char* xcol;
char* ycol;
double xoff, yoff;
int firstobj;
int nobjs;
double scale;
/... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkQuadraticEdge.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... |
/*============================================================================
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) 1994, 1995, 1996
* 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: (1) source code distributions
* retain the above copyright notice and this paragraph in its e... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_execv_68b.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-68b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data... |
/*============================================================================
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) 2011 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... |
/***************************** Include Files *******************************/
#include "Video_PR.h"
/************************** Function Definitions ***************************/
|
/* $FreeBSD: releng/9.3/sys/dev/bktr/bktr_core.h 139749 2005-01-06 01:43:34Z imp $ */
/*
* This is part of the Driver for Video Capture Cards (Frame grabbers)
* and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
* chipset.
* Copyright Roger Hardiman and Amancio Hasty.
*
* bktr_core : This... |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// Log format information shared by reader and writer.
// See ../doc/log_format.txt for more detail.
... |
/*
* Copyright (c) 2005 Endace Technology Ltd, Hamilton, New Zealand.
* All rights reserved.
*
* This source code is proprietary to Endace Technology Limited and no part
* of it may be redistributed, published or disclosed except as outlined in
* the written contract supplied with this product.
*
*/
#ifndef D... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "R... |
/*
* Copyright (c) 2013 Gerard Green
* All rights reserved
*
* Please see the file 'LICENSE' for further information
*/
#include <anvil/ipc.h>
#include <anvil/ace_msgs.h>
#include <anvil/ace.h>
int ace_win_show(ace_window_t *win) {
struct ace_win_show_msg showmsg;
int ... |
/*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributi... |
/* $OpenBSD: midivar.h,v 1.1 1999/01/02 00:02:38 niklas Exp $ */
/* $NetBSD: midivar.h,v 1.6 1998/11/25 22:17:07 augustss Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Lennart Augustsson (augusts... |
#include <lib.h>
#include <sgtty.h>
int stty(fd, argp)
int fd;
struct sgttyb *argp;
{
return ioctl(fd, TIOCSETP, argp);
}
|
#include "utils.h"
#include "inttypes.h"
#include "criticalSection.h"
#include <stdlib.h>
extern _PTR memalign(size_t, size_t);
/*
* These functions are equivalent to the standard lib functions, except that
* they disable all interrupts before executing the function.
*/
void *safe_malloc(size_t size) {
DECLARE_... |
/*
* Copyright (C) 2007, 2008, 2012 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 ... |
#ifndef ELECTRON_H
#define ELECTRON_H
#include "Particle.h"
class Electron : public Particle {
public:
Electron(double energy, double position, Particle* parent, ResultStore* results);
virtual ~Electron();
protected:
virtual Particle::DecayType TerminalDecay() const;
virtual Particle::DecayType Decay();... |
// 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 CONTENT_BROWSER_BACKGROUND_FETCH_STORAGE_CREATE_METADATA_TASK_H_
#define CONTENT_BROWSER_BACKGROUND_FETCH_STORAGE_CREATE_METADATA_TASK_H_
#includ... |
/*
* This file is part of the optimized implementation of the Picnic signature scheme.
* See the accompanying documentation for complete details.
*
* The code is provided under the MIT license, see LICENSE for
* more details.
* SPDX-License-Identifier: MIT
*/
#ifndef IO_H
#define IO_H
#include <stdint.h>
... |
/* $NetBSD: iomd_io.c,v 1.1 2001/10/05 22:27:41 reinoud Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
* Copyright (c) 1997 Causality Limited.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE476_NULL_Pointer_Dereference__int_18.c
Label Definition File: CWE476_NULL_Pointer_Dereference.label.xml
Template File: sources-sinks-18.tmpl.c
*/
/*
* @description
* CWE: 476 NULL Pointer Dereference
* BadSource: Set data to NULL
* GoodSource: Initialize da... |
/*
Copyright (c) 2011, Heath Borders
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 and the follow... |
/*
* Copyright (c) 2004-07 Applied Micro Circuits Corporation.
* Copyright (c) 2004-05 Vinod Kashyap.
* 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 ... |
/***************************************************************************
*
* Copyright (c) 2014 PX4 Development Team. 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. Redistrib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.