text stringlengths 9 948k |
|---|
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2006 Intel Corporation. */
#include "e1000.h"
#include <net/ip6_checksum.h>
#include <linux/io.h>
#include <linux/prefetch.h>
#include <linux/bitops.h>
#include <linux/if_vlan.h>
char e1000_driver_name[] = "e1000";
static char e1000_driver_string[] = "Intel(R... |
// ##########################################################################################
//
// Copyright (c) 2012, Apps4Good. 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) Redistr... |
#ifdef DMOD_FAR2L
/*
cdecode.h - c header for a base64 decoding algorithm
This is part of the libb64 project, and has been placed in the public domain.
For details, see http://sourceforge.net/projects/libb64
*/
#ifndef BASE64_CDECODE_H
#define BASE64_CDECODE_H
typedef enum
{
step_a, step_b, step_c, step_d
} base64_d... |
#pragma once
#include "noncopyable.h"
#include <string>
// 封装Log 文件的打开, 写入, 并在类析构的时候关闭文件
class AppendFile : noncopyable
{
public:
explicit AppendFile(std::string filename);
~AppendFile();
// append 会向文件写
void append(const char *logline, const size_t len);
void flush();
private:
size_t write(c... |
// Copyright 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.
// This file is generated from:
// colors_test_palette.json5
// colors_test.json5
#ifndef TOOLS_STYLE_VARIABLE_GENERATOR_COLORS_TEST_EXPECTED_H_
#def... |
/** @file
UEFI User Manager Protocol definition.
This protocol manages user profiles.
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this ... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* linux/mm/memory.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*/
/*
* demand-loading started 01.12.91 - seems it is high on the list of
* things wanted, and it should be easy to implement. - Linus
*/
/*
* Ok, demand-loading was easy, shared pages a ... |
#define XMILVER_CORE "ver.0.60a"
/* #define XMILVER_WIN9X */
/* #define XMILVER_X11 */
/* #define XMILVER_SDL */ |
/***
* This code is a part of EvoApproxLib library (ehw.fit.vutbr.cz/approxlib) distributed under The MIT License.
* When used, please cite the following article(s): PRABAKARAN B. S., MRAZEK V., VASICEK Z., SEKANINA L., SHAFIQUE M. ApproxFPGAs: Embracing ASIC-based Approximate Arithmetic Components for FPGA-Based Syste... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "SerialReceiver.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "IMULibrary.generated.h"
/**
*
*/
UCLASS()
class IMU_TEST_API UIMULibrary : public UBlueprintFunctionLibrary
{
//GENERATED_BODY()
G... |
#pragma once
#include <KYEngine/InfoScriptListener.h>
#include <KYEngine/PlayingHud.h>
#include <KYEngine/PlayingHudListener.h>
#include <KYEngine/SceneTimelineInfo.h>
#include <KYEngine/Touch.h>
#include <KYEngine/TouchListener.h>
#include <list>
#include <map>
#include <set>
#include <string>
class Action;
class... |
/*
** Copyright (C) 2019, NumFOCUS Foundation.
**
** Licensed under a 3-clause BSD style license - see LICENSE
**
** This file is NOT derived from SOFA sources.
**
** The eraGetLeapSeconds and eraSetLeapSeconds functions are used as an
** experimental interface for getting and setting the leap second table in
** astrop... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <PhotosGraph/PGCurator.h>
@class PHPhotoLibrary;
@interface PGCurator_PHAsset : PGCurator
{
PHPhotoLibrary *_photoLibrary;
}
- (void).cxx_destruct;
- (void)addMoviesT... |
/* vim:set ft=c ts=4 sw=4 et fdm=marker: */
#ifndef NGX_HTTP_LUA_UTIL_H
#define NGX_HTTP_LUA_UTIL_H
#include "ngx_http_lua_common.h"
#ifndef NGX_UNESCAPE_URI_COMPONENT
#define NGX_UNESCAPE_URI_COMPONENT 0
#endif
#ifndef ngx_str_set
#define ngx_str_set(str, text) \
... |
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: rrc_sib.proto */
#ifndef PROTOBUF_C_rrc_5fsib_2eproto__INCLUDED
#define PROTOBUF_C_rrc_5fsib_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was ge... |
#include "types.h"
#include "x86.h"
#include "defs.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
int
sys_fork(void)
{
return fork();
}
int
sys_exit(void)
{
exit();
return 0; // not reached
}
int
sys_wait(void)
{
return wait();
}
int
sys_kill(void)
{
int pid;
if(argint... |
#ifndef PIPELINE_PASS_H
#define PIPELINE_PASS_H
#include "Core_pch.h"
#include "NoctisConstantBuffer.h"
namespace noctis {
class PipelinePass
{
public:
PipelinePass(std::weak_ptr<RenderDevice> rDevice, RenderState& rState)
{
}
void AddConstantBuffer(ConstantBuffer&);
template<typename First, typename.... |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
* of Tennessee Resea... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:28:15 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/AVConferen... |
/*
* Copyright (C) 2004-2006 Atmel Corporation
*
* Based on linux/arch/sh/mm/fault.c:
* Copyright (C) 1999 Niibe Yutaka
*
* 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.
*/... |
// Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_FUCHSIA_PROGRAM_METADATA_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_PROGRAM_METADATA_H_
#include <optional>
#include <string... |
//
// MLNCanvasAnimation.h
// MLN
//
// Created by MoMo on 2019/5/13.
//
#import <Foundation/Foundation.h>
#import "MLNAnimationConst.h"
#import "MLNEntityExportProtocol.h"
typedef NS_ENUM(NSUInteger,MLNCanvasAnimationStatus){
MLNCanvasAnimationStatusNone = 0,
MLNCanvasAnimationStatusRunning,
MLNCanvas... |
#ifndef TORRENT_DISPLAY_GUARD
#define TORRENT_DISPLAY_GUARD
#include "wrappers/ncurses/element.h"
#include "wrappers/ncurses/window.h"
#include "client/torrent_data.h"
#include <memory>
namespace client
{
class Torrent_display_element : public ncurses::Element
{
public:
Torrent_display_el... |
//
// LGBViewController.h
// LGBDate
//
// Created by lgb789 on 07/20/2016.
// Copyright (c) 2016 lgb789. All rights reserved.
//
@import UIKit;
@interface LGBViewController : UIViewController
@end |
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// 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, in... |
// System call numbers
#define SYS_fork 1
#define SYS_exit 2
#define SYS_wait 3
#define SYS_pipe 4
#define SYS_read 5
#define SYS_kill 6
#define SYS_exec 7
#define SYS_fstat 8
#define SYS_chdir 9
#define SYS_dup 10
#define SYS_getpid 11
#define SYS_sbrk 12
#define SYS_sleep 13
#define SYS... |
//{{BLOCK(AstonishFontShadow)
//======================================================================
//
// AstonishFontShadow, 256x128@2,
// + 512 tiles not compressed
// Total size: 8192 = 8192
//
// Exported by Cearn's GBA Image Transmogrifier, v0.8.6
// ( http://www.coranac.com/projects/#grit )
//
//============... |
#include "stdint.h"
uint32_t delay (uint32_t uiter);
void seven_seg_disp_init ();
void seven_seg_disp_off ();
uint8_t seven_seg_disp_int (uint8_t dig);
void seven_seg_disp_char (char alpha);
void fft (cplx buf[], int n); |
//
// BTProductListHeaderView.h
// BanTang
//
// Created by Ryan on 15/12/2.
// Copyright © 2015年 Ryan. All rights reserved.
//
#import <UIKit/UIKit.h>
@class BTTopicNewInfo;
@interface BTProductListHeaderView : UIView
@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) BTTopicNew... |
/*
* Copyright (c) hikyuu.org
*
* Created on: 2020-6-25
* Author: fasiondog
*/
#pragma once
#ifndef HIKYUU_PYBIND_UTILS_H
#define HIKYUU_PYBIND_UTILS_H
#include <vector>
#include <boost/python.hpp>
namespace py = boost::python;
template <class T>
struct vector_to_python_list {
static PyObject* conve... |
//
// COOLDataSource.h
// COOLDataSource
//
// Created by Ilya Puchka on 08.11.14.
// Copyright (c) 2014 Ilya Puchka. All rights reserved.
//
#ifndef COOLDataSource_COOLDataSource_h
#define COOLDataSource_COOLDataSource_h
#import "COOLAPIClientBasedDataSource.h"
#import "COOLLoadingStateMachine.h"
#import "COOLNe... |
inherit "room/room";
reset (arg) {
if(arg) return;
short_desc = "Anchor street";
long_desc = "+#####+ At the anchor street, which continues to\n"+
"|#####| the west and east. This street looks rather\n"+
"+--*--+ silent and empty, maybe because sailors and\n"... |
/*-------------------------------------------------------------------------
*
* aocssegfiles.c
* AOCS Segment files.
*
* Portions Copyright (c) 2009, Greenplum Inc.
* Portions Copyright (c) 2012-Present Pivotal Software, Inc.
*
*
* IDENTIFICATION
* src/backend/access/aocs/aocssegfiles.c
*
*-----------... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:46:12 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/CoreRoutine.framework/CoreRoutine
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ... |
#include <string.h>
#include <stddef.h>
#include <redismodule.h>
#include "cdefs.h"
#include "errors.h"
#include "modinfo.h"
#include "config.h"
struct selva_glob_config selva_glob_config = {
.debug_modify_replication_delay_ns = DEBUG_MODIFY_REPLICATION_DELAY_NS,
.hierarchy_initial_vector_len = HIERARCHY_INITI... |
int f()
{
static int local=2;
return local;
}
int f2()
{
return f();
} |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... |
/*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by fltg from
* INTERNAL/fltg/xgs/npl/bcm56780_a0/ina_2_4_13/bcm56780_a0_ina_2_4_13_FP_VLAN_INFO.map.ltl for
* bcm56780_a0 variant ina_2_4_13
*
* Tool: $SDK/INTERNAL/fl... |
#ifndef REGEXPERIENCE_EMPTY_H
#define REGEXPERIENCE_EMPTY_H
#include "constant.h"
#include <glib-object.h>
G_BEGIN_DECLS
#define AST_NODES_TYPE_EMPTY (empty_get_type ())
#define empty_new(...) (g_object_new (AST_NODES_TYPE_EMPTY, ##__VA_ARGS__, NULL))
G_DECLARE_FINAL_TYPE (Empty, empty, AST_NODES, EMPTY, Constant)... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "QQViewController.h"
#import "IQSContactsEngineObserver.h"
#import "QQDeviceLockRecommendDelegate.h"
#import "UIAlertViewDelegate.h"
#import "UITableViewDataSource.h"
#impo... |
//
// XYCounterControlEvent.h
// XYCounter
//
// Created by Kevin Chen on 2020/12/10.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface XYCounterControlEvent : NSObject
@property (strong, nonatomic) UIControl *sender;
@property (strong, nonatomic) id target;
@property (assign, nonatomic) SE... |
/**
* \file dnn/test/common/utils.h
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BA... |
//===- llvm/ADT/IntervalMap.h - A sorted interval map -----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//
// ApptentiveAppConfiguration.h
// Apptentive
//
// Created by Frank Schmitt on 12/15/16.
// Copyright © 2016 Apptentive, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
An `ApptentiveMessageCenterConfiguration` represents the Message Center
section of data downloa... |
#pragma once
#include <vector>
namespace sieve
{
std::vector<int> primes(int max);
} |
/*
* Copyright (c) 2006-2018, ZINGTO UAV
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-03-04 serni first version
*/
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "guardian.h"
#include "general_pid.h"
#define DBG_ENABLE... |
#ifndef COMMON_H
#define COMMON_H
/*
* common headers
*/
#include "config.h"
#include <hax.h>
#include <sndfile.h>
#include "inc.h"
#endif |
/*
* Copyright (C) 2004-2015 FBReader.ORG Limited <contact@fbreader.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 License, or
* (at your option) any later ... |
// Copyright 2019 Shift Cryptosecurity AG
//
// 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 ... |
/* $Id: l3ni1.c,v 2.8.2.3 2004/01/13 14:31:25 keil Exp $
*
* NI1 D-channel protocol
*
* Author Matt Henderson & Guy Ellis
* Copyright by Traverse Technologies Pty Ltd, www.travers.com.au
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorpora... |
#include <stdio.h>
#include <limits.h>
int main(){
int vet[5], i, maior = INT_MIN, menor = INT_MAX;
for(i = 0; i < 5; i++){
scanf("%d", &vet[i]);
if(vet[i] > maior){
maior = vet[i];
}
if(vet[i] < menor){
menor = vet[i];
}
}
printf("%d",... |
#ifdef HAVE_CONFIG_H
#include "../ext_config.h"
#endif
#include <php.h>
#include "../php_ext.h"
#include "../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
#include "kernel/memory.h"
ZEPHIR_INIT_CLASS(phalcon_4__closure) {
ZEPH... |
/* Copyright (c) 2005 Anatoly Sokolov
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions an... |
// Copyright (C) 2019 - 2020 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelbe... |
/*
* Marvell MBUS common definitions.
*
* Copyright (C) 2008 Marvell Semiconductor
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#ifndef __LINUX_MBUS_H
#define __LINUX... |
#pragma once
// This file provides two functions to help write elementwise kernels:
//
// cpu_kernel(TensorIterator iter, <lambda>)
// cpu_kernel_vec(TensorIterator iter, <lambda>, <vec_lambda>)
//
// Both functions may generate vectorized code. The cpu_kernel implementation
// relies on the compiler's auto-vector... |
// 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, publish, distribute, sublicense, and/or sell
//... |
/*
* Copyright (C) 2019 MediaTek Inc.
*
* 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 agr... |
#pragma once
#include <vector>
#include <memory>
#include <SDL.h>
namespace Chip8VM::Rendering {
class Renderer
{
public:
/**
* @brief Clears the frame buffer (set to black)
*/
virtual void clear() = 0;
/**
* @brief Sets a pixel @x and @y, if x or y are larger than the frame buffer, this will wrap b... |
#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(void) {
float nota1;
float nota2;
float nota3;
float media;
printf("Informe a primeira nota: \n");
scanf("%f", ¬a1);
printf("Informe a segunda nota: \n");
... |
#include "postgres.h"
#include "access/htup_details.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/skey.h"
#include "access/stratnum.h"
#include "access/table.h"
#include "catalog/catalog.h"
#include "catalog/pg_namespace.h"
#include "catalog/pg_authid.h"
#include "catalog/namespace.h"
#includ... |
#pragma once
#include <string>
#include <vector>
#include "zip_internals.h"
#include <array>
#include "../crc.h"
#include <chrono>
namespace ttl {
namespace io {
class zip_entry {
zip_internals::global_file_header m_header;
std::string m_name;
std::string m_comment;
std::string m_extra;
template<... |
//
// TTViewTemplate.h
// TemplateScrolls
//
// Created by 张贵广 on 2020/12/25.
//
#import <Foundation/Foundation.h>
#import <TTCollectionViewLayout.h>
#import <TTScrollProtocol.h>
#define TTChainPropertyStatement(ClassName, modifier, propType, propName) \
@property (nonatomic, modifier) propType propName; ... |
#ifndef FWCore_Framework_limited_EDAnalyzerBase_h
#define FWCore_Framework_limited_EDAnalyzerBase_h
// -*- C++ -*-
//
// Package: FWCore/Framework
// Class : EDAnalyzerBase
//
/**\class limited::EDAnalyzerBase EDAnalyzerBase.h "EDAnalyzerBase.h"
Description: [one line class summary]
Usage:
<usage>
*/
... |
/**
* \file
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* 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 ... |
/*
* Support for Partition Mobility/Migration
*
* Copyright (C) 2010 Nathan Fontenot
* Copyright (C) 2010 IBM Corporation
*
* 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 header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:48:22 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/LinkPresentation.framework/LinkPresentation
* classdump-dyld is licensed under GPLv3, Copyright © 201... |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_io_SyncFailedException__
#define __java_io_SyncFailedException__
#pragma interface
#include <java/io/IOException.h>
class ::java::io::SyncFailedException : public ::java::io::IOException
{
public:
SyncFailedException (::java::lang::Stri... |
/* This file is part of Into.
* Copyright (C) Intopii 2013.
* All rights reserved.
*
* Licensees holding a commercial Into license may use this file in
* accordance with the commercial license agreement. Please see
* LICENSE.commercial for commercial licensing terms.
*
* Alternatively, this file may be used und... |
#ifndef _MCP2515_H_
#define _MCP2515_H_
#include <SPI.h>
#include "can.h"
/*
* speed 16M
*/
#define MCP_16MHz_1000kBPS_CFG1 (0x00)
#define MCP_16MHz_1000kBPS_CFG2 (0xD0)
#define MCP_16MHz_1000kBPS_CFG3 (0x82)
#define MCP_16MHz_500kBPS_CFG1 (0x00)
#define MCP_16MHz_500kBPS_CFG2 (0xF0)
#define MCP_16MHz_500kBPS_CFG... |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 16/06/16 3:45p $Revision: V.1.4.5
*
* Project: CMSIS DSP Library
* Title: arm_rms_f32.c
*
* Description: Root mean square value of an arra... |
/**
* Tencent is pleased to support the open source community by making DCache 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 obtain a copy of t... |
/**
******************************************************************************
* @file stm32f3xx_hal_irda.c
* @author MCD Application Team
* @brief IRDA HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the IrDA (Infrared Data... |
#pragma once
#include <ceres/ceres.h>
#include <ceres/rotation.h>
#include <eigen3/Eigen/Dense>
#include <iostream>
#include <cstdlib>
#include <deque>
#include <map>
#include <opencv2/core/eigen.hpp>
#include <opencv2/opencv.hpp>
using namespace Eigen;
using namespace std;
struct SFMFeature
{
bool state;
i... |
#ifndef _STM32_VECTORS_H
#define _STM32_VECTORS_H
#include <stdint.h>
/*
* Functions referenced in the vector table.
*
* From the ARM ARM: "The AAPCS requires that the stack-pointer
* is 8-byte aligned on entry to a conforming function".
*
* The GCC __attribute__ ((interrupt ("IRQ"))) allows GCC to word-align t... |
/*
* linux/fs/minix/dir.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* minix directory handling functions
*
* Updated to filesystem version 3 by Daniel Aragones
*/
#include "minix.h"
#include <linux/buffer_head.h>
#include <linux/highmem.h>
#include <linux/smp_lock.h>
#include <linux/swap.h>
typedef st... |
/* /////////////////////////////////////////////////////////////////////////
* File: pantheios/implicit_link/be.WindowsConsole.WithCallback.h
*
* Purpose: Implicitly links in the Pantheios Windows Console Back-End Library
*
* Created: 18th July 2005
* Updated: 29th June 2016
*
* Home: http://pantheios.org... |
/**
* This header is generated by class-dump-z 0.2-0.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "VKMLiveController.h"
#import "AudioPlaylistDetailModelDelegate.h"
@class AudioPlaylistDetailModel, NSString, AudioPlaylistView, TeaserView;
__attribute__((... |
//#define DEBUG_VOLVO
#ifdef DEBUG_VOLVO
int giraffe_forward_camera_volvo_prev = 0;
bool controls_allowed_prev_v = 0;
bool relay_malfunction_prev = false;
bool valid_prev = false;
bool ok_to_send_prev = false;
int tx_prev = 0;
int counterloop = 0;
#endif
/*
Volvo Electronic Control Units abbreviations and network top... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_dest_wchar_t_ncat_03.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_dest.string.label.xml
Template File: sources-sink-03.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate using mal... |
#include <btgecm.h>
char *btge_voxnames_cache[4096];
BTGE_VoxelInfo *btge_voxinfo[4096];
BTGE_VoxelInfo *btge_oldvoxinfo[4096];
#if 0
int BTGE_Voxel_EncodeBufferRLE(byte *obuf, byte *ibuf, int isz)
{
byte *cs, *cse, *ct, *cte;
byte *cs1, *cs1e;
int i;
cs=ibuf; cse=ibuf+isz;
ct=obuf; cte=obuf+2*isz;
while((cs<... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object3080106164.h"
// System.Collections.Generic.IList`1<UnityEngine.EventSystems.BaseRaycaster>
struct IList_1_t1671227070;
#ifdef __clang__
#pragma c... |
/* * USART.c
*
* Created on: 27-03-2019
* Author: Adm Djellouli
*/
#include "USART.h"
void USART_Init(unsigned int baud) {
/* prędkość transmisji */
UBRRH = (unsigned char)(baud >> 8);
UBRRL = (unsigned char)baud;
/* Format ramki: słowo=8bitów, 2 bity stopu */
UCSRC = (1 << URSEL) | (1 << USBS) ... |
/*
* Copyright 2012-15 Advanced Micro Devices, Inc.
*
* 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... |
// SPDX-License-Identifier: GPL-2.0
/*
* Preempt / IRQ disable delay thread to test latency tracers
*
* Copyright (C) 2018 Joel Fernandes (Google) <joel@joelfernandes.org>
*/
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <... |
/*
* Copyright (C) 2020 Yago Fontoura do Rosario <yago.rosario@hotmail.com.br>
* 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 co... |
/*
frame: Central data structures and opmitization hooks.
copyright 2007 by the mpg123 project - free software under the terms of the LGPL 2.1
see COPYING and AUTHORS files in distribution or http://mpg123.org
initially written by Thomas Orgis
*/
#ifndef MPG123_FRAME_H
#define MPG123_FRAME_H
#include <stdio.h>
#... |
// SHAPES :: https://github.com/prideout/par
// Simple C library for creation and manipulation of triangle meshes.
//
// The API is divided into three sections:
//
// - Generators. Create parametric surfaces, platonic solids, etc.
// - Queries. Ask a mesh for its axis-aligned bounding box, etc.
// - Transfor... |
#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_StompClientLib_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_StompClientLib_T... |
#include "Problem.h"
#include <stdio.h>
#include <stdlib.h>
void initQueenProblem(Problem* p,int newn ){
p->d=newDomain(newn);
p->n = newn;
p->c=malloc(sizeof(Constraint)*3*(p->n)*(p->n)-3*(p->n));
int compte = 0;
for(int i = 0;i<p->n;i++){
for(int j=0;j<p->n;j++){
if(i!=j){
Constraint cl,... |
/*
Copyright (c) 2015, 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 and the follow... |
/**
* Copyright (c) Microsoft Corporation
*
* 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
*
* THIS CODE IS P... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:14:33 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/Frameworks/MediaPlayer.fram... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
// This file and the associated implementation has been placed in the public domain, waiving all copyright. No restrictions are placed on its use.... |
/*
* cocos2d for iPhone: http://www.cocos2d-iphone.org
*
* Copyright (c) 2008-2010 Ricardo Quesada
* Copyright (c) 2011 Zynga Inc.
*
* 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 w... |
/*-------------------------------------------------------------------------
*
* json.c
* JSON data type support.
*
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/backend/utils/adt/json.c
... |
/*
* saa7185 - Philips SAA7185B video encoder driver version 0.0.3
*
* Copyright (C) 1998 Dave Perks <dperks@ibm.net>
*
* Slight changes for video timing and attachment output by
* Wolfgang Scherr <scherr@net4you.net>
*
* Changes by Ronald Bultje <rbultje@ronald.bitfreak.net>
* - moved over to linux>=2.4.x ... |
/*
* Copyright (C) 2008, 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 condit... |
class CNoRecoil;
class CNoRecoil
{
public:
void V_CalcRefdef(struct ref_params_s *pparams);
void CL_CreateMove(struct usercmd_s *cmd);
void DrawRecoil();
};
extern CNoRecoil g_NoRecoil; |
/* lzo1c_cc.c -- LZO1C compression internal entry point
This file is part of the LZO real-time data compression library.
Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
modify it under the terms of the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.