text
stringlengths
9
948k
#ifndef _ROS_gazebo_msgs_ContactState_h #define _ROS_gazebo_msgs_ContactState_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "geometry_msgs/Wrench.h" #include "geometry_msgs/Vector3.h" namespace gazebo_msgs { class ContactState : public ros::Msg { public: ty...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:08:03 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/IMDaemonCo...
#ifndef ID_VL_H #define ID_VL_H extern void VL_SetVGAPlaneMode(void); extern void SignonScreen(void); extern void UpdateScreen(U8 SetPalette); extern void VL_Bar(S32 x, S32 y, S32 width, S32 height, S32 color); extern void VL_Shutdown(void); extern void VL_FadeOut(S32 start, S32 end, S32 red, S32 green, S32 blue, S32 ...
// 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 ScriptPromisePropertyBase_h #define ScriptPromisePropertyBase_h #include <memory> #include "bindings/core/v8/ScriptPromise.h" #include "core/Cor...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Copyright (c) 2017 The PIVX Developers //Copyright (c) 2019 The RedSpace developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php....
#ifndef GRAPH_TABLE_MODEL_H #define GRAPH_TABLE_MODEL_H #include <database/cache/graph/GraphCache.h> #include <model/CacheTableModel.h> #include <graph/Graph.h> class GraphTableModel : public CacheTableModel<Graph> { Q_OBJECT bool containsGraphWithName(const QString &name); bool nameIsValid(const QString &n...
/** ****************************************************************************** * @file : usbd_desc.c * @version : v2.0_Cube * @brief : This file implements the USB device descriptors. ****************************************************************************** * This notice a...
// // xpc_client_advertising_proxy.h // mDNSResponder // // Copyright (c) 2019 Apple Inc. All rights reserved. // #ifndef XPC_CLIENT_ADVERTISING_PROXY_H #define XPC_CLIENT_ADVERTISING_PROXY_H #define kDNSAdvertisingProxyService "com.apple.srp-mdns-proxy.proxy" #define kDNSAdvertisingProxyCommand ...
/**++ Copyright (c) 2017 Microsoft Corporation and Arie Gurfinkel Module Name: spacer_context.h Abstract: SPACER predicate transformers and search context. Author: Arie Gurfinkel Anvesh Komuravelli Based on muz/pdr/pdr_context.h by Nikolaj Bjorner (nbjorner) Notes: --*/ #ifndef _SPACER_CON...
#ifndef NVIM_MAIN_H #define NVIM_MAIN_H #include "nvim/event/loop.h" #include "nvim/normal.h" // Maximum number of commands from + or -c arguments. #define MAX_ARG_CMDS 10 extern Loop main_loop; // Struct for various parameters passed between main() and other functions. typedef struct { int argc; char **argv; ...
// Copyright 2015, VIXL authors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions ...
/* * Copyright (c) 2015-2019, The University of Oxford * 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 ...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can ob...
/******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** * File Name : mass_mal.c * Author : MCD Application Team * Version : V3.3.0 * Date : 21-March-2011 * Description : Medium Access Layer interface *****************************************...
#include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "mruby.h" #include "mruby/string.h" #include "mruby/variable.h" mrb_value mrb_dirtest_setup(mrb_state *mrb, mrb_value klass) { mrb_value s; char buf[1024]; ...
#ifndef SEARCHOPS_H #define SEARCHOPS_H #include <stdbool.h> /** * @brief Searches for the longest possible path in a given Matrix by * using the Breadth First algorithm and a Queue. * * @param rows The rows size of the matrix * @param cols The cols size of the matrix * @return int */ int searchBFS(in...
c() { int a, b = 0; d(); if (a) b++; if (b - 1) { e(); e(); } }
/* * version.h */ #define SND_UTIL_MAJOR 1 #define SND_UTIL_MINOR 1 #define SND_UTIL_SUBMINOR 3 #define SND_UTIL_VERSION ((SND_UTIL_MAJOR<<16)|\ (SND_UTIL_MINOR<<8)|\ SND_UTIL_SUBMINOR) #define SND_UTIL_VERSION_STR "1.1.3"
#ifndef LANTERN_RENDERER_H #define LANTERN_RENDERER_H #include <stdexcept> #include "shader_bind_point_info.h" #include "geometry_stage.h" #include "rasterizing_stage.h" #include "merging_stage.h" namespace lantern { /** @defgroup Rendering */ /** Renderer is the root object for rendering in a texture. * It manag...
// System call numbers #define SYS_fork 1 #define SYS_exit 2 #define SYS_wait 3 #define SYS_pipe 4 #define SYS_read 5 #define SYS_kill 6 #define SYS_exec 7 #define SYS_fstat 8 #define SYS_chdir 9 #define SYS_dup 10 #define SYS_getpid 11 #define SYS_sbrk 12 #define SYS_sleep 13 #define SYS...
/*****************************************************/ /* breeze Engine Physics Module (c) Tobias Zirr 2011 */ /*****************************************************/ #pragma once #ifndef BE_PHYSICS_INLINE_MATERIAL_SERIALIZATION #define BE_PHYSICS_INLINE_MATERIAL_SERIALIZATION #include "bePhysics.h" #include "beMate...
#pragma once #include "common/event/dispatcher_impl.h" #include "common/network/address_impl.h" #include "common/network/utility.h" #include "test/test_common/network_utility.h" #include "test/test_common/test_base.h" #include "test/test_common/test_time.h" #include "test/test_common/utility.h" namespace Envoy { nam...
/* SSD1351d.h Colour OLED Breakout Board Library Copyright (c) 2013, ILSoft Ltd 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 abo...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:53:28 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia...
// generated from rosidl_generator_c/resource/idl__type_support.h.em // with input from control_msgs:msg/PidState.idl // generated code does not contain a copyright notice #ifndef CONTROL_MSGS__MSG__DETAIL__PID_STATE__TYPE_SUPPORT_H_ #define CONTROL_MSGS__MSG__DETAIL__PID_STATE__TYPE_SUPPORT_H_ #include "rosidl_types...
#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_LocalWKWebViewVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_LocalWKWebViewVersionS...
#ifndef _NAS782X_SPL_H #define _NAS782X_SPL_H #include <asm/arch/cpu.h> #endif /* _NAS782X_SPL_H */
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * screen.c: code for displaying on the scree...
#pragma once #include <chrono> #include <cstdint> #include <functional> #include <list> #include <memory> #include <string> #include <unordered_map> #include <utility> #include "envoy/config/bootstrap/v2/bootstrap.pb.h" #include "envoy/config/trace/v2/trace.pb.h" #include "envoy/http/filter.h" #include "envoy/network...
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
#include "common.h" #include "color.h" #ifndef _GAME_TIGER_DISPLAY_H #define _GAME_TIGER_DISPLAY_H class Display { private: const uint8_t CS_PIN = 9; const uint8_t BL_PIN = 13; const uint8_t DC_PIN = 8; const uint8_t RST_PIN = 12; const uint8_t MOSI_PIN = 11; const uint8_t SCK_PIN = 10; #ifde...
/**********************************Copyright (c)********************************** ** 閻楀牊娼堥幍锟介張锟� (C), 2015-2020, 濞戝倿鐢粔鎴炲Η ** ** http://www.tuya.com ** *********************************************************************************/ /** * @file wifi.h * @author ...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:49:08 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/PrivateFrameworks/Memories.framework/Memories * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L...
/** @file * * Copyright (c) 2012, ARM Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License * which accompanies this distribution. The full text of the license may be found at * http://opensource.org/licens...
/* * Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich * 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 ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:37:38 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/UIKitCore....
// Copyright 2021 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 HEADLESS_LIB_BROWSER_POLICY_HEADLESS_MODE_POLICY_H_ #define HEADLESS_LIB_BROWSER_POLICY_HEADLESS_MODE_POLICY_H_ #include "components/policy/core/...
#include "config.h" #include "i2c.h" #include "HDMI.h" #ifdef OLD_EVB #define HDMI_I2C I2C2 #else #define HDMI_I2C I2C1 #endif // ifdef OLD_EVB void HDMI_configuration(void) { // -------------------------------------------------------------------- // 1280*720@60Hz, HDMI Output, RGB 4:4:4 24-Bit Input // ...
/* *Copyright(c)2004,Cisco URP imburses and Network Information Center in Beijing University of Posts and Telecommunications researches. * *All right reserved * *File Name:lookupCtlTable.h *File Description:The head file of lookupCtlTable.c * *Current Version:1.0 *Author:ChenJing *Date:2004.8.20 */ #ifndef ...
../mcmodel-large/mvh/mext-dsp/mext-zol/bits/cxxabi_tweaks.h
#pragma once #include <Processors/Formats/IOutputFormat.h> #include <Common/Arena.h> #include <Common/ThreadPool.h> #include <Common/Stopwatch.h> #include <base/logger_useful.h> #include <Common/Exception.h> #include "IO/WriteBufferFromString.h" #include <Formats/FormatFactory.h> #include <Poco/Event.h> #include <IO/...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SKSL_DISCARDSTATEMENT #define SKSL_DISCARDSTATEMENT #include "include/private/SkSLStatement.h" #include "src/sksl/ir/SkSLExpression.h" namespace SkSL { /** * A 'di...
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/AppleAccountUI.framework/AppleAccountUI */ @interface AAUICloudStorageOffersManager : NSObject <PSCloudStorageOffersManagerDelegate> { PSCloudStorageOffersManager * _cloudStorageOffersManager; id /* block */ _completionHandler; } @pr...
/* * 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...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
/* * Simple PCI bus driver * * Copyright (c) 2017 Fabrice Bellard * Copyright (C) 2017,2018,2019, Esperanto Technologies Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ht...
/** * \file * * \brief Chip-specific reset cause functions * * Copyright (c) 2012-2016 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 ...
#include "alphasparse/kernel.h" alphasparse_status_t ONAME(const ALPHA_Number alpha, const ALPHA_SPMAT_CSC *mat, const ALPHA_Number *x, const ALPHA_INT columns, const ALPHA_INT ldx, const ALPHA_Number beta, ALPHA_Number *y, const ALPHA_INT ldy) { ALPHA_SPMAT_CSC *transposed_mat; transpose_csc(mat, &transposed_...
// Copyright 2018 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_UI_COCOA_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_MAC_COCOA_H_ #define CHROME_BROWSER_UI_COCOA_RENDERER_CONTEXT_MENU_RENDER_V...
/* Test of freadptr() function. Copyright (C) 2007-2010 Free Software Foundation, 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; either version 3 of the License, or (at your opti...
/* $NetBSD: clnt_vc.c,v 1.25 2014/01/21 17:39:24 christos Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. * * 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 re...
/* test .data.l[x] */ typedef struct { int type; union { char b[20]; short s[10]; long l[5]; } data; } foo; foo bar = { .type = 3, .data.l[0] = 4 };
/* * Copyright (c) 2017-2018, The Nirvana Developers. * Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers. * * This file is part of Nirvana. * * This file is subject to the terms and conditions defined in the * file 'LICENSE', which is part of this source code package. */ #pr...
/* Copyright (c) 2014, Google 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 * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
#ifndef GisIntersectStrategy_h #define GisIntersectStrategy_h /** * @file * $Revision: 6187 $ * $Date: 2015-05-11 17:31:51 -0700 (Mon, 11 May 2015) $ * $Id: GisIntersectStrategy.h 6187 2015-05-12 00:31:51Z kbecker@GS.DOI.NET $ * * Unless not...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_sprint_n.c :+: :+: :+: ...
#ifndef SSE2NEON_H #define SSE2NEON_H // This header file provides a simple API translation layer // between SSE intrinsics to their corresponding Arm/Aarch64 NEON versions // // This header file does not yet translate all of the SSE intrinsics. // // Contributors to this work are: // John W. Ratcliff <jratcliffscar...
#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 MKLEGYDrawerLayoutVersionNumber; FOUNDATION_EXPORT const unsigned char MKLEGYDrawerLayoutVersionStr...
#include "capabilities.h" #include <rawrtcdc/sctp_capabilities.h> #include <rawrtcc/code.h> #include <re.h> #if defined(HAVE_INTTYPES_H) #include <inttypes.h> #endif /** * Print debug information for SCTP capabilities. */ int rawrtc_sctp_capabilities_debug( struct re_printf* const pf, struct rawrtc_sctp_capabil...
/*****************************************************************************\ * $Id:$ ***************************************************************************** * Copyright (C) 2001-2008 The Regents of the University of California. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). * W...
/* * Copyright (c) 2010 - 2020, Nordic Semiconductor ASA 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 *...
#include <stdlib.h> #include "simulator.h" int main(int argc, char **argv) { if (!simulator_parse_args(argc, argv)) return EXIT_FAILURE; simulator_run (); /*Done.*/ return EXIT_SUCCESS; }
/** * @file flash_blob.c * @brief Flash algorithm for the k20dx * * DAPLink Interface Firmware * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in complia...
/* Copyright (c) 2016 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 by applicable law or...
// this should be a single file which controls the serial number // a global variable that cannot be directly accessed outside this file static int serial = 0; int next_serial(); void startup_serial(int seed); int next_serial(){ serial += 1; return serial; } void startup_serial(int seed){ serial = seed;...
#ifndef WIDGET_PARTS_H_ #define WIDGET_PARTS_H_ #include <iostream> class WidgetParts { protected: virtual ostream & print(ostream & os) = 0; public: friend ostream & operator<<(ostream &os, WidgetParts & wp) { return wp.print(os); } }; class Window : public WidgetParts { publ...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:47:17 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by El...
/* $Id: h_nint.c,v 1.3 2008/02/28 16:48:50 ragge Exp $ */ /* * Copyright(C) Caldera International Inc. 2001-2002. 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 sour...
/* * Copyright (c) 2019 Thomas Schmid <tom@lfence.de> * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __SENSOR_MS5607_H__ #define __SENSOR_MS5607_H__ #include <zephyr/types.h> #include <device.h> #define MS5607_CMD_RESET 0x1E #define MS5607_CMD_CONV_P_256 0x40 #define MS5607_CMD_CONV_P_512 0x42 #define MS5607...
#include "spending.h" extern spending_t regist_spending() { spending_t spending; printf("勘定科目は?\n"); scanf("%s", spending.account); printf("金額は?\n"); scanf("%d", &spending.amount); printf("説明は?\n"); scanf("%s", spending.description); return spending; } extern void print_spending(...
/* 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...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:42:59 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/PassKitCore.framework/PassKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
// // CTViewController.h // CTDial // // Created by 502353919@qq.com on 03/25/2017. // Copyright (c) 2017 502353919@qq.com. All rights reserved. // @import UIKit; @interface CTViewController : UIViewController @end
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2017-2019 The Kron Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef Kron_QT_OPENURIDIALOG_H #define Kron_QT_OPENURIDIALOG_H #include...
#ifndef _ROS_ublox_msgs_NavSAT_SV_h #define _ROS_ublox_msgs_NavSAT_SV_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" namespace ublox_msgs { class NavSAT_SV : public ros::Msg { public: typedef uint8_t _gnssId_type; _gnssId_type gnssId; typedef uint8_t _svI...
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * 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 noti...
#include <stdio.h> #include <math.h> int main(){ double x1,y1,x2,y2; scanf("%lf %lf",&x1,&y1); scanf("%lf %lf",&x2,&y2); printf("%.4lf\n",sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1))); return(0); }
/*++ Copyright (c) Microsoft Corporation. Licensed under the MIT License. Abstract: QUIC datapath Abstraction Layer. Environment: Linux --*/ #include "platform_internal.h" #include "quic_platform_dispatch.h" #include <arpa/inet.h> #include <inttypes.h> #include <linux/filter.h> #include <linux/in...
/****************************************************************************** * $Id: aigrid.h 34521 2016-07-02 21:26:43Z goatbar $ * * Project: Arc/Info Binary Grid Translator * Purpose: Grid file access include file. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************...
#ifndef GENVRP_KMEANS_H #define GENVRP_KMEANS_H #include "Clustering.h" #include <vector> #include <cassert> #include <algorithm> // For std::transform #include <random> // For std::rand, RAND_MAX #include <cstddef> // For std::size_t #include <numeric> // For std::accumulate (VS 2017) namespace genvrp { ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // 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. #ifndef BITCOINLAMBO_TEST_SCRIPTNUM10_H #define BITCOINLAMBO_TEST_SCRIPTNUM10_H ...
/* * File: trigger_utils.h * Copyright (C) 2006 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS) */ #ifndef __TRIGGER_UTILS_H #define __TRIGGER_UTILS_H #include "common/sedna.h" #include "tr/triggers/triggers_data.h" #include "common/lm_base.h" #include "tr/xqp/XQuerytoLR.h" st...
/* * PROGRAM: FB interfaces. * MODULE: BlrFromMessage.h * DESCRIPTION: New=>old message style converter. * * The contents of this file are subject to the Initial * Developer's Public License Version 1.0 (the "License"); * you may not use this file except in compliance with the * License. You may obtain a...
// Copyright 2019 DeepMind Technologies Ltd. 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 require...
/******************************************************************************* * * Copyright (c) 2013 - 2016, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * * SPDX-License-Identifier: BSD-3-Clause * * ****************************************************************************//*! * * @brief Multiply...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Contains source code from the article "Radix Sort Revisited". * \file IceRevisitedRadix.h * \author Pierre Te...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <FBControlCore/FBiOSTarget.h> #import <FBControlCore/FBJSONConversion.h> #import <FBCont...
#ifndef _UMM_LOCAL_H #define _UMM_LOCAL_H /* * A home for local items exclusive to umm_malloc.c and not to be shared in * umm_malloc_cfg.h. And, not for upstream version. * Also used to redefine defines made in upstream files we donet want to edit. * */ #undef memcpy #undef memmove #undef memset #define memcpy et...
/** * @file flash_blob.c * @brief Flash algorithm for medium-density stm32f10x8/stm32f10xB chips * * DAPLink Interface Firmware * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * no...
#ifdef ___LINKER_INFO ; File: "_guide.c", produced by Gambit-C 4.0 beta 13 ( 40063 " _guide" (" _guide") ( "##type-12-6bf088a7-814f-4139-860a-69a757570569" "##type-14-e188675f-7d4e-4e1f-8eb0-01a25aae640b" "##type-17-2babe060-9af6-456f-a26e-40b592f690ec" "##type-6" "##type-7-cd5f5bad-f96f-438d-8d63-ff887b7b39de" "GuideU...
#include "types.h" #include "user.h" //int i = 1; void worker(void *arg) { // i = 0; //*(int*)arg++; printf(1, "arg in worker %d\n", *(int*)arg); exit(); } int main(int argc, char *argv[]) { int arg = 5; int tid = thread_create(worker, &arg); printf(1, "thread id = %d\n", tid); // while(i); return 0; }
// // MBItemState.h // TileParser // // Created by Moshe Berman on 2/21/13. // // #import <Foundation/Foundation.h> @interface MBItemState : NSObject <NSCoding> @property (nonatomic, assign) NSNumber *identifier; // Global ID of the item @property (nonatomic, strong) NSString *itemName; // The item's nam...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "DSRC" * found in "J2735_201603_ASN_CC.asn" * `asn1c -gen-PER -fcompound-names -fincludes-quoted -fskeletons-copy` */ #include "TestMessage07.h" asn_TYPE_member_t asn_MBR_TestMessage07_1[] = { { ATF_POINTER, 2, offsetof(struct TestM...
/* * C Implementation: general * * Description: General functions, not directly related to file system operations * * original implementation by Radek Podgorny * * License: BSD-style license * Copyright: Radek Podgorny <radek@podgorny.cz>, * Bernd Schubert <bernd-schubert@gmx.de> * */ #include <stdio.h> #i...
// Copyright 2016-2017 Directive Games Limited - All Rights Reserved #pragma once #include "IDriftCredentialsFactory.h" class FDriftCredentialsFactory : public IDriftCredentialsFactory { public: void MakeUniqueCredentials(FString& id, FString& password) override; };
/* * Structures and registers for GPIO access in the Nomadik SoC * * Copyright (C) 2008 STMicroelectronics * Author: Prafulla WADASKAR <prafulla.wadaskar@st.com> * Copyright (C) 2009 Alessandro Rubini <rubini@unipv.it> * * This program is free software; you can redistribute it and/or modify * it under the t...
/* * 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. * * Copyright (C) 2012 Thomas Langer <thomas.langer@lantiq.com> */ #include <linux/module.h> #include <linux/device.h> #in...
#ifndef _BLAS_ #define _BLAS_ #include <string> #include "complex.h" #include "util.h" #ifdef _HP_ #define dgetrf_ dgetrf #define zgetrf_ zgetrf #define dgetrs_ dgetrs #define zgetrs_ zgetrs #define zgemm_ zgemm #define dgemm_ dgemm #define dgeev_ dgeev #define zgesdd_ zgesdd #define dgesdd_ dgesdd #define zg...
// // VC_Weeks.h // JKHousekeeper // // Created by Michael on 2017/7/30. // Copyright © 2017年 Lingday. All rights reserved. // #import "WorkbenchBaseVC.h" typedef void(^SelectWeekInfoBlock)(NSArray *stateArray); @interface VC_Weeks : WorkbenchBaseVC @property (nonatomic, copy) SelectWeekInfoBlock selectWeekInfo...