text
stringlengths
9
948k
// // RegularExpression.h // Colourful // // Created by MagicPoint on 13-8-29. // Copyright (c) 2013年 MagicPoint. All rights reserved. // #import <Foundation/Foundation.h> @interface RegularExpression : NSObject #pragma mark - // 正则表达式 email 校验 - (BOOL)isValidateEmail:(NSString *)emailString; // 手机号 校验 - (BOOL)i...
//====================================================================== // // gba_pic, 240x160@8, // + palette 16 entries, not compressed // + bitmap not compressed // Total size: 32 + 38400 = 38432 // // Time-stamp: 2005-12-24, 14:31:24 // Exported by Cearn's Usenti v1.7.1 // (comments, kudos, flames to "daytshen@ho...
#pragma once #include <cstdint> #include <experimental/propagate_const> // NOLINT(build/include_order) #include <filesystem> #include <memory> #include <optional> #include <string> #include <vector> #include "base.h" namespace fuzzing { class Python : public Base { public: Python(const std::string& name, const ...
/* NSNull.h Copyright (c) 1994-2011, Apple Inc. All rights reserved. */ #import <Foundation/NSObject.h> @interface NSNull : NSObject <NSCopying, NSCoding> + (NSNull *)null; @end
/******************************************************************************** ** Form generated from reading UI file 'overviewpage.ui' ** ** Created by: Qt User Interface Compiler version 5.13.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *************************************...
#pragma once #include "vec3.h" class Ray { public: Ray(); Ray(Point3 origin, vec3 dir); ~Ray(); Point3 origin() const; vec3 direction() const; Point3 at(double t) const; public: Point3 m_origin; vec3 m_dir; };
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2013,2014 Ilya Bakulin <ilya@bakulin.de> * 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 so...
// Copyright 2019 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. #pragma once #include <memory> #include <ddk/debug.h> #include <ddk/protocol/i2c.h> #include <ddktl/i2c-channel.h> #include "codec.h" namespace audio {...
#ifndef LEXER_H #define LEXER_H #include "token.h" #include <vector> using namespace std; class Lexer { public: Lexer(string inputFile); vector<Token> tokenize(); private: Token nextToken(); string get_ident(); string get_literal_int(); string get_literal_s...
/**************************************************************************** Copyright (c) 2014-2017 Chukong Technologies Inc. http://www.cocos2d-x.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 th...
/* * 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 program is distributed in the hope that it will be use...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team. * Copyright (c) 2013,2019, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and...
#import "MWMReviewsViewModelProtocol.h" #include <vector> typedef NS_ENUM(NSUInteger, MWMUGCViewModelPrice) { MWMUGCViewModelPriceLow, MWMUGCViewModelPriceMedium, MWMUGCViewModelPriceHigh }; namespace ugc { struct UGC; struct UGCUpdate; namespace view_model { enum class ReviewRow { YourReview, Review, M...
// Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef D2_CFG_MGR_H #define D2_CFG_MGR_H #i...
/* log2f4 - Copyright (C) 2006, 2007 Sony Computer Entertainment 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 code must retain the above copyright ...
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // fastrange/FastRange: A faster alternative to % fo...
/* * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl> * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-2001 Wichert Akkerman <wichert@cistron.nl> * All rights reserved. * * Redistribution and use in s...
// // AWFWarningPolygonStyle.h // AerisMap // // Created by Nicholas Shipes on 4/28/14. // Copyright (c) 2014 AerisWeather, LLC. All rights reserved. // #import <AerisMapKit/AWFPolygonStyle.h> #import <AerisMapKit/AWFGroupedStyle.h> NS_ASSUME_NONNULL_BEGIN typedef NSString *AWFWarningPolygonType NS_TYPED_EXTENSI...
/* GTK - The GIMP Toolkit * gtktextview.h Copyright (C) 2000 Red Hat, Inc. * * 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 of the License, or (at your option) a...
#ifndef FILESYS_DIRECTORY_H #define FILESYS_DIRECTORY_H #include <stdbool.h> #include <stddef.h> #include "devices/block.h" /* Maximum length of a file name component. This is the traditional UNIX maximum length. After directories are implemented, this maximum length may be retained, but much longer full pat...
//===--- Linux.h - Linux ToolChain Implementations --------------*- 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 // //===---------------------------...
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_quaternion2rotation_f32.c * Description: Floating-point quaternion 2 rotation conversion * * $Date: 23 April 2021 * $Revision: V1.9.0 * * Target Processor: Cortex-M and Cort...
#ifndef _CEXRWLCK_H #define _CEXRWLCK_H #include <limits.h> #ifndef WIN16 // // This class contains the meat - does actual locking etc... // class CExShareLock { private : long cReadLock ; // Number of Readers who have passed through the lock OR // th...
// kram - Copyright 2020 by Alec Miller. - MIT License // The license and copyright notice shall be included // in all copies or substantial portions of the Software. #pragma once #include "KramConfig.h" // This is only meant to emulate float4 when lib not available // (f.e. win or linux w/o clang) but may move off ...
// Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // // Data for paymentservertests.cpp // // Base64/DER-encoded fake certificate authority certificates. // Convert pem to ba...
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +---------...
// See the file "COPYING" in the main distribution directory for copyright. #pragma once #include "zeek-config.h" // Expose C99 functionality from inttypes.h, which would otherwise not be // available in C++. #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #ifndef __STDC_LIMIT_MACROS #define __STDC...
#include "zgl.h" void glGetIntegerv(int pname,int *params) { GLContext *c=gl_get_context(); switch(pname) { case GL_VIEWPORT: params[0]=c->viewport.xmin; params[1]=c->viewport.ymin; params[2]=c->viewport.xsize; params[3]=c->viewport.ysize; break; case GL_MAX_MODELVIEW_STACK_DEPTH: *par...
/* * Copyright (c) 2002 - 2005 NetGroup, Politecnico di Torino (Italy) * Copyright (c) 2005 - 2009 CACE Technologies, Inc. Davis (California) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are me...
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" #define N_PARAM_COMBOS ...
#include <xml_dtd.h> static void notation_copier(void *payload, void *data, xmlChar *name) { VALUE hash = (VALUE)data; VALUE klass = rb_const_get(mNokogiriXml, rb_intern("Notation")); xmlNotationPtr c_notation = (xmlNotationPtr)payload; VALUE notation; VALUE argv[3]; argv[0] = (c_notation->name ? NOKOGIRI...
#ifndef SPARSEMATRIX_INL_H #define SPARSEMATRIX_INL_H #include "mpi.h" #include "DenseVector.h" namespace ATC_matrix { template <typename T> TRI_COORD<T>::TRI_COORD(INDEX row, INDEX col) : i(row), j(col) {} template <typename T> TRI_COORD<T>::TRI_COORD(INDEX row, INDEX col, T val, bool add_to) : i(row), j(col),...
// // App.h // kyoku // // Created by Arik Devens on 4/10/18. // Copyright © 2018 danieltiger. All rights reserved. // @import Foundation; @interface App : NSObject - (void)play; - (void)pause; - (void)playPreviousTrack; - (void)playNextTrack; - (void)createPlaylist:(NSString *)playlistName; - (void)queueTracksF...
#ifndef HEMERACXX_APPLICATIONPROPERTIES_H #define HEMERACXX_APPLICATIONPROPERTIES_H #include <string> namespace Hemera { class ApplicationProperties; } namespace HemeraCxx { class ApplicationProperties { public: virtual ~ApplicationProperties(); std::string id() const; std::string name() const; st...
/********************************************************************************************** * * raylib.models - Basic functions to deal with 3d shapes and 3d models * * CONFIGURATION: * * #define SUPPORT_FILEFORMAT_OBJ * #define SUPPORT_FILEFORMAT_MTL * #define SUPPORT_FILEFORMAT_IQM * #define SUPPORT_F...
// // MCMacro.h // // Created by maocheng on 2017/6/12. // Copyright © 2017年 All rights reserved. // #ifndef MCMacro_h #define MCMacro_h /*** 沙盒 ***/ #define MCHomePath NSHomeDirectory() #define MCTempPath NSTemporaryDirectory() #define MCDocumentPath [NSSearchPathForDirectoriesInDomains(NSDocumen...
/***************************************************************************//** * @file * @brief BOARD module header file ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> **********************************...
/* * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Copyright (C) 2001 Lennert Buytenhek (buytenh@gnu.org) and * James Leu (jleu@mindspring.net). * Copyright (C) 2001 by various other people who didn't put their name here. * Licensed under the GPL. */ #include <linux/bootmem.h> #include ...
/****************************** Module Header ******************************\ * * Module Name: rtlres.c * * Copyright (c) 1985 - 1999, Microsoft Corporation * * Resource Loading Routines * * History: * 05-Apr-1991 ScottLu Fixed up, resource code is now shared between client * and server, added a...
#pragma once #include <iostream> class Vector2D { public: float x; float y; Vector2D(); Vector2D(float x, float y); Vector2D& Add(const Vector2D& vec); Vector2D& Substract(const Vector2D& vec); Vector2D& Multiply(const Vector2D& vec); Vector2D& Divide(const Vector2D& vec); friend Vector2D& operator+(Vector...
//for bard instruments - adapted from the pouch for gems on Tonerra //Circe 6/14/04 // changed to use the setting for items allowed and lowered weight a little *Styx 5/21/06 // removed components bag functionality, inheriting both causes issues --Yves 11/18 #include <std.h> #include <move.h> #define BARD_COMP "/d/magic...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:12:18 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/MessagePr...
/* * Copyright 2010-2017 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 "license" fil...
/* * TALPA test program * * Copyright (C) 2004-2011 Sophos Limited, Oxford, England. * * 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 program is distributed in the hope...
// Copyright (c) 2004-present, Facebook, Inc. // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. #pragma once #ifdef __APPLE__ #include <functional> #endif namespace facebook { namespace ReactABI32_0_0 { namespace ReactABI32_0_0Marker { enu...
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:02:41 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/Frameworks/UIKit.framework/UIKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #...
/* * Copyright (c) 2020, HES-SO Valais-Wallis (https://www.hevs.ch) * 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 not...
#ifndef LAGRANGEHALFC_IMPL_SPQLIOS_H #define LAGRANGEHALFC_IMPL_SPQLIOS_H #include <cassert> #include <cmath> #include <cstdint> class FFT_Processor_Spqlios { public: const int _2N; const int N; const int Ns2; private: double* real_inout_direct; double* imag_inout_direct; double* r...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:25:41 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/Frameworks/MediaPlayer.frame...
// // Cell_4_ViewController.h // SubDemos // // Created by liuweizhen on 2019/6/26. // Copyright © 2019 BanMa. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface Cell_4_ViewController : UIViewController @end NS_ASSUME_NONNULL_END
#ifndef _TIMING_H_ #define _TIMING_H_ #include "Test.h" #include "arm_math.h" void initCycleMeasurement(); void cycleMeasurementStart(); void cycleMeasurementStop(); Testing::cycles_t getCycles(); #ifdef EXTBENCH extern unsigned long sectionCounter; #if defined ( __CC_ARM ) #define dbgInst(imm) __asm volatile...
// SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2018 Intel Corporation. All rights reserved. */ #include <linux/libnvdimm.h> #include <linux/ndctl.h> #include <linux/acpi.h> #include <asm/smp.h> #include "intel.h" #include "nfit.h" static enum nvdimm_security_state intel_security_state(struct nvdimm *nvdimm, enu...
#include <rtthread.h> #include "lwip/debug.h" #include "lwip/mem.h" #include "lwip/sys.h" #include "lwip/stats.h" #include "lwip/tcpip.h" #include "lwip/ip_addr.h" #include "lwip/dhcp.h" #include "netif/ethernetif.h" #include "netif/etharp.h" static err_t netif_device_init(struct netif *netif) { struct eth_device *...
#include "../my_bool.h" #include "../my_debug.h" #ifdef DEBUG_ALLOC_FREE_COUNT extern uint64_t g_alloc_count; extern uint64_t g_free_count; #endif #include <stdint.h> #include <stdio.h> #ifndef _CYCLIC_LINKEDLIST_WITHTAIL_H_ #define _CYCLIC_LINKEDLIST_WITHTAIL_H_ #ifndef LINKEDLIST_INDEX_TYPE #define LINKEDLIST_INDEX_...
/* $Id: table.c,v 1.14 2010/09/19 13:54:41 ragge Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * 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. Redistributio...
#import <BraintreeVenmo/BTVenmoDriver_Internal.h> #import <BraintreeVenmo/BTVenmoAppSwitchReturnURL.h> #import <BraintreeVenmo/BTVenmoAppSwitchRequestURL.h> #import <BraintreeVenmo/BTVenmoAccountNonce_Internal.h> #import <BraintreeVenmo/BTVenmoRequest_Internal.h> #import <BraintreeCore/BTPaymentMethodNonceParser.h>
/* * Copyright 2010 Piotr Caban for CodeWeavers * * 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. * * T...
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014, 2015 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to de...
/* * Copyright (C) 2014 MongoDB 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 usefu...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CCostTest.h // // @doc: // Basic tests for costing //--------------------------------------------------------------------------- #ifndef GPOPT_CCostTest_H #define GPO...
/* SPDX-License-Identifier: BSD-2 */ /* * Copyright (c) 2015 - 2018, Intel Corporation * * Copyright 2015, Andreas Fuchs @ Fraunhofer SIT * * All rights reserved. */ #ifndef TSS2_TCTI_H #define TSS2_TCTI_H #include <stdint.h> #include <stddef.h> #include "tss2_common.h" #include "tss2_tpm2_types.h" #ifndef TSS2...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> */ #include <linux/io.h> #include <linux/log2.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/platform_device.h> /* Sys...
/**HEADER******************************************************************** * * Copyright (c) 2008 Freescale Semiconductor; * All Rights Reserved * * Copyright (c) 2004-2008 Embedded Access Inc.; * All Rights Reserved * * Copyright (c) 1989-2008 ARC International; * All Rights Reserved * ****************************...
/*- * $FreeBSD: releng/10.2/sys/sys/kbio.h 224126 2011-07-17 08:19:19Z ed $ */ #ifndef _SYS_KBIO_H_ #define _SYS_KBIO_H_ #ifndef _KERNEL #include <sys/types.h> #endif #include <sys/ioccom.h> /* get/set keyboard I/O mode */ #define K_RAW 0 /* keyboard returns scancodes */ #define K_XLATE 1 /* keyboard returns a...
/* * An implementation of the Acorn Econet and AUN protocols. * Philip Blundell <philb@gnu.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at...
/****************************************************************************//* * Copyright (C) 2021 Marek M. Cel * * 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, ...
/**************************************************************************** * * Copyright (c) 2019 Vivante 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 ...
// 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 MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ #define MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ #include <stddef.h> #include <std...
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
#ifndef __AIStringFormatUtils__ #define __AIStringFormatUtils__ /* * Name: AIStringFormatUtils.h * $Revision: 6 $ * Author: * Date: * Purpose: Adobe Illustrator String Format Utilities Suite. * * ADOBE SYSTEMS INCORPORATED * Copyright 2004-2007 Adobe Systems Incorporated. * All rights...
/* * File: GameState.h * Author: axel * * Created on September 26, 2016, 10:16 PM */ #ifndef GAMESTATE_H #define GAMESTATE_H #include "State.h" #include"../Game/Board.h" #include"../Game/Game.h" #include"../Game/BoardController.h" #include"../Rendering/GameRenderer.h" class GameState : public State { public...
// Copyright 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 CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_NOTIFICATIONS_H_ #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_NOTIFICATIONS_H_ #include <map> #i...
#pragma once #include <memory> #include "envoy/extensions/filters/http/rbac/v3/rbac.pb.h" #include "envoy/http/filter.h" #include "envoy/stats/scope.h" #include "envoy/stats/stats_macros.h" #include "common/common/logger.h" #include "extensions/filters/common/rbac/engine_impl.h" #include "extensions/filters/common/...
// // 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 <T1Twitter/TFNForm.h> #import <T1Twitter/T1ProfileLocationPickerDelegate-Protocol.h> #import <T1Twitter/T1UsernameViewControll...
// // FOSCachedManagedObjectTests.h // FOSREST // // Created by David Hunt on 12/28/12. // // The MIT License (MIT) // // Copyright (c) 2015 FOS Services, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software")...
/****************************************************************************** * * * Copyright (C) 1992-1995 Tony Robinson * * * ...
/** * \file * * \brief Autogenerated API include file for the Atmel Software Framework (ASF) * * Copyright (c) 2012 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 t...
/******************************************************************************* Copyright (c) 2017, Honda Research Institute Europe GmbH Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of sour...
#ifndef nucleo_h #define nucleo_h #include <SDL/SDL.h> #include "galeria.h" #include "configuration.h" #include "utils.h" using namespace std; /// Tipos de Escena dentro del programa enum escenas {ESCENA_MENU, ESCENA_JUEGO}; class Nucleo { public: Nucleo(int i_fullscreen, int i_depth); ~Nucleo(); void ter...
#include <string.h> #include "src/reader.h" #include "test/unit.h" void test_parser_base_good_map1() { char *src = "mykey {}"; MonkConfigResult result = MonkConfig_fromString(src, strlen(src)); test_assert((MonkPrintParseError(result.err), result.err.code == MONK_ERR_OK)); MonkConfig config = result...
/** * \file * * \brief SAM3X-EK Board Definition. * * Copyright (c) 2011 - 2012 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 following conditions are met...
// // BundleManifestTest.h // // Definition of the BundleManifestTest class. // // Copyright (c) 2007-2014, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #ifndef BundleManifestTest_INCLUDED #define BundleManifestTest_INCLUDED #include "Poco/OSP/O...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2014 Pivotal Inc. // // @filename: // CDXLCtasStorageOptions.h // // @doc: // Class for CTAS storage options //--------------------------------------------------------------------------- #ifndef GPD...
/********************************************************************* * Copyright (c) 2020 Intel Corporation * SPDX-License-Identifier: Apache-2.0 * * This file is based in part on scorer.h from https://github.com/parlance/ctcdecode, * commit 431408f22d93ef5ebc4422995111bbb081b971a9 on Apr 4, 2020, 20:54:49 UTC+1. ***...
/* Copyright (c) 2021 Fraunhofer AISEC. See the COPYRIGHT file at the top-level directory of this distribution. Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your ...
/* * Copyright (c) 2021 Huawei Device 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 ...
// SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/sched.h> #include <linux/sched/clock.h> #include <linux/init.h> #include <linux/export.h> #include <linux/timer.h> #include <linux/acpi_pmtmr.h> #include <linux/cpufreq.h> #include <linux/dela...
#include "rtw_vec.h" #include "assert.h" rtw_vec rtw_vec_init(size_t elem_len) { assert(elem_len); rtw_vec vec; vec.data = NULL; vec.len = 0; vec.capacity = 0; vec.elem_len = elem_len; return vec; } int rtw_vec_with_capacity(rtw_vec *vector, size_t capacity, size_t elem_len) { vector->...
#include "stb_image.h" /* stbi-1.33 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c when you control the images you're loading no warranty implied; use at your own risk QUICK NOTES: Primarily of interest to game developers and other people who can ...
/* * FreeRTOS * 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 without limi...
#include <stdio.h> int programa(int*); int main() { int vec[5]={4, 2, 10, 1, 6}; int f; f=programa(vec); // Imprimir Resultados Calculados em Assembly e em C printf("Resultado Calculado na Funcao Assembly: %d\n",f); printf("Resultado Calculado em C: %d\n",5*(vec[0]+vec[1])*(vec[2]-3*vec[3]*vec[4])); }
// Copyright 2020 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. #if TARGET_OS_OSX #import <FlutterMacOS/FlutterMacOS.h> #else #import <Flutter/Flutter.h> #endif #import <Firebase/Firebase.h> #import <Foundation/Founda...
#pragma once #include <Formats/IRowInputStream.h> #include <Core/Block.h> namespace DB { class ReadBuffer; /** A stream for inputting data in a binary line-by-line format. */ class BinaryRowInputStream : public IRowInputStream { public: BinaryRowInputStream(ReadBuffer & istr_, const Block & header_); b...
#pragma once #include <memory> #include <list> namespace engine { namespace aloo { class drawable; } namespace drawables { namespace details { using namespace engine::aloo; template <typename T> class drawables_hierarchical { public: drawables_hierarchical(T& owner) : _owner{ owne...
// Copyright (c) 2018, The TurtleCoin Developers // Copyright (c) 2019, The BytechCoin Developers // // Please see the included LICENSE file for more information. #pragma once #include <string> #include <vector> #include <zedwallet/Commands.h> #include <zedwallet/Types.h> std::string yellowANSIMsg(std::string msg...
/** * StuFW Firmware for 3D Printer * * Based on MK4duo, Marlin, Sprinter and grbl * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * Copyright (C) 2013 Alberto Cotronei @MagoKimbra * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
/* * Copyright 2017-2019 NXP * All rights reserved. * * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include <string.h> #include "rpmsg_platform.h" #include "rpmsg_env.h" #include "fsl_device_registers.h" #include "fsl_mu.h" #if defined(RL_USE_ENVIRONMENT_CONTEXT) && (RL_USE_ENVIRONMENT_CONTEX...
// 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 THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_INTERPOLATION_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_INTERPOLATION_H_ #include <memory> ...
/* * $Id: kaspcheck.c 7028 2013-02-13 11:41:17Z sion $ * * Copyright (c) 2012 Nominet UK. 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 th...
/* * * Tencent is pleased to support the open source community by making * Hippy available. * * Copyright (C) 2019 THL A29 Limited, a Tencent company. * 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. *...