text stringlengths 9 948k |
|---|
/* Use common source from wlags49_h2 */
#include "../wlags49_h2/wl_netdev.c" |
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... |
/*****************************************************************************
*
* MODULE: ZPSTSV
*
* COMPONENT: zps_tsv.h
*
* AUTHOR: mwild
*
* DESCRIPTION:
*
* $HeadURL: https://www.collabnet.nxp.com/svn/lprf_sware/Projects/Zigbee%20Protocol%20Stack/Modules/TSV/Trunk/Include/zps_tsv.h $
*
* $R... |
//------------------------------------------------------------------------------
// GB_sel: hard-coded functions for selection operators
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http://suitespars... |
//
// Copyright (C) 2004 Andras Varga
// Copyright (C) 2010 Zoltan Bojthe
//
// This program 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 License, or (at your option) any... |
#ifndef _ASM_IRQ_H
#define _ASM_IRQ_H
/*
* linux/include/asm/irq.h
*
* (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar
*
* IRQ/IPI changes taken from work by Thomas Radke
* <tomsoft@informatik.tu-chemnitz.de>
*/
#define TIMER_IRQ 0
/*
* 16 8259A IRQ's, 208 potential APIC interrupt sources.
* Right now t... |
#pragma once
#include <cstring>
#include <memory>
#include <string>
#include <vector>
#include <bgfx/bgfx.h>
#include <bimg/decode.h>
#include <bx/bx.h>
#include <bx/file.h>
#include <glm/glm.hpp>
#include "kaacore/log.h"
#include "kaacore/resources.h"
namespace kaacore {
void
initialize_textures();
void
uninitial... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello World\n");
return 0;
} |
/*=========================================================================
Program: ParaView
Module: vtkPVConnectivityFilter.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY W... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:14:55 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <Xcode3UI/Xcode3BuildPropertyDefinitionCustomEnumNodeAdapter.h>
@interface Xcode3BuildPropertyDefinitionSupportedPlatformsNodeAdapter : Xcode3BuildPropertyDefinitionCust... |
//
// cpufreq.c
// ios-cpu-tool
//
// Created by vvid on 13/10/2017.
// Copyright © 2017 vvid. All rights reserved.
//
//iphone SE/8 timebase 24MHz = 125/3 = 41,[6]ns
//- config --------------------
//-----------------------------
#define CYCLES_PER_MS 2000000 //base scale
#define CALIB_UNROLL 20 //(u... |
#ifndef __SEUP__
#define __SEUP__
#include <string>
#include <iostream>
#include "../../network/src/Connection.h"
class GameUpdater
{
public:
GameUpdater(std::string game_name, unsigned short update_port);
~GameUpdater();
bool CheckForUpdate();
bool Update();
virtual bool OnFailedUpdate();
private:
std::string... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2019 The Aratriton developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_UTILITYDIALOG... |
#pragma once
#include "Layer.h"
#include <Interpolator.h>
class Color;
class SpotLayer : public Layer {
public:
SpotLayer(const Color &color, float position, float size, Interpolator::Type interpolator);
virtual ~SpotLayer() override;
virtual void draw(QVector<quint32> &buffer) override;
private:
ui... |
#ifndef _SCSI_DISK_H
#define _SCSI_DISK_H
/*
* More than enough for everybody ;) The huge number of majors
* is a leftover from 16bit dev_t days, we don't really need that
* much numberspace.
*/
#define SD_MAJORS 16
/*
* This is limited by the naming scheme enforced in sd_probe,
* add another character to it i... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
+---------... |
// Copyright 2020 Google LLC
//
// 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 agreed to in... |
#ifndef CLIENTVERSION_H
#define CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include "bitcoin-config.h"
#else
//
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 8
#defi... |
#pragma once
#include "Cloud/Core.h"
#include "Cloud/Events/Event.h"
namespace Cloud {
class Layer {
public:
Layer(const std::string& layerName = "New Layer") : layerName(layerName) {}
virtual void onAttach() {}
virtual void onDetach() {}
virtual void onUpdate(const double deltaTime, const double time) {}
... |
#ifndef ___SSTRING_H__
#define ___SSTRING_H__
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <assert.h>
#include "Defs.h"
#define TMP_STRING_SIZE 4096
class SString
{
private:
char* str;
unsigned int size;
public:
// Constructors
SString()
{
Alloc(1);
Clear();
}
SString(unsigned ... |
//
// ViewController.h
// CollectionSafety
//
// Created by MLD on 2018/7/19.
// Copyright © 2018年 MLD. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
#include <stdlib.h>
#include <stdio.h>
#include <chiasm.h>
int
CH_DL_INIT(struct ch_device *device, struct ch_dl_cx *cx)
{
device = (struct ch_device *) device;
cx = (struct ch_dl_cx *) cx;
fprintf(stderr, "Initializing plugin.\n");
return (0);
}
int
CH_DL_CALL(struct ch_frmbuf *out)
{
out = (st... |
/**CFile****************************************************************
FileName [mapperVec.c]
PackageName [MVSIS 1.3: Multi-valued logic synthesis system.]
Synopsis [Generic technology mapping engine.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 2.0. Started - June ... |
//************************************************************/
//
// Steering File Header
//
// Outlines the SPXSteeringFile class, which standardizes the
// format and I/O of the Steering File Format (SFF), a file
// format that allows for interfacing between Grids, Data,
// and Cross Sections within Spectrum
//
// @... |
/*
ToDo:
Get rid of the checker (and also the converters) field in PyCFuncPtrObject and
StgDictObject, and replace them by slot functions in StgDictObject.
think about a buffer-like object (memory? bytes?)
Should POINTER(c_char) and POINTER(c_wchar) have a .value property?
What about c_char and c_wchar a... |
/*
Readme!!! in the target for that dll use "-all_load -licucore" Other Linker Flags in Build settings
get DeviceId:: [DriverLicense dlpUniqueId];
set serial (2 variants)::
1)file dlpSerial.txt
2)[[NSUserDefaults standardUserDefaults] setValue:serial forKey:@"DriverLicenseParserCurrentSerial"];
parse::
- ... |
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include <src/gen-cpp2/MyService.h>
#include <src/gen-cpp2/MyServiceFast.h>
#include <folly/futures/Future.h>
#include <folly/futures/Promise.h>
#include <folly/Unit.h>
#include <thrif... |
/** @file
Routines that support Memory SubClass data records translation.
Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text... |
// Copyright 2018 The Crashpad 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 ... |
#pragma once
#include <chrono>
#include "envoy/event/timer.h"
#include "common/common/scope_tracker.h"
#include "common/common/utility.h"
#include "common/event/event_impl_base.h"
#include "common/event/libevent.h"
namespace Envoy {
namespace Event {
/**
* Utility helper functions for Timer implementation.
*/
cl... |
/*
* Copyright (C) 2011-2018 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... |
#pragma once
#include "Core.h"
#include "Brushes.h"
#define DECLARE_CONVERT(target, source, name) target name(source value);
#define DEFINE_CONVERT(target, source, name) \
inline target name(source value) { return static_cast<target>(value);... |
/*
* 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... |
/*
* Copyright (C) 2004, 2007, 2009, 2015 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and... |
/***************************************************************************//**
* @file
* @brief EFR32BG1V_LDMA register and bit field definitions
*******************************************************************************
* # License
* <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
*********... |
/*
* 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 ma... |
/*
* Copyright (C) 2004-2009, 2015 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this p... |
#include <arch/x86_64.h>
#include <syscall.h>
static long _tsc_ps = 0;
long arch_syscall_kconf(int cmd, long arg)
{
(void)arg;
switch(cmd) {
case KCONF_ARCH_TSC_PSPERIOD:
return _tsc_ps;
break;
default:
return -EINVAL;
}
}
void arch_syscall_kconf_set_tsc_period(long ps)
{
_tsc_ps = ps;
} |
//
// StarIoExt.h
// StarIO_Extension
//
// Created by Yuji on 2015/**/**.
// Copyright (c) 2015年 Star Micronics. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Internal/StarIoExtResultCode.h"
#import "ISCBBuilder.h"
#import "ISDCBBuilder.h"
#import "ISMCBBuilder.h"
#import "ISCPConnectParse... |
#include<stdio.h>
#include<string.h>
#define N 506
char s1[N],s2[N];
int a[N]={0},b[N]={0},c[2*N]={0};
void exchange(char *s,int *f);
void multi(int *a,int *b,int *c);
void output(int *f);
int main()
{
scanf("%s %s",&s1,&s2);
exchange(s1,a);
exchange(s2,b);
multi(a,b,c);
output(c);
}
void exchange(char *s,int *f)
... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <limits>
#include <wpi/array.h>
#include <wpi/timestamp.h>
#include "Eigen/Core"
#include "frc/... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
* Copyright (C) 2008 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*/
#include "../adio/include/adio.h"
#include "../adio/include/adioi.h"
#include "../adio/include/adio_extern.h"
#include "mpi.h"
#define PREDEF_TESTS... |
/* Execute compiled code */
/* XXX TO DO:
XXX speed up searching for keywords by using a dictionary
XXX document it!
*/
/* enable more aggressive intra-module optimizations, where available */
/* affects both release and debug builds - see bpo-43271 */
#define PY_LOCAL_AGGRESSIVE
#include "Python.h"
#includ... |
/*-----------------------------------------------------------------------
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... |
// /clone/shop/suzhou_shop.c
// Last modified by winder 2003.10.20
inherit SHOP;
void create()
{
set("short", "采芝斋");
set("no_fight", 1);
set("no_beg", 1);
set("owner", "VOID_SHOP");
set("exits", ([
"down":"/d/suzhou/majiu",
]));
set("no_steal", 1);
set("objects", ([__DIR__ "waiter":1,
]));
set("no_clea... |
/*
* Richedit clipboard handling
*
* Copyright (C) 2006 Kevin Koltzau
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) an... |
/*
* Copyright (c) 2017 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Uses some original concepts by:
* Joakim Eriksson <joakime@sics.se>
* Niclas Finne <nfi@sics.se>
* Joel Hoglund <joel@sics.se>
*/
/*
* TODO:
*
* - Use server / security object instance 0 for init... |
/***************************************************************************************
*** ***
*** Copyright (c) 2019, Lucid Vision Labs, Inc. ***
*** ... |
/*
* 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 ... |
//
// HHZInputView.h
// HHZCustomView
//
// Created by 仁和Mac on 2017/8/21.
// Copyright © 2017年 陈哲是个好孩子. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface HHZInputView : UIView
/**
* 左边的文本
*/
@property (nonatomic, strong) UILabel * textLabel;
/**
* 右边的输入框
*/
@property (nona... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import "KSCrashReportFilter-Protocol.h"
@class NSString;
@interface KSCrashReportFilterGZipCompress : NSO... |
/*
* Copyright (c) 2015-2016 Motorola Mobility, 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 above copyright notice,
* this list ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE253_Incorrect_Check_of_Function_Return_Value__wchar_t_putchar_17.c
Label Definition File: CWE253_Incorrect_Check_of_Function_Return_Value.label.xml
Template File: point-flaw-17.tmpl.c
*/
/*
* @description
* CWE: 253 Incorrect Check of Return Value
* Sinks: putchar
* ... |
//
// HTTPRequestObject.h
// w3action
//
// Created by Steve Kim on 13. 12. 30..
// Modified by Steve Kim on 15. 2. 5..
// Modified by Steve Kim on 16. 2. 16..
// Copyright (c) 2013 ~ 2016~2016 Steve Kim. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NSDictionary+w3action.h"
typedef void (^... |
#pragma once
#include <string>
#include "common/singleton/const_singleton.h"
namespace Envoy {
namespace Extensions {
namespace HealthCheckers {
/**
* Well-known health checker names.
* NOTE: New health checkers should use the well known name: envoy.health_checkers.name.
*/
class HealthCheckerNameValues {
public... |
#include "cs.h"
/* solve L'x=b where x and b are dense. x=b on input, solution on output. */
CS_INT cs_ltsolve (const cs *L, CS_ENTRY *x)
{
CS_INT p, j, n, *Lp, *Li ;
CS_ENTRY *Lx ;
if (!CS_CSC (L) || !x) return (0) ; /* check inputs */
n = L->n ; Lp = L->p ; Li = L->i ; Lx = L->x ;... |
/**
* WinPR: Windows Portable Runtime
* Synchronization Functions
*
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* 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
*
... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
/**
******************************************************************************
* @file stm32mp1xx_hal_uart_ex.h
* @author MCD Application Team
* @brief Header file of UART HAL Extended module.
******************************************************************************
* @attention
*
* <h2><... |
/**
* \file
* \brief PKCS11 Library Object Handling
*
* Copyright (c) 2017 Microchip Technology Inc. All rights reserved.
*
* \atmel_crypto_device_library_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fol... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class APCommandTask;
@interface APBaseCommandRunner : NSObject
{
APCommandTask *_task;
}
+ (id)domain... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <frc2/command/CommandHelper.h>
#include <frc2/command/SequentialCommandGroup.h>
#include "subsys... |
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.3.4.5
#ifndef WINRT_Windows_Devices_Printers_Extensions_0_H
#define WINRT_Windows_Devices_Printers_Extensions_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct EventRegistrationToken;
template <typename TSender, typename TRe... |
void test_isUniqueCharacters(); |
/* Copyright 2020 Mesa Keyboards
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distribute... |
/* $OpenBSD: rf_dag.h,v 1.4 2002/12/16 07:01:03 tdeval Exp $ */
/* $NetBSD: rf_dag.h,v 1.3 1999/02/05 00:06:07 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
*
* Author: William V. Courtright II, Mark Holland
*
* Permission to use, copy, modify and distribute this softw... |
/******************************************************************************
*
* Copyright (C) 1999-2012 Broadcom Corporation
*
* 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:
*
... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:36:14 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/SoftwareUp... |
/**
* @file
*
* @author jeffrey.daily@gmail.com
*
* Copyright (c) 2015 Battelle Memorial Institute.
*/
#include "config.h"
#include <stdlib.h>
#if defined(_MSC_VER)
#include <intrin.h>
#else
#include <emmintrin.h>
#endif
#include "parasail.h"
#include "parasail/memory.h"
#include "parasail/internal_sse.h"
#de... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* the name of <hash_map> */
#define HASH_MAP_CLASS unordered_map
/* the location of <unordered_map> or <hash_map> */
#define HASH_MAP_H <unordered_map>
/* the namespace of hash_map/hash_set */
... |
/*
* Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
... |
#include <std.h>
inherit ROOM;
void create() {
::create();
set_property("light",1);
set_property("indoors",1);
set_property("no snakes",1);
set_name("Keep Blacktongue");
set_short("%^YELLOW%^Keep Blacktongue%^RESET%^");
set_terrain(STONE_BUILDING);
set_travel(PAVED_ROAD);
set_long(... |
// 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 IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TRANSITIONING_DELEGATE_H_
#define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TRANSITIONING_DELEGATE_H_
#im... |
/*
* This file Copyright (C) 2008-2014 Mnemosyne LLC
*
* It may be used under the GNU GPL versions 2 or 3
* or any future license endorsed by Mnemosyne LLC.
*
* $Id: rpcimpl.h 14241 2014-01-21 03:10:30Z jordan $
*/
#ifndef TR_RPC_H
#define TR_RPC_H
#ifdef __cplusplus
extern "C" {
#endif
#include "transmission... |
/*
* cc4.c - fourth part of Small-C/Plus compiler
* routines for recursive descent
*
* $Id: expr.c,v 1.13 2016-03-29 13:39:44 dom Exp $
*
*/
#include "ccdefs.h"
static int heir1a(LVALUE *lval);
static int heir2a(LVALUE *lval);
static int heir2b(LVALUE *lval);
static int heir... |
// 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 RequestInit_h
#define RequestInit_h
#include "bindings/core/v8/Dictionary.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/Refer... |
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy
*/
@interface DOMHTMLMenuElement : DOMHTMLElement
@property (atomic, readwrite) BOOL compact;
- (BOOL)compact;
- (void)setCompact:(BOOL)arg1;
@end |
#pragma once
#include "Behaviour.h"
#include "Thief.h"
class AttackAction : public Behaviour
{
public:
AttackAction(Thief* target, unsigned int damage);
~AttackAction();
// applys the damage to the target
virtual eBehaviourResult execute(GameObject* gameObject, float deltaTime);
private:
// the object that is b... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <pthread.h>
void *malloc_sample(void *tid);
void *calloc_sample(void *tid);
void *realoc_sample(void *tid);
int main()
{
pthread_t malloc, calloc, realloc;
pthread_create(&malloc, NULL, malloc_sample, NULL);
pthread_create(&calloc, NULL, ca... |
/* Hash Tables Implementation.
*
* This file implements in-memory hash tables with insert/del/replace/find/
* get-random-element operations. Hash tables will auto-resize if needed
* tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :)
*
* C... |
#ifndef _LINUX_MM_H
#define _LINUX_MM_H
#include <linux/errno.h>
#ifdef __KERNEL__
#include <linux/mmdebug.h>
#include <linux/gfp.h>
#include <linux/bug.h>
#include <linux/list.h>
#include <linux/mmzone.h>
#include <linux/rbtree.h>
#include <linux/atomic.h>
#include <linux/debug_locks.h>
#include <linux/mm_types.h>
... |
/**
* Copyright (c) 2016-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 <F... |
#ifndef __IRECT
#define __IRECT
typedef struct _irect {
public:
union{
struct{
int x1, y1, x2, y2;
};
int m[4];
};
__forceinline RECT* get_LPRECT() { return LPRECT(&m); };
__forceinline void set(int _x1, int _y1, int _x2, int _y2) { x1=_x1; y1=_y1; x2=_x2; y2=_y2; };
__forceinline v... |
#include <stdio.h>
void papy_boom()
{
int i=0;
for(i=0;i<10;i++)
printf("%i",i);
} |
#ifndef PROCESS_H
#define PROCESS_H
#include <string>
/*
Basic class for Process representation
It contains relevant attributes as shown below
*/
class Process {
public:
int Pid(); // TODO: See src/process.cpp
std::string User(); // TODO: See src/process.cpp
st... |
//
// BaseNavigationViewController.h
// WebBrowser
//
// Created by kkyun.com on 2017/7/13.
// Copyright © 2017年 kkyun.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BaseNavigationViewController : UINavigationController
@end |
#ifndef PH_WIN_UDPSOCKET_H
#define PH_WIN_UDPSOCKET_H
#include <string.h>
#include <iostream>
#include <winsock2.h>
#include <unistd.h>
#include <exception>
namespace pH {
void netInit() {
WSADATA wsa;
if (WSAStartup(MAKEWORD(2, 2), &wsa) != 0) {
throw std::runtime_error("WSAStartup failed");
}
}... |
/*
* KINOVA (R) KORTEX (TM)
*
* Copyright (c) 2019 Kinova inc. All rights reserved.
*
* This software may be modified and distributed under the
* terms of the BSD 3-Clause license.
*
* Refer to the LICENSE file for details.
*
*/
/*
* This file has been auto-generated and should not be modified.
*/
#ifndef _KORTEX_... |
/***************************************************************************
begin : Sat Jul 2 2005
copyright : (C) 2005 - 2009 by Alper Akcan
email : alper.akcan@gmail.com
***************************************************************************/
/**************... |
/*
* buffer.h -- generic memory buffer.
*
* Copyright (c) 2005-2008, NLnet Labs. All rights reserved.
*
* See LICENSE for the license.
*
*
* The buffer module implements a generic buffer. The API is based on
* the java.nio.Buffer interface.
*/
#ifndef GLDNS_SBUFFER_H
#define GLDNS_SBUFFER_H
#include <stdin... |
/* Boolector: Satisfiability Modulo Theories (SMT) solver.
*
* Copyright (C) 2013-2014 Armin Biere.
* Copyright (C) 2013-2017 Aina Niemetz.
* Copyright (C) 2014-2016 Mathias Preiner.
*
* This file is part of Boolector.
* See COPYING for more information on using this software.
*/
#include "btormc.h"
#in... |
/* $OpenBSD: ohash_interval.c,v 1.3 2006/01/16 15:52:25 espie Exp $ */
/* ex:ts=8 sw=4:
*/
/* Copyright (c) 1999, 2004 Marc Espie <espie@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notic... |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
/*
* 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... |
/*
* MikroSDK - MikroE Software Development Kit
* Copyright© 2020 MikroElektronika d.o.o.
*
* 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... |
//===- llvm/CodeGen/TargetLowering.h - Target Lowering Info -----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double CGSimplePingVersionNumber;
FOUNDATION_EXPORT const unsigned char CGSimplePingVersionString[]; |
#include "ref.h"
void ref_correlate_f32(float32_t *pSrcA, uint32_t srcALen, float32_t *pSrcB,
uint32_t srcBLen, float32_t *pDst)
{
float32_t *pIn1 = pSrcA; /* inputA pointer */
float32_t *pIn2 =
pSrcB + (srcBLen - 1U); /* inputB pointer */
float32_t sum; /*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.