text
stringlengths
9
948k
/*! * @file apm32f10x_gpio.h * * @brief This file contains all the functions prototypes for the GPIO firmware library * * @version V1.0.1 * * @date 2021-03-23 * */ #ifndef __APM32F10X_GPIO_H #define __APM32F10X_GPIO_H #include "apm32f10x.h" #ifdef __cplusplus extern "C" { #endif /** @a...
/**************************************************************************** * * Copyright 2016 Samsung Electronics 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...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:22:56 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/Frameworks/Intents.framework/Intents * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ ...
/*!\file pcrarp.c * * RARP - Boot Protocol (RFC 903). * * These extensions get called if MY_IP is set to RARP in wattcp.cfg * * Version * * 0.0 : Sept 6, 1996 : Copied from E. Engelke's pcbootp.c by Dan Kegel * 0.1 : Febr 9, 1997 : Modified, removed debug printing, G. Vanem */ #include <stdio.h> #inclu...
#ifndef FIGURE_H #define FIGURE_H #include "point.h" #include "link.h" #include "drawing.h" #include "operations.h" struct figure { points_data points; links_data links; }; figure& init(); void empty_figure(figure& fig); void copy_figure(figure& fig, figure& tmp); int load_figure_from_file(figure &ob, const c...
/* LZ4 - Fast LZ compression algorithm Copyright (C) 2011-2014, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
/******************************************************************************* * LBF_USB_MassStorage.h ******************************************************************************/ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __LBF_USB_MASSSTORAGE_H #define __LBF_US...
/* Shiny Hunt - Overworld * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #ifndef PokemonAutomation_PokemonBDSP_ShinyHuntOverworld_H #define PokemonAutomation_PokemonBDSP_ShinyHuntOverworld_H #include "CommonFramework/Options/StaticTextOption.h" #include "CommonFramework/Notifications/EventNo...
/* -*- Mode: c; c-basic-offset: 2 -*- * * raptor_serialize.c - Raptor Serializer API * * Copyright (C) 2004-2010, David Beckett http://www.dajobe.org/ * Copyright (C) 2004-2005, University of Bristol, UK http://www.bristol.ac.uk/ * * This package is Free Software and part of Redland http://librdf.org/ * * It...
// Barrier locks for processes struct barrierlock { uint locked; // Is the lock held? struct spinlock lk; int max_processes_count; int cur_processes_count; };
/* Copyright 2022 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 a...
/*************************************************************************/ /* */ /* Copyright 2010 Rulequest Research Pty Ltd. */ /* */ /* This file is part of Cubist GPL Edition, a single-threaded version */ /* of Cubist release 2.07. */ /* */ /* Cubist GPL Edition is free so...
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe // SPDX-License-Identifier: MIT #pragma once #include <Jolt/Geometry/RayTriangle.h> JPH_SUPPRESS_WARNINGS_STD_BEGIN #include <unordered_map> JPH_SUPPRESS_WARNINGS_STD_END JPH_NAMESPACE_BEGIN /// Store vertices in 64 bits and indices in 8 bits + 8 bit of flags per triang...
/** * \file * \author Thomas Fischer * \date 2010-09-07 * \brief Definition of the PiecewiseLinearInterpolation class. * * \copyright * Copyright (c) 2012-2018, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENS...
#include "dt.h" #include "tap.h" const struct test { int y; int w; int d; bool current; int ey; int ew; int ed; } tests[] = { {2012, 10, 1, 1, 2012, 10, 1}, {2012, 10, 2, 1, 2012, 10, 2}, {2012, 10, 3, 1, 2012, 10, 3}, {2012, 10, 4, 1, 2012, 10, 4}, {2012, 10, 5, 1...
/***************************** Include Files *******************************/ #include "Speck_Block_Cipher_Multirate.h" /************************** Function Definitions ***************************/
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:49:37 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/HealthDaemon.framework/HealthDaemon * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 b...
/********************************************************************** * Copyright (c) 2015 Pieter Wuille * * Distributed under the MIT software license, see the accompanying * * file COPYING or http://www.opensource.org/licenses/mit-license.php.* *******************************...
/****************************************************************************** * Code generated with sympy 0.7.6 * * * * See http://www.sympy.org/ for more information. * ...
/************************************************************************************************************************ Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies. All rights reserved. Redistribution and use in source and binary forms, with or without modification, ...
#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 #import "LCXListViewKit.h" #import "LCXSuperCollectionViewCell.h" #import "LCXSuperTableViewCell.h" #import "UICollectionView...
#include "smack.h" // @flag --clang-options=-O1 // @expect verified typedef struct { int a; long b; } S; S foo() { S x = {1, 2L}; assert(1); return x; } int main() { S y = foo(); assert(y.a == 1); return 0; }
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/wait.h> #include <ctype.h> int main() { int pid; int wp; int status; printf("In parent: PID %d\n", getpid()); // man page of getpid(2): These functions are always successful long seconds; char in_string[32] = {}; ...
// Brian Goldman // Tournament Uniform Crossover is designed to be a parameter-less and simple // method for combining r-bit hill climbing with uniform crossover to // create a global search algorithm #ifndef TUX_H_ #define TUX_H_ #include "Optimizer.h" #include <random> class TUX : public Optimizer { // Current l...
@import ARKit; @import Flutter; @interface SceneViewDelegate: NSObject<ARSCNViewDelegate> - (instancetype)initWithChannel:(FlutterMethodChannel*) channel; @end
#pragma once #include <limits> #include "dxvk_bind_mask.h" #include "dxvk_buffer.h" #include "dxvk_descriptor.h" #include "dxvk_event_tracker.h" #include "dxvk_lifetime.h" #include "dxvk_limits.h" #include "dxvk_pipelayout.h" #include "dxvk_query_tracker.h" #include "dxvk_staging.h" #include "dxvk_stats.h" #include "...
// // UIView+Night.h // UIView+Night // // Copyright (c) 2015 Draveness. All rights reserved. // // These files are generated by ruby script, if you want to modify code // in this file, you are supposed to update the ruby code, run it and // test it. And finally open a pull request. #import <UIKit/UIKit.h> #imp...
/* -- MAGMA (version 2.2.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date November 2016 @precisions normal z -> c d s @author Weifeng Liu */ #ifndef MAGMASPARSE_ATOMICOPS_FLOAT_H #define MAGMASPARSE_ATOMICOPS_FLOAT_H #incl...
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #include "amp_board_config.h" #define AMP_FS_ROOT_DIR "/data/jsamp" #define JSE_CORE_ADDON_INITJS /* enable high-level jsapi */ #define JSE_HIGHLEVEL_JSAPI /* js engine low memory enabled */ // #define AMP_LOWMEMORY_ENABLE /* manager channel */ #defi...
/** * 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 "WeChat-Structs.h" #import <XXUnknownSuperclass.h> // Unknown library #import "PBCoding.h" @class NSString; @interface FICEntityMetadata : XXUnknownSuperclas...
/* ---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support * ---------------------------------------------------------------------------- * Copyright (c) 2008, Atmel Corporation * * All rights reserved. * * Redistribution and use in source an...
/***************************************************************************//** * @file main_s0_tg.c * @brief Demonstrates USART1 as SPI master. ******************************************************************************* * # License * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b> ***********...
/* This file is part of drd, a thread error detector. Copyright (C) 2006-2017 Bart Van Assche <bvanassche@acm.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 ...
#ifndef _MAINWIDGETSEAPI_H_ #define _MAINWIDGETSEAPI_H_ #include <QtCore/QtGlobal> #if defined(MAINWIDGETS_API) #define MAINWIDGETSAPI Q_DECL_EXPORT #else #define MAINWIDGETSAPI Q_DECL_IMPORT #endif #endif
//============================================================================================================= /** * @file tmsiimpedanceview.h * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Lorenz Esch <lesch@mgh.harvard.edu> * @since 0.1.0 * @date June, 2014 * * @section LICEN...
/* * Copyright (c) 2017 Trail of Bits, 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 o...
// Chewman Vulkan game // Copyright (c) 2018-2019, Igor Barinov // Licensed under the MIT License #pragma once #include <cstdint> #include <functional> namespace Chewman { constexpr uint16_t LevelsCount = 36; using CallbackFunc = std::function<void(float)>; enum class GameState { MainMenu, Level, Pause,...
#include "anim_05013EDC.inc.c" #include "anim_050140E8.inc.c" #include "anim_050142E0.inc.c" #include "anim_050144BC.inc.c"
/* * International Chemical Identifier (InChI) * Version 1 * Software version 1.06 * December 15, 2020 * * The InChI library and programs are free software developed under the * auspices of the International Union of Pure and Applied Chemistry (IUPAC). * Originally developed at NIST. * Modifications and additi...
/* * Copyright 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
/* * Copyright 2019, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(DATA...
// Test instrumented profiling ld flags. // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -target i386-unknown-linux -fprofile-instr-generate \ // RUN: -resource-dir=%S/Inputs/resource_dir \ // RUN: --sysroot=%S/Inputs/basic_linux_tree \ // RUN: | FileCheck --check-prefix=CHECK-LINU...
/******************************************************************************* * Ledger App - Bitcoin Wallet * (c) 2016-2019 Ledger * * 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 * ...
#include<stdio.h> #include<unistd.h> int main() { pid_t pid; pid = fork(); if(pid==-1) { fprintf(stderr,"Fork failed"); } else if(pid==0) { printf("Child process\n"); } else if (pid > 0) { printf("Parent process"); } }
#ifndef _LINUX_MSDOS_FS_H #define _LINUX_MSDOS_FS_H #include <linux/types.h> #include <linux/magic.h> #include <asm/byteorder.h> /* * The MS-DOS filesystem constants/structures */ #define SECTOR_SIZE 512 /* sector size (bytes) */ #define SECTOR_BITS 9 /* log2(SECTOR_SIZE) */ #define MSDOS_DPB (MSDOS_DPS) /* dir ...
#include "../../src/sio_client.h" #include <functional> #include <iostream> #include <thread> #include <mutex> #include <condition_variable> #include <string> using namespace sio; using namespace std; std::mutex _lock; std::condition_variable_any _cond; bool connect_finish = false; class connection_listener { ...
/* packet-macsec.c * Routines for MACSEC dissection * Copyright 2013, Allan W. Nielsen <anielsen@vitesse.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or modify * it under the t...
// Copyright 2014 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 CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ #include <v...
#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.Dictionary`2<System.Int16,ZGGame.IResponder> struct Dictionary_2_t1297622591; #ifdef __clang__ #pragma...
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)1998-2021, WWIV Software Services */ /* ...
/* * * Author: Giacomo Lozito <james@develia.org>, (C) 2005-2006 * * 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. * * T...
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ /* This file was mostly inspired by source code found at: http://www.codeguru.com/cpp/cpp/algorithms/article.p...
// 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 EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_ #define EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_ #include "extensions/browser/...
/* sample.c was originally generated by the autoSql program, which also * generated sample.h and sample.sql. This module links the database and * the RAM representation of objects. */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licen...
/* olcPixelGameEngineC.h +-------------------------------------------------------------+ | OneLoneCoder Pixel Game Engine v2.06 | | "What do you need? Pixels... Lots of Pixels..." - javidx9 | +-------------------------------------------------------------+ What is this?...
// PNGImageReader.h -- subclass of ImageReader for reading png image files // This software was developed by James R. Miller (jrmiller@ku.edu) and is // OPEN SOURCE. #ifndef PNGIMAGEREADER_H #define PNGIMAGEREADER_H #include "ImageReader.h" class PNGImageReader : public ImageReader { public: PNGImageReader(std::st...
// Copyright 2014 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 EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_ #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_ #include <string> #include <u...
#pragma once C_HEADER_BEGIN typedef struct { UniGPIO_Handle* MISO; UniGPIO_Handle* MOSI; UniGPIO_Handle MISOStore; UniGPIO_Handle MOSIStore; UniGPIO_Handle SCKStore; u8 DataSize; bool CPOL; bool CPHA; u8 IntervalBeforeEdge1; u8 IntervalBeforeEdge2; }SoftSPI_InfoArea; STATUS SoftSPI_Init(void* SPI_Handle, U...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:14:12 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/VFX.framew...
#pragma once //////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2017 Nicholas Frechette & Animation Compression Library contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and asso...
// SPDX-License-Identifier: GPL-2.0-only /* * Bit sliced AES using NEON instructions * * Copyright (C) 2017 Linaro Ltd <ard.biesheuvel@linaro.org> */ #include <asm/neon.h> #include <asm/simd.h> #include <crypto/aes.h> #include <crypto/ctr.h> #include <crypto/internal/simd.h> #include <crypto/internal/skcipher.h> #...
// Copyright © 2019 650 Industries. All rights reserved. #import <ABI42_0_0EXUpdates/ABI42_0_0EXUpdatesUpdate.h> #import <ABI42_0_0EXManifests/ABI42_0_0EXManifestsLegacyRawManifest.h> NS_ASSUME_NONNULL_BEGIN @interface ABI42_0_0EXUpdatesLegacyUpdate : NSObject + (ABI42_0_0EXUpdatesUpdate *)updateWithLegacyManifest...
/* SSL socket module SSL support based on patches by Brian E Gallew and Laszlo Kovacs. Re-worked a bit by Bill Janssen to add server-side support and certificate decoding. Chris Stawarz contributed some non-blocking patches. This module is imported by ssl.py. It should *not* be used directly. X...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 Steve Nygard. // #import <DVTStructuredLayoutKit/DVTStructuredLayoutView.h> #import <IDEKit/DVTInvalidation-Protocol.h> @class DVTBorderedView, DVTStackBacktrace, IDEControlGroup, IDEEditorCon...
/* * Copyright (C) 2005, 2006, 2007, 2009, 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, t...
/* * Copyright (c) 2021 Mark Ryan * * 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...
/***************************************************************************//** * \file TOOLCHAIN_ARM/reent.h * * \brief * ARM C library port for FreeRTOS * ******************************************************************************** * \copyright * Copyright 2018-2019 Cypress Semiconductor Corporation * SPDX-Licen...
// Copyright (c) 2020-present, Roland Munguia & Tristan Florian Bouchard. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #ifndef CSYS_SCRIPT_H #define CSYS_SCRIPT_H #pragma once #include <string> #include <vector> #include "csys/api.h" namespace csys { class CSYS_API Script { p...
#ifndef INC_LIST_H #define INC_LIST_H #include "types.h" struct list_head { struct list_head *next, *prev; }; static inline void list_init(struct list_head *head) { head->next = head->prev = head; } static inline int list_empty(struct list_head *head) { return head->next == head; } static inline str...
/*++ Copyright (c) 1991 Microsoft Corporation Module Name: connect.c Abstract: This module contains code which defines the NetBIOS driver's connection block. Author: Colin Watson (ColinW) 13-Mar-1991 Environment: Kernel mode Revision History: --*/ #include "nb.h" //#include <zwapi.h> #...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. The code included in this file is provided under the terms of the ISC...
/* MIT License Copyright (c) 2018 Virtalis Ltd 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, d...
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2020 Jihoon Lee <jhoon.it.lee@samsung.com> * * @file pow.h * @date 16 November 2020 * @brief This file contains the simple pow2 layer which squares input * elements. * @see https://github.com/nnstreamer/nntrainer * @author Jihoon Lee <jhoon.it.l...
/* * GStreamer * Copyright (C) 2006 Stefan Kost <ensonic@users.sf.net> * Copyright (C) 2015 Paul Milliken <<user@hostname.org>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; e...
// Copyright (c) 2014 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 BITCREDS_CRYPTO_HMAC_SHA512_H #define BITCREDS_CRYPTO_HMAC_SHA512_H #include "crypto/sha512.h" #include <stdint.h> #incl...
/* *********************************************************** * This file was automatically generated on 2018-11-28. * * * * C/C++ Bindings Version 2.1.23 * * * * If...
/* ** Copyright 2014-2016 The Earlham Institute ** ** 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...
/* * This header is generated by classdump-dyld 1.0 * on Monday, September 28, 2020 at 5:55:12 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/SpringBoa...
#pragma once #include "STL/Graphics/Framebuffer.h" #include "STL/Graphics/Font.h" #include "Memory/efiMemory.h" #include <stdint.h> namespace PageAllocator { extern uint64_t PageAmount; void Init(EFI_MEMORY_MAP* MemoryMap, STL::Framebuffer* ScreenBuffer); void* RequestPage(); uint64_t GetFree...
/* * Inter-Container Messaging Protocol (ICMP) * * Copyright (c) 2016, Lans Zhang * All rights reserved. * * See "LICENSE" for license terms. * * Author: * Lans Zhang <lans.zhang2008@gmail.com> */ #ifndef ICMP_H #define ICMP_H #include <eee.h> #include <ic_error.h> #ifndef ICMP_ERRNO_BASE #error "IC...
/******************************************************************************* System Interrupts File File Name: system_int.c Summary: Raw ISR definitions. Description: This file contains a definitions of the raw ISRs required to support the interrupt sub-system. Summary: This file co...
/** * Cloud Manager API * This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET reque...
/* * Kernel routing table readup by netlink * Copyright (C) 1998 Kunihiro Ishiguro * * This file is part of GNU Zebra. * * GNU Zebra 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, or...
/****************************************************************************** * * * Copyright (c) 2022, Enno Boland <g@s01.de> * * * ...
/**************************************************************************//** * @file * @brief BGM21 PRS register and bit field definitions ****************************************************************************** * # License * <b>Copyright 2021 Silicon Laboratories, Inc. www.silabs.com</b> ***************...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0...
/**************************************************************************** * arch/sparc/include/inttypes.h * * 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 own...
// // ProgressBar.h // CameraNoir // // Created by Mohammad Fathi on 11/24/15. // Copyright © 2015 Mohammad Fathi. All rights reserved. // #import <UIKit/UIKit.h> @interface IndicatorProgressBar : UIView @property (assign, nonatomic) CGFloat progress; @end
// For conditions of distribution and use, see copyright notice in license.txt #pragma once #include <boost/shared_ptr.hpp> #include <boost/weak_ptr.hpp> class AssetAPI; class AssetCache; class IAsset; typedef boost::shared_ptr<IAsset> AssetPtr; typedef boost::weak_ptr<IAsset> AssetWeakPtr; class IAssetTransfer; t...
/* Header file for SSA iterators. Copyright (C) 2013-2021 Free Software Foundation, Inc. This file is part of GCC. GCC 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 3, or (at your option) any...
/* * Testcase to verify that reference to foo@BAR and a definition of foo@@BAR * are not treated as a multiple def. */ #include "vers.h" const char * bar1 = "asdf"; const char * bar2 = "asdf"; extern int old_foo1(); int bar() { return 3; } int original_foo() { return 1+bar(); } int old_foo() { return 10+bar...
/* ** foreach.c for my in /home/arbona/libs/_my ** ** Made by Thomas ARBONA ** Login <thomas.arbona@epitech.eu> ** ** Started on Fri Jan 27 19:37:28 2017 Thomas ARBONA ** Last update Fri Feb 24 16:24:36 2017 Thomas ARBONA */ #include <unistd.h> #include "../../include/my.h" void _list_foreach(t_list **list, void (...
/* * Copyright 2016 Andrey Gusev * * 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 the License, or (at your option) any later version. * * This library is ...
// KASAN: use-after-free Read in disk_part_iter_next (2) // https://syzkaller.appspot.com/bug?id=8fede7e30c7cee0de139 // status:0 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include <arpa/inet.h> #include <dirent.h> #include <endian.h> #include <errno.h> #include <fcntl.h>...
/* -*- C++ -*- */ //============================================================================= /** * @file ATM_Stream.h * * $Id: ATM_Stream.h 14 2007-02-01 15:49:12Z mitza $ * * @author Joe Hoffert */ //============================================================================= #ifndef ACE_ATM_STREA...
#pragma once // For use by Engine applications #include "Engine/Application.h" #include "Engine/Input.h" #include "Engine/MouseButtonCodes.h" #include "Engine/KeyCodes.h" #include "Engine/Layer.h" #include "Engine/Log.h" #include "Engine/ImGui/ImGuiLayer.h" #include "Engine/Logic/LogicLay...
/* * Copyright 2017-2018 Alessandro Gatti - frob.it * * 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...
#include "error_codes.h" #include "func_sort.h" error_t sort_min_max(type_t *array, int count) { if (!array || count <= 0) return ERROR_INPUT; int d = count >> 1, minimum_index = 0, maximum_index = 0; type_t minimum = 0, maximum = 0, tmp = 0; for (int k = 0; k < d; k++) { minimum_index = k; maximum_index =...
/* wiggle.c was originally generated by the autoSql program, which also * generated wiggle.h and wiggle.sql. This module links the database and * the RAM representation of objects. */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licen...
#ifdef _MSC_VER #pragma warning( disable : 4100 4127 ) #endif /* * jquant1.c * * Copyright (C) 1991-1996, Thomas G. Lane. * Modified 2011 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file ...