text stringlengths 4 6.14k |
|---|
/*
* Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... |
/*
* $Id: _default_types.h,v 1.3 2012/10/16 18:45:23 corinna Exp $
*/
#ifndef _MACHINE__DEFAULT_TYPES_H
#define _MACHINE__DEFAULT_TYPES_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Guess on types by examining *_MIN / *_MAX defines.
*/
/* GCC >= 3.3.0 has __<val>__ implicitly defined. */
#define __EXP(x) __##x#... |
#ifndef APPLICATIONCONTROLLER_H
#define APPLICATIONCONTROLLER_H
#include <TActionController>
#include "applicationhelper.h"
class T_CONTROLLER_EXPORT ApplicationController : public TActionController
{
Q_OBJECT
public:
Q_INVOKABLE
ApplicationController();
virtual ~ApplicationController();
public slot... |
/* $NetBSD: svr4_ulimit.h,v 1.3 1998/09/04 19:54:41 christos Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Christos Zoulas.
*
* Redistribution and use in source and binary forms, with or with... |
//
// Created by Gabriel Handford on 3/1/09.
// Copyright 2009-2013. All rights reserved.
// Created by John Boiles on 10/20/11.
// Copyright (c) 2011. All rights reserved
// Modified by Felix Schulze on 2/11/13.
// Copyright 2013. All rights reserved.
//
// Permission is hereby granted, free of charge, to any p... |
// 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_COMMON_VIEW_MESSAGES_ENUMS_H_
#define CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_
struct ViewHostMsg_AccEvent {
enum Value {
// The a... |
/*
* Copyright (c) 2014 Gerard Green
* All rights reserved
*
* Please see the file 'LICENSE' for further information
*/
#ifndef _SYS_SOCKET_H_INCLUDED
#define _SYS_SOCKET_H_INCLUDED
#include <sys/anvil_internal.h>
#if !defined (_Anvil_got_socklen_t)
typedef _Anvil_socklen_t socklen_... |
/*
* Render system/context access header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_RENDER_SYS_CTX_H__
#define __FORK_RENDER_SYS_CTX_H__
#include "Core/StaticConfig.h"
#include "Video/RenderSystem/RenderSystemE... |
// Copyright 2017 The BerryDB 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 BERRYDB_INCLUDE_BERRYDB_CATALOG_H_
#define BERRYDB_INCLUDE_BERRYDB_CATALOG_H_
#include "berrydb/span.h"
#include "berrydb/types.h"
namespace berr... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_system_42.c
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-42.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data u... |
/*
*
* Copyright 2015, 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 condi... |
#include <stddef.h>
#include <assert.h>
#include "sun3_machine_types.h"
#include "sun3_data_regs.h"
void sun3_data_regs_write_unsigned_byte(sun3_data_regs *regs,
size_t reg,
sun3_unsigned_byte value)
{
assert(reg < sun3_data_regs_nregs);
regs->regs[reg]= (regs->regs[reg]&~0xff)|value;
}
... |
/*
* FreeRTOS Kernel V10.1.1
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. 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, ... |
//=================================================================================================
/*!
// \file blaze/math/traits/TDVecSMatMultExprTrait.h
// \brief Header file for the TDVecSMatMultExprTrait class template
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of th... |
/*
* FreeRTOS Kernel V10.1.1
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. 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, ... |
/* file: $RCSfile: v3dot.c,v $
** rcsid: $Id: v3dot.c 261 2007-10-19 19:07:02Z laidler $
** Copyright Jeffrey W Percival
** *******************************************************************
** Space Astronomy Laboratory
** University of Wisconsin
** 1150 University Avenue
** Madison, WI 53706 USA
** *****************... |
/* zptsv.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of ... |
// clang-format off
ksNew (128,
keyNew (PREFIX,
KEY_META, "comment/#1/start", "",
KEY_META, "comment/#1/space", "0",
KEY_META, "comment/#2/", " Comment on second-to-last line",
KEY_META, "comment/#2/start", "#",
KEY_META, "comment/#2/space", "0",
KEY_META, "comment/#3/", " Comment on last (non-empty) line... |
/*============================================================================
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) 2012-2017, RISE SICS AB
* 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 c... |
#pragma once
#include "defs.h"
// Standard irq aggregators
// One or more level and/or edge-triggered sources.
// Level output. Sometimes also pulse-output, in which case an `eoi'
// register will be nearby, normally immediately before or after it.
//
// multiple outputs are achieved by
// Irqd4<T>[n]
// or
// Irqd4<... |
#include <math.h>
typedef double number;
inline int imax(int i, int j);
inline number nabs(number x);
int rootscan(number* coeff, int n);
|
// Copyright 2019 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_SERIAL_SERIAL_CHOOSER_H_
#define CHROME_BROWSER_UI_SERIAL_SERIAL_CHOOSER_H_
#include "base/callback_helpers.h"
#include "base/m... |
// Copyright 2018 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 CHROMEOS_SERVICES_LIBASSISTANT_AUDIO_AUDIO_MEDIA_DATA_SOURCE_H_
#define CHROMEOS_SERVICES_LIBASSISTANT_AUDIO_AUDIO_MEDIA_DATA_SOURCE_H_
#include ... |
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import "KiwiConfiguration.h"
// This category is solely meant to coax Xcode into exposing the method names below during autocompletion.
// There is no implementation and this class definition must come before the m... |
/*
* 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.
*/
#import "ABI40_0_0ARTNodeManager.h"
@interface ABI40_0_0ARTGroupManager : ABI40_0_0ARTNodeManager
@end
|
#ifndef HOMEBREW_BROWSER_UI_H_
#define HOMEBREW_BROWSER_UI_H_
#include <array>
#include <vector>
#include <string>
#include <3ds.h>
namespace homebrew_browser {
enum class SelectedCategory {
kNone = 0,
kGames,
kMedia,
kEmulators,
kTools,
kMisc
};
enum class ListingTitleDisplay {
... |
/**************************************************************************
***
*** Copyright (c) 1995-2000 Regents of the University of California,
*** Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov
*** Copyright (c) 2000-2007 Regents of the University of Michigan,
*** Saurabh N. Ad... |
#ifndef STM32_FREERTOS_INIT_H__
#define STM32_FREERTOS_INIT_H__
#include <stdint.h>
void init_relocate(void);
void init_libc(void);
int main(void);
#endif // STM32_FREERTOS_INIT_H__
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_fscanf_postdec_05.c
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-05.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fscanf Read data from the console using fscanf()... |
#include <stdio.h>
#include <stdlib.h>
#include "FAT.h"
extern FAT root;
extern FAT cwd;
int main(void) {
initializeFileSystem();
/*// explorePath
char * str = calloc(1, 50);
strcpy(str, "home/patonn/descargas");
unsigned char hasEnded = 0;
char buff[255] = {0};
do {
str = explorePath(str, buff, &hasEnded)... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BLINK_RESOURCE_MULTIBUFFER_DATA_PROVIDER_H_
#define MEDIA_BLINK_RESOURCE_MULTIBUFFER_DATA_PROVIDER_H_
#include <stdint.h>
#include <memory... |
#ifndef UPLOAD_FILE_PROCESSING_FILE_SCRUBBING_TASK_H
#define UPLOAD_FILE_PROCESSING_FILE_SCRUBBING_TASK_H
#include <tbb/task.h>
#include "async_reader.h"
namespace upload { // TODO: remove or replace
class CharBuffer;
class AbstractFile {
public:
AbstractFile(const std::string &path,
const size_... |
#include "hwcap_impl.h"
#include "libc.h"
#include "starboard/cpu_features.h"
size_t __hwcap;
// Set __hwcap bitmask by Starboard CPU features API.
void init_musl_hwcap() {
SbCPUFeatures features;
if (SbCPUFeaturesGet(&features)) {
__hwcap = features.hwcap;
} else {
__hwcap = 0;
}
}
|
#ifndef MODULELOADER_H
#define MODULELOADER_H
void loadModules(void * payloadStart, void ** moduleTargetAddress);
void mapModulesLogical(void* physical );
void testPageFault();
#endif |
// 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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_ENABLE_SCREEN_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_KIOSK_ENABLE_SCREEN_HANDLER_H... |
// Copyright(C) 1999-2017 National Technology & Engineering Solutions
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
// NTESS, the U.S. Government retains certain rights in this software.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted p... |
/******************************************************************************
* Copyright (C) 2016-2019, Cris Cecka. All rights reserved.
* Copyright (C) 2016-2019, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov... |
/*
* Restriction.h
*
* Created on: Mar 5, 2013
* Author: kristof
*/
#ifndef PEANOCLAW_INTERSUBGRIDCOMMUNICATION_RESTRICTION_H_
#define PEANOCLAW_INTERSUBGRIDCOMMUNICATION_RESTRICTION_H_
#include "peano/utils/Globals.h"
#include "tarch/logging/Log.h"
#include "tarch/la/Vector.h"
namespace peanoclaw {
c... |
// 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 COMPONENTS_ARC_VIDEO_ACCELERATOR_PROTECTED_BUFFER_MANAGER_H_
#define COMPONENTS_ARC_VIDEO_ACCELERATOR_PROTECTED_BUFFER_MANAGER_H_
#include <map>
... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_UI_BASE_TYPES_H_
#define UI_BASE_UI_BASE_TYPES_H_
#include "ui/base/ui_base_export.h"
namespace ui {
class Event;
// Window "show"... |
/**
* 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 scissorAttrib.h
* @aut... |
// Copyright 2018 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_CHROMEOS_POLICY_DISPLAY_RESOLUTION_HANDLER_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_DISPLAY_RESOLUTION_HANDLER_H_
#include <memor... |
// 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.
#pragma once
#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_
#include <cstd... |
/*
* Copyright (C) 2003 Lars Knoll (knoll@kde.org)
* Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights
* reserved.
* Copyright (C) 2008 Eric Seidel <eric@webkit.org>
* Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights
* reserved.
*
* This library is free software; you ca... |
// Copyright 2016 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 IOS_CHROME_BROWSER_UI_HISTORY_IOS_BROWSING_HISTORY_DRIVER_H_
#define IOS_CHROME_BROWSER_UI_HISTORY_IOS_BROWSING_HISTORY_DRIVER_H_
#include <vecto... |
/*-
* Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
* All rights reserved.
*
* This software was developed by SRI International and the University of
* Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
* ("CTSRD"), as part of the DARPA CRASH research programme.
*
* Redistribution and ... |
/* $OpenBSD: version.h,v 1.76 2016/02/23 09:14:34 djm Exp $ */
/* $FreeBSD$ */
#define SSH_VERSION "OpenSSH_7.2"
#define SSH_PORTABLE "p2"
#define SSH_RELEASE SSH_VERSION SSH_PORTABLE
#define SSH_VERSION_FREEBSD "FreeBSD-20160310"
#ifdef WITH_OPENSSL
#define OPENSSL_VERSION SSLeay_version(SSLEAY_VERSION)
#else
#def... |
/*
* The Yices SMT Solver. Copyright 2015 SRI International.
*
* This program may only be used subject to the noncommercial end user
* license agreement which is downloadable along with this program.
*/
#ifndef MCSAT_VALUE_H_
#define MCSAT_VALUE_H_
#include <stdbool.h>
#include <poly/value.h>
#include "terms/r... |
#ifndef ANET_TCPCONNECTION_H_
#define ANET_TCPCONNECTION_H_
#include <anet/databuffer.h>
#include <anet/connection.h>
namespace anet {
class DataBuffer;
class Socket;
class IPacketStreamer;
class IServerAdapter;
class TCPConnection : public Connection {
friend class TCPCONNECTIONTF;
public:
TCPC... |
#include <stdlib.h>
#include <string.h>
#include "audio/audio.h"
#include "audio/sink.h"
#include "audio/sinks/openal_sink.h"
#include "utils/log.h"
audio_sink *_global_sink = NULL;
struct sink_info_t {
int (*sink_init_fn)(audio_sink *sink);
const char* name;
} sinks[] = {
#ifdef USE_OPENAL
{openal_sink_i... |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cos_f32.c
* Description: Fast cosine calculation for floating-point values
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ... |
#ifndef __CHARCONV_H
#define __CHARCONV_H
/*
* some basic macros.
*/
#define is_digit(x) ((((x) >= '0') && ((x) <= '9')) ? 1 : 0)
#define is_lowercase(x) ((((x) >= 'a') && ((x) <= 'z')) ? 1 : 0)
#define is_uppercase(x) ((((x) >= 'A') && ((x) <= 'Z')) ? 1 : 0)
#define is_blank(x) (((x) == ' ') ? 1 : 0)
#define to_upp... |
//
// IASKAppSettingsViewController.h
// http://www.inappsettingskit.com
//
// Copyright (c) 2009:
// Luc Vandal, Edovia Inc., http://www.edovia.com
// Ortwin Gentz, FutureTap GmbH, http://www.futuretap.com
// All rights reserved.
//
// It is appreciated but not required that you give credit to Luc Vandal and Or... |
//////////////////////////////////////////////////////////////////////////
// SideCarFunctions.h
//
// Copyright (C) 2015 Microsoft Corp. All Rights Reserved
//////////////////////////////////////////////////////////////////////////
#pragma once
typedef ::XTools::SideCar*(*SideCarEntryPointFunc)();
typedef void(*Lo... |
#ifndef CURSORCHANGENOTIFIER_H
#define CURSORCHANGENOTIFIER_H
#include <QObject>
#include "pointerchangesink.h"
class QCursor;
class CursorChangeNotifierPrivate;
/**
* The CursorChangeNotifier class notifies when mouse cursor's style should
* be changed.
*
* RDP server passes the currently shown mou... |
//
// Flow.h
// Flow
//
// The MIT License (MIT)
// Copyright (c) 2014 Oliver Letterer, Sparrow-Labs
//
// 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, includin... |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UnrealEd.h"
#include "PythonEditorCustomization.generated.h"
USTRUCT()
struct FTextCustomization
{
GENERATED_USTRUCT_BODY()
FTextCustomization()
: Font("")
, Color(0.0f, 0.0f, 0.0f, 1.0f)
{
}
UPROPERTY(EditAnywhere, Catego... |
/**
* \file
* \brief Echo server
*/
/*
* Copyright (c) 2007, 2008, 2009, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn:... |
//
// KAZ_AppDelegate.h
// JoystickNode
//
// Created by Kevin Kazmierczak on 10/21/13.
// Copyright (c) 2013 Kevin Kazmierczak. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KAZ_AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//
// OAFavoriteItem.h
// OsmAnd
//
// Created by Anton Rogachevskiy on 07.11.14.
// Copyright (c) 2014 OsmAnd. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OALocationPoint.h"
#include <OsmAndCore/IFavoriteLocation.h>
@interface OAFavoriteItem : NSObject<OALocationPoint>
@property std::sha... |
/* GTK - The GIMP Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* 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 of the Lice... |
/*
Part of i2cp C library
Copyright (C) 2013 Oliver Queen <oliver@mail.i2p>
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 ... |
#ifndef DEMO_H
#define DEMO_H
#include "image.h"
void demo(char *cfgfile, char *weightfile, float thresh, int cam_index, const char *filename, char **names, int classes, int frame_skip, char *prefix, int avg, float hier_thresh, int w, int h, int fps, int fullscreen);
#endif
|
#ifndef __DEBUG_H__
#define __DEBUG_H__
//---------------------------------------------------------------------------
// debug.h - Debug equates for messaging at different debug levels -
//---------------------------------------------------------------------------
// Version ... |
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface RNNLayoutManager : NSObject
+ (UIViewController *)findComponentForId:(NSString *)componentId;
@end
|
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_WTTagView_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_WTTagView_TestsVersionString[];
|
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... |
#ifndef _MATRIX2DCL_H
#define _MATRIX2DCL_H
#include "Matrix2D.h"
class Matrix2Dcl : virtual public Matrix2D
{
public:
Matrix2Dcl();
Matrix2Dcl(int line, int col);
void display();
void display(int n);
ValueType get(int line, int col);
void set(int line, int col, Val... |
/*
** This source file is part of AGE
**
** For the latest info, see http://code.google.com/p/ascii-game-engine/
**
** Copyright (c) 2011 Tony & Tony's Toy Game Development Team
**
** Permission is hereby granted, free of charge, to any person obtaining a copy of
** this software and associated documentation fi... |
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
// Please see LICENSE.md in repository root for license information
// https://github.com/AtomicGameEngine/AtomicGameEngine
#ifdef USE_SPIDERMONKEY
#pragma once
#include "Object.h"
using namespace Atomic;
struct JSRuntime;
struct JSContext;
clas... |
/*
* File: HardwareProfile.h
* Author: andrew
*
* Created on 10 June 2014, 16:40
*/
#ifndef HARDWAREPROFILE_H
#define HARDWAREPROFILE_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif /* HARDWAREPROFILE_H */
// PIC to hardware pin mapping and control macros
#define pickerBus L... |
//
// AKOscillatorBankAudioUnit.h
// AudioKit
//
// Created by Aurelius Prochazka, revision history on Github.
// Copyright © 2017 Aurelius Prochazka. All rights reserved.
//
#pragma once
#import "AKBankAudioUnit.h"
@interface AKOscillatorBankAudioUnit : AKBankAudioUnit
- (void)setupWaveform:(int)size;
- (void)... |
// Copyright (c) 2005-2009 Jaroslav Gresula
//
// Distributed under the MIT license (See accompanying file
// LICENSE.txt or copy at http://jagpdf.org/LICENSE.txt)
//
#include <boost/shared_array.hpp>
#ifndef __SHAREDARRAY_H_JAG_1238__
#define __SHAREDARRAY_H_JAG_1238__
namespace jag
{
typedef std::pair<boost::sha... |
/*
The MIT License (MIT)
Copyright (c) 2016 Alexey Yegorov
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, copy, modify, merge,... |
#ifndef _EGL_COMMON_H
#define _EGL_COMMON_H
#endif
#include <stdbool.h>
#include <wayland-client.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
extern EGLDisplay egl_display;
extern EGLConfig egl_config;
extern EGLContext egl_context;
extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEX... |
// Copyright (c) 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-CHROMIUM file.
#ifndef BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
#define BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
#include "base/macros.h"
#include "base/compiler_s... |
/* Auto generated file: with makeref.py . Docs go in src/ *.doc . */
#define DOC_PYGAMEMOVIE "pygame module for playback of mpeg video"
#define DOC_PYGAMEMOVIEMOVIE "Movie(filename) -> Movie\nMovie(object) -> Movie\nload an mpeg movie file"
#define DOC_MOVIEPLAY "play(loops=0) -> None\nstart playback of a movie"
#d... |
//
// DVIBaseRefreshView.h
// DVIRefresh
//
// Created by apple on 15/7/31.
// Copyright (c) 2015年 戴维营教育. All rights reserved.
//
#import <UIKit/UIKit.h>
/*更新状态*/
typedef enum : NSUInteger {
DVIRefreshStateStopped, //静止状态
DVIRefreshStatePulling, //拖动状态
DVIRefreshStateWillTriggered, /... |
../../../FLEX/Classes/FLEXManager.h |
#ifndef UTIL_SIGNAL_HANDLER_H__
#define UTIL_SIGNAL_HANDLER_H__
#include <signal.h>
#include "Logger.h"
#include "exceptions.h"
namespace util {
class SignalHandler {
public:
static void init();
private:
static void handle_signal(int signal);
};
/**
* Callable to launch a thread with properly initialized sig... |
//
// SYUIButton.h
//
// Created by Jairo Junior on 11/15/13.
// Copyright (c) 2013 SookApps. All rights reserved.
//
#import <UIKit/UIKit.h>
#define kCFUIButtonBorderColor [UIColor blackColor]
#define kCFUIButtonBackgroundColorForHighlightedState [UIColor colorWithWhite:1.0 alpha:0.4]
@interface CFUIButton : UIB... |
#pragma once
#include <glbinding/nogl.h>
#include <glbinding/gl/values.h>
namespace gl40ext
{
} // namespace gl40ext
|
#ifndef __MAD_CONFIG_H__
#define __MAD_CONFIG_H__
#include "MadArch.h"
/*
* MadThread
*/
#define MAD_THREAD_NUM_MAX (256)
#define MAD_IDLE_STK_SIZE (128) // byte
#define MAD_STATIST_STK_SIZE (96) // byte
/*
* madArchMemCpy, madArchMemSet based on DMA of hardward.
*/
#define MAD_CPY_MEM_BY_DMA
/*
... |
#pragma once
#include <string>
namespace tw {
/* pencode: percent encode a string */
std::string pencode(const std::string &s, const std::string &ign = "");
/* noncegen: generate a random alphanumeric string */
std::string noncegen();
}
|
#ifndef FRAMEPERFORMANCE_H
#define FRAMEPERFORMANCE_H
#include "../eirVariable/VariableGroup.h"
class FrameStatistics;
#define FRAMEPERFORMANCE_GROUPVARIABLES(ITD) \
ITD(Frame_Seq, int, 0) \
ITD(ImageId, QString, "") \
ITD(Grab_Latency_msec, int, 0) \
ITD(Detect_Overhead_msec, int, 0) \
ITD(Detect... |
#pragma once
namespace msdfgen {
/// Represents a signed distance and alignment, which together can be compared to uniquely determine the closest edge segment.
class SignedDistance {
public:
static const SignedDistance Infinite;
double distance;
double dot;
SignedDistance();
SignedDistance(dou... |
#pragma once
#include <unordered_map>
#include "universal_struct.h"
namespace Engine
{
/*Container to hold abstract types of data/objects.
The"universal_struct" class is used to add new data/objects.
All keys are set to uppercase and max length is 10 characters.*/
class universal_map
{
public:
__engine_decl bo... |
#pragma once
namespace Kore {
class Reader;
namespace Graphics1 {
enum ImageCompression { ImageCompressionNone, ImageCompressionDXT5, ImageCompressionASTC, ImageCompressionPVRTC };
class Image {
public:
enum Format { RGBA32, Grey8, RGB24, RGBA128, RGBA64, A32, BGRA32, A16 };
static int siz... |
#import <UIKit/UIKit.h>
@interface UIView (loadFromNib)
+ (id)loadNibName:(NSString *)nibName bundle:(NSBundle *)bundle owner:(id)owner;
+ (id)loadFromNib;
@end
|
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.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 grant... |
//
// VTAcknowledgementViewController.h
//
// Copyright (c) 2013-2021 Vincent Tourraine (http://www.vtourraine.net)
//
// 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, ... |
//
// SQTabBarController.h
// SQ565
//
// Created by zhangchong on 16/12/5.
// Copyright © 2016年 Online Community Of China. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SQTabBarController : UITabBarController
@end
|
#define IBM_NOESSL
#define PARALLEL_OFF
#define NO_PRAGMA
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#ifdef PARALLEL
#include "mpi.h"
#else
#include "../typ_defs/mpi_f.h"
#endif
#include "../typ_defs/defines.h"
|
#include "cghdr.h"
static void agflatten_elist(Dict_t * d, Dtlink_t ** lptr, int flag)
{
dtrestore(d, *lptr);
dtmethod(d, flag? Dtlist : Dtoset);
*lptr = dtextract(d);
}
void agflatten_edges(Agraph_t * g, Agnode_t * n, int flag)
{
Agsubnode_t *sn;
Dtlink_t **tmp;
sn = agsubrep(g,n);
tmp = &(... |
/*
* Copyright (c) 2006-2009 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* c... |
/***************************************************************************
ui_text.h
Functions used to retrieve text used by MAME, to aid in
translation.
Copyright (c) 1996-2006, Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
*****************... |
/* crypto/o_str.h -*- mode:C; c-file-style: "eay" -*- */
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2003.
*/
/* ====================================================================
* Copyright (c) 2003 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in sourc... |
/* Copyright 2013 David Axmark
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
distr... |
/*
* Copyright (c) 1996-1999 by Internet Software Consortium.
*
* Permission to use, copy, modify, and 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 SOFTWARE IS PROVIDED "AS IS"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.