text stringlengths 9 948k |
|---|
/*
Stride is licensed under the terms of the 3-clause BSD license.
Copyright (C) 2017. 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:
... |
/************************************************************************************************************************
Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, ... |
/**
* @file httpheaders.h
* @brief Public-facing declarations for the HttpHeaders class
*
* $LicenseInfo:firstyear=2012&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2012-2013, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the t... |
/* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* userdlm.c
*
* Code which implements the kernel side of a minimal userspace
* interface to our DLM.
*
* Many of the functions here are pared down versions of dlmglue.c
* functions.
*
* Copyright (C) 2003, 2004 Oracle. All rights r... |
#ifndef H_CARDANO_APP_DERIVE_ADDRESS
#define H_CARDANO_APP_DERIVE_ADDRESS
#include "common.h"
#include "bip44.h"
#include "handlers.h"
handler_fn_t deriveAddress_handleAPDU;
typedef struct {
uint16_t responseReadyMagic;
bip44_path_t pathSpec;
struct {
uint8_t buffer[128];
size_t size;
} address;
int ui_step... |
//
// Copyright 1997, 1998, 1999 University of Notre Dame.
// Authors: Andrew Lumsdaine, Jeremy G. Siek, Lie-Quan Lee
//
// This file is part of the Matrix Template Library
//
// You should have received a copy of the License Agreement for the
// Matrix Template Library along with the software; see the
// file LICENSE... |
#ifndef SALRS_MAIN_SCHEME_H
#define SALRS_MAIN_SCHEME_H
#include <stdint.h>
#include "kyber_all.h"
#include "randombytes.h"
#include "params_salrs.h"
#include "fips202.h"
#include "polyvec_salrs.h"
#include "generating.h"
#include "poly_calculations_salrs.h"
#include "packing_salrs.h"
#include "params_kyber.h"
#include... |
// This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Fuse.Triggers/1.9.0/Actions/Callback.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.ISourceLocation.h>
#include <Fuse.Triggers.Actions-fcab7e57.h>
namespace g{namespace Fuse{namesp... |
/* Emacs style mode select -*- C++ -*-
*-----------------------------------------------------------------------------
*
*
* PrBoom: a Doom port merged with LxDoom and LSDLDoom
* based on BOOM, a modified and improved DOOM engine
* Copyright (C) 1999 by
* id Software, Chi Hoang, Lee Killough, Jim Flynn, Ran... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE284_Access_Control_Issues__char_w32CreateWindowStation_03.c
Label Definition File: CWE284_Access_Control_Issues.label.xml
Template File: point-flaw-03.tmpl.c
*/
/*
* @description
* CWE: 284 Access Control Issues
* Sinks: w32CreateWindowStation
* GoodSink: Create a... |
/****************************************************************************
*
* Copyright (c) 2017-2018 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. Red... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-09-10 WaterFishJ the first version
*/
#ifndef __BSAL_SRV_HRS_H__
#define __BSAL_SRV_HRS_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.... |
// -*- Mode: c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
//
// Copyright (C) 2015 Opera Software ASA. All rights reserved.
//
// This file is an original work developed by Opera Software ASA
#ifndef MEDIA_BASE_MAC_SCOPED_AUDIO_QUEUE_REF_H_
#define MEDIA_BASE_MAC_SCOPED_AUDIO_QUEUE_REF_H_
#include... |
/**
******************************************************************************
* File Name : USART.c
* Description : This file provides code for the configuration
* of the USART instances.
******************************************************************************
... |
/*
*
* University of Luxembourg
* Laboratory of Algorithmics, Cryptology and Security (LACS)
*
* FELICS - Fair Evaluation of Lightweight Cryptographic Systems
*
* Copyright (C) 2015 University of Luxembourg
*
* Written in 2015 by Johann Großschädl <johann.groszschaedl@uni.lu>
*
* This file is part of FELICS.... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchlib/transactionlog/domainpart.h>
#include <vespa/searchlib/transactionlog/session.h>
#include <vespa/vespalib/util/threadstackexecutor.h>
namespace search::transact... |
/*
* (C) Copyright 2007-2008
* Stelian Pop <stelian@popies.net>
* Lead Tech Design <www.leadtechdesign.com>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License ... |
#include <string.h>
#include <onion/onion.h>
int init(const char *path) {
return 0;
}
onion_connection_status handle(void *_, onion_request *request, onion_response *response) {
const char *path = onion_request_get_path(request);
onion_response_set_code(response,200);
onion_response_set_header(response,"Content-... |
#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"
/**
* Extension Globals
*/
ZEPHIR_INIT_CLASS(Test_Globals) {
ZEPHIR_R... |
/*
* Copyright (C) 2010-2019 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 condi... |
/*
MIT License
Copyright (c) 2017 TrolleY
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, publish, distri... |
/*
textdefs.c
diStorm3 - Powerful disassembler for X86/AMD64
http://ragestorm.net/distorm/
distorm at gmail dot com
Copyright (C) 2011 Gil Dabah
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, eith... |
/**
* \file oid.c
*
* \brief Object Identifier (OID) database
*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* 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... |
#pragma once
#include <string>
#include <vector>
#include <request/HttpMethod.h>
namespace urchin {
class HttpRequest {
public:
HttpRequest();
static HttpRequest newPostTextPlain(std::string, std::string, std::vector<std::string>);
static HttpRequest newGetTextPlain(s... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:22:31 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/CoreDuet.f... |
/*****************************************************************************
*
* NXP Confidential Proprietary
*
* Copyright (c) 2014-2016 Freescale Semiconductor
* Copyright 2017 NXP
* All Rights Reserved
*
******************************************************************************
*
* THIS SOFTWARE IS PROVIDED ... |
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef MemoryCache_DEFINED
#define MemoryCache_DEFINED
#include "include/core/SkData.h"
#include "include/gpu/GrContextOptions.h"
#include "include/private/SkChecksum.h"
#i... |
/*
* 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, includ... |
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef lint
static char sccsid[] = "@(#)broadcast.c 1.4 (Berkeley) 11/16/85";
#endif not lint
#include "globals.h"
#include ... |
/**
******************************************************************************
* @file console.c
* @author Central LAB
* @version V4.0.0
* @date 30-Oct-2019
* @brief This file provides implementation of standard input/output
***************************************************************************... |
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy
*/
@interface DOMHTMLAreaElement : DOMHTMLElement
@property (atomic, readonly, copy) NSURL *absoluteLinkURL;
@property (atomic, readwrite, copy) NSString *accessKe... |
#include "m6800/m6800.h"
typedef UINT8 (*pReadByteHandler)(UINT16 a);
typedef void (*pWriteByteHandler)(UINT16 a, UINT8 d);
typedef UINT8 (*pReadOpHandler)(UINT16 a);
typedef UINT8 (*pReadOpArgHandler)(UINT16 a);
typedef UINT8 (*pReadPortHandler)(UINT16 a);
typedef void (*pWritePortHandler)(UINT16 a, UINT8 d);
struct... |
/**
* @file condition_variable.h
* @brief std::condition_variable implementation for MinGW
*
* (c) 2013-2016 by Mega Limited, Auckland, New Zealand
* @author Alexander Vassilev
*
* @copyright Simplified (2-clause) BSD License.
* You should have received a copy of the license along with this
* program.
*
* This code is ... |
#pragma once
#include "ItemPassiveEffect.h"
#include "ItemTimedEffectTemplate.h"
namespace ItemSystem
{
/**
* @ingroup item_effect_group
* @brief Resoponsible for the timing of the ItemEffect
*/
class ItemTimedEffect : public ItemEffect
{
public:
ItemTimedEffect(std::shared_ptr<I... |
/**************************************************************************//**
* @file efm32pg12b_lesense_st.h
* @brief EFM32PG12B_LESENSE_ST register and bit field definitions
* @version 5.6.0
******************************************************************************
* # License
* <b>Copyright 2018 Silicon ... |
/*
* Copyright 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" file ... |
/******************************************************************************\
* Project: Module Subsystem Interface to SP Interpreter Core *
* Authors: Iconoclast *
* Release: 2018.12.18 ... |
/**
* \file MonoClass construction and initialization
*
* Copyright 2001-2003 Ximian, Inc (http://www.ximian.com)
* Copyright 2004-2009 Novell, Inc (http://www.novell.com)
* Copyright 2012 Xamarin Inc (http://www.xamarin.com)
* Copyright 2018 Microsoft
* Licensed under the MIT license. See LICENSE file in the pr... |
/*
* FreeRTOS V202107.00
* Copyright (C) 2020 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, including ... |
//
// AppDelegate.h
// CYSuspendButton
//
// Created by SX on 2017/5/26.
// Copyright © 2017年 YULING. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
// RUN: %libomp-compile-and-run
#include <stdio.h>
#include <stdbool.h>
#include <omp.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef void* ident_t;
extern bool
__kmpc_atomic_bool_1_cas_cpt(ident_t *loc, int gtid, char *x, char e, char d,
char *pv);
extern bool
__kmpc_atomic_bool_2_cas... |
/*
* dump.c
*
* Created on: 2011-9-20
* Author: qcg
* $ ulimit -c 1024
*/
#include <unistd.h>
/*
int main(void) {
while (1)
;
return 0;
}
*/ |
/*
Copyright 2019 Andy Curtis
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
dis... |
/* Public Domain Curses */
#include "pdcdos.h"
/* ACS definitions originally by jshumate@wrdis01.robins.af.mil -- these
match code page 437 and compatible pages (CP850, CP852, etc.) */
#ifdef CHTYPE_LONG
# define A(x) ((chtype)x | A_ALTCHARSET)
chtype acs_map[128] =
{
A(0), A(1), A(2), A(3), A(4), A(5), A(6... |
#include <linux/version.h>
#ifndef RHEL_RELEASE_CODE
#define RHEL_RELEASE_CODE 0
#define RHEL_RELEASE_VERSION(a, b) 0
#endif
#define HAVE_IPV6_DST_LOOKUP_NET 1
#define HAVE_IPV6_STUB 1
#define HAVE_ERR_CAST 1
#define HAVE_IS_ERR_OR_NULL 1
#define HAVE_PTR_ERR_OR_ZERO 1
#define HAVE_ETH_HW_ADDR_RANDOM 1
#define HAVE_ETH... |
/* -*- C -*- */
/*
* Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates
*
* 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
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
//
// AppDelegate.h
// CocoaPodsWithCarthage
//
// Created by Xi Huang on 9/12/17.
// Copyright © 2017 LucasHuang, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
//
// sdl1.h
// axe47_homew
//
// Created by working on 2018/1/20.
// Copyright © 2018年 working. All rights reserved.
//
#ifndef sdl1_h
#define sdl1_h
#include <stdio.h>
struct _LuaConfig;
typedef struct _LuaConfig LuaConfig;
#endif /* sdl1_h */ |
#ifndef LBM_BND_INTERFACE_H
#define LBM_BND_INTERFACE_H
class LBMBndInterface {
public:
LBMBndInterface() = default;
virtual ~LBMBndInterface() = default;
// deleted constructors not needed
LBMBndInterface(const LBMBndInterface&) = delete;
LBMBndInterface(LBMBndInterface&&) = delete;
auto op... |
/* BSD user-level threads support.
Copyright (C) 2005-2016 Free Software Foundation, Inc.
This file is part of GDB.
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 o... |
/* $XFree86: xc/programs/Xserver/ilbm/ilbmfillarc.c,v 3.0 1996/08/18 01:53:48 dawes Exp $ */
/************************************************************
Copyright (c) 1989 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (... |
/*
* Copyright (C) 2017 Vladimir Zhelezarov
* Licensed under MIT License.
*
* BT Display JNI layer
* it takes care about string encryption and apk integrity checking
*
*/
#include <jni.h>
#include <stdlib.h>
#include <stdio.h>
#include <android/log.h>
// your signing sha1 hash
// TODO: FILL ME
const jbyte rH[]... |
/* $OpenBSD: config.c,v 1.12 2011/05/09 11:15:18 reyk Exp $ */
/* $vantronix: config.c,v 1.30 2010/05/28 15:34:35 reyk Exp $ */
/*
* Copyright (c) 2010 Reyk Floeter <reyk@vantronix.net>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provid... |
#ifndef __BML_ALLOCATE_ELLSORT_H
#define __BML_ALLOCATE_ELLSORT_H
#include "bml_types_ellsort.h"
void bml_deallocate_ellsort(
bml_matrix_ellsort_t * A);
void bml_clear_ellsort(
bml_matrix_ellsort_t * A);
void bml_clear_ellsort_single_real(
bml_matrix_ellsort_t * A);
void bml_clear_ellsort_double_real(
... |
/*
* LR Automata Vizualisation
*
* Copyright (c) 2017 Alexei A. Smekalkine
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <parser/automata-show.h>
static void marker_show (FILE *f)
{
fprintf (f, " •");
}
void item_show (const struct item *o, FILE *f)
{
size_t i;
const struct rule *r;
fprintf (f, " ... |
/* See LICENSE for license details. */
#include <stdint.h>
#include <sys/types.h>
/* macros */
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) < (b) ? (b) : (a))
#define LEN(a) (sizeof(a) / sizeof(a)[0])
#define BETWEEN(x, a, b) ((a) <= (x) && (x) <= (b))
#define DIVCEIL(n, d) (((n) + ((d) - 1))... |
// Copyright (c) 2019 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef XDA_UNORDERED_LRU_CACHE_H
#define XDA_UNORDERED_LRU_CACHE_H
#include <unordered_map>
template<typename Key, typename Value,... |
#include "types.h"
#include "defs.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "x86.h"
static void startothers(void);
static void mpmain(void) __attribute__((noreturn));
extern pde_t *kpgdir;
extern char end[]; // first address after kernel loaded from ELF file
// Bootstra... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:13:57 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/Frameworks/Vision.framework... |
/**
* @file sort.h
* @brief quick sort function tool
* @author Shen Yifan (shenyifan@ict.ac.cn)
* @date 2020.7.25
* @version 1.0
* @detail Function list: \n
* 1. sort():quick sort for an array\n
* 2. \n
*/
/*----------------------------------------------------------------------------*/
/* - History:
* ... |
//
// Created by Sabrina Shanman 8/14/2018
// Copyright 2018 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_NestableTransformNode_h
#define hifi_NestableTransformNode_h
#include "Tr... |
#ifndef NGX_HTTP_XSS_FILTER_MODULE_H
#define NGX_HTTP_XSS_FILTER_MODULE_H
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct {
ngx_str_t callback_arg;
ngx_hash_t input_types;
ngx_array_t *input_types_keys;
ngx_str_t output_type;
ngx_flag_t get_enabled;
ngx... |
/*
* Copyright (c) 2016 RnDity Sp. z o.o.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief System/hardware module for STM32F3 processor
*/
#include <device.h>
#include <init.h>
#include <arch/cpu.h>
#include <cortex_m/exc.h>
/**
* @brief Perform basic hardware initialization at boot.
*
* Thi... |
/*********************************************************\
* File: Null_GLSL.h *
* Fragment shader source code - GLSL (OpenGL 3.3 ("#version 330")
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Pe... |
/*
Copyright (c) 2015 - present Advanced Micro Devices, 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 us... |
// Copyright 2014 BitPay Inc.
// Copyright 2015 Avian Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __UNIVALUE_H__
#define __UNIVALUE_H__
#include <stdint.h>
#include <string.h>
#include <string>
#inc... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:17:17 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/GameplayKit.fr... |
// Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_H_
#include <windowsx.h>
#incl... |
// RUN: %clang_cc1 -ffreestanding %s -triple=i386-unknown-unknown -target-feature +shstk -emit-llvm -o - -Wall -Werror | FileCheck %s --check-prefix=I386 --check-prefix=CHECK
// RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +shstk -emit-llvm -o - -Wall -Werror | FileCheck %s --check-... |
/*
* File: sidlx_rmi_Simvocation.h
* Symbol: sidlx.rmi.Simvocation-v0.1
* Symbol Type: class
* Babel Version: 1.0.4
* Description: Client-side glue code for sidlx.rmi.Simvocation
*
* WARNING: Automatically generated; changes will be lost
*
*/
#ifndef included_sidlx_rmi_Simvocation_h
#def... |
// 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_USB_FRAME_USB_SERVICES_H_
#define CHROME_BROWSER_USB_FRAME_USB_SERVICES_H_
#include "chrome/browser/usb/web_usb_service_impl.h"
#i... |
//
// shapeset.h:
//
#ifndef __shapeset_h
#define __shapeset_h
class Shape;
class ShapeSet {
List<Shape> shape_slot;
public:
ShapeSet();
Boolean load_file( FILE* fp );
Boolean save_file( FILE* fp );
Boolean tex_file( FILE* fp );
Boolean fig_file( FILE* fp );
Shape* find_hit_shape( int x, int y );
int ... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 29 2017 23:22:24).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "NSObject-Protocol.h"
@protocol VoiceViewSpeakerModeCheckExt <NSObject>
- (void)getVoiceViewSpeakerMode:(_Bool *)arg1;
@end |
/*******************************************************************************
* File Name: Pin_PairLine1.h
* Version 2.20
*
* Description:
* This file contains the Alias definitions for Per-Pin APIs in cypins.h.
* Information on using these APIs can be found in the System Reference Guide.
*
* Note:
*
**********... |
/******************************************************************
*
* Copyright 2015 Samsung Electronics 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
*
... |
/*========================================================================
VES --- VTK OpenGL ES Rendering Toolkit
http://www.kitware.com/ves
Copyright 2011 Kitware, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Y... |
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Redistribution and use of this software 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 ... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <AppInstallerLogging.h>
#include <AppInstallerTelemetry.h>
#include <string>
#include <string_view>
namespace AppInstaller::Logging
{
// Log ETW events for tracing.
// Doesn't save events to a file on disk.
st... |
#ifndef gallery_DataGetterHelper_h
#define gallery_DataGetterHelper_h
// vim: set sw=2 expandtab :
// Allows one to lookup a product given module label, instance name,
// type and optionally the process name. It contains various data
// structures to efficiently perform that lookup. Using
// BranchMapReader it can al... |
/*
* Copyright (C) 2008-2022 Ole André Vadla Ravnås <oleavr@nowsecure.com>
* Copyright (C) 2020 Francesco Tamagni <mrmacete@protonmail.ch>
*
* Licence: wxWindows Library Licence, Version 3.1
*/
#ifndef __GUM_PROCESS_H__
#define __GUM_PROCESS_H__
#include <gum/gummemory.h>
#define GUM_THREAD_ID_INVALID ((GumThre... |
#include <stdio.h>
void odd_even(int);
int main(){
int input;
printf("Type number = ");
scanf("%d",&input);
odd_even(input);
return 0;
}
void odd_even(int number){
if(number % 2 == 0)
printf("integer is even\n");
else
printf("integer is even\n");
} |
// Auto-generated file. Do not edit!
// Template: src/qs8-gemm/MRx4c2-sse.c.in
// Generator: tools/xngen
//
// Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>... |
#include "lpc17xx.h"
#include <stdio.h>
#define CHX 0x90
#define CHY 0xd0
#define SSP_SR_TFE 1 //Transmit FIFO Empty
#define SSP_SR_TNF (1 << 1)//Transmit FIFO Not Full
#define SSP_SR_RNE (1 << 2)//Receive FIFO Not Empty
#define SSP_SR_RFF (1 << 3)//Receive FIFO... |
/******************************************************************************/
/* */
/* Copyright (c) 2011, DNA Research, the 3Delight Developers. */
/* All Rights Reserved. ... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:44:02 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/Preferences.framework/Preferences
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the terms found in... |
/*
* Direct MTD block device access
*
* $Id: mtdblock.c,v 1.1.1.4 2003/10/14 08:08:16 sparq Exp $
*
* 02-nov-2000 Nicolas Pitre Added read-modify-write with cache
*/
#include <linux/config.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mt... |
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
void called_func(int, float);
int main(int argc, char *argv[]) {
called_func(1, 2 * 3.5);
exit(EXIT_SUCCESS);
}
void called_func(int32_t iarg, float farg) { float tmp = iarg * farg; } |
#ifndef _afxwin_h_
#define _afxwin_h_
//----------------------------------------------------------------------------
// Replacement for the windows afxwin.h include file
//----------------------------------------------------------------------------
#define CorrectAfxWinIncluded
// To cut the windows specific paths in ... |
#pragma once
#include <vector>
#include <memory>
#include <string>
#include <Renderer2D.h>
#include "MathLibrary.h"
class Component;
class GameObject
{
public:
GameObject() {}
virtual ~GameObject();
bool isActive() const { return m_active; }
void setActiveState(bool state);
//Updating and drawing
void update... |
/*++
Module Name:
GzipDataWriter.h
Abstract:
Headers for the GzipDataWriter & related classes for the SNAP sequencer
Authors:
Ravi Pandya, Mar 2013
Environment:
User mode service.
Revision History:
--*/
#pragma once
#include "Compat.h"
#include "Read.h"
#include "Compat.h"
#include "DataWrit... |
// 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.
// This file declares a HttpTransactionFactory implementation that can be
// layered on top of another HttpTransactionFactory to add HTTP caching. Th... |
#pragma once
class CPythonSystem : public CSingleton<CPythonSystem>
{
public:
enum EWindow
{
WINDOW_STATUS,
WINDOW_INVENTORY,
WINDOW_ABILITY,
WINDOW_SOCIETY,
WINDOW_JOURNAL,
WINDOW_COMMAND,
WINDOW_QUICK,
WINDOW_GAUGE,
WINDOW_MINIMAP,
WINDOW_CHAT,
WINDOW_MAX_NUM,
};
enum
{... |
/**
* @file <argos3/plugins/robots/pi-puck/simulator/pipuck_rangefinders_default_sensor.h>
*
* @author Michael Allwright - <allsey87@gmail.com>
*/
#ifndef PIPUCK_RANGEFINDERS_DEFAULT_SENSOR_H
#define PIPUCK_RANGEFINDERS_DEFAULT_SENSOR_H
namespace argos {
class CPiPuckRangefindersDefaultSensor;
class CContro... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:03 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/EmailDaemon.framework/EmailDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
//
// UIView+WT.h
// WTSDK
//
// Created by 张威庭 on 15/12/16.
// Copyright © 2015年 zwt. All rights reserved.
//
#import <UIKit/UIKit.h>
//CGPoint CGRectGetCenter(CGRect rect);
//CGRect CGRectMoveToCenter(CGRect rect, CGPoint center);
@interface UIView (WT)
@property (nonatomic, assign) CGFloat x;
@property (nonato... |
/*
*
* Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd. 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
*
... |
#include <assert.h>
#include "operations.h"
#define MAX_INT 2147483647
/*
Function to add two numbers, x and y
*/
int add(int x, int y) {
// Do the addition and check if there is an overflow
long c = (long) x + y;
assert(c < MAX_INT && c > -MAX_INT);
return (int) c;
}
/*
Function to substract two n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.