text
stringlengths
9
948k
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2010 Erwin Coumans http://continuousphysics.com/Bullet/ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permiss...
#pragma once #include <city.h> #include <Core/Defines.h> #include <Common/SipHash.h> #include <Common/UInt128.h> #include <Columns/ColumnTuple.h> namespace DB { /** Hashes a set of arguments to the aggregate function * to calculate the number of unique values * and adds them to the set. * * Four options (...
#ifndef PARAMETER_CONFIG_H #define PARAMETER_CONFIG_H typedef struct{ int Minute; int Second; int dayGoal; int monthGoal; int yearGoal; }TomatoTiming; //表地址 #define Files_Path "..//PomodroidoLite/configSetting.ini" #define Base_Path "..//PomodroidoLite/Config/" //主配置项地址 #define Config_Setti...
// Copyright (c) 2017-2018 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_CONSENSUS_TX_VERIFY_H #define BITCOIN_CONSENSUS_TX_VERIFY_H #include <amount.h> #include <stdint.h> #includ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <Views/PaperShadowNode.h> #include <XamlView.h> #include <folly/dynamic.h> #include <yoga/yoga.h> #include <Shared/ReactWindowsAPI.h> #include "KeyboardEventHandler.h" namespace Microsoft::ReactNative { class ViewMana...
// // MLXMPPConstants.h // Monal // // Created by Anurodh Pokharel on 5/31/19. // Copyright © 2019 Monal.im. All rights reserved. // NS_ASSUME_NONNULL_BEGIN #define kRegServer @"blabber.im" #define kXMLNS @"xmlns" #define kiqGetType @"get" #define kiqSetType @"set" #define kiqResultType @"result" #define kiqErr...
// 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 COMPONENTS_MIRRORING_SERVICE_FAKE_VIDEO_CAPTURE_HOST_H_ #define COMPONENTS_MIRRORING_SERVICE_FAKE_VIDEO_CAPTURE_HOST_H_ #include "media/capture/m...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE126_Buffer_Overread__CWE170_wchar_t_loop_07.c Label Definition File: CWE126_Buffer_Overread__CWE170.label.xml Template File: point-flaw-07.tmpl.c */ /* * @description * CWE: 126 Buffer Overread * Sinks: loop * GoodSink: Copy a string using a loop with explicit nul...
#include <stdio.h> #include <ev_include.h> #include <ev_queue.h> #include <pthread.h> #include <stdbool.h> #include <stdlib.h> #include <stdatomic.h> #include <CuTest.h> struct thr_inp { ev_queue_type pq_ptr; int N; int slot; }; void * thr(void *param) { struct thr_inp * inp; int i = 0; int j = 0; inp = param;...
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit */ @interface NSBrowserColumnViewController : NSViewController { NSBrowser * _browser; long long _columnIndex; NSView * _columnView; NSViewController * _headerViewController; } @property (nonatomic...
/*MIT License Copyright (c) 2016 MTA SZTAKI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
#include "../HeaderFile/tcp_link.h" #include "../HeaderFile/unixhead.h" int bind_sfd(char** arg,int sfd) { struct sockaddr_in server_addr; server_addr.sin_addr.s_addr = inet_addr(arg[0]); server_addr.sin_family = AF_INET; server_addr.sin_port = htons(atoi(arg[1])); int ret = bind(sfd,(struct sockad...
/* * Copyright (c) 2019, Alliance for Open Media. 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 contributin...
#include <stdio.h> //ler num e calcular maior e menor int main() { int num; int resp; int maior=-999, menor=1000; do { printf("\n Entre com um numero[1-100]:"); scanf("%d", &num); //guarda o maior numero if(num > maior) maior = num; //pod...
/*------------------------------------------------------------------------- * * nodeRecursiveunion.c * routines to handle RecursiveUnion nodes. * * To implement UNION (without ALL), we need a hashtable that stores tuples * already seen. The hash key is computed from the grouping columns. * * * Portions Copy...
/********************************************************************************************************************** This file is part of the Control Toolbox (https://adrlab.bitbucket.io/ct), copyright by ETH Zurich, Google Inc. Authors: Michael Neunert, Markus Giftthaler, Markus Stäuble, Diego Pardo, Farbod Farshi...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/PersonalizationPortrait.framework/PersonalizationPortrait */ @interface PPNamedEntityReadOnlyClient : NSObject <PPNamedEntityClientProtocol> { PPXPCClientHelper * _clientHelper; PPXPCClientPipelinedBatchQueryManager * _queryManager; } ...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt...
/* * Copyright (c) 2014-2018, 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, including without limitation * the rights to use, copy, modify, merge, p...
/*------------------------------------------------------------------------- * * joinrels.c * Routines to determine which relations should be joined * * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICA...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | +---------...
/**************************************************************************** * boards/arm/tlsr82/tlsr8278adk80d/src/tlsr8278_bringup.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional informati...
#include "../tormdefs.h" inherit "/d/dagger/Torm/sewers/mbottom.c"; void create(){ ::create(); set_exits(([ "east":SEW+"s52.c", ])); }
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <CL/cl.h> unsigned char *read_buffer(char *file_name, size_t *size_ptr) { FILE *f; unsigned char *buf; size_t size; /* Open file */ f = fopen(file_name, "rb"); if (!f) return NULL; /* ...
/******************************************************************************** ** Form generated from reading UI file 'sendcoinsdialog.ui' ** ** Created by: Qt User Interface Compiler version 4.8.7 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ***********************************...
#ifndef __DPHY_REG_H__ #define __DPHY_REG_H__ #include "dphy.h" #define MAX_MIPI_DPHY 1 extern int dphy_reg_map(unsigned int sel, unsigned long addr_base); extern void dphy_ana_init(unsigned int sel); extern void dphy_ana_exit(unsigned int sel); extern void dphy_enable(unsigned int sel); extern void dphy_disable(uns...
// Copyright (c) 2012-2019 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_DBWRAPPER_H #define BITCOIN_DBWRAPPER_H #include <clientversion.h> #include <fs.h> #include <serialize.h> #i...
/* * Wi-Fi Protected Setup - Registrar * Copyright (c) 2008-2013, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/base64.h" #include "utils/eloop.h" #include "...
class HostBuilder : implements IService { private: IService *NextService; public: HostBuilder(); ~HostBuilder(); IService *GetNextService(); void SetNextService(IService *NewService); IService *InsertService(IService *NewService); void Run(); IService *UseStartUp(IApplicationServer *Server); IServ...
/* * Copyright (c) 2017-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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
// SPDX-License-Identifier: GPL-2.0-or-later /* * AXP20X and AXP22X PMICs' ACIN power supply driver * * Copyright (C) 2016 Free Electrons * Quentin Schulz <quentin.schulz@free-electrons.com> */ #include <linux/device.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux...
#ifndef __YOLSPC_SOCKET_H__ #define __YOLSPC_SOCKET_H__ #include "client.h" #include <QMutex> #include <QTcpSocket> #include <log.h> #include <memory> #include <stdint.h> #include <string> namespace yolspc { class ClientController; class SocketController; class SocketStatus { public: enum status { IDLE = -1, OK = ...
#include <stdio.h> #include <stdlib.h> #include "string.h" #include "randword.h" string words[20]; int InitDictionary(){ string scan; int counter = 0; ILE *infile = fopen("words.txt","r"); if(infile == NULL){ printf("file name not correct\n"); exit(1); } //while(fscanf(infile, "%s\n", &stringScan) != EOF){ //words...
/* Copyright (C) 2017 haniu (niuhao.cn@gmail.com) * * 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...
#pragma once #include <cmath> #include <limits> #include <memory> #include <cstdlib> #include <random> using std::shared_ptr; using std::make_shared; using std::sqrt; const double infinity = std::numeric_limits<double>::infinity(); const double pi = 3.1415926535897932385; inline double degreesToRadians(double degre...
/** * Autogenerated by Thrift for src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #pragma once /** * This header file includes the tcc files of the corresponding header file * and the header files of its dependent types. Include this header file * only w...
#include "libmx.h" bool mx_isalpha(int c) { if ((65 <= c && c <= 90) || (97 <= c && c <= 122)) return true; else return false; }
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_db.c :+: :+: :+: ...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2020 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
/** * Includes.h * * All include calls necessary for building the library * * @copyright 2014 Copernica BV */ #include <ev.h> #include <arpa/nameser.h> #include <arpa/inet.h> #include <ares.h> #include <string.h> #include <memory> #include <map> #include <set> #include <deque> #include <mutex> #include <thread...
/* OpenGL loader generated by glad 0.1.29 on Sun Feb 10 13:16:58 2019. Language/Generator: C/C++ Specification: gl APIs: gl=3.3 Profile: core Extensions: All Of Them. Loader: False Local files: False Omit khrplatform: False Reproducible: False */ #ifndef __glad_h_ #define __gl...
/******************************************************************************* Taichi - Physically based Computer Graphics Library Copyright (c) 2016 Yuanming Hu <yuanmhu@gmail.com> All rights reserved. Use of this source code is governed by the MIT license as written in the LICENSE file. **********...
/** * \file base64.h */ #ifndef XYSSL_BASE64_H #define XYSSL_BASE64_H #define XYSSL_ERR_BASE64_INVALID_CHARACTER -0x0012 #define XYSSL_ERR_BASE64_BUFFER_TOO_SMALL -0x0010 #ifdef __cplusplus extern "C" { #endif /** * \brief Encode a buffer into base64 format * * \param dst ...
/** @file Produce the UEFI boot service GetNextMonotonicCount() and runtime service GetNextHighMonotonicCount(). Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/MonotonicCounter.h> #include <Guid/MtcVend...
/* * Copyright (c) 2016 Cisco and/or its affiliates. * 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 applicabl...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:42:31 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/AMPCoreUI.framework/AMPCoreUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L...
#include "files.h" #include "logging.h" #include <stdio.h> #include <tchar.h> #include <string.h> #include <windows.h> static int get_err(); static void fix_slash(char *str); struct Dir { HANDLE find; WIN32_FIND_DATA ffd; int b_first; }; Dir* open_dir(const char *path, int *err) { *err = 0; Dir *dir = malloc(s...
/* * gpio-max3191x.c - GPIO driver for Maxim MAX3191x industrial serializer * * Copyright (C) 2017 KUNBUS GmbH * * The MAX3191x makes 8 digital 24V inputs available via SPI. * Multiple chips can be daisy-chained, the spec does not impose * a limit on the number of chips and neither does this driver. * * Either...
/* * Copyright 2016 Sigma Designs, 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: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
#include <std.h> inherit OBJECT; void create() { ::create(); set_name("instrument"); set_short("a generic musical instrument"); set_id(({"instrument"})); set_long("This is a rather plain looking instrument"); set_weight(5); set_value(750); } int is_instrument(){return 1;} string query_prof_type...
/* Erica Sadun, http://ericasadun.com iPhone Developer's Cookbook, 6.x Edition BSD License, Use at your own risk Modified by Eric Horacek for Monospace Ltd. on 2/4/13 */ #import <UIKit/UIKit.h> typedef NS_ENUM(NSUInteger, UIDeviceFamily) { UIDeviceFamilyiPhone, UIDeviceFamilyiPod, UIDeviceFamilyiPa...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (c) 1998-1999 Microsoft Corporation // // File: perstrk.h // //-------------------------------------------------------------------------- // PersTrk.h : Declaration of the CPersonalityTrack #i...
#ifndef X86_SVM_H #define X86_SVM_H #include "libcflat.h" enum { INTERCEPT_INTR, INTERCEPT_NMI, INTERCEPT_SMI, INTERCEPT_INIT, INTERCEPT_VINTR, INTERCEPT_SELECTIVE_CR0, INTERCEPT_STORE_IDTR, INTERCEPT_STORE_GDTR, INTERCEPT_STORE_LDTR, INTERCEPT_STORE_TR, INTERCEPT_LOAD_IDTR, INTERCEPT_LOAD_GDTR, INTERCEP...
#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 ResolvableVersionNumber; FOUNDATION_EXPORT const unsigned char ResolvableVersionString[];
// class-dump results processed by bin/class-dump/dump.rb // // Generated by class-dump 3.5 (64 bit) (Debug version compiled Nov 26 2020 14:08:26). // // Copyright (C) 1997-2019 Steve Nygard. // #import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> #import <XCTest/XCUIElementTypes.h> #import "C...
#pragma once /* This file is part of Imagine. Imagine 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 option) any later version. Imagine is distributed in the ...
// // Created by Darwin Yuan on 2021/7/9. // #ifndef OBJECT_ARRAY_2_VIEWEDARRAY_C516BD87522F4CFA85729B2BD9859078 #define OBJECT_ARRAY_2_VIEWEDARRAY_C516BD87522F4CFA85729B2BD9859078 #include <l0-infra/base/InvokeConstMethod.h> namespace mixin { template<typename T> struct ViewedArray : T { using typen...
/** **************************************************************************************** * * @file tdls.c * * @brief Tunneled direct-link setup (TDLS) module implementation. * * Copyright (C) RivieraWaves 2016 * **************************************************************************************** */ /*...
#include <stdio.h> int main() { int arr[5], i,opt,pos; printf("Enter 5 numbers\n"); for(i=0; i<5; i++) { printf("Enter number %d: ",i+1); scanf("%d",&arr[i]); } printf("Enter number from input to get position: "); scanf("%d",&opt); for(i=0; i<5; i++){ if(opt==arr[...
/** ****************************************************************************** * @file systick.c * @author YANDLD * @version V2.5 * @date 2014.3.26 * \date 2015.10.03 FreeXc完善了systick模块的相关注释 * @brief www.beyondcore.net http://upcmcu.taobao.com * @note 此文件为芯片ARM内核中的SysTick模块的底层功能函数 ...
/******************************************************************************* * * DO NOT EDIT THIS FILE! * This file is auto-generated by fltg from Logical Table mapping files. * * Tool: $SDK/INTERNAL/fltg/bin/fltg * * Edits to this file will be lost when it is regenerated. * * This license is set out in ht...
// // WKCFilterItemCell.h // WKCImageEditDemo // // Created by WeiKunChao on 2019/5/16. // Copyright © 2019 FaceMoji. All rights reserved. // #import <UIKit/UIKit.h> @interface WKCFilterItemCell : UICollectionViewCell @property (class, nonatomic, assign, readonly) CGSize itemSize; @property (nonatomic, strong) N...
// // NSDate+Category.h // hacfun // // Created by Ben on 16/6/2. // Copyright © 2016年 Ben. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDate(Category) + (NSTimeInterval)timeIntervalCountWithRecount:(BOOL)recount; @end #define MSEC_NOW ([[NSDate date] timeIntervalSince1970] *...
#include "../../../../../src/qml/qml/qqmlimport_p.h"
/* vi:set ts=8 sts=4 sw=4 noet: * * 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. */ /* * * term.c: functions for controlling t...
/****************************************************************************** * Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * HYPRE Project Developers. See the top-level COPYRIGHT file for details. * * SPDX-License-Identifier: (Apache-2.0 OR MIT) **************************************...
/* * Copyright (c) 2019 * IoTech Ltd * * SPDX-License-Identifier: Apache-2.0 * */ #include "autoevent.h" #include "errorlist.h" #include "edgex/edgex.h" #include "device.h" #include "parson.h" #include "edgex-rest.h" #include "devutil.h" #include "correlation.h" #include "metadata.h" #include "data.h" #include ...
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: yanshiguang02@baidu.com #ifndef BAIDU_BFS_DATA_BLOCK_H_ #define BAIDU_BFS_DATA_BLOCK_H_ #include <string> #include <vector> #include <com...
/* * Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved. * * @file hi_mapi_errno.h * @brief errno module * @author HiMobileCam NDK develop team * @date 2019-3-26 */ #ifndef __HI_MAPI_ERRNO_H__ #define __HI_MAPI_ERRNO_H__ #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endi...
//------------------------------------------------------------------------------ // GB_AxB: hard-coded C=A*B and C<M>=A*B //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2019, All Rights Reserved. // http://suitesparse.com See Gra...
#pragma once #include "Engine.h" #include "world.h" class Entity{ public: Entity(){} inline virtual void Start(){} inline virtual void Run(){} inline virtual void End(){} int id; };
/* * Copyright 2021-2022 Hewlett Packard Enterprise Development LP * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * * You may obtai...
/* * 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, including without limitation * the rights to use, copy, modify, merge, publis...
// // GHAsyncTestCase.h // GHUnit // // Created by Gabriel Handford on 4/8/09. // Copyright 2009. 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 // ...
// // NMEnum.h // NMWalletAPP // // Created by boundlessocean on 2016/11/18. // Copyright © 2016年 coffee. All rights reserved. // #ifndef NMEnum_h #define NMEnum_h // 钱包首页-认证状态 typedef NS_ENUM (NSInteger, NMWalletHomePushVCStatueType){ NMWalletHomePushVCStatueTypeLogin, // 登录状态 NMWall...
// Copyright (c) 2019 The DIGIWAGE developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SETTINGSEXPORTCSV_H #define SETTINGSEXPORTCSV_H #include <QWidget> #include "qt/digiwage/pwidget.h" #include "transactionfilt...
/************************************************************************************************** ******* **************************************************************************************************/ #ifndef _OTA_APP_SERVICE_H #define _OTA_APP_SERVICE_H #include "bcomdef.h" #include "version.h" enum { OT...
#ifndef pac_number_h #define pac_number_h #include "pac_common.h" class Number : public Object { public: Number(int arg_n) : s(strfmt("%d", arg_n)), n(arg_n) {} Number(const char* arg_s, int arg_n) : s(arg_s), n(arg_n) {} const char* Str() const { return s.c_str(); } int Num() const { return n; } protecte...
#ifndef __IMPORTER_SCENE_H__ #define __IMPORTER_SCENE_H__ #include "Importer.h" #include <vector> #include <string> BE_BEGIN_NAMESPACE class GameObject; class Resource; class ResourceScene; class BROKEN_API ImporterScene : public Importer { public: ImporterScene(); virtual ~ImporterScene(); Resource* Import(Imp...
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_svm_sigmoid_predict_f32.c * Description: SVM Sigmoid Classifier * * * Target Processor: Cortex-M and Cortex-A cores * ------------------------------------------------------------------...
/* * Copyright (c) 2009-2012 Xilinx, Inc. All rights reserved. * * Xilinx, Inc. * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A * COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS * ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION OR * STANDARD, XILINX IS MAKING ...
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em // with input from test_msgs:msg/BoundedSequences.idl // generated code does not contain a copyright notice #ifndef TEST_MSGS__MSG__DETAIL__BOUNDED_SEQUENCES__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ #define TEST_MS...
/* * @brief Pin Interrupt example * * @note * Copyright(C) NXP Semiconductors, 2013 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This software is supplied "AS IS" wit...
/*! * @file main.c * @brief Proximity14 Click example * * # Description * This example showcases the ability of the device to read proximity * value. It can be configured to detect objects up to 20cm of distance. * * The demo application is composed of two sections : * * ## Application Init * Initialization...
// // AFOBarbecue.h // AFOCommandPattern // // Created by xueguang xian on 2019/3/31. // Copyright © 2019 AFO Science Technology Ltd. All rights reserved. // #import "AFOCommand.h" NS_ASSUME_NONNULL_BEGIN @interface AFOBarbecue : AFOCommand @end NS_ASSUME_NONNULL_END
// SPDX-License-Identifier: GPL-2.0-only /* * intel_powerclamp.c - package c-state idle injection * * Copyright (c) 2012, Intel Corporation. * * Authors: * Arjan van de Ven <arjan@linux.intel.com> * Jacob Pan <jacob.jun.pan@linux.intel.com> * * TODO: * 1. better handle wakeup from external i...
/* * Copyright (c) 2017-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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * ISC License * * Copyright (c) 2013-2019 * Frank Denis <j at pureftpd dot org> * * 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 S...
#include "nist5.h" #include <stdlib.h> #include <stdint.h> #include <string.h> #include <stdio.h> #include "sha3/sph_blake.h" #include "sha3/sph_groestl.h" #include "sha3/sph_jh.h" #include "sha3/sph_keccak.h" #include "sha3/sph_skein.h" void nist5_hash(const char* input, char* output, uint32_t len) { sph_blake5...
/* * Dynamic Link Library by Parra Studios * A library for dynamic loading and linking shared objects at run-time. * * Copyright (C) 2016 - 2022 Vicente Eduardo Ferrer Garcia <vic798@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi...
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2018-11-27 zylx first version */ #ifndef __DRV_QSPI_H_ #define __DRV_QSPI_H_ #include <rtthread.h> rt_err_t stm32_qspi_bus_attach_device(const ch...
/* Copyright (c) 2001 Matej Pfajfar. * Copyright (c) 2001-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2013, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file config.c * \brief Code to parse and interpret configuration fil...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #pragma once #include "key_pair.h" #include "openssl/x509_time.h" #include "pem.h" #include <string> namespace crypto { static std::string compute_cert_valid_to_string( const std::string& valid_from, size_t v...
#ifndef MESH_RENDERER_HEADER #define MESH_RENDERER_HEADER #include <glad/gl.h> #include <pybind11/pybind11.h> #include <pybind11/numpy.h> #include <pybind11/stl.h> #ifdef USE_CUDA #include <cuda_runtime.h> #include <cuda_gl_interop.h> #endif #define MAX_NUM_RESOURCES 10 namespace py = pybind11; struct Texture { ...
/*************************************************************************/ /* broad_phase_2d_hash_grid.h */ /*************************************************************************/ /* This file is part of: */ /* ...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "S1AP-IEs" * found in "../support/r14.4.0/36413-e40.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps` */ #ifndef _S1AP_NB_IoT_DefaultPagingDRX_H_ #define _S1AP_NB_IoT_DefaultPagingDRX_H_ #include <asn_appl...
// Copyright 2019 The Abseil 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
/* * 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 ...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2022, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
/* * APEI Error INJection support * * EINJ provides a hardware error injection mechanism, this is useful * for debugging and testing of other APEI and RAS features. * * For more information about EINJ, please refer to ACPI Specification * version 4.0, section 17.5. * * Copyright 2009-2010 Intel Corp. * Auth...