text stringlengths 9 948k |
|---|
#pragma once
#include <cstdint>
#include <string>
namespace kscore {
struct Args {
public:
Args( int argc, char *argv[] );
Args( bool isHelp, std::string input, std::string output, int x,
int y );
bool isValid() const;
std::string error() const;
std::st... |
/*-
* Copyright (c) 2005-2006 Robert N. M. Watson
* 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 li... |
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <linux/c64x.h>
#include <direct/clock.h>
#include <direct/messages.h>
#include <direct/system.h>
#include <direct/util.h>
#define C64X_DEVICE "/dev/c64x"
#define C64X_DEVICE0 "/dev/c64x0"
#define C64X_QLEN direct_page_align( ... |
/**
* @file dead.h
*
* Interface of functions for placing dead monsters.
*/
#pragma once
#include <SDL.h>
namespace devilution {
#define MAXDEAD 31
struct DeadStruct {
Uint8 *_deadData[8];
int _deadFrame;
int _deadWidth;
int _deadWidth2;
Uint8 _deadtrans;
};
extern DeadStruct dead[MAXDEAD];
extern int sto... |
// Copyright 2019 Joe Drago. All rights reserved.
// SPDX-License-Identifier: BSD-2-Clause
#ifndef AVIF_AVIF_H
#define AVIF_AVIF_H
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
// ---------------------------------------------------------------------------
// Export macros
// AVIF_B... |
/*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributi... |
#import <UIKit/UIKit.h>
@interface WTTabBarController : UITabBarController
@end |
/**
* This header is generated by class-dump-z 0.2-0.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "UICollectionViewDataSource.h"
#import "PageCellWithTableViewDidSelectAudioDelegate.h"
#import <XXUnknownSuperclass.h> // Unknown library
#import "VKClient-St... |
// Copyright (c) 2019 The MK2X developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ADDNEWADDRESSDIALOG_H
#define ADDNEWADDRESSDIALOG_H
#include <QWidget>
namespace Ui {
class AddNewAddressDialog;
}
class AddNew... |
// Copyright (c) 2014 The Bitcoin developers
// Copyright (c) 2017-2019 The Bontecoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHAINPARAMSBASE_H
#define BITCOIN_CHAINPARAMSBASE_H
#include <stri... |
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
int array[] = {1, 1, 1, 2, 2, 2};
#define NR_TOTAL 6
#define NR_CPU 2
#define NR_CHILD (NR_TOTAL/NR_CPU)
struct param {
int *array;
int start;
int end;
};
struct result {
int sum;
};
void *compute(void *arg)
{
struct param *param;
struct result *res... |
//
// TimeDay+CoreDataProperties.h
//
//
// Created by TourWay_iOS on 13/04/2017.
//
// This file was automatically generated and should not be edited.
//
#import "TimeDay+CoreDataClass.h"
NS_ASSUME_NONNULL_BEGIN
@interface TimeDay (CoreDataProperties)
+ (NSFetchRequest<TimeDay *> *)fetchRequest;
@property (... |
// Copyright 2019 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_CHROMEOS_LOGIN_SAML_PASSWORD_EXPIRY_NOTIFICATION_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_SAML_PASSWORD_EXPIRY_NOTIFICATION_H_
#in... |
#pragma once
#include <stack>
#include "graph/graph.h"
namespace agl {
template<typename GraphT = G>
std::vector<V> strongly_connected_components(const GraphT& g) {
const V num_v = g.num_vertices();
std::vector<V> scc(num_v);
V num_visit = 0, num_scc = 0;
std::vector<V> ord(num_v, -1);
std::vector<V> low(n... |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_signal_converge_data.c
*
* Description: Test input data for Float... |
/*
* Copyright (c) 2011, The Iconfactory. 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... |
//
// ViewController.h
// drawing
//
// Created by 史玉金 on 16/5/29.
// Copyright © 2016年 史玉金. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
/*
* Phusion Passenger - https://www.phusionpassenger.com/
* Copyright (c) 2014 Phusion Holding B.V.
*
* "Passenger", "Phusion Passenger" and "Union Station" are registered
* trademarks of Phusion Holding B.V.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
#ifndef __ITEMSET_H
#define __ITEMSET_H
#include "common.h"
#include "Array.h"
#include "Lists.h"
#include "SpadeArguments.h"
#include "Partition.h"
#define SETBIT(a, v, b) (((v) != 0) ? ((a) | (01 << (b))): ((a) & ~(01 << (b))))
#define GETBIT(a, b) ((a) & (01 << (b)))
class Itemset;
typedef shared_ptr<Itemset> It... |
//=============================================================================================================
/**
* @file layoutloader.h
* @author Lorenz Esch <lesch@mgh.harvard.edu>;
* Christoph Dinh <chdinh@nmr.mgh.harvard.edu>
* @version dev
* @date September, 2014
*
* @section LICENSE... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:06 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices
* classdump-dyld is licensed under GPLv3, Copyri... |
/*
* Copyright (c) 2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
#include <stdint.h>
uint8_t tfm_sp_ipc_client_test_stack[0x0300] __attribute__((aligned(8))); |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CoreDuet.framework/CoreDuet
*/
@interface _CDInteractionRecord : NSManagedObject
@property (nonatomic, retain) NSString *account;
@property (nonatomic, retain) NSString *bundleId;
@property (nonatomic, retain) NSString *contentURL;
@property ... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memdel.c :+: :+: :+: ... |
/*
* linux/drivers/video/pxafb.c
*
* Copyright (C) 1999 Eric A. Thomas.
* Copyright (C) 2004 Jean-Frederic Clere.
* Copyright (C) 2004 Ian Campbell.
* Copyright (C) 2004 Jeff Lackey.
* Based on sa1100fb.c Copyright (C) 1999 Eric A. Thomas
* which in turn is
* Based on acornfb.c Copyright (C) Russell ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <butter/map.h>
#include <folly/Conv.h>
#include <folly/dynamic.h>
#include <glog/logging.h>
#include <reac... |
#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 SUISideMenuVersionNumber;
FOUNDATION_EXPORT const unsigned char SUISideMenuVersionString[]; |
/**
* @file PolygonModel_Lua.h
* PolygonModel Luaラッパー
*/
#ifndef _POLYGONMODEL_LUA_H_
#define _POLYGONMODEL_LUA_H_
#include "../RenderObject/RenderObject.h"
#include "../RenderObject/PolygonModel.h"
#include "LuaUtil.h"
#include "BufferMeshData_Lua.h"
#include "RenderObject_Lua.h"
/**
* PolygonModel Luaラッパー
*/
c... |
// stb_truetype.h - v1.24 - public domain
// authored from 2009-2020 by Sean Barrett / RAD Game Tools
//
// =======================================================================
//
// NO SECURITY GUARANTEE -- DO NOT USE THIS ON UNTRUSTED FONT FILES
//
// This library does no range checking of the offsets found in ... |
#include <Arduino.h> // To add IntelliSense for platform constants.
#include <Wire.h> // To read the gesture sensor via I2C.
#include "SparkFun_APDS9960_ESP8266.h" // Third-party library with gesture sensor utilities.
#ifndef proximity_sensor_h
#define proximity_sensor_h
clas... |
/*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... |
/*
* info.h
*
* Created on: 2021. 5. 1.
* Author: baram
*/
#ifndef SRC_AP_THREAD_INFO_H_
#define SRC_AP_THREAD_INFO_H_
#include "ap_def.h"
bool infoThreadInit(thread_t *p_thread);
#endif /* SRC_AP_THREAD_INFO_H_ */ |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
__attribute__((visibility("hidden")))
@interface WebFeedSyncController : NSObject
{
}
+ (id)sharedController;
- (void)_syncStatusMayHaveChanged:(id)arg1;... |
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (c) 2018 Synopsys, Inc. and/or its affiliates.
* stmmac XGMAC support.
*/
#include <linux/iopoll.h>
#include "stmmac.h"
#include "dwxgmac2.h"
static int dwxgmac2_dma_reset(void __iomem *ioaddr)
{
u32 value = readl(ioaddr + XGMAC_DMA_MODE);
/* DMA SW re... |
/******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... |
/**
******************************************************************************
* @file system_stm32f1xx.c
* @author MCD Application Team
* @version V4.2.0
* @date 31-March-2017
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
*
* 1. This file provides two functio... |
/*
* Copyright (c) 2021, Sensirion AG
* 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 conditio... |
//
// Functions.h
// This file contains all the function-definitions we'll be using inside
// of the LVP Core; defined for use with our Invoke class.
// **Added all functions from invoke.pwn - CodeMatrix
#pragma once
// STRUCT: PAWN_FUNCTION
// In here we define the function's name and parameters.
struct PAWN_FUNCTIO... |
//
// Created by RaviLian on 2020/4/4.
//
#ifndef LINKEDLISTBYCPP_LINKEDLISTIMPL_H
#define LINKEDLISTBYCPP_LINKEDLISTIMPL_H
/***
*Linked list with head node
*/
typedef struct LNode{
int data;
struct LNode *next;
}LNode;
/***
* Tail insertion method to build linked list C
* @param C Reference of linked lis... |
#ifndef RecoLocalTracker_SiPixelRecHits_plugins_gpuPixelRecHits_h
#define RecoLocalTracker_SiPixelRecHits_plugins_gpuPixelRecHits_h
#include <cstdint>
#include <cstdio>
#include <limits>
#include "CUDADataFormats/BeamSpotCUDA.h"
#include "CUDADataFormats/TrackingRecHit2DCUDA.h"
#include "CUDACore/cuda_assert.h"
#incl... |
#pragma once
namespace rh::engine {
enum class ImageBufferType : unsigned char {
Unknown,
BackBuffer,
TextureBuffer,
DepthBuffer,
RenderTargetBuffer,
DynamicTextureArrayBuffer
};
} |
inherit ROOM;
void create()
{
set("short", "偏厅");
set("long", @LONG
偏厅布置的颇为优雅,丝毫没有正厅上的严肃气氛。一张
红木大桌边上有个书柜,柜里摆了各式各样的书。墙上挂着几
幅字画。看来客人少时,这里又可以当书房用。
LONG);
set("no_clean_up", 0);
set("exits", ([
"west" : __DIR__"hh_zoulang3",
]));
setup();
replace_program(ROOM);
} |
/*
** File: nrutil.h
** Purpose: Memory allocation routines borrowed from the
** book "Numerical Recipes" by Press, Flannery, Teukolsky,
** and Vetterling.
** state sequence and probablity of observing a sequence
** given the model.
... |
/* origin: OpenBSD /usr/src/lib/libm/src/ld80/e_powl.c */
/*
* Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice a... |
/*
* DS3RuntimeScripting
* Contributers: Amir
*/
#pragma once
#include "ds3runtime/ds3runtime.h"
#include <ds3runtime/hooks/play_animation_hook.h>
#include <ds3runtime/boss/boss.h>
namespace ds3runtime::stdcombo {
struct ComboSource
{
ComboSource(int32_t animationPlayId, int32_t animationId)
{
this->animationPla... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:50:23 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/Frameworks/MetalKit.framework/MetalKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.... |
/* -----------------------------------------------------------------*-C-*-
libffi 3.99999 - Copyright (c) 2011, 2014 Anthony Green
- Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associate... |
#pragma once
#include "XeEngineLV1.h"
namespace XeEngine
{
enum XeTexturePixelFormat
{
//! \brief Automatic texture type
XeTexturePixelFormat_Automatic = 0,
//! \brief 32-bit texture: RGBA8888
XeTexturePixelFormat_RGBA8888 = 1,
//! \brief 24-bit texture without Alpha channel
XeTexturePixelFormat_RGB888 ... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "UIViewController.h"
#import "SFSafariViewControllerDelegate.h"
#import "UIAlertViewDelegate.h"
@class NSString, NSURL, UIAlertView, UIButton;
@interface GADDebugOptionsV... |
/*
* Copyright 2008-2009 NVIDIA 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... |
/**
* @file mingw.mutex.h
* @brief std::mutex et al 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 distr... |
/*
Copyright (c) 2013, Project OSRM, Dennis Luxen, others
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 ... |
#pragma once
#include <process.h>
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <math.h>
#include <fstream>
#include <sstream>
#include <array>
#include "array_utils.h"
#pragma comment(lib, "winmm.lib")
// NI-DAQmx headers are usually located in the follo... |
/***************************************************************************//**
* \file cyPm.c
* \version 5.70
*
* \brief Provides an API for the power management.
*
* \note Documentation of the API's in this file is located in the System
* Reference Guide provided with PSoC Creator.
*
********************************... |
#ifndef HTTP_REQUEST_H_
#define HTTP_REQUEST_H_
#include "MySocket.h"
#include <map>
#include <string>
class HTTPResponse {
public:
HTTPResponse(MySocket *sock);
std::string readResponse();
int status() { return m_status_code; }
std::string body() { return m_body; }
protected:
MySocket *m_sock;
... |
// This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... |
//
// TBUUID.h
// Turbo
//
// Created by Apple on 2018/4/25.
// Copyright © 2018年 Apple. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TBUUID : NSObject
// 创建UUID
+(NSString *)createUUID;
@end |
#include "tipos.h"
TElemento* buscarNaLista(TLista *p,int valorBusca) {
TElemento *aux;
aux = p->inicio;
while (aux != NULL && aux->info != valorBusca) {
aux = aux->proximo;
}
return aux;
}
void consultar(TLista *p) {
if(p->inicio != NULL) {
int valorBusca;
printf... |
#ifndef _LEGA_EFUSE_H_
#define _LEGA_EFUSE_H_
#define EFUSE_READ_OP_WAIT_CYCLE 5
#define EFUSE_WRITE_OP_WAIT_CYCLE (SYSTEM_CLOCK/100000*2) //10us
#define EFUSE_DIV_OP_WAIT_CYCLE 31
#define EFUSE_LDO25_OPEN 1
#define EFUSE_LDO25_CLOSE 0
void lega_efuse_init(uint8_t ldo25_open);
uint8_t lega_efu... |
/*
** Copyright 2005-2017 Solarflare Communications Inc.
** 7505 Irvine Center Drive, Irvine, CA 92618, USA
** Copyright 2002-2005 Level 5 Networks Inc.
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of version 2 of the GNU General Public License ... |
//
// ReadTextViewController.h
// navDemo
//
// Created by ssarber on 10/27/12.
//
//
#import "TextViewController.h"
@interface ReadTextViewController : UIViewController <UITextViewDelegate, UIAlertViewDelegate>
{
UITextView *textView;
}
@property (nonatomic, retain) UITextView *textView;
- (NSString *)textArchiv... |
#pragma once
#include <interfaces/json/JsonData_DeviceInfo.h>
#include <list>
#include <proc/readproc.h>
#include "Utils.h"
#include "WebPADataTypes.h"
namespace WPEFramework {
template<class T>
struct FuncPtr {
typedef FaultCode (T::*GetFunc)(Data&, bool&) const;
typedef FaultCode (T::*SetFunc)(const Data&... |
/*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(DATA... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may ... |
#include <assert.h>
void test(int *arr)
{
// works because the arrays we generate have at least one element
arr[0] = 5;
// doesn't work because our arrays have at most ten elements
arr[10] = 10;
} |
/* ---------------------------------------------------------------
Phase Vocoder by Portnoff's algorithm
Originally on 12/2/1994
Modified 2012
Copyright (c) 2012 Naotoshi Osaka
--------------------------------------------------------------- */
#include <stdio.h>
#include <stdlib.h>
#include <math.... |
/* permutation/gsl_permutation.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Brian Gough
*
* 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 of the License,... |
#pragma once
#include <memory>
#include <string>
#include <vector>
#include "common/hash_util.h"
#include "common/managed_pointer.h"
#include "optimizer/abstract_optimizer_node_contents.h"
#include "optimizer/optimizer_defs.h"
namespace terrier::transaction {
class TransactionContext;
} // namespace terrier::transa... |
/*
Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License. You may
obtain a copy of the License at
https://imagemagick.org/script/license.php
Unless required ... |
/* MIT License
*
* Copyright (c) 2016-2020 INRIA, CMU and Microsoft Corporation
*
* 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 r... |
struct buf;
struct context;
struct file;
struct inode;
struct pipe;
struct proc;
struct rtcdate;
struct spinlock;
struct sleeplock;
struct stat;
struct superblock;
struct proc_stat;
// bio.c
void binit(void);
struct buf* bread(uint, uint);
void brelse(struct buf*);
void bwrite(stru... |
// Command line string preprocessor
// ================================
// Author: Celestial Phineas @ ZJU
// (Yehang YIN)
// Main targets of preprocessing
// Remove all comments
// Regularize the blank space
// Handle the line-continuation character
// separate commands
#ifndef CELPHI_PREPROCESSOR_H
#define CE... |
//
// WebViewController.h
// tets
//
// Created by lijunjie on 2016/12/14.
// Copyright © 2016年 dev. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WebViewController : UIViewController
@property(nonatomic,strong)NSString *url;
@property (nonatomic, copy) NSString *docid; //唯一标识
@property (nonatomic,... |
/*
* 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 OAI Public Lic... |
/*
* Intel I/OAT DMA Linux driver
* Copyright(c) 2004 - 2015 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distribut... |
// This file is made available under Elastic License 2.0.
// This file is based on code available under the Apache license here:
// https://github.com/apache/incubator-doris/blob/master/be/src/runtime/row_batch.h
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.... |
// Copyright 2012 the V8 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.
// This file defines all of the flags. It is separated into different section,
// for Debug, Release, Logging and Profiling, etc. To add a new flag, f... |
/*
* Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... |
//------------------------------------------------------------------------------
// GB_unaryop: hard-coded functions for each built-in unary operator
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http... |
//=========================================================================
// Copyright (C) 2018 The C++ Component Model(CCM) 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 Lic... |
// Copyright (c) 2003,2004,2005,2006 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Basic_predicates_C2.h $
// $Id: Basic_predicates_C2.h 0779373 2... |
#ifndef COMPUTETHREAD_H
#define COMPUTETHREAD_H
#include <QObject>
#include <QThread>
#include <vector>
using std::vector;
class ComputeThread : public QThread
{
Q_OBJECT
public:
ComputeThread(vector<double> w, int input1, int input2, int output1, int output2, int output3, int size);
protected:
int in1... |
#import "ActionStage.h"
#import <AssetsLibrary/AssetsLibrary.h>
#ifdef __cplusplus
extern "C" {
#endif
void dispatchOnAssetsProcessingQueue(dispatch_block_t block);
void sharedAssetsLibraryRetain();
void sharedAssetsLibraryRelease();
#ifdef __cplusplus
}
#endif
@protocol TGImagePickerControllerDelegate;
@inte... |
/**
* @file
*
* @brief Internals of mount functionality.
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#ifdef HAVE_KDBCONFIG_H
#include "kdbconfig.h"
#endif
#if DEBUG && defined(HAVE_STDIO_H)
#include <stdio.h>
#endif
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
#ifdef HAVE_S... |
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __HAL2_H
#define __HAL2_H
/*
* Driver for HAL2 sound processors
* Copyright (c) 1999 Ulf Carlsson <ulfc@bun.falkenberg.se>
* Copyright (c) 2001, 2002, 2003 Ladislav Michl <ladis@linux-mips.org>
*/
#include <linux/types.h>
/* Indirect status register */
#def... |
//
// LCAudioTool.h
// QQMusic
//
// Created by Liu-Mac on 5/1/17.
// Copyright © 2017 Liu-Mac. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface LCAudioTool : NSObject
+ (void)playSound:(NSString *)fileName;
+ (AVAudioPlayer *)playMusic:(NSString *)fileN... |
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it>
* 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 cop... |
/* -*- coding: utf-8 -*-
* ----------------------------------------------------------------------
* Copyright © 2010, RedJack, LLC.
* All rights reserved.
*
* Please see the LICENSE.txt file in this distribution for license
* details.
* ----------------------------------------------------------------------
*/
... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... |
/**
* (C) Copyright 2019-2020 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 l... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/lixh/ue_folder/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/lixh/ue_folder/cmake_targets/lte_b... |
#define NPY_NO_DEPRECATED_API NPY_API_VERSION
#include "Python.h"
#include "structmember.h"
#include "numpy/arrayobject.h"
#include "numpy/npy_3kcompat.h"
#include "npy_config.h"
#include "numpy/ufuncobject.h"
#include "string.h"
static npy_intp
incr_slot_(double x, double *bins, npy_intp lbins)
{
npy_intp i;
... |
#pragma once
#include <UI/ViewPane/ViewPane.h>
#include <UI/Controls/StyleTreeCtrl.h>
namespace viewpane
{
class TreePane : public ViewPane
{
public:
static TreePane* Create(int paneID, UINT uidLabel, bool bReadOnly);
std::function<void(controls::StyleTreeCtrl& tree)> InitializeCallback = nullptr;
controls:... |
//
// ViewController.h
// WYEmoticonDemo
//
// Created by 王俨 on 15/11/29.
// Copyright © 2015年 wangyan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
/*
* Copyright (c) 2015 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_DECLARE(net_zperf_sample, LOG_LEVEL_DBG);
#include <zephyr.h>
#include <errno.h>
#include <sys/printk.h>
#include <net/net_pkt.h>
#include <net/net_ip.h>
#include <net/net_core.h>
#include "... |
#define DT_FXOS8700_NAME DT_NXP_KINETIS_I2C_40066000_NXP_FXOS8700_1D_LABEL
#define DT_FXOS8700_I2C_NAME DT_NXP_KINETIS_I2C_40066000_NXP_FXOS8700_1D_BUS_NAME
#define DT_FXOS8700_I2C_ADDRESS DT_NXP_KINETIS_I2C_40066000_NXP_FXOS8700_1D_BASE_ADDRESS
#define DT_FXOS8700_GPIO_NAME DT_NXP_KINETIS_I2C_40066000_NXP_FXOS870... |
/**
* BSD 3-Clause License
*
* Copyright (c) 2020, Sergey Ushakov
* 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 no... |
/*
* 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 OAI Public Lic... |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2018 Intel Corporation
*/
#include <stdarg.h>
#include <errno.h>
#include <stdint.h>
#include <inttypes.h>
#include <rte_common.h>
#include <rte_log.h>
#include <rte_debug.h>
#include <rte_memory.h>
#include <rte_eal.h>
#include <rte_byteorder.h>
#include "bp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.