text stringlengths 9 948k |
|---|
/*
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT plantower_pms7003
/* sensor pms7003.c - Driver for plantower PMS7003 sensor
* PMS7003 product: http://www.plantower.com/en/content/?110.html
* PMS7003 spec: http://aqicn.org/air/view/sensor/spec/pms7003.pd... |
//
// MSPidModel.h
// MSAdSDKDev
//
// Created by Liumaos on 2020/7/17.
// Copyright © 2020 XiXiHaha. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IdProviderFactory.h"
NS_ASSUME_NONNULL_BEGIN
@interface MSPidModel : NSObject
@property(nonatomic,assign) MSPlatformName platform;
@property(no... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:36:46 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/TrialProto... |
#include "alphasparse/kernel.h"
#include "alphasparse/util.h"
alphasparse_status_t ONAME(const ALPHA_Complex alpha, const ALPHA_SPMAT_CSC *mat, const ALPHA_Complex *x, const ALPHA_INT columns, const ALPHA_INT ldx, const ALPHA_Complex beta, ALPHA_Complex *y, const ALPHA_INT ldy)
{
ALPHA_SPMAT_CSC *transposed_mat;
... |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
static int16_t x1 = INT16_MAX;
int32_t x2 = INT32_MIN;
static volatile uint32_t x9 = 626668544U;
volatile uint3... |
/**
* Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
*
* 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,... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018-2019 The Ingenuity developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lice... |
#ifndef DBCREATELISTMODEL_H
#define DBCREATELISTMODEL_H
#include "storages/bytezero.h"
#include "dbinfo.h"
class DbCreateListModel : public BaseListModel
{
Q_OBJECT
public:
explicit DbCreateListModel(QObject *parent = nullptr);
virtual ~DbCreateListModel();
virtual void bind(bool);
virtual void u... |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.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 granted to anyone to use this ... |
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... |
/**
* (C) Copyright 2017 Intel 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:52 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/iTunesStore... |
//
// ASICloudFilesCDNRequest.h
//
// Created by Michael Mayo on 1/6/10.
//
#import "ASICloudFilesRequest.h"
@class ASICloudFilesContainerXMLParserDelegate;
@interface ASICloudFilesCDNRequest : ASICloudFilesRequest {
NSString *accountName;
NSString *containerName;
ASICloudFilesContainerXMLParserDelegate *xmlPar... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
#ifndef ENUM_HELPER_H
#define ENUM_HELPER_H
#include "LuaReference.h"
#include "RageUtil.h"
#include <memory>
extern "C"
{
#include "../extern/lua-5.1/src/lua.h"
}
/** @brief A general foreach loop for enumerators, going up to a max value. */
#define FOREACH_ENUM_N( e, max, var ) for( e var=(e)0; var<max; enum_add<e... |
/*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
/*
* Copyright 2015 Hans Leidekker for CodeWeavers
*
* 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) any later version.
*
... |
//
// Copyright (c) 2016 deltaDNA 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
//
// Unless required by ... |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* --------------------------------------------------------------------... |
// gzip.h - originally written and placed in the public domain by Wei Dai
//! \file gzip.h
//! \brief GZIP compression and decompression (RFC 1952)
#ifndef CRYPTOPP_GZIP_H
#define CRYPTOPP_GZIP_H
#include "cryptlib.h"
#include "zdeflate.h"
#include "zinflate.h"
#include "crc.h"
NAMESPACE_BEGIN(CryptoPP)
//! \class... |
/*
Copyright (c) 2020 – 2021 Texas Instruments Incorporated
All rights reserved not granted herein.
Limited License.
Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
license under copyrights and patents it now or hereafter owns or controls to
make, have made, use, import, offer to s... |
//===- llvm/Transforms/Vectorize/LoopVectorizationLegality.h ----*- 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
//
//===---------------------------... |
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "blake2.h"
#include "blake2b-common.h"
#include "blake2bip.h"
#ifdef __APPLE__
#include <machine/endian.h>
#include <libkern/OSByteOrder.h>
#define htole32(x) OSSwapHostToLittleInt32(x)
#endif
ALIGN(64) static const uint64_t bla... |
/*
* Copyright (C) 2006, 2007, 2008 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 ... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2018-2020 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
//
// ThreadInterface.xaml.h
// Declaration of the Interface class
//
#pragma once
#include "ThreadInterface.g.h"
#include "Types.h"
#include "IInterfaceUIElements.h"
#include "OtDevice.h"
namespace OpenThreadTalk
{
[Windows::Foundation::Metadata::WebHostHidden]
public ref class ThreadInterface sealed
{... |
/*
******************************************************************************
*
* COPYRIGHT(c) 2020, China Mobile IOT
*
* 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 co... |
#pragma once
#include <QMetaType>
#include "core/entitydatabank.h"
class QUrl;
class QByteArray;
namespace SUData {
class Entity_C;
class EntityDataPool_C;
}
namespace SUCore {
class EntityDataBank_C;
class DataSource_I
{
public:
DataSource_I(const EntityDataBank_C& m_dataBank);
virtual ~DataSource_I() = de... |
#ifndef __IST30XXH_FW_H__
#define __IST30XXH_FW_H__
// Chip ID : 0x0000038D
// Core Ver : 0x02000001
// Main Ver : 0x02000000
// FW Ver : 0x00020205
// FW Download CRC : 0xA4930F38
// Normal CRC : 0x84D28C66
static unsigned char ist30xxh_fw[] = {
0x80, 0x00, 0x00, 0x80, 0x48... |
#ifndef PAGE_RANK_H
#define PAGE_RANK_H
#include "graph.h"
#include "hashTable.h"
#include "readData.h"
void PageRankW(graph g, double d, double diffPR,int maxIteration);
// if the given fp is NULL, then it would print to stdout
void show_pagerank(FILE *fp);
void show_weight();
void sort_by_pr();
hash_table read... |
//
// YSViewController.h
// YSConsole
//
// Created by 357997194@qq.com on 11/01/2019.
// Copyright (c) 2019 357997194@qq.com. All rights reserved.
//
@import UIKit;
@interface YSViewController : UIViewController
@end |
#ifndef _XH_RUBY_BUFFER_H_
#define _XH_RUBY_BUFFER_H_
#include "xh_config.h"
#include "xh_core.h"
typedef struct _xh_ruby_buffer_t xh_ruby_buffer_t;
struct _xh_ruby_buffer_t {
VALUE scalar;
xh_char_t *start;
xh_char_t *cur;
xh_char_t *end;
};
void xh_ruby_buffer_init(xh_ruby_buffer_t *buf, size_... |
/*!
\ingroup PkgTDS2Concepts
\cgalConcept
\cgalRefines `TriangulationDataStructure_2::Face`
The concept `TriangulationDSFaceBase_2` describes the requirements for
the face base class of a `CGAL::Triangulation_data_structure_2<Vb,Fb>`.
Note that if the `CGAL::Triangulation_data_structure_2`
is plugged into a triangul... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__src_char_alloca_loop_11.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__src.string.label.xml
Template File: sources-sink-11.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Initialize data a... |
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/QuartzComposer
*/
@interface QCSynchronousURLConnectionDelegate : NSObject <NSURLConnectionDelegate> {
BOOL _allowRedirections;
BOOL _done;
NSError * _error;
... |
//
// BCIDChunk.h
// BCIDChunk
//
// Copyright 2015 GameHouse, a division of RealNetworks, Inc.
//
// The GameHouse Promotion Network SDK is 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 Licens... |
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistrib... |
/*
* BMKMapComponent.h
* BMKMapComponent
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKAnnotation.h"
#import "BMKAnnotationView.h"
#import "BMKMapView.h"
#import "BMKOfflineMap.h"
#import "BMKOfflineMapType.h"
#import "BMKOverlay.h"
#import "BMKShape.h"
#import "BMKPointAnnotation.h"
#... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... |
/*
* Copyright 2014-2016 Nippon Telegraph and Telephone 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
/*
* Jody Bruchon's two-way strstr() function
*
* Copyright (C) 2014-2021 by Jody Bruchon <jody@jodybruchon.com>
* See jody_strstr.c for license information
*/
#include <stdio.h>
#include <string.h>
#ifndef JODY_STRSTR_H
#define JODY_STRSTR_H
#ifdef __cplusplus
extern "C" {
#endif
extern char *jody_strstr(cons... |
#import "MWMKeyboardObserver.h"
@interface MWMKeyboard : NSObject
+ (void)applicationDidBecomeActive;
+ (void)addObserver:(id<MWMKeyboardObserver>)observer;
+ (void)removeObserver:(id<MWMKeyboardObserver>)observer;
+ (CGFloat)keyboardHeight;
@end |
// Copyright (c) 2018, ETH Zurich and UNC Chapel Hill.
// 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
// notic... |
/* Copyright 2017 The TensorFlow 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 applicable law or a... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <pthread.h>
#include <stdatomic.h>
#include <assert.h>
// ttaslock.h
//
struct ttaslock_s {
atomic_int state;
};
typedef struct ttaslock_s ttaslock_t;
static inline void ttaslock_init(struct ttaslock_s *l);
static inline void ttaslock_acquire(str... |
// This file was generated by createCFunction.sci on 03-03-2017 01:18
// Computational function for X2C block TDSystemO2
#define SCILAB_SIM_FILE /* mark this file as Scilab simulation file */
/* include Scicos / Xcos headers */
#include <scicos.h>
#include <scicos_block4.h>
#include <scicos_malloc.h>
#include <scico... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/ec2/model/ResponseMetadata.h>
#include <aws/ec2/model/IdFormat.h>
#include <utility>
names... |
//
// TYAlertDefaultAnimation.h
// TYAlertControllerDemo
//
// Created by SunYong on 15/9/1.
// Copyright (c) 2015年 tanyang. All rights reserved.
//
#import "LHBaseAnimation.h"
@interface LHAlertFadeAnimation : LHBaseAnimation
@end |
//
// STPShippingAddressViewController.h
// Stripe
//
// Created by Ben Guo on 8/29/16.
// Copyright © 2016 Stripe, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <PassKit/PassKit.h>
#import "STPTheme.h"
#import "STPPaymentContext.h"
NS_ASSUME_NONNULL_BEGIN
@protocol STPShippingAddressViewControlle... |
#pragma once
template <class Id, class Value>
class IdMap
{
using key_type = Id;
using mapped_type = Value;
using index_type = std::size_t;
using size_type = std::size_t;
static_assert(std::is_nothrow_move_constructible_v<Value>,
"IdMap only supports nothrow move constructible ... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2008 The University of Tennessee and ... |
/* KJL 12:09:35 10/09/98 - BonusAbilities.h */
/* KJL 12:09:43 10/09/98 - Grappling Hook */
extern void InitialiseGrapplingHook(void);
extern void ActivateGrapplingHook(void);
extern void HandleGrapplingHookForces(void);
extern void RenderGrapplingHook(void);
extern void DisengageGrapplingHook(void); |
//
// US2ValidatorTextViewPrivate.h
// US2FormValidator
//
// Copyright (C) 2012 ustwo™
//
// 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 li... |
// Copyright (c) 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 CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_
#define CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_
#include "base/memory/ref_counted.h"
#include "chromeos/c... |
/**
* Copyright (c) 2015 - present LibDriver All rights reserved
*
* The MIT License (MIT)
*
* 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 lim... |
// Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2015-2016 XDN developers
// Copyright (c) 2017 UltraNote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <QFrame>
names... |
January 15, 2018 15:38:58 Library.fmp12 - zoomReport -1-
test: report: zoomReport
#
#basic administration tasks
Set Error Capture [ On ]
Allow User Abort [ Off ]
Set Variable [ $$first ]
Set Variable [ $$last; Value:report::ktestSubsection ]
Set Field [ TEMP::ktestSection; "" ]
#clear the $$finding and $window variable... |
// LB+sc-sc+sc-sc.c
#include <stdatomic.h>
int main() {
_Atomic(int) x = 0, y = 0;
int r1, r2;
{-{ {
r1 = atomic_load_explicit(&x, memory_order_seq_cst);
atomic_store_explicit(&y, 1, memory_order_seq_cst);
} ||| {
r2 = atomic_load_explicit(&y, memory_order_seq_cst);
atomic_store_explicit(&x, 1, ... |
// ---------------------------------------------------------------------
//
// Copyright (c) 2011 - 2020 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... |
#import <Foundation/Foundation.h>
#import "EJAppViewController.h"
#import "EJJavaScriptView.h"
#include <objc/message.h>
// (Not sure if clever hack or really stupid...)
// All classes derived from this EJBindingBase will return a JSClassRef through the
// 'getJSClass' class method. The properties and functions tha... |
/******************************************************************************
* File: TrailblazerCosts.h
*
* Functions for computing the costs of navigating the terrain and maze worlds,
* as well as heuristics for predicting costs.
*
* For extra credit, you may want to modify the heuristics contained in the
* ... |
/****************************************************************************
* arch/arm/src/stm32/stm32_timerisr.c
*
* Copyright (C) 2009, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, a... |
#pragma once
template <class T>
struct _vector3 {
public:
typedef T TYPE;
typedef _vector3<T> Self;
typedef Self& SelfRef;
typedef const Self& SelfCRef;
public:
T x,y,z;
// access operators
ICF T& operator[] (int i) { return *((T*)this + i); }
ICF T& operator[] (int i) const { return *((T*)this +... |
// Copyright (c) 1997
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
//
// $URL: https://github.com/CGAL/cg... |
/*
* This text was generated automatically
* It provides the ISC implementation of
* MPI_Group_intersection
*/
#include <_mpi.h>
int
MPI_Group_intersection (MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
{
static void *address=0;
int mpi_return;
if (!address) {
if ((address = dlsym(MPI_libhan... |
/**
******************************************************************************
* @file stm32wbxx_hal_rtc.h
* @author MCD Application Team
* @brief Header file of RTC HAL module.
******************************************************************************
* @attention
*
* <h2><center>© C... |
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CParseHandlerStatsDerivedRelation.h
//
// @doc:
// SAX parse handler class for parsing derived relation statistics
//-------------------------------------------------... |
//
// MPITextParser.h
// MeituMV
//
// Created by Tpphha on 2018/11/9.
// Copyright © 2018 美图网. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol MPITextParser <NSObject>
@required
/**
Parse text.
@param text The original attributed string. This method may parse the ... |
// RUN: test $? -eq 0
#include "testutil.h"
#include <math.h>
struct _TestParam1 {
double valx;
double valy;
double exp;
} param1[] = {
{
0.0, 1.0,
1E-5,
},
};
struct _TestParam2 {
float valx;
float valy;
float exp;
} param2[] = {
{
0.0, 1.0,
1E-5,
},
};
struct _TestParam3 {
long... |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.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 a... |
#ifndef HALIDE_TRACING_H
#define HALIDE_TRACING_H
/** \file
* Defines the lowering pass that injects print statements when tracing is turned on
*/
#include "IR.h"
#include <map>
namespace Halide {
namespace Internal {
/** Take a statement representing a halide pipeline, inject calls to
* tracing functions at int... |
/*
* Copyright (c) 2017 Fastly, Kazuho Oku
*
* 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, ... |
/* Copyright (c) 2010-2018, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... |
/* This example is taken from the TRACER benchmarks
* https://doi.org/10.1145/3276505
*/
// Adapted for the tool PSChecker
#include <pthread.h>
#define N 20
int x;
void *thread1(void *arg) {
int i;
for (i=0; i<N; i++)
rlx_write_ps(x,1);
return NULL;
}
void *thread2(void *arg) {
int i;
for (i=0; i<N; i+... |
#ifndef _NETCLIENT_H
#define _NETCLIENT_H
#include "netsocket.h"
#include "netplay.h"
#include "netqueue.h"
#define NETCLIENT_MAXPEERS 4
#define NETPLAY_STATUPDATEFRAMES (64)
typedef enum
{
NETPLAY_STAT_SENTPACKETS,
NETPLAY_STAT_RECVPACKETS,
NETPLAY_STAT_SENTBYTES,
NETPLAY_STAT_RECVBYTES,
NETPLAY_STAT_INPUTQUE... |
/*
* (C) Copyright 2003
* Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net
*
* 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 as
* published by the... |
/*
* Copyright (C) 2013-2014 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* ... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:45:49 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/Frameworks/EventKitUI.framework/EventKitUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Lim... |
/* $Source$
* $State$
* $Revision$
*/
/* This is a solo paranoia game taken from the Jan/Feb issue (No 77) of
"SpaceGamer/FantasyGamer" magazine.
Article by Sam Shirley.
Implemented in C on Vax 11/780 under UNIX by Tim Lister
Very slightly modernised to run on 2007-era (!) compilers by
David Given... |
/*
* Copyright (C) 2017-2018 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 conditi... |
/*
* pg_test_fsync.c
* tests all supported fsync() methods
*/
#include "postgres_fe.h"
#include <sys/stat.h>
#include <sys/time.h>
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <signal.h>
#include "getopt_long.h"
#include "access/xlogdefs.h"
#include "fe_utils/logging.h"
/*
* put the temp ... |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef RUNTIME_VM_COMPILER_ASSEMBLER_ASSEMBLER_H_
#define RUNTIME_VM_COMPILER_ASSEMBLER_ASSEMBLER_H_
... |
// Copyright 2016 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#ifndef ZIRCON_KERNEL_OBJECT_INCLUDE_OBJECT_PROCESS_DISPATCHER_H_
#define ZIRCON_KERNEL_OBJECT_INCLUDE_OBJECT_PROCESS_DISPATCHER_H... |
#ifndef GERENCIADORADEOPERACOES_H_INCLUDED
#define GERENCIADORADEOPERACOES_H_INCLUDED
#include "soma.h"
#include "subtracao.h"
#include "multiplicacao.h"
#include "divisao.h"
class GerenciadoraDeOperacoes
{
private:
string somar();
string multiplicar();
string subtrair();
string div... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Line 6 Linux USB driver
*
* Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
*/
#include <linux/slab.h>
#include <linux/export.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "capture.h"... |
// Copyright 2021 The IREE Authors
//
// Licensed 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
#include "iree/base/internal/fpu_state.h"
#include "iree/base/target_platform.h"
#if defined(IR... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// VergeDarkGreen
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_CLIENTMODEL_H
#define BITCOIN_QT_CLIENTMOD... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef VEHICLE_APC_H
#define VEHICLE_APC_H
#ifdef _WIN32
#pragma once
#endif
#include "vehicle_base.h"
#include "smoke_t... |
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <opencv2/opencv.hpp>
#include "V4L2VideoCapture.h"
#include <pthread.h>
#include <QTimer>
#include<semaphore.h>
#include <stdio.h>
#include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/ocl.hpp"
#include "... |
$NetBSD: patch-src_tX__flash.c,v 1.1 2019/10/05 12:09:26 nia Exp $
Use standard stdlib.h instead of non-standard malloc.h.
--- src/tX_flash.c.orig 2016-07-24 14:24:08.000000000 +0000
+++ src/tX_flash.c
@@ -27,7 +27,7 @@
#include "tX_flash.h"
#include "tX_types.h"
#include "tX_global.h"
-#include <malloc.h>
+#inclu... |
// Copyright (c) 2019 The Bitcoin Core developers
// Copyright (c) 2020 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PIVX_SCRIPTPUBKEYMAN_H
#define PIVX_SCRIPTPUBKEYMAN_H
#include "wallet/hdchain.... |
//
// main.m
// proj_bluetooth_practise
//
// Created by huke on 12/29/16.
// Copyright (c) 2016 com.cocoahuke. All rights reserved.
//
#include "common.h"
#include "comm_Terminal.h"
#include "comm_file_transfer.h"
/* Wrapper to get the index and opcode to the response callback */
struct command_data {
uint16... |
/* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... |
#ifndef __LINKED_LIST_H_
#define __LINKED_LIST_H_
struct singly_node{
int data;
struct singly_node *next;
};
struct double_node{
int data;
struct double_node *right;
struct double_node *left;
};
static struct singly_node *add_singly_linked_list(struct singly_node *first,int value);
struct singly_node *add_nodes... |
//===-- ModuleFileExtension.h - Module File Extensions ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//------------------------------------------------------------------------------
// LAGraph_lcc: local clustering coefficient
//------------------------------------------------------------------------------
// LAGraph, (c) 2021 by The LAGraph Contributors, All Rights Reserved.
// SPDX-License-Identifier: BSD-2-Clause
... |
/*
* Copyright (c) 2020 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
*
* Unless... |
/*
* Copyright © 2012-2015 VMware, 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 applic... |
/*
* Copyright (c) 2000 - 2015 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
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.