text stringlengths 9 948k |
|---|
/**
@file compiler.c
@brief
**/
#include "common.h"
//#include "vmachine.h"
#ifdef DEBUG_PRINT_CODE
# include "disassembler.h"
#endif
Parser parser;
void advance() {
if(parser.prev != NULL)
FREE(parser.prev);
parser.prev = parser.crnt;
while(true) {
parser.crnt = get_tok();
... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 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... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/user/openairinterface5g/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/user/openairinterface5g/c... |
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkTransformFilter.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkCompositedSynchronizedRenderers.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
#ifndef AliITSMFTClusterShape_H
#define AliITSMFTClusterShape_H
/* Copyright(c) 2007-2016, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
///////////////////////////////////////////////////////////////////
// ... |
/*-*- 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 The Mbed TLS Contributors ... |
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3071 uuid: ae226d69-be9f-4f7a-a138-0c85163277dd
*/
/*** Function Prototypes ***/
#if !PRODUCTION && defined(PlatformNoDbgRegParms)
# define NoDbgRegParms PlatformNoDbgRegParms
#endif
#if !defined(NoDbgRegParms)
# define NoDbgRegParms /... |
/*!
* iOS SDK
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 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... |
#ifndef DM_FACEBOOK_UTIL_H
#define DM_FACEBOOK_UTIL_H
#include <stdlib.h>
#include <stdint.h>
#include <dmsdk/script/script.h>
struct lua_State;
namespace dmFacebook {
/**
* Check if a Lua table can be considered an array.
* If the supplied table only has number keys in ascending order.
* @param ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <map>
#include "core/common/const_pointer_container.h"
#include "core/framework/allocator.h"
#include "core/framework/tensor.h"
#include "core/framework/tensor_allocator.h"
#include "core/framework/se... |
/*
FreeRTOS V202112.00
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License (version 2... |
/*
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... |
//-*-C++-*-
/***************************************************************************
*
* Copyright (C) 2007 by Willem van Straten
* Licensed under the Academic Free License version 2.1
*
***************************************************************************/
// psrchive/Util/genutil/ThreadStream.h
#... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSCopying.h"
#import "NSSecureCoding.h"
@interface HMCameraClipPosterFrame : NSObject <NSCopying, NSSecureCoding>
{
double _timeOffset;
unsig... |
// C++ informative line for the emacs editor: -*- C++ -*-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. ... |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
uint32_t x13 = 3U;
uint64_t x24 = 1763708173701LLU;
int32_t t1 = 70271;
static int64_t x30 = 2614827522LL;
uint... |
/*
+----------------------------------------------------------------------+
| Zend JIT |
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+---------... |
#ifndef tdf10_IMPL_H
#define tdf10_IMPL_H
#include "../tdf10_common_defines.h"
static const int READ_SCALE_FACTOR = 8;
static const int OCHAN_SCALE_FACTOR = 4;
// This is a hack to prevent long synthesis times during the layer synthesis step
// The synthesis time of these layers is correlated with the number of
//... |
/*
pybind11/functional.h: std::function<> support
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#pragma once
#include "pybind11.h"
#include <functional>
NAMESPACE_BEGIN... |
// Copyright 2015 Trevor Meehl
//
// 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 t... |
//
// ata.c
// KripayaOS
//
#include <drivers/ata.h>
void ata_init(ata_t* ata, uint32_t port, char is_master)
{
ata->is_master = is_master;
ata->ports.data = port;
ata->ports.error = port + 0x1;
ata->ports.sector_count = port + 0x2;
ata->ports.low = port + 0x3;
ata->ports.medium = port + 0x4;
... |
//
// Created by everettjf on 2017/3/31.
//
#ifndef MACHOEXPLORER_LOADCOMMAND_DYLD_INFO_H
#define MACHOEXPLORER_LOADCOMMAND_DYLD_INFO_H
#include "libmoex/node/LoadCommand.h"
MOEX_NAMESPACE_BEGIN
/////////////////////////////Rebase /////////////////////////////////
class RebaseOpcodeContext{
public:
uint8_t opco... |
/**
* WinPR: Windows Portable Runtime
* Synchronization Functions
*
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* 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
*
... |
/***************************************************************************//**
* \file cy_capsense_processing.c
* \version 2.0
*
* \brief
* This file provides the source code for the Data Processing module functions.
* The Data Processing module is responsible for the low-level raw count
* processing provided by the ... |
/*
* Copyright 2019 Shannon F. Stewman
*
* See LICENCE for the full copyright terms.
*/
#include <assert.h>
#include <stdlib.h>
#include <stddef.h>
#include <fsm/fsm.h>
#include <fsm/pred.h>
#include <fsm/subgraph.h>
#include <adt/alloc.h>
#include <adt/set.h>
#include <adt/stateset.h>
#include <adt/edgeset.h>
#... |
#include "Bdef.h"
#if (INTFACE == C_CALL)
Int Ckbrid(Int ConTxt, char *scope, Int rsrc, Int csrc)
#else
F_INT_FUNC kbrid_(Int *ConTxt, F_CHAR scope, Int *rsrc, Int *csrc)
#endif
{
Int msgid;
char tmpscope;
BLACSCONTEXT *ctxt;
MGetConTxt(Mpval(ConTxt), ctxt);
tmpscope = Mlowcase(F2C_CharTrans(scope));
... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/*
** 2005 May 25
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************... |
#ifndef MESH_H
#define MESH_H
#include <vector>
#include <glm/glm.hpp>
#include <SFML/Graphics/Shader.hpp>
class Mesh
{
public:
struct Vertex
{
glm::vec3 position;
// TODO: Remove normal, add texture
glm::vec3 normal;
};
public:
Mesh(std::vector<Vertex>&& vertices, std::vect... |
/*
*
* Copyright 2015, Google 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 list of condi... |
/* File: gui_sketch_nav_tree.c; Copyright and License: see below */
#include "sketch_area/gui_sketch_nav_tree.h"
#include "util/geometry/geometry_rectangle.h"
#include "universal_int.h"
#include "trace.h"
#include "tslog.h"
#include <gdk/gdk.h>
static const int GUI_SKETCH_NAV_TREE_INDENT = 12;
static const int OBJ_GA... |
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/pore_inline.h $ */
/* ... |
/**
* @file ds1302.h
* @defgroup ds1302 ds1302
* @{
*
* ESP-IDF driver for DS1302 RTC
*
* Ported from esp-open-rtos
*
* Copyright (C) 2016, 2019 Ruslan V. Uss <unclerus@gmail.com>\n
* Copyright (C) 2016 Pavel Merzlyakov <merzlyakovpavel@gmail.com>
*
* BSD Licensed as described in the file LICENSE
*/
#ifnde... |
/*
* Copyright 2021 SiFive, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You should have received a copy of LICENSE.Apache2 along with
* this software. If not, you may obtain a copy at
*
* https://www.apache.org/... |
#include <errno.h>
#include <priv/tth_core.h>
#if (TTHREAD_THREAD_SAFE_NEWLIB != 0)
#include <reent.h>
#endif
#include <malloc.h>
#include <string.h>
#ifdef TTHREAD_MALLOC_LOCK
extern void __malloc_lock(struct _reent *);
extern void __malloc_unlock(struct _reent *);
#endif
#define TTHREAD_NAME_MAX_LEN 16
/*
* Idle ... |
/* mbed Microcontroller Library
* Copyright (c) 2015-2017 Nuvoton
*
* 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 requir... |
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "MMService.h"
#import "MMPackageDownloadMgrExt.h"
#import "MMService.h"
@class NSString, NSMutableDictionary;
@interface MMResPackageMgr : MMService <MMServi... |
// RUN: %ucc -o %t %s
// RUN: %t; [ $? -eq 8 ]
main()
{
return sizeof(int[]){2, 3};
} |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:44:18 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... |
/*
* config.h
*
* Copyright (c) 2008-2010 CSIRO, Delft University of Technology.
*
* This file is part of Darjeeling.
*
* Darjeeling 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 ve... |
/**
* @file show.c
*
* @brief Routines for showing information on screen implementation
*/
/* System includes */
#include <stdio.h>
/* Local includes */
#include <show.h>
/* Print usage information */
void show_usage(FILE *fp)
{
fprintf(fp, "Usage: %s <interface>\n", PROG_NAME);
}
/* Print version informa... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:08 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/Intents.framework/... |
/*
* Copyright (c) 2018 Sippy Software, Inc., http://www.sippysoft.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:
* 1. Redistributions of source code must retain the above copyright
... |
// Expose the Arduino Wire I2C interface for BME280 library.
#ifndef WIRE_H_
#define WIRE_H_
#include <i2cint.h> // For I2CInterface
#ifdef __cplusplus // I2CInterface class for C++ only
extern I2CInterface Wire; // Used by BME280 library.
#endif // __cplusplus
#endif // WIRE_H_ |
#include<stdio.h>
int main()
{
int i=1,j=2;
i = i < j;
i = i ==j;
i = i !=j;
return 0;
} |
/*******************************************************************************
* Copyright 2018-2021 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.apa... |
// Copyright (C) 2018 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <ie_common.h>
#include <mkldnn_node.h>
#include <string>
#include <vector>
namespace MKLDNNPlugin {
class MKLDNNCropNode : public MKLDNNNode {
public:
MKLDNNCropNode(const InferenceEngine::CNNLayerPtr& layer,... |
/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... |
/*
* sh73a0 processor support
*
* Copyright (C) 2010 Takashi Yoshii
* Copyright (C) 2010 Magnus Damm
* Copyright (C) 2008 Yoshihiro Shimoda
*
* 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 Foun... |
/*
* Copyright (c) 2019-2020 Cobham Gaisler AB
*
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT gaisler_apbuart
#include <drivers/uart.h>
#include <errno.h>
/* APBUART registers
*
* Offset | Name | Description
* ------ | ------ | ----------------------------------------
* 0x0000 | data | ... |
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+---------... |
/*
PDD layer implementation for peripheral type ENET
(C) 2013 Freescale, Inc. All rights reserved.
This file is static and it is generated from API-Factory
*/
#if !defined(ENET_PDD_H_)
#define ENET_PDD_H_
/* ----------------------------------------------------------------------------
-- Test if supported MC... |
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <dupin.h>
#include "configure.h"
#include "dupin_server_common.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifdef G_OS_UNIX
# include <sys/types.h>
# include <unistd.h>
# include <stdlib.h>
# include <grp.h>
# include <pwd.h>
# includ... |
/*
This file defines the class for the Eucldean space.
Manifold --> Euclidean
---- WH
*/
#ifndef EUCLIDEAN_H
#define EUCLIDEAN_H
#include "EucVariable.h"
#include "EucVector.h"
#include "Manifold.h"
#include "def.h"
/*Define the namespace*/
namespace ROPTLIB{
class Euclidean : public Manifold{
public:
/*Const... |
#pragma once
#include <tuple>
#include "xi/ext/common.h"
#include "xi/ext/meta.h"
namespace xi {
inline namespace ext {
using ::std::tuple;
using ::std::tuple_size;
using ::std::make_tuple;
using ::std::piecewise_construct;
using ::std::piecewise_construct_t;
namespace detail {
template < typename... |
/*
* Copyright (C) 2009 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 _STR_H_
#define _STR_H_
//้พๆ
typedef struct string
{
int length;
char *ch;
} String;
int strassign(String &, char *);
int strlength(String&);
int strcom(String &, String &);
int concat(String &, String, String);
int substring(String &, String, int pos, int);
int cleanstring(String &);
#endif |
//===----------------------------------------------------------------------===//
//
// Peloton
//
// query_result_consumer.h
//
// Identification: src/include/codegen/query_result_consumer.h
//
// Copyright (c) 2015-2017, Carnegie Mellon University Database Group
//
//===------------------------... |
/* Generated automatically. DO NOT EDIT! */
#define SIMD_HEADER "simd-altivec.h"
#include "../common/q1fv_2.c" |
/* $NetBSD: fpu_arith.h,v 1.4 2005/12/24 20:07:28 perry Exp $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by UnicodeTestConsole.rc
//
#define IDS_APP_TITLE 103
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_rand_17.c
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-17.tmpl.c
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: rand Set data to result of ra... |
//
// VideoView.h
// test
//
// Created by ๅๅฝฌ on 2019/9/10.
// Copyright ยฉ 2019 ๅๅฝฌ. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LBRichTextView.h"
#import <AVFoundation/AVFoundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface VideoView : UIButton<LBTextAttachmentViewProtocol>
@property (nonatomic,strong)NS... |
/* include/asm/processor.h
*
* Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
*/
#ifndef __ASM_SPARC_PROCESSOR_H
#define __ASM_SPARC_PROCESSOR_H
/*
* Sparc32 implementation of macro that returns current
* instruction pointer ("program counter").
*/
#define current_text_addr() ({ void *pc; __asm__("... |
#ifndef _TERMIOS_H
#define _TERMIOS_H
#if 0
#ifdef __cplusplus
extern "C" {
#endif
#include <features.h>
#define __NEED_pid_t
//#include <bits/alltypes.h>
//typedef unsigned char cc_t;
//typedef unsigned int speed_t;
//typedef unsigned int tcflag_t;
//#define NCCS 32
#include <bits/termios.h>
#include <termios.h... |
/*
* Copyright (c) 1991 Regents of the University of California.
* All rights reserved.
* Copyright (c) 1994 John S. Dyson
* All rights reserved.
* Copyright (c) 1994 David Greenman
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* The Mach Operating System project at C... |
/*
* Copyright (C) 2011 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 applicable law or... |
//===- Arithmetic.h - Arithmetic dialect --------------------------*- C++-*-==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
/*
* Copyright (C) 2009 Google 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 list of conditio... |
#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 Pods_DGAlertKit_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_DGAlertKit_Example... |
#pragma once
#include "../common.h"
namespace util {
// dynamic_cast and move into a new unique_ptr
template <typename TDst, typename TSrc>
std::unique_ptr<TDst> dynamic_cast_move(std::unique_ptr<TSrc> src) {
if (!src) {
return {};
} else {
auto* dst = dynamic_cast<TDst*>(src.get());
... |
/*
* Copyright 2018 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL2/SD... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define FEXT ".ap"
#define KEYFILE ".sxkey"
#define CHARSET "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
#define KEYLEN 512
#define FNLEN 128
#define MBCH 1024
#define M_ENCRYPT 0
#define M_DECRYPT 1
#define M_GENKEY 2
... |
#pragma once
#include "../compiler_setup.h"
#include "../internal_functions/all.h"
#include "../types/glmArray/glmArray.h"
#include "../internal_functions/type_checkers.h"
static PyObject*
glmArray_getPtr(glmArray* self, void*) {
return PyGLM_CtypesVoidP_FromVoidP(self->data);
}
static PyObject*
glmArray_to_byte... |
/*
* FreeRTOS Kernel V10.4.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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"), to deal in
* the Software without restriction, includ... |
//
// vcruntime_string.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// <string.h> functionality that is implemented in the VCRuntime.
//
#pragma once
#include <vcruntime.h>
#ifndef __midl
_CRT_BEGIN_C_HEADER
_NODISCARD _Check_return_
_VCRTIMP void _CONST_RETURN* __cdecl memchr(
_I... |
/**********************************************************************
*
* Filename: crc.h
*
* Description: A header file describing the various CRC standards.
*
* Notes:
*
*
* Copyright (c) 2000 by Michael Barr. This software is placed into
* the public domain and may be used for any purpose. ... |
/*************************************************************************/
/* grid_container.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
//-*-C++-*-
/***************************************************************************
*
* Copyright (C) 2009 by Willem van Straten
* Licensed under the Academic Free License version 2.1
*
***************************************************************************/
// psrchive/Base/Classes/Pulsar/FourthMome... |
#include "daydreamer.h"
/*
* Initialize a timer.
*/
void init_timer(milli_timer_t* timer)
{
timer->elapsed_millis = 0;
timer->running = false;
}
/*
* Start up a timer with a new clock.
*/
void start_timer(milli_timer_t* timer)
{
timer->running = true;
gettimeofday(&timer->tv_start, NULL);
}
/*
*... |
/*
* Copyright (c) 2015 Cisco and/or 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... |
/*
BAREOSยฎ - Backup Archiving REcovery Open Sourced
Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
Copyright (C) 2011-2012 Planets Communications B.V.
Copyright (C) 2013-2014 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of... |
๏ปฟ#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// System.Net.FileWebRequest
struct FileWebRequest_t1669470913;
// System.Uri
struct Uri_t2776692961;
// System.Runtime.Serialization.Serializ... |
#ifndef BP_BUFFER_H
#define BP_BUFFER_H
#include "Device.h"
#include "Image.h"
#include "CommandPool.h"
#include "MemoryAllocator.h"
namespace bp
{
class Buffer
{
public:
Buffer() :
device{nullptr},
size{0},
handle{VK_NULL_HANDLE},
memory{nullptr},
stagingBuffer{nullptr} {}
Buffer(Device& device, VkDevic... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "PDExpressTransactionEvent.h"
@class NSString;
@interface PDExpressTransactionEventNotFound : PDExpressTransactionEvent
{
NSString *_... |
//
// FTAudioEncoder2.h
// Talkback
//
// Created by xiachao on 15/1/20.
//
//
#import "FTMediaDelegate.h"
#import <Foundation/Foundation.h>
#import "FTAudioUnit.h"
@interface FTAudioEncoder : NSObject
@property (nonatomic) int bitrate;
@property (nonatomic,weak) id<FTMediaDelegate> mediaDelegate;
@property (nonato... |
#include <std.h>
#include "../squires_trial.h"
inherit BASEROOM;
void create(){
if(!random(3)){
set_repop(50);
set_monsters( ({SQUIREMOBS+"minielemental"}), ({random(2) + 2}) );
}
::create();
set_name("Squire's Trial Room 13");
set_short("A carved tunnel");
set_long(
"It is utterly... |
#pragma once
#include <string>
namespace systelab { namespace db {
class IConnectionConfiguration
{
public:
virtual ~IConnectionConfiguration() {}
virtual bool hasParameter(const std::string& parameterName) const = 0;
virtual std::string getParameter(const std::string& parameterName) const = 0;
};
}} |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE606_Unchecked_Loop_Condition__wchar_t_fromFile_68a.c
Label Definition File: CWE606_Unchecked_Loop_Condition.label.xml
Template File: sources-sinks-68a.tmpl.c
*/
/*
* @description
* CWE: 606 Unchecked Input For Loop Condition
* BadSource: fromFile Read input from a fil... |
/*!
* @file buchstabensuppe/flipdot.h
*
* Facilities for rendering bitmaps onto flipdot displays
* and useful bitmap manipulation when targeting flipdot displays.
*/
#ifndef BUCHSTABENSUPPE_FLIPDOT_H
#define BUCHSTABENSUPPE_FLIPDOT_H
#include <stdbool.h> /* bool */
#include <sys/socket.h> /* sockaddr */
... |
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <memory>
#include <QMainWindow>
#include <QComboBox>
#include <QTextEdit>
#include <QtEndian>
#include <QByteArray>
#include <QAudioFormat>
#include <QAudioBuffer>
#include <QAudioRecorder>
#include <QAudioFormat>
#include <QDir>
#include <QAudioDeviceInfo>
#include <... |
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkSVGAttributeParser_DEFINED
#define SkSVGAttributeParser_DEFINED
#include "include/private/SkNoncopyable.h"
#include "modules/svg/include/SkSVGTypes.h"
#include "src... |
// Copyright 2019 The Fuchsia 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 SRC_STORAGE_FSHOST_DELAYED_OUTDIR_H_
#define SRC_STORAGE_FSHOST_DELAYED_OUTDIR_H_
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/de... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_INIT_H
#define BITCOIN_INIT_H
#include <memory>
#include <string... |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* mux_am43xx.h
*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
*/
#ifndef _MUX_AM43XX_H_
#define _MUX_AM43XX_H_
#include <asm/io.h>
#define MUX_CFG(value, offset) \
__raw_writel(value, (CTRL_BASE + offset));
/* PAD Control Fields */
#define ... |
/*
Copyright (c) 2019, Ameer Haj Ali (UC Berkeley), and 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
... |
#include <stdio.h>
#include <math.h>
extern "C"
{
#include "device/cpu/cpu_define.h"
#include "device/cpu/cpu_node.h"
#include "device/cpu/cpu_module.h"
#include "device/cpu/cpu_graph.h"
#include "api/c_api.h"
#include "device/device.h"
#include "graph/tensor.h"
#include "graph/node.h"... |
/**
********************************************************************************
\file dualprocshm-c5soc.h
\brief Dual processor Library platform support header for ALtera Cyclone V SoC
This header file provides specific macros for Altera Cyclone V SoC platform .
**********************************************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.