text stringlengths 9 948k |
|---|
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include "define_macro_functions.h"
#include "structures.h"
#include "define_macros_test.h"
#include "insert_database_functions.h"
#include "read_database_functions.h"
#include "delete_database_functions.h"
#include "thread_functions.h"
#include "variables_... |
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import "KiwiConfiguration.h"
#import "KWBlockNode.h"
#import "KWExampleNode.h"
@interface KWBeforeEachNode : KWBlockNode<KWExampleNode>
#pragma mark -
#pragma mark Initializing
+ (id)beforeEachNodeWithCallSite:(K... |
#ifndef __DRV_LEDS_H__
#define __DRV_LEDS_H__
typedef enum{
LED1,
LED2,
LED3
} LED_TYPE;
void Liga_Led(LED_TYPE led);
void Desliga_Led(LED_TYPE led);
void Alterna_Led();
#endif |
/*
* Copyright (C) 2004, 2005, 2006, 2007 Apple Inc.
*
* 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 License, or (at your option) any later version.
*
... |
#include <stdio.h>
int main()
{
/* Local variables */
double base, emin, prec, emax, rmin, rmax, t, sfmin;
extern double dmach_dist(char *);
double rnd, eps;
eps = dmach_dist("Epsilon");
sfmin = dmach_dist("Safe minimum");
base = dmach_dist("Base");
prec = dmach_dist("Precision");
... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_H_
#define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_H_
#include "base/callback.h"
... |
#ifndef SITE_H
#define SITE_H
#include <QString>
#include <QUrl>
#include <QVariant>
#include "login/login.h"
class Api;
class Auth;
class Image;
class MixedSettings;
class NetworkManager;
class NetworkReply;
class Page;
class PersistentCookieJar;
class QNetworkCookie;
class QNetworkRequest;
class Source;
class Tag;... |
#include <stdio.h>
int main()
{
int n, count;
int arr[n];
scanf("%d", &n);
while(count<n){
scanf("%d",&arr[count]);
if(arr[count]%2!= 0){
count++;
}
}
count--;
int k;
for(k=0;k<n/2;k++){
arr[k]=arr[k]-arr[count];
count--;
}
if(n%2==0){
for(count=0;count<k;count++){
printf("%d\n",arr[count]);
}
}else{
for(count=0;coun... |
#pragma once
#include <SDL2/SDL2_framerate.h>
#include <chrono>
#define NO_FPS_LOCK -1
using namespace std;
using namespace chrono;
namespace Johnny {
/*! \brief A class for measuring time, smoothing the timestep and locking the
* framerate
*
*/
class Timer {
public:
Timer();
~Timer();
/*! \brief Sets the ... |
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>
#include <wayland-server.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_linux_dmabuf_v1.h>
#include <wlr/util/log.h>
#include "linux-dmabuf-unstable-v1-protocol.h"
#include "util/signal.h"
#define LINUX_DMABUF_... |
/*
* Copyright (c) 2008-2009 Travis Geiselbrecht
*
* 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
*/
#pragma once
/* Previously, this file was included to get access to defining a console
* command. This logic has... |
/********************************************************************************
* ReactPhysics3D physics library, http://www.reactphysics3d.com *
* Copyright (c) 2010-2020 Daniel Chappuis *
**************************************************************************... |
/* -------------------------------------------------------------------------
*
* collationcmds.h
* prototypes for collationcmds.c.
*
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/commands/collat... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:18:07 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/TextInp... |
//
// CFClassificationController.h
// CFOnlineShop
//
// Created by chenfeng on 2018/7/18.
// Copyright © 2018年 chenfeng. All rights reserved.
//
#import "CFBaseController.h"
@interface CFClassificationController : CFBaseController
@end |
#include "ogl_texture.h"
#include <memory.h>
#include <malloc.h>
#include "../../../core/logger.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <glad/glad.h>
#define UNIMPLEMENTED_DATA_SIZE 6553
typedef struct {
u32 id;
}internal_memory;
static void ogl_bind(m_texture* self){
glEnable(... |
/*
* Copyright 2010-2014 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 "lice... |
// Copyright (c) 2014 The Presidentielcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PRESIDENTIELCOIN_COMPAT_BYTESWAP_H
#define PRESIDENTIELCOIN_COMPAT_BYTESWAP_H
#if defined(HAVE_CONFIG_H)
#include "co... |
// Copyright (c) 2013, Razvan Petru
// All rights reserved.
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, this
// list of conditions and ... |
/* Copyright (C) 2017 The Regents of the University of California
* See README in this or parent directory for licensing information. */
/* hgLinkIn - Link external IDs to an assembly and a position. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "jksql.h"
#include "htms... |
/*
* Copyright (c) 2016-2019, Pelion and affiliates.
* 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 License at
*
* http://www.apache.org/licenses/LICEN... |
/**
\brief Declaration of the openmote-ezr32wg ADC temperature sensor driver.
\author Nicola Accettura <nicola.accettura@eecs.berkeley.edu>, March 2015.
*/
#ifndef __ADC_SENSOR_H__
#define __ADC_SENSOR_H__
#include "board_info.h"
//=========================== define ==========================================... |
#ifndef GD_VARIANTS_H
#define GD_VARIANTS_H
#include <unordered_map>
#include <map>
#include <queue>
#include "cache.h"
#include "cache_object.h"
typedef std::multimap<long double, CacheObject> ValueMapType;
typedef ValueMapType::iterator ValueMapIteratorType;
typedef std::unordered_map<CacheObject, ValueMapIteratorT... |
// Generated by gencpp from file roscpp_tutorials/LaneParam.msg
// DO NOT EDIT!
#ifndef ROSCPP_TUTORIALS_MESSAGE_LANEPARAM_H
#define ROSCPP_TUTORIALS_MESSAGE_LANEPARAM_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
... |
// Copyright (c) 2018-2020, Zhirnov Andrey. For more information see 'LICENSE'
#pragma once
#include "networking/NetworkManager.h"
using namespace AE::Threading;
using namespace AE::Networking;
#define TEST CHECK_FATAL
struct LocalNetwork
{
LocalNetwork (const NetworkManager::Settings &settings = Default)
{
... |
/*****************************************************************************
TransOpSLog.h
Author: Laurent de Soras, 2015
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the t... |
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <sys/param.h>
#include "esp_attr.h"
#include "esp_log.h"
#include "esp_private/mmu_psram.h"
#include "esp32s2/rom/cache.h"
#include "esp32s2/rom/ets_sys.h"
#include "soc/cache_memory.h"
#in... |
/*!
* \file
* \brief Trigonometric and hyperbolic functions - header file
* \author Tony Ottosson and Adam Piatyszek
*
* -------------------------------------------------------------------------
*
* Copyright (C) 1995-2010 (see AUTHORS file for a list of contributors)
*
* This file is part of IT++ - a C++ lib... |
/***
* Copyright (C) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
*
* File:com_ptr_singleton.h
****/
#pragma once
#include <foundation/com_ptr.h>
#include <foundation/ctl/com_library.h>
#include <pal/library/pal_once_util.h>
... |
/*
* Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
* From ASN.1 module "DSRC"
* found in "../J2735_R41_Source_mod.ASN"
* `asn1c -gen-PER -fcompound-names -fincludes-quoted`
*/
#include "GPSstatus.h"
int
GPSstatus_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctf... |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "EdGraph/EdGraph.h"
#include "AIGraph.generated.h"
class UEdGraphPin;
UCLASS()
class AIGRAPH_API UAIGraph : public UEdGraph
{
GENERATED_UCLASS_BODY()
UPROPERTY()
int32 Gr... |
/* ---------------------------------------------------------------------------------------
*
* distribute_test.h
* Routines for distributed test framework.
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* ... |
#ifndef _SPB_COMPARING_ALGORITHM_H_
#define _SPB_COMPARING_ALGORITHM_H_
#include <U2Algorithm/PairwiseAligner.h>
#include <U2Algorithm/SArrayIndex.h>
#include <U2Core/DNASequenceObject.h>
#include <U2Core/MAlignment.h>
#include <U2Core/U2OpStatus.h>
#include <U2Lang/DbiDataHandler.h>
#include <U2Lang/DbiDataStorage.... |
#pragma once
#pragma warning(disable: 4819)
#pragma warning(disable: 4996)
#include "d3dx9.h"
//#include "KGPublic.h"
//#include "Engine\KGLog.h"
#include "Max.h"
#include "resource.h"
#include "istdplug.h"
#include "stdmat.h"
#include "decomp.h"
#include "shape.h"
#include "interpik.h"
#include "./cs/phyexp.h"
#inc... |
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
* Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
*
* Redistribution and use in source and binary forms, with o... |
/*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Derived from "arch/i386/kernel/signal.c"
* Copyright (C) 1991, 1992 Linus Torvalds
* 1997-11-28 Modified for POSIX.1b signals by Richard Henderson
*
* This program is free software; you can redistribute it and/or
* ... |
#include <stdio.h>
int main(){
char ch;
for(ch = getchar();ch != '\n'; ch=getchar() ){
printf("%c",ch);
}
return 0;
} |
//
// FLEXArgumentInputViewFactory.h
// FLEXInjected
//
// Created by Ryan Olson on 6/15/14.
//
//
#import <Foundation/Foundation.h>
#import "FLEXArgumentInputSwitchView.h"
@interface FLEXArgumentInputViewFactory : NSObject
/// Forwards to argumentInputViewForTypeEncoding:currentValue: with a nil currentValue.
+ ... |
/*
* File name: zgsequ.c
* History: Modified from LAPACK routine ZGEEQU
*/
#include <math.h>
#include "superlu_zdefs.h"
void
zgsequ_dist(SuperMatrix *A, double *r, double *c, double *rowcnd,
double *colcnd, double *amax, int_t *info)
{
/*
Purpose
=======
ZGSEQU_DIST computes row and ... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef _BITCOINRPC_H_
#define _BITCOINR... |
/*
* Copyright (c) Facebook, Inc. and 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
*
* Unless required by applic... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PERMISSIONS_PERMISSION_MANAGER_FACTORY_H_
#define CHROME_BROWSER_PERMISSIONS_PERMISSION_MANAGER_FACTORY_H_
#include "base/macros.h... |
#line 1 "upb/json/parser.rl"
/*
** upb::json::Parser (upb_json_parser)
**
** A parser that uses the Ragel State Machine Compiler to generate
** the finite automata.
**
** Ragel only natively handles regular languages, but we can manually
** program it a bit to handle context-free languages like JSON, by using
** the "f... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Data
{... |
/**************************************************************************
*
* Copyright (c) 2006-2009 Vmware, Inc., Palo Alto, CA., USA
* 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"... |
/*
* CC3IdentifiablePODExtensions.h
*
* cocos3d 0.6.5
* Author: Bill Hollings
* Copyright (c) 2010-2011 The Brenwill Workshop Ltd. All rights reserved.
* http://www.brenwill.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation file... |
/*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation. All rights reserved.
* Copyright (c) 2019 Mellanox Technologies LTD. All rights reserved.
* Copyright (c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modific... |
/* Copyright (C) 2010-2015 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this libretro SDK code part (glsym).
* ---------------------------------------------------------------------------------------
... |
/*************************************************************************/
/* error_macros.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... |
#include <tbb/tbb_stddef.h> // for split tags
struct TrivialNaturalRange {
// restore the default constructor
TrivialNaturalRange() {}
size_t lower;
size_t upper;
bool empty() const { return lower == upper; }
bool is_divisible() const { return upper > lower + 1; }
// basic splitting const... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
/*
* Copyright (c) 2008, Google Inc.
* All rights reserved.
*
* Copyright (c) 2009-2013, The Linux Foundation. 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 sour... |
// 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 may... |
#ifndef _PACKTEST_H
#define _PACKTEST_H
#include "megatest.h"
#include "packtest.decl.h"
class packtest_Msg : public CMessage_packtest_Msg
{
public:
int value;
int hop;
int *list1;
int listsize;
static void *pack(packtest_Msg *);
static packtest_Msg *unpack(void *);
packtest_Msg(void) {... |
/* Copyright (c) 2001 Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2015, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file networkstatus.c
* \brief Functions and structures for handling ... |
/usr/include/python2.7/pymem.h |
//
// ProgressManager.h
// QuickCure1
//
// Created by maoge on 16/10/30.
// Copyright © 2016年 maoge. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <SVProgressHUD.h>
@interface ProgressManager : NSObject
//转菊花
+ (void)alertLoading;
//消息
+ (void)dismissLoading;
//弹出成功消息
+ (void)alertSuccessS... |
//
// 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 "NSObject-Protocol.h"
@protocol WCPayGPPayNotifyConfirmViewDelegate <NSObject>
- (void)onPayNotifyConfirmViewConfirm;
- (void)... |
/*
* Copyright (c) 2002-2013 Balabit
* Copyright (c) 1998-2013 Balázs Scheidler
*
* 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 o... |
/*
* Copyright (c) 2017 Nordic Semiconductor ASA
* Copyright (c) 2015 Runtime Inc
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "crc8.h"
static u8_t crc8_ccitt_small_table[16] = {
0x00, 0x07, 0x0e, 0x09, 0x1c, 0x1b, 0x12, 0x15,
0x38, 0x3f, 0x36, 0x31, 0x24, 0x23, 0x2a, 0x2d
};
u8_t crc8_ccitt(u8_t val, ... |
// Windows/Control/ImageList.h
#ifndef __WINDOWS_CONTROL_IMAGE_LIST_H
#define __WINDOWS_CONTROL_IMAGE_LIST_H
#include <commctrl.h>
#include "../Defs.h"
namespace NWindows {
namespace NControl {
class CImageList
{
HIMAGELIST m_Object;
public:
operator HIMAGELIST() const {return m_Object; }
CImageList(): m_Obj... |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_fir_sparse_init_q7.c
* Description: Q7 sparse FIR filter initialization function
*
* $Date: 18. March 2019
* $Revision: V1.6.0
*
* Target Processor: Cortex-M cores
* ------... |
/* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
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 publ... |
#ifndef PACKETPP_PACKET
#define PACKETPP_PACKET
#include "RawPacket.h"
#include "Layer.h"
#include <vector>
/// @file
/**
* \namespace pcpp
* \brief The main namespace for the PcapPlusPlus lib
*/
namespace pcpp
{
/**
* @class Packet
* This class represents a parsed packet. It contains the raw data (RawPacke... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
/* Definition of the call-in and call-out interfaces
*/
#pragma once
#include "consensus/consensus_types.h"
#include "consensus_type.h"
#include "crypto/curve.h"
#include "crypto/san.h"
#include "ds/buffer.h"
#inclu... |
#import "TradeItResult.h"
#import "TradeItOrderStatusDetails.h"
@interface TradeItAllOrderStatusResult : TradeItResult
@property (nonatomic, copy, nullable) NSArray<TradeItOrderStatusDetails*> <Optional, TradeItOrderStatusDetails> * orderStatusDetailsList;
@end |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:00 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/AXMediaUtilities.framework/AXMediaUtilities
* classdump-dyld is licensed under GPLv3, Copyright © 20... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* dbus-transport.c DBusTransport object (internal to D-Bus implementation)
*
* Copyright (C) 2002, 2003 Red Hat Inc.
*
* Licensed under the Academic Free License version 2.1
*
* This program is free software; you can redistribute it and/or modif... |
/**
* \file
*
* \brief SAM GCLK
*
* Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip products.
* It is your respon... |
/*
* XAudio2 stream sound source header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_XA2_STREAM_SOUND_SOURCE_H__
#define __FORK_XA2_STREAM_SOUND_SOURCE_H__
#include "Audio/SoundSystem/StreamSoundSource.h"
#includ... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <React/RCTBridge.h>
@class RCTModuleData;
@protocol RCTJavaScriptExecutor;
RCT_EXTERN NSArray<Class> *RCTGetModuleClasse... |
#ifndef __MControlSubView
#define __MControlSubView
#include <gui/MWndCollection.h>
#include "../control/MFloatGui.h"
#include "../control/MBoolGui.h"
#include "../../model/control/IControlCollection.h"
class MControlSubView :
public MWndCollection
{
protected:
IControlCollection* ivPtControlCollection;
std::vect... |
// Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#ifndef _MQUAT_H_
#define _MQUAT_H_
#ifndef _MPOINT3_H_
#include "math/mPoint3.h"
#endif
class MatrixF;
class AngAxisF;
//---------------------------------------------------------------------------... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_API_PAGE_CAPTURE_PAGE_CAPTURE_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_PAGE_CAPTURE_PAGE_CAPTURE_API_H_
#includ... |
#ifndef VERTEXFORMAT_H
#define VERTEXFORMAT_H
#define MAX_VERTEX_ATTRIBUTES 8
struct VertexAttribute
{
bool enabled = false;
int offset = 0;
int ncomp = 0;
};
class VertexFormat
{
public:
void SetVertexAttribute(int location, int offset, int ncomp)
{
attributes[location].enabled = true;
... |
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
/*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: rusty.lynch REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
Test case for assertion #22 of the ... |
/*
* jcsample.c
*
* Copyright (C) 1991-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains downsampling routines.
*
* Downsampling input data is counted in "row groups". A row gro... |
/*
* Copyright 2018-2019 NXP.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/***********************************************************************************************************************
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
... |
/*
* save (III) J. Gillogly
* save user core image for restarting
*/
#include "hdr.h"
#include <unistd.h>
#include <fcntl.h>
void
save(savfile, offset) /* save game state to file */
char *savfile;
unsigned offset;
{
int fd, i;
struct travlist *entry;
if (offset == 0)
... |
#pragma once
#include "pch.h"
#include "Vector3.h"
#include "Color.h"
class Texture
{
public:
Texture();
explicit Texture(const char *filename);
~Texture();
void LoadColorTexture(const char *filename);
void CreateEmptyTexture(int w, int h);
void ClearTextureColor();
void ClearTextureDepth();
int GetWidth()... |
/* This file was generated by upbc (the upb compiler) from the input
* file:
*
* envoy/type/tracing/v3/custom_tag.proto
*
* Do not edit -- your changes will be discarded when the file is
* regenerated. */
#ifndef ENVOY_TYPE_TRACING_V3_CUSTOM_TAG_PROTO_UPB_H_
#define ENVOY_TYPE_TRACING_V3_CUSTOM_TAG_PROTO_UPB... |
/* SDSLib 2.0 -- A C dynamic strings library
*
* Copyright (c) 2006-2015, Salvatore Sanfilippo <antirez at gmail dot com>
* Copyright (c) 2015, Oran Agra
* Copyright (c) 2015, Redis Labs, Inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
subpaving_t_def.h
Abstract:
Subpaving template for non-linear arithmetic.
Author:
Leonardo de Moura (leonardo) 2012-07-31.
Revision History:
--*/
#include "math/subpaving/subpaving_t.h"
#include "math/interval/interval_def.h"
#include "util/... |
#ifndef RA_TEXTURE_H
#define RA_TEXTURE_H
#include "buffer.h"
#include "ra_fwd.h"
namespace ra {
enum class RaTextureWrappingMode
{
repeat = RT_WRAP_REPEAT,
clamp_to_edge = RT_WRAP_CLAMP_TO_EDGE,
mirror = RT_WRAP_MIRROR,
clamp_to_border = RT_WRAP_CLAMP_TO_BORDER
};
enum class RaTextureFilteringMode
... |
/**
* \file
*
* \brief Autogenerated API include file for the Atmel Software Framework (ASF)
*
* Copyright (c) 2012 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 t... |
#ifndef SHAPE_OF_SIGNAL_H
#define SHAPE_OF_SIGNAL_H
int SHAPE_OF_SIGNAL(std::string selected_channel = "1");
#endif |
/*****************************************************************************
* CVS File Information :
* $RCSfile$
* Author: patmiller $
* Date: 2007/06/11 14:12:53 $
* Revision: 1.2 $
****************************************************************************/
/*************************************... |
// Copyright (c) 2018, 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_BACKEND_COMPILE_TYPE_H_
#define RUNTIME_VM_COMPILER_BACKEND_COMPILE_TYPE_H_... |
/****************************************************************************
Copyright (c) 2014-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... |
/* Copyright (c) 2020 PaddlePaddle 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... |
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* $Id$
*
* Copyright (C) 1997 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*/
#include "adio.h"
#ifdef ROMIO_NTFS
int ADIOI_Set_lock(FDTYPE fd, int cmd, int type, ADIO_Offset offset, int whence,
ADIO_Offset len)
{
int re... |
//
// simplesim.h
// qtip
//
// Created by Ben Langmead on 9/12/15.
// Copyright (c) 2015 JHU. All rights reserved.
//
#ifndef __qtip__simplesim__
#define __qtip__simplesim__
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <fstream>
#include "fasta.h"
#include "input_model.h"
#include "ranlib.h... |
#pragma once
// STD
#include <memory>
// ROS
#include <rclcpp/rclcpp.hpp>
#include <std_msgs/msg/header.h>
#include <std_msgs/msg/string.hpp>
#include <std_msgs/msg/bool.hpp>
#include <geometry_msgs/msg/pose_stamped.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <sensor_msgs/msg/camera_info.hpp>
#include <sensor_... |
//
// 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 "JPExtension.h"
@interface JPMMFoundation : JPExtension
{
}
+ (void)main:(id)arg1;
@end |
#include "opendefs.h"
#include "icmpv6echo.h"
#include "icmpv6.h"
#include "openserial.h"
#include "openqueue.h"
#include "packetfunctions.h"
#include "debugpins.h"
//=========================== variables =======================================
icmpv6echo_vars_t icmpv6echo_vars;
//=========================== prototy... |
/*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include <memory>
#include <functional>
#include <vector>
#include "util/buffer.h"
#include "util/thread.h"
#include "util/interrupt.h"
#includ... |
//
// YHSearchNavigationBarView.h
// YHSearch_Example
//
// Created by Yihua Liu on 2020/11/18.
// Copyright © 2020 liuyihua2015@sina.com. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class YHSearchNavigationBarView;
@protocol PPSearchNavigaitonBarViewDelegate <NSObject>
/**
点击取消按钮
... |
#ifndef DELETEWORKER_H
#define DELETEWORKER_H
#include<QObject>
#include<QThread>
#include<QString>
#include<QFileInfo>
#include<QDir>
#include<QFile>
#include<iostream>
class DeleteWorker : public QObject
{
Q_OBJECT
public:
DeleteWorker() = default;
~DeleteWorker() = default;
void init(QFileInfo&);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.