text
stringlengths
9
948k
// Copyright (c) 2019 PaddlePaddle 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...
// // CBWorld.h // CBBox2D // // Created by Juan Jose Karam on 2/17/13. // Copyright (c) 2013 Joybox. All rights reserved. // #import <Foundation/Foundation.h> @class B2DBody; @class B2DContactListener; typedef enum { kStaticBodyType = 0, kKinematicBodyType = 1, kDynamicBodyType = 2 } B2DBodyTypes; @in...
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI */ @interface QLWindowEffectsLibrary : NSObject + (id)_newTransitionWindowWithFrame:(struct CGRect { struct CGPoint { double x_1_1_1; double x_1_1_2; } x1; struct CG...
#ifndef BCMDHD_DYNAMIC_H #define BCMDHD_DYNAMIC_H #ifdef CONFIG_BCMDYNAMIC extern int bcmdhd_chipid; extern int bcmdhd_custom_ampdu_ba_wsize; extern int bcmdhd_custom_glom_setting; extern int bcmdhd_custom_rxchain; extern int bcmdhd_custom_ampdu_mpdu; extern int bcmdhd_custom_pspretend_thr; extern int bcmdhd_wifi_turn...
#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_SGSPopover_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_SGSPopover_TestsVers...
// Copyright 2016 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 GARNET_BIN_TRACE_MANAGER_TRACE_SESSION_H_ #define GARNET_BIN_TRACE_MANAGER_TRACE_SESSION_H_ #include <fuchsia/tracing/controller/cpp/fidl.h> #incl...
// // Created by zsdn on 6/25/15. // #ifndef DEMO_MODULE_UT_SWITCH_ADAPTER_TESTS_H #define DEMO_MODULE_UT_SWITCH_ADAPTER_H #include <cppunit/TestCase.h> #include <cppunit/extensions/HelperMacros.h> #include <zmf/MessageType.hpp> #include <zmf/ZmfMessage.hpp> #include <zsdn/topics/SwitchRegistryModuleTopics.hpp> #incl...
/* * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
/* AUtomorphismgroup_ON_Orientied_Matroid */ /* testet eine Vorzeichenliste auf Erfuellung einer Automorphismengruppe */ /* by Markus Gebhard, THD, FB04AG3b */ #include <stdio.h> #include <string.h> #define mpkt 17 /* maximale Punktzahl + 1 */ #define mrng 5 /* maximaler Rang */ #define mvr...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
/* file: kmeans_types.h */ /******************************************************************************* * Copyright 2014-2020 Intel 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 Licens...
#include "zxnftp.h" void cmd_rm(char **params) { if (!params[1] || params[2]) { printerr("Incorrect number of arguments. Usage rm <file/dir>\n"); return; } call_simple("RM", params[1]); return; }
// Copyright 2020 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #ifndef SkVM_opts_DEFINED #define SkVM_opts_DEFINED #include "include/private/SkVx.h" #include "src/core/SkVM.h" // Ideally this is (x*y + 0x2000)>>14, // but to let use vpmulhrsw we'll ...
/*捂脸猫FaceCat框架 v1.0 1.创始人-矿洞程序员-上海宁米科技创始人-脉脉KOL-陶德 (微信号:suade1984); 2.联合创始人-上海宁米科技创始人-袁立涛(微信号:wx627378127); 3.联合创始人-肖添龙(微信号:xiaotianlong_luu); 4.联合开发者-陈晓阳(微信号:chenxiaoyangzxy),助理-朱炜(微信号:cnnic_zhu) 5.该框架开源协议为BSD,欢迎对我们的创业活动进行各种支持,欢迎更多开发者加入。 包含C/C++,Java,C#,iOS,MacOS,Linux六个版本的图形和通讯服务框架。 */ #ifndef __CHARTTOOLTIP...
#pragma once #include "Application/ApplicationImpl.h" #include "Threading/EventImpl.h" #include "Utility/ThrowIfFailed.h" #include <atomic> #include <cassert> #include <mutex> template <typename CpuLoadArgs, typename CpuLoadResult, typename OperationResult> class CpuGpuOperation { public: enum class AsyncLoading...
/* * Health.h * * Health stores information about the container&#39;s healthcheck results. */ #pragma once #include <optional> #include "common_json.h" #include "HealthcheckResult.h" #include <vector> namespace openapi { /*! \brief Health stores information about the container's healthcheck results. * * ...
//============================================================================ // 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 // PURP...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:48:08 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Li...
// Copyright (c) 2014-2018 Bauhaus-Universitaet Weimar // This Software is distributed under the Modified BSD License, see license.txt. // // Virtual Reality and Visualization Research Group // Faculty of Media, Bauhaus-Universitaet Weimar // http://www.uni-weimar.de/medien/vr #ifndef LAMURE_OFFSETINDEX_H #define LAMU...
/* * State Helper Driver * * Copyright (c) 2016, Pranav Vashi <neobuddy89@gmail.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 <linux/cpu.h> #include <l...
/* * Misc routines that are used by tcpd and by tcpdchk. * * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. * * $FreeBSD: head/contrib/tcp_wrappers/misc.c 56977 2000-02-03 10:27:03Z shin $ */ #ifndef lint static char sccsic[] = "@(#) misc.c 1.2 96/02/11 17:01:29"; #endif #inc...
/* @(#)e_exp.c 1.6 04/04/22 */ /* * ==================================================== * Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved. * * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. * =========================...
#pragma once #include "MModule.h" class MStd : public MModule { private: protected: public: MStd(); void ExecuteCommand(vector<string> args) override; };
// // UITextView+XKPlaceHolder.h // XiongKe // // Created by shaokailin on 2020/6/19. // Copyright © 2020 重庆博千亿网络科技有限公司. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UITextView (XKPlaceHolder) - (void(^)(NSString *,UIColor * _Nullable))placeHolder; @end NS_ASSUME_NONNULL_EN...
/* * Copyright (C) 2017 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 conditions a...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file bulletConvexHullShape.h...
//Voice decompressor example #include <inttypes.h> #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <avr/pgmspace.h> #include "USART.h" #define TableSize 3280 //refers to the following incl file //Contains the packed 1-bit codes for syntehsis #include "mega644_1_bit.h" //reconstruction...
// Suite.h: interface for the CSuite class. // ////////////////////////////////////////////////////////////////////// #include "test.h" #if !defined(AFX_SUITE_H__F1A2E086_3DAE_4F83_ABEA_BF59D1571439__INCLUDED_) #define AFX_SUITE_H__F1A2E086_3DAE_4F83_ABEA_BF59D1571439__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endi...
#if 0 // // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // fxc /Zpc /Tvs_2_0 /EVS /Fh // Shader/EffekseerRenderer.ModelRenderer.ShaderLighting_VS.h // Shader/model_renderer_lighting_VS.fx // // // Parameters: // // float4 fLightColor; // float4 fLightDirection; // float4 fModelColor[4...
/* * This file is part of the coreboot project. * * Copyright (C) 2007 Advanced Micro Devices, 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 ...
// ========================================================================================== // Copyright (C) Goddamn Industries 2018. All Rights Reserved. // // This software or any its part is distributed under terms of Goddamn Industries End User // License Agreement. By downloading or using this software or any i...
// // Modified MIT License // // Copyright (c) 2010-2017 Kite Tech Ltd. https://www.kite.ly // // 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 l...
#include "game/menu/textinput.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <SDL2/SDL.h> #define COLOR_MENU_LINE color_create(0,0,89,255) #define COLOR_MENU_BORDER color_create(0,0,243,255) #define COLOR_MENU_BG color_create(4,4,16,210) void textinput_create(component *c, font *font, c...
/* +----------------------------------------------------------------------+ | PHP HTML Embedded Scripting Language Version 3.0 | +----------------------------------------------------------------------+ | Copyright (c) 1997,1998 PHP Development Team (See Credits file) | +---------...
/* LUFA Library Copyright (C) Dean Camera, 2009. dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ /* Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, and distribute this software and its documentation ...
// Bit width compression using a piecewise linear function // // Developed using Windows subsystem for Linux (WSL 1) and Ubuntu 18.04. // Compile via: gcc -o pwl_codec_test pwl_codec.c pwl_codec_test.c // // Author: Casey Miller, Microsoft (millerc@microsoft.com) // Date: 5/21/20 #include <assert.h> #include "pwl_co...
/***************************************************************************//** * @file * @brief Configuration file for PAL (Platform Abstraction Layer) ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ***...
/* * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
/* clang-format off */ /* * Generated file - do not edit. * Command: /data/fwbuild-volumes/2.15.0/apps/m5_hz/esp32/build_contexts/build_ctx_750153556/deps/modules/mongoose-os/tools/mgos_gen_config.py --c_name=mgos_ro_vars --c_global_name=mgos_sys_ro_vars --dest_dir=/data/fwbuild-volumes/2.15.0/apps/m5_hz/esp32/build_...
/* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* $Header: strcspn.c,v 1.1 91/12/19 13:20:40 philip Exp $ */ #include <string.h> size_t memcspn(const char *string, size_t strlen, const char *notin, siz...
/* Copyright 2015-present Samsung Electronics Co., Ltd. and other contributors * * 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 * * U...
/* origin: OpenBSD /usr/src/lib/libm/src/ld80/e_erfl.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is f...
/* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET * * This file must be used under the terms of the CeCILL. * This source file is licensed as described in the file COPYING, which * you should have received as part of this distribution. The ...
/* * Auto generated Run-Time-Environment Configuration File * *** Do not modify ! *** * * Project: 'ACM271_T_F070' * Target: 'ACM271_T_F070' */ #ifndef RTE_COMPONENTS_H #define RTE_COMPONENTS_H /* * Define the Device Header File: */ #define CMSIS_device_header "stm32f0xx.h" #en...
#ifndef _RIP_OTHERS_H_ #define _RIP_OTHERS_H_ inline DWORD GetMappedOthersSize(PMAPPED_PAGE pPage, MAPPED_INSTRUCTION* pInstruction, DWORD* pIndex) { return pInstruction->Length; } inline DWORD WriteMappedOthers(PMAPPED_PAGE pPage, MAPPED_INSTRUCTION* pInstruction, OPCODE* buffer, PCALLBACK_LIST pCallbackList, DWORD...
#include "private.h" #include <Elementary.h> #include "termpty.h" #include "termptyesc.h" #include "termptyops.h" #include "termptysave.h" #include "termio.h" #include <sys/types.h> #include <signal.h> #include <sys/wait.h> #include <sys/stat.h> #include <stdlib.h> #include <fcntl.h> #include <sys/ioctl.h> #include <st...
// dear imgui, v1.86 WIP // (headers) // Help: // - Read FAQ at http://dearimgui.org/faq // - Newcomers, read 'Programmer guide' in imgui.cpp for notes on how to setup Dear ImGui in your codebase. // - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that. // Read imgui....
#include "list.h" #include <stdlib.h> #include <stdio.h> #include <assert.h> // #include <unistd.h> /* - Devuelve una lista vacia */ List list_crear() { return NULL; } /* - Toma una Lista (@list) Y una función del tipo Destruir y destruye la lista. */ void list_destruir(List lista, Destruir destruir) {...
/* linux/drivers/ide/arm/bast-ide.c * * Copyright (c) 2003-2004 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * 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. * */ #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/io/async/EventBase.h> #include <mysql.h> #include "squangle/base/Con...
/* 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...
/* * Alias with array * Author: Sen Ye * Date: 06/09/2013 * * Migrated to Discover: Ta Quang Trung * Date: Nov 08, 2020 */ #include "discover.h" struct MyStruct { int * f1; int * f2; }; int main() { struct MyStruct s[3]; int a,b,c,d; s[0].f1 = &a, s[0].f2 = &c;//, s[0].f3 = &x; s[1].f1 = &b, s[1]....
/* Virtual keyboard */ #include "vkeyb.h" #include "vkeyb_config.h" #include "vkeyb_layout.h" #include "ui.h" #include "odyssey2_keyboard.inc" static const uint16_t *current_kb_image_data = ODYSSEY2_KEYBOARD_IMG_DATA; static int current_kb_width = ODYSSEY2_KEYBOARD_IMG_WIDTH; static int current_kb_height = ODYSSEY2_...
#include "../../corelibs/U2View/src/ov_msa/PairAlign/PairAlignFactory.h"
#ifndef Calibration_EcalCalibAlgos_miscalibExample_h #define Calibration_EcalCalibAlgos_miscalibExample_h /**\class miscalibExample Description: Analyzer to fetch collection of objects from event and make simple plots Implementation: \\\author: Lorenzo Agostino, September 2006 */ // // // system include file...
/* * @XMHF_LICENSE_HEADER_START@ * * eXtensible, Modular Hypervisor Framework (XMHF) * Copyright (c) 2009-2012 Carnegie Mellon University * Copyright (c) 2010-2012 VDG Inc. * All Rights Reserved. * * Developed by: XMHF Team * Carnegie Mellon University / CyLab * VDG Inc. * ...
// -*- C++ -*- #if !defined(__levelSet_GridUniform_h__) #define __levelSet_GridUniform_h__ #include "../array/SimpleMultiArray.h" #include "../array/SimpleMultiIndexRangeIterator.h" #include "../geom/kernel/BBox.h" #include <iostream> namespace levelSet { //! A grid is a multi-array of patches. /*! \param _T The...
// Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // 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, in...
// // KMQNSDictionaryValidator.h // Pods // // Created by Weinan Qiu on 2015-10-24. // // #import <Foundation/Foundation.h> #import "KMQValidator.h" @interface KMQNSDictionaryValidator : NSObject <KMQValidator> @property (nonatomic, assign) BOOL allowNull; @property (nonatomic, assign) NSUInteger minSize; @proper...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
/* * Copyright (c) 2011-2017, 2019-2020 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above cop...
/* * File : dfs_ramfs.h * This file is part of Device File System in RT-Thread RTOS * COPYRIGHT (C) 2004-2013, RT-Thread Development Team * * 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 Fou...
/* * Copyright 2004 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 ...
// // UIColor+TD.h // TabDump // // Created by Daniel on 4/23/14. // Copyright (c) 2014 dkhamsing. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (TD) + (UIColor*)td_highlightColor; + (UIColor*)td_dayTabCategoryColor; @end
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2014 VMware, Inc. or its affiliates. // // @filename: // CParseHandlerScalarArrayRefIndexList.h // // @doc: // SAX parse handler class for parsing the list of arrayref indexes //-----------------------...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2012-2017 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 BITCOIN_UI_INTERFACE_H #define BITCOIN_UI_INTERFACE_H #include <stdint.h> #in...
#ifndef MEDIAPLAYLISTCONTROL_H #define MEDIAPLAYLISTCONTROL_H #include "MediaControl.h" #include "MediaPlaylist.h" #include <QObject> class MediaPlaylistProvider; class MediaPlaylistControl : public MediaControl { Q_OBJECT public: virtual ~MediaPlaylistControl(); virtual MediaPlaylistProvider *playlistP...
#include "stdio.h" #ifndef mips #include "stdlib.h" #endif #include "xlisp.h" #include "sound.h" #include "falloc.h" #include "cext.h" #include "fromobject.h" void fromobject_free(); typedef struct fromobject_susp_struct { snd_susp_node susp; boolean done; LVAL src; } fromobject_susp_node, *fromobject_...
/* * Copyright (c) 2018, NXP * * SPDX-License-Identifier: Apache-2.0 */ #include <init.h> #include <soc.h> #include <dt-bindings/rdc/imx_rdc.h> #include <cortex_m/exc.h> #include "wdog_imx.h" /* Initialize Resource Domain Controller. */ static void SOC_RdcInit(void) { /* Move M4 core to the configured RDC domain...
/* * (C) Copyright 2012 * Texas Instruments, <www.ti.com> * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _ASM_ARCH_SPL_H_ #define _ASM_ARCH_SPL_H_ #define BOOT_DEVICE_NONE 0x00 #define BOOT_DEVICE_MMC2_2 0xFF #if defined(CONFIG_TI814X) #define BOOT_DEVICE_XIP 0x01 #define BOOT_DEVICE_XIPWAIT 0x02 #define BOOT...
/* * Copyright (c) 2015 DeNA Co., Ltd., Kazuho Oku * * 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,...
/* * REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver * * Copyright (C) 2001 REINER SCT * Author: Matthias Bruestle * * Contact: support@reiner-sct.com (see MAINTAINERS) * * This program is largely derived from work by the linux-usb group * and associated source files. Please see the usb/se...
#include <ctype.h> #include "clingo/io/cScanner.h" #include "clingo/lang/expect.h" #define expect_( Sca, Left, Right ) \ { \ expect_c_( chars_is_c( scanned_chars_c_( Sca ), (Left) ) ); ...
#include <stdio.h> #define MAX 100 int dolzina(char *s) { int i, len = 0; for (i = 0; s[i] != '\0'; i++) len++; return len; } int length(char *s) { if (*s == '\0') return 0; return 1 + length(s + 1); } int main() { char s[MAX]; printf("Vnesete ja tekstualna niza:\n"); gets(s); printf("Dolzina: %d i %d\n...
/** @file wlan.c * * @brief This file provides Core WLAN definition * * (C) Copyright 2008-2018 Marvell International Ltd. All Rights Reserved. * * MARVELL CONFIDENTIAL * The source code contained or described herein and all documents related to * the source code ("Material") are owned by Marvell Internat...
#include <cstddef> template <typename T> void PrintArr(const T* arr, size_t size) { for (size_t i = 0; i < size; ++i) { std::cout << arr[i] << " "; } std::cout << std::endl; } template <typename T> void swap(T* data, size_t x, size_t y) { auto temp = data[x]; data[x] = data[y]; data[y] = temp; } temp...
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // // Copyright (C) 2002 - 2016, The pgAdmin Development Team // This software is released under the PostgreSQL Licence // // xh_sqlbox.h - wxSqlBox handler // ////////////////////////////////////////////////...
/* SPDX-License-Identifier: GPL-2.0 */ /* * Trace events for the ChromeOS Embedded Controller * * Copyright 2019 Google LLC. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM cros_ec #if !defined(_CROS_EC_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ) #define _CROS_EC_TRACE_H_ #include <linux/bits.h> #include <linux/ty...
/* * geteigen_initialize.c * * Code generation for function 'geteigen_initialize' * * C source code generated on: Sat Feb 11 19:17:44 2017 * */ /* Include files */ #include "rt_nonfinite.h" #include "geteigen.h" #include "geteigen_initialize.h" /* Type Definitions */ /* Named Constants */ /* Variable Declara...
// 2014 Hiroyuki Ogasawara // vim:ts=4 sw=4 noet: #ifndef BENCHMARK_TEST_H_ #define BENCHMARK_TEST_H_ #include <minilib/Platform.h> #include "ThreadAdapter.h" #include "MultiAdapter.h" #include <minilib/FixedArray.h> #include <minilib/SystemInfo.h> #define USE_MATRIX_TEST 0 //--------------------------------------...
/** ** @file mruby/array.h - Array class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_ARRAY_H #define MRUBY_ARRAY_H #include "common.h" /* * Array class */ MRB_BEGIN_DECL typedef struct mrb_shared_array { int refcnt; mrb_ssize len; mrb_value *ptr; } mrb_shared_array; #define MRB_ARY_EMBED_LEN_MA...
/* See LICENSE file for copyright and license details. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <X11/Xlib.h> #include <X11/Xft/Xft.h> #include "drw.h" #include "util.h" #define UTF_INVALID 0xFFFD #define UTF_SIZ 4 static const unsigned char utfbyte[UTF_SIZ + 1] = {0x80, 0, 0xC0, ...
/*------------------------------------------------------------------------- REG52x2.H Header file for AtmelWM TS80C52x2/54x2/58x2 Copyright (c) 1988-2001 Keil Elektronik GmbH and Keil Software, Inc. All rights reserved. -------------------------------------------------------------------------*/ sfr P0 = 0x...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2014-2015 Analog Devices Inc. * Author: Lars-Peter Clausen <lars@metafoo.de> */ #include <linux/slab.h> #include <linux/kernel.h> #include <linux/dmaengine.h> #include <linux/dma-mapping.h> #include <linux/spinlock.h> #include <linux/err.h> #include <linu...
#pragma once #include <chrono> #include <cstdint> // A timer to measure how long some code takes to execute. class Timer { public: // Constructs a timer and starts it. Timer() : startTime(std::chrono::steady_clock::now()) {} // Returns the time elapsed since the timer was started. template <typename UnitT =...
class brickValue { public: String name = ""; String url = ""; brickValue(String name, String url) { this->name = name; this->url = url; } }; class brickCommand { public: String name = ""; String url = ""; brickCommand(String name...
/* This file is part of Kismet Kismet 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. Kismet is distributed in the ...
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) | +---------...
/*---------------------------------------------------------------------------*/ // Author : hiyohiyo // Mail : hiyohiyo@crystalmark.info // Web : http://crystalmark.info/ // License : The MIT License /*---------------------------------------------------------------------------*/ #ifndef __G...
/* OpenGL loader generated by glad 0.1.33 on Thu Sep 19 22:28:00 2019. Language/Generator: C/C++ Specification: gl APIs: gl=4.6 Profile: compatibility Extensions: Loader: True Local files: False Omit khrplatform: False Reproducible: False Commandline: --pr...
/** ****************************************************************************** * @file stm32f3xx_nucleo_32.h * @author MCD Application Team * @version V1.0.0 * @date 04-September-2015 * @brief This file contains definitions for: * - LED available on STM32F3xx-Nucleo_32 Kit from STMic...
#pragma once #include <windows.h> DWORD WINAPI voiceLoop(LPVOID context);
/* * Squashfs - a compressed read only filesystem for Linux * * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 * Phillip Lougher <phillip@squashfs.org.uk> * * 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...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Widgets/SWidget.h" #include "Modules/ModuleInterface.h" class ISettingsContainer; class ISettingsEditorModel; /** * Interface for settings editor modules. */ class ISettingsEditorModule : public IModuleIn...
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkottieValue_DEFINED #define SkottieValue_DEFINED #include "include/core/SkColor.h" #include "include/core/SkM44.h" #include "include/core/SkPaint.h" #include "includ...
/** * * \file * * \brief This module contains NMC1500 BSP APIs declarations. * * Copyright (c) 2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
/* -Procedure mtxv_c ( Matrix transpose times vector, 3x3 ) -Abstract mtxv_c multiplies the transpose of a 3x3 matrix on the left with a vector on the right. -Disclaimer THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S. GOVERNMENT ...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2019 The ERPcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_BITC...
/* * Copyright (c) 1990 Jan-Simon Pendry * Copyright (c) 1990 Imperial College of Science, Technology & Medicine * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Jan-Simon Pendry at Imperial College...
/* * Copyright (C) 2015 Freescale Semiconductor, Inc. All rights reserved. * * Authors: Zhao Qiang <qiang.zhao@nxp.com> * * Description: * QE TDM API Set - TDM specific routines implementations. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General ...