text
stringlengths
9
948k
// Copyright(c) 2017 POLYGONTEK // // 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...
#pragma once #include "Arduino.h" #include "ymf825.h" #define YMF825_TONE_SIZE 30 enum YMF825_VOLTAGE { YMF825_VOLTAGE_5V = 0, YMF825_VOLTAGE_3V3 = 1, }; enum YMF825_NOTE { YMF825_NOTE_A = 0, YMF825_NOTE_B = 2, YMF825_NOTE_C = 3, YMF825_NOTE_D = 5, YMF825_NOTE_E = 7, YMF825_NOTE_F = 8, YMF825_NOT...
#include <stdio.h> #define STACK_MAX 100 char stack[STACK_MAX]; int top = -1; void push(char key){ if(STACK_MAX <= top){ printf("Stack Overflow\n"); }else{ stack[++top] = key; } } char pop(){ if(top < 0){ printf("Stack Underflow\n"); }else{ return stack[top--]; } } int ISP(int inp){ switch(inp){ c...
// // Created by Denis Jajčević on 02.05.2014.. // Copyright (c) 2014 JF. All rights reserved. // #import <Foundation/Foundation.h> #import "JFSerializationAnnotation.h" @interface JFDateMapping : JFSerializationAnnotation @property(nonatomic, retain) __block NSString *format; @end
/* * Copyright (c) 2013 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 contribut...
#ifndef COSMOPOLITAN_LIBC_BITS_MORTON_H_ #define COSMOPOLITAN_LIBC_BITS_MORTON_H_ #include "libc/intrin/pdep.h" #include "libc/intrin/pext.h" #include "libc/nexgen32e/x86feature.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ unsigned long morton(unsigned long, unsigned long) libcesque; axdx_t unmorton(...
/** * Copyright 2019 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 applicable law...
/* * utf.c: UTF-8 conversion routines * * ==================================================================== * 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 * regardi...
// Copyright (c) 2018-2019 The Dash Core developers // Copyright (c) 2018-2019 The PACGlobal developers // Copyright (c) 2019 The Extreme Private MasternodeCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifn...
// // Copyright (C) 2009 The Android Open Source Project // // 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 app...
/* * arch/arm/mach-sunxi/include/mach/timex.h * * Copyright (c) Allwinner. All rights reserved. * Benn Huang (benn@allwinnertech.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; ...
// Copyright 2017 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 THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_MARKERS_TEXT_MATCH_MARKER_LIST_IMPL_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_EDITING_MARKERS_TEXT_MATCH_...
/* * $Id: mech.los.c,v 1.1.1.1 2005/01/11 21:18:17 kstevens Exp $ * * Author: Markus Stenberg <fingon@iki.fi> * * Copyright (c) 1996 Markus Stenberg * Copyright (c) 1998-2002 Thomas Wouters * Copyright (c) 2000-2002 Cord Awtry * All rights reserved * * Last modified: Sat Jul 18 13:47:27 1998 fingon ...
/****************************************************************************** * $Id: gdal_frmts.h 36731 2016-12-07 11:08:07Z rouault $ * * Project: GDAL * Purpose: Prototypes for all format specific driver initialization. * Author: Frank Warmerdam, warmerdam@pobox.com * ************************************...
#include "ADXL345.h" #include "app_error.h" #include "boards.h" #include "nrf_drv_twi.h" #include "nrf_log.h" #include <stdio.h> static const nrf_drv_twi_t *p_twi_master; /* ADXL345 WRITE TO REGISTER FUNCTION */ ret_code_t ADXL345_I2C_register_write(uint8_t slave_addr, uint8_t *pdata, uint32_t bytes) { ret_cod...
#include <kernel/atag.h> /** * Determine amount of RAM on board. * @param atag Address containing list of atags */ uint32_t get_total_mem(struct atag *atag) { while (atag->tag != ATAG_NONE) { if (atag->tag == ATAG_MEM) return atag->mem.size; /* move to next tag */ atag = (struct atag *) (((uint32_t *) a...
// // NSNumber+Additions.h // chuangke // // Created by jumei_vince on 2017/9/4. // Copyright © 2017年 Vince. All rights reserved. // #import <Foundation/Foundation.h> @interface NSNumber (SXAdditions) /** * NSString转为NSNumber * * @param string 字符串, * * @return NSNumber, 如果string为nil或@""或内容不是数字,返回`0` */ + (N...
#pragma once #include "Oculum.h" class TestEntity : public Oculum::Entity { public: TestEntity(Oculum::Window*, int); ~TestEntity(); void OnUpdate(float) override; void OnRender() override; private: };
/* * Copyright (c) 2018-2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #include "its_flash_fs_dblock.h" #include "its_flash_fs.h" /** * \brief Converts logical data block number to physical number. * * \param[in,out] fs_ctx Filesystem context * \param[in] lblock ...
// // Created by Andrew Podkovyrin // Copyright © 2018-2019 Dash Core Group. All rights reserved. // // 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/licenses/MIT // // Un...
// // Copyright 2018 Sepehr Taghdisian (septag@github). All rights reserved. // License: https://github.com/septag/sx#license-bsd-2-clause // #include "sx/stack-alloc.h" typedef struct stackalloc_hdr_s { int size; // size of buffer that requested upon allocation int padding; // number of b...
/*++ Copyright (c) Microsoft Corporation. Licensed under the MIT License. Abstract: MsQuic defines two classes of tracing: Events These are well-defined and have explicit formats. Each event is defined with its own, unique function. These are generally used for a...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:08:17 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/PassKitUI....
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +--------------...
#pragma once #include "CTaskThreadManager/CTaskThreadManagerAPI.h" class StockClient; class EveryTestSendTask : public CTask { public: EveryTestSendTask(); void DoTask(); void setParam(StockClient* stockClient); protected: StockClient* m_stockClient; };
/**************************************************************************\ * This file is part of CaSPER. * * * * Copyright: * * 2009-20...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:22:22 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/HealthE...
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the ...
/* Copyright (C) 2019 Neo Huang - All Rights Reserved */ #pragma once #include <string> #include <memory> #include <unordered_map> #include <tuple> #include "flashroute/dcb_manager.h" #include "flashroute/network.h" #include "flashroute/address.h" namespace flashroute { class SingleHost { public: SingleHost(cons...
/* * Copyright © 2019 Collabora 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...
#pragma once #include "Assertion.h" #include "Concepts.h" #include "HashBase.h" #include "Ordering.h" #include "PrintInfo.h" namespace ARLib { template <DefaultConstructible T> class Optional { T* m_object = nullptr; bool m_exists = false; void assert_not_null_() const { HARD_ASSERT(m_...
/** ****************************************************************************** * @file stm32mp1xx_hal_smartcard_ex.h * @author MCD Application Team * @version $VERSION$ * @date $DATE$ * @brief Header file of SMARTCARD HAL Extended module. ******************************************************...
// Copyright (c) 2011-2016 The Skytells developers // Distributed under the MIT/X11 software license, see the accompanying // @license MIT : http://www.opensource.org/licenses/mit-license.php. // @package Oxgram Cryptocurrency by Skytells, Inc. #pragma once #include <vector> #include "CryptoNoteCore/Account.h" #incl...
/* * inode.c - securityfs * * Copyright (C) 2005 Greg Kroah-Hartman <gregkh@suse.de> * * 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. * * Based on fs/debugfs/inode.c which...
/*************************************************************************** v9938 / v9958 emulation ***************************************************************************/ /* init functions */ #define MODEL_V9938 (0) #define MODEL_V9958 (1) /* resolutions */ #define RENDER_HIGH (0) #define RENDER_LOW (1)...
/** * @file lv_draw_img.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_img.h" #include "lv_img_cache.h" #include "../hal/lv_hal_disp.h" #include "../misc/lv_log.h" #include "../core/lv_refr.h" #include "../misc/lv_mem.h" #include "../misc/lv_math.h" /********************* ...
/* * This header is generated by classdump-dyld 1.0 * on Monday, September 28, 2020 at 5:55:02 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/PhotosUIC...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_atol.c :+: :+: :+: ...
/*! @file @author Albert Semenov @date 09/2008 */ #ifndef OPEN_SAVE_FILE_DIALOG_H_ #define OPEN_SAVE_FILE_DIALOG_H_ #include <MyGUI.h> #include "Dialog.h" namespace tools { class OpenSaveFileDialog : public Dialog { public: OpenSaveFileDialog(); void setDialogInfo(const MyGUI::UString& _caption, const ...
/*! \file bcmltm_md_lt_keyed.c * * Logical Table Manager - Keyed Logical Table (Hash and TCAM). * * This file contains implementation to support metadata construction * for Keyed, Hash and TCAM Logical Tables. * * Transforms and Validations * -------------------------- * Field Transforms (Xfrm) and Field Valid...
/* * Copyright (C) 2007 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 conditi...
/* * Copyright (c) 2021, 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...
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import <Foundation/NSURLRequest.h> @interface NSURLRequest (NSURLSessionProxyAdditions) - (_Bool)_nsurlsessionproxy_isSafeRequest; // IMP=0x00000...
/** * @file RequiredElementsExtension.h * @brief Definition of RequiredElementsExtension, the core module of requiredElements package. * @author * * $Id: RequiredElementsExtension.h 10667 2010-01-16 10:20:44Z $ * $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/branches/libsbml-5/src/packages/grou...
// 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 QUICHE_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ #define QUICHE_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ #include <cstdint> #include <memory> #include <...
/* ringbuf.h * * A simple ring buffer implementation. */ #ifndef RINGBUF_H_ #define RINGBUF_H_ #ifdef __KERNEL__ #include <linux/types.h> #else #include <stdint.h> #endif struct ringbuf { uint32_t size; volatile uint32_t *write_pos; volatile uint32_t *read_pos; char *data; }; /* base should point to an area ...
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_git_git_h__ #define INCLUDE_git_git_h__ #include "git2/attr.h" #include "git2/blob.h" #...
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xF0,0x0,0x0,0xF,0x0,0x0,0xF0,0x0,0xF0,0x0,0x0,0xF,0x0,0x0,0xF0,0x0,0xF0,0x0,0x0,0xF,0x0,0xF,0x0,0xFF,0x0,0x0,0x0,0x0,0xFF,0xFF,0xFF,0x0,0x0,0x0,
//===-- mlir-c/Dialect/Tensor.h - C API for Tensor dialect --------*- 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 // //===------------------------...
#ifndef JUSTREADIT_LINE_MANIPULATION_H #define JUSTREADIT_LINE_MANIPULATION_H #include <SDL/SDL.h> #include "../../list_manipulation/index.h" /* get_words_space * Input: * - *image => SLD_SURFACE (the image) * * Description: * - Return the space between 2 words * */ int get_words_space(SDL_Sur...
#if defined(PEGASUS_OS_HPUX) # include "UNIX_ClassDeletionDeps_HPUX.h" #elif defined(PEGASUS_OS_LINUX) # include "UNIX_ClassDeletionDeps_LINUX.h" #elif defined(PEGASUS_OS_DARWIN) # include "UNIX_ClassDeletionDeps_DARWIN.h" #elif defined(PEGASUS_OS_AIX) # include "UNIX_ClassDeletionDeps_AIX.h" #elif defined(PEGASUS_OS_F...
/*------------------------------------------------------------------------- * * pg_amop.h-- * definition of the system "amop" relation (pg_amop) * along with the relation's initial contents. * * * Copyright (c) 1994, Regents of the University of California * * $Id: pg_amop.h,v 1.2 1996/07/20 08:19:11 scr...
/* * FreeRTOS V202107.00 * Copyright (C) 2020 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, including ...
/* * Copyright (C) 1993 Johannes Ruscheinski * Copyright (C) 1993 David Metcalfe * Copyright (C) 1994 Alexandre Julliard * Copyright (C) 2008 by Reece H. Dunn * * 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 ...
#include <stdio.h> #define PI 3.14159 int main() { double total; scanf("%lf",&total); total *= total * total; total *= (4.0/3.0) * PI; printf("VOLUME = %.3f\n",total); return 0; }
/** ****************************************************************************** * @file sst25vf_spi.h * @author Satish Nair, Zachary Crockett and Mohit Bhoite * @version V1.0.0 * @date 15-May-2013 * @brief This file contains all the functions prototypes for the * sst25vf_spi Flash fir...
/* Generated by Cython 0.29.13 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [], "name": "tensorutils", "sources": [ "tensorutils.pyx" ] }, "module_name": "tensorutils" } END: Cython Metadata */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_...
/* * nghttp2 - HTTP/2.0 C Library * * Copyright (c) 2013 Tatsuhiro Tsujikawa * * 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 ...
#define MAT_TYPE float int main(); void fill_mat(MAT_TYPE *mat, int n); void e_mat(MAT_TYPE *mat, int n); int malloc_mat(MAT_TYPE **mat, MAT_TYPE ***rows, int n); void print_mat(MAT_TYPE **mat, int n); void gja(MAT_TYPE *A, MAT_TYPE **A_rows, MAT_TYPE *B, MAT_TYPE **B_rows, int n); void pivot(MAT_TYPE **A_rows, MAT_T...
/* ************************************************************************ * Copyright 2016-2018 Advanced Micro Devices, Inc. * ************************************************************************ */ /*!\file * \brief rocblas.h includes other *.h and exposes a common interface */ #pragma once #ifndef _ROCBLA...
/* * Copyright (c) 2016-2020 Marco Hladik <marco@icculus.org> * * 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 SOFTWARE IS PROVIDED "AS IS"...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" #import "NUAssertionPolicyHandler.h" @class NSString; @interface NUAssertionPolicyAbort : NSObject <NUAssertionPolicyHandler> { } - (void)notifyAssertion:(i...
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Red Hat, Inc. * * Author: Mikulas Patocka <mpatocka@redhat.com> * * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors * * In the file "/sys/module/dm_verity/parameters/prefetch_cluster" you can set * default prefetch value. Data ...
/*------------------------------------------------------------------------- * * acl.c * Basic access control list data structures manipulation routines. * * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENT...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr-osx64-bld/build/netwerk/base/public/nsIAuthInformation.idl */ #ifndef __gen_nsIAuthInformation_h__ #define __gen_nsIAuthInformation_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to includ...
/** * @brief Tuple of instance and function name */ typedef Param2<Class,string> SArrayChangeListener; typedef Param2<Class,string> SArrayInsertListener; typedef Param2<Class,string> SArrayPreRemoveListener; typedef Param2<Class,string> SArrayClearListener;
/* * Copyright (C) 2018 ETH Zurich and University of Bologna * * 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...
/* * Copyright (C) by Argonne National Laboratory * See COPYRIGHT in top-level directory */ #ifndef COLL_TYPES_H_INCLUDED #define COLL_TYPES_H_INCLUDED /* include types from transports */ #include "tsp_stubtran_types.h" #include "tsp_gentran_types.h" /* Type definitions from all algorithms */ #include "stubal...
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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 cod...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
/*- * Copyright (c) 2001 Atsushi Onoe * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting * 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 ret...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "NSObject-Protocol.h" @protocol WCFinderPersonalCenterHeaderViewDelegate <NSObject> @optional - (void)onClickLikedListBtn; - ...
// // UIViewController+XFSettings.h // XFSettings // // Created by 付星 on 16/6/22. // Copyright © 2016年 Yizzuide. All rights reserved. // #import <UIKit/UIKit.h> #import "XFSettingsProt.h" @class XFCellAttrsData,XFTableViewAgent; @protocol XFSettingTableViewDataSource,XFSettingsProt; @interface UIViewController (...
#ifndef __HI_USB2_H__ #define __HI_USB2_H__ extern int usb_disabled(void); extern void hiusb_start_hcd(void); extern void hiusb_stop_hcd(void); #endif
#include<stdio.h> int c(int,int); int main() { int n,m; int s; scanf("%d%d",&m,&n); printf("%d\n",c(m,n)); return 0; } int c(int m,int n) { if(n==0||m==n) return 1; else if(n==1) return m; else return c(m-1,n-1)+c(m-1,n); }
#include<stdio.h> int main(void) { int M, N; scanf("%d %d\n", &M, &N); printf("%d\n", M*N/2); }
/****************************************************************************** * * Component: OGDI VRF Driver * Purpose: Various VRF supporting functions. * ****************************************************************************** * Copyright (C) 1995 Logiciels et Applications Scientifiques (L.A.S.) Inc *...
/** @Generated Pin Manager Header File @Company: Microchip Technology Inc. @File Name: pin_manager.h @Summary: This is the Pin Manager file generated using MPLAB(c) Code Configurator @Description: This header file provides implementations for pin APIs for all pins selected in the GUI. ...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/resiliencehub/ResilienceHub_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/resiliencehub/model/So...
/* * VC-1 and WMV3 decoder * Copyright (c) 2011 Mashiat Sarker Shakkhar * Copyright (c) 2006-2007 Konstantin Shishkov * Partly based on vc9.c (c) 2005 Anonymous, Alex Beregszaszi, Michael Niedermayer * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under ...
/** * WinPR: Windows Portable Runtime * OpenSSL Library Initialization * * Copyright 2014 Thincast Technologies GmbH * Copyright 2014 Norbert Federa <norbert.federa@thincast.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
#pragma once #include <QObject> class Lane : public QObject { Q_OBJECT Q_DISABLE_COPY(Lane) public: explicit Lane(QObject *parent = nullptr); };
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2006, 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 cod...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "X2AP-IEs" * found in "../../asn_defs/asn1/x2ap-modified-15-05.asn" * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER` */ #include "MeNBCoordinationAssistanceInformation.h" /* * This type is implemen...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <frc2/command/CommandBase.h> #include <frc2/command/CommandHelper.h> #include "subsystems/Drivet...
/* * Copyright 2011-2016 Blender Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/** ****************************************************************************** * @file Audio/Audio_playback_and_record/Inc/waveplayer.h * @author MCD Application Team * @brief Header for waveplayer.c module. ****************************************************************************** * @attentio...
// // VROAnimationFloat.h // ViroRenderer // // Created by Raj Advani on 12/17/15. // Copyright © 2015 Viro Media. All rights reserved. // #ifndef VROAnimationFloat_h #define VROAnimationFloat_h #include "VROAnimation.h" #include "VROAnimatable.h" #include "VROMath.h" class VROAnimationFloat : public VROAnimatio...
/* * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with...
// Lean compiler output // Module: Lean.Elab.Print // Imports: Init Lean.Util.FoldConsts Lean.Elab.Command #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !defined(__CLANG__) #pragma GCC diag...
#define WIN32_LEAN_AND_MEAN #if defined (WIN32) #include <windows.h> #else #include <signal.h> #include <termios.h> #include <pthread.h> #include <unistd.h> #endif #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> #include <ctype.h> #include <time.h> #include ...
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
/*========================================================================= Program: Visualization Toolkit Module: vtkImageThresholdConnectivity.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Th...
/* Copyright 2015 Google 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/iam/IAM_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSStreamFwd.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/iam/model/StatusType.h> #include <aws/c...
/* * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...) * * Tests if the control register is updated correctly * at context switches * * Warning: this test will cause a very high load for a few seconds * */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <inttypes...
#include <std.h> #include "../farm.h" inherit BARNYARD; void create(){ ::create(); set_long(::query_long()+"\nA short %^ORANGE%^pathway "+ "%^RESET%^is just north of here, leading to an "+ "entrance into the unusual %^CYAN%^farmhouse%^RESET%^.\n"); add_item(({"path","pathway"}),"The pathway is li...
// // PipeStream.h // // $Id: //poco/1.4/Foundation/include/Poco/PipeStream.h#1 $ // // Library: Foundation // Package: Processes // Module: PipeStream // // Definition of the PipeStream class. // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby...
/* $NetBSD: pmap.c,v 1.8 2000/06/02 17:46:43 thorpej Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. * 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. Re...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...