hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
588 values
lang
stringclasses
305 values
max_stars_repo_path
stringlengths
3
363
max_stars_repo_name
stringlengths
5
118
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringdate
2015-01-01 00:00:35
2022-03-31 23:43:49
max_stars_repo_stars_event_max_datetime
stringdate
2015-01-01 12:37:38
2022-03-31 23:59:52
max_issues_repo_path
stringlengths
3
363
max_issues_repo_name
stringlengths
5
118
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
363
max_forks_repo_name
stringlengths
5
135
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringdate
2015-01-01 00:01:02
2022-03-31 23:27:27
max_forks_repo_forks_event_max_datetime
stringdate
2015-01-03 08:55:07
2022-03-31 23:59:24
content
stringlengths
5
1.05M
avg_line_length
float64
1.13
1.04M
max_line_length
int64
1
1.05M
alphanum_fraction
float64
0
1
e46d1bdda8012982c9f19bdbf769ddf2ae6f876a
712
h
C
master/geometrize-master/geometrize-master/geometrize/exporter/webpageexporter.h
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/geometrize-master/geometrize-master/geometrize/exporter/webpageexporter.h
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/geometrize-master/geometrize-master/geometrize/exporter/webpageexporter.h
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
#pragma once #include <string> #include <vector> namespace geometrize { struct ShapeResult; } namespace geometrize { namespace exporter { /** * @brief exportCanvasWebpage Exports shape data to a HTML5 canvas-based webpage. * @param data The shape data to export. * @return A string containing the content of the canvas-based webpage. */ std::string exportCanvasWebpage(const std::vector<geometrize::ShapeResult>& data); /** * @brief exportWebGLWebpage Exports shape data to a WebGL-based webpage. * @param data The shape data to export. * @return A string containing the content of the WebGL-based webpage. */ std::string exportWebGLWebpage(const std::vector<geometrize::ShapeResult>& data); } }
20.941176
82
0.751404
e2da4fd905a61a045d354fa7793029e683ff7b5a
237
h
C
TZScrollViewPopGesture/Demo/TZCollectionViewController.h
whuxujiyuan/TZScrollViewPopGesture
50cc350be4ad065199c1ad1669927753ca625869
[ "MIT" ]
240
2016-10-05T03:44:31.000Z
2022-03-30T05:51:18.000Z
TZScrollViewPopGesture/Demo/TZCollectionViewController.h
pmd2818/TZScrollViewPopGesture
fecb8f13eb114f819b1b3239037a3ce18ce3c206
[ "MIT" ]
11
2016-10-09T07:59:21.000Z
2019-11-12T11:40:28.000Z
TZScrollViewPopGesture/Demo/TZCollectionViewController.h
pmd2818/TZScrollViewPopGesture
fecb8f13eb114f819b1b3239037a3ce18ce3c206
[ "MIT" ]
41
2016-10-08T09:39:11.000Z
2022-01-12T12:25:15.000Z
// // TZCollectionViewController.h // TZScrollViewPopGesture // // Created by 谭真 on 2016/10/5. // Copyright © 2016年 谭真. All rights reserved. // #import <UIKit/UIKit.h> @interface TZCollectionViewController : UIViewController @end
16.928571
56
0.729958
855cd39216f696c940aa1b721e4d3aff3064fb2b
308
h
C
ZLCollectionViewFlowLayout/ZLCollectionBaseDecorationView.h
czl0325/ZLCollectionView
563b7ad0d5c1153d46cbca32ff21f84c873c15f3
[ "MIT" ]
1,037
2017-06-23T07:36:29.000Z
2022-03-30T02:16:40.000Z
demo/ZLCollectionView/ZLCollectionFlowLayout/ZLCollectionBaseDecorationView.h
abyConnor/ZLCollectionView
5b7dfc8e6c43cfe511df97e6af84b239986a6414
[ "MIT" ]
50
2018-07-07T16:11:34.000Z
2021-12-24T01:39:56.000Z
demo/ZLCollectionView/ZLCollectionFlowLayout/ZLCollectionBaseDecorationView.h
abyConnor/ZLCollectionView
5b7dfc8e6c43cfe511df97e6af84b239986a6414
[ "MIT" ]
144
2017-07-07T05:38:31.000Z
2022-02-22T09:40:51.000Z
// // ZLCollectionBackView.h // ZLCollectionView // // Created by zhaoliang chen on 2020/4/17. // Copyright © 2020 zhaoliang chen. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ZLCollectionBaseDecorationView : UICollectionReusableView @end NS_ASSUME_NONNULL_END
17.111111
68
0.772727
1674f9d7a0efd13adc75a02785a34c3b8e6b5e10
2,821
h
C
Exception.h
kkheroishere/vip
9385719757a24609e7d520bfaa433693a1decf32
[ "MIT" ]
6
2020-08-26T08:56:16.000Z
2022-02-20T05:11:31.000Z
Exception.h
kkheroishere/vip
9385719757a24609e7d520bfaa433693a1decf32
[ "MIT" ]
null
null
null
Exception.h
kkheroishere/vip
9385719757a24609e7d520bfaa433693a1decf32
[ "MIT" ]
1
2022-02-20T05:09:47.000Z
2022-02-20T05:09:47.000Z
#ifndef EXCEPTION_H #define EXCEPTION_H #include <exception> #include <iostream> #include <errno.h> #include <string> using namespace std; //this is throwed by parser class ParseException : public std::exception { public: ParseException(const char *msg) : err_msg(msg){}; const char *what() const throw() { return this->err_msg.c_str(); }; private: std::string err_msg; }; //this is throwed by ast class SemanticError : public std::exception { public: SemanticError(std::string message) : err_msg_a(message){}; const char *what() const throw() { return this->err_msg_a.c_str(); }; private: std::string err_msg_a; }; //this is throwed by lexer class ReadingError : public std::exception { public: ReadingError(const char *message) : err_msg_c(message){}; const char *what() const throw() { return this->err_msg_c.c_str(); }; private: std::string err_msg_c; }; class InvalidDataTypeException : public std::exception { public: InvalidDataTypeException(std::string message) : err_msg_d(message){}; const char *what() const throw() { return this->err_msg_d.c_str(); }; private: std::string err_msg_d; }; class UnknownException : public std::exception { public: UnknownException(std::string message) : err_msg_d(message){}; const char *what() const throw() { return this->err_msg_d.c_str(); }; private: std::string err_msg_d; }; class InternalException : public std::exception { public: InternalException(const char *message) : err_msg_e(message){}; const char *what() const throw() { return this->err_msg_e.c_str(); }; private: std::string err_msg_e; }; class BuiltINMethodInvalidCallException : public std::exception { private: std::string err_msg; public: BuiltINMethodInvalidCallException(std::string message) : err_msg(message) {} const char *what() const throw() { return this->err_msg.c_str(); }; }; class InvalidArgumentCallException : public std::exception { private: std::string err_msg; public: InvalidArgumentCallException(std::string message) : err_msg(message) {} const char *what() const throw() { return this->err_msg.c_str(); }; }; class InvalidOperationTypeException : public std::exception { private: std::string err_msg; public: InvalidOperationTypeException(std::string message) : err_msg(message) {} const char *what() const throw() { return this->err_msg.c_str(); }; }; class MissingRequiredBasicBuiltInMethodsException : public std::exception { private: std::string err_msg; public: MissingRequiredBasicBuiltInMethodsException(std::string message) : err_msg(message) {} const char *what() const throw() { return this->err_msg.c_str(); }; }; #endif
24.745614
91
0.681319
c02ed988d3eb65790f312838c3b721a090aa2517
2,361
h
C
vtkm/exec/arg/FromIndices.h
cjy7117/VTK-m-FP16
3afaaaececf53f32db1afb8f069a5446271dfdf4
[ "BSD-3-Clause" ]
null
null
null
vtkm/exec/arg/FromIndices.h
cjy7117/VTK-m-FP16
3afaaaececf53f32db1afb8f069a5446271dfdf4
[ "BSD-3-Clause" ]
null
null
null
vtkm/exec/arg/FromIndices.h
cjy7117/VTK-m-FP16
3afaaaececf53f32db1afb8f069a5446271dfdf4
[ "BSD-3-Clause" ]
2
2020-07-06T06:32:00.000Z
2020-08-24T14:08:15.000Z
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the above copyright notice for more information. //============================================================================ #ifndef vtk_m_exec_arg_FromIndices_h #define vtk_m_exec_arg_FromIndices_h #include <vtkm/exec/arg/ExecutionSignatureTagBase.h> #include <vtkm/exec/arg/Fetch.h> #include <vtkm/exec/arg/ThreadIndicesTopologyMap.h> namespace vtkm { namespace exec { namespace arg { /// \brief Aspect tag to use for getting the from indices. /// /// The \c AspectTagFromIndices aspect tag causes the \c Fetch class to obtain /// the indices that map to the current topology element. /// struct AspectTagFromIndices { }; /// \brief The \c ExecutionSignature tag to get the indices of from elements. /// /// In a topology map, there are \em from and \em to topology elements /// specified. The scheduling occurs on the \em to elements, and for each \em /// to element there is some number of incident \em from elements that are /// accessible. This \c ExecutionSignature tag provides the indices of these /// \em from elements that are accessible. /// struct FromIndices : vtkm::exec::arg::ExecutionSignatureTagBase { static constexpr vtkm::IdComponent INDEX = 1; using AspectTag = vtkm::exec::arg::AspectTagFromIndices; }; template <typename FetchTag, typename ConnectivityType, typename ExecObjectType> struct Fetch<FetchTag, vtkm::exec::arg::AspectTagFromIndices, vtkm::exec::arg::ThreadIndicesTopologyMap<ConnectivityType>, ExecObjectType> { using ThreadIndicesType = vtkm::exec::arg::ThreadIndicesTopologyMap<ConnectivityType>; using ValueType = typename ThreadIndicesType::IndicesFromType; VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC ValueType Load(const ThreadIndicesType& indices, const ExecObjectType&) const { return indices.GetIndicesFrom(); } VTKM_EXEC void Store(const ThreadIndicesType&, const ExecObjectType&, const ValueType&) const { // Store is a no-op. } }; } } } // namespace vtkm::exec::arg #endif //vtk_m_exec_arg_FromIndices_h
31.48
88
0.698009
4bc100b65f681d498ec7da652c5537e8386ad70a
23,607
h
C
SimTKcommon/include/SimTKcommon/internal/CloneOnWritePtr.h
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
1,916
2015-01-01T09:35:21.000Z
2022-03-30T11:38:43.000Z
SimTKcommon/include/SimTKcommon/internal/CloneOnWritePtr.h
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
389
2015-01-01T01:13:51.000Z
2022-03-16T15:30:58.000Z
SimTKcommon/include/SimTKcommon/internal/CloneOnWritePtr.h
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
486
2015-01-02T10:25:49.000Z
2022-03-16T15:31:40.000Z
#ifndef SimTK_SimTKCOMMON_CLONE_ON_WRITE_PTR_H_ #define SimTK_SimTKCOMMON_CLONE_ON_WRITE_PTR_H_ /* -------------------------------------------------------------------------- * * Simbody(tm): SimTKcommon * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * * Simbios, the NIH National Center for Physics-Based Simulation of * * Biological Structures at Stanford, funded under the NIH Roadmap for * * Medical Research, grant U54 GM072970. See https://simtk.org/home/simbody. * * * * Portions copyright (c) 2015 Stanford University and the Authors. * * Authors: Michael Sherman * * Contributors: * * * * 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, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * * limitations under the License. * * -------------------------------------------------------------------------- */ #include "SimTKcommon/internal/common.h" #include <memory> #include <iosfwd> #include <cassert> namespace SimTK { //============================================================================== // CLONE ON WRITE PTR //============================================================================== /** Smart pointer with deep copy semantics but with the copying delayed until an attempt is made to write on the contained object. This is like `std::shared_ptr` when an object is being read, but like SimTK::ClonePtr when the object is written. Like SimTK::ClonePtr, %CloneOnWritePtr supports copy and assignment operations, by insisting that the contained object have a `clone()` method that returns a pointer to a heap-allocated deep copy of the *concrete* object. The API is modeled as closely as possible to the C++11 `std::shared_ptr` and `std::unique_ptr`. However, it always uses a default deleter. Also, the get() method is modified to return a const pointer to avoid accidental copying, with upd() (update) added to return a writable pointer. This class is entirely inline and has no computational or space overhead beyond the cost of dealing with the reference count, except when a copy has to be made due to a write attempt. @tparam T The type of the contained object, which *must* have a `clone()` method. May be an abstract or concrete type. @see ClonePtr, ReferencePtr **/ template <class T> class CloneOnWritePtr { public: typedef T element_type; ///< Type of the contained object. typedef T* pointer; ///< Type of a pointer to the contained object. typedef T& reference; ///< Type of a reference to the contained object. /** @name Constructors **/ /**@{**/ /** Default constructor stores a `nullptr` and sets use count to zero. No heap allocation is performed. The empty() method will return true when called on a default-constructed %CloneOnWritePtr. **/ CloneOnWritePtr() noexcept {init();} /** Constructor from `nullptr` is the same as the default constructor. This is an implicit conversion that allows `nullptr` to be used to initialize a %CloneOnWritePtr. **/ CloneOnWritePtr(std::nullptr_t) noexcept : CloneOnWritePtr() {} /** Given a pointer to a writable heap-allocated object, take over ownership of that object. The use count will be one unless the pointer was null in which case it will be zero. **/ explicit CloneOnWritePtr(T* x) : CloneOnWritePtr() { if (x) {p=x; count=new long(1);} } /** Given a pointer to a read-only object, create a new heap-allocated copy of that object via its `clone()` method and make this %CloneOnWritePtr the owner of the copy. Ownership of the original object is not affected. If the supplied pointer is null, the resulting %CloneOnWritePtr is as though default constructed, otherwise the use count will be one. **/ explicit CloneOnWritePtr(const T* x) : CloneOnWritePtr(cloneOrNull(x)) {} /** Given a read-only reference to an object, create a new heap-allocated copy of that object via its `clone()` method and make this %CloneOnWritePtr object the owner of the copy. Ownership of the original object is not affected. The use count will be one after construction. **/ explicit CloneOnWritePtr(const T& x) : CloneOnWritePtr(&x) {} /** Copy constructor is deep but deferred so very fast here; the new %CloneOnWritePtr object initially shares the source object, but if either source or destination are written to subsequently a deep copy is made and the objects become disconnected. If the source container is empty this one will be as though default constructed. **/ CloneOnWritePtr(const CloneOnWritePtr& src) noexcept : CloneOnWritePtr() { shareWith(src); } /** Copy construction from a compatible %CloneOnWritePtr. Type `U*` must be implicitly convertible to type `T*`. **/ template <class U> CloneOnWritePtr(const CloneOnWritePtr<U>& src) noexcept : CloneOnWritePtr() { shareWith<U>(src); } /** Move constructor is very fast and leaves the source empty. The use count is unchanged. If the source was empty this one will be as though default constructed. **/ CloneOnWritePtr(CloneOnWritePtr&& src) noexcept : CloneOnWritePtr() { moveFrom(std::move(src)); } /** Move construction from a compatible %CloneOnWritePtr. Type `U*` must be implicitly convertible to type `T*`. **/ template <class U> CloneOnWritePtr(CloneOnWritePtr<U>&& src) noexcept : CloneOnWritePtr() { moveFrom<U>(std::move(src)); } /**@}**/ /** @name Assignment **/ /**@{**/ /** Copy assignment replaces the currently-held object by a deferred copy of the object held in the source container. The copy will be created upon a subsequent write using the source object's `clone()` method. If the source container is empty this one will be empty after the assignment. Nothing happens if the source and destination were already managing the same object. **/ CloneOnWritePtr& operator=(const CloneOnWritePtr& src) noexcept { if (src.p != p) { reset(); shareWith(src); } return *this; } /** Copy assignment from a compatible %CloneOnWritePtr. Type `U*` must be implicitly convertible to type `T*`. **/ template <class U> CloneOnWritePtr& operator=(const CloneOnWritePtr<U>& src) noexcept { if (static_cast<T*>(src.p) != p) { reset(); shareWith<U>(src); } return *this; } /** Move assignment replaces the currently-held object by the source object, leaving the source empty. The currently-held object's use count will be reduced by one and deleted if this was the last use. Nothing happens if the source and destination are the same containers. If they are different but are sharing the same object then the use count is reduced by one. **/ CloneOnWritePtr& operator=(CloneOnWritePtr&& src) noexcept { if (&src != this) { reset(); moveFrom(std::move(src)); } return *this; } /** Move assignment from a compatible %CloneOnWritePtr. Type U* must be implicitly convertible to type T*. **/ template <class U> CloneOnWritePtr& operator=(CloneOnWritePtr<U>&& src) noexcept { // Can't be the same container since the type is different. reset(); moveFrom<U>(std::move(src)); return *this; } /** This form of assignment replaces the currently-held object by a heap-allocated copy of the source object, created using its `clone()` method. The use count of the currently-held object (if any) is decremented and the object is deleted if this was the last reference to it. On return the use count of this container will be one. **/ CloneOnWritePtr& operator=(const T& x) { reset(cloneOrNull(&x)); return *this; } /** This form of assignment replaces the currently-held object by the given source object and takes over ownership of the source object. The use count of the currently-held object is decremented and the object is deleted if this was the last reference to it. **/ CloneOnWritePtr& operator=(T* x) noexcept { reset(x); return *this; } /**@}**/ /** @name Destructor **/ /**@{**/ /** Destructor decrements the reference count and deletes the object if the count goes to zero. @see reset() **/ ~CloneOnWritePtr() noexcept {reset();} /**@}**/ /** @name Accessors **/ /**@{**/ /** Return a const pointer to the contained object if any, or `nullptr`. No cloning is needed so this is very fast. Note that this is different than `%get()` for the standard smart pointers which return a writable pointer. Use upd() here for that purpose. @see upd(), getRef() **/ const T* get() const noexcept {return p;} /** Clone if necessary to ensure the contained object is not shared, then return a writable pointer to the contained (and now unshared) object if any, or `nullptr`. If you only need read access, use get() instead to avoid the potentially expensive cloning. Note that you need write access to this container in order to get write access to the object it contains. @see get(), updRef(), detach() **/ T* upd() {detach(); return p;} /** Return a const reference to the contained object. No cloning is needed so this is very fast. Don't call this if this container is empty. @see get() **/ const T& getRef() const { SimTK_ERRCHK(!empty(), "CloneOnWritePtr::getRef()", "An attempt was made to dereference a null pointer."); return *get(); } /** Clone if necessary to ensure the contained object is not shared, then return a writable reference to the contained (and now unshared) object. Don't call this if this container is empty. @see upd() **/ T& updRef() { SimTK_ERRCHK(!empty(), "CloneOnWritePtr::updRef()", "An attempt was made to dereference a null pointer."); return *upd(); } /** Dereference a const pointer to the contained object. This will fail if the container is empty. @warning This `const` operator will only be invoked if it is applied to a `const` container; otherwise the non-const method will be called and an unwanted copy may be performed. Use getRef() instead if you have a writable container but don't need write access to the contained object. **/ const T* operator->() const { return &getRef(); } /** Clone if necessary, then dereference a writable pointer to the contained object. This will fail if the container is empty. **/ T* operator->() { return &updRef(); } /** This "dereference" operator returns a const reference to the contained object. This will fail if the container is empty. @warning This `const` method will only be invoked if it is applied to a `const` container; otherwise the non-const method will be called and an unwanted copy may be performed. Use getRef() instead if you have a writable container but don't need write access to the contained object. **/ const T& operator*() const {return getRef();} /** Clone if necessary, then return a writable reference to the contained object. This will fail if the container is empty. **/ T& operator*() {return updRef();} /**@}**/ /** @name Utility Methods **/ /**@{**/ /** Make this container empty, decrementing the use count of the contained object (if any), and deleting it if this was the last use. The container is restored to its default-constructed state. @see empty() **/ void reset() noexcept { if (empty()) return; if (decr()==0) {delete p; delete count;} init(); } /** Replace the contents of this container with the supplied heap-allocated object, taking over ownership of that object and deleting the current one first if necessary. Nothing happens if the supplied pointer is the same as the one already being managed. Otherwise, on return the use count will be one if the supplied pointer was non-null or else zero. **/ void reset(T* x) { // could throw when allocating count if (x != p) { reset(); if (x) {p=x; count=new long(1);} } } /** Swap the contents of this %CloneOnWritePtr with another one, with ownership changing hands but no copying performed. This is very fast; no heap activity occurs. Both containers must have been instantiated with the identical type. **/ void swap(CloneOnWritePtr& other) noexcept { std::swap(p, other.p); std::swap(count, other.count); } /** Return count of how many %CloneOnWritePtr objects are currently sharing the referenced object. There is never more than one holding an object for writing. If the pointer is null the use count is zero. **/ long use_count() const noexcept {return count ? *count : 0;} /** Is this the only user of the referenced object? Note that this means there is exactly one; if the managed pointer is null `unique()` returns `false`. **/ bool unique() const noexcept {return use_count()==1;} /** Return true if this container is empty, which is the state the container is in immediately after default construction and various other operations. **/ bool empty() const noexcept {return !p;} // count should be null also /** This is a conversion to type bool that returns true if the container is non-null (that is, not empty). **/ explicit operator bool() const noexcept {return !empty();} /** (Advanced) Remove the contained object from management by this container and transfer ownership to the caller. Clone if necessary to ensure that the contained object is not being shared with any other container, then extract the object from this container, leaving the container empty. A writable pointer to the object is returned. No object destruction occurs. @see detach() **/ T* release() { // could throw during detach() detach(); // now use count is 1 or 0 T* save = p; delete count; init(); return save; } /** (Advanced) %Force the contained object to be unique, that is, not shared with any other container. (Normally this is done automatically when necessary; this method is like useful mostly for debugging.) If the referenced object is being shared (that is, use_count()>1), clone it and replace the pointer with the newly cloned object. This %CloneOnWritePtr will have a use count of zero or one after this call; other sharers of the object will see the shared use count reduced by one. If this is empty() or unique() already then nothing happens. Note that you have to have write access to this container in order to detach it. **/ void detach() { // can throw during clone() if (use_count() > 1) { decr(); p=p->clone(); count=new long(1); } } /**@}**/ private: template <class U> friend class CloneOnWritePtr; // If src is non-null, clone it; otherwise return null. static T* cloneOrNull(const T* src) { return src ? src->clone() : nullptr; } // Set an empty pointer to share with the given object. Type U* must be // implicitly convertible to type T*. template <class U> void shareWith(const CloneOnWritePtr<U>& src) noexcept { assert(!(p||count)); if (!src.empty()) {p=src.p; count=src.count; incr();} } // Steal the object and count from the source to initialize this *empty* // pointer, leaving the source empty. template <class U> void moveFrom(CloneOnWritePtr<U>&& src) noexcept { assert(!(p||count)); p=src.p; count=src.count; src.init(); } // Increment/decrement use count and return the result. long incr() const noexcept {assert(count && *count>=0); return ++(*count);} long decr() const noexcept {assert(count && *count>=1); return --(*count);} void init() noexcept {p=nullptr; count=nullptr;} // Can't use std::shared_ptr here due to lack of release() method. T* p; // this may be null long* count; // if p is null so is count }; //============================================================================== // SimTK namespace-scope functions //============================================================================== // These namespace-scope functions will be resolved by the compiler using // "Koenig lookup" which examines the arguments' namespaces first. // See Herb Sutter's discussion here: http://www.gotw.ca/publications/mill08.htm. /** This is an overload of the STL std::swap() algorithm which uses the cheap built-in swap() member of the CloneOnWritePtr class. (This function is defined in the `SimTK` namespace.) @relates CloneOnWritePtr **/ template <class T> inline void swap(CloneOnWritePtr<T>& p1, CloneOnWritePtr<T>& p2) { p1.swap(p2); } /** Output the system-dependent representation of the pointer contained in a CloneOnWritePtr object. This is equivalent to `os << p.get();`. @relates CloneOnWritePtr **/ template <class charT, class traits, class T> inline std::basic_ostream<charT,traits>& operator<<(std::basic_ostream<charT,traits>& os, const CloneOnWritePtr<T>& p) { os << p.get(); return os; } /** Compare for equality the managed pointers contained in two compatible CloneOnWritePtr containers. Returns `true` if the pointers refer to the same object or if both are null. It must be possible for one of the pointer types `T*` and `U*` to be implicitly converted to the other. @relates CloneOnWritePtr **/ template <class T, class U> inline bool operator==(const CloneOnWritePtr<T>& lhs, const CloneOnWritePtr<U>& rhs) { return lhs.get() == rhs.get(); } /** Comparison against `nullptr`; same as `lhs.empty()`. @relates CloneOnWritePtr **/ template <class T> inline bool operator==(const CloneOnWritePtr<T>& lhs, std::nullptr_t) { return lhs.empty(); } /** Comparison against `nullptr`; same as `rhs.empty()`. @relates CloneOnWritePtr **/ template <class T> inline bool operator==(std::nullptr_t, const CloneOnWritePtr<T>& rhs) { return rhs.empty(); } /** Less-than operator for two compatible CloneOnWritePtr containers, comparing the *pointers*, not the *objects* they point to. Returns `true` if the lhs pointer tests less than the rhs pointer. A null pointer tests less than any non-null pointer. It must be possible for one of the pointer types `T*` and `U*` to be implicitly converted to the other. @relates CloneOnWritePtr **/ template <class T, class U> inline bool operator<(const CloneOnWritePtr<T>& lhs, const CloneOnWritePtr<U>& rhs) { return lhs.get() < rhs.get(); } /** Less-than comparison against a `nullptr`. A null pointer tests less than any non-null pointer and equal to another null pointer, so this method always returns `false`. @relates CloneOnWritePtr **/ template <class T> inline bool operator<(const CloneOnWritePtr<T>& lhs, std::nullptr_t) { return false; } /** Less-than comparison of a `nullptr` against this container. A null pointer tests less than any non-null pointer and equal to another null pointer, so this method returns `true` unless the container is empty. @relates CloneOnWritePtr **/ template <class T> inline bool operator<(std::nullptr_t, const CloneOnWritePtr<T>& rhs) { return !rhs.empty(); } // These functions are derived from operator== and operator<. /** Pointer inequality test defined as `!(lhs==rhs)`. @relates CloneOnWritePtr **/ template <class T, class U> inline bool operator!=(const CloneOnWritePtr<T>& lhs, const CloneOnWritePtr<U>& rhs) { return !(lhs==rhs); } /** `nullptr` inequality test defined as `!(lhs==nullptr)`. @relates CloneOnWritePtr **/ template <class T> inline bool operator!=(const CloneOnWritePtr<T>& lhs, std::nullptr_t) { return !(lhs==nullptr); } /** `nullptr` inequality test defined as `!(nullptr==rhs)`. @relates CloneOnWritePtr **/ template <class T> inline bool operator!=(std::nullptr_t, const CloneOnWritePtr<T>& rhs) { return !(nullptr==rhs); } /** Pointer greater-than test defined as `rhs < lhs`. @relates CloneOnWritePtr **/ template <class T, class U> inline bool operator>(const CloneOnWritePtr<T>& lhs, const CloneOnWritePtr<U>& rhs) { return rhs < lhs; } /** `nullptr` greater-than test defined as `nullptr < lhs`. @relates CloneOnWritePtr **/ template <class T> inline bool operator>(const CloneOnWritePtr<T>& lhs, std::nullptr_t) { return nullptr < lhs; } /** `nullptr` greater-than test defined as `rhs < nullptr`. @relates CloneOnWritePtr **/ template <class T> inline bool operator>(std::nullptr_t, const CloneOnWritePtr<T>& rhs) { return rhs < nullptr; } /** Pointer greater-or-equal test defined as `!(lhs < rhs)`. @relates CloneOnWritePtr **/ template <class T, class U> inline bool operator>=(const CloneOnWritePtr<T>& lhs, const CloneOnWritePtr<U>& rhs) { return !(lhs < rhs); } /** `nullptr` greater-or-equal test defined as `!(lhs < nullptr)`. @relates CloneOnWritePtr **/ template <class T> inline bool operator>=(const CloneOnWritePtr<T>& lhs, std::nullptr_t) { return !(lhs < nullptr); } /** `nullptr` greater-or-equal test defined as `!(nullptr < rhs)`. @relates CloneOnWritePtr **/ template <class T> inline bool operator>=(std::nullptr_t, const CloneOnWritePtr<T>& rhs) { return !(nullptr < rhs); } /** Pointer less-or-equal test defined as `!(rhs < lhs)` (note reversed arguments). @relates CloneOnWritePtr **/ template <class T, class U> inline bool operator<=(const CloneOnWritePtr<T>& lhs, const CloneOnWritePtr<U>& rhs) { return !(rhs < lhs); } /** `nullptr` less-or-equal test defined as `!(nullptr < lhs)` (note reversed arguments). @relates CloneOnWritePtr **/ template <class T> inline bool operator<=(const CloneOnWritePtr<T>& lhs, std::nullptr_t) { return !(nullptr < lhs); } /** `nullptr` less-or-equal test defined as `!(rhs < nullptr)` (note reversed arguments). @relates CloneOnWritePtr **/ template <class T> inline bool operator<=(std::nullptr_t, const CloneOnWritePtr<T>& rhs) { return !(rhs < nullptr); } } // namespace SimTK #endif // SimTK_SimTKCOMMON_CLONE_ON_WRITE_PTR_H_
45.051527
81
0.649892
d4ba84168b218b4e41250bf00f0eaf766cbb7c86
760
h
C
base/mygui/MyGUI_Ogre2GuiRenderable.h
hachmeister/ogre3d-examples
a25627e584beedcb326fdc101ad2eb0205d6a8d2
[ "MIT" ]
null
null
null
base/mygui/MyGUI_Ogre2GuiRenderable.h
hachmeister/ogre3d-examples
a25627e584beedcb326fdc101ad2eb0205d6a8d2
[ "MIT" ]
null
null
null
base/mygui/MyGUI_Ogre2GuiRenderable.h
hachmeister/ogre3d-examples
a25627e584beedcb326fdc101ad2eb0205d6a8d2
[ "MIT" ]
null
null
null
#ifndef MYGUI_OGRE2_GUI_RENDERABLE_H_ #define MYGUI_OGRE2_GUI_RENDERABLE_H_ #include <OgrePrerequisites.h> #include <OgreRenderOperation.h> #include <OgreRenderable.h> #include "OgreCommon.h" namespace MyGUI { class Ogre2GuiRenderable : public Ogre::Renderable { public: Ogre2GuiRenderable(); virtual ~Ogre2GuiRenderable(); virtual void setRenderOperation( const Ogre::v1::RenderOperation& op ); virtual void getRenderOperation( Ogre::v1::RenderOperation& op, bool casterPass ); virtual void getWorldTransforms( Ogre::Matrix4* xform ) const; virtual const Ogre::LightList& getLights( void ) const; private: Ogre::v1::RenderOperation mRenderOperation; mutable Ogre::Matrix4 mTransform; }; } #endif // MYGUI_OGRE2_GUI_RENDERABLE_H_
24.516129
84
0.776316
e8fe71c7fef41999390c6a9da33692734714c87f
17,793
h
C
ext/msgpack/packer.h
oneiros/msgpack-ruby
b69e6d6965ef46890885ddf73f02b820f3185d80
[ "Apache-2.0" ]
null
null
null
ext/msgpack/packer.h
oneiros/msgpack-ruby
b69e6d6965ef46890885ddf73f02b820f3185d80
[ "Apache-2.0" ]
27
2022-02-15T15:58:05.000Z
2022-03-31T23:43:31.000Z
ext/msgpack/packer.h
oneiros/msgpack-ruby
b69e6d6965ef46890885ddf73f02b820f3185d80
[ "Apache-2.0" ]
6
2022-02-22T14:44:38.000Z
2022-03-08T21:41:58.000Z
/* * MessagePack for Ruby * * Copyright (C) 2008-2013 Sadayuki Furuhashi * * 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, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef MSGPACK_RUBY_PACKER_H__ #define MSGPACK_RUBY_PACKER_H__ #include "buffer.h" #include "packer_ext_registry.h" #ifndef MSGPACK_PACKER_IO_FLUSH_THRESHOLD_TO_WRITE_STRING_BODY #define MSGPACK_PACKER_IO_FLUSH_THRESHOLD_TO_WRITE_STRING_BODY (1024) #endif struct msgpack_packer_t; typedef struct msgpack_packer_t msgpack_packer_t; struct msgpack_packer_t { msgpack_buffer_t buffer; bool compatibility_mode; bool has_bigint_ext_type; bool has_symbol_ext_type; ID to_msgpack_method; VALUE to_msgpack_arg; VALUE buffer_ref; /* options */ bool comaptibility_mode; msgpack_packer_ext_registry_t ext_registry; }; #define PACKER_BUFFER_(pk) (&(pk)->buffer) void msgpack_packer_static_init(); void msgpack_packer_static_destroy(); void msgpack_packer_init(msgpack_packer_t* pk); void msgpack_packer_destroy(msgpack_packer_t* pk); void msgpack_packer_mark(msgpack_packer_t* pk); bool msgpack_packer_try_write_with_ext_type_lookup(msgpack_packer_t* pk, VALUE v); static inline void msgpack_packer_set_to_msgpack_method(msgpack_packer_t* pk, ID to_msgpack_method, VALUE to_msgpack_arg) { pk->to_msgpack_method = to_msgpack_method; pk->to_msgpack_arg = to_msgpack_arg; } void msgpack_packer_reset(msgpack_packer_t* pk); static inline void msgpack_packer_set_compat(msgpack_packer_t* pk, bool enable) { pk->compatibility_mode = enable; } static inline void msgpack_packer_write_nil(msgpack_packer_t* pk) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 1); msgpack_buffer_write_1(PACKER_BUFFER_(pk), 0xc0); } static inline void msgpack_packer_write_true(msgpack_packer_t* pk) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 1); msgpack_buffer_write_1(PACKER_BUFFER_(pk), 0xc3); } static inline void msgpack_packer_write_false(msgpack_packer_t* pk) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 1); msgpack_buffer_write_1(PACKER_BUFFER_(pk), 0xc2); } static inline void _msgpack_packer_write_fixint(msgpack_packer_t* pk, int8_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 1); msgpack_buffer_write_1(PACKER_BUFFER_(pk), v); } static inline void _msgpack_packer_write_uint8(msgpack_packer_t* pk, uint8_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xcc, v); } static inline void _msgpack_packer_write_uint16(msgpack_packer_t* pk, uint16_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 3); uint16_t be = _msgpack_be16(v); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xcd, (const void*)&be, 2); } static inline void _msgpack_packer_write_uint32(msgpack_packer_t* pk, uint32_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 5); uint32_t be = _msgpack_be32(v); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xce, (const void*)&be, 4); } static inline void _msgpack_packer_write_uint64(msgpack_packer_t* pk, uint64_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 9); uint64_t be = _msgpack_be64(v); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xcf, (const void*)&be, 8); } static inline void _msgpack_packer_write_int8(msgpack_packer_t* pk, int8_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xd0, v); } static inline void _msgpack_packer_write_int16(msgpack_packer_t* pk, int16_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 3); uint16_t be = _msgpack_be16(v); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xd1, (const void*)&be, 2); } static inline void _msgpack_packer_write_int32(msgpack_packer_t* pk, int32_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 5); uint32_t be = _msgpack_be32(v); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xd2, (const void*)&be, 4); } static inline void _msgpack_packer_write_int64(msgpack_packer_t* pk, int64_t v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 9); uint64_t be = _msgpack_be64(v); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xd3, (const void*)&be, 8); } static inline void _msgpack_packer_write_long32(msgpack_packer_t* pk, long v) { if(v < -0x20L) { if(v < -0x8000L) { _msgpack_packer_write_int32(pk, (int32_t) v); } else if(v < -0x80L) { _msgpack_packer_write_int16(pk, (int16_t) v); } else { _msgpack_packer_write_int8(pk, (int8_t) v); } } else if(v <= 0x7fL) { _msgpack_packer_write_fixint(pk, (int8_t) v); } else { if(v <= 0xffL) { _msgpack_packer_write_uint8(pk, (uint8_t) v); } else if(v <= 0xffffL) { _msgpack_packer_write_uint16(pk, (uint16_t) v); } else { _msgpack_packer_write_uint32(pk, (uint32_t) v); } } } static inline void _msgpack_packer_write_long_long64(msgpack_packer_t* pk, long long v) { if(v < -0x20LL) { if(v < -0x8000LL) { if(v < -0x80000000LL) { _msgpack_packer_write_int64(pk, (int64_t) v); } else { _msgpack_packer_write_int32(pk, (int32_t) v); } } else { if(v < -0x80LL) { _msgpack_packer_write_int16(pk, (int16_t) v); } else { _msgpack_packer_write_int8(pk, (int8_t) v); } } } else if(v <= 0x7fLL) { _msgpack_packer_write_fixint(pk, (int8_t) v); } else { if(v <= 0xffffLL) { if(v <= 0xffLL) { _msgpack_packer_write_uint8(pk, (uint8_t) v); } else { _msgpack_packer_write_uint16(pk, (uint16_t) v); } } else { if(v <= 0xffffffffLL) { _msgpack_packer_write_uint32(pk, (uint32_t) v); } else { _msgpack_packer_write_uint64(pk, (uint64_t) v); } } } } static inline void msgpack_packer_write_long(msgpack_packer_t* pk, long v) { #if defined(SIZEOF_LONG) # if SIZEOF_LONG <= 4 _msgpack_packer_write_long32(pk, v); # else _msgpack_packer_write_long_long64(pk, v); # endif #elif defined(LONG_MAX) # if LONG_MAX <= 0x7fffffffL _msgpack_packer_write_long32(pk, v); # else _msgpack_packer_write_long_long64(pk, v); # endif #else if(sizeof(long) <= 4) { _msgpack_packer_write_long32(pk, v); } else { _msgpack_packer_write_long_long64(pk, v); } #endif } static inline void msgpack_packer_write_long_long(msgpack_packer_t* pk, long long v) { /* assuming sizeof(long long) == 8 */ _msgpack_packer_write_long_long64(pk, v); } static inline void msgpack_packer_write_u64(msgpack_packer_t* pk, uint64_t v) { if(v <= 0xffULL) { if(v <= 0x7fULL) { _msgpack_packer_write_fixint(pk, (int8_t) v); } else { _msgpack_packer_write_uint8(pk, (uint8_t) v); } } else { if(v <= 0xffffULL) { _msgpack_packer_write_uint16(pk, (uint16_t) v); } else if(v <= 0xffffffffULL) { _msgpack_packer_write_uint32(pk, (uint32_t) v); } else { _msgpack_packer_write_uint64(pk, (uint64_t) v); } } } static inline void msgpack_packer_write_float(msgpack_packer_t* pk, float v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 5); union { float f; uint32_t u32; char mem[4]; } castbuf = { v }; castbuf.u32 = _msgpack_be_float(castbuf.u32); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xca, castbuf.mem, 4); } static inline void msgpack_packer_write_double(msgpack_packer_t* pk, double v) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 9); union { double d; uint64_t u64; char mem[8]; } castbuf = { v }; castbuf.u64 = _msgpack_be_double(castbuf.u64); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xcb, castbuf.mem, 8); } static inline void msgpack_packer_write_raw_header(msgpack_packer_t* pk, unsigned int n) { if(n < 32) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 1); unsigned char h = 0xa0 | (uint8_t) n; msgpack_buffer_write_1(PACKER_BUFFER_(pk), h); } else if(n < 256 && !pk->compatibility_mode) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); unsigned char be = (uint8_t) n; msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xd9, (const void*)&be, 1); } else if(n < 65536) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 3); uint16_t be = _msgpack_be16(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xda, (const void*)&be, 2); } else { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 5); uint32_t be = _msgpack_be32(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xdb, (const void*)&be, 4); } } static inline void msgpack_packer_write_bin_header(msgpack_packer_t* pk, unsigned int n) { if(n < 256) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); unsigned char be = (uint8_t) n; msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xc4, (const void*)&be, 1); } else if(n < 65536) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 3); uint16_t be = _msgpack_be16(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xc5, (const void*)&be, 2); } else { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 5); uint32_t be = _msgpack_be32(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xc6, (const void*)&be, 4); } } static inline void msgpack_packer_write_array_header(msgpack_packer_t* pk, unsigned int n) { if(n < 16) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 1); unsigned char h = 0x90 | (uint8_t) n; msgpack_buffer_write_1(PACKER_BUFFER_(pk), h); } else if(n < 65536) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 3); uint16_t be = _msgpack_be16(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xdc, (const void*)&be, 2); } else { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 5); uint32_t be = _msgpack_be32(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xdd, (const void*)&be, 4); } } static inline void msgpack_packer_write_map_header(msgpack_packer_t* pk, unsigned int n) { if(n < 16) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 1); unsigned char h = 0x80 | (uint8_t) n; msgpack_buffer_write_1(PACKER_BUFFER_(pk), h); } else if(n < 65536) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 3); uint16_t be = _msgpack_be16(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xde, (const void*)&be, 2); } else { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 5); uint32_t be = _msgpack_be32(n); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xdf, (const void*)&be, 4); } } static inline void msgpack_packer_write_ext(msgpack_packer_t* pk, int ext_type, VALUE payload) { unsigned long len = RSTRING_LEN(payload); switch (len) { case 1: msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xd4, ext_type); break; case 2: msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xd5, ext_type); break; case 4: msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xd6, ext_type); break; case 8: msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xd7, ext_type); break; case 16: msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 2); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xd8, ext_type); break; default: if(len < 256) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 3); msgpack_buffer_write_2(PACKER_BUFFER_(pk), 0xc7, len); msgpack_buffer_write_1(PACKER_BUFFER_(pk), ext_type); } else if(len < 65536) { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 4); uint16_t be = _msgpack_be16(len); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xc8, (const void*)&be, 2); msgpack_buffer_write_1(PACKER_BUFFER_(pk), ext_type); } else { msgpack_buffer_ensure_writable(PACKER_BUFFER_(pk), 6); uint32_t be = _msgpack_be32(len); msgpack_buffer_write_byte_and_data(PACKER_BUFFER_(pk), 0xc9, (const void*)&be, 4); msgpack_buffer_write_1(PACKER_BUFFER_(pk), ext_type); } } msgpack_buffer_append_string(PACKER_BUFFER_(pk), payload); } static inline bool msgpack_packer_is_binary(VALUE v, int encindex) { return encindex == msgpack_rb_encindex_ascii8bit; } static inline bool msgpack_packer_is_utf8_compat_string(VALUE v, int encindex) { return encindex == msgpack_rb_encindex_utf8 || encindex == msgpack_rb_encindex_usascii #ifdef ENC_CODERANGE_ASCIIONLY /* Because ENC_CODERANGE_ASCIIONLY does not scan string, it may return ENC_CODERANGE_UNKNOWN unlike */ /* rb_enc_str_asciionly_p. It is always faster than rb_str_encode if it is available. */ /* Very old Rubinius (< v1.3.1) doesn't have ENC_CODERANGE_ASCIIONLY. */ || (rb_enc_asciicompat(rb_enc_from_index(encindex)) && ENC_CODERANGE_ASCIIONLY(v)) #endif ; } static inline void msgpack_packer_write_string_value(msgpack_packer_t* pk, VALUE v) { /* actual return type of RSTRING_LEN is long */ unsigned long len = RSTRING_LEN(v); if(len > 0xffffffffUL) { // TODO rb_eArgError? rb_raise(rb_eArgError, "size of string is too long to pack: %lu bytes should be <= %lu", len, 0xffffffffUL); } int encindex = ENCODING_GET(v); if(msgpack_packer_is_binary(v, encindex) && !pk->compatibility_mode) { /* write ASCII-8BIT string using Binary type */ msgpack_packer_write_bin_header(pk, (unsigned int)len); msgpack_buffer_append_string(PACKER_BUFFER_(pk), v); } else { /* write UTF-8, US-ASCII, or 7bit-safe ascii-compatible string using String type directly */ /* in compatibility mode, packer packs String values as is */ if(!pk->compatibility_mode && !msgpack_packer_is_utf8_compat_string(v, encindex)) { /* transcode other strings to UTF-8 and write using String type */ VALUE enc = rb_enc_from_encoding(rb_utf8_encoding()); /* rb_enc_from_encoding_index is not extern */ v = rb_str_encode(v, enc, 0, Qnil); len = RSTRING_LEN(v); } msgpack_packer_write_raw_header(pk, (unsigned int)len); msgpack_buffer_append_string(PACKER_BUFFER_(pk), v); } } static inline void msgpack_packer_write_symbol_string_value(msgpack_packer_t* pk, VALUE v) { msgpack_packer_write_string_value(pk, rb_sym2str(v)); } void msgpack_packer_write_other_value(msgpack_packer_t* pk, VALUE v); static inline void msgpack_packer_write_symbol_value(msgpack_packer_t* pk, VALUE v) { if (pk->has_symbol_ext_type) { msgpack_packer_write_other_value(pk, v); } else { msgpack_packer_write_symbol_string_value(pk, v); } } static inline void msgpack_packer_write_fixnum_value(msgpack_packer_t* pk, VALUE v) { #ifdef JRUBY msgpack_packer_write_long(pk, FIXNUM_P(v) ? FIX2LONG(v) : rb_num2ll(v)); #else msgpack_packer_write_long(pk, FIX2LONG(v)); #endif } static inline void msgpack_packer_write_bignum_value(msgpack_packer_t* pk, VALUE v) { int leading_zero_bits; size_t required_size = rb_absint_size(v, &leading_zero_bits); if(RBIGNUM_POSITIVE_P(v)) { if(required_size > 8 && pk->has_bigint_ext_type) { if(msgpack_packer_try_write_with_ext_type_lookup(pk, v)) { return; } // if we didn't return here `msgpack_packer_write_u64` will raise a RangeError } msgpack_packer_write_u64(pk, rb_big2ull(v)); } else { if(leading_zero_bits == 0) { required_size += 1; } if(required_size > 8 && pk->has_bigint_ext_type) { if(msgpack_packer_try_write_with_ext_type_lookup(pk, v)) { return; } // if we didn't return here `msgpack_packer_write_u64` will raise a RangeError } msgpack_packer_write_long_long(pk, rb_big2ll(v)); } } static inline void msgpack_packer_write_float_value(msgpack_packer_t* pk, VALUE v) { msgpack_packer_write_double(pk, rb_num2dbl(v)); } void msgpack_packer_write_array_value(msgpack_packer_t* pk, VALUE v); void msgpack_packer_write_hash_value(msgpack_packer_t* pk, VALUE v); void msgpack_packer_write_value(msgpack_packer_t* pk, VALUE v); #endif
34.415861
116
0.691227
724b9773cf320d432233763924568b9bd2fe6d72
597
c
C
code/3236.c
Tarpelite/OJ_research
5c23591a50e755dac800dfaedb561290ce35fc5b
[ "MIT" ]
null
null
null
code/3236.c
Tarpelite/OJ_research
5c23591a50e755dac800dfaedb561290ce35fc5b
[ "MIT" ]
null
null
null
code/3236.c
Tarpelite/OJ_research
5c23591a50e755dac800dfaedb561290ce35fc5b
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> int cmp(const void *a,const void *b) { return *(int*)b-*(int *)a; } int a[10000002]; int main() { int n,k,den=0,co=1,i; scanf("%d",&n); for( i=0;i<n;i++) scanf("%d",&a[i]); scanf("%d",&k); qsort(a,n,sizeof(a[0]),cmp); // for(int i=0;i<n;i++)printf("%d ",a[i]); for( i=0;i<k;) { /*aksjdhgkjashdkjas */ if(a[den]>a[den+1]){i++;} else if(i==(k-1))co++; den++; } den--; printf("%d %d",a[den],co); return 0; }
22.961538
52
0.403685
a694f5451ad3c60e9eff1a0fa2df43a0f345b308
4,114
h
C
src/config.h
etheaven/maniac
60603fcade4207b47337649456dad4f77294b055
[ "MIT" ]
14
2020-09-10T06:52:39.000Z
2022-02-07T23:18:00.000Z
src/config.h
etheaven/maniac
60603fcade4207b47337649456dad4f77294b055
[ "MIT" ]
2
2021-07-06T13:47:54.000Z
2022-02-04T16:46:04.000Z
src/config.h
etheaven/maniac
60603fcade4207b47337649456dad4f77294b055
[ "MIT" ]
8
2020-09-21T14:51:17.000Z
2022-02-03T22:56:47.000Z
#pragma once #include "common.h" #include "dependencies/argh.h" #include <cstdio> #include <vector> #include <utility> struct Output { static constexpr auto PAGE_WIDTH = 75; // TODO: None of the text breaking functions handle newlines. static void print_text(const char *string, const int padding = 4) { std::string out; for (size_t i = 0; string[i]; i++) { if (!(i % (PAGE_WIDTH - padding))) { if (i != 0) out.append(1, '\n'); out.append(padding, ' '); } out.append(1, string[i]); } puts(out.c_str()); } // TODO: This is ugly and prone to bugs. static void print_option(const char *s_form, const char *l_form, const char *desc) { constexpr auto buf_size = 1024; constexpr auto long_arg_length = 22; char preamble[PAGE_WIDTH]; sprintf_s(preamble, PAGE_WIDTH, " %s / %-*s", s_form, long_arg_length, l_form); const auto padding = strlen(preamble); std::string broken_desc; for (int i = 0; desc[i]; i++) { if (!(i % (PAGE_WIDTH - padding)) && i != 0) { broken_desc.append("\n"); broken_desc.append(padding, ' '); } broken_desc.append(1, desc[i]); } char out_buf[buf_size]; sprintf_s(out_buf, buf_size, "%s%s\n", preamble, broken_desc.c_str()); printf("%s", out_buf); } }; class config : Output { argh::parser cmdl; template<typename T> T get_param(std::initializer_list<const char *const> name, T def, T imp) { if (cmdl[name]) { return imp; } auto value = cmdl(name, def); T temp; value >> temp; return temp; } // TODO: This should be more general. std::pair<int, int> string_to_pair(std::string string, std::string delim = ",") { std::pair<int, int> out; auto pos = string.find_first_of(delim); if (pos == std::string::npos) { throw std::runtime_error("no delimiter found"); } out.first = std::stoi(string.substr(0, pos)); out.second = std::stoi(string.substr(pos + 1, std::string::npos)); return out; } static void print_help() { printf("\nUsage: maniac [options]\n"); printf("\nOptions:\n"); print_option("-h", "--help", "Show this message and exit."); print_option("-r", "--randomization [a,b]", "Add milliseconds in the range [a,b] to all key presses. If only `a` is provided, `b` implicitly equals `-a`. (default: 0,0, implicit: -5,5)"); print_option("-u", "--humanization [a]", "For every key press, an offset calculated through (density at that point * (a / 100)) is added to the time. (default: 0, implicit: 100)"); print_option("-c", "--compensation [a]", "Add static offset in milliseconds to every action to compensate for the time it takes maniac to send a keypress. (default: -20)"); print_option("-m", "--mirror-mod", "Mirror the keys pressed (i.e.: mirror mod support). (default: false, implicit: true)"); putchar('\n'); print_text("Note that all options have both a default and an implicit value. The difference is best illustrated through an example:\n"); printf(" command humanization\n"); printf(" $ ./maniac 0\n"); printf(" $ ./maniac --humanization 100\n"); printf(" $ ./maniac --humanization 50 50\n"); } public: bool should_exit = false; bool mirror_mod; int compensation_offset; int humanization_modifier; std::pair<int, int> randomization_range = { 0, 0 }; void parse(int argc, char *argv[]) { cmdl.parse(argc, argv, argh::parser::PREFER_PARAM_FOR_UNREG_OPTION); if (cmdl[{ "-h", "--help" }]) { should_exit = true; print_help(); return; } humanization_modifier = get_param({ "-u", "--humanization" }, 0, 100); randomization_range = string_to_pair(get_param<std::string>( { "-r", "--randomization" }, "0,0", "-5,5")); compensation_offset = get_param({ "-c", "--compensation" }, -20, -20); mirror_mod = get_param({ "-m", "--mirror-mod" }, false, true); debug("humanization modifier: %d", humanization_modifier); debug("randomization range: [%d, %d]", randomization_range.first, randomization_range.second); debug("compensation offset: %d", compensation_offset); debug("mirror mod: %d", mirror_mod); } };
28.569444
189
0.641954
8180cabcb4780d51589f40827aac2469e7b4e5d1
1,298
h
C
src/storage/orm_avatar.h
Telecominfraproject/wlan-cloud-ucentralsec
b14eba63c3366f01a5cda3122002857598919088
[ "BSD-3-Clause" ]
2
2021-08-04T02:31:23.000Z
2022-01-06T02:04:45.000Z
src/storage/orm_avatar.h
Telecominfraproject/wlan-cloud-ucentralsec
b14eba63c3366f01a5cda3122002857598919088
[ "BSD-3-Clause" ]
3
2021-08-23T14:39:10.000Z
2022-01-06T02:04:16.000Z
src/storage/orm_avatar.h
Telecominfraproject/wlan-cloud-ucentralsec
b14eba63c3366f01a5cda3122002857598919088
[ "BSD-3-Clause" ]
2
2022-01-03T16:16:44.000Z
2022-03-16T07:18:06.000Z
// // Created by stephane bourque on 2021-12-27. // #pragma once #include "framework/orm.h" #include "RESTObjects/RESTAPI_SecurityObjects.h" namespace OpenWifi { /* std::string id; std::string type; uint64_t created=0; std::string name; Poco::Data::LOB<char> avatar; */ typedef Poco::Tuple < std::string, // id std::string, // type uint64_t, // created std::string, // name Poco::Data::LOB<char> // avatar > AvatarRecordTuple; typedef std::vector <AvatarRecordTuple> AvatarRecordTupleList; class AvatarDB : public ORM::DB<AvatarRecordTuple, SecurityObjects::Avatar> { public: AvatarDB( const std::string &name, const std::string &shortname, OpenWifi::DBType T, Poco::Data::SessionPool & P, Poco::Logger &L); bool SetAvatar(const std::string & Admin, std::string &Id, const std::string & AvatarContent, std::string &Type, std::string & Name); bool GetAvatar(const std::string & Admin, std::string &Id, std::string & AvatarContent, std::string &Type, std::string & Name); bool DeleteAvatar(const std::string & Admin, std::string &Id); private: }; }
31.658537
141
0.585516
905ffb87011bc9c3095ee334c9bfd6962cc6d488
1,157
h
C
third_party/silabs/gecko_sdk_suite/v1.0/hardware/kit/SLSTK3402A_EFM32PG12/config/brd8001a_config.h
syin2/openthread
a9f42768ec221380f42bfd311bc68e784b2163a6
[ "BSD-3-Clause" ]
1
2018-12-31T08:12:49.000Z
2018-12-31T08:12:49.000Z
third_party/silabs/gecko_sdk_suite/v1.0/hardware/kit/SLSTK3402A_EFM32PG12/config/brd8001a_config.h
syin2/openthread
a9f42768ec221380f42bfd311bc68e784b2163a6
[ "BSD-3-Clause" ]
null
null
null
third_party/silabs/gecko_sdk_suite/v1.0/hardware/kit/SLSTK3402A_EFM32PG12/config/brd8001a_config.h
syin2/openthread
a9f42768ec221380f42bfd311bc68e784b2163a6
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************//** * @file * @brief Kit specific board defines for BRD8001A sensor expansion board. * @version 5.1.3 ****************************************************************************** * @section License * <b>Copyright 2016 Silicon Labs, Inc. http://www.silabs.com</b> ******************************************************************************* * * This file is licensed under the Silabs License Agreement. See the file * "Silabs_License_Agreement.txt" for details. Before using this software for * any purpose, you must agree to the terms of that agreement. * ******************************************************************************/ #ifndef BRD8001A_CONFIG_H #define BRD8001A_CONFIG_H #include "em_device.h" #include "em_gpio.h" // Definition for the proximity detector part of SI1147 #define BRD8001A_INT_INPUT_PORT gpioPortD #define BRD8001A_INT_INPUT_PIN 11 // Definition for powering up sensor board STK #define BRD8001A_POWER_PORT gpioPortD #define BRD8001A_POWER_PIN 10 #endif /* BRD8001A_CONFIG_H */
37.322581
81
0.527226
f127fe3ee7e684d584f1fabfa27d3e2dba233ae5
32,186
c
C
contrib/gnu/gcc/dist/libquadmath/math/lgammaq.c
TheSledgeHammer/2.11BSD
fe61f0b9aaa273783cd027c7b5ec77e95ead2153
[ "BSD-3-Clause" ]
3
2021-05-04T17:09:06.000Z
2021-10-04T07:19:26.000Z
contrib/gnu/gcc/dist/libquadmath/math/lgammaq.c
TheSledgeHammer/2.11BSD
fe61f0b9aaa273783cd027c7b5ec77e95ead2153
[ "BSD-3-Clause" ]
null
null
null
contrib/gnu/gcc/dist/libquadmath/math/lgammaq.c
TheSledgeHammer/2.11BSD
fe61f0b9aaa273783cd027c7b5ec77e95ead2153
[ "BSD-3-Clause" ]
null
null
null
/* lgammal * * Natural logarithm of gamma function * * * * SYNOPSIS: * * long double x, y, lgammal(); * extern int sgngam; * * y = lgammal(x); * * * * DESCRIPTION: * * Returns the base e (2.718...) logarithm of the absolute * value of the gamma function of the argument. * The sign (+1 or -1) of the gamma function is returned in a * global (extern) variable named sgngam. * * The positive domain is partitioned into numerous segments for approximation. * For x > 10, * log gamma(x) = (x - 0.5) log(x) - x + log sqrt(2 pi) + 1/x R(1/x^2) * Near the minimum at x = x0 = 1.46... the approximation is * log gamma(x0 + z) = log gamma(x0) + z^2 P(z)/Q(z) * for small z. * Elsewhere between 0 and 10, * log gamma(n + z) = log gamma(n) + z P(z)/Q(z) * for various selected n and small z. * * The cosecant reflection formula is employed for negative arguments. * * * * ACCURACY: * * * arithmetic domain # trials peak rms * Relative error: * IEEE 10, 30 100000 3.9e-34 9.8e-35 * IEEE 0, 10 100000 3.8e-34 5.3e-35 * Absolute error: * IEEE -10, 0 100000 8.0e-34 8.0e-35 * IEEE -30, -10 100000 4.4e-34 1.0e-34 * IEEE -100, 100 100000 1.0e-34 * * The absolute error criterion is the same as relative error * when the function magnitude is greater than one but it is absolute * when the magnitude is less than one. * */ /* Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov> This library 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.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ #include "quadmath-imp.h" #ifdef HAVE_MATH_H_SIGNGAM # include <math.h> #endif __float128 lgammaq (__float128 x) { #ifndef HAVE_MATH_H_SIGNGAM int signgam; #endif return __quadmath_lgammaq_r (x, &signgam); } static const __float128 PIL = 3.1415926535897932384626433832795028841972E0Q; static const __float128 MAXLGM = 1.0485738685148938358098967157129705071571E4928Q; static const __float128 one = 1; static const __float128 huge = FLT128_MAX; /* log gamma(x) = ( x - 0.5 ) * log(x) - x + LS2PI + 1/x P(1/x^2) 1/x <= 0.0741 (x >= 13.495...) Peak relative error 1.5e-36 */ static const __float128 ls2pi = 9.1893853320467274178032973640561763986140E-1Q; #define NRASY 12 static const __float128 RASY[NRASY + 1] = { 8.333333333333333333333333333310437112111E-2Q, -2.777777777777777777777774789556228296902E-3Q, 7.936507936507936507795933938448586499183E-4Q, -5.952380952380952041799269756378148574045E-4Q, 8.417508417507928904209891117498524452523E-4Q, -1.917526917481263997778542329739806086290E-3Q, 6.410256381217852504446848671499409919280E-3Q, -2.955064066900961649768101034477363301626E-2Q, 1.796402955865634243663453415388336954675E-1Q, -1.391522089007758553455753477688592767741E0Q, 1.326130089598399157988112385013829305510E1Q, -1.420412699593782497803472576479997819149E2Q, 1.218058922427762808938869872528846787020E3Q }; /* log gamma(x+13) = log gamma(13) + x P(x)/Q(x) -0.5 <= x <= 0.5 12.5 <= x+13 <= 13.5 Peak relative error 1.1e-36 */ static const __float128 lgam13a = 1.9987213134765625E1Q; static const __float128 lgam13b = 1.3608962611495173623870550785125024484248E-6Q; #define NRN13 7 static const __float128 RN13[NRN13 + 1] = { 8.591478354823578150238226576156275285700E11Q, 2.347931159756482741018258864137297157668E11Q, 2.555408396679352028680662433943000804616E10Q, 1.408581709264464345480765758902967123937E9Q, 4.126759849752613822953004114044451046321E7Q, 6.133298899622688505854211579222889943778E5Q, 3.929248056293651597987893340755876578072E3Q, 6.850783280018706668924952057996075215223E0Q }; #define NRD13 6 static const __float128 RD13[NRD13 + 1] = { 3.401225382297342302296607039352935541669E11Q, 8.756765276918037910363513243563234551784E10Q, 8.873913342866613213078554180987647243903E9Q, 4.483797255342763263361893016049310017973E8Q, 1.178186288833066430952276702931512870676E7Q, 1.519928623743264797939103740132278337476E5Q, 7.989298844938119228411117593338850892311E2Q /* 1.0E0L */ }; /* log gamma(x+12) = log gamma(12) + x P(x)/Q(x) -0.5 <= x <= 0.5 11.5 <= x+12 <= 12.5 Peak relative error 4.1e-36 */ static const __float128 lgam12a = 1.75023040771484375E1Q; static const __float128 lgam12b = 3.7687254483392876529072161996717039575982E-6Q; #define NRN12 7 static const __float128 RN12[NRN12 + 1] = { 4.709859662695606986110997348630997559137E11Q, 1.398713878079497115037857470168777995230E11Q, 1.654654931821564315970930093932954900867E10Q, 9.916279414876676861193649489207282144036E8Q, 3.159604070526036074112008954113411389879E7Q, 5.109099197547205212294747623977502492861E5Q, 3.563054878276102790183396740969279826988E3Q, 6.769610657004672719224614163196946862747E0Q }; #define NRD12 6 static const __float128 RD12[NRD12 + 1] = { 1.928167007860968063912467318985802726613E11Q, 5.383198282277806237247492369072266389233E10Q, 5.915693215338294477444809323037871058363E9Q, 3.241438287570196713148310560147925781342E8Q, 9.236680081763754597872713592701048455890E6Q, 1.292246897881650919242713651166596478850E5Q, 7.366532445427159272584194816076600211171E2Q /* 1.0E0L */ }; /* log gamma(x+11) = log gamma(11) + x P(x)/Q(x) -0.5 <= x <= 0.5 10.5 <= x+11 <= 11.5 Peak relative error 1.8e-35 */ static const __float128 lgam11a = 1.5104400634765625E1Q; static const __float128 lgam11b = 1.1938309890295225709329251070371882250744E-5Q; #define NRN11 7 static const __float128 RN11[NRN11 + 1] = { 2.446960438029415837384622675816736622795E11Q, 7.955444974446413315803799763901729640350E10Q, 1.030555327949159293591618473447420338444E10Q, 6.765022131195302709153994345470493334946E8Q, 2.361892792609204855279723576041468347494E7Q, 4.186623629779479136428005806072176490125E5Q, 3.202506022088912768601325534149383594049E3Q, 6.681356101133728289358838690666225691363E0Q }; #define NRD11 6 static const __float128 RD11[NRD11 + 1] = { 1.040483786179428590683912396379079477432E11Q, 3.172251138489229497223696648369823779729E10Q, 3.806961885984850433709295832245848084614E9Q, 2.278070344022934913730015420611609620171E8Q, 7.089478198662651683977290023829391596481E6Q, 1.083246385105903533237139380509590158658E5Q, 6.744420991491385145885727942219463243597E2Q /* 1.0E0L */ }; /* log gamma(x+10) = log gamma(10) + x P(x)/Q(x) -0.5 <= x <= 0.5 9.5 <= x+10 <= 10.5 Peak relative error 5.4e-37 */ static const __float128 lgam10a = 1.280181884765625E1Q; static const __float128 lgam10b = 8.6324252196112077178745667061642811492557E-6Q; #define NRN10 7 static const __float128 RN10[NRN10 + 1] = { -1.239059737177249934158597996648808363783E14Q, -4.725899566371458992365624673357356908719E13Q, -7.283906268647083312042059082837754850808E12Q, -5.802855515464011422171165179767478794637E11Q, -2.532349691157548788382820303182745897298E10Q, -5.884260178023777312587193693477072061820E8Q, -6.437774864512125749845840472131829114906E6Q, -2.350975266781548931856017239843273049384E4Q }; #define NRD10 7 static const __float128 RD10[NRD10 + 1] = { -5.502645997581822567468347817182347679552E13Q, -1.970266640239849804162284805400136473801E13Q, -2.819677689615038489384974042561531409392E12Q, -2.056105863694742752589691183194061265094E11Q, -8.053670086493258693186307810815819662078E9Q, -1.632090155573373286153427982504851867131E8Q, -1.483575879240631280658077826889223634921E6Q, -4.002806669713232271615885826373550502510E3Q /* 1.0E0L */ }; /* log gamma(x+9) = log gamma(9) + x P(x)/Q(x) -0.5 <= x <= 0.5 8.5 <= x+9 <= 9.5 Peak relative error 3.6e-36 */ static const __float128 lgam9a = 1.06045989990234375E1Q; static const __float128 lgam9b = 3.9037218127284172274007216547549861681400E-6Q; #define NRN9 7 static const __float128 RN9[NRN9 + 1] = { -4.936332264202687973364500998984608306189E13Q, -2.101372682623700967335206138517766274855E13Q, -3.615893404644823888655732817505129444195E12Q, -3.217104993800878891194322691860075472926E11Q, -1.568465330337375725685439173603032921399E10Q, -4.073317518162025744377629219101510217761E8Q, -4.983232096406156139324846656819246974500E6Q, -2.036280038903695980912289722995505277253E4Q }; #define NRD9 7 static const __float128 RD9[NRD9 + 1] = { -2.306006080437656357167128541231915480393E13Q, -9.183606842453274924895648863832233799950E12Q, -1.461857965935942962087907301194381010380E12Q, -1.185728254682789754150068652663124298303E11Q, -5.166285094703468567389566085480783070037E9Q, -1.164573656694603024184768200787835094317E8Q, -1.177343939483908678474886454113163527909E6Q, -3.529391059783109732159524500029157638736E3Q /* 1.0E0L */ }; /* log gamma(x+8) = log gamma(8) + x P(x)/Q(x) -0.5 <= x <= 0.5 7.5 <= x+8 <= 8.5 Peak relative error 2.4e-37 */ static const __float128 lgam8a = 8.525146484375E0Q; static const __float128 lgam8b = 1.4876690414300165531036347125050759667737E-5Q; #define NRN8 8 static const __float128 RN8[NRN8 + 1] = { 6.600775438203423546565361176829139703289E11Q, 3.406361267593790705240802723914281025800E11Q, 7.222460928505293914746983300555538432830E10Q, 8.102984106025088123058747466840656458342E9Q, 5.157620015986282905232150979772409345927E8Q, 1.851445288272645829028129389609068641517E7Q, 3.489261702223124354745894067468953756656E5Q, 2.892095396706665774434217489775617756014E3Q, 6.596977510622195827183948478627058738034E0Q }; #define NRD8 7 static const __float128 RD8[NRD8 + 1] = { 3.274776546520735414638114828622673016920E11Q, 1.581811207929065544043963828487733970107E11Q, 3.108725655667825188135393076860104546416E10Q, 3.193055010502912617128480163681842165730E9Q, 1.830871482669835106357529710116211541839E8Q, 5.790862854275238129848491555068073485086E6Q, 9.305213264307921522842678835618803553589E4Q, 6.216974105861848386918949336819572333622E2Q /* 1.0E0L */ }; /* log gamma(x+7) = log gamma(7) + x P(x)/Q(x) -0.5 <= x <= 0.5 6.5 <= x+7 <= 7.5 Peak relative error 3.2e-36 */ static const __float128 lgam7a = 6.5792388916015625E0Q; static const __float128 lgam7b = 1.2320408538495060178292903945321122583007E-5Q; #define NRN7 8 static const __float128 RN7[NRN7 + 1] = { 2.065019306969459407636744543358209942213E11Q, 1.226919919023736909889724951708796532847E11Q, 2.996157990374348596472241776917953749106E10Q, 3.873001919306801037344727168434909521030E9Q, 2.841575255593761593270885753992732145094E8Q, 1.176342515359431913664715324652399565551E7Q, 2.558097039684188723597519300356028511547E5Q, 2.448525238332609439023786244782810774702E3Q, 6.460280377802030953041566617300902020435E0Q }; #define NRD7 7 static const __float128 RD7[NRD7 + 1] = { 1.102646614598516998880874785339049304483E11Q, 6.099297512712715445879759589407189290040E10Q, 1.372898136289611312713283201112060238351E10Q, 1.615306270420293159907951633566635172343E9Q, 1.061114435798489135996614242842561967459E8Q, 3.845638971184305248268608902030718674691E6Q, 7.081730675423444975703917836972720495507E4Q, 5.423122582741398226693137276201344096370E2Q /* 1.0E0L */ }; /* log gamma(x+6) = log gamma(6) + x P(x)/Q(x) -0.5 <= x <= 0.5 5.5 <= x+6 <= 6.5 Peak relative error 6.2e-37 */ static const __float128 lgam6a = 4.7874908447265625E0Q; static const __float128 lgam6b = 8.9805548349424770093452324304839959231517E-7Q; #define NRN6 8 static const __float128 RN6[NRN6 + 1] = { -3.538412754670746879119162116819571823643E13Q, -2.613432593406849155765698121483394257148E13Q, -8.020670732770461579558867891923784753062E12Q, -1.322227822931250045347591780332435433420E12Q, -1.262809382777272476572558806855377129513E11Q, -7.015006277027660872284922325741197022467E9Q, -2.149320689089020841076532186783055727299E8Q, -3.167210585700002703820077565539658995316E6Q, -1.576834867378554185210279285358586385266E4Q }; #define NRD6 8 static const __float128 RD6[NRD6 + 1] = { -2.073955870771283609792355579558899389085E13Q, -1.421592856111673959642750863283919318175E13Q, -4.012134994918353924219048850264207074949E12Q, -6.013361045800992316498238470888523722431E11Q, -5.145382510136622274784240527039643430628E10Q, -2.510575820013409711678540476918249524123E9Q, -6.564058379709759600836745035871373240904E7Q, -7.861511116647120540275354855221373571536E5Q, -2.821943442729620524365661338459579270561E3Q /* 1.0E0L */ }; /* log gamma(x+5) = log gamma(5) + x P(x)/Q(x) -0.5 <= x <= 0.5 4.5 <= x+5 <= 5.5 Peak relative error 3.4e-37 */ static const __float128 lgam5a = 3.17803955078125E0Q; static const __float128 lgam5b = 1.4279566695619646941601297055408873990961E-5Q; #define NRN5 9 static const __float128 RN5[NRN5 + 1] = { 2.010952885441805899580403215533972172098E11Q, 1.916132681242540921354921906708215338584E11Q, 7.679102403710581712903937970163206882492E10Q, 1.680514903671382470108010973615268125169E10Q, 2.181011222911537259440775283277711588410E9Q, 1.705361119398837808244780667539728356096E8Q, 7.792391565652481864976147945997033946360E6Q, 1.910741381027985291688667214472560023819E5Q, 2.088138241893612679762260077783794329559E3Q, 6.330318119566998299106803922739066556550E0Q }; #define NRD5 8 static const __float128 RD5[NRD5 + 1] = { 1.335189758138651840605141370223112376176E11Q, 1.174130445739492885895466097516530211283E11Q, 4.308006619274572338118732154886328519910E10Q, 8.547402888692578655814445003283720677468E9Q, 9.934628078575618309542580800421370730906E8Q, 6.847107420092173812998096295422311820672E7Q, 2.698552646016599923609773122139463150403E6Q, 5.526516251532464176412113632726150253215E4Q, 4.772343321713697385780533022595450486932E2Q /* 1.0E0L */ }; /* log gamma(x+4) = log gamma(4) + x P(x)/Q(x) -0.5 <= x <= 0.5 3.5 <= x+4 <= 4.5 Peak relative error 6.7e-37 */ static const __float128 lgam4a = 1.791748046875E0Q; static const __float128 lgam4b = 1.1422353055000812477358380702272722990692E-5Q; #define NRN4 9 static const __float128 RN4[NRN4 + 1] = { -1.026583408246155508572442242188887829208E13Q, -1.306476685384622809290193031208776258809E13Q, -7.051088602207062164232806511992978915508E12Q, -2.100849457735620004967624442027793656108E12Q, -3.767473790774546963588549871673843260569E11Q, -4.156387497364909963498394522336575984206E10Q, -2.764021460668011732047778992419118757746E9Q, -1.036617204107109779944986471142938641399E8Q, -1.895730886640349026257780896972598305443E6Q, -1.180509051468390914200720003907727988201E4Q }; #define NRD4 9 static const __float128 RD4[NRD4 + 1] = { -8.172669122056002077809119378047536240889E12Q, -9.477592426087986751343695251801814226960E12Q, -4.629448850139318158743900253637212801682E12Q, -1.237965465892012573255370078308035272942E12Q, -1.971624313506929845158062177061297598956E11Q, -1.905434843346570533229942397763361493610E10Q, -1.089409357680461419743730978512856675984E9Q, -3.416703082301143192939774401370222822430E7Q, -4.981791914177103793218433195857635265295E5Q, -2.192507743896742751483055798411231453733E3Q /* 1.0E0L */ }; /* log gamma(x+3) = log gamma(3) + x P(x)/Q(x) -0.25 <= x <= 0.5 2.75 <= x+3 <= 3.5 Peak relative error 6.0e-37 */ static const __float128 lgam3a = 6.93145751953125E-1Q; static const __float128 lgam3b = 1.4286068203094172321214581765680755001344E-6Q; #define NRN3 9 static const __float128 RN3[NRN3 + 1] = { -4.813901815114776281494823863935820876670E11Q, -8.425592975288250400493910291066881992620E11Q, -6.228685507402467503655405482985516909157E11Q, -2.531972054436786351403749276956707260499E11Q, -6.170200796658926701311867484296426831687E10Q, -9.211477458528156048231908798456365081135E9Q, -8.251806236175037114064561038908691305583E8Q, -4.147886355917831049939930101151160447495E7Q, -1.010851868928346082547075956946476932162E6Q, -8.333374463411801009783402800801201603736E3Q }; #define NRD3 9 static const __float128 RD3[NRD3 + 1] = { -5.216713843111675050627304523368029262450E11Q, -8.014292925418308759369583419234079164391E11Q, -5.180106858220030014546267824392678611990E11Q, -1.830406975497439003897734969120997840011E11Q, -3.845274631904879621945745960119924118925E10Q, -4.891033385370523863288908070309417710903E9Q, -3.670172254411328640353855768698287474282E8Q, -1.505316381525727713026364396635522516989E7Q, -2.856327162923716881454613540575964890347E5Q, -1.622140448015769906847567212766206894547E3Q /* 1.0E0L */ }; /* log gamma(x+2.5) = log gamma(2.5) + x P(x)/Q(x) -0.125 <= x <= 0.25 2.375 <= x+2.5 <= 2.75 */ static const __float128 lgam2r5a = 2.8466796875E-1Q; static const __float128 lgam2r5b = 1.4901722919159632494669682701924320137696E-5Q; #define NRN2r5 8 static const __float128 RN2r5[NRN2r5 + 1] = { -4.676454313888335499356699817678862233205E9Q, -9.361888347911187924389905984624216340639E9Q, -7.695353600835685037920815799526540237703E9Q, -3.364370100981509060441853085968900734521E9Q, -8.449902011848163568670361316804900559863E8Q, -1.225249050950801905108001246436783022179E8Q, -9.732972931077110161639900388121650470926E6Q, -3.695711763932153505623248207576425983573E5Q, -4.717341584067827676530426007495274711306E3Q }; #define NRD2r5 8 static const __float128 RD2r5[NRD2r5 + 1] = { -6.650657966618993679456019224416926875619E9Q, -1.099511409330635807899718829033488771623E10Q, -7.482546968307837168164311101447116903148E9Q, -2.702967190056506495988922973755870557217E9Q, -5.570008176482922704972943389590409280950E8Q, -6.536934032192792470926310043166993233231E7Q, -4.101991193844953082400035444146067511725E6Q, -1.174082735875715802334430481065526664020E5Q, -9.932840389994157592102947657277692978511E2Q /* 1.0E0L */ }; /* log gamma(x+2) = x P(x)/Q(x) -0.125 <= x <= +0.375 1.875 <= x+2 <= 2.375 Peak relative error 4.6e-36 */ #define NRN2 9 static const __float128 RN2[NRN2 + 1] = { -3.716661929737318153526921358113793421524E9Q, -1.138816715030710406922819131397532331321E10Q, -1.421017419363526524544402598734013569950E10Q, -9.510432842542519665483662502132010331451E9Q, -3.747528562099410197957514973274474767329E9Q, -8.923565763363912474488712255317033616626E8Q, -1.261396653700237624185350402781338231697E8Q, -9.918402520255661797735331317081425749014E6Q, -3.753996255897143855113273724233104768831E5Q, -4.778761333044147141559311805999540765612E3Q }; #define NRD2 9 static const __float128 RD2[NRD2 + 1] = { -8.790916836764308497770359421351673950111E9Q, -2.023108608053212516399197678553737477486E10Q, -1.958067901852022239294231785363504458367E10Q, -1.035515043621003101254252481625188704529E10Q, -3.253884432621336737640841276619272224476E9Q, -6.186383531162456814954947669274235815544E8Q, -6.932557847749518463038934953605969951466E7Q, -4.240731768287359608773351626528479703758E6Q, -1.197343995089189188078944689846348116630E5Q, -1.004622911670588064824904487064114090920E3Q /* 1.0E0 */ }; /* log gamma(x+1.75) = log gamma(1.75) + x P(x)/Q(x) -0.125 <= x <= +0.125 1.625 <= x+1.75 <= 1.875 Peak relative error 9.2e-37 */ static const __float128 lgam1r75a = -8.441162109375E-2Q; static const __float128 lgam1r75b = 1.0500073264444042213965868602268256157604E-5Q; #define NRN1r75 8 static const __float128 RN1r75[NRN1r75 + 1] = { -5.221061693929833937710891646275798251513E7Q, -2.052466337474314812817883030472496436993E8Q, -2.952718275974940270675670705084125640069E8Q, -2.132294039648116684922965964126389017840E8Q, -8.554103077186505960591321962207519908489E7Q, -1.940250901348870867323943119132071960050E7Q, -2.379394147112756860769336400290402208435E6Q, -1.384060879999526222029386539622255797389E5Q, -2.698453601378319296159355612094598695530E3Q }; #define NRD1r75 8 static const __float128 RD1r75[NRD1r75 + 1] = { -2.109754689501705828789976311354395393605E8Q, -5.036651829232895725959911504899241062286E8Q, -4.954234699418689764943486770327295098084E8Q, -2.589558042412676610775157783898195339410E8Q, -7.731476117252958268044969614034776883031E7Q, -1.316721702252481296030801191240867486965E7Q, -1.201296501404876774861190604303728810836E6Q, -5.007966406976106636109459072523610273928E4Q, -6.155817990560743422008969155276229018209E2Q /* 1.0E0L */ }; /* log gamma(x+x0) = y0 + x^2 P(x)/Q(x) -0.0867 <= x <= +0.1634 1.374932... <= x+x0 <= 1.625032... Peak relative error 4.0e-36 */ static const __float128 x0a = 1.4616241455078125Q; static const __float128 x0b = 7.9994605498412626595423257213002588621246E-6Q; static const __float128 y0a = -1.21490478515625E-1Q; static const __float128 y0b = 4.1879797753919044854428223084178486438269E-6Q; #define NRN1r5 8 static const __float128 RN1r5[NRN1r5 + 1] = { 6.827103657233705798067415468881313128066E5Q, 1.910041815932269464714909706705242148108E6Q, 2.194344176925978377083808566251427771951E6Q, 1.332921400100891472195055269688876427962E6Q, 4.589080973377307211815655093824787123508E5Q, 8.900334161263456942727083580232613796141E4Q, 9.053840838306019753209127312097612455236E3Q, 4.053367147553353374151852319743594873771E2Q, 5.040631576303952022968949605613514584950E0Q }; #define NRD1r5 8 static const __float128 RD1r5[NRD1r5 + 1] = { 1.411036368843183477558773688484699813355E6Q, 4.378121767236251950226362443134306184849E6Q, 5.682322855631723455425929877581697918168E6Q, 3.999065731556977782435009349967042222375E6Q, 1.653651390456781293163585493620758410333E6Q, 4.067774359067489605179546964969435858311E5Q, 5.741463295366557346748361781768833633256E4Q, 4.226404539738182992856094681115746692030E3Q, 1.316980975410327975566999780608618774469E2Q, /* 1.0E0L */ }; /* log gamma(x+1.25) = log gamma(1.25) + x P(x)/Q(x) -.125 <= x <= +.125 1.125 <= x+1.25 <= 1.375 Peak relative error = 4.9e-36 */ static const __float128 lgam1r25a = -9.82818603515625E-2Q; static const __float128 lgam1r25b = 1.0023929749338536146197303364159774377296E-5Q; #define NRN1r25 9 static const __float128 RN1r25[NRN1r25 + 1] = { -9.054787275312026472896002240379580536760E4Q, -8.685076892989927640126560802094680794471E4Q, 2.797898965448019916967849727279076547109E5Q, 6.175520827134342734546868356396008898299E5Q, 5.179626599589134831538516906517372619641E5Q, 2.253076616239043944538380039205558242161E5Q, 5.312653119599957228630544772499197307195E4Q, 6.434329437514083776052669599834938898255E3Q, 3.385414416983114598582554037612347549220E2Q, 4.907821957946273805080625052510832015792E0Q }; #define NRD1r25 8 static const __float128 RD1r25[NRD1r25 + 1] = { 3.980939377333448005389084785896660309000E5Q, 1.429634893085231519692365775184490465542E6Q, 2.145438946455476062850151428438668234336E6Q, 1.743786661358280837020848127465970357893E6Q, 8.316364251289743923178092656080441655273E5Q, 2.355732939106812496699621491135458324294E5Q, 3.822267399625696880571810137601310855419E4Q, 3.228463206479133236028576845538387620856E3Q, 1.152133170470059555646301189220117965514E2Q /* 1.0E0L */ }; /* log gamma(x + 1) = x P(x)/Q(x) 0.0 <= x <= +0.125 1.0 <= x+1 <= 1.125 Peak relative error 1.1e-35 */ #define NRN1 8 static const __float128 RN1[NRN1 + 1] = { -9.987560186094800756471055681088744738818E3Q, -2.506039379419574361949680225279376329742E4Q, -1.386770737662176516403363873617457652991E4Q, 1.439445846078103202928677244188837130744E4Q, 2.159612048879650471489449668295139990693E4Q, 1.047439813638144485276023138173676047079E4Q, 2.250316398054332592560412486630769139961E3Q, 1.958510425467720733041971651126443864041E2Q, 4.516830313569454663374271993200291219855E0Q }; #define NRD1 7 static const __float128 RD1[NRD1 + 1] = { 1.730299573175751778863269333703788214547E4Q, 6.807080914851328611903744668028014678148E4Q, 1.090071629101496938655806063184092302439E5Q, 9.124354356415154289343303999616003884080E4Q, 4.262071638655772404431164427024003253954E4Q, 1.096981664067373953673982635805821283581E4Q, 1.431229503796575892151252708527595787588E3Q, 7.734110684303689320830401788262295992921E1Q /* 1.0E0 */ }; /* log gamma(x + 1) = x P(x)/Q(x) -0.125 <= x <= 0 0.875 <= x+1 <= 1.0 Peak relative error 7.0e-37 */ #define NRNr9 8 static const __float128 RNr9[NRNr9 + 1] = { 4.441379198241760069548832023257571176884E5Q, 1.273072988367176540909122090089580368732E6Q, 9.732422305818501557502584486510048387724E5Q, -5.040539994443998275271644292272870348684E5Q, -1.208719055525609446357448132109723786736E6Q, -7.434275365370936547146540554419058907156E5Q, -2.075642969983377738209203358199008185741E5Q, -2.565534860781128618589288075109372218042E4Q, -1.032901669542994124131223797515913955938E3Q, }; #define NRDr9 8 static const __float128 RDr9[NRDr9 + 1] = { -7.694488331323118759486182246005193998007E5Q, -3.301918855321234414232308938454112213751E6Q, -5.856830900232338906742924836032279404702E6Q, -5.540672519616151584486240871424021377540E6Q, -3.006530901041386626148342989181721176919E6Q, -9.350378280513062139466966374330795935163E5Q, -1.566179100031063346901755685375732739511E5Q, -1.205016539620260779274902967231510804992E4Q, -2.724583156305709733221564484006088794284E2Q /* 1.0E0 */ }; /* Evaluate P[n] x^n + P[n-1] x^(n-1) + ... + P[0] */ static __float128 neval (__float128 x, const __float128 *p, int n) { __float128 y; p += n; y = *p--; do { y = y * x + *p--; } while (--n > 0); return y; } /* Evaluate x^n+1 + P[n] x^(n) + P[n-1] x^(n-1) + ... + P[0] */ static __float128 deval (__float128 x, const __float128 *p, int n) { __float128 y; p += n; y = x + *p--; do { y = y * x + *p--; } while (--n > 0); return y; } __float128 __quadmath_lgammaq_r (__float128 x, int *signgamp) { __float128 p, q, w, z, nx; int i, nn; *signgamp = 1; if (! finiteq (x)) return x * x; if (x == 0) { if (signbitq (x)) *signgamp = -1; } if (x < 0) { if (x < -2 && x > -50) return __quadmath_lgamma_negq (x, signgamp); q = -x; p = floorq (q); if (p == q) return (one / fabsq (p - p)); __float128 halfp = p * 0.5Q; if (halfp == floorq (halfp)) *signgamp = -1; else *signgamp = 1; if (q < 0x1p-120Q) return -logq (q); z = q - p; if (z > 0.5Q) { p += 1; z = p - q; } z = q * sinq (PIL * z); w = __quadmath_lgammaq_r (q, &i); z = logq (PIL / z) - w; return (z); } if (x < 13.5Q) { p = 0; nx = floorq (x + 0.5Q); nn = nx; switch (nn) { case 0: /* log gamma (x + 1) = log(x) + log gamma(x) */ if (x < 0x1p-120Q) return -logq (x); else if (x <= 0.125) { p = x * neval (x, RN1, NRN1) / deval (x, RD1, NRD1); } else if (x <= 0.375) { z = x - 0.25Q; p = z * neval (z, RN1r25, NRN1r25) / deval (z, RD1r25, NRD1r25); p += lgam1r25b; p += lgam1r25a; } else if (x <= 0.625) { z = x + (1 - x0a); z = z - x0b; p = neval (z, RN1r5, NRN1r5) / deval (z, RD1r5, NRD1r5); p = p * z * z; p = p + y0b; p = p + y0a; } else if (x <= 0.875) { z = x - 0.75Q; p = z * neval (z, RN1r75, NRN1r75) / deval (z, RD1r75, NRD1r75); p += lgam1r75b; p += lgam1r75a; } else { z = x - 1; p = z * neval (z, RN2, NRN2) / deval (z, RD2, NRD2); } p = p - logq (x); break; case 1: if (x < 0.875Q) { if (x <= 0.625) { z = x + (1 - x0a); z = z - x0b; p = neval (z, RN1r5, NRN1r5) / deval (z, RD1r5, NRD1r5); p = p * z * z; p = p + y0b; p = p + y0a; } else if (x <= 0.875) { z = x - 0.75Q; p = z * neval (z, RN1r75, NRN1r75) / deval (z, RD1r75, NRD1r75); p += lgam1r75b; p += lgam1r75a; } else { z = x - 1; p = z * neval (z, RN2, NRN2) / deval (z, RD2, NRD2); } p = p - logq (x); } else if (x < 1) { z = x - 1; p = z * neval (z, RNr9, NRNr9) / deval (z, RDr9, NRDr9); } else if (x == 1) p = 0; else if (x <= 1.125Q) { z = x - 1; p = z * neval (z, RN1, NRN1) / deval (z, RD1, NRD1); } else if (x <= 1.375) { z = x - 1.25Q; p = z * neval (z, RN1r25, NRN1r25) / deval (z, RD1r25, NRD1r25); p += lgam1r25b; p += lgam1r25a; } else { /* 1.375 <= x+x0 <= 1.625 */ z = x - x0a; z = z - x0b; p = neval (z, RN1r5, NRN1r5) / deval (z, RD1r5, NRD1r5); p = p * z * z; p = p + y0b; p = p + y0a; } break; case 2: if (x < 1.625Q) { z = x - x0a; z = z - x0b; p = neval (z, RN1r5, NRN1r5) / deval (z, RD1r5, NRD1r5); p = p * z * z; p = p + y0b; p = p + y0a; } else if (x < 1.875Q) { z = x - 1.75Q; p = z * neval (z, RN1r75, NRN1r75) / deval (z, RD1r75, NRD1r75); p += lgam1r75b; p += lgam1r75a; } else if (x == 2) p = 0; else if (x < 2.375Q) { z = x - 2; p = z * neval (z, RN2, NRN2) / deval (z, RD2, NRD2); } else { z = x - 2.5Q; p = z * neval (z, RN2r5, NRN2r5) / deval (z, RD2r5, NRD2r5); p += lgam2r5b; p += lgam2r5a; } break; case 3: if (x < 2.75) { z = x - 2.5Q; p = z * neval (z, RN2r5, NRN2r5) / deval (z, RD2r5, NRD2r5); p += lgam2r5b; p += lgam2r5a; } else { z = x - 3; p = z * neval (z, RN3, NRN3) / deval (z, RD3, NRD3); p += lgam3b; p += lgam3a; } break; case 4: z = x - 4; p = z * neval (z, RN4, NRN4) / deval (z, RD4, NRD4); p += lgam4b; p += lgam4a; break; case 5: z = x - 5; p = z * neval (z, RN5, NRN5) / deval (z, RD5, NRD5); p += lgam5b; p += lgam5a; break; case 6: z = x - 6; p = z * neval (z, RN6, NRN6) / deval (z, RD6, NRD6); p += lgam6b; p += lgam6a; break; case 7: z = x - 7; p = z * neval (z, RN7, NRN7) / deval (z, RD7, NRD7); p += lgam7b; p += lgam7a; break; case 8: z = x - 8; p = z * neval (z, RN8, NRN8) / deval (z, RD8, NRD8); p += lgam8b; p += lgam8a; break; case 9: z = x - 9; p = z * neval (z, RN9, NRN9) / deval (z, RD9, NRD9); p += lgam9b; p += lgam9a; break; case 10: z = x - 10; p = z * neval (z, RN10, NRN10) / deval (z, RD10, NRD10); p += lgam10b; p += lgam10a; break; case 11: z = x - 11; p = z * neval (z, RN11, NRN11) / deval (z, RD11, NRD11); p += lgam11b; p += lgam11a; break; case 12: z = x - 12; p = z * neval (z, RN12, NRN12) / deval (z, RD12, NRD12); p += lgam12b; p += lgam12a; break; case 13: z = x - 13; p = z * neval (z, RN13, NRN13) / deval (z, RD13, NRD13); p += lgam13b; p += lgam13a; break; } return p; } if (x > MAXLGM) return (*signgamp * huge * huge); if (x > 0x1p120Q) return x * (logq (x) - 1); q = ls2pi - x; q = (x - 0.5Q) * logq (x) + q; if (x > 1.0e18Q) return (q); p = 1 / (x * x); q += neval (p, RASY, NRASY) / x; return (q); }
30.624167
83
0.722923
5e02545835c35e871ab3ceab4ea3ba8f5409eb4d
523
h
C
mwidgets/src/flatstyle/fsbutton.h
quntax/qpcol
290e2f0639eaee12fe6190070b3e2c38a8fd1ea7
[ "BSD-3-Clause" ]
null
null
null
mwidgets/src/flatstyle/fsbutton.h
quntax/qpcol
290e2f0639eaee12fe6190070b3e2c38a8fd1ea7
[ "BSD-3-Clause" ]
null
null
null
mwidgets/src/flatstyle/fsbutton.h
quntax/qpcol
290e2f0639eaee12fe6190070b3e2c38a8fd1ea7
[ "BSD-3-Clause" ]
null
null
null
#ifndef FSBUTTON_H #define FSBUTTON_H #include <QPushButton> #include <QWidget> #include "fscontainer.h" class fsButton : public QPushButton { Q_OBJECT public: explicit fsButton(fsContainer *parent = 0); ~fsButton(); fsButton(const QString & themeIcon, fsContainer *parent = 0); fsButton(const QString & themeIcon, bool startDisabled = false, fsContainer *parent = 0); void setThemeIcon(const QString & themeIcon); private: void initLayout(bool disabled = false); }; #endif // FSBUTTON_H
20.115385
93
0.717017
13087f9e3f1c8e390f11ffd285c571459b00f271
253
c
C
server/esync.c
EnderIce2/wine
2113dabea61e70dafc628d0cd189e35b7e54131d
[ "MIT" ]
null
null
null
server/esync.c
EnderIce2/wine
2113dabea61e70dafc628d0cd189e35b7e54131d
[ "MIT" ]
null
null
null
server/esync.c
EnderIce2/wine
2113dabea61e70dafc628d0cd189e35b7e54131d
[ "MIT" ]
null
null
null
#include "esync.h" int do_esync(void) { return 0; } /* Wake up a specific fd. */ void esync_wake_fd( int fd ) { static const unsigned long long value = 1; if (write( fd, &value, sizeof(value) ) == -1) perror( "esync: write" ); }
14.882353
49
0.588933
de86ced3fc5f37bb381cad25a2d9039f08796b0d
753
h
C
PrivateFrameworks/HomeKit/HMNetworkConfigurationProfileDelegatePrivate-Protocol.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
17
2018-11-13T04:02:58.000Z
2022-01-20T09:27:13.000Z
PrivateFrameworks/HomeKit/HMNetworkConfigurationProfileDelegatePrivate-Protocol.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
3
2018-04-06T02:02:27.000Z
2018-10-02T01:12:10.000Z
PrivateFrameworks/HomeKit/HMNetworkConfigurationProfileDelegatePrivate-Protocol.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
1
2018-09-28T13:54:23.000Z
2018-09-28T13:54:23.000Z
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "HMNetworkConfigurationProfileDelegate.h" @class HMNetworkConfigurationProfile; @protocol HMNetworkConfigurationProfileDelegatePrivate <HMNetworkConfigurationProfileDelegate> @optional - (void)profileDidUpdateWiFiCredentialType:(HMNetworkConfigurationProfile *)arg1; - (void)profileDidUpdateWiFiReconfigurationSupport:(HMNetworkConfigurationProfile *)arg1; - (void)profileDidUpdateAccessViolation:(HMNetworkConfigurationProfile *)arg1; - (void)profileDidUpdateAllowedHosts:(HMNetworkConfigurationProfile *)arg1; - (void)profileDidUpdateNetworkProtectionMode:(HMNetworkConfigurationProfile *)arg1; @end
35.857143
94
0.823373
203555c590b121874d6b4b544ac07ec3ed064d4d
2,697
h
C
include/nbl/system/CAPKResourcesArchive.h
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
include/nbl/system/CAPKResourcesArchive.h
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
include/nbl/system/CAPKResourcesArchive.h
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
#ifndef _NBL_SYSTEM_C_APK_RESOURCES_ARCHIVE_LOADER_H_INCLUDED_ #define _NBL_SYSTEM_C_APK_RESOURCES_ARCHIVE_LOADER_H_INCLUDED_ #ifdef _NBL_PLATFORM_ANDROID_ #include "nbl/system/IFileArchive.h" #include <jni.h> namespace nbl::system { class CAPKResourcesArchive : public IFileArchive { using base_t = IFileArchive; AAssetManager* mgr; JNIEnv* env; ANativeActivity* activity; public: CAPKResourcesArchive(core::smart_refctd_ptr<ISystem>&& system, system::logger_opt_smart_ptr&& logger, AAssetManager* _mgr, ANativeActivity* act, JNIEnv* jni) : base_t(nullptr, std::move(system), std::move(logger)), mgr(_mgr), activity(act), env(jni) { auto assets = listAssets(""); uint32_t index = 0; for (auto& a : assets) { addItem(a, index, 0, EAT_VIRTUAL_ALLOC); index++; } setFlagsVectorSize(m_files.size()); } core::smart_refctd_ptr<IFile> readFile_impl(const SOpenFileParams& params) override { auto filename = params.filename; AAsset* asset = AAssetManager_open(mgr, filename.c_str(), AASSET_MODE_BUFFER); if (asset == nullptr) return nullptr; const void* buffer = AAsset_getBuffer(asset); size_t assetSize = AAsset_getLength(asset); auto fileView = make_smart_refctd_ptr <CFileView<VirtualAllocator>>(core::smart_refctd_ptr(m_system), params.absolutePath, IFile::ECF_READ, assetSize); fileView->write_impl(buffer, 0, assetSize); AAsset_close(asset); return fileView; } core::vector<system::path> listAssets(const char* asset_path) override { core::vector<system::path> result; auto context_object = activity->clazz; auto getAssets_method = env->GetMethodID(env->GetObjectClass(context_object), "getAssets", "()Landroid/content/res/AssetManager;"); auto assetManager_object = env->CallObjectMethod(context_object, getAssets_method); auto list_method = env->GetMethodID(env->GetObjectClass(assetManager_object), "list", "(Ljava/lang/String;)[Ljava/lang/String;"); jstring path_object = env->NewStringUTF(asset_path); auto files_object = (jobjectArray)env->CallObjectMethod(assetManager_object, list_method, path_object); env->DeleteLocalRef(path_object); auto length = env->GetArrayLength(files_object); for (int i = 0; i < length; i++) { jstring jstr = (jstring)env->GetObjectArrayElement(files_object, i); const char* filename = env->GetStringUTFChars(jstr, nullptr); if (filename != nullptr) { if (std::string(asset_path) == "") result.push_back(std::string(filename)); else result.push_back((std::filesystem::path(asset_path) / filename).generic_string()); env->ReleaseStringUTFChars(jstr, filename); } env->DeleteLocalRef(jstr); } return result; } }; } #endif #endif
31.729412
160
0.743048
eee101088063cacbbb253cfe472bdb3185613ff9
1,479
h
C
src/foundation/job/task.h
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
11
2017-12-19T14:33:02.000Z
2022-03-26T00:34:48.000Z
src/foundation/job/task.h
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2018-05-28T10:32:32.000Z
2018-05-28T10:32:35.000Z
src/foundation/job/task.h
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2021-01-25T11:31:57.000Z
2021-01-25T11:31:57.000Z
#pragma once #include <functional> namespace sulphur { namespace foundation { /** * @struct sulphur::foundation::TaskHandle * @brief Strongly typed task handle * @todo Generalize the handle structs * @author Kenneth Buijssen */ struct TaskHandle { size_t id; //!< The internal task id referenced }; /** * @class sulphur::foundation::Task * @brief Executable task used for scheduling execution of functions in the thread pool * @see sulphur::foundation::ThreadPool * @author Kenneth Buijssen */ class Task { public: /** * @brief Create an empty task */ Task(); /** * @brief Create a task * @param[in] function (std::function<void()>) The function the task should execute */ explicit Task(std::function<void()> function); /** * @see blocker_ */ TaskHandle blocker() const; /** * @see blocker_ */ void set_blocker(TaskHandle blocker); /** * @see parent_ */ TaskHandle parent() const; /** * @see parent_ */ void set_parent(TaskHandle parent); protected: std::function<void()> function_; //!< The function the task executes TaskHandle blocker_; //!< Blocking task which must execute before the current task can run TaskHandle parent_; //!< Parent task of the current task }; } }
22.409091
97
0.572684
e195e491de3aebcb0fe539fb6c7f7822af0fba50
360
h
C
src/kernel/io/IO.h
dreamhopping/kernel
7875103d7a7301c5b31afeaf60557fab1ceafbfb
[ "MIT" ]
1
2021-05-15T15:33:13.000Z
2021-05-15T15:33:13.000Z
src/kernel/io/IO.h
dreamhopping/kernel
7875103d7a7301c5b31afeaf60557fab1ceafbfb
[ "MIT" ]
1
2021-07-13T20:24:59.000Z
2021-07-14T12:33:30.000Z
src/kernel/io/IO.h
dreamhopping/kernel
7875103d7a7301c5b31afeaf60557fab1ceafbfb
[ "MIT" ]
null
null
null
#ifndef KERNEL_IO_H #define KERNEL_IO_H #include <stdint.h> // NOLINT(modernize-deprecated-headers) #define COM1 0x3F8 class IO { public: static void printf(const char *string, ...); static void printc(char c); static void comwrite(uint16_t port, uint8_t value); static void pwrite(uint16_t port, uint8_t value); }; #endif //KERNEL_IO_H
18
59
0.716667
2dfbb1df9a811f8d16ed7c17a4fe81d42f17862e
3,075
h
C
src/include/baselib/core/Random.h
sturosier/swblocks-baselib
3f6ad1f34bbdef5824ab7c91344eec5b876fa718
[ "Apache-2.0" ]
30
2017-01-27T00:12:43.000Z
2021-04-02T23:33:49.000Z
src/include/baselib/core/Random.h
sha-shrestha/swblocks-baselib
f5d38ace39e386b233fa96239ba16cdedac765aa
[ "Apache-2.0" ]
33
2017-04-20T15:42:53.000Z
2021-01-24T14:04:07.000Z
src/include/baselib/core/Random.h
sha-shrestha/swblocks-baselib
f5d38ace39e386b233fa96239ba16cdedac765aa
[ "Apache-2.0" ]
29
2017-01-27T17:57:39.000Z
2021-09-09T01:06:35.000Z
/* * This file is part of the swblocks-baselib library. * * 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, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef __BL_RANDOM_H_ #define __BL_RANDOM_H_ #include <baselib/core/BaseIncludes.h> #include <baselib/core/detail/RandomBoostImports.h> namespace bl { namespace random { namespace detail { /** * @brief class Random */ template < typename E = void > class RandomUtilsT { public: template < typename T > static T getUniformRandomUnsignedValue( SAA_in const T maxValue ) { random::uniform_int_distribution< T > dist( 0, maxValue ); return dist( tlsData().random.urng() ); } static void getRandomBytes( SAA_out_bcount( bufferSize ) void* buffer, SAA_in const std::size_t bufferSize ) { BL_ASSERT( buffer ); BL_ASSERT( bufferSize ); random::uniform_int_distribution< unsigned short > dist( std::numeric_limits< unsigned char >::min(), std::numeric_limits< unsigned char >::max() ); unsigned char* p = ( unsigned char* ) buffer; auto& urng = tlsData().random.urng(); for( std::size_t i = 0U; i < bufferSize; ++i ) { p[ i ] = static_cast< unsigned char >( dist( urng ) ); } } }; typedef RandomUtilsT<> RandomUtils; } // detail template < typename T > T getUniformRandomUnsignedValue( SAA_in const T maxValue ) { return detail::RandomUtils::getUniformRandomUnsignedValue< T >( maxValue ); } static void getRandomBytes( SAA_out_bcount( bufferSize ) void* buffer, SAA_in const std::size_t bufferSize ) { detail::RandomUtils::getRandomBytes( buffer, bufferSize ); } } // random } // bl #endif /* __BL_RANDOM_H_ */
30.147059
106
0.484878
f6ef45b996bb37ae48f8192249de87b428ab0fd1
20,293
h
C
usr/include/cups/http.h
realthunder/mac-headers
88d4348d732fe95385faef950eb660626f9ff711
[ "BSD-2-Clause-FreeBSD" ]
7
2018-01-16T08:47:19.000Z
2021-11-25T09:46:44.000Z
drag0n.app/Contents/System/usr/lib/clang/5.0/include/cups/http.h
IngwiePhoenix/drag0n
c2ed002529692d3d79924762427cbe608ea06c0e
[ "BSD-4-Clause-UC", "MIT" ]
null
null
null
drag0n.app/Contents/System/usr/lib/clang/5.0/include/cups/http.h
IngwiePhoenix/drag0n
c2ed002529692d3d79924762427cbe608ea06c0e
[ "BSD-4-Clause-UC", "MIT" ]
8
2015-07-18T17:12:07.000Z
2020-07-09T14:17:26.000Z
/* * "$Id: http.h 7026 2007-10-19 00:57:45Z mike $" * * Hyper-Text Transport Protocol definitions for CUPS. * * Copyright 2007-2012 by Apple Inc. * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * These coded instructions, statements, and computer programs are the * property of Apple Inc. and are protected by Federal copyright * law. Distribution and use rights are outlined in the file "LICENSE.txt" * which should have been included with this file. If this file is * file is missing or damaged, see the license at "http://www.cups.org/". * * This file is subject to the Apple OS-Developed Software exception. */ #ifndef _CUPS_HTTP_H_ # define _CUPS_HTTP_H_ /* * Include necessary headers... */ # include "versioning.h" # include "array.h" # include <string.h> # include <time.h> # include <sys/types.h> # ifdef WIN32 # ifndef __CUPS_SSIZE_T_DEFINED # define __CUPS_SSIZE_T_DEFINED /* Windows does not support the ssize_t type, so map it to off_t... */ typedef off_t ssize_t; /* @private@ */ # endif /* !__CUPS_SSIZE_T_DEFINED */ # include <winsock2.h> # include <ws2tcpip.h> # else # ifdef __sgi # define INET6 /* IRIX IPv6 support... */ # endif /* __sgi */ # include <unistd.h> # include <sys/time.h> # include <sys/socket.h> # include <netdb.h> # include <netinet/in.h> # include <arpa/inet.h> # include <netinet/in_systm.h> # include <netinet/ip.h> # if !defined(__APPLE__) || !defined(TCP_NODELAY) # include <netinet/tcp.h> # endif /* !__APPLE__ || !TCP_NODELAY */ # if defined(AF_UNIX) && !defined(AF_LOCAL) # define AF_LOCAL AF_UNIX /* Older UNIX's have old names... */ # endif /* AF_UNIX && !AF_LOCAL */ # ifdef AF_LOCAL # include <sys/un.h> # endif /* AF_LOCAL */ # if defined(LOCAL_PEERCRED) && !defined(SO_PEERCRED) # define SO_PEERCRED LOCAL_PEERCRED # endif /* LOCAL_PEERCRED && !SO_PEERCRED */ # endif /* WIN32 */ /* * C++ magic... */ # ifdef __cplusplus extern "C" { # endif /* __cplusplus */ /* * Oh, the wonderful world of IPv6 compatibility. Apparently some * implementations expose the (more logical) 32-bit address parts * to everyone, while others only expose it to kernel code... To * make supporting IPv6 even easier, each vendor chose different * core structure and union names, so the same defines or code * can't be used on all platforms. * * The following will likely need tweaking on new platforms that * support IPv6 - the "s6_addr32" define maps to the 32-bit integer * array in the in6_addr union, which is named differently on various * platforms. */ #if defined(AF_INET6) && !defined(s6_addr32) # if defined(__sun) # define s6_addr32 _S6_un._S6_u32 # elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)|| defined(__DragonFly__) # define s6_addr32 __u6_addr.__u6_addr32 # elif defined(__osf__) # define s6_addr32 s6_un.sa6_laddr # elif defined(WIN32) /* * Windows only defines byte and 16-bit word members of the union and * requires special casing of all raw address code... */ # define s6_addr32 error_need_win32_specific_code # endif /* __sun */ #endif /* AF_INET6 && !s6_addr32 */ /* * Limits... */ # define HTTP_MAX_URI 1024 /* Max length of URI string */ # define HTTP_MAX_HOST 256 /* Max length of hostname string */ # define HTTP_MAX_BUFFER 2048 /* Max length of data buffer */ # define HTTP_MAX_VALUE 256 /* Max header field value length */ /* * Types and structures... */ typedef enum http_auth_e /**** HTTP authentication types ****/ { HTTP_AUTH_NONE, /* No authentication in use */ HTTP_AUTH_BASIC, /* Basic authentication in use */ HTTP_AUTH_MD5, /* Digest authentication in use */ HTTP_AUTH_MD5_SESS, /* MD5-session authentication in use */ HTTP_AUTH_MD5_INT, /* Digest authentication in use for body */ HTTP_AUTH_MD5_SESS_INT, /* MD5-session authentication in use for body */ HTTP_AUTH_NEGOTIATE /* GSSAPI authentication in use @since CUPS 1.3/OS X 10.5@ */ } http_auth_t; typedef enum http_encoding_e /**** HTTP transfer encoding values ****/ { HTTP_ENCODE_LENGTH, /* Data is sent with Content-Length */ HTTP_ENCODE_CHUNKED, /* Data is chunked */ HTTP_ENCODE_FIELDS /* Sending HTTP fields */ } http_encoding_t; typedef enum http_encryption_e /**** HTTP encryption values ****/ { HTTP_ENCRYPT_IF_REQUESTED, /* Encrypt if requested (TLS upgrade) */ HTTP_ENCRYPT_NEVER, /* Never encrypt */ HTTP_ENCRYPT_REQUIRED, /* Encryption is required (TLS upgrade) */ HTTP_ENCRYPT_ALWAYS /* Always encrypt (SSL) */ } http_encryption_t; typedef enum http_field_e /**** HTTP field names ****/ { HTTP_FIELD_UNKNOWN = -1, /* Unknown field */ HTTP_FIELD_ACCEPT_LANGUAGE, /* Accept-Language field */ HTTP_FIELD_ACCEPT_RANGES, /* Accept-Ranges field */ HTTP_FIELD_AUTHORIZATION, /* Authorization field */ HTTP_FIELD_CONNECTION, /* Connection field */ HTTP_FIELD_CONTENT_ENCODING, /* Content-Encoding field */ HTTP_FIELD_CONTENT_LANGUAGE, /* Content-Language field */ HTTP_FIELD_CONTENT_LENGTH, /* Content-Length field */ HTTP_FIELD_CONTENT_LOCATION, /* Content-Location field */ HTTP_FIELD_CONTENT_MD5, /* Content-MD5 field */ HTTP_FIELD_CONTENT_RANGE, /* Content-Range field */ HTTP_FIELD_CONTENT_TYPE, /* Content-Type field */ HTTP_FIELD_CONTENT_VERSION, /* Content-Version field */ HTTP_FIELD_DATE, /* Date field */ HTTP_FIELD_HOST, /* Host field */ HTTP_FIELD_IF_MODIFIED_SINCE, /* If-Modified-Since field */ HTTP_FIELD_IF_UNMODIFIED_SINCE, /* If-Unmodified-Since field */ HTTP_FIELD_KEEP_ALIVE, /* Keep-Alive field */ HTTP_FIELD_LAST_MODIFIED, /* Last-Modified field */ HTTP_FIELD_LINK, /* Link field */ HTTP_FIELD_LOCATION, /* Location field */ HTTP_FIELD_RANGE, /* Range field */ HTTP_FIELD_REFERER, /* Referer field */ HTTP_FIELD_RETRY_AFTER, /* Retry-After field */ HTTP_FIELD_TRANSFER_ENCODING, /* Transfer-Encoding field */ HTTP_FIELD_UPGRADE, /* Upgrade field */ HTTP_FIELD_USER_AGENT, /* User-Agent field */ HTTP_FIELD_WWW_AUTHENTICATE, /* WWW-Authenticate field */ HTTP_FIELD_MAX /* Maximum field index */ } http_field_t; typedef enum http_keepalive_e /**** HTTP keep-alive values ****/ { HTTP_KEEPALIVE_OFF = 0, /* No keep alive support */ HTTP_KEEPALIVE_ON /* Use keep alive */ } http_keepalive_t; typedef enum http_state_e /**** HTTP state values; states **** are server-oriented... ****/ { HTTP_WAITING, /* Waiting for command */ HTTP_OPTIONS, /* OPTIONS command, waiting for blank line */ HTTP_GET, /* GET command, waiting for blank line */ HTTP_GET_SEND, /* GET command, sending data */ HTTP_HEAD, /* HEAD command, waiting for blank line */ HTTP_POST, /* POST command, waiting for blank line */ HTTP_POST_RECV, /* POST command, receiving data */ HTTP_POST_SEND, /* POST command, sending data */ HTTP_PUT, /* PUT command, waiting for blank line */ HTTP_PUT_RECV, /* PUT command, receiving data */ HTTP_DELETE, /* DELETE command, waiting for blank line */ HTTP_TRACE, /* TRACE command, waiting for blank line */ HTTP_CLOSE, /* CLOSE command, waiting for blank line */ HTTP_STATUS /* Command complete, sending status */ } http_state_t; typedef enum http_status_e /**** HTTP status codes ****/ { HTTP_ERROR = -1, /* An error response from httpXxxx() */ HTTP_CONTINUE = 100, /* Everything OK, keep going... */ HTTP_SWITCHING_PROTOCOLS, /* HTTP upgrade to TLS/SSL */ HTTP_OK = 200, /* OPTIONS/GET/HEAD/POST/TRACE command was successful */ HTTP_CREATED, /* PUT command was successful */ HTTP_ACCEPTED, /* DELETE command was successful */ HTTP_NOT_AUTHORITATIVE, /* Information isn't authoritative */ HTTP_NO_CONTENT, /* Successful command, no new data */ HTTP_RESET_CONTENT, /* Content was reset/recreated */ HTTP_PARTIAL_CONTENT, /* Only a partial file was recieved/sent */ HTTP_MULTIPLE_CHOICES = 300, /* Multiple files match request */ HTTP_MOVED_PERMANENTLY, /* Document has moved permanently */ HTTP_MOVED_TEMPORARILY, /* Document has moved temporarily */ HTTP_SEE_OTHER, /* See this other link... */ HTTP_NOT_MODIFIED, /* File not modified */ HTTP_USE_PROXY, /* Must use a proxy to access this URI */ HTTP_BAD_REQUEST = 400, /* Bad request */ HTTP_UNAUTHORIZED, /* Unauthorized to access host */ HTTP_PAYMENT_REQUIRED, /* Payment required */ HTTP_FORBIDDEN, /* Forbidden to access this URI */ HTTP_NOT_FOUND, /* URI was not found */ HTTP_METHOD_NOT_ALLOWED, /* Method is not allowed */ HTTP_NOT_ACCEPTABLE, /* Not Acceptable */ HTTP_PROXY_AUTHENTICATION, /* Proxy Authentication is Required */ HTTP_REQUEST_TIMEOUT, /* Request timed out */ HTTP_CONFLICT, /* Request is self-conflicting */ HTTP_GONE, /* Server has gone away */ HTTP_LENGTH_REQUIRED, /* A content length or encoding is required */ HTTP_PRECONDITION, /* Precondition failed */ HTTP_REQUEST_TOO_LARGE, /* Request entity too large */ HTTP_URI_TOO_LONG, /* URI too long */ HTTP_UNSUPPORTED_MEDIATYPE, /* The requested media type is unsupported */ HTTP_REQUESTED_RANGE, /* The requested range is not satisfiable */ HTTP_EXPECTATION_FAILED, /* The expectation given in an Expect header field was not met */ HTTP_UPGRADE_REQUIRED = 426, /* Upgrade to SSL/TLS required */ HTTP_SERVER_ERROR = 500, /* Internal server error */ HTTP_NOT_IMPLEMENTED, /* Feature not implemented */ HTTP_BAD_GATEWAY, /* Bad gateway */ HTTP_SERVICE_UNAVAILABLE, /* Service is unavailable */ HTTP_GATEWAY_TIMEOUT, /* Gateway connection timed out */ HTTP_NOT_SUPPORTED, /* HTTP version not supported */ HTTP_AUTHORIZATION_CANCELED = 1000, /* User canceled authorization @since CUPS 1.4@ */ HTTP_PKI_ERROR, /* Error negotiating a secure connection @since CUPS 1.5/OS X 10.7@ */ HTTP_WEBIF_DISABLED /* Web interface is disabled @private@ */ } http_status_t; typedef enum http_uri_status_e /**** URI separation status @since CUPS 1.2@ ****/ { HTTP_URI_OVERFLOW = -8, /* URI buffer for httpAssembleURI is too small */ HTTP_URI_BAD_ARGUMENTS = -7, /* Bad arguments to function (error) */ HTTP_URI_BAD_RESOURCE = -6, /* Bad resource in URI (error) */ HTTP_URI_BAD_PORT = -5, /* Bad port number in URI (error) */ HTTP_URI_BAD_HOSTNAME = -4, /* Bad hostname in URI (error) */ HTTP_URI_BAD_USERNAME = -3, /* Bad username in URI (error) */ HTTP_URI_BAD_SCHEME = -2, /* Bad scheme in URI (error) */ HTTP_URI_BAD_URI = -1, /* Bad/empty URI (error) */ HTTP_URI_OK = 0, /* URI decoded OK */ HTTP_URI_MISSING_SCHEME, /* Missing scheme in URI (warning) */ HTTP_URI_UNKNOWN_SCHEME, /* Unknown scheme in URI (warning) */ HTTP_URI_MISSING_RESOURCE /* Missing resource in URI (warning) */ } http_uri_status_t; typedef enum http_uri_coding_e /**** URI en/decode flags ****/ { HTTP_URI_CODING_NONE = 0, /* Don't en/decode anything */ HTTP_URI_CODING_USERNAME = 1, /* En/decode the username portion */ HTTP_URI_CODING_HOSTNAME = 2, /* En/decode the hostname portion */ HTTP_URI_CODING_RESOURCE = 4, /* En/decode the resource portion */ HTTP_URI_CODING_MOST = 7, /* En/decode all but the query */ HTTP_URI_CODING_QUERY = 8, /* En/decode the query portion */ HTTP_URI_CODING_ALL = 15 /* En/decode everything */ } http_uri_coding_t; typedef enum http_version_e /**** HTTP version numbers ****/ { HTTP_0_9 = 9, /* HTTP/0.9 */ HTTP_1_0 = 100, /* HTTP/1.0 */ HTTP_1_1 = 101 /* HTTP/1.1 */ } http_version_t; typedef union _http_addr_u /**** Socket address union, which **** makes using IPv6 and other **** address types easier and **** more portable. @since CUPS 1.2/OS X 10.5@ ****/ { struct sockaddr addr; /* Base structure for family value */ struct sockaddr_in ipv4; /* IPv4 address */ #ifdef AF_INET6 struct sockaddr_in6 ipv6; /* IPv6 address */ #endif /* AF_INET6 */ #ifdef AF_LOCAL struct sockaddr_un un; /* Domain socket file */ #endif /* AF_LOCAL */ char pad[256]; /* Padding to ensure binary compatibility */ } http_addr_t; typedef struct http_addrlist_s /**** Socket address list, which is **** used to enumerate all of the **** addresses that are associated **** with a hostname. @since CUPS 1.2/OS X 10.5@ ****/ { struct http_addrlist_s *next; /* Pointer to next address in list */ http_addr_t addr; /* Address */ } http_addrlist_t; typedef struct _http_s http_t; /**** HTTP connection type ****/ typedef struct http_credential_s /**** HTTP credential data @since CUPS 1.5/OS X 10.7@ ****/ { void *data; /* Pointer to credential data */ size_t datalen; /* Credential length */ } http_credential_t; typedef int (*http_timeout_cb_t)(http_t *http, void *user_data); /**** HTTP timeout callback @since CUPS 1.5/OS X 10.7@ ****/ /* * Prototypes... */ extern void httpBlocking(http_t *http, int b); extern int httpCheck(http_t *http); extern void httpClearFields(http_t *http); extern void httpClose(http_t *http); extern http_t *httpConnect(const char *host, int port); extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption); extern int httpDelete(http_t *http, const char *uri); extern int httpEncryption(http_t *http, http_encryption_t e); extern int httpError(http_t *http); extern void httpFlush(http_t *http); extern int httpGet(http_t *http, const char *uri); extern char *httpGets(char *line, int length, http_t *http); extern const char *httpGetDateString(time_t t); extern time_t httpGetDateTime(const char *s); extern const char *httpGetField(http_t *http, http_field_t field); extern struct hostent *httpGetHostByName(const char *name); extern char *httpGetSubField(http_t *http, http_field_t field, const char *name, char *value); extern int httpHead(http_t *http, const char *uri); extern void httpInitialize(void); extern int httpOptions(http_t *http, const char *uri); extern int httpPost(http_t *http, const char *uri); extern int httpPrintf(http_t *http, const char *format, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int httpPut(http_t *http, const char *uri); extern int httpRead(http_t *http, char *buffer, int length) _CUPS_DEPRECATED; extern int httpReconnect(http_t *http); extern void httpSeparate(const char *uri, char *method, char *username, char *host, int *port, char *resource) _CUPS_DEPRECATED; extern void httpSetField(http_t *http, http_field_t field, const char *value); extern const char *httpStatus(http_status_t status); extern int httpTrace(http_t *http, const char *uri); extern http_status_t httpUpdate(http_t *http); extern int httpWrite(http_t *http, const char *buffer, int length) _CUPS_DEPRECATED; extern char *httpEncode64(char *out, const char *in) _CUPS_DEPRECATED; extern char *httpDecode64(char *out, const char *in) _CUPS_DEPRECATED; extern int httpGetLength(http_t *http) _CUPS_DEPRECATED; extern char *httpMD5(const char *, const char *, const char *, char [33]); extern char *httpMD5Final(const char *, const char *, const char *, char [33]); extern char *httpMD5String(const unsigned char *, char [33]); /**** New in CUPS 1.1.19 ****/ extern void httpClearCookie(http_t *http) _CUPS_API_1_1_19; extern const char *httpGetCookie(http_t *http) _CUPS_API_1_1_19; extern void httpSetCookie(http_t *http, const char *cookie) _CUPS_API_1_1_19; extern int httpWait(http_t *http, int msec) _CUPS_API_1_1_19; /**** New in CUPS 1.1.21 ****/ extern char *httpDecode64_2(char *out, int *outlen, const char *in) _CUPS_API_1_1_21; extern char *httpEncode64_2(char *out, int outlen, const char *in, int inlen) _CUPS_API_1_1_21; extern void httpSeparate2(const char *uri, char *method, int methodlen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) _CUPS_DEPRECATED; /**** New in CUPS 1.2/OS X 10.5 ****/ extern int httpAddrAny(const http_addr_t *addr) _CUPS_API_1_2; extern http_addrlist_t *httpAddrConnect(http_addrlist_t *addrlist, int *sock) _CUPS_API_1_2; extern int httpAddrEqual(const http_addr_t *addr1, const http_addr_t *addr2) _CUPS_API_1_2; extern void httpAddrFreeList(http_addrlist_t *addrlist) _CUPS_API_1_2; extern http_addrlist_t *httpAddrGetList(const char *hostname, int family, const char *service) _CUPS_API_1_2; extern int httpAddrLength(const http_addr_t *addr) _CUPS_API_1_2; extern int httpAddrLocalhost(const http_addr_t *addr) _CUPS_API_1_2; extern char *httpAddrLookup(const http_addr_t *addr, char *name, int namelen) _CUPS_API_1_2; extern char *httpAddrString(const http_addr_t *addr, char *s, int slen) _CUPS_API_1_2; extern http_uri_status_t httpAssembleURI(http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resource) _CUPS_API_1_2; extern http_uri_status_t httpAssembleURIf(http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resourcef, ...) _CUPS_API_1_2; extern int httpFlushWrite(http_t *http) _CUPS_API_1_2; extern int httpGetBlocking(http_t *http) _CUPS_API_1_2; extern const char *httpGetDateString2(time_t t, char *s, int slen) _CUPS_API_1_2; extern int httpGetFd(http_t *http) _CUPS_API_1_2; extern const char *httpGetHostname(http_t *http, char *s, int slen) _CUPS_API_1_2; extern off_t httpGetLength2(http_t *http) _CUPS_API_1_2; extern http_status_t httpGetStatus(http_t *http) _CUPS_API_1_2; extern char *httpGetSubField2(http_t *http, http_field_t field, const char *name, char *value, int valuelen) _CUPS_API_1_2; extern ssize_t httpRead2(http_t *http, char *buffer, size_t length) _CUPS_API_1_2; extern http_uri_status_t httpSeparateURI(http_uri_coding_t decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) _CUPS_API_1_2; extern void httpSetExpect(http_t *http, http_status_t expect) _CUPS_API_1_2; extern void httpSetLength(http_t *http, size_t length) _CUPS_API_1_2; extern ssize_t httpWrite2(http_t *http, const char *buffer, size_t length) _CUPS_API_1_2; /**** New in CUPS 1.3/OS X 10.5 ****/ extern char *httpGetAuthString(http_t *http) _CUPS_API_1_3; extern void httpSetAuthString(http_t *http, const char *scheme, const char *data) _CUPS_API_1_3; /**** New in CUPS 1.5/OS X 10.7 ****/ extern int httpAddCredential(cups_array_t *credentials, const void *data, size_t datalen) _CUPS_API_1_5; extern int httpCopyCredentials(http_t *http, cups_array_t **credentials) _CUPS_API_1_5; extern void httpFreeCredentials(cups_array_t *certs) _CUPS_API_1_5; extern int httpSetCredentials(http_t *http, cups_array_t *certs) _CUPS_API_1_5; extern void httpSetTimeout(http_t *http, double timeout, http_timeout_cb_t cb, void *user_data) _CUPS_API_1_5; /**** New in CUPS 1.6/OS X 10.8 ****/ extern http_addrlist_t *httpAddrConnect2(http_addrlist_t *addrlist, int *sock, int msec, int *cancel) _CUPS_API_1_6; extern http_state_t httpGetState(http_t *http) _CUPS_API_1_6; extern http_version_t httpGetVersion(http_t *http) _CUPS_API_1_6; extern int httpReconnect2(http_t *http, int msec, int *cancel) _CUPS_API_1_6; /* * C++ magic... */ # ifdef __cplusplus } # endif /* __cplusplus */ #endif /* !_CUPS_HTTP_H_ */ /* * End of "$Id: http.h 7026 2007-10-19 00:57:45Z mike $". */
41.669405
122
0.695461
6e81ffc49c03e4084a998bda7872e026d6f15689
1,379
h
C
PrivateFrameworks/UXKit/NSView-UXKit.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
17
2018-11-13T04:02:58.000Z
2022-01-20T09:27:13.000Z
PrivateFrameworks/UXKit/NSView-UXKit.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
3
2018-04-06T02:02:27.000Z
2018-10-02T01:12:10.000Z
PrivateFrameworks/UXKit/NSView-UXKit.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
1
2018-09-28T13:54:23.000Z
2018-09-28T13:54:23.000Z
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSView.h" #import "UXKitAppearance.h" @class NSColor, NSString; @interface NSView (UXKit) <UXKitAppearance> - (double)ux_backingScaleFactor; - (id)enclosingViewOfClass:(Class)arg1; - (void)tintColorDidChange; @property(nonatomic) long long tintAdjustmentMode; @property(retain, nonatomic) NSColor *tintColor; - (void)setContentCompressionResistancePriority:(float)arg1 forAxis:(long long)arg2; - (float)contentCompressionResistancePriorityForAxis:(long long)arg1; - (void)setContentHuggingPriority:(float)arg1 forAxis:(long long)arg2; - (float)contentHuggingPriorityForAxis:(long long)arg1; @property(nonatomic) double alpha; - (BOOL)pointInside:(struct CGPoint)arg1 withEvent:(id)arg2; - (void)layoutIfNeeded; - (void)layoutSubviews; - (void)setNeedsUpdateConstraints; - (void)updateConstraintsIfNeeded; - (void)setNeedsDisplay; - (void)setNeedsLayout; - (void)didMoveToWindow; // Remaining properties @property(copy) NSColor *backgroundColor; // @dynamic backgroundColor; @property(readonly, copy) NSString *debugDescription; @property(readonly, copy) NSString *description; @property(readonly) unsigned long long hash; @property(readonly, nonatomic, getter=isHidden) BOOL hidden; @property(readonly) Class superclass; @end
32.833333
84
0.7781
050e807e0bbe1a00a4737975a56b8860cce3d31c
1,809
h
C
lib/Runtime/Base/ScriptContextBase.h
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
8,664
2016-01-13T17:33:19.000Z
2019-05-06T19:55:36.000Z
lib/Runtime/Base/ScriptContextBase.h
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
5,058
2016-01-13T17:57:02.000Z
2019-05-04T15:41:54.000Z
lib/Runtime/Base/ScriptContextBase.h
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
1,367
2016-01-13T17:54:57.000Z
2019-04-29T18:16:27.000Z
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------------------------------------------------------- ////////////////////////////////////////////////////////// // Should we remove this?? // ScriptContextBase.h is used by static lib shared between host and chakra. We need to keep // the size consistent and try not to change its size. We need to have matching mshtml.dll // if the size changed here. ///////////////////////////////////////////////////////// #pragma once interface IActiveScriptDirect; namespace Js { class GlobalObject; class JavascriptLibrary; class ScriptContextBase { public: ScriptContextBase(): javascriptLibrary(nullptr), globalObject(nullptr), isClosed(false), pActiveScriptDirect(nullptr) {} JavascriptLibrary* GetLibrary() const { return javascriptLibrary; } void SetLibrary(JavascriptLibrary* library) { javascriptLibrary = library;} void SetGlobalObject(GlobalObject *globalObject); GlobalObject* GetGlobalObject() const { return globalObject; } IActiveScriptDirect* GetActiveScriptDirect() { return this->pActiveScriptDirect; } void SetActiveScriptDirect(IActiveScriptDirect* pActiveScriptDirect) { this->pActiveScriptDirect = pActiveScriptDirect; } protected: JavascriptLibrary* javascriptLibrary; GlobalObject* globalObject; bool isClosed; IActiveScriptDirect* pActiveScriptDirect; }; }
36.918367
105
0.562189
40c70a3e92b0da1bb439910a3bf685e6806e57c7
662
c
C
c/ooc/visitor/validator.c
y2ghost/study
c5278611b0a732fe19e3d805c0c079e530b1d3b2
[ "MIT" ]
null
null
null
c/ooc/visitor/validator.c
y2ghost/study
c5278611b0a732fe19e3d805c0c079e530b1d3b2
[ "MIT" ]
null
null
null
c/ooc/visitor/validator.c
y2ghost/study
c5278611b0a732fe19e3d805c0c079e530b1d3b2
[ "MIT" ]
null
null
null
#include "validator.h" #include <stdio.h> bool validate_range(validator_t *v, int val) { range_validator_t *rv = (range_validator_t*)v; return rv->min <= val && val <= rv->max; } bool validate_previous(validator_t *v, int val) { previous_validator_t *pv = (previous_validator_t *)v; if (val < pv->previous) { return false; } pv->previous = val; return true; } void accept_range(validator_t *v, validator_visitor_t *visitor) { visitor->visit_range(visitor, (range_validator_t*)v); } void accept_previous(validator_t *v, validator_visitor_t *visitor) { visitor->visit_previous(visitor, (previous_validator_t*)v); }
22.066667
66
0.693353
09e41037f38d9ac3fcbfea9342864dc51cb783b6
6,189
h
C
src/libcpphaggle/include/libcpphaggle/Watch.h
eebenson/haggle
c461667b079934fa03b1ebb472ca67641a3d1140
[ "Apache-2.0" ]
null
null
null
src/libcpphaggle/include/libcpphaggle/Watch.h
eebenson/haggle
c461667b079934fa03b1ebb472ca67641a3d1140
[ "Apache-2.0" ]
null
null
null
src/libcpphaggle/include/libcpphaggle/Watch.h
eebenson/haggle
c461667b079934fa03b1ebb472ca67641a3d1140
[ "Apache-2.0" ]
null
null
null
/* Copyright 2008-2009 Uppsala University * * 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, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef _WATCH_H #define _WATCH_H #include <haggleutils.h> #include "Platform.h" #include "Timeval.h" #include "Signal.h" namespace haggle { /* This is a platform independent wrapper class for waiting on objects, e.g., file descriptors, sockets, generic events, etc. It is cancelable on all platforms when called from a running thread, i.e., on Windows when someone calls thread->cancel(), the wait function will notice through the current thread's exit signal. */ typedef enum { WATCHABLE_TYPE_SOCKET, WATCHABLE_TYPE_SIGNAL, #if defined(OS_WINDOWS) WATCHABLE_TYPE_HANDLE, #endif } WatchableType_t; /* A Wrapper for things to watch. */ class Watchable { friend class Watch; WatchableType_t type; SOCKET s; #if defined(OS_WINDOWS) HANDLE h; public: Watchable(HANDLE _h); HANDLE getHandle() const; #else public: #endif Watchable(SOCKET _s); Watchable(Signal& sig); virtual ~Watchable(); WatchableType_t getType() const; const char *getStr() const; bool isValid() const; SOCKET getSocket() const; friend bool operator==(const Watchable& w1, const Watchable& w2); friend bool operator==(const SOCKET s, const Watchable& w); friend bool operator==(const Watchable& w1, const SOCKET s); friend bool operator==(const Signal& s, const Watchable& w); friend bool operator==(const Watchable& w, const Signal& s); friend bool operator!=(const Watchable& w1, const Watchable& w2); friend bool operator!=(const SOCKET s, const Watchable& w); friend bool operator!=(const Watchable& w1, const SOCKET s); friend bool operator!=(const Signal& s, const Watchable& w); friend bool operator!=(const Watchable& w, const Signal& s); #if defined (OS_WINDOWS) friend bool operator==(const HANDLE h, const Watchable& w); friend bool operator==(const Watchable& w1, const HANDLE h); friend bool operator!=(const HANDLE h, const Watchable& w); friend bool operator!=(const Watchable& w1, const HANDLE h); #endif friend bool operator<(const Watchable& w1, const Watchable& w2); friend bool operator>(const Watchable& w1, const Watchable& w2); }; // This number cannot be too low. The kernel can use quite a lot of sockets and // other watchable objects in its event loop #define WATCH_MAX_NUM_OBJECTS 20 #define WATCH_OBJECT_INDEX_MIN 0 #define WATCH_OBJECT_INDEX_MAX (WATCH_MAX_NUM_OBJECTS-1) /* Watch flags that determine which events to watch for each watchable item. */ #define WATCH_STATE_NONE 0x0 #define WATCH_STATE_READ 0x1 #define WATCH_STATE_WRITE 0x2 #define WATCH_STATE_EXCEPTION 0x4 #define WATCH_STATE_ALL (WATCH_STATE_READ | WATCH_STATE_WRITE | WATCH_STATE_EXCEPTION) #define WATCH_STATE_DEFAULT (WATCH_STATE_READ) /** */ class Watch { private: #if defined(OS_WINDOWS) struct { SOCKET sock; bool isValid; } waitSockets[WATCH_MAX_NUM_OBJECTS]; HANDLE objects[WATCH_MAX_NUM_OBJECTS]; // The object handles to watch#if defined(OS_WINDOWS) int addhandle(HANDLE h, u_int8_t state); #else int objects[WATCH_MAX_NUM_OBJECTS]; // The object file descriptors to watch #endif u_int8_t objectStates[WATCH_MAX_NUM_OBJECTS]; // The states to watch for u_int8_t objectIsSet[WATCH_MAX_NUM_OBJECTS]; // The states currently set int numObjects; Timeval absoluteTimeout; // Time when waiting was started bool timeoutValid; // True when absolute timeout is set Signal *s; int addsock(SOCKET sock, u_int8_t state); public: enum { FAILED = -1, TIMEOUT = 0, SET = 1, ABANDONED = 2, }; /* Add objects to watch set. Returns -1 on error or an index between 0 and WATCH_OBJECT_INDEX_MAX. When a wait returns, the index can be used to see if the object was set. */ int add(Watchable wbl, u_int8_t state = WATCH_STATE_DEFAULT); /** Wait on the objects added to the Watch. If timeToWait is NULL, then the timeout will be infinate. To know exactly which objects that are set, call isSet() using the index of a particular object that was returned by add()/addsocket(). @returns Watch::FAILED if there was an error, Watch::TIMEOUT if there was a timeout, Watch::SET if at least one watched object is set, or Watch::ABANDONED if the Watch was abandoned (this usually happens when a thread should exit). */ int wait(const Timeval *timeout = NULL); /** Convenience function to wait a specified number of milliseconds. @param milliseconds the number of milliseconds to wait @returns see add() */ int waitTimeout(unsigned long milliseconds); /** After a timeout, this can be used to retreive the remaining time for the timeout. @returns true on success, false on error (e.g., this function is called when the remaining time has already passed). */ bool getRemainingTime(Timeval *remaining); /* Remove all objects from watch set */ void clear(); /* Reset status of objects, i.e., they will remain in the wait set, but they will no longer be "set"/signaled. */ void reset(); /* Check if ANY of the states are set according to the function argument "state". If WATCH_STATE_NONE is given, the state used is the one given when the object was first added to the watch. */ bool isSet(int objectIndex, u_int8_t state = WATCH_STATE_NONE); bool isReadable(int objectIndex) { return isSet(objectIndex, WATCH_STATE_READ); } bool isWriteable(int objectIndex) { return isSet(objectIndex, WATCH_STATE_WRITE); } bool isReadOrWriteable(int objectIndex) { return isSet(objectIndex, WATCH_STATE_READ | WATCH_STATE_WRITE); } Watch(void); ~Watch(void); }; }; // namespace haggle #endif /* _WATCH */
31.576531
109
0.737114
672455229cf844617210396f538db24c3ae901ec
1,820
h
C
lang.h
jansenarruda/LilyGo-EPD-47-OWM-Weather-Display
9ee7c052e7a1aad857cb865decc80686c502324e
[ "Unlicense" ]
9
2021-04-14T14:48:48.000Z
2022-02-16T20:57:19.000Z
lang.h
Uspizig/LilyGo-EPD-47-OWM-Weather-Display
1315ab05a7b3041df0afec9b96c0608259504e80
[ "Unlicense" ]
1
2021-12-12T17:08:33.000Z
2022-02-17T23:11:19.000Z
lang.h
jansenarruda/LilyGo-EPD-47-OWM-Weather-Display
9ee7c052e7a1aad857cb865decc80686c502324e
[ "Unlicense" ]
10
2021-06-10T15:49:39.000Z
2022-03-27T19:16:02.000Z
#define FONT(x) x##_tf //Temperature - Humidity - Forecast const String TXT_TEMPERATURE_C = "Temperature (°C)"; const String TXT_TEMPERATURE_F = "Temperature (°F)"; const String TXT_HUMIDITY_PERCENT = "Humidity (%)"; // Pressure const String TXT_PRESSURE_HPA = "Pressure (hPa)"; const String TXT_PRESSURE_IN = "Pressure (in)"; //RainFall / SnowFall const String TXT_RAINFALL_MM = "Rainfall (mm)"; const String TXT_RAINFALL_IN = "Rainfall (in)"; const String TXT_SNOWFALL_MM = "Snowfall (mm)"; const String TXT_SNOWFALL_IN = "Snowfall (in)"; //Moon const String TXT_MOON_NEW = "New"; const String TXT_MOON_WAXING_CRESCENT = "Waxing Crescent"; const String TXT_MOON_FIRST_QUARTER = "First Quarter"; const String TXT_MOON_WAXING_GIBBOUS = "Waxing Gibbous"; const String TXT_MOON_FULL = "Full"; const String TXT_MOON_WANING_GIBBOUS = "Waning Gibbous"; const String TXT_MOON_THIRD_QUARTER = "Third Quarter"; const String TXT_MOON_WANING_CRESCENT = "Waning Crescent"; //Wind const String TXT_WIND_SPEED_DIRECTION = "Wind Speed/Direction"; const String TXT_N = "N"; const String TXT_NNE = "NNE"; const String TXT_NE = "NE"; const String TXT_ENE = "ENE"; const String TXT_E = "E"; const String TXT_ESE = "ESE"; const String TXT_SE = "SE"; const String TXT_SSE = "SSE"; const String TXT_S = "S"; const String TXT_SSW = "SSW"; const String TXT_SW = "SW"; const String TXT_WSW = "WSW"; const String TXT_W = "W"; const String TXT_WNW = "WNW"; const String TXT_NW = "NW"; const String TXT_NNW = "NNW"; //Day of the week const char* weekday_D[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; //Month const char* month_M[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
35
112
0.67033
8cfdf664e1abcb96c09659a9006bc32dcca46cd0
3,060
h
C
Source/Dynamics/FastMultiphaseSPH/pbal/core/grid/grid_mac2.h
weikm/sandcarSimulation2
fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a
[ "Apache-2.0" ]
null
null
null
Source/Dynamics/FastMultiphaseSPH/pbal/core/grid/grid_mac2.h
weikm/sandcarSimulation2
fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a
[ "Apache-2.0" ]
null
null
null
Source/Dynamics/FastMultiphaseSPH/pbal/core/grid/grid_mac2.h
weikm/sandcarSimulation2
fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a
[ "Apache-2.0" ]
null
null
null
#pragma once #include <core/math/vec.h> #include <core/array/array_ptr2.h> #include <core/array/const_array_ptr2.h> namespace pbal { template <typename T> class GridMac2 { private: std::vector<T> _u, _v; Size2 _uSize, _vSize; Vec2<T> _spacing; Vec2<T> _uOrigin, _vOrigin; public: GridMac2() {} GridMac2(Size2 sz, Vec2<T> sp, Vec2<T> ori) { resize(sz, sp, ori); } ~GridMac2() { clear(); _u.shrink_to_fit(); _v.shrink_to_fit(); } void set(const T& value) { std::fill(_u.begin(), _u.end(), value); std::fill(_v.begin(), _v.end(), value); } void set(const GridMac2& other) { _u = other._u; _v = other._v; _uSize = other._uSize; _vSize = other._vSize; _spacing = other._spacing; _uOrigin = other._uOrigin; _vOrigin = other._vOrigin; } void clear() { _u.clear(); _v.clear(); } void resize(Size2 sz, Vec2<T> sp, Vec2<T> ori, T initVal = T()) { clear(); _spacing = sp; _uOrigin = ori + Vec2<T>(static_cast<T>(0.0), static_cast<T>(0.5 * _spacing.y)); _vOrigin = ori + Vec2<T>(static_cast<T>(0.5 * _spacing.x), static_cast<T>(0.0)); auto _size = sz; _uSize = Size2(_size.x + 1, _size.y); _vSize = Size2(_size.x, _size.y + 1); _u.resize(_uSize.x * _uSize.y, initVal); _v.resize(_vSize.x * _vSize.y, initVal); } Size2 uSize() const { return _uSize; } Size2 vSize() const { return _vSize; } Vec2<T> uOrigin() const { return _uOrigin; } Vec2<T> vOrigin() const { return _vOrigin; } ArrayPtr2<T> uAccessor() { return ArrayPtr2<T>( reinterpret_cast<T*>(&_u[0]), _uSize); } ConstArrayPtr2<T> uConstAccessor() const { return ConstArrayPtr2<T>( _u.data(), _uSize); } ArrayPtr2<T> vAccessor() { return ArrayPtr2<T>( reinterpret_cast<T*>(&_v[0]), _vSize); } ConstArrayPtr2<T> vConstAccessor() const { return ConstArrayPtr2<T>( _v.data(), _vSize); } Vec2<T> uPosition(int i, int j) const { return _uOrigin + _spacing * Vec2<T>(static_cast<T>(i), static_cast<T>(j)); } Vec2<T> vPosition(int i, int j) const { return _vOrigin + _spacing * Vec2<T>(static_cast<T>(i), static_cast<T>(j)); } Vec2<T> sample(const Vec2<T>& pt) const { auto uVal = uConstAccessor().linearSample( pt, _spacing, _uOrigin); auto vVal = vConstAccessor().linearSample( pt, _spacing, _vOrigin); return Vec2<T>(uVal, vVal); } }; using GridMac2d = GridMac2<double>; using GridMac2f = GridMac2<float>; using GridMac2i = GridMac2<int>; } // namespace pbal
20.675676
88
0.518954
7b3edadf92049856c94d5769aed7e4e7595dcf43
18,632
c
C
drivers/serial/mps/cyclades/z/cyclad-z/cyzload.c
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
drivers/serial/mps/cyclades/z/cyclad-z/cyzload.c
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
drivers/serial/mps/cyclades/z/cyclad-z/cyzload.c
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*-------------------------------------------------------------------------- * * Copyright (C) Cyclades Corporation, 1997-2001. * All rights reserved. * * Cyclades-Z Enumerator Driver * * This file: cyzload.c * * Description: This is the firmware loader for the Cyclades-Z series * of multiport serial cards. * * Notes: This code supports Windows 2000 and Windows XP, * x86 and ia64 processors. * * Complies with Cyclades SW Coding Standard rev 1.3. * *-------------------------------------------------------------------------- */ /*------------------------------------------------------------------------- * * Change History * *-------------------------------------------------------------------------- * * *-------------------------------------------------------------------------- */ #include "pch.h" /*------------------------------- * * Prototypes * *-------------------------------- */ ULONG z_ident( Z_BOARD_IDENT board ); VOID z_block_copy( Z_BOARD_IDENT board, PVOID ptr, ULONG offset, ULONG size ); VOID z_fpga_copy( Z_BOARD_IDENT board, PVOID ptr, ULONG size ); VOID z_start_cpu( Z_BOARD_IDENT board ); //VOID //z_stop_cpu( // Z_BOARD_IDENT board //); // //int //z_fpga_check( // Z_BOARD_IDENT board //); // //VOID //z_reset_board( Z_BOARD_IDENT board ); HANDLE zl_fopen( PCWSTR file_name ); VOID zl_fclose( IN Z_STREAM NtFileHandle ); ULONG zl_fread( IN PVOID ptr, IN ULONG size, IN ULONG count, IN Z_STREAM stream, IN ULONG Uoffset ); VOID zl_delay( LONG number_of_ms ); #ifdef CHANGE_FOR_Z //#ifdef ALLOC_PRAGMA //#pragma alloc_text(INIT,z_load) //#pragma alloc_text(INIT,z_ident) //#pragma alloc_text(INIT,z_block_copy) //#pragma alloc_text(INIT,z_fpga_copy) //#pragma alloc_text(INIT,z_start_cpu) //#pragma alloc_text(INIT,zl_fopen) //#pragma alloc_text(INIT,zl_fclose) //#pragma alloc_text(INIT,zl_fread) //#pragma alloc_text(INIT,zl_delay) //#ifdef RESET_BOARD //#pragma alloc_text(PAGESER,z_reset_board) //#else //#pragma alloc_text(INIT,z_reset_board) //#endif //#pragma alloc_text(PAGESER,z_fpga_check) //#pragma alloc_text(PAGESER,z_stop_cpu) //#endif #endif #ifndef ZBUF_STACK static struct ZFILE_HEADER header; static struct ZFILE_CONFIG config; static struct ZFILE_BLOCK block; static char data[ZBUF_SIZE]; #endif /*------------------------------------------------------------------------ * * z_load( IN Z_BOARD_IDENT board, * IN UINT32 function, * IN PCWSTR filename ) * *------------------------------------------------------------------------- * * Description: Loads the Cyclades-Z Firmware. Returns a non-zero on error. * *------------------------------------------------------------------------- */ int z_load ( Z_BOARD_IDENT board, UINT32 function, PCWSTR filename) { unsigned long i; unsigned long dpmem; unsigned long count; Z_STREAM file; //********************* //size_t s, s2; //********************* unsigned long s,s2; unsigned long mailbox; unsigned long load_fpga_flag = TRUE; unsigned long first_time = TRUE; #ifdef ZBUF_STACK struct ZFILE_HEADER header; struct ZFILE_CONFIG config; struct ZFILE_BLOCK block; char data[ZBUF_SIZE]; #endif mailbox = z_ident(board); file = zl_fopen (filename); if (file!=NULL) { /* Read the header */ zl_fread (&header, sizeof(header), 1, file, 0); /* Find the correct configuration */ for (i=0; i<header.n_config; i++) { zl_fread (&config, sizeof(config), 1, file, header.config_offset + (sizeof(config)*i)); if (config.mailbox==mailbox && config.function==function) break; } /* Return error: No matching configuration */ if (i>=header.n_config) { zl_fclose (file); return (ZL_RET_NO_MATCHING_FW_CONFIG); } #ifndef DEBUG_LOAD if ((mailbox == 0) || (z_fpga_check(board))) { load_fpga_flag = FALSE; z_stop_cpu(board); } #endif #ifdef RESET_BOARD load_fpga_flag = TRUE; /* Reset the board */ z_reset_board (board); #endif /* Load each block */ for (i=0; i<config.n_blocks; i++) { /* Load block struct */ zl_fread (&block, sizeof(block), 1, file, header.block_offset+(sizeof(block)*config.block_list[i])); /* Load and Copy the data block */ count=0; s = block.size; while (s>0) { s2 = zl_min(ZBUF_SIZE,s); if (zl_fread (data, 1, s2, file, block.file_offset + count)!=0) { /* Call the copy function */ if (block.type==ZBLOCK_FPGA) { if (load_fpga_flag) { z_fpga_copy (board, data, s2); } } else { if (first_time) { CYZ_WRITE_ULONG(&((board->Runtime)->loc_addr_base), WIN_RAM); //Code added to debug pentium II //RtlFillMemory( (PUCHAR)board->BoardMemory, // board->DPMemSize, 0x00 ); for (dpmem=0; dpmem<board->BoardMemoryLength; dpmem++) { CYZ_WRITE_UCHAR(board->BoardMemory+dpmem,0x00); } first_time = FALSE; } z_block_copy (board, data, block.ram_offset + count, s2); } count += s2; s -= s2; } else { zl_fclose (file); return (ZL_RET_FILE_READ_ERROR); } } // end for (reading every ZBUF_SIZE) if (block.type==ZBLOCK_FPGA) { /* Delay for around for 1ms */ zl_delay(1); /* Is this needed? */ if (!z_fpga_check(board)) { zl_fclose(file); return(ZL_RET_FPGA_ERROR); } } } // end for (reading every block) zl_fclose (file); z_start_cpu(board); return (ZL_RET_SUCCESS); } else { /* Return error: Error opening file */ return (ZL_RET_FILE_OPEN_ERROR); } } /*------------------------------------------------------------------------ * * z_ident( IN Z_BOARD_IDENT board ) * *------------------------------------------------------------------------- * * Description: Returns the ID number (the mailbox reg) * *------------------------------------------------------------------------- */ ULONG z_ident( Z_BOARD_IDENT board ) { ULONG mailbox; mailbox = CYZ_READ_ULONG(&(board->Runtime)->mail_box_0); return (mailbox); } /*------------------------------------------------------------------------ * * z_reset_board( IN Z_BOARD_IDENT board ) * *------------------------------------------------------------------------- * * Description: Resets the board using the PLX registers. * *------------------------------------------------------------------------- */ VOID z_reset_board( Z_BOARD_IDENT board ) { ULONG sav_buf[12]; PULONG loc_reg; ULONG j; ULONG init_ctrl; LARGE_INTEGER d100ms = RtlConvertLongToLargeInteger(-100*10000); // Prepare board for reset. // The PLX9060 seems to destroy the local registers // when there is a hard reset. So, we save all // important registers before resetting the board. loc_reg = (ULONG *) board->Runtime; for (j=0; j<12; j++) { sav_buf[j] = CYZ_READ_ULONG(&loc_reg[j]); } // Reset board init_ctrl = CYZ_READ_ULONG(&(board->Runtime)->init_ctrl); init_ctrl |= 0x40000000; CYZ_WRITE_ULONG(&(board->Runtime)->init_ctrl,init_ctrl); KeDelayExecutionThread(KernelMode,FALSE,&d100ms); init_ctrl &= ~(0x40000000); CYZ_WRITE_ULONG(&(board->Runtime)->init_ctrl,init_ctrl); KeDelayExecutionThread(KernelMode,FALSE,&d100ms); // Restore loc conf registers for (j=0; j<12; j++) { CYZ_WRITE_ULONG(&loc_reg[j],sav_buf[j]); } } /*------------------------------------------------------------------------ * * z_block_copy( IN Z_BOARD_IDENT board, * IN PVOID ptr, * IN ULONG offset, * IN ULONG size ) * *------------------------------------------------------------------------- * * Description: This function should copy size bytes of data from the * buffer pointed to by ptr into the Cyclades-Z's memory starting at * offset. * *------------------------------------------------------------------------- */ VOID z_block_copy (Z_BOARD_IDENT board, PVOID ptr, ULONG offset, ULONG size) { //Code added to debug Pentium II // RtlCopyMemory( (PUCHAR)board->BoardMemory + offset, ptr, size ); ULONG numOfLongs; ULONG numOfBytes; numOfLongs = size/sizeof(ULONG); numOfBytes = size%sizeof(ULONG); while (numOfLongs--) { CYZ_WRITE_ULONG((PULONG)(board->BoardMemory + offset), *((PULONG)ptr)); //offset++; offset += sizeof(ULONG); ((PULONG)ptr)++; } while (numOfBytes--) { CYZ_WRITE_UCHAR((PUCHAR)board->BoardMemory + offset, *((PUCHAR)ptr)); offset++; ((PUCHAR)ptr)++; } } /*------------------------------------------------------------------------ * * z_fpga_copy( IN Z_BOARD_IDENT board, * IN PVOID ptr, * IN ULONG size ) * *------------------------------------------------------------------------- * * Description: This function is the same as z_block_copy, except the * offset is assumed to always be zero (and not increment) and the copy * is done one byte at a time. Essentially, this is the same as writing * a buffer to a byte-wide FIFO. * *------------------------------------------------------------------------- */ VOID z_fpga_copy (Z_BOARD_IDENT board, PVOID ptr, ULONG size) { int i; char *data; char *fpga; fpga = board->BoardMemory; data = (char *)ptr; while (size>0) { CYZ_WRITE_UCHAR(fpga,*data); KeStallExecutionProcessor(10); // wait 10 microseconds size--; data++; } } /*------------------------------------------------------------------------ * * z_fpga_check( IN Z_BOARD_IDENT board ) * *------------------------------------------------------------------------- * * Description: Returns 1 if FPGA is configured. * *------------------------------------------------------------------------- */ int z_fpga_check( Z_BOARD_IDENT board ) { if (CYZ_READ_ULONG(&(board->Runtime)->init_ctrl) & 0x00020000) { return 1; } else { return 0; } } /*------------------------------------------------------------------------ * * z_start_cpu( IN Z_BOARD_IDENT board ) * *------------------------------------------------------------------------- * * Description: Starts CPU. * *------------------------------------------------------------------------- */ VOID z_start_cpu( Z_BOARD_IDENT board ) { CYZ_WRITE_ULONG(&(board->Runtime)->loc_addr_base,WIN_CREG); CYZ_WRITE_ULONG(&((struct CUSTOM_REG *) board->BoardMemory)->cpu_start, 0x00000000); CYZ_WRITE_ULONG(&(board->Runtime)->loc_addr_base,WIN_RAM); } /*------------------------------------------------------------------------ * * z_stop_cpu( IN Z_BOARD_IDENT board ) * *------------------------------------------------------------------------- * * Description: Stops CPU. * *------------------------------------------------------------------------- */ VOID z_stop_cpu( Z_BOARD_IDENT board ) { CYZ_WRITE_ULONG(&(board->Runtime)->loc_addr_base,WIN_CREG); CYZ_WRITE_ULONG(&((struct CUSTOM_REG *) board->BoardMemory)->cpu_stop, 0x00000000); CYZ_WRITE_ULONG(&(board->Runtime)->loc_addr_base,WIN_RAM); } /**************************************************************** * * In David's code, the below functions were macros. * *****************************************************************/ /*------------------------------------------------------------------------ * * zl_fopen(PCWSTR file_name) * *------------------------------------------------------------------------- * * Description: This routine opens a file, and returns the file handle * if successful. Otherwise, it returns NULL. * *------------------------------------------------------------------------- */ HANDLE zl_fopen( PCWSTR file_name ) { UNICODE_STRING fileName; NTSTATUS ntStatus; IO_STATUS_BLOCK IoStatus; HANDLE NtFileHandle; OBJECT_ATTRIBUTES ObjectAttributes; ULONG LengthOfFile; //WCHAR PathPrefix[] = L"\\SystemRoot\\system32\\drivers\\"; WCHAR PathPrefix[] = L"\\SystemRoot\\system32\\cyclad-z\\"; UNICODE_STRING FullFileName; ULONG FullFileNameLength; FILE_STANDARD_INFORMATION StandardInfo; RtlInitUnicodeString( &fileName, file_name ); FullFileNameLength = sizeof(PathPrefix) + fileName.MaximumLength; FullFileName.Buffer = ExAllocatePool (NonPagedPool,FullFileNameLength); if (FullFileName.Buffer == NULL) { return NULL; } FullFileName.Length = sizeof(PathPrefix) - sizeof(WCHAR); FullFileName.MaximumLength = (USHORT)FullFileNameLength; RtlMoveMemory (FullFileName.Buffer, PathPrefix, sizeof(PathPrefix)); RtlAppendUnicodeStringToString (&FullFileName, &fileName); InitializeObjectAttributes ( &ObjectAttributes, &FullFileName, OBJ_CASE_INSENSITIVE, NULL, NULL ); ntStatus = ZwCreateFile( &NtFileHandle, SYNCHRONIZE | FILE_READ_DATA, &ObjectAttributes, &IoStatus, NULL, // alloc size = none FILE_ATTRIBUTE_NORMAL, FILE_SHARE_READ, FILE_OPEN, FILE_SYNCHRONOUS_IO_NONALERT, NULL, // eabuffer 0 ); // ealength if ( !NT_SUCCESS( ntStatus ) ) { ExFreePool(FullFileName.Buffer); return NULL; } ExFreePool(FullFileName.Buffer); // // Query the object to determine its length. // ntStatus = ZwQueryInformationFile( NtFileHandle, &IoStatus, &StandardInfo, sizeof(FILE_STANDARD_INFORMATION), FileStandardInformation ); if (!NT_SUCCESS(ntStatus)) { ZwClose( NtFileHandle ); return NULL; } LengthOfFile = StandardInfo.EndOfFile.LowPart; // // Might be corrupted. // if( LengthOfFile < 1 ) { ZwClose( NtFileHandle ); return NULL; } return NtFileHandle; } /*------------------------------------------------------------------------ * * zl_fclose(IN Z_STREAM NtFileHandle) * *------------------------------------------------------------------------- * * Description: This routine closes a file. * *------------------------------------------------------------------------- */ VOID zl_fclose(IN Z_STREAM NtFileHandle) { ZwClose(NtFileHandle); } /*------------------------------------------------------------------------ * * zl_fread( IN PVOID ptr, * IN ULONG size, * IN ULONG count, * IN Z_STREAM stream, * IN ULONG Uoffset * *------------------------------------------------------------------------- * * Description: This routine opens a file, and returns the file handle * if successful. Otherwise, it returns NULL. * *------------------------------------------------------------------------- */ ULONG zl_fread( IN PVOID ptr, IN ULONG size, IN ULONG count, IN Z_STREAM stream, IN ULONG Uoffset) { IO_STATUS_BLOCK IoStatus; LARGE_INTEGER Loffset; NTSTATUS ntStatus; ULONG readsize; readsize = size*count; Loffset = RtlConvertUlongToLargeInteger(Uoffset); ntStatus = ZwReadFile (stream, NULL, NULL, NULL, &IoStatus, ptr, readsize, &Loffset, NULL); if( (!NT_SUCCESS(ntStatus)) || (IoStatus.Information != readsize) ) { return 0; } return readsize; } /*------------------------------------------------------------------------ * * zl_delay( number_of_ms ) * *------------------------------------------------------------------------- * * Description: Delay of milliseconds. * *------------------------------------------------------------------------- */ VOID zl_delay( LONG number_of_ms ) { LARGE_INTEGER delaytime; delaytime = RtlConvertLongToLargeInteger(-number_of_ms*10000); KeDelayExecutionThread(KernelMode,FALSE,&delaytime); } /****************************************************************************/ /****************************************************************************/ /****************************************************************************/ /****************************************************************************/ #if 0 //******************************************************************* // // Added for debug // //******************************************************************* int z_verify ( Z_BOARD_IDENT board, UINT32 function, PCWSTR filename) { unsigned long i; unsigned long count; Z_STREAM file; //********************* //size_t s, s2; //********************* long s,s2; unsigned long mailbox; #ifdef ZBUF_STACK struct ZFILE_HEADER header; struct ZFILE_CONFIG config; struct ZFILE_BLOCK block; char data[ZBUF_SIZE]; #endif maibox = z_ident(board); file = zl_fopen (filename); if (file!=NULL) { /* Read the header */ zl_fread (&header, sizeof(header), 1, file, 0); /* Find the correct configuration */ for (i=0; i<header.n_config; i++) { zl_fread (&config, sizeof(config), 1, file, header.config_offset + (sizeof(config)*i)); if (config.mailbox==mailbox && config.function==function) break; } /* Return error: No matching configuration */ if (i>=header.n_config) { zl_fclose (file); return (ZL_RET_NO_MATCHING_FW_CONFIG); } /* Load each block */ for (i=0; i<config.n_blocks; i++) { /* Load block struct */ zl_fread (&block, sizeof(block), 1, file, header.block_offset+(sizeof(block)*config.block_list[i])); /* Load and Copy the data block */ count=0; for (s=block.size; s>0; s-=ZBUF_SIZE) { s2 = zl_min(ZBUF_SIZE,s); if (zl_fread (data, 1, s2, file, block.file_offset + count)!=0) { /* Call the copy function */ if (block.type==ZBLOCK_FPGA) z_fpga_copy (board, data, s2); else { if (z_block_comp (board, data, block.ram_offset + count, s2)==0){ zl_fclose(file); return (3); } } count += s2; } else { zl_fclose (file); return (3); } } // end for } // end for zl_fclose (file); return (0); } else { /* Return error: Error opening file */ return (2); } } ULONG z_block_comp (Z_BOARD_IDENT board, PVOID ptr, UINT32 offset, long size) { return (RtlCompareMemory( (PUCHAR)board->BoardMemory + offset, ptr, size )); } #endif 
23.826087
79
0.501503
7b8fbeead922e6394ae63fe6925213baa618bf99
315
h
C
SampleEngine/src/SampleEngine/EntryPoint.h
zhq1943/SEngine
21cf4ef2fc7013fa356c6b2b12130592187761d2
[ "Apache-2.0" ]
null
null
null
SampleEngine/src/SampleEngine/EntryPoint.h
zhq1943/SEngine
21cf4ef2fc7013fa356c6b2b12130592187761d2
[ "Apache-2.0" ]
null
null
null
SampleEngine/src/SampleEngine/EntryPoint.h
zhq1943/SEngine
21cf4ef2fc7013fa356c6b2b12130592187761d2
[ "Apache-2.0" ]
null
null
null
#pragma once #ifdef SE_PLATEFORM_WINDOWS extern SEngine::CApplication* SEngine::CreateApplication(); int main(int argc, char** argv) { SEngine::CLog::Init(); SE_CORE_WARM("Hello this is Core Log"); SE_INFO("hello this is Cline"); auto app = SEngine::CreateApplication(); app->Run(); delete app; } #endif
16.578947
59
0.714286
0b3c66c7d7dfd43945def2bfad89261a999cb63b
1,305
h
C
blingfireclient.library/inc/FAResolveMatchA.h
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
blingfireclient.library/inc/FAResolveMatchA.h
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
blingfireclient.library/inc/FAResolveMatchA.h
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #ifndef _FA_RESOLVEMATCHA_H_ #define _FA_RESOLVEMATCHA_H_ #include "FAConfig.h" /// /// This class describes the interface for match results disambiguation. /// For example, in some cases overlapped results may be prohibited. /// /// Usage: /// 1.1. AddReslut /// 1.2. AddReslut /// 1.N. ... /// 2. Process /// 3.1. GetResult /// 3.1. GetResult /// 3.M. ... /// 4. Clear /// /// Note: "Rule" not necessarally refers to the rule number, it is the label /// that identifies the action of the rule. /// class FAResolveMatchA { public: /// adds match result virtual void AddResult ( const int Rule, const int From, const int To ) = 0; /// resolves conflicts virtual void Process () = 0; /// returns the number of results, after disambiguation virtual const int GetCount () const = 0; /// returns i-th result virtual void GetResult ( const int i, int * pRule, int * pFrom, int * pTo ) const = 0; /// returns object into the initial state virtual void Clear () = 0; }; #endif
21.75
77
0.56705
4c788cde41f15a77500e0194c7be42515b5b0eb1
3,271
h
C
macOS/10.12/Foundation.framework/NSUndoManager.h
onmyway133/Runtime-Headers
e9b80e7ab9103f37ad421ad6b8b58ee06369d21f
[ "MIT" ]
30
2016-10-09T20:13:00.000Z
2022-01-24T04:14:57.000Z
macOS/10.12/Foundation.framework/NSUndoManager.h
onmyway133/Runtime-Headers
e9b80e7ab9103f37ad421ad6b8b58ee06369d21f
[ "MIT" ]
null
null
null
macOS/10.12/Foundation.framework/NSUndoManager.h
onmyway133/Runtime-Headers
e9b80e7ab9103f37ad421ad6b8b58ee06369d21f
[ "MIT" ]
7
2017-08-29T14:41:25.000Z
2022-01-19T17:14:54.000Z
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation */ @interface NSUndoManager : NSObject { unsigned long long _NSUndoManagerPrivate1; void * _NSUndoManagerPrivate2; void * _NSUndoManagerPrivate3; id _proxy; id _redoStack; NSArray * _runLoopModes; id _target; id _undoStack; } @property (atomic, readonly) BOOL canRedo; @property (atomic, readonly) BOOL canUndo; @property (atomic, readonly) long long groupingLevel; @property (atomic, readwrite) BOOL groupsByEvent; @property (atomic, readwrite) unsigned long long levelsOfUndo; @property (atomic, readonly) BOOL redoActionIsDiscardable; @property (atomic, readonly, copy) NSString *redoActionName; @property (atomic, readonly, copy) NSString *redoMenuItemTitle; @property (getter=isRedoing, atomic, readonly) BOOL redoing; @property (atomic, readwrite, copy) NSArray *runLoopModes; @property (atomic, readonly) BOOL undoActionIsDiscardable; @property (atomic, readonly, copy) NSString *undoActionName; @property (atomic, readonly, copy) NSString *undoMenuItemTitle; @property (getter=isUndoRegistrationEnabled, atomic, readonly) BOOL undoRegistrationEnabled; @property (getter=isUndoing, atomic, readonly) BOOL undoing; - (void)_cancelAutomaticTopLevelGroupEnding; - (void)_delayAutomaticTermination:(double)arg1; - (BOOL)_endUndoGroupRemovingIfEmpty:(BOOL)arg1; - (void)_forwardTargetInvocation:(id)arg1; - (id)_methodSignatureForTargetSelector:(SEL)arg1; - (void)_postCheckpointNotification; - (void)_prepareEventGrouping; - (void)_registerUndoObject:(id)arg1; - (void)_scheduleAutomaticTopLevelGroupEnding; - (void)_setGroupIdentifier:(id)arg1; - (void)beginUndoGrouping; - (BOOL)canRedo; - (BOOL)canUndo; - (void)dealloc; - (void)disableUndoRegistration; - (void)enableUndoRegistration; - (void)endUndoGrouping; - (void)finalize; - (long long)groupingLevel; - (BOOL)groupsByEvent; - (id)init; - (BOOL)isRedoing; - (BOOL)isUndoRegistrationEnabled; - (BOOL)isUndoing; - (unsigned long long)levelsOfUndo; - (id)prepareWithInvocationTarget:(id)arg1; - (void)redo; - (BOOL)redoActionIsDiscardable; - (id)redoActionName; - (id)redoMenuItemTitle; - (id)redoMenuTitleForUndoActionName:(id)arg1; - (void)registerUndoWithTarget:(id)arg1 handler:(id)arg2; - (void)registerUndoWithTarget:(id)arg1 selector:(SEL)arg2 arguments:(id*)arg3 argumentCount:(unsigned long long)arg4; - (void)registerUndoWithTarget:(id)arg1 selector:(SEL)arg2 object:(id)arg3; - (void)removeAllActions; - (void)removeAllActionsWithTarget:(id)arg1; - (id)runLoopModes; - (void)setActionIsDiscardable:(BOOL)arg1; - (void)setActionName:(id)arg1; - (void)setGroupsByEvent:(BOOL)arg1; - (void)setLevelsOfUndo:(unsigned long long)arg1; - (void)setRunLoopModes:(id)arg1; - (void)undo; - (BOOL)undoActionIsDiscardable; - (id)undoActionName; - (id)undoMenuItemTitle; - (id)undoMenuTitleForUndoActionName:(id)arg1; - (void)undoNestedGroup; // NSUndoManager (NSPrivate) + (void)_endTopLevelGroupings; + (void)_setEndsTopLevelGroupingsAfterRunLoopIterations:(BOOL)arg1; - (void)_commitUndoGrouping; - (void)_processEndOfEventNotification:(id)arg1; - (void)_rollbackUndoGrouping; - (BOOL)_shouldCoalesceTypingForText:(id)arg1 :(id)arg2; - (id)_undoStack; @end
35.172043
118
0.778355
730c18296f49374aa266c71a9257e92076a56d6e
3,792
h
C
DLE/Core/SLL.h
overload-development-community/DLE.NET
fe422895a91a28fdee7f980f7613bb4c8c047bb0
[ "MIT" ]
2
2020-07-08T22:07:55.000Z
2020-08-21T05:42:34.000Z
DLE/Core/SLL.h
overload-development-community/DLE.NET
fe422895a91a28fdee7f980f7613bb4c8c047bb0
[ "MIT" ]
2
2020-09-11T01:01:00.000Z
2020-12-07T23:09:35.000Z
DLE/Core/SLL.h
overload-development-community/DLE.NET
fe422895a91a28fdee7f980f7613bb4c8c047bb0
[ "MIT" ]
1
2021-09-28T16:39:30.000Z
2021-09-28T16:39:30.000Z
#ifndef __SLL_H #define __SLL_H #include "define.h" // ----------------------------------------------------------------------------- // Singly Linked List template < class _T, class _K > class CSLLIterator; template < class _T, class _K > class CSLL { public: friend class CSLLIterator<_T, _K>; template < class _U > class CNode { public: CNode* m_succ; _U m_data; CNode () : m_succ (null) {} CNode* GetSucc (void) { return m_succ; } CNode* SetSucc (CNode* succ) { return m_succ = succ; } }; CNode<_T>* m_head; CNode<_T>* m_tail; uint m_length; private: CNode<_T>* Find (_K key, CNode<_T>*& pPred) { pPred = null; for (CNode<_T>* pNode = m_head; pNode; pNode = pNode->m_succ) { if (pNode->m_data == key) return pNode; pPred = pNode; } return null; } public: CSLL () : m_head (null), m_tail (null), m_length (0) {} ~CSLL () { Destroy (); } inline CNode<_T>* Head (void) { return m_head; } inline CNode<_T>* Tail (void) { return m_tail; } inline uint Length (void) { return m_length; } void Destroy (void) { CNode<_T>* linkP; for (CNode<_T>* pNode = m_head; pNode; pNode = linkP) { linkP = pNode->GetSucc (); delete pNode; } m_head = null; m_tail = null; m_length = 0; } _T* Find (_K key) { for (CNode<_T>* pNode = m_head; pNode; pNode = pNode->GetSucc ()) { if (pNode->m_data == key) return &pNode->m_data; } return null; } int Index (_K key) { int index = 0; for (CNode<_T>* pNode = m_head; pNode; pNode = pNode->GetSucc (), index++) { if (pNode->m_data == key) return index; } return -1; } bool Remove (_K key) { CNode<_T>* pPred, * pNode = Find (key, pPred); if (!pNode) return false; if (pPred) pPred->SetSucc (pNode->GetSucc ()); if (m_head == pNode) m_head = pNode->GetSucc (); if (m_tail == pNode) m_tail = pPred; pNode->SetSucc (null); delete pNode; --m_length; return true; } _T* Add (_T data) { CNode<_T>* pNode = new CNode<_T>; if (!pNode) return null; pNode->SetSucc (m_head); m_head = pNode; if (!m_tail) m_tail = pNode; ++m_length; pNode->m_data = data; return &pNode->m_data; } _T* Append (_T data) { CNode<_T>* pNode = new CNode<_T>; if (!pNode) return null; if (m_tail) m_tail->SetSucc (pNode); else m_head = pNode; m_tail = pNode; ++m_length; pNode->m_data = data; return &pNode->m_data; } _T* Append (void) { CNode<_T>* pNode = new CNode<_T>; if (!pNode) return null; if (m_tail) m_tail->SetSucc (pNode); else m_head = pNode; m_tail = pNode; ++m_length; return &pNode->m_data; } inline CSLL<_T, _K>& operator= (CSLL<_T, _K>& other) { m_head = other.Head (); m_tail = other.Tail (); m_length = other.Length (); return *this; } }; // ----------------------------------------------------------------------------- template < class _T, class _K > class CSLLIterator { private: CSLL<_T, _K>& m_sll; typename CSLL<_T, _K>::CNode<_T>* m_current; public: CSLLIterator (CSLL<_T, _K>& sll) : m_sll (sll) {} inline _T* Begin (void) { m_current = m_sll.Head (); return m_current ? &m_current->m_data : null; } inline _T* End (void) { return null; } inline CSLLIterator& operator++() { m_current = m_current->GetSucc (); } inline CSLLIterator& operator++(int) { m_current = m_current->GetSucc (); return *this; } inline _T* operator->() { return m_current ? &m_current->m_data : null; } inline _T* operator*() { return m_current ? &m_current->m_data : null; } }; // ----------------------------------------------------------------------------- #endif //__SLL_H
20.721311
80
0.547996
7340b497c03089ef0a667cd1079ebed226b5c21e
989
h
C
asteroid_despatch.h
motokimura/AsteroidTracker
5ce590316315db24e46ee448b477c8801d0d39eb
[ "MIT" ]
3
2015-02-25T07:55:39.000Z
2021-02-20T16:14:54.000Z
asteroid_despatch.h
motokimura/AsteroidTracker
5ce590316315db24e46ee448b477c8801d0d39eb
[ "MIT" ]
null
null
null
asteroid_despatch.h
motokimura/AsteroidTracker
5ce590316315db24e46ee448b477c8801d0d39eb
[ "MIT" ]
null
null
null
#ifndef ASTEROID_DESPATCH_H_ #define ASTEROID_DESPATCH_H_ #include "planet.h" #include "asteroid_tracker.h" #include "tf.h" #include <string> class AsteroidDespatchTracker: public AsteroidTracker { public: AsteroidDespatchTracker (void); ~AsteroidDespatchTracker (void); int setTargetUnixtime (double unixtime); void getDepartureTime (double *unixtime) const; void getDespatchDownlinkFrequency (double *MHz) const; // [MHz] void getDespatchPhase (std:: string *phase) const; // string "1", "2", "3", "radio_stop", or "not_defined" private: static const double DepartureJulianday_; static const double DespatchTransmitterFrequency_; // [MHz] static const double SecondsMorseEnd_; // seconds from the departure static const double SecondsBaudotEnd_; // seconds from the departure static const double SecondsBeaconEnd_; // seconds from the departure void calcSecondsFromDeparture (double *second) const; }; #endif // !ASTEROID_DESPATCH_H_
29.969697
109
0.755308
f8e3d7a7c979414bfd509d4dd706d69a29e6df0d
674
c
C
d/xingxiu/tianroad2.c
zhangyifei/mud
b2090bbd2a8d3d82b86148d794a7ca59cd2429f3
[ "MIT" ]
null
null
null
d/xingxiu/tianroad2.c
zhangyifei/mud
b2090bbd2a8d3d82b86148d794a7ca59cd2429f3
[ "MIT" ]
null
null
null
d/xingxiu/tianroad2.c
zhangyifei/mud
b2090bbd2a8d3d82b86148d794a7ca59cd2429f3
[ "MIT" ]
null
null
null
inherit ROOM; void create() { set("short", "天山山路"); set("long", @LONG 这里是天山东麓,山风从山上吹来,你冷得瑟瑟发抖。路 边是一片草原。路尽头松林下一位壮汉正在长啸练功。北上就 是人人害怕的灵鹫宫了. LONG); set("exits", ([ "northup" : "/d/lingjiu/shanjiao", "northdown" : __DIR__"xxh1", "south" : __DIR__"tianroad1", ])); set("objects", ([ CLASS_D("xingxiu") + "/shihou" : 1, __DIR__"npc/gushou" : 1, __DIR__"npc/haoshou" : 1, __DIR__"npc/boshou" : 1, "/clone/npc/walker" : 1, ])); set("outdoors", "xingxiu"); setup(); replace_program(ROOM); }
24.071429
51
0.470326
4e9ebe4aae52668d00ee5bf62a1cad07bbc9271e
1,993
h
C
src/gui/symbology/qgsstylesavedialog.h
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/gui/symbology/qgsstylesavedialog.h
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/gui/symbology/qgsstylesavedialog.h
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgssymbolsavedialog.h ------------------------------------- begin : November 2016 copyright : (C) 2016 by Mathieu Pellerin email : nirvn dot asia at gmail dot com ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef QGSSTYLESAVEDIALOG_H #define QGSSTYLESAVEDIALOG_H #include <QDialog> #include "ui_qgsstylesavedialog.h" #include "qgsstyle.h" #include "qgis_gui.h" #include "qgis_sip.h" /** * \ingroup gui * \brief a dialog for setting properties of a newly saved style. * \since QGIS 3.0 */ class GUI_EXPORT QgsStyleSaveDialog: public QDialog, private Ui::QgsStyleSaveDialog { Q_OBJECT public: /** * Constructor for QgsSymbolSaveDialog * \param parent parent widget * \param type the QgsStyle entity type being saved */ QgsStyleSaveDialog( QWidget *parent SIP_TRANSFERTHIS = nullptr, QgsStyle::StyleEntity type = QgsStyle::SymbolEntity ); //! returns the text value of the name element QString name() const; //! returns the text value of the tags element QString tags() const; //! returns whether the favorite element is checked bool isFavorite() const; }; #endif // QGSSTYLESAVEDIALOG_H
33.216667
122
0.487205
b2c7ef3bd4056ba2cb7a6ddf0ab2c4e479d5ff0f
5,195
h
C
PWGUD/DIFFRACTIVE/xsAndTwoProng/AliAnalysisTaskCDskimESD.h
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGUD/DIFFRACTIVE/xsAndTwoProng/AliAnalysisTaskCDskimESD.h
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGUD/DIFFRACTIVE/xsAndTwoProng/AliAnalysisTaskCDskimESD.h
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/************************************************************************* * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ // // $Id$ // // Task to skim ESD files, basic idea found at PWGGA/EMCALTasks as // AliEsdSkimTask. This version is modified to produce a exact copy of the ESD // stream containing only events which are of interest for the central // diffractive analysis (PWGUD) and a control sample. In order to be able to // process MC data as well, the usual concept using an output slot is for // output data is violated and an output file is directly created without // a corresponding output slot. // // Author: // Felix Reidt <Felix.Reidt@cern.ch> #ifndef ALIANALYSISTASKCDSKIMESD_H #define ALIANALYSISTASKCDSKIMESD_H #include "AliAnalysisTaskSE.h" // $Id$ class TTree; class TH1; class TFile; class TDirectory; class AliAnalysisTaskCDskimESD : public AliAnalysisTaskSE { public: AliAnalysisTaskCDskimESD(const char *opt, Bool_t reduceGapEvents); AliAnalysisTaskCDskimESD(); virtual ~AliAnalysisTaskCDskimESD(); void UserExec(Option_t *opt); void UserCreateOutputObjects(); void SetGapCondition(Int_t cond) { fRequestedGapCondition=cond; } void SetRefinedGapCondition(Int_t cond) {fRefinedGapCondition=cond; } protected: // variables concerning the reconstructed information in the ESDs TTree* fInputTree; // input tree TTree* fInputTreeCopy; // input tree copy TTree* fOutputTree; // output tree // variables needed for the reproduction of the MC information Bool_t fDoMC; // do we process MC information? TDirectory* fWrkDir; // directory the analysis task used before // it was manipulated to store the // kinemactics truth TFile* fKinematicsFile; // output file containing the skimmed // kinematics information TFile* fTrackRefsFile; // output file containing the skimmed // TrackRefs information TTree* fTEinput; // input tree containing MC eventt headers TTree* fTE; // tree containing the MC event headers TFile* fgaliceFile; // pointer to the galice.root output file // variables concerning the gaps used for the selection Bool_t fDoGapCond; // if true the gap condition for central // diffractive analysis are stored Int_t fCurrentGapCondition; // gap condition Int_t fRequestedGapCondition; // gap condition required for selection Double_t fNoGapFraction; // fraction of no-gap events to be stored Bool_t fReduceGapEvents; // do not store all V0 double-gap events // necessary due to high double gap rates // in MC productions (LHC10d{1,2,4,4a}) Int_t fRefinedGapCondition; // gap condition with more stringent // selection applied in case // fReduceDgEvents is active Double_t fReducedGapFraction; // fraction of events stored altough they // show only the requested and not the // refined gap // selection monitoring TH1* fStatsFlow; // histogram indicating the number of // input events TTree* fSkimmingList; // which events of the intial ones are // skimmed? TString fFileName; // name of the input file Int_t fEventNumberInFile; // event index in the ESD file Int_t fRunNumber; // run number of the event UInt_t fEventTime; // event timestamp private: //void CopygALICE(AliAnalysisManager* am); // copy objects in galice.root // not implemented: AliAnalysisTaskCDskimESD(const AliAnalysisTaskCDskimESD&); AliAnalysisTaskCDskimESD &operator=(const AliAnalysisTaskCDskimESD&); ClassDef(AliAnalysisTaskCDskimESD, 1); // Esd skimming task }; #endif // ALIANALYSISTASKCDSKIMESD_H
49.009434
79
0.596343
2548757ec856d1c686adc7ec931ec461d449667d
1,766
h
C
predaja/src/emulator/h/Program.h
znjRoLS/ss
a99a1e6039c19bf5c2ef656fbc5e7a6a5bf9a7b8
[ "MIT" ]
null
null
null
predaja/src/emulator/h/Program.h
znjRoLS/ss
a99a1e6039c19bf5c2ef656fbc5e7a6a5bf9a7b8
[ "MIT" ]
null
null
null
predaja/src/emulator/h/Program.h
znjRoLS/ss
a99a1e6039c19bf5c2ef656fbc5e7a6a5bf9a7b8
[ "MIT" ]
null
null
null
// // Created by rols on 6/9/16. // #ifndef SS_PROGRAM_H #define SS_PROGRAM_H #include <iostream> #include <functional> #include <chrono> #include "Enums.h" #include "Section.h" #include "Instruction.h" using namespace std; class Program { public: Program(); //void LoadSection(istream &); //void LoadDefaultIVT(ifstream &); u_int32_t registers[16]; u_int32_t PC, LR, SP; union { u_int32_t val; struct{ u_int32_t I:1, :1, T:1, :25, Z:1, O:1, C:1, N:1; }; } PSW; u_int8_t *memory; unordered_map<u_int32_t, u_int8_t> bigMemory; //u_int8_t stack[STACK_SIZE]; Section programSection; u_int32_t startPoint; //u_int32_t programCounter; Instruction currentInstruction; void Init(u_int8_t *memory, u_int32_t startPoint); void ReadNext(); void ExecuteCurrent(); bool IsEnd(); unordered_map<int, function<void()> > instructionExecutors; unordered_map<int, function<bool()> > conditionTesters; void StackPush(u_int32_t); u_int32_t StackPop(); u_int32_t SignExt(u_int32_t val, size_t size); u_int32_t GetMemory(u_int32_t ind); void SetMemory(u_int32_t val, u_int32_t ind); void SetRegister(u_int32_t val, u_int32_t ind); u_int32_t GetRegister(u_int32_t ind); void HandleInterrupts(); chrono::time_point<chrono::system_clock> executionStart; chrono::time_point<chrono::system_clock> lastTimerExecution; void TimerInterrupt(); static void *KeyboardThread(void *); static volatile char keyboardBuf; static volatile bool keyboardInterrupt; //TODO: hardcoded u_int32_t IVT [16]; pthread_t keyboardThread; void KeyboardInterrupt(); }; #endif //SS_PROGRAM_H
18.020408
64
0.67667
c39f655b5e2347ead1996ce80a81810739688e72
356
h
C
GAG/src/GAGPL/GUI/mainframe.h
hh1985/multi_hs_seq
9cf4e70fb59283da30339499952c43a0684f7e77
[ "Apache-2.0" ]
2
2015-04-03T14:44:45.000Z
2015-04-15T13:38:39.000Z
GAG/src/GAGPL/GUI/mainframe.h
hh1985/multi_hs_seq
9cf4e70fb59283da30339499952c43a0684f7e77
[ "Apache-2.0" ]
null
null
null
GAG/src/GAGPL/GUI/mainframe.h
hh1985/multi_hs_seq
9cf4e70fb59283da30339499952c43a0684f7e77
[ "Apache-2.0" ]
null
null
null
#ifndef __mainframe__ #define __mainframe__ /** @file Subclass of MyFrame1, which is generated by wxFormBuilder. */ #include "gui.h" //// end generated include /** Implementing MyFrame1 */ class MainFrame : public MyFrame1 { public: /** Constructor */ MainFrame( wxWindow* parent ); //// end generated class members }; #endif // __mainframe__
14.833333
58
0.705056
58633ad6f2d3eca98a3e94afba230458fc8dc530
213
c
C
wk1/wk1_n2.c
NanoSmasher/aps106-problems
8007b9bcb9c52a33803c5efe7c7ec3d43fde46c5
[ "MIT" ]
1
2017-06-12T18:46:15.000Z
2017-06-12T18:46:15.000Z
wk1/wk1_n2.c
NanoSmasher/aps106-problems
8007b9bcb9c52a33803c5efe7c7ec3d43fde46c5
[ "MIT" ]
null
null
null
wk1/wk1_n2.c
NanoSmasher/aps106-problems
8007b9bcb9c52a33803c5efe7c7ec3d43fde46c5
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> int main () { int first,second; printf ("Enter two integers: "); scanf("%d %d", &first, &second); printf("The user entered %d and %d", first, second); return 0; }
19.363636
54
0.615023
58e9d7dbe5dfeac17a4aa861c9b3b4d9c24b2d3a
4,474
h
C
include/common/message_queues.h
badhrinathpa/openmme
6975dc7ba007cd111fdce8e8f64d3d52bef0a625
[ "Apache-2.0" ]
46
2019-02-19T07:47:54.000Z
2022-03-12T13:16:26.000Z
include/common/message_queues.h
omec-project/openmme
181ee0a2a16fe4eea1b84986477f37d6ebbe55c3
[ "Apache-2.0" ]
71
2019-03-03T02:22:33.000Z
2020-10-07T22:34:25.000Z
include/common/message_queues.h
badhrinathpa/openmme
6975dc7ba007cd111fdce8e8f64d3d52bef0a625
[ "Apache-2.0" ]
38
2019-02-19T06:36:40.000Z
2021-07-17T14:35:50.000Z
/* * Copyright 2019-present Open Networking Foundation * Copyright (c) 2003-2018, Great Software Laboratory Pvt. Ltd. * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __MESSAGE_QUEUES_H_ #define __MESSAGE_QUEUES_H_ #define S1AP_Q_DIR "/tmp/s1ap" #define MME_APP_Q_DIR "/tmp/mme-app" #define S6A_Q_DIR "/tmp/s6a" #define S11_Q_DIR "/tmp/s11" #define MME_TOTAL_HANDLERS 7 /** Message queues used across MME, S1ap, S11, S6a **/ /*******************STAGE 1 BEGIN********************/ /*Stage 1 : Initial UE attah. Form S1ap tp MME*/ #define INITUE_STAGE1_QUEUE "/tmp/mme-app/initue_stage1_Q" /*Stage 1 : ULR and AIR. From mme-app to S6a*/ #define S6A_REQ_STAGE1_QUEUE "/tmp/s6a/req_Q" /**************** STAGE1 END *****************/ /*************** STAGE2 BEGIN ****************/ /*Stage to reader : s6a to mmeapp*/ #define S6A_AIA_STAGE2_QUEUE "/tmp/s6a/AIA_Q" #define S6A_ULA_STAGE2_QUEUE "/tmp/s6a/ULA_Q" /*Stage to writer: mmeapp to s1ap*/ #define S1AP_AUTHREQ_STAGE2_QUEUE "/tmp/s1ap/authq_stage2_Q" /**************** STAGE2 END*****************/ /*************** STAGE3 BEGIN ****************/ #define S1AP_AUTHRESP_STAGE3_QUEUE "/tmp/mme-app/authresp_stage3_Q" #define S1AP_SECREQ_STAGE3_QUEUE "/tmp/s1ap/secreq_stage3_Q" /**************** STAGE3 END*****************/ /*************** STAGE4 BEGIN ****************/ #define S1AP_SECRESP_STAGE4_QUEUE "/tmp/mme-app/secresp_stage4_Q" #define S1AP_ESMREQ_STAGE4_QUEUE "/tmp/s1ap/esmreq_stage4_Q" /**************** STAGE4 END*****************/ /*************** STAGE5 BEGIN ****************/ #define S1AP_ESMRESP_STAGE5_QUEUE "/tmp/mme-app/esmresp_stage5_Q" #define S11_CSREQ_STAGE5_QUEUE "/tmp/s11/CSreq_stage5_Q" /**************** STAGE5 END*****************/ /*************** STAGE6 BEGIN ****************/ #define S11_CSRESP_STAGE6_QUEUE "/tmp/s11/CSresp_stage6_Q" #define S1AP_ICSREQ_STAGE6_QUEUE "/tmp/s1ap/icsreq_stage6_Q" /**************** STAGE6 END*****************/ /*************** STAGE7 BEGIN ****************/ #define S1AP_ICSRESP_STAGE7_QUEUE "/tmp/s1ap/icsresp_stage7_Q" #define S11_MBREQ_STAGE7_QUEUE "/tmp/s11/MBreq_stage7_Q" /**************** STAGE7 END*****************/ /*************** STAGE8 BEGIN ****************/ #define S11_MBRESP_STAGE8_QUEUE "/tmp/s11/MBresp_stage8_Q" #define S1AP_ATT_COMP_STAGE8_QUEUE "/tmp/mme-app/attcomple_stage8_Q" /*************** STAGE8 END ****************/ /********* STAGE 1 DETACH BEGIN ***************/ #define S1AP_DTCHREQ_STAGE1_QUEUE "/tmp/s1ap/s1ap_dtchreq_stage1_Q" #define S11_DTCHREQ_STAGE1_QUEUE "/tmp/mme-app/s11_dtchreq_stage1_Q" #define S11_SEND_REQ_STAGE_QUEUE "/tmp/mme-app/s11_req_stage_Q" #define S11_RECV_RSP_STAGE_QUEUE "/tmp/mme-app/s11_resp_stage_Q" #define S6A_DTCHREQ_STAGE1_QUEUE "/tmp/mme-app/s6a_dtchreq_stage1_Q" /********* STAGE 1 DETACH END ***************/ /********* STAGE 2 DETACH BEGIN ***************/ #define S11_DTCHRES_STAGE2_QUEUE "/tmp/mme-app/s1ap_dtchres_stage2_Q" #define S1AP_DTCHACCEPT_STAGE2_QUEUE "/tmp/mme-app/s1ap_dtchaccept_stage2_Q" #define S6A_PURGE_STAGE2_QUEUE "/tmp/s6a/PURGE_Q" /********* STAGE 2 DETACH END ***************/ /********* STAGE 3 DETACH BEGIN ***************/ #define S1AP_CTXRELRESP_STAGE3_QUEUE "/tmp/s1ap/s1ap_ctxrelease_stage3_Q" /********* STAGE 3 DETACH END ***************/ /********* DDN ***************/ #define S1AP_REQ_REJECT_QUEUE "/tmp/s1ap/s1ap_reject_Q" #define S1AP_ID_REQ_QUEUE "/tmp/s1ap/s1ap_id_req_Q" #define S1AP_ID_RSP_QUEUE "/tmp/s1ap/s1ap_id_rsp_Q" #define S11_DDN_QUEUE "/tmp/s11/s11_ddn_Q" #define S11_DDN_ACK_QUEUE "/tmp/s11/s11_ddn_ack_Q" #define S11_DDN_FAIL_QUEUE "/tmp/s11/s11_ddn_fail_Q" /********* DDN ***************/ /********* PAGING MESSAGE ***************/ #define S1AP_PAGING_QUEUE "/tmp/s1ap/s1ap_paging_Q" /********* PAGING END ***************/ /********* COMMON START ***************/ #define S1AP_MME_QUEUE "/tmp/s1ap/s1ap_mme_Q" #define S1AP_MME_TO_S1AP_QUEUE "/tmp/s1ap/mme_to_s1ap_Q" /********* COMMON END *****************/ /******** SERVICE REQ *****************/ #define S1AP_SERVICEREQ_QUEUE "/tmp/s1ap/s1ap_servicereq_Q" /******** SERVICE REQ *****************/ #define S1AP_TAUREQ_QUEUE "/tmp/s1ap/s1ap_taureq_Q" #define S1AP_TAURSP_QUEUE "/tmp/s1ap/s1ap_taursp_Q" #define EMM_INFOREQ_QUEUE "/tmp/s1ap/emm_inforeq_Q" #define S1AP_GEN_RESET_QUEUE "/tmp/s1ap/s1ap_gen_reset_Q" #endif /*__MESSAGE_QUEUES_H*/
31.069444
76
0.62338
c7a6c5c1415e722fc51e7ff76590861483bb4a56
648
h
C
ext/stub/usetest.zep.h
fagai/zephir
dbc394279e2119cd65489c481581dfd644d24501
[ "MIT" ]
null
null
null
ext/stub/usetest.zep.h
fagai/zephir
dbc394279e2119cd65489c481581dfd644d24501
[ "MIT" ]
null
null
null
ext/stub/usetest.zep.h
fagai/zephir
dbc394279e2119cd65489c481581dfd644d24501
[ "MIT" ]
null
null
null
extern zend_class_entry *stub_usetest_ce; ZEPHIR_INIT_CLASS(Stub_UseTest); PHP_METHOD(Stub_UseTest, createInstance); PHP_METHOD(Stub_UseTest, count); PHP_METHOD(Stub_UseTest, testUseClass1); PHP_METHOD(Stub_UseTest, testUseClass2); PHP_METHOD(Stub_UseTest, testUseNamespaceAlias); ZEPHIR_INIT_FUNCS(stub_usetest_method_entry) { PHP_ME(Stub_UseTest, createInstance, NULL, ZEND_ACC_PUBLIC) PHP_ME(Stub_UseTest, count, NULL, ZEND_ACC_PUBLIC) PHP_ME(Stub_UseTest, testUseClass1, NULL, ZEND_ACC_PUBLIC) PHP_ME(Stub_UseTest, testUseClass2, NULL, ZEND_ACC_PUBLIC) PHP_ME(Stub_UseTest, testUseNamespaceAlias, NULL, ZEND_ACC_PUBLIC) PHP_FE_END };
32.4
67
0.841049
a7871f2bf57be077528554bdbb4008642fb3783b
245
h
C
Example/DBCreateAccountViewController.h
timboslice-doop/zxcvbn-ios
dbcc963a8265e65982c6f1e58f60bde08d51bd9d
[ "MIT" ]
183
2015-01-11T06:36:14.000Z
2022-02-22T08:06:35.000Z
Example/DBCreateAccountViewController.h
timboslice-doop/zxcvbn-ios
dbcc963a8265e65982c6f1e58f60bde08d51bd9d
[ "MIT" ]
13
2015-03-26T02:02:50.000Z
2021-05-18T05:30:31.000Z
Example/DBCreateAccountViewController.h
timboslice-doop/zxcvbn-ios
dbcc963a8265e65982c6f1e58f60bde08d51bd9d
[ "MIT" ]
60
2015-02-03T01:51:05.000Z
2022-03-16T09:24:57.000Z
// // DBCreateAccountViewController.h // Zxcvbn // // Created by Leah Culver on 2/22/14. // Copyright (c) 2014 Dropbox. All rights reserved. // #import <UIKit/UIKit.h> @interface DBCreateAccountViewController : UITableViewController @end
17.5
64
0.730612
419e1f06d9b2dcd5c325307a421a9507dd55f1fc
1,321
h
C
discovery/mdns/testing/mdns_test_util.h
gtalis/openscreen
9b28b9695df98d310c2271eaa65d20cc6d224203
[ "BSD-3-Clause" ]
1
2020-09-22T05:59:36.000Z
2020-09-22T05:59:36.000Z
discovery/mdns/testing/mdns_test_util.h
gtalis/openscreen
9b28b9695df98d310c2271eaa65d20cc6d224203
[ "BSD-3-Clause" ]
null
null
null
discovery/mdns/testing/mdns_test_util.h
gtalis/openscreen
9b28b9695df98d310c2271eaa65d20cc6d224203
[ "BSD-3-Clause" ]
1
2022-02-03T11:05:44.000Z
2022-02-03T11:05:44.000Z
// Copyright 2019 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 DISCOVERY_MDNS_TESTING_MDNS_TEST_UTIL_H_ #define DISCOVERY_MDNS_TESTING_MDNS_TEST_UTIL_H_ #include <initializer_list> #include "absl/strings/string_view.h" #include "discovery/mdns/mdns_records.h" namespace openscreen { namespace discovery { TxtRecordRdata MakeTxtRecord(std::initializer_list<absl::string_view> strings); // Methods to create fake MdnsRecord entities for use in UnitTests. MdnsRecord GetFakePtrRecord(const DomainName& target, std::chrono::seconds ttl = std::chrono::seconds(1)); MdnsRecord GetFakeSrvRecord(const DomainName& name, std::chrono::seconds ttl = std::chrono::seconds(1)); MdnsRecord GetFakeTxtRecord(const DomainName& name, std::chrono::seconds ttl = std::chrono::seconds(1)); MdnsRecord GetFakeARecord(const DomainName& name, std::chrono::seconds ttl = std::chrono::seconds(1)); MdnsRecord GetFakeAAAARecord( const DomainName& name, std::chrono::seconds ttl = std::chrono::seconds(1)); } // namespace discovery } // namespace openscreen #endif // DISCOVERY_MDNS_TESTING_MDNS_TEST_UTIL_H_
37.742857
80
0.719152
51152b23cc31e7ac9767b9c0716bde20d37ca4f1
3,965
c
C
SciPy/cminpack-master/examples/tlmstrc.c
ianormy/Pyto
e69a9ab57d5ef86675041f9e1f4427e9b79bb8e7
[ "MIT" ]
2
2020-08-25T13:55:00.000Z
2020-08-25T16:36:03.000Z
Extensions/SciPy/cminpack-master/examples/tlmstrc.c
ProjectZeroDays/Pyto
d5d77f3541f329bbb28142d18606b22f115b7df6
[ "MIT" ]
null
null
null
Extensions/SciPy/cminpack-master/examples/tlmstrc.c
ProjectZeroDays/Pyto
d5d77f3541f329bbb28142d18606b22f115b7df6
[ "MIT" ]
null
null
null
/* driver for lmstr example. */ #include <stdio.h> #include <math.h> #include <assert.h> #include <cminpack.h> #define real __cminpack_real__ /* the following struct defines the data points */ typedef struct { int m; real *y; } fcndata_t; int fcn(void *p, int m, int n, const real *x, real *fvec, real *fjrow, int iflag); int main() { int i, j, ldfjac, maxfev, mode, nprint, info, nfev, njev; int ipvt[3]; real ftol, xtol, gtol, factor, fnorm; real x[3], fvec[15], fjac[3*3], diag[3], qtf[3], wa1[3], wa2[3], wa3[3], wa4[15]; int k; const int m = 15; const int n = 3; /* auxiliary data (e.g. measurements) */ real y[15] = {1.4e-1, 1.8e-1, 2.2e-1, 2.5e-1, 2.9e-1, 3.2e-1, 3.5e-1, 3.9e-1, 3.7e-1, 5.8e-1, 7.3e-1, 9.6e-1, 1.34, 2.1, 4.39}; fcndata_t data; data.m = m; data.y = y; /* the following starting values provide a rough fit. */ x[0] = 1.; x[1] = 1.; x[2] = 1.; ldfjac = 3; /* set ftol and xtol to the square root of the machine */ /* and gtol to zero. unless high solutions are */ /* required, these are the recommended settings. */ ftol = sqrt(__cminpack_func__(dpmpar)(1)); xtol = sqrt(__cminpack_func__(dpmpar)(1)); gtol = 0.; maxfev = 400; mode = 1; factor = 1.e2; nprint = 0; info = __cminpack_func__(lmstr)(fcn, &data, m, n, x, fvec, fjac, ldfjac, ftol, xtol, gtol, maxfev, diag, mode, factor, nprint, &nfev, &njev, ipvt, qtf, wa1, wa2, wa3, wa4); fnorm = __cminpack_func__(enorm)(m, fvec); printf(" final l2 norm of the residuals%15.7g\n\n", (double)fnorm); printf(" number of function evaluations%10i\n\n", nfev); printf(" number of Jacobian evaluations%10i\n\n", njev); printf(" exit parameter %10i\n\n", info); printf(" final approximate solution\n"); for (j=0; j<n; ++j) { printf("%s%15.7g", j%3==0?"\n ":"", (double)x[j]); } printf("\n"); ftol = __cminpack_func__(dpmpar)(1); #ifdef TEST_COVAR { /* test the original covar from MINPACK */ real covfac = fnorm*fnorm/(m-n); real fjac1[3*3]; memcpy(fjac1, fjac, sizeof(fjac)); __cminpack_func__(covar)(n, fjac1, ldfjac, ipvt, ftol, wa1); printf(" covariance (using covar)\n"); for (i=0; i<n; ++i) { for (j=0; j<n; ++j) { printf("%s%15.7g", j%3==0?"\n ":"", (double)fjac1[i*ldfjac+j]*covfac); } } printf("\n"); } #endif /* test covar1, which also estimates the rank of the Jacobian */ k = __cminpack_func__(covar1)(m, n, fnorm*fnorm, fjac, ldfjac, ipvt, ftol, wa1); printf(" covariance\n"); for (i=0; i<n; ++i) { for (j=0; j<n; ++j) { printf("%s%15.7g", j%3==0?"\n ":"", (double)fjac[i*ldfjac+j]); } } printf("\n"); (void)k; /* printf(" rank(J) = %d\n", k != 0 ? k : n); */ return 0; } int fcn(void *p, int m, int n, const real *x, real *fvec, real *fjrow, int iflag) { /* subroutine fcn for lmstr example. */ int i; real tmp1, tmp2, tmp3, tmp4; const real *y = ((fcndata_t*)p)->y; assert(m == 15 && n == 3); if (iflag == 0) { /* insert print statements here when nprint is positive. */ /* if the nprint parameter to lmder is positive, the function is called every nprint iterations with iflag=0, so that the function may perform special operations, such as printing residuals. */ return 0; } if (iflag < 2) { /* compute residuals */ for (i=0; i < 15; ++i) { tmp1 = i + 1; tmp2 = 15 - i; tmp3 = (i > 7) ? tmp2 : tmp1; fvec[i] = y[i] - (x[0] + tmp1/(x[1]*tmp2 + x[2]*tmp3)); } } else { /* compute Jacobian row */ i = iflag - 2; tmp1 = i + 1; tmp2 = 15 - i; tmp3 = (i > 7) ? tmp2 : tmp1; tmp4 = (x[1]*tmp2 + x[2]*tmp3); tmp4 = tmp4*tmp4; fjrow[0] = -1.; fjrow[1] = tmp1*tmp2/tmp4; fjrow[2] = tmp1*tmp3/tmp4; } return 0; }
28.120567
93
0.551828
706e377e98bd9dbc85e3a6a17ec32ccb2a277ede
2,474
h
C
sgf/3.0/headers/Gamecore/exceptions/SGF_FileExceptions.h
rasputtim/SGPacMan
b0fd33f0951a42625a391383b4d1bd378391493c
[ "BSD-2-Clause" ]
null
null
null
sgf/3.0/headers/Gamecore/exceptions/SGF_FileExceptions.h
rasputtim/SGPacMan
b0fd33f0951a42625a391383b4d1bd378391493c
[ "BSD-2-Clause" ]
null
null
null
sgf/3.0/headers/Gamecore/exceptions/SGF_FileExceptions.h
rasputtim/SGPacMan
b0fd33f0951a42625a391383b4d1bd378391493c
[ "BSD-2-Clause" ]
null
null
null
/* SGF - Salvat Game Fabric (https://sourceforge.net/projects/sgfabric/) Copyright (C) 2010-2011 Salvatore Giannotta Filho <a_materasu@hotmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _SGF_File_Exceptions_h #define _SGF_File_Exceptions_h #include <string> #include "../SGF_Config.h" #include "all.h" using namespace SMF; using namespace std; namespace SGF { namespace Exception{ namespace Filesystem { class SGE_API CException: public SMF::Exception::CBase { public: CException(const string & where, int line, const string & file); CException(const string & where, int line, const SMF::Exception::CBase & nested, const string & file); CException(const CException & copy); virtual ~CException() throw (); virtual void throwSelf() const { throw *this; } protected: virtual const string getReason() const; virtual SMF::Exception::CBase * copy() const { return new CException(*this); } private: string reason; }; class SGE_API CNotFound: public CException { public: CNotFound(const string & where, int line, const string & file); CNotFound(const string & where, int line, const SMF::Exception::CBase & nested, const string & file); virtual ~CNotFound() throw(); CNotFound(const CNotFound & copy); virtual void throwSelf() const { throw *this; } protected: virtual SMF::Exception::CBase * copy() const { return new CNotFound(*this); } }; class Eof: public ::std::exception { public: Eof(){ } virtual ~Eof() throw (){ } }; }//end Filesystem } //end Exceptions } //end SGF #endif
30.170732
110
0.645109
708e9e6e454ad141619cb03f877a4af0cbabac8b
249
h
C
XTNews/XTAdModel.h
xushao1990/XTNews
51a691df58586dee27f6718b4de99a447d6c26bd
[ "MIT" ]
124
2015-01-02T07:30:45.000Z
2021-03-05T14:39:53.000Z
XTNews/XTAdModel.h
lixiaohu1990/XTNews
51a691df58586dee27f6718b4de99a447d6c26bd
[ "MIT" ]
4
2015-02-12T04:07:35.000Z
2015-07-27T04:23:56.000Z
XTNews/XTAdModel.h
xushao1990/XTNews
51a691df58586dee27f6718b4de99a447d6c26bd
[ "MIT" ]
37
2015-01-06T08:12:20.000Z
2019-09-24T07:12:04.000Z
// // XTAdModel.h // XTNews // // Created by fengyulong on 14-7-7. // Copyright (c) 2014年 XT. All rights reserved. // #import <Foundation/Foundation.h> @interface XTAdModel : NSObject @property (nonatomic) NSString *adTitle, *adImageURL; @end
17.785714
53
0.694779
70aa755033a285b0d93862fd6516d6d0a5bc7252
492
h
C
nwjsmanager/packageJsonFile.h
gianluca-nitti/nw.js-global-install
aebb0041fbc3e78385d4dd5fe4a35ab0f3914624
[ "MIT" ]
1
2021-01-09T15:24:36.000Z
2021-01-09T15:24:36.000Z
nwjsmanager/packageJsonFile.h
gianluca-nitti/nw.js-global-install
aebb0041fbc3e78385d4dd5fe4a35ab0f3914624
[ "MIT" ]
2
2016-08-03T13:22:57.000Z
2017-11-30T10:45:34.000Z
nwjsmanager/packageJsonFile.h
gianluca-nitti/nw.js-global-install
aebb0041fbc3e78385d4dd5fe4a35ab0f3914624
[ "MIT" ]
null
null
null
#ifndef _PACKAGEJSONFILE_H #define _PACKAGEJSONFILE_H #ifndef __SEMVER_H #include <semver.h> #endif #define PACKAGEJSON_PARSE_ERROR_NAME -2 #define PACKAGEJSON_PARSE_ERROR_SEMVER -3 typedef struct{ char *name; semver_t *versionFilter; char versionFilterOperator[2]; }packageJsonFile_t; int packageJson_file_parse(char *f, packageJsonFile_t *out); void packageJson_file_free(packageJsonFile_t *f); int packageJson_file_is_nw_version_OK(packageJsonFile_t *f, semver_t nwVersion); #endif
23.428571
80
0.831301
b634b41374b0a6ae57562d284c7a253331c60679
848
h
C
c86ctl/src/version.h
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
10
2015-04-04T17:05:04.000Z
2021-12-31T02:51:43.000Z
c86ctl/src/version.h
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
null
null
null
c86ctl/src/version.h
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
2
2015-04-09T14:16:29.000Z
2020-12-16T02:00:50.000Z
/*** c86ctl Copyright (c) 2009-2012, honet. All rights reserved. This software is licensed under the BSD license. honet.kk(at)gmail.com */ // definition of the DLL version. #define VERSION_MAJOR 1 #define VERSION_MINOR 4 #define VERSION_REVISION 6 #define VERSION_BUILD 1027 #define VERSION_STRING "1, 4, 6, 1027" #define VERSION_MESSAGE "VER 1.4.6.1027(RELEASE)" // DON'T CHANGE FOLLOWINGS. (for DLL resorce) --------------------- #define C86CTL_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD #define __C86CTL_DLL_FILEVERSION C86CTL_VERSION #define __C86CTL_DLL_PRODUCTVERSION C86CTL_VERSION #define __C86CTL_DLL_FILEVERSION_STRING VERSION_STRING #define __C86CTL_DLL_PRODUCTVERSION_STRING VERSION_STRING
30.285714
92
0.6875
b45f9e262c668e5163915cffb98ba736e9f5e347
1,450
h
C
IT-PROJECT EXTRA PACK PE/jni/mcpe/world/gen/ChunkSource.h
0lOveLycaT0/IT-PROJECT-EXTRA-PACK
8fea038d57480109fa015e671347246d57c05810
[ "MIT" ]
4
2017-02-08T07:48:58.000Z
2021-07-29T06:04:31.000Z
IT-PROJECT EXTRA PACK PE/jni/mcpe/world/gen/ChunkSource.h
0lOveLycaT0/IT-PROJECT-EXTRA-PACK
8fea038d57480109fa015e671347246d57c05810
[ "MIT" ]
null
null
null
IT-PROJECT EXTRA PACK PE/jni/mcpe/world/gen/ChunkSource.h
0lOveLycaT0/IT-PROJECT-EXTRA-PACK
8fea038d57480109fa015e671347246d57c05810
[ "MIT" ]
null
null
null
#pragma once struct LevelChunk; struct Level; struct Dimension; struct ChunkPos; struct ChunkViewSource; struct BlockSource; struct BlockPos; struct Random; struct Mob; #include "../entity/EntityType.h" #include <memory> #include <vector> #include <functional> struct ChunkSource { int _chunkSide; // 4 Level* level; // 8 Dimension* dimension; // 12 bool ownsParent; // 16 int idk; // 20 enum class LoadMode : int { NONE, DEFERRED, EMPTY }; ChunkSource(Level*, Dimension*, int); Level& getLevel() const; Dimension& getDimension() const; virtual ~ChunkSource(); virtual LevelChunk& getExistingChunk(const ChunkPos&); virtual LevelChunk* requestChunk(const ChunkPos& pos, ChunkSource::LoadMode); virtual bool releaseChunk(LevelChunk&); virtual void postProcess(ChunkViewSource&); virtual void loadChunk(LevelChunk&); virtual void postProcessMobsAt(BlockSource*, int, int, Random&); virtual std::vector<Mob*> getMobsAt(BlockSource&, EntityType, const BlockPos&); virtual bool saveLiveChunk(LevelChunk&); virtual void hintDiscardBatchBegin(); virtual void hintDiscardBatchEnd(); virtual void acquireDiscarded(std::unique_ptr<LevelChunk>&&); virtual void getStoredChunks() const; virtual void getStoredChunks(); virtual bool compact(); virtual void waitDiscardFinished(); virtual ChunkViewSource& getView(const BlockPos&, const BlockPos&, ChunkSource::LoadMode, bool, const std::function<void(LevelChunk*&)>&); };
25.892857
139
0.75931
7dfa9ff012e1fdd7c7ad8d10613f0c701b8427db
148,237
c
C
fw/topazhp/MPG2MasterFirmwareLLRC_bin.c
Omegaphora/hardware_intel_img_psb_video
da9cacb46d93adf85f65d28172f8321a9c9d832f
[ "Intel" ]
1
2017-09-22T01:41:30.000Z
2017-09-22T01:41:30.000Z
intel/img/psb_video/fw/topazhp/MPG2MasterFirmwareLLRC_bin.c
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
null
null
null
intel/img/psb_video/fw/topazhp/MPG2MasterFirmwareLLRC_bin.c
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
16
2016-12-31T15:37:54.000Z
2018-09-23T06:04:10.000Z
// This file was automatically generated from ../release/MPG2MasterFirmwareLLRC.dnl using dnl2c. unsigned int ui32MPG2LLRC_MasterMTXTOPAZFWTextSize = 6393; unsigned int ui32MPG2LLRC_MasterMTXTOPAZFWDataSize = 2817; unsigned int ui32MPG2LLRC_MasterMTXTOPAZFWTextRelocSize = 0; unsigned int ui32MPG2LLRC_MasterMTXTOPAZFWDataRelocSize = 0; unsigned int ui32MPG2LLRC_MasterMTXTOPAZFWTextOrigin = 0x80900000; unsigned int ui32MPG2LLRC_MasterMTXTOPAZFWDataOrigin = 0x828863e8; unsigned int aui32MPG2LLRC_MasterMTXTOPAZFWText[] = { 0x9040c001, 0xc80993fe, 0xc0000e42, 0xc8290e00, 0xc8fe8422, 0xc8298440, 0xc63e8622, 0x9e838620, 0xc8099e43, 0xcc7a0d42, 0xc8090d20, 0xcc7a0942, 0xc8090960, 0xc00a0e42, 0xc8090e40, 0xc00e87c2, 0x9c1887d0, 0x0c020802, 0x09820d82, 0x09020d02, 0x08820c82, 0x9320fffe, 0xa401c838, 0x0dc2c809, 0x0de0cc78, 0x0e42c809, 0x0c86b080, 0x7e74b77f, 0xa48d0882, 0xffff9ff3, 0x9d1393e0, 0xf8398081, 0x0707a205, 0x06850307, 0x03839e97, 0x0ac2c809, 0x0a80cc7c, 0x1ac0c809, 0x1ae0cc7a, 0xc101060f, 0x058d07fa, 0x008f018d, 0xffff9c62, 0x060b9320, 0x06dac101, 0xffff9c62, 0x058d9380, 0xb700018d, 0xb780470c, 0x9c014694, 0x0687a605, 0x0ac2c809, 0x0a80cc7c, 0x1ac0c809, 0x1ae0cc7a, 0xc101060b, 0x9c6206da, 0x9380ffff, 0xaa9df9f8, 0xaa1df9f8, 0x9c229c22, 0x4490b560, 0xb7209c22, 0x0a024b8c, 0x9e8b087f, 0x9e8a9e88, 0x01039e89, 0xc0a20183, 0xc0a80dbc, 0xc0a20c70, 0xc1740d40, 0xc17a0c9c, 0xc1740950, 0xd00809a0, 0xd010a241, 0xd010a261, 0xb50aa241, 0xb58047ad, 0xb5804048, 0xd0084049, 0xb503a261, 0x9c2264ad, 0xa962d050, 0xf0100a02, 0xf010a1e1, 0xb740a26d, 0x9e514908, 0x52640986, 0x297cc00e, 0x22444a7d, 0xb5807686, 0xb3404908, 0xb74048b4, 0xd0114888, 0x52701e28, 0xc00e3244, 0xb5802a7c, 0x9c224888, 0xc912a61d, 0xc9129cc4, 0x74c69cce, 0xf0100707, 0xc000a1ed, 0xd05090e2, 0x7686a962, 0x91f4c009, 0x498cb780, 0x0f82c021, 0xd0f10b86, 0xd1921b48, 0x0f900ae8, 0x4808b780, 0x7d3ec01c, 0x9244c000, 0x498cb7a0, 0xaa2df208, 0xc0097500, 0xf20890a2, 0x7502aa2d, 0x90c2c00b, 0x714c1ad0, 0x9284ffff, 0x4808b780, 0x7d3ec01c, 0x9104c000, 0x4888b780, 0x7d3ec01c, 0x9362c001, 0x4808b780, 0x7d3ec01c, 0x9104c000, 0x4888b780, 0x2a7cc00e, 0x4808b580, 0x4788b780, 0x7d3ec01c, 0x9244c000, 0x4808b780, 0xc00b7d04, 0xb7809304, 0x097f4808, 0x02282a04, 0x5270c200, 0x2a7cc00e, 0x4788b580, 0xaa2df210, 0x75009e6d, 0x9162c008, 0xaa2df210, 0xc0097502, 0xb7a09382, 0xf208490c, 0x7500aa2d, 0x93e2c007, 0xaa2df208, 0xc0097502, 0xf2089202, 0x7502aa4d, 0x93c2c009, 0xaa619d7e, 0xeff00109, 0xc0022900, 0xc10091a2, 0x0d8a0a82, 0x983dc094, 0x050b9eab, 0x2d80c100, 0xd011018f, 0xf01028d4, 0x7506aa4d, 0x9322c000, 0xaa4df010, 0xc0017504, 0x1d509242, 0xffff729d, 0x74c09284, 0x93c2fffb, 0x7e6eb79f, 0x7eeeb7bf, 0x7f6eb7df, 0x7feeb7ff, 0x8c00c002, 0x76c09c22, 0x9102ffff, 0xaa41d050, 0x75060982, 0x90f4c000, 0xaa4df010, 0xc0027504, 0xf01093c2, 0xd050a3cd, 0xb740aa41, 0xc2004908, 0xc00e5270, 0x4a7d297c, 0xb5802244, 0xfffe4908, 0x74409240, 0x91e2fffe, 0x9040ffff, 0x4908b780, 0x2a7cc002, 0x753ec004, 0x9362c002, 0x4588b540, 0x080ac100, 0x9c81c017, 0x9c82c071, 0x9c88c017, 0x4588b780, 0xcffe0285, 0x75002afc, 0x9084c001, 0xc0007c84, 0x098690c2, 0xb5602af5, 0xb7804508, 0xc0024908, 0xc0042a7c, 0xfffc753e, 0xc0219204, 0xc0100c82, 0x9d1e0c90, 0x4d7da962, 0x2d00c801, 0xc0100d82, 0xc80109a2, 0xc0740902, 0x3a889be9, 0x93a0fffb, 0x4508b780, 0xffff7500, 0x0a029042, 0xb5803a88, 0xfffe4508, 0xd0509380, 0xb740aa41, 0x1a104808, 0x5270c200, 0xc00e3244, 0xb5802a7c, 0xd0504808, 0xb780a941, 0x19104888, 0x5168c200, 0xc00e3128, 0xb540297c, 0xfffc4888, 0xc0219180, 0xc0100c82, 0x9d1e0c90, 0xc801aa61, 0x9d9e0a00, 0xa261f000, 0xb5400906, 0xfffc4588, 0xb7409360, 0x9e534908, 0xc2000a06, 0x3244520c, 0x2a7cc00e, 0x4908b580, 0x9100fff6, 0x0e60d051, 0xa003f208, 0xa3adf208, 0x0a58d011, 0xa803f208, 0xa921f208, 0x9e949eab, 0xd2489c62, 0xb740aa21, 0xc2004908, 0x32445270, 0x2a7cc00e, 0x4908b580, 0x488cb780, 0xa803f208, 0xf2089eb6, 0xfff5a3cd, 0xd05191e0, 0xf2080e60, 0xf208a003, 0xd011a3ad, 0xf2080a58, 0xf208a803, 0x9eaba921, 0x9c629e94, 0xaa21d248, 0x4908b740, 0x488cb760, 0x5270c200, 0xc00e3244, 0xb5802a7c, 0xf0084908, 0x9eb6a863, 0xa3cdf208, 0x9180fff4, 0x0e60d051, 0xa003f208, 0x0950d051, 0xa843f008, 0x7e6eb79f, 0x7eeeb7bf, 0x7f6eb7df, 0x7feeb7ff, 0x8c00c002, 0xd0519c22, 0xf2080e60, 0xd051a003, 0xf0080950, 0xb79fa843, 0xb7bf7e6e, 0xb7df7eee, 0xb7ff7f6e, 0xc0027fee, 0x9c228c00, 0x0e60d051, 0xa003f208, 0x488cb740, 0xa843f008, 0x7e6eb79f, 0x7eeeb7bf, 0x7f6eb7df, 0x7feeb7ff, 0x8c00c002, 0x020f9c22, 0x91c0fff4, 0xb780a60d, 0x0906478c, 0x4b14b7a0, 0xa10df208, 0xa023f210, 0xf2080a10, 0xb7a0a803, 0xd032480c, 0xd1911b58, 0x010d0b58, 0xaa4df1e9, 0xc000750a, 0x708a91e4, 0x9344ffff, 0xa823f210, 0x7eeeb79f, 0x7f6eb7bf, 0x7feeb7df, 0x9c228c60, 0x0992058d, 0x9a0cfff4, 0x9120ffff, 0xb7a0a61d, 0xb7804c14, 0x0d02478c, 0x09169e69, 0x09c8d052, 0x09c2c809, 0xa121f210, 0x0b40d0b1, 0x632db546, 0xf248070b, 0xf248a10a, 0xc204a11e, 0x9e5509c0, 0x0f69cfa0, 0x99ccfff4, 0x0e81cfa4, 0x9bb4fff4, 0x1be8d051, 0xaa55f229, 0x9ebb0982, 0x9e9a7500, 0xc0000906, 0xf2109202, 0xd210a8a1, 0x9ea9aa41, 0x28fec00f, 0x5a60c200, 0xf2103242, 0xc034a221, 0x0a8498df, 0xc0d07544, 0xc0d00ee0, 0xffff0f60, 0xc0219064, 0xc0100902, 0x9d2d0910, 0xc801aa61, 0x9dad0a00, 0xa261f000, 0x7e6eb79f, 0x7eeeb7bf, 0x7f6eb7df, 0x7feeb7ff, 0x8c00c002, 0xf8399c22, 0xfff4a205, 0x0d829962, 0x9960fff4, 0xc0740d8a, 0xfff49a68, 0xc021995e, 0xc0040a02, 0x9d4d0a60, 0xb720aa61, 0x2a7c4b8c, 0x0d02c401, 0xc11c0103, 0xd0080954, 0xc021a241, 0xcff00902, 0xb5890d00, 0x09205ea9, 0xf0009dad, 0x0882a162, 0x09029e8b, 0x2dbed3f1, 0xb5400a7f, 0xb7004788, 0xb540478c, 0xb5804808, 0xd0514908, 0xb7206a39, 0xd0205294, 0x0c160140, 0xb54074c0, 0x2cf14608, 0x8582c01c, 0x8542c02c, 0x8702c014, 0xa1c1d050, 0xa04ef010, 0x9264c000, 0xf0109d44, 0x0d84a0c6, 0x2dbed3f1, 0x6a39d051, 0xd02074c0, 0xd0500140, 0xf010a1c1, 0xffffa04e, 0xf1d09222, 0xd011aa51, 0x74c20932, 0x02420a0c, 0xc00e2a71, 0xf010297c, 0xc000a245, 0x9d4793a2, 0x74c69d53, 0x08c0d2c9, 0xfffe748a, 0xc07493d4, 0xc8299a62, 0xc8fe0922, 0xf0080920, 0x7500aa41, 0x0a42d002, 0x4624b422, 0x9b28fff4, 0xf9f80802, 0x9c22aa1d, 0x0d849d67, 0x9100fffe, 0x2dfcc00e, 0x5db00d84, 0xcffe9e5c, 0xc021297c, 0xc0100a00, 0x9dcd0a00, 0xa162f000, 0x599009bc, 0xcff05928, 0xc00f2980, 0xc011297c, 0xc0213980, 0x31b40d80, 0x0d80c00e, 0xf0009dbe, 0x9c22a1e1, 0x2dfcc00e, 0x5db00d84, 0xcffe9e5c, 0xc021297c, 0xc0100a00, 0x9dcd0a00, 0xa162f000, 0x592809bc, 0xcff05990, 0xc00f2980, 0xc021297c, 0x31260d80, 0x0d80c00e, 0xf0009dbe, 0x9c22a161, 0x2dfcc00e, 0x5db00d84, 0x0992c00e, 0xcff00d02, 0xc06e0902, 0xa61d9160, 0x8440c002, 0x2dfcc00e, 0x7e74b57f, 0x5db00d84, 0xc0210487, 0xc0100c80, 0x9e9e0c80, 0x7cf4b53f, 0xaa619d1e, 0x0d80c021, 0x0db0c010, 0x438cb580, 0x7c74b57f, 0xaa619d3e, 0xb5800d82, 0xb77f430c, 0x9dbd7c6c, 0xa1e2f000, 0x0e6ed031, 0xeffe0189, 0xc00429c1, 0x03879222, 0x75e0c1fc, 0x7df4b55f, 0x7d6cb55f, 0x9152c003, 0x75c00a02, 0x7becb59f, 0x7b6cb59f, 0x7aecb59f, 0x7a6cb59f, 0x9202c003, 0x8d00e0d3, 0xb55f9ebf, 0x030f7f7c, 0x9d5a0e82, 0x92e0c000, 0x7dfcb77f, 0xf0310e84, 0xd0392ede, 0x1f04aa65, 0xb57f1b04, 0xb77f7dfc, 0xc0207f7c, 0x8504a26d, 0x9262c000, 0xc0017580, 0x77809082, 0x9144ffff, 0x7f7cb77f, 0xf0310e84, 0xc0202ede, 0x1b04a36e, 0xffff8504, 0xb77f9224, 0xd0517e74, 0xe0d21dd0, 0xc0748d00, 0x75809935, 0xb5bf9d59, 0xb5bf7bec, 0xb5bf7b6c, 0xb5bf7aec, 0xffff7a6c, 0xb75f9004, 0xb77f7d74, 0x9e7b7e74, 0xfff4010d, 0xb77f9b4f, 0xc1017e74, 0xfff413fe, 0x75c09b67, 0x9142c001, 0x7d6cb75f, 0x75e0c1fc, 0x012ec101, 0x7d6cb55f, 0x9354fffc, 0x0b02c0fc, 0x0a029eb7, 0x8d00e0d3, 0x7becb59f, 0x7b6cb59f, 0x7aecb59f, 0x7a6cb59f, 0x7f7cb55f, 0x9340fffc, 0x7e74b77f, 0x7d74b75f, 0x010f018f, 0x9b22fff4, 0x7e74b77f, 0x9b3cfff4, 0x438cb780, 0x7cf4b75f, 0xf0009dae, 0xb740a261, 0xb77f430c, 0x9dbd7c6c, 0xa161f000, 0x7b6eb79f, 0x7beeb7bf, 0x7c6eb7df, 0x7ceeb7ff, 0x8c40c004, 0xa61d9c22, 0x8400c002, 0x2dfcc00e, 0xb57f9e59, 0xc0807f74, 0xc0215a30, 0xc1100a00, 0x03070a00, 0xb59f9e93, 0x9d4d7e6c, 0xd031a961, 0x01890a3e, 0x29c1effe, 0x440cb540, 0x93e2c002, 0x07879e9e, 0x77a0c1fc, 0x7ef4b55f, 0x9092c002, 0x7ef4b75f, 0x7f74b77f, 0x09029e73, 0x9ab8fff4, 0x7f74b77f, 0x1ee2d012, 0x9af0fff4, 0xc002777f, 0x9e7790c2, 0x02850902, 0x91e0c000, 0xc0007580, 0xd0299102, 0x9eaaaa45, 0xc2201b04, 0x715ba269, 0x9222c000, 0x7d5e0a84, 0x9244ffff, 0x7f74b77f, 0x8d00e092, 0xc074018b, 0xe09198b0, 0xffff8d00, 0xd01190e0, 0xe1010e72, 0xd020176e, 0xc00003ca, 0xb79f93c2, 0xc1fc7eec, 0x024e77a0, 0x7eecb59f, 0x9014fffe, 0x7ef4b75f, 0x7f74b77f, 0x0982c0fc, 0xfff40902, 0xb77f9a75, 0xc0fa7f74, 0xc0fc0efe, 0xfff40b82, 0xfffd9aab, 0xb78093e0, 0xb73f440c, 0x9d9d7e6c, 0xa261f000, 0x7c6eb79f, 0x7ceeb7bf, 0x7d6eb7df, 0x7deeb7ff, 0x8c00c004, 0x9c229c22, 0xc00ea605, 0xb7a02dfc, 0xc0d04b94, 0x06ba6de2, 0x099a9e69, 0x4631b76e, 0xc1740d84, 0x9e699879, 0x287cc00e, 0x46a9b78e, 0x08027100, 0x0802d001, 0x7f6eb79f, 0x7feeb7bf, 0x9c228c40, 0xd3f2a61d, 0x9e5f2abe, 0x9e56058b, 0x9e4d9e96, 0x9bdafff4, 0x7c3ec01c, 0x1000d012, 0x9004c001, 0xb7409e6c, 0xc0d04b8c, 0xd0206a62, 0x099a02c4, 0xb76e9e69, 0xd1a24631, 0x0d845c90, 0x00940098, 0x572db5a3, 0x55adb5e3, 0x562db5c3, 0x56b5b5c3, 0x9840c174, 0xb50e9e69, 0x08064629, 0x7e6eb79f, 0x7eeeb7bf, 0x7f6eb7df, 0x7feeb7ff, 0x8c00c002, 0xa6059c22, 0x8440c002, 0x2e3ed1f1, 0x750c9e9a, 0xc0009e95, 0x750e93c2, 0x92c2c001, 0x4b8cb7a0, 0x4488b760, 0x2a3ed3f1, 0x6a62c0d0, 0xb74e00ca, 0xd2a24729, 0x70885e61, 0x9082c000, 0x4729b58e, 0x7c6eb79f, 0x7ceeb7bf, 0x8c00c004, 0xb7609c22, 0xe0d14690, 0x09b28d00, 0x9af1fff4, 0x7a6cb79f, 0xfffe7508, 0xd22693b2, 0x8520590c, 0x8044e050, 0x9080c003, 0x9280fffe, 0x9180c002, 0x9360c001, 0x93e0c000, 0x8c88f091, 0x4690b760, 0xc002010b, 0xfff40992, 0xf2089ad4, 0x7548aaa1, 0x9012fffe, 0x590cd2a6, 0xe0508520, 0xc0058044, 0xc0049100, 0xc00492e0, 0xc00390c0, 0xc0029220, 0xb76091c0, 0xb7a04488, 0xd3f14b8c, 0xc0d02a3e, 0x00ca6a62, 0x552db742, 0xfffd7480, 0xb78090e2, 0xe0b2530c, 0xf2088d88, 0x9ea4aa15, 0xb7609c62, 0xfffc4488, 0xb7609360, 0xb7a04488, 0xb75f4b8c, 0xd3f17aec, 0xc0d02a3e, 0x00ca6a62, 0x77adb544, 0x9180fffc, 0x4488b760, 0x4b8cb7a0, 0x6a68b75f, 0x2a3ed3f1, 0x6a62c0d0, 0xc0a8024a, 0x0d060a40, 0xa11dd208, 0xa11ad208, 0x9300fffb, 0x4488b760, 0x4b8cb7a0, 0x7aecb75f, 0x2a3ed3f1, 0x6a62c0d0, 0xb54500ca, 0xfffb532d, 0xb7609120, 0xf0d14488, 0xb7a08c00, 0xd2884b8c, 0xd3f1a911, 0x9ea22a3e, 0x6a62c0d0, 0x6d1ac034, 0x024a0244, 0x0524c101, 0x0a00c0a0, 0x5d080902, 0xa10dd208, 0x04abd110, 0x7c74b75f, 0x53b5b543, 0x9100fffa, 0x4488b760, 0x4b8cb7a0, 0x7268b75f, 0x2a3ed3f1, 0x6a62c0d0, 0xb54a00ca, 0xb79f7029, 0xb5827c6c, 0xfff9662d, 0xb76092a0, 0xb7a04488, 0xb75f4b8c, 0xd3f17c6c, 0xc0d02a3e, 0x00ca6a62, 0x672db542, 0x90c0fff9, 0x4488b760, 0x4b8cb7a0, 0x7c6cb75f, 0x2a3ed3f1, 0x6a62c0d0, 0xb54200ca, 0xfff866ad, 0xb76092e0, 0xe0d14488, 0x09028c80, 0x56b1b740, 0x2a3ed3f1, 0x0918c034, 0xb7a06145, 0xc1014b8c, 0xc0d00124, 0x59086a62, 0xc10100aa, 0xb75f0244, 0x024a7e68, 0x0a00c0a0, 0xa105d208, 0x7f74b75f, 0x4f35b543, 0x7cecb79f, 0x78adb582, 0x7d6cb75f, 0x7d2db542, 0x7decb79f, 0x41adb583, 0x7e6cb75f, 0x462db543, 0x7eecb79f, 0x4aadb583, 0x9000fff7, 0xc002a61d, 0xc00e8420, 0xb55f2d7c, 0xc00e7ef4, 0xc0212cfc, 0xb57f0d02, 0xb55f7e74, 0xd3f27f6c, 0xb53f2bbe, 0xc0107ff4, 0x9d2e0d10, 0xc021a9e1, 0xc0100902, 0xd0720920, 0x9d2d2abe, 0xd011aa61, 0x2a7c0fd2, 0x2b7ed072, 0xb325711d, 0xb3264822, 0xc0054422, 0xb77f91c4, 0x098a7e74, 0x99c4ffd4, 0xa9619d5d, 0x2aaed072, 0xaa619d6d, 0x0fd2d011, 0xd0722a7c, 0x73992b7e, 0x91e2ffff, 0x7d6cb55f, 0x7f6cb77f, 0x0b060a02, 0xa961d008, 0x8d00e0b2, 0x7b6cb59f, 0x7cecb59f, 0x6c68b55f, 0x7becb59f, 0x7c6cb59f, 0xb960010d, 0xb77f4070, 0x9e937f6c, 0xc0300b04, 0x010daa45, 0xa269c020, 0x92e1ffff, 0x8d00e0b2, 0x0982058f, 0x9a5ac054, 0x8d00e0b2, 0x0982058f, 0x9a7fc054, 0x7fecb7bf, 0x4b8cb780, 0x5e88c280, 0x6ae2c0d0, 0xc05a02d8, 0xf2080ae0, 0xb79fa922, 0x018d7cec, 0xa94ae050, 0x058f0902, 0x7decb59f, 0x986afff4, 0xfff4058f, 0xb79f9885, 0xe0b27dec, 0x058f8d00, 0x09824a7d, 0x7cecb59f, 0x9a2ec054, 0xaaa1f208, 0x018d9e6c, 0xa906e250, 0x7d6cb79f, 0x058f0902, 0x2a01cffe, 0x7d6cb59f, 0x982cfff4, 0xfff4058f, 0xb75f9867, 0xc0047d6c, 0x0a0275c0, 0x4824b364, 0xc0213244, 0xc0100902, 0x9dad0910, 0xa261f000, 0x8d00e0b2, 0x058f0982, 0x9a31c054, 0x7cecb79f, 0x7decb77f, 0xffff7106, 0xb77f92a4, 0x76c07ef4, 0x9102c000, 0xc0540d8e, 0x0d8a99ec, 0x99e9c054, 0x7beeb79f, 0x7c6eb7bf, 0x7ceeb7df, 0x7d6eb7ff, 0x8c20c004, 0xb57f9c22, 0xfffb7d6c, 0xf83990e0, 0x8440a205, 0xc00e0a02, 0xc0d028fc, 0xb7000a60, 0x62194b94, 0x29fcc00e, 0x0041d120, 0xb70359a0, 0xc00e65d4, 0x39842cfc, 0x7e6cb57f, 0x7f74b53f, 0x2daed3f1, 0xd3f29e89, 0xe051292e, 0xb51f8d00, 0xfff47ef4, 0xf9f89b03, 0x9c22aa15, 0xa205f839, 0xc00e8440, 0x9e492cfc, 0x4b8cb780, 0x68e2c0d0, 0x292ed3f4, 0x0018d020, 0x29fcc00e, 0xb7039d0a, 0xc07066cc, 0xd8188540, 0xc000a8c1, 0xc2005a20, 0x71025a41, 0x2caed3f1, 0x9162c000, 0x2801cff0, 0xa241d818, 0xb58e0a02, 0xb5034948, 0xb74366cc, 0xb7436554, 0xc18065cc, 0xb55f5a20, 0xb55f7ff4, 0x9dc87eec, 0x8d00e051, 0xb59f0183, 0xb51f7e6c, 0xfff47f6c, 0xf9f89ac3, 0x9c22aa15, 0xc002a61d, 0xb7408400, 0xb7404b8c, 0xb7204b94, 0x0a024b8c, 0xc14209ff, 0xc1420910, 0xc0210d14, 0x9e5f0f02, 0xa241d008, 0xa241d010, 0x0f40c006, 0x4988b560, 0x4629b58e, 0x46a9b58e, 0x0902c021, 0x0950c006, 0xaa619d2d, 0x2aced3f1, 0xc0097546, 0xb7809034, 0x75004408, 0x9282c000, 0x4794b740, 0xaa55f050, 0xa949f090, 0x0a02750a, 0x0a42d001, 0xd001748a, 0xd3e10a42, 0x75022a4e, 0x9032c00a, 0xfffe7546, 0x750293b4, 0x9372c009, 0xabe29d6e, 0xa9e29d6e, 0x7f74b57f, 0xaa619d6e, 0x7eecb59f, 0xa8e19d6e, 0xb53f9e7c, 0xcff07e6c, 0xc2002a00, 0xd0115aa1, 0xd0510954, 0xb7406b29, 0xd3f2478c, 0x02642efe, 0xaa0df208, 0xc008750a, 0x774891a2, 0x90c2c007, 0x7fc0c010, 0x90c4c001, 0x7eecb75f, 0x7f74b75f, 0x7e74b73f, 0x018b058f, 0x98dcfff4, 0x4794b760, 0x0266c101, 0xa90df228, 0xc0077488, 0x9eab91c2, 0x98b2fff4, 0x7c3ec01c, 0x09929ebb, 0x92c2fffc, 0x9826ffd4, 0x92a0ffff, 0x09929ebb, 0x9820ffd4, 0x4608b760, 0xffff74c6, 0x7cc29322, 0xb5200882, 0xd0224688, 0xc0071524, 0xd0119362, 0xd3f20e22, 0x9e54294e, 0x7c825173, 0x9324ffff, 0xd0220d86, 0xb5405668, 0xd3f14690, 0x0a02294e, 0x4b8cb720, 0x0a60c0d0, 0x9eab6259, 0x02c2d020, 0x9e6e4126, 0xc072050b, 0xb55f0d40, 0xb5407ff4, 0xc0724608, 0xf2080b20, 0x9e69aa41, 0x7decb59f, 0x65adb723, 0xa3c2f208, 0x7f6cb75f, 0x7d6cb53f, 0xf0109e69, 0xb543a942, 0xb79f65ad, 0xb73f7fec, 0xb55f7eec, 0xf2087cf4, 0x9e69a081, 0x7e6cb75f, 0x66adb723, 0x7c6cb53f, 0xb5439e69, 0xffb466ad, 0xb77f9b7f, 0xb75f7f6c, 0xb75f7ef4, 0x058f7e6c, 0x989bfff4, 0xb7409e69, 0xb7434690, 0xb78766ad, 0xb76e442b, 0xcff14929, 0xc00e0882, 0x212208fc, 0x5a20c200, 0x9e693244, 0x2a01cff0, 0x9ebb3246, 0xb5839ea9, 0x090666ad, 0xfff4018b, 0xb7609ab3, 0xb7404794, 0xb73f4688, 0xf0507dec, 0x0a06a976, 0x5108c200, 0x4608b780, 0xa0c1f208, 0x7cf4b77f, 0xb75f7688, 0x9e697ff4, 0xf0104128, 0xb75fa1c2, 0xb5437c74, 0xb77f66b5, 0xb5637d74, 0xb54065b5, 0xc0034608, 0xb7409002, 0xf088478c, 0x7508aa49, 0x90c4fff7, 0xf0880d06, 0xc021a14a, 0xc0060902, 0x9d2d0950, 0xd3f1aa61, 0x75462ace, 0x9072fff7, 0x098a9ebb, 0x9b66ffb4, 0x93a0fff6, 0xc0d00a02, 0xb7600a60, 0xb7404b94, 0x62594988, 0x00c7d120, 0x74bec01c, 0x6149b54b, 0x9142c000, 0xc0d00a02, 0x62290a60, 0x00c6c101, 0x61a9b5ab, 0xb58b0a7f, 0xb5a061c9, 0xfff84988, 0x08869060, 0xa081f208, 0x9220fff8, 0x69d9d052, 0x4a14b740, 0x09c2c809, 0x09d0c288, 0xffb405b4, 0xfff79b15, 0xb7409140, 0x0a16478c, 0xa255f048, 0xa26df208, 0x7c6eb79f, 0x7ceeb7bf, 0x7d6eb7df, 0x7deeb7ff, 0x8c00c004, 0xb7809c22, 0x0886478c, 0xa095f248, 0x93a0fffc, 0xfff80906, 0xa60d92c0, 0x4608b740, 0x06859e5d, 0xd3f17c82, 0xc0002b3e, 0x9eab9162, 0xffb40992, 0xb7409b09, 0x7c824608, 0x9324ffff, 0x0a064904, 0xb5807746, 0xb5404708, 0xc0024608, 0x774492e2, 0x91e2c002, 0x540cb740, 0x5e08d2a2, 0xaa05e220, 0x9c629ea4, 0xb7800902, 0xc0d04b8c, 0x61650960, 0xb74300a8, 0x018366b5, 0x09c0c070, 0xa961d808, 0x5e20d122, 0x5a41c200, 0xb4237088, 0x77424425, 0x9262c000, 0x4729b78e, 0x2d7ec00f, 0xc2009e52, 0x32445a60, 0x9eb19eab, 0x0d02018d, 0xb5830906, 0xfff466ad, 0xb76099d7, 0xb740478c, 0xb7804708, 0xf0484608, 0x4244a962, 0x09027688, 0x4608b580, 0x4708b540, 0x90a4c000, 0xf0480a06, 0xb79fa261, 0xb7bf7eee, 0xb7df7f6e, 0x8c607fee, 0x9eab9c22, 0x9a72c034, 0x9300fffd, 0xc0949eab, 0xfffd9908, 0xa61d9260, 0xd0508420, 0x0b82aa61, 0x4b8cb740, 0xd3f11a08, 0xc0d02b4e, 0x63ef0be0, 0x9eaf02f4, 0xc072008b, 0x068708c0, 0xc0720f02, 0xb53f0fa0, 0x008b7f6c, 0x4629b74e, 0x46a9b78e, 0xc0007088, 0x058b91c4, 0xffb40992, 0x9ea99a7d, 0x4649b74e, 0x46c9b78e, 0xffff7088, 0x9eb392c2, 0x9a28ffb4, 0xb76e008b, 0xb78e46a9, 0x71064629, 0x90c2c001, 0x4b94b720, 0x5890c180, 0xc101009e, 0xb7830092, 0x9ea9562d, 0x55adb743, 0x65cdb583, 0x7f6cb79f, 0x5735b743, 0x56adb723, 0x09b2d012, 0x66d5b543, 0xa081f208, 0xf210099a, 0xd3f2a161, 0xc1342b2e, 0x008b9b53, 0x46a9b50e, 0xffb49eb3, 0x058b99f9, 0x050d018d, 0x9b29fff4, 0x4794b720, 0x444db780, 0xc0007508, 0x9e7493e2, 0x2a7dcff6, 0xfffd7502, 0xb7209144, 0x09164794, 0x444db580, 0x4408b780, 0xb5800a04, 0xf2104408, 0xb79fa12d, 0xb7bf7dee, 0xb7df7e6e, 0xb7ff7eee, 0xc0027f6e, 0x9c228c20, 0xb5600986, 0xffff444d, 0xf0089000, 0x9e90aa61, 0x2dfcc00e, 0xc0017502, 0x76809234, 0x90a2c001, 0x5e30d1a2, 0x1da2d010, 0xc00f9ea3, 0xc0210cfe, 0xcff10d80, 0xd0120882, 0xc1400938, 0xc00e0de0, 0xcff00cfc, 0xf0310880, 0x9e48aa45, 0x22402142, 0xc2005921, 0x32445a20, 0x4006ba24, 0xf0009dbe, 0xffffa261, 0xd0089241, 0xb780a971, 0x0806404c, 0xb5800244, 0x9c22404c, 0x4049b740, 0xc2000a06, 0x32445204, 0x4049b580, 0x9120fffe, 0xa285f839, 0x04879e90, 0x2c7ccffe, 0xd3f27600, 0x9d392dae, 0x9142c001, 0xaa61f008, 0x294ef011, 0x9102c001, 0x1201c101, 0x12440a20, 0xc1010922, 0x9e951120, 0x0d7ec00e, 0xba045557, 0xd010400a, 0xc0002526, 0xb78093ea, 0x51404049, 0xb5403128, 0xa8c14049, 0x2a1ed011, 0x0609d110, 0xd110750e, 0xd0090603, 0xa2410c92, 0xf9f89e48, 0x9c22aa9d, 0x4049b540, 0xaa61f008, 0x294ed011, 0x9280fffe, 0x5920d124, 0xb7601101, 0x9e954051, 0x9e595555, 0x5e21d122, 0x0980d032, 0xd0313242, 0xa8c1a225, 0x2d7cc00e, 0x2a2ed3f1, 0x0483d110, 0x1098554f, 0x0a020583, 0x2d7cc00e, 0x297ccffe, 0xb580a0c1, 0xf9f84049, 0xfffcaa9d, 0xa60d93a0, 0x0ea0f012, 0x9e9e9e58, 0x91c2c002, 0x0b020d06, 0x052416d4, 0x1e22d011, 0x0962d011, 0xd3f1711b, 0xffff2b2e, 0xd01192e6, 0x75100a62, 0xc000028d, 0x9e8391d4, 0x1aa09e73, 0x09220d02, 0x9b7cfff4, 0x0a52d011, 0xffff7510, 0x9e8392d2, 0xd3f19e73, 0x0d06294e, 0x9b70fff4, 0xc0007590, 0xd03192f4, 0xd3f11a60, 0x9e6c2b4e, 0xc2009e83, 0xd3f25299, 0x9e73295e, 0xfff40922, 0xc2009b5f, 0x759052b8, 0x16dac101, 0x91b2ffff, 0x9e739e83, 0x2d5ed3f2, 0xb79f010d, 0xb7bf7eee, 0xb7df7f6e, 0x8c607fee, 0x9140fffa, 0x9e520d06, 0xfff49e6e, 0xffff9b45, 0xf01191a0, 0xd01d1d20, 0xd00d0224, 0xc0001a42, 0x9ea290bc, 0x93a0fffc, 0x12441205, 0xfffc9ea2, 0xf0119300, 0xc0000d30, 0x74809202, 0x91f8c000, 0x0802c002, 0x1a02d011, 0x0124e000, 0x284ed3f1, 0x934cffff, 0x08069c22, 0xc0029c22, 0x9c220802, 0x9e999e51, 0x4029b560, 0xaa41f008, 0x0d10d0b2, 0x7680c004, 0xd3f20246, 0xf0082d3e, 0xb340a241, 0xd01148b4, 0xc2000a3e, 0xc8105a15, 0x09a09c83, 0xc00174c0, 0x5d309c8e, 0xb3240a02, 0xc0214432, 0xc00f0d00, 0xcff10dfe, 0xc1400982, 0xc00e0d60, 0xcff00dfc, 0xc8100980, 0xb7809c83, 0x9e58402d, 0x22402146, 0xc2005921, 0x32445a20, 0x4006ba24, 0xa225f029, 0xf0009dae, 0xffffa261, 0x9c229201, 0x8460a61d, 0x8d88f052, 0xb59f0a02, 0xb59f7f6c, 0xb59f7eec, 0xb59f7e6c, 0xf2107d6c, 0xf008a261, 0x9e57a9e1, 0x198c0285, 0x74c0c004, 0x2f3ed3f2, 0x2cfcc00e, 0x0f72d011, 0x90b4c000, 0xc0030802, 0xd1a69000, 0x8520590c, 0x8044e050, 0x92c0c008, 0x9320c011, 0x9020c011, 0x92a0c010, 0x93e0c00f, 0x92c0c012, 0x90a0c012, 0x90e0c013, 0x9120c007, 0x90c0c002, 0x91a0c006, 0x90c0c005, 0x9300c005, 0x9100c004, 0x90c0c003, 0x9240c002, 0x9080c002, 0x9180c00a, 0x92a0c009, 0x9380c008, 0x9040c008, 0x93a0c00d, 0x93c0c000, 0x91e0c00a, 0x9340c000, 0x90c0fffe, 0x9080fffe, 0x9040fffe, 0x9000fffe, 0x93c0fffd, 0x9380fffd, 0x9340fffd, 0x93c0c00d, 0xc0a0024a, 0xd2080a40, 0x7480a901, 0x9122c000, 0xe0719eb3, 0x0d028d80, 0xfff40906, 0xb77f9a65, 0x058d7d6c, 0x010f050f, 0x9b44fff4, 0xb79f0806, 0xb7bf7cee, 0xb7df7d6e, 0xb7ff7dee, 0xc0027e6e, 0x9c228c60, 0x5214b740, 0xe0719eb3, 0xc2208d80, 0x0916a94a, 0x9a48fff4, 0x9060ffff, 0x4488b780, 0x4b8cb720, 0xc0d09eb3, 0xe0716a62, 0x00c28d80, 0x5931b749, 0x45220906, 0x9a36fff4, 0x9220fffe, 0x4488b780, 0x4b8cb740, 0x6a62c0d0, 0xb78400c4, 0x7502782d, 0x458cb580, 0x9254c011, 0x4e2db761, 0xc1349ea3, 0x7400990c, 0x9144c011, 0x0205090a, 0x9ea29eb3, 0x8d80e071, 0x9a16fff4, 0x9220fffd, 0x4488b780, 0x4b8cb7a0, 0x6a62c0d0, 0xb72200ca, 0x188854ad, 0xfffd7446, 0xd0a69092, 0x8520590c, 0x8044e050, 0x9300c00f, 0x9120c00f, 0x91e0c00e, 0x91a0c00e, 0x4488b780, 0x4b8cb720, 0xc0d09eb3, 0xe0716a62, 0x00c28d80, 0x41b5b745, 0x5d21090a, 0x2d7cc00e, 0x99e8fff4, 0x9060fffc, 0x4488b780, 0x4b8cb720, 0xc0d09eb3, 0xe0716a62, 0x00c28d80, 0x7c35b744, 0xfff42d04, 0xfffb9a3c, 0xb7809240, 0xb7404488, 0xc0d04b8c, 0x00c46a62, 0x54b5b742, 0xc00e7684, 0xb7459322, 0x9eb341b5, 0x8d80e071, 0x2d7cc00e, 0xfff40922, 0xfffa99bf, 0xb7809340, 0xb7204488, 0x9eb34b8c, 0x6a62c0d0, 0x8d80e071, 0xb7a500c2, 0x090a41ad, 0x2afcc03e, 0x5921d2a4, 0x99aafff4, 0xe0719e83, 0xd3f28d80, 0x0922295e, 0x99a2fff4, 0x93a0fff9, 0x4488b780, 0x1924d072, 0x4b8cb740, 0x6a62c0d0, 0x02449eb3, 0x0a20c0a2, 0x8d80e071, 0xa29dd208, 0x9a4dfff4, 0x9120fff9, 0x4488b780, 0x4b8cb7a0, 0x6a62c0d0, 0xb74500ca, 0x7480412d, 0x91c4fff8, 0xfff87640, 0x9e929162, 0xe0719eb3, 0x09088d80, 0x9976fff4, 0x9220fff8, 0x4488b780, 0x4b8cb740, 0xc0d09eb3, 0xe0716a62, 0x02448d80, 0x0a40c0a0, 0xa902d208, 0x7680090a, 0xd0020d02, 0xfff40d22, 0xfff7995f, 0xb7809340, 0xb7204488, 0x9eb34b8c, 0x6a62c0d0, 0x8d80e071, 0xb74400c2, 0x09067bb5, 0x0d027682, 0x0d22d00a, 0x994afff4, 0x90a0fff7, 0x5214b740, 0xe0719eb3, 0xc2208d80, 0x0922a94a, 0xc00e0d04, 0xfff42d7c, 0xfff6993b, 0xb74092c0, 0xb7a04490, 0x9e544b8c, 0x6a62c0d0, 0x00cad020, 0x7bcdb744, 0xfff67484, 0x9e4a9024, 0xc09e9e54, 0xd0080920, 0xc034a955, 0x02446a1a, 0x5a08c200, 0xb72400ca, 0xb7857f2d, 0x088441cd, 0xfff57102, 0x0d0691a2, 0x9eb39e52, 0x8d80e071, 0x0e82c002, 0x990efff4, 0x4488b780, 0xc0349ea2, 0xc0d06a1a, 0xc1016d62, 0x9e4a04aa, 0x0920c09e, 0xa955d008, 0xc2000244, 0x00ca5a08, 0x7f2db724, 0x41cdb785, 0x6bcbb744, 0xc00e1218, 0x75002a7c, 0x4444b345, 0xc0007480, 0xd2a290c2, 0xd3f25e04, 0x9e6d2acc, 0x4008ba2d, 0x900ac008, 0xe0719e83, 0x0d068d80, 0x9943fff4, 0x1952d012, 0x8d80e071, 0xfff49e83, 0x9e83993c, 0x8d80e071, 0xfff40d0e, 0xfff39936, 0xb7809180, 0xb7404488, 0x9eb34b8c, 0x6a62c0d0, 0x8d80e071, 0xc09e0244, 0xd2080a20, 0x0d02aa1d, 0x75000906, 0x0d22d001, 0x98bafff4, 0x92a0fff2, 0xe0719eb3, 0x0d028d80, 0xfff4090e, 0xfff298b1, 0xf0109180, 0x0d06aac1, 0x4afd9eb3, 0x8d80e071, 0x2a9c9e52, 0x98a4fff4, 0xe0719e83, 0x010b8d80, 0xfff40d02, 0xfff1989d, 0xd3f29300, 0x9eb3292e, 0x8d80e071, 0xfff40916, 0xfff19893, 0xd3f191c0, 0x9eb32aae, 0x8d80e071, 0x09169eaa, 0x9888fff4, 0x4488b780, 0x4b8cb740, 0x6a62c0d0, 0xc0a20244, 0xd2080a20, 0xfff0a29d, 0xb7809300, 0xb7404488, 0x9eb34b8c, 0x6a62c0d0, 0x8d80e071, 0xc0a20244, 0xd2080a20, 0xd020aa1d, 0xb5801158, 0xfff44b08, 0xfff09926, 0xf0109040, 0x4a7daa41, 0x2aced011, 0xffef754e, 0x9eb39342, 0x8d80e071, 0x09060d02, 0x9240fffd, 0xaac1f010, 0xe0719eb3, 0x0d028d80, 0xfff40906, 0x4afd984d, 0x9e832a9c, 0x8d80e071, 0xc00e010b, 0xfff40d7e, 0xffee9843, 0x9eb393c0, 0x8d80e071, 0x0d7ec00e, 0xfff40922, 0x9e839839, 0x8d80e071, 0x0d7ec00e, 0xfff40922, 0xffee9831, 0x00ca9180, 0x4e35b7a1, 0x7835b764, 0xc1149e6b, 0x058b9b12, 0x2a8ed3f1, 0x98f1fff4, 0x9eb30101, 0x8d80e071, 0xc00e9eaa, 0xfff4297c, 0xffed9819, 0x00ca9280, 0x4135b745, 0xe0719eb3, 0xc00e8d80, 0x090a2d7c, 0x980cfff4, 0x90e0ffed, 0xb72500ca, 0x7640412d, 0xd0010d02, 0x00920d22, 0x0522c101, 0xe0719eb3, 0xc00e8d80, 0x091a2d7c, 0x9bf8ffd4, 0x9260ffec, 0x0a020906, 0x9300ffee, 0x41b5b745, 0xe0719eb3, 0xc00e8d80, 0x09162d7c, 0x9be8ffd4, 0x9060ffec, 0x120bc101, 0x2aced3f2, 0xe0719e83, 0x9e6d8d80, 0xfff40d02, 0xba2d9840, 0xfff74000, 0xa61d9360, 0x8420c002, 0x2dfcc00e, 0xb57f9e58, 0xd0117df4, 0xc2000a02, 0xb59f5a30, 0x0a027d6c, 0x6c68b59f, 0x7d6cb79f, 0xc00e0d82, 0xb57f2cfc, 0xb55f7e6c, 0xb53f7eec, 0xb53f7fec, 0xb57f7f74, 0xf0107bf4, 0xc021a941, 0xc0400a00, 0xb59f0a50, 0xb55f7c6c, 0xc8017cec, 0xb71f0a02, 0x9d8d7c6c, 0xa261f000, 0xc0037480, 0xb7c09042, 0xb7e04a10, 0xd0114a88, 0x07870f28, 0x9080c001, 0xc0017504, 0x750290e2, 0x9082c001, 0x7df4b77f, 0x7eecb75f, 0x7f74b73f, 0x8d08e092, 0xfff4018d, 0xf21098af, 0x0b10a9a1, 0xc00174c0, 0x9e9e91c4, 0x02700387, 0x2bced3f1, 0x7cecb79f, 0x73d90f84, 0x9262c001, 0xaa41f208, 0x75009eb5, 0x9344fffe, 0xaad1d208, 0x7df4b77f, 0x8d08e091, 0x0a9cc002, 0x5a95c280, 0xe0b29eaa, 0x9e798c80, 0xffd4018d, 0xf2109b20, 0xd011a9a1, 0xc2800a68, 0x74c05a88, 0xfffe0358, 0x74d892c2, 0x9122c002, 0xfffe7780, 0xd1109242, 0x0f840661, 0x2b4ed3f2, 0x7cecb79f, 0xfffe73d9, 0xb5c09224, 0xb5e04a10, 0xb7804a88, 0x75004a08, 0x9362c001, 0x4a88b740, 0x7e74b77f, 0x12441a04, 0xc1f05920, 0x2a7c2900, 0x5d40c180, 0xb75f3244, 0xc3ff7d6c, 0x9e502d7c, 0x0900c021, 0xc0483240, 0x9dad0900, 0xa261f000, 0x7fecb75f, 0x0a060d02, 0x4a10b540, 0x4a90b540, 0xa241d808, 0x7becb71f, 0x7beeb79f, 0x7c6eb7bf, 0x7ceeb7df, 0x7d6eb7ff, 0x8c20c004, 0xb75f9c22, 0x9ebe7fec, 0xd8080d86, 0xfffda1c2, 0xb77f9260, 0xd8107ff4, 0x7500aa61, 0x90c4ffff, 0x7d6cb75f, 0x6c68b79f, 0x0900c021, 0x0970c040, 0xf0009dad, 0xb79fa261, 0xb71f7cec, 0x9d8d7c6c, 0xa261f000, 0x7becb71f, 0x7beeb79f, 0x7c6eb7bf, 0x7ceeb7df, 0x7d6eb7ff, 0x8c20c004, 0xa60d9c22, 0x2dfcc00e, 0x5db00d84, 0xf0119e5c, 0xc0400ab0, 0xb5800a00, 0xb560450c, 0xc0014494, 0xc01e9242, 0xc0080b7e, 0xb7400e82, 0xc03c4514, 0x020d757e, 0x4434b354, 0x5914c200, 0x9e5412d8, 0x2900c3fe, 0x0a00c021, 0x9dcd0a50, 0xa161f000, 0x0d00c021, 0xa9619d2e, 0x4494b760, 0xc0219e5c, 0x0a400a00, 0xf0009dcd, 0x3940a2e2, 0xf0009dae, 0x9e6aa161, 0x050b0992, 0x9960c014, 0xfffe7540, 0xb78092c4, 0xc008448c, 0xc0210902, 0x0a400a00, 0xf0009dcd, 0xb79fa161, 0xb7bf7eee, 0xb7df7f6e, 0x8c607fee, 0xa6059c22, 0x2dfcc00e, 0x5db00d84, 0xc0210687, 0x0ec00e80, 0x0a82c008, 0xf0009dde, 0x9e5aa2e1, 0x0900c021, 0x0900c040, 0xaa619d2d, 0x9dad3a40, 0xa261f000, 0x09929eaa, 0xc014010b, 0x9dde992d, 0xa2e1f000, 0x7f6eb79f, 0x7feeb7bf, 0x9c228c40, 0xc008a60d, 0xb7608420, 0xb7c04488, 0x9e5d4b8c, 0x2a3ed3f1, 0x6a62c0d0, 0x010300cc, 0x0920c0a2, 0xa951d008, 0x5ea9b729, 0xb59f0a02, 0x74805e6a, 0x1a12d011, 0x2aced3f2, 0x90e2c001, 0x0e52d011, 0x5ab0c200, 0xd3f10902, 0xc0d02a3e, 0x61450960, 0xb72200ac, 0xd01254ad, 0x76861914, 0x11b6d019, 0x93b2c003, 0x5d0cd126, 0xe0508520, 0xc0058044, 0xc0059280, 0xc00591e0, 0xc0039140, 0x9eab91c0, 0xff74098a, 0x058b9bf5, 0x9949c014, 0x290ed3f2, 0x76bec01c, 0x92a2ffff, 0x4488b760, 0xc0340a02, 0xd3f10a18, 0x6229293e, 0xc1019e90, 0xc0d00244, 0xb7406c62, 0xc2004d1c, 0xd0205a08, 0xd11000cc, 0xb780048d, 0xb7694c8c, 0xb7235eb1, 0xd2a253cd, 0x9d5e5d08, 0x76c09e89, 0xa0c6e040, 0xa16ec020, 0x92a2c000, 0x0d02c021, 0x1db2d010, 0x0d30c140, 0x9dae0902, 0xa161f000, 0x0e28d011, 0xf0009dcd, 0xc100a161, 0xffff0d00, 0xd01192c1, 0xd1110e52, 0xc2000910, 0x020b5ab0, 0x0a00c021, 0x0a40c046, 0xf0009dcd, 0xd110a161, 0xb784048d, 0x75006eab, 0x90e4c000, 0x4cabb78b, 0xc0027500, 0xd3f19224, 0xc0d02a3e, 0x024c6a62, 0x0a20c0a2, 0xd2080906, 0xfffba111, 0xc1019320, 0x00ac0982, 0x6babb744, 0xc0209eaa, 0x74800a02, 0x4422b324, 0x0d00c021, 0x0d00c040, 0x9dae3246, 0xa261f000, 0x65b5b743, 0x8c88f211, 0x010b058b, 0x0982c008, 0x9b67ff94, 0x4488b780, 0xe2319eaa, 0xc0d08c80, 0x024c6a62, 0x0a40c0a2, 0xa901d208, 0x0982058b, 0xfff40c86, 0x058b99b8, 0x9afffff4, 0x766eb79f, 0x76eeb7bf, 0x776eb7df, 0x8c00c00a, 0x098a9c22, 0x90e0fffe, 0xfffe098e, 0x09869080, 0x9020fffe, 0x66adb765, 0xfff4058b, 0xb7609a96, 0xfffd4488, 0xc1279140, 0x9c229c8f, 0xc017080a, 0xc0719c81, 0xc0179c80, 0x9c229c80, 0x2dfcc00e, 0x5db00d84, 0xb9609e5a, 0xc0214018, 0xc00e0900, 0xf0310940, 0x9dadaa45, 0xa261f000, 0xffff0910, 0x9e5c9341, 0x29c0c3fe, 0x0a00c021, 0x3988c001, 0x0a30c00e, 0xf0009dcd, 0x9c22a1e1, 0x0d80c021, 0x05b7d110, 0xaa619d3d, 0x71152244, 0x9384ffff, 0xa6059c22, 0x2ebed3f1, 0x29c0c3fe, 0xc2800a84, 0x020b5ab0, 0x0a00c021, 0x398cc001, 0xc00e0685, 0x9dcd0a30, 0xa1e1f000, 0xc00e9eab, 0x0d020992, 0x0902cff0, 0x0a80c021, 0x9bdafff4, 0x0ac0c00e, 0x4018b960, 0xaa619d5d, 0xa225f231, 0xffff0a90, 0xb79f9361, 0xb7bf7f6e, 0x8c407fee, 0xfffc9c22, 0xb78093e0, 0x09824488, 0x4b94b720, 0x09e0c0d0, 0xc10161c7, 0x020300b2, 0x77adb744, 0x0a00c0a0, 0xaa05d208, 0x0d0a7482, 0x4442b322, 0xc0007117, 0x76829302, 0xd0100802, 0xc0a01da2, 0xb3030888, 0x08044406, 0x90a1c000, 0x087ec00e, 0xd0299c22, 0x7117aa25, 0x92e4ffff, 0x287cc00e, 0x08029c22, 0xa60d9c22, 0x4d14b7c0, 0x2ebed3f2, 0x77400a7f, 0xa229c260, 0x9302c001, 0x4488b720, 0xb7c00a82, 0xc0d04b8c, 0x629b0ae0, 0xb76900dc, 0x0d925ea9, 0x9b54c0f4, 0x0d929e82, 0x0d22d011, 0x0254c101, 0x7097024c, 0x01899e52, 0x497d9e5c, 0x098cc0a0, 0x01a8d000, 0x905ac002, 0x76c0d001, 0x93c2c001, 0xaa65d029, 0xc0017500, 0x0d049022, 0x9341ffff, 0x087ec00e, 0x7eeeb79f, 0x7f6eb7bf, 0x7feeb7df, 0x9c228c60, 0x4488b720, 0xb7c00a82, 0xc0d04b8c, 0x629b0ae0, 0xb76900dc, 0x0d925ea9, 0x9b1ec0f4, 0x050b9e83, 0x9140fffe, 0xffff7286, 0xc1019076, 0xc00e0254, 0x9e502d7c, 0xc0a0024c, 0x09060a00, 0xa029c260, 0xa10dd208, 0x7eeeb79f, 0x7f6eb7bf, 0x7feeb7df, 0x9c228c60, 0x4000b960, 0x9040fffe, 0x4488b740, 0x4b8cb780, 0x0982c021, 0x6962c0d0, 0xc0210128, 0x00850d02, 0x09b0c012, 0x0d10c012, 0x08f0c048, 0x40d0b960, 0xc00076c6, 0xb79f9202, 0x9dbd652d, 0xa261f000, 0x57adb75f, 0xf0009dae, 0x1890a161, 0x9241ffff, 0xb7809c22, 0x9dbd402d, 0xa261f000, 0x72adb75f, 0xf0009dae, 0xffffa161, 0xa60d9240, 0x4488b760, 0xb7a00707, 0xd3f14b94, 0x9ea32a3e, 0x2f7ccffe, 0x6de2c0d0, 0x04bad010, 0x6a2db784, 0x7d00c004, 0x9222c001, 0x7d00d000, 0x9024c004, 0x530cb740, 0x70b1b74a, 0x05bad010, 0xa945f008, 0xc0260a06, 0x05ba09a8, 0x682bb585, 0x01b4c101, 0x0d90c056, 0x9c629e94, 0x4488b760, 0x2a3ed3f1, 0x6a62c0d0, 0x00cac101, 0xb74b9e8a, 0xc0945329, 0xf0100d40, 0xc0a2aa41, 0xb54008a0, 0xcffc43a9, 0xf0102a7d, 0xd3f1a241, 0x9e8a28be, 0x6d62c0d0, 0x04aad010, 0x4c2bb78b, 0xc0007500, 0xb7849242, 0x75047bad, 0x9162c003, 0xc0037502, 0x75009382, 0x9184c003, 0x04aad010, 0xb58b0a02, 0xd0104c2b, 0xb7c006aa, 0x020b4b8c, 0x0a60c0a8, 0xaa11d208, 0xc0017500, 0xd1109264, 0xb74b04ad, 0x02035329, 0x0a40c0a2, 0x08a0c0a2, 0xa101d208, 0x43a9b540, 0x04aad010, 0x5eb1b749, 0xc0007680, 0x02039242, 0x510cb740, 0x0a40c0a2, 0xa881d208, 0x0a040a02, 0x2a7cc00e, 0xd0297115, 0xffffa0c5, 0xb79f9344, 0xb7bf7eee, 0xb7df7f6e, 0x8c607fee, 0x0a069c22, 0x672bb585, 0x93c0fffb, 0x530cb700, 0xb764008b, 0xb76b7bb5, 0xb7004c2b, 0x050d422c, 0x9c629e84, 0x4488b720, 0xc0a2020b, 0x9e8a0a40, 0xa001d208, 0x6d62c0d0, 0x062dd110, 0x0a60c0a8, 0xaa11d208, 0xfffd7500, 0xfffd93e4, 0xb7819200, 0x75004bad, 0x9344fffc, 0x93a0fffc, 0xfffc7506, 0x02039344, 0x0a40c0a0, 0xa901d208, 0xfffc7480, 0xfffc9242, 0xb7819160, 0x75024cad, 0x90c4fffc, 0x9120fffc, 0x7cfedffc, 0xc0009e4c, 0xb78092c2, 0xb7204488, 0xc0d04b8c, 0x00c26a62, 0x50adb741, 0x502db781, 0x4fb5b741, 0x762db544, 0x76adb584, 0x7735b544, 0x76869c22, 0x9082c001, 0xd1197093, 0xd01a1223, 0xd0091244, 0xd00a18c2, 0xb78018c2, 0x68b24488, 0x6a62c0d0, 0x4b94b720, 0xc1010098, 0xb7410092, 0xd120522d, 0xb54400c3, 0xb781764d, 0xb58451ad, 0xb72176cd, 0xb524512d, 0x9c22774d, 0xb7207102, 0xd0194b94, 0xd01a1242, 0xd0091218, 0xd00a18c2, 0xb78018c2, 0x68b24488, 0x6a62c0d0, 0xc1010098, 0xb7450092, 0xd12048ad, 0xb54400c3, 0xb785764d, 0xb584482d, 0xb72576cd, 0xb52447ad, 0x9c22774d, 0x2dfcc00e, 0x59a09e5c, 0xc00f5d40, 0xcff02d7c, 0x31b82980, 0xdffc9e54, 0x30387cbe, 0xcffe9e4c, 0xcffe28fc, 0xb75f2a7c, 0xb75f7e6a, 0xc0007d72, 0xc2019282, 0x74403800, 0x9082c000, 0x3800c011, 0xb3407480, 0x768048a2, 0x3800c021, 0x48a2b340, 0x3800c041, 0x75009c22, 0x91e2ffff, 0x3800c101, 0x9160ffff, 0x2dfcc00e, 0xc0215db0, 0xc1160d80, 0x9dbe0d80, 0xa1e1f000, 0xb7809c22, 0xd3f14888, 0xc00e2d3e, 0x75002a7c, 0x90a4c000, 0x4788b580, 0x09869c22, 0x1a22d011, 0x294ed3f2, 0x9e527480, 0x4442b332, 0x4422b332, 0x4888b780, 0xc00e9e50, 0xc2002a7c, 0x7d025203, 0x91c2ffff, 0x0e28d011, 0x478cb740, 0x09866a52, 0x01c4d020, 0xd0315260, 0xc00e0cb8, 0xb7402a7c, 0xb580402d, 0x74884788, 0x48a4b340, 0xaa61d050, 0x4908b740, 0x402db560, 0xc00e5270, 0x4a7d297c, 0xb5802244, 0x9c224908, 0xb780a605, 0x08824488, 0x4b94b700, 0x08e0c0d0, 0xd12060c3, 0xb7840091, 0x75006fcb, 0x91e2c003, 0x784db784, 0xc0037500, 0xb7829142, 0xb7425b4d, 0xb76259cd, 0xc2005acd, 0x59405a20, 0x5a55b742, 0x2a00c3f0, 0x297cc001, 0x5ed1b7a9, 0x29fc3244, 0x5d603246, 0xc3f19ea3, 0x77402d00, 0xc0023534, 0xc0219282, 0xd0100902, 0xc1321dd2, 0x0d820960, 0xf0009dad, 0xd031a162, 0x9d4d0a20, 0xc101aa61, 0xc10005b8, 0xffff0900, 0xc10192a1, 0xb7420090, 0xb7605bb5, 0xb7a2422b, 0xb742592d, 0x5d6058ad, 0x0a1ec001, 0x2d00c031, 0x0a00cff0, 0x5ad0c280, 0x61b75920, 0xc00f2128, 0x9e542ac0, 0x59a332d4, 0xc0f432d8, 0xc00e98b1, 0x7740287c, 0x3150d020, 0x92a2c000, 0x0902c021, 0x1dd2d010, 0x0970c132, 0x9dad0982, 0xa162f000, 0x0a28d011, 0xf0009dcd, 0xc100a1e1, 0xffff0900, 0xb79f92c1, 0xb7bf7f6e, 0x8c407fee, 0x058b9c22, 0x9020fffe, 0xc002a61d, 0xd0118420, 0x59300932, 0xc0210205, 0xc03c0a00, 0x9d4d0a30, 0x9e92abe1, 0x0d00c021, 0x0d00c03a, 0xab629d2e, 0x1a10c002, 0xab619d4d, 0x9d2e0d10, 0x0a10a960, 0xa9639d4d, 0x0d30c008, 0xaae29d2e, 0x0a20c008, 0xaae19d4d, 0x9d2e1d20, 0x1a20a861, 0xa8629d4d, 0x0900c021, 0x0960c046, 0xa8e29d2d, 0x4488b780, 0x4b8cb740, 0x6a62c0d0, 0xc0a80244, 0xd2080a60, 0x7500aa11, 0x9362c001, 0x530cb720, 0xd3f29e4a, 0x020f297e, 0x402db720, 0x297cc3ff, 0x2a00cff0, 0x5a21c200, 0x2f7ec7ff, 0x2b7ec7ff, 0x2efec00f, 0x2afec00f, 0x287ccffe, 0x2c7ec00f, 0xc3fe5941, 0xb55f2cfc, 0xe0b276f2, 0xb59f8d00, 0xb5df766a, 0xb5df7bf4, 0xb55f7c6c, 0xb55f7f64, 0xb5bf7ffc, 0xb5bf7d74, 0xb51f7dec, 0xb51f7eec, 0xb55f7e74, 0xb53f796a, 0x9e8c79f2, 0xb79f9c62, 0xb7bf7bee, 0xb7df7c6e, 0xb7ff7cee, 0xc0047d6e, 0x9c228c20, 0x4488b780, 0x4b8cb720, 0xc0d00d82, 0x00c26a62, 0x65adb743, 0xc0ce9e8a, 0xff7209ca, 0xa61d9380, 0x8400c008, 0x4488b780, 0xb7000802, 0xc0d04b94, 0x60410860, 0x8d08f1f1, 0x0080c101, 0x46a9b74e, 0x8d00f212, 0x8d80f1f2, 0x7c6cb55f, 0x6535b743, 0x8d88f1d1, 0xb55f9e75, 0xb7637ef4, 0x048f65ad, 0x4028b960, 0x7e6cb57f, 0x662db783, 0x7decb59f, 0x66b5b703, 0x7d74b51f, 0x4629b72e, 0xb53f9eb0, 0xb7207cec, 0x02024b8c, 0x008f9ea3, 0x0db0c06a, 0xaa61f010, 0xa965f010, 0xa96af010, 0xa9edf010, 0xa231f229, 0xf0310dc0, 0xf031a111, 0xf029a132, 0xffffa1b1, 0xb74091e1, 0xb75f4b8c, 0x0d827e74, 0x0284d020, 0x09cac0ce, 0x9e6a9e68, 0x6128b70b, 0xb51f040b, 0xb7ab7f6c, 0xff7461d0, 0xb7409ad0, 0x09024498, 0x0960c0d0, 0xb7409d47, 0xd3f14b94, 0xb77f2a1e, 0x61457068, 0x00a4c101, 0x7fecb55f, 0x46a9b56e, 0x61b1b5ab, 0x7c68b71f, 0xb50b9e8b, 0xb71f6129, 0xc06a7270, 0xb50e0db0, 0xf2314631, 0xf229aa51, 0xf231a951, 0xf229a972, 0x715da9f1, 0xa261f010, 0xa165f010, 0xa16af010, 0xa1edf010, 0xffff0dc0, 0xb73f91c4, 0xb7407fec, 0xc0214b8c, 0xd2910d82, 0x02440a10, 0xb5820094, 0xb79f772d, 0xc0217eec, 0xc0140982, 0xb5830d80, 0xb71f652d, 0xc0147e6c, 0xb9600990, 0xb5034038, 0xb71f65ad, 0xb5037df4, 0xb75f6635, 0xb5437d74, 0x9e8a66b5, 0x0d60c020, 0xaa41f010, 0xf0009dbe, 0xf050a261, 0x9dbda941, 0xa161f000, 0xffff1d10, 0xb75f92a1, 0xb7607ff4, 0xc1014b8c, 0xb7840426, 0x75006b4a, 0x9082c006, 0x9e410501, 0x09029e43, 0x0d20c0a2, 0xc09e0d86, 0xc09e08c0, 0xc00e0980, 0xd0100a7e, 0xb564a1da, 0x9e917bd4, 0xb5859e93, 0xf008534c, 0xf010a161, 0xb544a141, 0xb544784c, 0xd01078cc, 0xb540a151, 0x07814029, 0xb7809e78, 0xb76a4029, 0xb71f70a8, 0xd1107fec, 0xd0140639, 0xb7000934, 0xc00e4b94, 0xc1012a7c, 0xd0200102, 0x71051146, 0x0120c101, 0x0cb2d012, 0x0940c09e, 0xd0081d08, 0xb412a241, 0x72454836, 0xfffe0583, 0xb75f93f8, 0x9e797fec, 0x4b8cb760, 0x4bb5b721, 0x0224c001, 0x9d7e9e78, 0x9dfe9e7f, 0x70b5b740, 0x068f0246, 0x070f040f, 0x0aff0886, 0xc09e8502, 0x0c840a40, 0x0c60c0a2, 0x0800c0a0, 0x0e80c09e, 0x8584c0a0, 0x87c0c0a0, 0x0920c09c, 0x0f08c0a0, 0x0b8cc0a0, 0x41a8b520, 0xd0180126, 0xb540a0ed, 0xd21040d8, 0x0d82a0cd, 0xd20a09c2, 0xd210a100, 0xd208a0b6, 0xd000a0ed, 0xd210a163, 0xff74a2b1, 0xb74099d8, 0xb7404498, 0x9e784b8c, 0xb7649dc3, 0xd3f16bb2, 0xda102e0e, 0xc0d0a9f5, 0xb7006a62, 0x00c44d0c, 0xb7419e89, 0xc09c4bad, 0xb7400ca0, 0x590c4053, 0x2960c00e, 0x2d1dcff0, 0x76c09e54, 0x0a023128, 0x4eb5b701, 0x0a42d002, 0x9e8a9e8b, 0x020351f3, 0x0d84c0a0, 0x0a40c0a2, 0x0d00c0a0, 0xa2c5d010, 0x404bb540, 0xa002d208, 0xa2e5d010, 0x762bb569, 0x40a8b5a0, 0x4028b5a0, 0x7fecb71f, 0x4b94b700, 0x0d020982, 0x0080c101, 0x5535b762, 0x54adb742, 0x76c09d47, 0x2a1ed3f1, 0x6a62c0d0, 0x09b2d002, 0x0240c101, 0xd0017484, 0x01090d22, 0x0960c0a8, 0x0a00c0aa, 0xd0087680, 0xd208a1d1, 0xf208a112, 0xc000a182, 0xc8099104, 0xcc5c0a42, 0xb5800a30, 0xb79f460c, 0xb7bf766e, 0xb7df76ee, 0xb7ff776e, 0xc00a77ee, 0x9c228c00, 0x8420a61d, 0x4490b720, 0x4b94b7c0, 0x9e4c0387, 0xc0d00982, 0xc1016a62, 0x010300cc, 0x0920c0a2, 0xa955d008, 0x64adb783, 0x74800287, 0xb3759e8a, 0x710e4422, 0xc0720687, 0xc0080d00, 0x9e4c9202, 0xc0349e9b, 0x9e6a6a1a, 0xc200024a, 0xc1015a08, 0xb74000cc, 0xc01067b5, 0xff7409b2, 0xb7409934, 0xf2104490, 0xd3f1a921, 0xc0d02e2e, 0xc1016a62, 0xb54300cc, 0xf21062ad, 0xb583aa25, 0xf210632d, 0xb543a929, 0xf21063ad, 0xb5a3aa2d, 0xb58364ad, 0xc00e642d, 0x9e542d7c, 0x0ed0d051, 0x6a62c0d0, 0x4b8cb7c0, 0x00ccc101, 0x7029b74a, 0x4008ba12, 0x932ac000, 0x0d829e54, 0x6a1ac034, 0xc2000244, 0x00cc5a08, 0x67b5b742, 0xc00e010b, 0xff7409f2, 0xb78098fa, 0x097f4488, 0x6a62c0d0, 0xb54300cc, 0xd20864ad, 0xc600aa21, 0xf2080d02, 0xb720a221, 0xf2104488, 0x9e88aa2d, 0x2a7dc9fe, 0x6c62c0d0, 0xc1019ea7, 0xb745048c, 0x7480414d, 0x4442b322, 0xf21035ae, 0xb784a1ae, 0x75027bcd, 0x9154c007, 0x3d80c030, 0xf2107506, 0xc006a1ae, 0xd01092a2, 0x090a060c, 0x0a20c09e, 0xa11dd208, 0xb782048c, 0x750454cd, 0x9182c005, 0xa9aef210, 0x2dfdcfde, 0xa1aef210, 0x0485050c, 0x0ca0c09e, 0x43c9b740, 0xc0110a02, 0x74800982, 0xb3439e5a, 0xcfef4424, 0xd020297e, 0xf21031b4, 0xb780a1ae, 0xc1014349, 0xc09e0528, 0xd0100d40, 0x9e54a952, 0x4000ba24, 0xc003753f, 0x9e8b9382, 0x4b8cb740, 0x6db2c068, 0x4055b740, 0x04b9d110, 0x00940092, 0x722bb789, 0x2a60c00e, 0x5a0fc200, 0x02c4c101, 0x060cd010, 0xc09e0109, 0xd0080920, 0x0244a955, 0x0a40c09e, 0xaa11d208, 0x4000ba24, 0xc002753f, 0xd1109282, 0xb74004b9, 0x00924b8c, 0xb7890094, 0xc00e722b, 0xc2002a60, 0xd1105a0f, 0xd0100429, 0x010b058c, 0xc09e0087, 0xb7200880, 0x02074229, 0x0a60c0a2, 0x04b3d110, 0xaa05d208, 0xc1010092, 0xb729009c, 0xc0a27233, 0xd00809a0, 0xc00ea9f5, 0x5c8f2ce0, 0x9eba04a2, 0x4000ba24, 0x0081058b, 0x7fecb59f, 0x9b1affd4, 0x7deeb79f, 0x7e6eb7bf, 0x7eeeb7df, 0x7f6eb7ff, 0x8c20c002, 0xb7839c22, 0xf01062ad, 0xb743a261, 0xf010632d, 0xb783a165, 0xf01063ad, 0xf010a269, 0xf210a9c2, 0xb740a1ae, 0xfff84490, 0xd0119140, 0xfffd1c22, 0xb7409340, 0x9e8b4055, 0x1ea2d011, 0x6db2c068, 0x9240fffc, 0x0a5ecfff, 0xa9aef210, 0x0a7cc7fe, 0x9e4c9ea7, 0x25be0507, 0xa1aef210, 0x0a40c0a0, 0xa901d208, 0xc0007480, 0xc80093e2, 0x35a62d00, 0x3da0c001, 0xa1aef210, 0x9040fffa, 0xaa21f210, 0x7d04c001, 0x9202fff9, 0x0a029e4a, 0x0920c09e, 0xa25dd008, 0x9100fff9, 0x3d80c010, 0xa1aef210, 0x9360fff8, 0x6dcbb784, 0xfff97500, 0xfffe9122, 0xa60d93c0, 0x4490b720, 0x4b8cb7c0, 0xd3f10687, 0x9e9e2e1e, 0x6a62c0d0, 0x010300cc, 0x0900c09e, 0xaa51d008, 0xc0007500, 0xb7449284, 0x768077b5, 0x91c4c001, 0x2e1ed3f1, 0x6a62c0d0, 0xb74400cc, 0xc0a26e29, 0xb54008e0, 0xb5404029, 0xd3f140a9, 0xd2102e1e, 0xc0d0a941, 0x00cc6a62, 0x7d35b744, 0x7c2db784, 0x4000ba12, 0x0124c101, 0x12289e8a, 0x0d00c0a0, 0x412db585, 0xa141d010, 0x7eeeb79f, 0x7f6eb7bf, 0x7feeb7df, 0x9c228c60, 0x782db784, 0xa955d008, 0x1629d110, 0xfffe7104, 0xb7a091a8, 0x7d424608, 0x91a2c000, 0x0992058b, 0x9b90ff34, 0x4608b7a0, 0xffff7d42, 0xb7209324, 0xd3f14490, 0x4a842d1e, 0x6962c0d0, 0x00acd020, 0x09d2c004, 0x7855b744, 0x77cdb724, 0x5d4db781, 0xc1019e4a, 0xc00e1094, 0xd0a428fc, 0xcff0591c, 0x04030a01, 0x0145d120, 0x0c00c09e, 0xd0110a06, 0xb5801812, 0xb5a04708, 0xc0a24608, 0xb5200970, 0x0d8242c8, 0x4bcdb501, 0x9b53ff54, 0x478cb760, 0x4708b740, 0x4608b780, 0xa962f048, 0x4b94b700, 0x76884244, 0xb5800902, 0xb5404608, 0xc0014708, 0xb72093a2, 0x09024490, 0x0960c0d0, 0x2c9ed3f1, 0xc1016115, 0x9e930120, 0xc09c0185, 0xc09e09a0, 0xd8080d80, 0xd010a962, 0xc0a2aa75, 0xd0080920, 0x1a04a955, 0x2d1dcff0, 0x5a0cc200, 0xc00e9e50, 0x32402a60, 0xd8087480, 0xfffaa261, 0x0a0292e4, 0xa971d010, 0x0a30c068, 0x02446219, 0xc1010248, 0xb74900c0, 0xc00e722b, 0x590f2960, 0xa141d210, 0x4490b720, 0x9040fffa, 0xf0480a06, 0xfffea261, 0xa61d9040, 0x8440c002, 0x8c00e151, 0x4d0cb780, 0x2f3ed3f1, 0x4488b7e0, 0x7b32b77f, 0xc2400802, 0xc034aa45, 0x60710818, 0x4b94b7c0, 0xc2000208, 0xc00e5a08, 0xd12028fc, 0xb51f004d, 0xb57f7f6c, 0xb55f7aec, 0xb55f7b74, 0xb53f7bec, 0xb7037c6c, 0xe15153d4, 0x76c08c80, 0x7a74b51f, 0x7d2bb75f, 0x75f4b71f, 0x7c33b75f, 0x7429b77f, 0x7231b77f, 0x2e9ed3f1, 0x7cf4b51f, 0x7e33b7ff, 0x7d6cb55f, 0x7df4b55f, 0x7e6cb57f, 0x7ef4b57f, 0x91e2c006, 0xc0d09ebd, 0xd0106ee2, 0xd03104dc, 0xd8080910, 0xd808aa45, 0xb761a9c2, 0xc2004f2d, 0x5d915a15, 0x65b9c101, 0x9b6bc0b4, 0xd3f10050, 0xb7002a8e, 0xd1104b8c, 0xd020065d, 0xb74b00c0, 0x74806049, 0x9364c005, 0x5e49b5ab, 0x7070b71f, 0x5f51b50b, 0x065dd110, 0x7ef4b75f, 0x00ccc101, 0xc05c0103, 0xd0080900, 0x7680aa41, 0xd3f20a04, 0xd00828ce, 0xc007a0c2, 0xb77f9024, 0x74c07dec, 0x90c4c005, 0x5f29b74b, 0x5e29b78b, 0x7e6cb71f, 0xc2005940, 0xd0115a60, 0x77c02986, 0x0d02c040, 0x7b6cb73f, 0x59b83128, 0x4842b372, 0x9e533126, 0x2a1ed031, 0xc2003126, 0x30285a08, 0x065cd010, 0x7f6cb77f, 0x0a20c09e, 0xaa11d208, 0xc01a0882, 0x0138088c, 0xc1015908, 0xb7a0012c, 0xf0085394, 0x60f3a94d, 0x7af4b77f, 0x5a98c300, 0xd1200098, 0x7480005b, 0x0a02588c, 0x0a42d002, 0x009cc101, 0x4c2db720, 0x9ea29e42, 0x34945ce0, 0xa1c6f029, 0x05019eb3, 0xa041f008, 0x4154b520, 0x474cb520, 0x0982c124, 0x9afcffb4, 0x0950d052, 0x052a9eb3, 0x09c2c124, 0x9af4ffb4, 0x0950d092, 0x052a9eb3, 0x0982c126, 0x0ac0c002, 0x9aeaffb4, 0x015bd120, 0xc1269eb3, 0xffb409c2, 0xb75f9ae3, 0x9eb37a74, 0x0982c004, 0x0902c124, 0x9908ff54, 0xff549eb3, 0xb75f9923, 0x9eb37a74, 0x0982c004, 0x0902c124, 0x98dcff54, 0xb79f9eb3, 0xb7bf7b6e, 0xb7df7bee, 0xb7ff7c6e, 0xc0047cee, 0xff488c40, 0x9ebd91a0, 0x4b8cb700, 0x6ee2c0d0, 0x065dd110, 0x00c0d020, 0x6049b74b, 0xfffa7480, 0xb78b9122, 0xb73f5f49, 0x02187c6c, 0x5f49b58b, 0x90c0fffa, 0x7e6cb71f, 0x5f29b78b, 0x5e29b74b, 0x2986d011, 0x7b6cb71f, 0x7d74b71f, 0x7bf4b77f, 0x5a40c200, 0x31285960, 0x2a0ed031, 0x7cecb71f, 0xd0327600, 0xc2002d3e, 0xc0805a08, 0xb3030d82, 0x9ea04842, 0xd0115d18, 0x59b82a06, 0xc1003520, 0x9ea03900, 0x9e593126, 0xc04077c0, 0xb3730982, 0x35204822, 0x9e513122, 0x30143126, 0x9080fffa, 0x7b6eb79f, 0x7beeb7bf, 0x7c6eb7df, 0x7ceeb7ff, 0x8c40c004, 0xa61d9c22, 0x8400c00c, 0x4488b7e0, 0x4b8cb720, 0xd3f10d02, 0x9eae2afe, 0xc0d00982, 0xc1016f62, 0x040304e2, 0x554db782, 0x0c40c0a0, 0x4048b740, 0xd0027500, 0x74800d22, 0x7b74b55f, 0xb5650787, 0xc00046cd, 0xb78590e2, 0x0a0441cd, 0x41cdb585, 0xc09e0503, 0xd0100d00, 0xd010a8d1, 0xd011a955, 0xc00e0a12, 0x70882a7c, 0xa251d010, 0xc0360089, 0x09829162, 0x09b0c068, 0xb76061d7, 0xc00e4b94, 0x00b228fc, 0xc1010092, 0xb7290096, 0xb744722b, 0x020378d5, 0x2a00c0f0, 0x5aa1d224, 0x2918d011, 0x5b31c080, 0x590b1d04, 0xb544719b, 0xb54078d5, 0xc0294048, 0xd0119214, 0xb59f0a62, 0xb7407bec, 0xb7404b8c, 0xd0114b94, 0xc1012a16, 0x9e4a04e4, 0x7bcdb584, 0x0900c09e, 0xa951d008, 0x009200b4, 0x0094c101, 0x722bb789, 0xc00e7480, 0xc2002a60, 0xb59e5a0f, 0xc0036068, 0xb76592a4, 0xb744534d, 0x74c47855, 0x7d55b544, 0x92a2c000, 0xc02a7680, 0xb78190a2, 0x75004ccd, 0x90e2c000, 0x78cdb784, 0xc0297500, 0x74c2937c, 0x9302c029, 0xc02974c0, 0xb72092a2, 0xb7404b94, 0xd0104b9c, 0x0c8a04e2, 0xb76a9e8a, 0xc09e70b1, 0xd0100d40, 0xd011aa41, 0x00030d34, 0xd3f10a04, 0x70c429ce, 0x0a7ec00e, 0x532db585, 0x1237d11b, 0x1a44d00b, 0xa1c1d010, 0xb4220405, 0x08864456, 0x4050b740, 0x1e12d011, 0x70b0b76a, 0x0244c101, 0x4b94b740, 0x0563d110, 0x2a7cc00e, 0x0db4d011, 0x0124c101, 0x1147d120, 0x71069e49, 0x0940c09e, 0xd0081d08, 0xb412a241, 0x70c24836, 0xffff0c84, 0xd010903a, 0xc3010666, 0xc09e0244, 0xd2080a40, 0xd110a901, 0xc3010565, 0xc09e0124, 0xd0080940, 0x1a04aa51, 0xa251d008, 0x4b8cb760, 0x04e6c101, 0x00879e4c, 0x0a40c0a0, 0xa901d208, 0xc0237480, 0xb77f90a2, 0xc0347bf4, 0xd0106a9a, 0x05030666, 0xc09e0246, 0xd2080a40, 0xc09ea981, 0xd0100d00, 0x0256a952, 0x0567d110, 0x5a08c200, 0xb7650122, 0x00c241d5, 0xc09e9e4c, 0xc09e0940, 0xd0080a20, 0xb564a152, 0xd2087f35, 0xb760a191, 0xd0104b9c, 0xd310066a, 0xc30104e7, 0xc09e0246, 0xb7450a40, 0xd20841ad, 0x9e8aaa01, 0xc09e7482, 0xd0100d20, 0xc02ea255, 0xd11092f4, 0xc301066d, 0xc09e0246, 0xd2080a40, 0xd010aa01, 0xb720a259, 0xd0104b94, 0xb78404e2, 0xb7646b2b, 0x75007bad, 0x9042c020, 0x4b8cb740, 0x6535b742, 0xd11074c6, 0x01090665, 0x0940c094, 0xa142f008, 0x9042c020, 0xc00074c2, 0xd01190c2, 0xf0083e22, 0xb740a241, 0xb7604b94, 0xd0104b94, 0x000304e4, 0x0820c09e, 0x4228b780, 0x762bb749, 0x4233b740, 0xc2000258, 0xc1015a08, 0xd03201c6, 0x097c09b0, 0xaa65f010, 0x2901cffe, 0x6025d132, 0xc0007500, 0xf04890e2, 0x0a02a269, 0xa265f010, 0xc0529e89, 0xb7400cc0, 0x76804055, 0x91a2c000, 0x0a30d0b1, 0xa901f208, 0xa102f208, 0xf0100a02, 0xb580a165, 0xb742404d, 0xf04866ad, 0x7480aa69, 0x6aadb584, 0x93c2c01c, 0xb5820a02, 0xb54466ad, 0xb780742d, 0xd1104b8c, 0x010304e9, 0x0960c052, 0xaa41f008, 0xc01b7500, 0xb5849382, 0x0a02752d, 0xa241f008, 0x4b9cb760, 0x06e7d310, 0xb784008b, 0xb7446aad, 0xb744742d, 0xb7617535, 0xd1104bad, 0xd1100609, 0x05040505, 0xb58474c0, 0xb5446b2d, 0xb54474ad, 0xc02975b5, 0x9ea99124, 0xb7810982, 0xb7494f4d, 0x1a1c5ec9, 0x7106d012, 0x9ea27480, 0x91c2c003, 0x0a82008b, 0x297ed3f1, 0x0ae0c0d0, 0xb74062ab, 0x9e8b4b8c, 0x02540403, 0xd0339ea5, 0x9db92d2e, 0x0ee0c09c, 0xd0310b06, 0xc0500810, 0xc0520c60, 0xc04a0c80, 0xb7400da0, 0xda104032, 0xb760a921, 0x0d3c4b9c, 0x093c0256, 0xc3015d13, 0x59130246, 0xc05c1d04, 0xc0060a00, 0x19042d7c, 0xa100d20a, 0x9e540984, 0x59b05940, 0x297cc007, 0x02073128, 0x0a00c021, 0x0a10c012, 0xf0009dcd, 0xb742a161, 0xc03663b5, 0x9dcd0a00, 0xa162f000, 0x404db740, 0x9dcd0a20, 0xa161f000, 0x4054b740, 0x1a30c008, 0xf0009dcd, 0xf010a162, 0x7480a961, 0x91e2c000, 0x54adb782, 0x0980c021, 0x09d0c032, 0x75041a0c, 0x90b2c000, 0xf0009dbd, 0xb789a163, 0x018d5ea9, 0x71060b04, 0x923afffd, 0x7b6cb73f, 0xc0157440, 0xb72092e2, 0xd0104b94, 0xb78404e2, 0x75006b2b, 0x9202c01b, 0x4b8cb740, 0x2a7ed3f1, 0x6a62c0d0, 0x4b8cb7c0, 0x010300c4, 0x0900c09e, 0xa951d008, 0xc0007480, 0x01039142, 0x0960c0a2, 0xaa41d008, 0xd0081a04, 0xb760a241, 0xb740478c, 0xb7804708, 0xf0484608, 0x4244a962, 0x09027688, 0x4608b580, 0x4708b540, 0x90a2c024, 0x8d80e311, 0xb7a4058f, 0xffd477b5, 0xb7809b2e, 0xc0d04488, 0x024c6a62, 0x0a00c0a0, 0xa982d208, 0x982fffb4, 0x2a8ed3f1, 0x757ec01c, 0x9004c001, 0x0992058f, 0x9afeff14, 0x4488b7e0, 0x4b9cb760, 0xd3f1058f, 0xc0d02a7e, 0xe3116a62, 0xc3018d80, 0xb74400c6, 0x709b77ad, 0x90c2c000, 0x9b05ffd4, 0x4488b7e0, 0x2a7ed3f1, 0x92a0fffe, 0x4488b780, 0x4b94b7a0, 0x6a62c0d0, 0x00cac101, 0xc0a80103, 0xd0080940, 0x9e8aa959, 0xc0a20a06, 0x74800d20, 0xa259d010, 0x90a2c000, 0xb58b0a06, 0xb73f4c2b, 0xb76a7bf4, 0x159670b1, 0xcffe1d84, 0xffb42dfc, 0x04ea98b8, 0x6b4bb784, 0xc0117500, 0xb7e09022, 0x097f4488, 0x2a7ed3f1, 0x6a62c0d0, 0x00cac101, 0x64adb543, 0xd3f10982, 0xc0d02a7e, 0x61c709e0, 0x00bac101, 0x4c2bb78b, 0xb5640d82, 0x75006b53, 0x9142c000, 0xc0a89e8a, 0xd0100d40, 0x7500aa59, 0x9164c015, 0x4b8cb740, 0xc0a20234, 0xd2080a20, 0x7500aa19, 0x9284c015, 0x4610b740, 0x2a7ed3f1, 0x4b8cb720, 0x6a62c0d0, 0x00c27e86, 0xb5850a02, 0xb58546ad, 0xc00044ad, 0x058f91a2, 0xff140992, 0xb7409a79, 0x7e864610, 0x9324ffff, 0x4488b7e0, 0x287ed3f1, 0xb7609e80, 0xc0d04b8c, 0xb73f6c62, 0xc1017b6c, 0xb7650486, 0xb78469cd, 0xb742784d, 0x0d8270cd, 0x71046239, 0x4d0c9e5c, 0x4436b334, 0x9e4c0189, 0xc0a0090e, 0x74400a40, 0xa285d208, 0x4708b540, 0x4610b540, 0x91a2c000, 0x4b8cb720, 0x04e3d110, 0x6b2bb784, 0xb3337500, 0xb5624442, 0xb72072d5, 0xd0104b94, 0x06830502, 0xc0a20205, 0xd2080a20, 0x7500aa19, 0x9064c015, 0x2a7ed3f1, 0x4b94b720, 0x6a62c0d0, 0x00c2c101, 0xc0a20103, 0xd0080920, 0xb789a951, 0x74805ea9, 0x91a2c019, 0xd3f10982, 0xc0d02a7e, 0xb72009e0, 0x61c74b94, 0x00b2c101, 0xc0a20203, 0xd2080a20, 0x0d86a919, 0xa192d208, 0xc0087480, 0xc0069242, 0xb7690a60, 0xd2085ea9, 0x0107ab15, 0xd0117186, 0xb3621a32, 0x9ea24434, 0x11340305, 0x4001ba12, 0xc0017295, 0xd0119298, 0x9e961934, 0x0a36d011, 0x2aced3f1, 0x4001ba36, 0xd0510e82, 0xb7406a59, 0xb720478c, 0xc8094d94, 0x024409c2, 0x09069ea3, 0xa149c010, 0x09d0c8f4, 0xa281d248, 0x99bcff14, 0x4488b7e0, 0x4b8cb760, 0xd3f1156a, 0xc0d02a7e, 0x00c66a62, 0x5ea9b729, 0x1952d011, 0x121c0e84, 0xd3f17115, 0xfffe2aae, 0xd3f1935c, 0xb7602a7e, 0xc0d04b94, 0xc1016a62, 0xc0000246, 0x058f9200, 0xff140992, 0xb7e099b9, 0xb7604488, 0xd3f14b9c, 0xc0d02a7e, 0xc3016a62, 0x01890246, 0x09c0c0a8, 0x0a44c0a8, 0xaa09d208, 0xa969d008, 0xa962d008, 0x71150244, 0x90b8ffff, 0x2a7ed3f1, 0x4b94b720, 0x6a62c0d0, 0x00c2c101, 0x5ea9b749, 0xc0017480, 0xb7a09062, 0x0e864a8c, 0xaa21f208, 0xc000750a, 0x058f91a2, 0xff140992, 0xf2089987, 0x750aaa21, 0x9324ffff, 0x4488b7e0, 0x4b8cb740, 0x2a7ed3f1, 0x6a62c0d0, 0xb74900c4, 0x0ad05ea9, 0x0e84709b, 0x909affff, 0xd3f10982, 0xc0d02a7e, 0xb74009e0, 0x61c74b94, 0x0234c101, 0x0a20c0a2, 0xaa19d208, 0xc0037500, 0xd3f190c2, 0x9ea12a7e, 0x4b9cb760, 0x6ce2c0d0, 0x0497d310, 0x4931b74e, 0xb7430203, 0xc0a866ad, 0x1d040a60, 0x2d7cc00e, 0xaa11d208, 0xcff09e53, 0x31342901, 0xb5437500, 0xb54e66ad, 0xc00c4931, 0xb58b93a4, 0xd3f14c2b, 0x9ea02a7e, 0x4b94b760, 0x6c62c0d0, 0x0486d010, 0x9e899e8a, 0x0d00c09c, 0x0ca0c0a2, 0xaa41f010, 0x4349b740, 0x74800a04, 0xa241f010, 0x92e2c000, 0x42c9b780, 0xc0087500, 0xb78493a4, 0x75067bad, 0x91a2c000, 0xc0a20203, 0xf2080a00, 0xb745a902, 0xb54543ad, 0xf2084335, 0xb760a101, 0x09024b9c, 0x0607d310, 0x0a20c0a2, 0xa111d208, 0x726eb79f, 0x72eeb7bf, 0x736eb7df, 0x73eeb7ff, 0x8c00c00e, 0xb7609c22, 0xb7404b94, 0xc101518c, 0xb78900b6, 0x9e8a5ea9, 0xd3f21a04, 0xc0a02ace, 0x9e6c0d40, 0xa946d010, 0xa905c220, 0xc0067480, 0x08029342, 0x4b9cb760, 0x9e420c02, 0x00b7d320, 0xb7849e41, 0xb72b784d, 0x9e434c53, 0x2a7cc00e, 0x058b0a86, 0x7ef4b53f, 0xb59f0481, 0xb51f7d6c, 0xb51f7fec, 0xb51f7f74, 0xb51f7df4, 0xb5bf7cf4, 0xffd47e6c, 0xb72099be, 0xb7604d14, 0x058f4488, 0xa8aac210, 0x010b0087, 0xff34050b, 0xb7e09ba2, 0xb7204488, 0x09ff4b94, 0x2a7ed3f1, 0x6a62c0d0, 0x00c2c101, 0x66b5b743, 0x520cb780, 0x4729b74e, 0x2d7ec00f, 0x9e549ea3, 0x31285960, 0xa1a9c230, 0x66adb543, 0x93a0fff9, 0x4488b7e0, 0x9140ffef, 0x4b8cb740, 0x2a7ed3f1, 0x6a62c0d0, 0x06e4c101, 0xda1000c4, 0xb789a9b2, 0x9e6e762b, 0x5d919e69, 0x0b60c026, 0x5a11c200, 0x4eadb741, 0xa9c1f208, 0x61c7d132, 0x5329b54b, 0x9937c094, 0xab41f208, 0xb505048b, 0xb5c55a4b, 0xffe959cb, 0x020391e0, 0x0a20c09e, 0xaa19d208, 0x4b8cb740, 0xc2000258, 0x02445a08, 0xaa09f248, 0x752db584, 0x9380ffe3, 0x42a8b780, 0x4b8cb740, 0xc2000258, 0x02445a08, 0xaa09f248, 0x742db584, 0x93a0ffe2, 0x4b8cb740, 0x65b5b742, 0xd11074c6, 0x01090665, 0x0940c094, 0xa142f008, 0x9044ffe0, 0x3d00c400, 0xa142f008, 0x9060ffe0, 0x70c9b76a, 0x0a34d011, 0x0669d110, 0x9ea20242, 0x0a38d011, 0x0d40c09e, 0xa941d010, 0xd3f20904, 0xd01029ae, 0x72d9a141, 0x90d8c000, 0x1e34d011, 0xa241d010, 0x0617d110, 0xc09e9e4a, 0xd2080a48, 0xc034aa01, 0xc09e6a9a, 0xd0080920, 0xffdca251, 0xd0129340, 0xb53f0cd2, 0xffd67bf4, 0xb7859240, 0x7500412d, 0x93c2c00b, 0x7badb704, 0x9040fff9, 0x70a9b78a, 0x0d820183, 0xc09e0218, 0xd2080a44, 0xc09ea901, 0x0d7f0980, 0xc09e0114, 0xd0080940, 0xd008a172, 0xb560a1d2, 0xfff642d1, 0xd0109200, 0x0203a95d, 0x0a20c0a2, 0xa119d208, 0x4b8cb740, 0xa1dad010, 0xc0a20234, 0xd2080a20, 0x7500aa19, 0x9202ffea, 0x9b8aff94, 0x4488b7e0, 0x9140ffea, 0x6e2db582, 0x9200ffe4, 0x4b94b760, 0x04e6d010, 0x7c2db784, 0x1529f110, 0x9104c00c, 0x4b8cb780, 0xd1100902, 0x0a0604e9, 0x782db764, 0xc0a29e8a, 0xd0100d20, 0xb564a255, 0xb55e7c2d, 0xb5456068, 0xb54541ad, 0xb760412d, 0x0a064b9c, 0x04e7d310, 0x4cadb741, 0x7badb584, 0x78adb544, 0x9060ffd5, 0x530cb780, 0xb7659e4a, 0xc0b246ad, 0xb7620940, 0xf20872b5, 0xd320aa0d, 0x9ea40127, 0xb7e09c62, 0xfff24488, 0xc0a092c0, 0x0a020940, 0xa945d008, 0x0a18c034, 0xf2f16209, 0x02448c88, 0x5a08c200, 0x00c2c101, 0x6c35b740, 0x0d82010b, 0x09a6c008, 0x9b73ff14, 0x4488b780, 0xa922d208, 0x76809ea0, 0x6c62c0d0, 0x050ad010, 0x0900c0aa, 0xa156d008, 0x9122c001, 0x9e890882, 0x02120005, 0x0912d011, 0xd020024a, 0xd2080124, 0x9e53aa05, 0x4b94b760, 0x0609d110, 0xa966c050, 0x42a8b760, 0x0246c101, 0x28aed3f1, 0x05a20109, 0x0920c0ae, 0x0a00c0aa, 0xd20870c2, 0xd008a09a, 0xd3f2a14a, 0xfffe2cbe, 0xb78093d2, 0xb7404b8c, 0xd1104b8c, 0xb78204e9, 0x750a54ad, 0x9122c007, 0x4b9cb760, 0xc0720581, 0xd3100de0, 0xc3010487, 0xb76405b6, 0xffb47bad, 0xb72099c3, 0xd0104b94, 0x9e4d04e2, 0x6babb784, 0xc0047500, 0xb7e093c2, 0xd3f14488, 0x9ea22a7e, 0x6d62c0d0, 0x04a2d010, 0x7badb764, 0xc00774c2, 0x9e549062, 0x4b8cb740, 0x4b94b760, 0x0a60c072, 0xd01001c4, 0xd0080626, 0x9ea2a961, 0x4850b960, 0x0d10c084, 0xa141d010, 0xc0200906, 0x9e91aa65, 0xc0100904, 0xffffa249, 0xc0039341, 0x1a049280, 0x2aced3f1, 0x90c0c000, 0x058f098a, 0x9aeefef4, 0xff949eab, 0xd3f29842, 0xc01c298e, 0xffff76fe, 0xb7e092a2, 0x0a024488, 0x0a18c034, 0x29fed3f1, 0xb7406239, 0xc1014b8c, 0xc2000246, 0x00c45a08, 0x4d1cb740, 0x4c8cb780, 0x53adb723, 0x5908d2a4, 0xc2809ea1, 0x9d535930, 0x0900c021, 0xa0c9e010, 0xa1a6c240, 0x0880c004, 0x0940c146, 0xf0009dad, 0xb760a0e1, 0xc0d04b9c, 0xc30169e2, 0xb78400b6, 0x75006eab, 0x9244ffe4, 0x4cabb78b, 0xffe47500, 0xb76591a2, 0x9eab66ad, 0x99f9ff74, 0x4488b7e0, 0x9080ffe4, 0x7bb5b764, 0x9866ff94, 0x4488b7e0, 0x9260ffd6, 0xd0100087, 0xffc9a1d1, 0x0a069280, 0xa261f048, 0x9340ffdb, 0xa259d010, 0x9260ffd1, 0x7badb704, 0xffed7402, 0xffed90a4, 0xb7e09040, 0xb7404488, 0xd3f14b8c, 0xc0d02a7e, 0xd0206a62, 0x0a7f02c4, 0x9e699e6e, 0x0b00c0aa, 0x5eb1b7c9, 0xab55d208, 0x7029b58a, 0xd0129e73, 0xc07409e2, 0x9e6a9b2f, 0x0d029e6c, 0x0a44c0a8, 0x0940c0a8, 0xd2087782, 0xd008a001, 0xd008a14a, 0xd208a341, 0xd208a112, 0xc001a10a, 0xd2089074, 0xd008aa01, 0xffe1a251, 0xd1109020, 0xb78b0485, 0x75004c2b, 0x9282fff8, 0xc0720581, 0xc1010de0, 0x098e05b4, 0x98daffb4, 0x92e0fff8, 0x4b2db781, 0xfff37088, 0x74c092e8, 0x9124fff4, 0x9240fff3, 0xa152d008, 0x9040ffe0, 0xc0a20103, 0xd0080920, 0x7740aad6, 0x9322fff8, 0x0a029e8b, 0xa255d008, 0x0d90c084, 0x98baffb4, 0x4488b7e0, 0x2a7ed3f1, 0x6a62c0d0, 0xc0a2024a, 0xd2080a20, 0xfffca296, 0xa6059280, 0x5db00d84, 0xc00e9e5d, 0xc02129fc, 0x0ac00a80, 0x0a02c008, 0xf0009ddd, 0x9e5aa261, 0x0900c021, 0x0900c040, 0xaa619d2d, 0xc00074c0, 0xc0029302, 0x9dad3a40, 0xa261f000, 0x0d02c008, 0x09929e52, 0x9ae0ff74, 0x0a02c008, 0xf0009ddd, 0xb79fa261, 0xb7bf7f6e, 0x8c407fee, 0x3a409c22, 0xf0009dad, 0xffffa261, 0xf8399160, 0x8420a205, 0x4490b740, 0x510cb780, 0xc0d00d82, 0xd2086d62, 0xb780a901, 0xe0314b8c, 0x9e5b8c80, 0x0d20c074, 0x0528c101, 0x0a020c86, 0x7e6ab59f, 0x9821ff74, 0x9e5b0d82, 0x9baffff4, 0xaa19f9f8, 0xa61d9c22, 0x8420c008, 0x4488b760, 0xb7c00882, 0xc0d04b94, 0x60b308e0, 0x518cb740, 0x009dd120, 0xb7820d02, 0xd00854cd, 0xb55fa142, 0x1a105e72, 0xc0027502, 0xc1019034, 0x0a02009c, 0x7badb724, 0x0a18c034, 0x02426239, 0x5a08c200, 0x00ccc101, 0x6a35b740, 0x8c88f211, 0xc0080d82, 0x010b0982, 0x9987ff14, 0x510cb780, 0x9eaa0d82, 0xa901d208, 0x8c80e231, 0x0c869e5b, 0x9bddff54, 0x9e5b0d82, 0x9b6bfff4, 0x4490b740, 0xc0d09e52, 0xc1016962, 0xb78200ac, 0x1a1054ad, 0xc0007502, 0xb79f92d4, 0xb7bf75ee, 0xb7df766e, 0xb7ff76ee, 0xc00a776e, 0x9c228c20, 0x4c4bb78b, 0xfffd7500, 0xb74093c2, 0xfffe6bd5, 0xb78b9120, 0x75004c2b, 0x9122ffff, 0x0b02c021, 0x0e82c008, 0x0b40c100, 0xf0009ded, 0xc021a2e2, 0xc1400902, 0x9d2d0900, 0xc002aa61, 0x9dad3a40, 0xa261f000, 0x4d0cb780, 0x6d1ac034, 0x4b8cb720, 0xa901d208, 0x0982c401, 0x0a82c021, 0x0524c101, 0xd1105d08, 0xc00804a3, 0xb7e30980, 0xc10053ad, 0x9ddd0aa0, 0xa1e1f000, 0xc1009e6a, 0x09920d82, 0xff74050b, 0x0a029a11, 0xf0009ddd, 0x9deda261, 0xa2e2f000, 0x0902c021, 0x0920c140, 0xa9629d2d, 0x0a02c021, 0x0a10c140, 0xaa619d4d, 0x0920c006, 0xa9619d2d, 0xc0007480, 0xd1229122, 0x112e5e35, 0x11282a7c, 0x1900c004, 0x4488b780, 0x6a62c0d0, 0x00ccc101, 0x42adb545, 0x75eeb79f, 0x766eb7bf, 0x76eeb7df, 0x776eb7ff, 0x8c20c00a, 0xa61d9c22, 0x8400c018, 0xaa61d050, 0xb7200906, 0x1a104490, 0x2bced3f2, 0xd0119e5e, 0x9e790e72, 0x5a30c200, 0x706cb59f, 0x0a00c021, 0x0a00c040, 0xb59f5144, 0xb73f70ec, 0xb79f706c, 0xc00e706c, 0xc021297c, 0xc0210880, 0xc3800a00, 0xc0465d88, 0xc0140a40, 0xb55f08f0, 0xb53f72ec, 0xb57f4c70, 0xb59f7b74, 0xb53f6f6c, 0xb73f6eec, 0xb75f7074, 0xb77f706c, 0xb77f706c, 0xb79f7074, 0xb73f706c, 0xc021706c, 0xc0210c80, 0xc0210900, 0xc0210980, 0xc0210d80, 0xc0210a00, 0xc0100880, 0xc0100c80, 0xc0100910, 0xc01009a0, 0xc0120db0, 0xc0120a20, 0xb53f08b0, 0xb55f6cf4, 0xb57f6d6c, 0xb57f6dec, 0xb59f6e74, 0xb53f666c, 0xb73f66ec, 0xb75f7074, 0xb77f706c, 0xb77f706c, 0xb79f7074, 0xb73f706c, 0xc021706c, 0xc0210c80, 0xc0210900, 0xc0210980, 0xc0210d80, 0xc0210a00, 0xc0100880, 0xc0100cc0, 0xc0100950, 0xc01009e0, 0xc0120df0, 0xc0120a50, 0xb53f08e0, 0xb55f6774, 0xb57f67ec, 0xb57f686c, 0xb59f68f4, 0xb53f696c, 0xb73f69ec, 0xb75f7074, 0xb77f706c, 0xb77f706c, 0xb79f7074, 0xc021706c, 0xc0210c80, 0xc0210900, 0xc0210980, 0xc0210d80, 0xc0120a00, 0xc0140cf0, 0xc0140910, 0xc01409a0, 0xc0120d80, 0xb53f0a40, 0xb55f6a74, 0xb57f6aec, 0xb57f6b6c, 0xb59f6bf4, 0xb73f6c6c, 0xb73f706c, 0xb75f7074, 0xb77f706c, 0xb77f706c, 0xb79f7074, 0xc021706c, 0xc0210880, 0xc0210c80, 0xc0210900, 0xc0210980, 0xc0210d80, 0xc0160a00, 0xc01608c0, 0xc0160cd0, 0xc0200960, 0xc0380980, 0xc0040dc0, 0xb53f0a00, 0xb53f5aec, 0xb55f5b74, 0xb57f5bec, 0xb57f5c6c, 0xb59f5cf4, 0xb73f5d6c, 0xb73f706c, 0xb75f7074, 0xb77f706c, 0xb77f706c, 0xb79f7074, 0xc021706c, 0xc0210880, 0xc0210c80, 0xc0210900, 0xc0210980, 0xc0210d80, 0xc0040a00, 0xc02608c0, 0xc0440c80, 0xc0460970, 0xc0160980, 0xc0360db0, 0xb53f0a00, 0xb53f5dec, 0xb55f5e74, 0xb57f5eec, 0xb57f5f6c, 0xb59f5ff4, 0xb73f606c, 0xb73f706c, 0xb75f7074, 0xb77f706c, 0xb79f706c, 0xc021706c, 0xc0210880, 0xc0210c80, 0xc0210900, 0xc0140980, 0xc08208e0, 0xc0460cb0, 0xc01a0950, 0xc02109a0, 0xb53f0a00, 0xb53f60ec, 0xb55f6174, 0xb57f61ec, 0xb77f626c, 0xc0267074, 0xb73f0a40, 0xb73f706c, 0xb75f7074, 0xb77f706c, 0xb59f706c, 0xb79f636c, 0xc021706c, 0xc0210d80, 0xc0210880, 0xc0210c80, 0xc0210900, 0xc01a0980, 0xc0140db0, 0xc01408b0, 0xc0140cc0, 0xc0180950, 0xc0210980, 0xb57f0a00, 0xb53f62f4, 0xb53f63ec, 0xb55f6474, 0xb57f64ec, 0xb77f656c, 0x0a207074, 0x706cb73f, 0x7074b73f, 0x706cb75f, 0x706cb77f, 0x596cb59f, 0x72ecb79f, 0x0d80c021, 0x0880c021, 0x0c80c021, 0x0900c021, 0x0980c021, 0xc0380dc0, 0xc0400cf0, 0xc0400920, 0x4a7d0990, 0x08f0c046, 0x59f4b57f, 0x7074b7df, 0x5774b53f, 0x57ecb55f, 0x586cb57f, 0x56ecb53f, 0x746cb59f, 0x4e8cb780, 0xb740057e, 0xc1014d0c, 0xb7800528, 0xc1014e0c, 0xb55f04f4, 0xc1017af4, 0xb53f0578, 0xb55f7974, 0xb7407a74, 0xb77f4c8c, 0xb77f7b6c, 0xb7207074, 0xb7404d94, 0xc0215194, 0x01340f00, 0x0d80c040, 0x057404f2, 0xb55f0f10, 0xb57f7bec, 0xb53f5574, 0xb55f78f4, 0xb77f79f4, 0x09024c68, 0x0960c0d0, 0x2a3ed3f1, 0x4b94b760, 0xc1016145, 0xb78400a6, 0x75006bab, 0x91a2c000, 0x78ecb73f, 0x4d8cb760, 0x4029b780, 0x73ecb57f, 0xc0007500, 0xc1019284, 0xb740022e, 0x02444b8c, 0x0a40c0a8, 0xa901d208, 0xaa11d208, 0xc05c7104, 0xb76091c8, 0xb57f4d8c, 0xb78073ec, 0xb73f4888, 0xc00e72ec, 0x32182a7c, 0x4888b580, 0x4788b740, 0x7cbec01c, 0x90c4c000, 0x4a68b79f, 0x4788b580, 0x4788b780, 0xa941d248, 0x4c68b73f, 0x2a7cc00e, 0xc2001910, 0x7d02520b, 0x2b9ed3f1, 0x9224c000, 0x09929eb3, 0x9acefed4, 0x4788b740, 0xaa41d248, 0x297cc00e, 0x51531a10, 0xffff7c82, 0xb73f9262, 0xb7807974, 0xc01c4049, 0xc053753e, 0xb7409042, 0xb7404488, 0xd3f14b94, 0xb55f2a2e, 0x09024c68, 0x0960c0d0, 0xc1016145, 0xb78400a4, 0x75006bab, 0x9102c046, 0x73f4b77f, 0xaa69c230, 0xc0467500, 0xc1019022, 0xc101012e, 0xc0a80124, 0xd0080940, 0xd008a942, 0xb77fa8d1, 0x705573f4, 0xc05006f6, 0xb73f9382, 0xb7404c70, 0xd3f14b94, 0x9ea32e1e, 0x518cb780, 0x6de2c0d0, 0x053ed010, 0x0124c101, 0x0940c0a8, 0xa922d210, 0xa9d1d008, 0x74ecb59f, 0xd0117680, 0xd0080a32, 0xc04da251, 0xb78091c2, 0xb73f4b8c, 0xd11079ec, 0xc0a20639, 0xd2080a20, 0xb580aa15, 0xb75f4029, 0xb76073f4, 0xd3f15214, 0xc220293e, 0xc230aa69, 0x7500a169, 0x9322c044, 0x4c68b73f, 0x4b94b720, 0x2a1ed3f1, 0xc0d09ea2, 0x9e546d62, 0x0a60c072, 0x0242c101, 0x65ecb59f, 0xc0d00a02, 0x62790a60, 0x65ecb73f, 0x4b94b720, 0x75ecb59f, 0x402db760, 0x00c2c101, 0x632db742, 0x294d7cc2, 0x3928d002, 0x9284c000, 0x7cc0c800, 0x9202c000, 0x4b8cb780, 0xd1103920, 0xc09e0629, 0xd2080a20, 0x7500aa1d, 0x9084c000, 0x3900c100, 0x70f4b75f, 0xf0009dae, 0xb79fa161, 0xb7604c68, 0xb7205214, 0xd3f14b8c, 0x0a022ace, 0x0a60c0d0, 0xaaeac230, 0xb75f6259, 0x03c275ec, 0x02fbd120, 0x9e6c00a2, 0x7a74b75f, 0x0a00c0aa, 0xaa19d208, 0x7cc2c800, 0x6a9ac034, 0x71ecb59f, 0x422bb740, 0x4f2db721, 0x0ea0c0ae, 0x60c35911, 0xc00e0a02, 0xd001297c, 0x9e8b0a42, 0xd0100185, 0xb53fa241, 0xb55f6fec, 0xc054716c, 0xb7609aa2, 0xb77f4f0c, 0xd1106ff4, 0xb77f0677, 0xd208716c, 0xc054a001, 0xb77f9af2, 0xb7207974, 0xb75f4b94, 0xd0107aec, 0xd210aa61, 0x9e7baaaa, 0x020f02d8, 0x0a60c0a8, 0xaa11d208, 0x5a88c280, 0x00d2c101, 0x53adb723, 0xd8087500, 0xb780a041, 0xb75f4f8c, 0xb7207bf4, 0xc0405014, 0x0a02a2e6, 0xa0c1f010, 0xa269c210, 0x9102c001, 0x73f4b75f, 0x71ecb7bf, 0xaa69c220, 0xc0007500, 0xd0329264, 0x008f09f0, 0xaa65d810, 0x4f2db761, 0xa9e2d810, 0xc10159a4, 0xc05465b8, 0x00509a56, 0x2a8ed3f1, 0x530cb700, 0x9e7b9eab, 0x412cb700, 0x9c629e84, 0x5114b720, 0xa069c210, 0x75ecb75f, 0x4b94b740, 0x00a4c101, 0x54adb722, 0x74461888, 0x9232c000, 0x590cd0a6, 0xe0508520, 0xc0368044, 0xc0359180, 0xc0009020, 0xc0379080, 0xffd492a0, 0xb77f9bb0, 0xf00865ec, 0x7d14aa61, 0x9082c035, 0x4f14b760, 0x06f6d010, 0xaa21d208, 0xb59f7500, 0xc046546c, 0xb74090c2, 0xb7404488, 0x0a025114, 0x4c68b55f, 0x4c68b77f, 0xa969c220, 0x0a60c0d0, 0x4b94b740, 0x283ed3f1, 0xb73f6209, 0xb59f6ef4, 0xc101756c, 0xb78400c4, 0xc0027429, 0xc200297c, 0xc0305a20, 0x31282a00, 0xf0009d9e, 0xb77fa161, 0xc23073f4, 0xb57fa9ea, 0xb79f5374, 0xb762536c, 0xb7624f2b, 0x75004fb3, 0x9042c03d, 0xc0a00203, 0x0b820a40, 0xaa05d208, 0x0b98c034, 0xb59f638f, 0x027854ec, 0x5a08c200, 0x00c4c101, 0x41b5b743, 0x78adb782, 0x7d2db742, 0x6cecb73f, 0xf0009d9d, 0xb73fa261, 0x9d9e6d74, 0xa162f000, 0x6df4b75f, 0xf0009dae, 0xd1a2a161, 0xcffc5e19, 0xc2002980, 0x32465a58, 0x6e6cb77f, 0xf0009dbd, 0xb720a261, 0xb79f4b94, 0xb77f756c, 0xc1015374, 0xb74000c2, 0x76c0422b, 0x5a6cb55f, 0x762bb769, 0x9142c03f, 0x05070d82, 0x7574b73f, 0x4b8cb740, 0x0694c101, 0x9e6d9e69, 0x6aadb784, 0x0ac0c094, 0x6674b73f, 0x0428c101, 0xf0009d9e, 0xb784a062, 0xb75f6b2d, 0xc10166ec, 0x9dad04a8, 0xa0e2f000, 0x742db784, 0x676cb77f, 0x0629d110, 0xf0009dbd, 0xb744a261, 0xb79f74ad, 0xd11067ec, 0x9dcd0525, 0xa161f000, 0x752db784, 0x686cb73f, 0x0629d110, 0xf0009d9d, 0x9e69a261, 0x75adb744, 0x0525d110, 0x68f4b75f, 0xf0009dae, 0x050ba161, 0x0d20c09e, 0xa9d9d010, 0x4b8cb720, 0x696cb75f, 0xc2000276, 0x02425a08, 0xaa05f288, 0x0639d110, 0xf0009dad, 0x0902a261, 0x090cc01a, 0x01266105, 0x0122590c, 0xa941f0c8, 0x69ecb77f, 0x0535d110, 0xf0009dbd, 0xb79fa161, 0x9dcd6a6c, 0xa161f000, 0xa952d010, 0x0524d010, 0xc1000174, 0x02425a08, 0xaa01f2c8, 0x6aecb73f, 0x0639d110, 0xf0009d9d, 0xb760a261, 0x09044b8c, 0x01265908, 0xa941f0c8, 0x6b6cb79f, 0x0535d110, 0xf0009dcd, 0xd120a161, 0xb73f0175, 0x5d086bec, 0x0526c101, 0xa946f090, 0x9d9d0534, 0xa162f000, 0x027ec101, 0x5a08c200, 0xb72100c6, 0xb75f4a2d, 0x9dad6c6c, 0xa0e1f000, 0xb7859e69, 0x7500412d, 0x9184c000, 0x676cb75f, 0xf0009dad, 0xb75fa062, 0x9dae67f4, 0xa0e2f000, 0xaa21f208, 0x7d00c800, 0x93a4c000, 0x676cb77f, 0xaa619d3d, 0x6874b77f, 0xf0009dbe, 0xb79fa261, 0x9d4d67ec, 0xb73fa961, 0x9d9d68ec, 0xa161f000, 0x69f4b73f, 0xaa619d1e, 0x6a6cb75f, 0xf0009dad, 0x9e69a261, 0x5af4b73f, 0x762db744, 0xc1010205, 0x9d9e3a00, 0xa261f000, 0xf0009d9e, 0xb784a161, 0xb75f76ad, 0x9dad5b6c, 0xa261f000, 0x772db744, 0x5bf4b75f, 0xf0009dae, 0xb77fa161, 0xb77f65ec, 0xf0085c74, 0x9dbeaa69, 0xa261f000, 0xb7829e6d, 0xc04e5cad, 0xb73f0a80, 0x9d9d5cec, 0xa261f000, 0xb742048b, 0xb75f5d4d, 0x9dae5d74, 0xa161f000, 0x5dcdb782, 0x5decb77f, 0xf0009dbd, 0xb742a261, 0xb77f5e4d, 0x9dbe5e74, 0xa161f000, 0x0ce0c04e, 0xb53f9e69, 0xb7827274, 0xb73f5fad, 0x9d9e5ef4, 0xa261f000, 0x602db742, 0x5f74b75f, 0xf0009dae, 0xb720a161, 0xb77f4b8c, 0xb76075ec, 0xb73f4f94, 0x00b27af4, 0x4f2db721, 0xaa69c230, 0x4053b760, 0x716cb77f, 0x1d846243, 0x05b8c101, 0x9861c054, 0x546cb75f, 0xaaa1f208, 0x5ff4b75f, 0xc00e0020, 0x5820287c, 0x9dae300a, 0xa061f000, 0xb73f9e69, 0xb7826074, 0x9d9e60ad, 0xa261f000, 0x65f4b75f, 0x546cb77f, 0x60f4b77f, 0xa945f010, 0x5a20c180, 0x9dbe3244, 0xa261f000, 0x622db742, 0x616cb79f, 0xf0009dcd, 0xb785a161, 0xb73f492b, 0x9d9d61ec, 0xa261f000, 0x0902c021, 0x0950c012, 0xf0009dad, 0x048ba261, 0x54d5b742, 0xc0357684, 0x9e699382, 0x6374b73f, 0x612db782, 0xf0009d9e, 0xb75fa261, 0x7480536c, 0x9042c031, 0x54f4b75f, 0x4b8cb760, 0x63f4b77f, 0x0274c101, 0x5a08c200, 0xb74000c6, 0x9dbe76ad, 0xa161f000, 0x7b2db720, 0x646cb79f, 0xf0009dcd, 0xb79fa0e1, 0xb720756c, 0xb77f4b94, 0xc10165ec, 0xb74400c2, 0xc0016fab, 0xf0080a42, 0x7480a96e, 0x4422b324, 0x35349ea3, 0xa16ef008, 0x64ecb79f, 0xf0009dcd, 0xb722a162, 0xb73f61ad, 0x9d9e6574, 0xa0e1f000, 0x4f94b760, 0x75ecb75f, 0x4b8cb760, 0xaa69c230, 0x00a60c02, 0x6d2bb744, 0xd0017502, 0x74800c02, 0x90e4c000, 0x5ea9b789, 0xc0377502, 0x76009122, 0x9044c02e, 0xb75f9e40, 0xb7404c68, 0xb77f4b94, 0xd3f175ec, 0xc0d02a2e, 0xd1206a62, 0xb79f00c5, 0xc1017aec, 0xb74000b4, 0xda084f14, 0xb79fa982, 0xc2207a6c, 0xb741a9e9, 0x9e414f35, 0x4c53b72b, 0xa901d208, 0x08863202, 0x7eecb59f, 0x7fecb53f, 0x7f74b51f, 0x9a0cff54, 0x7b6cb79f, 0x508cb720, 0xb73f0181, 0x014259f4, 0xa041f008, 0x0a7ec7fe, 0xf0009d9e, 0xc401a261, 0xc5000902, 0xb75f0900, 0x9dae5974, 0xa161f000, 0x5014b720, 0x058f0a02, 0xa269c210, 0x9a1eff54, 0x4488b7a0, 0xaa619d6e, 0x7d00c800, 0x9184c000, 0x098e9eb3, 0x9ab0feb4, 0xaa619d6e, 0x7d00c800, 0x9302ffff, 0x0a02c400, 0x59ecb75f, 0xf0009dad, 0xc000a261, 0x9eb390c0, 0xfeb40992, 0xb7409a9d, 0xd2484788, 0xc00eaa41, 0x1a10297c, 0x7c825153, 0x9262ffff, 0x4f94b740, 0x5014b760, 0xc2200a06, 0xc230a969, 0x7482a269, 0x91f4c006, 0xb7809ead, 0xc0d04b8c, 0xd1106ee2, 0x748404d9, 0xb7610b82, 0xd0014f2d, 0xc02c0bf2, 0xb5ff9302, 0xb72053ec, 0xb77f4b94, 0xd0107af4, 0xd8100652, 0xd032a961, 0xd8100940, 0x0126aa41, 0xc2009e93, 0xb79f5991, 0xcffe7aec, 0x72d72dfc, 0xa182da08, 0x9386c000, 0x4f0cb740, 0xd1100485, 0xb74004f5, 0xb7804029, 0xc101404b, 0x09041536, 0x4029b540, 0x5991c200, 0xb79f0585, 0xcffe7aec, 0x72d72dfc, 0xa102da08, 0x91a8ffff, 0x4488b720, 0x4b94b720, 0x2a1ed3f1, 0x6a62c0d0, 0x4c68b53f, 0x00c2c101, 0xc0a80103, 0xd0080960, 0x7480a951, 0x90e2c002, 0x5214b740, 0x5014b760, 0x73f4b73f, 0xaa69c220, 0xa96ac230, 0xa969c210, 0xc0aa0218, 0xd2080a00, 0x7480aa19, 0x0244c101, 0x2aced3f1, 0x9244c000, 0x0990d032, 0x4f2db761, 0xaa65d810, 0xa9e2d810, 0xc10159a4, 0xc03465b8, 0x00509ac6, 0x2a8ed3f1, 0x530cb700, 0x9e7b9eab, 0x412cb700, 0x9c629e84, 0x4b8cb720, 0x5114b760, 0x460cb780, 0x04d3d110, 0x298ed3f1, 0x62b5b742, 0xa1e9c230, 0x9ea4058f, 0xb7809c62, 0xb59f4488, 0xb73f4c68, 0xb75f4c68, 0xb7407af4, 0xd3f14b8c, 0xd8102a1e, 0xc0d0a9c2, 0xb7406a62, 0xd1104f14, 0xd02004d5, 0xb79f00c4, 0xc2207a6c, 0xb741a9e9, 0xb73f4f35, 0xd20853ec, 0xb72ba901, 0x321e4c53, 0xb59f0882, 0xb53f7eec, 0xb5ff7fec, 0xff547f6c, 0xb75f98f1, 0xb7407b6c, 0xc1015094, 0xf2080224, 0x058fa001, 0x9923ff54, 0x4f94b760, 0x500cb760, 0x5094b720, 0x0576d010, 0x5114b760, 0x7b6cb73f, 0x0677d110, 0xd20805f6, 0xd008a981, 0xc101a942, 0xb57f0092, 0xb7207874, 0xb77f5214, 0x038973f4, 0x4f0cb780, 0x05f604f2, 0x766cb53f, 0x77ecb55f, 0x06f8c101, 0x76f4b53f, 0x7774b57f, 0xc0057297, 0xb79f9374, 0xb720766c, 0x058f4488, 0xa981f208, 0x58ecb53f, 0x98e0ff54, 0x90c0c000, 0x09929eb3, 0x9978feb4, 0x4788b740, 0xaa41d248, 0x297cc00e, 0x51531a10, 0xffff7c82, 0x9d6e9262, 0xc800aa61, 0xc0007d00, 0x9eb39184, 0xfeb4098e, 0x9d6e9963, 0xc800aa61, 0xffff7d00, 0xc4009302, 0xb75f0c82, 0x9dad59ec, 0xa0e2f000, 0x4488b780, 0x76ecb77f, 0x4b94b760, 0x6a62c0d0, 0xa962d008, 0x776cb73f, 0x0246c101, 0x0244c101, 0xa961d208, 0x0a00c0aa, 0x4031b740, 0xaa19d208, 0x76801904, 0xc00002a8, 0xb73f9304, 0xc0d058ec, 0xc10168e2, 0xd0310096, 0xd8080910, 0xd808aa45, 0xb761a9c2, 0xc2004f2d, 0x5d915a15, 0x65b9c101, 0x99e1c034, 0x9eab02d0, 0xff549e7b, 0xb7809955, 0xb7204488, 0xd2084b94, 0xc0d0a962, 0xc1016a62, 0x01090242, 0x0960c0a8, 0xa951d008, 0xc00e0d04, 0x74802d7c, 0xa162d208, 0x9282c000, 0x76ecb77f, 0x0a00c0aa, 0xaa15d208, 0xa961d008, 0xc0007088, 0xb77f9128, 0xd01077f4, 0x7115aa61, 0x90d2c01a, 0xff54058f, 0xb7409860, 0xb7604490, 0xb77f4b94, 0xd3f176ec, 0xb55f2e2e, 0xc0d04c70, 0xd0086a62, 0xc101a961, 0xc0aa0246, 0xd2080a00, 0x7088aa15, 0x9166c013, 0x77ecb79f, 0xa9e1d208, 0xa902d208, 0x9140fffa, 0x09929eb3, 0x98d0feb4, 0x4788b740, 0xaa41d248, 0x297cc00e, 0x51531a10, 0xffff7c82, 0x9d6e9262, 0xc200aa61, 0xc0007d00, 0x9eb39184, 0xfeb4098e, 0x9d6e98bb, 0xc200aa61, 0xffff7d00, 0xc1009302, 0xb75f0a02, 0x9dad59ec, 0xa261f000, 0x5214b740, 0x4488b7a0, 0x4b8cb760, 0xaa69c220, 0x6ae2c0d0, 0x56f4b77f, 0x02d602d8, 0xc0ae020b, 0xc0aa0a20, 0xd2080a80, 0xd208aab9, 0x0e86aa09, 0x1a8402d8, 0xf0009dbe, 0xb79fa2e2, 0x9dcd576c, 0xa2e2f000, 0x5574b77f, 0xc0069e6a, 0x0d0209f2, 0x9970ff34, 0x7074b77f, 0x0d029e6a, 0x09f2c038, 0x9968ff34, 0x9e7b9eab, 0x98aeff54, 0x4488b740, 0x4b8cb720, 0x6962c0d0, 0x022ec101, 0xc0a80242, 0xd2080a40, 0xd208a902, 0x00a2aa11, 0x6babb744, 0x0d027115, 0x0d22d001, 0x4ca2d012, 0xb53f7480, 0xc0135674, 0xb77f9122, 0xc23073f4, 0x7500aa69, 0x9042c013, 0x566cb79f, 0x9e6d1e84, 0xc0137500, 0xc00890a4, 0xb73f0902, 0x9d9d59ec, 0xa161f000, 0x70f4b73f, 0xaa619d1e, 0x3a40c002, 0xf0009d9e, 0xc401a261, 0xb75f0900, 0x9dae5974, 0xa161f000, 0xaa619d6e, 0x7d00c010, 0x9184c000, 0x098e9eb3, 0x982cfeb4, 0xaa619d6e, 0x7d00c010, 0x9302ffff, 0xb77f0a02, 0x9dbd596c, 0xa261f000, 0x0902c008, 0x59f4b77f, 0xf0009dbe, 0xb79fa161, 0x9d4d57ec, 0xb73fa9e2, 0x9d1d586c, 0xb73faa61, 0x9d1e6f74, 0x7680a962, 0x92a4c019, 0x55f4b55f, 0x4888b780, 0x746cb73f, 0xc00e058f, 0x22182a7c, 0x4888b580, 0x9b69ff34, 0x4488b740, 0x4b8cb760, 0xd3f17540, 0x9ea22a2e, 0x4c68b55f, 0x6d62c0d0, 0x052ed010, 0xc0a80126, 0xd0080940, 0x0a04aa49, 0xa249d008, 0x9284c013, 0xb73f9e6d, 0xb7204c68, 0xd3f14b94, 0x9ea02a1e, 0x6c62c0d0, 0x0482d010, 0x54adb782, 0x75021a10, 0x9254c01a, 0x5214b740, 0x4b8cb720, 0x74f4b77f, 0xaa69c220, 0x0403d110, 0xa969c230, 0x0609d110, 0x02429e82, 0x74800189, 0xc0ae0101, 0xc0a009a0, 0xc09e0940, 0xc0aa0d20, 0xd0080a00, 0xd010a8c5, 0xd208abd1, 0xd008a89a, 0xc011a9ea, 0xb7859044, 0x7500412c, 0x9302c010, 0x7bb4b7a4, 0x4b8cb740, 0x73f4b75f, 0x55ecb77f, 0x0404c101, 0xc2209e44, 0xc0a2a969, 0xd2080a20, 0xb704aa19, 0x7480784c, 0x4c52b70b, 0x7f6cb59f, 0xd0010a02, 0xb59f0a42, 0xb79f7dec, 0x9e8a566c, 0xc00e9e59, 0x010f287c, 0xb5bf058f, 0xb5bf7e6c, 0xb51f7ff4, 0xb51f7ef4, 0xb59f7d6c, 0xff747cec, 0xb73f9870, 0xb7a0566c, 0x74404b8c, 0x9222c015, 0x4488b740, 0x5214b740, 0x282ed3f2, 0x4c68b55f, 0x06f49e42, 0x6962c0d0, 0xa9a1d210, 0x022ec101, 0x9ea1024a, 0xc0a800aa, 0xb7600cc0, 0xb7434051, 0xb74e66b5, 0xd0114729, 0xc00f1e32, 0x70c82d7e, 0x59609e53, 0xb5433126, 0xc00066ad, 0xb7809198, 0x71174249, 0x92c2c01b, 0x796cb73f, 0xb5800a7f, 0xb73f4029, 0xb7404c70, 0xd3f14b8c, 0xc0d02e1e, 0x00c46a62, 0x01839e8a, 0x6bb3b764, 0x09c4c0a8, 0x0d40c0a8, 0xa94ad010, 0xa9e9d008, 0x0880c0aa, 0x42a9b740, 0x0a0276c0, 0x0a42d002, 0x01b4c101, 0x5214b740, 0x70c45150, 0xc2200a7f, 0xffbfa269, 0x0a1692d8, 0xa24df208, 0x4490b720, 0x4b8cb760, 0x4808b740, 0xc0d09e4c, 0x00c66a62, 0x5eb1b769, 0x746cb79f, 0x297cc00e, 0x214476c0, 0x4808b540, 0x92e2c000, 0x4a94b740, 0x09860a02, 0xf0310089, 0x0a04a955, 0x2a7cc00e, 0x0103748a, 0x4422b332, 0x01857117, 0x92a4ffff, 0xc0007480, 0xd0519142, 0xb7406e19, 0x0d06478c, 0xf2480244, 0xb79fa116, 0xb7bf666e, 0xb7df66ee, 0xb7ff676e, 0xcfe667ee, 0x9c228401, 0x5214b740, 0xaa69c220, 0xffcb7500, 0xffb49002, 0xb77f98ec, 0xf00865ec, 0x7d14aa61, 0x9004ffcb, 0x75ecb79f, 0x4b94b720, 0x5114b760, 0x00c2c101, 0xa9e9c230, 0x62b5b742, 0x460cb780, 0x9ea4058f, 0xb7209c62, 0xc2104f14, 0xb53fa8ea, 0xffca5474, 0xb77f9240, 0x74c06fec, 0x9204c014, 0x73f4b77f, 0xa8eac230, 0xc0177640, 0xb78092e2, 0xb7404488, 0xb59f4b8c, 0xc00e4c68, 0xc00e2a7c, 0xc0d02a7c, 0x00c46a62, 0xc0a20103, 0xd0080920, 0x7480a951, 0x9382c013, 0x5ea9b789, 0x711f1a04, 0x92c4c013, 0x65f4b77f, 0x606ab57e, 0x0d30d052, 0x91a0c014, 0x5214b720, 0xaa69c210, 0xfffd7500, 0xffb49144, 0xfffd98b6, 0xb73f90c0, 0xd20877ec, 0xb740a9e1, 0x70d54031, 0x9008ffe7, 0x58ecb73f, 0x4b8cb740, 0x1e22d011, 0x68e2c0d0, 0xd02070c8, 0x0c020094, 0x0c02d001, 0x4f4db761, 0x4824b300, 0x9104c000, 0x6d4bb784, 0x75000802, 0x0802d002, 0x7af4b77f, 0x4b94b740, 0xa961d810, 0x0214c101, 0x0940d032, 0xd8100126, 0x9e93aa41, 0x5991c200, 0x2dfccffe, 0x7aecb79f, 0xda0870d7, 0xc000a182, 0x04859312, 0xa921d210, 0x404bb780, 0x1536c101, 0xd2100904, 0x0585a121, 0x5991c200, 0x7aecb75f, 0x2dfccffe, 0xd80872d7, 0xffffa142, 0xb75f91a8, 0xb7604c70, 0xd3f14b8c, 0x00962e2e, 0x6a62c0d0, 0x4f35b741, 0x00c6d020, 0x7a6cb79f, 0xb72b9e41, 0xd2104c53, 0xd208a9a1, 0x3202a901, 0x7eecb59f, 0x00890a02, 0x7fecb59f, 0x7f74b51f, 0x9930ff34, 0x77ecb73f, 0x7674b73f, 0xa9e1d208, 0x4031b740, 0x404db500, 0x9140ffe3, 0x2ea2d011, 0x566cb79f, 0x75009ead, 0x2efccffe, 0x93e2ffec, 0xff34058f, 0x0c829954, 0x55f4b53f, 0x9100ffef, 0x4b8cb720, 0x022ec101, 0xc0a80242, 0xd2080a40, 0xd208a902, 0x7055a891, 0x93e6ffb9, 0x518cb760, 0x73f4b75f, 0x5214b760, 0x74ecb57f, 0xaa69c220, 0x097ec00e, 0xa169c230, 0xffbb7500, 0xb75f9164, 0xb7604c68, 0xd3f14b8c, 0x9ea22a2e, 0x6d62c0d0, 0x0234c101, 0x0a10c084, 0x65ecb59f, 0x9140ffbb, 0x530cb780, 0x09d4d012, 0xf2089e7b, 0x9e84a809, 0xb79f9c62, 0xb72058ec, 0xb75f4b94, 0xc0d0786c, 0xc1016a62, 0xb74200c2, 0xb78062b5, 0xd3f1460c, 0xd008298e, 0x058fa1c1, 0x9c629ea4, 0x93c0ffe4, 0x7bb4b7a4, 0xffef7742, 0x0e829124, 0x90c0ffef, 0xc0a00203, 0x0b820a40, 0xaa05d208, 0x0b98c034, 0xb59f638f, 0x027854ec, 0x5a08c200, 0x00c4c101, 0x4f35b743, 0x462db783, 0x4aadb743, 0x9000ffc3, 0x4b8cb720, 0xd1100a82, 0xb78404a3, 0x9e8a6bab, 0x75000183, 0xc0aa0103, 0x0a020d00, 0x0a42d002, 0x09c4c0a8, 0x0940c0a8, 0xa956d010, 0xa949d008, 0xd0089ea1, 0xb79fa9e9, 0x554455ec, 0x46b5b765, 0x70d501b4, 0x590cc200, 0x4822b355, 0x0126c101, 0x46adb545, 0x90a0ffeb, 0x75ecb79f, 0x4b94b720, 0xc1010802, 0xb78400c2, 0x75006d2b, 0x0802d002, 0x92a0ffd1, 0x5a74b73f, 0x756cb77f, 0x4b94b760, 0x54ecb79f, 0x5d11c080, 0x0136c101, 0x2d7cc00e, 0xd80801f8, 0xd122a955, 0x59885e0c, 0x00b6c101, 0x0a7cc002, 0xb7605915, 0xcffc76ad, 0x62452a01, 0x63f4b73f, 0x9d9e0246, 0xa261f000, 0x546cb77f, 0xc0020524, 0xcffc0d7c, 0x01342d01, 0x7b2db720, 0x6125c101, 0x6474b77f, 0x9dbe0122, 0xa161f000, 0x9020ffce, 0x5a74b77f, 0x093ed071, 0x2901cffe, 0x0d3ed0f2, 0xcffc9e59, 0xc1012d00, 0xd0316525, 0xc2000a1e, 0xd0105a13, 0x0a0c0524, 0xcffe2a71, 0xc10129c0, 0xd0320124, 0xd12461b8, 0xffbf5907, 0xb78493a0, 0x08826d2b, 0xd0027500, 0xb53f0892, 0xffd353ec, 0xb77f9080, 0xd1a27bec, 0xf0085e35, 0x2a7ca961, 0x1525d110, 0xc0041128, 0xb55f1900, 0xffe655ec, 0xb73f9020, 0xb54079f4, 0xffb24051, 0xb73f9380, 0xb7407974, 0x058f4488, 0x4049b780, 0x691ac034, 0x59080128, 0xb74300aa, 0x9d0b53b5, 0xcfe80992, 0xfeb40911, 0xffe998a4, 0xb78293a0, 0xb75f5ecd, 0x9dad626c, 0xa261f000, 0x7274b75f, 0x62ecb77f, 0xa941f010, 0xf0009dbd, 0xffc9a161, 0xb75f93c0, 0xb74075ec, 0xb7604b94, 0xb7805114, 0xc101460c, 0xc23000a4, 0xb742a9e9, 0x058f62b5, 0x9c629ea4, 0xaaa1d208, 0x546cb5bf, 0x90e0ffb9, 0x4c2bb78b, 0xffe57500, 0xb72591a2, 0xb53f42ad, 0xffe555ec, 0xb79f90e0, 0xb7204c68, 0x0d024b8c, 0x294ed3f1, 0x6962c0d0, 0x022ec101, 0xc05c0242, 0x77c00a00, 0xa102d208, 0xa122d210, 0x93e2c003, 0xc0a80222, 0xd2080a44, 0xffaea112, 0x058f9180, 0x99afff14, 0x287cc00e, 0x743ec01c, 0x9184c001, 0x5068b75f, 0xd3f10e86, 0xb7402aae, 0x058f4808, 0xb5402154, 0xb7804808, 0x22584888, 0x4888b580, 0x9badff14, 0xaa41d248, 0x4908b740, 0x9eb39e69, 0x32445230, 0x2a7cc00e, 0xb580098a, 0xfe944908, 0x058f9831, 0x9985ff14, 0x287cc00e, 0x743ec01c, 0x93a2fffe, 0x7974b73f, 0x4049b500, 0x9120ffab, 0x65f4b77f, 0x3d00c080, 0xa16ef010, 0x9260ffc8, 0x73f4b75f, 0x4488b760, 0xa8eac220, 0x4c68b57f, 0x4c68b73f, 0xb7400a82, 0xd3f14b8c, 0xc0d02a1e, 0x62cb0ae0, 0x65f4b77f, 0xb76900d4, 0x0a025ea9, 0xc0aa0103, 0xb59e0900, 0x74c2606a, 0xaa55d008, 0x0d30d052, 0x9242c002, 0xc00374c4, 0xb7609122, 0x9d075114, 0x6fecb77f, 0xa969c230, 0x0881cfe8, 0xfef4058f, 0xffb39a40, 0x00a29300, 0x5ea9b769, 0xc00374c2, 0x9e8b9374, 0xc0aa0283, 0xd0100d80, 0xc0a8a9f6, 0x0d840ac0, 0x9896c014, 0xa031d208, 0x9020ffaa, 0x7974b77f, 0x9e419e43, 0xa8e2d010, 0x050f9eb3, 0xfeb40906, 0xb7809aae, 0xb59f4488, 0xc00e4c68, 0xc00e2a7c, 0xc0d02a7c, 0xd2106a62, 0xc101a922, 0x024a024e, 0x0a40c0a8, 0xa901d208, 0x72951904, 0x9238ffe3, 0x9140ffe3, 0x4490b760, 0x4c70b57f, 0x92c0fffc, 0xfffd77c0, 0xb7809244, 0x02584b8c, 0x0a40c0a8, 0xaa11d208, 0xfffd7502, 0xb73f9104, 0xb75f7bec, 0xb7806f6c, 0xc004402d, 0x9dad0a00, 0xa261f000, 0x9360fffc, 0xc00177c2, 0x77c09182, 0x92a4fffc, 0xc0a80103, 0xd0080940, 0x0a04a951, 0x5a07c200, 0x70880a04, 0x9124fffc, 0x7bf4b77f, 0x6f6cb73f, 0xaa61f010, 0x0a00c004, 0xf0009d9d, 0xfffba261, 0xb7609380, 0x0a7f5214, 0xa269c230, 0x9220ffe2, 0xc0a80203, 0xd2080a40, 0xffa6a392, 0xb7609200, 0x023a4b8c, 0x0a44c0a8, 0xaa11d208, 0xfffb7502, 0xfffe9084, 0xc00e9360, 0xd0f22dfc, 0x5db028be, 0x0d80c021, 0xc1163522, 0x9dbe0df0, 0xa162f000, 0x9e989c22, 0x09020802, 0x9140c000, 0x08029e98, 0x4530d010, 0x72c0cc14, 0x7200c014, 0xc18072c0, 0xe0095d09, 0xf0127204, 0xc0005d04, 0x72c49254, 0x0804d004, 0x15b4d024, 0xd00472c0, 0xd0240802, 0xe00015b0, 0x11813124, 0x442ab330, 0x72c09c22, 0xffff0886, 0xc40293a6, 0xd06572c0, 0xd0652c9e, 0xc8023c9e, 0xd0657200, 0xd0652d2e, 0xe0003d2e, 0x9e531514, 0x5408d01a, 0x50acd01a, 0xd01472c0, 0xd0240002, 0xe08015b0, 0x5c055885, 0x9304ffff, 0x3124e000, 0xb3301181, 0x9c22442a, 0x9d3a9e64, 0x0e42c809, 0x30c6b098, 0x9dc39ea4, 0xe0009e58, 0x15873400, 0x482ab330, 0x9e649c22, 0x0e42c809, 0x3026b098, 0x9e589ea4, 0x00009c22, 0x87c2c809, 0x0e80b060, 0x87c2c809, 0x0ba0b060, 0x87c2c809, 0x0ae0b060, }; unsigned int aui32MPG2LLRC_MasterMTXTOPAZFWData[] = { 0x00000000, 0x00000000, 0x0000ff00, 0x00000000, 0xff000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x809000b0, 0x80900c54, 0x8288648c, 0x82886498, 0x8288649c, 0x828864dc, 0x828864c8, 0x828864b4, 0x828864e8, 0x82886504, 0x82886508, 0x828871fc, 0x82887f38, 0x82887f40, 0x82887f44, 0x82887f48, 0x82887f4a, 0x82887f50, 0x82887f54, 0x82887f58, 0x82887f5c, 0x82887f64, 0x82887f68, 0x82887f6c, 0x82887f73, 0x82888fd0, 0x82888f50, 0x82888f20, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x8090151c, 0x8090151c, 0x8090151c, 0x8090151c, 0x80905634, 0x809055f8, 0x8090151c, 0x8090151c, 0x8090151c, 0x8090151c, 0x8090151c, 0x8090151c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1234baac, }; unsigned int aui32MPG2LLRC_MasterMTXTOPAZFWTextReloc[] = { 0 }; unsigned char aui8MPG2LLRC_MasterMTXTOPAZFWTextRelocType[] = { 0 }; unsigned int aui32MPG2LLRC_MasterMTXTOPAZFWTextRelocFullAddr[] = { 0 }; unsigned int aui32MPG2LLRC_MasterMTXTOPAZFWDataReloc[] = { 0 };
16.029087
96
0.626139
b41e8b5da5ed45ec99257a6a535671592c1c66f9
1,717
c
C
Microprocessor_Lab/section9/proteus+codevision/micro master -micro slave/ATmega32_Slave/ATmega32_Slave/ATmega32_Slave.c
mheidari98/_IUT
f684d31071512edeefe8c8405746d4f3eab6ab6b
[ "MIT" ]
1
2021-07-10T19:52:38.000Z
2021-07-10T19:52:38.000Z
Microprocessor_Lab/section9/proteus+codevision/micro master -micro slave/ATmega32_Slave/ATmega32_Slave/ATmega32_Slave.c
mheidari98/_IUT
f684d31071512edeefe8c8405746d4f3eab6ab6b
[ "MIT" ]
null
null
null
Microprocessor_Lab/section9/proteus+codevision/micro master -micro slave/ATmega32_Slave/ATmega32_Slave/ATmega32_Slave.c
mheidari98/_IUT
f684d31071512edeefe8c8405746d4f3eab6ab6b
[ "MIT" ]
null
null
null
/* * ATmega32_Slave.c * http://www.electronicwings.com * */ #define F_CPU 8000000UL /* Define CPU clock Frequency e.g. here its 8MHz */ #include <mega16.h> /* Include AVR std. library file */ #include <delay.h> /* Include inbuilt defined Delay header file */ #include <stdio.h> /* Include standard I/O header file */ #include <string.h> /* Include string header file */ //#include "LCD_16x2_H_file.h" /* Include LCD header file */ #include "I2C_Slave_H_File.h" /* Include I2C slave header file */ //#include <cstdint.h> #include "uartf.h" #define Slave_Address 0x20 void main(void) { char buffer[10]; char count = 0,count3; char Ack_status; uart_init(); I2C_Slave_Init(Slave_Address); puts("\r\n Slave Device"); while (1) { switch(I2C_Slave_Listen()) /* Check for any SLA+W or SLA+R */ { case 0: { puts("\r\n Receiving : "); do { count = I2C_Slave_Receive(); sprintf(buffer, "%d ", count); puts(buffer); /* Receive data byte*/ } while (count != 255); /* Receive until STOP/REPEATED START received */ count = 0; break; } case 1: { //count3=10; count = 20; puts("\r\n Sending : "); do { //Ack_status = I2C_Slave_Transmit(count3); /* Send data byte */ Ack_status = I2C_Slave_Transmit(count); /* Send data byte */ //sprintf(buffer, "%d ",count3); sprintf(buffer, "%d ",count); puts(buffer); //count3++; count++; } while (Ack_status == 0); /* Send until Acknowledgment is received */ break; } default: break; } } }
24.528571
81
0.559115
7e5fd28a47f7c0feb93c397f587a53dcaf1d2929
797
h
C
src/Engine.h
jdowner/solar
f9331cef398088e0b97ac6fe021a4b034feef682
[ "MIT" ]
null
null
null
src/Engine.h
jdowner/solar
f9331cef398088e0b97ac6fe021a4b034feef682
[ "MIT" ]
1
2016-01-08T17:38:20.000Z
2016-01-09T12:37:00.000Z
src/Engine.h
jdowner/solar
f9331cef398088e0b97ac6fe021a4b034feef682
[ "MIT" ]
null
null
null
#ifndef ENGINE_H #define ENGINE_H #include <memory> #include "Renderer.h" #include "Universe.h" #include "UpdateContext.h" #include "GLFW.h" #include "DataStore.h" /** * */ class Engine { public: Engine(DataStore& datastore); void init(); void shutdown(); bool running() const; void render(); void update(); void sleep(); private: UpdateContext createUpdateContext() const; private: Universe m_universe; Renderer m_renderer; glfw::Window* m_window; bool m_running; /** * Defines the frequency (Hz) at which the updates are called. */ double m_frameRate; /** * The last time that the update function was called (seconds). */ double m_lastUpdate; DataStore m_datastore; }; #endif // ENGINE_H
15.627451
67
0.6399
e0c5ad03f775ab8e52dd058d0e510dcc1bad52c4
547
h
C
src/plat/imx/wdog.h
eerimoq/punchboot
fbdc22b6669b3f5c405f350f723fdde54c13729c
[ "BSD-3-Clause" ]
1
2019-10-30T23:40:28.000Z
2019-10-30T23:40:28.000Z
src/plat/imx/wdog.h
eerimoq/punchboot
fbdc22b6669b3f5c405f350f723fdde54c13729c
[ "BSD-3-Clause" ]
null
null
null
src/plat/imx/wdog.h
eerimoq/punchboot
fbdc22b6669b3f5c405f350f723fdde54c13729c
[ "BSD-3-Clause" ]
null
null
null
/** * Punch BOOT * * Copyright (C) 2018 Jonas Persson <jonpe960@gmail.com> * * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef __IMX_WDOG_H__ #define __IMX_WDOG_H__ #include <pb.h> #include <io.h> #define WDOG_WCR 0x0000 #define WDOG_WSR 0x0002 #define WDOG_WRSR 0x0004 #define WDOG_WICR 0x0006 #define WDOG_WMCR 0x0008 struct imx_wdog_device { __iomem base; uint32_t delay; }; uint32_t imx_wdog_init(struct imx_wdog_device *dev, uint32_t delay); uint32_t imx_wdog_kick(void); uint32_t imx_wdog_reset_now(void); #endif
15.628571
68
0.745887
630ab2ab2981cbb0ea1b19b20d78da34bd2a3c25
6,626
h
C
Mic Tools/tracker/TrackerDlg.h
hnordquist/MIC
18528ce80790925f05a409b0d08995576555298e
[ "Unlicense" ]
null
null
null
Mic Tools/tracker/TrackerDlg.h
hnordquist/MIC
18528ce80790925f05a409b0d08995576555298e
[ "Unlicense" ]
1
2017-09-14T15:23:39.000Z
2017-09-14T15:23:39.000Z
Mic Tools/tracker/TrackerDlg.h
hnordquist/MIC
18528ce80790925f05a409b0d08995576555298e
[ "Unlicense" ]
null
null
null
/* This work was supported by the United States Member State Support Program to IAEA Safeguards; the U.S. Department of Energy, Office of Nonproliferation and National Security, International Safeguards Division; and the U.S. Department of Energy, Office of Safeguards and Security. LA-CC-14-089. This software was exported from the United States in accordance with the Export Administration Regulations. Diversion contrary to U.S. law prohibited. Copyright 2015, Los Alamos National Security, LLC. This software application and associated material ("The Software") was prepared by the Los Alamos National Security, LLC. (LANS), under Contract DE-AC52-06NA25396 with the U.S. Department of Energy (DOE). All rights in the software application and associated material are reserved by DOE on behalf of the Government and LANS pursuant to the contract. 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 conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the "Los Alamos National Security, LLC." nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY LOS ALAMOS NATIONAL SECURITY, LLC AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LOS ALAMOS NATIONAL SECURITY, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRAT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ // TrackerDlg.h : header file // #if !defined(AFX_TRACKERDLG_H__156499A6_A4BC_11D2_B439_006008A70A6A__INCLUDED_) #define AFX_TRACKERDLG_H__156499A6_A4BC_11D2_B439_006008A70A6A__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #include <afxdisp.h> #include "CCButton.h" #define RED RGB(255,0,0) #define PUSH_XML "PUSH XML" ///////////////////////////////////////////////////////////////////////////// // CTrackerDlg dialog #define WM_WSARECV (WM_USER+5) #define MAX_BUTTONS 50 #define MAX_FORWARD 20 #define BUTTONWIDTH 175 #define BUTTONFLAGSIZE 36 #define BUTTONHEIGHT 70 #define BUTTONCOLUMNS 1 #define IPORT 1028 #define EXCLUDE_SIZE 10000 #define LOCATION_BASE 10000 #define BUTTONBASE 9000 typedef struct senddata { int BBM; int Index; int NumButtons; int Base; COLORREF FaceColor; bool Flash; bool Flag; bool Bell; bool Time; bool Other; bool Disk; char FlagC; char BellC; char TimeC; char OtherC; char DiskC; char Title[32]; char PreNum[30]; char QuestC; bool Quest; } SendDataType; struct SREQUEST { char* pszFTPServer; char* pszFTPUserName; char* pszFTPPassword; char* pszFTPDir; int iContext; char* pszPathNameToSend; char* pszNameOut; bool bGotData; DWORD dwAttrs; }; class CTrackerDlg : public CDialog { // Construction public: CTrackerDlg(CWnd* pParent = NULL); // standard constructor virtual ~CTrackerDlg(); char m_cCommandLine[_MAX_PATH]; // Dialog Data //{{AFX_DATA(CTrackerDlg) enum { IDD = IDD_TRACKER_DIALOG }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CTrackerDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void OnInstrumentButton(UINT); HICON m_hIcon; CColorButton* Buttons[MAX_BUTTONS]; void Log(bool bFlash, char* szText); // int FormatXML(char *szXML, char*szSource, int iFirst, int iLast, bool bAlarm=false); int FormatXML(char * szXML, char* szSource, char* szMediaName, int iType, int iButtonIndex); void Reorg(); void Reconfigure(); afx_msg LRESULT OnTrigger(WPARAM,LPARAM); afx_msg LRESULT OnTriggerClr(WPARAM,LPARAM); WORD m_wVer; WSADATA m_WSAData; SOCKET m_sd_dg; SOCKET m_sd_dg2; struct sockaddr_in m_sAddr_Loc; struct sockaddr_in m_sAddr_Rem; struct sockaddr_in m_sAddr_Tmp; struct sockaddr_in m_sAddr_Tmp2; CString m_sForwardAddress[MAX_FORWARD]; COleDateTime m_sForwardTime[MAX_FORWARD]; COleDateTime m_sLastGoodMessageTime; int m_dTop; int m_dButtonWidth; int m_dButtonHeight; int m_dButtonFlagSize; int m_dButtonsWide; int m_dNumButtons; CRect m_sInitialRect; CRect m_sStartRect; bool m_bMoved; bool m_bPushXML; char m_szIPAddress[32]; bool m_bAcked; CString m_MSName; char m_szPathName[MAX_PATH]; char m_szPathNameOut[MAX_PATH]; char m_szDir[MAX_PATH]; char m_szConvertPath[MAX_PATH]; char m_szCameraLocation[64]; bool m_bTriggerExclude[EXCLUDE_SIZE]; bool m_bInSendImages; public: char m_cIniFile[_MAX_PATH]; char m_szHTMLName[_MAX_PATH]; HANDLE m_hMailSlot; int m_dDefPort; char m_szSlotName[64]; char m_cName[64]; bool m_bDoingMailSlot; bool m_bDoHTML; bool m_bAllowForward; bool m_bToMIC; bool m_bAllFlashing; int m_dHTMLTime; int m_dMSTime; char m_cLogFileName[_MAX_PATH]; BYTE m_b1; BYTE m_b2; BYTE m_b3; BYTE m_b4; bool m_bDoAlarm; CString m_cVERSION; // Generated message map functions //{{AFX_MSG(CTrackerDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnMove(int x, int y); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG afx_msg LRESULT OnReceive(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnTriggerExclude(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_TRACKERDLG_H__156499A6_A4BC_11D2_B439_006008A70A6A__INCLUDED_)
31.703349
104
0.753999
6313de69a279f040da5b2f8ae9c759b566e3b3b0
1,455
h
C
IocpNetLib/Performance.h
cjwcjswo/com2us_cppNetStudy_work
3aab26cfd2e9bf1544fa41a0f2694d81167b2584
[ "MIT" ]
25
2019-05-20T08:07:39.000Z
2021-08-17T11:25:02.000Z
IocpNetLib/Performance.h
cjwcjswo/com2us_cppNetStudy_work
3aab26cfd2e9bf1544fa41a0f2694d81167b2584
[ "MIT" ]
null
null
null
IocpNetLib/Performance.h
cjwcjswo/com2us_cppNetStudy_work
3aab26cfd2e9bf1544fa41a0f2694d81167b2584
[ "MIT" ]
17
2019-07-07T12:20:16.000Z
2022-01-11T08:27:44.000Z
#pragma once #include <thread> namespace NetLib { class Performance { public: Performance() = default; ~Performance() { if (m_IsCheckPerformance) { SetCheckPerformance(0); m_PerformanceThread.join(); } } public: void Start(int milliseconds = 0) { m_CheckPerformanceMilliseconds = milliseconds; if (m_CheckPerformanceMilliseconds > 0) { SetCheckPerformance(TRUE); m_PerformanceThread = std::thread(&Performance::CheckPerformanceThread, this); } } void CheckPerformanceThread() { while (true) { std::this_thread::sleep_for(std::chrono::milliseconds(m_CheckPerformanceMilliseconds)); if (m_IsCheckPerformance == false) { return; } char logmsg[64] = { 0, }; sprintf_s(logmsg, "Process Packet Count:%d, Per:%d", m_PacketProcessCount, m_CheckPerformanceMilliseconds); LogFuncPtr((int)LogLevel::Debug, logmsg); ResetPacketProcessCount(); } } int IncrementPacketProcessCount() { return m_IsCheckPerformance ? InterlockedIncrement(&m_PacketProcessCount) : 0; } private: void SetCheckPerformance(LONG isCheckPerformance) { InterlockedExchange(&m_IsCheckPerformance, isCheckPerformance); } void ResetPacketProcessCount() { InterlockedExchange(&m_PacketProcessCount, 0); } private: std::thread m_PerformanceThread; long m_PacketProcessCount = 0; LONG m_IsCheckPerformance = FALSE; int m_CheckPerformanceMilliseconds = 0; }; }
22.045455
119
0.716151
4a2a54f310d45f2c5628fe013152308dad41c49d
502
h
C
XXEaseUI/ChatUI/EMUIKit/Util/Category/EMExt.h
Tayoji/XXEaseUI
77a38feb78cdcf63e294a35a8c2c60d9b273ba56
[ "MIT" ]
null
null
null
XXEaseUI/ChatUI/EMUIKit/Util/Category/EMExt.h
Tayoji/XXEaseUI
77a38feb78cdcf63e294a35a8c2c60d9b273ba56
[ "MIT" ]
null
null
null
XXEaseUI/ChatUI/EMUIKit/Util/Category/EMExt.h
Tayoji/XXEaseUI
77a38feb78cdcf63e294a35a8c2c60d9b273ba56
[ "MIT" ]
null
null
null
// // EMExt.h // supplier // // Created by xiucheren on 16/8/1. // Copyright © 2016年 Tayoji. All rights reserved. // #import <Foundation/Foundation.h> #import "EMParams.h" @interface EMExt : NSObject @property (nonatomic,copy) NSString * title; @property (nonatomic,copy) NSString * actionType; @property (nonatomic,copy) NSString * actionUrl; @property (nonatomic,copy) NSString * businessType; @property (nonatomic,copy) EMParams * params; -(instancetype)initWithDict:(NSDictionary *)ext; @end
25.1
51
0.733068
a44aed0852ab93d663691749ec4c1caa9cbb2cf2
2,215
c
C
kernel/source/screen.c
SimonGustavsson/nox
eb8a9a07f36d22e1a5fd12e5de1aa2166dcee9af
[ "MIT" ]
3
2015-04-09T17:15:40.000Z
2016-08-24T03:54:42.000Z
kernel/source/screen.c
SimonGustavsson/nox
eb8a9a07f36d22e1a5fd12e5de1aa2166dcee9af
[ "MIT" ]
10
2015-04-30T19:50:24.000Z
2015-07-20T18:25:22.000Z
kernel/source/screen.c
SimonGustavsson/nox
eb8a9a07f36d22e1a5fd12e5de1aa2166dcee9af
[ "MIT" ]
null
null
null
#include <types.h> #include <string.h> #include <screen.h> #include <pio.h> // ------------------------------------------------------------------------- // Globals // ------------------------------------------------------------------------- static const size_t VGA_WIDTH = 80; static const size_t VGA_HEIGHT = 25; static uint16_t* g_terminal; // ------------------------------------------------------------------------- // Forward declaractions // ------------------------------------------------------------------------- uint8_t screen_create_color(enum vga_color fg, enum vga_color bg); void screen_put_entry(uint16_t entry, size_t x, size_t y); void screen_put_char(char c, uint8_t color, size_t x, size_t y); // ------------------------------------------------------------------------- // Externs // ------------------------------------------------------------------------- void screen_init() { g_terminal = (uint16_t*) 0xB8000; // Clear out the terminal for ( size_t y = 0; y < VGA_HEIGHT; y++ ) { for ( size_t x = 0; x < VGA_WIDTH; x++ ) { const size_t index = y * VGA_WIDTH + x; g_terminal[index] = screen_create_color(' ', vga_color_black); } } } void screen_cursor_hide() { // Tell the VGA text mode // THING that we want to access the cursor start register // which is at index 0xA OUTB(0x3D4, 0xA); uint8_t val = INB(0x3D5); val |= (1 << 5); OUTB(0x3D5, val); } uint32_t screen_width_get() { return VGA_WIDTH; } uint32_t screen_height_get() { return VGA_HEIGHT; } // ------------------------------------------------------------------------- // Private // ------------------------------------------------------------------------- uint16_t screen_create_entry(char c, enum vga_color color) { uint16_t c16 = c; uint16_t color16 = color; return c16 | (color16 << 8); } void screen_put_entry(uint16_t entry, size_t x, size_t y) { const size_t index = y * VGA_WIDTH + x; g_terminal[index] = entry; } void screen_put_char(char c, screen_color color, size_t x, size_t y) { screen_put_entry(screen_create_entry(c, color), x, y); } screen_color screen_create_color(enum vga_color fg, enum vga_color bg) { return fg | bg << 4; }
25.45977
76
0.496163
cc8c4035a8f73870b2eb45245e59d82ea98e9235
1,396
h
C
PrivateFrameworks/SearchFoundation/SFAppLink.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
17
2018-11-13T04:02:58.000Z
2022-01-20T09:27:13.000Z
PrivateFrameworks/SearchFoundation/SFAppLink.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
3
2018-04-06T02:02:27.000Z
2018-10-02T01:12:10.000Z
PrivateFrameworks/SearchFoundation/SFAppLink.h
phatblat/macOSPrivateFrameworks
9047371eb80f925642c8a7c4f1e00095aec66044
[ "MIT" ]
1
2018-09-28T13:54:23.000Z
2018-09-28T13:54:23.000Z
// // 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" #import "NSCopying.h" #import "NSSecureCoding.h" #import "SFAppLink.h" @class NSData, NSDictionary, NSString, SFImage, SFPunchout; @interface SFAppLink : NSObject <SFAppLink, NSSecureCoding, NSCopying> { struct { unsigned int imageAlign:1; } _has; int _imageAlign; NSString *_title; SFPunchout *_appPunchout; SFImage *_image; } + (BOOL)supportsSecureCoding; @property(nonatomic) int imageAlign; // @synthesize imageAlign=_imageAlign; @property(retain, nonatomic) SFImage *image; // @synthesize image=_image; @property(retain, nonatomic) SFPunchout *appPunchout; // @synthesize appPunchout=_appPunchout; @property(copy, nonatomic) NSString *title; // @synthesize title=_title; - (void).cxx_destruct; - (id)copyWithZone:(struct _NSZone *)arg1; @property(readonly, nonatomic) NSData *jsonData; @property(readonly, nonatomic) NSDictionary *dictionaryRepresentation; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; - (BOOL)hasImageAlign; - (id)initWithProtobuf:(id)arg1; // Remaining properties @property(readonly, copy) NSString *debugDescription; @property(readonly, copy) NSString *description; @property(readonly) unsigned long long hash; @property(readonly) Class superclass; @end
29.083333
94
0.739971
cca4b7d87b2dd9e9327279ec4d07bacb66366a0b
14,608
h
C
src/ripple_basics/containers/TaggedCache.h
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
src/ripple_basics/containers/TaggedCache.h
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
src/ripple_basics/containers/TaggedCache.h
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== #ifndef RIPPLE_TAGGEDCACHE_H #define RIPPLE_TAGGEDCACHE_H // This class implements a cache and a map. The cache keeps objects alive // in the map. The map allows multiple code paths that reference objects // with the same tag to get the same actual object. // So long as data is in the cache, it will stay in memory. // If it stays in memory even after it is ejected from the cache, // the map will track it. // CAUTION: Callers must not modify data objects that are stored in the cache // unless they hold their own lock over all cache operations. struct TaggedCacheLog; // Common base class TaggedCache { public: typedef RippleRecursiveMutex LockType; typedef LockType::ScopedLockType ScopedLockType; }; /** Combination cache/map container. NOTE: Timer must have this interface: static int Timer::getElapsedSeconds (); */ template <typename c_Key, typename c_Data, class Timer> class TaggedCacheType : public TaggedCache { public: typedef c_Key key_type; typedef c_Data data_type; typedef boost::weak_ptr<data_type> weak_data_ptr; typedef boost::shared_ptr<data_type> data_ptr; public: typedef TaggedCache::LockType LockType; typedef TaggedCache::ScopedLockType ScopedLockType; TaggedCacheType (const char* name, int size, int age) : mLock (static_cast <TaggedCache const*>(this), "TaggedCache", __FILE__, __LINE__) , mName (name) , mTargetSize (size) , mTargetAge (age) , mCacheCount (0) , mHits (0) , mMisses (0) { } int getTargetSize () const; int getTargetAge () const; int getCacheSize (); int getTrackSize (); float getHitRate (); void clearStats (); void setTargetSize (int size); void setTargetAge (int age); void sweep (); void clear (); /** Refresh the expiration time on a key. @param key The key to refresh. @return `true` if the key was found and the object is cached. */ bool refreshIfPresent (const key_type& key) { bool found = false; // If present, make current in cache ScopedLockType sl (mLock, __FILE__, __LINE__); cache_iterator cit = mCache.find (key); if (cit != mCache.end ()) { cache_entry& entry = cit->second; if (! entry.isCached ()) { // Convert weak to strong. entry.ptr = entry.lock (); if (entry.isCached ()) { // We just put the object back in cache ++mCacheCount; entry.touch (); found = true; } else { // Couldn't get strong pointer, // object fell out of the cache so remove the entry. mCache.erase (cit); } } else { // It's cached so update the timer entry.touch (); found = true; } } else { // not present } return found; } bool del (const key_type& key, bool valid); /** Replace aliased objects with originals. Due to concurrency it is possible for two separate objects with the same content and referring to the same unique "thing" to exist. This routine eliminates the duplicate and performs a replacement on the callers shared pointer if needed. @param key The key corresponding to the object @param data A shared pointer to the data corresponding to the object. @param replace `true` if `data` is the up to date version of the object. @return `true` if the operation was successful. */ bool canonicalize (const key_type& key, boost::shared_ptr<c_Data>& data, bool replace = false); bool store (const key_type& key, const c_Data& data); boost::shared_ptr<c_Data> fetch (const key_type& key); bool retrieve (const key_type& key, c_Data& data); LockType& peekMutex () { return mLock; } private: class cache_entry { public: int last_use; data_ptr ptr; weak_data_ptr weak_ptr; cache_entry (int l, const data_ptr& d) : last_use (l), ptr (d), weak_ptr (d) { ; } bool isWeak () { return !ptr; } bool isCached () { return !!ptr; } bool isExpired () { return weak_ptr.expired (); } data_ptr lock () { return weak_ptr.lock (); } void touch () { last_use = Timer::getElapsedSeconds (); } }; typedef std::pair<key_type, cache_entry> cache_pair; typedef boost::unordered_map<key_type, cache_entry> cache_type; typedef typename cache_type::iterator cache_iterator; mutable LockType mLock; std::string mName; // Used for logging int mTargetSize; // Desired number of cache entries (0 = ignore) int mTargetAge; // Desired maximum cache age int mCacheCount; // Number of items cached cache_type mCache; // Hold strong reference to recent objects uint64 mHits, mMisses; }; template<typename c_Key, typename c_Data, class Timer> int TaggedCacheType<c_Key, c_Data, Timer>::getTargetSize () const { ScopedLockType sl (mLock, __FILE__, __LINE__); return mTargetSize; } template<typename c_Key, typename c_Data, class Timer> void TaggedCacheType<c_Key, c_Data, Timer>::setTargetSize (int s) { ScopedLockType sl (mLock, __FILE__, __LINE__); mTargetSize = s; if (s > 0) mCache.rehash (static_cast<std::size_t> ((s + (s >> 2)) / mCache.max_load_factor () + 1)); WriteLog (lsDEBUG, TaggedCacheLog) << mName << " target size set to " << s; } template<typename c_Key, typename c_Data, class Timer> int TaggedCacheType<c_Key, c_Data, Timer>::getTargetAge () const { ScopedLockType sl (mLock, __FILE__, __LINE__); return mTargetAge; } template<typename c_Key, typename c_Data, class Timer> void TaggedCacheType<c_Key, c_Data, Timer>::setTargetAge (int s) { ScopedLockType sl (mLock, __FILE__, __LINE__); mTargetAge = s; WriteLog (lsDEBUG, TaggedCacheLog) << mName << " target age set to " << s; } template<typename c_Key, typename c_Data, class Timer> int TaggedCacheType<c_Key, c_Data, Timer>::getCacheSize () { ScopedLockType sl (mLock, __FILE__, __LINE__); return mCacheCount; } template<typename c_Key, typename c_Data, class Timer> int TaggedCacheType<c_Key, c_Data, Timer>::getTrackSize () { ScopedLockType sl (mLock, __FILE__, __LINE__); return mCache.size (); } template<typename c_Key, typename c_Data, class Timer> float TaggedCacheType<c_Key, c_Data, Timer>::getHitRate () { ScopedLockType sl (mLock, __FILE__, __LINE__); return (static_cast<float> (mHits) * 100) / (1.0f + mHits + mMisses); } template<typename c_Key, typename c_Data, class Timer> void TaggedCacheType<c_Key, c_Data, Timer>::clearStats () { ScopedLockType sl (mLock, __FILE__, __LINE__); mHits = 0; mMisses = 0; } template<typename c_Key, typename c_Data, class Timer> void TaggedCacheType<c_Key, c_Data, Timer>::clear () { ScopedLockType sl (mLock, __FILE__, __LINE__); mCache.clear (); mCacheCount = 0; } template<typename c_Key, typename c_Data, class Timer> void TaggedCacheType<c_Key, c_Data, Timer>::sweep () { int cacheRemovals = 0; int mapRemovals = 0; int cc = 0; // Keep references to all the stuff we sweep // so that we can destroy them outside the lock. // std::vector <data_ptr> stuffToSweep; { ScopedLockType sl (mLock, __FILE__, __LINE__); int const now = Timer::getElapsedSeconds (); int target = now - mTargetAge; if ((mTargetSize != 0) && (static_cast<int> (mCache.size ()) > mTargetSize)) { target = now - (mTargetAge * mTargetSize / mCache.size ()); if (target > (now - 2)) target = now - 2; WriteLog (lsINFO, TaggedCacheLog) << mName << " is growing fast " << mCache.size () << " of " << mTargetSize << " aging at " << (now - target) << " of " << mTargetAge; } stuffToSweep.reserve (mCache.size ()); cache_iterator cit = mCache.begin (); while (cit != mCache.end ()) { if (cit->second.isWeak ()) { // weak if (cit->second.isExpired ()) { ++mapRemovals; cit = mCache.erase (cit); } else { ++cit; } } else if (cit->second.last_use < target) { // strong, expired --mCacheCount; ++cacheRemovals; if (cit->second.ptr.unique ()) { stuffToSweep.push_back (cit->second.ptr); ++mapRemovals; cit = mCache.erase (cit); } else { // remains weakly cached cit->second.ptr.reset (); ++cit; } } else { // strong, not expired ++cc; ++cit; } } } if (ShouldLog (lsTRACE, TaggedCacheLog) && (mapRemovals || cacheRemovals)) { WriteLog (lsTRACE, TaggedCacheLog) << mName << ": cache = " << mCache.size () << "-" << cacheRemovals << ", map-=" << mapRemovals; } // At this point stuffToSweep will go out of scope outside the lock // and decrement the reference count on each strong pointer. } template<typename c_Key, typename c_Data, class Timer> bool TaggedCacheType<c_Key, c_Data, Timer>::del (const key_type& key, bool valid) { // Remove from cache, if !valid, remove from map too. Returns true if removed from cache ScopedLockType sl (mLock, __FILE__, __LINE__); cache_iterator cit = mCache.find (key); if (cit == mCache.end ()) return false; cache_entry& entry = cit->second; bool ret = false; if (entry.isCached ()) { --mCacheCount; entry.ptr.reset (); ret = true; } if (!valid || entry.isExpired ()) mCache.erase (cit); return ret; } // VFALCO NOTE What does it mean to canonicalize the data? template<typename c_Key, typename c_Data, class Timer> bool TaggedCacheType<c_Key, c_Data, Timer>::canonicalize (const key_type& key, boost::shared_ptr<c_Data>& data, bool replace) { // Return canonical value, store if needed, refresh in cache // Return values: true=we had the data already ScopedLockType sl (mLock, __FILE__, __LINE__); cache_iterator cit = mCache.find (key); if (cit == mCache.end ()) { mCache.insert (cache_pair (key, cache_entry (Timer::getElapsedSeconds (), data))); ++mCacheCount; return false; } cache_entry& entry = cit->second; entry.touch (); if (entry.isCached ()) { if (replace) { entry.ptr = data; entry.weak_ptr = data; } else data = entry.ptr; return true; } data_ptr cachedData = entry.lock (); if (cachedData) { if (replace) { entry.ptr = data; entry.weak_ptr = data; } else { entry.ptr = cachedData; data = cachedData; } ++mCacheCount; return true; } entry.ptr = data; entry.weak_ptr = data; ++mCacheCount; return false; } template<typename c_Key, typename c_Data, class Timer> boost::shared_ptr<c_Data> TaggedCacheType<c_Key, c_Data, Timer>::fetch (const key_type& key) { // fetch us a shared pointer to the stored data object ScopedLockType sl (mLock, __FILE__, __LINE__); cache_iterator cit = mCache.find (key); if (cit == mCache.end ()) { ++mMisses; return data_ptr (); } cache_entry& entry = cit->second; entry.touch (); if (entry.isCached ()) { ++mHits; return entry.ptr; } entry.ptr = entry.lock (); if (entry.isCached ()) { // independent of cache size, so not counted as a hit ++mCacheCount; return entry.ptr; } mCache.erase (cit); ++mMisses; return data_ptr (); } template<typename c_Key, typename c_Data, class Timer> bool TaggedCacheType<c_Key, c_Data, Timer>::store (const key_type& key, const c_Data& data) { data_ptr d = boost::make_shared<c_Data> (boost::cref (data)); return canonicalize (key, d); } template<typename c_Key, typename c_Data, class Timer> bool TaggedCacheType<c_Key, c_Data, Timer>::retrieve (const key_type& key, c_Data& data) { // retrieve the value of the stored data data_ptr entry = fetch (key); if (!entry) return false; data = *entry; return true; } #endif
28.146435
125
0.574001
787ea7a8366f08f61edd81a0e0c7869e5ac92d8a
64,098
c
C
TMCL.c
trinamic/TOSV-Firmware
5a7547d4f7651b12cb6d42ffa7a5a11b241601fc
[ "MIT" ]
3
2020-04-18T01:47:30.000Z
2021-07-26T15:58:18.000Z
TMCL.c
trinamic/TOSV-Firmware
5a7547d4f7651b12cb6d42ffa7a5a11b241601fc
[ "MIT" ]
null
null
null
TMCL.c
trinamic/TOSV-Firmware
5a7547d4f7651b12cb6d42ffa7a5a11b241601fc
[ "MIT" ]
1
2020-10-05T21:49:02.000Z
2020-10-05T21:49:02.000Z
/* * TMCL.c * * Created on: 31.03.2020 * Author: OK / ED */ #include "TMCL.h" #include "hal/system/SysTick.h" #include "hal/system/SystemInfo.h" #include "hal/system/Debug.h" #include "hal/comm/Eeprom.h" #include "hal/comm/RS485.h" #include "hal/comm/SPI.h" #include "hal/tmcl/TMCL-Variables.h" #include "TOSV.h" #ifdef USE_UART_INTERFACE #include "hal/comm/UART.h" #endif #ifdef USE_USB_INTERFACE #include "hal/comm/USB.h" #endif #define AIRCR_VECTKEY_MASK ((uint32_t)0x05FA0000) uint8_t ResetRequested; extern const char *VersionString; uint32_t TMCM_MOTOR_CONFIG_SIZE = sizeof(TMotorConfig); // local used functions uint32_t tmcl_handleAxisParameter(uint8_t motor, uint8_t command, uint8_t type, int32_t *value); void tmcl_rotateLeft(); void tmcl_rotateRight(); void tmcl_motorStop(); void tmcl_setOutput(); void tmcl_getInput(); void tmcl_getVersion(); void tmcl_firmwareDefault(); void tmcl_boot(); void tmcl_softwareReset(); // => SPI wrapper for TMC-API u8 tmc4671_readwriteByte(u8 motor, u8 data, u8 lastTransfer) { return weasel_spi_readWriteByte(motor, data, lastTransfer); } u8 tmc6200_readwriteByte(u8 motor, u8 data, u8 lastTransfer) { return dragon_spi_readWriteByte(motor, data, lastTransfer); } // <= SPI wrapper /* execute the TMCL-Command stored in "ActualCommand" */ void tmcl_executeActualCommand() { // prepare reply command ActualReply.Opcode = ActualCommand.Opcode; ActualReply.Status = REPLY_OK; ActualReply.Value.Int32 = ActualCommand.Value.Int32; // handle command switch(ActualCommand.Opcode) { case TMCL_ROR: tmcl_rotateRight(); break; case TMCL_ROL: tmcl_rotateLeft(); break; case TMCL_MST: tmcl_motorStop(); break; case TMCL_SAP: case TMCL_GAP: case TMCL_STAP: case TMCL_RSAP: { int32_t value = ActualCommand.Value.Int32; ActualReply.Status = tmcl_handleAxisParameter(ActualCommand.Motor, ActualCommand.Opcode, ActualCommand.Type, &value); ActualReply.Value.Int32 = value; } break; case TMCL_SIO: tmcl_setOutput(); break; case TMCL_GIO: tmcl_getInput(); break; case TMCL_GetVersion: tmcl_getVersion(); break; case TMCL_FactoryDefault: tmcl_firmwareDefault(); break; case TMCL_readRegisterChannel_1: if (ActualCommand.Motor == 0) ActualReply.Value.Int32 = tmc4671_readInt(DEFAULT_MC, ActualCommand.Type); else if (ActualCommand.Motor == 1) ActualReply.Value.Int32 = tmc6200_readInt(DEFAULT_DRV, ActualCommand.Type); break; case TMCL_writeRegisterChannel_1: if (ActualCommand.Motor == 0) tmc4671_writeInt(DEFAULT_MC, ActualCommand.Type, ActualCommand.Value.Int32); else if (ActualCommand.Motor == 1) tmc6200_writeInt(DEFAULT_DRV, ActualCommand.Type, ActualCommand.Value.Int32); break; case TMCL_Boot: tmcl_boot(); break; case TMCL_SoftwareReset: tmcl_softwareReset(); break; default: ActualReply.Status = REPLY_INVALID_CMD; break; } } /* initialize tmcl */ void tmcl_init() { } /* process next TMCL command */ void tmcl_processCommand() { static uint8_t TMCLCommandState; uint32_t i; #ifdef USE_UART_INTERFACE uint8_t Byte; static uint8_t UARTCmd[9]; static uint8_t UARTCount; #endif #ifdef USE_RS485_INTERFACE static uint8_t RS485Cmd[9]; static uint8_t RS485Count; #endif #ifdef USE_USB_INTERFACE uint8_t USBCmd[9]; uint8_t USBReply[9]; #endif /* send reply for last TMCL request */ #ifdef USE_UART_INTERFACE if(TMCLCommandState==TCS_UART) // reply via UART { if(TMCLReplyFormat==RF_STANDARD) { uint8_t Checksum = moduleConfig.serialHostAddress+moduleConfig.serialModuleAddress+ ActualReply.Status+ActualReply.Opcode+ ActualReply.Value.Byte[3]+ActualReply.Value.Byte[2]+ ActualReply.Value.Byte[1]+ActualReply.Value.Byte[0]; uart_write(moduleConfig.serialHostAddress); uart_write(moduleConfig.serialModuleAddress); uart_write(ActualReply.Status); uart_write(ActualReply.Opcode); uart_write(ActualReply.Value.Byte[3]); uart_write(ActualReply.Value.Byte[2]); uart_write(ActualReply.Value.Byte[1]); uart_write(ActualReply.Value.Byte[0]); uart_write(Checksum); } else if(TMCLReplyFormat==RF_SPECIAL) { for(i=0; i<9; i++) { uart_write(SpecialReply[i]); } } } else if(TMCLCommandState==TCS_UART_ERROR) // last command had a wrong checksum { ActualReply.Opcode = 0; ActualReply.Status = REPLY_CHKERR; ActualReply.Value.Int32 = 0; uint8_t Checksum = moduleConfig.serialHostAddress + moduleConfig.serialModuleAddress+ ActualReply.Status+ActualReply.Opcode+ ActualReply.Value.Byte[3] + ActualReply.Value.Byte[2]+ ActualReply.Value.Byte[1] + ActualReply.Value.Byte[0]; uart_write(moduleConfig.serialHostAddress); uart_write(moduleConfig.serialModuleAddress); uart_write(ActualReply.Status); uart_write(ActualReply.Opcode); uart_write(ActualReply.Value.Byte[3]); uart_write(ActualReply.Value.Byte[2]); uart_write(ActualReply.Value.Byte[1]); uart_write(ActualReply.Value.Byte[0]); uart_write(Checksum); } #endif #ifdef USE_RS485_INTERFACE if(TMCLCommandState==TCS_RS485) // reply via RS485 { if(TMCLReplyFormat==RF_STANDARD) { uint8_t Checksum = moduleConfig.serialHostAddress+moduleConfig.serialModuleAddress+ ActualReply.Status+ActualReply.Opcode+ ActualReply.Value.Byte[3]+ActualReply.Value.Byte[2]+ ActualReply.Value.Byte[1]+ActualReply.Value.Byte[0]; rs485_write(moduleConfig.serialHostAddress); rs485_write(moduleConfig.serialModuleAddress); rs485_write(ActualReply.Status); rs485_write(ActualReply.Opcode); rs485_write(ActualReply.Value.Byte[3]); rs485_write(ActualReply.Value.Byte[2]); rs485_write(ActualReply.Value.Byte[1]); rs485_write(ActualReply.Value.Byte[0]); rs485_write(Checksum); } else if(TMCLReplyFormat==RF_SPECIAL) { for(i=0; i<9; i++) { rs485_write(SpecialReply[i]); } } } else if(TMCLCommandState==TCS_RS485_ERROR) // last command had a wrong checksum { ActualReply.Opcode = 0; ActualReply.Status = REPLY_CHKERR; ActualReply.Value.Int32 = 0; uint8_t Checksum = moduleConfig.serialHostAddress + moduleConfig.serialModuleAddress+ ActualReply.Status+ActualReply.Opcode+ ActualReply.Value.Byte[3] + ActualReply.Value.Byte[2]+ ActualReply.Value.Byte[1] + ActualReply.Value.Byte[0]; rs485_write(moduleConfig.serialHostAddress); rs485_write(moduleConfig.serialModuleAddress); rs485_write(ActualReply.Status); rs485_write(ActualReply.Opcode); rs485_write(ActualReply.Value.Byte[3]); rs485_write(ActualReply.Value.Byte[2]); rs485_write(ActualReply.Value.Byte[1]); rs485_write(ActualReply.Value.Byte[0]); rs485_write(Checksum); } #endif #ifdef USE_USB_INTERFACE if(TMCLCommandState==TCS_USB) // reply via USB { if(TMCLReplyFormat==RF_STANDARD) { uint8_t Checksum = moduleConfig.serialHostAddress + moduleConfig.serialModuleAddress+ ActualReply.Status+ActualReply.Opcode+ ActualReply.Value.Byte[3] + ActualReply.Value.Byte[2] + ActualReply.Value.Byte[1] + ActualReply.Value.Byte[0]; USBReply[0] = moduleConfig.serialHostAddress; USBReply[1] = moduleConfig.serialModuleAddress; USBReply[2] = ActualReply.Status; USBReply[3] = ActualReply.Opcode; USBReply[4] = ActualReply.Value.Byte[3]; USBReply[5] = ActualReply.Value.Byte[2]; USBReply[6] = ActualReply.Value.Byte[1]; USBReply[7] = ActualReply.Value.Byte[0]; USBReply[8] = Checksum; } else if(TMCLReplyFormat==RF_SPECIAL) { for(i=0; i<9; i++) { USBReply[i]=SpecialReply[i]; } } usb_sendData(USBReply, 9); } else if(TMCLCommandState==TCS_USB_ERROR) // last command had a wrong checksum { ActualReply.Opcode = 0; ActualReply.Status = REPLY_CHKERR; ActualReply.Value.Int32 = 0; uint8_t Checksum = moduleConfig.serialHostAddress + moduleConfig.serialModuleAddress + ActualReply.Status+ActualReply.Opcode+ ActualReply.Value.Byte[3]+ ActualReply.Value.Byte[2]+ ActualReply.Value.Byte[1]+ ActualReply.Value.Byte[0]; USBReply[0] = moduleConfig.serialHostAddress; USBReply[1] = moduleConfig.serialModuleAddress; USBReply[2] = ActualReply.Status; USBReply[3] = ActualReply.Opcode; USBReply[4] = ActualReply.Value.Byte[3]; USBReply[5] = ActualReply.Value.Byte[2]; USBReply[6] = ActualReply.Value.Byte[1]; USBReply[7] = ActualReply.Value.Byte[0]; USBReply[8] = Checksum; usb_sendData(USBReply, 9); } #endif // reset command state (reply has been send) TMCLCommandState = TCS_IDLE; TMCLReplyFormat = RF_STANDARD; // last command was a reset? if(ResetRequested) { /* delay the reset, that the reply is send completely */ uint32_t delay = systick_getTimer(); while(abs(systick_getTimer()-delay) < 100){;} tmcl_resetCPU(true); } /* read next request */ #ifdef USE_UART_INTERFACE if(uart_read((char *)&Byte)) // new UART request available? { if(uart_checkTimeout()) UARTCount=0; // discard everything when there has been a command timeout UARTCmd[UARTCount++] = Byte; if(UARTCount==9) // Nine bytes have been received without timeout { UARTCount=0; systemInfo_incCommunicationLoopCounter(); if(UARTCmd[0] == moduleConfig.serialModuleAddress) // is this our address? { uint8_t checksum = 0; for(i=0; i<8; i++) checksum+=UARTCmd[i]; if(checksum==UARTCmd[8]) // is the checksum correct? { ActualCommand.Opcode=UARTCmd[1]; ActualCommand.Type=UARTCmd[2]; ActualCommand.Motor=UARTCmd[3]; ActualCommand.Value.Byte[3]=UARTCmd[4]; ActualCommand.Value.Byte[2]=UARTCmd[5]; ActualCommand.Value.Byte[1]=UARTCmd[6]; ActualCommand.Value.Byte[0]=UARTCmd[7]; TMCLCommandState = TCS_UART; } else TMCLCommandState = TCS_UART_ERROR; //Checksum wrong } } } #endif #ifdef USE_RS485_INTERFACE if(rs485_read((char *)&Byte)) // new RS485 request available? { if(rs485_checkTimeout()) RS485Count=0; // discard everything when there has been a command timeout RS485Cmd[RS485Count++] = Byte; if(RS485Count==9) // Nine bytes have been received without timeout { RS485Count=0; systemInfo_incCommunicationLoopCounter(); if(RS485Cmd[0] == moduleConfig.serialModuleAddress) // is this our address? { uint8_t checksum = 0; for(i=0; i<8; i++) checksum+=RS485Cmd[i]; if(checksum==RS485Cmd[8]) // is the checksum correct? { ActualCommand.Opcode=RS485Cmd[1]; ActualCommand.Type=RS485Cmd[2]; ActualCommand.Motor=RS485Cmd[3]; ActualCommand.Value.Byte[3]=RS485Cmd[4]; ActualCommand.Value.Byte[2]=RS485Cmd[5]; ActualCommand.Value.Byte[1]=RS485Cmd[6]; ActualCommand.Value.Byte[0]=RS485Cmd[7]; TMCLCommandState = TCS_RS485; } else TMCLCommandState = TCS_RS485_ERROR; //Checksum wrong } } } #endif #ifdef USE_USB_INTERFACE if(usb_getUSBCmd(USBCmd)) { systemInfo_incCommunicationLoopCounter(); if(USBCmd[0] == moduleConfig.serialModuleAddress) // check address { uint8_t checksum=0; for(i=0; i<8; i++) checksum+=USBCmd[i]; if(checksum==USBCmd[8]) // check checksum { ActualCommand.Opcode=USBCmd[1]; ActualCommand.Type=USBCmd[2]; ActualCommand.Motor=USBCmd[3]; ActualCommand.Value.Byte[3]=USBCmd[4]; ActualCommand.Value.Byte[2]=USBCmd[5]; ActualCommand.Value.Byte[1]=USBCmd[6]; ActualCommand.Value.Byte[0]=USBCmd[7]; TMCLCommandState = TCS_USB; } else TMCLCommandState = TCS_USB_ERROR; // checksum was wrong } } #endif // handle request after successful reading if(TMCLCommandState!=TCS_IDLE && TMCLCommandState!=TCS_UART_ERROR && TMCLCommandState!=TCS_RS485_ERROR && TMCLCommandState!=TCS_USB_ERROR) tmcl_executeActualCommand(); } /* TMCL command ROL */ void tmcl_rotateLeft() { bldc_setTargetVelocity(ActualCommand.Motor, -ActualCommand.Value.Int32); } /* TMCL command ROR */ void tmcl_rotateRight() { bldc_setTargetVelocity(ActualCommand.Motor, ActualCommand.Value.Int32); } /* TMCL command MST */ void tmcl_motorStop() { bldc_setTargetVelocity(ActualCommand.Motor, 0); } uint32_t tmcl_handleAxisParameter(uint8_t motor, uint8_t command, uint8_t type, int32_t *value) { uint32_t errors = REPLY_OK; if(motor < NUMBER_OF_MOTORS) { switch(type) { // ===== general info ===== case 0: // status flags if (command == TMCL_GAP) { *value = flags_getAllStatusFlags(motor); } break; case 1: // supply voltage if (command == TMCL_GAP) { *value = bldc_getSupplyVoltage(); } break; case 2: // driver temperature if (command == TMCL_GAP) { *value = bldc_getMotorTemperature(); } break; // ===== ADC measurement ===== case 3: // adc_I0_raw if (command == TMCL_GAP) { tmc4671_writeInt(motor, TMC4671_ADC_RAW_ADDR, ADC_RAW_ADDR_ADC_I1_RAW_ADC_I0_RAW); *value = TMC4671_FIELD_READ(motor, TMC4671_ADC_RAW_DATA, TMC4671_ADC_I0_RAW_MASK, TMC4671_ADC_I0_RAW_SHIFT); } break; case 4: // adc_I1_raw if (command == TMCL_GAP) { tmc4671_writeInt(motor, TMC4671_ADC_RAW_ADDR, ADC_RAW_ADDR_ADC_I1_RAW_ADC_I0_RAW); *value = TMC4671_FIELD_READ(motor, TMC4671_ADC_RAW_DATA, TMC4671_ADC_I1_RAW_MASK, TMC4671_ADC_I1_RAW_SHIFT); } break; case 5: // current_phase_U if (command == TMCL_GAP) *value = (int16_t)TMC4671_FIELD_READ(motor, TMC4671_ADC_IWY_IUX, TMC4671_ADC_IUX_MASK, TMC4671_ADC_IUX_SHIFT); break; case 6: // current_phase_V if (command == TMCL_GAP) *value = (int16_t)TMC4671_FIELD_READ(motor, TMC4671_ADC_IV, TMC4671_ADC_IV_MASK, TMC4671_ADC_IV_SHIFT); break; case 7: // current_phase_W if (command == TMCL_GAP) { *value = (int16_t)TMC4671_FIELD_READ(motor, TMC4671_ADC_IWY_IUX, TMC4671_ADC_IWY_MASK, TMC4671_ADC_IWY_SHIFT); } break; // ===== ADC offset configuration ===== case 8: // dual-shunt adc_I0 offset if (command == TMCL_SAP) { if ((*value >= 0) && (*value < 65536)) bldc_setAdcI0Offset(motor, *value); else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getAdcI0Offset(motor); } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].adc_I0_offset-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].adc_I0_offset, sizeof(motorConfig[motor].adc_I0_offset)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].adc_I0_offset-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].adc_I0_offset, sizeof(motorConfig[motor].adc_I0_offset)); } break; case 9: // dual-shunt adc_I1 offset if (command == TMCL_SAP) { if ((*value >= 0) && (*value < 65536)) bldc_setAdcI1Offset(motor, *value); else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getAdcI1Offset(motor); } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].adc_I1_offset-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].adc_I1_offset, sizeof(motorConfig[motor].adc_I1_offset)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].adc_I1_offset-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].adc_I1_offset, sizeof(motorConfig[motor].adc_I1_offset)); } break; // ===== motor settings ===== case 10: // motor pole pairs if (command == TMCL_SAP) { if((*value >= 1) && (*value <= 255)) bldc_updateMotorPolePairs(motor, *value); else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getMotorPolePairs(motor); } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].motorPolePairs-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].motorPolePairs, sizeof(motorConfig[motor].motorPolePairs)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].motorPolePairs-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].motorPolePairs, sizeof(motorConfig[motor].motorPolePairs)); } break; case 11: // max current if (command == TMCL_SAP) { if((*value >= 0) && (*value <= MAX_CURRENT)) bldc_updateMaxMotorCurrent(motor, *value); else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getMaxMotorCurrent(motor); } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].absMaxPositiveCurrent-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].absMaxPositiveCurrent, sizeof(motorConfig[motor].absMaxPositiveCurrent)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].absMaxPositiveCurrent-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].absMaxPositiveCurrent, sizeof(motorConfig[motor].absMaxPositiveCurrent)); } break; case 12: // open loop current if (command == TMCL_SAP) { if((*value >= 0) && (*value <= MAX_CURRENT)) motorConfig[motor].openLoopCurrent = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].openLoopCurrent; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].openLoopCurrent-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].openLoopCurrent, sizeof(motorConfig[motor].openLoopCurrent)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].openLoopCurrent-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].openLoopCurrent, sizeof(motorConfig[motor].openLoopCurrent)); } break; case 13: // motor direction (shaftBit) if (command == TMCL_SAP) { if (!bldc_setMotorDirection(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getMotorDirection(motor); } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].shaftBit-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].shaftBit, sizeof(motorConfig[motor].shaftBit)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].shaftBit-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].shaftBit, sizeof(motorConfig[motor].shaftBit)); } break; case 14: // motor type if (command == TMCL_GAP) { *value = motorConfig[motor].motorType; // firmware supports BLDC motor only } break; case 15: // commutation mode ("sensor_selection") if (command == TMCL_SAP) { if (!bldc_setCommutationMode(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getCommutationMode(motor); } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].commutationMode-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].commutationMode, sizeof(motorConfig[motor].commutationMode)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].commutationMode-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].commutationMode, sizeof(motorConfig[motor].commutationMode)); } break; // ===== pwm settings ===== case 16: // set weasel pwm frequency if (command == TMCL_SAP) { motorConfig[motor].pwm_freq = *value; tmc4671_writeInt(motor, TMC4671_PWM_MAXCNT, 25000000 / (*value) * 4 - 1); } else if (command == TMCL_GAP) { *value = motorConfig[motor].pwm_freq; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pwm_freq-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pwm_freq, sizeof(motorConfig[motor].pwm_freq)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pwm_freq-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pwm_freq, sizeof(motorConfig[motor].pwm_freq)); } break; case 17: // placeholder for PWM_BBM_H time break; case 18: // placeholder for PWM_BBM_H time break; // ===== torque mode settings ===== case 20: // target current if (command == TMCL_SAP) { if(!bldc_setTargetMotorCurrent(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getTargetMotorCurrent(motor); } break; case 21: // actual current if (command == TMCL_GAP) *value = bldc_getActualMotorCurrent(motor); break; // ===== velocity mode settings ===== case 24: // target velocity if (command == TMCL_SAP) { if(!bldc_setTargetVelocity(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getTargetVelocity(motor); } break; case 25: // ramp velocity if (command == TMCL_GAP) { *value = bldc_getRampGeneratorVelocity(motor); } break; case 26: // actual velocity if (command == TMCL_GAP) { *value = bldc_getActualVelocity(motor); } break; case 27: // max velocity if (command == TMCL_SAP) { if (!bldc_setMaxVelocity(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].maxVelocity; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].maxVelocity-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].maxVelocity, sizeof(motorConfig[motor].maxVelocity)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].maxVelocity-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].maxVelocity, sizeof(motorConfig[motor].maxVelocity)); } break; case 28: // enable velocity ramp if (command == TMCL_SAP) { if (!bldc_setRampEnabled(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].useVelocityRamp ? 1:0; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].useVelocityRamp-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].useVelocityRamp, sizeof(motorConfig[motor].useVelocityRamp)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].useVelocityRamp-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].useVelocityRamp, sizeof(motorConfig[motor].useVelocityRamp)); } break; case 29: // acceleration if (command == TMCL_SAP) { if (!bldc_setAcceleration(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].acceleration; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].acceleration-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].acceleration, sizeof(motorConfig[motor].acceleration)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].acceleration-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].acceleration, sizeof(motorConfig[motor].acceleration)); } break; // ===== pressure mode settings ===== case 31: // target pressure if (command == TMCL_SAP) { if(!bldc_setTargetPressure(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getTargetPressure(motor); } break; case 32: // ramp pressure if (command == TMCL_GAP) { *value = bldc_getRampPressure(motor); } break; case 33: // actual pressure if (command == TMCL_GAP) { *value = bldc_getActualPressure(motor); } break; case 34: // max pressure if (command == TMCL_SAP) { motorConfig[motor].maxPressure = *value; } else if (command == TMCL_GAP) { *value = motorConfig[motor].maxPressure; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].maxPressure-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].maxPressure, sizeof(motorConfig[motor].maxPressure)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].maxPressure-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].maxPressure, sizeof(motorConfig[motor].maxPressure)); } break; // ===== pi controller settings ===== case 35: // torque P if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidTorque_P_param = *value; tmc4671_setTorqueFluxPI(motor, motorConfig[motor].pidTorque_P_param, motorConfig[motor].pidTorque_I_param); } else { errors = REPLY_INVALID_VALUE; } } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidTorque_P_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidTorque_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidTorque_P_param, sizeof(motorConfig[motor].pidTorque_P_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidTorque_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidTorque_P_param, sizeof(motorConfig[motor].pidTorque_P_param)); } break; case 36: // torque I if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidTorque_I_param = *value; tmc4671_setTorqueFluxPI(motor, motorConfig[motor].pidTorque_P_param, motorConfig[motor].pidTorque_I_param); } else { errors = REPLY_INVALID_VALUE; } } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidTorque_I_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidTorque_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidTorque_I_param, sizeof(motorConfig[motor].pidTorque_I_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidTorque_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidTorque_I_param, sizeof(motorConfig[motor].pidTorque_I_param)); } break; case 37: // velocity P if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidVelocity_P_param = *value; tmc4671_setVelocityPI(motor, motorConfig[motor].pidVelocity_P_param, motorConfig[motor].pidVelocity_I_param); } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidVelocity_P_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVelocity_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVelocity_P_param, sizeof(motorConfig[motor].pidVelocity_P_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVelocity_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVelocity_P_param, sizeof(motorConfig[motor].pidVelocity_P_param)); } break; case 38: // velocity I if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidVelocity_I_param = *value; tmc4671_setVelocityPI(motor, motorConfig[motor].pidVelocity_P_param, motorConfig[motor].pidVelocity_I_param); } else { errors = REPLY_INVALID_VALUE; } } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidVelocity_I_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVelocity_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVelocity_I_param, sizeof(motorConfig[motor].pidVelocity_I_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVelocity_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVelocity_I_param, sizeof(motorConfig[motor].pidVelocity_I_param)); } break; case 39: // pressure P if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidPressure_P_param = *value; } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidPressure_P_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidPressure_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidPressure_P_param, sizeof(motorConfig[motor].pidPressure_P_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidPressure_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidPressure_P_param, sizeof(motorConfig[motor].pidPressure_P_param)); } break; case 40: // pressure I if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidPressure_I_param = *value; } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidPressure_I_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidPressure_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidPressure_I_param, sizeof(motorConfig[motor].pidPressure_I_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidPressure_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidPressure_I_param, sizeof(motorConfig[motor].pidPressure_I_param)); } break; case 41: // torque I-Sum if (command == TMCL_GAP) { *value = tmc4671_readFieldWithDependency(motor, TMC4671_PID_ERROR_DATA, TMC4671_PID_ERROR_ADDR, 4, TMC4671_PID_TORQUE_ERROR_SUM_MASK, TMC4671_PID_TORQUE_ERROR_SUM_SHIFT); } break; case 42: // flux I-Sum if (command == TMCL_GAP) { *value = tmc4671_readFieldWithDependency(motor, TMC4671_PID_ERROR_DATA, TMC4671_PID_ERROR_ADDR, 5, TMC4671_PID_FLUX_ERROR_SUM_MASK, TMC4671_PID_FLUX_ERROR_SUM_SHIFT); } break; case 43: // velocity I-Sum if (command == TMCL_GAP) { *value = tmc4671_readFieldWithDependency(motor, TMC4671_PID_ERROR_DATA, TMC4671_PID_ERROR_ADDR, 6, TMC4671_PID_VELOCITY_ERROR_SUM_MASK, TMC4671_PID_VELOCITY_ERROR_SUM_SHIFT) / motorConfig[motor].motorPolePairs; } break; case 44: // pressure I-Sum if (command == TMCL_GAP) { *value = bldc_getPressureErrorSum(motor); } break; case 45: // volume I-Sum if (command == TMCL_GAP) { *value = bldc_getVolumeErrorSum(motor); } break; case 47: // actual open loop commutation angle if (command == TMCL_GAP) { *value = FIELD_GET(tmc4671_readInt(motor, TMC4671_OPENLOOP_PHI), TMC4671_OPENLOOP_PHI_MASK, TMC4671_OPENLOOP_PHI_SHIFT); } break; case 48: // actual digital hall angle if (command == TMCL_GAP) { *value = FIELD_GET(tmc4671_readInt(motor, TMC4671_HALL_PHI_E_INTERPOLATED_PHI_E), TMC4671_HALL_PHI_E_MASK, TMC4671_HALL_PHI_E_SHIFT); } break; case 49: // max negativ current if (command == TMCL_SAP) { if((*value >= 0) && (*value <= MAX_CURRENT)) bldc_updateMaxNegativeMotorCurrent(motor, *value); else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getMaxNegativeMotorCurrent(motor); } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].absMaxNegativeCurrent-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].absMaxNegativeCurrent, sizeof(motorConfig[motor].absMaxNegativeCurrent)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].absMaxNegativeCurrent-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].absMaxNegativeCurrent, sizeof(motorConfig[motor].absMaxNegativeCurrent)); } break; // ===== hall sensor settings ===== case 50: // hall polarity if (command == TMCL_SAP) { if((*value == 0) || (*value == 1)) { motorConfig[motor].hallPolarity = *value; bldc_updateHallSettings(motor); } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { motorConfig[motor].hallPolarity = (tmc4671_readInt(motor, TMC4671_HALL_MODE) & TMC4671_HALL_POLARITY_MASK) ? 1 : 0; *value = motorConfig[motor].hallPolarity; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallPolarity-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallPolarity, sizeof(motorConfig[motor].hallPolarity)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallPolarity-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallPolarity, sizeof(motorConfig[motor].hallPolarity)); } break; case 51: // hall direction if (command == TMCL_SAP) { if((*value == 0) || (*value == 1)) { motorConfig[motor].hallDirection = *value; bldc_updateHallSettings(motor); } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { motorConfig[motor].hallDirection = (tmc4671_readInt(motor, TMC4671_HALL_MODE) & TMC4671_HALL_DIRECTION_MASK) ? 1 : 0; *value = motorConfig[motor].hallDirection; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallDirection-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallDirection, sizeof(motorConfig[motor].hallDirection)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallPolarity-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallDirection, sizeof(motorConfig[motor].hallDirection)); } break; case 52: // hall interpolation if (command == TMCL_SAP) { if((*value == 0) || (*value == 1)) { motorConfig[motor].hallInterpolation = *value; bldc_updateHallSettings(motor); } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { motorConfig[motor].hallInterpolation = (tmc4671_readInt(motor, TMC4671_HALL_MODE) & TMC4671_HALL_INTERPOLATION_MASK) ? 1 : 0; *value = motorConfig[motor].hallInterpolation; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallInterpolation-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallInterpolation, sizeof(motorConfig[motor].hallInterpolation)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallInterpolation-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallInterpolation, sizeof(motorConfig[motor].hallInterpolation)); } break; case 53: // hall phi_e offset if (command == TMCL_SAP) { motorConfig[motor].hallPhiEOffset = *value; bldc_updateHallSettings(motor); } else if (command == TMCL_GAP) { motorConfig[motor].hallPhiEOffset = FIELD_GET(tmc4671_readInt(motor, TMC4671_HALL_PHI_E_PHI_M_OFFSET), TMC4671_HALL_PHI_E_OFFSET_MASK, TMC4671_HALL_PHI_E_OFFSET_SHIFT); *value = motorConfig[motor].hallPhiEOffset; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallPhiEOffset-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallPhiEOffset, sizeof(motorConfig[motor].hallPhiEOffset)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].hallPhiEOffset-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].hallPhiEOffset, sizeof(motorConfig[motor].hallPhiEOffset)); } break; case 54: // raw hall sensor inputs if (command == TMCL_GAP) { *value = (tmc4671_readInt(motor, TMC4671_INPUTS_RAW) & (TMC4671_HALL_WY_OF_HALL_RAW_MASK | TMC4671_HALL_V_OF_HALL_RAW_MASK | TMC4671_HALL_UX_OF_HALL_RAW_MASK)) >> TMC4671_HALL_UX_OF_HALL_RAW_SHIFT; } break; case 56: // volume P if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidVolume_P_param = *value; } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidVolume_P_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVolume_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVolume_P_param, sizeof(motorConfig[motor].pidVolume_P_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVolume_P_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVolume_P_param, sizeof(motorConfig[motor].pidVolume_P_param)); } break; case 57: // volume I if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 32767)) { motorConfig[motor].pidVolume_I_param = *value; } else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = motorConfig[motor].pidVolume_I_param; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVolume_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVolume_I_param, sizeof(motorConfig[motor].pidVolume_I_param)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pidVolume_I_param-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pidVolume_I_param, sizeof(motorConfig[motor].pidVolume_I_param)); } break; // ===== brake chopper settings ===== case 95: // enable brake chopper if (command == TMCL_SAP) { motorConfig[motor].brakeChopperEnabled = (*value) ? 1:0; bldc_updateBrakeChopperConfig(motor); } else if (command == TMCL_GAP) { *value = motorConfig[motor].brakeChopperEnabled; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].brakeChopperEnabled-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].brakeChopperEnabled, sizeof(motorConfig[motor].brakeChopperEnabled)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].brakeChopperEnabled-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].brakeChopperEnabled, sizeof(motorConfig[motor].brakeChopperEnabled)); } break; case 96: // brake chopper voltage limit if (command == TMCL_SAP) { motorConfig[motor].brakeChopperVoltage = *value; bldc_updateBrakeChopperConfig(motor); } else if (command == TMCL_GAP) { *value = motorConfig[motor].brakeChopperVoltage; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].brakeChopperVoltage-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].brakeChopperVoltage, sizeof(motorConfig[motor].brakeChopperVoltage)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].brakeChopperVoltage-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].brakeChopperVoltage, sizeof(motorConfig[motor].brakeChopperVoltage)); } break; case 97: // brake chopper hysteresis if (command == TMCL_SAP) { motorConfig[motor].brakeChopperHysteresis = *value; bldc_updateBrakeChopperConfig(motor); } else if (command == TMCL_GAP) { *value = motorConfig[motor].brakeChopperHysteresis; } else if (command == TMCL_STAP) { eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].brakeChopperHysteresis-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].brakeChopperHysteresis, sizeof(motorConfig[motor].brakeChopperHysteresis)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].brakeChopperHysteresis-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].brakeChopperHysteresis, sizeof(motorConfig[motor].brakeChopperHysteresis)); } break; // ===== tosv settings ===== case 99: // TOSV mode if (command == TMCL_SAP) { if (*value == 0) tosvConfig[motor].mode = TOSV_MODE_PRESSURE_CONTROL; else if (*value == 1) tosvConfig[motor].mode = TOSV_MODE_VOLUME_CONTROL; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].mode; } break; case 100: // enable tosv if (command == TMCL_SAP) { // todo: add value check for enable: *value==0x1234 // todo: add value check for disable: *value==0x4321 tosv_enableVentilator(&tosvConfig[motor], *value); } else if (command == TMCL_GAP) { *value = tosv_isVentilatorEnabled(&tosvConfig[motor]); } break; case 101: // actual state if(command==TMCL_GAP) { *value = tosvConfig[motor].actualState; } break; case 102: // timer if(command==TMCL_GAP) { *value = tosvConfig[motor].timer; } break; case 103: // startup time if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 65535)) tosvConfig[motor].tStartup = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].tStartup; } else if (command == TMCL_STAP) { motorConfig[0].tStartup = tosvConfig[motor].tStartup; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tStartup-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tStartup, sizeof(motorConfig[motor].tStartup)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tStartup-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tStartup, sizeof(motorConfig[motor].tStartup)); tosvConfig[motor].tStartup = motorConfig[motor].tStartup; } break; case 104: // inhalation rise time if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 65535)) tosvConfig[motor].tInhalationRise = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].tInhalationRise; } else if (command == TMCL_STAP) { motorConfig[0].tInhalationRise = tosvConfig[motor].tInhalationRise; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tInhalationRise-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tInhalationRise, sizeof(motorConfig[motor].tInhalationRise)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tInhalationRise-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tInhalationRise, sizeof(motorConfig[motor].tInhalationRise)); tosvConfig[motor].tInhalationRise = motorConfig[motor].tInhalationRise; } break; case 105: // inhalation pause time if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 65535)) tosvConfig[motor].tInhalationPause = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].tInhalationPause; } else if (command == TMCL_STAP) { motorConfig[0].tInhalationPause = tosvConfig[motor].tInhalationPause; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tInhalationPause-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tInhalationPause, sizeof(motorConfig[motor].tInhalationPause)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tInhalationPause-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tInhalationPause, sizeof(motorConfig[motor].tInhalationPause)); tosvConfig[motor].tInhalationPause = motorConfig[motor].tInhalationPause; } break; case 106: // exhalation fall time if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 65535)) tosvConfig[motor].tExhalationFall = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].tExhalationFall; } else if (command == TMCL_STAP) { motorConfig[0].tExhalationFall = tosvConfig[motor].tExhalationFall; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tExhalationFall-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tExhalationFall, sizeof(motorConfig[motor].tExhalationFall)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tExhalationFall-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tExhalationFall, sizeof(motorConfig[motor].tExhalationFall)); tosvConfig[motor].tExhalationFall = motorConfig[motor].tExhalationFall; } break; case 107: // exhalation pause time if (command == TMCL_SAP) { if((*value >= 0) && (*value <= 65535)) tosvConfig[motor].tExhalationPause = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].tExhalationPause; } else if (command == TMCL_STAP) { motorConfig[0].tExhalationPause = tosvConfig[motor].tExhalationPause; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tExhalationPause-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tExhalationPause, sizeof(motorConfig[motor].tExhalationPause)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].tExhalationPause-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].tExhalationPause, sizeof(motorConfig[motor].tExhalationPause)); tosvConfig[motor].tExhalationPause = motorConfig[motor].tExhalationPause; } break; case 108: // LIMIT pressure if (command == TMCL_SAP) { if ((*value >= 0) && (*value <= MAX_PRESSURE)) tosvConfig[motor].pLIMIT = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].pLIMIT; } else if (command == TMCL_STAP) { motorConfig[0].pLIMIT = tosvConfig[motor].pLIMIT; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pLIMIT-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pLIMIT, sizeof(motorConfig[motor].pLIMIT)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pLIMIT-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pLIMIT, sizeof(motorConfig[motor].pLIMIT)); tosvConfig[motor].pLIMIT = motorConfig[motor].pLIMIT; } break; case 109: // PEEP pressure if (command == TMCL_SAP) { if ((*value >= 0) && (*value <= MAX_PRESSURE)) tosvConfig[motor].pPEEP = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].pPEEP; } else if (command == TMCL_STAP) { motorConfig[0].pPEEP = tosvConfig[motor].pPEEP; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pPEEP-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pPEEP, sizeof(motorConfig[motor].pPEEP)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].pPEEP-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].pPEEP, sizeof(motorConfig[motor].pPEEP)); tosvConfig[motor].pPEEP = motorConfig[motor].pPEEP; } break; case 110: // actual flow if (command == TMCL_GAP) { *value = tosv_getFlowValue(); } break; case 111: // zero flow if (command == TMCL_SAP) { tosv_zeroFlow(); } break; case 112: if (command == TMCL_SAP) { if(!bldc_setTargetVolume(motor, *value)) errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = bldc_getTargetVolume(motor); } break; case 113: // actual volume if (command == TMCL_GAP) { *value = bldc_getActualVolume(motor); } break; case 114: // max volume if (command == TMCL_SAP) { if ((*value >= 0) && (*value <= MAX_VOLUME)) tosvConfig[motor].volumeMax = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].volumeMax; } else if (command == TMCL_STAP) { motorConfig[0].volumeMax = tosvConfig[motor].volumeMax; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].volumeMax-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].volumeMax, sizeof(motorConfig[motor].volumeMax)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].volumeMax-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].volumeMax, sizeof(motorConfig[motor].volumeMax)); tosvConfig[motor].volumeMax = motorConfig[motor].volumeMax; } break; case 120: // ASB enable if (command == TMCL_SAP) { if (*value == 0) tosvConfig[motor].asbEnable = false; else tosvConfig[motor].asbEnable = true; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].asbEnable; } else if (command == TMCL_STAP) { motorConfig[0].asbEnable = tosvConfig[motor].asbEnable; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].asbEnable-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].asbEnable, sizeof(motorConfig[motor].asbEnable)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].asbEnable-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].asbEnable, sizeof(motorConfig[motor].asbEnable)); tosvConfig[motor].asbEnable = motorConfig[motor].asbEnable; } break; case 121: // ASB threshold if (command == TMCL_SAP) { tosvConfig[motor].asbThreshold = *value; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].asbThreshold; } else if (command == TMCL_STAP) { motorConfig[0].asbThreshold = tosvConfig[motor].asbThreshold; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].asbThreshold-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].asbThreshold, sizeof(motorConfig[motor].asbThreshold)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].asbThreshold-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].asbThreshold, sizeof(motorConfig[motor].asbThreshold)); tosvConfig[motor].asbThreshold = motorConfig[motor].asbThreshold; } break; case 122: // ASB volume condition if (command == TMCL_SAP) { if ((*value >= 0) && (*value) <= 100) tosvConfig[motor].asbVolumeCondition = *value; else errors = REPLY_INVALID_VALUE; } else if (command == TMCL_GAP) { *value = tosvConfig[motor].asbVolumeCondition; } else if (command == TMCL_STAP) { motorConfig[0].asbVolumeCondition = tosvConfig[motor].asbVolumeCondition; eeprom_writeConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].asbVolumeCondition-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].asbVolumeCondition, sizeof(motorConfig[motor].asbVolumeCondition)); } else if (command == TMCL_RSAP) { eeprom_readConfigBlock(TMCM_ADDR_MOTOR_CONFIG+motor*TMCM_MOTOR_CONFIG_SIZE+(u32)&motorConfig[motor].asbVolumeCondition-(u32)&motorConfig[motor], (u8 *)&motorConfig[motor].asbVolumeCondition, sizeof(motorConfig[motor].asbVolumeCondition)); tosvConfig[motor].asbVolumeCondition = motorConfig[motor].asbVolumeCondition; } break; case 130: // volume sensor reinit if (command == TMCL_SAP) { tosv_reInitFlowSensor(); } break; // ===== debugging ===== case 240: // debug value 0 if (command == TMCL_SAP) debug_setTestVar0(*value); else if (command == TMCL_GAP) *value = debug_getTestVar0(); break; case 241: // debug value 1 if (command == TMCL_SAP) debug_setTestVar1(*value); else if (command == TMCL_GAP) *value = debug_getTestVar1(); break; case 242: // debug value 2 if (command == TMCL_SAP) debug_setTestVar2(*value); else if (command == TMCL_GAP) *value = debug_getTestVar2(); break; case 243: // debug value 3 if (command == TMCL_SAP) debug_setTestVar3(*value); else if (command == TMCL_GAP) *value = debug_getTestVar3(); break; case 244: // debug value 4 if (command == TMCL_SAP) debug_setTestVar4(*value); else if (command == TMCL_GAP) *value = debug_getTestVar4(); break; case 245: // debug value 5 if (command == TMCL_SAP) debug_setTestVar5(*value); else if (command == TMCL_GAP) *value = debug_getTestVar5(); break; case 246: // debug value 6 if (command == TMCL_SAP) debug_setTestVar6(*value); else if (command == TMCL_GAP) *value = debug_getTestVar6(); break; case 247: // debug value 7 if (command == TMCL_SAP) debug_setTestVar7(*value); else if (command == TMCL_GAP) *value = debug_getTestVar7(); break; case 248: // debug value 8 if (command == TMCL_SAP) debug_setTestVar8(*value); else if (command == TMCL_GAP) *value = debug_getTestVar8(); break; case 249: // debug value 9 if (command == TMCL_SAP) debug_setTestVar9(*value); else if (command == TMCL_GAP) *value = debug_getTestVar9(); break; case 250: if (command == TMCL_GAP) *value = systemInfo_getMainLoopsPerSecond(); break; case 251: if (command == TMCL_GAP) *value = systemInfo_getVelocityLoopsPerSecond(); break; case 252: if (command == TMCL_GAP) *value = systemInfo_getCommunicationsPerSecond(); break; case 255: // enable/disable mc & driver if (command == TMCL_SAP) { if(*value == 0) { //bldc_setStopRegulationMode(); tmcm_disableDriver(motor); } else { tmcm_enableDriver(motor); } } else if (command == TMCL_GAP) { *value = tmcm_getDriverState(motor); } break; default: ActualReply.Status = REPLY_WRONG_TYPE; break; } } else ActualReply.Status = REPLY_INVALID_VALUE; return errors; } /* TMCL command SIO */ void tmcl_setOutput() { switch(ActualCommand.Motor) { case 2: // digital_outputs if(ActualCommand.Value.Int32 == 0) tmcm_clearModuleSpecificIOPin(ActualCommand.Type); else tmcm_setModuleSpecificIOPin(ActualCommand.Type); break; default: ActualReply.Status = REPLY_INVALID_VALUE; break; } } /* TMCL command GIO */ void tmcl_getInput() { switch(ActualCommand.Motor) { case 0: // digital_inputs ActualReply.Value.Int32 = tmcm_getModuleSpecificIOPin(ActualCommand.Type); break; case 1: // analog_inputs ActualReply.Value.Int32 = tmcm_getModuleSpecificADCValue(ActualCommand.Type); break; case 2: // digital outputs ActualReply.Value.Int32 = tmcm_getModuleSpecificIOPinStatus(ActualCommand.Type); break; default: ActualReply.Status = REPLY_INVALID_VALUE; break; } } /* TMCL command 136 (Get Version) */ void tmcl_getVersion() { uint32_t i; if(ActualCommand.Type==0) { TMCLReplyFormat = RF_SPECIAL; SpecialReply[0] = moduleConfig.serialHostAddress; for(i=0; i<8; i++) SpecialReply[i+1]=VersionString[i]; } else if(ActualCommand.Type==1) { ActualReply.Value.Byte[3] = SW_TYPE_HIGH; ActualReply.Value.Byte[2] = SW_TYPE_LOW; ActualReply.Value.Byte[1] = SW_VERSION_HIGH; ActualReply.Value.Byte[0] = SW_VERSION_LOW; } } /* reset EEPROM to firmware defaults */ void tmcl_firmwareDefault() { if(ActualCommand.Type==0 && ActualCommand.Motor==0 && ActualCommand.Value.Int32==1234) { eeprom_writeConfigByte(TMCM_ADDR_EEPROM_MAGIC, 0); tmcl_resetCPU(true); } } /* deinit NVIC */ #if (BOARD_CPU != STM32F103) void NVIC_DeInit(void) { uint32_t index; for(index=0; index<8; index++) { NVIC->ICER[index] = 0xFFFFFFFF; NVIC->ICPR[index] = 0xFFFFFFFF; } for(index = 0; index < 240; index++) { NVIC->IP[index] = 0x00000000; } } #endif /* special command to switch to bootloader mode */ void tmcl_boot() { if(ActualCommand.Type==0x81 && ActualCommand.Motor==0x92 && ActualCommand.Value.Byte[3]==0xa3 && ActualCommand.Value.Byte[2]==0xb4 && ActualCommand.Value.Byte[1]==0xc5 && ActualCommand.Value.Byte[0]==0xd6) { for (int i = 0; i < NUMBER_OF_MOTORS; i++) { tmcm_disableDriver(i); #ifdef USE_BRAKECHOPPER //motorConfig[i].brakeChopperEnabled = 0; //tasks_updateBrakeChopperConfig(i); #endif } #ifdef USE_USB_INTERFACE usb_detach(); uint32_t lastCheck = systick_getTimer(); while(abs(systick_getTimer()-lastCheck) < 1000) {;} #endif #if BOARD_CPU==STM32F103 asm volatile("CPSID I\n"); NVIC_DeInit(); SysTick->CTRL = 0; DMA_Cmd(DMA1_Channel1, DISABLE); DMA_DeInit(DMA1_Channel1); ADC_DeInit(ADC1); EXTI_DeInit(); TIM_DeInit(TIM1); #else __disable_irq(); NVIC_DeInit(); SysTick->CTRL = 0; DMA_Cmd(DMA2_Stream0, DISABLE); DMA_DeInit(DMA2_Stream0); ADC_DeInit(); EXTI_DeInit(); TIM_DeInit(TIM1); #endif tmcl_resetCPU(false); } } /* TMCL command 255 (Reset) */ void tmcl_softwareReset() { if(ActualCommand.Value.Int32==1234) ResetRequested = true; } /* Reset CPU with or without peripherals */ void tmcl_resetCPU(uint8_t resetPeripherals) { if(resetPeripherals) SCB->AIRCR = AIRCR_VECTKEY_MASK | (uint32_t)0x04; else SCB->AIRCR = AIRCR_VECTKEY_MASK | (uint32_t)0x01; }
37.860602
216
0.669412
cd571db862b8b39fa976b923a0835c4da01a1111
575
h
C
nesc/whip6/platforms/parts/mcu/cc26xx/native/flog/flog.h
wojtex/whip6-pub
7aca863e45199f4f1354f24b1c88afd8cb34c2ba
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-Clear", "Intel", "BSD-3-Clause" ]
1
2017-02-21T16:44:56.000Z
2017-02-21T16:44:56.000Z
nesc/whip6/platforms/parts/mcu/cc26xx/native/flog/flog.h
wojtex/whip6-pub
7aca863e45199f4f1354f24b1c88afd8cb34c2ba
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-Clear", "Intel", "BSD-3-Clause" ]
9
2017-02-21T16:43:31.000Z
2021-06-10T19:28:41.000Z
nesc/whip6/platforms/parts/mcu/cc26xx/native/flog/flog.h
wojtex/whip6-pub
7aca863e45199f4f1354f24b1c88afd8cb34c2ba
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-Clear", "Intel", "BSD-3-Clause" ]
12
2016-12-19T12:04:17.000Z
2020-09-17T14:44:39.000Z
/* * whip6: Warsaw High-performance IPv6. * * Copyright (c) 2012-2017 Szymon Acedanski * All rights reserved. * * This file is distributed under the terms in the attached LICENSE * files. */ /** * @file * @author Szymon Acedanski */ #ifndef FLOG_H #define FLOG_H /* These must be defined in a linker script and point to a sector-aligned flash * region. */ extern uint8_t _flog; extern uint8_t _eflog; void flog_clear(void); void flog_dump(void (*putc)(char c)); bool flog_dumparg(bool (*putc)(char c, void* arg), void* arg); bool flog_is_empty(void); #endif
19.166667
79
0.706087
d891119e38bd7cd3291ff4e1574fea3fd3276f03
859
c
C
tests/test_solenoid.c
liberza/bacon
b3f75f94c85da557be1af909433404ff869891d3
[ "MIT" ]
null
null
null
tests/test_solenoid.c
liberza/bacon
b3f75f94c85da557be1af909433404ff869891d3
[ "MIT" ]
null
null
null
tests/test_solenoid.c
liberza/bacon
b3f75f94c85da557be1af909433404ff869891d3
[ "MIT" ]
null
null
null
#include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <util/atomic.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <errno.h> #include "../lib/status.h" #include "../lib/controller.h" #define ever ;; // Solenoid test. // Solenoid activates on green, deactivates on red. int main(void) { uint16_t ballast_time = 1000; uint16_t led_delay = 500; status_pin_init(); status(STATUS0 | STATUS1 | STATUS2); tim_init(); solenoid_init(); sei(); for(ever) { status(STATUS1 | STATUS2); activate_solenoid(ballast_time); _delay_ms(led_delay); status(STATUS0 | STATUS2); _delay_ms(led_delay); status(STATUS0 | STATUS1); _delay_ms(led_delay); status(STATUS0 | STATUS1 | STATUS2); _delay_ms(led_delay); } }
19.088889
51
0.62631
ff655b7306f4d14b6d42ab2aadf43e2004d5bcfb
276
h
C
src/meta17.lib/meta17/Value.h
permotion88/basicpp17
1162c1d5d8deaa5c67ac038e45607ceaa36cbf48
[ "MIT" ]
8
2019-01-04T19:21:03.000Z
2021-04-23T07:47:42.000Z
src/meta17.lib/meta17/Value.h
permotion88/basicpp17
1162c1d5d8deaa5c67ac038e45607ceaa36cbf48
[ "MIT" ]
19
2019-01-17T14:41:16.000Z
2020-07-08T11:38:21.000Z
src/meta17.lib/meta17/Value.h
permotion88/basicpp17
1162c1d5d8deaa5c67ac038e45607ceaa36cbf48
[ "MIT" ]
3
2019-01-16T15:47:01.000Z
2019-11-26T11:16:29.000Z
#pragma once namespace meta17 { /// transport any compile time constant in a type /// \param f has to be callable template<auto f> struct Value { static constexpr auto v{f()}; }; template<auto f> constexpr auto value = Value<f>{}; } // namespace meta17
17.25
50
0.655797
7fa0709135530f88b80d45d74aa894af044de287
3,189
h
C
src/s11n.h
ivs-77/ppconsul
5a0c46a853e9acbe25ef89f54772cc0ece022e39
[ "BSL-1.0" ]
118
2016-02-10T15:44:24.000Z
2022-03-16T12:55:25.000Z
src/s11n.h
ivs-77/ppconsul
5a0c46a853e9acbe25ef89f54772cc0ece022e39
[ "BSL-1.0" ]
61
2016-02-10T20:58:33.000Z
2022-03-18T09:09:39.000Z
src/s11n.h
ivs-77/ppconsul
5a0c46a853e9acbe25ef89f54772cc0ece022e39
[ "BSL-1.0" ]
59
2015-12-11T12:36:01.000Z
2022-01-23T08:39:59.000Z
// Copyright (c) 2014-2020 Andrey Upadyshev <oliora@gmail.com> // // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "ppconsul/config.h" #include "ppconsul/error.h" #include <json11/json11.hpp> #include <vector> #include <chrono> #include <set> #include <map> #include <string> namespace ppconsul { namespace s11n { using json11::Json; namespace detail { inline Json parse_json(const std::string &s) { std::string err; auto obj = Json::parse(s, err); if (!err.empty()) throw FormatError(std::move(err)); return obj; } } inline std::string to_json(std::chrono::milliseconds ms) { return std::to_string(ms.count()) + "ms"; } inline std::string to_json(std::chrono::seconds s) { return std::to_string(s.count()) + "s"; } inline std::string to_json(std::chrono::minutes m) { return std::to_string(m.count()) + "m"; } inline void load(const Json& src, uint16_t& dst) { dst = static_cast<int>(src.int_value()); } inline void load(const Json& src, bool& dst) { dst = static_cast<int>(src.bool_value()); } inline void load(const Json& src, int& dst) { dst = static_cast<int>(src.int_value()); } inline void load(const Json& src, uint64_t& dst) { // TODO: support full precision of uint64_t in json11 dst = static_cast<uint64_t>(src.number_value()); } inline void load(const Json& src, std::chrono::minutes& dst) { dst = std::chrono::minutes(static_cast<int>(src.number_value())); } inline void load(const Json& src, std::string& dst) { dst = src.string_value(); } template<class T> void load(const Json& src, std::vector<T>& dst) { const auto& arr = src.array_items(); dst.clear(); dst.reserve(arr.size()); for (const auto& i : arr) { T t; load(i, t); dst.push_back(std::move(t)); } } template<class T> void load(const Json& src, std::set<T>& dst) { const auto& arr = src.array_items(); dst.clear(); for (const auto& i : arr) { T t; load(i, t); dst.insert(std::move(t)); } } template<class T> void load(const Json& src, std::map<std::string, T>& dst) { const auto& obj = src.object_items(); dst.clear(); for (const auto& i : obj) { T t; load(i.second, t); dst.emplace(i.first, std::move(t)); } } template<class T> void load(const Json& src, T& dst, const char *name) { load(src[name], dst); } template<class T> T parseJson(const std::string& jsonStr) { using namespace s11n; auto obj = detail::parse_json(jsonStr); T t; load(obj, t); return t; } }}
22.617021
73
0.539354
2ce2447d2940f3275651cba4e9bf2d8b2ad1bb3c
228
h
C
Example/LLDateUtil/LLViewController.h
CoderLiLe/LLDateUtil
5f13948e6c6b34c6b0ea8a9edf5c917ceee2d87c
[ "MIT" ]
null
null
null
Example/LLDateUtil/LLViewController.h
CoderLiLe/LLDateUtil
5f13948e6c6b34c6b0ea8a9edf5c917ceee2d87c
[ "MIT" ]
null
null
null
Example/LLDateUtil/LLViewController.h
CoderLiLe/LLDateUtil
5f13948e6c6b34c6b0ea8a9edf5c917ceee2d87c
[ "MIT" ]
null
null
null
// // LLViewController.h // LLDateUtil // // Created by 1250124009@qq.com on 07/11/2018. // Copyright (c) 2018 1250124009@qq.com. All rights reserved. // @import UIKit; @interface LLViewController : UIViewController @end
16.285714
62
0.710526
964a5e384ef634b5128b06059308307b614210c3
3,908
c
C
libdisk/format/amiga/federation_of_free_traders.c
Lord-Nightmare/Disk-Utilities
d1f27df5b5b66dc5e58a8e4deaba327a8d6be832
[ "Unlicense" ]
126
2015-01-03T19:03:02.000Z
2021-12-21T18:07:47.000Z
libdisk/format/amiga/federation_of_free_traders.c
Lord-Nightmare/Disk-Utilities
d1f27df5b5b66dc5e58a8e4deaba327a8d6be832
[ "Unlicense" ]
47
2015-01-07T06:11:49.000Z
2021-12-08T09:40:47.000Z
libdisk/format/amiga/federation_of_free_traders.c
Lord-Nightmare/Disk-Utilities
d1f27df5b5b66dc5e58a8e4deaba327a8d6be832
[ "Unlicense" ]
43
2015-01-07T03:01:39.000Z
2021-12-07T07:37:38.000Z
/* * disk/federation_of_free_traders.c * * Custom format as used in Federation Of Free Traders by Gremlin. * * Written in 2012 by Keir Fraser * * RAW TRACK LAYOUT: * 3 back-to-back sectors with explicit sector gap. * Total encoded sector size, including gap, is 0xfc8 (4040) bytes. * RAW SECTOR: * u8 0xa1,0xa1 :: 0x4489 sync marks * u8 0xff * u8 trk^1,sec * u8 data[2000] * u16 csum * u8 gap[13] * MFM encoding: * No even/odd split * Checksum is over encoded MFM words, *including* clock bits. * * TRKTYP_federation_of_free_traders data layout: * u8 sector_data[5][1024] */ #include <libdisk/util.h> #include <private/disk.h> static void *federation_of_free_traders_write_raw( struct disk *d, unsigned int tracknr, struct stream *s) { struct track_info *ti = &d->di->track[tracknr]; uint8_t *block = memalloc(ti->len); unsigned int i, nr_valid_blocks = 0, least_block = ~0u; while ((stream_next_bit(s) != -1) && (nr_valid_blocks != ti->nr_sectors)) { uint32_t idx_off = s->index_offset_bc - 31; uint16_t csum; uint8_t sec, *p; if (s->word != 0x44894489) continue; if (stream_next_bits(s, 32) == -1) goto done; if (mfm_decode_word(s->word) != (0xff00 | (tracknr^1))) continue; if (stream_next_bits(s, 16) == -1) goto done; sec = mfm_decode_word((uint16_t)s->word); if ((sec >= ti->nr_sectors) || is_valid_sector(ti, sec)) continue; p = &block[sec * ti->bytes_per_sector]; for (i = csum = 0; i < ti->bytes_per_sector; i++) { if (stream_next_bits(s, 16) == -1) goto done; csum ^= (uint16_t)s->word; p[i] = mfm_decode_word((uint16_t)s->word); } if (stream_next_bits(s, 32) == -1) goto done; if (csum != mfm_decode_word(s->word)) continue; set_sector_valid(ti, sec); nr_valid_blocks++; if (least_block > sec) { ti->data_bitoff = idx_off; least_block = sec; } } done: if (nr_valid_blocks == 0) { free(block); return NULL; } for (i = 0; i < ti->nr_sectors; i++) if (is_valid_sector(ti, i)) break; ti->data_bitoff -= i * 0xfc8; return block; } static void federation_of_free_traders_read_raw( struct disk *d, unsigned int tracknr, struct tbuf *tbuf) { struct track_info *ti = &d->di->track[tracknr]; uint8_t *dat = (uint8_t *)ti->dat; unsigned int i, j; for (i = 0; i < ti->nr_sectors; i++) { uint16_t csum = 0, w; /* header */ tbuf_bits(tbuf, SPEED_AVG, bc_raw, 32, 0x44894489); tbuf_bits(tbuf, SPEED_AVG, bc_mfm, 8, 0xff); tbuf_bits(tbuf, SPEED_AVG, bc_mfm, 8, tracknr^1); tbuf_bits(tbuf, SPEED_AVG, bc_mfm, 8, i); /* data */ w = i; /* preceding data byte, so first clock bit is correct */ for (j = 0; j < ti->bytes_per_sector; j++) { w = (w << 8) | dat[j]; csum ^= (uint16_t)mfm_encode_word(w); tbuf_bits(tbuf, SPEED_AVG, bc_mfm, 8, dat[j]); } /* csum */ if (!is_valid_sector(ti, i)) csum = ~csum; /* bad checksum for an invalid sector */ tbuf_bits(tbuf, SPEED_AVG, bc_mfm, 16, csum); /* gap */ for (j = 0; j < 13; j++) tbuf_bits(tbuf, SPEED_AVG, bc_mfm, 8, 0); dat += ti->bytes_per_sector; } } struct track_handler federation_of_free_traders_handler = { .bytes_per_sector = 2000, .nr_sectors = 3, .write_raw = federation_of_free_traders_write_raw, .read_raw = federation_of_free_traders_read_raw }; /* * Local variables: * mode: C * c-file-style: "Linux" * c-basic-offset: 4 * tab-width: 4 * indent-tabs-mode: nil * End: */
27.914286
71
0.57088
5c9f4ba30c4563145673da14f176a708ef3a986b
812
h
C
iphone/Maps/Classes/MetalContextFactory.h
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
iphone/Maps/Classes/MetalContextFactory.h
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
iphone/Maps/Classes/MetalContextFactory.h
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #import <MetalKit/MetalKit.h> #include "drape/graphics_context_factory.hpp" #include "drape/metal/metal_base_context.hpp" #include "drape/pointers.hpp" class MetalContextFactory: public dp::GraphicsContextFactory { public: MetalContextFactory(CAMetalLayer * metalLayer, m2::PointU const & screenSize); dp::GraphicsContext * GetDrawContext() override; dp::GraphicsContext * GetResourcesUploadContext() override; bool IsDrawContextCreated() const override { return true; } bool IsUploadContextCreated() const override { return true; } void WaitForInitialization(dp::GraphicsContext * context) override {} void SetPresentAvailable(bool available) override; private: drape_ptr<dp::metal::MetalBaseContext> m_drawContext; drape_ptr<dp::metal::MetalBaseContext> m_uploadContext; };
35.304348
80
0.79064
d68a44261f888fa25a8dab192a67feb5e8104abc
2,666
h
C
src/xrCore/Compression/PPMd.h
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
2
2015-02-23T10:43:02.000Z
2015-06-11T14:45:08.000Z
src/xrCore/Compression/PPMd.h
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
17
2022-01-25T08:58:23.000Z
2022-03-28T17:18:28.000Z
src/xrCore/Compression/PPMd.h
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
1
2015-06-05T20:04:00.000Z
2015-06-05T20:04:00.000Z
/**************************************************************************** * This file is part of PPMd project * * Written and distributed to public domain by Dmitry Shkarin 1997, * * 1999-2001 * * Contents: interface to encoding/decoding routines * * Comments: this file can be used as an interface to PPMd module * * (consisting of Model.cpp) from external program * ****************************************************************************/ #if !defined(_PPMD_H_) #define _PPMD_H_ #include "PPMdType.h" #ifdef __cplusplus extern "C" { #endif bool _STDCALL StartSubAllocator(u32 SubAllocatorSize); void _STDCALL StopSubAllocator(); /* it can be called once */ u32 _STDCALL GetUsedMemory(); /* for information only */ /**************************************************************************** * Method of model restoration at memory insufficiency: * * MRM_RESTART - restart model from scratch (default) * * MRM_CUT_OFF - cut off model (nearly twice slower) * * MRM_FREEZE - freeze context tree (dangerous) */ enum MR_METHOD { MRM_RESTART, MRM_CUT_OFF, MRM_FREEZE }; /**************************************************************************** * (MaxOrder == 1) parameter value has special meaning, it does not restart * * model and can be used for solid mode archives; * * Call sequence: * * StartSubAllocator(SubAllocatorSize); * * EncodeFile(SolidArcFile,File1,MaxOrder,MRM_RESTART); * * EncodeFile(SolidArcFile,File2, 1,MRM_RESTART); * * ... * * EncodeFile(SolidArcFile,FileN, 1,MRM_RESTART); * * StopSubAllocator(); * ****************************************************************************/ void _STDCALL EncodeFile(_PPMD_FILE* EncodedFile, _PPMD_FILE* DecodedFile, int MaxOrder, MR_METHOD MRMethod); void _STDCALL DecodeFile(_PPMD_FILE* DecodedFile, _PPMD_FILE* EncodedFile, int MaxOrder, MR_METHOD MRMethod); /* imported function */ void _STDCALL PrintInfo(_PPMD_FILE* DecodedFile, _PPMD_FILE* EncodedFile); #ifdef __cplusplus } #endif #endif /* !defined(_PPMD_H_) */
47.607143
109
0.457239
6588cfce0cbbe8c96aa2e2b21a9c44b8b9c13bb3
3,525
h
C
src/include/lem/solarix/grammar.h
olegtarasov/GrammarEngine
5de66a442e371268fce3dbaa57d518c9b9cb28a2
[ "MIT" ]
null
null
null
src/include/lem/solarix/grammar.h
olegtarasov/GrammarEngine
5de66a442e371268fce3dbaa57d518c9b9cb28a2
[ "MIT" ]
null
null
null
src/include/lem/solarix/grammar.h
olegtarasov/GrammarEngine
5de66a442e371268fce3dbaa57d518c9b9cb28a2
[ "MIT" ]
null
null
null
#ifndef SOL_GRAMMAR__H #define SOL_GRAMMAR__H #pragma once #include <lem/ptr_container.h> #include <lem/solarix/automaton.h> #include <lem/solarix/coordinate.h> #include <lem/solarix/gram_class.h> namespace Solarix { class ClassList; class CoordList; /************************************************************** Базовый класс для описания различных грамматик, основанный на некоторых обнаруженных теоретически общих моментах. **************************************************************/ class Grammar : public Automaton { private: friend class Dictionary; protected: ClassList * aclass; // Список определений грамматических классов. CoordList * coord; // справочник определений грамматических категорий int ilink_type; // Индекс перечня имен связок (особого вида координаты) protected: #if defined SOL_LOADTXT && defined SOL_COMPILER /************************************************************************ Этот метод переопределяется производным классом Грамматики и вызывается из метода ProcessLexem для загрузки словарной статьи из текстового файла. Курсор чтения находится на первом символе заголовка статьи. *************************************************************************/ virtual void LoadEntry( Macro_Parser& txtfile, bool is_extern, const Binarization_Options &options ) {} virtual void LoadCoord(Macro_Parser& txtfile, bool is_extern); virtual void LoadClass(Macro_Parser& txtfile, bool is_extern); /*********************************************************************** Перед началом первой загрузки Грамматики из текстового файла установим нумерацию ключей. ************************************************************************/ virtual void PreLoad( Macro_Parser &txtfile, const Binarization_Options &options ) override {} virtual bool ProcessLexem( const BethToken &t, Macro_Parser& txt, const Binarization_Options &options ) override; #endif public: Grammar(int Index); virtual ~Grammar(); #if defined SOL_LOADBIN void LoadBin(lem::Stream& bin, const Load_Options &opt); #endif #if defined SOL_SAVEBIN virtual void SaveBin(lem::Stream& bin) const override; #endif #if defined SOL_LOADTXT && defined SOL_COMPILER virtual void Prepare(const lem::Path &outdir, const Binarization_Options &opts) override; #endif #if defined SOL_LOADTXT && defined SOL_COMPILER GramCoordAdr LoadCoordIdTxt(lem::Iridium::Macro_Parser & txtfile, bool allow_quantors) const; #endif const GramCoordAdr FindCoord(const UCString& coord_name) const; const GramCoordPair FindCoordPair( Macro_Parser& txtfile, bool index_ref = false ) const; // Returns the index of class with name given int FindClass(const UCString& class_name) const; // Access to the list of grammatical category declarations inline CoordList& coords() const { return *coord; } inline ClassList& classes() { return *aclass; } int GetnLink(); int FindLink(const UCString& link_name); const UCString& GetLink(int i); #if defined SOL_REPORT virtual void Report(OFormatter &where_to) override; #endif }; } // namespace 'Solarix' #endif
32.638889
101
0.591489
65974a34027c11e55b77cfd12da4b7a69db02304
2,069
h
C
IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.h
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
93
2016-10-27T12:03:57.000Z
2022-03-29T15:22:10.000Z
IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.h
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
16
2016-11-02T02:08:40.000Z
2021-06-03T21:18:06.000Z
IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.h
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
41
2016-11-02T00:05:02.000Z
2022-03-29T14:33:09.000Z
/** @file This is an implementation of the ACPI S3 Save protocol. This is defined in S3 boot path specification 0.9. Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ #ifndef _ACPI_S3_SAVE_H_ #define _ACPI_S3_SAVE_H_ /** Gets the buffer of legacy memory below 1 MB This function is to get the buffer in legacy memory below 1MB that is required during S3 resume. @param This A pointer to the EFI_ACPI_S3_SAVE_PROTOCOL instance. @param Size The returned size of legacy memory below 1 MB. @retval EFI_SUCCESS Size is successfully returned. @retval EFI_INVALID_PARAMETER The pointer Size is NULL. **/ EFI_STATUS EFIAPI LegacyGetS3MemorySize ( IN EFI_ACPI_S3_SAVE_PROTOCOL * This, OUT UINTN * Size ); /** Prepares all information that is needed in the S3 resume boot path. Allocate the resources or prepare informations and save in ACPI variable set for S3 resume boot path @param This A pointer to the EFI_ACPI_S3_SAVE_PROTOCOL instance. @param LegacyMemoryAddress The base address of legacy memory. @retval EFI_NOT_FOUND Some necessary information cannot be found. @retval EFI_SUCCESS All information was saved successfully. @retval EFI_OUT_OF_RESOURCES Resources were insufficient to save all the information. @retval EFI_INVALID_PARAMETER The memory range is not located below 1 MB. **/ EFI_STATUS EFIAPI S3Ready ( IN EFI_ACPI_S3_SAVE_PROTOCOL *This, IN VOID *LegacyMemoryAddress ); #endif
34.483333
105
0.711455
ca3123d7ebef54b3e9ce235d2dfe17d9a29694da
3,338
c
C
components/ers/at/at_service_cmd.c
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
9
2020-05-12T03:01:55.000Z
2021-08-12T10:22:31.000Z
components/ers/at/at_service_cmd.c
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
null
null
null
components/ers/at/at_service_cmd.c
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
12
2020-04-15T11:37:33.000Z
2021-09-13T13:19:04.000Z
/* * Copyright (C) 2019-2020 Alibaba Group Holding Limited */ #include <stdlib.h> #include <aos/kv.h> #include "at_internal.h" #define TAG "at_kv_cmd" #define MAX_KEY_SZ (32) #define MAX_VAL_SZ (32) void at_cmd_kv_set(char *cmd, int type, char *data) { if (type == WRITE_CMD) { int key_cnt = MAX_KEY_SZ + 1; int val_cnt = MAX_VAL_SZ + 1; atserver_scanf("%*[^,]%n%*[^\0]%n", &key_cnt, &val_cnt); val_cnt -= (key_cnt + 1); if (key_cnt <= MAX_KEY_SZ && val_cnt <= MAX_VAL_SZ && val_cnt > 0) { char key[MAX_KEY_SZ + 1] = {'\0'}; char val[MAX_VAL_SZ + 1] = {'\0'}; if (atserver_scanf("%[^,],%[^\0]", key, val) == 2) { int ret = aos_kv_setstring(key, (const char *)val); if (ret >= 0) { AT_BACK_OK(); return; } } } AT_BACK_RET_ERR(cmd, AT_ERR); } } void at_cmd_kv_get(char *cmd, int type, char *data) { if (type == WRITE_CMD) { if (strlen(data) <= MAX_KEY_SZ && strlen(data) > 0) { char res[MAX_VAL_SZ + 1] = {'\0'}; int ret = aos_kv_getstring(data, (char *)res, MAX_VAL_SZ + 1); if (ret >= 0 && ret <= MAX_VAL_SZ) { AT_BACK_RET_OK(cmd, res); return; } } AT_BACK_RET_ERR(cmd, AT_ERR); } } void at_cmd_kv_del(char *cmd, int type, char *data) { if (type == WRITE_CMD) { if (strlen(data) <= MAX_KEY_SZ && strlen(data) > 0) { int ret = aos_kv_del(data); if (ret == 0) { AT_BACK_OK();; return; } } AT_BACK_RET_ERR(cmd, AT_ERR); } } void at_cmd_kv_setint(char *cmd, int type, char *data) { if (type == WRITE_CMD) { int key_cnt = MAX_KEY_SZ + 1; int val_cnt = MAX_VAL_SZ + 1; atserver_scanf("%*[^,]%n%*[^\0]%n", &key_cnt, &val_cnt); val_cnt -= (key_cnt + 1); if (key_cnt <= MAX_KEY_SZ && val_cnt <= MAX_VAL_SZ && val_cnt > 0) { char key[MAX_KEY_SZ + 1] = {'\0'}; char val[MAX_VAL_SZ + 1] = {'\0'}; if (atserver_scanf("%[^,],%[-0-9]", key, val) == 2) { if (strlen(val) == val_cnt) { int ret = aos_kv_setint(key, atoi(val)); if (ret == 0) { AT_BACK_OK(); return; } } } } AT_BACK_RET_ERR(cmd, AT_ERR); } } void at_cmd_kv_getint(char *cmd, int type, char *data) { if (type == WRITE_CMD) { if (strlen(data) <= MAX_KEY_SZ && strlen(data) > 0) { int value = 0; int ret = aos_kv_getint(data, &value); if (ret >= 0 && ret <= MAX_VAL_SZ) { AT_BACK_RET_OK_INT(cmd, value); return; } } AT_BACK_RET_ERR(cmd, AT_ERR); } } void at_cmd_kv_delint(char *cmd, int type, char *data) { if (type == WRITE_CMD) { if (strlen(data) <= MAX_KEY_SZ && strlen(data) > 0) { int ret = aos_kv_del(data); if (ret == 0) { AT_BACK_OK(); return; } } AT_BACK_RET_ERR(cmd, AT_ERR); } }
25.097744
76
0.46435
106ee3c7f9e6a46634d13afda3f2e39247118d2f
3,663
h
C
System/Library/PrivateFrameworks/ClassroomKit.framework/CRKShareTarget.h
lechium/iPhoneOS_12.1.1_Headers
aac688b174273dfcbade13bab104461f463db772
[ "MIT" ]
12
2019-06-02T02:42:41.000Z
2021-04-13T07:22:20.000Z
System/Library/PrivateFrameworks/ClassroomKit.framework/CRKShareTarget.h
lechium/iPhoneOS_12.1.1_Headers
aac688b174273dfcbade13bab104461f463db772
[ "MIT" ]
null
null
null
System/Library/PrivateFrameworks/ClassroomKit.framework/CRKShareTarget.h
lechium/iPhoneOS_12.1.1_Headers
aac688b174273dfcbade13bab104461f463db772
[ "MIT" ]
3
2019-06-11T02:46:10.000Z
2019-12-21T14:58:16.000Z
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:48:46 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/ClassroomKit.framework/ClassroomKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ @class DMFControlGroupIdentifier, NSString, NSData, CATTaskClient, NSDictionary; @interface CRKShareTarget : NSObject { BOOL _group; BOOL _course; BOOL _instructor; BOOL _supportsFileURLs; DMFControlGroupIdentifier* _courseIdentifier; NSString* _type; NSString* _identifier; NSString* _displayName; NSString* _secondaryName; NSData* _iconImageData; CATTaskClient* _taskClient; } @property (nonatomic,retain) CATTaskClient * taskClient; //@synthesize taskClient=_taskClient - In the implementation block @property (nonatomic,copy,readonly) NSDictionary * dictionaryRepresentation; @property (nonatomic,copy) DMFControlGroupIdentifier * courseIdentifier; //@synthesize courseIdentifier=_courseIdentifier - In the implementation block @property (nonatomic,copy) NSString * type; //@synthesize type=_type - In the implementation block @property (nonatomic,copy) NSString * identifier; //@synthesize identifier=_identifier - In the implementation block @property (nonatomic,copy) NSString * displayName; //@synthesize displayName=_displayName - In the implementation block @property (nonatomic,copy) NSString * secondaryName; //@synthesize secondaryName=_secondaryName - In the implementation block @property (nonatomic,retain) NSData * iconImageData; //@synthesize iconImageData=_iconImageData - In the implementation block @property (assign,getter=isGroup,nonatomic) BOOL group; //@synthesize group=_group - In the implementation block @property (assign,getter=isCourse,nonatomic) BOOL course; //@synthesize course=_course - In the implementation block @property (assign,getter=isInstructor,nonatomic) BOOL instructor; //@synthesize instructor=_instructor - In the implementation block @property (assign,nonatomic) BOOL supportsFileURLs; //@synthesize supportsFileURLs=_supportsFileURLs - In the implementation block +(id)sandboxExtensionsForFileURLs:(id)arg1 ; +(id)sandboxExtensionForPath:(id)arg1 ; -(void)setCourse:(BOOL)arg1 ; -(void)setDisplayName:(NSString *)arg1 ; -(void)setSecondaryName:(NSString *)arg1 ; -(NSString *)secondaryName; -(DMFControlGroupIdentifier *)courseIdentifier; -(NSData *)iconImageData; -(BOOL)isCourse; -(BOOL)isInstructor; -(BOOL)supportsFileURLs; -(void)setCourseIdentifier:(DMFControlGroupIdentifier *)arg1 ; -(CATTaskClient *)taskClient; -(BOOL)isEqualToShareTarget:(id)arg1 ; -(id)operationToSendItems:(id)arg1 fromBundleIdentifier:(id)arg2 description:(id)arg3 previewImageData:(id)arg4 ; -(void)setIconImageData:(NSData *)arg1 ; -(void)setInstructor:(BOOL)arg1 ; -(void)setSupportsFileURLs:(BOOL)arg1 ; -(void)setTaskClient:(CATTaskClient *)arg1 ; -(NSString *)identifier; -(BOOL)isEqual:(id)arg1 ; -(unsigned long long)hash; -(id)description; -(NSString *)type; -(void)setType:(NSString *)arg1 ; -(void)setIdentifier:(NSString *)arg1 ; -(id)initWithDictionary:(id)arg1 ; -(NSDictionary *)dictionaryRepresentation; -(BOOL)isGroup; -(void)setGroup:(BOOL)arg1 ; -(NSString *)displayName; @end
50.178082
168
0.708709
2c442b1e79f1febde4a3926ef4b5cbbf65179b30
32,983
c
C
libs/acpica/source/compiler/aslutils.c
cmsd2/ChrisOS
22078d33627cc4b4c79b9673d8c210404fefc177
[ "BSD-2-Clause-FreeBSD" ]
2
2016-09-24T17:07:06.000Z
2018-04-15T08:52:12.000Z
libs/acpica/source/compiler/aslutils.c
cmsd2/ChrisOS
22078d33627cc4b4c79b9673d8c210404fefc177
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
libs/acpica/source/compiler/aslutils.c
cmsd2/ChrisOS
22078d33627cc4b4c79b9673d8c210404fefc177
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/****************************************************************************** * * Module Name: aslutils -- compiler utilities * *****************************************************************************/ /****************************************************************************** * * 1. Copyright Notice * * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp. * All rights reserved. * * 2. License * * 2.1. This is your license from Intel Corp. under its intellectual property * rights. You may have additional license terms from the party that provided * you this software, covering your right to use that party's intellectual * property rights. * * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a * copy of the source code appearing in this file ("Covered Code") an * irrevocable, perpetual, worldwide license under Intel's copyrights in the * base code distributed originally by Intel ("Original Intel Code") to copy, * make derivatives, distribute, use and display any portion of the Covered * Code in any form, with the right to sublicense such rights; and * * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent * license (with the right to sublicense), under only those claims of Intel * patents that are infringed by the Original Intel Code, to make, use, sell, * offer to sell, and import the Covered Code and derivative works thereof * solely to the minimum extent necessary to exercise the above copyright * license, and in no event shall the patent license extend to any additions * to or modifications of the Original Intel Code. No other license or right * is granted directly or by implication, estoppel or otherwise; * * The above copyright and patent license is granted only if the following * conditions are met: * * 3. Conditions * * 3.1. Redistribution of Source with Rights to Further Distribute Source. * Redistribution of source code of any substantial portion of the Covered * Code or modification with rights to further distribute source must include * the above Copyright Notice, the above License, this list of Conditions, * and the following Disclaimer and Export Compliance provision. In addition, * Licensee must cause all Covered Code to which Licensee contributes to * contain a file documenting the changes Licensee made to create that Covered * Code and the date of any change. Licensee must include in that file the * documentation of any changes made by any predecessor Licensee. Licensee * must include a prominent statement that the modification is derived, * directly or indirectly, from Original Intel Code. * * 3.2. Redistribution of Source with no Rights to Further Distribute Source. * Redistribution of source code of any substantial portion of the Covered * Code or modification without rights to further distribute source must * include the following Disclaimer and Export Compliance provision in the * documentation and/or other materials provided with distribution. In * addition, Licensee may not authorize further sublicense of source of any * portion of the Covered Code, and must include terms to the effect that the * license from Licensee to its licensee is limited to the intellectual * property embodied in the software Licensee provides to its licensee, and * not to intellectual property embodied in modifications its licensee may * make. * * 3.3. Redistribution of Executable. Redistribution in executable form of any * substantial portion of the Covered Code or modification must reproduce the * above Copyright Notice, and the following Disclaimer and Export Compliance * provision in the documentation and/or other materials provided with the * distribution. * * 3.4. Intel retains all right, title, and interest in and to the Original * Intel Code. * * 3.5. Neither the name Intel nor any other trademark owned or controlled by * Intel shall be used in advertising or otherwise to promote the sale, use or * other dealings in products derived from or relating to the Covered Code * without prior written authorization from Intel. * * 4. Disclaimer and Export Compliance * * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A * PARTICULAR PURPOSE. * * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY * LIMITED REMEDY. * * 4.3. Licensee shall not export, either directly or indirectly, any of this * software or system incorporating such software without first obtaining any * required license or other approval from the U. S. Department of Commerce or * any other agency or department of the United States Government. In the * event Licensee exports any such software from the United States or * re-exports any such software from a foreign destination, Licensee shall * ensure that the distribution and export/re-export of the software is in * compliance with all laws, regulations, orders, or other restrictions of the * U.S. Export Administration Regulations. Licensee agrees that neither it nor * any of its subsidiaries will export/re-export any technical data, process, * software, or service, directly or indirectly, to any country for which the * United States government or any agency thereof requires an export license, * other governmental approval, or letter of assurance, without first obtaining * such license, approval or letter. * *****************************************************************************/ #include "aslcompiler.h" #include "aslcompiler.y.h" #include "acdisasm.h" #include "acnamesp.h" #include "amlcode.h" #include <acapps.h> #define _COMPONENT ACPI_COMPILER ACPI_MODULE_NAME ("aslutils") /* Local prototypes */ static void UtPadNameWithUnderscores ( char *NameSeg, char *PaddedNameSeg); static void UtAttachNameseg ( ACPI_PARSE_OBJECT *Op, char *Name); /******************************************************************************* * * FUNCTION: UtDisplaySupportedTables * * PARAMETERS: None * * RETURN: None * * DESCRIPTION: Print all supported ACPI table names. * ******************************************************************************/ #define ACPI_TABLE_HELP_FORMAT "%8u) %s %s\n" void UtDisplaySupportedTables ( void) { ACPI_DMTABLE_DATA *TableData; UINT32 i; printf ("\nACPI tables supported by iASL version %8.8X:\n" " (Compiler, Disassembler, Template Generator)\n\n", ACPI_CA_VERSION); /* Special tables */ printf (" Special tables and AML tables:\n"); printf (ACPI_TABLE_HELP_FORMAT, 1, ACPI_RSDP_NAME, "Root System Description Pointer"); printf (ACPI_TABLE_HELP_FORMAT, 2, ACPI_SIG_FACS, "Firmware ACPI Control Structure"); printf (ACPI_TABLE_HELP_FORMAT, 3, ACPI_SIG_DSDT, "Differentiated System Description Table"); printf (ACPI_TABLE_HELP_FORMAT, 4, ACPI_SIG_SSDT, "Secondary System Description Table"); /* All data tables with common table header */ printf ("\n Standard ACPI data tables:\n"); for (TableData = AcpiDmTableData, i = 5; TableData->Signature; TableData++, i++) { printf (ACPI_TABLE_HELP_FORMAT, i, TableData->Signature, TableData->Name); } } /******************************************************************************* * * FUNCTION: UtDisplayConstantOpcodes * * PARAMETERS: None * * RETURN: None * * DESCRIPTION: Print AML opcodes that can be used in constant expressions. * ******************************************************************************/ void UtDisplayConstantOpcodes ( void) { UINT32 i; printf ("Constant expression opcode information\n\n"); for (i = 0; i < sizeof (AcpiGbl_AmlOpInfo) / sizeof (ACPI_OPCODE_INFO); i++) { if (AcpiGbl_AmlOpInfo[i].Flags & AML_CONSTANT) { printf ("%s\n", AcpiGbl_AmlOpInfo[i].Name); } } } /******************************************************************************* * * FUNCTION: UtLocalCalloc * * PARAMETERS: Size - Bytes to be allocated * * RETURN: Pointer to the allocated memory. Guaranteed to be valid. * * DESCRIPTION: Allocate zero-initialized memory. Aborts the compile on an * allocation failure, on the assumption that nothing more can be * accomplished. * ******************************************************************************/ void * UtLocalCalloc ( UINT32 Size) { void *Allocated; Allocated = ACPI_ALLOCATE_ZEROED (Size); if (!Allocated) { AslCommonError (ASL_ERROR, ASL_MSG_MEMORY_ALLOCATION, Gbl_CurrentLineNumber, Gbl_LogicalLineNumber, Gbl_InputByteCount, Gbl_CurrentColumn, Gbl_Files[ASL_FILE_INPUT].Filename, NULL); CmCleanupAndExit (); exit (1); } TotalAllocations++; TotalAllocated += Size; return (Allocated); } /******************************************************************************* * * FUNCTION: UtBeginEvent * * PARAMETERS: Name - Ascii name of this event * * RETURN: Event number (integer index) * * DESCRIPTION: Saves the current time with this event * ******************************************************************************/ UINT8 UtBeginEvent ( char *Name) { if (AslGbl_NextEvent >= ASL_NUM_EVENTS) { AcpiOsPrintf ("Ran out of compiler event structs!\n"); return (AslGbl_NextEvent); } /* Init event with current (start) time */ AslGbl_Events[AslGbl_NextEvent].StartTime = AcpiOsGetTimer (); AslGbl_Events[AslGbl_NextEvent].EventName = Name; AslGbl_Events[AslGbl_NextEvent].Valid = TRUE; return (AslGbl_NextEvent++); } /******************************************************************************* * * FUNCTION: UtEndEvent * * PARAMETERS: Event - Event number (integer index) * * RETURN: None * * DESCRIPTION: Saves the current time (end time) with this event * ******************************************************************************/ void UtEndEvent ( UINT8 Event) { if (Event >= ASL_NUM_EVENTS) { return; } /* Insert end time for event */ AslGbl_Events[Event].EndTime = AcpiOsGetTimer (); } /******************************************************************************* * * FUNCTION: UtConvertByteToHex * * PARAMETERS: RawByte - Binary data * Buffer - Pointer to where the hex bytes will be * stored * * RETURN: Ascii hex byte is stored in Buffer. * * DESCRIPTION: Perform hex-to-ascii translation. The return data is prefixed * with "0x" * ******************************************************************************/ void UtConvertByteToHex ( UINT8 RawByte, UINT8 *Buffer) { Buffer[0] = '0'; Buffer[1] = 'x'; Buffer[2] = (UINT8) AcpiUtHexToAsciiChar (RawByte, 4); Buffer[3] = (UINT8) AcpiUtHexToAsciiChar (RawByte, 0); } /******************************************************************************* * * FUNCTION: UtConvertByteToAsmHex * * PARAMETERS: RawByte - Binary data * Buffer - Pointer to where the hex bytes will be * stored * * RETURN: Ascii hex byte is stored in Buffer. * * DESCRIPTION: Perform hex-to-ascii translation. The return data is prefixed * with '0', and a trailing 'h' is added. * ******************************************************************************/ void UtConvertByteToAsmHex ( UINT8 RawByte, UINT8 *Buffer) { Buffer[0] = '0'; Buffer[1] = (UINT8) AcpiUtHexToAsciiChar (RawByte, 4); Buffer[2] = (UINT8) AcpiUtHexToAsciiChar (RawByte, 0); Buffer[3] = 'h'; } /******************************************************************************* * * FUNCTION: DbgPrint * * PARAMETERS: Type - Type of output * Fmt - Printf format string * ... - variable printf list * * RETURN: None * * DESCRIPTION: Conditional print statement. Prints to stderr only if the * debug flag is set. * ******************************************************************************/ void DbgPrint ( UINT32 Type, char *Fmt, ...) { va_list Args; if (!Gbl_DebugFlag) { return; } if ((Type == ASL_PARSE_OUTPUT) && (!(AslCompilerdebug))) { return; } va_start (Args, Fmt); (void) vfprintf (stderr, Fmt, Args); va_end (Args); return; } /******************************************************************************* * * FUNCTION: UtPrintFormattedName * * PARAMETERS: ParseOpcode - Parser keyword ID * Level - Indentation level * * RETURN: None * * DESCRIPTION: Print the ascii name of the parse opcode. * ******************************************************************************/ #define TEXT_OFFSET 10 void UtPrintFormattedName ( UINT16 ParseOpcode, UINT32 Level) { if (Level) { DbgPrint (ASL_TREE_OUTPUT, "%*s", (3 * Level), " "); } DbgPrint (ASL_TREE_OUTPUT, " %-20.20s", UtGetOpName (ParseOpcode)); if (Level < TEXT_OFFSET) { DbgPrint (ASL_TREE_OUTPUT, "%*s", (TEXT_OFFSET - Level) * 3, " "); } } /******************************************************************************* * * FUNCTION: UtSetParseOpName * * PARAMETERS: Op - Parse op to be named. * * RETURN: None * * DESCRIPTION: Insert the ascii name of the parse opcode * ******************************************************************************/ void UtSetParseOpName ( ACPI_PARSE_OBJECT *Op) { strncpy (Op->Asl.ParseOpName, UtGetOpName (Op->Asl.ParseOpcode), ACPI_MAX_PARSEOP_NAME); } /******************************************************************************* * * FUNCTION: UtDisplaySummary * * PARAMETERS: FileID - ID of outpout file * * RETURN: None * * DESCRIPTION: Display compilation statistics * ******************************************************************************/ void UtDisplaySummary ( UINT32 FileId) { UINT32 i; if (FileId != ASL_FILE_STDOUT) { /* Compiler name and version number */ FlPrintFile (FileId, "%s version %X%s [%s]\n\n", ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION, ACPI_WIDTH, __DATE__); } /* Summary of main input and output files */ if (Gbl_FileType == ASL_INPUT_TYPE_ASCII_DATA) { FlPrintFile (FileId, "%-14s %s - %u lines, %u bytes, %u fields\n", "Table Input:", Gbl_Files[ASL_FILE_INPUT].Filename, Gbl_CurrentLineNumber, Gbl_InputByteCount, Gbl_InputFieldCount); if ((Gbl_ExceptionCount[ASL_ERROR] == 0) || (Gbl_IgnoreErrors)) { FlPrintFile (FileId, "%-14s %s - %u bytes\n", "Binary Output:", Gbl_Files[ASL_FILE_AML_OUTPUT].Filename, Gbl_TableLength); } } else { FlPrintFile (FileId, "%-14s %s - %u lines, %u bytes, %u keywords\n", "ASL Input:", Gbl_Files[ASL_FILE_INPUT].Filename, Gbl_CurrentLineNumber, Gbl_InputByteCount, TotalKeywords); /* AML summary */ if ((Gbl_ExceptionCount[ASL_ERROR] == 0) || (Gbl_IgnoreErrors)) { FlPrintFile (FileId, "%-14s %s - %u bytes, %u named objects, %u executable opcodes\n", "AML Output:", Gbl_Files[ASL_FILE_AML_OUTPUT].Filename, Gbl_TableLength, TotalNamedObjects, TotalExecutableOpcodes); } } /* Display summary of any optional files */ for (i = ASL_FILE_SOURCE_OUTPUT; i <= ASL_MAX_FILE_TYPE; i++) { if (!Gbl_Files[i].Filename || !Gbl_Files[i].Handle) { continue; } /* .SRC is a temp file unless specifically requested */ if ((i == ASL_FILE_SOURCE_OUTPUT) && (!Gbl_SourceOutputFlag)) { continue; } /* .I is a temp file unless specifically requested */ if ((i == ASL_FILE_PREPROCESSOR) && (!Gbl_PreprocessorOutputFlag)) { continue; } FlPrintFile (FileId, "%14s %s - %u bytes\n", Gbl_Files[i].ShortDescription, Gbl_Files[i].Filename, FlGetFileSize (i)); } /* Error summary */ FlPrintFile (FileId, "\nCompilation complete. %u Errors, %u Warnings, %u Remarks", Gbl_ExceptionCount[ASL_ERROR], Gbl_ExceptionCount[ASL_WARNING] + Gbl_ExceptionCount[ASL_WARNING2] + Gbl_ExceptionCount[ASL_WARNING3], Gbl_ExceptionCount[ASL_REMARK]); if (Gbl_FileType != ASL_INPUT_TYPE_ASCII_DATA) { FlPrintFile (FileId, ", %u Optimizations", Gbl_ExceptionCount[ASL_OPTIMIZATION]); if (TotalFolds) { FlPrintFile (FileId, ", %u Constants Folded", TotalFolds); } } FlPrintFile (FileId, "\n"); } /******************************************************************************* * * FUNCTION: UtCheckIntegerRange * * PARAMETERS: Op - Integer parse node * LowValue - Smallest allowed value * HighValue - Largest allowed value * * RETURN: Op if OK, otherwise NULL * * DESCRIPTION: Check integer for an allowable range * ******************************************************************************/ ACPI_PARSE_OBJECT * UtCheckIntegerRange ( ACPI_PARSE_OBJECT *Op, UINT32 LowValue, UINT32 HighValue) { if (!Op) { return (NULL); } if ((Op->Asl.Value.Integer < LowValue) || (Op->Asl.Value.Integer > HighValue)) { sprintf (MsgBuffer, "0x%X, allowable: 0x%X-0x%X", (UINT32) Op->Asl.Value.Integer, LowValue, HighValue); AslError (ASL_ERROR, ASL_MSG_RANGE, Op, MsgBuffer); return (NULL); } return (Op); } /******************************************************************************* * * FUNCTION: UtStringCacheCalloc * * PARAMETERS: Length - Size of buffer requested * * RETURN: Pointer to the buffer. Aborts on allocation failure * * DESCRIPTION: Allocate a string buffer. Bypass the local * dynamic memory manager for performance reasons (This has a * major impact on the speed of the compiler.) * ******************************************************************************/ char * UtStringCacheCalloc ( UINT32 Length) { char *Buffer; ASL_CACHE_INFO *Cache; if (Length > ASL_STRING_CACHE_SIZE) { Buffer = UtLocalCalloc (Length); return (Buffer); } if ((Gbl_StringCacheNext + Length) >= Gbl_StringCacheLast) { /* Allocate a new buffer */ Cache = UtLocalCalloc (sizeof (Cache->Next) + ASL_STRING_CACHE_SIZE); /* Link new cache buffer to head of list */ Cache->Next = Gbl_StringCacheList; Gbl_StringCacheList = Cache; /* Setup cache management pointers */ Gbl_StringCacheNext = Cache->Buffer; Gbl_StringCacheLast = Gbl_StringCacheNext + ASL_STRING_CACHE_SIZE; } Gbl_StringCount++; Gbl_StringSize += Length; Buffer = Gbl_StringCacheNext; Gbl_StringCacheNext += Length; return (Buffer); } /****************************************************************************** * * FUNCTION: UtExpandLineBuffers * * PARAMETERS: None. Updates global line buffer pointers. * * RETURN: None. Reallocates the global line buffers * * DESCRIPTION: Called if the current line buffer becomes filled. Reallocates * all global line buffers and updates Gbl_LineBufferSize. NOTE: * Also used for the initial allocation of the buffers, when * all of the buffer pointers are NULL. Initial allocations are * of size ASL_DEFAULT_LINE_BUFFER_SIZE * *****************************************************************************/ void UtExpandLineBuffers ( void) { UINT32 NewSize; /* Attempt to double the size of all line buffers */ NewSize = Gbl_LineBufferSize * 2; if (Gbl_CurrentLineBuffer) { DbgPrint (ASL_DEBUG_OUTPUT, "Increasing line buffer size from %u to %u\n", Gbl_LineBufferSize, NewSize); } Gbl_CurrentLineBuffer = realloc (Gbl_CurrentLineBuffer, NewSize); Gbl_LineBufPtr = Gbl_CurrentLineBuffer; if (!Gbl_CurrentLineBuffer) { goto ErrorExit; } Gbl_MainTokenBuffer = realloc (Gbl_MainTokenBuffer, NewSize); if (!Gbl_MainTokenBuffer) { goto ErrorExit; } Gbl_MacroTokenBuffer = realloc (Gbl_MacroTokenBuffer, NewSize); if (!Gbl_MacroTokenBuffer) { goto ErrorExit; } Gbl_ExpressionTokenBuffer = realloc (Gbl_ExpressionTokenBuffer, NewSize); if (!Gbl_ExpressionTokenBuffer) { goto ErrorExit; } Gbl_LineBufferSize = NewSize; return; /* On error above, simply issue error messages and abort, cannot continue */ ErrorExit: printf ("Could not increase line buffer size from %u to %u\n", Gbl_LineBufferSize, Gbl_LineBufferSize * 2); AslError (ASL_ERROR, ASL_MSG_BUFFER_ALLOCATION, NULL, NULL); AslAbort (); } /****************************************************************************** * * FUNCTION: UtFreeLineBuffers * * PARAMETERS: None * * RETURN: None * * DESCRIPTION: Free all line buffers * *****************************************************************************/ void UtFreeLineBuffers ( void) { free (Gbl_CurrentLineBuffer); free (Gbl_MainTokenBuffer); free (Gbl_MacroTokenBuffer); free (Gbl_ExpressionTokenBuffer); } /******************************************************************************* * * FUNCTION: UtInternalizeName * * PARAMETERS: ExternalName - Name to convert * ConvertedName - Where the converted name is returned * * RETURN: Status * * DESCRIPTION: Convert an external (ASL) name to an internal (AML) name * ******************************************************************************/ ACPI_STATUS UtInternalizeName ( char *ExternalName, char **ConvertedName) { ACPI_NAMESTRING_INFO Info; ACPI_STATUS Status; if (!ExternalName) { return (AE_OK); } /* Get the length of the new internal name */ Info.ExternalName = ExternalName; AcpiNsGetInternalNameLength (&Info); /* We need a segment to store the internal name */ Info.InternalName = UtStringCacheCalloc (Info.Length); if (!Info.InternalName) { return (AE_NO_MEMORY); } /* Build the name */ Status = AcpiNsBuildInternalName (&Info); if (ACPI_FAILURE (Status)) { return (Status); } *ConvertedName = Info.InternalName; return (AE_OK); } /******************************************************************************* * * FUNCTION: UtPadNameWithUnderscores * * PARAMETERS: NameSeg - Input nameseg * PaddedNameSeg - Output padded nameseg * * RETURN: Padded nameseg. * * DESCRIPTION: Pads a NameSeg with underscores if necessary to form a full * ACPI_NAME. * ******************************************************************************/ static void UtPadNameWithUnderscores ( char *NameSeg, char *PaddedNameSeg) { UINT32 i; for (i = 0; (i < ACPI_NAME_SIZE); i++) { if (*NameSeg) { *PaddedNameSeg = *NameSeg; NameSeg++; } else { *PaddedNameSeg = '_'; } PaddedNameSeg++; } } /******************************************************************************* * * FUNCTION: UtAttachNameseg * * PARAMETERS: Op - Parent parse node * Name - Full ExternalName * * RETURN: None; Sets the NameSeg field in parent node * * DESCRIPTION: Extract the last nameseg of the ExternalName and store it * in the NameSeg field of the Op. * ******************************************************************************/ static void UtAttachNameseg ( ACPI_PARSE_OBJECT *Op, char *Name) { char *NameSeg; char PaddedNameSeg[4]; if (!Name) { return; } /* Look for the last dot in the namepath */ NameSeg = strrchr (Name, '.'); if (NameSeg) { /* Found last dot, we have also found the final nameseg */ NameSeg++; UtPadNameWithUnderscores (NameSeg, PaddedNameSeg); } else { /* No dots in the namepath, there is only a single nameseg. */ /* Handle prefixes */ while (ACPI_IS_ROOT_PREFIX (*Name) || ACPI_IS_PARENT_PREFIX (*Name)) { Name++; } /* Remaining string should be one single nameseg */ UtPadNameWithUnderscores (Name, PaddedNameSeg); } ACPI_MOVE_NAME (Op->Asl.NameSeg, PaddedNameSeg); } /******************************************************************************* * * FUNCTION: UtAttachNamepathToOwner * * PARAMETERS: Op - Parent parse node * NameOp - Node that contains the name * * RETURN: Sets the ExternalName and Namepath in the parent node * * DESCRIPTION: Store the name in two forms in the parent node: The original * (external) name, and the internalized name that is used within * the ACPI namespace manager. * ******************************************************************************/ void UtAttachNamepathToOwner ( ACPI_PARSE_OBJECT *Op, ACPI_PARSE_OBJECT *NameOp) { ACPI_STATUS Status; /* Full external path */ Op->Asl.ExternalName = NameOp->Asl.Value.String; /* Save the NameOp for possible error reporting later */ Op->Asl.ParentMethod = (void *) NameOp; /* Last nameseg of the path */ UtAttachNameseg (Op, Op->Asl.ExternalName); /* Create internalized path */ Status = UtInternalizeName (NameOp->Asl.Value.String, &Op->Asl.Namepath); if (ACPI_FAILURE (Status)) { /* TBD: abort on no memory */ } } /******************************************************************************* * * FUNCTION: UtDoConstant * * PARAMETERS: String - Hex, Octal, or Decimal string * * RETURN: Converted Integer * * DESCRIPTION: Convert a string to an integer, with error checking. * ******************************************************************************/ UINT64 UtDoConstant ( char *String) { ACPI_STATUS Status; UINT64 Converted; char ErrBuf[64]; Status = UtStrtoul64 (String, 0, &Converted); if (ACPI_FAILURE (Status)) { sprintf (ErrBuf, "%s %s\n", "Conversion error:", AcpiFormatException (Status)); AslCompilererror (ErrBuf); } return (Converted); } /* TBD: use version in ACPICA main code base? */ /******************************************************************************* * * FUNCTION: UtStrtoul64 * * PARAMETERS: String - Null terminated string * Terminater - Where a pointer to the terminating byte * is returned * Base - Radix of the string * * RETURN: Converted value * * DESCRIPTION: Convert a string into an unsigned value. * ******************************************************************************/ ACPI_STATUS UtStrtoul64 ( char *String, UINT32 Base, UINT64 *RetInteger) { UINT32 Index; UINT32 Sign; UINT64 ReturnValue = 0; ACPI_STATUS Status = AE_OK; *RetInteger = 0; switch (Base) { case 0: case 8: case 10: case 16: break; default: /* * The specified Base parameter is not in the domain of * this function: */ return (AE_BAD_PARAMETER); } /* Skip over any white space in the buffer: */ while (isspace ((int) *String) || *String == '\t') { ++String; } /* * The buffer may contain an optional plus or minus sign. * If it does, then skip over it but remember what is was: */ if (*String == '-') { Sign = NEGATIVE; ++String; } else if (*String == '+') { ++String; Sign = POSITIVE; } else { Sign = POSITIVE; } /* * If the input parameter Base is zero, then we need to * determine if it is octal, decimal, or hexadecimal: */ if (Base == 0) { if (*String == '0') { if (tolower ((int) *(++String)) == 'x') { Base = 16; ++String; } else { Base = 8; } } else { Base = 10; } } /* * For octal and hexadecimal bases, skip over the leading * 0 or 0x, if they are present. */ if (Base == 8 && *String == '0') { String++; } if (Base == 16 && *String == '0' && tolower ((int) *(++String)) == 'x') { String++; } /* Main loop: convert the string to an unsigned long */ while (*String) { if (isdigit ((int) *String)) { Index = ((UINT8) *String) - '0'; } else { Index = (UINT8) toupper ((int) *String); if (isupper ((int) Index)) { Index = Index - 'A' + 10; } else { goto ErrorExit; } } if (Index >= Base) { goto ErrorExit; } /* Check to see if value is out of range: */ if (ReturnValue > ((ACPI_UINT64_MAX - (UINT64) Index) / (UINT64) Base)) { goto ErrorExit; } else { ReturnValue *= Base; ReturnValue += Index; } ++String; } /* If a minus sign was present, then "the conversion is negated": */ if (Sign == NEGATIVE) { ReturnValue = (ACPI_UINT32_MAX - ReturnValue) + 1; } *RetInteger = ReturnValue; return (Status); ErrorExit: switch (Base) { case 8: Status = AE_BAD_OCTAL_CONSTANT; break; case 10: Status = AE_BAD_DECIMAL_CONSTANT; break; case 16: Status = AE_BAD_HEX_CONSTANT; break; default: /* Base validated above */ break; } return (Status); }
27.349088
97
0.53188
c86381b0d083af070f96eca597275974f877c17e
4,640
c
C
src/main.c
fkfv/disqueue
d06a8b0397d93680ded6c3be7643134fadb333e8
[ "Zend-2.0" ]
null
null
null
src/main.c
fkfv/disqueue
d06a8b0397d93680ded6c3be7643134fadb333e8
[ "Zend-2.0" ]
null
null
null
src/main.c
fkfv/disqueue
d06a8b0397d93680ded6c3be7643134fadb333e8
[ "Zend-2.0" ]
null
null
null
/* Copyright (c) 2021 Matthew (fkfv). 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, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <stdio.h> #include <stdlib.h> #include <event2/event.h> #include <event2/http.h> #include "config.h" #include "ws.h" #include "manager.h" #include "getopt.h" #include "ssl.h" #define options "c:h" int create_server(struct event_base *base, struct config_server *server) { struct evhttp *http = NULL; struct evws *ws = NULL; struct auth *auth = NULL; const char *realm = NULL; http = evhttp_new(base); if (!http) { goto error; } if (evhttp_bind_socket(http, config_server_get_hostname(server), config_server_get_port(server)) != 0) { goto error; } ws = evws_new(http); if (!ws) { goto error; } if (config_server_has_security(server)) { if (!ssl_setup()) { goto error; } if (!ssl_load_certificate(config_server_get_certificate(server)) || !ssl_load_privatekey(config_server_get_privatekey(server))) { goto error; } ssl_use(http); } auth = config_server_get_authentication(server); realm = config_server_get_realm(server); if (!manager_add_server(http, ws, auth, realm)) { goto error; } return 1; error: ssl_destroy(); if (http) { evhttp_free(http); } if (ws) { evws_free(ws); } return 0; } void usage(const char *progname) { printf("-- %s\n", progname); printf(" -c [config file]: load configuration from file - default config\n"\ " is to run a server on 127.0.0.1:3682\n"); printf(" -h : show help\n"); } /* process command line arguments, return 1 if the arguments have been parsed and the program should continue */ int command_line(int argc, char *argv[]) { int c; int show_help = 0; const char *config_file = NULL; while ((c = getopt(argc, argv, options)) != -1) { switch (c) { case 'c': config_file = optarg; break; case 'h': show_help = 1; break; case '?': if (optopt == 'c' || optopt == 'a' || optopt == 'p') { fprintf(stderr, "option -%c requres an argument\n", optopt); } else if (isprint(optopt)) { fprintf(stderr, "unknown option -%c\n", optopt); } else { fprintf(stderr, "invalid option\n"); } show_help = 1; break; } } if (show_help) { usage(argv[0]); return 0; } if (config_file) { if (!config_load_file(config_file)) { fprintf(stderr, "failed to load %s\n", config_file); return EINVAL; } } return -1; } int main(int argc, char *argv[]) { int c; struct config_server *server; struct event_base *base; #ifdef _WIN32 WSADATA wsa; WSAStartup(MAKEWORD(2, 2), &wsa); #endif if ((c = command_line(argc, argv)) != -1) { return c; } if (!config_iter_server_begin()) { fprintf(stderr, "no servers to run on\n"); return 1; } base = event_base_new(); if (!base) { fprintf(stderr, "failed to start libevent\n"); return 1; } manager_startup(); while ((server = config_iter_server_next()) != NULL) { if (!create_server(base, server)) { fprintf(stderr, "failed to add server\n"); return 1; } } if (event_base_dispatch(base) == -1) { fprintf(stderr, "failed to run libevent loop\n"); return 1; } manager_shutdown(); #ifdef _WIN32 WSACleanup(); #endif return 0; }
23.673469
80
0.613362
4e49ea5faa0a076da4284bc2576c5ef5d7cde2a8
3,150
h
C
System/Library/PrivateFrameworks/VideosUI.framework/VUIVideoManagedObject.h
lechium/tvOS145Headers
9940da19adb0017f8037853e9cfccbe01b290dd5
[ "MIT" ]
5
2021-04-29T04:31:43.000Z
2021-08-19T18:59:58.000Z
System/Library/PrivateFrameworks/VideosUI.framework/VUIVideoManagedObject.h
lechium/tvOS145Headers
9940da19adb0017f8037853e9cfccbe01b290dd5
[ "MIT" ]
null
null
null
System/Library/PrivateFrameworks/VideosUI.framework/VUIVideoManagedObject.h
lechium/tvOS145Headers
9940da19adb0017f8037853e9cfccbe01b290dd5
[ "MIT" ]
1
2022-03-19T11:16:23.000Z
2022-03-19T11:16:23.000Z
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:14:20 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/VideosUI.framework/VideosUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. Updated by Kevin Bradley. */ #import <CoreData/NSManagedObject.h> @class NSString, NSData, NSDate, NSNumber, NSURL, NSSet; @interface VUIVideoManagedObject : NSManagedObject @property (nonatomic,copy) NSString * adamID; @property (nonatomic,retain) NSData * additionalFPSRequestParamsJSONData; @property (assign,nonatomic) BOOL allowsCellular; @property (assign,nonatomic) BOOL allowsManualRenewal; @property (nonatomic,copy) NSDate * availabilityEndDate; @property (nonatomic,copy) NSNumber * bookmarkTime; @property (nonatomic,copy) NSDate * bookmarkTimeStamp; @property (nonatomic,copy) NSString * brandID; @property (nonatomic,copy) NSString * brandName; @property (nonatomic,copy) NSString * canonicalID; @property (nonatomic,copy) NSString * contentRatingDomain; @property (nonatomic,copy) NSNumber * contentRatingRank; @property (nonatomic,copy) NSDate * dateAdded; @property (nonatomic,retain) NSData * downloadQOSMetricsJSONData; @property (assign,nonatomic) long long downloadState; @property (nonatomic,copy) NSNumber * downloadTaskIdentifier; @property (nonatomic,copy) NSURL * downloadURL; @property (nonatomic,copy) NSNumber * dsid; @property (nonatomic,copy) NSNumber * duration; @property (nonatomic,copy) NSString * externalID; @property (nonatomic,copy) NSURL * fpsCertificateURL; @property (nonatomic,copy) NSURL * fpsKeyServerURL; @property (nonatomic,copy) NSURL * fpsNonceURL; @property (nonatomic,copy) NSNumber * frequencyOfAgeConfirmation; @property (nonatomic,copy) NSString * genreName; @property (assign,nonatomic) BOOL hasExpirationDate; @property (assign,nonatomic) BOOL isAdultContent; @property (nonatomic,copy) NSString * localPlaybackRelativeFilePath; @property (nonatomic,copy) NSURL * localPlaybackURL; @property (nonatomic,copy) NSNumber * mainContentRelativeBookmarkTime; @property (nonatomic,copy) NSDate * mainContentRelativeBookmarkTimeStamp; @property (assign,nonatomic) BOOL markedAsDeleted; @property (nonatomic,retain) NSData * mediaMetricsJSONData; @property (nonatomic,copy) NSNumber * offlineKeyRenewalPolicy; @property (nonatomic,copy) NSURL * playbackURL; @property (nonatomic,copy) NSString * referenceID; @property (nonatomic,copy) NSDate * releaseDate; @property (nonatomic,copy) NSNumber * requiredAgeForPlayback; @property (nonatomic,copy) NSString * rtcServiceIdentifier; @property (assign,nonatomic) BOOL shouldMarkAsDeletedAfterCancellationOrFailure; @property (nonatomic,copy) NSString * title; @property (nonatomic,retain) NSData * vpafMetricsJSONData; @property (nonatomic,retain) NSSet * fpsKeyInfo; @property (nonatomic,retain) NSSet * imageInfos; +(id)fetchRequest; @end
50.806452
130
0.754603
da001861604924e87dbafba180d446747e9f8b74
110
h
C
Development/Editor/Plugin/Warcraft3/yd_lua_engine/lua_engine/allow_yield.h
yatyricky/XYWE
6577f4038346c258b346865808b0e3b2730611b6
[ "Apache-2.0" ]
2
2017-11-27T11:50:20.000Z
2021-04-04T13:26:45.000Z
Development/Editor/Plugin/Warcraft3/yd_lua_engine/lua_engine/allow_yield.h
yatyricky/XYWE
6577f4038346c258b346865808b0e3b2730611b6
[ "Apache-2.0" ]
null
null
null
Development/Editor/Plugin/Warcraft3/yd_lua_engine/lua_engine/allow_yield.h
yatyricky/XYWE
6577f4038346c258b346865808b0e3b2730611b6
[ "Apache-2.0" ]
null
null
null
#pragma once #include <lua.hpp> namespace base { namespace lua { bool allow_yield(lua_State* L); }}
13.75
33
0.663636
089385ed92fe44a81cbab4be276e41c36d8802dd
2,107
h
C
src/codec_utils/RRC/CA-BandwidthClassNR.h
tanmayg14/o-du-l2
60d14257f866aab93574d57cceecad4859670f82
[ "Apache-2.0", "CC-BY-4.0" ]
9
2020-10-13T06:37:10.000Z
2022-03-05T17:57:52.000Z
src/codec_utils/RRC/CA-BandwidthClassNR.h
tanmayg14/o-du-l2
60d14257f866aab93574d57cceecad4859670f82
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
src/codec_utils/RRC/CA-BandwidthClassNR.h
tanmayg14/o-du-l2
60d14257f866aab93574d57cceecad4859670f82
[ "Apache-2.0", "CC-BY-4.0" ]
7
2020-09-29T09:56:01.000Z
2022-03-24T10:50:32.000Z
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NR-RRC-Definitions" * found in "/home/labadmin/hlal/rrc_15.3_asn.asn1" * `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example` */ #ifndef _CA_BandwidthClassNR_H_ #define _CA_BandwidthClassNR_H_ #include <asn_application.h> /* Including external dependencies */ #include <NativeEnumerated.h> #ifdef __cplusplus extern "C" { #endif /* Dependencies */ typedef enum CA_BandwidthClassNR { CA_BandwidthClassNR_a = 0, CA_BandwidthClassNR_b = 1, CA_BandwidthClassNR_c = 2, CA_BandwidthClassNR_d = 3, CA_BandwidthClassNR_e = 4, CA_BandwidthClassNR_f = 5, CA_BandwidthClassNR_g = 6, CA_BandwidthClassNR_h = 7, CA_BandwidthClassNR_i = 8, CA_BandwidthClassNR_j = 9, CA_BandwidthClassNR_k = 10, CA_BandwidthClassNR_l = 11, CA_BandwidthClassNR_m = 12, CA_BandwidthClassNR_n = 13, CA_BandwidthClassNR_o = 14, CA_BandwidthClassNR_p = 15, CA_BandwidthClassNR_q = 16 /* * Enumeration is extensible */ } e_CA_BandwidthClassNR; /* CA-BandwidthClassNR */ typedef long CA_BandwidthClassNR_t; /* Implementation */ extern asn_per_constraints_t asn_PER_type_CA_BandwidthClassNR_constr_1; extern asn_TYPE_descriptor_t asn_DEF_CA_BandwidthClassNR; extern const asn_INTEGER_specifics_t asn_SPC_CA_BandwidthClassNR_specs_1; asn_struct_free_f CA_BandwidthClassNR_free; asn_struct_print_f CA_BandwidthClassNR_print; asn_constr_check_f CA_BandwidthClassNR_constraint; ber_type_decoder_f CA_BandwidthClassNR_decode_ber; der_type_encoder_f CA_BandwidthClassNR_encode_der; xer_type_decoder_f CA_BandwidthClassNR_decode_xer; xer_type_encoder_f CA_BandwidthClassNR_encode_xer; oer_type_decoder_f CA_BandwidthClassNR_decode_oer; oer_type_encoder_f CA_BandwidthClassNR_encode_oer; per_type_decoder_f CA_BandwidthClassNR_decode_uper; per_type_encoder_f CA_BandwidthClassNR_encode_uper; per_type_decoder_f CA_BandwidthClassNR_decode_aper; per_type_encoder_f CA_BandwidthClassNR_encode_aper; #ifdef __cplusplus } #endif #endif /* _CA_BandwidthClassNR_H_ */ #include <asn_internal.h>
29.263889
104
0.831039
ae66a070d676d0906c3dc0cd026fc1e2e140175f
30,177
h
C
IAccessible2Test/win-include-accessibility/nsIAccessibleEvent.h
define4real/hello-world
cb69b25db6d644a1fbc88194609a67ac56287b4f
[ "MIT" ]
null
null
null
IAccessible2Test/win-include-accessibility/nsIAccessibleEvent.h
define4real/hello-world
cb69b25db6d644a1fbc88194609a67ac56287b4f
[ "MIT" ]
null
null
null
IAccessible2Test/win-include-accessibility/nsIAccessibleEvent.h
define4real/hello-world
cb69b25db6d644a1fbc88194609a67ac56287b4f
[ "MIT" ]
null
null
null
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/tinderbox/XR-Trunk/WINNT_5.2_Depend/mozilla/accessible/public/nsIAccessibleEvent.idl */ #ifndef __gen_nsIAccessibleEvent_h__ #define __gen_nsIAccessibleEvent_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_VTABLE #endif class nsIAccessible; /* forward declaration */ class nsIAccessibleDocument; /* forward declaration */ class nsIDOMNode; /* forward declaration */ #define NS_ACCESSIBLE_EVENT_TOPIC "accessible-event" /* starting interface: nsIAccessibleEvent */ #define NS_IACCESSIBLEEVENT_IID_STR "ba448f0e-a761-48c8-a0f5-1f25e23d4fe4" #define NS_IACCESSIBLEEVENT_IID \ {0xba448f0e, 0xa761, 0x48c8, \ { 0xa0, 0xf5, 0x1f, 0x25, 0xe2, 0x3d, 0x4f, 0xe4 }} /** * An interface for accessibility events listened to * by in-process accessibility clients, which can be used * to find out how to get accessibility and DOM interfaces for * the event and its target. To listen to in-process accessibility invents, * make your object an nsIObserver, and listen for accessible-event by * using code something like this: * nsCOMPtr<nsIObserverService> observerService = * do_GetService("@mozilla.org/observer-service;1", &rv); * if (NS_SUCCEEDED(rv)) * rv = observerService->AddObserver(this, "accessible-event", PR_TRUE); * * @status UNDER_REVIEW */ class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleEvent : public nsISupports { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEEVENT_IID) /** * An object has been created. */ enum { EVENT_DOM_CREATE = 1U }; /** * An object has been destroyed. */ enum { EVENT_DOM_DESTROY = 2U }; /** * An object's properties or content have changed significantly so that the * type of object has really changed, and therefore the accessible should be * destroyed or recreated. */ enum { EVENT_DOM_SIGNIFICANT_CHANGE = 3U }; /** * A hidden object is shown -- this is a layout occurance and is thus asynchronous */ enum { EVENT_ASYNCH_SHOW = 4U }; /** * An object is hidden -- this is a layout occurance and is thus asynchronous */ enum { EVENT_ASYNCH_HIDE = 5U }; /** * An object had a significant layout change which could affect * the type of accessible object -- this is a layout occurance and is thus asynchronous */ enum { EVENT_ASYNCH_SIGNIFICANT_CHANGE = 6U }; /** * The active descendant of a component has changed. The active descendant * is used in objects with transient children. */ enum { EVENT_ACTIVE_DECENDENT_CHANGED = 7U }; /** * An object has received the keyboard focus. */ enum { EVENT_FOCUS = 8U }; /** * An object's state has changed. */ enum { EVENT_STATE_CHANGE = 9U }; /** * An object has changed location, shape, or size. */ enum { EVENT_LOCATION_CHANGE = 10U }; /** * An object's Name property has changed. */ enum { EVENT_NAME_CHANGE = 11U }; /** * An object's Description property has changed. */ enum { EVENT_DESCRIPTION_CHANGE = 12U }; /** * An object's Value property has changed. */ enum { EVENT_VALUE_CHANGE = 13U }; /** * An object's help has changed. */ enum { EVENT_HELP_CHANGE = 14U }; /** * An object's default action has changed. */ enum { EVENT_DEFACTION_CHANGE = 15U }; /** * An object's action has changed. */ enum { EVENT_ACTION_CHANGE = 16U }; /** * An object's keyboard shortcut has changed. */ enum { EVENT_ACCELERATOR_CHANGE = 17U }; /** * The selection within a container object has changed. */ enum { EVENT_SELECTION = 18U }; /** * An item within a container object has been added to the selection. */ enum { EVENT_SELECTION_ADD = 19U }; /** * An item within a container object has been removed from the selection. */ enum { EVENT_SELECTION_REMOVE = 20U }; /** * Numerous selection changes have occurred within a container object. */ enum { EVENT_SELECTION_WITHIN = 21U }; /** * An alert has been generated. Server applications send this event when a * user needs to know that a user interface element has changed. */ enum { EVENT_ALERT = 22U }; /** * The foreground window has changed. */ enum { EVENT_FOREGROUND = 23U }; /** * A menu item on the menu bar has been selected. */ enum { EVENT_MENU_START = 24U }; /** * A menu from the menu bar has been closed. */ enum { EVENT_MENU_END = 25U }; /** * A pop-up menu has been displayed. */ enum { EVENT_MENUPOPUP_START = 26U }; /** * A pop-up menu has been closed. */ enum { EVENT_MENUPOPUP_END = 27U }; /** * A window has received mouse capture. */ enum { EVENT_CAPTURE_START = 28U }; /** * A window has lost mouse capture. */ enum { EVENT_CAPTURE_END = 29U }; /** * A window is being moved or resized. */ enum { EVENT_MOVESIZE_START = 30U }; /** * The movement or resizing of a window has finished */ enum { EVENT_MOVESIZE_END = 31U }; /** * A window has entered context-sensitive Help mode */ enum { EVENT_CONTEXTHELP_START = 32U }; /** * A window has exited context-sensitive Help mode */ enum { EVENT_CONTEXTHELP_END = 33U }; /** * An application is about to enter drag-and-drop mode */ enum { EVENT_DRAGDROP_START = 34U }; /** * An application is about to exit drag-and-drop mode */ enum { EVENT_DRAGDROP_END = 35U }; /** * A dialog box has been displayed */ enum { EVENT_DIALOG_START = 36U }; /** * A dialog box has been closed */ enum { EVENT_DIALOG_END = 37U }; /** * Scrolling has started on a scroll bar */ enum { EVENT_SCROLLING_START = 38U }; /** * Scrolling has ended on a scroll bar */ enum { EVENT_SCROLLING_END = 39U }; /** * A window object is about to be minimized or maximized */ enum { EVENT_MINIMIZE_START = 40U }; /** * A window object has been minimized or maximized */ enum { EVENT_MINIMIZE_END = 41U }; /** * XXX: */ enum { EVENT_DOCUMENT_LOAD_START = 42U }; /** * The loading of the document has completed. */ enum { EVENT_DOCUMENT_LOAD_COMPLETE = 43U }; /** * The document contents are being reloaded. */ enum { EVENT_DOCUMENT_RELOAD = 44U }; /** * The loading of the document was interrupted. */ enum { EVENT_DOCUMENT_LOAD_STOPPED = 45U }; /** * The document wide attributes of the document object have changed. */ enum { EVENT_DOCUMENT_ATTRIBUTES_CHANGED = 46U }; /** * The contents of the document have changed. */ enum { EVENT_DOCUMENT_CONTENT_CHANGED = 47U }; enum { EVENT_PROPERTY_CHANGED = 48U }; enum { EVENT_SELECTION_CHANGED = 49U }; /** * A text object's attributes changed. * Also see EVENT_OBJECT_ATTRIBUTE_CHANGED. */ enum { EVENT_TEXT_ATTRIBUTE_CHANGED = 50U }; /** * The caret has moved to a new position. */ enum { EVENT_TEXT_CARET_MOVED = 51U }; /** * This event indicates general text changes, i.e. changes to text that is * exposed through the IAccessibleText and IAccessibleEditableText interfaces. */ enum { EVENT_TEXT_CHANGED = 52U }; /** * Text was inserted. */ enum { EVENT_TEXT_INSERTED = 53U }; /** * Text was removed. */ enum { EVENT_TEXT_REMOVED = 54U }; /** * Text was updated. */ enum { EVENT_TEXT_UPDATED = 55U }; /** * The text selection changed. */ enum { EVENT_TEXT_SELECTION_CHANGED = 56U }; /** * A visibile data event indicates the change of the visual appearance * of an accessible object. This includes for example most of the * attributes available via the IAccessibleComponent interface. */ enum { EVENT_VISIBLE_DATA_CHANGED = 57U }; /** * The caret moved from one column to the next. */ enum { EVENT_TEXT_COLUMN_CHANGED = 58U }; /** * The caret moved from one section to the next. */ enum { EVENT_SECTION_CHANGED = 59U }; /** * A table caption changed. */ enum { EVENT_TABLE_CAPTION_CHANGED = 60U }; /** * A table's data changed. */ enum { EVENT_TABLE_MODEL_CHANGED = 61U }; /** * A table's summary changed. */ enum { EVENT_TABLE_SUMMARY_CHANGED = 62U }; /** * A table's row description changed. */ enum { EVENT_TABLE_ROW_DESCRIPTION_CHANGED = 63U }; /** * A table's row header changed. */ enum { EVENT_TABLE_ROW_HEADER_CHANGED = 64U }; enum { EVENT_TABLE_ROW_INSERT = 65U }; enum { EVENT_TABLE_ROW_DELETE = 66U }; enum { EVENT_TABLE_ROW_REORDER = 67U }; /** * A table's column description changed. */ enum { EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED = 68U }; /** * A table's column header changed. */ enum { EVENT_TABLE_COLUMN_HEADER_CHANGED = 69U }; enum { EVENT_TABLE_COLUMN_INSERT = 70U }; enum { EVENT_TABLE_COLUMN_DELETE = 71U }; enum { EVENT_TABLE_COLUMN_REORDER = 72U }; enum { EVENT_WINDOW_ACTIVATE = 73U }; enum { EVENT_WINDOW_CREATE = 74U }; enum { EVENT_WINDOW_DEACTIVATE = 75U }; enum { EVENT_WINDOW_DESTROY = 76U }; enum { EVENT_WINDOW_MAXIMIZE = 77U }; enum { EVENT_WINDOW_MINIMIZE = 78U }; enum { EVENT_WINDOW_RESIZE = 79U }; enum { EVENT_WINDOW_RESTORE = 80U }; /** * The ending index of this link within the containing string has changed. */ enum { EVENT_HYPERLINK_END_INDEX_CHANGED = 81U }; /** * The number of anchors assoicated with this hyperlink object has changed. */ enum { EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED = 82U }; /** * The hyperlink selected state changed from selected to unselected or * from unselected to selected. */ enum { EVENT_HYPERLINK_SELECTED_LINK_CHANGED = 83U }; /** * One of the links associated with the hypertext object has been activated. */ enum { EVENT_HYPERTEXT_LINK_ACTIVATED = 84U }; /** * One of the links associated with the hypertext object has been selected. */ enum { EVENT_HYPERTEXT_LINK_SELECTED = 85U }; /** * The starting index of this link within the containing string has changed. */ enum { EVENT_HYPERLINK_START_INDEX_CHANGED = 86U }; /** * Focus has changed from one hypertext object to another, or focus moved * from a non-hypertext object to a hypertext object, or focus moved from a * hypertext object to a non-hypertext object. */ enum { EVENT_HYPERTEXT_CHANGED = 87U }; /** * The number of hyperlinks associated with a hypertext object changed. */ enum { EVENT_HYPERTEXT_NLINKS_CHANGED = 88U }; /** * An object's attributes changed. Also see EVENT_TEXT_ATTRIBUTE_CHANGED. */ enum { EVENT_OBJECT_ATTRIBUTE_CHANGED = 89U }; /** * A slide changed in a presentation document or a page boundary was * crossed in a word processing document. */ enum { EVENT_PAGE_CHANGED = 90U }; /** * Used internally in Gecko. */ enum { EVENT_INTERNAL_LOAD = 91U }; /** * An object's children have changed */ enum { EVENT_REORDER = 92U }; /** * Help make sure event map does not get out-of-line. */ enum { EVENT_LAST_ENTRY = 93U }; /** * The type of event, based on the enumerated event values * defined in this interface. */ /* readonly attribute unsigned long eventType; */ NS_SCRIPTABLE NS_IMETHOD GetEventType(PRUint32 *aEventType) = 0; /** * The nsIAccessible associated with the event. * May return null if no accessible is available */ /* readonly attribute nsIAccessible accessible; */ NS_SCRIPTABLE NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible) = 0; /** * The nsIAccessibleDocument that the event target nsIAccessible * resides in. This can be used to get the DOM window, * the DOM document and the window handler, among other things. */ /* readonly attribute nsIAccessibleDocument accessibleDocument; */ NS_SCRIPTABLE NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) = 0; /** * The nsIDOMNode associated with the event * May return null if accessible for event has been shut down */ /* readonly attribute nsIDOMNode DOMNode; */ NS_SCRIPTABLE NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode) = 0; /** * Returns true if the event was caused by explicit user input, * as opposed to purely originating from a timer or mouse movement */ /* attribute boolean isFromUserInput; */ NS_SCRIPTABLE NS_IMETHOD GetIsFromUserInput(PRBool *aIsFromUserInput) = 0; NS_SCRIPTABLE NS_IMETHOD SetIsFromUserInput(PRBool aIsFromUserInput) = 0; }; NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleEvent, NS_IACCESSIBLEEVENT_IID) /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIACCESSIBLEEVENT \ NS_SCRIPTABLE NS_IMETHOD GetEventType(PRUint32 *aEventType); \ NS_SCRIPTABLE NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible); \ NS_SCRIPTABLE NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument); \ NS_SCRIPTABLE NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode); \ NS_SCRIPTABLE NS_IMETHOD GetIsFromUserInput(PRBool *aIsFromUserInput); \ NS_SCRIPTABLE NS_IMETHOD SetIsFromUserInput(PRBool aIsFromUserInput); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIACCESSIBLEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetEventType(PRUint32 *aEventType) { return _to GetEventType(aEventType); } \ NS_SCRIPTABLE NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible) { return _to GetAccessible(aAccessible); } \ NS_SCRIPTABLE NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) { return _to GetAccessibleDocument(aAccessibleDocument); } \ NS_SCRIPTABLE NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode) { return _to GetDOMNode(aDOMNode); } \ NS_SCRIPTABLE NS_IMETHOD GetIsFromUserInput(PRBool *aIsFromUserInput) { return _to GetIsFromUserInput(aIsFromUserInput); } \ NS_SCRIPTABLE NS_IMETHOD SetIsFromUserInput(PRBool aIsFromUserInput) { return _to SetIsFromUserInput(aIsFromUserInput); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIACCESSIBLEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetEventType(PRUint32 *aEventType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEventType(aEventType); } \ NS_SCRIPTABLE NS_IMETHOD GetAccessible(nsIAccessible * *aAccessible) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessible(aAccessible); } \ NS_SCRIPTABLE NS_IMETHOD GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibleDocument(aAccessibleDocument); } \ NS_SCRIPTABLE NS_IMETHOD GetDOMNode(nsIDOMNode * *aDOMNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMNode(aDOMNode); } \ NS_SCRIPTABLE NS_IMETHOD GetIsFromUserInput(PRBool *aIsFromUserInput) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFromUserInput(aIsFromUserInput); } \ NS_SCRIPTABLE NS_IMETHOD SetIsFromUserInput(PRBool aIsFromUserInput) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsFromUserInput(aIsFromUserInput); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsAccessibleEvent : public nsIAccessibleEvent { public: NS_DECL_ISUPPORTS NS_DECL_NSIACCESSIBLEEVENT nsAccessibleEvent(); private: ~nsAccessibleEvent(); protected: /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsAccessibleEvent, nsIAccessibleEvent) nsAccessibleEvent::nsAccessibleEvent() { /* member initializers and constructor code */ } nsAccessibleEvent::~nsAccessibleEvent() { /* destructor code */ } /* readonly attribute unsigned long eventType; */ NS_IMETHODIMP nsAccessibleEvent::GetEventType(PRUint32 *aEventType) { return NS_ERROR_NOT_IMPLEMENTED; } /* readonly attribute nsIAccessible accessible; */ NS_IMETHODIMP nsAccessibleEvent::GetAccessible(nsIAccessible * *aAccessible) { return NS_ERROR_NOT_IMPLEMENTED; } /* readonly attribute nsIAccessibleDocument accessibleDocument; */ NS_IMETHODIMP nsAccessibleEvent::GetAccessibleDocument(nsIAccessibleDocument * *aAccessibleDocument) { return NS_ERROR_NOT_IMPLEMENTED; } /* readonly attribute nsIDOMNode DOMNode; */ NS_IMETHODIMP nsAccessibleEvent::GetDOMNode(nsIDOMNode * *aDOMNode) { return NS_ERROR_NOT_IMPLEMENTED; } /* attribute boolean isFromUserInput; */ NS_IMETHODIMP nsAccessibleEvent::GetIsFromUserInput(PRBool *aIsFromUserInput) { return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP nsAccessibleEvent::SetIsFromUserInput(PRBool aIsFromUserInput) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif /* starting interface: nsIAccessibleStateChangeEvent */ #define NS_IACCESSIBLESTATECHANGEEVENT_IID_STR "444db51a-05fd-4576-8a64-32dbb2a83884" #define NS_IACCESSIBLESTATECHANGEEVENT_IID \ {0x444db51a, 0x05fd, 0x4576, \ { 0x8a, 0x64, 0x32, 0xdb, 0xb2, 0xa8, 0x38, 0x84 }} class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleStateChangeEvent : public nsIAccessibleEvent { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLESTATECHANGEEVENT_IID) /** * Returns the state of accessible (see constants declared * in nsIAccessibleStates). */ /* readonly attribute unsigned long state; */ NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState) = 0; /** * Returns true if the state is extra state. */ /* boolean isExtraState (); */ NS_SCRIPTABLE NS_IMETHOD IsExtraState(PRBool *_retval) = 0; /** * Returns true if the state is turned on. */ /* boolean isEnabled (); */ NS_SCRIPTABLE NS_IMETHOD IsEnabled(PRBool *_retval) = 0; }; NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleStateChangeEvent, NS_IACCESSIBLESTATECHANGEEVENT_IID) /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIACCESSIBLESTATECHANGEEVENT \ NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState); \ NS_SCRIPTABLE NS_IMETHOD IsExtraState(PRBool *_retval); \ NS_SCRIPTABLE NS_IMETHOD IsEnabled(PRBool *_retval); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIACCESSIBLESTATECHANGEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState) { return _to GetState(aState); } \ NS_SCRIPTABLE NS_IMETHOD IsExtraState(PRBool *_retval) { return _to IsExtraState(_retval); } \ NS_SCRIPTABLE NS_IMETHOD IsEnabled(PRBool *_retval) { return _to IsEnabled(_retval); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIACCESSIBLESTATECHANGEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } \ NS_SCRIPTABLE NS_IMETHOD IsExtraState(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsExtraState(_retval); } \ NS_SCRIPTABLE NS_IMETHOD IsEnabled(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsEnabled(_retval); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsAccessibleStateChangeEvent : public nsIAccessibleStateChangeEvent { public: NS_DECL_ISUPPORTS NS_DECL_NSIACCESSIBLESTATECHANGEEVENT nsAccessibleStateChangeEvent(); private: ~nsAccessibleStateChangeEvent(); protected: /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsAccessibleStateChangeEvent, nsIAccessibleStateChangeEvent) nsAccessibleStateChangeEvent::nsAccessibleStateChangeEvent() { /* member initializers and constructor code */ } nsAccessibleStateChangeEvent::~nsAccessibleStateChangeEvent() { /* destructor code */ } /* readonly attribute unsigned long state; */ NS_IMETHODIMP nsAccessibleStateChangeEvent::GetState(PRUint32 *aState) { return NS_ERROR_NOT_IMPLEMENTED; } /* boolean isExtraState (); */ NS_IMETHODIMP nsAccessibleStateChangeEvent::IsExtraState(PRBool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; } /* boolean isEnabled (); */ NS_IMETHODIMP nsAccessibleStateChangeEvent::IsEnabled(PRBool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif /* starting interface: nsIAccessibleTextChangeEvent */ #define NS_IACCESSIBLETEXTCHANGEEVENT_IID_STR "50a1e151-8e5f-4bcc-aaaf-a4bed1190e93" #define NS_IACCESSIBLETEXTCHANGEEVENT_IID \ {0x50a1e151, 0x8e5f, 0x4bcc, \ { 0xaa, 0xaf, 0xa4, 0xbe, 0xd1, 0x19, 0x0e, 0x93 }} class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleTextChangeEvent : public nsIAccessibleEvent { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETEXTCHANGEEVENT_IID) /** * Returns offset of changed text in accessible. */ /* readonly attribute long start; */ NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart) = 0; /** * Returns length of changed text. */ /* readonly attribute unsigned long length; */ NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0; /** * Returns true if text was inserted, otherwise false. */ /* boolean isInserted (); */ NS_SCRIPTABLE NS_IMETHOD IsInserted(PRBool *_retval) = 0; /** * The inserted or removed text */ /* readonly attribute DOMString modifiedText; */ NS_SCRIPTABLE NS_IMETHOD GetModifiedText(nsAString & aModifiedText) = 0; }; NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTextChangeEvent, NS_IACCESSIBLETEXTCHANGEEVENT_IID) /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIACCESSIBLETEXTCHANGEEVENT \ NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart); \ NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \ NS_SCRIPTABLE NS_IMETHOD IsInserted(PRBool *_retval); \ NS_SCRIPTABLE NS_IMETHOD GetModifiedText(nsAString & aModifiedText); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIACCESSIBLETEXTCHANGEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart) { return _to GetStart(aStart); } \ NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \ NS_SCRIPTABLE NS_IMETHOD IsInserted(PRBool *_retval) { return _to IsInserted(_retval); } \ NS_SCRIPTABLE NS_IMETHOD GetModifiedText(nsAString & aModifiedText) { return _to GetModifiedText(aModifiedText); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIACCESSIBLETEXTCHANGEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetStart(PRInt32 *aStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStart(aStart); } \ NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \ NS_SCRIPTABLE NS_IMETHOD IsInserted(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsInserted(_retval); } \ NS_SCRIPTABLE NS_IMETHOD GetModifiedText(nsAString & aModifiedText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetModifiedText(aModifiedText); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsAccessibleTextChangeEvent : public nsIAccessibleTextChangeEvent { public: NS_DECL_ISUPPORTS NS_DECL_NSIACCESSIBLETEXTCHANGEEVENT nsAccessibleTextChangeEvent(); private: ~nsAccessibleTextChangeEvent(); protected: /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsAccessibleTextChangeEvent, nsIAccessibleTextChangeEvent) nsAccessibleTextChangeEvent::nsAccessibleTextChangeEvent() { /* member initializers and constructor code */ } nsAccessibleTextChangeEvent::~nsAccessibleTextChangeEvent() { /* destructor code */ } /* readonly attribute long start; */ NS_IMETHODIMP nsAccessibleTextChangeEvent::GetStart(PRInt32 *aStart) { return NS_ERROR_NOT_IMPLEMENTED; } /* readonly attribute unsigned long length; */ NS_IMETHODIMP nsAccessibleTextChangeEvent::GetLength(PRUint32 *aLength) { return NS_ERROR_NOT_IMPLEMENTED; } /* boolean isInserted (); */ NS_IMETHODIMP nsAccessibleTextChangeEvent::IsInserted(PRBool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; } /* readonly attribute DOMString modifiedText; */ NS_IMETHODIMP nsAccessibleTextChangeEvent::GetModifiedText(nsAString & aModifiedText) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif /* starting interface: nsIAccessibleCaretMoveEvent */ #define NS_IACCESSIBLECARETMOVEEVENT_IID_STR "b9076dce-4cd3-4e3d-a7f6-7f33a7f40c31" #define NS_IACCESSIBLECARETMOVEEVENT_IID \ {0xb9076dce, 0x4cd3, 0x4e3d, \ { 0xa7, 0xf6, 0x7f, 0x33, 0xa7, 0xf4, 0x0c, 0x31 }} class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleCaretMoveEvent : public nsIAccessibleEvent { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLECARETMOVEEVENT_IID) /** * Return caret offset. */ /* readonly attribute long caretOffset; */ NS_SCRIPTABLE NS_IMETHOD GetCaretOffset(PRInt32 *aCaretOffset) = 0; }; NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleCaretMoveEvent, NS_IACCESSIBLECARETMOVEEVENT_IID) /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIACCESSIBLECARETMOVEEVENT \ NS_SCRIPTABLE NS_IMETHOD GetCaretOffset(PRInt32 *aCaretOffset); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIACCESSIBLECARETMOVEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetCaretOffset(PRInt32 *aCaretOffset) { return _to GetCaretOffset(aCaretOffset); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIACCESSIBLECARETMOVEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetCaretOffset(PRInt32 *aCaretOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaretOffset(aCaretOffset); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsAccessibleCaretMoveEvent : public nsIAccessibleCaretMoveEvent { public: NS_DECL_ISUPPORTS NS_DECL_NSIACCESSIBLECARETMOVEEVENT nsAccessibleCaretMoveEvent(); private: ~nsAccessibleCaretMoveEvent(); protected: /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsAccessibleCaretMoveEvent, nsIAccessibleCaretMoveEvent) nsAccessibleCaretMoveEvent::nsAccessibleCaretMoveEvent() { /* member initializers and constructor code */ } nsAccessibleCaretMoveEvent::~nsAccessibleCaretMoveEvent() { /* destructor code */ } /* readonly attribute long caretOffset; */ NS_IMETHODIMP nsAccessibleCaretMoveEvent::GetCaretOffset(PRInt32 *aCaretOffset) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif /* starting interface: nsIAccessibleTableChangeEvent */ #define NS_IACCESSIBLETABLECHANGEEVENT_IID_STR "a9485c7b-5861-4695-8441-fab0235b205d" #define NS_IACCESSIBLETABLECHANGEEVENT_IID \ {0xa9485c7b, 0x5861, 0x4695, \ { 0x84, 0x41, 0xfa, 0xb0, 0x23, 0x5b, 0x20, 0x5d }} class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleTableChangeEvent : public nsIAccessibleEvent { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETABLECHANGEEVENT_IID) /** * Return the row or column index. */ /* readonly attribute long rowOrColIndex; */ NS_SCRIPTABLE NS_IMETHOD GetRowOrColIndex(PRInt32 *aRowOrColIndex) = 0; /** * Return the number of rows or cols */ /* readonly attribute long numRowsOrCols; */ NS_SCRIPTABLE NS_IMETHOD GetNumRowsOrCols(PRInt32 *aNumRowsOrCols) = 0; }; NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTableChangeEvent, NS_IACCESSIBLETABLECHANGEEVENT_IID) /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIACCESSIBLETABLECHANGEEVENT \ NS_SCRIPTABLE NS_IMETHOD GetRowOrColIndex(PRInt32 *aRowOrColIndex); \ NS_SCRIPTABLE NS_IMETHOD GetNumRowsOrCols(PRInt32 *aNumRowsOrCols); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIACCESSIBLETABLECHANGEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetRowOrColIndex(PRInt32 *aRowOrColIndex) { return _to GetRowOrColIndex(aRowOrColIndex); } \ NS_SCRIPTABLE NS_IMETHOD GetNumRowsOrCols(PRInt32 *aNumRowsOrCols) { return _to GetNumRowsOrCols(aNumRowsOrCols); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIACCESSIBLETABLECHANGEEVENT(_to) \ NS_SCRIPTABLE NS_IMETHOD GetRowOrColIndex(PRInt32 *aRowOrColIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowOrColIndex(aRowOrColIndex); } \ NS_SCRIPTABLE NS_IMETHOD GetNumRowsOrCols(PRInt32 *aNumRowsOrCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumRowsOrCols(aNumRowsOrCols); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsAccessibleTableChangeEvent : public nsIAccessibleTableChangeEvent { public: NS_DECL_ISUPPORTS NS_DECL_NSIACCESSIBLETABLECHANGEEVENT nsAccessibleTableChangeEvent(); private: ~nsAccessibleTableChangeEvent(); protected: /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsAccessibleTableChangeEvent, nsIAccessibleTableChangeEvent) nsAccessibleTableChangeEvent::nsAccessibleTableChangeEvent() { /* member initializers and constructor code */ } nsAccessibleTableChangeEvent::~nsAccessibleTableChangeEvent() { /* destructor code */ } /* readonly attribute long rowOrColIndex; */ NS_IMETHODIMP nsAccessibleTableChangeEvent::GetRowOrColIndex(PRInt32 *aRowOrColIndex) { return NS_ERROR_NOT_IMPLEMENTED; } /* readonly attribute long numRowsOrCols; */ NS_IMETHODIMP nsAccessibleTableChangeEvent::GetNumRowsOrCols(PRInt32 *aNumRowsOrCols) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif #endif /* __gen_nsIAccessibleEvent_h__ */
29.731034
187
0.741757
64854bec322baa00c76236e2416a9391311c7305
4,071
h
C
rtp_rtcp/base/win32.h
jjzhang166/KKPlayer
b963cb9e2474cff94de1cec41994428fdbe1a0f5
[ "MIT" ]
2
2017-11-20T14:07:51.000Z
2019-08-21T07:03:04.000Z
rtp_rtcp/base/win32.h
jjzhang166/KKPlayer
b963cb9e2474cff94de1cec41994428fdbe1a0f5
[ "MIT" ]
null
null
null
rtp_rtcp/base/win32.h
jjzhang166/KKPlayer
b963cb9e2474cff94de1cec41994428fdbe1a0f5
[ "MIT" ]
5
2017-09-29T04:02:20.000Z
2022-03-18T01:08:05.000Z
/* * Copyright 2004 The WebRTC Project Authors. 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 contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef WEBRTC_BASE_WIN32_H_ #define WEBRTC_BASE_WIN32_H_ #if defined(WEBRTC_WIN) #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif // Make sure we don't get min/max macros #ifndef NOMINMAX #define NOMINMAX #endif #include <winsock2.h> #include <windows.h> #ifndef SECURITY_MANDATORY_LABEL_AUTHORITY // Add defines that we use if we are compiling against older sdks #define SECURITY_MANDATORY_MEDIUM_RID (0x00002000L) #define TokenIntegrityLevel static_cast<TOKEN_INFORMATION_CLASS>(0x19) typedef struct _TOKEN_MANDATORY_LABEL { SID_AND_ATTRIBUTES Label; } TOKEN_MANDATORY_LABEL, *PTOKEN_MANDATORY_LABEL; #endif // SECURITY_MANDATORY_LABEL_AUTHORITY #undef SetPort #include <string> #include "stringutils.h" #include "basictypes.h" namespace rtc { const char* win32_inet_ntop(int af, const void *src, char* dst, socklen_t size); int win32_inet_pton(int af, const char* src, void *dst); /////////////////////////////////////////////////////////////////////////////// inline std::wstring ToUtf16(const char* utf8, size_t len) { int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), NULL, 0); wchar_t* ws = STACK_ARRAY(wchar_t, len16); ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws, len16); return std::wstring(ws, len16); } inline std::wstring ToUtf16(const std::string& str) { return ToUtf16(str.data(), str.length()); } inline std::string ToUtf8(const wchar_t* wide, size_t len) { int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), NULL, 0, NULL, NULL); char* ns = STACK_ARRAY(char, len8); ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), ns, len8, NULL, NULL); return std::string(ns, len8); } inline std::string ToUtf8(const wchar_t* wide) { return ToUtf8(wide, wcslen(wide)); } inline std::string ToUtf8(const std::wstring& wstr) { return ToUtf8(wstr.data(), wstr.length()); } // Convert FILETIME to time_t void FileTimeToUnixTime(const FILETIME& ft, time_t* ut); // Convert time_t to FILETIME void UnixTimeToFileTime(const time_t& ut, FILETIME * ft); // Convert a Utf8 path representation to a non-length-limited Unicode pathname. bool Utf8ToWindowsFilename(const std::string& utf8, std::wstring* filename); // Convert a FILETIME to a UInt64 inline uint64 ToUInt64(const FILETIME& ft) { ULARGE_INTEGER r = {ft.dwLowDateTime, ft.dwHighDateTime}; return r.QuadPart; } enum WindowsMajorVersions { kWindows2000 = 5, kWindowsVista = 6, }; bool GetOsVersion(int* major, int* minor, int* build); inline bool IsWindowsVistaOrLater() { int major; return (GetOsVersion(&major, NULL, NULL) && major >= kWindowsVista); } inline bool IsWindowsXpOrLater() { int major, minor; return (GetOsVersion(&major, &minor, NULL) && (major >= kWindowsVista || (major == kWindows2000 && minor >= 1))); } inline bool IsWindows8OrLater() { int major, minor; return (GetOsVersion(&major, &minor, NULL) && (major > kWindowsVista || (major == kWindowsVista && minor >= 2))); } // Determine the current integrity level of the process. bool GetCurrentProcessIntegrityLevel(int* level); inline bool IsCurrentProcessLowIntegrity() { int level; return (GetCurrentProcessIntegrityLevel(&level) && level < SECURITY_MANDATORY_MEDIUM_RID); } bool AdjustCurrentProcessPrivilege(const TCHAR* privilege, bool to_enable); /////////////////////////////////////////////////////////////////////////////// } // namespace rtc #endif // WEBRTC_WIN #endif // WEBRTC_BASE_WIN32_H_
29.933824
80
0.686318
d90bb70acf3a4f2eb49e0a1c7f8531291a371868
3,931
h
C
iree/base/atomics.h
silvrwolfboy/iree
6d8b59ba8db9c54450ea29e6d9d37b18fd40d12a
[ "Apache-2.0" ]
1
2021-08-02T15:41:24.000Z
2021-08-02T15:41:24.000Z
iree/base/atomics.h
qqsun8819/iree
bd3c9b4b91886fecf5890238d7587a6188fedd0b
[ "Apache-2.0" ]
null
null
null
iree/base/atomics.h
qqsun8819/iree
bd3c9b4b91886fecf5890238d7587a6188fedd0b
[ "Apache-2.0" ]
1
2020-03-06T06:22:26.000Z
2020-03-06T06:22:26.000Z
// 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // An implementation of the C11 stdatomics.h utilities we use (which is limited // to intptr_t for now). We need this for non-C11-compliant platforms (MSVC), // but it has the added benefit of not conflicting with <atomic> (these two // files cannot be included in the same compilation unit... great design). There // shouldn't be any difference between what we do here and what any // implementation would do with the platform atomic functions so it's used // everywhere. // // https://en.cppreference.com/w/c/atomic // // TODO(benvanik): configuration for single-threaded mode to disable atomics. #ifndef IREE_BASE_ATOMICS_H_ #define IREE_BASE_ATOMICS_H_ #include <assert.h> #include <stddef.h> #include <stdint.h> #include "iree/base/platform_headers.h" #include "iree/base/target_platform.h" #ifdef __cplusplus extern "C" { #endif #if defined(IREE_COMPILER_CLANG) typedef _Atomic intptr_t iree_atomic_intptr_t; #define IREE_ATOMIC_VAR_INIT(value) (value) #define iree_atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) #define iree_atomic_store(object, desired) \ __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) #define iree_atomic_fetch_add(object, operand) \ __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) #define iree_atomic_fetch_sub(object, operand) \ __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) #elif defined(IREE_COMPILER_MSVC) // NOTE: currently assumes sizeof(intptr_t) == 8. typedef struct { intptr_t __val; } iree_atomic_intptr_t; #define IREE_ATOMIC_VAR_INIT(value) \ { (value) } #define iree_atomic_load(object) \ InterlockedExchangeAdd64((volatile LONGLONG*)object, 0) #define iree_atomic_store(object, desired) \ InterlockedExchange64((volatile LONGLONG*)object, desired) #define iree_atomic_fetch_add(object, operand) \ InterlockedExchangeAdd64((volatile LONGLONG*)object, operand) #define iree_atomic_fetch_sub(object, operand) \ InterlockedExchangeAdd64((volatile LONGLONG*)object, -(operand)) #elif defined(IREE_COMPILER_GCC) typedef _Atomic __INTPTR_TYPE__ iree_atomic_intptr_t; #define IREE_ATOMIC_VAR_INIT(value) (value) #define iree_atomic_load(object) __atomic_load_ptr(object, __ATOMIC_SEQ_CST) __extension__({ __auto_type __atomic_load_ptr = (object); __typeof__(*__atomic_load_ptr) __atomic_load_tmp; __atomic_load(__atomic_load_ptr, &__atomic_load_tmp, (__ATOMIC_SEQ_CST)); __atomic_load_tmp; }) #define iree_atomic_store(object, desired) \ __extension__({ \ __auto_type __atomic_store_ptr = (object); \ __typeof__(*__atomic_store_ptr) __atomic_store_tmp = (desired); \ __atomic_store(__atomic_store_ptr, &__atomic_store_tmp, \ (__ATOMIC_SEQ_CST)); \ }) #define iree_atomic_fetch_add(object, operand) \ __atomic_fetch_add((object), (operand), __ATOMIC_SEQ_CST) #define iree_atomic_fetch_sub(object, operand) \ __atomic_fetch_sub((object), (operand), __ATOMIC_SEQ_CST) #else #error "compiler does not have supported C11-style atomics" #endif // IREE_COMPILER_* static_assert(sizeof(iree_atomic_intptr_t) == sizeof(intptr_t), "atomic intptr_t must be an intptr_t"); #ifdef __cplusplus } // extern "C" #endif #endif // IREE_BASE_ATOMICS_H_
37.438095
80
0.74841
d91fda39ecbada98baec4f880e3f110dfec5ff8d
175
c
C
libc/src/string/strlen.c
rm-hull/byok
8c24ec865f9f8534bf7f9edcb41dc459186ae958
[ "MIT" ]
41
2015-01-06T08:22:27.000Z
2022-02-27T18:55:32.000Z
libc/src/string/strlen.c
rm-hull/byok
8c24ec865f9f8534bf7f9edcb41dc459186ae958
[ "MIT" ]
18
2015-01-01T18:01:01.000Z
2019-03-03T19:01:13.000Z
libc/src/string/strlen.c
rm-hull/byok
8c24ec865f9f8534bf7f9edcb41dc459186ae958
[ "MIT" ]
10
2015-07-26T22:10:46.000Z
2022-03-01T09:52:59.000Z
#include <string.h> int strlen(const char* str) { if (str == NULL) return 0; int result = 0; while (str[result]) result++; return result; }
12.5
27
0.531429
96e200c57e5b735a5258b06c888edfe01a2394f5
3,414
h
C
Applications/MatchCandidatePolyp/ctcVoxel.h
clwyatt/CTC
284d52dc888bcd997214804715fe690149e33f85
[ "BSD-3-Clause" ]
1
2019-07-29T02:04:06.000Z
2019-07-29T02:04:06.000Z
Applications/MatchCandidatePolyp/ctcVoxel.h
clwyatt/CTC
284d52dc888bcd997214804715fe690149e33f85
[ "BSD-3-Clause" ]
null
null
null
Applications/MatchCandidatePolyp/ctcVoxel.h
clwyatt/CTC
284d52dc888bcd997214804715fe690149e33f85
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* Program: Wake Forest University - Virginia Tech CTC Software Id: $Id$ Language: C++ *******************************************************************************/ #ifndef __CTCVOXEL_H__ #define __CTCVOXEL_H__ #include <string> #include <vector> #include <sstream> #include <exception> #include "ctcPolyp.h" #include "ctcCTCImage.h" using namespace std; namespace ctc { class CTCPolyp; /** Data structure holds voxel in candidate polyp. */ class CTCVoxel { public: string pid; BinaryImageType::PointType coord; BinaryImageType::IndexType idx; float SI; float CV; bool tp_fp; CTCPolyp * polyp; /** Constructor from a vector of string. */ CTCVoxel(const vector<string> & vec_str) { int idx = 0; istringstream iss_str2num; vector<string>::const_iterator iter_str; for (iter_str = vec_str.begin(); iter_str != vec_str.end(); ++iter_str, ++idx) { switch (idx) { case 0: this->pid = *iter_str; break; case 1: // TODO: // test case: convert a char to coord iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->coord[0])) throw exception(); break; case 2: iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->coord[1])) throw exception(); break; case 3: iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->coord[2])) throw exception(); break; case 4: iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->idx[0])) throw exception(); break; case 5: iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->idx[1])) throw exception(); break; case 6: iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->idx[2])) throw exception(); break; case 7: iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->SI)) throw exception(); break; case 8: iss_str2num.clear(); iss_str2num.str(*iter_str); if (!(iss_str2num >> this->CV)) throw exception(); break; default: throw exception(); break; } } } }; } #endif
30.212389
80
0.39133
146116e392130e15b8aa5808660c547ef2f611da
99,084
c
C
mruby/src/mrblib.c
ongaeshi/kilo
370548a59d196151640726cb72a212592ce8a43a
[ "BSD-2-Clause" ]
null
null
null
mruby/src/mrblib.c
ongaeshi/kilo
370548a59d196151640726cb72a212592ce8a43a
[ "BSD-2-Clause" ]
null
null
null
mruby/src/mrblib.c
ongaeshi/kilo
370548a59d196151640726cb72a212592ce8a43a
[ "BSD-2-Clause" ]
null
null
null
#include <mruby.h> #include <mruby/irep.h> extern const uint8_t mrblib_irep[]; void mrb_init_mrblib(mrb_state *mrb) { mrb_load_irep(mrb, mrblib_irep); } /* dumped in little endian order. use `mrbc -E` option for big endian CPU. */ #include <stdint.h> #ifdef __cplusplus extern const uint8_t mrblib_irep[]; #endif const uint8_t #if defined __GNUC__ __attribute__((aligned(4))) #elif defined _MSC_VER __declspec(align(4)) #endif mrblib_irep[] = { 0x45,0x54,0x49,0x52,0x30,0x30,0x30,0x36,0xe3,0x2a,0x00,0x00,0x4c,0x1a,0x4d,0x41, 0x54,0x5a,0x30,0x30,0x30,0x30,0x49,0x52,0x45,0x50,0x00,0x00,0x45,0x32,0x30,0x30, 0x30,0x32,0x00,0x00,0x05,0xd6,0x00,0x01,0x00,0x03,0x00,0x12,0x00,0x00,0x01,0x16, 0x0f,0x01,0x0f,0x02,0x5a,0x01,0x00,0x5c,0x01,0x00,0x0f,0x01,0x1b,0x02,0x01,0x5a, 0x01,0x02,0x0f,0x01,0x0f,0x01,0x1b,0x02,0x03,0x5a,0x01,0x04,0x0f,0x01,0x0f,0x01, 0x1b,0x02,0x01,0x5a,0x01,0x05,0x0f,0x01,0x0f,0x01,0x1b,0x02,0x05,0x5a,0x01,0x06, 0x0f,0x01,0x0f,0x01,0x1b,0x02,0x01,0x5a,0x01,0x07,0x0f,0x01,0x0f,0x01,0x1b,0x02, 0x01,0x5a,0x01,0x08,0x0f,0x01,0x0f,0x01,0x1b,0x02,0x01,0x5a,0x01,0x09,0x5c,0x01, 0x01,0x0f,0x01,0x1b,0x02,0x09,0x5a,0x01,0x0a,0x5c,0x01,0x02,0x0f,0x01,0x1b,0x02, 0x01,0x5a,0x01,0x0b,0x0f,0x01,0x0f,0x01,0x1b,0x02,0x0b,0x5a,0x01,0x0c,0x0f,0x01, 0x0f,0x01,0x1b,0x02,0x03,0x5a,0x01,0x0d,0x0f,0x01,0x0f,0x01,0x1b,0x02,0x0e,0x5a, 0x01,0x0f,0x0f,0x01,0x0f,0x01,0x1b,0x02,0x0b,0x5a,0x01,0x10,0x5c,0x01,0x03,0x0f, 0x01,0x0f,0x02,0x5a,0x01,0x11,0x5c,0x01,0x04,0x0f,0x01,0x0f,0x02,0x5a,0x01,0x11, 0x5c,0x01,0x05,0x0f,0x01,0x5b,0x01,0x12,0x5c,0x01,0x06,0x0f,0x01,0x5b,0x01,0x13, 0x5c,0x01,0x07,0x0f,0x01,0x0f,0x02,0x5a,0x01,0x14,0x5c,0x01,0x08,0x0f,0x01,0x0f, 0x02,0x5a,0x01,0x14,0x5c,0x01,0x09,0x0f,0x01,0x5b,0x01,0x15,0x5c,0x01,0x0a,0x0f, 0x01,0x0f,0x02,0x5a,0x01,0x16,0x5c,0x01,0x0b,0x0f,0x01,0x5b,0x01,0x17,0x5c,0x01, 0x0c,0x0f,0x01,0x0f,0x02,0x5a,0x01,0x18,0x5c,0x01,0x0d,0x0f,0x01,0x0f,0x02,0x5a, 0x01,0x19,0x5c,0x01,0x0e,0x0f,0x01,0x0f,0x02,0x5a,0x01,0x19,0x5c,0x01,0x0f,0x0f, 0x01,0x0f,0x02,0x5a,0x01,0x1a,0x5c,0x01,0x10,0x0f,0x01,0x0f,0x02,0x5a,0x01,0x1b, 0x5c,0x01,0x11,0x37,0x01,0x67,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x06, 0x4d,0x6f,0x64,0x75,0x6c,0x65,0x00,0x00,0x0d,0x53,0x74,0x61,0x6e,0x64,0x61,0x72, 0x64,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65,0x6e, 0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0b,0x53,0x63,0x72,0x69,0x70,0x74,0x45, 0x72,0x72,0x6f,0x72,0x00,0x00,0x0e,0x4c,0x6f,0x63,0x61,0x6c,0x4a,0x75,0x6d,0x70, 0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0a,0x52,0x61,0x6e,0x67,0x65,0x45,0x72,0x72, 0x6f,0x72,0x00,0x00,0x10,0x46,0x6c,0x6f,0x61,0x74,0x44,0x6f,0x6d,0x61,0x69,0x6e, 0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0b,0x52,0x65,0x67,0x65,0x78,0x70,0x45,0x72, 0x72,0x6f,0x72,0x00,0x00,0x09,0x54,0x79,0x70,0x65,0x45,0x72,0x72,0x6f,0x72,0x00, 0x00,0x09,0x4e,0x61,0x6d,0x65,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0d,0x4e,0x6f, 0x4d,0x65,0x74,0x68,0x6f,0x64,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0a,0x49,0x6e, 0x64,0x65,0x78,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x08,0x4b,0x65,0x79,0x45,0x72, 0x72,0x6f,0x72,0x00,0x00,0x13,0x4e,0x6f,0x74,0x49,0x6d,0x70,0x6c,0x65,0x6d,0x65, 0x6e,0x74,0x65,0x64,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0c,0x52,0x75,0x6e,0x74, 0x69,0x6d,0x65,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0b,0x46,0x72,0x6f,0x7a,0x65, 0x6e,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x0d,0x53,0x74,0x6f,0x70,0x49,0x74,0x65, 0x72,0x61,0x74,0x69,0x6f,0x6e,0x00,0x00,0x05,0x41,0x72,0x72,0x61,0x79,0x00,0x00, 0x0a,0x43,0x6f,0x6d,0x70,0x61,0x72,0x61,0x62,0x6c,0x65,0x00,0x00,0x0a,0x45,0x6e, 0x75,0x6d,0x65,0x72,0x61,0x62,0x6c,0x65,0x00,0x00,0x04,0x48,0x61,0x73,0x68,0x00, 0x00,0x06,0x4b,0x65,0x72,0x6e,0x65,0x6c,0x00,0x00,0x07,0x4e,0x75,0x6d,0x65,0x72, 0x69,0x63,0x00,0x00,0x08,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x6c,0x00,0x00,0x07, 0x49,0x6e,0x74,0x65,0x67,0x65,0x72,0x00,0x00,0x05,0x52,0x61,0x6e,0x67,0x65,0x00, 0x00,0x06,0x53,0x74,0x72,0x69,0x6e,0x67,0x00,0x00,0x06,0x53,0x79,0x6d,0x62,0x6f, 0x6c,0x00,0x00,0x00,0x00,0xd3,0x00,0x01,0x00,0x03,0x00,0x03,0x00,0x00,0x00,0x20, 0x61,0x01,0x56,0x02,0x00,0x5d,0x01,0x00,0x5e,0x01,0x02,0x61,0x01,0x56,0x02,0x01, 0x5d,0x01,0x03,0x61,0x01,0x56,0x02,0x02,0x5d,0x01,0x04,0x0e,0x01,0x04,0x37,0x01, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x0d,0x61,0x74,0x74,0x72,0x5f,0x61, 0x63,0x63,0x65,0x73,0x73,0x6f,0x72,0x00,0x00,0x04,0x61,0x74,0x74,0x72,0x00,0x00, 0x0b,0x61,0x74,0x74,0x72,0x5f,0x72,0x65,0x61,0x64,0x65,0x72,0x00,0x00,0x07,0x69, 0x6e,0x63,0x6c,0x75,0x64,0x65,0x00,0x00,0x07,0x70,0x72,0x65,0x70,0x65,0x6e,0x64, 0x00,0x00,0x00,0x00,0xae,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x1e,0x00, 0x33,0x00,0x10,0x00,0x10,0x03,0x0f,0x04,0x01,0x05,0x01,0x48,0x04,0x2c,0x03,0x00, 0x10,0x03,0x0f,0x04,0x01,0x05,0x01,0x48,0x04,0x2c,0x03,0x01,0x37,0x03,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x0b,0x61,0x74,0x74,0x72,0x5f,0x72,0x65,0x61, 0x64,0x65,0x72,0x00,0x00,0x0b,0x61,0x74,0x74,0x72,0x5f,0x77,0x72,0x69,0x74,0x65, 0x72,0x00,0x00,0x00,0x00,0x83,0x00,0x03,0x00,0x05,0x00,0x01,0x00,0x00,0x00,0x16, 0x33,0x00,0x10,0x00,0x01,0x03,0x01,0x2e,0x03,0x00,0x00,0x55,0x04,0x00,0x2f,0x03, 0x01,0x00,0x10,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x07, 0x72,0x65,0x76,0x65,0x72,0x73,0x65,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00, 0x00,0x00,0x97,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00, 0x33,0x04,0x00,0x00,0x01,0x03,0x01,0x10,0x04,0x2e,0x03,0x00,0x01,0x01,0x03,0x01, 0x10,0x04,0x2e,0x03,0x01,0x01,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, 0x00,0x0f,0x61,0x70,0x70,0x65,0x6e,0x64,0x5f,0x66,0x65,0x61,0x74,0x75,0x72,0x65, 0x73,0x00,0x00,0x08,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x64,0x00,0x00,0x00,0x00, 0x83,0x00,0x03,0x00,0x05,0x00,0x01,0x00,0x00,0x00,0x16,0x00,0x33,0x00,0x10,0x00, 0x01,0x03,0x01,0x2e,0x03,0x00,0x00,0x55,0x04,0x00,0x2f,0x03,0x01,0x00,0x10,0x03, 0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x07,0x72,0x65,0x76,0x65, 0x72,0x73,0x65,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0x99,0x00, 0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x33,0x04,0x00,0x00, 0x01,0x03,0x01,0x10,0x04,0x2e,0x03,0x00,0x01,0x01,0x03,0x01,0x10,0x04,0x2e,0x03, 0x01,0x01,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x10,0x70,0x72, 0x65,0x70,0x65,0x6e,0x64,0x5f,0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73,0x00,0x00, 0x09,0x70,0x72,0x65,0x70,0x65,0x6e,0x64,0x65,0x64,0x00,0x00,0x00,0x00,0x96,0x00, 0x01,0x00,0x04,0x00,0x01,0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x10,0x01,0x0e,0x02, 0x00,0x2e,0x01,0x01,0x01,0x61,0x01,0x56,0x02,0x00,0x5d,0x01,0x02,0x0e,0x01,0x02, 0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x04,0x6e,0x61,0x6d,0x65, 0x00,0x00,0x0d,0x61,0x74,0x74,0x72,0x5f,0x61,0x63,0x63,0x65,0x73,0x73,0x6f,0x72, 0x00,0x00,0x0a,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x69,0x7a,0x65,0x00,0x00,0x00, 0x00,0xb6,0x00,0x04,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x25,0x33,0x00,0x40,0x00, 0x21,0x00,0x0d,0x21,0x00,0x0f,0x21,0x00,0x11,0x0f,0x01,0x0f,0x02,0x01,0x04,0x02, 0x18,0x04,0x00,0x32,0x05,0x00,0x00,0x01,0x05,0x01,0x0f,0x06,0x31,0x04,0x01,0x37, 0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x05,0x40,0x6e,0x61,0x6d,0x65, 0x00,0x00,0x00,0x00,0x94,0x00,0x01,0x00,0x04,0x00,0x01,0x00,0x00,0x00,0x16,0x00, 0x10,0x01,0x0e,0x02,0x00,0x2e,0x01,0x01,0x01,0x61,0x01,0x56,0x02,0x00,0x5d,0x01, 0x02,0x0e,0x01,0x02,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x04, 0x61,0x72,0x67,0x73,0x00,0x00,0x0b,0x61,0x74,0x74,0x72,0x5f,0x72,0x65,0x61,0x64, 0x65,0x72,0x00,0x00,0x0a,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x69,0x7a,0x65,0x00, 0x00,0x00,0x00,0xd6,0x00,0x05,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x2d,0x00,0x00, 0x33,0x00,0x60,0x00,0x21,0x00,0x10,0x21,0x00,0x12,0x21,0x00,0x14,0x21,0x00,0x16, 0x0f,0x01,0x0f,0x02,0x0f,0x03,0x01,0x05,0x03,0x18,0x05,0x00,0x32,0x06,0x00,0x00, 0x01,0x06,0x01,0x01,0x07,0x02,0x0f,0x08,0x31,0x05,0x02,0x37,0x05,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x05,0x40,0x61,0x72,0x67,0x73,0x00,0x00,0x00,0x00, 0x5f,0x00,0x01,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x10,0x01,0x0e,0x02, 0x00,0x2e,0x01,0x01,0x01,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00, 0x06,0x72,0x65,0x73,0x75,0x6c,0x74,0x00,0x00,0x0d,0x61,0x74,0x74,0x72,0x5f,0x61, 0x63,0x63,0x65,0x73,0x73,0x6f,0x72,0x00,0x00,0x00,0x01,0xc9,0x00,0x01,0x00,0x03, 0x00,0x09,0x00,0x00,0x00,0x53,0x00,0x00,0x61,0x01,0x56,0x02,0x00,0x5d,0x01,0x00, 0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x01,0x5e,0x02,0x01,0x61,0x01,0x56,0x02,0x02, 0x5d,0x01,0x03,0x61,0x01,0x56,0x02,0x03,0x5d,0x01,0x04,0x61,0x01,0x56,0x02,0x04, 0x5d,0x01,0x05,0x5e,0x06,0x05,0x61,0x01,0x56,0x02,0x05,0x5d,0x01,0x07,0x61,0x01, 0x56,0x02,0x06,0x5d,0x01,0x08,0x61,0x01,0x56,0x02,0x07,0x5d,0x01,0x09,0x61,0x01, 0x56,0x02,0x08,0x5d,0x01,0x0a,0x0e,0x01,0x0a,0x37,0x01,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x0b,0x00,0x0a,0x65,0x61,0x63,0x68,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00, 0x00,0x08,0x63,0x6f,0x6c,0x6c,0x65,0x63,0x74,0x21,0x00,0x00,0x04,0x6d,0x61,0x70, 0x21,0x00,0x00,0x0a,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x69,0x7a,0x65,0x00,0x00, 0x08,0x5f,0x69,0x6e,0x73,0x70,0x65,0x63,0x74,0x00,0x00,0x07,0x69,0x6e,0x73,0x70, 0x65,0x63,0x74,0x00,0x00,0x04,0x74,0x6f,0x5f,0x73,0x00,0x00,0x02,0x3d,0x3d,0x00, 0x00,0x04,0x65,0x71,0x6c,0x3f,0x00,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x06,0x64, 0x65,0x6c,0x65,0x74,0x65,0x00,0x00,0x00,0x01,0x39,0x00,0x03,0x00,0x06,0x00,0x00, 0x00,0x00,0x00,0x3e,0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x03,0x0e,0x04, 0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x06,0x02,0x21,0x00,0x2b,0x01,0x03,0x01,0x01, 0x04,0x02,0x2e,0x03,0x02,0x01,0x01,0x03,0x02,0x3c,0x03,0x01,0x01,0x02,0x03,0x01, 0x03,0x02,0x10,0x04,0x2e,0x04,0x03,0x00,0x42,0x03,0x22,0x03,0x00,0x18,0x10,0x03, 0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x0a,0x65,0x61,0x63,0x68, 0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d, 0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x06,0x6c,0x65,0x6e,0x67,0x74,0x68, 0x00,0x00,0x00,0x01,0xa0,0x00,0x04,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x56,0x00, 0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x04,0x0e,0x05,0x00,0x2e,0x04,0x01, 0x01,0x37,0x04,0x06,0x02,0x10,0x04,0x2e,0x04,0x02,0x00,0x01,0x03,0x04,0x21,0x00, 0x46,0x01,0x04,0x01,0x10,0x05,0x01,0x06,0x02,0x2e,0x05,0x03,0x01,0x2e,0x04,0x04, 0x01,0x10,0x05,0x01,0x06,0x02,0x01,0x07,0x04,0x2e,0x05,0x05,0x02,0x01,0x04,0x02, 0x3c,0x04,0x01,0x01,0x02,0x04,0x01,0x04,0x02,0x01,0x05,0x03,0x42,0x04,0x22,0x04, 0x00,0x21,0x10,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x08, 0x63,0x6f,0x6c,0x6c,0x65,0x63,0x74,0x21,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e, 0x75,0x6d,0x00,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00, 0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x03,0x5b,0x5d,0x3d,0x00,0x00,0x00,0x02,0xb0, 0x00,0x05,0x00,0x0a,0x00,0x00,0x00,0x00,0x00,0x92,0x00,0x00,0x33,0x00,0x40,0x01, 0x21,0x00,0x0d,0x21,0x00,0x0f,0x21,0x00,0x11,0x06,0x01,0x0f,0x02,0x01,0x05,0x01, 0x2e,0x05,0x00,0x00,0x01,0x01,0x05,0x06,0x06,0x42,0x05,0x23,0x05,0x00,0x2f,0x10, 0x05,0x1b,0x06,0x01,0x4f,0x07,0x00,0x2e,0x05,0x02,0x02,0x10,0x05,0x2e,0x05,0x03, 0x00,0x01,0x05,0x01,0x06,0x06,0x44,0x05,0x23,0x05,0x00,0x8e,0x0f,0x05,0x10,0x06, 0x01,0x07,0x01,0x3e,0x07,0x01,0x01,0x08,0x05,0x2e,0x06,0x04,0x02,0x06,0x04,0x21, 0x00,0x82,0x01,0x05,0x03,0x23,0x05,0x00,0x6a,0x01,0x05,0x03,0x01,0x06,0x04,0x2e, 0x05,0x05,0x01,0x21,0x00,0x6d,0x01,0x05,0x02,0x10,0x06,0x01,0x07,0x04,0x01,0x08, 0x05,0x2e,0x06,0x04,0x02,0x01,0x05,0x04,0x3c,0x05,0x01,0x01,0x04,0x05,0x01,0x05, 0x04,0x01,0x06,0x01,0x42,0x05,0x22,0x05,0x00,0x56,0x10,0x05,0x37,0x05,0x00,0x00, 0x00,0x01,0x00,0x00,0x13,0x6e,0x65,0x67,0x61,0x74,0x69,0x76,0x65,0x20,0x61,0x72, 0x72,0x61,0x79,0x20,0x73,0x69,0x7a,0x65,0x00,0x00,0x00,0x06,0x00,0x08,0x5f,0x5f, 0x74,0x6f,0x5f,0x69,0x6e,0x74,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65,0x6e, 0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00, 0x05,0x63,0x6c,0x65,0x61,0x72,0x00,0x00,0x03,0x5b,0x5d,0x3d,0x00,0x00,0x04,0x63, 0x61,0x6c,0x6c,0x00,0x00,0x00,0x02,0xa5,0x00,0x06,0x00,0x0b,0x00,0x00,0x00,0x00, 0x00,0x8f,0x00,0x00,0x33,0x04,0x00,0x00,0x10,0x06,0x2e,0x06,0x00,0x00,0x01,0x03, 0x06,0x06,0x07,0x41,0x06,0x23,0x06,0x00,0x1a,0x4f,0x06,0x00,0x37,0x06,0x01,0x06, 0x01,0x10,0x07,0x2e,0x07,0x01,0x00,0x2e,0x06,0x02,0x01,0x23,0x06,0x00,0x30,0x4f, 0x06,0x01,0x37,0x06,0x11,0x06,0x01,0x07,0x01,0x10,0x08,0x2e,0x08,0x01,0x00,0x01, 0x09,0x06,0x2e,0x07,0x03,0x02,0x46,0x06,0x00,0x01,0x04,0x06,0x06,0x05,0x21,0x00, 0x6d,0x01,0x06,0x04,0x10,0x07,0x01,0x08,0x05,0x2e,0x07,0x02,0x01,0x01,0x08,0x01, 0x2e,0x07,0x04,0x01,0x2e,0x06,0x05,0x01,0x01,0x06,0x05,0x3c,0x06,0x01,0x01,0x05, 0x06,0x01,0x06,0x05,0x01,0x07,0x03,0x42,0x06,0x22,0x06,0x00,0x4d,0x4f,0x06,0x02, 0x01,0x07,0x04,0x4f,0x08,0x03,0x2e,0x07,0x06,0x01,0x3b,0x06,0x4f,0x07,0x04,0x3b, 0x06,0x37,0x06,0x00,0x00,0x00,0x05,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x05,0x5b, 0x2e,0x2e,0x2e,0x5d,0x00,0x00,0x01,0x5b,0x00,0x00,0x02,0x2c,0x20,0x00,0x00,0x01, 0x5d,0x00,0x00,0x00,0x07,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x09,0x6f,0x62, 0x6a,0x65,0x63,0x74,0x5f,0x69,0x64,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x03,0x5b, 0x5d,0x3d,0x00,0x00,0x08,0x5f,0x69,0x6e,0x73,0x70,0x65,0x63,0x74,0x00,0x00,0x02, 0x3c,0x3c,0x00,0x00,0x04,0x6a,0x6f,0x69,0x6e,0x00,0x00,0x00,0x00,0x61,0x00,0x02, 0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x0f,0x33,0x00,0x00,0x00,0x10,0x02,0x51,0x03, 0x00,0x2e,0x02,0x00,0x01,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00, 0x08,0x5f,0x69,0x6e,0x73,0x70,0x65,0x63,0x74,0x00,0x00,0x00,0x01,0xfa,0x00,0x05, 0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x71,0x33,0x04,0x00,0x00,0x10,0x05,0x01,0x06, 0x01,0x2e,0x05,0x00,0x01,0x01,0x01,0x05,0x12,0x06,0x41,0x05,0x23,0x05,0x00,0x1c, 0x12,0x05,0x37,0x05,0x01,0x05,0x01,0x11,0x06,0x41,0x05,0x23,0x05,0x00,0x2b,0x11, 0x05,0x37,0x05,0x10,0x05,0x2e,0x05,0x01,0x00,0x01,0x03,0x05,0x06,0x04,0x21,0x00, 0x61,0x10,0x05,0x01,0x06,0x04,0x2e,0x05,0x02,0x01,0x01,0x06,0x01,0x01,0x07,0x04, 0x2e,0x06,0x02,0x01,0x2e,0x05,0x03,0x01,0x23,0x05,0x00,0x58,0x12,0x05,0x38,0x05, 0x01,0x05,0x04,0x3c,0x05,0x01,0x01,0x04,0x05,0x01,0x05,0x04,0x01,0x06,0x03,0x42, 0x05,0x22,0x05,0x00,0x39,0x11,0x05,0x37,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x04,0x00,0x08,0x5f,0x5f,0x61,0x72,0x79,0x5f,0x65,0x71,0x00,0x00,0x04,0x73,0x69, 0x7a,0x65,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x02,0x21,0x3d,0x00,0x00,0x00,0x01, 0xfc,0x00,0x05,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x71,0x00,0x33,0x04,0x00,0x00, 0x10,0x05,0x01,0x06,0x01,0x2e,0x05,0x00,0x01,0x01,0x01,0x05,0x12,0x06,0x41,0x05, 0x23,0x05,0x00,0x1c,0x12,0x05,0x37,0x05,0x01,0x05,0x01,0x11,0x06,0x41,0x05,0x23, 0x05,0x00,0x2b,0x11,0x05,0x37,0x05,0x10,0x05,0x2e,0x05,0x01,0x00,0x01,0x03,0x05, 0x06,0x04,0x21,0x00,0x61,0x10,0x05,0x01,0x06,0x04,0x2e,0x05,0x02,0x01,0x01,0x06, 0x01,0x01,0x07,0x04,0x2e,0x06,0x02,0x01,0x2e,0x05,0x03,0x01,0x22,0x05,0x00,0x58, 0x12,0x05,0x38,0x05,0x01,0x05,0x04,0x3c,0x05,0x01,0x01,0x04,0x05,0x01,0x05,0x04, 0x01,0x06,0x03,0x42,0x05,0x22,0x05,0x00,0x39,0x11,0x05,0x37,0x05,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x04,0x00,0x08,0x5f,0x5f,0x61,0x72,0x79,0x5f,0x65,0x71,0x00, 0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x04,0x65,0x71, 0x6c,0x3f,0x00,0x00,0x00,0x03,0x88,0x00,0x06,0x00,0x0a,0x00,0x00,0x00,0x00,0x00, 0xd1,0x00,0x00,0x00,0x33,0x04,0x00,0x00,0x10,0x06,0x01,0x07,0x01,0x2e,0x06,0x00, 0x01,0x01,0x01,0x06,0x06,0x06,0x01,0x07,0x01,0x41,0x06,0x23,0x06,0x00,0x1f,0x06, 0x06,0x37,0x06,0x0f,0x06,0x01,0x07,0x01,0x41,0x06,0x23,0x06,0x00,0x2e,0x0f,0x06, 0x37,0x06,0x10,0x06,0x2e,0x06,0x01,0x00,0x01,0x03,0x06,0x01,0x06,0x01,0x2e,0x06, 0x01,0x00,0x01,0x04,0x06,0x01,0x06,0x03,0x01,0x07,0x04,0x44,0x06,0x23,0x06,0x00, 0x53,0x01,0x06,0x04,0x01,0x03,0x06,0x06,0x05,0x21,0x00,0x92,0x10,0x06,0x01,0x07, 0x05,0x2e,0x06,0x02,0x01,0x01,0x07,0x01,0x01,0x08,0x05,0x2e,0x07,0x02,0x01,0x2e, 0x06,0x03,0x01,0x01,0x04,0x06,0x2e,0x06,0x04,0x00,0x22,0x06,0x00,0x83,0x01,0x06, 0x04,0x06,0x07,0x2e,0x06,0x05,0x01,0x23,0x06,0x00,0x89,0x38,0x04,0x01,0x06,0x05, 0x3c,0x06,0x01,0x01,0x05,0x06,0x01,0x06,0x05,0x01,0x07,0x03,0x42,0x06,0x22,0x06, 0x00,0x58,0x10,0x06,0x2e,0x06,0x01,0x00,0x01,0x07,0x01,0x2e,0x07,0x01,0x00,0x3d, 0x06,0x01,0x03,0x06,0x06,0x07,0x41,0x06,0x23,0x06,0x00,0xbd,0x06,0x06,0x21,0x00, 0xcf,0x01,0x06,0x03,0x06,0x07,0x44,0x06,0x23,0x06,0x00,0xcd,0x07,0x06,0x21,0x00, 0xcf,0x05,0x06,0x37,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x09,0x5f, 0x5f,0x61,0x72,0x79,0x5f,0x63,0x6d,0x70,0x00,0x00,0x04,0x73,0x69,0x7a,0x65,0x00, 0x00,0x02,0x5b,0x5d,0x00,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x04,0x6e,0x69,0x6c, 0x3f,0x00,0x00,0x02,0x21,0x3d,0x00,0x00,0x00,0x01,0x48,0x00,0x05,0x00,0x08,0x00, 0x00,0x00,0x00,0x00,0x43,0x00,0x00,0x00,0x33,0x04,0x00,0x01,0x21,0x00,0x16,0x10, 0x05,0x01,0x06,0x03,0x2e,0x05,0x00,0x01,0x01,0x05,0x01,0x01,0x04,0x05,0x10,0x05, 0x01,0x06,0x01,0x2e,0x05,0x01,0x01,0x01,0x03,0x05,0x22,0x05,0x00,0x07,0x01,0x05, 0x04,0x2e,0x05,0x02,0x00,0x23,0x05,0x00,0x34,0x01,0x05,0x02,0x23,0x05,0x00,0x41, 0x01,0x05,0x02,0x2e,0x05,0x03,0x00,0x37,0x05,0x37,0x04,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x04,0x00,0x09,0x64,0x65,0x6c,0x65,0x74,0x65,0x5f,0x61,0x74,0x00,0x00, 0x05,0x69,0x6e,0x64,0x65,0x78,0x00,0x00,0x04,0x6e,0x69,0x6c,0x3f,0x00,0x00,0x04, 0x63,0x61,0x6c,0x6c,0x00,0x00,0x00,0x00,0xb8,0x00,0x01,0x00,0x04,0x00,0x02,0x00, 0x00,0x00,0x1e,0x00,0x10,0x01,0x1b,0x02,0x00,0x2e,0x01,0x01,0x01,0x61,0x01,0x56, 0x02,0x00,0x5d,0x01,0x02,0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x03,0x0e,0x01,0x03, 0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x0a,0x45,0x6e,0x75,0x6d, 0x65,0x72,0x61,0x62,0x6c,0x65,0x00,0x00,0x07,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x00,0x00,0x05,0x73,0x6f,0x72,0x74,0x21,0x00,0x00,0x04,0x73,0x6f,0x72,0x74,0x00, 0x00,0x00,0x07,0x5b,0x00,0x0d,0x00,0x12,0x00,0x01,0x00,0x00,0x01,0xae,0x00,0x00, 0x33,0x00,0x00,0x01,0x06,0x0d,0x10,0x0e,0x2e,0x0e,0x00,0x00,0x3e,0x0e,0x01,0x46, 0x0d,0x02,0x46,0x0d,0x01,0x01,0x02,0x0d,0x21,0x01,0x9f,0x01,0x0d,0x02,0x2e,0x0d, 0x01,0x00,0x4b,0x0e,0x0d,0x00,0x01,0x03,0x0e,0x4b,0x0e,0x0d,0x01,0x01,0x04,0x0e, 0x4b,0x0e,0x0d,0x02,0x01,0x05,0x0e,0x01,0x0d,0x05,0x0f,0x0e,0x41,0x0d,0x23,0x0d, 0x01,0x58,0x01,0x0d,0x04,0x01,0x05,0x0d,0x01,0x0d,0x03,0x01,0x0e,0x05,0x42,0x0d, 0x23,0x0d,0x01,0x55,0x01,0x0d,0x03,0x3c,0x0d,0x01,0x01,0x0e,0x05,0x41,0x0d,0x23, 0x0d,0x00,0xfa,0x10,0x0d,0x01,0x0e,0x03,0x2e,0x0d,0x02,0x01,0x01,0x06,0x0d,0x10, 0x0d,0x01,0x0e,0x05,0x2e,0x0d,0x02,0x01,0x01,0x07,0x0d,0x01,0x0d,0x01,0x23,0x0d, 0x00,0x92,0x01,0x0d,0x01,0x01,0x0e,0x06,0x01,0x0f,0x07,0x2e,0x0d,0x03,0x02,0x21, 0x00,0x9c,0x01,0x0d,0x06,0x01,0x0e,0x07,0x2e,0x0d,0x04,0x01,0x01,0x08,0x0d,0x24, 0x0d,0x00,0xa6,0x21,0x00,0xce,0x10,0x0d,0x1b,0x0e,0x05,0x4f,0x0f,0x00,0x01,0x10, 0x06,0x2e,0x10,0x06,0x00,0x50,0x0f,0x4f,0x10,0x01,0x50,0x0f,0x01,0x10,0x07,0x2e, 0x10,0x06,0x00,0x50,0x0f,0x4f,0x10,0x02,0x50,0x0f,0x2e,0x0d,0x07,0x02,0x01,0x0d, 0x08,0x06,0x0e,0x44,0x0d,0x23,0x0d,0x00,0xf7,0x01,0x0d,0x07,0x10,0x0e,0x01,0x0f, 0x03,0x01,0x10,0x0d,0x2e,0x0e,0x08,0x02,0x01,0x0d,0x06,0x10,0x0e,0x01,0x0f,0x05, 0x01,0x10,0x0d,0x2e,0x0e,0x08,0x02,0x21,0x01,0x55,0x01,0x0d,0x03,0x01,0x0e,0x05, 0x3b,0x0d,0x3c,0x0d,0x01,0x08,0x0e,0x40,0x0d,0x2e,0x0d,0x09,0x00,0x01,0x04,0x0d, 0x01,0x0d,0x02,0x01,0x0e,0x03,0x01,0x0f,0x04,0x01,0x10,0x05,0x46,0x0e,0x03,0x2e, 0x0d,0x0a,0x01,0x01,0x0d,0x02,0x01,0x0e,0x04,0x01,0x0f,0x05,0x46,0x0e,0x02,0x2e, 0x0d,0x0a,0x01,0x01,0x0d,0x03,0x01,0x0e,0x04,0x3e,0x0e,0x01,0x42,0x0d,0x23,0x0d, 0x01,0x55,0x01,0x0d,0x02,0x01,0x0e,0x03,0x01,0x0f,0x04,0x3e,0x0f,0x01,0x46,0x0e, 0x02,0x2e,0x0d,0x0a,0x01,0x21,0x01,0x9f,0x10,0x0d,0x01,0x0e,0x03,0x01,0x0f,0x04, 0x01,0x10,0x03,0x3d,0x0f,0x2e,0x0d,0x02,0x02,0x01,0x09,0x0d,0x2e,0x0d,0x00,0x00, 0x01,0x0a,0x0d,0x01,0x0d,0x09,0x06,0x0e,0x2e,0x0d,0x02,0x01,0x01,0x0e,0x09,0x06, 0x0f,0x01,0x10,0x0d,0x2e,0x0e,0x08,0x02,0x06,0x0b,0x01,0x0d,0x04,0x01,0x0c,0x0d, 0x01,0x0d,0x03,0x01,0x0e,0x05,0x57,0x0d,0x55,0x0e,0x00,0x2f,0x0d,0x0b,0x00,0x01, 0x0d,0x02,0x2e,0x0d,0x0c,0x00,0x23,0x0d,0x00,0x1b,0x10,0x0d,0x37,0x0d,0x00,0x00, 0x00,0x03,0x00,0x00,0x0e,0x63,0x6f,0x6d,0x70,0x61,0x72,0x69,0x73,0x6f,0x6e,0x20, 0x6f,0x66,0x20,0x00,0x00,0x05,0x20,0x61,0x6e,0x64,0x20,0x00,0x00,0x07,0x20,0x66, 0x61,0x69,0x6c,0x65,0x64,0x00,0x00,0x00,0x0d,0x00,0x04,0x73,0x69,0x7a,0x65,0x00, 0x00,0x03,0x70,0x6f,0x70,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x04,0x63,0x61,0x6c, 0x6c,0x00,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65, 0x6e,0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x07,0x69,0x6e,0x73,0x70,0x65,0x63, 0x74,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x03,0x5b,0x5d,0x3d,0x00, 0x00,0x05,0x66,0x6c,0x6f,0x6f,0x72,0x00,0x00,0x04,0x70,0x75,0x73,0x68,0x00,0x00, 0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x06,0x65,0x6d,0x70,0x74,0x79,0x3f,0x00,0x00, 0x00,0x04,0xf3,0x00,0x03,0x00,0x09,0x00,0x00,0x00,0x00,0x01,0x1f,0x00,0x00,0x00, 0x33,0x04,0x00,0x00,0x1f,0x03,0x0b,0x00,0x1f,0x04,0x0a,0x00,0x45,0x03,0x23,0x03, 0x00,0x19,0x0f,0x03,0x39,0x03,0x21,0x01,0x1d,0x1f,0x03,0x0c,0x00,0x1f,0x04,0x05, 0x00,0x44,0x03,0x23,0x03,0x00,0x5a,0x1f,0x03,0x09,0x00,0x1f,0x04,0x0b,0x00,0x1f, 0x05,0x0a,0x00,0x1f,0x06,0x0b,0x00,0x3d,0x05,0x2e,0x03,0x00,0x02,0x10,0x04,0x01, 0x05,0x01,0x1f,0x06,0x0a,0x00,0x1f,0x07,0x0b,0x00,0x3d,0x06,0x01,0x07,0x03,0x2e, 0x04,0x01,0x03,0x0f,0x03,0x39,0x03,0x21,0x01,0x1d,0x1f,0x03,0x09,0x00,0x1f,0x04, 0x0b,0x00,0x2e,0x03,0x00,0x01,0x20,0x03,0x06,0x00,0x10,0x03,0x1f,0x04,0x0c,0x00, 0x2e,0x03,0x00,0x01,0x20,0x03,0x07,0x00,0x1f,0x03,0x01,0x00,0x23,0x03,0x00,0x93, 0x1f,0x03,0x01,0x00,0x1f,0x04,0x06,0x00,0x1f,0x05,0x07,0x00,0x2e,0x03,0x02,0x02, 0x21,0x00,0x9f,0x1f,0x03,0x06,0x00,0x1f,0x04,0x07,0x00,0x2e,0x03,0x03,0x01,0x20, 0x03,0x08,0x00,0x1f,0x03,0x08,0x00,0x24,0x03,0x00,0xae,0x21,0x00,0xd8,0x10,0x03, 0x1b,0x04,0x04,0x4f,0x05,0x00,0x1f,0x06,0x06,0x00,0x2e,0x06,0x05,0x00,0x50,0x05, 0x4f,0x06,0x01,0x50,0x05,0x1f,0x06,0x07,0x00,0x2e,0x06,0x05,0x00,0x50,0x05,0x4f, 0x06,0x02,0x50,0x05,0x2e,0x03,0x06,0x02,0x1f,0x03,0x08,0x00,0x06,0x04,0x43,0x03, 0x23,0x03,0x01,0x02,0x1f,0x03,0x06,0x00,0x10,0x04,0x01,0x05,0x01,0x01,0x06,0x03, 0x2e,0x04,0x01,0x02,0x1f,0x03,0x0b,0x00,0x3c,0x03,0x01,0x20,0x03,0x0b,0x00,0x21, 0x01,0x1d,0x1f,0x03,0x07,0x00,0x10,0x04,0x01,0x05,0x01,0x01,0x06,0x03,0x2e,0x04, 0x01,0x02,0x1f,0x03,0x0c,0x00,0x3c,0x03,0x01,0x20,0x03,0x0c,0x00,0x37,0x03,0x00, 0x00,0x00,0x03,0x00,0x00,0x0e,0x63,0x6f,0x6d,0x70,0x61,0x72,0x69,0x73,0x6f,0x6e, 0x20,0x6f,0x66,0x20,0x00,0x00,0x05,0x20,0x61,0x6e,0x64,0x20,0x00,0x00,0x07,0x20, 0x66,0x61,0x69,0x6c,0x65,0x64,0x00,0x00,0x00,0x07,0x00,0x02,0x5b,0x5d,0x00,0x00, 0x03,0x5b,0x5d,0x3d,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x03,0x3c,0x3d, 0x3e,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x45,0x72,0x72,0x6f, 0x72,0x00,0x00,0x07,0x69,0x6e,0x73,0x70,0x65,0x63,0x74,0x00,0x00,0x05,0x72,0x61, 0x69,0x73,0x65,0x00,0x00,0x00,0x00,0x74,0x00,0x02,0x00,0x04,0x00,0x00,0x00,0x00, 0x00,0x13,0x00,0x00,0x33,0x00,0x00,0x01,0x10,0x02,0x2e,0x02,0x00,0x00,0x01,0x03, 0x01,0x2f,0x02,0x01,0x00,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00, 0x03,0x64,0x75,0x70,0x00,0x00,0x05,0x73,0x6f,0x72,0x74,0x21,0x00,0x00,0x00,0x01, 0x10,0x00,0x01,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x35,0x00,0x61,0x01,0x56,0x02, 0x00,0x5d,0x01,0x00,0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x01,0x61,0x01,0x56,0x02, 0x02,0x5d,0x01,0x02,0x61,0x01,0x56,0x02,0x03,0x5d,0x01,0x03,0x61,0x01,0x56,0x02, 0x04,0x5d,0x01,0x04,0x61,0x01,0x56,0x02,0x05,0x5d,0x01,0x05,0x0e,0x01,0x05,0x37, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x01,0x3c,0x00,0x00,0x02,0x3c, 0x3d,0x00,0x00,0x02,0x3d,0x3d,0x00,0x00,0x01,0x3e,0x00,0x00,0x02,0x3e,0x3d,0x00, 0x00,0x08,0x62,0x65,0x74,0x77,0x65,0x65,0x6e,0x3f,0x00,0x00,0x00,0x01,0x80,0x00, 0x04,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x33,0x04,0x00,0x00, 0x10,0x04,0x01,0x05,0x01,0x2e,0x04,0x00,0x01,0x01,0x03,0x04,0x24,0x04,0x00,0x17, 0x21,0x00,0x3e,0x10,0x04,0x1b,0x05,0x01,0x4f,0x06,0x00,0x10,0x07,0x2e,0x07,0x02, 0x00,0x50,0x06,0x4f,0x07,0x01,0x50,0x06,0x01,0x07,0x01,0x2e,0x07,0x02,0x00,0x50, 0x06,0x4f,0x07,0x02,0x50,0x06,0x2e,0x04,0x03,0x02,0x01,0x04,0x03,0x06,0x05,0x42, 0x04,0x37,0x04,0x00,0x00,0x00,0x03,0x00,0x00,0x0e,0x63,0x6f,0x6d,0x70,0x61,0x72, 0x69,0x73,0x6f,0x6e,0x20,0x6f,0x66,0x20,0x00,0x00,0x06,0x20,0x77,0x69,0x74,0x68, 0x20,0x00,0x00,0x07,0x20,0x66,0x61,0x69,0x6c,0x65,0x64,0x00,0x00,0x00,0x04,0x00, 0x03,0x3c,0x3d,0x3e,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x45, 0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x63,0x6c,0x61,0x73,0x73,0x00,0x00,0x05,0x72, 0x61,0x69,0x73,0x65,0x00,0x00,0x00,0x01,0x80,0x00,0x04,0x00,0x09,0x00,0x00,0x00, 0x00,0x00,0x47,0x00,0x33,0x04,0x00,0x00,0x10,0x04,0x01,0x05,0x01,0x2e,0x04,0x00, 0x01,0x01,0x03,0x04,0x24,0x04,0x00,0x17,0x21,0x00,0x3e,0x10,0x04,0x1b,0x05,0x01, 0x4f,0x06,0x00,0x10,0x07,0x2e,0x07,0x02,0x00,0x50,0x06,0x4f,0x07,0x01,0x50,0x06, 0x01,0x07,0x01,0x2e,0x07,0x02,0x00,0x50,0x06,0x4f,0x07,0x02,0x50,0x06,0x2e,0x04, 0x03,0x02,0x01,0x04,0x03,0x06,0x05,0x43,0x04,0x37,0x04,0x00,0x00,0x00,0x03,0x00, 0x00,0x0e,0x63,0x6f,0x6d,0x70,0x61,0x72,0x69,0x73,0x6f,0x6e,0x20,0x6f,0x66,0x20, 0x00,0x00,0x06,0x20,0x77,0x69,0x74,0x68,0x20,0x00,0x00,0x07,0x20,0x66,0x61,0x69, 0x6c,0x65,0x64,0x00,0x00,0x00,0x04,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x0d,0x41, 0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x63, 0x6c,0x61,0x73,0x73,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x00,0x00, 0x78,0x00,0x04,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x16,0x00,0x33,0x04,0x00,0x00, 0x10,0x04,0x01,0x05,0x01,0x2e,0x04,0x00,0x01,0x01,0x03,0x04,0x06,0x05,0x41,0x04, 0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x03,0x3c,0x3d,0x3e,0x00, 0x00,0x00,0x01,0x80,0x00,0x04,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x47,0x00,0x00, 0x33,0x04,0x00,0x00,0x10,0x04,0x01,0x05,0x01,0x2e,0x04,0x00,0x01,0x01,0x03,0x04, 0x24,0x04,0x00,0x17,0x21,0x00,0x3e,0x10,0x04,0x1b,0x05,0x01,0x4f,0x06,0x00,0x10, 0x07,0x2e,0x07,0x02,0x00,0x50,0x06,0x4f,0x07,0x01,0x50,0x06,0x01,0x07,0x01,0x2e, 0x07,0x02,0x00,0x50,0x06,0x4f,0x07,0x02,0x50,0x06,0x2e,0x04,0x03,0x02,0x01,0x04, 0x03,0x06,0x05,0x44,0x04,0x37,0x04,0x00,0x00,0x00,0x03,0x00,0x00,0x0e,0x63,0x6f, 0x6d,0x70,0x61,0x72,0x69,0x73,0x6f,0x6e,0x20,0x6f,0x66,0x20,0x00,0x00,0x06,0x20, 0x77,0x69,0x74,0x68,0x20,0x00,0x00,0x07,0x20,0x66,0x61,0x69,0x6c,0x65,0x64,0x00, 0x00,0x00,0x04,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d, 0x65,0x6e,0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x63,0x6c,0x61,0x73,0x73, 0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x00,0x01,0x80,0x00,0x04,0x00, 0x09,0x00,0x00,0x00,0x00,0x00,0x47,0x00,0x33,0x04,0x00,0x00,0x10,0x04,0x01,0x05, 0x01,0x2e,0x04,0x00,0x01,0x01,0x03,0x04,0x24,0x04,0x00,0x17,0x21,0x00,0x3e,0x10, 0x04,0x1b,0x05,0x01,0x4f,0x06,0x00,0x10,0x07,0x2e,0x07,0x02,0x00,0x50,0x06,0x4f, 0x07,0x01,0x50,0x06,0x01,0x07,0x01,0x2e,0x07,0x02,0x00,0x50,0x06,0x4f,0x07,0x02, 0x50,0x06,0x2e,0x04,0x03,0x02,0x01,0x04,0x03,0x06,0x05,0x45,0x04,0x37,0x04,0x00, 0x00,0x00,0x03,0x00,0x00,0x0e,0x63,0x6f,0x6d,0x70,0x61,0x72,0x69,0x73,0x6f,0x6e, 0x20,0x6f,0x66,0x20,0x00,0x00,0x06,0x20,0x77,0x69,0x74,0x68,0x20,0x00,0x00,0x07, 0x20,0x66,0x61,0x69,0x6c,0x65,0x64,0x00,0x00,0x00,0x04,0x00,0x03,0x3c,0x3d,0x3e, 0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x45,0x72,0x72,0x6f,0x72, 0x00,0x00,0x05,0x63,0x6c,0x61,0x73,0x73,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65, 0x00,0x00,0x00,0x00,0x7a,0x00,0x04,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x18,0x00, 0x33,0x08,0x00,0x00,0x10,0x04,0x01,0x05,0x01,0x45,0x04,0x23,0x04,0x00,0x16,0x10, 0x04,0x01,0x05,0x02,0x43,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x03,0x76,0x00,0x01,0x00,0x03,0x00,0x10,0x00,0x00,0x00,0xa1,0x00,0x00, 0x1b,0x01,0x00,0x2e,0x01,0x01,0x00,0x1c,0x01,0x02,0x61,0x01,0x56,0x02,0x00,0x5d, 0x01,0x03,0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x04,0x61,0x01,0x56,0x02,0x02,0x5d, 0x01,0x05,0x61,0x01,0x56,0x02,0x03,0x5d,0x01,0x06,0x61,0x01,0x56,0x02,0x04,0x5d, 0x01,0x07,0x61,0x01,0x56,0x02,0x05,0x5d,0x01,0x08,0x5e,0x09,0x06,0x61,0x01,0x56, 0x02,0x06,0x5d,0x01,0x0a,0x61,0x01,0x56,0x02,0x07,0x5d,0x01,0x0b,0x61,0x01,0x56, 0x02,0x08,0x5d,0x01,0x0c,0x61,0x01,0x56,0x02,0x09,0x5d,0x01,0x0d,0x5e,0x0e,0x0d, 0x5e,0x0f,0x05,0x61,0x01,0x56,0x02,0x0a,0x5d,0x01,0x10,0x61,0x01,0x56,0x02,0x0b, 0x5d,0x01,0x11,0x5e,0x12,0x0c,0x61,0x01,0x56,0x02,0x0c,0x5d,0x01,0x13,0x61,0x01, 0x56,0x02,0x0d,0x5d,0x01,0x14,0x5e,0x15,0x0a,0x61,0x01,0x56,0x02,0x0e,0x5d,0x01, 0x16,0x5e,0x17,0x08,0x61,0x01,0x56,0x02,0x0f,0x5d,0x01,0x18,0x0e,0x01,0x18,0x37, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x00,0x06,0x4f,0x62,0x6a,0x65,0x63, 0x74,0x00,0x00,0x03,0x6e,0x65,0x77,0x00,0x00,0x04,0x4e,0x4f,0x4e,0x45,0x00,0x00, 0x04,0x61,0x6c,0x6c,0x3f,0x00,0x00,0x04,0x61,0x6e,0x79,0x3f,0x00,0x00,0x07,0x63, 0x6f,0x6c,0x6c,0x65,0x63,0x74,0x00,0x00,0x06,0x64,0x65,0x74,0x65,0x63,0x74,0x00, 0x00,0x0f,0x65,0x61,0x63,0x68,0x5f,0x77,0x69,0x74,0x68,0x5f,0x69,0x6e,0x64,0x65, 0x78,0x00,0x00,0x07,0x65,0x6e,0x74,0x72,0x69,0x65,0x73,0x00,0x00,0x04,0x66,0x69, 0x6e,0x64,0x00,0x00,0x08,0x66,0x69,0x6e,0x64,0x5f,0x61,0x6c,0x6c,0x00,0x00,0x04, 0x67,0x72,0x65,0x70,0x00,0x00,0x08,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x3f,0x00, 0x00,0x06,0x69,0x6e,0x6a,0x65,0x63,0x74,0x00,0x00,0x06,0x72,0x65,0x64,0x75,0x63, 0x65,0x00,0x00,0x03,0x6d,0x61,0x70,0x00,0x00,0x03,0x6d,0x61,0x78,0x00,0x00,0x03, 0x6d,0x69,0x6e,0x00,0x00,0x07,0x6d,0x65,0x6d,0x62,0x65,0x72,0x3f,0x00,0x00,0x09, 0x70,0x61,0x72,0x74,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x06,0x72,0x65,0x6a,0x65, 0x63,0x74,0x00,0x00,0x06,0x73,0x65,0x6c,0x65,0x63,0x74,0x00,0x00,0x04,0x73,0x6f, 0x72,0x74,0x00,0x00,0x04,0x74,0x6f,0x5f,0x61,0x00,0x00,0x04,0x68,0x61,0x73,0x68, 0x00,0x00,0x00,0x00,0xa5,0x00,0x02,0x00,0x04,0x00,0x02,0x00,0x00,0x00,0x21,0x00, 0x33,0x00,0x00,0x01,0x23,0x01,0x00,0x14,0x10,0x02,0x55,0x03,0x00,0x2f,0x02,0x00, 0x00,0x21,0x00,0x1d,0x10,0x02,0x55,0x03,0x01,0x2f,0x02,0x00,0x00,0x11,0x02,0x37, 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x65,0x61,0x63,0x68,0x00, 0x00,0x00,0x00,0xa5,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00, 0x33,0x00,0x10,0x00,0x1f,0x03,0x01,0x00,0x0f,0x04,0x01,0x05,0x01,0x48,0x04,0x2c, 0x03,0x00,0x23,0x03,0x00,0x1b,0x0f,0x03,0x21,0x00,0x1f,0x12,0x03,0x38,0x03,0x37, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00, 0x00,0x00,0x00,0x8d,0x00,0x03,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x1a,0x00,0x00, 0x33,0x00,0x10,0x00,0x01,0x03,0x01,0x2e,0x03,0x00,0x00,0x23,0x03,0x00,0x14,0x0f, 0x03,0x21,0x00,0x18,0x12,0x03,0x38,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x01,0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x00,0x00, 0xa5,0x00,0x02,0x00,0x04,0x00,0x02,0x00,0x00,0x00,0x21,0x00,0x33,0x00,0x00,0x01, 0x23,0x01,0x00,0x14,0x10,0x02,0x55,0x03,0x00,0x2f,0x02,0x00,0x00,0x21,0x00,0x1d, 0x10,0x02,0x55,0x03,0x01,0x2f,0x02,0x00,0x00,0x12,0x02,0x37,0x02,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0xa5, 0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x21,0x00,0x00,0x33,0x00,0x10,0x00, 0x1f,0x03,0x01,0x00,0x0f,0x04,0x01,0x05,0x01,0x48,0x04,0x2c,0x03,0x00,0x23,0x03, 0x00,0x1d,0x11,0x03,0x38,0x03,0x21,0x00,0x1f,0x0f,0x03,0x37,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x00,0x00,0x8d, 0x00,0x03,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x1a,0x00,0x00,0x33,0x00,0x10,0x00, 0x01,0x03,0x01,0x2e,0x03,0x00,0x00,0x23,0x03,0x00,0x16,0x11,0x03,0x38,0x03,0x21, 0x00,0x18,0x0f,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x08, 0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x00,0x00,0xc5,0x00,0x03,0x00, 0x06,0x00,0x01,0x00,0x00,0x00,0x24,0x00,0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13, 0x10,0x03,0x0e,0x04,0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x46,0x03,0x00,0x01,0x02, 0x03,0x10,0x03,0x55,0x04,0x00,0x2f,0x03,0x02,0x00,0x37,0x02,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x03,0x00,0x07,0x63,0x6f,0x6c,0x6c,0x65,0x63,0x74,0x00,0x00,0x07, 0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00, 0x00,0x00,0x98,0x00,0x03,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x00,0x00, 0x33,0x00,0x10,0x00,0x1f,0x03,0x02,0x00,0x1f,0x04,0x01,0x00,0x0f,0x05,0x01,0x06, 0x01,0x48,0x05,0x2c,0x04,0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x02,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x04,0x70,0x75,0x73, 0x68,0x00,0x00,0x00,0x01,0x37,0x00,0x03,0x00,0x07,0x00,0x01,0x00,0x00,0x00,0x3f, 0x33,0x00,0x20,0x01,0x21,0x00,0x0a,0x21,0x00,0x0c,0x0f,0x01,0x22,0x02,0x00,0x1e, 0x10,0x03,0x0e,0x04,0x00,0x01,0x05,0x01,0x2e,0x03,0x01,0x02,0x37,0x03,0x10,0x03, 0x55,0x04,0x00,0x2f,0x03,0x02,0x00,0x01,0x03,0x01,0x24,0x03,0x00,0x31,0x21,0x00, 0x36,0x0f,0x03,0x21,0x00,0x3d,0x01,0x03,0x01,0x2e,0x03,0x03,0x00,0x37,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x06,0x64,0x65,0x74,0x65,0x63,0x74,0x00, 0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x65,0x61,0x63,0x68, 0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x00,0x00,0xc4,0x00,0x03,0x00,0x06, 0x00,0x00,0x00,0x00,0x00,0x26,0x00,0x00,0x33,0x00,0x10,0x00,0x1f,0x03,0x02,0x00, 0x0f,0x04,0x01,0x05,0x01,0x48,0x04,0x2c,0x03,0x00,0x23,0x03,0x00,0x22,0x01,0x03, 0x01,0x2e,0x03,0x01,0x00,0x38,0x03,0x21,0x00,0x24,0x0f,0x03,0x37,0x03,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x08,0x5f, 0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x00,0x00,0xc5,0x00,0x03,0x00,0x06, 0x00,0x01,0x00,0x00,0x00,0x22,0x00,0x00,0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13, 0x10,0x03,0x0e,0x04,0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x06,0x02,0x10,0x03,0x55, 0x04,0x00,0x2f,0x03,0x02,0x00,0x10,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x03,0x00,0x0f,0x65,0x61,0x63,0x68,0x5f,0x77,0x69,0x74,0x68,0x5f,0x69,0x6e, 0x64,0x65,0x78,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04, 0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0xbc,0x00,0x03,0x00,0x07,0x00,0x00,0x00, 0x00,0x00,0x24,0x00,0x33,0x00,0x10,0x00,0x1f,0x03,0x01,0x00,0x01,0x04,0x01,0x2e, 0x04,0x00,0x00,0x1f,0x05,0x02,0x00,0x2e,0x03,0x01,0x02,0x1f,0x03,0x02,0x00,0x3c, 0x03,0x01,0x20,0x03,0x02,0x00,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, 0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x04,0x63,0x61,0x6c, 0x6c,0x00,0x00,0x00,0x00,0x75,0x00,0x03,0x00,0x05,0x00,0x01,0x00,0x00,0x00,0x15, 0x33,0x00,0x00,0x00,0x46,0x03,0x00,0x01,0x02,0x03,0x10,0x03,0x55,0x04,0x00,0x2f, 0x03,0x00,0x00,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x65, 0x61,0x63,0x68,0x00,0x00,0x00,0x00,0x80,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00, 0x00,0x15,0x00,0x00,0x33,0x00,0x10,0x00,0x1f,0x03,0x02,0x00,0x01,0x04,0x01,0x2e, 0x04,0x00,0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x02,0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x04,0x70,0x75, 0x73,0x68,0x00,0x00,0x00,0x00,0xc6,0x00,0x03,0x00,0x06,0x00,0x01,0x00,0x00,0x00, 0x24,0x00,0x00,0x00,0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x03,0x0e,0x04, 0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x46,0x03,0x00,0x01,0x02,0x03,0x10,0x03,0x55, 0x04,0x00,0x2f,0x03,0x02,0x00,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03, 0x00,0x08,0x66,0x69,0x6e,0x64,0x5f,0x61,0x6c,0x6c,0x00,0x00,0x07,0x74,0x6f,0x5f, 0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0xe3, 0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x2c,0x00,0x00,0x33,0x00,0x10,0x00, 0x1f,0x03,0x01,0x00,0x0f,0x04,0x01,0x05,0x01,0x48,0x04,0x2c,0x03,0x00,0x23,0x03, 0x00,0x28,0x1f,0x03,0x02,0x00,0x01,0x04,0x01,0x2e,0x04,0x01,0x00,0x2e,0x03,0x02, 0x01,0x21,0x00,0x2a,0x0f,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03, 0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75, 0x65,0x00,0x00,0x04,0x70,0x75,0x73,0x68,0x00,0x00,0x00,0x00,0x75,0x00,0x04,0x00, 0x06,0x00,0x01,0x00,0x00,0x00,0x15,0x00,0x33,0x04,0x00,0x01,0x46,0x04,0x00,0x01, 0x03,0x04,0x10,0x04,0x55,0x05,0x00,0x2f,0x04,0x00,0x00,0x37,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x01,0x59, 0x00,0x04,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x48,0x00,0x00,0x33,0x00,0x10,0x00, 0x01,0x04,0x01,0x2e,0x04,0x00,0x00,0x01,0x03,0x04,0x1f,0x04,0x01,0x00,0x01,0x05, 0x03,0x2e,0x04,0x01,0x01,0x23,0x04,0x00,0x44,0x1f,0x04,0x03,0x00,0x1f,0x05,0x02, 0x00,0x23,0x05,0x00,0x3a,0x1f,0x05,0x02,0x00,0x0f,0x06,0x01,0x07,0x01,0x48,0x06, 0x2c,0x05,0x02,0x21,0x00,0x3d,0x01,0x05,0x03,0x2e,0x04,0x03,0x01,0x21,0x00,0x46, 0x0f,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x08,0x5f,0x5f, 0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x03,0x3d,0x3d,0x3d,0x00,0x00,0x04,0x63, 0x61,0x6c,0x6c,0x00,0x00,0x04,0x70,0x75,0x73,0x68,0x00,0x00,0x00,0x00,0x65,0x00, 0x03,0x00,0x05,0x00,0x01,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0x33,0x04,0x00,0x00, 0x10,0x03,0x55,0x04,0x00,0x2f,0x03,0x00,0x00,0x12,0x03,0x37,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0xa5, 0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x33,0x00,0x10,0x00, 0x01,0x03,0x01,0x2e,0x03,0x00,0x00,0x1f,0x04,0x01,0x00,0x41,0x03,0x23,0x03,0x00, 0x1c,0x11,0x03,0x38,0x03,0x21,0x00,0x1e,0x0f,0x03,0x37,0x03,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x01,0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00, 0x00,0x02,0x48,0x00,0x06,0x00,0x0a,0x00,0x02,0x00,0x00,0x00,0x74,0x00,0x00,0x00, 0x33,0x00,0x10,0x01,0x01,0x06,0x01,0x2e,0x06,0x00,0x00,0x08,0x07,0x44,0x06,0x23, 0x06,0x00,0x1f,0x10,0x06,0x1b,0x07,0x01,0x4f,0x08,0x00,0x2e,0x06,0x02,0x02,0x1b, 0x06,0x03,0x01,0x07,0x01,0x05,0x08,0x2e,0x07,0x04,0x01,0x2e,0x06,0x05,0x01,0x23, 0x06,0x00,0x49,0x01,0x06,0x01,0x05,0x07,0x2e,0x06,0x04,0x01,0x01,0x03,0x06,0x54, 0x02,0x00,0x01,0x06,0x01,0x2e,0x06,0x06,0x00,0x01,0x06,0x01,0x2e,0x06,0x07,0x00, 0x23,0x06,0x00,0x5b,0x11,0x04,0x0f,0x05,0x21,0x00,0x69,0x12,0x04,0x01,0x06,0x01, 0x06,0x07,0x2e,0x06,0x04,0x01,0x01,0x05,0x06,0x10,0x06,0x55,0x07,0x01,0x2f,0x06, 0x08,0x00,0x37,0x05,0x00,0x00,0x00,0x01,0x00,0x00,0x12,0x74,0x6f,0x6f,0x20,0x6d, 0x61,0x6e,0x79,0x20,0x61,0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x73,0x00,0x00,0x00, 0x09,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65, 0x6e,0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00, 0x00,0x06,0x53,0x79,0x6d,0x62,0x6f,0x6c,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x03, 0x3d,0x3d,0x3d,0x00,0x00,0x03,0x70,0x6f,0x70,0x00,0x00,0x06,0x65,0x6d,0x70,0x74, 0x79,0x3f,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0x75,0x00,0x04, 0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x14,0x33,0x08,0x00,0x00,0x01,0x04,0x01,0x1f, 0x05,0x03,0x00,0x01,0x06,0x02,0x2e,0x04,0x00,0x02,0x37,0x04,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x01,0x00,0x08,0x5f,0x5f,0x73,0x65,0x6e,0x64,0x5f,0x5f,0x00,0x00, 0x00,0x01,0x18,0x00,0x03,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x3b,0x00,0x00,0x00, 0x33,0x00,0x10,0x00,0x01,0x03,0x01,0x2e,0x03,0x00,0x00,0x01,0x01,0x03,0x1f,0x03, 0x04,0x00,0x23,0x03,0x00,0x26,0x12,0x03,0x20,0x03,0x04,0x00,0x01,0x03,0x01,0x20, 0x03,0x05,0x00,0x21,0x00,0x39,0x1f,0x03,0x02,0x00,0x1f,0x04,0x05,0x00,0x01,0x05, 0x01,0x2e,0x03,0x01,0x02,0x20,0x03,0x05,0x00,0x37,0x03,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x02,0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x04, 0x63,0x61,0x6c,0x6c,0x00,0x00,0x00,0x00,0x6d,0x00,0x04,0x00,0x06,0x00,0x01,0x00, 0x00,0x00,0x13,0x00,0x33,0x00,0x00,0x01,0x11,0x02,0x0f,0x03,0x10,0x04,0x55,0x05, 0x00,0x2f,0x04,0x00,0x00,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00, 0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x02,0x06,0x00,0x03,0x00,0x07,0x00,0x00, 0x00,0x00,0x00,0x75,0x33,0x00,0x10,0x00,0x01,0x03,0x01,0x2e,0x03,0x00,0x00,0x01, 0x01,0x03,0x1f,0x03,0x02,0x00,0x23,0x03,0x00,0x26,0x01,0x03,0x01,0x20,0x03,0x03, 0x00,0x12,0x03,0x20,0x03,0x02,0x00,0x21,0x00,0x73,0x1f,0x03,0x01,0x00,0x23,0x03, 0x00,0x54,0x1f,0x03,0x01,0x00,0x01,0x04,0x01,0x1f,0x05,0x03,0x00,0x2e,0x03,0x01, 0x02,0x06,0x04,0x44,0x03,0x23,0x03,0x00,0x4f,0x01,0x03,0x01,0x20,0x03,0x03,0x00, 0x21,0x00,0x51,0x0f,0x03,0x21,0x00,0x73,0x01,0x03,0x01,0x1f,0x04,0x03,0x00,0x2e, 0x03,0x02,0x01,0x06,0x04,0x44,0x03,0x23,0x03,0x00,0x71,0x01,0x03,0x01,0x20,0x03, 0x03,0x00,0x21,0x00,0x73,0x0f,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x04,0x63,0x61, 0x6c,0x6c,0x00,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x00,0x00,0x6d,0x00,0x04,0x00, 0x06,0x00,0x01,0x00,0x00,0x00,0x13,0x00,0x33,0x00,0x00,0x01,0x11,0x02,0x0f,0x03, 0x10,0x04,0x55,0x05,0x00,0x2f,0x04,0x00,0x00,0x37,0x03,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x01,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x02,0x06,0x00,0x03, 0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x75,0x33,0x00,0x10,0x00,0x01,0x03,0x01,0x2e, 0x03,0x00,0x00,0x01,0x01,0x03,0x1f,0x03,0x02,0x00,0x23,0x03,0x00,0x26,0x01,0x03, 0x01,0x20,0x03,0x03,0x00,0x12,0x03,0x20,0x03,0x02,0x00,0x21,0x00,0x73,0x1f,0x03, 0x01,0x00,0x23,0x03,0x00,0x54,0x1f,0x03,0x01,0x00,0x01,0x04,0x01,0x1f,0x05,0x03, 0x00,0x2e,0x03,0x01,0x02,0x06,0x04,0x42,0x03,0x23,0x03,0x00,0x4f,0x01,0x03,0x01, 0x20,0x03,0x03,0x00,0x21,0x00,0x51,0x0f,0x03,0x21,0x00,0x73,0x01,0x03,0x01,0x1f, 0x04,0x03,0x00,0x2e,0x03,0x02,0x01,0x06,0x04,0x42,0x03,0x23,0x03,0x00,0x71,0x01, 0x03,0x01,0x20,0x03,0x03,0x00,0x21,0x00,0x73,0x0f,0x03,0x37,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x08,0x5f,0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00, 0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x00,0x01, 0x03,0x00,0x04,0x00,0x07,0x00,0x01,0x00,0x00,0x00,0x33,0x00,0x33,0x00,0x00,0x01, 0x22,0x01,0x00,0x13,0x10,0x04,0x0e,0x05,0x00,0x2e,0x04,0x01,0x01,0x37,0x04,0x46, 0x04,0x00,0x01,0x02,0x04,0x46,0x04,0x00,0x01,0x03,0x04,0x10,0x04,0x55,0x05,0x00, 0x2f,0x04,0x02,0x00,0x01,0x04,0x02,0x01,0x05,0x03,0x46,0x04,0x02,0x37,0x04,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x09,0x70,0x61,0x72,0x74,0x69,0x74,0x69, 0x6f,0x6e,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x65, 0x61,0x63,0x68,0x00,0x00,0x00,0x01,0x17,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00, 0x00,0x39,0x00,0x00,0x33,0x00,0x10,0x00,0x1f,0x03,0x01,0x00,0x0f,0x04,0x01,0x05, 0x01,0x48,0x04,0x2c,0x03,0x00,0x23,0x03,0x00,0x28,0x1f,0x03,0x02,0x00,0x01,0x04, 0x01,0x2e,0x04,0x01,0x00,0x2e,0x03,0x02,0x01,0x21,0x00,0x37,0x1f,0x03,0x03,0x00, 0x01,0x04,0x01,0x2e,0x04,0x01,0x00,0x2e,0x03,0x02,0x01,0x37,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x08,0x5f,0x5f, 0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x04,0x70,0x75,0x73,0x68,0x00,0x00,0x00, 0x00,0xc4,0x00,0x03,0x00,0x06,0x00,0x01,0x00,0x00,0x00,0x24,0x33,0x00,0x00,0x01, 0x22,0x01,0x00,0x13,0x10,0x03,0x0e,0x04,0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x46, 0x03,0x00,0x01,0x02,0x03,0x10,0x03,0x55,0x04,0x00,0x2f,0x03,0x02,0x00,0x37,0x02, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x06,0x72,0x65,0x6a,0x65,0x63,0x74, 0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x65,0x61,0x63, 0x68,0x00,0x00,0x00,0x00,0xe3,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x2c, 0x33,0x00,0x10,0x00,0x1f,0x03,0x01,0x00,0x0f,0x04,0x01,0x05,0x01,0x48,0x04,0x2c, 0x03,0x00,0x23,0x03,0x00,0x1b,0x0f,0x03,0x21,0x00,0x2a,0x1f,0x03,0x02,0x00,0x01, 0x04,0x01,0x2e,0x04,0x01,0x00,0x2e,0x03,0x02,0x01,0x37,0x03,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x03,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x08,0x5f,0x5f,0x73, 0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x04,0x70,0x75,0x73,0x68,0x00,0x00,0x00,0x00, 0x7f,0x00,0x02,0x00,0x04,0x00,0x01,0x00,0x00,0x00,0x16,0x00,0x33,0x00,0x00,0x01, 0x10,0x02,0x55,0x03,0x00,0x2f,0x02,0x00,0x00,0x01,0x03,0x01,0x2f,0x02,0x01,0x00, 0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x03,0x6d,0x61,0x70,0x00, 0x00,0x04,0x73,0x6f,0x72,0x74,0x00,0x00,0x00,0x00,0x59,0x00,0x03,0x00,0x05,0x00, 0x00,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x33,0x00,0x10,0x00,0x01,0x03,0x01,0x2e, 0x03,0x00,0x00,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x08,0x5f, 0x5f,0x73,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x00,0x00,0x79,0x00,0x04,0x00,0x06, 0x00,0x01,0x00,0x00,0x00,0x16,0x00,0x00,0x33,0x00,0x00,0x00,0x65,0x03,0x02,0x30, 0x3b,0x06,0x03,0x10,0x04,0x55,0x05,0x00,0x2f,0x04,0x00,0x00,0x37,0x02,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00, 0xd9,0x00,0x03,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x2a,0x00,0x33,0x04,0x00,0x00, 0x10,0x03,0x1f,0x04,0x02,0x00,0x1f,0x05,0x03,0x00,0x01,0x06,0x01,0x2e,0x06,0x00, 0x00,0x2e,0x03,0x01,0x03,0x20,0x03,0x02,0x00,0x1f,0x03,0x03,0x00,0x3c,0x03,0x01, 0x20,0x03,0x03,0x00,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x04, 0x68,0x61,0x73,0x68,0x00,0x00,0x0d,0x5f,0x5f,0x75,0x70,0x64,0x61,0x74,0x65,0x5f, 0x68,0x61,0x73,0x68,0x00,0x00,0x00,0x02,0xa0,0x00,0x01,0x00,0x03,0x00,0x0e,0x00, 0x00,0x00,0x7b,0x00,0x61,0x01,0x56,0x02,0x00,0x5d,0x01,0x00,0x61,0x01,0x56,0x02, 0x01,0x5d,0x01,0x01,0x61,0x01,0x56,0x02,0x02,0x5d,0x01,0x02,0x61,0x01,0x56,0x02, 0x03,0x5d,0x01,0x03,0x61,0x01,0x56,0x02,0x04,0x5d,0x01,0x04,0x61,0x01,0x56,0x02, 0x05,0x5d,0x01,0x05,0x61,0x01,0x56,0x02,0x06,0x5d,0x01,0x06,0x5e,0x07,0x06,0x61, 0x01,0x56,0x02,0x07,0x5d,0x01,0x08,0x61,0x01,0x56,0x02,0x08,0x5d,0x01,0x09,0x61, 0x01,0x56,0x02,0x09,0x5d,0x01,0x0a,0x5e,0x0b,0x0a,0x61,0x01,0x56,0x02,0x0a,0x5d, 0x01,0x0c,0x61,0x01,0x56,0x02,0x0b,0x5d,0x01,0x0d,0x61,0x01,0x56,0x02,0x0c,0x5d, 0x01,0x0e,0x61,0x01,0x56,0x02,0x0d,0x5d,0x01,0x0f,0x0e,0x01,0x0f,0x37,0x01,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x02,0x3d,0x3d,0x00,0x00,0x04,0x65,0x71, 0x6c,0x3f,0x00,0x00,0x06,0x64,0x65,0x6c,0x65,0x74,0x65,0x00,0x00,0x04,0x65,0x61, 0x63,0x68,0x00,0x00,0x08,0x65,0x61,0x63,0x68,0x5f,0x6b,0x65,0x79,0x00,0x00,0x0a, 0x65,0x61,0x63,0x68,0x5f,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x07,0x72,0x65,0x70, 0x6c,0x61,0x63,0x65,0x00,0x00,0x0f,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x69,0x7a, 0x65,0x5f,0x63,0x6f,0x70,0x79,0x00,0x00,0x05,0x6d,0x65,0x72,0x67,0x65,0x00,0x00, 0x08,0x5f,0x69,0x6e,0x73,0x70,0x65,0x63,0x74,0x00,0x00,0x07,0x69,0x6e,0x73,0x70, 0x65,0x63,0x74,0x00,0x00,0x04,0x74,0x6f,0x5f,0x73,0x00,0x00,0x07,0x72,0x65,0x6a, 0x65,0x63,0x74,0x21,0x00,0x00,0x06,0x72,0x65,0x6a,0x65,0x63,0x74,0x00,0x00,0x07, 0x73,0x65,0x6c,0x65,0x63,0x74,0x21,0x00,0x00,0x06,0x73,0x65,0x6c,0x65,0x63,0x74, 0x00,0x00,0x00,0x01,0x77,0x00,0x03,0x00,0x06,0x00,0x01,0x00,0x00,0x00,0x4d,0x00, 0x33,0x04,0x00,0x00,0x10,0x03,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x23,0x03,0x00, 0x15,0x11,0x03,0x37,0x03,0x1b,0x03,0x01,0x01,0x04,0x01,0x2e,0x03,0x02,0x01,0x22, 0x03,0x00,0x27,0x12,0x03,0x37,0x03,0x10,0x03,0x2e,0x03,0x03,0x00,0x01,0x04,0x01, 0x2e,0x04,0x03,0x00,0x2e,0x03,0x04,0x01,0x23,0x03,0x00,0x40,0x12,0x03,0x37,0x03, 0x10,0x03,0x55,0x04,0x00,0x2f,0x03,0x05,0x00,0x11,0x03,0x37,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x06,0x00,0x06,0x65,0x71,0x75,0x61,0x6c,0x3f,0x00,0x00,0x04, 0x48,0x61,0x73,0x68,0x00,0x00,0x03,0x3d,0x3d,0x3d,0x00,0x00,0x04,0x73,0x69,0x7a, 0x65,0x00,0x00,0x02,0x21,0x3d,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00, 0x01,0x16,0x00,0x04,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x3c,0x33,0x08,0x00,0x00, 0x1f,0x04,0x01,0x00,0x01,0x05,0x01,0x2e,0x04,0x00,0x01,0x22,0x04,0x00,0x17,0x12, 0x04,0x38,0x04,0x10,0x04,0x01,0x05,0x01,0x2e,0x04,0x01,0x01,0x1f,0x05,0x01,0x00, 0x01,0x06,0x01,0x2e,0x05,0x01,0x01,0x41,0x04,0x23,0x04,0x00,0x36,0x0f,0x04,0x21, 0x00,0x3a,0x12,0x04,0x38,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, 0x00,0x04,0x6b,0x65,0x79,0x3f,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x00,0x01,0x77, 0x00,0x03,0x00,0x06,0x00,0x01,0x00,0x00,0x00,0x4d,0x00,0x00,0x33,0x04,0x00,0x00, 0x10,0x03,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x23,0x03,0x00,0x15,0x11,0x03,0x37, 0x03,0x1b,0x03,0x01,0x01,0x04,0x01,0x2e,0x03,0x02,0x01,0x22,0x03,0x00,0x27,0x12, 0x03,0x37,0x03,0x10,0x03,0x2e,0x03,0x03,0x00,0x01,0x04,0x01,0x2e,0x04,0x03,0x00, 0x2e,0x03,0x04,0x01,0x23,0x03,0x00,0x40,0x12,0x03,0x37,0x03,0x10,0x03,0x55,0x04, 0x00,0x2f,0x03,0x05,0x00,0x11,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x06,0x00,0x06,0x65,0x71,0x75,0x61,0x6c,0x3f,0x00,0x00,0x04,0x48,0x61,0x73,0x68, 0x00,0x00,0x03,0x3d,0x3d,0x3d,0x00,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x02, 0x21,0x3d,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x01,0x25,0x00,0x04, 0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x3e,0x33,0x08,0x00,0x00,0x1f,0x04,0x01,0x00, 0x01,0x05,0x01,0x2e,0x04,0x00,0x01,0x22,0x04,0x00,0x17,0x12,0x04,0x38,0x04,0x10, 0x04,0x01,0x05,0x01,0x2e,0x04,0x01,0x01,0x1f,0x05,0x01,0x00,0x01,0x06,0x01,0x2e, 0x05,0x01,0x01,0x2e,0x04,0x02,0x01,0x23,0x04,0x00,0x38,0x0f,0x04,0x21,0x00,0x3c, 0x12,0x04,0x38,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x04, 0x6b,0x65,0x79,0x3f,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x04,0x65,0x71,0x6c,0x3f, 0x00,0x00,0x00,0x01,0x07,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x33,0x00, 0x33,0x04,0x00,0x01,0x01,0x03,0x02,0x23,0x03,0x00,0x18,0x10,0x03,0x01,0x04,0x01, 0x2e,0x03,0x00,0x01,0x2e,0x03,0x01,0x00,0x23,0x03,0x00,0x28,0x01,0x03,0x02,0x01, 0x04,0x01,0x2e,0x03,0x02,0x01,0x37,0x03,0x10,0x03,0x01,0x04,0x01,0x2e,0x03,0x03, 0x01,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x08,0x68,0x61,0x73, 0x5f,0x6b,0x65,0x79,0x3f,0x00,0x00,0x01,0x21,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c, 0x00,0x00,0x08,0x5f,0x5f,0x64,0x65,0x6c,0x65,0x74,0x65,0x00,0x00,0x00,0x01,0xf6, 0x00,0x06,0x00,0x0b,0x00,0x00,0x00,0x00,0x00,0x6a,0x00,0x00,0x33,0x00,0x00,0x01, 0x22,0x01,0x00,0x13,0x10,0x06,0x0e,0x07,0x00,0x2e,0x06,0x01,0x01,0x37,0x06,0x10, 0x06,0x2e,0x06,0x02,0x00,0x01,0x02,0x06,0x10,0x06,0x2e,0x06,0x03,0x00,0x01,0x03, 0x06,0x10,0x06,0x2e,0x06,0x04,0x00,0x01,0x04,0x06,0x06,0x05,0x21,0x00,0x5a,0x01, 0x06,0x01,0x01,0x07,0x02,0x01,0x08,0x05,0x2e,0x07,0x05,0x01,0x01,0x08,0x03,0x01, 0x09,0x05,0x2e,0x08,0x05,0x01,0x46,0x07,0x02,0x2e,0x06,0x06,0x01,0x01,0x06,0x05, 0x3c,0x06,0x01,0x01,0x05,0x06,0x01,0x06,0x05,0x01,0x07,0x04,0x42,0x06,0x22,0x06, 0x00,0x33,0x10,0x06,0x37,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x04, 0x65,0x61,0x63,0x68,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00, 0x04,0x6b,0x65,0x79,0x73,0x00,0x00,0x06,0x76,0x61,0x6c,0x75,0x65,0x73,0x00,0x00, 0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x04,0x63,0x61,0x6c, 0x6c,0x00,0x00,0x00,0x00,0xcd,0x00,0x02,0x00,0x05,0x00,0x01,0x00,0x00,0x00,0x24, 0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x02,0x0e,0x03,0x00,0x2e,0x02,0x01, 0x01,0x37,0x02,0x10,0x02,0x2e,0x02,0x02,0x00,0x55,0x03,0x00,0x2f,0x02,0x03,0x00, 0x10,0x02,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x08,0x65,0x61, 0x63,0x68,0x5f,0x6b,0x65,0x79,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d, 0x00,0x00,0x04,0x6b,0x65,0x79,0x73,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00, 0x00,0x00,0x65,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x11,0x00,0x00,0x00, 0x33,0x04,0x00,0x00,0x1f,0x03,0x01,0x00,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x37, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00, 0x00,0x00,0x00,0xcf,0x00,0x02,0x00,0x05,0x00,0x01,0x00,0x00,0x00,0x24,0x00,0x00, 0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x02,0x0e,0x03,0x00,0x2e,0x02,0x01, 0x01,0x37,0x02,0x10,0x02,0x2e,0x02,0x02,0x00,0x55,0x03,0x00,0x2f,0x02,0x03,0x00, 0x10,0x02,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x0a,0x65,0x61, 0x63,0x68,0x5f,0x76,0x61,0x6c,0x75,0x65,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e, 0x75,0x6d,0x00,0x00,0x04,0x6b,0x65,0x79,0x73,0x00,0x00,0x04,0x65,0x61,0x63,0x68, 0x00,0x00,0x00,0x00,0x82,0x00,0x03,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x17,0x00, 0x33,0x04,0x00,0x00,0x1f,0x03,0x01,0x00,0x10,0x04,0x01,0x05,0x01,0x2e,0x04,0x00, 0x01,0x2e,0x03,0x01,0x01,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00, 0x02,0x5b,0x5d,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x00,0x02,0x5e,0x00, 0x03,0x00,0x08,0x00,0x01,0x00,0x00,0x00,0x6e,0x00,0x00,0x00,0x33,0x04,0x00,0x00, 0x1b,0x03,0x00,0x01,0x04,0x01,0x2e,0x03,0x01,0x01,0x22,0x03,0x00,0x2c,0x10,0x03, 0x1b,0x04,0x02,0x4f,0x05,0x00,0x01,0x06,0x01,0x2e,0x06,0x03,0x00,0x50,0x05,0x4f, 0x06,0x01,0x50,0x05,0x2e,0x03,0x04,0x02,0x10,0x03,0x2e,0x03,0x05,0x00,0x01,0x03, 0x01,0x55,0x04,0x00,0x2f,0x03,0x06,0x00,0x01,0x03,0x01,0x2e,0x03,0x07,0x00,0x23, 0x03,0x00,0x5a,0x01,0x03,0x01,0x2e,0x03,0x07,0x00,0x10,0x04,0x01,0x05,0x03,0x2e, 0x04,0x08,0x01,0x21,0x00,0x6a,0x01,0x03,0x01,0x2e,0x03,0x09,0x00,0x10,0x04,0x01, 0x05,0x03,0x2e,0x04,0x0a,0x01,0x10,0x03,0x37,0x03,0x00,0x00,0x00,0x02,0x00,0x00, 0x0f,0x48,0x61,0x73,0x68,0x20,0x72,0x65,0x71,0x75,0x69,0x72,0x65,0x64,0x20,0x28, 0x00,0x00,0x07,0x20,0x67,0x69,0x76,0x65,0x6e,0x29,0x00,0x00,0x00,0x0b,0x00,0x04, 0x48,0x61,0x73,0x68,0x00,0x00,0x03,0x3d,0x3d,0x3d,0x00,0x00,0x09,0x54,0x79,0x70, 0x65,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x63,0x6c,0x61,0x73,0x73,0x00,0x00, 0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x05,0x63,0x6c,0x65,0x61,0x72,0x00,0x00, 0x08,0x65,0x61,0x63,0x68,0x5f,0x6b,0x65,0x79,0x00,0x00,0x0c,0x64,0x65,0x66,0x61, 0x75,0x6c,0x74,0x5f,0x70,0x72,0x6f,0x63,0x00,0x00,0x0d,0x64,0x65,0x66,0x61,0x75, 0x6c,0x74,0x5f,0x70,0x72,0x6f,0x63,0x3d,0x00,0x00,0x07,0x64,0x65,0x66,0x61,0x75, 0x6c,0x74,0x00,0x00,0x08,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x3d,0x00,0x00,0x00, 0x00,0x99,0x00,0x03,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x1d,0x33,0x04,0x00,0x00, 0x1f,0x03,0x01,0x00,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x10,0x04,0x01,0x05,0x01, 0x01,0x06,0x03,0x2e,0x04,0x01,0x02,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x02,0x00,0x02,0x5b,0x5d,0x00,0x00,0x03,0x5b,0x5d,0x3d,0x00,0x00,0x00,0x01,0xb8, 0x00,0x04,0x00,0x09,0x00,0x02,0x00,0x00,0x00,0x52,0x00,0x00,0x33,0x04,0x00,0x01, 0x1b,0x04,0x00,0x01,0x05,0x01,0x2e,0x04,0x01,0x01,0x22,0x04,0x00,0x2c,0x10,0x04, 0x1b,0x05,0x02,0x4f,0x06,0x00,0x01,0x07,0x01,0x2e,0x07,0x03,0x00,0x50,0x06,0x4f, 0x07,0x01,0x50,0x06,0x2e,0x04,0x04,0x02,0x10,0x04,0x2e,0x04,0x05,0x00,0x01,0x03, 0x04,0x23,0x02,0x00,0x46,0x01,0x04,0x01,0x55,0x05,0x00,0x2f,0x04,0x06,0x00,0x21, 0x00,0x50,0x01,0x04,0x01,0x55,0x05,0x01,0x2f,0x04,0x06,0x00,0x37,0x03,0x00,0x00, 0x00,0x02,0x00,0x00,0x0f,0x48,0x61,0x73,0x68,0x20,0x72,0x65,0x71,0x75,0x69,0x72, 0x65,0x64,0x20,0x28,0x00,0x00,0x07,0x20,0x67,0x69,0x76,0x65,0x6e,0x29,0x00,0x00, 0x00,0x07,0x00,0x04,0x48,0x61,0x73,0x68,0x00,0x00,0x03,0x3d,0x3d,0x3d,0x00,0x00, 0x09,0x54,0x79,0x70,0x65,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x63,0x6c,0x61, 0x73,0x73,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x03,0x64,0x75,0x70, 0x00,0x00,0x08,0x65,0x61,0x63,0x68,0x5f,0x6b,0x65,0x79,0x00,0x00,0x00,0x01,0x6f, 0x00,0x03,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x4e,0x00,0x00,0x33,0x04,0x00,0x00, 0x10,0x03,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x23,0x03,0x00,0x33,0x1f,0x03,0x02, 0x00,0x01,0x04,0x01,0x10,0x05,0x01,0x06,0x01,0x2e,0x05,0x01,0x01,0x1f,0x06,0x01, 0x00,0x01,0x07,0x01,0x2e,0x06,0x01,0x01,0x2e,0x03,0x02,0x03,0x21,0x00,0x3e,0x1f, 0x03,0x01,0x00,0x01,0x04,0x01,0x2e,0x03,0x01,0x01,0x1f,0x04,0x03,0x00,0x01,0x05, 0x01,0x01,0x06,0x03,0x2e,0x04,0x03,0x02,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x04,0x00,0x08,0x68,0x61,0x73,0x5f,0x6b,0x65,0x79,0x3f,0x00,0x00,0x02,0x5b, 0x5d,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x03,0x5b,0x5d,0x3d,0x00,0x00, 0x00,0x00,0xa1,0x00,0x03,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00, 0x33,0x04,0x00,0x00,0x1f,0x03,0x01,0x00,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x1f, 0x04,0x03,0x00,0x01,0x05,0x01,0x01,0x06,0x03,0x2e,0x04,0x01,0x02,0x37,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x5b,0x5d,0x00,0x00,0x03,0x5b,0x5d, 0x3d,0x00,0x00,0x00,0x03,0x5d,0x00,0x08,0x00,0x0d,0x00,0x00,0x00,0x00,0x00,0xba, 0x33,0x04,0x00,0x00,0x10,0x08,0x2e,0x08,0x00,0x00,0x06,0x09,0x41,0x08,0x23,0x08, 0x00,0x17,0x4f,0x08,0x00,0x37,0x08,0x01,0x08,0x01,0x10,0x09,0x2e,0x09,0x01,0x00, 0x2e,0x08,0x02,0x01,0x23,0x08,0x00,0x2d,0x4f,0x08,0x01,0x37,0x08,0x11,0x08,0x01, 0x09,0x01,0x10,0x0a,0x2e,0x0a,0x01,0x00,0x01,0x0b,0x08,0x2e,0x09,0x03,0x02,0x46, 0x08,0x00,0x01,0x03,0x08,0x10,0x08,0x2e,0x08,0x04,0x00,0x01,0x04,0x08,0x2e,0x08, 0x00,0x00,0x01,0x05,0x08,0x06,0x06,0x21,0x00,0x98,0x01,0x08,0x04,0x01,0x09,0x06, 0x2e,0x08,0x02,0x01,0x01,0x07,0x08,0x01,0x08,0x03,0x01,0x09,0x07,0x01,0x0a,0x01, 0x2e,0x09,0x05,0x01,0x4f,0x0a,0x02,0x3b,0x09,0x10,0x0a,0x01,0x0b,0x07,0x2e,0x0a, 0x02,0x01,0x01,0x0b,0x01,0x2e,0x0a,0x05,0x01,0x3b,0x09,0x2e,0x08,0x06,0x01,0x01, 0x08,0x06,0x3c,0x08,0x01,0x01,0x06,0x08,0x01,0x08,0x06,0x01,0x09,0x05,0x42,0x08, 0x22,0x08,0x00,0x5a,0x4f,0x08,0x03,0x01,0x09,0x03,0x4f,0x0a,0x04,0x2e,0x09,0x07, 0x01,0x3b,0x08,0x4f,0x09,0x05,0x3b,0x08,0x37,0x08,0x00,0x00,0x00,0x06,0x00,0x00, 0x02,0x7b,0x7d,0x00,0x00,0x05,0x7b,0x2e,0x2e,0x2e,0x7d,0x00,0x00,0x02,0x3d,0x3e, 0x00,0x00,0x01,0x7b,0x00,0x00,0x02,0x2c,0x20,0x00,0x00,0x01,0x7d,0x00,0x00,0x00, 0x08,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x09,0x6f,0x62,0x6a,0x65,0x63,0x74, 0x5f,0x69,0x64,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x03,0x5b,0x5d,0x3d,0x00,0x00, 0x04,0x6b,0x65,0x79,0x73,0x00,0x00,0x08,0x5f,0x69,0x6e,0x73,0x70,0x65,0x63,0x74, 0x00,0x00,0x02,0x3c,0x3c,0x00,0x00,0x04,0x6a,0x6f,0x69,0x6e,0x00,0x00,0x00,0x00, 0x61,0x00,0x02,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x33,0x00,0x00,0x00, 0x10,0x02,0x51,0x03,0x00,0x2e,0x02,0x00,0x01,0x37,0x02,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x01,0x00,0x08,0x5f,0x69,0x6e,0x73,0x70,0x65,0x63,0x74,0x00,0x00,0x00, 0x01,0x48,0x00,0x03,0x00,0x06,0x00,0x02,0x00,0x00,0x00,0x43,0x33,0x00,0x00,0x01, 0x22,0x01,0x00,0x13,0x10,0x03,0x0e,0x04,0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x46, 0x03,0x00,0x01,0x02,0x03,0x10,0x03,0x55,0x04,0x00,0x2f,0x03,0x02,0x00,0x01,0x03, 0x02,0x2e,0x03,0x03,0x00,0x06,0x04,0x41,0x03,0x23,0x03,0x00,0x35,0x0f,0x03,0x37, 0x03,0x01,0x03,0x02,0x55,0x04,0x01,0x2f,0x03,0x02,0x00,0x10,0x03,0x37,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x07,0x72,0x65,0x6a,0x65,0x63,0x74,0x21, 0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x65,0x61,0x63, 0x68,0x00,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x00,0x00,0xd4,0x00,0x04,0x00, 0x07,0x00,0x00,0x00,0x00,0x00,0x2b,0x00,0x33,0x08,0x00,0x00,0x1f,0x04,0x01,0x00, 0x01,0x05,0x01,0x01,0x06,0x02,0x46,0x05,0x02,0x2e,0x04,0x00,0x01,0x23,0x04,0x00, 0x27,0x1f,0x04,0x02,0x00,0x01,0x05,0x01,0x2e,0x04,0x01,0x01,0x21,0x00,0x29,0x0f, 0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x04,0x63,0x61,0x6c, 0x6c,0x00,0x00,0x04,0x70,0x75,0x73,0x68,0x00,0x00,0x00,0x00,0x5f,0x00,0x03,0x00, 0x06,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x33,0x04,0x00,0x00,0x10,0x03,0x01,0x04, 0x01,0x2e,0x03,0x00,0x01,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00, 0x06,0x64,0x65,0x6c,0x65,0x74,0x65,0x00,0x00,0x00,0x00,0xc4,0x00,0x03,0x00,0x06, 0x00,0x01,0x00,0x00,0x00,0x24,0x00,0x00,0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13, 0x10,0x03,0x0e,0x04,0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x51,0x03,0x00,0x01,0x02, 0x03,0x10,0x03,0x55,0x04,0x00,0x2f,0x03,0x02,0x00,0x37,0x02,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x03,0x00,0x06,0x72,0x65,0x6a,0x65,0x63,0x74,0x00,0x00,0x07,0x74, 0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00, 0x00,0xf7,0x00,0x04,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x34,0x33,0x08,0x00,0x00, 0x1f,0x04,0x01,0x00,0x01,0x05,0x01,0x01,0x06,0x02,0x46,0x05,0x02,0x2e,0x04,0x00, 0x01,0x23,0x04,0x00,0x1e,0x0f,0x04,0x21,0x00,0x32,0x01,0x04,0x02,0x1f,0x05,0x02, 0x00,0x01,0x06,0x01,0x01,0x07,0x04,0x2e,0x05,0x01,0x02,0x01,0x04,0x04,0x37,0x04, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00, 0x03,0x5b,0x5d,0x3d,0x00,0x00,0x00,0x01,0x48,0x00,0x03,0x00,0x06,0x00,0x02,0x00, 0x00,0x00,0x43,0x00,0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x03,0x0e,0x04, 0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x46,0x03,0x00,0x01,0x02,0x03,0x10,0x03,0x55, 0x04,0x00,0x2f,0x03,0x02,0x00,0x01,0x03,0x02,0x2e,0x03,0x03,0x00,0x06,0x04,0x41, 0x03,0x23,0x03,0x00,0x35,0x0f,0x03,0x37,0x03,0x01,0x03,0x02,0x55,0x04,0x01,0x2f, 0x03,0x02,0x00,0x10,0x03,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00, 0x07,0x73,0x65,0x6c,0x65,0x63,0x74,0x21,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e, 0x75,0x6d,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x04,0x73,0x69,0x7a,0x65, 0x00,0x00,0x00,0x00,0xd4,0x00,0x04,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x2b,0x00, 0x33,0x08,0x00,0x00,0x1f,0x04,0x01,0x00,0x01,0x05,0x01,0x01,0x06,0x02,0x46,0x05, 0x02,0x2e,0x04,0x00,0x01,0x23,0x04,0x00,0x1e,0x0f,0x04,0x21,0x00,0x29,0x1f,0x04, 0x02,0x00,0x01,0x05,0x01,0x2e,0x04,0x01,0x01,0x37,0x04,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x02,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x04,0x70,0x75,0x73,0x68, 0x00,0x00,0x00,0x00,0x5f,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x0f,0x00, 0x33,0x04,0x00,0x00,0x10,0x03,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x37,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x06,0x64,0x65,0x6c,0x65,0x74,0x65,0x00, 0x00,0x00,0x00,0xc4,0x00,0x03,0x00,0x06,0x00,0x01,0x00,0x00,0x00,0x24,0x00,0x00, 0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x03,0x0e,0x04,0x00,0x2e,0x03,0x01, 0x01,0x37,0x03,0x51,0x03,0x00,0x01,0x02,0x03,0x10,0x03,0x55,0x04,0x00,0x2f,0x03, 0x02,0x00,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x06,0x73,0x65, 0x6c,0x65,0x63,0x74,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00, 0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0xf7,0x00,0x04,0x00,0x09,0x00,0x00, 0x00,0x00,0x00,0x34,0x33,0x08,0x00,0x00,0x1f,0x04,0x01,0x00,0x01,0x05,0x01,0x01, 0x06,0x02,0x46,0x05,0x02,0x2e,0x04,0x00,0x01,0x23,0x04,0x00,0x30,0x01,0x04,0x02, 0x1f,0x05,0x02,0x00,0x01,0x06,0x01,0x01,0x07,0x04,0x2e,0x05,0x01,0x02,0x01,0x04, 0x04,0x21,0x00,0x32,0x0f,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, 0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x03,0x5b,0x5d,0x3d,0x00,0x00,0x00,0x00, 0x5d,0x00,0x01,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x10,0x01,0x1b,0x02, 0x00,0x2e,0x01,0x01,0x01,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00, 0x0a,0x45,0x6e,0x75,0x6d,0x65,0x72,0x61,0x62,0x6c,0x65,0x00,0x00,0x07,0x69,0x6e, 0x63,0x6c,0x75,0x64,0x65,0x00,0x00,0x00,0x00,0xf3,0x00,0x01,0x00,0x03,0x00,0x05, 0x00,0x00,0x00,0x2d,0x61,0x01,0x56,0x02,0x00,0x5d,0x01,0x00,0x61,0x01,0x56,0x02, 0x01,0x5d,0x01,0x01,0x61,0x01,0x56,0x02,0x02,0x5d,0x01,0x02,0x61,0x01,0x56,0x02, 0x03,0x5d,0x01,0x03,0x61,0x01,0x56,0x02,0x04,0x5d,0x01,0x04,0x0e,0x01,0x04,0x37, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x01,0x60,0x00,0x00,0x04,0x6c, 0x6f,0x6f,0x70,0x00,0x00,0x02,0x21,0x7e,0x00,0x00,0x08,0x5f,0x69,0x6e,0x73,0x70, 0x65,0x63,0x74,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x00, 0x00,0xb3,0x00,0x03,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x16,0x33,0x04,0x00,0x00, 0x10,0x03,0x1b,0x04,0x00,0x4f,0x05,0x00,0x2e,0x04,0x01,0x01,0x2e,0x03,0x02,0x01, 0x37,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x1a,0x62,0x61,0x63,0x6b,0x71,0x75,0x6f, 0x74,0x65,0x73,0x20,0x6e,0x6f,0x74,0x20,0x69,0x6d,0x70,0x6c,0x65,0x6d,0x65,0x6e, 0x74,0x65,0x64,0x00,0x00,0x00,0x03,0x00,0x13,0x4e,0x6f,0x74,0x49,0x6d,0x70,0x6c, 0x65,0x6d,0x65,0x6e,0x74,0x65,0x64,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x03,0x6e, 0x65,0x77,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x00,0x01,0x77,0x00, 0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x4b,0x00,0x00,0x00,0x33,0x00,0x00,0x01, 0x25,0x00,0x2c,0x22,0x01,0x00,0x16,0x10,0x03,0x0e,0x04,0x00,0x2e,0x03,0x01,0x01, 0x38,0x03,0x21,0x00,0x21,0x3a,0x03,0x00,0x00,0x2e,0x03,0x02,0x00,0x11,0x03,0x22, 0x03,0x00,0x19,0x0f,0x03,0x21,0x00,0x47,0x26,0x03,0x1b,0x04,0x03,0x27,0x03,0x04, 0x22,0x04,0x00,0x3b,0x21,0x00,0x45,0x01,0x02,0x03,0x2e,0x03,0x04,0x00,0x21,0x00, 0x49,0x29,0x03,0x28,0x01,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00, 0x04,0x6c,0x6f,0x6f,0x70,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00, 0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x0d,0x53,0x74,0x6f,0x70,0x49,0x74,0x65, 0x72,0x61,0x74,0x69,0x6f,0x6e,0x00,0x00,0x06,0x72,0x65,0x73,0x75,0x6c,0x74,0x00, 0x00,0x00,0x00,0x6f,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x13,0x00,0x00, 0x33,0x04,0x00,0x00,0x10,0x03,0x01,0x04,0x01,0x2e,0x03,0x00,0x01,0x2e,0x03,0x01, 0x00,0x37,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x3d,0x7e,0x00, 0x00,0x01,0x21,0x00,0x00,0x00,0x00,0x54,0x00,0x03,0x00,0x05,0x00,0x00,0x00,0x00, 0x00,0x0c,0x00,0x00,0x33,0x04,0x00,0x00,0x10,0x03,0x2e,0x03,0x00,0x00,0x37,0x03, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x07,0x69,0x6e,0x73,0x70,0x65,0x63, 0x74,0x00,0x00,0x00,0x00,0xb6,0x00,0x03,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x16, 0x33,0x00,0x10,0x00,0x10,0x03,0x1b,0x04,0x00,0x4f,0x05,0x00,0x2e,0x04,0x01,0x01, 0x2e,0x03,0x02,0x01,0x37,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x1d,0x66,0x69,0x62, 0x65,0x72,0x20,0x72,0x65,0x71,0x75,0x69,0x72,0x65,0x64,0x20,0x66,0x6f,0x72,0x20, 0x65,0x6e,0x75,0x6d,0x65,0x72,0x61,0x74,0x6f,0x72,0x00,0x00,0x00,0x03,0x00,0x13, 0x4e,0x6f,0x74,0x49,0x6d,0x70,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x65,0x64,0x45,0x72, 0x72,0x6f,0x72,0x00,0x00,0x03,0x6e,0x65,0x77,0x00,0x00,0x05,0x72,0x61,0x69,0x73, 0x65,0x00,0x00,0x00,0x00,0xd9,0x00,0x01,0x00,0x04,0x00,0x03,0x00,0x00,0x00,0x26, 0x10,0x01,0x1b,0x02,0x00,0x2e,0x01,0x01,0x01,0x61,0x01,0x56,0x02,0x00,0x5d,0x01, 0x02,0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x03,0x61,0x01,0x56,0x02,0x02,0x5d,0x01, 0x04,0x0e,0x01,0x04,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x0a, 0x43,0x6f,0x6d,0x70,0x61,0x72,0x61,0x62,0x6c,0x65,0x00,0x00,0x07,0x69,0x6e,0x63, 0x6c,0x75,0x64,0x65,0x00,0x00,0x02,0x2b,0x40,0x00,0x00,0x02,0x2d,0x40,0x00,0x00, 0x03,0x61,0x62,0x73,0x00,0x00,0x00,0x00,0x3a,0x00,0x02,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x08,0x00,0x33,0x00,0x00,0x00,0x10,0x02,0x37,0x02,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4a,0x00,0x02,0x00,0x05,0x00,0x00,0x00,0x00, 0x00,0x0c,0x00,0x00,0x33,0x00,0x00,0x00,0x06,0x02,0x10,0x03,0x3d,0x02,0x37,0x02, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8b,0x00,0x02,0x00,0x05, 0x00,0x00,0x00,0x00,0x00,0x1b,0x00,0x00,0x33,0x00,0x00,0x00,0x10,0x02,0x06,0x03, 0x42,0x02,0x23,0x02,0x00,0x17,0x10,0x02,0x2e,0x02,0x00,0x00,0x21,0x00,0x19,0x10, 0x02,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x2d,0x40,0x00, 0x00,0x00,0x01,0x07,0x00,0x01,0x00,0x03,0x00,0x05,0x00,0x00,0x00,0x30,0x00,0x00, 0x61,0x01,0x56,0x02,0x00,0x5d,0x01,0x00,0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x01, 0x5e,0x02,0x01,0x61,0x01,0x56,0x02,0x02,0x5d,0x01,0x03,0x61,0x01,0x56,0x02,0x03, 0x5d,0x01,0x04,0x61,0x01,0x56,0x02,0x04,0x5d,0x01,0x05,0x0e,0x01,0x05,0x37,0x01, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x06,0x64,0x6f,0x77,0x6e,0x74,0x6f, 0x00,0x00,0x04,0x6e,0x65,0x78,0x74,0x00,0x00,0x04,0x73,0x75,0x63,0x63,0x00,0x00, 0x05,0x74,0x69,0x6d,0x65,0x73,0x00,0x00,0x04,0x75,0x70,0x74,0x6f,0x00,0x00,0x04, 0x73,0x74,0x65,0x70,0x00,0x00,0x00,0x01,0x4f,0x00,0x04,0x00,0x08,0x00,0x00,0x00, 0x00,0x00,0x45,0x00,0x33,0x04,0x00,0x01,0x22,0x02,0x00,0x16,0x10,0x04,0x0e,0x05, 0x00,0x01,0x06,0x01,0x2e,0x04,0x01,0x02,0x37,0x04,0x10,0x04,0x2e,0x04,0x02,0x00, 0x01,0x03,0x04,0x21,0x00,0x35,0x01,0x04,0x02,0x01,0x05,0x03,0x2e,0x04,0x03,0x01, 0x01,0x04,0x03,0x3e,0x04,0x01,0x01,0x03,0x04,0x01,0x04,0x03,0x01,0x05,0x01,0x45, 0x04,0x22,0x04,0x00,0x22,0x10,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x04,0x00,0x06,0x64,0x6f,0x77,0x6e,0x74,0x6f,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65, 0x6e,0x75,0x6d,0x00,0x00,0x04,0x74,0x6f,0x5f,0x69,0x00,0x00,0x04,0x63,0x61,0x6c, 0x6c,0x00,0x00,0x00,0x00,0x46,0x00,0x02,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x0b, 0x33,0x00,0x00,0x00,0x10,0x02,0x3c,0x02,0x01,0x37,0x02,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x01,0x1b,0x00,0x03,0x00,0x06,0x00,0x00,0x00,0x00,0x00, 0x3a,0x00,0x00,0x00,0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x03,0x0e,0x04, 0x00,0x2e,0x03,0x01,0x01,0x37,0x03,0x06,0x02,0x21,0x00,0x2b,0x01,0x03,0x01,0x01, 0x04,0x02,0x2e,0x03,0x02,0x01,0x01,0x03,0x02,0x3c,0x03,0x01,0x01,0x02,0x03,0x01, 0x03,0x02,0x10,0x04,0x42,0x03,0x22,0x03,0x00,0x18,0x10,0x03,0x37,0x03,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x05,0x74,0x69,0x6d,0x65,0x73,0x00,0x00,0x07, 0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00, 0x00,0x01,0x4d,0x00,0x04,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x45,0x00,0x00,0x00, 0x33,0x04,0x00,0x01,0x22,0x02,0x00,0x16,0x10,0x04,0x0e,0x05,0x00,0x01,0x06,0x01, 0x2e,0x04,0x01,0x02,0x37,0x04,0x10,0x04,0x2e,0x04,0x02,0x00,0x01,0x03,0x04,0x21, 0x00,0x35,0x01,0x04,0x02,0x01,0x05,0x03,0x2e,0x04,0x03,0x01,0x01,0x04,0x03,0x3c, 0x04,0x01,0x01,0x03,0x04,0x01,0x04,0x03,0x01,0x05,0x01,0x43,0x04,0x22,0x04,0x00, 0x22,0x10,0x04,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x75, 0x70,0x74,0x6f,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x04, 0x74,0x6f,0x5f,0x69,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x00,0x05,0x59, 0x00,0x05,0x00,0x0a,0x00,0x00,0x00,0x00,0x01,0x35,0x00,0x00,0x33,0x00,0x40,0x01, 0x21,0x00,0x0d,0x21,0x00,0x0f,0x21,0x00,0x11,0x0f,0x01,0x07,0x02,0x01,0x05,0x02, 0x06,0x06,0x41,0x05,0x23,0x05,0x00,0x28,0x10,0x05,0x1b,0x06,0x00,0x4f,0x07,0x00, 0x2e,0x05,0x01,0x02,0x22,0x03,0x00,0x3d,0x10,0x05,0x0e,0x06,0x02,0x01,0x07,0x01, 0x01,0x08,0x02,0x2e,0x05,0x03,0x03,0x37,0x05,0x10,0x05,0x01,0x06,0x01,0x01,0x07, 0x02,0x2e,0x05,0x04,0x02,0x01,0x04,0x05,0x01,0x05,0x01,0x10,0x06,0x41,0x05,0x22, 0x05,0x00,0x5e,0x01,0x05,0x02,0x2e,0x05,0x05,0x00,0x23,0x05,0x00,0xaf,0x01,0x05, 0x02,0x06,0x06,0x44,0x05,0x23,0x05,0x00,0x7c,0x01,0x05,0x04,0x01,0x06,0x01,0x22, 0x06,0x00,0x7a,0x01,0x06,0x04,0x43,0x05,0x22,0x05,0x00,0x9e,0x01,0x05,0x02,0x06, 0x06,0x42,0x05,0x23,0x05,0x00,0x9e,0x01,0x05,0x04,0x01,0x06,0x01,0x22,0x06,0x00, 0x9c,0x01,0x06,0x04,0x2e,0x06,0x06,0x00,0x45,0x05,0x23,0x05,0x00,0xac,0x01,0x05, 0x03,0x01,0x06,0x04,0x2e,0x05,0x07,0x01,0x21,0x01,0x31,0x01,0x05,0x01,0x0f,0x06, 0x41,0x05,0x23,0x05,0x00,0xdb,0x21,0x00,0xd2,0x01,0x05,0x03,0x01,0x06,0x04,0x2e, 0x05,0x07,0x01,0x01,0x05,0x04,0x01,0x06,0x02,0x3b,0x05,0x01,0x04,0x05,0x11,0x05, 0x22,0x05,0x00,0xbd,0x21,0x01,0x31,0x01,0x05,0x02,0x06,0x06,0x44,0x05,0x23,0x05, 0x01,0x0d,0x21,0x00,0xfe,0x01,0x05,0x03,0x01,0x06,0x04,0x2e,0x05,0x07,0x01,0x01, 0x05,0x04,0x01,0x06,0x02,0x3b,0x05,0x01,0x04,0x05,0x01,0x05,0x04,0x01,0x06,0x01, 0x43,0x05,0x22,0x05,0x00,0xe9,0x21,0x01,0x31,0x21,0x01,0x25,0x01,0x05,0x03,0x01, 0x06,0x04,0x2e,0x05,0x07,0x01,0x01,0x05,0x04,0x01,0x06,0x02,0x3b,0x05,0x01,0x04, 0x05,0x01,0x05,0x04,0x01,0x06,0x01,0x45,0x05,0x22,0x05,0x01,0x10,0x10,0x05,0x37, 0x05,0x00,0x00,0x00,0x01,0x00,0x00,0x0f,0x73,0x74,0x65,0x70,0x20,0x63,0x61,0x6e, 0x27,0x74,0x20,0x62,0x65,0x20,0x30,0x00,0x00,0x00,0x08,0x00,0x0d,0x41,0x72,0x67, 0x75,0x6d,0x65,0x6e,0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x72,0x61,0x69, 0x73,0x65,0x00,0x00,0x04,0x73,0x74,0x65,0x70,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65, 0x6e,0x75,0x6d,0x00,0x00,0x15,0x5f,0x5f,0x63,0x6f,0x65,0x72,0x63,0x65,0x5f,0x73, 0x74,0x65,0x70,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x00,0x00,0x09,0x69,0x6e, 0x66,0x69,0x6e,0x69,0x74,0x65,0x3f,0x00,0x00,0x02,0x2d,0x40,0x00,0x00,0x04,0x63, 0x61,0x6c,0x6c,0x00,0x00,0x00,0x00,0xdd,0x00,0x01,0x00,0x04,0x00,0x02,0x00,0x00, 0x00,0x23,0x00,0x00,0x10,0x01,0x1b,0x02,0x00,0x2e,0x01,0x01,0x01,0x61,0x01,0x56, 0x02,0x00,0x5d,0x01,0x02,0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x03,0x5e,0x04,0x03, 0x5e,0x05,0x03,0x0f,0x01,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00, 0x08,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x6c,0x00,0x00,0x07,0x69,0x6e,0x63,0x6c, 0x75,0x64,0x65,0x00,0x00,0x04,0x63,0x65,0x69,0x6c,0x00,0x00,0x05,0x66,0x6c,0x6f, 0x6f,0x72,0x00,0x00,0x05,0x72,0x6f,0x75,0x6e,0x64,0x00,0x00,0x08,0x74,0x72,0x75, 0x6e,0x63,0x61,0x74,0x65,0x00,0x00,0x00,0x00,0x3a,0x00,0x02,0x00,0x03,0x00,0x00, 0x00,0x00,0x00,0x08,0x33,0x00,0x00,0x00,0x10,0x02,0x37,0x02,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3a,0x00,0x02,0x00,0x03,0x00,0x00,0x00,0x00, 0x00,0x08,0x00,0x00,0x33,0x00,0x00,0x00,0x10,0x02,0x37,0x02,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7c,0x00,0x01,0x00,0x03,0x00,0x02,0x00,0x00, 0x00,0x15,0x00,0x00,0x61,0x01,0x56,0x02,0x00,0x5d,0x01,0x00,0x61,0x01,0x56,0x02, 0x01,0x5d,0x01,0x01,0x0e,0x01,0x01,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x02,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x04,0x68,0x61,0x73,0x68,0x00,0x00, 0x00,0x06,0x6e,0x00,0x07,0x00,0x0b,0x00,0x00,0x00,0x00,0x01,0x6c,0x00,0x00,0x00, 0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x13,0x10,0x07,0x0e,0x08,0x00,0x2e,0x07,0x01, 0x01,0x37,0x07,0x10,0x07,0x2e,0x07,0x02,0x00,0x01,0x02,0x07,0x10,0x07,0x2e,0x07, 0x03,0x00,0x01,0x03,0x07,0x01,0x07,0x02,0x1b,0x08,0x04,0x2e,0x07,0x05,0x01,0x23, 0x07,0x00,0x3d,0x01,0x07,0x03,0x1b,0x08,0x04,0x2e,0x07,0x05,0x01,0x23,0x07,0x00, 0x86,0x01,0x07,0x03,0x01,0x04,0x07,0x10,0x07,0x2e,0x07,0x06,0x00,0x22,0x07,0x00, 0x5a,0x01,0x07,0x04,0x3c,0x07,0x01,0x01,0x04,0x07,0x01,0x07,0x02,0x01,0x05,0x07, 0x21,0x00,0x76,0x01,0x07,0x01,0x01,0x08,0x05,0x2e,0x07,0x07,0x01,0x01,0x07,0x05, 0x3c,0x07,0x01,0x01,0x05,0x07,0x01,0x07,0x05,0x01,0x08,0x04,0x42,0x07,0x22,0x07, 0x00,0x63,0x10,0x07,0x37,0x07,0x01,0x07,0x02,0x1b,0x08,0x08,0x2e,0x07,0x05,0x01, 0x23,0x07,0x00,0x9e,0x01,0x07,0x03,0x1b,0x08,0x08,0x2e,0x07,0x05,0x01,0x23,0x07, 0x00,0xca,0x01,0x07,0x02,0x0e,0x08,0x09,0x2e,0x07,0x0a,0x01,0x23,0x07,0x00,0xc8, 0x01,0x07,0x02,0x01,0x08,0x03,0x10,0x09,0x2e,0x09,0x06,0x00,0x01,0x0a,0x01,0x2f, 0x07,0x09,0x02,0x37,0x07,0x21,0x00,0xca,0x11,0x06,0x01,0x07,0x02,0x0e,0x08,0x0b, 0x2e,0x07,0x0a,0x01,0x22,0x07,0x00,0xe4,0x10,0x07,0x1b,0x08,0x0c,0x4f,0x09,0x00, 0x2e,0x07,0x0d,0x02,0x01,0x07,0x02,0x01,0x08,0x03,0x2e,0x07,0x0e,0x01,0x06,0x08, 0x44,0x07,0x23,0x07,0x00,0xfa,0x10,0x07,0x37,0x07,0x21,0x01,0x2c,0x01,0x07,0x01, 0x01,0x08,0x02,0x2e,0x07,0x07,0x01,0x01,0x07,0x02,0x2e,0x07,0x0b,0x00,0x01,0x02, 0x07,0x23,0x06,0x01,0x2c,0x01,0x07,0x02,0x2e,0x07,0x0f,0x00,0x01,0x08,0x03,0x2e, 0x08,0x0f,0x00,0x44,0x07,0x23,0x07,0x01,0x2c,0x21,0x01,0x3e,0x01,0x07,0x02,0x01, 0x08,0x03,0x2e,0x07,0x0e,0x01,0x06,0x08,0x42,0x07,0x22,0x07,0x00,0xfd,0x10,0x07, 0x2e,0x07,0x06,0x00,0x2e,0x07,0x10,0x00,0x23,0x07,0x01,0x5a,0x01,0x07,0x02,0x01, 0x08,0x03,0x2e,0x07,0x0e,0x01,0x06,0x08,0x41,0x07,0x23,0x07,0x01,0x68,0x01,0x07, 0x01,0x01,0x08,0x02,0x2e,0x07,0x07,0x01,0x10,0x07,0x37,0x07,0x00,0x00,0x00,0x01, 0x00,0x00,0x0d,0x63,0x61,0x6e,0x27,0x74,0x20,0x69,0x74,0x65,0x72,0x61,0x74,0x65, 0x00,0x00,0x00,0x11,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x07,0x74,0x6f,0x5f, 0x65,0x6e,0x75,0x6d,0x00,0x00,0x05,0x66,0x69,0x72,0x73,0x74,0x00,0x00,0x04,0x6c, 0x61,0x73,0x74,0x00,0x00,0x06,0x46,0x69,0x78,0x6e,0x75,0x6d,0x00,0x00,0x08,0x6b, 0x69,0x6e,0x64,0x5f,0x6f,0x66,0x3f,0x00,0x00,0x0c,0x65,0x78,0x63,0x6c,0x75,0x64, 0x65,0x5f,0x65,0x6e,0x64,0x3f,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x06, 0x53,0x74,0x72,0x69,0x6e,0x67,0x00,0x00,0x04,0x75,0x70,0x74,0x6f,0x00,0x00,0x0b, 0x72,0x65,0x73,0x70,0x6f,0x6e,0x64,0x5f,0x74,0x6f,0x3f,0x00,0x00,0x04,0x73,0x75, 0x63,0x63,0x00,0x00,0x09,0x54,0x79,0x70,0x65,0x45,0x72,0x72,0x6f,0x72,0x00,0x00, 0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x04,0x73, 0x69,0x7a,0x65,0x00,0x00,0x01,0x21,0x00,0x00,0x00,0x01,0x13,0x00,0x03,0x00,0x06, 0x00,0x00,0x00,0x00,0x00,0x34,0x00,0x00,0x33,0x00,0x00,0x00,0x10,0x03,0x2e,0x03, 0x00,0x00,0x2e,0x03,0x01,0x00,0x10,0x04,0x2e,0x04,0x02,0x00,0x2e,0x04,0x01,0x00, 0x2e,0x03,0x03,0x01,0x01,0x02,0x03,0x10,0x03,0x2e,0x03,0x04,0x00,0x23,0x03,0x00, 0x32,0x01,0x03,0x02,0x3c,0x03,0x01,0x01,0x02,0x03,0x37,0x02,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x05,0x00,0x05,0x66,0x69,0x72,0x73,0x74,0x00,0x00,0x04,0x68,0x61, 0x73,0x68,0x00,0x00,0x04,0x6c,0x61,0x73,0x74,0x00,0x00,0x01,0x5e,0x00,0x00,0x0c, 0x65,0x78,0x63,0x6c,0x75,0x64,0x65,0x5f,0x65,0x6e,0x64,0x3f,0x00,0x00,0x00,0x00, 0x5d,0x00,0x01,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x10,0x01,0x1b,0x02, 0x00,0x2e,0x01,0x01,0x01,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00, 0x0a,0x45,0x6e,0x75,0x6d,0x65,0x72,0x61,0x62,0x6c,0x65,0x00,0x00,0x07,0x69,0x6e, 0x63,0x6c,0x75,0x64,0x65,0x00,0x00,0x00,0x01,0x8d,0x00,0x01,0x00,0x04,0x00,0x07, 0x00,0x00,0x00,0x46,0x10,0x01,0x1b,0x02,0x00,0x2e,0x01,0x01,0x01,0x61,0x01,0x56, 0x02,0x00,0x5d,0x01,0x02,0x61,0x01,0x56,0x02,0x01,0x5d,0x01,0x03,0x61,0x01,0x56, 0x02,0x02,0x5d,0x01,0x04,0x61,0x01,0x56,0x02,0x03,0x5d,0x01,0x05,0x61,0x01,0x56, 0x02,0x04,0x5d,0x01,0x06,0x61,0x01,0x56,0x02,0x05,0x5d,0x01,0x07,0x61,0x01,0x56, 0x02,0x06,0x5d,0x01,0x08,0x0e,0x01,0x08,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x09,0x00,0x0a,0x43,0x6f,0x6d,0x70,0x61,0x72,0x61,0x62,0x6c,0x65,0x00,0x00, 0x07,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x00,0x00,0x09,0x65,0x61,0x63,0x68,0x5f, 0x6c,0x69,0x6e,0x65,0x00,0x00,0x0d,0x5f,0x5f,0x73,0x75,0x62,0x5f,0x72,0x65,0x70, 0x6c,0x61,0x63,0x65,0x00,0x00,0x04,0x67,0x73,0x75,0x62,0x00,0x00,0x05,0x67,0x73, 0x75,0x62,0x21,0x00,0x00,0x03,0x73,0x75,0x62,0x00,0x00,0x04,0x73,0x75,0x62,0x21, 0x00,0x00,0x09,0x65,0x61,0x63,0x68,0x5f,0x62,0x79,0x74,0x65,0x00,0x00,0x00,0x06, 0x65,0x00,0x0a,0x00,0x11,0x00,0x00,0x00,0x00,0x01,0x72,0x00,0x33,0x00,0x20,0x01, 0x21,0x00,0x0a,0x21,0x00,0x0d,0x4f,0x01,0x00,0x22,0x02,0x00,0x1f,0x10,0x0a,0x0e, 0x0b,0x00,0x01,0x0c,0x01,0x2e,0x0a,0x01,0x02,0x37,0x0a,0x24,0x01,0x00,0x26,0x21, 0x00,0x33,0x01,0x0a,0x02,0x10,0x0b,0x2e,0x0a,0x02,0x01,0x10,0x0a,0x37,0x0a,0x01, 0x0a,0x01,0x1b,0x0b,0x03,0x2e,0x0a,0x04,0x01,0x22,0x0a,0x00,0x4a,0x10,0x0a,0x1b, 0x0b,0x05,0x2e,0x0a,0x06,0x01,0x12,0x03,0x01,0x0a,0x01,0x2e,0x0a,0x07,0x00,0x23, 0x0a,0x00,0x5c,0x11,0x03,0x4f,0x01,0x01,0x06,0x04,0x10,0x0a,0x2e,0x0a,0x08,0x00, 0x01,0x05,0x0a,0x10,0x0a,0x2e,0x0a,0x09,0x00,0x01,0x06,0x0a,0x01,0x0a,0x01,0x2e, 0x0a,0x09,0x00,0x01,0x07,0x0a,0x10,0x0a,0x2e,0x0a,0x0a,0x00,0x1b,0x0b,0x03,0x2e, 0x0a,0x0b,0x01,0x01,0x08,0x0a,0x21,0x01,0x07,0x01,0x0a,0x09,0x01,0x0b,0x07,0x3b, 0x0a,0x01,0x09,0x0a,0x21,0x00,0xa4,0x01,0x0a,0x09,0x3c,0x0a,0x01,0x01,0x09,0x0a, 0x01,0x0a,0x03,0x23,0x0a,0x00,0xba,0x01,0x0a,0x05,0x01,0x0b,0x09,0x2e,0x0a,0x0c, 0x01,0x4f,0x0b,0x00,0x41,0x0a,0x22,0x0a,0x00,0x9b,0x23,0x08,0x00,0xe8,0x01,0x0a, 0x02,0x10,0x0b,0x2e,0x0b,0x0a,0x00,0x01,0x0c,0x05,0x01,0x0d,0x04,0x01,0x0e,0x09, 0x01,0x0f,0x04,0x3d,0x0e,0x2e,0x0c,0x0c,0x02,0x2e,0x0b,0x0d,0x01,0x2e,0x0a,0x02, 0x01,0x21,0x01,0x01,0x01,0x0a,0x02,0x01,0x0b,0x05,0x01,0x0c,0x04,0x01,0x0d,0x09, 0x01,0x0e,0x04,0x3d,0x0d,0x2e,0x0b,0x0c,0x02,0x2e,0x0a,0x02,0x01,0x01,0x0a,0x09, 0x01,0x04,0x0a,0x01,0x0a,0x05,0x01,0x0b,0x01,0x01,0x0c,0x04,0x2e,0x0a,0x0e,0x02, 0x01,0x09,0x0a,0x22,0x0a,0x00,0x8d,0x01,0x0a,0x04,0x01,0x0b,0x06,0x41,0x0a,0x23, 0x0a,0x01,0x2b,0x10,0x0a,0x37,0x0a,0x23,0x08,0x01,0x55,0x01,0x0a,0x02,0x10,0x0b, 0x2e,0x0b,0x0a,0x00,0x01,0x0c,0x05,0x01,0x0d,0x04,0x01,0x0e,0x06,0x01,0x0f,0x04, 0x3d,0x0e,0x2e,0x0c,0x0c,0x02,0x2e,0x0b,0x0d,0x01,0x2e,0x0a,0x02,0x01,0x21,0x01, 0x6e,0x01,0x0a,0x02,0x01,0x0b,0x05,0x01,0x0c,0x04,0x01,0x0d,0x06,0x01,0x0e,0x04, 0x3d,0x0d,0x2e,0x0b,0x0c,0x02,0x2e,0x0a,0x02,0x01,0x10,0x0a,0x37,0x0a,0x00,0x00, 0x00,0x02,0x00,0x00,0x01,0x0a,0x00,0x00,0x02,0x0a,0x0a,0x00,0x00,0x00,0x0f,0x00, 0x09,0x65,0x61,0x63,0x68,0x5f,0x6c,0x69,0x6e,0x65,0x00,0x00,0x07,0x74,0x6f,0x5f, 0x65,0x6e,0x75,0x6d,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x06,0x53,0x74, 0x72,0x69,0x6e,0x67,0x00,0x00,0x05,0x69,0x73,0x5f,0x61,0x3f,0x00,0x00,0x09,0x54, 0x79,0x70,0x65,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65, 0x00,0x00,0x06,0x65,0x6d,0x70,0x74,0x79,0x3f,0x00,0x00,0x03,0x64,0x75,0x70,0x00, 0x00,0x06,0x6c,0x65,0x6e,0x67,0x74,0x68,0x00,0x00,0x05,0x63,0x6c,0x61,0x73,0x73, 0x00,0x00,0x02,0x21,0x3d,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x03,0x6e,0x65,0x77, 0x00,0x00,0x05,0x69,0x6e,0x64,0x65,0x78,0x00,0x00,0x00,0x06,0x95,0x00,0x09,0x00, 0x0f,0x00,0x00,0x00,0x00,0x01,0x89,0x00,0x33,0x0c,0x00,0x00,0x4f,0x05,0x00,0x06, 0x06,0x21,0x01,0x5b,0x01,0x09,0x07,0x10,0x0a,0x2e,0x0a,0x00,0x00,0x3e,0x0a,0x01, 0x41,0x09,0x23,0x09,0x00,0x21,0x21,0x01,0x6e,0x10,0x09,0x01,0x0a,0x07,0x3c,0x0a, 0x01,0x2e,0x09,0x01,0x01,0x4f,0x0a,0x01,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22, 0x0a,0x00,0x3e,0x21,0x00,0x44,0x4f,0x0a,0x01,0x21,0x01,0x2e,0x4f,0x0a,0x02,0x01, 0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x00,0x55,0x21,0x00,0x5b,0x01,0x0a,0x01, 0x21,0x01,0x2e,0x4f,0x0a,0x03,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x00, 0x7a,0x4f,0x0a,0x04,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x00,0x7a,0x21, 0x00,0x80,0x01,0x0a,0x02,0x21,0x01,0x2e,0x4f,0x0a,0x05,0x01,0x0b,0x09,0x2e,0x0a, 0x02,0x01,0x22,0x0a,0x00,0x91,0x21,0x00,0x97,0x01,0x0a,0x03,0x21,0x01,0x2e,0x4f, 0x0a,0x06,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x01,0x18,0x4f,0x0a,0x07, 0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x01,0x18,0x4f,0x0a,0x08,0x01,0x0b, 0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x01,0x18,0x4f,0x0a,0x09,0x01,0x0b,0x09,0x2e, 0x0a,0x02,0x01,0x22,0x0a,0x01,0x18,0x4f,0x0a,0x0a,0x01,0x0b,0x09,0x2e,0x0a,0x02, 0x01,0x22,0x0a,0x01,0x18,0x4f,0x0a,0x0b,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22, 0x0a,0x01,0x18,0x4f,0x0a,0x0c,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x01, 0x18,0x4f,0x0a,0x0d,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x01,0x18,0x4f, 0x0a,0x0e,0x01,0x0b,0x09,0x2e,0x0a,0x02,0x01,0x22,0x0a,0x01,0x18,0x21,0x01,0x1e, 0x4f,0x0a,0x00,0x21,0x01,0x2e,0x10,0x0a,0x01,0x0b,0x07,0x08,0x0c,0x2e,0x0a,0x01, 0x02,0x21,0x01,0x2e,0x0f,0x0a,0x01,0x09,0x0a,0x01,0x08,0x09,0x01,0x09,0x05,0x10, 0x0a,0x01,0x0b,0x06,0x01,0x0c,0x07,0x01,0x0d,0x06,0x3d,0x0c,0x2e,0x0a,0x01,0x02, 0x01,0x0b,0x08,0x3b,0x0a,0x3b,0x09,0x01,0x05,0x09,0x01,0x09,0x07,0x3c,0x09,0x02, 0x01,0x06,0x09,0x10,0x09,0x4f,0x0a,0x01,0x01,0x0b,0x06,0x2e,0x09,0x03,0x02,0x01, 0x07,0x09,0x22,0x09,0x00,0x0c,0x01,0x09,0x05,0x10,0x0a,0x01,0x0b,0x06,0x10,0x0c, 0x2e,0x0c,0x00,0x00,0x01,0x0d,0x06,0x3d,0x0c,0x2e,0x0a,0x01,0x02,0x3b,0x09,0x37, 0x09,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,0x00,0x01,0x5c,0x00,0x00,0x01,0x60, 0x00,0x00,0x01,0x26,0x00,0x00,0x01,0x30,0x00,0x00,0x01,0x27,0x00,0x00,0x01,0x31, 0x00,0x00,0x01,0x32,0x00,0x00,0x01,0x33,0x00,0x00,0x01,0x34,0x00,0x00,0x01,0x35, 0x00,0x00,0x01,0x36,0x00,0x00,0x01,0x37,0x00,0x00,0x01,0x38,0x00,0x00,0x01,0x39, 0x00,0x00,0x00,0x04,0x00,0x06,0x6c,0x65,0x6e,0x67,0x74,0x68,0x00,0x00,0x02,0x5b, 0x5d,0x00,0x00,0x03,0x3d,0x3d,0x3d,0x00,0x00,0x05,0x69,0x6e,0x64,0x65,0x78,0x00, 0x00,0x00,0x06,0xd3,0x00,0x09,0x00,0x10,0x00,0x00,0x00,0x00,0x01,0x84,0x00,0x00, 0x33,0x00,0x10,0x01,0x01,0x09,0x01,0x2e,0x09,0x00,0x00,0x07,0x0a,0x41,0x09,0x23, 0x09,0x00,0x1a,0x01,0x09,0x02,0x2e,0x09,0x01,0x00,0x23,0x09,0x00,0x30,0x10,0x09, 0x0e,0x0a,0x02,0x46,0x0a,0x01,0x01,0x0b,0x01,0x48,0x0a,0x2c,0x09,0x03,0x37,0x09, 0x07,0x09,0x08,0x0a,0x57,0x09,0x01,0x0a,0x01,0x2e,0x0a,0x00,0x00,0x2e,0x09,0x04, 0x01,0x22,0x09,0x00,0x51,0x10,0x09,0x1b,0x0a,0x05,0x4f,0x0b,0x00,0x2e,0x09,0x06, 0x02,0x0f,0x09,0x01,0x0a,0x01,0x48,0x09,0x4b,0x0a,0x09,0x00,0x01,0x03,0x0a,0x4b, 0x0a,0x09,0x01,0x01,0x04,0x0a,0x01,0x09,0x03,0x2e,0x09,0x00,0x00,0x01,0x05,0x09, 0x01,0x09,0x01,0x2e,0x09,0x00,0x00,0x08,0x0a,0x41,0x09,0x23,0x09,0x00,0x82,0x01, 0x09,0x02,0x23,0x09,0x00,0x88,0x0f,0x02,0x01,0x09,0x04,0x2e,0x09,0x07,0x00,0x2e, 0x09,0x01,0x00,0x22,0x09,0x00,0x9e,0x01,0x09,0x02,0x2e,0x09,0x01,0x00,0x23,0x09, 0x00,0xa9,0x01,0x09,0x04,0x2e,0x09,0x08,0x00,0x06,0x06,0x46,0x09,0x00,0x01,0x07, 0x09,0x21,0x01,0x45,0x01,0x09,0x07,0x10,0x0a,0x01,0x0b,0x06,0x01,0x0c,0x08,0x01, 0x0d,0x06,0x3d,0x0c,0x2e,0x0a,0x09,0x02,0x2e,0x09,0x0a,0x01,0x01,0x09,0x08,0x01, 0x0a,0x05,0x3b,0x09,0x01,0x06,0x09,0x01,0x09,0x07,0x01,0x0a,0x02,0x23,0x0a,0x00, 0xf2,0x01,0x0a,0x02,0x01,0x0b,0x03,0x2e,0x0a,0x0b,0x01,0x2e,0x0a,0x0c,0x00,0x21, 0x01,0x1b,0x01,0x0a,0x04,0x10,0x0b,0x06,0x0c,0x01,0x0d,0x08,0x2e,0x0b,0x09,0x02, 0x01,0x0c,0x03,0x10,0x0d,0x01,0x0e,0x06,0x05,0x0f,0x57,0x0e,0x2e,0x0d,0x09,0x01, 0x22,0x0d,0x01,0x17,0x4f,0x0d,0x01,0x2e,0x0a,0x0d,0x03,0x2e,0x09,0x0a,0x01,0x01, 0x09,0x05,0x06,0x0a,0x41,0x09,0x23,0x09,0x01,0x45,0x01,0x09,0x07,0x10,0x0a,0x01, 0x0b,0x06,0x07,0x0c,0x2e,0x0a,0x09,0x02,0x2e,0x09,0x0a,0x01,0x01,0x09,0x06,0x3c, 0x09,0x01,0x01,0x06,0x09,0x10,0x09,0x01,0x0a,0x03,0x01,0x0b,0x06,0x2e,0x09,0x0e, 0x02,0x01,0x08,0x09,0x22,0x09,0x00,0xb4,0x01,0x09,0x06,0x10,0x0a,0x2e,0x0a,0x00, 0x00,0x42,0x09,0x23,0x09,0x01,0x7b,0x01,0x09,0x07,0x10,0x0a,0x01,0x0b,0x06,0x05, 0x0c,0x57,0x0b,0x2e,0x0a,0x09,0x01,0x2e,0x09,0x0a,0x01,0x01,0x09,0x07,0x2e,0x09, 0x0f,0x00,0x37,0x09,0x00,0x00,0x00,0x02,0x00,0x00,0x19,0x77,0x72,0x6f,0x6e,0x67, 0x20,0x6e,0x75,0x6d,0x62,0x65,0x72,0x20,0x6f,0x66,0x20,0x61,0x72,0x67,0x75,0x6d, 0x65,0x6e,0x74,0x73,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x06,0x6c,0x65,0x6e, 0x67,0x74,0x68,0x00,0x00,0x01,0x21,0x00,0x00,0x04,0x67,0x73,0x75,0x62,0x00,0x00, 0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00,0x00,0x08,0x69,0x6e,0x63,0x6c,0x75, 0x64,0x65,0x3f,0x00,0x00,0x0d,0x41,0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x45,0x72, 0x72,0x6f,0x72,0x00,0x00,0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x04,0x6e,0x69, 0x6c,0x3f,0x00,0x00,0x08,0x5f,0x5f,0x74,0x6f,0x5f,0x73,0x74,0x72,0x00,0x00,0x02, 0x5b,0x5d,0x00,0x00,0x02,0x3c,0x3c,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00, 0x04,0x74,0x6f,0x5f,0x73,0x00,0x00,0x0d,0x5f,0x5f,0x73,0x75,0x62,0x5f,0x72,0x65, 0x70,0x6c,0x61,0x63,0x65,0x00,0x00,0x05,0x69,0x6e,0x64,0x65,0x78,0x00,0x00,0x04, 0x6a,0x6f,0x69,0x6e,0x00,0x00,0x00,0x02,0x7c,0x00,0x04,0x00,0x08,0x00,0x00,0x00, 0x00,0x00,0x7a,0x00,0x33,0x00,0x10,0x01,0x10,0x04,0x2e,0x04,0x00,0x00,0x23,0x04, 0x00,0x1a,0x10,0x04,0x1b,0x05,0x01,0x4f,0x06,0x00,0x2e,0x04,0x02,0x02,0x01,0x04, 0x01,0x2e,0x04,0x03,0x00,0x07,0x05,0x41,0x04,0x23,0x04,0x00,0x30,0x01,0x04,0x02, 0x2e,0x04,0x04,0x00,0x23,0x04,0x00,0x46,0x10,0x04,0x0e,0x05,0x05,0x46,0x05,0x01, 0x01,0x06,0x01,0x48,0x05,0x2c,0x04,0x06,0x37,0x04,0x10,0x04,0x0f,0x05,0x01,0x06, 0x01,0x48,0x05,0x01,0x06,0x02,0x2d,0x04,0x07,0x01,0x03,0x04,0x10,0x04,0x01,0x05, 0x01,0x06,0x06,0x2e,0x05,0x08,0x01,0x2e,0x04,0x09,0x01,0x22,0x04,0x00,0x6f,0x0f, 0x04,0x37,0x04,0x10,0x04,0x01,0x05,0x03,0x2e,0x04,0x0a,0x01,0x37,0x04,0x00,0x00, 0x00,0x01,0x00,0x00,0x1a,0x63,0x61,0x6e,0x27,0x74,0x20,0x6d,0x6f,0x64,0x69,0x66, 0x79,0x20,0x66,0x72,0x6f,0x7a,0x65,0x6e,0x20,0x53,0x74,0x72,0x69,0x6e,0x67,0x00, 0x00,0x00,0x0b,0x00,0x07,0x66,0x72,0x6f,0x7a,0x65,0x6e,0x3f,0x00,0x00,0x0b,0x46, 0x72,0x6f,0x7a,0x65,0x6e,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x72,0x61,0x69, 0x73,0x65,0x00,0x00,0x06,0x6c,0x65,0x6e,0x67,0x74,0x68,0x00,0x00,0x01,0x21,0x00, 0x00,0x05,0x67,0x73,0x75,0x62,0x21,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75, 0x6d,0x00,0x00,0x04,0x67,0x73,0x75,0x62,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x05, 0x69,0x6e,0x64,0x65,0x78,0x00,0x00,0x07,0x72,0x65,0x70,0x6c,0x61,0x63,0x65,0x00, 0x00,0x00,0x05,0x75,0x00,0x09,0x00,0x10,0x00,0x00,0x00,0x00,0x01,0x2c,0x00,0x00, 0x33,0x00,0x10,0x01,0x07,0x09,0x08,0x0a,0x57,0x09,0x01,0x0a,0x01,0x2e,0x0a,0x00, 0x00,0x2e,0x09,0x01,0x01,0x22,0x09,0x00,0x33,0x10,0x09,0x1b,0x0a,0x02,0x4f,0x0b, 0x00,0x01,0x0c,0x01,0x2e,0x0c,0x00,0x00,0x50,0x0b,0x4f,0x0c,0x01,0x50,0x0b,0x2e, 0x09,0x03,0x02,0x0f,0x09,0x01,0x0a,0x01,0x48,0x09,0x4b,0x0a,0x09,0x00,0x01,0x03, 0x0a,0x4b,0x0a,0x09,0x01,0x01,0x04,0x0a,0x01,0x09,0x03,0x2e,0x09,0x04,0x00,0x01, 0x09,0x01,0x2e,0x09,0x00,0x00,0x08,0x0a,0x41,0x09,0x23,0x09,0x00,0x61,0x01,0x09, 0x02,0x23,0x09,0x00,0x67,0x0f,0x02,0x22,0x02,0x00,0x72,0x01,0x09,0x04,0x2e,0x09, 0x04,0x00,0x46,0x09,0x00,0x01,0x05,0x09,0x10,0x09,0x2e,0x09,0x05,0x00,0x01,0x06, 0x09,0x10,0x09,0x01,0x0a,0x03,0x2e,0x09,0x06,0x01,0x01,0x07,0x09,0x22,0x09,0x00, 0x93,0x37,0x06,0x01,0x09,0x05,0x01,0x0a,0x06,0x06,0x0b,0x01,0x0c,0x07,0x2e,0x0a, 0x07,0x02,0x2e,0x09,0x08,0x01,0x01,0x09,0x07,0x01,0x0a,0x03,0x2e,0x0a,0x00,0x00, 0x3b,0x09,0x01,0x08,0x09,0x01,0x09,0x05,0x01,0x0a,0x02,0x23,0x0a,0x00,0xd0,0x01, 0x0a,0x02,0x01,0x0b,0x03,0x2e,0x0a,0x09,0x01,0x2e,0x0a,0x0a,0x00,0x21,0x00,0xfb, 0x01,0x0a,0x04,0x01,0x0b,0x06,0x06,0x0c,0x01,0x0d,0x07,0x2e,0x0b,0x07,0x02,0x01, 0x0c,0x03,0x01,0x0d,0x06,0x01,0x0e,0x08,0x05,0x0f,0x57,0x0e,0x2e,0x0d,0x07,0x01, 0x22,0x0d,0x00,0xf7,0x4f,0x0d,0x02,0x2e,0x0a,0x0b,0x03,0x2e,0x09,0x08,0x01,0x01, 0x09,0x08,0x10,0x0a,0x2e,0x0a,0x00,0x00,0x42,0x09,0x23,0x09,0x01,0x23,0x01,0x09, 0x05,0x01,0x0a,0x06,0x01,0x0b,0x08,0x05,0x0c,0x57,0x0b,0x2e,0x0a,0x07,0x01,0x2e, 0x09,0x08,0x01,0x01,0x09,0x05,0x2e,0x09,0x0c,0x00,0x37,0x09,0x00,0x00,0x00,0x03, 0x00,0x00,0x21,0x77,0x72,0x6f,0x6e,0x67,0x20,0x6e,0x75,0x6d,0x62,0x65,0x72,0x20, 0x6f,0x66,0x20,0x61,0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x73,0x20,0x28,0x67,0x69, 0x76,0x65,0x6e,0x20,0x00,0x00,0x0d,0x2c,0x20,0x65,0x78,0x70,0x65,0x63,0x74,0x65, 0x64,0x20,0x32,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x00,0x06,0x6c,0x65,0x6e, 0x67,0x74,0x68,0x00,0x00,0x08,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x3f,0x00,0x00, 0x0d,0x41,0x72,0x67,0x75,0x6d,0x65,0x6e,0x74,0x45,0x72,0x72,0x6f,0x72,0x00,0x00, 0x05,0x72,0x61,0x69,0x73,0x65,0x00,0x00,0x08,0x5f,0x5f,0x74,0x6f,0x5f,0x73,0x74, 0x72,0x00,0x00,0x03,0x64,0x75,0x70,0x00,0x00,0x05,0x69,0x6e,0x64,0x65,0x78,0x00, 0x00,0x02,0x5b,0x5d,0x00,0x00,0x02,0x3c,0x3c,0x00,0x00,0x04,0x63,0x61,0x6c,0x6c, 0x00,0x00,0x04,0x74,0x6f,0x5f,0x73,0x00,0x00,0x0d,0x5f,0x5f,0x73,0x75,0x62,0x5f, 0x72,0x65,0x70,0x6c,0x61,0x63,0x65,0x00,0x00,0x04,0x6a,0x6f,0x69,0x6e,0x00,0x00, 0x00,0x01,0xac,0x00,0x04,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x4e,0x00,0x00,0x00, 0x33,0x00,0x10,0x01,0x10,0x04,0x2e,0x04,0x00,0x00,0x23,0x04,0x00,0x1a,0x10,0x04, 0x1b,0x05,0x01,0x4f,0x06,0x00,0x2e,0x04,0x02,0x02,0x10,0x04,0x0f,0x05,0x01,0x06, 0x01,0x48,0x05,0x01,0x06,0x02,0x2d,0x04,0x03,0x01,0x03,0x04,0x10,0x04,0x01,0x05, 0x01,0x06,0x06,0x2e,0x05,0x04,0x01,0x2e,0x04,0x05,0x01,0x22,0x04,0x00,0x43,0x0f, 0x04,0x37,0x04,0x10,0x04,0x01,0x05,0x03,0x2e,0x04,0x06,0x01,0x37,0x04,0x00,0x00, 0x00,0x01,0x00,0x00,0x1a,0x63,0x61,0x6e,0x27,0x74,0x20,0x6d,0x6f,0x64,0x69,0x66, 0x79,0x20,0x66,0x72,0x6f,0x7a,0x65,0x6e,0x20,0x53,0x74,0x72,0x69,0x6e,0x67,0x00, 0x00,0x00,0x07,0x00,0x07,0x66,0x72,0x6f,0x7a,0x65,0x6e,0x3f,0x00,0x00,0x0b,0x46, 0x72,0x6f,0x7a,0x65,0x6e,0x45,0x72,0x72,0x6f,0x72,0x00,0x00,0x05,0x72,0x61,0x69, 0x73,0x65,0x00,0x00,0x03,0x73,0x75,0x62,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x05, 0x69,0x6e,0x64,0x65,0x78,0x00,0x00,0x07,0x72,0x65,0x70,0x6c,0x61,0x63,0x65,0x00, 0x00,0x00,0x01,0x93,0x00,0x04,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x52,0x00,0x00, 0x33,0x00,0x00,0x01,0x22,0x01,0x00,0x16,0x10,0x04,0x0e,0x05,0x00,0x01,0x06,0x01, 0x2f,0x04,0x01,0x01,0x37,0x04,0x10,0x04,0x2e,0x04,0x02,0x00,0x01,0x02,0x04,0x06, 0x03,0x21,0x00,0x3e,0x01,0x04,0x01,0x01,0x05,0x02,0x01,0x06,0x03,0x2e,0x05,0x03, 0x01,0x2e,0x04,0x04,0x01,0x01,0x04,0x03,0x3c,0x04,0x01,0x01,0x03,0x04,0x01,0x04, 0x03,0x01,0x05,0x02,0x2e,0x05,0x05,0x00,0x42,0x04,0x22,0x04,0x00,0x24,0x10,0x04, 0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x09,0x65,0x61,0x63,0x68, 0x5f,0x62,0x79,0x74,0x65,0x00,0x00,0x07,0x74,0x6f,0x5f,0x65,0x6e,0x75,0x6d,0x00, 0x00,0x05,0x62,0x79,0x74,0x65,0x73,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x04,0x63, 0x61,0x6c,0x6c,0x00,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x00,0x00,0x00,0x58,0x00, 0x01,0x00,0x03,0x00,0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x61,0x01,0x56,0x02, 0x00,0x5d,0x01,0x00,0x0e,0x01,0x00,0x37,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x07,0x74,0x6f,0x5f,0x70,0x72,0x6f,0x63,0x00,0x00,0x00,0x00,0x3e,0x00, 0x02,0x00,0x03,0x00,0x01,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x33,0x00,0x00,0x00, 0x54,0x02,0x00,0x37,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x89,0x00,0x04,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x19,0x00,0x33,0x04,0x10,0x01, 0x01,0x04,0x01,0x10,0x05,0x46,0x05,0x01,0x01,0x06,0x02,0x48,0x05,0x01,0x06,0x03, 0x2d,0x04,0x00,0x37,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x08,0x5f, 0x5f,0x73,0x65,0x6e,0x64,0x5f,0x5f,0x00,0x4c,0x56,0x41,0x52,0x00,0x00,0x06,0xca, 0x00,0x00,0x00,0x4d,0x00,0x05,0x6e,0x61,0x6d,0x65,0x73,0x00,0x01,0x26,0x00,0x04, 0x61,0x72,0x67,0x73,0x00,0x01,0x6d,0x00,0x07,0x6d,0x65,0x73,0x73,0x61,0x67,0x65, 0x00,0x04,0x6e,0x61,0x6d,0x65,0x00,0x05,0x62,0x6c,0x6f,0x63,0x6b,0x00,0x03,0x69, 0x64,0x78,0x00,0x03,0x6c,0x65,0x6e,0x00,0x04,0x73,0x69,0x7a,0x65,0x00,0x03,0x6f, 0x62,0x6a,0x00,0x0a,0x72,0x65,0x63,0x75,0x72,0x5f,0x6c,0x69,0x73,0x74,0x00,0x03, 0x61,0x72,0x79,0x00,0x01,0x69,0x00,0x05,0x6f,0x74,0x68,0x65,0x72,0x00,0x01,0x6e, 0x00,0x03,0x6b,0x65,0x79,0x00,0x03,0x72,0x65,0x74,0x00,0x05,0x73,0x74,0x61,0x63, 0x6b,0x00,0x04,0x6c,0x65,0x66,0x74,0x00,0x03,0x6d,0x69,0x64,0x00,0x05,0x72,0x69, 0x67,0x68,0x74,0x00,0x04,0x6c,0x76,0x61,0x6c,0x00,0x04,0x72,0x76,0x61,0x6c,0x00, 0x03,0x63,0x6d,0x70,0x00,0x04,0x6c,0x61,0x72,0x79,0x00,0x05,0x6c,0x73,0x69,0x7a, 0x65,0x00,0x04,0x6c,0x69,0x64,0x78,0x00,0x04,0x72,0x69,0x64,0x78,0x00,0x03,0x6d, 0x69,0x6e,0x00,0x03,0x6d,0x61,0x78,0x00,0x03,0x76,0x61,0x6c,0x00,0x06,0x69,0x66, 0x6e,0x6f,0x6e,0x65,0x00,0x07,0x70,0x61,0x74,0x74,0x65,0x72,0x6e,0x00,0x02,0x73, 0x76,0x00,0x03,0x73,0x79,0x6d,0x00,0x04,0x66,0x6c,0x61,0x67,0x00,0x06,0x72,0x65, 0x73,0x75,0x6c,0x74,0x00,0x01,0x78,0x00,0x01,0x79,0x00,0x05,0x61,0x72,0x79,0x5f, 0x54,0x00,0x05,0x61,0x72,0x79,0x5f,0x46,0x00,0x01,0x68,0x00,0x01,0x65,0x00,0x04, 0x68,0x61,0x73,0x68,0x00,0x01,0x6b,0x00,0x01,0x76,0x00,0x04,0x6b,0x65,0x79,0x73, 0x00,0x04,0x76,0x61,0x6c,0x73,0x00,0x01,0x73,0x00,0x0b,0x5f,0x72,0x65,0x63,0x75, 0x72,0x5f,0x6c,0x69,0x73,0x74,0x00,0x01,0x61,0x00,0x03,0x6e,0x75,0x6d,0x00,0x04, 0x73,0x74,0x65,0x70,0x00,0x04,0x6c,0x61,0x73,0x74,0x00,0x03,0x6c,0x69,0x6d,0x00, 0x08,0x73,0x74,0x72,0x5f,0x65,0x61,0x63,0x68,0x00,0x09,0x73,0x65,0x70,0x61,0x72, 0x61,0x74,0x6f,0x72,0x00,0x0e,0x70,0x61,0x72,0x61,0x67,0x72,0x61,0x70,0x68,0x5f, 0x6d,0x6f,0x64,0x65,0x00,0x05,0x73,0x74,0x61,0x72,0x74,0x00,0x06,0x73,0x74,0x72, 0x69,0x6e,0x67,0x00,0x08,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x65,0x6e,0x00,0x07,0x73, 0x65,0x70,0x5f,0x6c,0x65,0x6e,0x00,0x1f,0x73,0x68,0x6f,0x75,0x6c,0x64,0x5f,0x79, 0x69,0x65,0x6c,0x64,0x5f,0x73,0x75,0x62,0x63,0x6c,0x61,0x73,0x73,0x5f,0x69,0x6e, 0x73,0x74,0x61,0x6e,0x63,0x65,0x73,0x00,0x07,0x70,0x6f,0x69,0x6e,0x74,0x65,0x72, 0x00,0x03,0x70,0x72,0x65,0x00,0x04,0x70,0x6f,0x73,0x74,0x00,0x01,0x6a,0x00,0x01, 0x74,0x00,0x07,0x72,0x65,0x70,0x6c,0x61,0x63,0x65,0x00,0x04,0x70,0x6c,0x65,0x6e, 0x00,0x06,0x6f,0x66,0x66,0x73,0x65,0x74,0x00,0x05,0x66,0x6f,0x75,0x6e,0x64,0x00, 0x03,0x73,0x74,0x72,0x00,0x04,0x74,0x68,0x69,0x73,0x00,0x05,0x62,0x79,0x74,0x65, 0x73,0x00,0x03,0x70,0x6f,0x73,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x02, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x02, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x04, 0x00,0x01,0x00,0x05,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x04,0x00,0x01,0x00,0x05, 0x00,0x02,0x00,0x02,0x00,0x03,0x00,0x01,0x00,0x04,0x00,0x06,0x00,0x01,0x00,0x07, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x07,0x00,0x02,0x00,0x08,0x00,0x03,0x00,0x09, 0x00,0x01,0x00,0x0a,0x00,0x02,0x00,0x06,0x00,0x03,0x00,0x07,0x00,0x04,0x00,0x0b, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x09,0x00,0x03,0x00,0x0c,0x00,0x04,0x00,0x0d, 0x00,0x05,0x00,0x01,0x00,0x01,0x00,0x0e,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x08, 0x00,0x03,0x00,0x0d,0x00,0x04,0x00,0x0e,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x08, 0x00,0x03,0x00,0x0d,0x00,0x04,0x00,0x0e,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x08, 0x00,0x03,0x00,0x0f,0x00,0x04,0x00,0x0d,0x00,0x05,0x00,0x10,0x00,0x01,0x00,0x06, 0x00,0x02,0x00,0x0d,0x00,0x03,0x00,0x11,0x00,0x04,0x00,0x06,0x00,0x01,0x00,0x12, 0x00,0x02,0x00,0x13,0x00,0x03,0x00,0x14,0x00,0x04,0x00,0x15,0x00,0x05,0x00,0x16, 0x00,0x06,0x00,0x17,0x00,0x07,0x00,0x18,0x00,0x08,0x00,0x19,0x00,0x09,0x00,0x1a, 0x00,0x0a,0x00,0x1b,0x00,0x0b,0x00,0x1c,0x00,0x0c,0x00,0x0d,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x0e,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x18, 0x00,0x03,0x00,0x0e,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x18,0x00,0x03,0x00,0x0e, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x18,0x00,0x03,0x00,0x0e,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x18,0x00,0x03,0x00,0x0e,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x18, 0x00,0x03,0x00,0x1d,0x00,0x01,0x00,0x1e,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x06, 0x00,0x01,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x1f,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x1f, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x0c,0x00,0x02,0x00,0x1f, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x20,0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x1f, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x0d,0x00,0x02,0x00,0x1f, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x01,0x00,0x01,0x00,0x0c,0x00,0x02,0x00,0x1f, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x0c,0x00,0x02,0x00,0x1f, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x21,0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x0c, 0x00,0x03,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x22,0x00,0x03,0x00,0x0a, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x02, 0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x23,0x00,0x03,0x00,0x24,0x00,0x04,0x00,0x25, 0x00,0x05,0x00,0x26,0x00,0x01,0x00,0x27,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x1f, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x24,0x00,0x02,0x00,0x25, 0x00,0x03,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x24, 0x00,0x02,0x00,0x25,0x00,0x03,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06, 0x00,0x01,0x00,0x28,0x00,0x02,0x00,0x29,0x00,0x03,0x00,0x1f,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x0c,0x00,0x02,0x00,0x1f,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x1f,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x01, 0x00,0x01,0x00,0x2a,0x00,0x02,0x00,0x0d,0x00,0x03,0x00,0x2b,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x2c,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x2d,0x00,0x01,0x00,0x2e, 0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x2c,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x2d, 0x00,0x01,0x00,0x2e,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x10,0x00,0x01,0x00,0x06, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x2f,0x00,0x02,0x00,0x30,0x00,0x03,0x00,0x08, 0x00,0x04,0x00,0x0d,0x00,0x05,0x00,0x06,0x00,0x01,0x00,0x2d,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x2d,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x2c, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x2d,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x0e, 0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x2a,0x00,0x03,0x00,0x2d,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x2d,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x0b,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x0c,0x00,0x03,0x00,0x2f,0x00,0x04,0x00,0x09,0x00,0x05,0x00,0x0d, 0x00,0x06,0x00,0x2d,0x00,0x07,0x00,0x01,0x00,0x01,0x00,0x06,0x00,0x01,0x00,0x2f, 0x00,0x02,0x00,0x2d,0x00,0x01,0x00,0x2e,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x2d, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x2a,0x00,0x02,0x00,0x2d, 0x00,0x01,0x00,0x2e,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x06,0x00,0x01,0x00,0x2f, 0x00,0x02,0x00,0x2d,0x00,0x01,0x00,0x2e,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x2d, 0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x2a,0x00,0x02,0x00,0x2d, 0x00,0x01,0x00,0x2e,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x31,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x06,0x00,0x01,0x00,0x2b,0x00,0x02,0x00,0x27,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x32,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x33,0x00,0x01,0x00,0x01, 0x00,0x02,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x34, 0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x0d,0x00,0x03,0x00,0x01,0x00,0x01,0x00,0x06, 0x00,0x01,0x00,0x0d,0x00,0x02,0x00,0x34,0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x0d, 0x00,0x03,0x00,0x34,0x00,0x01,0x00,0x35,0x00,0x02,0x00,0x06,0x00,0x03,0x00,0x0d, 0x00,0x04,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x06,0x00,0x01,0x00,0x1f, 0x00,0x02,0x00,0x36,0x00,0x03,0x00,0x37,0x00,0x04,0x00,0x0d,0x00,0x05,0x00,0x38, 0x00,0x06,0x00,0x01,0x00,0x01,0x00,0x2a,0x00,0x02,0x00,0x39,0x00,0x01,0x00,0x06, 0x00,0x02,0x00,0x3a,0x00,0x03,0x00,0x3b,0x00,0x04,0x00,0x3c,0x00,0x05,0x00,0x3d, 0x00,0x06,0x00,0x3e,0x00,0x07,0x00,0x3f,0x00,0x08,0x00,0x40,0x00,0x09,0x00,0x41, 0x00,0x01,0x00,0x03,0x00,0x02,0x00,0x42,0x00,0x03,0x00,0x01,0x00,0x04,0x00,0x31, 0x00,0x05,0x00,0x0d,0x00,0x06,0x00,0x43,0x00,0x07,0x00,0x44,0x00,0x08,0x00,0x02, 0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x21,0x00,0x03,0x00,0x45,0x00,0x04,0x00,0x46, 0x00,0x05,0x00,0x47,0x00,0x06,0x00,0x25,0x00,0x07,0x00,0x48,0x00,0x08,0x00,0x02, 0x00,0x01,0x00,0x06,0x00,0x02,0x00,0x49,0x00,0x03,0x00,0x02,0x00,0x01,0x00,0x06, 0x00,0x02,0x00,0x21,0x00,0x03,0x00,0x45,0x00,0x04,0x00,0x25,0x00,0x05,0x00,0x4a, 0x00,0x06,0x00,0x48,0x00,0x07,0x00,0x47,0x00,0x08,0x00,0x02,0x00,0x01,0x00,0x06, 0x00,0x02,0x00,0x49,0x00,0x03,0x00,0x06,0x00,0x01,0x00,0x4b,0x00,0x02,0x00,0x4c, 0x00,0x03,0x00,0x01,0x00,0x01,0x00,0x0a,0x00,0x01,0x00,0x02,0x00,0x02,0x00,0x06, 0x00,0x03,0x45,0x4e,0x44,0x00,0x00,0x00,0x00,0x08, };
79.649518
80
0.789875
23e51ec1228413d3fade328d139e732d395dd343
2,063
h
C
src/utility/BTNRH_iir_filter.h
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
89
2017-03-25T19:27:07.000Z
2022-03-21T21:11:03.000Z
src/utility/BTNRH_iir_filter.h
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
43
2017-05-31T14:38:33.000Z
2022-03-29T09:34:58.000Z
src/utility/BTNRH_iir_filter.h
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
22
2017-03-07T22:15:59.000Z
2021-12-18T15:23:04.000Z
#ifndef _BTNRH_IIR_FILTER_H #define _BTNRH_IIR_FILTER_H #include <math.h> /* // apply IIR filter (with filter history to enable successive calls of the filter)...using doubles double filterz( double *b, int nb, //IIR "b" coefficients, and number of coeff double *a, int na, //IIR "a" coefficients, and number of coeff float *x, float *y, int n, //signal input (x) and output (y) and number of points double *z) //filter states (history), which is (max(nb,na)-1) in length { double yyyy; int i, j, k, nz; // normalize coefficients //if ((na > 0) && (a[0] != 1)) { //original if ((na > 0) && (abs(a[0]-1.0) > 1e-20)) { for (i = 1; i < na; i++) a[i] /= a[0]; for (i = 0; i < nb; i++) b[i] /= a[0]; a[0] = 1.0; } nz = ((na > nb) ? na : nb) - 1; for (i = 0; i < n; i++) { yyyy = b[0] * x[i] + z[0]; for (j = 0; j < nz; j++) { k = j + 1; if (k < nz) z[j] = z[k]; else z[j] = 0.0; if (k < nb) z[j] += b[k] * x[i]; if (k < na) z[j] -= a[k] * yyyy; } y[i] = (float) yyyy; } return (0.0); } */ // apply IIR filter (with filter history to enable successive calls of the filter)...using floats void filterz( float *b, int nb, //IIR "b" coefficients, and number of coeff float *a, int na, //IIR "a" coefficients, and number of coeff float *x, float *y, int n, //signal input (x) and output (y) and number of points float *z); //filter states (history), which is (max(nb,na)-1) in length // apply IIR filter but assume that a[0] is 1.0. Do not check. void filterz_nocheck( float *b, int nb, //IIR "b" coefficients, and number of coeff float *a, int na, //IIR "a" coefficients, and number of coeff float *x, float *y, int n, //signal input (x) and output (y) and number of points float *z); //filter states (history), which is (max(nb,na)-1) in length #endif
31.738462
98
0.52254
002c62e494a78f1db9a8f491d5e2d080f4e696ca
792
h
C
Slimfish/Source/GameBase/SlimGameLogic.h
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Slimfish/Source/GameBase/SlimGameLogic.h
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
Slimfish/Source/GameBase/SlimGameLogic.h
ThatBeanBag/Slimfish
7b0f821bccf2cae7d67f8a822f078def7a2d354d
[ "Apache-2.0" ]
null
null
null
// // Bachelor of Software Engineering // Media Design School // Auckland // New Zealand // // (c) 2005 - 2015 Media Design School // // File Name : GameLogic.h // Description : CGameLogic declaration file. // Author : Hayden Asplet. // Mail : hayden.asplet@mediadesignschool.com // #pragma once #ifndef __GAMELOGIC_H__ #define __GAMELOGIC_H__ // Library Includes // Local Includes namespace Slim { class CGameLogic { // Member Functions public: CGameLogic(); virtual ~CGameLogic(); virtual bool Initialise() = 0; virtual void Update(float deltaTime) = 0; virtual void Render() = 0; virtual void HandleInput(const CInput& input, float deltaTime) = 0; protected: private: // Member Variables public: protected: float m_ElapsedTime; private: }; } #endif // __GAMELOGIC_H__
16.851064
68
0.719697
7aef073111defaf4b8fe4022855dc88199c516d7
132
h
C
Rush02/ex00/includes/ft_find_numbers.h
arthur-trt/42-Pool
340f68b48b4717925809e64425739f207062eb94
[ "MIT" ]
null
null
null
Rush02/ex00/includes/ft_find_numbers.h
arthur-trt/42-Pool
340f68b48b4717925809e64425739f207062eb94
[ "MIT" ]
null
null
null
Rush02/ex00/includes/ft_find_numbers.h
arthur-trt/42-Pool
340f68b48b4717925809e64425739f207062eb94
[ "MIT" ]
null
null
null
#ifndef _FT_FIND_NUMBERS_H_ # define _FT_FIND_NUMBERS_H_ # include <stdlib.h> char *ft_find_numbers(char *buf, char *nbr); #endif
16.5
44
0.772727
153f8da3025ccaeeace334f4b124775e7566760a
3,515
c
C
dnet/files.c
nick-less/dnet_unix
b79b4d1ad2bad931ba3a335d7ba19882923f87e4
[ "Unlicense" ]
null
null
null
dnet/files.c
nick-less/dnet_unix
b79b4d1ad2bad931ba3a335d7ba19882923f87e4
[ "Unlicense" ]
null
null
null
dnet/files.c
nick-less/dnet_unix
b79b4d1ad2bad931ba3a335d7ba19882923f87e4
[ "Unlicense" ]
null
null
null
/* * FILES.C * * DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved * * handles actions on a per file descriptor basis, including accepting * new connections, closing old connections, and transfering data * between connections. */ #include <unistd.h> #include "dnet.h" #include "subs.h" #include "files.h" /* * new connection over master port... open request. read two byte port * number, allocate a channel, and send off to the remote */ void do_localopen(long n, long fd) { struct sockaddr sa; int addrlen = sizeof(sa); int s; uword chan; if (DDebug) fprintf(stderr, "DO_LOCALOPEN %ld %ld\n", n, fd); while ((s = accept(fd, &sa, &addrlen)) >= 0) { chan = alloc_channel(); fcntl(s, F_SETFL, FNDELAY); if (DDebug) fprintf(stderr, " ACCEPT: %ld on channel %ld ", s, chan); if (chan == 0xFFFF) { ubyte error = 1; gwrite(s, &error, 1); close(s); if (DDebug) fprintf(stderr, "(no channels)\n"); continue; } Fdstate[s] = do_open1; FdChan[s] = chan; FD_SET(s, &Fdread); FD_SET(s, &Fdexcept); Chan[chan].fd = s; Chan[chan].state = CHAN_LOPEN; if (DDebug) fprintf(stderr, "(State = CHAN_LOPEN)\n"); } } void do_open1(long n_notused, long fd) { uword port; char trxpri[2]; uword chan = FdChan[fd]; COPEN co; int n; if (DDebug) fprintf(stderr, "DO_OPEN %ld %ld on channel %ld ", n, fd, chan); for (;;) { n = read(fd, &port, 2); if (n < 0) { if (errno == EINTR) continue; if (errno == EWOULDBLOCK) return; } read(fd, trxpri, 2); if (n != 2) dneterror("do_open1: unable to read 2 bytes"); break; } if (DDebug) fprintf(stderr, "Port %ld\n", port); co.chanh = chan >> 8; co.chanl = chan; co.porth = port >> 8; co.portl = port; co.error = 0; co.pri = trxpri[1]; Chan[chan].port = port; Chan[chan].pri = 126; WriteStream(SCMD_OPEN, (ubyte*)&co, sizeof(co), chan); Chan[chan].pri = trxpri[0]; Fdstate[fd] = do_openwait; if (DDebug) fprintf(stderr, " Newstate = openwait\n"); } void do_openwait(long n, long fd) { ubyte buf[32]; if (DDebug) fprintf(stderr, "************ ERROR DO_OPENWAIT %ld %ld\n", n, fd); n = read(fd, &buf, 32); if (DDebug) { fprintf(stderr, " OPENWAIT, READ %ld bytes\n", n); if (n < 0) perror("openwait:read"); } } void do_open(long nn, long fd) { extern void nop(); char buf[256]; uword chan = FdChan[fd]; int n; n = read(fd, buf, sizeof(buf)); if (DDebug) { fprintf(stderr, "DO_OPEN %ld %ld, RECEIVE DATA on chan %ld (%ld by)\n", nn, fd, chan, n); fprintf(stderr, " fd, chanfd %ld %ld\n", fd, Chan[chan].fd); if (n < 0) perror("open:read"); } if (n == 0 || nn == 2) { /* application closed / exception cond */ CCLOSE cc; if (DDebug) fprintf(stderr, " DO_OPEN: REMOTE EOF, channel %d\n", chan); cc.chanh = chan >> 8; cc.chanl = chan; WriteStream(SCMD_CLOSE, &cc, sizeof(CCLOSE), chan); Chan[chan].state = CHAN_CLOSE; Chan[chan].flags |= CHANF_LCLOSE; if (Chan[chan].flags & CHANF_RCLOSE) { ; /* should never happen int fd = Chan[chan].fd; Chan[chan].state = CHAN_FREE; Chan[chan].fd = -1; Fdstate[fd] = nop; FD_CLR(fd, &Fdread); FD_CLR(fd, &Fdexcept); close(fd); */ } else { FD_CLR(fd, &Fdread); FD_CLR(fd, &Fdexcept); } } if (n > 0) { WriteStream(SCMD_DATA, (ubyte *) &buf, n, chan); } }
22.973856
72
0.577809
c62e7835db745116cf81d272cac0f3bcc6d46af1
9,491
h
C
Sources/FPChord.h
thinkyhead/fretpetx
36e79f4fa47a08a8aacc9d0045d610dfb7d984bb
[ "MIT" ]
4
2018-09-10T15:05:26.000Z
2020-12-05T16:44:40.000Z
Sources/FPChord.h
thinkyhead/fretpetx
36e79f4fa47a08a8aacc9d0045d610dfb7d984bb
[ "MIT" ]
null
null
null
Sources/FPChord.h
thinkyhead/fretpetx
36e79f4fa47a08a8aacc9d0045d610dfb7d984bb
[ "MIT" ]
1
2019-08-13T19:57:35.000Z
2019-08-13T19:57:35.000Z
/*! * @file FPChord.h * * @brief Interface for the FPChord class * * FPChords contain all the information necessary to define a chord unit, * including tones, fingering, picking pattern, and bracket position. * * FPChords are grouped together into units of four parts, called * Chord Groups. For use in documents, Chord Groups are stored in arrays. * * Chords know how to transform themselves based on a number of parameters. * * @section COPYRIGHT * FretPet X * Copyright © 2012 Scott Lahteine. All rights reserved. * */ #ifndef FPCHORD_H #define FPCHORD_H #define kUndefinedRootValue -99 #include "TObjectDeque.h" class TFile; class TDictionary; class FPChord; class TString; class FPChordGroup; #pragma pack(2) /*! The struct that represents chords in FretPet Classic. These are still needed to read and write FretPet Classic document files. */ typedef struct { UInt16 tones; //!< The chord's tones as a bitmask UInt16 root; //!< The root tone of the chord UInt16 key; //!< The key of the chord UInt16 rootType; //!< Chord root type (ignored) Boolean rootLock; //!< Whether to lock the root Boolean bracketFlag; //!< Whether the chord bracket is on UInt16 brakLow, brakHi; //!< The bracket position SInt16 fretHeld[6]; //!< The fretboard fingering UInt16 beats; //!< The length of the sequence UInt16 repeat; //!< The number of times to play PatternMask pick[6]; //!< The picking pattern } OldChordInfo; //! @brief A group of old chords typedef OldChordInfo OldChordGroup[][OLD_NUM_PARTS]; #pragma pack() typedef struct FatChord { UInt32 mask; Boolean flat6, flatFlat7, flat11, flat13; } FatChord; /*! FPChord embodies all information necessary to define a chord, including tones, fingering, picking pattern, and bracket position. Includes several methods to transform the chord and to get different representations. */ class FPChord { public: // Chord info UInt16 tones; // The tones of the chord as a bit mask UInt16 root; // Root note determines naming UInt16 key; // Root key determines flat/sharp bool rootLock; // the root stays put SInt16 rootModifier; // The scale palette offset SInt16 rootScaleStep; // The scale step offset // Guitar info bool bracketFlag; // chord bracket on? UInt16 brakLow, brakHi; // Bracket position SInt16 fretHeld[NUM_STRINGS]; // Fret positions // Pattern info PatternMask pick[NUM_STRINGS]; // a picking pattern UInt16 beats; // length of sequence UInt16 repeat; // number of times to play public: FPChord(); FPChord(const FPChord &other); FPChord(const OldChordInfo &info); FPChord(UInt16 t, UInt16 k, UInt16 r); FPChord(const TDictionary &inDict, UInt16 b, UInt16 r); // Constructor for stored chords ~FPChord() {} // FPChord& operator=(const FPChord &src); int operator==(const FPChord &inChord) const; int operator!=(const FPChord &inChord) const { return !(*this == inChord); } void Init(); inline FPChord* Clone() const { return new FPChord(*this); } // Accessors inline bool HasTones() const { return (tones != 0); } inline UInt16 HasTones(UInt16 arg) const { return (tones & arg) == arg; } inline bool HasTone(UInt16 t) const { return tones & BIT(NOTEMOD(t)); } UInt16 StringsUsedInPattern() const; bool HasPattern(bool noChordRequired=false) const; bool HasFingering() const; inline UInt16 PatternSize() const { return beats; } inline UInt16 Repeat() const { return repeat; } inline bool IsBracketEnabled() const { return bracketFlag; } inline SInt16 FretHeld(UInt16 string) const { return fretHeld[string]; } inline char* ChordName() const { return ChordName(root); } inline UInt16 Key() const { return key; } inline UInt16 Root() const { return root; } inline bool RootNeedsScaleInfo() { return (rootModifier == kUndefinedRootValue); } inline SInt16 RootModifier() const { return rootModifier; } inline UInt16 RootScaleStep() const { return rootScaleStep; } void UpdateStepInfo(); // Harmonize and Transpose void HarmonizeBy(const SInt16 steps); inline void HarmonizeUp() { HarmonizeBy(1); } inline void HarmonizeDown() { HarmonizeBy(-1); } bool TransposeTo(const UInt16 newKey); inline void TransposeBy(SInt16 interval) { TransposeTo(key+interval); } // Setters void Set(const OldChordInfo &info); inline void Set(UInt16 t, UInt16 k, UInt16 r) { tones = t; key = k; root = r; } inline void SetTones(UInt16 t) { tones = t; } inline void AddTones(UInt16 t) { tones |= t; } inline void SubtractTones(UInt16 t) { tones &= ~t; } inline void ToggleTones(UInt16 t) { tones ^= t; } inline void AddTone(UInt16 n) { tones |= BIT(NOTEMOD(n)); } inline void Clear() { SetTones(0); } // Setters inline void SetRoot(UInt16 r) { root = NOTEMOD(r); } inline void SetKey(UInt16 k) { key = k; } inline void SetBracket(UInt16 lo, UInt16 hi) { brakLow = lo; brakHi = hi; } inline void SetRepeat(UInt16 r) { repeat = r; } inline void SetRootModifier(SInt16 rm) { rootModifier = rm; } inline void SetRootScaleStep(SInt16 ss) { rootScaleStep = ss; } inline void ResetStepInfo() { rootModifier = rootScaleStep = kUndefinedRootValue; } // Chord Lock inline bool IsLocked() const { return rootLock; } inline void SetLocked(bool lock) { rootLock = lock; } inline void Lock() { SetLocked(true); } inline void Unlock() { SetLocked(false); } inline void ToggleLock() { rootLock ^= true; } // The pattern inline void SetPattern(FPChord &src) { for(int s=NUM_STRINGS;s--;) pick[s] = src.pick[s]; } inline void ClearPattern() { bzero(pick, sizeof(pick)); } void RandomPattern(bool very=false); void ResetPattern(); void SetDefaultPattern(); void SavePatternAsDefault(); inline PatternMask& GetPatternMask(UInt16 string) { return pick[string]; } inline bool GetPatternDot(UInt16 string, UInt16 step) const { return (pick[string] & BIT(step)) != 0; } inline void SetPatternDot(UInt16 string, UInt16 step) { pick[string] |= BIT(step); } inline void ClearPatternDot(UInt16 string, UInt16 step) { pick[string] &= ~BIT(step); } inline void SetPatternStep(UInt16 step) { UInt16 b = BIT(step); for (int s=NUM_STRINGS; s--;) pick[s] |= b; } inline void ClearPatternStep(UInt16 step) { UInt16 b = ~BIT(step); for (int s=NUM_STRINGS; s--;) pick[s] &= b; } void StretchPattern(bool latter=false); inline void SetPatternSize(UInt16 b) { beats = b; } // Chord name and function strings char* ChordNameOld(UInt16 r, bool bRoman=false) const; char* ChordName(UInt16 r, bool bRoman=false) const; inline void ChordName(StringPtr n, StringPtr e, StringPtr m, bool bRoman=false) const { ChordName(root, n, e, m, bRoman); } void ChordName(TString &n, TString &e, TString &m, bool bRoman=false) const; void ChordName(UInt16 r, StringPtr n, StringPtr e, StringPtr m, bool bRoman=false) const; char* ChordToneFunctions() const; FatChord TwoOctaveChord() const; OSErr Write(TFile* const file) const; OSErr WriteOldStyle(TFile* const file) const; TDictionary* GetDictionary() const; // Selection Operations void FlipPattern(); void ReversePattern(); void InvertTones(); void CleanupTones(); void NewFingering(); bool CanFlipPattern() const; bool CanReversePattern() const; bool CanInvertTones() const; bool CanCleanupTones() const; }; extern FPChord globalChord; #pragma mark - //----------------------------------------------- // // FPChordGroup // class FPChordGroup { private: FPChord chordList[DOC_PARTS]; public: FPChordGroup() {} FPChordGroup(const FPChord &chord); FPChordGroup(const FPChordGroup &group); FPChordGroup(const TDictionary &inDict); FPChordGroup(const CFArrayRef groupArray, UInt16 b, UInt16 r); const FPChord& operator[](unsigned i) const { return chordList[i]; } FPChord& operator[](unsigned i) { return chordList[i]; } int operator==(const FPChordGroup &inGroup) const; int operator!=(const FPChordGroup &inGroup) const { return !(*this == inGroup); } bool HasPattern(bool anyChord=false) const; bool HasFingering() const; inline UInt16 Repeat() const { return chordList[0].Repeat(); } inline UInt16 PatternSize() const { return chordList[0].PatternSize(); } void ResetPattern(); void StretchPattern(bool latter=false); inline void SetRepeat(UInt16 r) { for (PartIndex p=DOC_PARTS;p--;chordList[p].SetRepeat(r)); } inline void SetPatternSize(UInt16 b) { for (PartIndex p=DOC_PARTS;p--;chordList[p].SetPatternSize(b)); } OSErr Write(UInt16 format); TDictionary* GetDictionary() const; }; #pragma mark - //----------------------------------------------- // // FPChordGroupArray // class FPChordGroupArray : public TObjectDeque<FPChordGroup> { public: void InsertCopyBefore(ChordIndex index, const FPChord &chord); OSErr Write(UInt16 format); const FPChordGroup& operator[](unsigned i) const { return *TObjectDeque<FPChordGroup>::operator[](i); } FPChordGroup& operator[](unsigned i) { return *TObjectDeque<FPChordGroup>::operator[](i); } }; //typedef FPChordGroupArray::iterator FPChordGroupIterator; #endif
35.680451
119
0.677695
bbc3827ae85a63b0b8b015406d6d95f41ae0325c
14,150
h
C
libnodegl/glfunctions.h
mrobertseidowsky-gpsw/node.gl.ci
ac277d42683edf0c7a482d4e8f1b88f9ee3fefd3
[ "Apache-2.0" ]
null
null
null
libnodegl/glfunctions.h
mrobertseidowsky-gpsw/node.gl.ci
ac277d42683edf0c7a482d4e8f1b88f9ee3fefd3
[ "Apache-2.0" ]
null
null
null
libnodegl/glfunctions.h
mrobertseidowsky-gpsw/node.gl.ci
ac277d42683edf0c7a482d4e8f1b88f9ee3fefd3
[ "Apache-2.0" ]
null
null
null
/* DO NOT EDIT - This file is autogenerated */ #ifndef NGL_GLFUNCS_H #define NGL_GLFUNCS_H #include "glincludes.h" #ifdef _WIN32 #define NGLI_GL_APIENTRY WINAPI #else #define NGLI_GL_APIENTRY #endif struct glfunctions { NGLI_GL_APIENTRY void (*ActiveTexture)(GLenum texture); NGLI_GL_APIENTRY void (*AttachShader)(GLuint program, GLuint shader); NGLI_GL_APIENTRY void (*BeginQuery)(GLenum target, GLuint id); NGLI_GL_APIENTRY void (*BeginQueryEXT)(GLenum target, GLuint id); NGLI_GL_APIENTRY void (*BindAttribLocation)(GLuint program, GLuint index, const GLchar * name); NGLI_GL_APIENTRY void (*BindBuffer)(GLenum target, GLuint buffer); NGLI_GL_APIENTRY void (*BindBufferBase)(GLenum target, GLuint index, GLuint buffer); NGLI_GL_APIENTRY void (*BindBufferRange)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); NGLI_GL_APIENTRY void (*BindFramebuffer)(GLenum target, GLuint framebuffer); NGLI_GL_APIENTRY void (*BindImageTexture)(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); NGLI_GL_APIENTRY void (*BindRenderbuffer)(GLenum target, GLuint renderbuffer); NGLI_GL_APIENTRY void (*BindTexture)(GLenum target, GLuint texture); NGLI_GL_APIENTRY void (*BindVertexArray)(GLuint array); NGLI_GL_APIENTRY void (*BlendColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); NGLI_GL_APIENTRY void (*BlendEquation)(GLenum mode); NGLI_GL_APIENTRY void (*BlendEquationSeparate)(GLenum modeRGB, GLenum modeAlpha); NGLI_GL_APIENTRY void (*BlendFunc)(GLenum sfactor, GLenum dfactor); NGLI_GL_APIENTRY void (*BlendFuncSeparate)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); NGLI_GL_APIENTRY void (*BlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); NGLI_GL_APIENTRY void (*BufferData)(GLenum target, GLsizeiptr size, const void * data, GLenum usage); NGLI_GL_APIENTRY void (*BufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data); NGLI_GL_APIENTRY GLenum (*CheckFramebufferStatus)(GLenum target); NGLI_GL_APIENTRY void (*Clear)(GLbitfield mask); NGLI_GL_APIENTRY void (*ClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); NGLI_GL_APIENTRY GLenum (*ClientWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); NGLI_GL_APIENTRY void (*ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); NGLI_GL_APIENTRY void (*CompileShader)(GLuint shader); NGLI_GL_APIENTRY GLuint (*CreateProgram)(); NGLI_GL_APIENTRY GLuint (*CreateShader)(GLenum type); NGLI_GL_APIENTRY void (*CullFace)(GLenum mode); NGLI_GL_APIENTRY void (*DeleteBuffers)(GLsizei n, const GLuint * buffers); NGLI_GL_APIENTRY void (*DeleteFramebuffers)(GLsizei n, const GLuint * framebuffers); NGLI_GL_APIENTRY void (*DeleteProgram)(GLuint program); NGLI_GL_APIENTRY void (*DeleteQueries)(GLsizei n, const GLuint * ids); NGLI_GL_APIENTRY void (*DeleteQueriesEXT)(GLsizei n, const GLuint * ids); NGLI_GL_APIENTRY void (*DeleteRenderbuffers)(GLsizei n, const GLuint * renderbuffers); NGLI_GL_APIENTRY void (*DeleteShader)(GLuint shader); NGLI_GL_APIENTRY void (*DeleteTextures)(GLsizei n, const GLuint * textures); NGLI_GL_APIENTRY void (*DeleteVertexArrays)(GLsizei n, const GLuint * arrays); NGLI_GL_APIENTRY void (*DepthFunc)(GLenum func); NGLI_GL_APIENTRY void (*DepthMask)(GLboolean flag); NGLI_GL_APIENTRY void (*DetachShader)(GLuint program, GLuint shader); NGLI_GL_APIENTRY void (*Disable)(GLenum cap); NGLI_GL_APIENTRY void (*DisableVertexAttribArray)(GLuint index); NGLI_GL_APIENTRY void (*DispatchCompute)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); NGLI_GL_APIENTRY void (*DrawArrays)(GLenum mode, GLint first, GLsizei count); NGLI_GL_APIENTRY void (*DrawArraysInstanced)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); NGLI_GL_APIENTRY void (*DrawBuffers)(GLsizei n, const GLenum * bufs); NGLI_GL_APIENTRY void (*DrawElements)(GLenum mode, GLsizei count, GLenum type, const void * indices); NGLI_GL_APIENTRY void (*DrawElementsInstanced)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount); NGLI_GL_APIENTRY void (*EGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image); NGLI_GL_APIENTRY void (*Enable)(GLenum cap); NGLI_GL_APIENTRY void (*EnableVertexAttribArray)(GLuint index); NGLI_GL_APIENTRY void (*EndQuery)(GLenum target); NGLI_GL_APIENTRY void (*EndQueryEXT)(GLenum target); NGLI_GL_APIENTRY GLsync (*FenceSync)(GLenum condition, GLbitfield flags); NGLI_GL_APIENTRY void (*Finish)(); NGLI_GL_APIENTRY void (*Flush)(); NGLI_GL_APIENTRY void (*FramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); NGLI_GL_APIENTRY void (*FramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); NGLI_GL_APIENTRY void (*GenBuffers)(GLsizei n, GLuint * buffers); NGLI_GL_APIENTRY void (*GenFramebuffers)(GLsizei n, GLuint * framebuffers); NGLI_GL_APIENTRY void (*GenQueries)(GLsizei n, GLuint * ids); NGLI_GL_APIENTRY void (*GenQueriesEXT)(GLsizei n, GLuint * ids); NGLI_GL_APIENTRY void (*GenRenderbuffers)(GLsizei n, GLuint * renderbuffers); NGLI_GL_APIENTRY void (*GenTextures)(GLsizei n, GLuint * textures); NGLI_GL_APIENTRY void (*GenVertexArrays)(GLsizei n, GLuint * arrays); NGLI_GL_APIENTRY void (*GenerateMipmap)(GLenum target); NGLI_GL_APIENTRY void (*GetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); NGLI_GL_APIENTRY void (*GetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); NGLI_GL_APIENTRY void (*GetActiveUniformBlockName)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName); NGLI_GL_APIENTRY void (*GetActiveUniformBlockiv)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params); NGLI_GL_APIENTRY void (*GetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders); NGLI_GL_APIENTRY GLint (*GetAttribLocation)(GLuint program, const GLchar * name); NGLI_GL_APIENTRY void (*GetBooleanv)(GLenum pname, GLboolean * data); NGLI_GL_APIENTRY GLenum (*GetError)(); NGLI_GL_APIENTRY void (*GetIntegeri_v)(GLenum target, GLuint index, GLint * data); NGLI_GL_APIENTRY void (*GetIntegerv)(GLenum pname, GLint * data); NGLI_GL_APIENTRY void (*GetInternalformativ)(GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params); NGLI_GL_APIENTRY void (*GetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); NGLI_GL_APIENTRY void (*GetProgramInterfaceiv)(GLuint program, GLenum programInterface, GLenum pname, GLint * params); NGLI_GL_APIENTRY GLuint (*GetProgramResourceIndex)(GLuint program, GLenum programInterface, const GLchar * name); NGLI_GL_APIENTRY GLint (*GetProgramResourceLocation)(GLuint program, GLenum programInterface, const GLchar * name); NGLI_GL_APIENTRY void (*GetProgramResourceName)(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); NGLI_GL_APIENTRY void (*GetProgramResourceiv)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params); NGLI_GL_APIENTRY void (*GetProgramiv)(GLuint program, GLenum pname, GLint * params); NGLI_GL_APIENTRY void (*GetQueryObjectui64v)(GLuint id, GLenum pname, GLuint64 * params); NGLI_GL_APIENTRY void (*GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64 * params); NGLI_GL_APIENTRY void (*GetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint * params); NGLI_GL_APIENTRY void (*GetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); NGLI_GL_APIENTRY void (*GetShaderSource)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); NGLI_GL_APIENTRY void (*GetShaderiv)(GLuint shader, GLenum pname, GLint * params); NGLI_GL_APIENTRY const GLubyte * (*GetString)(GLenum name); NGLI_GL_APIENTRY const GLubyte * (*GetStringi)(GLenum name, GLuint index); NGLI_GL_APIENTRY GLuint (*GetUniformBlockIndex)(GLuint program, const GLchar * uniformBlockName); NGLI_GL_APIENTRY GLint (*GetUniformLocation)(GLuint program, const GLchar * name); NGLI_GL_APIENTRY void (*GetUniformiv)(GLuint program, GLint location, GLint * params); NGLI_GL_APIENTRY void (*InvalidateFramebuffer)(GLenum target, GLsizei numAttachments, const GLenum * attachments); NGLI_GL_APIENTRY void (*LinkProgram)(GLuint program); NGLI_GL_APIENTRY void (*MemoryBarrier)(GLbitfield barriers); NGLI_GL_APIENTRY void (*PixelStorei)(GLenum pname, GLint param); NGLI_GL_APIENTRY void (*PolygonMode)(GLenum face, GLenum mode); NGLI_GL_APIENTRY void (*ReadBuffer)(GLenum src); NGLI_GL_APIENTRY void (*ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels); NGLI_GL_APIENTRY void (*ReleaseShaderCompiler)(); NGLI_GL_APIENTRY void (*RenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); NGLI_GL_APIENTRY void (*RenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); NGLI_GL_APIENTRY void (*Scissor)(GLint x, GLint y, GLsizei width, GLsizei height); NGLI_GL_APIENTRY void (*ShaderBinary)(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); NGLI_GL_APIENTRY void (*ShaderSource)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); NGLI_GL_APIENTRY void (*StencilFunc)(GLenum func, GLint ref, GLuint mask); NGLI_GL_APIENTRY void (*StencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); NGLI_GL_APIENTRY void (*StencilMask)(GLuint mask); NGLI_GL_APIENTRY void (*StencilMaskSeparate)(GLenum face, GLuint mask); NGLI_GL_APIENTRY void (*StencilOp)(GLenum fail, GLenum zfail, GLenum zpass); NGLI_GL_APIENTRY void (*StencilOpSeparate)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); NGLI_GL_APIENTRY void (*TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); NGLI_GL_APIENTRY void (*TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); NGLI_GL_APIENTRY void (*TexParameteri)(GLenum target, GLenum pname, GLint param); NGLI_GL_APIENTRY void (*TexStorage2D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); NGLI_GL_APIENTRY void (*TexStorage3D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); NGLI_GL_APIENTRY void (*TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); NGLI_GL_APIENTRY void (*TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); NGLI_GL_APIENTRY void (*Uniform1f)(GLint location, GLfloat v0); NGLI_GL_APIENTRY void (*Uniform1fv)(GLint location, GLsizei count, const GLfloat * value); NGLI_GL_APIENTRY void (*Uniform1i)(GLint location, GLint v0); NGLI_GL_APIENTRY void (*Uniform1iv)(GLint location, GLsizei count, const GLint * value); NGLI_GL_APIENTRY void (*Uniform2f)(GLint location, GLfloat v0, GLfloat v1); NGLI_GL_APIENTRY void (*Uniform2fv)(GLint location, GLsizei count, const GLfloat * value); NGLI_GL_APIENTRY void (*Uniform2i)(GLint location, GLint v0, GLint v1); NGLI_GL_APIENTRY void (*Uniform2iv)(GLint location, GLsizei count, const GLint * value); NGLI_GL_APIENTRY void (*Uniform3f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); NGLI_GL_APIENTRY void (*Uniform3fv)(GLint location, GLsizei count, const GLfloat * value); NGLI_GL_APIENTRY void (*Uniform3i)(GLint location, GLint v0, GLint v1, GLint v2); NGLI_GL_APIENTRY void (*Uniform3iv)(GLint location, GLsizei count, const GLint * value); NGLI_GL_APIENTRY void (*Uniform4f)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); NGLI_GL_APIENTRY void (*Uniform4fv)(GLint location, GLsizei count, const GLfloat * value); NGLI_GL_APIENTRY void (*Uniform4i)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); NGLI_GL_APIENTRY void (*Uniform4iv)(GLint location, GLsizei count, const GLint * value); NGLI_GL_APIENTRY void (*UniformBlockBinding)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); NGLI_GL_APIENTRY void (*UniformMatrix2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); NGLI_GL_APIENTRY void (*UniformMatrix3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); NGLI_GL_APIENTRY void (*UniformMatrix4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); NGLI_GL_APIENTRY void (*UseProgram)(GLuint program); NGLI_GL_APIENTRY void (*VertexAttribDivisor)(GLuint index, GLuint divisor); NGLI_GL_APIENTRY void (*VertexAttribPointer)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); NGLI_GL_APIENTRY void (*Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); NGLI_GL_APIENTRY void (*WaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); }; #endif
85.240964
211
0.770035
63a246fe94effe2aeacc80b98a556ca054a0d4db
560
h
C
trunk/elsa/smbase/growbuf.h
BackupTheBerlios/codemorpher-svn
997c989fe1ca932771b3908bafffe1f52f965c9d
[ "BSD-3-Clause" ]
10
2018-05-11T17:28:12.000Z
2021-09-03T23:58:14.000Z
trunk/elsa/smbase/growbuf.h
BackupTheBerlios/codemorpher-svn
997c989fe1ca932771b3908bafffe1f52f965c9d
[ "BSD-3-Clause" ]
16
2015-08-18T09:18:57.000Z
2020-04-13T07:42:02.000Z
trunk/elsa/smbase/growbuf.h
BackupTheBerlios/codemorpher-svn
997c989fe1ca932771b3908bafffe1f52f965c9d
[ "BSD-3-Clause" ]
5
2018-05-16T21:40:59.000Z
2022-03-26T00:22:16.000Z
// growbuf.h see license.txt for copyright and terms of use // buffer that grows as needed by doubling in size #ifndef __GROWBUF_H #define __GROWBUF_H #include "datablok.h" // DataBlock class GrowBuffer : public DataBlock { public: GrowBuffer(int allocSize=0) : DataBlock(allocSize) {} ~GrowBuffer() {} // append to the end, at least doubling allocated // size if growth is needed void append(byte const *str, int len); void append(char const *str, int len) { append((byte const*)str, len); } }; #endif // __GROWBUF_H
24.347826
70
0.682143
63b048ada5a176a0315cf3ea1c9cd8c9dc016541
12,482
c
C
test/unit/nnc/transform.tests.c
kenhom/ccv
89be0fad960f68ade73a7d26dc7a777114c62deb
[ "CC0-1.0", "CC-BY-4.0" ]
1
2020-01-16T21:14:39.000Z
2020-01-16T21:14:39.000Z
test/unit/nnc/transform.tests.c
kenhom/ccv
89be0fad960f68ade73a7d26dc7a777114c62deb
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/nnc/transform.tests.c
kenhom/ccv
89be0fad960f68ade73a7d26dc7a777114c62deb
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
#include "case.h" #include "ccv_case.h" #include "ccv_nnc_case.h" #include <ccv.h> #include <nnc/ccv_nnc.h> #include <nnc/ccv_nnc_easy.h> #include <3rdparty/dsfmt/dSFMT.h> TEST_SETUP() { ccv_nnc_init(); } TEST_CASE("data transfer between different tensor views") { ccv_nnc_tensor_t* a = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 56, 56, 128), 0); ccv_nnc_tensor_t* b = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 24, 32, 64), 0); ccv_nnc_cmd_t cmd = CMD_DATA_TRANSFER_FORWARD(); int i; for (i = 0; i < 128 * 56 * 56; i++) a->data.f32[i] = i; // 6 values, manageable. ccv_nnc_tensor_view_t a_view = ccv_nnc_tensor_view(a, DIM_ALLOC(2, 3, 4), DIM_ALLOC(4, 3, 2), a->info.dim); ccv_nnc_tensor_view_t b_view = ccv_nnc_tensor_view(b, DIM_ALLOC(2, 3, 4), DIM_ALLOC(0, 0, 0), b->info.dim); memset(b->data.f32, 0, sizeof(float) * 64 * 32 * 24); ccv_nnc_cmd_exec(cmd, ccv_nnc_no_hint, 0, TENSOR_LIST((ccv_nnc_tensor_t*)&a_view), TENSOR_LIST((ccv_nnc_tensor_t*)&b_view), 0); ccv_nnc_tensor_t* c = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 24, 32, 64), 0); memset(c->data.f32, 0, sizeof(float) * 64 * 32 * 24); c->data.f32[0] = 128 * 56 * 4 + 128 * 3 + 2; c->data.f32[1] = 128 * 56 * 4 + 128 * 3 + 3; c->data.f32[2] = 128 * 56 * 4 + 128 * 3 + 4; c->data.f32[3] = 128 * 56 * 4 + 128 * 3 + 5; c->data.f32[64] = 128 * 56 * 4 + 128 * (3 + 1) + 2; c->data.f32[65] = 128 * 56 * 4 + 128 * (3 + 1) + 3; c->data.f32[66] = 128 * 56 * 4 + 128 * (3 + 1) + 4; c->data.f32[67] = 128 * 56 * 4 + 128 * (3 + 1) + 5; c->data.f32[128] = 128 * 56 * 4 + 128 * (3 + 2) + 2; c->data.f32[129] = 128 * 56 * 4 + 128 * (3 + 2) + 3; c->data.f32[130] = 128 * 56 * 4 + 128 * (3 + 2) + 4; c->data.f32[131] = 128 * 56 * 4 + 128 * (3 + 2) + 5; c->data.f32[64 * 32] = 128 * 56 * (4 + 1) + 128 * 3 + 2; c->data.f32[64 * 32 + 1] = 128 * 56 * (4 + 1) + 128 * 3 + 3; c->data.f32[64 * 32 + 2] = 128 * 56 * (4 + 1) + 128 * 3 + 4; c->data.f32[64 * 32 + 3] = 128 * 56 * (4 + 1) + 128 * 3 + 5; c->data.f32[64 * 32 + 64] = 128 * 56 * (4 + 1) + 128 * (3 + 1) + 2; c->data.f32[64 * 32 + 65] = 128 * 56 * (4 + 1) + 128 * (3 + 1) + 3; c->data.f32[64 * 32 + 66] = 128 * 56 * (4 + 1) + 128 * (3 + 1) + 4; c->data.f32[64 * 32 + 67] = 128 * 56 * (4 + 1) + 128 * (3 + 1) + 5; c->data.f32[64 * 32 + 128] = 128 * 56 * (4 + 1) + 128 * (3 + 2) + 2; c->data.f32[64 * 32 + 129] = 128 * 56 * (4 + 1) + 128 * (3 + 2) + 3; c->data.f32[64 * 32 + 130] = 128 * 56 * (4 + 1) + 128 * (3 + 2) + 4; c->data.f32[64 * 32 + 131] = 128 * 56 * (4 + 1) + 128 * (3 + 2) + 5; REQUIRE_TENSOR_EQ(b, c, "64x32x24 tensor should be exactly the same."); ccv_nnc_tensor_free(a); ccv_nnc_tensor_free(b); ccv_nnc_tensor_free(c); } TEST_CASE("format transform between NHWC and NCHW tensors") { ccv_nnc_tensor_t* a = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 4, 3, 2), 0); ccv_nnc_tensor_t* b = ccv_nnc_tensor_new(0, CPU_TENSOR_NCHW(32F, 2, 4, 3), 0); ccv_nnc_cmd_t cmd = CMD_FORMAT_TRANSFORM_FORWARD(); int i; for (i = 0; i < 2 * 3 * 4; i++) a->data.f32[i] = i; ccv_nnc_cmd_exec(cmd, ccv_nnc_no_hint, 0, TENSOR_LIST(a), TENSOR_LIST(b), 0); ccv_nnc_tensor_t* c = ccv_nnc_tensor_new(0, CPU_TENSOR_NCHW(32F, 2, 4, 3), 0); c->data.f32[0] = 0; c->data.f32[1] = 2; c->data.f32[2] = 4; c->data.f32[3] = 6; c->data.f32[4] = 8; c->data.f32[5] = 10; c->data.f32[6] = 12; c->data.f32[7] = 14; c->data.f32[8] = 16; c->data.f32[9] = 18; c->data.f32[10] = 20; c->data.f32[11] = 22; c->data.f32[12] = 1; c->data.f32[13] = 3; c->data.f32[14] = 5; c->data.f32[15] = 7; c->data.f32[16] = 9; c->data.f32[17] = 11; c->data.f32[18] = 13; c->data.f32[19] = 15; c->data.f32[20] = 17; c->data.f32[21] = 19; c->data.f32[22] = 21; c->data.f32[23] = 23; REQUIRE_TENSOR_EQ(b, c, "3x4x2 tensor should be exactly the same."); ccv_nnc_tensor_t* d = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 4, 3, 2), 0); ccv_nnc_cmd_exec(cmd, ccv_nnc_no_hint, 0, TENSOR_LIST(c), TENSOR_LIST(d), 0); REQUIRE_TENSOR_EQ(d, a, "2x3x4 tensor should be exactly the same."); ccv_nnc_tensor_free(a); ccv_nnc_tensor_free(b); ccv_nnc_tensor_free(c); ccv_nnc_tensor_free(d); } TEST_CASE("format transform between NHWC and NCHW tensor views") { ccv_nnc_tensor_t* a = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 7, 6, 5), 0); ccv_nnc_tensor_view_t a_view = ccv_nnc_tensor_view(a, DIM_ALLOC(4, 3, 2), DIM_ALLOC(3, 2, 1), a->info.dim); memset(a->data.f32, 0, sizeof(float) * 5 * 6 * 7); ccv_nnc_tensor_t* b = ccv_nnc_tensor_new(0, CPU_TENSOR_NCHW(32F, 8, 10, 8), 0); memset(b->data.f32, 0, sizeof(float) * 8 * 10 * 8); ccv_nnc_tensor_view_t b_view = ccv_nnc_tensor_view(b, DIM_ALLOC(2, 4, 3), DIM_ALLOC(0, 0, 0), b->info.dim); ccv_nnc_cmd_t cmd = CMD_FORMAT_TRANSFORM_FORWARD(); int i, j, k; for (i = 0; i < 4; i++) for (j = 0; j < 3; j++) for (k = 0; k < 2; k++) a->data.f32[(i + 3) * 5 * 6 + (j + 2) * 5 + (k + 1)] = k + j * 2 + i * 3 * 2; ccv_nnc_cmd_exec(cmd, ccv_nnc_no_hint, 0, TENSOR_LIST((ccv_nnc_tensor_t*)&a_view), TENSOR_LIST((ccv_nnc_tensor_t*)&b_view), 0); ccv_nnc_tensor_t* c = ccv_nnc_tensor_new(0, CPU_TENSOR_NCHW(32F, 8, 10, 8), 0); memset(c->data.f32, 0, sizeof(float) * 8 * 10 * 8); c->data.f32[0] = 0; c->data.f32[1] = 2; c->data.f32[2] = 4; c->data.f32[8] = 6; c->data.f32[9] = 8; c->data.f32[10] = 10; c->data.f32[16] = 12; c->data.f32[17] = 14; c->data.f32[18] = 16; c->data.f32[24] = 18; c->data.f32[25] = 20; c->data.f32[26] = 22; c->data.f32[80] = 1; c->data.f32[81] = 3; c->data.f32[82] = 5; c->data.f32[88] = 7; c->data.f32[89] = 9; c->data.f32[90] = 11; c->data.f32[96] = 13; c->data.f32[97] = 15; c->data.f32[98] = 17; c->data.f32[104] = 19; c->data.f32[105] = 21; c->data.f32[106] = 23; REQUIRE_TENSOR_EQ(b, c, "3x4x2 tensor view should be exactly the same."); ccv_nnc_tensor_view_t c_view = ccv_nnc_tensor_view(c, DIM_ALLOC(2, 4, 3), DIM_ALLOC(0, 0, 0), c->info.dim); ccv_nnc_tensor_t* d = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 7, 6, 5), 0); memset(d->data.f32, 0, sizeof(float) * 5 * 6 * 7); ccv_nnc_tensor_view_t d_view = ccv_nnc_tensor_view(d, DIM_ALLOC(4, 3, 2), DIM_ALLOC(3, 2, 1), d->info.dim); ccv_nnc_cmd_exec(cmd, ccv_nnc_no_hint, 0, TENSOR_LIST((ccv_nnc_tensor_t*)&c_view), TENSOR_LIST((ccv_nnc_tensor_t*)&d_view), 0); REQUIRE_TENSOR_EQ(d, a, "2x3x4 tensor should be exactly the same."); ccv_nnc_tensor_free(a); ccv_nnc_tensor_free(b); ccv_nnc_tensor_free(c); ccv_nnc_tensor_free(d); } TEST_CASE("transpose two 4d tensor views") { ccv_nnc_tensor_t* const a = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 7, 6, 5, 4), 0); memset(a->data.f32, 0, sizeof(float) * 7 * 6 * 5 * 4); ccv_nnc_tensor_view_t a_view = ccv_nnc_tensor_view(a, DIM_ALLOC(4, 3, 2, 2), DIM_ALLOC(3, 2, 1, 0), a->info.dim); ccv_nnc_tensor_t* const b = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 8, 7, 6, 5), 0); memset(b->data.f32, 0, sizeof(float) * 8 * 7 * 6 * 5); ccv_nnc_tensor_view_t b_view = ccv_nnc_tensor_view(b, DIM_ALLOC(4, 2, 2, 3), DIM_ALLOC(3, 2, 1, 0), b->info.dim); int i, j, k, l; for (i = 0; i < 4; i++) for (j = 0; j < 3; j++) for (k = 0; k < 2; k++) for (l = 0; l < 2; l++) a->data.f32[(i + 3) * 6 * 5 * 4 + (j + 2) * 5 * 4 + (k + 1) * 4 + l] = i * 3 * 2 * 2 + j * 2 * 2 + k * 2 + l; ccv_nnc_cmd_exec(CMD_TRANSPOSE_FORWARD(1, 3), ccv_nnc_no_hint, 0, TENSOR_LIST((ccv_nnc_tensor_t*)&a_view), TENSOR_LIST((ccv_nnc_tensor_t*)&b_view), 0); ccv_nnc_tensor_t* c = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 8, 7, 6, 5), 0); memset(c->data.f32, 0, sizeof(float) * 8 * 7 * 6 * 5); for (i = 0; i < 4; i++) for (j = 0; j < 3; j++) for (k = 0; k < 2; k++) for (l = 0; l < 2; l++) c->data.f32[(i + 3) * 7 * 6 * 5 + (l + 2) * 6 * 5 + (k + 1) * 5 + j] = i * 3 * 2 * 2 + j * 2 * 2 + k * 2 + l; REQUIRE_TENSOR_EQ(b, c, "4x2x2x3 tensor view should be exactly the same."); ccv_nnc_tensor_view_t c_view = ccv_nnc_tensor_view(c, DIM_ALLOC(4, 2, 2, 3), DIM_ALLOC(3, 2, 1, 0), c->info.dim); ccv_nnc_tensor_t* d = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 7, 6, 5, 4), 0); memset(d->data.f32, 0, sizeof(float) * 7 * 6 * 5 * 4); ccv_nnc_tensor_view_t d_view = ccv_nnc_tensor_view(d, DIM_ALLOC(4, 3, 2, 2), DIM_ALLOC(3, 2, 1, 0), d->info.dim); ccv_nnc_cmd_exec(CMD_TRANSPOSE_FORWARD(1, 3), ccv_nnc_no_hint, 0, TENSOR_LIST((ccv_nnc_tensor_t*)&c_view), TENSOR_LIST((ccv_nnc_tensor_t*)&d_view), 0); REQUIRE_TENSOR_EQ(d, a, "4x3x2x2 tensor should be exactly the same."); ccv_nnc_tensor_free(a); ccv_nnc_tensor_free(b); ccv_nnc_tensor_free(c); ccv_nnc_tensor_free(d); } TEST_CASE("transpose two 3d tensor views") { ccv_nnc_tensor_t* const a = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); memset(a->data.f32, 0, sizeof(float) * 6 * 5 * 4); ccv_nnc_tensor_view_t a_view = ccv_nnc_tensor_view(a, DIM_ALLOC(3, 2, 2), DIM_ALLOC(2, 1, 0), a->info.dim); ccv_nnc_tensor_t* const b = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 7, 6, 5), 0); memset(b->data.f32, 0, sizeof(float) * 7 * 6 * 5); ccv_nnc_tensor_view_t b_view = ccv_nnc_tensor_view(b, DIM_ALLOC(2, 2, 3), DIM_ALLOC(2, 1, 0), b->info.dim); int j, k, l; for (j = 0; j < 3; j++) for (k = 0; k < 2; k++) for (l = 0; l < 2; l++) a->data.f32[(j + 2) * 5 * 4 + (k + 1) * 4 + l] = j * 2 * 2 + k * 2 + l; ccv_nnc_cmd_exec(CMD_TRANSPOSE_FORWARD(0, 2), ccv_nnc_no_hint, 0, TENSOR_LIST((ccv_nnc_tensor_t*)&a_view), TENSOR_LIST((ccv_nnc_tensor_t*)&b_view), 0); ccv_nnc_tensor_t* c = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 7, 6, 5), 0); memset(c->data.f32, 0, sizeof(float) * 7 * 6 * 5); for (j = 0; j < 3; j++) for (k = 0; k < 2; k++) for (l = 0; l < 2; l++) c->data.f32[(l + 2) * 6 * 5 + (k + 1) * 5 + j] = j * 2 * 2 + k * 2 + l; REQUIRE_TENSOR_EQ(b, c, "2x2x3 tensor view should be exactly the same."); ccv_nnc_tensor_view_t c_view = ccv_nnc_tensor_view(c, DIM_ALLOC(2, 2, 3), DIM_ALLOC(2, 1, 0), c->info.dim); ccv_nnc_tensor_t* d = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); memset(d->data.f32, 0, sizeof(float) * 6 * 5 * 4); ccv_nnc_tensor_view_t d_view = ccv_nnc_tensor_view(d, DIM_ALLOC(3, 2, 2), DIM_ALLOC(2, 1, 0), d->info.dim); ccv_nnc_cmd_exec(CMD_TRANSPOSE_FORWARD(0, 2), ccv_nnc_no_hint, 0, TENSOR_LIST((ccv_nnc_tensor_t*)&c_view), TENSOR_LIST((ccv_nnc_tensor_t*)&d_view), 0); REQUIRE_TENSOR_EQ(d, a, "3x2x2 tensor should be exactly the same."); ccv_nnc_tensor_free(a); ccv_nnc_tensor_free(b); ccv_nnc_tensor_free(c); ccv_nnc_tensor_free(d); } TEST_CASE("masked fill forward a 3d tensor") { ccv_nnc_tensor_t* const a = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); int i, j; dsfmt_t dsfmt; dsfmt_init_gen_rand(&dsfmt, 0); for (i = 0; i < 6 * 5 * 4; i++) a->data.f32[i] = dsfmt_genrand_open_close(&dsfmt); ccv_nnc_tensor_t* const b = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32S, 5, 4), 0); for (i = 0; i < 5 * 4; i++) b->data.i32[i] = (i % 2 == 1) ? 0 : 1; ccv_nnc_tensor_t* const c = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); ccv_nnc_cmd_exec(CMD_MASKED_FILL_FORWARD(0, -1e8), ccv_nnc_no_hint, 0, TENSOR_LIST(a, b), TENSOR_LIST(c), 0); ccv_nnc_tensor_t* const d = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); for (i = 0; i < 6; i++) for (j = 0; j < 5 * 4; j++) d->data.f32[i * 5 * 4 + j] = (j % 2 == 1) ? -1e8 : a->data.f32[i * 5 * 4 + j]; REQUIRE_TENSOR_EQ(d, c, "6x5x4 tensor should be exactly the same."); ccv_nnc_tensor_free(a); ccv_nnc_tensor_free(b); ccv_nnc_tensor_free(c); ccv_nnc_tensor_free(d); } TEST_CASE("masked fill backward a 3d tensor") { ccv_nnc_tensor_t* const a = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); int i, j; dsfmt_t dsfmt; dsfmt_init_gen_rand(&dsfmt, 0); for (i = 0; i < 6 * 5 * 4; i++) a->data.f32[i] = dsfmt_genrand_open_close(&dsfmt); ccv_nnc_tensor_t* const b = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32S, 5, 4), 0); for (i = 0; i < 5 * 4; i++) b->data.i32[i] = (i % 2 == 1) ? 0 : 1; ccv_nnc_tensor_t* const c = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); ccv_nnc_cmd_exec(CMD_MASKED_FILL_BACKWARD(0, -1e8), ccv_nnc_no_hint, 0, TENSOR_LIST(a, 0, b), TENSOR_LIST(c), 0); ccv_nnc_tensor_t* const d = ccv_nnc_tensor_new(0, CPU_TENSOR_NHWC(32F, 6, 5, 4), 0); for (i = 0; i < 6; i++) for (j = 0; j < 5 * 4; j++) d->data.f32[i * 5 * 4 + j] = (j % 2 == 1) ? 0 : a->data.f32[i * 5 * 4 + j]; REQUIRE_TENSOR_EQ(d, c, "6x5x4 tensor should be exactly the same."); ccv_nnc_tensor_free(a); ccv_nnc_tensor_free(b); ccv_nnc_tensor_free(c); ccv_nnc_tensor_free(d); } #include "case_main.h"
45.554745
152
0.622176
49be072eb764e895762840fc99dec91ce05c7aaf
928
h
C
WebApi/Source/WebApiEditor/Public/Nodes/K2Node_CreateWebApiRequestBody.h
yangzhengxing/UE4Plugin_WebApi
edd32daac15410ad2b4720c8156bad0b237c29c5
[ "MIT" ]
null
null
null
WebApi/Source/WebApiEditor/Public/Nodes/K2Node_CreateWebApiRequestBody.h
yangzhengxing/UE4Plugin_WebApi
edd32daac15410ad2b4720c8156bad0b237c29c5
[ "MIT" ]
null
null
null
WebApi/Source/WebApiEditor/Public/Nodes/K2Node_CreateWebApiRequestBody.h
yangzhengxing/UE4Plugin_WebApi
edd32daac15410ad2b4720c8156bad0b237c29c5
[ "MIT" ]
null
null
null
#pragma once #include "K2Node_CreateWebApiNodeBase.h" #include "K2Node_CreateWebApiRequestBody.generated.h" UCLASS() class WEBAPIEDITOR_API UK2Node_CreateWebApiRequestBody : public UK2Node_CreateWebApiNodeBase { GENERATED_UCLASS_BODY() // Begin UEdGraphNode interface. virtual void AllocateDefaultPins() override; virtual void ExpandNode(class FKismetCompilerContext& CompilerContext, UEdGraph* SourceGraph) override; // End UEdGraphNode interface. UEdGraphPin* GetSourcePin() const; protected: /** Gets the default node title when no class is selected */ virtual FText GetBaseNodeTitle() const override; /** Gets the node title when a class has been selected. */ virtual FText GetNodeTitleFormat() const override; /** Gets base class to use for the 'class' pin. UObject by default. */ virtual UClass* GetClassPinBaseClass() const override; /** */ virtual bool IsSpawnVarPin(UEdGraphPin* Pin) override; };
33.142857
104
0.78556
9dbf3c5adaef56dd83761bc7aa8862829a2e843c
1,128
h
C
workshops/workshop9/Element.h
sspony/oop345
d00803abbe931b5570e98b0bdf4ceec76d220baf
[ "MIT" ]
null
null
null
workshops/workshop9/Element.h
sspony/oop345
d00803abbe931b5570e98b0bdf4ceec76d220baf
[ "MIT" ]
null
null
null
workshops/workshop9/Element.h
sspony/oop345
d00803abbe931b5570e98b0bdf4ceec76d220baf
[ "MIT" ]
null
null
null
// Workshop 9 - Smart Pointers // Element.h #include <iostream> #include <iomanip> #include <string> #include <fstream> extern const int FWC; extern const int FWD; extern const int FWP; namespace w9 { struct Description { unsigned code; std::string desc; bool load(std::ifstream& f) { f >> code >> desc; return f.good(); } void display(std::ostream& os) const { os << std::setw(FWC) << code << std::setw(FWD) << desc << std::endl; } }; struct Price { unsigned code; double price; bool load(std::ifstream& f) { f >> code >> price; return f.good(); } void display(std::ostream& os) const { os << std::setw(FWC) << code << std::setw(FWP) << price << std::endl; } }; struct Product { std::string desc; double price; Product() {} Product(const std::string& str, double p) : desc(str), price(p) {} void display(std::ostream& os) const { os << std::setw(FWD) << desc << std::setw(FWP) << price << std::endl; } // validates the price for negative numbers void validate() { if (price < 0) throw "*** Negative prices are invalid ***"; } }; }
19.448276
68
0.597518
9df7e3f3257faaeeecc630c5027ad29ea6bf6424
466
h
C
Examples/iOS/APKit.framework/Headers/APKit.h
joy0304/Swift-AI
0d1c659027766faae8f886f0d2fc76c3e8d9dcc0
[ "MIT" ]
null
null
null
Examples/iOS/APKit.framework/Headers/APKit.h
joy0304/Swift-AI
0d1c659027766faae8f886f0d2fc76c3e8d9dcc0
[ "MIT" ]
null
null
null
Examples/iOS/APKit.framework/Headers/APKit.h
joy0304/Swift-AI
0d1c659027766faae8f886f0d2fc76c3e8d9dcc0
[ "MIT" ]
1
2019-12-05T09:39:16.000Z
2019-12-05T09:39:16.000Z
// // APKit.h // APKit // // Created by Collin Hundley on 8/26/15. // Copyright © 2015 Appsidian. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for APKit. FOUNDATION_EXPORT double APKitVersionNumber; //! Project version string for APKit. FOUNDATION_EXPORT const unsigned char APKitVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import <APKit/PublicHeader.h>
25.888889
130
0.748927
1731b8627809209227a52aea5a2a01f499cc6753
690
h
C
ios/OpenImSdkRn.h
OpenIMSDK/Open-IM-SDK-ReactNative
53095c532b4e91d78810789da8096f159d8dae9e
[ "MIT" ]
14
2021-11-11T00:36:09.000Z
2022-03-29T01:43:41.000Z
ios/OpenImSdkRn.h
OpenIMSDK/Open-IM-SDK-ReactNative
53095c532b4e91d78810789da8096f159d8dae9e
[ "MIT" ]
4
2022-03-13T12:57:28.000Z
2022-03-31T14:06:42.000Z
ios/OpenImSdkRn.h
OpenIMSDK/Open-IM-SDK-ReactNative
53095c532b4e91d78810789da8096f159d8dae9e
[ "MIT" ]
16
2021-11-11T00:36:11.000Z
2022-03-31T04:49:02.000Z
@import OpenIMCore; #import "CallbackProxy.h" #if __has_include("RCTBridgeModule.h") #import "RCTBridgeModule.h" #import "RCTEventEmitter.h" #else #import <React/RCTBridgeModule.h> #import <React/RCTEventEmitter.h> #endif @interface OpenIMSDKRN : RCTEventEmitter <RCTBridgeModule,Open_im_sdk_callbackOnConnListener,Open_im_sdk_callbackOnUserListener, Open_im_sdk_callbackOnAdvancedMsgListener, Open_im_sdk_callbackOnFriendshipListener, Open_im_sdk_callbackOnConversationListener, Open_im_sdk_callbackOnGroupListener,Open_im_sdk_callbackOnSignalingListener> - (void)pushEvent:(NSString *) eventName errCode:(NSNumber *) errCode errMsg:(NSString *) errMsg data:(NSString *) data; @end
38.333333
334
0.84058
17a96f77a29684eccbdf9bbc6b3a5f37430ea113
5,225
h
C
src/polarpointf.h
SammyEnigma/perceptualcolor
58285ba09234a58a87724c8960c22e22518a5018
[ "BSD-3-Clause", "MIT" ]
5
2020-10-08T06:33:50.000Z
2022-03-08T18:20:29.000Z
src/polarpointf.h
SammyEnigma/perceptualcolor
58285ba09234a58a87724c8960c22e22518a5018
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/polarpointf.h
SammyEnigma/perceptualcolor
58285ba09234a58a87724c8960c22e22518a5018
[ "BSD-3-Clause", "MIT" ]
2
2020-07-10T15:42:48.000Z
2020-07-16T12:33:14.000Z
// SPDX-License-Identifier: MIT /* * Copyright (c) 2020 Lukas Sommer sommerluk@gmail.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 rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ #ifndef POLARPOINTF_H #define POLARPOINTF_H #include "PerceptualColor/perceptualcolorglobal.h" #include "perceptualcolorinternal.h" #include <QDebug> #include <QMetaType> #include <QPointF> namespace PerceptualColor { /** @internal * * @brief A point in the polar coordinate system * * Defines a point in the two-dimensional polar coordinate system using * floating point precision. * * Polar coordinates allow multiple representations for a single point: * - An angle of 0° is the same as 360° is the same as 720° is the same * as −360°. * - A radial of 1 and an angle of 0° is the same as a radial of −1 and an * angle of 180°. * - If the radial is 0, the angle is meaningless: A radial of 0 and an angle * of 57° is the same as a radial of 0 and an angle of 233°. * * This class automatically normalizes the values: * @invariant * - the @ref radial() is normalized to value ≥ 0. If it was < 0 (but not if * it was 0 with a negative sign) its sign is changed and @ref angleDegree * is turned by 180°. * - the @ref angleDegree() is normalized to 0° ≤ value < 360° * (see @ref normalizedAngleDegree() for details) * * When the radial is 0, often by convention the (meaningless) angle is set * also 0. This class does <em>not</em> normalize the angle to 0 when the * radial is 0 as long as initialized with a radial and an angle. However, * when initialized with Cartesian coordinates (0, 0) then the result is * radial 0 and angle 0. See also @ref isSamePoint(). * * This type is declared as type to Qt’s type system via * <tt>Q_DECLARE_METATYPE</tt>. Depending on your use case (for * example if you want to use for <em>queued</em> signal-slot connections), * you might consider calling <tt>qRegisterMetaType()</tt> for * this type, once you have a QApplication object. * * This data type can be passed to QDebug thanks to * @ref operator<<(QDebug dbg, const PerceptualColor::PolarPointF value) */ class PolarPointF final { public: /** @brief Constructor * * Constructs an object with @ref radial() = 0 and @ref angleDegree() = 0 */ explicit PolarPointF() = default; /** @brief Default copy constructor * * @param other the object to copy */ PolarPointF(const PolarPointF &other) = default; /** @brief Default move constructor * * @param other the object to move */ PolarPointF(PolarPointF &&other) noexcept = default; explicit PolarPointF(const qreal newRadial, const qreal newAngleDegree); explicit PolarPointF(const QPointF cartesianCoordiantes); /** @brief Default assignment operator * * @param other the object to assign */ // Clazy, our static code checker, compains about the next line of code // as follows: // “Pass small and trivially-copyable type by value” // However, this is a copy constructor. We cannot pass the argument // by value, because teh compiler would complain as follows: // “the parameter for an explicitly-defaulted copy assignment // operator must be an lvalue reference type” // Therefore, we exclude the following line from this specific clazy check, // by adding a magic comment after it. PolarPointF &operator=(const PolarPointF &other) = default; // clazy:exclude=function-args-by-value /** @brief Default move assignment operator * * @param other the object to move-assign */ PolarPointF &operator=(PolarPointF &&other) noexcept = default; qreal angleDegree() const; bool isSamePoint(const PolarPointF other) const; static qreal normalizedAngleDegree(const qreal angleDegree); qreal radial() const; QPointF toCartesian() const; private: /** @brief Holds the @ref angleDegree() value. */ qreal m_angleDegree{0}; /** @brief Holds the @ref radial() value. */ qreal m_radial{0}; }; QDebug operator<<(QDebug dbg, const PerceptualColor::PolarPointF value); } // namespace PerceptualColor Q_DECLARE_METATYPE(PerceptualColor::PolarPointF) #endif // POLARPOINTF_H
36.538462
103
0.713684
a531a54034f08c7698225ce9b175e639cb383fdb
2,548
h
C
krust-io/public-api/application-interface.h
ahcox/krust
c4c349b3432d086466a13aef61ab220d8c43bcbb
[ "MIT" ]
4
2016-05-09T08:22:52.000Z
2019-12-07T16:19:50.000Z
krust-io/public-api/application-interface.h
ahcox/krust
c4c349b3432d086466a13aef61ab220d8c43bcbb
[ "MIT" ]
null
null
null
krust-io/public-api/application-interface.h
ahcox/krust
c4c349b3432d086466a13aef61ab220d8c43bcbb
[ "MIT" ]
null
null
null
#ifndef KRUST_IO_PUBLIC_API_APPLICATION_INTERFACE_H_ #define KRUST_IO_PUBLIC_API_APPLICATION_INTERFACE_H_ // Copyright (c) 2016 Andrew Helge Cox // // 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, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. #include "keyboard.h" #include <cstdint> namespace Krust { namespace IO { class Window; using KeyCode = std::uint8_t; constexpr bool KeyUp {true}; constexpr bool KeyDown {false}; using InputTimestamp = std::uint32_t; /** * @brief The interface used by the platform specific application to dispatch * events back to the portable Application class encompassing it. * * @note Although in public-api this is really an implementation detail. * Its only value to an application is to show all the OnX() template methods * which can be overridden in one place. */ class ApplicationInterface { public: virtual void DispatchResize(unsigned width, unsigned height) = 0; virtual void OnRedraw() = 0; virtual void OnKey(bool up, KeyCode keycode) = 0; /** Called when the mouse moves within the window * @param state Platform specific indicator of mouse button and special key * up/down. Special keys include CTRL, ALT, Windows, Shift, ... */ virtual void OnMouseMove(InputTimestamp when, int x, int y, unsigned state) = 0; /** * @brief The user has issued a close request for the window (e.g. by clicking * the little cross in its corner decoration). */ virtual void OnClose() = 0; }; } /* namespace IO */ } /* namespace Krust */ #endif /* KRUST_IO_PUBLIC_API_APPLICATION_INTERFACE_H_ */
38.606061
82
0.750392
cbb3a7dfcc9ca7ad2b481f3305189fccf486b829
1,681
h
C
programs/disks/DisksApp.h
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
8,629
2016-06-14T21:03:01.000Z
2019-09-23T07:46:38.000Z
programs/disks/DisksApp.h
yandex/ClickHouse
9371a1917a8f911c2f1df08243a51bf619dbed8c
[ "Apache-2.0" ]
4,335
2016-06-15T12:58:31.000Z
2019-09-23T11:18:43.000Z
programs/disks/DisksApp.h
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
1,700
2016-06-15T09:25:11.000Z
2019-09-23T11:16:38.000Z
#pragma once #include "CommandCopy.cpp" #include "CommandLink.cpp" #include "CommandList.cpp" #include "CommandListDisks.cpp" #include "CommandMove.cpp" #include "CommandRead.cpp" #include "CommandRemove.cpp" #include "CommandWrite.cpp" #include <Loggers/Loggers.h> #include <Common/ProgressIndication.h> #include <Common/StatusFile.h> #include <Common/InterruptListener.h> #include <Core/Settings.h> #include <Interpreters/Context.h> namespace DB { using CommandPtr = std::unique_ptr<ICommand>; class DisksApp : public Poco::Util::Application, public Loggers { public: DisksApp() = default; void init(std::vector<String> & common_arguments); int main(const std::vector<String> & args) override; protected: static String getDefaultConfigFileName(); void addOptions( ProgramOptionsDescription & options_description, boost::program_options::positional_options_description & positional_options_description); void processOptions(); void printHelpMessage(ProgramOptionsDescription & command_option_description); size_t findCommandPos(std::vector<String> & common_arguments); private: void parseAndCheckOptions( ProgramOptionsDescription & options_description, boost::program_options::positional_options_description & positional_options_description, std::vector<String> & arguments); protected: ContextMutablePtr global_context; SharedContextHolder shared_context; String command_name; std::vector<String> command_arguments; std::unordered_set<String> supported_commands; std::unordered_map<String, CommandPtr> command_descriptions; po::variables_map options; }; }
25.469697
97
0.760262
99712586ef7caf8269c0dea894951253584bc633
317
c
C
Untitled-1.c
khanh20804/Nh-m_5
69cdb290bde0ba25b28ae4bdb11a0e197b65f076
[ "Apache-2.0" ]
null
null
null
Untitled-1.c
khanh20804/Nh-m_5
69cdb290bde0ba25b28ae4bdb11a0e197b65f076
[ "Apache-2.0" ]
null
null
null
Untitled-1.c
khanh20804/Nh-m_5
69cdb290bde0ba25b28ae4bdb11a0e197b65f076
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <string.h> int main () { const char str1[] = "abcde2fghi3jk4l"; const char str2[] = "34"; char *ret; ret = strpbrk(str1, str2); if(ret) { printf("Ky tu ket noi dau tien: %c\n", *ret); } else { printf("Khong tim thay ky tu"); } return(0); }
15.095238
51
0.529968
85a9613dda1581361a9a1bb15eb2568087729ac0
4,325
h
C
shore-sm-6.0.2/src/sm/logfunc_gen.h
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
3
2016-07-15T08:22:56.000Z
2019-10-10T02:26:08.000Z
shore-sm-6.0.2/src/sm/logfunc_gen.h
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
null
null
null
shore-sm-6.0.2/src/sm/logfunc_gen.h
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
2
2020-12-23T06:49:23.000Z
2021-03-05T07:00:28.000Z
#ifndef LOGFUNC_GEN_H #define LOGFUNC_GEN_H /* DO NOT MODIFY --- generated by ../../tools/logdef.pl from logdef.dat on Fri Dec 17 15:55:05 2010 <std-header orig-src='shore' genfile='true'> SHORE -- Scalable Heterogeneous Object REpository Copyright (c) 1994-99 Computer Sciences Department, University of Wisconsin -- Madison All Rights Reserved. Permission to use, copy, modify and distribute this software and its documentation is hereby granted, provided that both the copyright notice and this permission notice appear in all copies of the software, derivative works or modified versions, and any portions thereof, and that both notices appear in supporting documentation. THE AUTHORS AND THE COMPUTER SCIENCES DEPARTMENT OF THE UNIVERSITY OF WISCONSIN - MADISON ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION, AND THEY DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. This software was developed with support by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518. Further funding for this work was provided by DARPA through Rome Research Laboratory Contract No. F30602-97-2-0247. */ #include "w_defines.h" /* -- do not edit anything above this line -- </std-header>*/ extern "C" rc_t log_comment(const char* msg); extern "C" rc_t log_compensate(const lsn_t& rec_lsn); extern "C" rc_t log_xct_abort(); extern "C" rc_t log_xct_freeing_space(); extern "C" rc_t log_xct_end(); extern "C" rc_t log_xct_end_group(const xct_t** l, int llen); extern "C" rc_t log_xct_prepare_st(const gtid_t* g, const server_handle_t& h); extern "C" rc_t log_xct_prepare_lk(int num, lock_mode_t mode, lockid_t* lks); extern "C" rc_t log_xct_prepare_alk(int num, lockid_t* lks, lock_mode_t* modes); extern "C" rc_t log_xct_prepare_stores(int num, const stid_t* stids); extern "C" rc_t log_xct_prepare_fi(int numex, int numix, int numsix, int numextent, const lsn_t& first, int rsvd, int ready, int used); extern "C" rc_t log_alloc_file_page(const lpid_t& pid, const lsn_t& rec_lsn); extern "C" rc_t log_alloc_pages_in_ext(const page_p& page, snum_t snum, extnum_t idx, const Pmap& pmap); extern "C" rc_t log_free_pages_in_ext(const page_p& page, snum_t snum, extnum_t idx, const Pmap& pmap); extern "C" rc_t log_create_ext_list(const page_p& page, const stid_t& stid, extnum_t prev, extnum_t next, extnum_t count, const extnum_t* list); extern "C" rc_t log_free_ext_list(const page_p& page, const stid_t& stid, extnum_t head, extnum_t count); extern "C" rc_t log_set_ext_next(const page_p& page, extnum_t ext, extnum_t new_next); extern "C" rc_t log_store_operation(const page_p& page, const store_operation_param& op); extern "C" rc_t log_page_link(const page_p& page, shpid_t new_prev, shpid_t new_next); extern "C" rc_t log_page_insert(const page_p& page, int idx, int cnt, const cvec_t* vec); extern "C" rc_t log_page_remove(const page_p& page, int idx, int cnt); extern "C" rc_t log_page_format(const page_p& page, int idx, int cnt, const cvec_t* vec); extern "C" rc_t log_page_mark(const page_p& page, int idx); extern "C" rc_t log_page_reclaim(const page_p& page, int idx, const cvec_t& vec); extern "C" rc_t log_page_shift(const page_p& page, int idx2, page_s::slot_length_t off2, page_s::slot_length_t len2, int idx1, page_s::slot_length_t off1); extern "C" rc_t log_page_splice(const page_p& page, int idx, int start, int len, const cvec_t& vec); extern "C" rc_t log_page_splicez(const page_p& page, int idx, int start, int len, int osave, int nsave, const cvec_t& vec); extern "C" rc_t log_page_set_byte(const page_p& page, int idx, u_char old, u_char bits, int op); extern "C" rc_t log_page_image(const page_p& page); extern "C" rc_t log_btree_purge(const page_p& page); extern "C" rc_t log_btree_insert(const page_p& page, int idx, const cvec_t& key, const cvec_t& el, bool unique); extern "C" rc_t log_btree_remove(const page_p& page, int idx, const cvec_t& key, const cvec_t& el, bool unique); extern "C" rc_t log_rtree_insert(const page_p& page, int idx, const nbox_t& key, const cvec_t& el); extern "C" rc_t log_rtree_remove(const page_p& page, int idx, const nbox_t& key, const cvec_t& el); #endif
56.907895
155
0.764162