text stringlengths 9 948k |
|---|
/*
* This file is part of the Nice GLib ICE library.
*
* (C) 2008-2009 Collabora Ltd.
* Contact: Youness Alaoui
* (C) 2007-2009 Nokia Corporation. All rights reserved.
* Contact: Rémi Denis-Courmont
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may... |
/**
* Copyright (C) Arm Limited 2013-2016. 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 version 2 as
* published by the Free Software Foundation.
*/
#ifndef NATIVE_GATOR_DAEMON_DRIVERCOUNTER_H_
#define NATIVE_... |
/*
* Copyright (c) 2017, Intel 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 rights to use, copy, modify, merge, publis... |
void fpga_init();
void fpga_0clear();
void fpga_1clear();
void fpga_Control(unsigned int,int);
void fpga_setadrs(int);
void fpga_setdata(unsigned long,unsigned long);
void fpga_start();
void fpga_TWE(int);
void fpga_serial(int,int,int);
void fpga_datset(unsigned long);
void fpga_abort(void);
void fpga_debug(void); |
/***********************************************************************
filename: CEGUIPropertySet.h
created: 21/2/2004
author: Paul D Turner
purpose: Defines interface for the PropertySet class
*************************************************************************/
/****************************************... |
/*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pr... |
/*******************************************************************
* This file is part of the Emulex Linux Device Driver for *
* Fibre Channel Host Bus Adapters. *
* Copyright (C) 2017 Broadcom. All Rights Reserved. The term *
* “Broadcom” refers to Broadcom Limited and... |
#ifndef __X86_IO_H__
#define __X86_IO_H__
#include <stdint.h>
static inline uint8_t
in_byte(uint16_t port) {
uint8_t data;
asm volatile("in %1, %0" : "=a"(data) : "d"(port));
return data;
}
static inline uint32_t
in_long(uint16_t port) {
uint32_t data;
asm volatile("in %1, %0" : "=a"(data) : "d"(port));
return... |
//
// MainViewController.h
// uMobile
//
// This is the controller for the Main view. This is the entry point for the app.
//
// If you're new to this codebase, now would be a good time to take a look at the storyboard
// file--there is an arrow (that can be moved to any other view controller to aid in debugging)
... |
/*
* CrissCross
* A multi-purpose cross-platform library.
*
* A product of Uplink Laboratories.
*
* (c) 2006-2008 Steven Noonan.
* Licensed under the New BSD License.
*
*/
#ifndef __included_cc_core_network_h
#define __included_cc_core_network_h
#include <crisscross/error.h>
namespace CrissCross
{... |
/*
* Copyright (c) 2019 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_LEVEL LOG_LEVEL_INF
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(audio_proc);
#include <zephyr/zephyr.h>
#include "audio_core.h"
K_SEM_DEFINE(audio_proc_small_block_sem, 0, 1);
K_SEM_DEFINE(audio_proc_large_b... |
/*
* Copyright 2020 by Morgan
*
* This software BSD-new. See the included COPYING file for details.
*
* License: BSD-new
* ==============================================================================
* Redistribution and use in source and binary forms, with or without
* modification, are permitted... |
/*******************************************************************************
Copyright (c) 2016, The OpenBLAS Project
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 ... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <ie_common.h>
#include <mkldnn_node.h>
#include <string>
#include <memory>
#include <vector>
namespace MKLDNNPlugin {
enum TopKLayoutType {
topk_ncsp,
topk_nspc,
topk_blocked
};
enum TopKAlgorit... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright (c) 2014-2017 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef LIBCBOR_TAGS_H
#define LIBCBOR_TAGS_H
#include "cbor/common.h"
#ifdef __cplusplus
extern "C" {
#endif
... |
/* Copyright (c) 2016-2017, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file shared_random_state.c
*
* \brief Functions and data structures for the state of the random protocol
* as defined in proposal #250.
**/
#define SHARED_RANDOM_STATE_PRIVATE
#include "or.h"
#include ... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:52:50 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/PersonalizationPortraitInternals.framework/PersonalizationPortraitInternals
* classdump-dyld is licen... |
// Copyright (c) 2014-2015 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_COMPAT_ENDIAN_H
#define BITCOIN_COMPAT_ENDIAN_H
#if defined(HAVE_CONFIG_H)
#include "config/zula-config.h"
#endif... |
//------------------------------------------------------------------------------
// <copyright project="BEmu_cpp" file="headers/MarketDataRequest/MarketMessageSubscriptionData.h" company="Jordan Robinson">
// Copyright (c) 2013 Jordan Robinson. All rights reserved.
//
// The use of this software is governed by... |
/*
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
#ifndef INPUT_MOUSEEVENTARGS_H
#define INPUT_MOUSEEVENTARGS_H
#include "Common.Input/Keyboard.h"
#include "Common.Input/Mouse.h"
namespace input {
class MouseEventArgs
{
public:
virtual ~MouseEventArgs();
inline const Keyboard GetKeyboardState() const { return m_keyboard; }
inline const Mouse GetMouseState... |
/********************************************************************************
Copyright (C) 2016 Marvell International Ltd.
Marvell BSD License Option
If you received this File from Marvell, you may opt to use, redistribute and/or
modify this File under the following licensing terms.
Redistribution and use in sou... |
#ifndef RecoLocalTracker_SiPixelRecHits_PixelCPEClusterRepair_H
#define RecoLocalTracker_SiPixelRecHits_PixelCPEClusterRepair_H
#include "RecoLocalTracker/SiPixelRecHits/interface/PixelCPEBase.h"
// Already in the base class
//#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
//#include "Geometry/TrackerGeome... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:26:41 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/TVMLKit.framework/TVMLKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L... |
//
// ApiCallback.h
// mtopext
//
// API请求回调
// Created by sihai on 4/11/14.
// Copyright (c) 2014 Taobao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <mtopext/Constants.h>
@class MtopExtRequest;
@class MtopExtResponse;
/*!
* 请求开始, 回调block
* @param request
*/
typedef void (^MtopExtReq... |
#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_SwiftTests_tvOSSwiftTestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SwiftTests_... |
/*
* Copyright (c) 2008-2016 Allwinner Technology Co. Ltd.
* All rights reserved.
*
* File : RecoderWriter.h
* Description : RecoderWriter
* History :
*
*/
#ifndef __RECODER_WRITER_H__
#define __RECODER_WRITER_H__
#include "CdxWriter.h"
typedef enum CDX_FILE_MODE
{
FD_FILE_MODE,
FP_FILE_MODE
}CDX_FI... |
/******************************************************************************
*
* Name: acconfig.h - Global configuration constants
* $Revision: 1.1 $
*
*****************************************************************************/
/*************************************************************************... |
// Copyright (c) 2014-2019, The KickAssCoin Project
//
// 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 l... |
/*
* POSIX library for Lua 5.1, 5.2, 5.3 & 5.4.
* Copyright (C) 2013-2021 Gary V. Vaughan
* Copyright (C) 2010-2013 Reuben Thomas <rrt@sc3d.org>
* Copyright (C) 2008-2010 Natanael Copa <natanael.copa@gmail.com>
* Clean up and bug fixes by Leo Razoumov <slonik.az@gmail.com> 2006-10-11
* Luiz Henrique de Figueiredo... |
#import <Foundation/Foundation.h>
#import "MSAbstractLog.h"
#import "MSConstants.h"
#import "MSDevice.h"
#import "MSLogWithProperties.h"
#import "MSMobileCenter.h"
#import "MSMobileCenterErrors.h"
#import "MSService.h"
#import "MSServiceAbstract.h"
#import "MSWrapperSdk.h"
#import "MSMobileCenterErrors.h"
#import "MSC... |
#include<stdio.h>
int main(){
int int_var = 5;
int *int_ptr;
int_ptr = &int_var;//int_var addressを int_ptrに設定
printf("int_ptr = 0x%08x\n",int_ptr);
printf("&int_ptr = 0x%08x\n",&int_ptr);
printf("*int_ptr = 0x%08x\n",*int_ptr);
printf("int_varの格納場所:0x%08x その内容:%d\n",&int_var,int_var);
printf("int_ptrの格納場所:0... |
#include <stdio.h>
int main()
{
int my_value = 1337;
// &: Memoryaddress
printf("Value: %d\n", my_value);
printf("Memory address: %p\n", (void *)(&my_value));
printf("Size: %lu\n", sizeof(my_value));
return 0;
} |
//**************************************************
// \file PhysicsEvent.h
// \brief: implementation of Event class
// \author: Lorenzo Pezzotti (CERN EP-SFT-sim)
// @lopezzot
// Edoardo Proserpio (Uni Insubria)
// Iacopo Vivarelli (Uni Sussex)
// \start date: 20 August 2021
//*******************... |
#include "common.h"
u64 sub32_v2(u64 x, u64 y)
{
volatile u32 r;
r = (u32)x - (u32)y;
return r;
} |
//
// Copyright (c) 2017 Advanced Micro Devices, Inc. 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, including without limitation the rights
/... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticmapreduce/EMR_EXPORTS.h>
#include <aws/elasticmapreduce/model/SpotProvisioningSpecification.h>
#include <aws/elasticmapreduce/model/OnDemandProvisioningSpecification.... |
/*
Copyright (c) 2017 Microsemi Corporation "Microsemi".
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, me... |
//
// BCQQSocialHandler.h
// Pods
//
// Created by caiwb on 16/7/18.
//
//
#import <Foundation/Foundation.h>
#import <TencentOpenAPI/TencentOAuth.h>
#import <TencentOpenAPI/TencentApiInterface.h>
#import <TencentOpenAPI/QQApiInterface.h>
#define QQ_ACCESS_TOKEN @"QQ_ACCESS_TOKEN"
#define QQ_OPEN_ID @"... |
void dificultad();
void inicializarArreglo();
void gotoxy(int x,int y);
void pintar();
void dibujarcuerpo();
void guardarposicion();
void borrarcuerpo();
void Teclear(char &tecla);
void comida();
void puntosx();
void proceso(char &tecla, int &puntos);
bool gameover(); |
/* ====================================================================
* Copyright (c) 2011 The OpenSSL Project. 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 ... |
/**
* \file display.h
*
* \brief Create logs images & QR
*
* This file is used to create ICON images and creating QR-code for OLED display of size 64x128.
*
* \date 3.1.2020
*/
#include <U8g2lib.h>
#include <U8x8lib.h>
#include <qrcode.h>
///version 3 code with double sized code and starting at y0 = 2 is goo... |
/* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... |
/* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2015
Free Software Foundation, Inc.
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
with help from Dan Sahlin (dan@sics.se) and
commentary by Jim Blandy (jimb@ai.mit.edu);
adaptation to memchr suggested by Dick ... |
#include "../inc/helpers.h"
void getString(const CONTROLINT responseSize, char *answer)
{
char inputFilter[12];
clearBuffer();
sprintf(inputFilter," \%%%hu[^\n]s",responseSize);
scanf(inputFilter,answer);
}
CONTROLINT getShortInteger(const char *question)
{
CONTROLINT integer;
printf(question);
scanf(" %h... |
/**
* (C) Copyright 2016-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... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#ifndef CRYINCLUDE_EDITOR_CONTROLS_FOLDERTREECTRL_H
#define CRYINCLUDE_EDITOR_CONTROLS_FOLDERTREE... |
/*
* Driver for Micronas drx397xD demodulator
*
* Copyright (C) 2007 Henk Vergonet <Henk.Vergonet@gmail.com>
*
* 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 Lice... |
#pragma once
#include "AdaptiveWarning.g.h"
namespace winrt::AdaptiveCards::ObjectModel::Uwp::implementation
{
struct AdaptiveWarning : AdaptiveWarningT<AdaptiveWarning>
{
AdaptiveWarning(winrt::AdaptiveCards::ObjectModel::Uwp::WarningStatusCode const& statusCode, hstring const& message);
prope... |
/**
* Copyright (c) 2017-present, Status Research and Development GmbH.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same dir... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
+---------... |
/*
* Copyright (c) 1999-2000 Image Power, Inc. and the University of
* British Columbia.
* Copyright (c) 2001-2002 Michael David Adams.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer License Version 2.0
*
* Copyright (c) 2001-2006 Michael David Adams
* Copyright (c) 1999-2000 Image Pow... |
/*
* Copyright (C) 2014 BlueKitchen GmbH
*
* 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 and the follo... |
/* $Id: pjsua_app_legacy.c 6028 2019-06-13 05:58:18Z ming $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Licen... |
/* aliasbr.c - new aliasing mechanism */
#ifndef lint
static char ident[] = "@(#)$Id: aliasbr.c,v 1.14 1993/02/26 21:58:38 jromine Exp $";
#endif /* lint */
#include "../h/mh.h"
#include "../h/aliasbr.h"
#ifdef BSD44
#include <sys/types.h>
#endif
#include <ctype.h>
#include <grp.h>
#include <pwd.h>
#include <stdio.h>
... |
/*
* openfs.c --- open an ext2 filesystem
*
* Copyright (C) 1993, 1994, 1995, 1996 Theodore Ts'o.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Library
* General Public License, version 2.
* %End-Header%
*/
#include "config.h"
#include <stdio.h>
#include <string.h>
#if HAVE_UN... |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... |
#ifndef _TM_MALLOC_H_
#define _TM_MALLOC_H_
#include <stdlib.h>
void *tm_malloc(size_t size, char *, int);
void *tm_calloc(size_t count, size_t size, char *, int);
void *tm_realloc(void *ptr, size_t size, char *, int);
void tm_free(void *ptr);
void tm_mem_check(void);
/* for debugging malloc */
/* #define __DEBUG_TM_... |
/**
******************************************************************************
* @file rtc.c
* @brief This file provides code for the configuration
* of the RTC instances.
******************************************************************************
* @attention
*
* <h2><center>©... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/**********************************************************************
Intel 8255A Programmable Peripheral Interface emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
**********************************************************************
... |
// Copyright 2018-present the Material Components for iOS 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
//... |
/*
* Driver for the Conexant CX23885 PCIe bridge
*
* Copyright (c) 2006 Steven Toth <stoth@linuxtv.org>
*
* 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 Lice... |
/* Copyright (c) 2012-2016, The Linux Foundataion. 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... |
// 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:
//
// ... |
// Copyright © 2018 650 Industries. All rights reserved.
#import <Foundation/Foundation.h>
#import <ABI33_0_0UMCore/ABI33_0_0UMInternalModule.h>
#import <ABI33_0_0UMSensorsInterface/ABI33_0_0UMAccelerometerInterface.h>
#import <ABI33_0_0UMSensorsInterface/ABI33_0_0UMBarometerInterface.h>
#import <ABI33_0_0UMSensorsInt... |
/* mpf_div_2exp -- Divide a float by 2^n.
Copyright 1993, 1994, 1996, 2000, 2001, 2002, 2004 Free Software Foundation,
Inc.
This file is part of the GNU MP Library.
The GNU MP 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
t... |
// Copyright (c) 2019 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 ... |
#ifndef __COMMON__
#define __COMMON__
/*
This header file mainly contains std library
and might be included in the whole project.
*/
#include <vector>
#include <string>
#include <string_view>
#include <filesystem>
#include <memory>
#include <tuple>
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include ... |
/* Motorola 68k series support for 32-bit ELF
Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under... |
/* Binary Matrix Tile Debugging
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#ifndef PokemonAutomation_Kernels_BinaryMatrixTile_Debugging_H
#define PokemonAutomation_Kernels_BinaryMatrixTile_Debugging_H
#include <string>
#include <iostream>
using std::cout;
using std::endl;
namespace Pok... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:33 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/SafariServices.fra... |
/*
* WPA Supplicant - background scan and roaming interface
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#include "config_ssid.... |
//
// SentryCrashCachedData.c
//
// Copyright (c) 2012 Karl Stenerud. 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, including without limit... |
//------------------------------------------------------------------------------
// GB_AxB: hard-coded functions for semiring: C<M>=A*B or A'*B
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http://sui... |
/*
* linux/arch/arm/lib/copypage-armv4mc.S
*
* Copyright (C) 1995-2005 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This handles the mini data cache, a... |
#ifndef READER_H
#define READER_H
#include <string>
#include <iostream>
#include <fstream>
class Reader{
public:
virtual ssize_t read(char* buffer, uint len)=0;
virtual bool open(std::string name)=0;
virtual void close()=0;
};
class Mock_reader: public Reader{
public:
Mock_reader(){};
~Moc... |
/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#ifndef _... |
// Copyright (C) 2016 Elviss Strazdins
// This file is part of the Ouzel engine.
#pragma once
#include <functional>
#include "utils/Types.h"
#include "gui/Widget.h"
#include "events/Event.h"
#include "events/EventHandler.h"
#include "math/Color.h"
namespace ouzel
{
namespace gui
{
class Button: publi... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/lixh/enb_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/enb_folder/cmake_targets/lte... |
/*
* Copyright (c) 2013-2015 by appPlant UG. All rights reserved.
*
* @APPPLANT_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apache License
* Version 2.0 (the 'License'). You may not use this file except in
* complia... |
/*
* CheckVector.h
*
*/
#ifndef TOOLS_CHECKVECTOR_H_
#define TOOLS_CHECKVECTOR_H_
#include <vector>
using namespace std;
template <class T>
class CheckVector : public vector<T>
{
public:
CheckVector() : vector<T>() {}
CheckVector(size_t size) : vector<T>(size) {}
CheckVector(size_t size, const T& def)... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM d:/firefox-5.0.1/mozilla-release/widget/public/nsIPrintSettingsWin.idl
*/
#ifndef __gen_nsIPrintSettingsWin_h__
#define __gen_nsIPrintSettingsWin_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL fi... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "sparse_tensor_address_ref.h"
#include <vespa/vespalib/stllike/string.h>
namespace vespalib::tensor {
/**
* A writer to serialize tensor addresses into a compact representat... |
// Copyright (c) 2010 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 SANDBOX_SRC_POLICY_ENGINE_OPCODES_H__
#define SANDBOX_SRC_POLICY_ENGINE_OPCODES_H__
#include "sandbox/win/src/policy_engine_params.h"
#includ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__free_char_alloca_63a.c
Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml
Template File: sources-sink-63a.tmpl.c
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: alloca Data buffer is allocated on the... |
#include<logging/log.h>
#include <zephyr.h>
#include <kernel.h>
#include <string.h>
#include <errno.h>
#include <date_time.h>
#include <net/mqtt.h>
#include <net/socket.h>
#include <net/tls_credentials.h>
#include <data/jwt.h>
#include <modem/modem_key_mgmt.h>
#include <modem/bsdlib.h>
#include <bsd.h>
#include "... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:18 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/NewsTransport.framework/NewsTransport
* classdump-dyld is licensed under GPLv3, Copyright © 2013-201... |
//
// 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 <objc/NSObject.h>
#import "IDSUTunDeliveryControllerConnectivityDelegate-Protocol.h"
@class NRDeviceMonitor, NSDate, NSString, NSTimer;
... |
#define TK_SEMI 1
#define TK_EXPLAIN 2
#define TK_QUERY 3
#define TK_PLAN 4
#define TK_BEGIN 5
#define TK_TRANSACTION 6
#define TK_DEFERRED ... |
#ifndef _HASTABLE_H_
#define _HASTABLE_H
typedef struct stHT * HashTable;
typedef struct stNode * Node;
typedef int Element;
typedef int Key;
#define _invalid -5555;
HashTable CreateHashTable(int iTableSize);
void InsertElement(Element n, HashTable myHt);
int GetNoElements(Element iKey, HashTable m... |
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
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) any later version.
Thi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 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... |
//------------------------------------------------------------------------------
// 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) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/* ghnco_Jnca_3DS3.c
This pulse sequence records 1J(NCa), 2J(NCa), 2J(HNCa)... |
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "tokenizer.h"
#include "parser.h"
// Simple type declaration
/*static char input[] =\
"Teacher { fio: Char[], department: Char[], "
"position: Char[], phone: Int, courses: Char[][] };";
*/
// Advanced type declaration
// data Entry = Student { name... |
/*
* Parts adapted from Open Shading Language with this license:
*
* Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al.
* All Rights Reserved.
*
* Modifications Copyright 2011, Blender Foundation.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.