text stringlengths 9 948k |
|---|
/*
* Arm SCP/MCP Software
* Copyright (c) 2017-2020, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Description:
* RTX2 v5 configuration file.
* The file must be called RTX_Config.h as it is included by the an RTX
* file in order to create a obje... |
#ifndef PHP_SNAPPY_H
#define PHP_SNAPPY_H
#define SNAPPY_EXTENSION_VERSION "0.0.2"
extern zend_module_entry snappy_module_entry;
#define phpext_snappy_ptr &snappy_module_entry
#ifdef PHP_WIN32
# define PHP_SNAPPY_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4
# define PHP_SNAPPY_API __attribu... |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... |
/**
* @file Commitment.h
*
* @brief Commitment and CommitmentProof classes for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is releas... |
#include "matrix.h"
/**
* @brief The TableCatalogue acts like an index of tables existing in the
* system. Everytime a table is added(removed) to(from) the system, it needs to
* be added(removed) to(from) the tableCatalogue.
*
*/
class MatrixCatalogue
{
unordered_map<string, Matrix*> matrices;
public:
... |
#pragma once
namespace typescriptwinmd
{
using namespace winmd::reader;
static auto get_start_time()
{
return std::chrono::high_resolution_clock::now();
}
static auto get_elapsed_time(std::chrono::time_point<std::chrono::high_resolution_clock> const& start)
{
return std::chron... |
/****************************************************************************
* ==> PSS_MathParser ------------------------------------------------------*
****************************************************************************
* Description : Provides a mathematical formulas parser *
* Devel... |
/*
* FreeRTOS+TCP V2.3.3-Patch-1
* Copyright (C) 2021 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, in... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* quickSort.c :+: :+: :+: ... |
//------------------------------------------------------------------------------
/*
This file is part of MUSO: https://github.com/MUSO/MUSO
Copyright (c) 2012, 2013 MUSO Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, p... |
/*
* Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
#pragma once
#include "Agent.h"
class Maze;
class PathfindComponent;
class CircleCollider;
class Ghost : public Agent
{
public:
/// <param name="x">The x-position</param>
/// <param name="y">The y-position</param>
/// <param name="speed">The maximum movement speed (magnitude)</param>
/// <param name="color">The c... |
/*
* Copyright (c) 2021, MediaTek Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stddef.h>
#include <string.h>
#include <common/debug.h>
#include <lib/bakery_lock.h>
#include <lib/mmio.h>
#include <mt_lp_rm.h>
#include <mt_spm.h>
#include <mt_spm_cond.h>
#include <mt_spm_conservat... |
#pragma once
#if SE_PLATFORM_WINDOWS
# if SE_ARCH_64BIT
typedef unsigned __int64 handle; // Replacement for nasty Microsoft Windows stuff leading to header chaos
# else
typedef unsigned __int32 handle; // Replacement for nasty Microsoft Windows stuff leading to header chaos
# endif
#elif SE_PLATFORM_LINUX
# if SE_ARCH... |
//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://floralicense.org/license/
//
// Unless required by applicable law or a... |
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 3:11:38 PM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /usr/libexec/gamed
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <gamed/gamed-Structs.h>... |
#import "FAKIcon.h"
typedef NS_ENUM(NSInteger, FAKFontAwesomeStyle) {
FAKFontAwesomeStyleSolid,
FAKFontAwesomeStyleRegular,
FAKFontAwesomeStyleLight,
FAKFontAwesomeStyleBrands
};
@interface FAKFontAwesome : FAKIcon
// Generated Code
+ (instancetype)fivehundredpxIconWithSize:(CGFloat)size style:(FAKFo... |
/*
* FreeRTOS+TCP V2.3.4
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Driver code:
* Copyright (C) Nicholas J. Kinar <n.kinar@usask.ca>, Centre for Hydrology, University of Saskatchewan
*
* MSP432 Driverlib (C) 2017-2019 Texas Instruments Incorporated <https://www.ti.com/>
... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
struct Pixel {
unsigned char r, g, b;
};
void writeCircle(FILE *input, FILE *output, struct Pixel *pixels,
int imageWidth, int imageHeight) {
struct Pixel p;
int centerX, centerY, radius;
int loopStartW, loopStartH, loopEndW, loopEndH;
... |
#pragma once
#include "CoreMinimal.h"
#include "SEditorViewport.h"
#include "SCommonEditorViewportToolbarBase.h"
class UUnLive2D;
class FUnLive2DViewViewportClient;
class SUnLive2DEditorViewport : public SEditorViewport, public ICommonEditorViewportToolbarInfoProvider
{
public:
SLATE_BEGIN_ARGS(SUnLive2DEditorViewp... |
/*
* 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 License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:10:52 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/AppStoreKi... |
// SPDX-License-Identifier: GPL-2.0
/*
* linux/fs/affs/amigaffs.c
*
* (c) 1996 Hans-Joachim Widmaier - Rewritten
*
* (C) 1993 Ray Burr - Amiga FFS filesystem.
*
* Please send bug reports to: hjw@zvw.de
*/
#include <linux/math64.h>
#include <linux/iversion.h>
#include "affs.h"
/*
* Functions for accessi... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_
#define CONTENT_TEST_MOCK_WEBBLOB_REGISTRY_IMPL_H_
#include <stddef.h>
#include "base/macros.h"
#incl... |
/*
* Swamp - cooperative multitasking operating system
* Copyright (c) 2016 rksdna
*
* 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 th... |
//
// WKWebFileViewController.h
// Webimage
//
// Created by daniel on 2017/4/19.
// Copyright © 2017年 Daniel. All rights reserved.
//
#import "BaseViewController.h"
@interface WKWebFileViewController : BaseViewController
@end |
#ifndef _I8042_PPCIO_H
#define _I8042_PPCIO_H
/*
* 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.
*/
#if defined(CONFIG_WALNUT)
#define I8042_KBD_IRQ 25
#define I8042_AUX_IRQ 26
... |
// 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 NET_DISK_CACHE_NET_LOG_PARAMETERS_H_
#define NET_DISK_CACHE_NET_LOG_PARAMETERS_H_
#pragma once
#include <string>
#include "net/base/net_log.... |
/*
Fontname: Cronyx-Helvetica-Bold-R-Normal--14-140-75-75-P-77-RAWIN-R
Copyright: Copyright (C) 1990, 1991 EWT Consulting, Portions Copyright (C) 1994 Cronyx Ltd.
Glyphs: 191/224
BBX Build Mode: 0
*/
#include "ucg.h"
const ucg_fntpgm_uint8_t win_crox4hb[3740] UCG_FONT_SECTION("win_crox4hb") = {
191,0,4,4,5,5,... |
#pragma once
// Copyright 2015 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "main/Application.h"
#include <string>
namespace stellar
{
class Persi... |
#include<stdio.h>
int main(){
void ha(int n);
int n;
printf("input a number: ");
scanf("%d",&n);
ha(n);
return 0;
}
void ha(int n){
int num = 0;
while(n != 1){
printf("%d\n",n);
++num;
if(n%2 == 0){
n = n/2;
}else{
n = 3 * n + 1;
... |
/* Benjamin DELPY `gentilkiwi`
http://blog.gentilkiwi.com
benjamin@gentilkiwi.com
Licence : https://creativecommons.org/licenses/by/4.0/
*/
#include "kull_m_dpapi.h"
const GUID KULL_M_DPAPI_GUID_PROVIDER = CRYPTPROTECT_DEFAULT_PROVIDER;
PKULL_M_DPAPI_BLOB kull_m_dpapi_blob_create(LPCVOID data/*, DWORD si... |
// BWF MetaEdit Riff - RIFF stuff for BWF MetaEdit
//
// This code was created in 2010 for the Library of Congress and the
// other federal government agencies participating in the Federal Agencies
// Digital Guidelines Initiative and it is in the public domain.
//
//++++++++++++++++++++++++++++++++++++++++++++++++++++... |
#pragma once
#include "envoy/stream_info/stream_info.h"
#include "common/common/assert.h"
#include "common/stream_info/filter_state_impl.h"
#include "test/test_common/test_time.h"
namespace Envoy {
class TestStreamInfo : public StreamInfo::StreamInfo {
public:
TestStreamInfo() {
tm fake_time;
memset(&fak... |
/*
hexium_gemini.c - v4l2 driver for Hexium Gemini frame grabber cards
Visit http://www.mihu.de/linux/saa7146/ and follow the link
to "hexium" for further details about this card.
Copyright (C) 2003 Michael Hunold <michael@mihu.de>
This program is free software; you can redistribute it and/or mod... |
/*
* Copyright (C) 2003-2008 Takahiro Hirofuchi
*
* This 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.
*
* This is distribute... |
#pragma once
#include <types.h>
struct list {
struct list *next;
struct list *prev;
};
#define list_foreach(list, node) \
for (node = (list)->next; node != list; node = node->next)
#define list_foreach_rev(list, node) \
for (node = (list)->prev; node != list; node = node->prev)
#define list_foreach_safe(list, no... |
/*-------------------------------------------------------------------------
STM8S208R6.h - Device Declarations
STM8S/STM8AF, medium density with ROM bootloader
Copyright (C) 2020, Georg Icking-Konert
Mainstream Performance line 8-bit MCU with 32 Kbytes Flash, 24 MHz CPU, integrated EEPROM
datasheet: http... |
/* Declarations for insn-output.c and other code to write to asm_out_file.
These functions are defined in final.c, and varasm.c.
Copyright (C) 1987-2018 Free Software Foundation, Inc.
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 Publ... |
//
// VENHomePageViewController.h
// EDAWCulture
//
// Created by YVEN on 2018/9/14.
// Copyright © 2018年 Hefei Haiba Network Technology Co., Ltd. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VENHomePageViewController : UIViewController
@end |
/**
* \file
*
* \brief Header file for SAMD21E16A
*
* Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... |
/*
* emrl_config.h -- emrl line editing library configuration
*
* Copyright (C) 2017 Graeme Hattan (graemeh.dev@gmail.com)
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#ifndef EMRL_CONFIG_H
#define EMRL_CONFIG_H
#include <stdio.h>... |
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
#include "jemalloc/internal/ctl.h"
#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/mutex.h"
#include "jemalloc/internal/counter.h"
#include "jemalloc/internal/prof_data.h"
#include "jemalloc/int... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "MSImmutableShapePathLayer.h"
@interface _MSImmutableRectangleShape : MSImmutableShapePathLayer
{
double _fixedRadius;
BOOL _hasConvertedToNewRoundCorners;
}
+ (Cl... |
/**
* \file
*
* \~german
* @brief Kommandozeile auswerten
*
* \~english
* @brief Command line parsing
*
*/
#ifndef CMD_LINE_H
#define CMD_LINE_H
#include "utils.h"
#include "Filter.h"
#include <string>
#include <vector>
namespace aether {
struct SignalExtractionExpression
{
IntegerInterval epoch;
std... |
#include "wc.h"
#include "wtf.h"
#include "sjis.h"
#include "big5.h"
#include "hkscs.h"
#include "jis.h"
#include "viet.h"
#include "gbk.h"
#include "gb18030.h"
#include "uhc.h"
#include "ucs.h"
#include "utf8.h"
wc_uint8 WTF_WIDTH_MAP[0x100] = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,... |
// Copyright (c) 2011-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ZEBNA_QT_TRANSACTIONTABLEMODEL_H
#define ZEBNA_QT_TRANSACTIONTABLEMODEL_H
#include <qt/zebnaunits.h>
#include <QAbs... |
#ifndef MPU_9250_DEF
#define MPU_9250_DEF
/* System includes */
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
/* Raspberry Pi includes */
#include <wiringPi.h>
#include <wiringPiI2C.h>
/* Header */
#include "mpu9250.h"
static MPU_9250 mpu_9250;
/* Forward decs */
static bool mpu_9250_write(uint8_t a... |
#import "AUUILoadDefine.h"//程序自动生成
#ifdef ANTUI_UI_Toast_AUToast//程序自动生成
//
// AUToast.h
// CommonUI
//
// Created by tudou on 13-4-12.
// Copyright (c) 2013年 tudou. All rights reserved.
//
#import <UIKit/UIKit.h>
//#########################################################
//文档地址 : https://yuque.antfin-inc.com... |
/*-
* Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
* Copyright (c) 1992 Terrence R. Lambert.
* Copyright (c) 2003 Peter Wemm.
* Copyright (c) 2008-2017 The DragonFly Project.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* William Jolitz.... |
/*
* arpping .h
*/
#ifndef ARPPING_H
#define ARPPING_H
#include <netinet/if_ether.h>
#include <net/if_arp.h>
#include <net/if.h>
#include <netinet/in.h>
struct arpMsg {
struct ethhdr ethhdr; /* Ethernet header */
u_short htype; /* hardware type (must be ARPHRD_ETHER) */
u_short ptype; /* protocol type ... |
/* -------------------------------------------------------------------- */
/* CALCULIX */
/* - GRAPHICAL INTERFACE - */
/* */
/* A 3-dimen... |
///////////////////////////////////////////////////////////////////////////////
// Author: Christian Jungreuthmayer
// Email: christian.jungreuthmayer@acib.at
// Company: Austrian Centre of Industrial Biotechnology (ACIB)
// Web: http://www.acib.at
// Copyright (C) 2012, 2013
// Published unter GNU Public License V3
//... |
//
// UITableView+GestureAdditions.h
// UITableView+GestureAdditions
//
// Created by Xiao Yao on 8/23/15.
// Copyright (c) 2015 Xiao Yao. All rights reserved.
//
@import UIKit;
/**
* Protocol definition to handle gestures.
*/
@protocol UITableViewGestureDelegate <NSObject>
@optional
/**
* Called when a re... |
#pragma once
#include "Haze/Core.h"
#include "Layer.h"
#include <vector>
namespace Haze
{
class LayerStack
{
public:
LayerStack();
~LayerStack();
void PushLayer(Layer* layer);
void PushOverlay(Layer* overlay);
void PopLayer(Layer* layer);
void PopOverlay(Layer* overlay);
std::vector<Laye... |
// Copyright 2009-2018 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2018, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directory... |
/*=========================================================================
Program: Medical Imaging Toolkit
Date: $Date: 2012-1-6 14:00:00 +0800$
Version: $Version: 2.3.3 $
Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
========================================================... |
// Copyright 2017 The Fuchsia Authors
//
// 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... |
/******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. 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 ... |
#include "cursor.h"
class Block
{
vector< pair<int, int> > records;
Block *overflow;
public:
Block();
int add(pair<int, int> record);
void clearBlock(vector<pair<int, int>> &v);
pair<int, int> getRecord(int key);
void printBlock();
};
class HashTable
{
int bitCount, numBuckets... |
/*==============================================================================
Copyright 2018 by Roland Rabien
For more information visit www.rabiensoftware.com
==============================================================================*/
#pragma once
#if defined JUCE_MAC || defined JUCE_WINDOWS || defined JUC... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#ifndef IOTDEVICE_H
#define IOTDEVICE_H
#include <stdbool.h>
#include "azure_macro_utils/macro_utils.h"
#include "schema.h"
#include "datapublisher.h"
#include "comman... |
#ifndef _CR_VOLUMEMATERIALEFFECTSESTIMATOR_H_
#define _CR_VOLUMEMATERIALEFFECTSESTIMATOR_H_
/** \class VolumeMaterialEffectsEstimator
* Base class for the estimation of material effects in a volume
* (finite step size): produces a VolumeMaterialEffectsEstimate.
*/
#include "TrackingTools/TrajectoryState/interfac... |
//*****************************************************************************
//
// startup_gcc.c - Startup code for use with GNU tools.
//
// Copyright (c) 2007-2011 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use so... |
#ifndef TIMESTAMP_STM32_SETTINGS_H
#define TIMESTAMP_STM32_SETTINGS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <ch.h>
// settings
#define TIMESTAMP_TIMER TIM7
#define TIMER_REG STM32_TIM7
#define TIMER_IRQ_NAME STM32_TIM7_HANDLER
#define RCC_EN() rccEnableTIM7(FALSE)
#define RCC_RESET() rccResetTIM7()
#define... |
/**
* 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.
*/
#pragma once
#include <react/core/EventQueue.h>
namespace facebook {
namespace react {
/*
* Event Queue that dispatches events... |
// Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_BROWSER_NODE_DEBUGGER_H_
#define ATOM_BROWSER_NODE_DEBUGGER_H_
#include <string>
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/thr... |
//
// Y_StockChartRightYView.h
// BTC-Kline
//
// Created by yate1996 on 16/5/3.
// Copyright © 2016年 yate1996. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface Y_StockChartRightYView : UIView
@property(nonatomic,assign) CGFloat maxValue;
@property(nonatomic,assign) CGFloat middleValue;
@property(nona... |
#ifndef LANDMARKS_LANDMARK_FACTORY_H
#define LANDMARKS_LANDMARK_FACTORY_H
#include "landmark_graph.h"
#include "exploration.h"
#include <ext/hash_map>
#include <ext/hash_set>
#include <map>
#include <set>
#include <vector>
class LandmarkFactory {
public:
LandmarkFactory(const Options &opts);
virtual ~Landmar... |
#ifndef FX2LAFW_INCLUDE_COMMAND_H
#define FX2LAFW_INCLUDE_COMMAND_H
#include <stdint.h>
/* Protocol commands */
#define CMD_GET_FW_VERSION 0xB0
#define CMD_START 0xB1
#define CMD_GET_REVID_VERSION 0xB2
#define CMD_SET_OUT_SOURCE_RX1 0xC0
#define CMD_SET_OUT_SOURCE_RX2 ... |
#pragma once
#include "newarc.h"
struct InternalArchiveItemInfo {
ArchiveItemInfo ItemInfo;
char *lpPassword;
};
struct InternalEditorInfo {
char *lpFileName;
char *lpFolder;
char *lpPassword;
int nEditorID;
FILETIME ftTime;
HANDLE hFile;
};
class ArchivePanel {
public:
Archive *m_pArchive;
pointer_ar... |
#pragma once
#ifndef KEYCODE_H
#define KEYCODE_H
#include "os.h"
#ifdef __cplusplus
extern "C"
{
#endif
#if defined(IS_MACOSX)
#include <Carbon/Carbon.h> /* Really only need <HIToolbox/Events.h> */
#include <ApplicationServices/ApplicationServices.h>
#import <IOKit/hidsystem/ev_keymap.h>
enum _MMKeyCode {
K_NOT... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* bfs_for_raycast.c :+: :+: :+: ... |
/* Copyright (C) 1991,95,96,97,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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.... |
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* 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... |
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
/*=========================================================================
Program: ParaView
Module: pqPythonTextArea.h
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the Para... |
/* $NetBSD: trap.h,v 1.10 1996/12/01 23:19:00 pk Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
* contributed ... |
#ifndef __SYSTEM_H
#define __SYSTEM_H
// #include<stdio.h>
#include<curses.h>
#include<stdlib.h>
#include<unistd.h>
#include<locale.h>
typedef struct point{
int x,y;
struct point *prox;
}Point;
void welcome(int, int);
int menu(WINDOW *, char **);
int verifyPoint(Point *);
void Print(WINDOW *, Point *);
Point... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_LEVELDB_PROTO_INTERNAL_LEVELDB_DATABASE_H_
#define COMPONENTS_LEVELDB_PROTO_INTERNAL_LEVELDB_DATABASE_H_
#include <map>
#include <memo... |
#ifndef _MOCK_TEXTLAYOUTVISITOR_H_
#define _MOCK_TEXTLAYOUTVISITOR_H_
#include <ITextLayoutVisitor.h>
namespace ExLibris
{
class MockTextLayoutVisitor
: public ITextLayoutVisitor
{
public:
MockTextLayoutVisitor()
: face(nullptr)
, line_current(nullptr)
{
}
~MockTextLayoutVisitor()
{
for ... |
#include <algorithm>
#include <vector>
using namespace std;
struct Interval {
int start;
int end;
Interval() : start(0), end(0) {}
Interval(int s, int e) : start(s), end(e) {}
bool operator<=(const Interval &b) { return start <= b.start; }
};
class Solution {
public:
vector<Interval> merge(v... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkDiscreteFlyingEdges2D.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 so... |
/****************************************************************************
* Copyright (c) 1998-2013,2014 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy ... |
/* Pango
* pangox.h:
*
* Copyright (C) 1999 Red Hat Software
* Copyright (C) 2000 SuSE Linux Ltd
*
* 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 Lice... |
/** \file src/xtal/xtal_basictype.h
* \brief src/xtal/xtal_basictype.h
*/
#ifndef XTAL_BASICTYPE_H_INCLUDE_GUARD
#define XTAL_BASICTYPE_H_INCLUDE_GUARD
#pragma once
namespace xtal{
/**
* \xbind lib::builtin
* \brief ヌル値
*/
class Null : public Any{
public:
Null(){
value_.init_primitive(TYPE_NULL);
}
};
/**
*... |
/*
* Copyright © 2020 Amazon.com, Inc. or its affiliates.
* 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
... |
#include <math.h>
#define EPS 3.0e-14
#define MAXIT 10
void gaulag(double x[], double w[], int n, double alf)
{
double gammln(double xx);
void nrerror(char error_text[]);
int i,its,j;
double ai;
double p1,p2,p3,pp,z,z1;
for (i=1;i<=n;i++) {
if (i == 1) {
z=(1.0+alf)*(3.0+0.92*alf)/(1.0+2.4*n+1.8*alf);
} ... |
/* Copyright (c) 2018 Anakin Authors, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... |
// tss.h
#ifndef __TSS_H
#define __TSS_H 1
// See:
// https://wiki.osdev.org/Task_State_Segment
typedef struct tss_d {
unsigned int reserved;
unsigned long rsp0;
unsigned long rsp1;
unsigned long rsp2;
unsigned int reserved2[2];
unsigned long ist1;
unsigned long ist2;
... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CloudPhotoLibrary.framework/CloudPhotoLibrary
*/
@interface CPLEngineIDMapping : CPLEngineStorage <CPLAbstractObject>
@property (readonly, copy) NSString *debugDescription;
@property (readonly, copy) NSString *description;
@property (readonly... |
/*
* Roll Number = 12/CS/06,12/CS/07
* Name = Himansu Rathi, R Om Prakash
* Group No = 3
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/ipc.h>
unsigned long long int square(char* p)
{
unsigned long long int q=atoi(p);
q=q*q;
return q;
}
int main(int argc,char *ar... |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMLOGSfInviteGroupDetails;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `SfInviteGroupDetails` struct.
... |
/*
* Copyright 2018 The Hafnium Authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by GyazoKD.rc
//
#define IDD_GYAZOKD_DIALOG 102
#define IDI_SMALL 108
#define IDR_MAINFRAME 128
#define IDI_ICON1 132
#define IDI_GYAZOKD 132
#define... |
#pragma once
#include <string>
#include <stdint.h>
#include <cstring>
#include <sstream>
#include <iostream>
#include <algorithm>
namespace S4 {
#ifdef _MSC_VER
#pragma warning(push)
# pragma warning(disable: 4244)
#endif
class HTTPURL
{
private:
std::string _protocol; // http vs https
std::string _dom... |
#ifdef __cplusplus
extern "C" {
#endif
/*
ANSI C code generated by SmartEiffel The GNU Eiffel Compiler, Eiffel tools and libraries
Release 1.1 Release (Monday June 16th 2003) [Charlemagne]
Copyright (C), 1994-2003 - INRIA - LORIA - UHP - Nancy 2 - FRANCE
D.COLNET, S.COLLIN, O.ZENDRA, P.RIBET, C.ADRIAN - SmartEiffel@lor... |
/* LibMemcached
* Copyright (C) 2006-2009 Brian Aker
* All rights reserved.
*
* Use and distribution licensed under the BSD license. See
* the COPYING file in the parent directory for full text.
*
* Summary: String structure used for libmemcached.
*
*/
#include "common.h"
inline static memcached_return_t _s... |
#include "../../lv_examples.h"
#if LV_USE_LABEL && LV_BUILD_EXAMPLES
/**
* Create a fake text shadow
*/
void lv_example_label_2(void)
{
/*Create a style for the shadow*/
static lv_style_t style_shadow;
lv_style_init(&style_shadow);
lv_style_set_text_opa(&style_shadow, LV_OPA_30);
lv_style_set_tex... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.