text
stringlengths
9
948k
/* Copyright (c) 2016 Google 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 agreed to...
#include "delay_timer.h" INTERRUPT_HANDLER(TIM4_UPD_OVF_IRQHandler, 23) { TimingDelay_Decrement(); /* Cleat Interrupt Pending bit */ TIM4_ClearITPendingBit(TIM4_IT_UPDATE); } /** * @brief Configure Output Compare Active Mode for TIM2 Channel1, Channel2 and * channel3 * @param None * @retval...
#ifndef __WINBOND_WB35_TX_S_H #define __WINBOND_WB35_TX_S_H #include "mds_s.h" //==================================== // IS89C35 Tx related definition //==================================== #define TX_INTERFACE 0 // Interface 1 #define TX_PIPE 3 // endpoint 4 #define TX_INTERRUPT 1 // endpoint 2 #define MAX_I...
/** * i2c-ali1563.c - i2c driver for the ALi 1563 Southbridge * * Copyright (C) 2004 Patrick Mochel * 2005 Rudolf Marek <r.marek@assembler.cz> * * The 1563 southbridge is deceptively similar to the 1533, with a * few notable exceptions. One of those happens to be the fact they * upgraded the i2c core to ...
/*********************************************************************** * * Copyright (c) Berkeley Softworks 1988 -- All Rights Reserved * * PROJECT: PCGEOS * MODULE: Swat -- Command Implementations * FILE: cmdNZ.c * * AUTHOR: Adam de Boor: Dec 4, 1988 * * ROUTINES: * Name Description * -...
//********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #pragma once #include "BsScriptEnginePrerequisites.h" #include "BsScr...
// The current file is licensed under the license terms found in the main header file "calculator.h". // For additional information refer to the file "calculator.h". #ifndef vpfHeader1_h_already_included #define vpfHeader1_h_already_included #include "macros.h" #include "general_multitasking.h" #include <algorithm> #i...
/* * Copyright (C) 2010-2015 Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * * 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 * opti...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 c...
/******************************************************************************** * * Copyright 2016-2017 Afero, Inc. * * Licensed under the MIT license (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License * at * * https://opensource.org/licen...
/* PURPOSE: (Extract Euler angles from transformation matrix.) REFERENCE: ((None)) ASSUMPTIONS AND LIMITATIONS: ((Euler sequence is input interactively by user.)) PROGRAMMERS: (((Robert W. Bailey) (LinCom Corp) (4/9/91) (Trick-CR-00004) (Gravity / Inertial Frame Models)) (Dorci L. Smith...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE563_Unused_Variable__unused_init_variable_long_04.c Label Definition File: CWE563_Unused_Variable__unused_init_variable.label.xml Template File: source-sinks-04.tmpl.c */ /* * @description * CWE: 563 Unused Variable * BadSource: Initialize data * Sinks: * GoodSi...
/* This file is part of the Dynarithmic TWAIN Library (DTWAIN). Copyright (c) 2002-2021 Dynarithmic Software. 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....
#pragma once #include <library/cpp/json/writer/json_value.h>
/* * This file is part of the coreboot project. * * Copyright 2015 MediaTek Inc. * * 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; version 2 of the License. * * This program is distribu...
//===-- Config.h ------------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#pragma once #include "ITimerHandler.h" class CDataManager : public ITimerHandler { public: // Create bool Create(); // Get game anim data // the array length must equal with (ROW_COUNT * COLUMN_COUNT) bool GetGameAnimData(int nGameID, bool* arrAnimData, int nFrameIdx); // Save high score data ...
#ifndef ACTION_H #define ACTION_H #include "Global.h" #include <QAction> #include <QIcon> //action slot name : // on_ACTION_NAME_triggered() class CAction : public QAction { Q_OBJECT ADD_FIELD(QString, m_actionName, getActionName, setActionName) ADD_FIELD(QString, m_text, getText, setText) A...
/**************************************************************************** * * ftpsprop.c * * Get and set properties of PostScript drivers (body). * See `ftdriver.h' for available properties. * * Copyright (C) 2017-2019 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the...
/* * Copyright (c) 2020-2021, Linus Groh <linusg@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/Forward.h> #include <LibJS/AST.h> #include <LibJS/Forward.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/Value.h> namespace JS { DeclarativeEnvironment* new...
/****************************************************************************** * * Copyright (C) 2003-2012 Broadcom 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: * ...
// This may look like C, but it's really -*- C++ -*- // $Id: ast_string.h 89076 2010-02-18 22:54:36Z parsons $ /* COPYRIGHT Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United States of America. All Rights Reserved. This product is protected by copyright and distributed under the following lice...
#include "int32_sort.h" #define int32 int32_t #include <immintrin.h> typedef __m256i int32x8; #define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) #define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 #define int32x8_M...
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
/* Compiler implementation of the D programming language * Copyright (c) 1999-2016 by The D Language Foundation * All Rights Reserved * written by Walter Bright * http://www.digitalmars.com * Distributed under the Boost Software License, Version 1.0. * http://www.boost.org/LICENSE_1_0.txt * https://github.com/dl...
/* * wm8961.c -- WM8961 ALSA SoC Audio driver * * Copyright 2009-10 Wolfson Microelectronics, plc * * Author: Mark Brown * * 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 Tuesday, November 5, 2019 at 2:41:20 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
#ifndef SPOTIFY_H #define SPOTIFY_H #include <boost/thread/thread.hpp> #include <boost/thread/mutex.hpp> #include <libspotify/api.h> class Spotify { public: virtual ~Spotify(); boost::mutex mutex; boost::condition_variable condition; bool notify; bool is_logged_in; // When we are considered logged in. bool h...
// // CKRecordID.h // CloudKit // // Copyright (c) 2014 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> @class CKRecordZoneID; NS_ASSUME_NONNULL_BEGIN API_AVAILABLE(macos(10.10), ios(8.0), watchos(3.0)) @interface CKRecordID : NSObject <NSSecureCoding, NSCopying> - (instancetype)init NS_UNAV...
// Copyright 2015 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 COMPONENTS_CRASH_CONTENT_BROWSER_CHILD_EXIT_OBSERVER_ANDROID_H_ #define COMPONENTS_CRASH_CONTENT_BROWSER_CHILD_EXIT_OBSERVER_ANDROID_H_ #include ...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2018 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #import "TiEvaluator.h" #import "TiViewProxy.h" @interface TiWkwebviewWebViewPro...
/*********************************************************************************************************************/ /* /===-_---~~~~~~~~~------____ */ /* |===-~___ _,-'...
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SRC_STORAGE_BLOBFS_ITERATOR_ALLOCATED_EXTENT_ITERATOR_H_ #define SRC_STORAGE_BLOBFS_ITERATOR_ALLOCATED_EXTENT_ITERATOR_H_ #include <stdbool.h> #in...
// Authors: Lance Hepler, Brett Bowman #ifndef PBCOPPER_ALIGN_CHAINSEEDS_H #define PBCOPPER_ALIGN_CHAINSEEDS_H #include <map> #include <queue> #include <set> #include <utility> #include <vector> #include <boost/optional.hpp> #include <pbcopper/align/ChainSeedsConfig.h> #include <pbcopper/align/Seeds.h> namespace P...
/* * %CopyrightBegin% * * Copyright Ericsson AB 1996-2018. 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 header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:31:33 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/Symptoms.f...
// RUN: %clang_cc1 -emit-llvm -triple arm64-- -o - %s -O0 | FileCheck %s --check-prefix=CHECK-O0 // RUN: %clang_cc1 -emit-llvm -disable-llvm-optzns -triple arm64-- -o - %s -O3 | FileCheck %s --check-prefix=CHECK-O3 struct large { void* pointers[8]; }; void pass_large(struct large); // For arm64, we don't use byv...
// Meridian 59, Copyright 1994-2012 Andrew Kirmse and Chris Kirmse. // All rights reserved. // // This software is distributed under a license that is described in // the LICENSE file that accompanies it. // // Meridian is a registered trademark. // PathString.h : header file // ////////// // // Copyright (C) Ed Halley...
/* Copyright (c) 1995-2021 by Arkkra Enterprises. 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 condition...
/*! * Copyright 2014 by Contributors * \file updater_basemaker-inl.h * \brief implement a common tree constructor * \author Tianqi Chen */ #ifndef XGBOOST_TREE_UPDATER_BASEMAKER_INL_H_ #define XGBOOST_TREE_UPDATER_BASEMAKER_INL_H_ #include <xgboost/base.h> #include <xgboost/tree_updater.h> #include <vector> #incl...
/* This header file is part of the ATMEL AVR-UC3-SoftwareFramework-1.7.0 Release */ /** * @file * * lwIP Options Configuration */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, ...
/******************************************************************************* System Interrupts File Company: Microchip Technology Inc. File Name: interrupt.c Summary: Interrupt vectors mapping Description: This file maps all the interrupt vectors to their corresponding implementatio...
#ifndef ANNA_NODE_CREATE_H #define ANNA_NODE_CREATE_H #include <gmp.h> #include <stdio.h> #include "anna/base.h" #include "anna/node.h" anna_node_dummy_t *anna_node_create_dummy( anna_location_t *loc, struct anna_object *val); anna_node_closure_t *anna_node_create_closure( anna_location_t *loc, ann...
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class net_evansdev_gpio_jni_NativeGPIO */ #ifndef _Included_net_evansdev_gpio_jni_NativeGPIO #define _Included_net_evansdev_gpio_jni_NativeGPIO #ifdef __cplusplus extern "C" { #endif /* * Class: net_evansdev_gpio_jni_NativeGPIO ...
/*! \file switch.c * * Switch control interfaces for device bcm56780. */ /* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ #include <shr/shr_debug.h> #include <bc...
#pragma once namespace Storm { class CoreThread { STORM_NONCOPYABLE(CoreThread); protected: std::mutex selfLock_; std::atomic<bool> running_ = false; std::atomic<bool> stopping_ = false; std::atomic<bool> started_ = false; std::uint32_t threadUId_ = 0; ...
#ifndef EventFilter_CSCRawToDigi_CSCTMBHeader2020_CCLUT_h #define EventFilter_CSCRawToDigi_CSCTMBHeader2020_CCLUT_h #include "EventFilter/CSCRawToDigi/interface/CSCVTMBHeaderFormat.h" #include "DataFormats/MuonDetId/interface/CSCDetId.h" struct CSCTMBHeader2020_CCLUT : public CSCVTMBHeaderFormat { enum { NWORDS = 43...
//! @file //! //! Copyright (c) Memfault, Inc. //! See License.txt for details //! //! Implements convenience APIs that can be used when building the set of //! RAM regions to collect as part of a coredump. See header for more details/ #include "memfault/ports/zephyr/coredump.h" #include <zephyr.h> #include <kernel.h...
// // OIDProxyURLProtocol.h // AppAuth // // Created by admin on 9/28/16. // Copyright © 2016 Google Inc. All rights reserved. // #import <Foundation/Foundation.h> @interface OIDProxyURLProtocol : NSURLProtocol<NSURLSessionDelegate,NSURLSessionDataDelegate> @end
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:36:21 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Frameworks/MapKit.framework/M...
#ifdef __CINT__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #ifdef GEANTCUDA_REPLACE #include "../../vecprot_v2/inc/Geant/LinkDef.h" // #include "../../xsec/inc/xsmcLinkDef.h" #endif #pragma link C++ class CoprocessorBroker + ; #pragma link C++ class CoprocessorBroker:...
// // DHTextFadeMesh.h // DHAnimation // // Created by Huang Hongsen on 8/8/16. // Copyright © 2016 cn.daniel. All rights reserved. // #import "DHTextSceneMesh.h" @interface DHTextFadeMesh : DHTextSceneMesh @property (nonatomic) NSTimeInterval duration; @property (nonatomic) GLfloat singleCharacterFadingTimeRati...
/* Copyright 2017 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...
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Level 2 and Level 3 source code contains trade secrets of ...
/****************************************************************************** * Copyright (c) 2019 - 2021 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ #include "xpm_common.h" #include "xpm_cpmdomain.h" #include "xpm...
// 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 may...
// // AppDelegate.h // HexToPic // // Created by admin on 2020/12/17. // #import <Cocoa/Cocoa.h> @interface AppDelegate : NSObject <NSApplicationDelegate> @end
// Copyright (c) 2017 The Schezuancoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SCHEZUANCOIN_CRYPTO_CHACHA20_H #define SCHEZUANCOIN_CRYPTO_CHACHA20_H #include <stdint.h> #include <stdlib.h> /** A...
#ifndef _SYS_UIO_H #define _SYS_UIO_H 1 #include <sys/_iovec.h> #include <sys/types.h> ssize_t readv(int __fd, const struct iovec *__iovec, int __count); ssize_t writev(int __fd, const struct iovec *__iovec, int __count); #endif
/* If you did not complete last week's worksheet, you can use this file as a reference for this week's work. */ #include <iostream> using namespace std; class Student { int id; float grade; string name; publi...
#pragma once #include "globalVariables.h" void wave(int arm){ // wave with left arm if(arm == 0){ posServoLeftArm = 90; leftArm.write(posServoLeftArm); // wave 3 times for (int j = 0; j < 3; ++j){ // move the arm down for (int i = 0; i < 60; ++i){ posServoLeftArm -= 1; ...
/* * RASAPI32 * * Copyright 1998,2001 Marcus Meissner * * 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....
// Copyright (c) 2004 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // 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 of the License, or (at your o...
// Lean compiler output // Module: Lean.Meta.Match.MatchEqs // Imports: Init Lean.Meta.Match.Match Lean.Meta.Tactic.Apply Lean.Meta.Tactic.Delta Lean.Meta.Tactic.SplitIf #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" ...
// // Created by Lakshay Raj on 26-10-2017. // #include <glut.h> #include <math.h> #include "data.h" #include "tree_back.c" int r = 20; int winID; int value = 1; int i; bool treeMemory = false; bool move = false; //bool commence = false; void SetColor4d(double r, double g, double b, double alpha) { glColor4...
/** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
/* * Copyright(c) 2019 Intel Corporation * SPDX - License - Identifier: BSD - 2 - Clause - Patent */ #include "EbPictureControlSet.h" #include "EbSequenceControlSet.h" #include "EbSourceBasedOperationsProcess.h" #include "EbInitialRateControlResults.h" #include "EbPictureDemuxResults.h" #include "emmintrin.h" #includ...
# shell程序 int main(int argc, char **argv) { }
/* linphone Copyright (C) 2010-2013 Belledonne Communications SARL 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. This progr...
/* * mode_gallery.c * * Created on: Oct 13, 2019 * Author: adam */ /*============================================================================== * Includes *============================================================================*/ #include <osapi.h> #include <mem.h> #include "user_main.h" #inclu...
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #pragma once #include "BaseSkeletonTextureAttachmentModel.h" #include "Geometry/Point3.h" #include "Geometry/Rotation3.h" #include "Geometry/Scale3.h" #include "Core/...
#ifndef TSRM_CONFIG_COMMON_H #define TSRM_CONFIG_COMMON_H #ifndef __CYGWIN__ # ifdef _WIN32 # define TSRM_WIN32 # endif #endif #ifdef TSRM_WIN32 # include "tsrm_config.w32.h" #else # include <tsrm_config.h> # include <sys/param.h> #endif #if HAVE_ALLOCA_H && !defined(_ALLOCA_H) # include <alloca.h> #endif /* AIX ...
// // AddContactTableViewController.h // bithash // // Created by Haifisch on 4/14/15. // Copyright (c) 2015 Haifisch. All rights reserved. // #import <UIKit/UIKit.h> @protocol AddContactDelegate <NSObject> @optional - (void)updateID:(NSString*)new_id; @end @interface AddContactTableViewController : UITableViewC...
/* * 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...
/* Copyright 2019 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Test the STATIC_IF and STATIC_IF_NOT macros. */ #include "common.h" #include "test_util.h" #undef CONFIG_UNDEFINED #define CONFIG_BLANK STATI...
/* * FreeRTOS Kernel V10.1.1 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
// Copyright 2017-2019 Closed Sum Games, LLC. All Rights Reserved. #pragma once #include "Runtime/CoreUObject/Public/UObject/Object.h" #include "Managers/Sound/CsTypes_Sound.h" #include "CsLibrary_Manager_AI_Sense.generated.h" class AActor; UCLASS() class CSCOREDEPRECATED_API UCsLibrary_Manager_AI_Sense : public UOb...
#pragma once #include <stdint.h> #include "il2cpp-config.h" #include "object-internals.h" struct Il2CppObject; struct Il2CppDelegate; struct Il2CppReflectionType; struct Il2CppReflectionMethod; struct Il2CppReflectionField; struct Il2CppArray; struct Il2CppException; struct Il2CppReflectionModule; struct Il2CppAssemb...
/********************************************************************** * $Id$ * * Project: MapServer * Purpose: OGC SLD implementation * Author: Y. Assefa, DM Solutions Group (assefa@dmsolutions.ca) * ********************************************************************** * Copyright (c) 2003, Y. Assefa, DM...
#include "spasm.h" #include "fcaseopen.h" int rawArgc = 0; char rawArgv[64][128]; char *curText; char *curLine; FILE *asmOut; int line_number; char *fileBuffer; unsigned int fileBufferSize; int open_case_sensitive = 0; static void titlecard(void) { printf("nv-spASM version 0.34 (c) 2014 nextvolume\n"); } static v...
/* * AU muxer and demuxer * Copyright (c) 2001 Fabrice Bellard * * first version by Francois Revol <revol@free.fr> * * This file is part of FFmpeg. * * FFmpeg 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 Softwa...
/*------------------------------------------------------------------------- * * timestamp.c * Functions for the built-in SQL types "timestamp" and "interval". * * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * *...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:12:35 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/Frameworks/Metal.framework/Metal * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #im...
/* * Copyright (c) 2020-2021 Tim Herreijgers * * 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, p...
/* * Driver model for leds and led triggers * * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> * Copyright (C) 2005 Richard Purdie <rpurdie@openedhand.com> * * 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...
#include "image.h" #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image/stb_image_write.h" // Sets the RGP values of the pixel at the given position on the image void colorPixel(int width, int height, Pixel_t image[width][height], int x, int y, int r, int g, int b) { image[x][y].Red = r; image[x][y].Gre...
#include "gpio_interrupt.h" #define EXTI_NUMS (16) typedef struct { IRQn_Type irqNum; void (*callback)(void); } extiConf_t; extiConf_t gpio_exti_infor[EXTI_NUMS] = { {EXTI0_IRQn, NULL}, {EXTI1_IRQn, NULL}, {EXTI2_IRQn, NULL}, {EXTI3_IRQn, NULL}, {EXTI4_IRQn, NUL...
/* Copyright (c) 2006 Chris J. Karr 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, ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_UTIL_H #define BITCOIN_UTIL_H #ifndef WIN32 #include <sys/types.h...
// // BonjourManager.h // RevealForward // // Created by monkey on 16/8/26. // // #import "Bonjour.h" #import "BonjourUtils.h" #import <Foundation/Foundation.h> @interface BonjourManager : NSObject + (instancetype)sharedManager; -(void)start; @end
#ifndef _VarArray_h_ #define _VarArray_h_ //#include "ParamBox.hpp" //#include "DessinImage.hpp" //#include "Viewer3D.hpp" //#include "paramlist.h" #include <string> #include <iosfwd> #include "DefineClass.hpp" #include "amilab_messages.h" #include "vartype.h" #include "paramlist.h" #include "Variable.hpp" /// Arr...
/** * include/linux/f2fs_fs.h * * Copyright (c) 2012 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * 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. */ #...
#include<stdio.h> int main() { int a,b,c; scanf("%d%d%d", &a,&b,&c); if (a>=b && a>=c) { printf("max{%d,%d,%d}=%d",a,b,c,a); } else if (a<=b && b<=c) { printf("max{%d,%d,%d}=%d",a,b,c,b"); } else { printf...
// Copyright 2022 PingCAP, 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 applicable law or agreed to i...
/* * Copyright (c) 2016, 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...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The CryptoBee developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_WALLETDB_H #define BITCOIN_WALLETDB_H #include "db.h" #include "...
#include <stdlib.h> #include <string.h> #include <stdbool.h> #include "palindrome.h" char* str_reverse(char* str) { int len, i; char* result; len = strlen(str); result = (char*)calloc(len+1, sizeof(char)); for (i=0; i<len; ++i) { result[i] = str[len-i-1]; } result[len] = '\0'; return result; } ...
#ifndef GEEF_REPOSTIORY_H #define GEEF_REPOSTIORY_H #include "erl_nif.h" #include <git2.h> #define MAXBUFLEN 1024 ERL_NIF_TERM geef_repository_init(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]); ERL_NIF_TERM geef_repository_open(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]); ERL_NIF_TERM geef_rep...
// Copyright (c) 2014-2017 The Dash Core Developers // Copyright (c) 2018 The Parking Core Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef GOVERNANCE_VOTE_H #define GOVERNANCE_VOTE_H #include "key.h" #inc...
// // Copyright (c) 2013, Ford Motor Company // 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 condit...