text
stringlengths
9
948k
/* * Copyright (c) Facebook, Inc. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may select, at your optio...
/* * Contact.h * * Created on: Oct 4, 2017 * Author: ferdinandtembo */ #ifndef CONTACT_H_ #define CONTACT_H_ #include <iostream> using namespace std; class Contact { private: string firstname; string lastname; int phoneNumber; public: Contact(); Contact(string firstname, string lastname , int number...
#pragma once #include "Common\Error.h" namespace Daybreak { /** Object is not a shader exception. */ class ObjectNotShaderException : public DaybreakEngineException { public: /** Constructor. */ ObjectNotShaderException(unsigned int objectId, const std::string& shaderName); /*...
/* * Copyright 2012-2017 Katherine Flavel * * See LICENCE for the full copyright terms. */ /* * S2.1.2.2p3 "... or with two parameters (referred to here as argc and argv ..." */ int main(int argc, char *argv[]) { return 0; }
#import <Foundation/Foundation.h> #import "DSObject.h" /** * DocuSign REST API * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * * * NOTE: This class is auto generated by the swagger code generator program. * htt...
#define RT #define ASMNAME zgemm_rt #define ASMFNAME zgemm_rt_ #define NAME zgemm_rt_ #define CNAME zgemm_rt #define CHAR_NAME "zgemm_rt_" #define CHAR_CNAME "zgemm_rt" #define DOUBLE #define COMPLEX #include "/lustre/scratch3/turquoise/rvangara/RD100/distnnmfkcpp_Src/install_dependencies/xianyi-OpenBLAS-6d2da63/driver...
// // HelpViewController.h // compassionpark // // Created by air on 2017/2/10. // Copyright © 2017年 ORANLLC_IOS1. All rights reserved. // #import <UniversalFramework/UniversalFramework.h> @interface HelpViewController : BaseTableViewController @end
#ifndef _NAVDATA_H_ #define _NAVDATA_H_ #include "ConstantsAndMacros.h" #include "ARDroneTypes.h" C_RESULT navdata_reset(navdata_unpacked_t *nav); C_RESULT navdata_get(navdata_unpacked_t *data); C_RESULT navdata_write_to_file(bool_t enable); #endif // _NAVDATA_H_
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary */ #import <PhotoLibrary/XXUnknownSuperclass.h> @class NSMutableArray; @interface PLMutableCameraImportQueue : XXUnknownSuperclass { NSMutableArray *_items; // 4 = 0x4 } - (void...
/*************************************************************************/ /* bit_mask.h */ /*************************************************************************/ /* This file is part of: */ /* ...
#include <defs.h> #include <stdio.h> #include <intr.h> #include <kmonitor.h> static bool is_panic = 0; /* * * __panic - __panic is called on unresolvable fatal errors. it prints * "panic: 'message'", and then enters the kernel monitor. * */ void __panic(const char *file, int line, const char *fmt, ...) { if (i...
/* Copyright 2019 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...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> #define N 100 #define BUF_N 4 int buf[BUF_N] = {0}; int in = 0, out = 0; struct param{ int id; }; typedef struct{ int value; pthread_mutex_t mutex; pthread_cond_t cond; }sema_t; sema_t mutexs[N]; sema_t buf_mutex; sema_t b...
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
/* * Copyright 2009-2017 Alibaba Cloud 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...
/** * @brief: Implementation of a LORA platform dependent [STM32 CUBE HAL] radio functions * @author: luk6xff * @email: lukasz.uszko@gmail.com * @date: 2020-11-22 */ #ifndef __LORA_CUBE_HAL_H__ #define __LORA_CUBE_HAL_H__ #include "stm32l0xx_hal.h" #include "../../../lora.h" /** LORA STM32Cube specif...
/* * Copyright © BeyondTrust Software 2004 - 2019 * 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 * * Un...
#pragma once #include "sx/math-types.h" #include "rizz/3dtools.h" typedef rizz_camera rizz_camera; typedef struct rizz_api_imgui rizz_api_imgui; const sx_alloc* tools3d__alloc(void); bool debug3d__init(rizz_api_core* core, rizz_api_gfx* gfx, rizz_api_camera* cam); void debug3d__release(void); void debug3d__draw_bo...
#ifndef NETWORKABSTRACT_H #define NETWORKABSTRACT_H #include <QNetworkReply> #include <QSslConfiguration> #include "network/network_defines.h" namespace bzrobot { class NetworkAbstract : public QObject { Q_OBJECT public: explicit NetworkAbstract(QObject* parent = nullptr); virtual ~NetworkAbstract(); virtua...
/* * Copyright 2020-22 Andre M. Maree/KSS Technologies (Pty) Ltd. */ #pragma once #include <stdint.h> #include "hal_i2c.h" #ifdef __cplusplus extern "C" { #endif // ################################### DS248X 1-Wire Commands ###################################### #define ds248xCMD_DRST 0xF0 // Device Res...
#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_HiveExamplesVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_HiveExamplesVersionStrin...
#pragma once // Copyright 2014 Stellar Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "overlay/Peer.h" #include "util/Timer.h" #include <deque> namespace med...
#include "ruby.h" #include "c_noyes.h" #include "r_noyes.h" VALUE cSpeechTrimmer; static void _speech_trimmer_free(void *p) { speech_trimmer_free(p); } static VALUE t_init(VALUE self, VALUE args) { int len = RARRAY_LEN(args); SpeechTrimmer *st; int frequency = 16000; double threshold = 10; if (len > 0) ...
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #pragma once #include <vector> #include <map> #include <sstream> #include <string> #include "ifcpp/model/GlobalDefines.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingObject.h" #include "IfcStructuralAction.h" class IFCQUERY_EXPOR...
/** * Copyright 2021 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...
/************************************************************* *循环数组实现的阻塞队列,m_back = (m_back + 1) % m_max_size; *线程安全,每个操作前都要先加互斥锁,操作完后,再解锁 **************************************************************/ #ifndef BLOCK_QUEUE_H #define BLOCK_QUEUE_H #include <iostream> #include <stdlib.h> #include <pthread.h> #includ...
/* M3 -- Meka Robotics Real-Time Control System Copyright (c) 2010 Meka Robotics Author: edsinger@mekabot.com (Aaron Edsinger) M3 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 3 of the Lic...
/*! * Copyright (c) 2017 by Contributors * \file dlpack.h * \brief The common header of DLPack. */ #ifndef DLPACK_DLPACK_H_ #define DLPACK_DLPACK_H_ #ifdef __cplusplus #define DLPACK_EXTERN_C extern "C" #else #define DLPACK_EXTERN_C #endif /*! \brief The current version of dlpack */ #define DLPACK_VERSION 60 /*...
#include <stdio.h> #include <stdlib.h> #include <time.h> double combine_right(const double*, int, double(*)(double, double)); double combine_left(const double*, int, double(*)(double, double)); double max(double, double); double min(double, double); double plus(double, double); double minus(double, double); int main(...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__int64_t_rand_multiply_12.c Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-12.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: rand Set data to result of rand() * GoodSource: Set data ...
// // JETSSpeakerModel.h // Database1 // // Created by Mahmoud Amin on 4/5/16. // Copyright (c) 2016 JETS. All rights reserved. // #import <Foundation/Foundation.h> #import "JETSAbstractModel.h" #import "JETSDBConnectionFactory.h" #import "JETSSpeaker.h" @interface JETSSpeakerModel : NSObject <JETSAbstractModel>{...
// Specification file for the Sale class #ifndef SALE_H #define SALE_H class Sale { private: double itemCost; double taxRate; public: Sale(double cost, double rate) { itemCost = cost; taxRate = rate; } double getItemCost() const { return itemCost; } double...
/* See LICENSE for license details. */ #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <pwd.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <sys/ioctl.h> #include <sys/select.h> #include <sys/types.h> #include <sys/wait...
/* * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
// // Created by johnm on 9/1/2019. // #ifndef TRAFFIC_PROGRAM_GARAGE_H #define TRAFFIC_PROGRAM_GARAGE_H #include <string> #include "DataObject.h" class Garage: public DataObject { public: Garage(int rc, int ts, int es,int wp, double un,std::string gn,std::string date, std::string time): DataObject(gn,date,time)...
#ifndef GRAPH_H #define GRAPH_H #include <bits/stdc++.h> #include "dlist.h" #define maxn 105 void read_input(Dlist matrix[maxn], int &n); void write_output(Dlist matrix[maxn], Dlist graph[maxn], const int n); #endif
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
/*! \file tomahawk_mmu_port_up_sequence.c * * Tomahawk mmu port up sequence functions. */ /* * Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to * Broadcom Limited and/or its subsidiaries. * * Broadcom Switch Software License * * This license governs the use of the accompanying Broadco...
/* *********************************************************************************************************************** * * Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
#ifndef _V_CODEBOOK_H_ #define _V_CODEBOOK_H_ /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS ...
// 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 CHROME_BROWSER_SIGNIN_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_WRAPPER_H_ #define CHROME_BROWSER_SIGNIN_FAKE_PROFILE_OAUTH2_TOKEN_SERVICE_WRAPPER_H_ #in...
// Copyright (c) 2013 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 TOOLS_GN_ESCAPE_H_ #define TOOLS_GN_ESCAPE_H_ #include <iosfwd> #include <string_view> enum EscapingMode { // No escaping. ESCAPE_NONE, ...
/* Copyright Joyent, Inc. and other Node contributors. 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 without limitation the * righ...
void ComputeMatrices() { //SetFixed(&fovy, 60622); SetFixed(&aspect, (65536 * 320) / 200); SetFixed(&zn, 32768); SetFixed(&zf, 65536 * 1000); struct Matrix_t perspective = PerspectiveFov(fovy, aspect, zn, zf); angle = Sub(angle, FromFixed(600)); struct Fixed circular = RadianToCircular(ang...
/* linux/arch/arm/plat-s5pc1xx/dev-uart.c * * Copyright 2009 Samsung Electronics Co. * Byungho Min <bhmin@samsung.com> * * Based on plat-s3c64xx/dev-uart.c * * 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...
//===- llvm/InitializePasses.h -------- Initialize All Passes ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
/* * The MIT License (MIT) * * Copyright (c) 2019 Ha Thach (tinyusb.org) * * 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 ...
/* * Copyright 2010 Tilera Corporation. 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 * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will ...
/****************************************************************************** Copyright (c) 2015 Teardrop Games 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 wit...
#ifndef SETPOLYGONBOUNDARYWIDTH_H #define SETPOLYGONBOUNDARYWIDTH_H namespace Ilwis { namespace Geodrawer { class SetPolygonBoundaryWidth : public DrawerOperation { public: SetPolygonBoundaryWidth(); ~SetPolygonBoundaryWidth(); SetPolygonBoundaryWidth(quint64 metaid, const Ilwis::OperationExpression &e...
#pragma once #include <avr/io.h> // Processor speed #define F_CPU 1000000 // Voltage the project will be running on #define VOLTAGE 5 // Output LED on Pin 3 #define LED_PIN (PB4) #define LED_PORT (PORTB) #define LED_DDR (DDRB) // TMP36 on ADC3, Pin 2 #define TMP36_PIN_MUX 3
#pragma once #include "weak_target_helpers.h" #include "pointwise_optimization_subsets.h" #include <catboost/cuda/cuda_lib/cuda_buffer.h> #include <catboost/cuda/cuda_lib/cuda_manager.h> #include <catboost/cuda/gpu_data/feature_parallel_dataset.h> #include <catboost/cuda/models/oblivious_model.h> #include <catboost/l...
#pragma once /* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing 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 req...
/* Copyright (c) 2011, 2020, Oracle and/or its affiliates. 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 certain software (including...
/****************************************************************************** * * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the * extended FADT-V5 sleep registers. * *****************************************************************************/ /***********************...
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // C++ from RobotBuilder. Do not put any code or make any change in // the blocks ...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2016 Benoit Steiner <benoit.steiner.goog@gmail.com> // // 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 ca...
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope tha...
/// this file implements the main globox functions for the x11 platform /// it is completely isolated from the graphic context functions #define _XOPEN_SOURCE 700 // include globox structures and functions #include "globox.h" #include "globox_error.h" // system includes #include <sys/epoll.h> #include <stdlib.h> #inc...
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <esp_types.h> #include "esp_err.h" #include "freertos/FreeRTOS.h" #include "driver/gpio.h" #include "driver/rtc_io.h" #include "soc/soc.h" #include "soc/periph_defs.h" #if !CONFIG_FREERTOS...
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * 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 as published by * the Free Software Foundation; either version 2 of the License, or * (at your opt...
/** @file MD5 Digest Wrapper Implementation over OpenSSL. Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalCryptLib.h" #include <openssl/md5.h> #ifdef ENABLE_MD5_DEPRECATED_INTERFACES /** Retrieves the size, in bytes, of t...
/* * Fujitsu mb86a20s driver * * Copyright (C) 2010 Mauro Carvalho Chehab * * 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. * * This program is distributed in the ...
// // EXTSelectorCheckingTest.h // extobjc // // Created by Justin Spahr-Summers on 26.06.12. // Copyright (C) 2012 Justin Spahr-Summers. // Released under the MIT license. // #import "EXTSelectorChecking.h" #import <XCTest/XCTest.h> @interface EXTSelectorCheckingTest : XCTestCase @end
/*============================================================================== Copyright (c) 2010-2013 Christopher Baker <http://christopherbaker.net> 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 t...
// // UIPhotoTittleReusableView.h // PhotographAlbum // // Created by YinChangdao on 15/11/4. // Copyright © 2015年 YinChangdao. All rights reserved. // #import <UIKit/UIKit.h> @interface UIPhotoTittleReusableView : UICollectionReusableView @property (weak, nonatomic) IBOutlet UILabel *photoDate; @property (weak,...
#define TESTNAME "Initial coding. Intra frame BWLZH algorithm. High accuracy. Cubic cell." #define FILENAME "test44.tng_compress" #define ALGOTEST #define NATOMS 100000 #define CHUNKY 1 #define SCALE 0.5 #define PRECISION 1e-8 #define WRITEVEL 0 #define VELPRECISION 0.1 #define INITIALCODING 9 #define INITIALCODINGPARA...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2018, Lars Henning Kayser * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
/** * @file xmc_vadc.c * @date 2019-12-16 * * @cond ***************************************************************************** * XMClib v2.2.0 - XMC Peripheral Driver Library * * Copyright (c) 2015-2020, Infineon Technologies AG * All rights reserved. * * Boost Software License - Version 1.0 - August 17th...
/* Copyright (c) 2015 - 2022 Advanced Micro Devices, Inc. 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 without limitation the rights to use, ...
#import "MHNibTableViewCell.h" /* * This table view cell uses images to draw its content and its background. * * Based on Matt Gallagher's EasyCustomTable example: * http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html * * These cells pretend to be grouped style but in Matt Gallager's example t...
//----------------------------------------------------------------------------- // Project : VST SDK // // Category : Helpers // Filename : public.sdk/source/vst/hosting/stringconvert.h // Created by : Steinberg, 11/2014 // Description : c++11 unicode string convert functions // //---------------------------...
// // 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 <SpringBoardUIServices/SBUIRemoteAlertServiceViewController.h> #import "TSSIMSetupDelegate-Protocol.h" @class NSMutableDictionary, NSStri...
#include "div.h" #include <stdbool.h> #include <stddef.h> /*#include <stdio.h>*/ const int BASE = 10; const int MOD = 3; #define IN_ZERO '0' #define IN_ONE '1' #define IN_TWO '2' #define IN_SPACE '3' #define IN_END '\0' #define OUT_ZERO '0' #define OUT_ONE '1' void emit(size_t* pos, char c) { ++*pos; putchar(c); } ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:16:35 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/VoiceSh...
#include <stdio.h> #include <libxml/xmlversion.h> #include<libxml/parser.h> #include<libxml/tree.h> static void print_element_names(xmlNode *a_node) { xmlNode *cur_node = NULL; for (cur_node = a_node; cur_node; cur_node = cur_node->next) { if (cur_node->type == XML_ELEMENT_NODE) { ...
/* * Copyright (C) 2016 Samsung Electronics * Jaehoon Chung <jh80.chung@samsung.com> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <dm.h> #include <i2c.h> #include <power/pmic.h> #include <power/max8997_pmic.h> #include <errno.h> DECLARE_GLOBAL_DATA_PTR; static int max8997_reg_count(st...
#pragma once #include "nanodump.h" #include "ntdefs.h" #include "output.h" typedef struct _linked_list { struct _linked_list* next; } linked_list, *Plinked_list; #define intAlloc(size) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size) #define intFree(addr) HeapFree(GetProcessHeap(), 0, addr) #define RVA(type,...
// // SPDX-License-Identifier: BSD-3-Clause // Copyright (c) Contributors to the OpenEXR Project. // #include <string> void testXdr (const std::string& tempDir);
/* UART Events Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <stdio.h> #i...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "../libmio0.h" #include "../n64graphics.h" #include "../utils.h" #define MK64KARTS_VERSION "0.2" // first and last MIO0 blocks for kart textures #define MIO0_FIRST 0x145470 #define MIO0_LAST 0x619730 #define WIDTH 64 #define HEIGHT 64 typedef str...
/* * Copyright (C) 2017 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @defgroup net_gnrc_netif_conf GNRC network interface configurations * @ingroup ...
#pragma once #ifndef EXPORT #define EXPORT(x) x #endif #ifndef DEBUG # define DEBUG 0 #endif #define LOG_NONE 0 #define LOG_ERROR 1 #define LOG_WARN 2 #define LOG_INFO 3 #define LOG_DEBUG 4 #define LOG_TRACE 5 EXPORT(void) logLevel(int level); EXPORT(void) logMessage(int level, const char* fileName, con...
/* * Copyright (c) 2018 Yurii Hamann * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief System/hardware module for STM32F7 processor */ #include <kernel.h> #include <device.h> #include <init.h> #include <soc.h> #include <arch/cpu.h> #include <arch/arm/aarch32/cortex_m/cmsis.h> /** * @brief Perfo...
/* Shared library add-on to iptables to add redirect support. */ #include <stdio.h> #include <netdb.h> #include <string.h> #include <stdlib.h> #include <getopt.h> #include <iptables.h> #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/netfilter/nf_nat.h> #define IPT_REDIRECT_OPT_DEST 0x01 #define IPT_REDIREC...
/* stb_image - v2.27 - public domain image loader - http://nothings.org/stb no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it should look like t...
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation 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, includi...
/********************************************************************** Audacity: A Digital Audio Editor ModuleManager.h Dominic Mazzoni James Crook **********************************************************************/ #ifndef __AUDACITY_MODULEMANAGER_H__ #define __AUDACITY_MODULEMANAGER_H__ #include <m...
/* Copyright (c) 2007 Thomas Jahns <Thomas.Jahns@gmx.net> 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" AND THE AU...
#include <stdio.h> #define num 10 int main() { const int numero=32; int variable=12; printf("Valor de constante:%d\n", numero); printf("Valor de variable:%d\n", variable); printf("Valor de macro:%d\n", num); printf("\n\nCambiando valores...\n\n"); // numero=10; variable=0; //#define num 300 printf("N...
/* * Disk Array driver for Compaq SMART2 Controllers * Copyright 1998 Compaq Computer Corporation * * 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 L...
character*100 senditid,senditrevision,senditrevdate Cdata senditid/'$RCSfile: sendit.h,v $'/ Cdata senditrevdate/'$Date: 1994/03/13 01:01:44 $'/ C data senditrevision/'$Revision: 1.3 $'/ real*8 qsa,qtota,pda,tea common/sendit/qsa,qtota,pda,tea
/** * @file gateway_common.c * @brief * * Copyright (c) 2021 Laird Connectivity * * SPDX-License-Identifier: Apache-2.0 */ #include <logging/log.h> LOG_MODULE_REGISTER(gateway_common, CONFIG_GATEWAY_LOG_LEVEL); /******************************************************************************/ /* Includes ...
/* * 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 ...
// // XAnimator.h // RecordLife // // Created by 谢俊逸 on 05/07/2017. // Copyright © 2017 谢俊逸. All rights reserved. // #import <UIKit/UIKit.h> #ifdef AH_EASING_USE_DBL_PRECIS #define AH_FLOAT_TYPE double #else #define AH_FLOAT_TYPE float #endif typedef AH_FLOAT_TYPE AHFloat; typedef AHFloat (*AHEasingFunction)(AHFl...
/* Altera Triple-Speed Ethernet MAC driver * Copyright (C) 2008-2014 Altera Corporation. All rights reserved * * Contributors: * Dalon Westergreen * Thomas Chou * Ian Abbott * Yuriy Kozlov * Tobias Klauser * Andriy Smolskyy * Roman Bulgakov * Dmytro Mytarchuk * Matthew Gerlach * * Origin...
#ifndef parent_window_h #define parent_window_h #include <QWidget> #include "checksum_data.h" #include "checksum_window.h" class parent_window : public QWidget { Q_OBJECT public: parent_window(); private: checksum_window *window; checksum_data data; }; #endif
/*- * Copyright (c) 2005 John Bicket * 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...
#pragma once #include <optional> #include "HistoryContext.h" #include "vendor/dock/DockWidget.h" class QListWidget; namespace AxiomModel { class HistoryList; } namespace AxiomGui { class HistoryPanel : public ads::CDockWidget { Q_OBJECT public: explicit HistoryPanel(QWidget *parent = ...