text
stringlengths
4
6.14k
/* * Hex.h * * Created on: Nov 16, 2013 * Author: count zero */ #ifndef HEX_H_ #define HEX_H_ #include "Graph.h" #include <sstream> using std::stringstream; class Hex { public: Hex(); virtual ~Hex(); void DrawGraph(); bool Winner(); void ReadInputs(); stringstream hex_board; Graph board; ...
#pragma once #include <wchar.h> #if !defined(THCRAP_I18N_DONTALIAS) && defined(THCRAP_I18N_APPDOMAIN) #define _(s) (i18n_w(THCRAP_I18N_APPDOMAIN, s)) #define C_(c,s) (i18n_wp(THCRAP_I18N_APPDOMAIN, c, s)) #define N_(s,p,n) (i18n_wn(THCRAP_I18N_APPDOMAIN, s, p, n)) #define NC_(c,s,p,n) (i18n_wpn(THCRAP_I18N_APPDOMAIN, ...
/* _PDCLIB_initclocale( locale_t ) This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. */ #ifndef REGTEST #include "_PDCLIB_clocale.h" #include "_PDCLIB_locale.h" void _PDCLIB_initclocale( locale_t l ) { // TODO: There will be more...
#include <core/Unsigned8.h> #include <core/macro/define_opaque_type_alias.h> #ifndef _core_whatwg_url_PercentEncodedByte #define _core_whatwg_url_PercentEncodedByte ::core_whatwg_url::PercentEncodedByte namespace core_whatwg_url { _core_macro_define_opaque_type_alias(PercentEncodedByte, core::Unsigned8); } #endif
/* * release.h */ #define VERSION 2 #define RELEASE 16 #define PATCH 0 #define BUILD 0
/* 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...
// Measures the RAM read and write bandwidth // // Get the RAM badwith in us LONGLONG GetRAM_Page_Fault();
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_ValueType1744280289.h" #include "UnityEngine_UnityEngine_Color4194546905.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored...
/* * InsightIteration.h * * Created on: Jan 30, 2014 * Author: jan */ #ifndef INSIGHTITERATION_H_ #define INSIGHTITERATION_H_ #include "ParticleEvaluatorInsight.h" #include "ParticleSampler.h" #include "ParticleSet.h" #include "IterationLogger.h" namespace INSIGHTv3 { class InsightIteration { public: In...
// // ViewController.h // HypnoNerd // // Created by 张苗 on 5/7/16. // Copyright © 2016 张苗. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
/* * This program finds the longest common prefix string for an array or list * of strings. For more iformation on the problem, please refer to the * following link:- http://www.geeksforgeeks.org/longest-common-prefix-set-1-word-by-word-matching/ */ #include<stdio.h> #include<stdlib.h> #include<string.h> #include<a...
/* test.c */ #include "test.h" #include "mongo.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #ifndef SEED_START_PORT #define SEED_START_PORT 30000 #endif int test_connect( const char* set_name ) { mongo_connection conn[1]; int res; INIT_SOCKETS_FOR_WINDOWS; mong...
// // Created by zhangrongxiang on 2018/1/16 10:24 // File 6 // #include <stdio.h> //打印输入中单词长度的直方图。水平方向的直方图比较容易绘制,垂直方向的直方图则要困难写。 #define MAXHIST 15 #define MAXWORD 11 int word_stats(int wl[]) { int flag; int c, nc, i, ovflow; flag = 0; nc = 0; ovflow = 0; for (i = 0; i < MAXWORD; i++) ...
#ifndef REALJOY_H #define REALJOY_H #define LJOYMASK 0x01 #define RJOYMASK 0x02 #define UJOYMASK 0x04 #define DJOYMASK 0x08 #define B1JOYMASK 0x10 #define B2JOYMASK 0x20 /* This should be called from xxx_keyb.c */ int get_realjoy(int stick); /* This should be called once per frame */ void update_realjoy(void); /* ...
/* * Copyright (c) 2010 Yahoo! 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 applicable law or a...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
// // BSTitleButton.h // BaiSiBuDeJie // // Created by 侯宝伟 on 15/11/10. // Copyright © 2015年 ZHUNJIEE. All rights reserved. // #import <UIKit/UIKit.h> @interface BSTitleButton : UIButton @end
// Copyright 2022 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// // FuViewController.h // PrisonerFitnessRecord // // Created by dong on 2018/3/28. // Copyright © 2018年 董永胜. All rights reserved. // #import <UIKit/UIKit.h> @interface FuViewController : UIViewController @end
/* $NetBSD: bench_http.c,v 1.1.1.1.6.1 2014/12/24 00:05:26 riz Exp $ */ /* * Copyright 2008-2012 Niels Provos and Nick Mathewson * * 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 co...
/* * 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...
// // Project Management // // // Copyright (C) 2016 Peter Niekamp // #pragma once #include "api.h" //-------------------------- ProjectPlugin ---------------------------------- //--------------------------------------------------------------------------- class ProjectPlugin : public Studio::Plugin { Q_OBJECT ...
/* * 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...
/* 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 may not...
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. */ #include "tomcrypt_private.h" /** @file rsa...
/************************************************************************** * This code is licensed under the Apache License 2.0. See ../LICENSE * * Copyright 2016 John Denholm * * * * c3db_create.c ...
/* * * Copyright 2013 Mario Alviano, Carmine Dodaro, and Francesco Ricca. * * 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) 2012 BMW Car IT GmbH * * 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...
/* * Copyright (C) 2015, Albert Krzymowski * Copyright (C) 2015, Invenire Aude Limited * * File: IAS-QSystemMod-ODBC/src/ds/Impl/ODBC/SessionXAManaged.h * * Licensed under the Invenire Aude Commercial License (the "License"); * you may not use this file except in compliance with the License. * You may find th...
// // MHGameSeries.h // CoreHound // // Copyright (c) 2015 MediaHound. All rights reserved. // #import "MHMedia.h" /** * An MHGameSeries */ @interface MHGameSeries : MHMedia @end
/* 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 may not use ...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace TranscribeStreamingService { namespace ...
#ifndef STROMX_CVIMGPROC_DISTANCETRANSFORM_H #define STROMX_CVIMGPROC_DISTANCETRANSFORM_H #include "stromx/cvimgproc/Config.h" #include <stromx/cvsupport/Matrix.h> #include <stromx/runtime/Enum.h> #include <stromx/runtime/EnumParameter.h> #include <stromx/runtime/List.h> #include <stromx/runtime/MatrixDescription.h> #...
/* Copyright 2013-2014 IBM Corp. * * 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 in ...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
#ifndef __QUEUE_H__ #define __QUEUE_H__ // queue //#define ENABLE_QUEUE_LOCK namespace cg{ namespace core{ template<typename T> struct QueueItem{ //friend class Queue<T>; // needs to access to item and next // private class: no public section QueueItem(const T &t): item(t), next(0){} T item; Qu...
/* * Copyright 2010-2012 Esrille 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 agre...
#include "dft.h" #include <stddef.h> static void destroy(problem *ego_) { problem_dft *ego = (problem_dft *) ego_; fftwf_tensor_destroy2(ego->vecsz, ego->sz); fftwf_ifree(ego_); } static void hash(const problem *p_, md5 *m) { const problem_dft *p = (const problem_dft *) p_; fftwf_md5puts(m, "...
/* Copyright 2015 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 applicable law or agreed to in wri...
#ifndef BIT_SCAN_H #define BIT_SCAN_H #ifdef __has_builtin #define HAS_BUILTIN(x) __has_builtin(x) #else #define HAS_BUILTIN(x) 0 #endif #if __GNUC__ >= 4 || HAS_BUILTIN(__builtin_clzll) #define leadingZeros(x) __builtin_clzll(x) #define trailingZeros(x) __builtin_ctzll(x) #endif #ifndef leadingZeros #ifdef _MSC_VER...
/******************************************************************** filename : Log.h author : z00233055 created : 2015/01/04 description : ÈÕ־ģ¿é copyright : Copyright (C) 2014-2016 history : 2015/01/04 ³õʼ°æ±¾ *********************************************************************/ #ifndef _LOG_H_ #define ...
// // YJTitleButton.h // YJHweibo // // Created by YJH on 16/4/9. // Copyright © 2016年 YJH. All rights reserved. // #import <UIKit/UIKit.h> @interface YJTitleButton : UIButton @end
// // ViewController.h // Cool3DSidebarAnimation_OC // // Created by Mazy on 2017/8/3. // Copyright © 2017年 Mazy. All rights reserved. // #import <UIKit/UIKit.h> #import "DetailViewController.h" @interface ViewController : UIViewController @property (nonatomic, strong) DetailViewController *detailVC; @property ...
// // CLVideoPlayerControls.h // CLMoviePlayer // // Created by Jotiram Bhagat on 24/06/14. // Copyright (c) 2014-2016 Jotiram Bhagat. All rights reserved. // NS_ASSUME_NONNULL_BEGIN @class CLVideoPlayer; @class OEXHelperVideoDownload; typedef enum { /** Controls will appear in a bottom bar */ CLVideoPla...
#include "defines.h" #define CS PORTDbits.RD7 #define CLK PORTDbits.RD6 #define DIO PORTDbits.RD11 #define T_CS TRISDbits.TRISD7 #define T_CLK TRISDbits.TRISD6 #define T_DIO TRISDbits.TRISD11 #define X_AXIS 0b1000 #define Y_AXIS 0b1001 #define Z_AXIS 0b1010 void setPins(void); void start(void);...
/* * 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...
#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdbool.h> #include <time.h> #include "Hacl_Streaming_Poly1305_32.h" #include "test_helpers.h" #include "poly1305_vectors.h" typedef struct Ha...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/iotsitewise/IoTSiteWise_EXPORTS.h> #include <aws/iotsitewise/model/AssetModelState.h> #include <aws/iotsitewise/model/ErrorDetails.h> #include <utility> namespace Aws { nam...
// // Copyright (C) 2016 OpenSim Ltd. // // This program 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) any later version. // // This program i...
/* Copyright 2014 APPNEXUS 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 agreed to in writing, softw...
// // ViewController.h // page // // Created by Jay on 7/8/18. // Copyright © 2018年 Jay. All rights reserved. // #import <UIKit/UIKit.h> @interface SPPageViewController : UIViewController @end
// Copyright (c) 2018 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...
/* * $Source: /project/arl/arlcvs/cvsroot/wu_arl/wusrc/wulib/kern.h,v $ * $Author: fredk $ * $Date: 2007/03/06 21:30:14 $ * $Revision: 1.3 $ * $Name: $ * * File: * Author: Fred Kuhns <fredk@arl.wustl.edu> * Organization: Applied Research Laboratory, * Washington University in St...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #ifndef __IFMAP_LOG_H__ #define __IFMAP_LOG_H__ #include "sandesh/sandesh_types.h" #include "sandesh/sandesh.h" #include "sandesh/sandesh_trace.h" #include "sandesh/common/vns_types.h" #include "sandesh/common/vns_constants.h" extern SandeshTra...
// Copyright 2015-2020 Espressif Systems (Shanghai) PTE 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 a...
// // MTHomeDropdown.h // meituan // // Created by MC on 16/2/22. // Copyright © 2016年 MC. All rights reserved. // #import <UIKit/UIKit.h> @class MTHomeDropdown; //@protocol MTHomeDropdownData <NSObject> // //- (NSString *)tital; //- (NSString *)icon; //- (NSString *)selectedIcon; //- (NSArray *)subData; // //@end...
#pragma once struct Coordinates { Coordinates(); Coordinates(int x, int y); int X; int Y; };
/** * Appcelerator Titanium Mobile * Copyright (c) 2010 by feed, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. */ #import "...
#pragma once #include "core/utility/resource_manager.h" #include <istream> #include <map> #include <string> #include <unordered_map> namespace eversim { namespace core { namespace world { class level; struct tile_descriptor; class tile_loader; class level_loader final: public utility::resource_manager<level_load...
/* * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "soc/rtc.h" #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /** * @brief This function is used to enable the digital 8m rtc clock, * to support the peripherals. * ...
/* MBEDTLS_USER_CONFIG_FILE for testing. * Only used for a few test configurations. * * Typical usage (note multiple levels of quoting): * make CFLAGS="'-DMBEDTLS_USER_CONFIG_FILE=\"../tests/configs/user-config-for-test.h\"'" */ /* * Copyright The Mbed TLS Contributors * SPDX-License-Identifier: Apache-2....
/* * (c) 2015 - Copyright Marlin Trust Management Organization * * 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 a...
// // HeadView.h // TinyDay // // Created by 臻 曦 on 16/8/15. // Copyright © 2016年 Icemelt. All rights reserved. // #import <UIKit/UIKit.h> @class TDTinyHeadView; @protocol headViewDataSource <NSObject> - (NSInteger)numberOfItems:(TDTinyHeadView *)headView; - (NSURL *)headView:(TDTinyHeadView *)headView iconURLFor...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
#include <chrono> #include <list> #include <string> #include <tuple> #include <vector> #include "envoy/api/api.h" #include "envoy/config/cluster/v3/cluster.pb.h" #include "envoy/http/codec.h" #include "envoy/upstream/cluster_manager.h" #include "common/network/address_impl.h" #include "common/upstream/cluster_factory...
#ifndef __MZX_BUCKET_SORT_H__ #define __MZX_BUCKET_SORT_H__ #include <map> #include <vector> #include <mzx/algorithm/sort/insert_sort.h> #include <mzx/logger.h> namespace mzx { template <typename RandIt, typename Compare> void BucketSort(RandIt begin, RandIt end, Compare comp) { MZX_CHECK_STATIC( std::i...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the "License"); // you may...
/* ** %Z% %I% %W% %G% %U% ** ** ZZ_Copyright_BEGIN ** ** ** Licensed Materials - Property of IBM ** ** IBM Linear Tape File System Single Drive Edition Version 1.3.0.2 for Linux and Mac OS X ** ** Copyright IBM Corp. 2010, 2013 ** ** This file is part of the IBM Linear Tape File System Single Drive Edition for Li...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2011 by Felicidades, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. *...
/* * File: IAS-LangLib/src/lang/printer/expr/xpath/XPathVariableAccessNodeHandler.h * * Copyright (C) 2015, Albert Krzymowski * * 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 * * h...
#include <MakerSpaceMQTT.h> #include <Print.h> #ifndef _H_SyslogStream #define _H_SyslogStream class SyslogStream : public ACLog { public: const char * name() { return "SyslogStream"; } SyslogStream(const uint16_t syslogPort = 514) : _syslogPort(syslogPort) {}; void setPort(uint16_t port) { _syslogPort ...
// // PIAppDelegate.h // Polipo-iOS // // Created by Yifan Lu on 8/4/13. // Copyright (c) 2013 Yifan Lu. All rights reserved. // #import <UIKit/UIKit.h> @interface PIAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "...
/* * TestManager.h * * Created on: 30.07.2015 * Author: Steffen Heyne */ #ifndef TESTMANAGER_H_ #define TESTMANAGER_H_ #include "MinHashEncoder.h" #include "Data.h" #include "Parameters.h" #include <math.h> class TestManager: public HistogramIndex { public: TestManager(Parameters* apParameters, Data* a...
/******************************************************************************* **NOTE** This code was generated by a tool and will occasionally be overwritten. We welcome comments and issues regarding this code; they will be addressed in the generation tool. If you wish to submit pull requests, please do so for th...
/** * Copyright 2012 Batis Degryll Ludo * @file InteractionTester.h * @since 2017-06-26 * @date 2018-02-25 * @author Batis Degryll Ludo * @brief Interface for an avatar capable of test if a collisionData meets a given condition. */ #ifndef ZBE_ENTITIES_AVATARS_INTERACTIONTESTER_H_ #define ZBE_ENTITIES_AVATARS_I...
/*------------------------------------------------------------------------- * * geqo_gene.h * genome representation in optimizer/geqo * * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/optimizer/geqo_...
#ifndef AlgDs_adjacency_list_h #define AlgDs_adjacency_list_h #endif
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2011 by NookColor, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. */ ...
/* * copyright 2016 wink saville * * 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...
// // BSBaseTableViewController.h // 百思不得姐 // // Created by 张树 on 16/5/20. // Copyright © 2016年 com.zs. All rights reserved. // #import <UIKit/UIKit.h> @interface BSBaseTableViewController : UITableViewController //这个参数是需要其它控制器传进来的 @property(nonatomic,assign)BSType type; @end
#include <stdint.h> #include <stdlib.h> /*Wired up Port D, Pin 2 as the voltage supply to the UVIS25 so that it can be placed in low power down mode when the AVR is sleeping. So we want a power up and a power down method*/ #ifndef UVIS25_h #define UVIS25_h #ifdef __cplusplus #include <Arduino.h> #endif #if defined(...
// CRC-32 Polynomial Table static unsigned long crc_table[256] = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de, 0x1adad47...
/** Atomix project, ORILIB_DataDecodeDecisionInit_i.h, TODO: insert summary here Copyright (c) 2015 Stanford University Released under the Apache License v2.0. See the LICENSE file for details. Author(s): Manu Bansal */ #ifndef ORILIB_DATADECODEDECISIONINIT_I_H_ #define ORILIB_DATADECODEDECISIONINIT_I_H_ #include "OR...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
/* * 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...
/** * 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...
/* vim:set et sts=4: */ /* * Keyman Input Method for IBUS (The Input Bus) * * Copyright (C) 2018, 2020 SIL International * * kmflutil is dual licensed under the MIT or GPL licenses as described below. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * MIT license * * Permission is hereby gr...
// // PYAppDelegate.h // FB Gallery Example // // Created by Philip Yu on 5/18/13. // Copyright (c) 2013 Philip Yu. All rights reserved. // #import <UIKit/UIKit.h> @class PYTimelineViewController; @interface PYAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @pr...
// // AppDelegate.h // VQKitDemo // // Created by zhoubin on 16/7/22. // Copyright © 2016年 VQBoy. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // BOXClient+Authentication.h // BoxContentSDK // // Created by Rico Yao on 11/12/14. // Copyright (c) 2014 Box. All rights reserved. // #import "BOXContentClient.h" #import <UIKit/UIKit.h> @class BOXUser; @interface BOXContentClient (Authentication) /** * Authenticate a user. If necessary, this will prese...
#include <stdio.h> /* standard i/o */ #include <stdlib.h> /* standard library */ #include <string.h> /* string functions */ #include <ctype.h> /* character functions */ ...
// // ZScrollBar.h // ZNews // // Created by zhaowei on 2017/7/11. // Copyright © 2017年 wei zhao. All rights reserved. // #import <UIKit/UIKit.h> @protocol ZScrollBarDelegate <NSObject> - (void) refreshNewsListWithType:(int) type; @end @interface ZScrollBar : UIScrollView @property (nonatomic,weak) id<ZScr...
// Copyright 2022 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
#ifndef timer_h #define timer_h #include "types.h" #include "devices.h" /* Units */ #define UNIT_MICROHZ 0 #define UNIT_VBLANK 1 #define UNIT_ECLOCK 2 #define UNIT_WAITUNTIL 3 #define UNIT_WAITECLOCK 4 #define UNIT_MAX 5 /* IO-Commands */ #define TR_ADDREQUEST (CMD_NONSTD+0) #define TR_GETSYSTIME (CMD_N...
/**************************************************************************** * Copyright (c) 2011 Yahoo! 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://w...
//===----------------------------------------------------------------------===// // // Peloton // // merge_join_plan.h // // Identification: src/include/planner/merge_join_plan.h // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===--------------------------------------...
/*******************************************ÉêÃ÷*************************************** ±¾Ç¶Èëʽ²Ù×÷ϵͳδ¾­ÊÚȨ£¬½ûÖ¹Ó¦ÓÃÓÚÈκÎÉÌÒµÓÃ; °æÈ¨ËùÓУ¬ÇÖȨ±Ø¾¿ **************************************************************************************/ /******************** (C) COPYRIGHT 2010 STMicroelectronics ************...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* ***** 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...
// Copyright 2021 The IREE Authors // // Licensed 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 // A example of setting up the the cuda driver. #include <stddef.h> #include "iree/base/api.h" ...