text
stringlengths
4
6.14k
// DEPRECATED: Use GraphDefBuilder instead. #ifndef TENSORFLOW_GRAPH_TESTLIB_H_ #define TENSORFLOW_GRAPH_TESTLIB_H_ #include <string> #include <vector> #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/graph/types.h" #include "tensorflow/core/platform/port.h" #include "tensorflow/core/public/tensor....
/* * * Copyright (c) 2021 Project CHIP 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 requir...
/* * Phoenix is released under the MIT License. Refer to https://github.com/kasper/phoenix/blob/master/LICENSE.md */ @import Foundation; @protocol PHPreprocessor <NSObject> #pragma mark - Preprocessing + (NSString *) process:(NSString *)script atPath:(NSString *)path error:(NSError **)error; @end
// // Copyright (c) 2014 Limit Point Systems, 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 ...
/* * Test FreeRTOS trace facility functions. These following functions are enabled * when configUSE_TRACE_FACILITY is defined 1 in FreeRTOS. * Tasks: uxTaskGetTaskNumber(), uxTaskSetTaskNumber() * Queues: ucQueueGetQueueType(), vQueueSetQueueNumber(), uxQueueGetQueueNumber() * Event Groups: x...
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <strings.h> #include "esp_flash_encrypt.h" #include "esp_secure_boot.h" #include "esp_efuse.h" #include "esp_efuse_table.h" #include "esp_log.h" #include "sdkconfig.h" static __attribute_...
#ifndef _CORE_SET_H_ #define _CORE_SET_H_ #define G_SET_USER_UNORDER #ifdef G_SET_USER_UNORDER #include "gunorderset.h" namespace gsystem { // gsystem template < typename KeyT, typename HashT = GHashF<KeyT>, typename CompareT = GEqualToF<KeyT>> class GSet final : public GUnorderSet<KeyT, HashT, CompareT> {}; } /...
// // DNThemeManager.h // DoubleNode.com // // Derived from work originally created by Darren Ehlers // Portions Copyright (c) 2012 DoubleNode.com and Darren Ehlers. // All rights reserved. // #import <UIKit/UIKit.h> #import "DNUtilities.h" #import "ADVTheme.h" @class DNTextView, DNTextField, DNLabel, DNSegmen...
#ifndef _LM_FF_H_ #define _LM_FF_H_ #include <vector> #include <string> #include "hg.h" #include "ff.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif // everything in this file is deprecated and may be broken. // Chris Dyer, Mar 2011 class LanguageModelInterface { public: double floor_; LanguageModelInterfac...
/* * 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 2013 The Android Open Source Project * * 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...
// Copyright 2019 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 in ...
#include <stdlib.h> #include <stdio.h> #include "lib/config.h" #include "renderers/image/image.h" void init_image(CONFIG_SECTION *sect, struct image *image, const char *prefix) { char tmp[256]; image->prefix = prefix; snprintf(tmp, sizeof (tmp), "%s.enabled", prefix); config_getBooleanParameter(s...
/* * author: Thomas Yao */ #ifndef _FIELDS_WRITER_H_ #define _FIELDS_WRITER_H_ #include "field_info.h" #include "../store/file_stream.h" struct _fields_writer { struct _field_infos* fieldinfos; struct _file_stream* fieldsstream; struct _file_stream* indexstream; }; struct _fields_writer* fields_writer_init...
// // FriendsTableViewController.h // FacebookMap // // Created by Tom Kraina on 14.09.2012. // Copyright (c) 2012 tomkraina.com. All rights reserved. // #import <UIKit/UIKit.h> #import <CoreData/CoreData.h> @class MapViewController; @class FileCache; @interface FriendsTableViewController : UITableViewController...
#ifndef APPODEAL_DEBUG_H #define APPODEAL_DEBUG_H #include "soa/service/service_utils.h" #include "soa/service/service_base.h" #include "soa/service/json_endpoint.h" #include "soa/service/zmq_named_pub_sub.h" #include "rtbkit/plugins/adserver/http_adserver_connector.h" #include "rtbkit/common/auction_events.h" namespa...
//===- ShellUtility.h -------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
#include <stdio.h> #include <string.h> int main(int argc, char* argv[]){ FILE* file = fopen(argv[1], "r"); FILE* outFile; char tmpBuf[100]; if (argc == 3){ outFile = fopen(argv[2], "w"); } while ( fgets(tmpBuf, sizeof tmpBuf, file) ){ if (argc == 3){ if (strstr(tmpBuf, "\r\n") == NULL){ ...
/* * Copyright (C) 2011-2016 Intel 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 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. *...
/* Copyright 2016 Google 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, soft...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/fsx/FSx_EXPORTS.h> #include <aws/fsx/FSxRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> #include <aws/core/utils/UUID.h> namespace Aws { name...
// // AppDelegate.h // NavigationBarDemo // // Created by Simon on 1/10/13. // Copyright (c) 2013 Appcoda. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#ifndef __PHI_POPMENU__ #define __PHI_POPMENU__ #include "../ptk/ptk.h" PtkMenu *phi_popmenu_new(); #endif
#pragma once #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include "TetrisDrawer.h" #include "TetriminoManager.h" #include "TetriminoMover.h" #include "Board.h" #include "BoardLineManager.h" #include "TetrisSoundPlayer.h" class TetrisGame { private: Board * board; BoardLineManager lineMngr; Tetrimin...
/* * 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 ...
/* * Copyright (c) Meta Platforms, Inc. and 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 appl...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* */ /* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h...
/** * A class which describes the properties and actions of an action. An actions * is defined as an entity which will trigger a specific feature of a device * with a (optional) parameter. * * @date Jul 20, 2014 * @author Joeri HERMANS * @version 0.1 * *...
/* * Copyright 2018 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 ...
/* * 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...
#pragma once #include <chrono> #include "envoy/api/api.h" #include "envoy/config/core/v3/health_check.pb.h" #include "envoy/config/health_checker/redis/v2/redis.pb.h" #include "envoy/data/core/v3/health_check_event.pb.h" #include "envoy/extensions/filters/network/redis_proxy/v3/redis_proxy.pb.h" #include "envoy/exten...
// // Copyright 2014 Etrawler // // 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 writ...
#include <stdio.h> #include <string.h> #include <psec/encode.h> #include <psec/hash.h> int main(void) { unsigned char msg[] = "test"; unsigned char digest[HASH_DIGEST_SIZE_MD5], encoded_digest[(HASH_DIGEST_SIZE_MD5 * 2) + 1]; size_t out_len = 0; hash_buffer_md5(digest, msg, strlen((char *) msg)); encode_buffer_...
/** * recipehub APSHTTPClient Library * Copyright (c) 2009-2016 by Appcelerator, 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...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <fftw3.h> /* sudo apt-get install fftw3 -> not enough, go to www.fftw.org */ #include "fftw3real_common.h" extern const int epsilon; extern const double* get_x_randreal_64bit( const int dftsize ); extern const double* get_X_randr...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2003,2016 IBM International Business Machines 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/li...
/** * @cond doxygenLibsbmlInternal * * @file L2v3CompatibilityValidator.h * @brief Checks whether an SBML model can be converted from L2v3 * @author Sarah Keating * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org ...
/** * Copyright (c) 2009 Alex Fajkowski, Apparent Logic LLC * * 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, * c...
/* * 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...
//#////////////////////////////////////////////// /// Breath-First-Search class. /// The class is meant for executing many BFSs over a fixed graph. This means that the class can keep the hash tables and queues initialized between different calls of the DoBfs() function. template<class PGraph> class TBreathFS_Hybrid { p...
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Cloud Trace API (cloudtrace/v2) // Description: // Sends application trace data to Cloud Trace for viewing. Trace data is // collected for all App Engine applicatio...
#ifndef OPENSIM_MOCOINITIALFORCEEQUILIBRIUMDGFGOAL_H #define OPENSIM_MOCOINITIALFORCEEQUILIBRIUMDGFGOAL_H /* -------------------------------------------------------------------------- * * OpenSim: MocoInitialForceEquilibriumDGFGoal.h * * ---------------------------------------------------...
#include "mpi.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> int main(int argc, char *argv[]) { ////////////// ////////////// double A[320][320]; //матрица зависимости температур double vB[320]; //вектор свободных коэффициентов double vR[320]; //разрешающий столбец double vX[320]...
// // UIImage+LPYImage.h // 01-彩票 // // Created by 刘蒲艳 on 15/6/27. // Copyright (c) 2015年 liupuyan. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (SCPExtension) /** * 图片显示原来的内容,不被渲染 * * @return <#return value description#> */ + (instancetype)imageRenderingModeAlwaysOriginalNamed:(NSStri...
// // Datum - animation // // // Copyright (c) 2017 Peter Niekamp // #pragma once #include "resource.h" #include "mesh.h" //|---------------------- Pose ---------------------------------------------- //|-------------------------------------------------------------------------- class Pose { public: Pose(); ...
/** Copyright 2017 Otavio Rodolfo Piske 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, ...
#include "foundation/math/imath.h" SP_SUIT(imath); SP_CASE(imath, xx) { ireal i = iSQR(1); ireal izero = iSQR(0); SP_TRUE(i==1); SP_TRUE(izero==0); ireal ix = iSQR(1.414); SP_TRUE(ireal_equal_in(2, ix, 0.001)); } SP_CASE(imath, idegreestoradians) { ireal pi = idegreestoradians(180); ...
//===- AArch64CallLowering.h - Call lowering --------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <vespa/vespalib/util/arrayref.h> #include "doc_vector_access.h" #include "nns-l2.h" #include <memory> struct SqDist { double distance; explicit SqDist(double d) noexcept : distance(d)...
#ifndef H_STR2AV #define H_STR2AV typedef enum { STR2AV_OK = 0, STR2AV_UNBALANCED_QUOTE } str_to_argv_err_t; #ifdef __cplusplus extern "C" #endif str_to_argv_err_t str2av(char const * str, int * argc_p, char *** argv_p); #endif
// // Created by Paint on 2017/7/3. // #ifndef KTVDEMO_AUDIOPROCESSINGPROXY_H #define KTVDEMO_AUDIOPROCESSINGPROXY_H #include <webrtc/modules/audio_processing/audio_processing_impl.h> #include <webrtc/modules/audio_processing/include/audio_processing.h> #include <webrtc/modules/include/module_common_types.h>...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
/** * Appcelerator Titanium Mobile * Copyright (c) 2010 by TinyToDo, 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. */ #inclu...
/**************************************************************************** * * Copyright 2017 Samsung Electronics 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 a...
#include "include.h" #define MAX_STAT 10000 #define FLAT_CONST 298.256 #define ERAD 6378.139 #define RPERD 0.017453292 #define FONE (float)(1.0) #define FTWO (float)(2.0) void *check_malloc(int); FILE *fopfile(char*, char*); #in...
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0" * * Written by Nir Drucker, Shay Gueron, and Dusan Kostic, * AWS Cryptographic Algorithms Group. * (ndrucker@amazon.com, gueron@amazon.com, dkostic@amazon.com) */ #pragma once #include "cleanup.h" #inclu...
#ifndef TRACKLISTHANDLER_H #define TRACKLISTHANDLER_H #include <stdint.h> #include <QStringList> #include "avobject.h" class TrackListHandler { public: TrackListHandler(); void add(QString &); void add(QStringList &); void remove(int32_t); void remove(QList<int32_t> &); void setPath(int32_t, QString &);...
// // MFAddViewController.h // BoLianEducation // // Created by BoLian on 2017/5/3. // Copyright © 2017年 BoLian. All rights reserved. // #import <UIKit/UIKit.h> @interface MFAddViewController : UIViewController @end
enum Maybe : bool { No, Yes }; enum BinaryNumbers : bool { One = 1, Zero = 0 }; enum class EnumClass : bool { Foo, Bar }; struct WrapperStruct { enum InnerBoolEnum : bool { A, B }; };
// // AppDelegate.h // FXAudioSDKDemo // // Created by wyman on 2017/7/26. // Copyright © 2017年 wyman. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/************************************************************************* > File Name: SIPDSClient.h > Author: cooperz > Mail: zbzcsn@qq.com > Created Time: Thu 23 Jul 2015 02:37:18 PM CST ************************************************************************/ #ifndef _SIPCLIENT_H #define _SIPCLIENT_H #inc...
/* * Copyright (C) 2007 The Android Open Source Project * * 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 app...
/*========================================================================= * * 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...
// // AppDelegate.h // Boom // // Created by Jay on 3/6/2019. // Copyright © 2019 AA. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* $NetBSD: page.c,v 1.1.1.1 2006/02/06 18:14:54 wiz Exp $ */ /* * page.c * * map page numbers to file position */ #include <X11/Xos.h> #include <X11/IntrinsicP.h> #include <X11/StringDefs.h> #include <stdio.h> #include <ctype.h> #include "DviP.h" #ifdef X_NOT_STDC_ENV extern long ftell(); #endif static DviFile...
/* * 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 2016, Michael R. Hoopmann, Institute for Systems Biology 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 o...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CSocketConnector.h // // @doc: // Creates socket to connect with remote host // // @owner: // // @test: // // //------------------------------------------------------...
// Copyright 2010-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 in...
/* * Copyright 2020 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 ...
/* * Copyright 2014-present Facebook, 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 a...
//===--- SyntaxCollectionData.h ---------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
//set bg and spr palettes, data is 32 bytes array void __fastcall__ pal_all(const char *data); //set bg palette only, data is 16 bytes array void __fastcall__ pal_bg(const char *data); //set spr palette only, data is 16 bytes array void __fastcall__ pal_spr(const char *data); //set a palette entry, in...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // System.Text.RegularExpressions.Interpreter/IntStack struct IntStack_t3630763131; struct IntStack_t3630763131_marshaled_pinvoke; struct IntS...
/** * Here, we change certain linkages in server.c to external. */ #ifndef _SERVER_STUBS_H_ #define _SERVER_STUBS_H_ #include <lighttpd/server.h> // Server memory management that we need to create our server test stubs. server *server_init(void); void server_free(server *srv); #endif // _SERVER_STUBS_H_
/* 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. */ // // The foll...
/* Copyright 2015 Samsung Electronics Co., LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2020 The TensorFlow Runtime 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 applicab...
/* * 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...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/imagebuilder/Imagebuilder_EXPORTS.h> #include <aws/imagebuilder/ImagebuilderRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { n...
/* * twemproxy - A fast and lightweight proxy for memcached protocol. * Copyright (C) 2011 Twitter, 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/lice...
struct oper { char code; int prio;}; struct oper operations [4] = {{ '*', 8 }, { '/', 8 }, {'+', 7 }, {'-', 7}}; bool digit (char c) { return '0'<=c && c<='9'; } bool letter( char c) { return 'a'<=c && c<='z'; } int opnum( char c) { return c == '*' ? 0 : c == '/' ? 1 : c == '+' ? 2 : c == '-' ? 3 : -1; } void main ...
// // Copyright (c) 2014 Limit Point Systems, 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...
/** * Appcelerator Titanium Mobile * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #ifndef TIUITEXTWIDGETPROXY_H_ #define TIUITEXTWIDGETPROXY_H_ #include <TiCore.h> #in...
// // LZEmotionAttachment.h // LZWeiBo // // Created by apple on 16/4/4. // Copyright © 2016年 m14a. All rights reserved. // #import <UIKit/UIKit.h> @class LZEmotion; @interface LZEmotionAttachment : NSTextAttachment /** 表情数据*/ @property (nonatomic, strong) LZEmotion *emotion; @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...
//************************************************************************************ // // LCD 16X2 (CLCD) Interface Library (Header File) // //************************************************************************************ #ifndef CLCD_H #define CLCD_H //*****USER SETTINGS*******...
#ifndef __GearBrowserTest_H__ #define __GearBrowserTest_H__ #ifdef LOG_TAG #undef LOG_TAG #endif #define LOG_TAG "GearBrowserTest" #if !defined(PACKAGE) #define PACKAGE "org.example.gearbrowsertest" #endif #endif /* __GearBrowserTest_H__ */
#if !defined(AFX_BARSERIES_H__E7AEB173_E826_4154_AD34_A8D277A44525__INCLUDED_) #define AFX_BARSERIES_H__E7AEB173_E826_4154_AD34_A8D277A44525__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the...
// // NWSXMLParser.h // Spaghetti // // Copyright (c) 2012 noodlewerk. All rights reserved. // #import <Foundation/Foundation.h> #import "NWSParser.h" /** * A parser based on libxml2. */ @interface NWSXMLParser : NWSParser @property (nonatomic, assign) BOOL isFoldArray; @property (nonatomic, assign) BOOL isFold...
/* Copyright (c) 2011-2013, Sergey Usilin. All rights reserved. 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 l...
/*------------------------------------------------------------------------- * * bootstrap.h * include file for the bootstrapping code * * * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/boo...
#pragma once //------------------------------------------------------------------------------ #include <iostream> #include "chai3d.h" //------------------------------------------------------------------------------ using namespace chai3d; using namespace std; class MyChevalet { public: // membre cMultiMesh* chevale...
/* Public domain */ #ifndef _AGAR_RG_PIXMAP_H_ #define _AGAR_RG_PIXMAP_H_ #include <agar/rg/begin.h> #define RG_PIXMAP_NAME_MAX 32 struct ag_window; struct ag_toolbar; struct rg_pixmap; struct rg_tileview; enum rg_pixmap_mod_type { RG_PIXMAP_PIXEL_REPLACE /* Single pixel replace */ }; typedef struct rg_pixmap_mo...
/** * @file mega/attrmap.h * @brief Class for manipulating file attributes * * (c) 2013-2014 by Mega Limited, Auckland, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in...
#import <Foundation/Foundation.h> #import <Cocoa/Cocoa.h> @interface MenuDelegate : NSObject @property BOOL advanced; @property NSMutableArray *advancedItems; @property NSMutableArray *advancedProcesses; @property BOOL toggleAnimation; @property NSImage *animate; @property NSImage *inanimate; @property NSImage *inde...
#include "framework.h" #include <memory> #include "avkit/av_packet.h" class jpeg_encoder_test : public test_fixture { public: TEST_SUITE(jpeg_encoder_test); TEST(jpeg_encoder_test::test_constructor); TEST(jpeg_encoder_test::test_encode); TEST_SUITE_END(); virtual ~jpeg_encoder_test() thro...
/************************************************************************************ Filename : MovieCategoryComponent.h Content : Menu component for the movie category menu. Created : August 13, 2014 Authors : Jim Dosé Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved....
/* * $Id$ * * Copyright (c) 2011 NLNet Labs. 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 list of ...