text stringlengths 9 948k |
|---|
#include <stdio.h>
#include <string.h>
#include "util.h"
#include "symbol.h"
#include "table.h"
struct S_symbol_ {string name; S_symbol next;};
static S_symbol mksymbol(string name, S_symbol next)
{S_symbol s=checked_malloc(sizeof(*s));
s->name=name; s->next=next;
return s;
}
#define SIZE 109 /* should be prime *... |
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
publish... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:09:36 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/SAML.frame... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_listen_socket_snprintf_05.c
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-05.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: listen_socket Read data u... |
/*Generated by genstub. Do not edit.*/
#line 21 "./regex_stub.stub"
#define LIBSAGITTARIUS_BODY
#line 22 "./regex_stub.stub"
#include <sagittarius.h>
#include <sagittarius/regex.h>
static struct sg__rcRec {
SgObject d164[18];
} sg__rc = {
{ /* SgObject d164 */
SG_UNBOUND,
SG_UNBOUND,
SG_UNBOUND,... |
//
// 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 "WAJSEventHandler_BaseEvent.h"
@interface WAJSEventHandler_webViewReadyToTerminate : WAJSEventHandler_BaseEvent
{
}
- (void)h... |
#ifndef GXX_SSTREAM_H
#define GXX_SSTREAM_H
#include <iostream>
#include <gxx/io/iostream.h>
namespace gxx {
namespace io {
class std_string_writer : public gxx::io::ostream {
std::string& str;
public:
std_string_writer(std::string& _str) : str(_str) {}
protected:
ssize_t writeData(const char* ptr, si... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2018 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... |
/*
+----------------------------------------------------------------------+
| php-rdkafka |
+----------------------------------------------------------------------+
| Copyright (c) 2016 Arnaud Le Blanc |
+--------------... |
#ifndef SiPixelStatusHarvester_H
#define SiPixelStatusHarvester_H
/** \class SiPixelStatusHarvester
* harvest per-lumi prduced SiPixelDetector status and make the payload for SiPixelQualityFromDB
*
*/
#include "DQMServices/Core/interface/DQMOneEDAnalyzer.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#inc... |
/*
* 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 <Foundation/Foundation.h> // TODO(OSS Candidate ISS#2710739)
#import <React/RCTBridge.h>
#import <React/RCTBridgeModule.h>... |
// Copyright 2020 The TensorStore Authors
//
// 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 ... |
#pragma once
#include <c10/macros/Macros.h>
// Utility to guaruntee complete unrolling of a loop where the bounds are known
// at compile time. Various pragmas achieve similar effects, but are not as
// portable across compilers.
// Example: c10::ForcedUnroll<4>{}(f); is equivalent to f(0); f(1); f(2); f(3);
namespa... |
#ifndef THREADPOOL_H
#define THREADPOOL_H
#define FNAME_SIZE 64
#include <pthread.h>
#include <queue> // priority_queue
#include <vector>
#include <string.h>
#include <stdio.h>
typedef void (*thread_func_t)(void *arg);
/*
* file descriptor struct
*/
struct FileObj{
char filename[FNAME_SIZE];
int size;
... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "PureLayout.h"
#import "FBEncryptorAES.h"
#import "JTSImageViewController.h"
#import "Steganographer.h" |
/* $NetBSD: ascii.h,v 1.2 1997/04/06 20:08:28 cgd Exp $ */
#define ASCII_BEL 0x07 /* bell */
#define ASCII_BS 0x08 /* backspace */
#define ASCII_HT 0x09 /* horizontal tab */
#define ASCII_LF 0x0a /* line feed */
#define ASCII_VT 0x0b /* vertical tab(?); up one line */
#define ASCII_NP 0x0c /* next page; form fee... |
/* controlvmcompletionstatus.c
*
* Copyright (C) 2010 - 2013 UNISYS CORPORATION
* All Rights Reserved.
*
* 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, o... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "DSRC"
* found in "J2735_201603_ASN_CC.asn"
* `asn1c -gen-PER -fcompound-names -fincludes-quoted -fskeletons-copy`
*/
#ifndef _PositionConfidenceSet_H_
#define _PositionConfidenceSet_H_
#include "asn_application.h"
/* Including ext... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licens... |
/* Copyright 2016 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/**
* @file
* Common constants used in decoder and encoder API.
*/
#ifndef BROTLI_COMMON_CONSTANTS_H_
#define BROTLI_COMMON_CONSTANTS_H_
#include "... |
class Body {
public :
int funcpublic();
protected :
int funcprotected();
private :
int funcprovate();
}; |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putnbr.c :+: :+: :+: ... |
// Copyright 2010-2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
/*
* Device driver for the via-cuda on Apple Powermacs.
*
* The VIA (versatile interface adapter) interfaces to the CUDA,
* a 6805 microprocessor core which controls the ADB (Apple Desktop
* Bus) which connects to the keyboard and mouse. The CUDA also
* controls system power and the RTC (real time clock) chip.
... |
/****************************************************************************
******* *******
******* R U P S T R U C T U R E
******* *******
************************************... |
/**
* \defgroup Debug Debug utilities
* @{
*/
/**
\brief Prints current call stack (stack trace)
\return \p void
@code
DumpStack();
@endcode
\verbatim
Output:
-- Stack trace --
SaveFile() Scripts\Entities\Modules\ModuleBase\ModuleFileHandler.c : 51
SaveConfigToFile() Scripts\Entities\Modules\Mod... |
#ifndef PS_H
#define PS_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* Print information to all active threads to stdout.
*/
void ps(void);
#ifdef __cplusplus
}
#endif
#endif /* PS_H */ |
#ifndef HEAP_INCLUDED
#include "dados.h"
typedef struct heaps heap_t;
int pai(int i);
int esquerda(int i);
int direita(int i);
void swap(dado_t ** dados, int a, int b);
void max_heapify(int i, int tam, dado_t ** dados);
void build_heap(dado_t **dados, int n_linhas);
void heap_sort(dado_t **dados, int n_linhas)... |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_IME_VIRTUAL_KEYBOARD_CONTROLLER_STUB_H_
#define UI_BASE_IME_VIRTUAL_KEYBOARD_CONTROLLER_STUB_H_
#include "base/component_export.h"
#inclu... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:44:05 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
* classdump-dyld is licensed under GPLv3, Copyright Β© 2013-2016... |
// 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_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
#define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
#pragma once
#include <st... |
/* STLport configuration file
* It is internal STLport header - DO NOT include it directly
*/
#if defined (__IBMCPP__) || defined (__IBMC__)
# define _STLP_COMPILER "Visual Age C++"
#elif defined (__xlC__)
# define _STLP_COMPILER "xlc"
#else
# error "Unknown compiler"
#endif
#if !defined(__IBMCPP__) || (__IBMCPP... |
#ifndef OPENVSLAM_GLOBAL_OPTIMIZATION_MODULE_H
#define OPENVSLAM_GLOBAL_OPTIMIZATION_MODULE_H
#include "openvslam/type.h"
#include "openvslam/data/bow_vocabulary.h"
#include "openvslam/module/type.h"
#include "openvslam/module/loop_detector.h"
#include "openvslam/module/loop_bundle_adjuster.h"
#include "openvslam/opti... |
#ifndef SX_H_
#define SX_H_
/*
* sophia database
* sphia.org
*
* Copyright (c) Dmitry Simonenko
* BSD License
*/
typedef struct sxmanager sxmanager;
typedef struct sxindex sxindex;
typedef struct sx sx;
typedef enum {
SXUNDEF,
SXREADY,
SXCOMMIT,
SXPREPARE,
SXROLLBACK,
SXLOCK
} sxstate;
typedef sxstate (*... |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_MANUAL_FILL_PASSWORD_MEDIATOR_H_
#define IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_MANUAL_FILL_PASSWOR... |
#include "Platform.h"
void Update_Chicken(Actor& chicken)
{
chicken.m_entities[0].m_components[0].m_type; // should return type mesh
chicken.m_entities[1].m_components[0].m_type; // should return type sound
//calculate movement
//perform collision
//render actor
}
Actor Create_Chicken()
{
Actor chicken... |
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by UdmpView.rc
//
#define IDM_ABOUTBOX 0x0010
#define IDD_ABOUTBOX 100
#define IDS_ABOUTBOX 101
#define IDD_UDMPVIEW_DIALOG 102
#define IDR_MAINFRAME ... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "WindMillRotation.generated.h"
class UStaticMeshComponent;
UCLASS()
class UE4_PROJECT_HUNT_API AWindMillRotation : public AActor
{
GENERATED_BODY()
public... |
#pragma once
#include <string>
#include "common/singleton/const_singleton.h"
namespace Envoy {
namespace Extensions {
namespace AccessLoggers {
/**
* Well-known access logger names.
* NOTE: New access loggers should use the well known name: envoy.access_loggers.name.
*/
class AccessLogNameValues {
public:
// F... |
#include <stdio.h>
#define COLS 4
int sum2d(const int ar[][COLS], int rows);
int sum(const int ar[], int n);
int main(void)
{
int total1, total2, total3;
int * pt1;
int(*pt2)[COLS];
pt1 = (int[2]) {10, 20};
pt2 = (int [2][COLS]) {{1, 2, 3, -9}, {4, 5, 6, -8}};
total1 = sum(pt1, 2);
total2 =... |
#pragma once
#include "global.h"
#include "txn.h"
class workload;
class base_query;
class thread_t {
public:
uint64_t _thd_id;
workload * _wl;
uint64_t get_thd_id();
uint64_t get_host_cid();
void set_host_cid(uint64_t cid);
uint64_t get_cur_cid();
void set_cur_cid(uint64_t cid);
void init(uint... |
/*
* Copyright (c) 2017 ARM Limited.
*
* SPDX-License-Identifier: 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 limitation the
* rights ... |
/* MDH WCET BENCHMARK SUITE. File version $Id: ns.c,v 1.3 2005/11/11 10:31:47 ael01 Exp $ */
/* Test of deeply nested loops and non-local exits */
/*
* Changes: JG 2005/12/23: Changed type of main to int, added prototypes.
Indented program.
*/
/*-------------------------------------... |
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-β
βvi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :viβ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ‘
β Copyright 2020 Justine Alexandra Roberts Tunney ... |
#include "tablefixed.h"
#include <stdlib.h>
#include <limits.h>
#include <assert.h>
/***************************************************************************/
/* Data structures */
/***************************************************************************/
... |
/*
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* 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 the source distribution or at
* https://www.openssl.org/source/l... |
/******************************************************************
* Melissa *
*-----------------------------------------------------------------*
* COPYRIGHT (C) 2017 by INRIA and EDF. ALL RIGHTS RESERVED. *
* ... |
/* callbacks.h
*
* Copyright (C) 2015 wolfSSL Inc.
*
* This file is part of wolfSSL. (formerly known as CyaSSL)
*
* wolfSSL 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 Licen... |
/* -*- c++ -*- */
//=============================================================================
/**
* @file cdr_op_ch.h
*
* $Id: cdr_op_ch.h 90359 2010-05-31 16:44:22Z parsons $
*
* Concrete visitor for the base "BE_Field" node
* This generates code for structure members in the client header.
*
*
* @... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:40:09 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit
* classdump-dyld is licensed under GPLv3, Copyright Β© 2013-2016 by Elias L... |
#pragma once
#include "solutions/untexturedobjectssoln.h"
// --------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------
// -----------------... |
inherit "obj/armour";
start() {
set_class(5);
set_sub_type("leather coat");
set_name("shirt");
set_short("Dirty looking leather shirt");
set_long("This is very dirty and awfull smelling leather shirt");
set_value(150);
set_weight(2);
} |
//file: _insn_test_v4subsc_X0.c
//op=331
#include <stdio.h>
#include <stdlib.h>
void func_exit(void) {
printf("%s\n", __func__);
exit(0);
}
void func_call(void) {
printf("%s\n", __func__);
exit(0);
}
unsigned long mem[2] = { 0x92adb447873201ff, 0xd36a8d07bde44b83 };
int main(void) {
unsigned... |
/*
* Copyright 2018 The Hafnium Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/**
* stream-speed-test.c
*
* Copyright (c) 2017 TiePie engineering
*
* 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... |
/* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
//______________________________________________________________________________
// Analysis task for providing various dijet informations
// author: O. Saarimaki, D.J. Kim(dong.jo.kim@cern.ch)
// ... |
/**
* @file stm32_canpie-fd.h
* @brief header to stm32_canpie-fd.h module
* @addtogroup
* @{
*/
#ifndef STM32_CANPIE_FD_H_
#define STM32_CANPIE_FD_H_
#ifdef __cplusplus
extern "C"
{
#endif // #ifdef __cplusplus
/*--------------------------------------------------------------------------*/
/* included files ... |
/**
* @file lv_test_core.c
*
*/
/*********************
* INCLUDES
*********************/
#include "../lv_test_assert.h"
#if LV_BUILD_TEST
#include "lv_test_core.h"
#include "lv_test_obj.h"
#include "lv_test_style.h"
/*********************
* DEFINES
*********************/
/**********************
* ... |
// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers. See the top-level LICENSE file for dates and other
// details. No copyright assignment is required to contribute to VisIt.
#ifndef QVIS_HOST_PROFILE_WINDOW_H
#define QVIS_HOST_PROFILE_WINDOW_H
#include <gui_exports.h>
#... |
/*
* Copyright 2016 Matthias Fuchs
*
* 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 agreed to... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:36 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Message.fra... |
#ifndef __FTPolyGlyph__
#define __FTPolyGlyph__
#include <vtk_freetype.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
#include "FTGL.h"
#include "FTGLgl.h"
#include "FTGlyph.h"
#ifdef FTGL_USE_NAMESPACE
namespace ftgl
{
#endif
class FTVectoriser;
/**
* FTPolyGlyph is a specialisation of FTGlyph for creating... |
/*
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the Lice... |
#import "GPUImageFilter.h"
extern NSString *const kGPUImageNearbyTexelSamplingVertexShaderString;
@interface GPUImage3x3TextureSamplingFilter : GPUImageFilter
{
GLint texelWidthUniform, texelHeightUniform;
CGFloat texelWidth, texelHeight;
BOOL hasOverriddenImageSizeFactor;
}
// The texel width and h... |
/*
* Copyright (C) lcinx
* lcinx@163.com
*/
#ifndef _H_NET_BUFPOOL_H_
#define _H_NET_BUFPOOL_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "platform_config.h"
/*
* create and init buf pool.
* big_block_num --- is big block num.
* big_block_size --- is big block size.
*
* small_block_num --- is small bl... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/NanoMediaRemote.framework/NanoMediaRemote
*/
@interface _NMRCommandOptionsProtobuf : PBCodable <NSCopying> {
NSString * _contentItemID;
NSString * _contextID;
NSString * _destinationAppDisplayID;
bool _externalPlayerCommand;
... |
/* PR rtl-optimization/28243 */
/* Reported by Mike Frysinger <vapier@gentoo.org> */
/* { dg-do compile } */
/* { dg-options "-O2 -ftracer -fPIC" } */
struct displayfuncs {
void (*init) ();
} funcs;
struct gpsdisplay {
struct displayfuncs *funcs;
};
static void PSMyArc(double cx, double cy, double radx, double ... |
/*-
* Copyright (c) 2010-2011 Varnish Software AS
* All rights reserved.
*
* Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
*
* 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 ... |
#pragma once
#include <memory>
#include "halley/data_structures/vector.h"
#include "render_graph_pin_type.h"
#include "halley/core/graphics/texture_descriptor.h"
namespace Halley {
class RenderGraphDefinition;
class Camera;
class TextureRenderTarget;
class Texture;
class RenderTarget;
class VideoAPI;
class Ren... |
#ifndef __ModuleWindow_H__
#define __ModuleWindow_H__
#include "Globals.h"
#include "Module.h"
#include "SDL/include/SDL.h"
class Application;
class ModuleWindow : public Module
{
public:
ModuleWindow(bool start_enabled = true);
// Destructor
virtual ~ModuleWindow();
bool Init(Config& config);
bool CleanUp()... |
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
* media and as a part of the software program in whole or part. Users
* may copy or modify Sun RPC without charge, but are not authorized
* to license or distribute it to an... |
#pragma once
#include "Core.h"
#include "RenderTarget.h"
#include "UniEngineAPI.h"
namespace UniEngine {
class UNIENGINE_API PointLightShadowMap :
public RenderTarget
{
std::unique_ptr<GLTexture2DArray> m_depthMapArray;
void Allocate();
public:
PointLightShadowMap(size_t resolution);
void SetResolution(s... |
// Listing 11.19
// stonewt.h -- Revised definition for the Stonewt class
#ifndef _STONEWT1_H_
#define _STONEWT1_H_
class Stonewt
{
public:
enum Mode { STONE, INTEGER_POUNDS, POUNDS };
private:
enum { Lbs_per_stn = 14 }; // pounds per stone
Mode mode; // internal Stonewt mode
int stone; // whole stones
... |
/*ckwg +29
* Copyright 2014-2016 by Kitware, 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:
*
* * Redistributions of source code must retain the above copyright notice,
* this li... |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... |
#pragma once
#include "vulkan/vulkan.h"
class VulkanDevice;
class VulkanSwapChain;
class VulkanFrameBuffer
{
public:
VulkanFrameBuffer();
~VulkanFrameBuffer();
void CreateAttachment(VulkanDevice* pDevice, VulkanSwapChain* pSwapChain);
void CreateFrameBuffers(VulkanDevice* pDevice, VulkanSwapChain* ... |
#ifndef FUNC_TABLE
#define FUNC_TABLE
#include "Function.h"
#include <unordered_map>
//class follows singleton pattern
class FunctionTable {
FunctionTable() {
}
public:
static FunctionTable* get_func_table() {
if (!function_call_table) {
function_call_table = new FunctionTable();
}
return function_c... |
ο»Ώ/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pi/PI_EXPORTS.h>
#include <aws/pi/PIRequest.h>
#include <aws/pi/model/ServiceType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWS... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:15:54 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/FindMyDev... |
/*
The C* port of a benchmark from github.com/sosy-lab/sv-benchmarks
for any information about the LICENCE see github.com/sosy-lab/sv-benchmarks
Original: sv-benchmarks/c/recursive-simple/id_o1000.c
Data Model: ILP32
termination : true
unreach-call: false
*/
uint64_t id(uint64_t x) {
if (x == 0) return... |
#ifndef _SWG_SWGPetApi_H_
#define _SWG_SWGPetApi_H_
#include "SWGHttpRequest.h"
#include "SWGPet.h"
#include <QString>
#include "SWGHttpRequest.h"
#include <QObject>
namespace Swagger {
class SWGPetApi: public QObject {
Q_OBJECT
public:
SWGPetApi();
SWGPetApi(QString host, QString basePath);
~SWGP... |
/*
* 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... |
// Copyright (c) 2020 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 QUICHE_COMMON_QUICHE_DATA_READER_H_
#define QUICHE_COMMON_QUICHE_DATA_READER_H_
#include <cstddef>
#include <cstdint>
#include <limits>
#inc... |
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "../include/picasso.h"
#include "drawFunc.h"
static ps_matrix* pm;
static ps_path * pa;
static ps_image * pi;
static ps_image * pp;
static ps_pattern * pt;
static ps_canvas* cv;
void draw_test (int id, ps_context* gc)
{
ps_rect r = {0, 0, 320, 2... |
// 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_IDLE_IDLE_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_H_
#include "chrome/browser/extensions/chr... |
// Automatically generated file, do not edit.
#pragma once
const uint8_t Char_x[] = {
10, 11,
0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,
0x66,0x00,0x00,0x00,0x60,
0x06,0x60,0x00,0x06,0x00,
0x00,0x66,0x00,0x60,0x00,
0x00,0x06,0x66,0x00,0x00,
0x00,0x06,0x66,0x00,0x00,
0x00,0x60,0x06,0x60,0x00,
0x06,0x00,0x00,0... |
/**
* @file hal_pwm.c
* @author XRADIO IOT WLAN Team
*/
/*
* Copyright (C) 2017 XRADIO TECHNOLOGY CO., LTD. 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. Redistribution... |
#ifndef PODOFO_PDFVERSION_H
#define PODOFO_PDFVERSION_H
#define PODOFO_MAJOR PODOFO_VERSION_MAJOR
#define PODOFO_MINOR PODOFO_VERSION_MINOR
#define PODOFO_REVISION PODOFO_VERSION_PATCH
#define PODOFO_VERSION_STRING PODOFO_VERSION_STR
#endif |
#include <stm32f4xx.h>
#include "mpu.h"
#include "../../stm32/f4/i2c/i2c.h"
#include "../../stm32/f4/delay/delay.h"
#include "../../stm32/f4/uart/uart.h"
#include "../../stm32/f4/gpio/gpio.h"
volatile i32 mpu_gyro_calib[3];
volatile i32 mpu_accel_calib[3];
mpu_err_t MPU_init(mpu_t *mpu) {
if (I2C_init(&mpu->port)... |
/*
*******************************************************************************
QUALITY.C -- Water Quality Simulator for EPANET Program
VERSION: 2.00
DATE: 5... |
///////////////////////////////////////////////////////////////////////////////
// Name: wx/listbase.h
// Purpose: wxListCtrl class
// Author: Vadim Zeitlin
// Modified by:
// Created: 04.12.99
// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
/////////////////////////////////////... |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
* Copyright 2010 Tilera Corporation. All Rights Reserved.
*
* 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, version 2... |
#include "ruuvi_driver_enabled_modules.h"
#if RUUVI_RUN_TESTS
#include "ruuvi_driver_error.h"
#include "ruuvi_driver_test.h"
#include "ruuvi_interface_flash_test.h"
#include "ruuvi_interface_flash.h"
#include <stdbool.h>
#include <string.h>
/**
* @addtogroup Flash
* @{
*/
/**
* @file ruuvi_interface_flash_test.c
*... |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* --------------------------------------------------------------------... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:12:47 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/SiriOntolo... |
#pragma once
#include <cstdlib>
#include <jni.h>
#include "Singleton.h"
#include "android/JavaObject.h"
namespace android
{
namespace database
{
class Cursor_ClassInfo : public CSingleton<Cursor_ClassInfo>
{
public:
void PrepareClassInfo();
jclass clazz = NULL;
jmethodID close = NULL;
jmethodI... |
/**
******************************************************************************
* @file stm32f1xx_hal_conf.h
* @brief HAL configuration file.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2017 STMicroelectronics.
... |
ο»Ώ/**
* @brief Implements the TPM2_FlushContext method
* @file TPM2_FlushContext.c
* @details This file was auto-generated based on TPM2.0 specification revision 116.
* @copyright
* Copyright Licenses:
*
* * Trusted Computing Group (TCG) grants to the user of the source code
* in this specification (t... |
/*
* Copyright 2010-2017, Tarantool AUTHORS, please see AUTHORS file.
*
* 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 lis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.