text stringlengths 9 948k |
|---|
#pragma once
#include <stddef.h>
namespace DB
{
#define APPLY_FOR_TOKENS(M) \
M(Whitespace) \
M(Comment) \
\
M(BareWord) /** Either keyword (SELECT) or identifier (column) */ \
\
M(Number) /** Always non-negative. No leading plus. 123 or something like 123.456e1... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/stat.h>
#ifdef _WIN32
#include <io.h>
#define isatty _isatty
#define snprintf _snprintf
#define msleep Sleep
#define PATH_SEP "\\"
#define USE_MMAP 0
#else
#ifndef USE_... |
//
// 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 "WXPBGeneratedMessage.h"
@class BaseResponse;
@interface ReportLotionOrBluetoothInfoResp : WXPBGeneratedMessage
{
}
+ (void)... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
// Modify the following defines if you have to ... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: mscat.h
//
// Contents: Microsoft Internet Security Catalog API
//
// History: 29-Apr-1997 pberkman created
// 09-Sep-19... |
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:16:01 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /usr/lib/swift/libswiftFoundation.dylib
... |
/* mtest3.c - memory-mapped database tester/toy */
/*
* Copyright 2011-2014 Howard Chu, Symas Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is avail... |
/**
* @file
* ICMP6 protocol definitions
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* 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... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <TVPlayback/TVPPlayer.h>
@interface TVPPlayer (AirPlay)
- (id)mediaItemForIdentifier:(id)arg1; // IMP=0x000000010000cbfc
- (void)setAudioS... |
// Author : XuBenHao
// Version : 1.0.0
// Mail : xbh370970843@163.com
// Copyright : XuBenHao 2020 - 2030
#ifndef APP_UI_DATASTRUCTWIDGET_H
#define APP_UI_DATASTRUCTWIDGET_H
#include "header.h"
namespace Ui {
class DataStructWidget;
}
class DataStructWidget : public QWidget
{
Q_OBJECT
pu... |
#include "uart.h"
void main() {
uart_init();
volatile unsigned char *prog = (unsigned char *)0x80000;
unsigned char code;
unsigned int size = 0;
while ((code = uart_getc()) != '\n')
;
volatile unsigned char *bootloader = (unsigned char *)0x60000;
volatile unsigned char *cur = (un... |
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright(c) 2016 Intel Corporation. All rights reserved.
//
// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
// Keyon Jie <yang.jie@linux.intel.com>
#include <sof/compiler_info.h>
#include <sof/debug/debug.h>
#include <sof/drivers/dw-dma.h>
#include <so... |
/*
*
* Include file for casstcl_consistency
*
* Copyright (C) 2015 by FlightAware, All Rights Reserved
*
* Freely redistributable under the Berkeley copyright, see license.terms
* for details.
*/
/*
*--------------------------------------------------------------
*
* casstcl_setStatementConsistency -- Setup ... |
#pragma once
#include "../state.h"
#include "../../../alife_smart_terrain_task.h"
template<typename _Object>
class CStateMonsterSmartTerrainTask : public CState<_Object> {
typedef CState<_Object> inherited;
typedef CState<_Object>* state_ptr;
CALifeSmartTerrainTask *m_current_task;
public:
CStateMonsterSma... |
// ____ ___ | / _____ _____
// | __ | |___/ | |
// |___| ___| | \ __|__ | gsKit Open Source Project.
// ----------------------------------------------------------------------
// Copyright 2004 - Chris "Neovanglist" Gilbert <Neovanglist@LainOS.org>
// Licenced under Academic Free Licens... |
/* Test of integer_length().
Copyright (C) 2011-2018 Free Software Foundation, Inc.
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, or
(at your option)... |
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyr... |
//
// RKMCEmit.h
// RobotKit
//
// Created by Jon Carroll on 10/30/11.
// Copyright (c) 2011 Orbotix Inc. All rights reserved.
//
#import "RKMacroCommand.h"
/*!
* @brief Command to cause an asyncronous emit from the ball
*
* Command that will cause the ball to generate an asyncronous emit command
* when th... |
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
#include "ngspice/ngspice.h"
#include "ngspice/tskdefs.h"
#include "ngspice/jobdefs.h"
#include "ngspice/ifsim.h"
#include "ngspice/iferrmsg.h"
#include "ngspice/cktdefs.h"
#include "an... |
/*
* Copyright 2007-2019 The OpenSSL Project Authors. All Rights Reserved.
* Copyright Nokia 2007-2019
* Copyright Siemens AG 2015-2019
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in th... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "DVTPagingSheetWindowController.h"
@class DVTTeamRecord, NSArray, NSError, NSMapTable, NSString;
@interface IDEAccountTeamPickerWindowController : DVTPagingSheetWindowCont... |
#include "common.h"
ULONGLONG fnv1_hash_string(VOID *key, ULONG n_bytes, BOOLEAN bNormalize)
{
UCHAR *p = key;
BYTE cTmp = 0;
ULONG i = 0;
ULONGLONG h = 14695981039346656037;
for (i = 0; i < n_bytes; i++)
{
cTmp = p[i];
if (bNormalize)
{
cTmp = (BYTE)tolower(cTmp);
}
h = (h * 1099511628211) ^ cTmp;... |
/*
* Copyright (C) 2004-2010 NXP Software
* Copyright (C) 2010 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/... |
#pragma once
#include "envoy/event/dispatcher.h"
#include "envoy/server/transport_socket_config.h"
#include "envoy/service/discovery/v2/hds.pb.h"
#include "envoy/ssl/context_manager.h"
#include "envoy/stats/stats_macros.h"
#include "envoy/upstream/upstream.h"
#include "common/common/backoff_strategy.h"
#include "comm... |
//
// NSString+Encode.h
// Applozic
//
// Created by Divjyot Singh on 21/04/16.
// Copyright © 2016 applozic Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (Encode)
-(NSString *)urlEncodeUsingNSUTF8StringEncoding; // Direct UTF8 encoding
-(NSString *)urlEncodeUsingEncoding:(NS... |
/*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* 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 co... |
#ifndef QMCPLUSPLUS_AFQMC_ESTIMATORHANDLER_H
#define QMCPLUSPLUS_AFQMC_ESTIMATORHANDLER_H
#include "Platforms/sysutil.h"
#include "AFQMC/config.h"
#include "AFQMC/Utilities/taskgroup.h"
#include "AFQMC/Estimators/EstimatorBase.h"
#include "AFQMC/Estimators/EnergyEstimator.h"
#include "AFQMC/Estimators/BasicEstimator... |
#ifndef CUBOID_LAYER_H
#define CUBOID_LAYER_H
#include "Cuboid/Events/Event.h"
typedef union SDL_Event SDL_Event;
//TODO WRAP IN A NAMESPACE
namespace Cuboid
{
class Layer
{
public:
Layer(const std::string& name = "Layer");
virtual void OnAttach() {}
virtual void OnDetach() {}
virtual void OnUpdate(float d... |
#ifndef SIMDJSON_INLINE_PADDED_STRING_H
#define SIMDJSON_INLINE_PADDED_STRING_H
#include "simdjson/portability.h"
#include "simdjson/common_defs.h" // for SIMDJSON_PADDING
#include <climits>
#include <cstring>
#include <memory>
#include <string>
namespace simdjson {
namespace internal {
// low-level function to all... |
#pragma bank 255
// Scene: Platform
// Sprites
#include "gbs_types.h"
#include "data/spritesheet_7.h"
#include "data/spritesheet_6.h"
BANKREF(scene_5_sprites)
const far_ptr_t scene_5_sprites[] = {
TO_FAR_PTR_T(spritesheet_7),
TO_FAR_PTR_T(spritesheet_6)
}; |
/* -*- C++ -*- */
//=============================================================================
/**
* @file URL_Locator.h
*
* @author Nanbor Wang
*/
//=============================================================================
#ifndef ACE_URL_LOCATOR_H
#define ACE_URL_LOCATOR_H
#include "URL_Propertie... |
#ifndef _PFDEFAULTS_H_
#define _PFDEFAULTS_H_
/*
ascii pfile variable defaults
WARNING: Do not change the values below if you've got existing ascii
player files you don't want to screw up. See the documentation
included in the ascii pfiles distribution for more information.
*/
#define PFDEF_SEX 0
#define ... |
//------------------------------------------------------------------------------
// GxB_Matrix_fprint: print and check a GrB_Matrix object
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved.
// http://suitespar... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f3xx_it.h
* @brief This file contains the headers of the interrupt handlers.
******************************************************************************
* @attention
*
* <h2... |
// 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_UI_WEBUI_VERSION_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_H_
#include <vector>
#include "base/memory/weak_p... |
MKTYPE2(Algorithm);
MKTYPE2(KeyPoint);
MKTYPE2(DMatch);
MKTYPE2(FileStorage);
MKTYPE2(FileNode);
MKTYPE2(TickMeter);
MKTYPE2(flann_Index);
MKTYPE2(CLAHE);
MKTYPE2(Subdiv2D);
MKTYPE2(LineSegmentDetector);
MKTYPE2(ml_TrainData);
MKTYPE2(ml_StatModel);
MKTYPE2(ml_NormalBayesClassifier);
MKTYPE2(ml_KNearest);
MKTYPE2(ml_SV... |
/******************************************************************************
* $Id: TorrentTableView.h 13162 2012-01-14 17:12:04Z livings124 $
*
* Copyright (c) 2005-2012 Transmission authors and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software an... |
/*! \file bcma_i2c_isl68127.c
*
* Application to control power regulator ISL68127.
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#include <bsl/bsl.h>
#inc... |
/***************************************************************************
* apps/graphics/nxglyphs/include/cursor-wait-23x30.h
*
* 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 reg... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:43:16 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CompanionSync.framework/CompanionSync
* classdump-dyld is licensed under GPLv3, Copyright © 2013-201... |
#ifndef C0P_PARAM_INIT_OBJECTS_SURFER__US_1O0__SURFTIMECONST_7O0__REORIENTATIONTIME_3O0_ORIENT_GROUP_MEMBER_PASSIVE_POS_RANDOM_PARAMETERS_H
#define C0P_PARAM_INIT_OBJECTS_SURFER__US_1O0__SURFTIMECONST_7O0__REORIENTATIONTIME_3O0_ORIENT_GROUP_MEMBER_PASSIVE_POS_RANDOM_PARAMETERS_H
#pragma once
// app include
#include "c... |
#include "xcom.h"
char *basename(char *);
/* get filename from stdin,and send it to server */
int sendfile(T_Connect *conn)
{
FILE *fd;
char filename[512];
char sendfname[512];
char buffer[1024];
char *p;
int ret;
while(!ferror(stdin)) {
fgets(filename,sizeof(filename),stdin);
if(feof(stdin)) break;
TRIM((unsi... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/storage/public/mozIStorageStatement.idl
*/
#ifndef __gen_mozIStorageStatement_h__
#define __gen_mozIStorageStatement_h__
#ifndef __gen_mozIStorageBaseStatement_h__
#include "mozIStorageBaseStatement.h"
#endif
/* For IDL f... |
// 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 applicabl... |
#include "ksmap.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#define BUFFER_SIZE 256
void part_a(){
printf("------ Kernel Sampler (ksamp) ------");
printf("\n");
print_host_name();
print_date();
return;
}
void part_b(void){
print_up_time(... |
#include "blas_extended.h"
#include "blas_extended_private.h"
void BLAS_cgbmv_c_s(enum blas_order_type order, enum blas_trans_type trans,
int m , int n, int kl, int ku, const void *alpha,
const void *a, int lda, const float *x, int incx,
const void *beta, void *y, int incy)
/*
* Purpo... |
#pragma once
#include "ioh.hpp"
/// A solver for IOH real problems.
inline void solver(const std::shared_ptr<ioh::problem::Real> p)
{
using namespace ioh::common;
std::vector<double> x(p->meta_data().n_variables);
auto count = 0;
while (count++ < 100)
{
(*p)(random::uniform(p->meta_data().... |
/* This is a managed file. Do not delete this comment. */
#include <include/test.h>
void test_signed_int_tc_floating_point(
test_signed_int this)
{
const char *input = "int32 obj: 10.5";
ast_Node ast = cortoscript_ast_parse(input, false);
test_assert(ast != NULL);
test_assert(corto_typeof(ast) == ... |
extern void __VERIFIER_error(void);
extern void __VERIFIER_assume(int);
void __VERIFIER_assert(int cond) {
if (!(cond)) {
ERROR: __VERIFIER_error();
}
return;
}
int SIZE = 20000001;
unsigned int __VERIFIER_nondet_int();
int main() {
unsigned int n,i,k,j;
n = __VERIFIER_nondet_int();
if (!(n <= SIZE)) re... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:39:02 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli... |
#pragma once
/*
(c) 2020 bu dbj@dbj.org
*/
#ifdef _KERNEL_MODE
#pragma message( __FILE__ " has sense only in the NON KERNEL builds")
#endif // _KERNEL_MODE
namespace dbj {
/*
signatures of two callbacks given at compile time
*/
using start_stop_fp = void * (*) (void *);
template < start_stop_fp ctor_f, start_... |
void f(int x);
void f(int y) {} |
/* 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... |
/**
*
* @copyright © 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
//
// PCTAPI.h
// PopcornKit
//
// Copyright © 2018 Mark Bourke.
//
// 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
// t... |
//==============================================================================
// Copyright (c) 2012-2016 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief GPUPerfAPI Counter Generator function
//===============================================================... |
/*
* Jack abstraction layer
*
* Copyright 2008 Wolfson Microelectronics
*
* 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)... |
//
// DoraemonHomeCellHeader.h
// DoraemonKit-DoraemonKit
//
// Created by yixiang on 2017/12/11.
//
#import <UIKit/UIKit.h>
@interface DoraemonHomeCellHeader : UICollectionReusableView
- (void)setTitle:(NSString*)title;
@end |
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... |
/*
* Copyright (c) 2016, 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:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of c... |
#ifndef DIALOG_SELECT_H
#define DIALOG_SELECT_H
#include <QDialog>
#include<QCloseEvent>
#include <QtSql/QSqlQuery>
#include<QString>
#include<QMessageBox>
namespace Ui {
class Dialog_select;
}
class Dialog_select : public QDialog
{
Q_OBJECT
public:
explicit Dialog_select(QWidget *parent = nullptr);
~D... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:44:16 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/VideosUI.framework/VideosUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
/*
* Copyright 2021 The DAPHNE Consortium
*
* 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 ... |
/*
* Copyright 2021 Google LLC.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef tessellate_PathCurveTessellator_DEFINED
#define tessellate_PathCurveTessellator_DEFINED
#include "src/gpu/GrVertexChunkArray.h"
#include "src/gpu/tessellate/PathTesse... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
//////////////////////////////////////////////////////////////////////////
// LANDSCAPE SPLINES HIT PROXY
struct HLandscapeSplineProxy : public HHitProxy
{
DECLARE_HIT_PROXY( LANDSCAPE_API );
HLandscapeSplineProxy(EHitProxyPriority InPriori... |
// Copyright (c) 2005 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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, or (at your opti... |
/**
* Copyright (c) 2018 - 2019, 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, th... |
// Copyright (c) 2019 Marshall A. Greenblatt. 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 ... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX 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_CLIENTMODEL_H... |
#include <std.h>
#include <dirs.h>
#include <daemons.h>
inherit DAEMON;
#define BASE_CLASS find_object_or_load(DIR_CLASSES+"/druid.c")
void create()
{
::create();
}
string *query_base_classes() { return ({ "druid" }); }
int is_prestige_class() { return 1; }
string *search_paths() { return BASE_CLASS->search_p... |
/*
Copyright 2020 The OneFlow 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 agre... |
/* main.c
* Jen Hanni, Brian Rho, Sai Prasanth
*
* This file defines the entire program.
*
* The main reads the file 'test.txt' and
* pass on the command and addresses to the appropriate functions.
*
* test.txt contains lines of the form:
* 2 10019d94
* where the first single digit is 'n'
* and the seco... |
#ifndef VIDEOCATEGORYMODEL_H
#define VIDEOCATEGORYMODEL_H
#include <QAbstractListModel>
#include <QStringList>
#include <QTcpSocket>
class VideoController;
class VideoCategoryModel : public QAbstractListModel
{
Q_OBJECT
public:
enum VideoCategoryRoles {
NameRole = Qt::UserRole + 1
};
VideoC... |
//********************************************************************************************************
//
// © 2016 Regents of the University of California on behalf of the University of California at Berkeley
// with rights granted for USDOT OSADP distribution with the ECL-2.0 open source license.
//
//*****... |
/* Version of sigsetmask.c
Written by Steve Chamberlain (sac@cygnus.com).
Contributed by Cygnus Support.
This file is in the public doamin. */
/*
@deftypefn Supplemental int sigsetmask (int @var{set})
Sets the signal mask to the one provided in @var{set} and returns
the old mask (which, for libiberty's impl... |
#ifndef MY_ATOMIC_H
#define MY_ATOMIC_H
/* public domain, from http://golubenco.org/2007/06/14/atomic-operations/ */
/**
* Atomic type.
*/
typedef struct {
volatile int counter;
} atomic_t;
#define ATOMIC_INIT(i) { (i) }
/**
* Read atomic variable
* @param v pointer of type atomic_t
*
* Atomically reads... |
//
// DLNAPlaybackViewController.h
// Aria2Downloader
//
// Created by happy on 16/3/14.
// Copyright © 2016年 happy. All rights reserved.
//
#import <UIKit/UIKit.h>
@class CGUpnpAvItem;
@interface DLNAPlaybackViewController : UIViewController
@property (nonatomic)CGUpnpAvItem *item;
@end |
/**************************************************************************//**
* @file efm32g842f128.h
* @brief CMSIS Cortex-M3 Peripheral Access Layer Header File
* for EFM EFM32G842F128
* @version 5.2.1
******************************************************************************
* # License
* <b>Copy... |
/* Font
*
* Copyright (C) 2003-2004, Alexander Zaprjagaev <frustum@frustum.org>
* Modified by Abdul Bezrati <abezrati@hotmail.com>
*/
#ifndef __FONT_H__
#define __FONT_H__
#include "TextureUtils.h"
class CFont
{
public:
CFont();
~CFont();
void printProportional(float widthRatio , float heightRatio,... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... |
//
// RadishProductDetailTwoColumnWebViewCell.h
// KidsTC
//
// Created by 詹平 on 2016/10/26.
// Copyright © 2016年 zhanping. All rights reserved.
//
#import "RadishProductDetailBaseCell.h"
@interface RadishProductDetailTwoColumnWebViewCell : RadishProductDetailBaseCell
@property (nonatomic, assign) BOOL selfHasloa... |
/*
* Copyright (C) 2010 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 conditions a... |
#ifndef WIZ_UTILITY_STRING_VIEW_H
#define WIZ_UTILITY_STRING_VIEW_H
#include <cstddef>
#include <cstring>
#include <string>
#include <wiz/utility/macros.h>
namespace wiz {
class StringView {
public:
constexpr StringView()
: data(""), length(0) {}
constexpr StringView(... |
#ifndef _ASM_IRQ_WORK_H
#define _ASM_IRQ_WORK_H
#include <asm/cpufeature.h>
static inline bool arch_irq_work_has_interrupt(void)
{
return boot_cpu_has(X86_FEATURE_APIC);
}
#endif /* _ASM_IRQ_WORK_H */ |
/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
datatype_factory.h
Abstract:
<abstract>
Author:
Leonardo de Moura (leonardo) 2008-11-06.
Revision History:
--*/
#ifndef _DATATYPE_FACTORY_H_
#define _DATATYPE_FACTORY_H_
#include"struct_factory.h"
#include"datatype_decl_plugin.h"
class dat... |
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: nugget/app/weaver/weaver.proto */
#ifndef PROTOBUF_C_nugget_2fapp_2fweaver_2fweaver_2eproto__INCLUDED
#define PROTOBUF_C_nugget_2fapp_2fweaver_2fweaver_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if P... |
/**
* Copyright (c) 2015-present, ABI39_0_0React-native-community.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
@interface ABI39_0_0RNSVGPathMeasure : NSObject
@property CGFl... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: ... |
// LED.h
// Runs on TM4C123
// Provide functions that initialize a GPIO as an input pin and
// allow reading of two negative logic switches on PF0 and PF4
// Use bit-banded I/O.
// Daniel and Jonathan Valvano
// Feb 23, 2015
/* This example accompanies the book
"Embedded Systems: Introduction to ARM Cortex M Micro... |
// Copyright 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 CONTENT_SHELL_COMMON_TEST_RUNNER_WEBPREFERENCES_H_
#define CONTENT_SHELL_COMMON_TEST_RUNNER_WEBPREFERENCES_H_
#include "third_party/WebKit/public... |
#import <Foundation/Foundation.h>
/*!
* Instances of TOCTimeout are used to indicate a timeout failure occurred (e.g. by being the failure stored in a TOCFuture).
*
* @see hasFailedWithTimeout
*/
@interface TOCTimeout : NSObject
@end |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:16:34 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Workflo... |
#ifndef _ADC_CONFIG_BLOCK_H
#define _ADC_CONFIG_BLOCK_H
#include "AIOTypes.h"
#include "AIOEither.h"
#include <stdlib.h>
#include <string.h>
#ifdef __aiousb_cplusplus
namespace AIOUSB
{
#endif
struct AIOUSBDevice;
#ifndef _AIOUSBDEVICE_STRUCT
#define _AIOUSBDEVICE_STRUCT
typedef struct AIOUSBDevice AIOUSBDevice;
#e... |
/*
* Internet Messaging Transport Base Class
*
* Copyright 2006 Robert Shearman 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 Licen... |
/*-
* Copyright (c) 2005-2014 Rich Felker, et al.
*
* 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, ... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 12. March 2014
* $Revision: V1.4.4
*
* Project: CMSIS DSP Library
* Title: arm_conv_q15.c
*
* Description: Convolution of Q15 sequences. ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.