text
stringlengths
9
948k
/******************************************************************************** ** Form generated from reading UI file 'signverifymessagedialog.ui' ** ** Created by: Qt User Interface Compiler version 5.5.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ***************************...
// Copyright (c) 2019, The Vulkan Developers. // // This file is part of Vulkan. // // 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...
/* PR middle-end/52547 */ /* { dg-do run } */ extern void abort (void); __attribute__((noinline, noclone)) int baz (int *x, int (*fn) (int *)) { return fn (x); } __attribute__((noinline, noclone)) int foo (int x, int *y) { int i, e = 0; #pragma omp parallel for reduction(|:e) for (i = 0; i < x; ++i) { ...
#include <stdio.h> #include <assert.h> int findMin(int *nums, int numsSize) { int l = 0; int r = numsSize - 1; while (l < r) { int m = l + (r - l) / 2; if (nums[l] > nums[m]) { /* right side is sorted */ r = m; } else if (nums[r] < nums[m]) { /* left side is sort...
// // SIQuote.h // V2EX // // Created by 杨晴贺 on 22/01/2017. // Copyright © 2017 Silence. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, SIQuoteType) { SIQuoteTypeNone, SIQuoteTypeUser, SIQuoteTypeEmail, SIQuoteTypeLink, SIQuoteTypeAppStore, SIQuoteType...
#ifndef SRC_DIFFIEHELLMAN_H #define SRC_DIFFIEHELLMAN_H #include<stdio.h> #include<math.h> void diffiehellman_gui(); int pMod(int a, int b, int p); #endif //SRC_DIFFIEHELLMAN_H
#ifndef __LINUX_NODEMASK_H #define __LINUX_NODEMASK_H /* * Nodemasks provide a bitmap suitable for representing the * set of Node's in a system, one bit position per Node number. * * See detailed comments in the file linux/bitmap.h describing the * data type on which these nodemasks are based. * * For details o...
/* * wpa_supplicant/hostapd / Debug prints * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "uart_pub.h" int wpa_debug_level = MSG_DEBUG; int wpa_debug...
// Copyright 2015 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_SYNC_DRIVER_SYNC_DRIVER_SWITCHES_H_ #define COMPONENTS_SYNC_DRIVER_SYNC_DRIVER_SWITCHES_H_ #include "base/feature_list.h" #include "ba...
// Created by Dialog Box Constructor/RedBug char lnsetup_kkt[] = {0xFF,0xFF,0x36,0x0C,0x0E,0x4C,0x6F,0x6E,0x67,0x6E,0x61, 0x6D,0x65,0x20,0x53,0x65,0x74,0x75,0x70,0x00,0x0D,0x08,0x1C,0x02,0x0C,0x52,0x65, 0x61,0x64,0x20,0x2F,0x20,0x57,0x72,0x69,0x74,0x65,0x0A,0x08,0x1C,0x03,0x04,0x52, 0x65,0x61,0x64,0x0B,0x08,0x28,0x...
/** * \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...
#ifndef LIME_UI_TOUCH_EVENT_H #define LIME_UI_TOUCH_EVENT_H #include <system/CFFI.h> #include <system/ValuePointer.h> #include <stdint.h> namespace lime { enum TouchEventType { TOUCH_START, TOUCH_END, TOUCH_MOVE }; struct TouchEvent { hl_type* t; int device; double dx; double dy; ...
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the...
#include "iso14229.h" #include "iso14229server.h" #include "iso14229serverappsoftware.h" int udsAppInit(void *self, const void *cfg, Iso14229Server *iso14229) { iso14229ServerEnableService(iso14229, kSID_DIAGNOSTIC_SESSION_CONTROL); iso14229ServerEnableService(iso14229, kSID_ECU_RESET); iso14229ServerEnabl...
#include "align.h" #include "fips202.h" #include "packing.h" #include "params.h" #include "poly.h" #include "polyvec.h" #include "randombytes.h" #include "sign.h" #include "symmetric.h" #include <stdint.h> #include <string.h> static inline void polyvec_matrix_expand_row(polyvecl **row, polyvecl buf[2], const uint8_t r...
#pragma once #include <map> #include <memory> #include <string> #include <optional> #include <QObject> #include <QTimer> #include <QColor> #include <QTransform> #include "nanovg.h" #include "cereal/messaging/messaging.h" #include "common/transformations/orientation.hpp" #include "selfdrive/camerad/cameras/camera_com...
/* * BSD LICENSE * * Copyright (C) Cavium networks Ltd. 2016. * * 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...
/*************************************************************************/ /* plane.h */ /*************************************************************************/ /* This file is part of: */ /* ...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:42:42 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/MetricKitSource.framework/MetricKitSource * classdump-dyld is licensed under GPLv3, Copyright © 2013-2...
/* * Copyright (c) 2016, Freescale Semiconductor, Inc. * Copyright 2016-2020 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _LPC_GPIO_H_ #define _LPC_GPIO_H_ #include "fsl_common.h" /*! * @addtogroup lpc_gpio * @{ */ /*! @file */ /******************************************...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "S1AP-IEs" * found in "/home/user/openairinterface5g/openair3/S1AP/MESSAGES/ASN1/R14/s1ap-14.5.0.asn1" * `asn1c -pdu=all -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/cmake_targ...
#ifndef PROCESS_CLICKY_H #define PROCESS_CLICKY_H void clicky_play(void); bool process_clicky(uint16_t keycode, keyrecord_t *record); void clicky_freq_up(void); void clicky_freq_down(void); void clicky_freq_reset(void); void clicky_toggle(void); void clicky_on(void); void clicky_off(void); bool is_clicky_on(void); ...
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ /* Based on the FS Import classes: Copyright (C) 2005-2006 Feeling Software Inc Copyright (C) 2005-2006 Autod...
#ifndef CondFormats_Luminosity_LumiCorrections_h #define CondFormats_Luminosity_LumiCorrections_h /** * \class LumiCorrections * * \author Sam Higginbotham, Chris Palmer * * This class should contain scale factors for correcting * out-of-time pile-up per bunch crossing on rates intended * for luminosity ...
#ifndef LIGHTNING_LIGHTNINGD_PLUGIN_HOOK_H #define LIGHTNING_LIGHTNINGD_PLUGIN_HOOK_H #include "config.h" #include <ccan/autodata/autodata.h> #include <ccan/tal/tal.h> #include <ccan/typesafe_cb/typesafe_cb.h> #include <common/json_stream.h> #include <lightningd/lightningd.h> #include <lightningd/plugin.h> /** * Plu...
/** ****************************************************************************** * @file stm32f0xx_nucleo.h * @author MCD Application Team * @brief This file contains definitions for: * - LEDs and push-button available on STM32F0XX-Nucleo Kit * from STMicroelectronics * ...
/* * Copyright (c) 2021, Krisna Pranav * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once // includes #include <__libc__.h> #include <sys/types.h> __BEGIN_HEADER #define O_RDONLY 0x0000 #define O_WRONLY 0x0001 #define O_RDWR 0x0002 #define O_APPEND 0x0008 #define O_CREAT 0x0200 #define O_TRUNC 0x0400 #def...
/* header.h ----------- Role: prototypes of game.c functions */ #ifndef DEF_HEADER #define DEF_HEADER #include "constants.h" void SDL_ExitWithError(const char *message, SDL_Window *window, SDL_Renderer *renderer); int setColor(SDL_Renderer **renderer, const struct color color); int colorBlock(SDL_Rendere...
/* Unix SMB/CIFS implementation. SMB parameters and setup Copyright (C) Andrew Tridgell 1992-1997, Copyright (C) Gerald (Jerry) Carter 2005 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 ...
// // App.h // Blood on the Walls // // Created by Benjamin Arnold on 20 Jun 2016 // Copyright 2016 Regrowth Studios // All Rights Reserved // // Summary: // Controller for the game. // #pragma once #ifndef App_h__ #define App_h__ #include <Vorb/ui/MainGame.h> class GameplayScreen; class App : public vui::MainGame...
// Copyright 2021, Kay Hayen, mailto:kay.hayen@gmail.com // // Part of "Nuitka", an optimizing Python compiler that is compatible and // integrates with CPython, but also works on its own. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
/* * Copyright (C) 2008 - 2011 The OpenTitus team * * Authors: * Eirik Stople * * "Titus the Fox: To Marrakech and Back" (1992) and * "Lagaf': Les Aventures de Moktar - Vol 1: La Zoubida" (1991) * was developed by, and is probably copyrighted by Titus Software, * which, according to Wikipedia, stopped buisn...
// // MLPlaceholderViewController.h // Monal // // Created by Anurodh Pokharel on 1/5/20. // Copyright © 2020 Monal.im. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface MLPlaceholderViewController : UIViewController @end NS_ASSUME_NONNULL_END
// SPDX-License-Identifier: GPL-2.0-or-later /* * Driver for the Auvitek USB bridge * * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> */ #include "au0828.h" #include "au8522.h" #include <linux/module.h> #include <linux/slab.h> #include <linux/videodev2.h> #include <media/v4l2-common.h> #include <linux/mute...
/**************************************************************/ /* Modul: lock the communication port */ /* */ /* Copyright: Yafra.org */ /* Autor: Administrator, Yafra.org */ /*******************************...
/* * Copyright 2021 Google LLC * * 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 agreed to ...
#ifndef RT_PORT_H #define RT_PORT_H #include <stdarg.h> #include <errno.h> typedef int rt_bool_t; typedef int rt_int32_t; #define http_debug printf #define http_error printf #define RT_USING_SAL "yes" #define closesocket(s) close(s) #define RT_NULL NULL #define RT_FALSE 0 #define RT_TRUE 1 #def...
#ifndef INTERRUPTS_H #define INTERRUPTS_H #include <stdint.h> /* NOTE: The first 32 interrupts are Intel-reserver for exceptions, so all other interrupts have an offset of 32. Thus: timer tick int 0 => int 0x20 (32) keyboard int 1 0> int 0x21 (33) etc. if(int >= 32 && int <= 47) => IRQ hardware interrupt */ void ...
/* * $NetBSD: ulpt.c,v 1.55 2002/10/23 09:14:01 jdolecek Exp $ * $FreeBSD: src/sys/dev/usb/ulpt.c,v 1.59 2003/09/28 20:48:13 phk Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Lennart Augustsso...
// -*-Mode: C++;-*- // technically C99 // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research an...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSCachedURLResponse, NSData, NSError, NSString, NSURLAuthenticationChallenge, NSURLRequest, NSURLResponse, QBNetwork; @protocol QBNetworkDelegate <NSOb...
#ifndef vcl_sgi_string_h_ #define vcl_sgi_string_h_ # include "iso/vcl_string.h" inline bool operator!=(vcl_string const& a, vcl_string const& b) { return !(a==b); } #endif // vcl_sgi_string_h_
/* SDL_ttf: A companion library to SDL for working with TrueType (tm) fonts Copyright (C) 2001-2021 Sam Lantinga <slouken@libsdl.org> 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...
#ifndef USCOIN_QT_CALLBACK_H #define USCOIN_QT_CALLBACK_H #include <QObject> class Callback : public QObject { Q_OBJECT public Q_SLOTS: virtual void call() = 0; }; template <typename F> class FunctionCallback : public Callback { F f; public: FunctionCallback(F f_) : f(std::move(f_)) {} ~Function...
/******************************************************************************************************** * @file zcl_group_attr.c * * @brief This is the source file for zcl_group_attr * * @author Zigbee Group * @date 2021 * * @par Copyright (c) 2021, Telink Semiconductor (Shanghai) Co., Ltd. ("TEL...
#include "crypto_hash.h" #include "sph_simd.h" int crypto_hash(unsigned char *out,const unsigned char *in,unsigned long long inlen) { sph_simd256_context mc; sph_simd256_init(&mc); sph_simd256(&mc, in, inlen); sph_simd256_close(&mc,out); return 0; }
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
// // SJMedalView.h // vesta // // Created by Florent Segouin on 16/12/14. // Copyright (c) 2014 utt. All rights reserved. // #import <UIKit/UIKit.h> @interface SJMedalView : UIView @property (nonatomic) BOOL moderator; @property (nonatomic) BOOL expert; @property (nonatomic) BOOL elder; @end
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtSql module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
/* * Copyright (c) 2001 Dan Potter * See LICENSE for details. * * Dan Potter */ #ifndef _STACK_H_ #define _STACK_H_ #include <inttypes.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* * Return the return address (the caller) of the current function */ #define STACK_RET_ADDRESS(pr) do { ...
/* The MIT License Copyright (c) 2008 by Genome Research Ltd (GRL). 2010 by Attractive Chaos <attractor@live.co.uk> 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 wi...
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020.12.11 wanghaijing first version */ #include <rtdevice.h> #include <string.h> #include "lpm.h" #ifndef RT_FIOGETXIPADDR #define RT_FIOGETXIPADDR ...
/** **************************************************************************************** * * @file user_profiles_config.h * * @brief Configuration file for the profiles used in the application. * * Copyright (c) 2015-2018 Dialog Semiconductor. All rights reserved. * * This software ("Software") is owned by...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
#include <ev.h> #include <Python.h> #define MAXHEADER 4096 /* Structure we use for each client's connection. */ struct client { int fd; ev_io ev_write; ev_io ev_read; char *remote_addr; int remote_port; char *input_header; char *input_body; size_t inp...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:44:07 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "SCNNode.h" @interface SCNNode (SKEUndoRedoSupport) + (id)keyPathsForValuesAffectingcastsShadow_edit; + (id)keyPathsForValuesAffectingske_referenceLoadingPolicy_edit; + (id...
#ifndef INCLUDED_AG_GENERALPREFERENCESWIDGET #define INCLUDED_AG_GENERALPREFERENCESWIDGET // Library headers. #include <QWidget> // PCRaster library headers. // Module headers. #include "ui_GeneralPreferencesWidgetBase.h" namespace ag { // GeneralPreferencesWidget declarations. class DataObject; } namesp...
/* * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // // Configuration functions // ...
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) | +---------...
/* * rt_atan2_snf.h * * Real-Time Workshop code generation for Simulink model "TemplateLgV2.mdl". * * Model Version : 1.114 * Real-Time Workshop version : 7.3 (R2009a) 15-Jan-2009 * C source code generated on : Sun Mar 30 09:44:38 2014 * * Target selection: nidll.tlc * Note: GRT includes extr...
#pragma once #include <QLabel> #include <QStackedWidget> #include <QVBoxLayout> #include <QWidget> #include "selfdrive/ui/qt/widgets/input.h" // pairing QR code class PairingQRWidget : public QWidget { Q_OBJECT public: explicit PairingQRWidget(QWidget* parent = 0); void paintEvent(QPaintEvent*) override; pri...
/** * Copyright (c) 2017 - 2018, 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, th...
/*================== * 图的邻接表存储表示 ===================*/ #include "ALGraph.h" // 录入数据的源文件;fp为null时,说明需要从控制台录入 static FILE* fp = NULL; /* * IncInfo指示该图/网的边/弧上是否存在附加信息。 * 如果其值不为0,则表示无附加信息,否则,表示存在附加信息。 */ Boolean IncInfo = FALSE; // 访问标志数组,记录访问过的顶点 static Boolean visited[MAX_VERTEX_NUM]; // 函数变量 static Status (* V...
// // OWLineCommentItem.h // SmartPartyBuilding // // Created by 王卫华 on 2017/5/17. // Copyright © 2017年 王卫华. All rights reserved. // #import <Foundation/Foundation.h> @interface OWLineCommentItem : NSObject @property (nonatomic, assign) long long commentId; @property (nonatomic, assign) NSUInteger userId; @pro...
/* ODIN-W2 implementation of WiFiInterface * Copyright (c) 2016 u-blox Malm� AB * * 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 * *...
/* Copyright (c) 2014, ENEA Software AB * Copyright (c) 2014, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __OFP_TIMER_H__ #define __OFP_TIMER_H__ #include <odp_api.h> #if __GNUC__ >= 4 #pragma GCC visibility push(default) #endif typedef void (*ofp_timer_callback)(void *arg...
/* * Copyright (c) 2016 Stefan Wallentowitz <wallento@silicon-semantics.com> * * 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 right...
/* $NetBSD: main.c,v 1.15 2001/03/04 01:51:05 assar Exp $ */ /* * Copyright (c) 1988, 1990, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
#include <mruby.h> #include <mruby/compile.h> #include <stdio.h> #include <dirent.h> int main(void) { mrb_state *mrb = mrb_open(); FILE* source_file = fopen("assets/main.rb", "r"); mrb_load_file(mrb, source_file); fclose(source_file); }
// // DoraemonStartPluginProtocol.h // CocoaLumberjack // // Created by yixiang on 2017/12/17. // #import <Foundation/Foundation.h> @protocol DoraemonStartPluginProtocol <NSObject> @optional - (void)startPluginDidLoad; @end
// // ViewController.h // ExtKitchenSink // // Created by Thomas Eichmann on 15.08.14. // Copyright (c) 2014 Thomas Eichmann. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// // GoodsInfo.h // LoveFlyHome // // Created by Lefeng on 16/6/6. // Copyright © 2016年 Lefeng. All rights reserved. // #import <Foundation/Foundation.h> @interface GoodsInfo : NSObject @property(assign,nonatomic)NSInteger GoodsID; @property(copy,nonatomic)NSString *GoodsName,*GoodsImage,*GoodsPrice,*GoodsWeight...
#ifndef CUDADataFormats_Track_TrackHeterogeneousT_H #define CUDADataFormats_Track_TrackHeterogeneousT_H #include "CUDADataFormats/Track/interface/TrajectoryStateSoAT.h" #include "HeterogeneousCore/CUDAUtilities/interface/HistoContainer.h" #include "CUDADataFormats/Common/interface/HeterogeneousSoA.h" namespace pixel...
// Reference: https://www.govinfo.gov/app/details/CFR-2011-title47-vol1/CFR-2011-title47-vol1-sec15-119/summary // Implementatin issue: https://github.com/CCExtractor/ccextractor/issues/1120 #include "lib_ccx.h" #include <stdbool.h> // Adds a parity bit if needed unsigned char odd_parity(const unsigned char byte) { ...
// // CalendarDemoViewController.h // CalendarDemo // // Created by Chris on 15/11/17. // Copyright © 2015年 Chris. All rights reserved. // #import <UIKit/UIKit.h> #import "FSCalendar.h" @interface CalendarViewController : UIViewController <FSCalendarDataSource, FSCalendarDelegate, UITableViewDataSource, UITableVi...
#include "bsd29adapt.h" /* * SCCS id @(#)fio.c 2.1 (Berkeley) 8/5/83 */ #include "bsd29/include/sys/param.h" #include <bsd29/include/sys/systm.h> #include <bsd29/include/sys/dir.h> #include <bsd29/include/sys/user.h> #include <bsd29/include/sys/filsys.h> #include <bsd29/include/sys/file.h> #include <bsd29/include/...
/* * Copyright 2016 Google Inc. 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 applica...
// // Created by cc on 2019-05-08. // #ifndef STALK_V2_VOICEMESSAGEITEM_H #define STALK_V2_VOICEMESSAGEITEM_H #include "MessageItemBase.h" #include <QTimer> #include <thread> /** * @description: VoiceMessageItem * @author: cc * @create: 2019-05-08 15:41 **/ class QHBoxLayout; class QMediaPlayer; class VoiceMessageIt...
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
// // ContactViewController.h // digitalCurrency // // Created by startlink on 2019/7/7. // Copyright © 2019年 ABC. All rights reserved. // #import <UIKit/UIKit.h> @interface ContactViewController : BaseViewController @end
// Copyright 2018, OpenCensus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
/* * Copyright (c) 2017-2020, NVIDIA CORPORATION. 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 ...
// // AKMidiListener.h // AudioKit // // Created by Aurelius Prochazka on 10/8/12. // Copyright (c) 2012 Aurelius Prochazka. All rights reserved. // /** Implement the AKMidiListener protocol on any classes that need to respond to incoming MIDI events. Every method in the protocol is optional to allow the classe...
inherit NPC; inherit F_DEALER; void create() { set_name("波斯生意人", ({ "shengyi ren", "dealer", "ren" })); set("gender", "男性"); set("age", 40 + random(10)); set("long", "一個精明的波斯生意人。高鼻藍眼的, 看着你臉上露出狡詐的笑容。\n"); set("attitude", "friendly"); set("combat_exp", 3000); set_sk...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.0 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do...
/* * Copyright (C) 2015-2018 Alibaba Group Holding Limited */ #ifndef __AWSS_RESET_STATIS_H__ #define __AWSS_RESET_STATIS_H__ #ifndef AWSS_SUPPORT_DEV_RESET_STATIS #define AWSS_SUPPORT_DEV_RESET_STATIS #endif enum { AWSS_RST_STATIS_START, AWSS_RST_STATIS_SUC, }; #ifdef AWSS_SUPPORT_DEV_RESET_STATIS struct...
// Copyright 2022 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
// Copyright 2018 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 SRC_GRAPHICS_DISPLAY_DRIVERS_DISPLAY_CONTROLLER_H_ #define SRC_GRAPHICS_DISPLAY_DRIVERS_DISPLAY_CONTROLLER_H_ // NOTE: this header is included fir...
/* Minimal block driver for Mini-OS. * Copyright (c) 2007-2008 Samuel Thibault. * Based on netfront.c. */ #include <stdint.h> #include <mini-os/os.h> #include <mini-os/xenbus.h> #include <mini-os/events.h> #include <errno.h> #include <xen/io/blkif.h> #include <xen/io/protocols.h> #include <mini-os/gnttab.h> #inclu...
#include <AI/ai_common.h> namespace AI { CUnit* findBestDisruptionWebTarget(const CUnit *caster, bool isUnderAttack); } //AI
#include "mltaln.h" #define DEBUG 0 #define IODEBUG 0 #define SCOREOUT 1 #define TSUYOSAFACTOR 100 static int nhomologs; static int seedoffset; void strip( char *s ) { char *pt = s; while( *++pt ) if( *pt == '\n' ) *pt = 0; } void arguments( int argc, char *argv[] ) { int c; seedoffset = 0; nhomologs =...
/* Copyright (c) 2012, Broadcom Europe 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 above copyright notice, this list of conditions and t...
#ifndef __RIFF_H_ #define __RIFF_H_ #include <cstdlib> #include <cstdio> #include <cassert> #include <cinttypes> #include <cstring> #include <deque> struct FourCC { char d[5]; FourCC() { d[4] = 0; }; FourCC( const char *c ) { memcpy( d, c, 4 ); d[4] = 0; }; bool operator== ( const char *c ) const { re...
/* * 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...
// // Copyright 2017 Capitar IT Group BV <info@capitar.com> // Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may...
// Copyright (c) 2012 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_ASH_LAUNCHER_APP_SHORTCUT_LAUNCHER_ITEM_CONTROLLER_H_ #define CHROME_BROWSER_UI_ASH_LAUNCHER_APP_SHORTCUT_LAUNCHER_ITEM_CONT...
/* Copyright (c) 2014, Pierre-Henri Symoneaux 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 and the f...