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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58e306bf861743a315d0222f1b051f70195a15e1 | 650 | h | C | YLCleaner/Xcode-RuntimeHeaders/IDEInterfaceBuilderKit/IBDragAndDropInsertionIndicatorDelegate-Protocol.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | 1 | 2019-02-15T02:16:35.000Z | 2019-02-15T02:16:35.000Z | YLCleaner/Xcode-RuntimeHeaders/IDEInterfaceBuilderKit/IBDragAndDropInsertionIndicatorDelegate-Protocol.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | YLCleaner/Xcode-RuntimeHeaders/IDEInterfaceBuilderKit/IBDragAndDropInsertionIndicatorDelegate-Protocol.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject-Protocol.h"
@protocol IBDragAndDropInsertionIndicatorDelegate <NSObject>
- (struct CGRect)dragAndDropInsertionIndicator:(id)arg1 dragAlignmentRectForRelatedObject:(id)arg2;
- (struct CGRect)dropRectForDragAndDropInsertionIndicator:(id)arg1;
- (unsigned long long)orderedRelationInsertionEdgeForDragAndDropInsertionIndicator:(id)arg1;
- (long long)orderedRelationInsertionIndexForDragAndDropInsertionIndicator:(id)arg1;
- (id)orderedRelationForDragAndDropInsertionIndicator:(id)arg1;
@end
| 38.235294 | 99 | 0.804615 |
95b10993bf13d3e2d722575caec1582126e347be | 5,867 | c | C | crypto_sign/picnic3l1/masked/KeccakMPCHash.c | akiratk0355/picnic_m4 | 681e43c224b63170a33c6ffd0ad0ea44caa8c140 | [
"MIT"
] | 1 | 2021-11-22T02:38:41.000Z | 2021-11-22T02:38:41.000Z | crypto_sign/picnic3l1/masked/KeccakMPCHash.c | akiratk0355/picnic_m4 | 681e43c224b63170a33c6ffd0ad0ea44caa8c140 | [
"MIT"
] | null | null | null | crypto_sign/picnic3l1/masked/KeccakMPCHash.c | akiratk0355/picnic_m4 | 681e43c224b63170a33c6ffd0ad0ea44caa8c140 | [
"MIT"
] | 1 | 2021-06-07T20:39:41.000Z | 2021-06-07T20:39:41.000Z | /*
The eXtended Keccak Code Package (XKCP)
https://github.com/XKCP/XKCP
Keccak, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
Implementation by the designers, hereby denoted as "the implementer".
For more information, feedback or questions, please refer to the Keccak Team website:
https://keccak.team/
To the extent possible under law, the implementer has waived all copyright
and related or neighboring rights to the source code in this file.
http://creativecommons.org/publicdomain/zero/1.0/
*/
#include <string.h>
#include <stdlib.h>
#include "KeccakMPCHash.h"
/* ---------------------------------------------------------------- */
MPCHashReturn KeccakMPC_HashInitialize(KeccakMPC_HashInstance *instance, unsigned int rate, unsigned int capacity, unsigned int hashbitlen, unsigned char delimitedSuffix, unsigned int shareCount )
{
MPCHashReturn result;
unsigned int i;
if (delimitedSuffix == 0)
return KECCAKMPC_FAIL;
result = (MPCHashReturn)KeccakMaskedWidth1600_MaskedSpongeInitialize(&instance->sponge, rate, capacity);
if (result != KECCAKMPC_SUCCESS)
return result;
instance->fixedOutputLength = hashbitlen;
instance->delimitedSuffixShares = malloc(shareCount);
instance->shareCount = shareCount;
//first share is inited to non null value so that the first share has a correct padding
//while the other shares will only store the payload bytes without any padding
instance->delimitedSuffixShares[0] = delimitedSuffix;
for( i=1; i<shareCount; ++i) {
instance->delimitedSuffixShares[i] = 0;
}
return KECCAKMPC_SUCCESS;
}
/* ---------------------------------------------------------------- */
MPCHashReturn KeccakMPC_HashUpdate(KeccakMPC_HashInstance *instance, BitSequence **data, BitLength databitlen)
{
if ((databitlen % 8) == 0)
return (MPCHashReturn)KeccakMaskedWidth1600_MaskedSpongeAbsorb(&instance->sponge, data, instance->shareCount, databitlen/8);
else {
MPCHashReturn ret = (MPCHashReturn)KeccakMaskedWidth1600_MaskedSpongeAbsorb(&instance->sponge, data, instance->shareCount, databitlen/8);
if (ret == KECCAKMPC_SUCCESS) {
BitLength i;
BitSequence *lastByteShares = malloc(instance->shareCount);
unsigned short *delimitedLastBytes = malloc(sizeof(unsigned short) * instance->shareCount);
memset(delimitedLastBytes, 0, sizeof(unsigned short) * instance->shareCount);
/* The last partial byte is assumed to be aligned on the least significant bits */
for(i = 0; i < instance->shareCount; ++i) {
lastByteShares[i] = data[i][databitlen/8];
}
/* Concatenate the last few bits provided here with those of the suffix */
/*
* (databitLen % 8) -1 : mask that gets all the trailing (over the last full byte) bits from lastByte; at most the lowest 7 bits (otherwise we would not be in this case)
* then we shift delimitedSuffix so is does not overlap with theese bytes, so basically
* delmitedLastBytes = (MSB) delimitedSuffix concat "trailing bits from last byte" (LSB)
* delimitedLastBytes is at least two bytes large
*/
for(i = 0; i < instance->shareCount; ++i) {
delimitedLastBytes[i] = (unsigned short)((unsigned short)(lastByteShares[i] & ((1 << (databitlen % 8)) - 1))
| ((unsigned short)instance->delimitedSuffixShares[i] << (databitlen % 8)));
}
if ((delimitedLastBytes[0] & 0xFF00) == 0x0000) { //no more than one byte, store
for(i = 0; i < instance->shareCount; ++i) {
instance->delimitedSuffixShares[i] = delimitedLastBytes[i] & 0xFF;
}
}
else { //got more than one byte => process the full byte
unsigned char **sharedLastByte = malloc( sizeof(unsigned char**) * instance->shareCount);
unsigned char *slab = malloc(instance->shareCount);
for(i = 0; i < instance->shareCount; ++i) {
sharedLastByte[i] = slab+i; //ok because byte objects
sharedLastByte[i][0] = delimitedLastBytes[i] & 0xFF;
instance->delimitedSuffixShares[i] = (delimitedLastBytes[i] >> 8) & 0xFF;
}
ret = (MPCHashReturn)KeccakMaskedWidth1600_MaskedSpongeAbsorb(&instance->sponge, sharedLastByte, instance->shareCount, 1);
free(slab);
free(sharedLastByte);
}
free(lastByteShares);
free(delimitedLastBytes);
}
return ret;
}
}
/* ---------------------------------------------------------------- */
MPCHashReturn KeccakMPC_HashFinal(KeccakMPC_HashInstance *instance, BitSequence **hashvals)
{
MPCHashReturn ret = (MPCHashReturn)KeccakMaskedWidth1600_MaskedSpongeAbsorbLastFewBits(&instance->sponge, instance->delimitedSuffixShares, instance->shareCount);
if (ret == KECCAKMPC_SUCCESS) {
free(instance->delimitedSuffixShares); //cannot return to absorbing from here. thus this array is no longer needed. as there is no explicit destory function it's a good point to deallocate
return (MPCHashReturn)KeccakMaskedWidth1600_MaskedSpongeSqueeze(&instance->sponge, hashvals, instance->shareCount, instance->fixedOutputLength/8);
}
else
return ret;
}
/* ---------------------------------------------------------------- */
MPCHashReturn KeccakMPC_HashSqueeze(KeccakMPC_HashInstance *instance, BitSequence **data, BitLength databitlen)
{
if ((databitlen % 8) != 0)
return KECCAKMPC_FAIL;
return (MPCHashReturn)KeccakMaskedWidth1600_MaskedSpongeSqueeze(&instance->sponge, data, instance->shareCount, databitlen/8);
}
| 48.891667 | 196 | 0.642236 |
b50bbbb73294186100dd6c53f7bd837202b94e01 | 313 | h | C | debug.h | lunarfyre7/moodylite | 6cc2c757e17066cad1be6bc3700a3d2556704325 | [
"CC0-1.0"
] | null | null | null | debug.h | lunarfyre7/moodylite | 6cc2c757e17066cad1be6bc3700a3d2556704325 | [
"CC0-1.0"
] | null | null | null | debug.h | lunarfyre7/moodylite | 6cc2c757e17066cad1be6bc3700a3d2556704325 | [
"CC0-1.0"
] | null | null | null | //crude print macro thing
#ifdef DEBUGGING
#define PRINT(thing) Serial.print(thing)
#define PRINTLN(thing) Serial.println(thing)
#define PRINT2(thing1, thing2) Serial.print(thing1); Serial.println(thing2)
#endif
#ifndef DEBUGGING
#define PRINT(thing)
#define PRINTLN(thing)
#define PRINT2(thing1, thing2)
#endif | 26.083333 | 75 | 0.782748 |
b5c75efd3bfca264deca2d25f2802e6129a1661f | 334 | h | C | defs.h | dgroselj/DRASLA | ef9ba314b27fcff31b0b5268ed306350cdd5bc6f | [
"BSD-2-Clause"
] | null | null | null | defs.h | dgroselj/DRASLA | ef9ba314b27fcff31b0b5268ed306350cdd5bc6f | [
"BSD-2-Clause"
] | null | null | null | defs.h | dgroselj/DRASLA | ef9ba314b27fcff31b0b5268ed306350cdd5bc6f | [
"BSD-2-Clause"
] | null | null | null |
#ifndef PI
#define PI 3.14159265358979323846264
#endif
// Macro function to give element (i,j) of a matrix of size (nRow x nCol) in row-major format.
#ifndef IND
#define IND(i,j,nCol) ((j) + (nCol)*(i))
#endif
#ifndef ROWIND
#define ROWIND(p,nCol) ((p)/(nCol))
#endif
#ifndef COLIND
#define COLIND(p,nCol) ((p)%(nCol))
#endif | 19.647059 | 95 | 0.676647 |
c9b8d52c4d465f56a434b53cf8c0bc54959359bd | 1,121 | h | C | NaoTHSoccer/Source/Cognition/Modules/VisualCortex/FakeBallDetector/FakeBallDetector.h | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NaoTHSoccer/Source/Cognition/Modules/VisualCortex/FakeBallDetector/FakeBallDetector.h | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NaoTHSoccer/Source/Cognition/Modules/VisualCortex/FakeBallDetector/FakeBallDetector.h | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #ifndef FAKEBALLDETECTOR_H
#define FAKEBALLDETECTOR_H
#include <ModuleFramework/Module.h>
#include "Tools/Debug/DebugRequest.h"
#include "Tools/Debug/DebugModify.h"
#include "Representations/Perception/BallPercept.h"
#include "Representations/Infrastructure/FrameInfo.h"
#include "Representations/Perception/CameraMatrix.h"
#include <Tools/CameraGeometry.h>
#include <Tools/naoth_eigen.h>
BEGIN_DECLARE_MODULE(FakeBallDetector)
PROVIDE(DebugRequest)
PROVIDE(DebugModify)
REQUIRE(FrameInfo)
REQUIRE(CameraInfo)
REQUIRE(CameraMatrix)
REQUIRE(CameraInfoTop)
REQUIRE(CameraMatrixTop)
PROVIDE(BallPercept)
PROVIDE(BallPerceptTop)
END_DECLARE_MODULE(FakeBallDetector)
class FakeBallDetector: private FakeBallDetectorBase
{
public:
FakeBallDetector();
~FakeBallDetector();
virtual void execute();
private:
FrameInfo lastFrame;
double active;
Eigen::Vector2d startPosition;
Eigen::Vector2d position;
Eigen::Vector2d velocity;
const Eigen::Vector2d simulateConstantMovementOnField(double dt, const Eigen::Vector2d& velocity);
};
#endif // FAKEBALLDETECTOR_H
| 20.381818 | 102 | 0.782337 |
70fda6b28813f84a5bdf2a6db76fef6844a674b3 | 70 | c | C | spec/forward_declaration.c | Vishnu-M/clang-lua-binding | fd1c07deca9360935908000f84865c3f5310ff20 | [
"MIT"
] | 2 | 2021-11-06T20:16:46.000Z | 2021-11-06T20:17:07.000Z | spec/forward_declaration.c | Vishnu-M/clang-lua-binding | fd1c07deca9360935908000f84865c3f5310ff20 | [
"MIT"
] | 1 | 2019-07-07T05:11:56.000Z | 2019-07-07T05:11:56.000Z | spec/forward_declaration.c | Vishnu-M/lua-clang | fd1c07deca9360935908000f84865c3f5310ff20 | [
"MIT"
] | null | null | null | struct callback;
struct callback {
int a;
float j;
}; | 14 | 17 | 0.542857 |
3bf1fb6562e5c265533cf07ba4266949c598ec64 | 2,313 | h | C | KTPhotosViewController/Controllers/KTPhotosGridViewController.h | kartikthapar/KTPhotosViewController | 5f369e87f73c8a51ae5071cc89413ab86b66cde1 | [
"MIT"
] | null | null | null | KTPhotosViewController/Controllers/KTPhotosGridViewController.h | kartikthapar/KTPhotosViewController | 5f369e87f73c8a51ae5071cc89413ab86b66cde1 | [
"MIT"
] | 4 | 2015-06-04T04:27:07.000Z | 2015-06-06T16:00:27.000Z | KTPhotosViewController/Controllers/KTPhotosGridViewController.h | kartikthapar/KTPhotosViewController | 5f369e87f73c8a51ae5071cc89413ab86b66cde1 | [
"MIT"
] | null | null | null | //
// KTPhotosGridViewController.h
// KTPhotos
//
// Created by Kartik Thapar on 6/1/15.
// Copyright (c) 2015 Kartik Thapar. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "KTPhotosCollectionViewDataSource.h"
#import "KTPhotosCollectionViewDelegateFlowLayout.h"
@class KTPhotosImageCacheProxy;
@class KTPhotosCollectionView;
@interface KTPhotosGridViewController : UIViewController <KTPhotosCollectionViewDataSource,
KTPhotosCollectionViewDelegateFlowLayout,
UICollectionViewDelegateFlowLayout>
/**
* @abstract Creates and returns a new `KTPhotosGridViewController` instance.
* @discussion This is the designated initializer for programmatic instantiation.
*/
+ (instancetype)photosViewController;
/**
* @abstract Returns the collection view instance managed by the view controller.
*/
@property (nonatomic, strong, readonly) KTPhotosCollectionView *collectionView;
/**
* @abstract Returns the image cache proxy managed by the view controller; responsible for handling cache agents.
*/
@property (nonatomic, strong, readonly) KTPhotosImageCacheProxy *imageCacheProxy;
#pragma mark - Appearance
/**
* @abstract The tint color for the progress view for an image displayed in the photo browser.
* @discussion The default value is `self.view.tintColor` OR `self.collectionView.tintColor`.
*/
@property (nonatomic) UIColor *imageProgressTintColor;
/**
* @abstract The tint color for the progress view track for an image displayed in the photo browser.
* @discussion The default value is `[UIColor colorWithWhite:0.9 alpha:1]`.
*/
@property (nonatomic) UIColor *imageProgressTrackColor;
/**
* @abstract The exact number of photos in a single row. In a grid reference, this refers to the number of columns.
* @discussion The default is value is 4. Changing the value after the view has already been displayed results in undefined behavior.
* // TODO: throw exception.
*/
@property (nonatomic) NSInteger numberOfPhotosPerRow;
/**
* @abstract The photo browser animation for displaying the single image view.
* @discussion The default animation is a fade-in animation over 3 seconds.
*/
@property (nonatomic, strong) CATransition *photoBrowserAnimation;
@end
| 35.584615 | 133 | 0.740164 |
22e1149b6fe00c6748d8f37e87f9fda46b87663a | 878 | h | C | cpp-experiments/make_range/make_range.h | aurelienrb/experiments | ef19170cf66e687facfd21c38fc43c3c5a3eb2be | [
"Unlicense"
] | null | null | null | cpp-experiments/make_range/make_range.h | aurelienrb/experiments | ef19170cf66e687facfd21c38fc43c3c5a3eb2be | [
"Unlicense"
] | null | null | null | cpp-experiments/make_range/make_range.h | aurelienrb/experiments | ef19170cf66e687facfd21c38fc43c3c5a3eb2be | [
"Unlicense"
] | null | null | null | #pragma once
template<typename Iterator>
class range {
public:
constexpr range() = default;
constexpr range(const Iterator & begin, const Iterator & end) : m_begin(begin), m_end(end) {
}
constexpr bool empty() const {
return m_begin == m_end;
}
constexpr Iterator begin() const {
return m_begin;
}
constexpr size_t size() const {
return empty() ? 0 : end() - begin();
}
constexpr Iterator end() const {
return m_end;
}
void clear() {
m_begin = Iterator{};
m_end = Iterator{};
}
size_t length() const {
return std::distance(m_begin, m_end);
}
private:
Iterator m_begin;
Iterator m_end;
};
template<typename T>
range<T> make_range(T begin, T end) {
return range<T>(begin, end);
}
template<typename T>
range<typename T::iterator> make_range(const T & container) {
return range<typename T::iterator>(container.begin(), container.end());
}
| 17.918367 | 93 | 0.682232 |
02a7d5cbd78e692488060985c6c471f10e859e6c | 4,345 | h | C | source/LiteSPage.h | VladNovick/SwabNet.Security.Mail | f73112be542bf0a3ffcb982034b5f1e8a5251836 | [
"MIT"
] | null | null | null | source/LiteSPage.h | VladNovick/SwabNet.Security.Mail | f73112be542bf0a3ffcb982034b5f1e8a5251836 | [
"MIT"
] | null | null | null | source/LiteSPage.h | VladNovick/SwabNet.Security.Mail | f73112be542bf0a3ffcb982034b5f1e8a5251836 | [
"MIT"
] | 1 | 2021-11-21T07:29:46.000Z | 2021-11-21T07:29:46.000Z |
////////////////////////////////////////////////////////////////////////////
// Copyright 2008 : Vladimir Novick ( https://www.linkedin.com/in/vladimirnovick/ )
//
// NO WARRANTIES ARE EXTENDED. USE AT YOUR OWN RISK.
//
// To contact the author with suggestions or comments, use :vlad.novick@gmail.com
//
////////////////////////////////////////////////////////////////////////////
// LiteSPage.h : Declaration of the CLiteSPage
#ifndef __LITESPAGE_H_
#define __LITESPAGE_H_
#include "resource.h" // main symbols
#include <atlctl.h>
#import "C:\Program Files\Microsoft Office 2003\OFFICE11\msoutl.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids
/////////////////////////////////////////////////////////////////////////////
// CLiteSPage
class ATL_NO_VTABLE CLiteSPage :
public CComObjectRootEx<CComSingleThreadModel>,
public IDispatchImpl<ILiteSPage, &IID_ILiteSPage, &LIBID_OUTLOOKADDINLib>,
public CComCompositeControl<CLiteSPage>,
public IPersistStreamInitImpl<CLiteSPage>,
public IPersistPropertyBagImpl<CLiteSPage>,
public IOleControlImpl<CLiteSPage>,
public IOleObjectImpl<CLiteSPage>,
public IOleInPlaceActiveObjectImpl<CLiteSPage>,
public IViewObjectExImpl<CLiteSPage>,
public IOleInPlaceObjectWindowlessImpl<CLiteSPage>,
public ISupportErrorInfo,
public CComCoClass<CLiteSPage, &CLSID_LiteSPage>,
public IDispatchImpl<PropertyPage,&__uuidof(PropertyPage),&LIBID_OUTLOOKADDINLib>
{
public:
CLiteSPage()
{
m_bWindowOnly = TRUE;
CalcExtent(m_sizeExtent);
}
DECLARE_REGISTRY_RESOURCEID(IDR_LITEPAGE)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(CLiteSPage)
COM_INTERFACE_ENTRY(ILiteSPage)
COM_INTERFACE_ENTRY2(IDispatch,ILiteSPage)
COM_INTERFACE_ENTRY(IViewObjectEx)
COM_INTERFACE_ENTRY(IViewObject2)
COM_INTERFACE_ENTRY(IViewObject)
COM_INTERFACE_ENTRY(IOleInPlaceObjectWindowless)
COM_INTERFACE_ENTRY(IOleInPlaceObject)
COM_INTERFACE_ENTRY2(IOleWindow, IOleInPlaceObjectWindowless)
COM_INTERFACE_ENTRY(IOleInPlaceActiveObject)
COM_INTERFACE_ENTRY(IOleControl)
COM_INTERFACE_ENTRY(IOleObject)
COM_INTERFACE_ENTRY(IPersistStreamInit)
COM_INTERFACE_ENTRY2(IPersist, IPersistStreamInit)
COM_INTERFACE_ENTRY(ISupportErrorInfo)
COM_INTERFACE_ENTRY(PropertyPage)
END_COM_MAP()
BEGIN_PROP_MAP(CLiteSPage)
PROP_DATA_ENTRY("_cx", m_sizeExtent.cx, VT_UI4)
PROP_DATA_ENTRY("_cy", m_sizeExtent.cy, VT_UI4)
// Example entries
// PROP_ENTRY("Property Description", dispid, clsid)
// PROP_PAGE(CLSID_StockColorPage)
END_PROP_MAP()
BEGIN_MSG_MAP(CLiteSPage)
CHAIN_MSG_MAP(CComCompositeControl<CLiteSPage>)
END_MSG_MAP()
// Handler prototypes:
// LRESULT MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
// LRESULT CommandHandler(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
// LRESULT NotifyHandler(int idCtrl, LPNMHDR pnmh, BOOL& bHandled);
BEGIN_SINK_MAP(CLiteSPage)
//Make sure the Event Handlers have __stdcall calling convention
END_SINK_MAP()
STDMETHOD(SetClientSite)(IOleClientSite *pSite);
STDMETHOD(GetControlInfo)(LPCONTROLINFO pCI);
STDMETHOD(OnAmbientPropertyChange)(DISPID dispid)
{
if (dispid == DISPID_AMBIENT_BACKCOLOR)
{
SetBackgroundColorFromAmbient();
FireViewChange();
}
return IOleControlImpl<CLiteSPage>::OnAmbientPropertyChange(dispid);
}
// ISupportsErrorInfo
STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid)
{
static const IID* arr[] =
{
&IID_ILiteSPage,
};
for (int i=0; i<sizeof(arr)/sizeof(arr[0]); i++)
{
if (InlineIsEqualGUID(*arr[i], riid))
return S_OK;
}
return S_FALSE;
}
// IViewObjectEx
DECLARE_VIEW_STATUS(0)
// ILiteSPage
public:
enum { IDD = IDD_LITEPAGE };
// PropertyPage
STDMETHOD(GetPageInfo)(BSTR * HelpFile, LONG * HelpContext)
{
ATLTRACE("GetPageInfo");
if (HelpFile == NULL)
return E_POINTER;
if (HelpContext == NULL)
return E_POINTER;
return E_NOTIMPL;
}
STDMETHOD(get_Dirty)(VARIANT_BOOL * Dirty)
{
ATLTRACE("GetDirty");
if (Dirty == NULL)
return E_POINTER;
return E_NOTIMPL;
}
STDMETHOD(Apply)()
{
ATLTRACE("Apply");
return E_NOTIMPL;
}
};
#endif //__LITESPAGE_H_
| 28.774834 | 135 | 0.702647 |
462d2a8326a69c19e4191b6602d1e087737e5162 | 999 | h | C | SXPodBase/Classes/Controller/CKKBaseVC.h | songxing10000/SXPodBase | 66b7f31406c0b4b175db4a5160784865322ae132 | [
"MIT"
] | 1 | 2017-10-20T09:30:15.000Z | 2017-10-20T09:30:15.000Z | SXPodBase/Classes/Controller/CKKBaseVC.h | songxing10000/SXPodBase | 66b7f31406c0b4b175db4a5160784865322ae132 | [
"MIT"
] | null | null | null | SXPodBase/Classes/Controller/CKKBaseVC.h | songxing10000/SXPodBase | 66b7f31406c0b4b175db4a5160784865322ae132 | [
"MIT"
] | null | null | null | //
// CKKSJBaseVC.h
// dfpo
//
// Created by dfpo on 16/11/18.
// Copyright © 2016年 dfpo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CKKEmptyView.h"
@interface CKKBaseVC : UIViewController
@property (nonatomic, class) UIColor *defaultBackgroundColor;
/**
当前最顶顶部的控制器的view
*/
@property (nonatomic) UIView *topVCView;
@property (nonatomic) CKKEmptyView *emptyFailedView;
- (void)addLoading;
- (void)removeLoading;
- (void)showEmptyViewInView:(UIView *)view withType:(EmptyViewType)type;
- (void)showEmptyViewInView:(UIView *)view withFrame:(CGRect)frame withType:(EmptyViewType)type;
- (void)hideEmptyView;
/**
页面加载失败,重新加载,子类实现此方法
*/
- (void)reloadData;
#pragma mark - 快速子类方法,可抽取至分类
/**
self.navigationItem.rightBarButtonItem title 事件
@param title self.navigationItem.rightBarButtonItem的title
@param action self.navigationItem.rightBarButtonItem的事件
@return 这个用做rightBarButtonItem的按钮
*/
- (UIButton *)addRightItemWithTitle:(NSString *)title action:(SEL)action;
@end
| 22.2 | 96 | 0.757758 |
5f21bab5230b1c69ee7548770cf1c8d1937c85f2 | 577 | h | C | string/wstring.h | Unixeno/Tincl | 1d7d711dfc3d6e326447f0f49d0328a98883b46c | [
"MIT"
] | 1 | 2018-10-22T14:11:11.000Z | 2018-10-22T14:11:11.000Z | string/wstring.h | Unixeno/Tincl | 1d7d711dfc3d6e326447f0f49d0328a98883b46c | [
"MIT"
] | null | null | null | string/wstring.h | Unixeno/Tincl | 1d7d711dfc3d6e326447f0f49d0328a98883b46c | [
"MIT"
] | null | null | null | //
// Created by unixeno on 2018/10/12.
//
#ifndef TINCL_WSTRING_H
#define TINCL_WSTRING_H
#include <stdint.h>
typedef struct
{
wchar_t *data;
size_t size;
size_t length;
}_wstring_base, *WString;
void wstring_delete(WString wstring);
WString wstring_create();
WString wstring_create_from_int(int32_t data);
WString wstring_create_from_wstring(WString source);
uint8_t wstring_append_wchar(WString string, wchar_t wch);
uint8_t wstring_append_wstr(WString string, const wchar_t *wstr);
const wchar_t *wstring_get_wstr(WString string);
#endif //TINCL_WSTRING_H
| 22.192308 | 65 | 0.788562 |
0bea0f3228c3f8163e45dd366f5a3cc9e2aff5b6 | 9,920 | c | C | ast.c | DeCarabas/millie | d2f6afcb3926bcd1672e00581d38aa9476817b0c | [
"MIT"
] | 4 | 2017-07-05T23:49:17.000Z | 2019-05-23T02:04:12.000Z | ast.c | DeCarabas/millie | d2f6afcb3926bcd1672e00581d38aa9476817b0c | [
"MIT"
] | null | null | null | ast.c | DeCarabas/millie | d2f6afcb3926bcd1672e00581d38aa9476817b0c | [
"MIT"
] | null | null | null | #ifndef PLATFORM_INCLUDED
#include "platform.h"
#endif
struct Expression *MakeSyntaxError(struct Arena *arena, uint32_t position)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_ERROR;
result->start_token = position;
result->end_token = position;
return result;
}
struct Expression *MakeLambda(struct Arena *arena, uint32_t start_token,
Symbol variable, struct Expression *body)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_LAMBDA;
result->start_token = start_token;
result->end_token = body->end_token;
result->lambda_id = variable;
result->lambda_body = body;
return result;
}
struct Expression *MakeIdentifier(struct Arena *arena, uint32_t token_pos,
Symbol id)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_IDENTIFIER;
result->start_token = result->end_token = token_pos;
result->identifier_id = id;
return result;
}
struct Expression *MakeApply(struct Arena *arena, struct Expression *func_expr,
struct Expression *arg_expr)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_APPLY;
result->start_token = func_expr->start_token;
result->end_token = arg_expr->end_token;
result->apply_function = func_expr;
result->apply_argument = arg_expr;
return result;
}
struct Expression *MakeLet(struct Arena *arena, uint32_t let_pos,
Symbol variable, struct Expression *value,
struct Expression *body)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_LET;
result->start_token = let_pos;
result->end_token = body->end_token;
result->let_id = variable;
result->let_value = value;
result->let_body = body;
return result;
}
struct Expression *MakeLetRec(struct Arena *arena, uint32_t let_pos,
Symbol variable, struct Expression *value,
struct Expression *body)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_LETREC;
result->start_token = let_pos;
result->end_token = body->end_token;
result->let_id = variable;
result->let_value = value;
result->let_body = body;
return result;
}
struct Expression *MakeIf(struct Arena *arena, uint32_t if_pos,
struct Expression *test,
struct Expression *then_branch,
struct Expression *else_branch)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_IF;
result->start_token = if_pos;
result->end_token = else_branch->end_token;
result->if_test = test;
result->if_then = then_branch;
result->if_else = else_branch;
return result;
}
struct Expression *MakeBinary(struct Arena *arena, MILLIE_TOKEN op,
struct Expression *left,
struct Expression *right)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_BINARY;
result->start_token = left->start_token;
result->end_token = right->end_token;
result->binary_operator = op;
result->binary_left = left;
result->binary_right = right;
return result;
}
struct Expression *MakeUnary(struct Arena *arena, uint32_t operator_pos,
MILLIE_TOKEN op, struct Expression *arg)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_UNARY;
result->start_token = operator_pos;
result->end_token = arg->end_token;
result->unary_operator = op;
result->unary_arg = arg;
return result;
}
struct Expression *MakeBooleanLiteral(struct Arena *arena, uint32_t pos,
bool value)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = value ? EXP_TRUE : EXP_FALSE;
result->start_token = result->end_token = pos;
return result;
}
struct Expression *MakeIntegerLiteral(struct Arena *arena, uint32_t pos,
uint64_t value)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_INTEGER_CONSTANT;
result->literal_value = value;
result->start_token = result->end_token = pos;
return result;
}
struct Expression *MakeTuple(struct Arena *arena, struct Expression *first,
struct Expression *rest, int length)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_TUPLE;
result->tuple_first = first;
result->tuple_rest = rest;
result->tuple_length = length;
result->start_token = first->start_token;
result->end_token = rest->end_token;
return result;
}
struct Expression *MakeTupleFinal(struct Arena *arena, struct Expression *expr)
{
struct Expression *result = ArenaAllocate(arena, sizeof(struct Expression));
result->type = EXP_TUPLE_FINAL;
result->tuple_first = expr;
result->start_token = expr->start_token;
result->end_token = expr->end_token;
return result;
}
static void _PrintIndent(int indent)
{
for(int i = 0; i < indent; i++) {
printf(" ");
}
}
static void _DumpExprImpl(
struct SymbolTable *table,
struct MillieTokens *tokens,
struct Expression *expression,
int indent
)
{
switch(expression->type) {
case EXP_LAMBDA:
{
struct MString *id = FindSymbolKey(table, expression->lambda_id);
_PrintIndent(indent); printf("lambda %s =>\n", MStringData(id));
_DumpExprImpl(table, tokens, expression->lambda_body, indent+1);
MStringFree(&id);
}
break;
case EXP_IDENTIFIER:
{
struct MString *id = FindSymbolKey(table, expression->identifier_id);
_PrintIndent(indent); printf("id %s\n", MStringData(id));
MStringFree(&id);
}
break;
case EXP_APPLY:
{
_PrintIndent(indent); printf("apply\n");
_DumpExprImpl(table, tokens, expression->apply_function, indent+1);
_DumpExprImpl(table, tokens, expression->apply_argument, indent+1);
}
break;
case EXP_LET:
{
struct MString *id = FindSymbolKey(table, expression->let_id);
_PrintIndent(indent); printf("let %s = \n", MStringData(id));
_DumpExprImpl(table, tokens, expression->let_value, indent+1);
_PrintIndent(indent); printf("in\n");
_DumpExprImpl(table, tokens, expression->let_body, indent+1);
MStringFree(&id);
}
break;
case EXP_LETREC:
{
struct MString *id = FindSymbolKey(table, expression->let_id);
_PrintIndent(indent); printf("let rec %s = \n", MStringData(id));
_DumpExprImpl(table, tokens, expression->let_value, indent+1);
_PrintIndent(indent); printf("in\n");
_DumpExprImpl(table, tokens, expression->let_body, indent+1);
MStringFree(&id);
}
break;
case EXP_INTEGER_CONSTANT:
{
_PrintIndent(indent);
printf("literal %llu\n", expression->literal_value);
}
break;
case EXP_TRUE:
{
_PrintIndent(indent); printf("true\n");
}
break;
case EXP_FALSE:
{
_PrintIndent(indent); printf("false\n");
}
break;
case EXP_IF:
{
_PrintIndent(indent); printf("if\n");
_DumpExprImpl(table, tokens, expression->if_test, indent+1);
_PrintIndent(indent); printf("then\n");
_DumpExprImpl(table, tokens, expression->if_then, indent+1);
_PrintIndent(indent); printf("else\n");
_DumpExprImpl(table, tokens, expression->if_else, indent+1);
}
break;
case EXP_BINARY:
{
uint32_t bin_tok = expression->binary_left->end_token + 1;
struct MString *operator = ExtractToken(tokens, bin_tok);
_PrintIndent(indent); printf("binary %s\n", MStringData(operator));
_DumpExprImpl(table, tokens, expression->binary_left, indent+1);
_DumpExprImpl(table, tokens, expression->binary_right, indent+1);
MStringFree(&operator);
}
break;
case EXP_UNARY:
{
struct MString *operator;
operator = ExtractToken(tokens, expression->start_token);
_PrintIndent(indent); printf("unary %s\n", MStringData(operator));
_DumpExprImpl(table, tokens, expression->unary_arg, indent+1);
MStringFree(&operator);
}
break;
case EXP_TUPLE:
case EXP_TUPLE_FINAL:
{
_PrintIndent(indent); printf("tuple (%d)\n", expression->tuple_length);
_DumpExprImpl(table, tokens, expression->tuple_first, indent+1);
while(expression->type != EXP_TUPLE_FINAL) {
expression = expression->tuple_rest;
_DumpExprImpl(table, tokens, expression->tuple_first, indent+1);
}
}
break;
case EXP_ERROR:
_PrintIndent(indent); printf("ERROR");
break;
case EXP_INVALID:
_PrintIndent(indent); printf("???\n");
break;
}
}
void DumpExpression(struct SymbolTable *table, struct MillieTokens *tokens,
struct Expression *expression)
{
_DumpExprImpl(table, tokens, expression, 0);
}
| 33.288591 | 83 | 0.62369 |
a4dfd6c1a71bce6a189aaf8738f64bd8a8f273ae | 8,888 | h | C | engine/source/2d/sceneobject/SkeletonObject.h | close-code/Torque2D | ad141fc7b5f28b75f727ef29dcc93aafbb3f5aa3 | [
"MIT"
] | 1,309 | 2015-01-01T02:46:14.000Z | 2022-03-14T04:56:02.000Z | engine/source/2d/sceneobject/SkeletonObject.h | close-code/Torque2D | ad141fc7b5f28b75f727ef29dcc93aafbb3f5aa3 | [
"MIT"
] | 155 | 2015-01-11T19:26:32.000Z | 2021-11-22T04:08:55.000Z | engine/source/2d/sceneobject/SkeletonObject.h | close-code/Torque2D | ad141fc7b5f28b75f727ef29dcc93aafbb3f5aa3 | [
"MIT"
] | 1,595 | 2015-01-01T23:19:48.000Z | 2022-02-17T07:00:52.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, 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 _SKELETON_OBJECT_H_
#define _SKELETON_OBJECT_H_
#ifndef _SPRITE_BATCH_H_
#include "2d/core/SpriteBatch.h"
#endif
#ifndef _SCENE_OBJECT_H_
#include "2d/sceneobject/SceneObject.h"
#endif
#ifndef _SKELETON_ASSET_H_
#include "2d/assets/SkeletonAsset.h"
#endif
//------------------------------------------------------------------------------
class SkeletonObject : public SceneObject, public SpriteBatch
{
protected:
typedef SceneObject Parent;
private:
typedef Vector<SpriteBatchItem*> typeSkeletonSpritesVector;
typeSkeletonSpritesVector mSkeletonSprites;
AssetPtr<SkeletonAsset> mSkeletonAsset;
spSkeleton* mSkeleton;
spAnimationState* mState;
F32 mPreTickTime;
F32 mPostTickTime;
F32 mTimeScale;
F32 mLastFrameTime;
F32 mAnimationDuration;
F32 mTotalAnimationTime;
bool mAnimationFinished;
bool mAnimationCycle;
Vector2 mSkeletonScale;
Vector2 mSkeletonOffset;
StringTableEntry mCurrentAnimation;
StringTableEntry mCurrentSkin;
bool mFlipX;
bool mFlipY;
public:
SkeletonObject();
virtual ~SkeletonObject();
static void initPersistFields();
virtual void preIntegrate( const F32 totalTime, const F32 elapsedTime, DebugStats* pDebugStats );
virtual void integrateObject( const F32 totalTime, const F32 elapsedTime, DebugStats* pDebugStats );
virtual void interpolateObject( const F32 timeDelta );
virtual void copyTo( SimObject* object );
virtual bool canPrepareRender( void ) const { return true; }
virtual bool validRender( void ) const { return mSkeletonAsset.notNull(); }
virtual bool shouldRender( void ) const { return true; }
virtual void scenePrepareRender( const SceneRenderState* pSceneRenderState, SceneRenderQueue* pSceneRenderQueue );
virtual void sceneRender( const SceneRenderState* pSceneRenderState, const SceneRenderRequest* pSceneRenderRequest, BatchRender* pBatchRenderer );
/// Render flipping.
void setFlip( const bool flipX, const bool flipY ) { mFlipX = flipX; mFlipY = flipY; }
void setFlipX( const bool flipX ) { setFlip( flipX, mFlipY ); }
void setFlipY( const bool flipY ) { setFlip( mFlipX, flipY ); }
inline bool getFlipX( void ) const { return mFlipX; }
inline bool getFlipY( void ) const { return mFlipY; }
bool setSkeletonAsset( const char* pSkeletonAssetId );
inline StringTableEntry getSkeletonAsset( void ) const { return mSkeletonAsset.getAssetId(); }
inline bool setAnimationName( const char* pAnimation ) { return setAnimationName( pAnimation, mAnimationCycle ); }
bool setAnimationName( const char* pAnimation, const bool isLooping = false);
inline StringTableEntry getAnimationName( void ) const { return mCurrentAnimation; }
bool setMix( const char* pFromAnimation, const char* pToAnimation, float time);
bool setCurrentSkin( const char* pSkin );
inline StringTableEntry getCurrentSkin( void ) const { return mCurrentSkin; }
void setRootBoneScale( const Vector2& scale );
inline void setRootBoneScale( const F32 x, const F32 y ){ setRootBoneScale( Vector2(x, y) ); }
inline Vector2 getRootBoneScale( void ) const { return mSkeletonScale; }
void setRootBoneOffset( const Vector2& scale );
inline void setRootBoneOffset( const F32 x, const F32 y ){ setRootBoneOffset( Vector2(x, y) ); }
inline Vector2 getRootBoneOffset( void ) const { return mSkeletonOffset; }
inline F32 getAnimationDuration( void ) const { return mAnimationDuration; }
inline bool isAnimationFinished( void ) const { return mAnimationFinished; };
inline void setAnimationCycle( const bool isLooping ) { mAnimationCycle = isLooping; }
inline bool getAnimationCycle( void ) const {return mAnimationCycle; };
void onAnimationFinished();
/// Declare Console Object.
DECLARE_CONOBJECT( SkeletonObject );
protected:
void generateComposition( void );
void updateComposition( const F32 time );
protected:
static bool setSkeletonAsset( void* obj, const char* data ) { static_cast<SkeletonObject*>(obj)->setSkeletonAsset(data); return false; }
static const char* getSkeletonAsset(void* obj, const char* data) { return static_cast<SkeletonObject*>(obj)->getSkeletonAsset(); }
static bool writeSkeletonAsset( void* obj, StringTableEntry pFieldName ) { return static_cast<SkeletonObject*>(obj)->mSkeletonAsset.notNull(); }
static bool setAnimationName( void* obj, const char* data ) { static_cast<SkeletonObject*>(obj)->setAnimationName(data, static_cast<SkeletonObject*>(obj)->getAnimationCycle()); return false; }
static const char* getAnimationName(void* obj, const char* data) { return static_cast<SkeletonObject*>(obj)->getAnimationName(); }
static bool writeAnimationName( void*obj, StringTableEntry pAnimation ) { return static_cast<SkeletonObject*>(obj)->getAnimationName() != StringTable->EmptyString; }
static bool setCurrentSkin( void* obj, const char* data ) { static_cast<SkeletonObject*>(obj)->setCurrentSkin(data); return false; }
static const char* getCurrentSkin(void* obj, const char* data) { return static_cast<SkeletonObject*>(obj)->getCurrentSkin(); }
static bool writeCurrentSkin( void*obj, StringTableEntry pSkin ) { return static_cast<SkeletonObject*>(obj)->getCurrentSkin() != StringTable->EmptyString; }
static bool setRootBoneScale(void* obj, const char* data) { static_cast<SkeletonObject*>(obj)->setRootBoneScale(Vector2(data)); return false; }
static const char* getRootBoneScale(void* obj, const char* data) { return static_cast<SkeletonObject*>(obj)->getRootBoneScale().scriptThis(); }
static bool writeRootBoneScale( void* obj, StringTableEntry pFieldName ) { return static_cast<SkeletonObject*>(obj)->getRootBoneScale().notZero(); }
static bool setRootBoneOffset(void* obj, const char* data) { static_cast<SkeletonObject*>(obj)->setRootBoneOffset(Vector2(data)); return false; }
static const char* getRootBoneOffset(void* obj, const char* data) { return static_cast<SkeletonObject*>(obj)->getRootBoneOffset().scriptThis(); }
static bool writeRootBoneOffset( void* obj, StringTableEntry pFieldName ) { return static_cast<SkeletonObject*>(obj)->getRootBoneOffset().notZero(); }
static bool setAnimationCycle( void* obj, const char* data ) { static_cast<SkeletonObject*>(obj)->setAnimationCycle( dAtob(data) ); return false; }
static bool writeAnimationCycle( void* obj, StringTableEntry pFieldName ) { return static_cast<SkeletonObject*>(obj)->getAnimationCycle() == false; }
static bool writeFlipX( void* obj, StringTableEntry pFieldName ) { return static_cast<SkeletonObject*>(obj)->getFlipX() == true; }
static bool writeFlipY( void* obj, StringTableEntry pFieldName ) { return static_cast<SkeletonObject*>(obj)->getFlipY() == true; }
};
#endif // _SKELETON_OBJECT_H_
| 54.864198 | 213 | 0.667642 |
626b87afd50aef09dea442e7d21b466db36f20f2 | 1,095 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PrefetchService.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PrefetchService.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PrefetchService.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class NSRecursiveLock, TBSDKThreadSafeMutableDictionary;
@interface PrefetchService : NSObject
{
NSRecursiveLock *_prefetchLock;
TBSDKThreadSafeMutableDictionary *_prefetchDic;
}
+ (id)getInstance;
@property(retain, nonatomic) TBSDKThreadSafeMutableDictionary *prefetchDic; // @synthesize prefetchDic=_prefetchDic;
@property(retain, nonatomic) NSRecursiveLock *prefetchLock; // @synthesize prefetchLock=_prefetchLock;
- (void).cxx_destruct;
- (id)arrayToJSONString:(id)arg1;
- (id)dictionaryWithJsonString:(id)arg1;
- (id)sortString:(id)arg1 excludedKeys:(id)arg2;
- (id)getPrefetchKeyWithRequest:(id)arg1;
- (id)getNoParamPrefetchKeyWithRequest:(id)arg1;
- (void)removePrefetchRequestInfoWithRequest:(id)arg1;
- (void)addPrefetchRequestInfoWithRequest:(id)arg1;
- (id)getPrefetchRequestInfoWithRequest:(id)arg1;
- (void)applicationWillEnterBackground;
- (id)init;
@end
| 32.205882 | 116 | 0.773516 |
00e2f14079ae96b86be2cc130ca89816adfd341f | 684 | h | C | PersistentStructure/CLJIChunk.h | CodaFi/PersistentStructure | e28979f3bd55ebaf0456328b562137cd81806dd5 | [
"MIT"
] | 1 | 2015-02-23T00:51:23.000Z | 2015-02-23T00:51:23.000Z | PersistentStructure/CLJIChunk.h | CodaFi/PersistentStructure | e28979f3bd55ebaf0456328b562137cd81806dd5 | [
"MIT"
] | null | null | null | PersistentStructure/CLJIChunk.h | CodaFi/PersistentStructure | e28979f3bd55ebaf0456328b562137cd81806dd5 | [
"MIT"
] | null | null | null | //
// CLJIChunk.h
// PersistentStructure
//
// Created by Robert Widmann on 3/26/14.
// Copyright (c) 2014 CodaFi. All rights reserved.
// Released under the MIT license.
//
#import "CLJIIndexed.h"
#include "CLJTypes.h"
/// The CLJIChunk protocol declares the two methods necessary for an object to call itself a
/// 'Chunk'. Chunks are windows into the values of a collection that permit only reduction
@protocol CLJIChunk <CLJIIndexed>
/// Returns a new chunk with the same objects as the reciever except the first.
- (id<CLJIChunk>)tail;
/// Applies a reducer function to all the elements of the chunk in sequence.
- (id)reduce:(CLJIReduceBlock)f start:(id)start;
@end
| 28.5 | 92 | 0.732456 |
93c9e9c69fbc901400a2ab00aea35412d0cf7237 | 37,789 | c | C | bsp/gkipc/libraries/drv/710XS/gh/src/gh_uart0.c | Davidfind/rt-thread | 56f1a8af4f9e8bad0a0fdc5cea7112767267b243 | [
"Apache-2.0"
] | 10 | 2019-12-23T07:18:27.000Z | 2020-12-19T04:35:43.000Z | bsp/gkipc/libraries/drv/710XS/gh/src/gh_uart0.c | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 5 | 2019-02-28T10:07:03.000Z | 2019-03-11T10:40:20.000Z | bsp/gkipc/libraries/drv/710XS/gh/src/gh_uart0.c | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 7 | 2019-07-01T02:50:47.000Z | 2020-12-11T10:01:07.000Z | /******************************************************************************
**
** \file gh_uart0.c
**
** \brief UART0.
**
** Copyright: 2012 - 2013 (C) GoKe Microelectronics ShangHai Branch
**
** \attention THIS SAMPLE CODE IS PROVIDED AS IS. GOKE MICROELECTRONICS
** ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR
** OMMISSIONS.
**
** \note Do not modify this file as it is generated automatically.
**
******************************************************************************/
#include "gh_uart0.h"
/*----------------------------------------------------------------------------*/
/* mirror variables */
/*----------------------------------------------------------------------------*/
GH_UART0_THR_S m_uart0_thr;
GH_UART0_FCR_S m_uart0_fcr;
/*----------------------------------------------------------------------------*/
/* register UART0_RBR (read) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
U32 GH_UART0_get_RBR(void)
{
U32 value = (*(volatile U32 *)REG_UART0_RBR);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_RBR] --> 0x%08x\n",
REG_UART0_RBR,value);
#endif
return value;
}
U8 GH_UART0_get_RBR_Data(void)
{
GH_UART0_RBR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_RBR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_RBR_Data] --> 0x%08x\n",
REG_UART0_RBR,value);
#endif
return tmp_value.bitc.data;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_THR (write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL < 2
void GH_UART0_set_THR(U32 data)
{
m_uart0_thr.all = data;
*(volatile U32 *)REG_UART0_THR = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_THR] <-- 0x%08x\n",
REG_UART0_THR,data,data);
#endif
}
U32 GH_UART0_getm_THR(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_THR] --> 0x%08x\n",
m_uart0_thr.all);
#endif
return m_uart0_thr.all;
}
void GH_UART0_set_THR_Data(U8 data)
{
m_uart0_thr.bitc.data = data;
*(volatile U32 *)REG_UART0_THR = m_uart0_thr.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_THR_Data] <-- 0x%08x\n",
REG_UART0_THR,m_uart0_thr.all,m_uart0_thr.all);
#endif
}
U8 GH_UART0_getm_THR_Data(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_THR_Data] --> 0x%08x\n",
m_uart0_thr.bitc.data);
#endif
return m_uart0_thr.bitc.data;
}
#endif /* GH_INLINE_LEVEL < 2 */
/*----------------------------------------------------------------------------*/
/* register UART0_DLL (read/write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
void GH_UART0_set_DLL(U32 data)
{
*(volatile U32 *)REG_UART0_DLL = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_DLL] <-- 0x%08x\n",
REG_UART0_DLL,data,data);
#endif
}
U32 GH_UART0_get_DLL(void)
{
U32 value = (*(volatile U32 *)REG_UART0_DLL);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_DLL] --> 0x%08x\n",
REG_UART0_DLL,value);
#endif
return value;
}
void GH_UART0_set_DLL_BaudDivint_L(U8 data)
{
GH_UART0_DLL_S d;
d.all = *(volatile U32 *)REG_UART0_DLL;
d.bitc.bauddivint_l = data;
*(volatile U32 *)REG_UART0_DLL = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_DLL_BaudDivint_L] <-- 0x%08x\n",
REG_UART0_DLL,d.all,d.all);
#endif
}
U8 GH_UART0_get_DLL_BaudDivint_L(void)
{
GH_UART0_DLL_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_DLL);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_DLL_BaudDivint_L] --> 0x%08x\n",
REG_UART0_DLL,value);
#endif
return tmp_value.bitc.bauddivint_l;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_IER (read/write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
void GH_UART0_set_IER(U32 data)
{
*(volatile U32 *)REG_UART0_IER = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_IER] <-- 0x%08x\n",
REG_UART0_IER,data,data);
#endif
}
U32 GH_UART0_get_IER(void)
{
U32 value = (*(volatile U32 *)REG_UART0_IER);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IER] --> 0x%08x\n",
REG_UART0_IER,value);
#endif
return value;
}
void GH_UART0_set_IER_erbfi(U8 data)
{
GH_UART0_IER_S d;
d.all = *(volatile U32 *)REG_UART0_IER;
d.bitc.erbfi = data;
*(volatile U32 *)REG_UART0_IER = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_IER_erbfi] <-- 0x%08x\n",
REG_UART0_IER,d.all,d.all);
#endif
}
U8 GH_UART0_get_IER_erbfi(void)
{
GH_UART0_IER_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_IER);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IER_erbfi] --> 0x%08x\n",
REG_UART0_IER,value);
#endif
return tmp_value.bitc.erbfi;
}
void GH_UART0_set_IER_etbei(U8 data)
{
GH_UART0_IER_S d;
d.all = *(volatile U32 *)REG_UART0_IER;
d.bitc.etbei = data;
*(volatile U32 *)REG_UART0_IER = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_IER_etbei] <-- 0x%08x\n",
REG_UART0_IER,d.all,d.all);
#endif
}
U8 GH_UART0_get_IER_etbei(void)
{
GH_UART0_IER_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_IER);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IER_etbei] --> 0x%08x\n",
REG_UART0_IER,value);
#endif
return tmp_value.bitc.etbei;
}
void GH_UART0_set_IER_elsi(U8 data)
{
GH_UART0_IER_S d;
d.all = *(volatile U32 *)REG_UART0_IER;
d.bitc.elsi = data;
*(volatile U32 *)REG_UART0_IER = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_IER_elsi] <-- 0x%08x\n",
REG_UART0_IER,d.all,d.all);
#endif
}
U8 GH_UART0_get_IER_elsi(void)
{
GH_UART0_IER_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_IER);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IER_elsi] --> 0x%08x\n",
REG_UART0_IER,value);
#endif
return tmp_value.bitc.elsi;
}
void GH_UART0_set_IER_edssi(U8 data)
{
GH_UART0_IER_S d;
d.all = *(volatile U32 *)REG_UART0_IER;
d.bitc.edssi = data;
*(volatile U32 *)REG_UART0_IER = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_IER_edssi] <-- 0x%08x\n",
REG_UART0_IER,d.all,d.all);
#endif
}
U8 GH_UART0_get_IER_edssi(void)
{
GH_UART0_IER_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_IER);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IER_edssi] --> 0x%08x\n",
REG_UART0_IER,value);
#endif
return tmp_value.bitc.edssi;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_DLH (read/write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
void GH_UART0_set_DLH(U32 data)
{
*(volatile U32 *)REG_UART0_DLH = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_DLH] <-- 0x%08x\n",
REG_UART0_DLH,data,data);
#endif
}
U32 GH_UART0_get_DLH(void)
{
U32 value = (*(volatile U32 *)REG_UART0_DLH);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_DLH] --> 0x%08x\n",
REG_UART0_DLH,value);
#endif
return value;
}
void GH_UART0_set_DLH_BaudDivint_H(U8 data)
{
GH_UART0_DLH_S d;
d.all = *(volatile U32 *)REG_UART0_DLH;
d.bitc.bauddivint_h = data;
*(volatile U32 *)REG_UART0_DLH = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_DLH_BaudDivint_H] <-- 0x%08x\n",
REG_UART0_DLH,d.all,d.all);
#endif
}
U8 GH_UART0_get_DLH_BaudDivint_H(void)
{
GH_UART0_DLH_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_DLH);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_DLH_BaudDivint_H] --> 0x%08x\n",
REG_UART0_DLH,value);
#endif
return tmp_value.bitc.bauddivint_h;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_IIR (read) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
U32 GH_UART0_get_IIR(void)
{
U32 value = (*(volatile U32 *)REG_UART0_IIR);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IIR] --> 0x%08x\n",
REG_UART0_IIR,value);
#endif
return value;
}
U8 GH_UART0_get_IIR_interrupt_id(void)
{
GH_UART0_IIR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_IIR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IIR_interrupt_id] --> 0x%08x\n",
REG_UART0_IIR,value);
#endif
return tmp_value.bitc.interrupt_id;
}
U8 GH_UART0_get_IIR_fifos_enabled(void)
{
GH_UART0_IIR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_IIR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_IIR_fifos_enabled] --> 0x%08x\n",
REG_UART0_IIR,value);
#endif
return tmp_value.bitc.fifos_enabled;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_FCR (write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL < 2
void GH_UART0_set_FCR(U32 data)
{
m_uart0_fcr.all = data;
*(volatile U32 *)REG_UART0_FCR = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_FCR] <-- 0x%08x\n",
REG_UART0_FCR,data,data);
#endif
}
U32 GH_UART0_getm_FCR(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_FCR] --> 0x%08x\n",
m_uart0_fcr.all);
#endif
return m_uart0_fcr.all;
}
void GH_UART0_set_FCR_FIFO_Enable(U8 data)
{
m_uart0_fcr.bitc.fifo_enable = data;
*(volatile U32 *)REG_UART0_FCR = m_uart0_fcr.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_FCR_FIFO_Enable] <-- 0x%08x\n",
REG_UART0_FCR,m_uart0_fcr.all,m_uart0_fcr.all);
#endif
}
U8 GH_UART0_getm_FCR_FIFO_Enable(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_FCR_FIFO_Enable] --> 0x%08x\n",
m_uart0_fcr.bitc.fifo_enable);
#endif
return m_uart0_fcr.bitc.fifo_enable;
}
void GH_UART0_set_FCR_RCVR_FIFO_Reset(U8 data)
{
m_uart0_fcr.bitc.rcvr_fifo_reset = data;
*(volatile U32 *)REG_UART0_FCR = m_uart0_fcr.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_FCR_RCVR_FIFO_Reset] <-- 0x%08x\n",
REG_UART0_FCR,m_uart0_fcr.all,m_uart0_fcr.all);
#endif
}
U8 GH_UART0_getm_FCR_RCVR_FIFO_Reset(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_FCR_RCVR_FIFO_Reset] --> 0x%08x\n",
m_uart0_fcr.bitc.rcvr_fifo_reset);
#endif
return m_uart0_fcr.bitc.rcvr_fifo_reset;
}
void GH_UART0_set_FCR_XMIT_FIFO_Reset(U8 data)
{
m_uart0_fcr.bitc.xmit_fifo_reset = data;
*(volatile U32 *)REG_UART0_FCR = m_uart0_fcr.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_FCR_XMIT_FIFO_Reset] <-- 0x%08x\n",
REG_UART0_FCR,m_uart0_fcr.all,m_uart0_fcr.all);
#endif
}
U8 GH_UART0_getm_FCR_XMIT_FIFO_Reset(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_FCR_XMIT_FIFO_Reset] --> 0x%08x\n",
m_uart0_fcr.bitc.xmit_fifo_reset);
#endif
return m_uart0_fcr.bitc.xmit_fifo_reset;
}
void GH_UART0_set_FCR_DMA_Mode(U8 data)
{
m_uart0_fcr.bitc.dma_mode = data;
*(volatile U32 *)REG_UART0_FCR = m_uart0_fcr.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_FCR_DMA_Mode] <-- 0x%08x\n",
REG_UART0_FCR,m_uart0_fcr.all,m_uart0_fcr.all);
#endif
}
U8 GH_UART0_getm_FCR_DMA_Mode(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_FCR_DMA_Mode] --> 0x%08x\n",
m_uart0_fcr.bitc.dma_mode);
#endif
return m_uart0_fcr.bitc.dma_mode;
}
void GH_UART0_set_FCR_TX_Empty_Trigger(U8 data)
{
m_uart0_fcr.bitc.tx_empty_trigger = data;
*(volatile U32 *)REG_UART0_FCR = m_uart0_fcr.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_FCR_TX_Empty_Trigger] <-- 0x%08x\n",
REG_UART0_FCR,m_uart0_fcr.all,m_uart0_fcr.all);
#endif
}
U8 GH_UART0_getm_FCR_TX_Empty_Trigger(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_FCR_TX_Empty_Trigger] --> 0x%08x\n",
m_uart0_fcr.bitc.tx_empty_trigger);
#endif
return m_uart0_fcr.bitc.tx_empty_trigger;
}
void GH_UART0_set_FCR_RCVR_Trigger(U8 data)
{
m_uart0_fcr.bitc.rcvr_trigger = data;
*(volatile U32 *)REG_UART0_FCR = m_uart0_fcr.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_FCR_RCVR_Trigger] <-- 0x%08x\n",
REG_UART0_FCR,m_uart0_fcr.all,m_uart0_fcr.all);
#endif
}
U8 GH_UART0_getm_FCR_RCVR_Trigger(void)
{
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "[GH_UART0_getm_FCR_RCVR_Trigger] --> 0x%08x\n",
m_uart0_fcr.bitc.rcvr_trigger);
#endif
return m_uart0_fcr.bitc.rcvr_trigger;
}
#endif /* GH_INLINE_LEVEL < 2 */
/*----------------------------------------------------------------------------*/
/* register UART0_LCR (read/write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
void GH_UART0_set_LCR(U32 data)
{
*(volatile U32 *)REG_UART0_LCR = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR] <-- 0x%08x\n",
REG_UART0_LCR,data,data);
#endif
}
U32 GH_UART0_get_LCR(void)
{
U32 value = (*(volatile U32 *)REG_UART0_LCR);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return value;
}
void GH_UART0_set_LCR_cls(U8 data)
{
GH_UART0_LCR_S d;
d.all = *(volatile U32 *)REG_UART0_LCR;
d.bitc.cls = data;
*(volatile U32 *)REG_UART0_LCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR_cls] <-- 0x%08x\n",
REG_UART0_LCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_LCR_cls(void)
{
GH_UART0_LCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR_cls] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return tmp_value.bitc.cls;
}
void GH_UART0_set_LCR_stop(U8 data)
{
GH_UART0_LCR_S d;
d.all = *(volatile U32 *)REG_UART0_LCR;
d.bitc.stop = data;
*(volatile U32 *)REG_UART0_LCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR_stop] <-- 0x%08x\n",
REG_UART0_LCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_LCR_stop(void)
{
GH_UART0_LCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR_stop] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return tmp_value.bitc.stop;
}
void GH_UART0_set_LCR_pen(U8 data)
{
GH_UART0_LCR_S d;
d.all = *(volatile U32 *)REG_UART0_LCR;
d.bitc.pen = data;
*(volatile U32 *)REG_UART0_LCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR_pen] <-- 0x%08x\n",
REG_UART0_LCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_LCR_pen(void)
{
GH_UART0_LCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR_pen] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return tmp_value.bitc.pen;
}
void GH_UART0_set_LCR_eps(U8 data)
{
GH_UART0_LCR_S d;
d.all = *(volatile U32 *)REG_UART0_LCR;
d.bitc.eps = data;
*(volatile U32 *)REG_UART0_LCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR_eps] <-- 0x%08x\n",
REG_UART0_LCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_LCR_eps(void)
{
GH_UART0_LCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR_eps] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return tmp_value.bitc.eps;
}
void GH_UART0_set_LCR_sticky_parity(U8 data)
{
GH_UART0_LCR_S d;
d.all = *(volatile U32 *)REG_UART0_LCR;
d.bitc.sticky_parity = data;
*(volatile U32 *)REG_UART0_LCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR_sticky_parity] <-- 0x%08x\n",
REG_UART0_LCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_LCR_sticky_parity(void)
{
GH_UART0_LCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR_sticky_parity] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return tmp_value.bitc.sticky_parity;
}
void GH_UART0_set_LCR_breaks(U8 data)
{
GH_UART0_LCR_S d;
d.all = *(volatile U32 *)REG_UART0_LCR;
d.bitc.breaks = data;
*(volatile U32 *)REG_UART0_LCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR_breaks] <-- 0x%08x\n",
REG_UART0_LCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_LCR_breaks(void)
{
GH_UART0_LCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR_breaks] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return tmp_value.bitc.breaks;
}
void GH_UART0_set_LCR_dlab(U8 data)
{
GH_UART0_LCR_S d;
d.all = *(volatile U32 *)REG_UART0_LCR;
d.bitc.dlab = data;
*(volatile U32 *)REG_UART0_LCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_LCR_dlab] <-- 0x%08x\n",
REG_UART0_LCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_LCR_dlab(void)
{
GH_UART0_LCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LCR_dlab] --> 0x%08x\n",
REG_UART0_LCR,value);
#endif
return tmp_value.bitc.dlab;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_MCR (read/write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
void GH_UART0_set_MCR(U32 data)
{
*(volatile U32 *)REG_UART0_MCR = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR] <-- 0x%08x\n",
REG_UART0_MCR,data,data);
#endif
}
U32 GH_UART0_get_MCR(void)
{
U32 value = (*(volatile U32 *)REG_UART0_MCR);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return value;
}
void GH_UART0_set_MCR_dtr(U8 data)
{
GH_UART0_MCR_S d;
d.all = *(volatile U32 *)REG_UART0_MCR;
d.bitc.dtr = data;
*(volatile U32 *)REG_UART0_MCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR_dtr] <-- 0x%08x\n",
REG_UART0_MCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_MCR_dtr(void)
{
GH_UART0_MCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR_dtr] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return tmp_value.bitc.dtr;
}
void GH_UART0_set_MCR_rts(U8 data)
{
GH_UART0_MCR_S d;
d.all = *(volatile U32 *)REG_UART0_MCR;
d.bitc.rts = data;
*(volatile U32 *)REG_UART0_MCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR_rts] <-- 0x%08x\n",
REG_UART0_MCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_MCR_rts(void)
{
GH_UART0_MCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR_rts] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return tmp_value.bitc.rts;
}
void GH_UART0_set_MCR_out1(U8 data)
{
GH_UART0_MCR_S d;
d.all = *(volatile U32 *)REG_UART0_MCR;
d.bitc.out1 = data;
*(volatile U32 *)REG_UART0_MCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR_out1] <-- 0x%08x\n",
REG_UART0_MCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_MCR_out1(void)
{
GH_UART0_MCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR_out1] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return tmp_value.bitc.out1;
}
void GH_UART0_set_MCR_out2(U8 data)
{
GH_UART0_MCR_S d;
d.all = *(volatile U32 *)REG_UART0_MCR;
d.bitc.out2 = data;
*(volatile U32 *)REG_UART0_MCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR_out2] <-- 0x%08x\n",
REG_UART0_MCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_MCR_out2(void)
{
GH_UART0_MCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR_out2] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return tmp_value.bitc.out2;
}
void GH_UART0_set_MCR_loopback(U8 data)
{
GH_UART0_MCR_S d;
d.all = *(volatile U32 *)REG_UART0_MCR;
d.bitc.loopback = data;
*(volatile U32 *)REG_UART0_MCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR_loopback] <-- 0x%08x\n",
REG_UART0_MCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_MCR_loopback(void)
{
GH_UART0_MCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR_loopback] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return tmp_value.bitc.loopback;
}
void GH_UART0_set_MCR_afce(U8 data)
{
GH_UART0_MCR_S d;
d.all = *(volatile U32 *)REG_UART0_MCR;
d.bitc.afce = data;
*(volatile U32 *)REG_UART0_MCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR_afce] <-- 0x%08x\n",
REG_UART0_MCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_MCR_afce(void)
{
GH_UART0_MCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR_afce] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return tmp_value.bitc.afce;
}
void GH_UART0_set_MCR_sire(U8 data)
{
GH_UART0_MCR_S d;
d.all = *(volatile U32 *)REG_UART0_MCR;
d.bitc.sire = data;
*(volatile U32 *)REG_UART0_MCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_MCR_sire] <-- 0x%08x\n",
REG_UART0_MCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_MCR_sire(void)
{
GH_UART0_MCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MCR_sire] --> 0x%08x\n",
REG_UART0_MCR,value);
#endif
return tmp_value.bitc.sire;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_LSR (read) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
U32 GH_UART0_get_LSR(void)
{
U32 value = (*(volatile U32 *)REG_UART0_LSR);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LSR] --> 0x%08x\n",
REG_UART0_LSR,value);
#endif
return value;
}
U8 GH_UART0_get_LSR_dr(void)
{
GH_UART0_LSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LSR_dr] --> 0x%08x\n",
REG_UART0_LSR,value);
#endif
return tmp_value.bitc.dr;
}
U8 GH_UART0_get_LSR_oe(void)
{
GH_UART0_LSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LSR_oe] --> 0x%08x\n",
REG_UART0_LSR,value);
#endif
return tmp_value.bitc.oe;
}
U8 GH_UART0_get_LSR_pe(void)
{
GH_UART0_LSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LSR_pe] --> 0x%08x\n",
REG_UART0_LSR,value);
#endif
return tmp_value.bitc.pe;
}
U8 GH_UART0_get_LSR_fe(void)
{
GH_UART0_LSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LSR_fe] --> 0x%08x\n",
REG_UART0_LSR,value);
#endif
return tmp_value.bitc.fe;
}
U8 GH_UART0_get_LSR_bi(void)
{
GH_UART0_LSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LSR_bi] --> 0x%08x\n",
REG_UART0_LSR,value);
#endif
return tmp_value.bitc.bi;
}
U8 GH_UART0_get_LSR_temt(void)
{
GH_UART0_LSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_LSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_LSR_temt] --> 0x%08x\n",
REG_UART0_LSR,value);
#endif
return tmp_value.bitc.temt;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_MSR (read) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
U32 GH_UART0_get_MSR(void)
{
U32 value = (*(volatile U32 *)REG_UART0_MSR);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return value;
}
U8 GH_UART0_get_MSR_dcts(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_dcts] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.dcts;
}
U8 GH_UART0_get_MSR_ddsr(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_ddsr] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.ddsr;
}
U8 GH_UART0_get_MSR_teri(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_teri] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.teri;
}
U8 GH_UART0_get_MSR_ddcd(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_ddcd] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.ddcd;
}
U8 GH_UART0_get_MSR_cts(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_cts] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.cts;
}
U8 GH_UART0_get_MSR_dsr(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_dsr] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.dsr;
}
U8 GH_UART0_get_MSR_ri(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_ri] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.ri;
}
U8 GH_UART0_get_MSR_dcd(void)
{
GH_UART0_MSR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_MSR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_MSR_dcd] --> 0x%08x\n",
REG_UART0_MSR,value);
#endif
return tmp_value.bitc.dcd;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* register UART0_SCR (read/write) */
/*----------------------------------------------------------------------------*/
#if GH_INLINE_LEVEL == 0
void GH_UART0_set_SCR(U32 data)
{
*(volatile U32 *)REG_UART0_SCR = data;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_SCR] <-- 0x%08x\n",
REG_UART0_SCR,data,data);
#endif
}
U32 GH_UART0_get_SCR(void)
{
U32 value = (*(volatile U32 *)REG_UART0_SCR);
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_SCR] --> 0x%08x\n",
REG_UART0_SCR,value);
#endif
return value;
}
void GH_UART0_set_SCR_scr(U8 data)
{
GH_UART0_SCR_S d;
d.all = *(volatile U32 *)REG_UART0_SCR;
d.bitc.scr = data;
*(volatile U32 *)REG_UART0_SCR = d.all;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "WRREG(0x%08x,0x%08x); \\\\ [GH_UART0_set_SCR_scr] <-- 0x%08x\n",
REG_UART0_SCR,d.all,d.all);
#endif
}
U8 GH_UART0_get_SCR_scr(void)
{
GH_UART0_SCR_S tmp_value;
U32 value = (*(volatile U32 *)REG_UART0_SCR);
tmp_value.all = value;
#if GH_UART0_ENABLE_DEBUG_PRINT
GH_UART0_DEBUG_PRINT_FUNCTION( "value = RDREG(0x%08x); \\\\ [GH_UART0_get_SCR_scr] --> 0x%08x\n",
REG_UART0_SCR,value);
#endif
return tmp_value.bitc.scr;
}
#endif /* GH_INLINE_LEVEL == 0 */
/*----------------------------------------------------------------------------*/
/* init function */
/*----------------------------------------------------------------------------*/
void GH_UART0_init(void)
{
GH_UART0_set_THR((U32)0x00000000);
GH_UART0_set_DLL((U32)0x00000000);
GH_UART0_set_IER((U32)0x00000000);
GH_UART0_set_DLH((U32)0x00000000);
GH_UART0_set_FCR((U32)0x00000000);
GH_UART0_set_LCR((U32)0x00000000);
GH_UART0_set_MCR((U32)0x00000000);
GH_UART0_set_SCR((U32)0x00000000);
/* read read-clear registers in order to set mirror variables */
}
/*----------------------------------------------------------------------------*/
/* end of file */
/*----------------------------------------------------------------------------*/
| 34.229167 | 113 | 0.600492 |
fabd1af590d1badf3eb3fe0af9a883f1795010cc | 128 | h | C | s10/net/network_global.h | huxuan0307/Reactor-network-library | 26873ebfc755534bf127aa36af6fba06bb1b5c2f | [
"Apache-2.0"
] | null | null | null | s10/net/network_global.h | huxuan0307/Reactor-network-library | 26873ebfc755534bf127aa36af6fba06bb1b5c2f | [
"Apache-2.0"
] | null | null | null | s10/net/network_global.h | huxuan0307/Reactor-network-library | 26873ebfc755534bf127aa36af6fba06bb1b5c2f | [
"Apache-2.0"
] | null | null | null | #include "../base/noncopyable.h"
#include "../base/Logging.h"
#include "../base/SocketTools.h"
#include "../base/Timestamp.h" | 32 | 33 | 0.671875 |
7a6793ff677f8768600420b965b66816bc36f716 | 5,632 | h | C | src/devices/video/bt45x.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/video/bt45x.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/video/bt45x.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Patrick Mackinlay
#ifndef MAME_VIDEO_BT45X_H
#define MAME_VIDEO_BT45X_H
#pragma once
class bt45x_device_base : public device_t
{
public:
enum address_mask : u8
{
REG_READ_MASK = 0x04,
REG_BLINK_MASK = 0x05,
REG_COMMAND = 0x06,
REG_CONTROL = 0x07
};
enum command_mask : u8
{
CR7 = 0x80, // multiplex select
CR6 = 0x40, // ram enable
CR54 = 0x30, // blink rate selection
CR3 = 0x08, // OL1 blink enable
CR2 = 0x04, // OL0 blink enable
CR1 = 0x02, // OL1 display enable
CR0 = 0x01, // OL0 display enable
};
enum control_mask : u8
{
D3 = 0x08, // low nibble
D2 = 0x04, // blue channel enable
D1 = 0x02, // green channel enable
D0 = 0x01, // red channel enable
RGB = 0x07 // rgb mode enable
};
enum cr54_mask : u8
{
CR54_6464 = 0x30, // 64 on 64 off, 50/50
CR54_3232 = 0x20, // 32 on 32 off, 50/50
CR54_1616 = 0x10, // 16 on 16 off, 50/50
CR54_1648 = 0x00 // 16 on 48 off, 25/75
};
virtual void map(address_map &map);
protected:
bt45x_device_base(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const u32 palette_colors, const u32 overlay_colors);
virtual void device_start() override;
virtual void device_reset() override;
u8 address_r();
void address_w(u8 data);
virtual u8 palette_r(address_space &space) = 0;
virtual void palette_w(u8 data) = 0;
u8 register_r(address_space &space);
void register_w(u8 data);
virtual u8 overlay_r(address_space &space) = 0;
virtual void overlay_w(u8 data) = 0;
// helpers
virtual void increment_address(const bool side_effects = false);
virtual u8 get_mask() const { return m_palette_colors - 1; }
// device state
u8 m_address;
u8 m_address_rgb;
u8 m_read_mask;
u8 m_blink_mask;
u8 m_command;
u8 m_control;
// internal state
const u32 m_palette_colors;
const u32 m_overlay_colors;
u64 m_blink_start;
};
class bt45x_rgb_device_base : public bt45x_device_base, public device_palette_interface
{
protected:
bt45x_rgb_device_base(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const u32 palette_colors, const u32 overlay_colors);
virtual void device_start() override;
virtual u32 palette_entries() const override { return m_palette_colors + m_overlay_colors; }
virtual u8 palette_r(address_space &space) override;
virtual void palette_w(u8 data) override;
virtual u8 overlay_r(address_space &space) override;
virtual void overlay_w(u8 data) override;
std::unique_ptr<std::array<u8, 3>[]> m_color_ram;
};
class bt45x_mono_device_base : public bt45x_device_base
{
public:
// helper instead of device_palette_interface
u8 lookup(u8 pixel, u8 overlay = 0) const
{
if (overlay & 3)
return m_color_ram[m_palette_colors + (overlay & (m_command & (CR1|CR0)))];
else
return (m_command & CR6) ? m_color_ram[pixel & m_read_mask] : m_color_ram[m_palette_colors + 0];
}
protected:
bt45x_mono_device_base(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const u32 palette_colors, const u32 overlay_colors);
virtual void device_start() override;
virtual u8 palette_r(address_space &space) override;
virtual void palette_w(u8 data) override;
virtual u8 overlay_r(address_space &space) override;
virtual void overlay_w(u8 data) override;
std::unique_ptr<u8[]> m_color_ram;
};
class bt451_device : public bt45x_rgb_device_base
{
public:
bt451_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
protected:
/*
* The Bt451 is different in having an 8 bit data bus, but 4 bit DACs. The
* lower 4 bits are masked off when reading or writing colour data.
*/
virtual u8 get_mask() const override { return 0xf0; }
};
class bt453_device : public bt45x_rgb_device_base
{
public:
bt453_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual void map(address_map &map) override;
};
class bt454_device : public bt45x_rgb_device_base
{
public:
bt454_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual void map(address_map &map) override;
};
class bt455_device : public bt45x_mono_device_base
{
public:
bt455_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual void map(address_map &map) override;
};
class bt457_device : public bt45x_mono_device_base
{
public:
bt457_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
protected:
virtual u8 palette_r(address_space &space) override;
virtual void palette_w(u8 data) override;
virtual u8 overlay_r(address_space &space) override;
virtual void overlay_w(u8 data) override;
virtual void increment_address(const bool side_effects = false) override;
};
class bt458_device : public bt45x_rgb_device_base
{
public:
bt458_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
protected:
bt458_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
};
class bt467_device : public bt458_device
{
public:
bt467_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
};
DECLARE_DEVICE_TYPE(BT451, bt451_device)
DECLARE_DEVICE_TYPE(BT453, bt453_device)
DECLARE_DEVICE_TYPE(BT454, bt454_device)
DECLARE_DEVICE_TYPE(BT455, bt455_device)
DECLARE_DEVICE_TYPE(BT457, bt457_device)
DECLARE_DEVICE_TYPE(BT458, bt458_device)
DECLARE_DEVICE_TYPE(BT467, bt467_device)
#endif // MAME_VIDEO_BT45X_H
| 28.588832 | 175 | 0.756925 |
1a625122c877a03f9206c64155df0f6fc838cc64 | 1,818 | c | C | homework_6/task_6.1.c | Alexander-Volkov-144/spbu_2020_c_homeworks | c446df9f274a69138466bfda72e8af35f0a31676 | [
"Apache-2.0"
] | 1 | 2020-12-31T19:19:58.000Z | 2020-12-31T19:19:58.000Z | homework_6/task_6.1.c | Alexander-Volkov-144/spbu_2020_c_homeworks | c446df9f274a69138466bfda72e8af35f0a31676 | [
"Apache-2.0"
] | 9 | 2020-09-25T12:01:44.000Z | 2020-11-10T10:29:33.000Z | homework_6/task_6.1.c | volkov-alexander-d/spbu_2020_c_homeworks | c446df9f274a69138466bfda72e8af35f0a31676 | [
"Apache-2.0"
] | null | null | null | #include "../library/fileProcessing/fileProcessing.h"
#include "../library/hashTable/hashTable.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void printTheNecessaryInformation(HashTable* words)
{
printf("load factor: %f\n", getLoadFactor(words));
printf("average number of probes: %f\n", getAverageNumberOfProbes(words));
int maximumNumberOfProbes = getMaximumNumberOfProbes(words);
printf("maximum number of probes: %d\n", maximumNumberOfProbes);
printf("elements with maximum number of probes: ");
printAllElementsWithCertainNumberOfProbes(words, maximumNumberOfProbes);
printf("\n");
printf("number of different added words: %d\n", getElementCount(words));
printf("number of empty buckets: %d\n", getBucketCount(words) - getElementCount(words));
printElementsWithBiggestValues(words, 10);
}
int getIndex(int hash, int module, int numberOfProbes)
{
return (hash + ((numberOfProbes - 1) * numberOfProbes) / 2) % module;
}
int getHash(char* key, int module)
{
int size = (int)strlen(key);
int currentHash = 0;
for (int i = 0; i < size; ++i) {
currentHash = ((currentHash * 2) + (key[i] - 'a')) % module;
}
return currentHash;
}
int main()
{
FILE* input = NULL;
input = fopen("input.txt", "r");
if (input == NULL) {
printf("file \"input.txt\"not found");
return 0;
}
HashTable* words = createHashTable(&getHash, &getIndex);
char* currentWord = readWordFromFile(input);
while (currentWord != NULL) {
{
addElement(words, currentWord, 1);
free(currentWord);
currentWord = readWordFromFile(input);
}
}
printTheNecessaryInformation(words);
destroyHashTable(words);
free(currentWord);
fclose(input);
return 0;
}
| 29.803279 | 92 | 0.655116 |
7f97cdd7ea4d64940d7637d27827f81e678b1936 | 1,841 | h | C | MendeleyKit/MendeleyKit/Utils/Error Management/NSError+MendeleyError.h | thirdiron/mendeleykit | 24d544a84d8a885b2cdd2fd57d603a89ee635e33 | [
"Apache-2.0"
] | null | null | null | MendeleyKit/MendeleyKit/Utils/Error Management/NSError+MendeleyError.h | thirdiron/mendeleykit | 24d544a84d8a885b2cdd2fd57d603a89ee635e33 | [
"Apache-2.0"
] | null | null | null | MendeleyKit/MendeleyKit/Utils/Error Management/NSError+MendeleyError.h | thirdiron/mendeleykit | 24d544a84d8a885b2cdd2fd57d603a89ee635e33 | [
"Apache-2.0"
] | null | null | null | /*
******************************************************************************
* Copyright (C) 2014-2017 Elsevier/Mendeley.
*
* This file is part of the Mendeley iOS SDK.
*
* 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.
*****************************************************************************
*/
#import <Foundation/Foundation.h>
#import "MendeleyGlobals.h"
#import "MendeleyError.h"
@interface NSError (MendeleyKit)
/**
@name NSError (MendeleyKit)
provides convenience methods to create Mendeley specific errors
*/
/**
@param code
@param localizedDescription
@return an error with default Mendeley SDK domain
*/
+ (instancetype)errorWithCode:(MendeleyErrorCode)code localizedDescription:(NSString *)localizedDescription;
/**
@param code
@return an error object with default Mendeley Error domain
*/
+ (instancetype)errorWithCode:(MendeleyErrorCode)code;
/**
@param response
@param url
@return an error with default Mendeley Error domain
*/
+ (instancetype)errorWithMendeleyResponse:(MendeleyResponse *)response requestURL:(NSURL *)url;
/**
@param response
@param url
@param body
@return an error with default Mendeley Error domain
*/
+ (instancetype)errorWithMendeleyResponse:(MendeleyResponse *)response requestURL:(NSURL *)url failureBody:(NSData *)body;
@end
| 31.20339 | 122 | 0.678436 |
32001a959c509834dcda41b7b5e739ce8501f025 | 2,188 | h | C | ScriptHookDotNet/RemoteProcessing.h | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 3 | 2021-11-14T20:59:58.000Z | 2021-12-16T16:41:31.000Z | ScriptHookDotNet/RemoteProcessing.h | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 2 | 2021-11-29T14:41:23.000Z | 2021-11-30T13:13:51.000Z | ScriptHookDotNet/RemoteProcessing.h | HazardX/gta4_scripthookdotnet | 927b2830952664b63415234541a6c83592e53679 | [
"MIT"
] | 3 | 2021-11-21T12:41:55.000Z | 2021-12-22T16:17:52.000Z | /*
* Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX)
*
* 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.
*/
#pragma once
#pragma managed
namespace GTA{
CLASS_ATTRIBUTES
private ref class RemoteProcessing sealed {
private:
RemoteProcessing() { }
//static RemoteProcessing();
static List<GTA::RemoteEventArgs^>^ pTaskList = gcnew List<GTA::RemoteEventArgs^>();
static GTA::GenericThread^ pThread;
static property GTA::RemoteScriptDomain^ Domain {
GTA::RemoteScriptDomain^ get();
}
static property GTA::base::Console^ Console {
GTA::base::Console^ get();
}
static property GTA::Player^ Player {
GTA::Player^ get();
}
public:
static property GTA::NetThread^ Thread {
GTA::NetThread^ get();
}
static void ScheduleTask(RemoteProcessingTask Task, ... array<System::Object^>^ Arguments) {
pTaskList->Add(gcnew RemoteEventArgs((RemoteEvent)Task, Arguments));
}
static void ProcessTask(RemoteEventArgs^ Task);
static void ProcessTasks() {
if (pTaskList->Count == 0) return;
int i = 0;
while (i < pTaskList->Count) {
ProcessTask(pTaskList[i]);
i++;
}
pTaskList->Clear();
}
};
} | 30.388889 | 94 | 0.727605 |
321437e519a1dd29cea156f286a18695ac068d99 | 578 | h | C | Dark soft/PowerLoader/src/sdropper/dropper.h | ExaByt3s/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | 3 | 2021-01-22T19:32:23.000Z | 2022-01-03T01:06:44.000Z | Dark soft/PowerLoader/src/sdropper/dropper.h | a04512/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | null | null | null | Dark soft/PowerLoader/src/sdropper/dropper.h | a04512/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | 1 | 2019-06-18T22:10:53.000Z | 2019-06-18T22:10:53.000Z | #ifndef _SDROPPER_H_
#define _SDROPPER_H_
namespace Drop
{
#define DROP_EXP_MUTEX_ID -3
#define DROP_RUN_MUTEX_ID -1
#define DROP_MACHINEGUID "abcxvcxvx"
#define DROP_MACHINESIGN "sacfsfdsf"
extern CHAR MachineGuid[MAX_PATH];
extern CHAR CurrentModulePath[MAX_PATH];
extern CHAR CurrentConfigPath[MAX_PATH];
extern PVOID CurrentImageBase;
extern DWORD CurrentImageSize;
extern BOOLEAN bFirstImageLoad;
extern BOOLEAN bWorkThread;
PCHAR GetMachineGuid();
VOID CreateInjectStartThread();
DWORD InjectStartThread(PVOID Context);
};
#endif
| 23.12 | 42 | 0.776817 |
2ccc535d3d026d0accd5782b90f0ee121bc1e92a | 3,459 | h | C | libcpuid/libcpuid_util.h | SpaceIm/libcpuid | 0f1ad691455fcc516c346a52605d4486dd393eab | [
"BSD-2-Clause"
] | 342 | 2015-01-02T18:20:45.000Z | 2022-03-21T13:54:12.000Z | libcpuid/libcpuid_util.h | SpaceIm/libcpuid | 0f1ad691455fcc516c346a52605d4486dd393eab | [
"BSD-2-Clause"
] | 117 | 2015-02-12T15:08:03.000Z | 2022-02-12T17:08:23.000Z | libcpuid/libcpuid_util.h | SpaceIm/libcpuid | 0f1ad691455fcc516c346a52605d4486dd393eab | [
"BSD-2-Clause"
] | 107 | 2015-01-17T01:55:58.000Z | 2022-03-06T14:44:16.000Z | /*
* Copyright 2008 Veselin Georgiev,
* anrieffNOSPAM @ mgail_DOT.com (convert to gmail)
*
* 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.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 THE AUTHOR 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 CONTRACT, 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.
*/
#ifndef __LIBCPUID_UTIL_H__
#define __LIBCPUID_UTIL_H__
#define COUNT_OF(array) (sizeof(array) / sizeof(array[0]))
struct feature_map_t {
unsigned bit;
cpu_feature_t feature;
};
void match_features(const struct feature_map_t* matchtable, int count,
uint32_t reg, struct cpu_id_t* data);
struct match_entry_t {
int family, model, stepping, ext_family, ext_model;
int ncores, l2cache, l3cache, brand_code;
uint64_t model_bits;
int model_code;
char name[32];
};
// returns the match score:
int match_cpu_codename(const struct match_entry_t* matchtable, int count,
struct cpu_id_t* data, int brand_code, uint64_t bits,
int model_code);
void warnf(const char* format, ...)
#ifdef __GNUC__
__attribute__((format(printf, 1, 2)))
#endif
;
void debugf(int verboselevel, const char* format, ...)
#ifdef __GNUC__
__attribute__((format(printf, 2, 3)))
#endif
;
void generic_get_cpu_list(const struct match_entry_t* matchtable, int count,
struct cpu_list_t* list);
/*
* Seek for a pattern in `haystack'.
* Pattern may be an fixed string, or contain the special metacharacters
* '.' - match any single character
* '#' - match any digit
* '[<chars>] - match any of the given chars (regex-like ranges are not
* supported)
* Return val: 0 if the pattern is not found. Nonzero if it is found (actually,
* x + 1 where x is the index where the match is found).
*/
int match_pattern(const char* haystack, const char* pattern);
/*
* Gets an initialized cpu_id_t. It is cached, so that internal libcpuid
* machinery doesn't need to issue cpu_identify more than once.
*/
struct cpu_id_t* get_cached_cpuid(void);
/* returns true if all bits of mask are present in `bits'. */
int match_all(uint64_t bits, uint64_t mask);
/* print what bits a mask consists of */
void debug_print_lbits(int debuglevel, uint64_t mask);
/*
* Sets the current errno
*/
int set_error(cpu_error_t err);
extern libcpuid_warn_fn_t _warn_fun;
extern int _current_verboselevel;
#endif /* __LIBCPUID_UTIL_H__ */
| 34.939394 | 79 | 0.729112 |
829d8f9ba33f796f8bfa8a6785a95aef51ae8717 | 873 | h | C | ECMobileFramework/ECMobileFramework/services/bee.services.uppayplugin/source/ServiceUnionPay.h | CD-DSGN/edustore_ios | ae788997a14146d8855a18c4a6776b3a998e15ae | [
"Apache-2.0"
] | null | null | null | ECMobileFramework/ECMobileFramework/services/bee.services.uppayplugin/source/ServiceUnionPay.h | CD-DSGN/edustore_ios | ae788997a14146d8855a18c4a6776b3a998e15ae | [
"Apache-2.0"
] | null | null | null | ECMobileFramework/ECMobileFramework/services/bee.services.uppayplugin/source/ServiceUnionPay.h | CD-DSGN/edustore_ios | ae788997a14146d8855a18c4a6776b3a998e15ae | [
"Apache-2.0"
] | null | null | null | //
// ServiceUnionPay.h
// gaibianjia
//
// Created by PURPLEPENG on 9/11/15.
// Copyright (c) 2015 Geek Zoo Studio. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ServiceUnionPayConfig.h"
#import "UPPayPlugin.h"
#pragma mark -
FOUNDATION_EXPORT NSString * const UnionPaySucceedNotification;
FOUNDATION_EXPORT NSString * const UnionPayFailedNotification;
FOUNDATION_EXPORT NSString * const UnionPayCanceledNotification;
#pragma mark -
@interface ServiceUnionPay : BeeService<UPPayPluginDelegate>
AS_SINGLETON( ServiceUnionPay )
@property (nonatomic, readonly) ServiceUnionPayConfig * config;
@property (nonatomic, copy) BeeServiceBlock whenSucceed;
@property (nonatomic, copy) BeeServiceBlock whenFailed;
@property (nonatomic, copy) BeeServiceBlock whenCancel;
- (void)payInViewController:(UIViewController *)viewController;
@end
| 25.676471 | 64 | 0.786942 |
c5b36c7fed40c837da3bc16a5d23d1aa8d9c7723 | 240 | c | C | llvm-2.9/tools/clang/test/CodeGen/asm-errors.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | llvm-2.9/tools/clang/test/CodeGen/asm-errors.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-2.9/tools/clang/test/CodeGen/asm-errors.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | // RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s -o /dev/null > %t 2>&1
// RUN: FileCheck %s < %t
int test1(int X) {
// CHECK: error: invalid instruction mnemonic 'abc'
__asm__ ("abc incl %0" : "+r" (X));
return X;
}
| 26.666667 | 86 | 0.608333 |
5cd43b7a49d119034004211b003e45e4bbc28959 | 11,022 | c | C | head/usr.bin/id/id.c | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | head/usr.bin/id/id.c | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | head/usr.bin/id/id.c | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | /*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are 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.
* 4. Neither the name of the University 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 THE REGENTS 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 THE REGENTS 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 CONTRACT, 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.
*/
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1991, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
#if 0
static char sccsid[] = "@(#)id.c 8.2 (Berkeley) 2/16/94";
#endif
#endif /* not lint */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: soc2013/dpl/head/usr.bin/id/id.c 227484 2011-11-06 09:09:45Z ed $");
#include <sys/param.h>
#include <sys/mac.h>
#ifdef USE_BSM_AUDIT
#include <bsm/audit.h>
#endif
#include <err.h>
#include <errno.h>
#include <grp.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static void id_print(struct passwd *, int, int, int);
static void pline(struct passwd *);
static void pretty(struct passwd *);
#ifdef USE_BSM_AUDIT
static void auditid(void);
#endif
static void group(struct passwd *, int);
static void maclabel(void);
static void usage(void);
static struct passwd *who(char *);
static int isgroups, iswhoami;
int
main(int argc, char *argv[])
{
struct group *gr;
struct passwd *pw;
int Gflag, Mflag, Pflag, ch, gflag, id, nflag, pflag, rflag, uflag;
int Aflag, cflag;
int error;
const char *myname;
char loginclass[MAXLOGNAME];
Gflag = Mflag = Pflag = gflag = nflag = pflag = rflag = uflag = 0;
Aflag = cflag = 0;
myname = strrchr(argv[0], '/');
myname = (myname != NULL) ? myname + 1 : argv[0];
if (strcmp(myname, "groups") == 0) {
isgroups = 1;
Gflag = nflag = 1;
}
else if (strcmp(myname, "whoami") == 0) {
iswhoami = 1;
uflag = nflag = 1;
}
while ((ch = getopt(argc, argv,
(isgroups || iswhoami) ? "" : "APGMacgnpru")) != -1)
switch(ch) {
#ifdef USE_BSM_AUDIT
case 'A':
Aflag = 1;
break;
#endif
case 'G':
Gflag = 1;
break;
case 'M':
Mflag = 1;
break;
case 'P':
Pflag = 1;
break;
case 'a':
break;
case 'c':
cflag = 1;
break;
case 'g':
gflag = 1;
break;
case 'n':
nflag = 1;
break;
case 'p':
pflag = 1;
break;
case 'r':
rflag = 1;
break;
case 'u':
uflag = 1;
break;
case '?':
default:
usage();
}
argc -= optind;
argv += optind;
if (iswhoami && argc > 0)
usage();
switch(Aflag + Gflag + Mflag + Pflag + gflag + pflag + uflag) {
case 1:
break;
case 0:
if (!nflag && !rflag)
break;
/* FALLTHROUGH */
default:
usage();
}
pw = *argv ? who(*argv) : NULL;
if (Mflag && pw != NULL)
usage();
#ifdef USE_BSM_AUDIT
if (Aflag) {
auditid();
exit(0);
}
#endif
if (cflag) {
error = getloginclass(loginclass, sizeof(loginclass));
if (error != 0)
err(1, "loginclass");
(void)printf("%s\n", loginclass);
exit(0);
}
if (gflag) {
id = pw ? pw->pw_gid : rflag ? getgid() : getegid();
if (nflag && (gr = getgrgid(id)))
(void)printf("%s\n", gr->gr_name);
else
(void)printf("%u\n", id);
exit(0);
}
if (uflag) {
id = pw ? pw->pw_uid : rflag ? getuid() : geteuid();
if (nflag && (pw = getpwuid(id)))
(void)printf("%s\n", pw->pw_name);
else
(void)printf("%u\n", id);
exit(0);
}
if (Gflag) {
group(pw, nflag);
exit(0);
}
if (Mflag) {
maclabel();
exit(0);
}
if (Pflag) {
pline(pw);
exit(0);
}
if (pflag) {
pretty(pw);
exit(0);
}
if (pw) {
id_print(pw, 1, 0, 0);
}
else {
id = getuid();
pw = getpwuid(id);
id_print(pw, 0, 1, 1);
}
exit(0);
}
static void
pretty(struct passwd *pw)
{
struct group *gr;
u_int eid, rid;
char *login;
if (pw) {
(void)printf("uid\t%s\n", pw->pw_name);
(void)printf("groups\t");
group(pw, 1);
} else {
if ((login = getlogin()) == NULL)
err(1, "getlogin");
pw = getpwuid(rid = getuid());
if (pw == NULL || strcmp(login, pw->pw_name))
(void)printf("login\t%s\n", login);
if (pw)
(void)printf("uid\t%s\n", pw->pw_name);
else
(void)printf("uid\t%u\n", rid);
if ((eid = geteuid()) != rid) {
if ((pw = getpwuid(eid)))
(void)printf("euid\t%s\n", pw->pw_name);
else
(void)printf("euid\t%u\n", eid);
}
if ((rid = getgid()) != (eid = getegid())) {
if ((gr = getgrgid(rid)))
(void)printf("rgid\t%s\n", gr->gr_name);
else
(void)printf("rgid\t%u\n", rid);
}
(void)printf("groups\t");
group(NULL, 1);
}
}
static void
id_print(struct passwd *pw, int use_ggl, int p_euid, int p_egid)
{
struct group *gr;
gid_t gid, egid, lastgid;
uid_t uid, euid;
int cnt, ngroups;
long ngroups_max;
gid_t *groups;
const char *fmt;
if (pw != NULL) {
uid = pw->pw_uid;
gid = pw->pw_gid;
}
else {
uid = getuid();
gid = getgid();
}
ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1;
if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL)
err(1, "malloc");
if (use_ggl && pw != NULL) {
ngroups = ngroups_max;
getgrouplist(pw->pw_name, gid, groups, &ngroups);
}
else {
ngroups = getgroups(ngroups_max, groups);
}
if (pw != NULL)
printf("uid=%u(%s)", uid, pw->pw_name);
else
printf("uid=%u", getuid());
printf(" gid=%u", gid);
if ((gr = getgrgid(gid)))
(void)printf("(%s)", gr->gr_name);
if (p_euid && (euid = geteuid()) != uid) {
(void)printf(" euid=%u", euid);
if ((pw = getpwuid(euid)))
(void)printf("(%s)", pw->pw_name);
}
if (p_egid && (egid = getegid()) != gid) {
(void)printf(" egid=%u", egid);
if ((gr = getgrgid(egid)))
(void)printf("(%s)", gr->gr_name);
}
fmt = " groups=%u";
for (lastgid = -1, cnt = 0; cnt < ngroups; ++cnt) {
if (lastgid == (gid = groups[cnt]))
continue;
printf(fmt, gid);
fmt = ",%u";
if ((gr = getgrgid(gid)))
printf("(%s)", gr->gr_name);
lastgid = gid;
}
printf("\n");
free(groups);
}
#ifdef USE_BSM_AUDIT
static void
auditid(void)
{
auditinfo_t auditinfo;
auditinfo_addr_t ainfo_addr;
int ret, extended;
extended = 0;
ret = getaudit(&auditinfo);
if (ret < 0 && errno == E2BIG) {
if (getaudit_addr(&ainfo_addr, sizeof(ainfo_addr)) < 0)
err(1, "getaudit_addr");
extended = 1;
} else if (ret < 0)
err(1, "getaudit");
if (extended != 0) {
(void) printf("auid=%d\n"
"mask.success=0x%08x\n"
"mask.failure=0x%08x\n"
"asid=%d\n"
"termid_addr.port=0x%08x\n"
"termid_addr.addr[0]=0x%08x\n"
"termid_addr.addr[1]=0x%08x\n"
"termid_addr.addr[2]=0x%08x\n"
"termid_addr.addr[3]=0x%08x\n",
ainfo_addr.ai_auid, ainfo_addr.ai_mask.am_success,
ainfo_addr.ai_mask.am_failure, ainfo_addr.ai_asid,
ainfo_addr.ai_termid.at_port,
ainfo_addr.ai_termid.at_addr[0],
ainfo_addr.ai_termid.at_addr[1],
ainfo_addr.ai_termid.at_addr[2],
ainfo_addr.ai_termid.at_addr[3]);
} else {
(void) printf("auid=%d\n"
"mask.success=0x%08x\n"
"mask.failure=0x%08x\n"
"asid=%d\n"
"termid.port=0x%08x\n"
"termid.machine=0x%08x\n",
auditinfo.ai_auid, auditinfo.ai_mask.am_success,
auditinfo.ai_mask.am_failure,
auditinfo.ai_asid, auditinfo.ai_termid.port,
auditinfo.ai_termid.machine);
}
}
#endif
static void
group(struct passwd *pw, int nflag)
{
struct group *gr;
int cnt, id, lastid, ngroups;
long ngroups_max;
gid_t *groups;
const char *fmt;
ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1;
if ((groups = malloc(sizeof(gid_t) * (ngroups_max))) == NULL)
err(1, "malloc");
if (pw) {
ngroups = ngroups_max;
(void) getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
} else {
ngroups = getgroups(ngroups_max, groups);
}
fmt = nflag ? "%s" : "%u";
for (lastid = -1, cnt = 0; cnt < ngroups; ++cnt) {
if (lastid == (id = groups[cnt]))
continue;
if (nflag) {
if ((gr = getgrgid(id)))
(void)printf(fmt, gr->gr_name);
else
(void)printf(*fmt == ' ' ? " %u" : "%u",
id);
fmt = " %s";
} else {
(void)printf(fmt, id);
fmt = " %u";
}
lastid = id;
}
(void)printf("\n");
free(groups);
}
static void
maclabel(void)
{
char *string;
mac_t label;
int error;
error = mac_prepare_process_label(&label);
if (error == -1)
errx(1, "mac_prepare_type: %s", strerror(errno));
error = mac_get_proc(label);
if (error == -1)
errx(1, "mac_get_proc: %s", strerror(errno));
error = mac_to_text(label, &string);
if (error == -1)
errx(1, "mac_to_text: %s", strerror(errno));
(void)printf("%s\n", string);
mac_free(label);
free(string);
}
static struct passwd *
who(char *u)
{
struct passwd *pw;
long id;
char *ep;
/*
* Translate user argument into a pw pointer. First, try to
* get it as specified. If that fails, try it as a number.
*/
if ((pw = getpwnam(u)))
return(pw);
id = strtol(u, &ep, 10);
if (*u && !*ep && (pw = getpwuid(id)))
return(pw);
errx(1, "%s: no such user", u);
/* NOTREACHED */
}
static void
pline(struct passwd *pw)
{
if (!pw) {
if ((pw = getpwuid(getuid())) == NULL)
err(1, "getpwuid");
}
(void)printf("%s:%s:%d:%d:%s:%ld:%ld:%s:%s:%s\n", pw->pw_name,
pw->pw_passwd, pw->pw_uid, pw->pw_gid, pw->pw_class,
(long)pw->pw_change, (long)pw->pw_expire, pw->pw_gecos,
pw->pw_dir, pw->pw_shell);
}
static void
usage(void)
{
if (isgroups)
(void)fprintf(stderr, "usage: groups [user]\n");
else if (iswhoami)
(void)fprintf(stderr, "usage: whoami\n");
else
(void)fprintf(stderr, "%s\n%s%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
"usage: id [user]",
#ifdef USE_BSM_AUDIT
" id -A\n",
#else
"",
#endif
" id -G [-n] [user]",
" id -M",
" id -P [user]",
" id -c",
" id -g [-nr] [user]",
" id -p [user]",
" id -u [-nr] [user]");
exit(1);
}
| 22 | 88 | 0.610234 |
04d1bb01afbe614ff1f5ad7d4ac5a21302230be0 | 20,454 | h | C | src/dawn_native/Device.h | jhanssen/dawn | 73668344d656e4bad2f6a1dd75c85ffae1e56973 | [
"Apache-2.0"
] | 1 | 2021-03-29T02:42:47.000Z | 2021-03-29T02:42:47.000Z | src/dawn_native/Device.h | jhanssen/dawn | 73668344d656e4bad2f6a1dd75c85ffae1e56973 | [
"Apache-2.0"
] | null | null | null | src/dawn_native/Device.h | jhanssen/dawn | 73668344d656e4bad2f6a1dd75c85ffae1e56973 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or 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 DAWNNATIVE_DEVICE_H_
#define DAWNNATIVE_DEVICE_H_
#include "dawn_native/Commands.h"
#include "dawn_native/Error.h"
#include "dawn_native/Extensions.h"
#include "dawn_native/Format.h"
#include "dawn_native/Forward.h"
#include "dawn_native/ObjectBase.h"
#include "dawn_native/Toggles.h"
#include "dawn_native/DawnNative.h"
#include "dawn_native/dawn_platform.h"
#include <memory>
namespace dawn_native {
class AdapterBase;
class AttachmentState;
class AttachmentStateBlueprint;
class BindGroupLayoutBase;
class CreateReadyPipelineTracker;
class DynamicUploader;
class ErrorScope;
class ErrorScopeTracker;
class PersistentCache;
class StagingBufferBase;
struct InternalPipelineStore;
struct ShaderModuleParseResult;
class DeviceBase {
public:
DeviceBase(AdapterBase* adapter, const DeviceDescriptor* descriptor);
virtual ~DeviceBase();
void HandleError(InternalErrorType type, const char* message);
bool ConsumedError(MaybeError maybeError) {
if (DAWN_UNLIKELY(maybeError.IsError())) {
ConsumeError(maybeError.AcquireError());
return true;
}
return false;
}
template <typename T>
bool ConsumedError(ResultOrError<T> resultOrError, T* result) {
if (DAWN_UNLIKELY(resultOrError.IsError())) {
ConsumeError(resultOrError.AcquireError());
return true;
}
*result = resultOrError.AcquireSuccess();
return false;
}
MaybeError ValidateObject(const ObjectBase* object) const;
AdapterBase* GetAdapter() const;
dawn_platform::Platform* GetPlatform() const;
ErrorScopeTracker* GetErrorScopeTracker() const;
// Returns the Format corresponding to the wgpu::TextureFormat or an error if the format
// isn't a valid wgpu::TextureFormat or isn't supported by this device.
// The pointer returned has the same lifetime as the device.
ResultOrError<const Format*> GetInternalFormat(wgpu::TextureFormat format) const;
// Returns the Format corresponding to the wgpu::TextureFormat and assumes the format is
// valid and supported.
// The reference returned has the same lifetime as the device.
const Format& GetValidInternalFormat(wgpu::TextureFormat format) const;
virtual CommandBufferBase* CreateCommandBuffer(
CommandEncoder* encoder,
const CommandBufferDescriptor* descriptor) = 0;
ExecutionSerial GetCompletedCommandSerial() const;
ExecutionSerial GetLastSubmittedCommandSerial() const;
ExecutionSerial GetFutureSerial() const;
ExecutionSerial GetPendingCommandSerial() const;
virtual MaybeError TickImpl() = 0;
// Many Dawn objects are completely immutable once created which means that if two
// creations are given the same arguments, they can return the same object. Reusing
// objects will help make comparisons between objects by a single pointer comparison.
//
// Technically no object is immutable as they have a reference count, and an
// application with reference-counting issues could "see" that objects are reused.
// This is solved by automatic-reference counting, and also the fact that when using
// the client-server wire every creation will get a different proxy object, with a
// different reference count.
//
// When trying to create an object, we give both the descriptor and an example of what
// the created object will be, the "blueprint". The blueprint is just a FooBase object
// instead of a backend Foo object. If the blueprint doesn't match an object in the
// cache, then the descriptor is used to make a new object.
ResultOrError<Ref<BindGroupLayoutBase>> GetOrCreateBindGroupLayout(
const BindGroupLayoutDescriptor* descriptor);
void UncacheBindGroupLayout(BindGroupLayoutBase* obj);
BindGroupLayoutBase* GetEmptyBindGroupLayout();
ResultOrError<ComputePipelineBase*> GetOrCreateComputePipeline(
const ComputePipelineDescriptor* descriptor);
void UncacheComputePipeline(ComputePipelineBase* obj);
ResultOrError<PipelineLayoutBase*> GetOrCreatePipelineLayout(
const PipelineLayoutDescriptor* descriptor);
void UncachePipelineLayout(PipelineLayoutBase* obj);
ResultOrError<RenderPipelineBase*> GetOrCreateRenderPipeline(
const RenderPipelineDescriptor* descriptor);
void UncacheRenderPipeline(RenderPipelineBase* obj);
ResultOrError<SamplerBase*> GetOrCreateSampler(const SamplerDescriptor* descriptor);
void UncacheSampler(SamplerBase* obj);
ResultOrError<ShaderModuleBase*> GetOrCreateShaderModule(
const ShaderModuleDescriptor* descriptor,
ShaderModuleParseResult* parseResult);
void UncacheShaderModule(ShaderModuleBase* obj);
Ref<AttachmentState> GetOrCreateAttachmentState(AttachmentStateBlueprint* blueprint);
Ref<AttachmentState> GetOrCreateAttachmentState(
const RenderBundleEncoderDescriptor* descriptor);
Ref<AttachmentState> GetOrCreateAttachmentState(const RenderPipelineDescriptor* descriptor);
Ref<AttachmentState> GetOrCreateAttachmentState(const RenderPassDescriptor* descriptor);
void UncacheAttachmentState(AttachmentState* obj);
// Dawn API
BindGroupBase* CreateBindGroup(const BindGroupDescriptor* descriptor);
BindGroupLayoutBase* CreateBindGroupLayout(const BindGroupLayoutDescriptor* descriptor);
BufferBase* CreateBuffer(const BufferDescriptor* descriptor);
CommandEncoder* CreateCommandEncoder(const CommandEncoderDescriptor* descriptor);
ComputePipelineBase* CreateComputePipeline(const ComputePipelineDescriptor* descriptor);
PipelineLayoutBase* CreatePipelineLayout(const PipelineLayoutDescriptor* descriptor);
QuerySetBase* CreateQuerySet(const QuerySetDescriptor* descriptor);
void CreateReadyComputePipeline(const ComputePipelineDescriptor* descriptor,
WGPUCreateReadyComputePipelineCallback callback,
void* userdata);
void CreateReadyRenderPipeline(const RenderPipelineDescriptor* descriptor,
WGPUCreateReadyRenderPipelineCallback callback,
void* userdata);
RenderBundleEncoder* CreateRenderBundleEncoder(
const RenderBundleEncoderDescriptor* descriptor);
RenderPipelineBase* CreateRenderPipeline(const RenderPipelineDescriptor* descriptor);
SamplerBase* CreateSampler(const SamplerDescriptor* descriptor);
ShaderModuleBase* CreateShaderModule(const ShaderModuleDescriptor* descriptor);
SwapChainBase* CreateSwapChain(Surface* surface, const SwapChainDescriptor* descriptor);
TextureBase* CreateTexture(const TextureDescriptor* descriptor);
TextureViewBase* CreateTextureView(TextureBase* texture,
const TextureViewDescriptor* descriptor);
InternalPipelineStore* GetInternalPipelineStore();
// For Dawn Wire
BufferBase* CreateErrorBuffer();
QueueBase* GetDefaultQueue();
void InjectError(wgpu::ErrorType type, const char* message);
bool Tick();
void SetDeviceLostCallback(wgpu::DeviceLostCallback callback, void* userdata);
void SetUncapturedErrorCallback(wgpu::ErrorCallback callback, void* userdata);
void PushErrorScope(wgpu::ErrorFilter filter);
bool PopErrorScope(wgpu::ErrorCallback callback, void* userdata);
MaybeError ValidateIsAlive() const;
ErrorScope* GetCurrentErrorScope();
PersistentCache* GetPersistentCache();
void Reference();
void Release();
virtual ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(
size_t size) = 0;
virtual MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
uint64_t sourceOffset,
BufferBase* destination,
uint64_t destinationOffset,
uint64_t size) = 0;
virtual MaybeError CopyFromStagingToTexture(const StagingBufferBase* source,
const TextureDataLayout& src,
TextureCopy* dst,
const Extent3D& copySizePixels) = 0;
DynamicUploader* GetDynamicUploader() const;
// The device state which is a combination of creation state and loss state.
//
// - BeingCreated: the device didn't finish creation yet and the frontend cannot be used
// (both for the application calling WebGPU, or re-entrant calls). No work exists on
// the GPU timeline.
// - Alive: the device is usable and might have work happening on the GPU timeline.
// - BeingDisconnected: the device is no longer usable because we are waiting for all
// work on the GPU timeline to finish. (this is to make validation prevent the
// application from adding more work during the transition from Available to
// Disconnected)
// - Disconnected: there is no longer work happening on the GPU timeline and the CPU data
// structures can be safely destroyed without additional synchronization.
enum class State {
BeingCreated,
Alive,
BeingDisconnected,
Disconnected,
};
State GetState() const;
bool IsLost() const;
std::vector<const char*> GetEnabledExtensions() const;
std::vector<const char*> GetTogglesUsed() const;
bool IsExtensionEnabled(Extension extension) const;
bool IsToggleEnabled(Toggle toggle) const;
bool IsValidationEnabled() const;
bool IsRobustnessEnabled() const;
size_t GetLazyClearCountForTesting();
void IncrementLazyClearCountForTesting();
size_t GetDeprecationWarningCountForTesting();
void EmitDeprecationWarning(const char* warning);
void LoseForTesting();
// AddFutureSerial is used to update the mFutureSerial with the max serial needed to be
// ticked in order to clean up all pending callback work or to execute asynchronous resource
// writes. It should be given the serial that a callback is tracked with, so that once that
// serial is completed, it can be resolved and cleaned up. This is so that when there is no
// gpu work (the last submitted serial has not moved beyond the completed serial), Tick can
// still check if we have pending work to take care of, rather than hanging and never
// reaching the serial the work will be executed on.
void AddFutureSerial(ExecutionSerial serial);
// Check for passed fences and set the new completed serial
void CheckPassedSerials();
virtual uint32_t GetOptimalBytesPerRowAlignment() const = 0;
virtual uint64_t GetOptimalBufferToTextureCopyOffsetAlignment() const = 0;
virtual float GetTimestampPeriodInNS() const = 0;
protected:
void SetToggle(Toggle toggle, bool isEnabled);
void ForceSetToggle(Toggle toggle, bool isEnabled);
MaybeError Initialize(QueueBase* defaultQueue);
void ShutDownBase();
// Incrememt mLastSubmittedSerial when we submit the next serial
void IncrementLastSubmittedCommandSerial();
private:
virtual ResultOrError<BindGroupBase*> CreateBindGroupImpl(
const BindGroupDescriptor* descriptor) = 0;
virtual ResultOrError<BindGroupLayoutBase*> CreateBindGroupLayoutImpl(
const BindGroupLayoutDescriptor* descriptor) = 0;
virtual ResultOrError<Ref<BufferBase>> CreateBufferImpl(
const BufferDescriptor* descriptor) = 0;
virtual ResultOrError<ComputePipelineBase*> CreateComputePipelineImpl(
const ComputePipelineDescriptor* descriptor) = 0;
virtual ResultOrError<PipelineLayoutBase*> CreatePipelineLayoutImpl(
const PipelineLayoutDescriptor* descriptor) = 0;
virtual ResultOrError<QuerySetBase*> CreateQuerySetImpl(
const QuerySetDescriptor* descriptor) = 0;
virtual ResultOrError<RenderPipelineBase*> CreateRenderPipelineImpl(
const RenderPipelineDescriptor* descriptor) = 0;
virtual ResultOrError<SamplerBase*> CreateSamplerImpl(
const SamplerDescriptor* descriptor) = 0;
virtual ResultOrError<ShaderModuleBase*> CreateShaderModuleImpl(
const ShaderModuleDescriptor* descriptor,
ShaderModuleParseResult* parseResult) = 0;
virtual ResultOrError<SwapChainBase*> CreateSwapChainImpl(
const SwapChainDescriptor* descriptor) = 0;
// Note that previousSwapChain may be nullptr, or come from a different backend.
virtual ResultOrError<NewSwapChainBase*> CreateSwapChainImpl(
Surface* surface,
NewSwapChainBase* previousSwapChain,
const SwapChainDescriptor* descriptor) = 0;
virtual ResultOrError<Ref<TextureBase>> CreateTextureImpl(
const TextureDescriptor* descriptor) = 0;
virtual ResultOrError<TextureViewBase*> CreateTextureViewImpl(
TextureBase* texture,
const TextureViewDescriptor* descriptor) = 0;
ResultOrError<Ref<BindGroupLayoutBase>> CreateEmptyBindGroupLayout();
MaybeError CreateBindGroupInternal(BindGroupBase** result,
const BindGroupDescriptor* descriptor);
MaybeError CreateBindGroupLayoutInternal(BindGroupLayoutBase** result,
const BindGroupLayoutDescriptor* descriptor);
ResultOrError<Ref<BufferBase>> CreateBufferInternal(const BufferDescriptor* descriptor);
MaybeError CreateComputePipelineInternal(ComputePipelineBase** result,
const ComputePipelineDescriptor* descriptor);
MaybeError CreatePipelineLayoutInternal(PipelineLayoutBase** result,
const PipelineLayoutDescriptor* descriptor);
MaybeError CreateQuerySetInternal(QuerySetBase** result,
const QuerySetDescriptor* descriptor);
MaybeError CreateRenderBundleEncoderInternal(
RenderBundleEncoder** result,
const RenderBundleEncoderDescriptor* descriptor);
MaybeError CreateRenderPipelineInternal(RenderPipelineBase** result,
const RenderPipelineDescriptor* descriptor);
MaybeError CreateSamplerInternal(SamplerBase** result, const SamplerDescriptor* descriptor);
MaybeError CreateShaderModuleInternal(ShaderModuleBase** result,
const ShaderModuleDescriptor* descriptor);
MaybeError CreateSwapChainInternal(SwapChainBase** result,
Surface* surface,
const SwapChainDescriptor* descriptor);
ResultOrError<Ref<TextureBase>> CreateTextureInternal(const TextureDescriptor* descriptor);
MaybeError CreateTextureViewInternal(TextureViewBase** result,
TextureBase* texture,
const TextureViewDescriptor* descriptor);
void ApplyToggleOverrides(const DeviceDescriptor* deviceDescriptor);
void ApplyExtensions(const DeviceDescriptor* deviceDescriptor);
void SetDefaultToggles();
void ConsumeError(std::unique_ptr<ErrorData> error);
// Each backend should implement to check their passed fences if there are any and return a
// completed serial. Return 0 should indicate no fences to check.
virtual ExecutionSerial CheckAndUpdateCompletedSerials() = 0;
// During shut down of device, some operations might have been started since the last submit
// and waiting on a serial that doesn't have a corresponding fence enqueued. Fake serials to
// make all commands look completed.
void AssumeCommandsComplete();
bool IsDeviceIdle();
// mCompletedSerial tracks the last completed command serial that the fence has returned.
// mLastSubmittedSerial tracks the last submitted command serial.
// During device removal, the serials could be artificially incremented
// to make it appear as if commands have been compeleted. They can also be artificially
// incremented when no work is being done in the GPU so CPU operations don't have to wait on
// stale serials.
// mFutureSerial tracks the largest serial we need to tick to for asynchronous commands or
// callbacks to fire
ExecutionSerial mCompletedSerial = ExecutionSerial(0);
ExecutionSerial mLastSubmittedSerial = ExecutionSerial(0);
ExecutionSerial mFutureSerial = ExecutionSerial(0);
// ShutDownImpl is used to clean up and release resources used by device, does not wait for
// GPU or check errors.
virtual void ShutDownImpl() = 0;
// WaitForIdleForDestruction waits for GPU to finish, checks errors and gets ready for
// destruction. This is only used when properly destructing the device. For a real
// device loss, this function doesn't need to be called since the driver already closed all
// resources.
virtual MaybeError WaitForIdleForDestruction() = 0;
wgpu::DeviceLostCallback mDeviceLostCallback = nullptr;
void* mDeviceLostUserdata = nullptr;
// The Device keeps a ref to the Instance so that any live Device keeps the Instance alive.
// The Instance shouldn't need to ref child objects so this shouldn't introduce ref cycles.
// The Device keeps a simple pointer to the Adapter because the Adapter is owned by the
// Instance.
Ref<InstanceBase> mInstance;
AdapterBase* mAdapter = nullptr;
Ref<ErrorScope> mRootErrorScope;
Ref<ErrorScope> mCurrentErrorScope;
// The object caches aren't exposed in the header as they would require a lot of
// additional includes.
struct Caches;
std::unique_ptr<Caches> mCaches;
Ref<BindGroupLayoutBase> mEmptyBindGroupLayout;
std::unique_ptr<DynamicUploader> mDynamicUploader;
std::unique_ptr<ErrorScopeTracker> mErrorScopeTracker;
std::unique_ptr<CreateReadyPipelineTracker> mCreateReadyPipelineTracker;
Ref<QueueBase> mDefaultQueue;
struct DeprecationWarnings;
std::unique_ptr<DeprecationWarnings> mDeprecationWarnings;
uint32_t mRefCount = 1;
State mState = State::BeingCreated;
FormatTable mFormatTable;
TogglesSet mEnabledToggles;
TogglesSet mOverridenToggles;
size_t mLazyClearCountForTesting = 0;
ExtensionsSet mEnabledExtensions;
std::unique_ptr<InternalPipelineStore> mInternalPipelineStore;
std::unique_ptr<PersistentCache> mPersistentCache;
};
} // namespace dawn_native
#endif // DAWNNATIVE_DEVICE_H_
| 49.766423 | 100 | 0.681725 |
ece8ee0c0c91f2a999fd339eeda803741335faf4 | 21,663 | h | C | emulator/src/mame/machine/kb_poisk1.h | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/machine/kb_poisk1.h | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/machine/kb_poisk1.h | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Sergey Svishchev
/*
* Poisk-1 keyboard
*
* F4 - toggles key click
* RCtrl - toggles Latin/Cyrillic layout
* Keypad / - Pause key
* F11 - XXX
* F12 - XXX
*/
INPUT_PORTS_START( poisk1_keyboard_v89 )
PORT_START("Y1")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(']') PORT_CHAR('}') // 0x55
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 5") PORT_CODE(KEYCODE_5_PAD)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?56?") // 0x56
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Enter") PORT_CODE(KEYCODE_ENTER) PORT_CHAR('\r')
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 8") PORT_CODE(KEYCODE_8_PAD) PORT_CODE(KEYCODE_UP)
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 2") PORT_CODE(KEYCODE_2_PAD) PORT_CODE(KEYCODE_DOWN)
/*-12*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-12 - ?") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('?') PORT_CHAR('/') */
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O')
/*-11*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-11 - %") /* PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%') */
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F11") PORT_CODE(KEYCODE_F11) PORT_CHAR(UCHAR_MAMEKEY(F11))
PORT_START("Y2")
/*-15*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-15 - !") /* PORT_CODE(KEYCODE_1) PORT_CHAR('!') PORT_CHAR('1') */
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 4") PORT_CODE(KEYCODE_4_PAD) PORT_CODE(KEYCODE_LEFT)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 0") PORT_CODE(KEYCODE_0_PAD) PORT_CODE(KEYCODE_INSERT) /* ??? */
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F7") PORT_CODE(KEYCODE_F7) PORT_CHAR(UCHAR_MAMEKEY(F7))
/*-13*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-13 - ;") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_BACKSPACE)
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 7") PORT_CODE(KEYCODE_7_PAD) PORT_CODE(KEYCODE_HOME)
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 1") PORT_CODE(KEYCODE_1_PAD) PORT_CODE(KEYCODE_END)
/*-2*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-2 - .") /* PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>') */
/*-3*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-3 - _") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{') // 0x54
PORT_START("Y3")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F) PORT_CHAR('f') PORT_CHAR('F')
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 9") PORT_CODE(KEYCODE_9_PAD) PORT_CODE(KEYCODE_PGUP)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 3") PORT_CODE(KEYCODE_3_PAD) PORT_CODE(KEYCODE_PGDN)
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_N) PORT_CHAR('n') PORT_CHAR('N')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_D) PORT_CHAR('d') PORT_CHAR('D')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S')
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Z) PORT_CHAR('z') PORT_CHAR('Z')
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_M) PORT_CHAR('m') PORT_CHAR('M')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_B) PORT_CHAR('b') PORT_CHAR('B')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_G) PORT_CHAR('g') PORT_CHAR('G')
PORT_START("Y4")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F3") PORT_CODE(KEYCODE_F3) PORT_CHAR(UCHAR_MAMEKEY(F3))
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F6") PORT_CODE(KEYCODE_F6) PORT_CHAR(UCHAR_MAMEKEY(F6))
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F2") PORT_CODE(KEYCODE_F2) PORT_CHAR(UCHAR_MAMEKEY(F2))
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F1") PORT_CODE(KEYCODE_F1) PORT_CHAR(UCHAR_MAMEKEY(F1))
/*-1*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-1 - *") /* PORT_CODE(KEYCODE_8) PORT_CHAR('*') PORT_CHAR('8') */
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Esc") PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC)) /* ??2 */
/*-9*/ PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-9 - :") /* PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') */
/*-10*/ PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-10 - ,") /* PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<') */
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F5") PORT_CODE(KEYCODE_F5) PORT_CHAR(UCHAR_MAMEKEY(F5))
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F4") PORT_CODE(KEYCODE_F4) PORT_CHAR(UCHAR_MAMEKEY(F4))
PORT_START("Y5")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E')
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_UNUSED )
/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_RCONTROL) PORT_CHAR(UCHAR_MAMEKEY(RCONTROL))
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q')
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_A) PORT_CHAR('a') PORT_CHAR('A')
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Caps Lock") PORT_CODE(KEYCODE_CAPSLOCK) PORT_CHAR(UCHAR_MAMEKEY(CAPSLOCK)) /* ???? */
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_T) PORT_CHAR('t') PORT_CHAR('T')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_R) PORT_CHAR('r') PORT_CHAR('R')
PORT_START("Y6")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left Shift") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1)
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad *") PORT_CODE(KEYCODE_ASTERISK) PORT_CHAR(UCHAR_MAMEKEY(ASTERISK))
/*?*/ PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Alt") PORT_CODE(KEYCODE_RALT)
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?dc?") // 0xdc = SHIFT2
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Rus/Lat") PORT_CODE(KEYCODE_RALT) // 0xdb = Rus/Lat
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Right Shift") PORT_CODE(KEYCODE_RSHIFT) PORT_CHAR(UCHAR_SHIFT_1)
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F12") PORT_CODE(KEYCODE_F12) PORT_CHAR(UCHAR_MAMEKEY(F12))
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?59?") // 0x59
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_V) PORT_CHAR('v') PORT_CHAR('V')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Space") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
PORT_START("Y7")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("NumLock") PORT_CODE(KEYCODE_NUMLOCK)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad . Del") PORT_CODE(KEYCODE_DEL_PAD) PORT_CHAR(UCHAR_MAMEKEY(DEL_PAD))
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F10") PORT_CODE(KEYCODE_F10) PORT_CHAR(UCHAR_MAMEKEY(F10))
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad +") PORT_CODE(KEYCODE_PLUS_PAD)
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 6") PORT_CODE(KEYCODE_6_PAD) PORT_CODE(KEYCODE_RIGHT)
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F8") PORT_CODE(KEYCODE_F8) PORT_CHAR(UCHAR_MAMEKEY(F8))
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?5a?") // 0x5a
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F9") PORT_CODE(KEYCODE_F9) PORT_CHAR(UCHAR_MAMEKEY(F9))
PORT_START("Y8")
/*-6*/ PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-6 - -") /* PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_') */
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad -") PORT_CODE(KEYCODE_MINUS_PAD)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Tab") PORT_CODE(KEYCODE_TAB) PORT_CHAR('\t') /* ??? */
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y')
/*-7*/ PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-7 - )") /* PORT_CODE(KEYCODE_0) PORT_CHAR(')') PORT_CHAR('0') */
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock")
/*-4*/ PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-4 - (") /* PORT_CODE(KEYCODE_9) PORT_CHAR('(') PORT_CHAR('9') */
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('\\') PORT_CHAR('|')
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U')
/*-5*/ PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-5 - \"") /* PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('"') PORT_CHAR('\'') */
/*-8*/ PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?-8 - /") /* PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?') */
#if 0
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Delete") PORT_CODE(KEYCODE_DEL_PAD)
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("* PrtSc") PORT_CODE(KEYCODE_PRTSCR)
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('@')
PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$')
PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('^')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&')
PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('`') PORT_CHAR('~')
PORT_BIT( 0x000, IP_ACTIVE_LOW, IPT_KEYBOARD )
#endif
INPUT_PORTS_END
INPUT_PORTS_START( poisk1_keyboard_v91 )
PORT_START("Y1")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(']') PORT_CHAR('}')
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 5") PORT_CODE(KEYCODE_5_PAD)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(";") PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("+ / CYRILLIC YO") PORT_CODE(KEYCODE_PLUS_PAD)
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Enter") PORT_CODE(KEYCODE_ENTER) PORT_CHAR('\r')
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 8") PORT_CODE(KEYCODE_8_PAD) PORT_CODE(KEYCODE_UP)
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 2") PORT_CODE(KEYCODE_2_PAD) PORT_CODE(KEYCODE_DOWN)
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(")") PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR(')')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("-") PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("'") PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('\'') PORT_CHAR('"')
PORT_START("Y2")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('=') PORT_CHAR('+')
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 4") PORT_CODE(KEYCODE_4_PAD) PORT_CODE(KEYCODE_LEFT)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 0") PORT_CODE(KEYCODE_0_PAD) PORT_CODE(KEYCODE_INSERT)
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F6") PORT_CODE(KEYCODE_F6) PORT_CHAR(UCHAR_MAMEKEY(F6))
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('\\') PORT_CHAR('|')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_BACKSPACE)
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 7") PORT_CODE(KEYCODE_7_PAD) PORT_CODE(KEYCODE_HOME)
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 1") PORT_CODE(KEYCODE_1_PAD) PORT_CODE(KEYCODE_END)
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("*") PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR('*')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("(") PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR('(')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{')
PORT_START("Y3")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F) PORT_CHAR('f') PORT_CHAR('F')
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 9") PORT_CODE(KEYCODE_9_PAD) PORT_CODE(KEYCODE_PGUP)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 3") PORT_CODE(KEYCODE_3_PAD) PORT_CODE(KEYCODE_PGDN)
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_N) PORT_CHAR('n') PORT_CHAR('N')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_D) PORT_CHAR('d') PORT_CHAR('D')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S')
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Z) PORT_CHAR('z') PORT_CHAR('Z')
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_M) PORT_CHAR('m') PORT_CHAR('M')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_B) PORT_CHAR('b') PORT_CHAR('B')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_G) PORT_CHAR('g') PORT_CHAR('G')
PORT_START("Y4")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F2") PORT_CODE(KEYCODE_F2) PORT_CHAR(UCHAR_MAMEKEY(F2))
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F5") PORT_CODE(KEYCODE_F5) PORT_CHAR(UCHAR_MAMEKEY(F5))
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F1") PORT_CODE(KEYCODE_F1) PORT_CHAR(UCHAR_MAMEKEY(F1))
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Esc") PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC))
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('`') PORT_CHAR('~')
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Pause") PORT_CODE(KEYCODE_SLASH_PAD) PORT_CHAR(UCHAR_MAMEKEY(SLASH_PAD))
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('^')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F4") PORT_CODE(KEYCODE_F4) PORT_CHAR(UCHAR_MAMEKEY(F4))
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F3") PORT_CODE(KEYCODE_F3) PORT_CHAR(UCHAR_MAMEKEY(F3))
PORT_START("Y5")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E')
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Caps Lock") PORT_CODE(KEYCODE_CAPSLOCK) PORT_CHAR(UCHAR_MAMEKEY(CAPSLOCK))
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q')
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_A) PORT_CHAR('a') PORT_CHAR('A')
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("UKRAINIAN XXX") PORT_CODE(KEYCODE_F12) PORT_CHAR(UCHAR_MAMEKEY(F12))
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_T) PORT_CHAR('t') PORT_CHAR('T')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_R) PORT_CHAR('r') PORT_CHAR('R')
PORT_START("Y6")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left Shift") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1)
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Right Ctrl/Cyril") PORT_CODE(KEYCODE_RCONTROL) PORT_CHAR(UCHAR_MAMEKEY(RCONTROL))
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left Ctrl") PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_MAMEKEY(LCONTROL))
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left Alt") PORT_CODE(KEYCODE_LALT)
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Right Alt") PORT_CODE(KEYCODE_RALT)
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Right Shift") PORT_CODE(KEYCODE_RSHIFT) PORT_CHAR(UCHAR_SHIFT_1)
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(".") PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(",") PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_V) PORT_CHAR('v') PORT_CHAR('V')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Space") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
PORT_START("Y7")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("NumLock") PORT_CODE(KEYCODE_NUMLOCK)
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad . Del") PORT_CODE(KEYCODE_DEL_PAD) PORT_CHAR(UCHAR_MAMEKEY(DEL_PAD))
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("- / UKRAINIAN XXX") PORT_CODE(KEYCODE_MINUS_PAD)
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F9") PORT_CODE(KEYCODE_F9) PORT_CHAR(UCHAR_MAMEKEY(F9))
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock")
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 6") PORT_CODE(KEYCODE_6_PAD) PORT_CODE(KEYCODE_RIGHT)
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L')
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F7") PORT_CODE(KEYCODE_F7) PORT_CHAR(UCHAR_MAMEKEY(F7))
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("/") PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F8") PORT_CODE(KEYCODE_F8) PORT_CHAR(UCHAR_MAMEKEY(F8))
PORT_START("Y8")
PORT_BIT( 0x001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#')
PORT_BIT( 0x002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("* PrtSc") PORT_CODE(KEYCODE_ASTERISK) PORT_CHAR(UCHAR_MAMEKEY(ASTERISK))
PORT_BIT( 0x004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Tab") PORT_CODE(KEYCODE_TAB) PORT_CHAR('\t') /* ??? */
PORT_BIT( 0x008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y')
PORT_BIT( 0x010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('@')
PORT_BIT( 0x020, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("F10") PORT_CODE(KEYCODE_F10) PORT_CHAR(UCHAR_MAMEKEY(F10))
PORT_BIT( 0x040, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("!") PORT_CODE(KEYCODE_1) PORT_CHAR('!') PORT_CHAR('1')
PORT_BIT( 0x080, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("UKRAINIAN XXX") PORT_CODE(KEYCODE_F11) PORT_CHAR(UCHAR_MAMEKEY(F11))
PORT_BIT( 0x100, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x200, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U')
PORT_BIT( 0x400, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("%") PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%')
PORT_BIT( 0x800, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$')
INPUT_PORTS_END
| 85.624506 | 147 | 0.76596 |
107fd884de3351bd2a5767bbdac045a626161072 | 4,488 | h | C | tensorflow/compiler/xla/client/lib/prng.h | yage99/tensorflow | c7fa71b32a3635eb25596ae80d007b41007769c4 | [
"Apache-2.0"
] | 388 | 2020-06-27T01:38:29.000Z | 2022-03-29T14:12:01.000Z | tensorflow/compiler/xla/client/lib/prng.h | yage99/tensorflow | c7fa71b32a3635eb25596ae80d007b41007769c4 | [
"Apache-2.0"
] | 203 | 2019-06-14T23:53:10.000Z | 2022-02-10T02:27:23.000Z | tensorflow/compiler/xla/client/lib/prng.h | yage99/tensorflow | c7fa71b32a3635eb25596ae80d007b41007769c4 | [
"Apache-2.0"
] | 75 | 2021-12-24T04:48:21.000Z | 2022-03-29T10:13:39.000Z | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required 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 TENSORFLOW_COMPILER_XLA_CLIENT_LIB_PRNG_H_
#define TENSORFLOW_COMPILER_XLA_CLIENT_LIB_PRNG_H_
#include <array>
#include "tensorflow/compiler/xla/client/xla_builder.h"
#include "tensorflow/compiler/xla/xla_data.pb.h"
namespace xla {
// Records the bits and state generated by a random number generator.
struct RngOutput {
XlaOp value;
XlaOp state;
};
// A BitGenerator returns random bits and updated random bit generator state.
//
// key: is a value input to a random number generator that can affect the
// sequence of number it will generate. A random number generator constructs
// its seed using the key and the initial state. The tf2xla bridge passes the
// seed operand of a tensorflow random operation as a key to the random bit
// generator, for example.
// initial_state: initial_state is the initial state of the current random
// number generation. It could be 0 for a stateless random operation, and
// the returned state from a previous execution for a stateful random
// operation.
// shape: the shape of the random bits.
using BitGeneratorTy = std::function<RngOutput(XlaOp key, XlaOp initial_state,
const xla::Shape& shape)>;
// Implements the ThreeFry counter-based PRNG algorithm.
// Salmon et al. SC 2011. Parallel random numbers: as easy as 1, 2, 3.
// http://www.thesalmons.org/john/random123/papers/random123sc11.pdf
RngOutput ThreeFryBitGenerator(XlaOp key, XlaOp initial_state,
const xla::Shape& shape);
// Implements the Philox algorithm to generate random numbers in parallel.
// Salmon et al. SC 2011. Parallel random numbers: as easy as 1, 2, 3.
// http://www.thesalmons.org/john/random123/papers/random123sc11.pdf
//
// The paper presents a few variants of the Philox algorithm, we picked the
// 4x32_10 version of the algorithm for the following reasons:
// . 4x32 uses 32-bit multiplication which is fast on GPUs.
// . The authors recommend the 10-round variant, and TensorFlow also uses it.
RngOutput PhiloxBitGenerator(XlaOp key, XlaOp initial_state,
const Shape& shape);
// Returns a scrambled pair of (state, key) from a single key.
std::pair<XlaOp, XlaOp> ScramblePhiloxKey(XlaOp key);
// Uses the given bit generator to generate random bits and then converts the
// random bits to random numbers of uniform distribution in the given range.
// Returns the random numbers and the state of the random number generator.
// This function is for shape with floating point element types.
RngOutput UniformFloatingPointDistribution(XlaOp key, XlaOp initial_state,
BitGeneratorTy bit_generator,
XlaOp minval, XlaOp maxval,
const xla::Shape& shape);
// Similar to UniformFloatingPointDistribution but for shape with integer
// element types.
RngOutput UniformIntDistribution(XlaOp key, XlaOp initial_state,
BitGeneratorTy bit_generator, XlaOp minval,
XlaOp maxval, const xla::Shape& shape);
// Uses the given bit generator to generate random bits and then converts the
// random bits to random numbers of normal distribution.
// Returns the random numbers and the state of the random number generator.
RngOutput NormalFloatingPointDistribution(XlaOp key, XlaOp initial_state,
BitGeneratorTy bit_generator,
const xla::Shape& shape);
// Concatenates scalars into a vector.
xla::XlaOp ConcatScalars(xla::XlaBuilder* builder,
absl::Span<const xla::XlaOp> scalars);
} // namespace xla
#endif // TENSORFLOW_COMPILER_XLA_CLIENT_LIB_PRNG_H_
| 47.242105 | 80 | 0.697415 |
3146aa479a57327e5bc5c1b37f7f45e6d1add09d | 2,553 | h | C | src/BSc2018/apollo-2.0.0/modules/drivers/gnss/include/libsbp/logging.h | Chalmers-Control-Automation-Mechatronics/AutonomousTwizy | 5c9c1f02de8dd6db21fd570364c88a3b0d35e3bf | [
"MIT"
] | 2 | 2018-05-31T04:49:40.000Z | 2021-03-15T01:21:02.000Z | modules/drivers/gnss2/libsbp/logging.h | positionering/apollo | 53d961f054f8a1c2e647337d5b0108985e289d38 | [
"Apache-2.0"
] | null | null | null | modules/drivers/gnss2/libsbp/logging.h | positionering/apollo | 53d961f054f8a1c2e647337d5b0108985e289d38 | [
"Apache-2.0"
] | 8 | 2018-02-16T10:42:46.000Z | 2019-08-15T09:18:17.000Z | /*
* Copyright (C) 2015-2018 Swift Navigation Inc.
* Contact: Swift Navigation <dev@swiftnav.com>
*
* This source is subject to the license found in the file 'LICENSE' which must
* be be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
*/
/*****************************************************************************
* Automatically generated from yaml/swiftnav/sbp/logging.yaml
* with generate.py. Please do not hand edit!
*****************************************************************************/
/** \defgroup logging Logging
*
* * Logging and debugging messages from the device.
* \{ */
#ifndef LIBSBP_LOGGING_MESSAGES_H
#define LIBSBP_LOGGING_MESSAGES_H
#include "common.h"
/** Plaintext logging messages with levels
*
* This message contains a human-readable payload string from the
* device containing errors, warnings and informational messages at
* ERROR, WARNING, DEBUG, INFO logging levels.
*/
#define SBP_MSG_LOG 0x0401
typedef struct __attribute__((packed)) {
u8 level; /**< Logging level */
char text[0]; /**< Human-readable string */
} msg_log_t;
/** Wrapper for FWD a separate stream of information over SBP
*
* This message provides the ability to forward messages over SBP. This may take the form
* of wrapping up SBP messages received by Piksi for logging purposes or wrapping
* another protocol with SBP.
*
* The source identifier indicates from what interface a forwarded stream derived.
* The protocol identifier identifies what the expected protocol the forwarded msg contains.
* Protocol 0 represents SBP and the remaining values are implementation defined.
*/
#define SBP_MSG_FWD 0x0402
typedef struct __attribute__((packed)) {
u8 source; /**< source identifier */
u8 protocol; /**< protocol identifier */
char fwd_payload[0]; /**< variable length wrapped binary message */
} msg_fwd_t;
/** Tweet
*
* All the news fit to tweet.
*/
#define SBP_MSG_TWEET 0x0012
typedef struct __attribute__((packed)) {
char tweet[140]; /**< Human-readable string */
} msg_tweet_t;
/** Deprecated
*
* Deprecated.
*/
#define SBP_MSG_PRINT_DEP 0x0010
typedef struct __attribute__((packed)) {
char text[0]; /**< Human-readable string */
} msg_print_dep_t;
/** \} */
#endif /* LIBSBP_LOGGING_MESSAGES_H */ | 31.134146 | 92 | 0.683118 |
2ea4adae6ef251b71abff0515593418a1d1cf55e | 20,064 | c | C | apps/tcpip_tcp_server_devboard/firmware/src/config/pic32mz_ef_sk_freertos/library/tcpip/src/tcpip_heap_alloc.c | carlosearm/net_apps_pic32mz | f6f36ead86f7a41f59dc52a4aec5a4108718f63f | [
"0BSD"
] | 9 | 2020-01-30T14:55:29.000Z | 2021-03-18T07:44:49.000Z | apps/tcpip_tcp_server_devboard/firmware/src/config/pic32mz_ef_sk_freertos/library/tcpip/src/tcpip_heap_alloc.c | carlosearm/net_apps_pic32mz | f6f36ead86f7a41f59dc52a4aec5a4108718f63f | [
"0BSD"
] | 10 | 2019-12-22T07:19:29.000Z | 2021-08-12T08:37:21.000Z | apps/tcpip_tcp_server_devboard/firmware/src/config/pic32mz_ef_sk_freertos/library/tcpip/src/tcpip_heap_alloc.c | carlosearm/net_apps_pic32mz | f6f36ead86f7a41f59dc52a4aec5a4108718f63f | [
"0BSD"
] | 6 | 2020-10-05T15:36:10.000Z | 2021-08-31T09:24:32.000Z | /*******************************************************************************
TCPIP Heap Allocation Manager
Summary:
Description:
*******************************************************************************/
/*****************************************************************************
Copyright (C) 2012-2018 Microchip Technology Inc. and its subsidiaries.
Microchip Technology Inc. and its subsidiaries.
Subject to your compliance with these terms, you may use Microchip software
and any derivatives exclusively with Microchip products. It is your
responsibility to comply with third party license terms applicable to your
use of third party software (including open source software) that may
accompany Microchip software.
THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER
EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR
PURPOSE.
IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND
WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS
BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE
FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN
ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY,
THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
*****************************************************************************/
#include <string.h>
#include <stdlib.h>
#if defined(__mips__)
#include <sys/kmem.h>
#endif
#include "tcpip/src/tcpip_private.h"
// cache helpers
#if defined(__PIC32MZ__)
// flushes a data cache line/address
static __inline__ void __attribute__((always_inline)) _TCPIP_HEAP_DataLineFlush(void* address)
{ // issue a hit-writeback invalidate order
__asm__ __volatile__ ("cache 0x15, 0(%0)" ::"r"(address));
}
// invalidates a range of addresses from the cache
static void _TCPIP_HEAP_DataCacheInvalidate(const void* address, size_t nBytes)
{
int ix;
uint8_t* pLine = (uint8_t*)((uint32_t)address & 0xfffffff0); // start on an even cache line
nBytes += (uint8_t*)address - pLine;
int nLines = (nBytes + 15) / 16; // round up the number of taken cache lines
for(ix = 0; ix < nLines; ix ++)
{
_TCPIP_HEAP_DataLineFlush(pLine);
pLine += 16;
}
__asm__ __volatile__ ("sync");
}
const void* _TCPIP_HEAP_BufferMapNonCached(const void* buffer, size_t buffSize)
{
if(IS_KVA0(buffer))
{ // map in K1
_TCPIP_HEAP_DataCacheInvalidate(buffer, buffSize);
buffer = (const void*)KVA0_TO_KVA1(buffer);
}
return buffer;
}
const void* _TCPIP_HEAP_PointerMapCached(const void* ptr)
{
if(IS_KVA1(ptr))
{ // map in K1
ptr = (const void*)KVA1_TO_KVA0(ptr);
}
return ptr;
}
#else
const void* _TCPIP_HEAP_BufferMapNonCached(const void* buffer, size_t buffSize)
{
return buffer;
}
const void* _TCPIP_HEAP_PointerMapCached(const void* ptr)
{
return ptr;
}
#endif // defined(__PIC32MZ__)
#if !defined(TCPIP_STACK_DRAM_DEBUG_ENABLE)
// functions needed when debugging is not enabled
TCPIP_STACK_HEAP_HANDLE TCPIP_HEAP_Create(const TCPIP_STACK_HEAP_CONFIG* initData, TCPIP_STACK_HEAP_RES* pRes)
{
if(initData != 0)
{
switch (initData->heapType)
{
#if defined (TCPIP_STACK_USE_INTERNAL_HEAP)
case TCPIP_STACK_HEAP_TYPE_INTERNAL_HEAP:
return TCPIP_HEAP_CreateInternal((const TCPIP_STACK_HEAP_INTERNAL_CONFIG*)initData, pRes);
#endif // defined (TCPIP_STACK_USE_INTERNAL_HEAP)
#if defined (TCPIP_STACK_USE_EXTERNAL_HEAP)
case TCPIP_STACK_HEAP_TYPE_EXTERNAL_HEAP:
return TCPIP_HEAP_CreateExternal((const TCPIP_STACK_HEAP_EXTERNAL_CONFIG*)initData, pRes);
#endif // defined (TCPIP_STACK_USE_EXTERNAL_HEAP)
#if defined (TCPIP_STACK_USE_INTERNAL_HEAP_POOL)
case TCPIP_STACK_HEAP_TYPE_INTERNAL_HEAP_POOL:
return TCPIP_HEAP_CreateInternalPool((const TCPIP_STACK_HEAP_POOL_CONFIG*)initData, pRes);
#endif // defined (TCPIP_STACK_USE_INTERNAL_HEAP_POOL)
default:
break;
}
}
return 0;
}
// functions needed when not inlined
void* TCPIP_HEAP_MallocOutline(TCPIP_STACK_HEAP_HANDLE h, size_t nBytes)
{
return (*((TCPIP_HEAP_OBJECT*)h)->TCPIP_HEAP_Malloc)(h, nBytes);
}
void* TCPIP_HEAP_CallocOutline(TCPIP_STACK_HEAP_HANDLE h, size_t nElems, size_t elemSize)
{
return (*((TCPIP_HEAP_OBJECT*)h)->TCPIP_HEAP_Calloc)(h, nElems, elemSize);
}
size_t TCPIP_HEAP_FreeOutline(TCPIP_STACK_HEAP_HANDLE h, const void* ptr)
{
return (*((TCPIP_HEAP_OBJECT*)h)->TCPIP_HEAP_Free)(h, ptr);
}
#else // defined(TCPIP_STACK_DRAM_DEBUG_ENABLE)
// debug functionality
#if defined(TCPIP_STACK_DRAM_TRACE_ENABLE)
#define _TCPIP_STACK_DRAM_TRACE_ENABLE
#define _TCPIP_STACK_DRAM_TRACE_NDP_COLLAPSE 1 // collapse NDP info into IPv6 since NDP allocated packets are freed by IPv6
#else
#undef _TCPIP_STACK_DRAM_TRACE_ENABLE
#endif
#if defined(TCPIP_STACK_DRAM_DIST_ENABLE)
#define _TCPIP_STACK_DRAM_DIST_ENABLE
// distribution block sizes that are monitored
// Note: there's no way (yet) of allowing the user to specify the requested distribution
static const int _tcpip_heap_dist_sizes[] =
{
0, 32, 64, 128, 256, 512, 640, 768,
896, 1024, 1152, 1280, 1408, 1536, 1792, 2000,
10000
};
#else
#undef _TCPIP_STACK_DRAM_DIST_ENABLE
#endif
typedef struct
{
TCPIP_STACK_HEAP_HANDLE heapH; // heap handle; 0 means slot is free
TCPIP_STACK_HEAP_TYPE heapType; // type of heap
TCPIP_STACK_HEAP_FLAGS heapFlags; // creation flags
TCPIP_HEAP_NO_MEM_HANDLER noMemHandler; // out of memory handler for this heap
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
TCPIP_HEAP_TRACE_ENTRY _heapTraceTbl[TCPIP_STACK_DRAM_TRACE_SLOTS];
#endif
#if defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
TCPIP_HEAP_DIST_ENTRY _tcpip_heap_dist_array[sizeof(_tcpip_heap_dist_sizes)/sizeof(*_tcpip_heap_dist_sizes) - 1];
#endif
}TCPIP_HEAP_DBG_DCPT;
// the heap debug descriptor
static TCPIP_HEAP_DBG_DCPT _tcpipHeapDbgDcpt[TCPIP_STACK_SUPPORTED_HEAPS] = { {0} };
#define _heapFailMessage "Heap allocation of %d bytes failed in module %d line %d\r\n"
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
static TCPIP_HEAP_TRACE_ENTRY* TCPIP_HEAP_FindEntry(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, bool addNewSlot);
static void TCPIP_HEAP_AddToEntry(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes, void* ptr);
static void TCPIP_HEAP_RemoveFromEntry(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes);
#endif // defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
#if defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
static int TCPIP_HEAP_DistCompare(const void *a, const void *b);
static void TCPIP_HEAP_DistAdd(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes);
static void TCPIP_HEAP_DistRem(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes);
#endif // defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
// API
TCPIP_STACK_HEAP_HANDLE TCPIP_HEAP_Create(const TCPIP_STACK_HEAP_CONFIG* initData, TCPIP_STACK_HEAP_RES* pRes)
{
TCPIP_STACK_HEAP_HANDLE newH;
TCPIP_STACK_HEAP_FLAGS flags;
if(initData == 0)
{
return 0;
}
switch (initData->heapType)
{
#if defined (TCPIP_STACK_USE_INTERNAL_HEAP)
case TCPIP_STACK_HEAP_TYPE_INTERNAL_HEAP:
newH = TCPIP_HEAP_CreateInternal((const TCPIP_STACK_HEAP_INTERNAL_CONFIG*)initData, pRes);
flags = initData->heapFlags;
break;
#endif // defined (TCPIP_STACK_USE_INTERNAL_HEAP)
#if defined (TCPIP_STACK_USE_EXTERNAL_HEAP)
case TCPIP_STACK_HEAP_TYPE_EXTERNAL_HEAP:
newH = TCPIP_HEAP_CreateExternal((TCPIP_STACK_HEAP_EXTERNAL_CONFIG*)initData, pRes);
flags = initData->heapFlags;
break;
#endif // defined (TCPIP_STACK_USE_EXTERNAL_HEAP)
#if defined (TCPIP_STACK_USE_INTERNAL_HEAP_POOL)
case TCPIP_STACK_HEAP_TYPE_INTERNAL_HEAP_POOL:
newH = TCPIP_HEAP_CreateInternalPool((const TCPIP_STACK_HEAP_POOL_CONFIG*)initData, pRes);
flags = initData->heapFlags;
break;
#endif // defined (TCPIP_STACK_USE_INTERNAL_HEAP_POOL)
default:
return 0;
}
if(newH != 0)
{
int hIx;
TCPIP_HEAP_DBG_DCPT* pDcpt = _tcpipHeapDbgDcpt;
for(hIx = 0; hIx < sizeof(_tcpipHeapDbgDcpt) / sizeof(*_tcpipHeapDbgDcpt); hIx++, pDcpt++)
{
if(pDcpt->heapH == 0)
{ // found slot
pDcpt->heapH = newH;
pDcpt->heapType = initData->heapType;
pDcpt->heapFlags = flags;
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
memset(pDcpt->_heapTraceTbl, 0, sizeof(pDcpt->_heapTraceTbl)); // clear entries
#endif
#if defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
// initialize the distribution sizes array
int ix;
TCPIP_HEAP_DIST_ENTRY* pEntry;
const int* pSize;
pSize = _tcpip_heap_dist_sizes;
pEntry = pDcpt->_tcpip_heap_dist_array;
for(ix = 0; ix < sizeof(_tcpip_heap_dist_sizes)/sizeof(*_tcpip_heap_dist_sizes) - 1; ix++, pSize++, pEntry++)
{
memset(pEntry, 0, sizeof(*pEntry));
pEntry->lowLimit = *pSize;
pEntry->highLimit = *(pSize + 1);
}
#endif
break;
}
}
}
return newH;
}
static TCPIP_HEAP_DBG_DCPT* _TCPIP_HEAP_FindDcpt(TCPIP_STACK_HEAP_HANDLE heapH)
{
int hIx;
TCPIP_HEAP_DBG_DCPT* pDcpt = _tcpipHeapDbgDcpt;
for(hIx = 0; hIx < sizeof(_tcpipHeapDbgDcpt) / sizeof(*_tcpipHeapDbgDcpt); hIx++, pDcpt++)
{
if(pDcpt->heapH == heapH)
{ // found slot
return pDcpt;
}
}
return 0;
}
void* TCPIP_HEAP_MallocDebug(TCPIP_STACK_HEAP_HANDLE heapH, size_t nBytes, int moduleId, int lineNo)
{
TCPIP_HEAP_OBJECT* hObj = (TCPIP_HEAP_OBJECT*)heapH;
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
void* ptr = (*hObj->TCPIP_HEAP_Malloc)(hObj, nBytes);
if(ptr == 0)
{
if(pDcpt != 0)
{
if((pDcpt->heapFlags & TCPIP_STACK_HEAP_FLAG_NO_WARN_MESSAGE) == 0)
{
SYS_ERROR_PRINT(SYS_ERROR_WARNING, _heapFailMessage, nBytes, moduleId, lineNo);
}
if(pDcpt->noMemHandler != 0)
{
(*pDcpt->noMemHandler)(heapH, nBytes, moduleId, lineNo);
}
}
}
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
if(pDcpt != 0)
{
if(ptr != 0)
{
nBytes = (*hObj->TCPIP_HEAP_AllocSize)(hObj, ptr);
}
TCPIP_HEAP_AddToEntry(pDcpt, moduleId, nBytes, ptr);
}
#endif // defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
#if defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
if(pDcpt != 0)
{
TCPIP_HEAP_DistAdd(pDcpt, moduleId, nBytes);
}
#endif // defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
return ptr;
}
void* TCPIP_HEAP_CallocDebug(TCPIP_STACK_HEAP_HANDLE heapH, size_t nElems, size_t elemSize, int moduleId, int lineNo)
{
TCPIP_HEAP_OBJECT* hObj = (TCPIP_HEAP_OBJECT*)heapH;
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
size_t nBytes = nElems * elemSize;
void* ptr = (*hObj->TCPIP_HEAP_Calloc)(hObj, nElems, elemSize);
if(ptr == 0)
{
if(pDcpt != 0)
{
if((pDcpt->heapFlags & TCPIP_STACK_HEAP_FLAG_NO_WARN_MESSAGE) == 0)
{
SYS_ERROR_PRINT(SYS_ERROR_WARNING, _heapFailMessage, nBytes, moduleId, lineNo);
}
if(pDcpt->noMemHandler != 0)
{
(*pDcpt->noMemHandler)(heapH, nBytes, moduleId, lineNo);
}
}
}
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
if(pDcpt != 0)
{
if(ptr != 0)
{
nBytes = (*hObj->TCPIP_HEAP_AllocSize)(hObj, ptr);
}
TCPIP_HEAP_AddToEntry(pDcpt, moduleId, nBytes, ptr);
}
#endif // defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
#if defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
if(pDcpt != 0)
{
TCPIP_HEAP_DistAdd(pDcpt, moduleId, nBytes);
}
#endif // defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
return ptr;
}
size_t TCPIP_HEAP_FreeDebug(TCPIP_STACK_HEAP_HANDLE heapH, const void* pBuff, int moduleId)
{
TCPIP_HEAP_OBJECT* hObj = (TCPIP_HEAP_OBJECT*)heapH;
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE) || defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
#endif
int nBytes = (*hObj->TCPIP_HEAP_Free)(hObj, pBuff);
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
if(pDcpt && nBytes)
{
TCPIP_HEAP_RemoveFromEntry(pDcpt, moduleId, nBytes);
}
#endif // defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
#if defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
if(pDcpt && nBytes)
{
TCPIP_HEAP_DistRem(pDcpt, moduleId, nBytes);
}
#endif // defined(_TCPIP_STACK_DRAM_DIST_ENABLE)
return nBytes;
}
TCPIP_STACK_HEAP_RES TCPIP_HEAP_SetNoMemHandler(TCPIP_STACK_HEAP_HANDLE heapH, TCPIP_HEAP_NO_MEM_HANDLER handler)
{
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
if(pDcpt != 0)
{
pDcpt->noMemHandler = handler;
return TCPIP_STACK_HEAP_RES_OK;
}
return TCPIP_STACK_HEAP_RES_NO_HEAP;
}
#if defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
static TCPIP_HEAP_TRACE_ENTRY* TCPIP_HEAP_FindEntry(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, bool addNewSlot)
{
int ix;
TCPIP_HEAP_TRACE_ENTRY *freeEntry,*pEntry;
#if _TCPIP_STACK_DRAM_TRACE_NDP_COLLAPSE
if(moduleId == TCPIP_MODULE_NDP)
{
moduleId = TCPIP_MODULE_IPV6;
}
#endif // _TCPIP_STACK_DRAM_TRACE_NDP_COLLAPSE
freeEntry = 0;
for(ix = 0, pEntry = hDcpt->_heapTraceTbl; ix < sizeof(hDcpt->_heapTraceTbl)/sizeof(*hDcpt->_heapTraceTbl); ix++, pEntry++)
{
if(pEntry->moduleId == moduleId)
{
return pEntry;
}
else if(addNewSlot && freeEntry == 0 && pEntry->moduleId == 0)
{
freeEntry = pEntry;
}
}
if(freeEntry)
{
memset(freeEntry, 0x0, sizeof(*freeEntry));
freeEntry->moduleId = moduleId;
}
return freeEntry;
}
static void TCPIP_HEAP_AddToEntry(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes, void* ptr)
{
TCPIP_HEAP_TRACE_ENTRY *pEntry = TCPIP_HEAP_FindEntry(hDcpt, moduleId, true);
if(pEntry)
{
if(ptr)
{ // successful
pEntry->totAllocated += nBytes;
pEntry->currAllocated += nBytes;
}
else
{
pEntry->totFailed += nBytes;
if(nBytes > pEntry->maxFailed)
{
pEntry->maxFailed = nBytes;
}
}
}
}
static void TCPIP_HEAP_RemoveFromEntry(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes)
{
TCPIP_HEAP_TRACE_ENTRY *pEntry = TCPIP_HEAP_FindEntry(hDcpt, moduleId, false);
if(pEntry)
{
pEntry->currAllocated -= nBytes;
}
}
bool TCPIP_HEAP_TraceGetEntry(TCPIP_STACK_HEAP_HANDLE heapH, unsigned int entryIx, TCPIP_HEAP_TRACE_ENTRY* tEntry)
{
TCPIP_HEAP_TRACE_ENTRY *pEntry;
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
if(pDcpt)
{
if(entryIx < sizeof(pDcpt->_heapTraceTbl)/sizeof(*pDcpt->_heapTraceTbl))
{ // valid index
pEntry = pDcpt->_heapTraceTbl + entryIx;
if(pEntry->moduleId > 0)
{
*tEntry = *pEntry;
return true;
}
}
}
return false;
}
unsigned int TCPIP_HEAP_TraceGetEntriesNo(TCPIP_STACK_HEAP_HANDLE heapH, bool getUsed)
{
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
if(getUsed)
{
TCPIP_HEAP_TRACE_ENTRY *pEntry;
int ix, nUsed;
nUsed = 0;
for(ix = 0, pEntry = pDcpt->_heapTraceTbl; ix < sizeof(pDcpt->_heapTraceTbl)/sizeof(*pDcpt->_heapTraceTbl); ix++, pEntry++)
{
if(pEntry->moduleId > 0)
{
nUsed++;
}
}
return nUsed;
}
return sizeof(pDcpt->_heapTraceTbl)/sizeof(*pDcpt->_heapTraceTbl);
}
#else
bool TCPIP_HEAP_TraceGetEntry(TCPIP_STACK_HEAP_HANDLE heapH, unsigned int entryIx, TCPIP_HEAP_TRACE_ENTRY* tEntry)
{
return false;
}
unsigned int TCPIP_HEAP_TraceGetEntriesNo(TCPIP_STACK_HEAP_HANDLE heapH, bool getUsed)
{
return 0;
}
#endif // defined(_TCPIP_STACK_DRAM_TRACE_ENABLE)
#if defined (_TCPIP_STACK_DRAM_DIST_ENABLE)
bool TCPIP_HEAP_DistGetEntry(TCPIP_STACK_HEAP_HANDLE heapH, unsigned int entryIx, TCPIP_HEAP_DIST_ENTRY* pEntry)
{
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
if(pDcpt && pEntry)
{
if(entryIx < sizeof(pDcpt->_tcpip_heap_dist_array)/sizeof(*pDcpt->_tcpip_heap_dist_array))
{ // valid index
*pEntry = *(pDcpt->_tcpip_heap_dist_array + entryIx);
return true;
}
}
return false;
}
unsigned int TCPIP_HEAP_DistGetEntriesNo(TCPIP_STACK_HEAP_HANDLE heapH)
{
TCPIP_HEAP_DBG_DCPT* pDcpt = _TCPIP_HEAP_FindDcpt(heapH);
return pDcpt == 0 ? 0 : sizeof(pDcpt->_tcpip_heap_dist_array)/sizeof(*pDcpt->_tcpip_heap_dist_array);
}
static int TCPIP_HEAP_DistCompare(const void *a, const void *b)
{
TCPIP_HEAP_DIST_ENTRY* pA = (TCPIP_HEAP_DIST_ENTRY*)a;
TCPIP_HEAP_DIST_ENTRY* pB = (TCPIP_HEAP_DIST_ENTRY*)b;
if(pA->lowLimit > pB->highLimit)
{
return 1;
}
else if(pA->highLimit < pB->lowLimit)
{
return -1;
}
return 0;
}
static void TCPIP_HEAP_DistAdd(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes)
{
int modIx;
TCPIP_HEAP_DIST_ENTRY* pEntry;
TCPIP_HEAP_DIST_ENTRY nEntry =
{
.lowLimit = nBytes,
.highLimit = nBytes,
{ {0} },
0
};
pEntry = bsearch(&nEntry, hDcpt->_tcpip_heap_dist_array, sizeof(hDcpt->_tcpip_heap_dist_array)/sizeof(*hDcpt->_tcpip_heap_dist_array), sizeof(*hDcpt->_tcpip_heap_dist_array), TCPIP_HEAP_DistCompare);
pEntry->currHits++;
// search for module
struct moduleDist* pFreeMod = 0;
struct moduleDist* pmDist = pEntry->modDist;
for(modIx = 0; modIx < sizeof(pEntry->modDist)/sizeof(*pEntry->modDist); modIx++, pmDist++)
{
if(pmDist->modId == moduleId)
{ // found module slot
pmDist->modHits++;
return;
}
else if(pmDist->modId == 0 && pFreeMod == 0)
{
pFreeMod = pmDist;
}
}
// module slot not found
if(pFreeMod)
{
pFreeMod->modId = moduleId;
pFreeMod->modHits = 1;
}
else
{ // all slots occupied, use the generic entry
pEntry->gHits++;
}
}
static void TCPIP_HEAP_DistRem(TCPIP_HEAP_DBG_DCPT* hDcpt, int moduleId, size_t nBytes)
{
TCPIP_HEAP_DIST_ENTRY* pEntry;
TCPIP_HEAP_DIST_ENTRY nEntry =
{
.lowLimit = nBytes,
.highLimit = nBytes,
{ {0} },
0
};
pEntry = bsearch(&nEntry, hDcpt->_tcpip_heap_dist_array, sizeof(hDcpt->_tcpip_heap_dist_array)/sizeof(*hDcpt->_tcpip_heap_dist_array), sizeof(*hDcpt->_tcpip_heap_dist_array), TCPIP_HEAP_DistCompare);
pEntry->currHits--;
}
#else
bool TCPIP_HEAP_DistGetEntry(TCPIP_STACK_HEAP_HANDLE heapH, unsigned int entryIx, TCPIP_HEAP_DIST_ENTRY* pEntry)
{
return false;
}
unsigned int TCPIP_HEAP_DistGetEntriesNo(TCPIP_STACK_HEAP_HANDLE heapH)
{
return 0;
}
#endif // defined (_TCPIP_STACK_DRAM_DIST_ENABLE)
#endif // defined(TCPIP_STACK_DRAM_DEBUG_ENABLE)
| 29.036179 | 203 | 0.663028 |
bdb43eef2ca405ecda7d361260a16bd357c79345 | 571 | h | C | unit_tests/os_interface/windows/mock_os_time_win.h | PTS93/compute-runtime | 0655045c7962d551e29008547a802e398b646c6e | [
"MIT"
] | null | null | null | unit_tests/os_interface/windows/mock_os_time_win.h | PTS93/compute-runtime | 0655045c7962d551e29008547a802e398b646c6e | [
"MIT"
] | null | null | null | unit_tests/os_interface/windows/mock_os_time_win.h | PTS93/compute-runtime | 0655045c7962d551e29008547a802e398b646c6e | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/os_interface/windows/os_time_win.h"
namespace OCLRT {
class MockOSTimeWin : public OSTimeWin {
public:
MockOSTimeWin(OSInterface *osInterface) : OSTimeWin(osInterface){};
void overrideQueryPerformanceCounterFunction(decltype(&QueryPerformanceCounter) function) {
this->QueryPerfomanceCounterFnc = function;
}
void setFrequency(LARGE_INTEGER frequency) {
this->frequency = frequency;
}
};
} // namespace OCLRT | 23.791667 | 95 | 0.725044 |
086ec52f7055b1a5db167b9beae863f1aeb378c5 | 5,766 | h | C | src/generated/Alias.pbobjc.h | tokenio/sdk-objc | 662ca0254d781f1408fdc520cb28507d1f4fe39c | [
"MIT"
] | 2 | 2017-10-20T20:58:24.000Z | 2018-01-15T22:47:15.000Z | src/generated/Alias.pbobjc.h | tokenio/sdk-objc | 662ca0254d781f1408fdc520cb28507d1f4fe39c | [
"MIT"
] | 16 | 2017-10-23T20:06:02.000Z | 2020-05-14T09:10:02.000Z | src/generated/Alias.pbobjc.h | tokenio/sdk-objc | 662ca0254d781f1408fdc520cb28507d1f4fe39c | [
"MIT"
] | 1 | 2019-05-21T10:37:52.000Z | 2019-05-21T10:37:52.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: alias.proto
// This CPP symbol can be defined to use imports that match up to the framework
// imports needed when using CocoaPods.
#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
#define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
#endif
#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
#import <Protobuf/GPBProtocolBuffers.h>
#else
#import "GPBProtocolBuffers.h"
#endif
#if GOOGLE_PROTOBUF_OBJC_VERSION < 30004
#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
#endif
#if 30004 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
#endif
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
@class Alias;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - Enum VerificationStatus
/**
* When the user verifies an alias, e.g. by entering a code,
* the verification may succeed or fail in one of several ways.
**/
typedef GPB_ENUM(VerificationStatus) {
/**
* Value used if any message's field encounters a value that is not defined
* by this enum. The message will also have C functions to get/set the rawValue
* of the field.
**/
VerificationStatus_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
VerificationStatus_Invalid = 0,
VerificationStatus_Unknown = 1,
VerificationStatus_Success = 2,
VerificationStatus_IncorrectCode = 3,
VerificationStatus_ExpiredCode = 4,
/** reached the limit of attempts to enter a specific code */
VerificationStatus_TooManyCodeAttempts = 5,
};
GPBEnumDescriptor *VerificationStatus_EnumDescriptor(void);
/**
* Checks to see if the given value is defined by the enum or was not known at
* the time this source was generated.
**/
BOOL VerificationStatus_IsValidValue(int32_t value);
#pragma mark - Enum Alias_Type
typedef GPB_ENUM(Alias_Type) {
/**
* Value used if any message's field encounters a value that is not defined
* by this enum. The message will also have C functions to get/set the rawValue
* of the field.
**/
Alias_Type_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
Alias_Type_Invalid = 0,
/**
* Unknown type. Useful for UI: For example, if user wants to pay "sandy\@example.com",
* let server determine that's an EMAIL alias.
**/
Alias_Type_Unknown = 1,
/** Email address. For example, "sandy\@example.com". */
Alias_Type_Email = 2,
/** Phone number. */
Alias_Type_Phone = 3,
/** Business web domain. Please contact Token to verify. */
Alias_Type_Domain = 4,
/** deprecated */
Alias_Type_Username = 5,
/** for banks only */
Alias_Type_Bank = 6,
/** Custom type, for instance a bank specific customer ID. */
Alias_Type_Custom = 7,
/** The unique PSD2 auth number of the company that provides eIDAS certificate */
Alias_Type_Eidas = 8,
};
GPBEnumDescriptor *Alias_Type_EnumDescriptor(void);
/**
* Checks to see if the given value is defined by the enum or was not known at
* the time this source was generated.
**/
BOOL Alias_Type_IsValidValue(int32_t value);
#pragma mark - AliasRoot
/**
* Exposes the extension registry for this file.
*
* The base class provides:
* @code
* + (GPBExtensionRegistry *)extensionRegistry;
* @endcode
* which is a @c GPBExtensionRegistry that includes all the extensions defined by
* this file and all files that it depends on.
**/
GPB_FINAL @interface AliasRoot : GPBRootObject
@end
#pragma mark - Alias
typedef GPB_ENUM(Alias_FieldNumber) {
Alias_FieldNumber_Type = 1,
Alias_FieldNumber_Value = 2,
Alias_FieldNumber_Realm = 3,
Alias_FieldNumber_RealmId = 4,
};
/**
* An Alias refers to a member in a "human readable" way.
* Normally, an alias must be verified before it's useful.
* E.g., payments to { EMAIL, "sandy\@example.com" } work only if
* some member has verified receiving an email at that address.
**/
GPB_FINAL @interface Alias : GPBMessage
/** For example, EMAIL. */
@property(nonatomic, readwrite) Alias_Type type;
/** For example, "sandy\@example.com" */
@property(nonatomic, readwrite, copy, null_resettable) NSString *value;
/** For example, "token" */
@property(nonatomic, readwrite, copy, null_resettable) NSString *realm GPB_DEPRECATED_MSG("io.token.proto.common.alias.Alias.realm is deprecated (see alias.proto).");
/** member_id of existing Member */
@property(nonatomic, readwrite, copy, null_resettable) NSString *realmId;
@end
/**
* Fetches the raw value of a @c Alias's @c type property, even
* if the value was not defined by the enum at the time the code was generated.
**/
int32_t Alias_Type_RawValue(Alias *message);
/**
* Sets the raw value of an @c Alias's @c type property, allowing
* it to be set to a value that was not defined by the enum at the time the code
* was generated.
**/
void SetAlias_Type_RawValue(Alias *message, int32_t value);
#pragma mark - VerifyAliasPayload
typedef GPB_ENUM(VerifyAliasPayload_FieldNumber) {
VerifyAliasPayload_FieldNumber_MemberId = 1,
VerifyAliasPayload_FieldNumber_Alias = 2,
};
/**
* Payload containing a member ID and an alias, used in alias verification.
**/
GPB_FINAL @interface VerifyAliasPayload : GPBMessage
@property(nonatomic, readwrite, copy, null_resettable) NSString *memberId;
@property(nonatomic, readwrite, strong, null_resettable) Alias *alias;
/** Test to see if @c alias has been set. */
@property(nonatomic, readwrite) BOOL hasAlias;
@end
NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
| 29.269036 | 166 | 0.751474 |
08f3262c8eaeb1cb059c707e9918e20a2907f3ba | 5,713 | h | C | Modules/Registration/Common/include/itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h | Hakkk2002/ITK | c913ab3acfcc2b78ce952cb6d2e11238bf4ec517 | [
"Apache-2.0"
] | null | null | null | Modules/Registration/Common/include/itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h | Hakkk2002/ITK | c913ab3acfcc2b78ce952cb6d2e11238bf4ec517 | [
"Apache-2.0"
] | 1 | 2017-08-18T19:28:52.000Z | 2017-08-18T19:28:52.000Z | Modules/Registration/Common/include/itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.h | Hakkk2002/ITK | c913ab3acfcc2b78ce952cb6d2e11238bf4ec517 | [
"Apache-2.0"
] | 1 | 2017-08-18T19:07:39.000Z | 2017-08-18T19:07:39.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* 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 itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h
#define itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h
#include "itkConstantVelocityFieldTransformParametersAdaptor.h"
namespace itk
{
/** \class BSplineExponentialDiffeomorphicTransformParametersAdaptor
* \brief Helper class for multiresolution image registration
*
* \author Nick Tustison
*
* \ingroup ITKRegistrationCommon
*/
template<typename TTransform>
class ITK_TEMPLATE_EXPORT BSplineExponentialDiffeomorphicTransformParametersAdaptor
: public ConstantVelocityFieldTransformParametersAdaptor<TTransform>
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(BSplineExponentialDiffeomorphicTransformParametersAdaptor);
/** Standard class type aliases. */
using Self = BSplineExponentialDiffeomorphicTransformParametersAdaptor;
using Superclass = ConstantVelocityFieldTransformParametersAdaptor<TTransform>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
/** New macro for creation of through a Smart Pointer. */
itkNewMacro( Self );
/** Run-time type information (and related methods). */
itkTypeMacro( BSplineExponentialDiffeomorphicTransformParametersAdaptor,
BSplineSmoothingOnUpdateDisplacementFieldTransformParametersAdaptor );
using TransformType = TTransform;
using ScalarType = typename TransformType::ScalarType;
using SplineOrderType = typename TransformType::SplineOrderType;
using ArrayType = typename TransformType::ArrayType;
/** Dimension of parameters. */
static constexpr unsigned int SpaceDimension = TransformType::Dimension;
/**
* Set the control point grid size defining the B-spline estimate of the
* velocity field. In each dimension, the B-spline mesh size is equal
* to the number of control points in that dimension minus the spline order.
* Default = 4 control points in each dimension for a mesh size of 1 in each
* dimension.
*/
virtual void SetNumberOfControlPointsForTheConstantVelocityField( const ArrayType & );
/**
* Get the control point grid size defining the B-spline estimate of the
* velocity field. In each dimension, the B-spline mesh size is equal
* to the number of control points in that dimension minus the spline order.
* Default = 4 control points in each dimension for a mesh size of 1 in each
* dimension.
*/
itkGetConstMacro( NumberOfControlPointsForTheConstantVelocityField, ArrayType );
/**
* Set the control point grid size defining the B-spline estimate of the
* update field. In each dimension, the B-spline mesh size is equal
* to the number of control points in that dimension minus the spline order.
* Default = 4 control points in each dimension for a mesh size of 1 in each
* dimension.
*/
virtual void SetNumberOfControlPointsForTheUpdateField( const ArrayType & );
/**
* Get the control point grid size defining the B-spline estimate of the
* update field. In each dimension, the B-spline mesh size is equal
* to the number of control points in that dimension minus the spline order.
* Default = 4 control points in each dimension for a mesh size of 1 in each
* dimension.
*/
itkGetConstMacro( NumberOfControlPointsForTheUpdateField, ArrayType );
/**
* Set the velocity field mesh size which is used to specify the control point
* grid size. The mesh size in each dimension is calculated as the
* difference between the control point grid size and the spline order, i.e.
* meshSize = controlPointGridSize - SplineOrder.
*/
void SetMeshSizeForTheConstantVelocityField( const ArrayType & );
/**
* Set the update field mesh size which is used to specify the control point
* grid size. The mesh size in each dimension is calculated as the
* difference between the control point grid size and the spline order, i.e.
* meshSize = controlPointGridSize - SplineOrder.
*/
void SetMeshSizeForTheUpdateField( const ArrayType & );
/**
* Change the displacement field fixed parameters
*/
void AdaptTransformParameters() override;
protected:
BSplineExponentialDiffeomorphicTransformParametersAdaptor();
~BSplineExponentialDiffeomorphicTransformParametersAdaptor() override = default;
void PrintSelf( std::ostream & os, Indent indent ) const override;
private:
ArrayType m_NumberOfControlPointsForTheConstantVelocityField;
ModifiedTimeType m_NumberOfControlPointsForTheConstantVelocityFieldSetTime;
ArrayType m_NumberOfControlPointsForTheUpdateField;
ModifiedTimeType m_NumberOfControlPointsForTheUpdateFieldSetTime;
}; //class BSplineExponentialDiffeomorphicTransformParametersAdaptor
} // namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
#include "itkBSplineExponentialDiffeomorphicTransformParametersAdaptor.hxx"
#endif
#endif /* itkBSplineExponentialDiffeomorphicTransformParametersAdaptor_h */
| 41.398551 | 90 | 0.752144 |
834b6bfb8157b333c3a51db34f21019872be4851 | 1,726 | c | C | tests/hilti/c-api/struct-return-c.c | asilha/hilti | ebfffc7dad31059b43a02eb26abcf7a25f742eb8 | [
"BSD-3-Clause"
] | 46 | 2015-01-21T13:31:25.000Z | 2020-10-27T10:18:03.000Z | tests/hilti/c-api/struct-return-c.c | jjchromik/hilti-104-total | 0f9e0cb7114acc157211af24f8254e4b23bd78a5 | [
"BSD-3-Clause"
] | 29 | 2015-03-30T08:23:04.000Z | 2019-05-03T13:11:35.000Z | tests/hilti/c-api/struct-return-c.c | jjchromik/hilti-104-total | 0f9e0cb7114acc157211af24f8254e4b23bd78a5 | [
"BSD-3-Clause"
] | 20 | 2015-01-27T12:59:38.000Z | 2020-10-28T21:40:47.000Z | /* $Id
*
* @TEST-IGNORE
*/
#include <libhilti.h>
struct A {
int8_t x;
};
struct B {
int16_t x;
};
struct C {
int32_t x;
};
struct D {
int64_t x;
};
struct E {
int8_t x;
int8_t y;
};
struct F {
int16_t x;
int16_t y;
};
struct G {
int32_t x;
int32_t y;
};
struct H {
int64_t x;
int64_t y;
};
struct I {
int8_t x;
int8_t y;
int8_t z;
};
struct J {
int32_t x;
int32_t y;
int32_t z;
};
struct K {
int32_t x;
int64_t y;
};
struct L {
double d;
hlt_string s;
};
struct M {
double d;
int8_t i;
};
struct A fa() {
struct A q;
q.x = 1;
return q;
}
struct B fb() {
struct B q;
q.x = 1;
return q;
}
struct C fc() {
struct C q;
q.x = 1;
return q;
}
struct D fd() {
struct D q;
q.x = 1;
return q;
}
struct E fe() {
struct E q;
q.x = 1;
q.y = 2;
return q;
}
struct F ff() {
struct F q;
q.x = 1;
q.y = 2;
return q;
}
struct G fg() {
struct G q;
q.x = 1;
q.y = 2;
return q;
}
struct H fh() {
struct H q;
q.x = 1;
q.y = 2;
return q;
}
struct I fi() {
struct I q;
q.x = 1;
q.y = 2;
q.z = 3;
return q;
}
struct J fj() {
struct J q;
q.x = 1;
q.y = 2;
q.z = 3;
return q;
}
struct K fk() {
struct K k;
k.x = 1;
k.y = 2;
return k;
}
struct L fl() {
hlt_exception* excpt = 0;
struct L l;
l.d = 42.0;
l.s = hlt_string_from_asciiz("OK", &excpt, hlt_global_execution_context());
return l;
}
struct M fm() {
hlt_exception* excpt = 0;
struct M m;
m.d = 42.0;
m.i = 99;
return m;
}
void LLL()
{
struct L l = fl();
}
| 10.27381 | 79 | 0.466396 |
83b2c12d958aa8dfa078285ecb0e67ab5e57c57a | 3,463 | c | C | C_codes/All_C_codes/70. Array of Emp structure.c | shmanmode/my_code_base | 2e496dee74da4ce52937dc8e1c5f71f5225a95dc | [
"Apache-2.0"
] | null | null | null | C_codes/All_C_codes/70. Array of Emp structure.c | shmanmode/my_code_base | 2e496dee74da4ce52937dc8e1c5f71f5225a95dc | [
"Apache-2.0"
] | null | null | null | C_codes/All_C_codes/70. Array of Emp structure.c | shmanmode/my_code_base | 2e496dee74da4ce52937dc8e1c5f71f5225a95dc | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
#include<string.h>
#define SIZE 3
#pragma pack(1)
#define TRUE 1
#define FALSE 0
struct date
{
int dd;
int mm;
int yy;
};
struct emp
{
int empno;
char empname[10];
float sal;
struct date doj;
};
/*struct emp
{
int empno;
char empname[10];
float sal;
struct date
{
int dd;
int mm;
int yy;
}doj;
};*/
void AcceptEmpInfo(struct emp e1[], int size);
void DisplayEmpInfo(const struct emp e1[], int size);
void AcceptDate(struct date *d1);
void DisplayDate(const struct date *d1);
int IsValidDate(const struct date *d1);
void SortAscEmpByEmpNo(struct emp e1[], int size);
struct emp* SearchEmpByNo(struct emp e1[], int size, int key);
int main(void)
{
struct emp e[SIZE], *ptr=NULL;
int find;
printf("\n Enter Emp deatils :: \n");
AcceptEmpInfo(e, SIZE);
printf("\n Emp Info before sort \n ");
DisplayEmpInfo(e,SIZE);
//SortAscEmpByEmpNo(e, SIZE);
//printf("\n Emp Info in after sort \n ");
//DisplayEmpInfo(e,SIZE);
printf("\n Enter Emp to search :: ");
scanf("%d", &find);
ptr= SearchEmpByNo(e, SIZE, find);
if(ptr==NULL)
printf("\n %d is not found in array", find);
else
{
printf("\n %d is found in %d position", find, ptr-e);
DisplayEmpInfo(ptr, 1);
}
return 0;
}
struct emp* SearchEmpByNo(struct emp e1[], int size, int key)
{
int i;
for(i=0; i<SIZE; i++)
{
if(e1[i].empno==key)
return &e1[i];
}
return NULL;
}
void AcceptEmpInfo(struct emp e1[], int size)
{
int i;
for(i=0;i<size; i++)
{
printf("\n enter Emp No :: ");
scanf("%d", &e1[i].empno);
printf("\n enter Emp Name :: ");
scanf("%*c%s", e1[i].empname);
printf("\n Enter Emp Sal :: ");
scanf("%f", &e1[i].sal);
do
{
AcceptDate(&e1[i].doj);
}while(!IsValidDate(&e1[i].doj));
}
/* printf("\n Enter Emp doj in dd-mm-yyyy format ::");
scanf("%d%*c%d%*c%d", &e1->doj.dd, &e1->doj.mm, &e1->doj.yy );*/
return;
}
void SortAscEmpByEmpNo(struct emp e1[], int size)
{
int i, j;
struct emp temp;
for(i=0; i<size; i++)
{
for(j=i+1; j<size; j++)
{
//if(e1[i].empno>e1[j].empno ) // sort asc by empno
//if(strcmp(e1[i].empname, e1[j]. empname)>0)
if(e1[i].doj.yy > e1[j].doj.yy )
{
temp= e1[i];
e1[i]=e1[j];
e1[j]=temp;
}
else if(e1[i].doj.yy == e1[j].doj.yy && e1[i].doj.mm > e1[j].doj.mm )
{
temp= e1[i];
e1[i]=e1[j];
e1[j]=temp;
}
else if(e1[i].doj.yy == e1[j].doj.yy && e1[i].doj.mm == e1[j].doj.mm && e1[i].doj.dd > e1[j].doj.dd )
{
temp= e1[i];
e1[i]=e1[j];
e1[j]=temp;
}
}
}
}
void DisplayEmpInfo(const struct emp e1[], int size)
{
//e1->sal=0;
int i;
printf("\n EmpNo Name Sal Doj\n");
for(i=0; i<size; i++)
{
printf("\n %-6d%-10s %-6.2f ", e1[i].empno, e1[i].empname, e1[i].sal);
DisplayDate(&e1[i].doj);
}
//printf("\n %d %s %f %d-%d-%d", e1->empno, e1->empname, e1->sal, e1->doj.mm, e1->doj.dd, e1->doj.yy);
return;
}
void AcceptDate(struct date *d1)
{
printf("\n Enter doj in dd-mm-yyyy format ::");
scanf("%d%*c%d%*c%d", &d1->dd, &d1->mm, &d1->yy );
}
void DisplayDate(const struct date *d1)
{
printf(" \t %d-%d-%d", d1->dd, d1->mm, d1->yy);
}
int IsValidDate(const struct date *d1)
{
int DaysInMonth[]={31, 28, 31,30,31,30,31,31, 30, 31,30, 31};
if(d1->yy%4==0)
DaysInMonth[1]=29; // leap
if(!( d1->yy>=100 && d1->yy<=9999))
return FALSE;
if(!( d1->mm>=1 && d1->mm<=12))
return FALSE;
if(!( d1->dd>=1 && d1->dd <= DaysInMonth[d1->mm -1]))
return FALSE;
return TRUE;
}
| 19.676136 | 105 | 0.579267 |
39e30669559518c068ed1b5a62f2dc61b80af609 | 2,760 | c | C | Modules/_opcode.c | Horcruxes/cpython | 1cbaa505d007e11c4a1f0d2073d72b6c02c7147c | [
"0BSD"
] | 173 | 2018-07-17T18:30:35.000Z | 2022-03-29T13:36:01.000Z | Modules/_opcode.c | Horcruxes/cpython | 1cbaa505d007e11c4a1f0d2073d72b6c02c7147c | [
"0BSD"
] | 148 | 2020-02-26T01:08:34.000Z | 2022-03-01T15:00:59.000Z | Modules/_opcode.c | Horcruxes/cpython | 1cbaa505d007e11c4a1f0d2073d72b6c02c7147c | [
"0BSD"
] | 25 | 2018-07-18T04:10:54.000Z | 2022-03-23T13:27:26.000Z | #include "Python.h"
#include "opcode.h"
#include "internal/pycore_code.h"
/*[clinic input]
module _opcode
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=117442e66eb376e6]*/
#include "clinic/_opcode.c.h"
/*[clinic input]
_opcode.stack_effect -> int
opcode: int
oparg: object = None
/
*
jump: object = None
Compute the stack effect of the opcode.
[clinic start generated code]*/
static int
_opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg,
PyObject *jump)
/*[clinic end generated code: output=64a18f2ead954dbb input=461c9d4a44851898]*/
{
int effect;
int oparg_int = 0;
int jump_int;
if (HAS_ARG(opcode)) {
if (oparg == Py_None) {
PyErr_SetString(PyExc_ValueError,
"stack_effect: opcode requires oparg but oparg was not specified");
return -1;
}
oparg_int = (int)PyLong_AsLong(oparg);
if ((oparg_int == -1) && PyErr_Occurred()) {
return -1;
}
}
else if (oparg != Py_None) {
PyErr_SetString(PyExc_ValueError,
"stack_effect: opcode does not permit oparg but oparg was specified");
return -1;
}
if (jump == Py_None) {
jump_int = -1;
}
else if (jump == Py_True) {
jump_int = 1;
}
else if (jump == Py_False) {
jump_int = 0;
}
else {
PyErr_SetString(PyExc_ValueError,
"stack_effect: jump must be False, True or None");
return -1;
}
if (IS_ARTIFICIAL(opcode)) {
effect = PY_INVALID_STACK_EFFECT;
}
else {
effect = PyCompile_OpcodeStackEffectWithJump(opcode, oparg_int, jump_int);
}
if (effect == PY_INVALID_STACK_EFFECT) {
PyErr_SetString(PyExc_ValueError,
"invalid opcode or oparg");
return -1;
}
return effect;
}
/*[clinic input]
_opcode.get_specialization_stats
Return the specialization stats
[clinic start generated code]*/
static PyObject *
_opcode_get_specialization_stats_impl(PyObject *module)
/*[clinic end generated code: output=fcbc32fdfbec5c17 input=e1f60db68d8ce5f6]*/
{
#if COLLECT_SPECIALIZATION_STATS
return _Py_GetSpecializationStats();
#else
Py_RETURN_NONE;
#endif
}
static PyMethodDef
opcode_functions[] = {
_OPCODE_STACK_EFFECT_METHODDEF
_OPCODE_GET_SPECIALIZATION_STATS_METHODDEF
{NULL, NULL, 0, NULL}
};
static struct PyModuleDef opcodemodule = {
PyModuleDef_HEAD_INIT,
.m_name = "_opcode",
.m_doc = "Opcode support module.",
.m_size = 0,
.m_methods = opcode_functions
};
PyMODINIT_FUNC
PyInit__opcode(void)
{
return PyModuleDef_Init(&opcodemodule);
}
| 24 | 87 | 0.646377 |
232e9b341dd9767d445c8ecbd0fed583c747cc7b | 50,849 | h | C | horse.h | programmerjake/djgpp-test3d | 9e732242a9ba24ae8ea3f513a35725d76245b84a | [
"MIT"
] | null | null | null | horse.h | programmerjake/djgpp-test3d | 9e732242a9ba24ae8ea3f513a35725d76245b84a | [
"MIT"
] | null | null | null | horse.h | programmerjake/djgpp-test3d | 9e732242a9ba24ae8ea3f513a35725d76245b84a | [
"MIT"
] | null | null | null | // Created by Obj2H by Jacob R. Lifshay
// Converted from "Horse.obj".
#ifndef SKIP_DEFINE_POLYGON
struct polygon
{
float x1, y1, z1;
float x2, y2, z2;
float x3, y3, z3;
float u1, v1;
float u2, v2;
float u3, v3;
};
#endif
polygon polys[] =
{
{-26.1154, 109.038, -18.1403, -23.2541, 97.6046, -23.8731, -24.2825, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{-23.2541, 97.6046, -23.8731, -21.4929, 92.9431, -38.1702, -24.2825, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{-13.3211, 82.6884, -23.3217, -21.4929, 92.9431, -38.1702, -23.2541, 97.6046, -23.8731, 0, 0, 1, 0, 0, 1},
{-21.2831, 124.589, -16.8194, -22.4083, 118.75, -35.0775, -13.2261, 131.012, -38.6992, 0, 0, 1, 0, 0, 1},
{-21.2831, 124.589, -16.8194, -26.1154, 109.038, -18.1403, -24.2825, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{-21.2831, 124.589, -16.8194, -24.2825, 107.918, -31.8782, -22.4083, 118.75, -35.0775, 0, 0, 1, 0, 0, 1},
{-22.4083, 118.75, -35.0775, -18.219, 107.725, -49.9311, -13.2261, 131.012, -38.6992, 0, 0, 1, 0, 0, 1},
{-24.2825, 107.918, -31.8782, -21.4929, 92.9431, -38.1702, -18.219, 107.725, -49.9311, 0, 0, 1, 0, 0, 1},
{-24.2825, 107.918, -31.8782, -18.219, 107.725, -49.9311, -22.4083, 118.75, -35.0775, 0, 0, 1, 0, 0, 1},
{-4.9912, 136.487, -15.8088, -13.2261, 131.012, -38.6992, 4.6409, 135.163, -39.9249, 0, 0, 1, 0, 0, 1},
{-4.9912, 136.487, -15.8088, -21.2831, 124.589, -16.8194, -13.2261, 131.012, -38.6992, 0, 0, 1, 0, 0, 1},
{-13.2261, 131.012, -38.6992, -4.2727, 116.097, -56.5921, 4.6409, 135.163, -39.9249, 0, 0, 1, 0, 0, 1},
{-13.2261, 131.012, -38.6992, -18.219, 107.725, -49.9311, -4.2727, 116.097, -56.5921, 0, 0, 1, 0, 0, 1},
{14.2244, 132.306, -16.1639, 4.6409, 135.163, -39.9249, 19.7892, 123.353, -36.437, 0, 0, 1, 0, 0, 1},
{-4.9912, 136.487, -15.8088, 4.6409, 135.163, -39.9249, 14.2244, 132.306, -16.1639, 0, 0, 1, 0, 0, 1},
{19.7892, 123.353, -36.437, 4.6409, 135.163, -39.9249, 12.1765, 113.155, -54.2514, 0, 0, 1, 0, 0, 1},
{4.6409, 135.163, -39.9249, -4.2727, 116.097, -56.5921, 12.1765, 113.155, -54.2514, 0, 0, 1, 0, 0, 1},
{24.0998, 119.952, -17.2133, 19.7892, 123.353, -36.437, 24.2824, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{24.0998, 119.952, -17.2133, 24.2824, 107.918, -31.8782, 26.1154, 109.038, -18.1403, 0, 0, 1, 0, 0, 1},
{14.2244, 132.306, -16.1639, 19.7892, 123.353, -36.437, 24.0998, 119.952, -17.2133, 0, 0, 1, 0, 0, 1},
{24.2824, 107.918, -31.8782, 19.7892, 123.353, -36.437, 20.63, 104.462, -47.3347, 0, 0, 1, 0, 0, 1},
{24.2824, 107.918, -31.8782, 20.63, 104.462, -47.3347, 21.4927, 92.9431, -38.1702, 0, 0, 1, 0, 0, 1},
{19.7892, 123.353, -36.437, 12.1765, 113.155, -54.2514, 20.63, 104.462, -47.3347, 0, 0, 1, 0, 0, 1},
{26.1154, 109.038, -18.1403, 24.2824, 107.918, -31.8782, 23.254, 97.6046, -23.8731, 0, 0, 1, 0, 0, 1},
{16.813, 85.4709, -26.4151, 23.254, 97.6046, -23.8731, 21.4927, 92.9431, -38.1702, 0, 0, 1, 0, 0, 1},
{23.254, 97.6046, -23.8731, 24.2824, 107.918, -31.8782, 21.4927, 92.9431, -38.1702, 0, 0, 1, 0, 0, 1},
{-22.2037, 13.9105, -6.7411, -12.0027, 13.7428, -13.4011, -11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{-22.2037, 13.9105, -6.7411, -11.192, 59.9426, -13.2453, -20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{-12.0027, 13.7428, -13.4011, 0, 13.6828, -15.7842, 0, 59.4626, -15.1805, 0, 0, 1, 0, 0, 1},
{-12.0027, 13.7428, -13.4011, 0, 59.4626, -15.1805, -11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{-20.7041, 61.2846, -7.837, -11.192, 59.9426, -13.2453, -13.3211, 82.6884, -23.3217, 0, 0, 1, 0, 0, 1},
{-20.7041, 61.2846, -7.837, -13.3211, 82.6884, -23.3217, -19.552, 83.5316, -12.9164, 0, 0, 1, 0, 0, 1},
{-11.192, 59.9426, -13.2453, 0, 59.4626, -15.1805, 4.9145, 79.0839, -20.3291, 0, 0, 1, 0, 0, 1},
{-11.192, 59.9426, -13.2453, 4.9145, 79.0839, -20.3291, -13.3211, 82.6884, -23.3217, 0, 0, 1, 0, 0, 1},
{-28.15, 64.4931, 5.0997, -31.4008, 14.4602, 15.0906, -28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{-28.9771, 14.163, 3.289, -22.2037, 13.9105, -6.7411, -20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{-28.9771, 14.163, 3.289, -20.7041, 61.2846, -7.837, -28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{-28.15, 64.4931, 5.0997, -20.7041, 61.2846, -7.837, -19.552, 83.5316, -12.9164, 0, 0, 1, 0, 0, 1},
{-28.15, 64.4931, 5.0997, -19.552, 83.5316, -12.9164, -26.5836, 92.9946, -5.334, 0, 0, 1, 0, 0, 1},
{-26.5836, 92.9946, -5.334, -23.2541, 97.6046, -23.8731, -26.1154, 109.038, -18.1403, 0, 0, 1, 0, 0, 1},
{-19.552, 83.5316, -12.9164, -13.3211, 82.6884, -23.3217, -23.2541, 97.6046, -23.8731, 0, 0, 1, 0, 0, 1},
{-19.552, 83.5316, -12.9164, -23.2541, 97.6046, -23.8731, -26.5836, 92.9946, -5.334, 0, 0, 1, 0, 0, 1},
{-23.862, 69.0696, 23.5475, -22.2037, 15.0099, 36.9224, -28.9771, 14.7574, 26.8922, 0, 0, 1, 0, 0, 1},
{-23.862, 69.0696, 23.5475, -28.9771, 14.7574, 26.8922, -31.4008, 14.4602, 15.0906, 0, 0, 1, 0, 0, 1},
{-23.862, 69.0696, 23.5475, -31.4008, 14.4602, 15.0906, -28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{-28.15, 64.4931, 5.0997, -26.5836, 92.9946, -5.334, -22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{-28.15, 64.4931, 5.0997, -22.5343, 106.489, 5.4787, -23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-22.5343, 106.489, 5.4787, -26.5836, 92.9946, -5.334, -26.1154, 109.038, -18.1403, 0, 0, 1, 0, 0, 1},
{-22.5343, 106.489, 5.4787, -26.1154, 109.038, -18.1403, -21.2831, 124.589, -16.8194, 0, 0, 1, 0, 0, 1},
{0, 71.9016, 34.9633, 0, 15.2376, 45.9653, -12.0027, 15.1776, 43.5823, 0, 0, 1, 0, 0, 1},
{0, 71.9016, 34.9633, -12.0027, 15.1776, 43.5823, -11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{-11.192, 71.4216, 33.028, -12.0027, 15.1776, 43.5823, -22.2037, 15.0099, 36.9224, 0, 0, 1, 0, 0, 1},
{-11.192, 71.4216, 33.028, -22.2037, 15.0099, 36.9224, -23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-11.192, 71.4216, 33.028, -5.2846, 114.132, 11.6026, 0, 71.9016, 34.9633, 0, 0, 1, 0, 0, 1},
{-23.862, 69.0696, 23.5475, -22.5343, 106.489, 5.4787, -5.2846, 114.132, 11.6026, 0, 0, 1, 0, 0, 1},
{-23.862, 69.0696, 23.5475, -5.2846, 114.132, 11.6026, -11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{-5.2846, 114.132, 11.6026, -22.5343, 106.489, 5.4787, -21.2831, 124.589, -16.8194, 0, 0, 1, 0, 0, 1},
{-5.2846, 114.132, 11.6026, -21.2831, 124.589, -16.8194, -4.9912, 136.487, -15.8088, 0, 0, 1, 0, 0, 1},
{22.2037, 15.0099, 36.9224, 12.0027, 15.1776, 43.5823, 11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{22.2037, 15.0099, 36.9224, 11.192, 71.4216, 33.028, 23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{12.0027, 15.1776, 43.5823, 0, 15.2376, 45.9653, 0, 71.9016, 34.9633, 0, 0, 1, 0, 0, 1},
{12.0027, 15.1776, 43.5823, 0, 71.9016, 34.9633, 11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{23.862, 69.0696, 23.5475, 11.192, 71.4216, 33.028, 10.5693, 113.424, 11.0354, 0, 0, 1, 0, 0, 1},
{23.862, 69.0696, 23.5475, 10.5693, 113.424, 11.0354, 22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{11.192, 71.4216, 33.028, 0, 71.9016, 34.9633, -5.2846, 114.132, 11.6026, 0, 0, 1, 0, 0, 1},
{11.192, 71.4216, 33.028, -5.2846, 114.132, 11.6026, 10.5693, 113.424, 11.0354, 0, 0, 1, 0, 0, 1},
{10.5693, 113.424, 11.0354, 14.2244, 132.306, -16.1639, 22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{-5.2846, 114.132, 11.6026, -4.9912, 136.487, -15.8088, 14.2244, 132.306, -16.1639, 0, 0, 1, 0, 0, 1},
{-5.2846, 114.132, 11.6026, 14.2244, 132.306, -16.1639, 10.5693, 113.424, 11.0354, 0, 0, 1, 0, 0, 1},
{31.4008, 14.4602, 15.0906, 28.9771, 14.7574, 26.8922, 23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{31.4008, 14.4602, 15.0906, 23.862, 69.0696, 23.5475, 28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{28.9771, 14.7574, 26.8922, 22.2037, 15.0099, 36.9224, 23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{28.15, 64.4931, 5.0997, 23.862, 69.0696, 23.5475, 22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{28.15, 64.4931, 5.0997, 22.5343, 106.489, 5.4787, 26.5836, 92.9946, -5.334, 0, 0, 1, 0, 0, 1},
{22.5343, 106.489, 5.4787, 24.0998, 119.952, -17.2133, 26.1154, 109.038, -18.1403, 0, 0, 1, 0, 0, 1},
{22.5343, 106.489, 5.4787, 26.1154, 109.038, -18.1403, 26.5836, 92.9946, -5.334, 0, 0, 1, 0, 0, 1},
{22.5343, 106.489, 5.4787, 14.2244, 132.306, -16.1639, 24.0998, 119.952, -17.2133, 0, 0, 1, 0, 0, 1},
{20.7041, 61.2846, -7.837, 22.2037, 13.9105, -6.7411, 28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{20.7041, 61.2846, -7.837, 28.9771, 14.163, 3.289, 28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{28.9771, 14.163, 3.289, 31.4008, 14.4602, 15.0906, 28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{28.15, 64.4931, 5.0997, 26.5836, 92.9946, -5.334, 19.552, 83.5316, -12.9164, 0, 0, 1, 0, 0, 1},
{28.15, 64.4931, 5.0997, 19.552, 83.5316, -12.9164, 20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{19.552, 83.5316, -12.9164, 26.5836, 92.9946, -5.334, 23.254, 97.6046, -23.8731, 0, 0, 1, 0, 0, 1},
{19.552, 83.5316, -12.9164, 23.254, 97.6046, -23.8731, 16.813, 85.4709, -26.4151, 0, 0, 1, 0, 0, 1},
{26.5836, 92.9946, -5.334, 26.1154, 109.038, -18.1403, 23.254, 97.6046, -23.8731, 0, 0, 1, 0, 0, 1},
{0, 59.4626, -15.1805, 0, 13.6828, -15.7842, 12.0027, 13.7428, -13.4011, 0, 0, 1, 0, 0, 1},
{0, 59.4626, -15.1805, 12.0027, 13.7428, -13.4011, 11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{11.192, 59.9426, -13.2453, 12.0027, 13.7428, -13.4011, 22.2037, 13.9105, -6.7411, 0, 0, 1, 0, 0, 1},
{11.192, 59.9426, -13.2453, 22.2037, 13.9105, -6.7411, 20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{11.192, 59.9426, -13.2453, 4.9145, 79.0839, -20.3291, 0, 59.4626, -15.1805, 0, 0, 1, 0, 0, 1},
{20.7041, 61.2846, -7.837, 19.552, 83.5316, -12.9164, 4.9145, 79.0839, -20.3291, 0, 0, 1, 0, 0, 1},
{20.7041, 61.2846, -7.837, 4.9145, 79.0839, -20.3291, 11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{4.9145, 79.0839, -20.3291, 19.552, 83.5316, -12.9164, 16.813, 85.4709, -26.4151, 0, 0, 1, 0, 0, 1},
{-14.0891, 60.3956, -34.61, -16.6207, 74.4671, -34.4328, -3.6019, 65.5554, -26.6639, 0, 0, 1, 0, 0, 1},
{-3.6019, 65.5554, -26.6639, -13.3211, 82.6884, -23.3217, 4.9145, 79.0839, -20.3291, 0, 0, 1, 0, 0, 1},
{-16.6207, 74.4671, -34.4328, -13.3211, 82.6884, -23.3217, -3.6019, 65.5554, -26.6639, 0, 0, 1, 0, 0, 1},
{-15.6751, 60.4616, -49.5815, -20.3932, 79.3316, -44.9753, -16.6207, 74.4671, -34.4328, 0, 0, 1, 0, 0, 1},
{-15.6751, 60.4616, -49.5815, -16.6207, 74.4671, -34.4328, -14.0891, 60.3956, -34.61, 0, 0, 1, 0, 0, 1},
{-16.6207, 74.4671, -34.4328, -21.4929, 92.9431, -38.1702, -13.3211, 82.6884, -23.3217, 0, 0, 1, 0, 0, 1},
{-20.3932, 79.3316, -44.9753, -21.4929, 92.9431, -38.1702, -16.6207, 74.4671, -34.4328, 0, 0, 1, 0, 0, 1},
{-15.6751, 60.4616, -49.5815, -16.6187, 84.1976, -55.5159, -20.3932, 79.3316, -44.9753, 0, 0, 1, 0, 0, 1},
{-16.6187, 84.1976, -55.5159, -18.219, 107.725, -49.9311, -21.4929, 92.9431, -38.1702, 0, 0, 1, 0, 0, 1},
{-16.6187, 84.1976, -55.5159, -21.4929, 92.9431, -38.1702, -20.3932, 79.3316, -44.9753, 0, 0, 1, 0, 0, 1},
{-3.2989, 60.5221, -62.1895, -3.8973, 87.9201, -63.58, -16.6187, 84.1976, -55.5159, 0, 0, 1, 0, 0, 1},
{-3.2989, 60.5221, -62.1895, -16.6187, 84.1976, -55.5159, -15.6751, 60.4616, -49.5815, 0, 0, 1, 0, 0, 1},
{-3.8973, 87.9201, -63.58, -4.2727, 116.097, -56.5921, -18.219, 107.725, -49.9311, 0, 0, 1, 0, 0, 1},
{-3.8973, 87.9201, -63.58, -18.219, 107.725, -49.9311, -16.6187, 84.1976, -55.5159, 0, 0, 1, 0, 0, 1},
{-3.2989, 60.5221, -62.1895, 9.4023, 60.5086, -59.5117, 11.1065, 86.6121, -60.7463, 0, 0, 1, 0, 0, 1},
{-3.2989, 60.5221, -62.1895, 11.1065, 86.6121, -60.7463, -3.8973, 87.9201, -63.58, 0, 0, 1, 0, 0, 1},
{-3.8973, 87.9201, -63.58, 11.1065, 86.6121, -60.7463, 12.1765, 113.155, -54.2514, 0, 0, 1, 0, 0, 1},
{-3.8973, 87.9201, -63.58, 12.1765, 113.155, -54.2514, -4.2727, 116.097, -56.5921, 0, 0, 1, 0, 0, 1},
{9.4023, 60.5086, -59.5117, 16.6073, 60.4546, -48.0954, 18.8182, 82.7466, -52.3727, 0, 0, 1, 0, 0, 1},
{9.4023, 60.5086, -59.5117, 18.8182, 82.7466, -52.3727, 11.1065, 86.6121, -60.7463, 0, 0, 1, 0, 0, 1},
{16.6073, 60.4546, -48.0954, 19.6064, 77.6246, -41.2761, 18.8182, 82.7466, -52.3727, 0, 0, 1, 0, 0, 1},
{11.1065, 86.6121, -60.7463, 18.8182, 82.7466, -52.3727, 20.63, 104.462, -47.3347, 0, 0, 1, 0, 0, 1},
{11.1065, 86.6121, -60.7463, 20.63, 104.462, -47.3347, 12.1765, 113.155, -54.2514, 0, 0, 1, 0, 0, 1},
{18.8182, 82.7466, -52.3727, 19.6064, 77.6246, -41.2761, 21.4927, 92.9431, -38.1702, 0, 0, 1, 0, 0, 1},
{18.8182, 82.7466, -52.3727, 21.4927, 92.9431, -38.1702, 20.63, 104.462, -47.3347, 0, 0, 1, 0, 0, 1},
{16.6073, 60.4546, -48.0954, 12.6849, 60.3918, -33.6201, 19.6064, 77.6246, -41.2761, 0, 0, 1, 0, 0, 1},
{12.6849, 60.3918, -33.6201, 11.1086, 72.0531, -29.2008, 19.6064, 77.6246, -41.2761, 0, 0, 1, 0, 0, 1},
{19.6064, 77.6246, -41.2761, 11.1086, 72.0531, -29.2008, 16.813, 85.4709, -26.4151, 0, 0, 1, 0, 0, 1},
{19.6064, 77.6246, -41.2761, 16.813, 85.4709, -26.4151, 21.4927, 92.9431, -38.1702, 0, 0, 1, 0, 0, 1},
{12.6849, 60.3918, -33.6201, -3.6019, 65.5554, -26.6639, 11.1086, 72.0531, -29.2008, 0, 0, 1, 0, 0, 1},
{11.1086, 72.0531, -29.2008, 4.9145, 79.0839, -20.3291, 16.813, 85.4709, -26.4151, 0, 0, 1, 0, 0, 1},
{11.1086, 72.0531, -29.2008, -3.6019, 65.5554, -26.6639, 4.9145, 79.0839, -20.3291, 0, 0, 1, 0, 0, 1},
{-0.6251, 34.6225, -36.6946, -10.8548, 45.1377, -39.7713, 2.1661, 47.1108, -30.1371, 0, 0, 1, 0, 0, 1},
{-10.8548, 45.1377, -39.7713, -14.0891, 60.3956, -34.61, -3.6019, 65.5554, -26.6639, 0, 0, 1, 0, 0, 1},
{-10.8548, 45.1377, -39.7713, -3.6019, 65.5554, -26.6639, 2.1661, 47.1108, -30.1371, 0, 0, 1, 0, 0, 1},
{-10.8548, 45.1377, -39.7713, -15.6751, 60.4616, -49.5815, -14.0891, 60.3956, -34.61, 0, 0, 1, 0, 0, 1},
{-0.6251, 34.6225, -36.6946, -2.1521, 42.2108, -54.1003, -10.8548, 45.1377, -39.7713, 0, 0, 1, 0, 0, 1},
{-2.1521, 42.2108, -54.1003, -15.6751, 60.4616, -49.5815, -10.8548, 45.1377, -39.7713, 0, 0, 1, 0, 0, 1},
{-2.1521, 42.2108, -54.1003, -3.2989, 60.5221, -62.1895, -15.6751, 60.4616, -49.5815, 0, 0, 1, 0, 0, 1},
{-0.6251, 34.6225, -36.6946, 10.8404, 44.1625, -44.5406, -2.1521, 42.2108, -54.1003, 0, 0, 1, 0, 0, 1},
{-2.1521, 42.2108, -54.1003, 9.4023, 60.5086, -59.5117, -3.2989, 60.5221, -62.1895, 0, 0, 1, 0, 0, 1},
{-2.1521, 42.2108, -54.1003, 10.8404, 44.1625, -44.5406, 9.4023, 60.5086, -59.5117, 0, 0, 1, 0, 0, 1},
{10.8404, 44.1625, -44.5406, 16.6073, 60.4546, -48.0954, 9.4023, 60.5086, -59.5117, 0, 0, 1, 0, 0, 1},
{-0.6251, 34.6225, -36.6946, 2.1661, 47.1108, -30.1371, 10.8404, 44.1625, -44.5406, 0, 0, 1, 0, 0, 1},
{10.8404, 44.1625, -44.5406, 12.6849, 60.3918, -33.6201, 16.6073, 60.4546, -48.0954, 0, 0, 1, 0, 0, 1},
{10.8404, 44.1625, -44.5406, 2.1661, 47.1108, -30.1371, 12.6849, 60.3918, -33.6201, 0, 0, 1, 0, 0, 1},
{2.1661, 47.1108, -30.1371, -3.6019, 65.5554, -26.6639, 12.6849, 60.3918, -33.6201, 0, 0, 1, 0, 0, 1},
{-1.5349, 126.795, -40.2884, 0.387, 150.088, -32.3604, -7.7972, 140.049, -33.2244, 0, 0, 1, 0, 0, 1},
{-1.5349, 126.795, -40.2884, 5.9721, 135.223, -35.0311, 0.387, 150.088, -32.3604, 0, 0, 1, 0, 0, 1},
{-7.7972, 140.049, -33.2244, -2.4493, 132.772, -22.7165, -1.5349, 126.795, -40.2884, 0, 0, 1, 0, 0, 1},
{-1.5349, 126.795, -40.2884, -2.4493, 132.772, -22.7165, 5.9721, 135.223, -35.0311, 0, 0, 1, 0, 0, 1},
{-7.7972, 140.049, -33.2244, -2.3211, 148.883, -20.2306, -2.4493, 132.772, -22.7165, 0, 0, 1, 0, 0, 1},
{0.387, 150.088, -32.3604, -2.3211, 148.883, -20.2306, -7.7972, 140.049, -33.2244, 0, 0, 1, 0, 0, 1},
{5.9721, 135.223, -35.0311, 7.0242, 137.409, -16.672, 0.387, 150.088, -32.3604, 0, 0, 1, 0, 0, 1},
{-2.4493, 132.772, -22.7165, 7.0242, 137.409, -16.672, 5.9721, 135.223, -35.0311, 0, 0, 1, 0, 0, 1},
{7.0242, 137.409, -16.672, -2.3211, 148.883, -20.2306, 0.387, 150.088, -32.3604, 0, 0, 1, 0, 0, 1},
{-2.3211, 148.883, -20.2306, -9.1183, 138.373, -9.4449, -2.4493, 132.772, -22.7165, 0, 0, 1, 0, 0, 1},
{-2.3211, 148.883, -20.2306, 1.3624, 147.756, -7.3785, -9.1183, 138.373, -9.4449, 0, 0, 1, 0, 0, 1},
{-2.3211, 148.883, -20.2306, 7.0242, 137.409, -16.672, 1.3624, 147.756, -7.3785, 0, 0, 1, 0, 0, 1},
{-9.1183, 138.373, -9.4449, 1.2796, 126.701, -8.4216, -2.4493, 132.772, -22.7165, 0, 0, 1, 0, 0, 1},
{-2.4493, 132.772, -22.7165, 1.2796, 126.701, -8.4216, 7.0242, 137.409, -16.672, 0, 0, 1, 0, 0, 1},
{-9.1183, 138.373, -9.4449, -5.9223, 130.655, 5.0998, 1.2796, 126.701, -8.4216, 0, 0, 1, 0, 0, 1},
{1.3624, 147.756, -7.3785, -5.9223, 130.655, 5.0998, -9.1183, 138.373, -9.4449, 0, 0, 1, 0, 0, 1},
{1.3624, 147.756, -7.3785, 6.9899, 129.98, 4.7454, -5.9223, 130.655, 5.0998, 0, 0, 1, 0, 0, 1},
{7.0242, 137.409, -16.672, 6.9899, 129.98, 4.7454, 1.3624, 147.756, -7.3785, 0, 0, 1, 0, 0, 1},
{1.2796, 126.701, -8.4216, 6.9899, 129.98, 4.7454, 7.0242, 137.409, -16.672, 0, 0, 1, 0, 0, 1},
{-5.9223, 130.655, 5.0998, 1.2796, 116.051, 2.8851, 1.2796, 126.701, -8.4216, 0, 0, 1, 0, 0, 1},
{1.2796, 126.701, -8.4216, 1.2796, 116.051, 2.8851, 6.9899, 129.98, 4.7454, 0, 0, 1, 0, 0, 1},
{-5.9223, 130.655, 5.0998, -5.9223, 116.03, 17.6315, 1.2796, 116.051, 2.8851, 0, 0, 1, 0, 0, 1},
{-5.9223, 130.655, 5.0998, 6.9899, 129.98, 4.7454, 6.9899, 115.581, 17.1134, 0, 0, 1, 0, 0, 1},
{-5.9223, 130.655, 5.0998, 6.9899, 115.581, 17.1134, -5.9223, 116.03, 17.6315, 0, 0, 1, 0, 0, 1},
{6.9899, 129.98, 4.7454, 1.2796, 116.051, 2.8851, 6.9899, 115.581, 17.1134, 0, 0, 1, 0, 0, 1},
{-5.9223, 116.03, 17.6315, 1.2796, 103.392, 11.6427, 1.2796, 116.051, 2.8851, 0, 0, 1, 0, 0, 1},
{1.2796, 116.051, 2.8851, 1.2796, 103.392, 11.6427, 6.9899, 115.581, 17.1134, 0, 0, 1, 0, 0, 1},
{-5.9223, 116.03, 17.6315, -5.9223, 105.546, 22.7375, 1.2796, 103.392, 11.6427, 0, 0, 1, 0, 0, 1},
{6.9899, 115.581, 17.1134, 6.9899, 105.097, 22.2193, -5.9223, 105.546, 22.7375, 0, 0, 1, 0, 0, 1},
{6.9899, 115.581, 17.1134, -5.9223, 105.546, 22.7375, -5.9223, 116.03, 17.6315, 0, 0, 1, 0, 0, 1},
{1.2796, 103.392, 11.6427, 6.9899, 105.097, 22.2193, 6.9899, 115.581, 17.1134, 0, 0, 1, 0, 0, 1},
{-5.9223, 105.546, 22.7375, 1.2796, 92.9084, 16.7487, 1.2796, 103.392, 11.6427, 0, 0, 1, 0, 0, 1},
{1.2796, 103.392, 11.6427, 1.2796, 92.9084, 16.7487, 6.9899, 105.097, 22.2193, 0, 0, 1, 0, 0, 1},
{-5.9223, 105.546, 22.7375, -5.9223, 95.0625, 27.8435, 1.2796, 92.9084, 16.7487, 0, 0, 1, 0, 0, 1},
{6.9899, 105.097, 22.2193, 6.9899, 94.6139, 27.3253, -5.9223, 95.0625, 27.8435, 0, 0, 1, 0, 0, 1},
{6.9899, 105.097, 22.2193, -5.9223, 95.0625, 27.8435, -5.9223, 105.546, 22.7375, 0, 0, 1, 0, 0, 1},
{1.2796, 92.9084, 16.7487, 6.9899, 94.6139, 27.3253, 6.9899, 105.097, 22.2193, 0, 0, 1, 0, 0, 1},
{-5.9223, 95.0625, 27.8435, 1.2796, 82.4245, 21.8547, 1.2796, 92.9084, 16.7487, 0, 0, 1, 0, 0, 1},
{1.2796, 92.9084, 16.7487, 1.2796, 82.4245, 21.8547, 6.9899, 94.6139, 27.3253, 0, 0, 1, 0, 0, 1},
{-5.9223, 95.0625, 27.8435, -5.6878, 74.7628, 29.1434, 1.2796, 82.4245, 21.8547, 0, 0, 1, 0, 0, 1},
{-5.9223, 95.0625, 27.8435, -3.1951, 87.1944, 35.9695, -5.6878, 74.7628, 29.1434, 0, 0, 1, 0, 0, 1},
{6.9899, 94.6139, 27.3253, 6.9899, 84.1306, 32.4314, -3.1951, 87.1944, 35.9695, 0, 0, 1, 0, 0, 1},
{6.9899, 94.6139, 27.3253, -3.1951, 87.1944, 35.9695, -5.9223, 95.0625, 27.8435, 0, 0, 1, 0, 0, 1},
{1.2796, 82.4245, 21.8547, 6.9899, 84.1306, 32.4314, 6.9899, 94.6139, 27.3253, 0, 0, 1, 0, 0, 1},
{1.2796, 82.4245, 21.8547, 6.7556, 69.1633, 32.7897, 6.9899, 84.1306, 32.4314, 0, 0, 1, 0, 0, 1},
{1.2796, 82.4245, 21.8547, -5.6878, 74.7628, 29.1434, 6.7556, 69.1633, 32.7897, 0, 0, 1, 0, 0, 1},
{-3.1951, 87.1944, 35.9695, 1.2796, 76.2617, 40.5573, -5.6878, 74.7628, 29.1434, 0, 0, 1, 0, 0, 1},
{6.9899, 84.1306, 32.4314, 1.2796, 76.2617, 40.5573, -3.1951, 87.1944, 35.9695, 0, 0, 1, 0, 0, 1},
{6.9899, 84.1306, 32.4314, 6.7556, 69.1633, 32.7897, 1.2796, 76.2617, 40.5573, 0, 0, 1, 0, 0, 1},
{1.2796, 76.2617, 40.5573, -5.086, 60.6009, 33.9899, -5.6878, 74.7628, 29.1434, 0, 0, 1, 0, 0, 1},
{-5.6878, 74.7628, 29.1434, -5.086, 60.6009, 33.9899, 6.7556, 69.1633, 32.7897, 0, 0, 1, 0, 0, 1},
{1.2796, 76.2617, 40.5573, 0.7824, 62.232, 46.042, -5.086, 60.6009, 33.9899, 0, 0, 1, 0, 0, 1},
{1.2796, 76.2617, 40.5573, 6.7556, 69.1633, 32.7897, 0.7824, 62.232, 46.042, 0, 0, 1, 0, 0, 1},
{6.7556, 69.1633, 32.7897, 7.2384, 51.4983, 39.942, 0.7824, 62.232, 46.042, 0, 0, 1, 0, 0, 1},
{-5.086, 60.6009, 33.9899, 7.2384, 51.4983, 39.942, 6.7556, 69.1633, 32.7897, 0, 0, 1, 0, 0, 1},
{0.7824, 62.232, 46.042, -6.8884, 47.6687, 45.1262, -5.086, 60.6009, 33.9899, 0, 0, 1, 0, 0, 1},
{0.7824, 62.232, 46.042, 7.2384, 51.4983, 39.942, -6.8884, 47.6687, 45.1262, 0, 0, 1, 0, 0, 1},
{-5.086, 60.6009, 33.9899, -6.8884, 47.6687, 45.1262, -4.1895, 42.598, 34.7735, 0, 0, 1, 0, 0, 1},
{-5.086, 60.6009, 33.9899, -4.1895, 42.598, 34.7735, 7.2384, 51.4983, 39.942, 0, 0, 1, 0, 0, 1},
{-6.8884, 47.6687, 45.1262, -8.1573, 35.8322, 45.5181, -4.1895, 42.598, 34.7735, 0, 0, 1, 0, 0, 1},
{-6.8884, 47.6687, 45.1262, 3.7654, 37.0887, 50.3659, -8.1573, 35.8322, 45.5181, 0, 0, 1, 0, 0, 1},
{7.2384, 51.4983, 39.942, 3.7654, 37.0887, 50.3659, -6.8884, 47.6687, 45.1262, 0, 0, 1, 0, 0, 1},
{-8.1573, 35.8322, 45.5181, -4.1895, 30.3276, 36.5624, -4.1895, 42.598, 34.7735, 0, 0, 1, 0, 0, 1},
{7.2384, 51.4983, 39.942, 7.7331, 31.584, 41.4101, 3.7654, 37.0887, 50.3659, 0, 0, 1, 0, 0, 1},
{-4.1895, 42.598, 34.7735, -4.1895, 30.3276, 36.5624, 7.7331, 31.584, 41.4101, 0, 0, 1, 0, 0, 1},
{-4.1895, 42.598, 34.7735, 7.7331, 31.584, 41.4101, 7.2384, 51.4983, 39.942, 0, 0, 1, 0, 0, 1},
{-8.1573, 35.8322, 45.5181, -8.1573, 23.5619, 47.3069, -4.1895, 30.3276, 36.5624, 0, 0, 1, 0, 0, 1},
{3.7654, 37.0887, 50.3659, 3.7654, 24.8183, 52.1548, -8.1573, 23.5619, 47.3069, 0, 0, 1, 0, 0, 1},
{3.7654, 37.0887, 50.3659, -8.1573, 23.5619, 47.3069, -8.1573, 35.8322, 45.5181, 0, 0, 1, 0, 0, 1},
{7.7331, 31.584, 41.4101, 3.7654, 24.8183, 52.1548, 3.7654, 37.0887, 50.3659, 0, 0, 1, 0, 0, 1},
{-8.1573, 23.5619, 47.3069, 2.0582, 16.4116, 42.7494, -4.1895, 30.3276, 36.5624, 0, 0, 1, 0, 0, 1},
{7.7331, 31.584, 41.4101, 2.0582, 16.4116, 42.7494, 3.7654, 24.8183, 52.1548, 0, 0, 1, 0, 0, 1},
{-4.1895, 30.3276, 36.5624, 2.0582, 16.4116, 42.7494, 7.7331, 31.584, 41.4101, 0, 0, 1, 0, 0, 1},
{-8.1573, 23.5619, 47.3069, 3.7654, 24.8183, 52.1548, 2.0582, 16.4116, 42.7494, 0, 0, 1, 0, 0, 1},
{-24.2825, 107.918, -31.8782, -23.2541, 97.6046, -23.8731, -26.1154, 109.038, -18.1403, 0, 0, 1, 0, 0, 1},
{-24.2825, 107.918, -31.8782, -21.4929, 92.9431, -38.1702, -23.2541, 97.6046, -23.8731, 0, 0, 1, 0, 0, 1},
{-23.2541, 97.6046, -23.8731, -21.4929, 92.9431, -38.1702, -13.3211, 82.6884, -23.3217, 0, 0, 1, 0, 0, 1},
{-13.2261, 131.012, -38.6992, -22.4083, 118.75, -35.0775, -21.2831, 124.589, -16.8194, 0, 0, 1, 0, 0, 1},
{-24.2825, 107.918, -31.8782, -26.1154, 109.038, -18.1403, -21.2831, 124.589, -16.8194, 0, 0, 1, 0, 0, 1},
{-22.4083, 118.75, -35.0775, -24.2825, 107.918, -31.8782, -21.2831, 124.589, -16.8194, 0, 0, 1, 0, 0, 1},
{-13.2261, 131.012, -38.6992, -18.219, 107.725, -49.9311, -22.4083, 118.75, -35.0775, 0, 0, 1, 0, 0, 1},
{-18.219, 107.725, -49.9311, -21.4929, 92.9431, -38.1702, -24.2825, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{-22.4083, 118.75, -35.0775, -18.219, 107.725, -49.9311, -24.2825, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{4.6409, 135.163, -39.9249, -13.2261, 131.012, -38.6992, -4.9912, 136.487, -15.8088, 0, 0, 1, 0, 0, 1},
{-13.2261, 131.012, -38.6992, -21.2831, 124.589, -16.8194, -4.9912, 136.487, -15.8088, 0, 0, 1, 0, 0, 1},
{4.6409, 135.163, -39.9249, -4.2727, 116.097, -56.5921, -13.2261, 131.012, -38.6992, 0, 0, 1, 0, 0, 1},
{-4.2727, 116.097, -56.5921, -18.219, 107.725, -49.9311, -13.2261, 131.012, -38.6992, 0, 0, 1, 0, 0, 1},
{19.7892, 123.353, -36.437, 4.6409, 135.163, -39.9249, 14.2244, 132.306, -16.1639, 0, 0, 1, 0, 0, 1},
{14.2244, 132.306, -16.1639, 4.6409, 135.163, -39.9249, -4.9912, 136.487, -15.8088, 0, 0, 1, 0, 0, 1},
{12.1765, 113.155, -54.2514, 4.6409, 135.163, -39.9249, 19.7892, 123.353, -36.437, 0, 0, 1, 0, 0, 1},
{12.1765, 113.155, -54.2514, -4.2727, 116.097, -56.5921, 4.6409, 135.163, -39.9249, 0, 0, 1, 0, 0, 1},
{24.2824, 107.918, -31.8782, 19.7892, 123.353, -36.437, 24.0998, 119.952, -17.2133, 0, 0, 1, 0, 0, 1},
{26.1154, 109.038, -18.1403, 24.2824, 107.918, -31.8782, 24.0998, 119.952, -17.2133, 0, 0, 1, 0, 0, 1},
{24.0998, 119.952, -17.2133, 19.7892, 123.353, -36.437, 14.2244, 132.306, -16.1639, 0, 0, 1, 0, 0, 1},
{20.63, 104.462, -47.3347, 19.7892, 123.353, -36.437, 24.2824, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{21.4927, 92.9431, -38.1702, 20.63, 104.462, -47.3347, 24.2824, 107.918, -31.8782, 0, 0, 1, 0, 0, 1},
{20.63, 104.462, -47.3347, 12.1765, 113.155, -54.2514, 19.7892, 123.353, -36.437, 0, 0, 1, 0, 0, 1},
{23.254, 97.6046, -23.8731, 24.2824, 107.918, -31.8782, 26.1154, 109.038, -18.1403, 0, 0, 1, 0, 0, 1},
{21.4927, 92.9431, -38.1702, 23.254, 97.6046, -23.8731, 16.813, 85.4709, -26.4151, 0, 0, 1, 0, 0, 1},
{21.4927, 92.9431, -38.1702, 24.2824, 107.918, -31.8782, 23.254, 97.6046, -23.8731, 0, 0, 1, 0, 0, 1},
{-11.192, 59.9426, -13.2453, -12.0027, 13.7428, -13.4011, -22.2037, 13.9105, -6.7411, 0, 0, 1, 0, 0, 1},
{-20.7041, 61.2846, -7.837, -11.192, 59.9426, -13.2453, -22.2037, 13.9105, -6.7411, 0, 0, 1, 0, 0, 1},
{0, 59.4626, -15.1805, 0, 13.6828, -15.7842, -12.0027, 13.7428, -13.4011, 0, 0, 1, 0, 0, 1},
{-11.192, 59.9426, -13.2453, 0, 59.4626, -15.1805, -12.0027, 13.7428, -13.4011, 0, 0, 1, 0, 0, 1},
{-13.3211, 82.6884, -23.3217, -11.192, 59.9426, -13.2453, -20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{-19.552, 83.5316, -12.9164, -13.3211, 82.6884, -23.3217, -20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{4.9145, 79.0839, -20.3291, 0, 59.4626, -15.1805, -11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{-13.3211, 82.6884, -23.3217, 4.9145, 79.0839, -20.3291, -11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{-28.9771, 14.163, 3.289, -31.4008, 14.4602, 15.0906, -28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{-20.7041, 61.2846, -7.837, -22.2037, 13.9105, -6.7411, -28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{-28.15, 64.4931, 5.0997, -20.7041, 61.2846, -7.837, -28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{-19.552, 83.5316, -12.9164, -20.7041, 61.2846, -7.837, -28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{-26.5836, 92.9946, -5.334, -19.552, 83.5316, -12.9164, -28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{-26.1154, 109.038, -18.1403, -23.2541, 97.6046, -23.8731, -26.5836, 92.9946, -5.334, 0, 0, 1, 0, 0, 1},
{-23.2541, 97.6046, -23.8731, -13.3211, 82.6884, -23.3217, -19.552, 83.5316, -12.9164, 0, 0, 1, 0, 0, 1},
{-26.5836, 92.9946, -5.334, -23.2541, 97.6046, -23.8731, -19.552, 83.5316, -12.9164, 0, 0, 1, 0, 0, 1},
{-28.9771, 14.7574, 26.8922, -22.2037, 15.0099, 36.9224, -23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-31.4008, 14.4602, 15.0906, -28.9771, 14.7574, 26.8922, -23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-28.15, 64.4931, 5.0997, -31.4008, 14.4602, 15.0906, -23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-22.5343, 106.489, 5.4787, -26.5836, 92.9946, -5.334, -28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{-23.862, 69.0696, 23.5475, -22.5343, 106.489, 5.4787, -28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{-26.1154, 109.038, -18.1403, -26.5836, 92.9946, -5.334, -22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{-21.2831, 124.589, -16.8194, -26.1154, 109.038, -18.1403, -22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{-12.0027, 15.1776, 43.5823, 0, 15.2376, 45.9653, 0, 71.9016, 34.9633, 0, 0, 1, 0, 0, 1},
{-11.192, 71.4216, 33.028, -12.0027, 15.1776, 43.5823, 0, 71.9016, 34.9633, 0, 0, 1, 0, 0, 1},
{-22.2037, 15.0099, 36.9224, -12.0027, 15.1776, 43.5823, -11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{-23.862, 69.0696, 23.5475, -22.2037, 15.0099, 36.9224, -11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{0, 71.9016, 34.9633, -5.2846, 114.132, 11.6026, -11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{-5.2846, 114.132, 11.6026, -22.5343, 106.489, 5.4787, -23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-11.192, 71.4216, 33.028, -5.2846, 114.132, 11.6026, -23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-21.2831, 124.589, -16.8194, -22.5343, 106.489, 5.4787, -5.2846, 114.132, 11.6026, 0, 0, 1, 0, 0, 1},
{-4.9912, 136.487, -15.8088, -21.2831, 124.589, -16.8194, -5.2846, 114.132, 11.6026, 0, 0, 1, 0, 0, 1},
{11.192, 71.4216, 33.028, 12.0027, 15.1776, 43.5823, 22.2037, 15.0099, 36.9224, 0, 0, 1, 0, 0, 1},
{23.862, 69.0696, 23.5475, 11.192, 71.4216, 33.028, 22.2037, 15.0099, 36.9224, 0, 0, 1, 0, 0, 1},
{0, 71.9016, 34.9633, 0, 15.2376, 45.9653, 12.0027, 15.1776, 43.5823, 0, 0, 1, 0, 0, 1},
{11.192, 71.4216, 33.028, 0, 71.9016, 34.9633, 12.0027, 15.1776, 43.5823, 0, 0, 1, 0, 0, 1},
{10.5693, 113.424, 11.0354, 11.192, 71.4216, 33.028, 23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{22.5343, 106.489, 5.4787, 10.5693, 113.424, 11.0354, 23.862, 69.0696, 23.5475, 0, 0, 1, 0, 0, 1},
{-5.2846, 114.132, 11.6026, 0, 71.9016, 34.9633, 11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{10.5693, 113.424, 11.0354, -5.2846, 114.132, 11.6026, 11.192, 71.4216, 33.028, 0, 0, 1, 0, 0, 1},
{22.5343, 106.489, 5.4787, 14.2244, 132.306, -16.1639, 10.5693, 113.424, 11.0354, 0, 0, 1, 0, 0, 1},
{14.2244, 132.306, -16.1639, -4.9912, 136.487, -15.8088, -5.2846, 114.132, 11.6026, 0, 0, 1, 0, 0, 1},
{10.5693, 113.424, 11.0354, 14.2244, 132.306, -16.1639, -5.2846, 114.132, 11.6026, 0, 0, 1, 0, 0, 1},
{23.862, 69.0696, 23.5475, 28.9771, 14.7574, 26.8922, 31.4008, 14.4602, 15.0906, 0, 0, 1, 0, 0, 1},
{28.15, 64.4931, 5.0997, 23.862, 69.0696, 23.5475, 31.4008, 14.4602, 15.0906, 0, 0, 1, 0, 0, 1},
{23.862, 69.0696, 23.5475, 22.2037, 15.0099, 36.9224, 28.9771, 14.7574, 26.8922, 0, 0, 1, 0, 0, 1},
{22.5343, 106.489, 5.4787, 23.862, 69.0696, 23.5475, 28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{26.5836, 92.9946, -5.334, 22.5343, 106.489, 5.4787, 28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{26.1154, 109.038, -18.1403, 24.0998, 119.952, -17.2133, 22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{26.5836, 92.9946, -5.334, 26.1154, 109.038, -18.1403, 22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{24.0998, 119.952, -17.2133, 14.2244, 132.306, -16.1639, 22.5343, 106.489, 5.4787, 0, 0, 1, 0, 0, 1},
{28.9771, 14.163, 3.289, 22.2037, 13.9105, -6.7411, 20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{28.15, 64.4931, 5.0997, 28.9771, 14.163, 3.289, 20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{28.15, 64.4931, 5.0997, 31.4008, 14.4602, 15.0906, 28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{19.552, 83.5316, -12.9164, 26.5836, 92.9946, -5.334, 28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{20.7041, 61.2846, -7.837, 19.552, 83.5316, -12.9164, 28.15, 64.4931, 5.0997, 0, 0, 1, 0, 0, 1},
{23.254, 97.6046, -23.8731, 26.5836, 92.9946, -5.334, 19.552, 83.5316, -12.9164, 0, 0, 1, 0, 0, 1},
{16.813, 85.4709, -26.4151, 23.254, 97.6046, -23.8731, 19.552, 83.5316, -12.9164, 0, 0, 1, 0, 0, 1},
{23.254, 97.6046, -23.8731, 26.1154, 109.038, -18.1403, 26.5836, 92.9946, -5.334, 0, 0, 1, 0, 0, 1},
{12.0027, 13.7428, -13.4011, 0, 13.6828, -15.7842, 0, 59.4626, -15.1805, 0, 0, 1, 0, 0, 1},
{11.192, 59.9426, -13.2453, 12.0027, 13.7428, -13.4011, 0, 59.4626, -15.1805, 0, 0, 1, 0, 0, 1},
{22.2037, 13.9105, -6.7411, 12.0027, 13.7428, -13.4011, 11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{20.7041, 61.2846, -7.837, 22.2037, 13.9105, -6.7411, 11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{0, 59.4626, -15.1805, 4.9145, 79.0839, -20.3291, 11.192, 59.9426, -13.2453, 0, 0, 1, 0, 0, 1},
{4.9145, 79.0839, -20.3291, 19.552, 83.5316, -12.9164, 20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{11.192, 59.9426, -13.2453, 4.9145, 79.0839, -20.3291, 20.7041, 61.2846, -7.837, 0, 0, 1, 0, 0, 1},
{16.813, 85.4709, -26.4151, 19.552, 83.5316, -12.9164, 4.9145, 79.0839, -20.3291, 0, 0, 1, 0, 0, 1},
{-3.6019, 65.5554, -26.6639, -16.6207, 74.4671, -34.4328, -14.0891, 60.3956, -34.61, 0, 0, 1, 0, 0, 1},
{4.9145, 79.0839, -20.3291, -13.3211, 82.6884, -23.3217, -3.6019, 65.5554, -26.6639, 0, 0, 1, 0, 0, 1},
{-3.6019, 65.5554, -26.6639, -13.3211, 82.6884, -23.3217, -16.6207, 74.4671, -34.4328, 0, 0, 1, 0, 0, 1},
{-16.6207, 74.4671, -34.4328, -20.3932, 79.3316, -44.9753, -15.6751, 60.4616, -49.5815, 0, 0, 1, 0, 0, 1},
{-14.0891, 60.3956, -34.61, -16.6207, 74.4671, -34.4328, -15.6751, 60.4616, -49.5815, 0, 0, 1, 0, 0, 1},
{-13.3211, 82.6884, -23.3217, -21.4929, 92.9431, -38.1702, -16.6207, 74.4671, -34.4328, 0, 0, 1, 0, 0, 1},
{-16.6207, 74.4671, -34.4328, -21.4929, 92.9431, -38.1702, -20.3932, 79.3316, -44.9753, 0, 0, 1, 0, 0, 1},
{-20.3932, 79.3316, -44.9753, -16.6187, 84.1976, -55.5159, -15.6751, 60.4616, -49.5815, 0, 0, 1, 0, 0, 1},
{-21.4929, 92.9431, -38.1702, -18.219, 107.725, -49.9311, -16.6187, 84.1976, -55.5159, 0, 0, 1, 0, 0, 1},
{-20.3932, 79.3316, -44.9753, -21.4929, 92.9431, -38.1702, -16.6187, 84.1976, -55.5159, 0, 0, 1, 0, 0, 1},
{-16.6187, 84.1976, -55.5159, -3.8973, 87.9201, -63.58, -3.2989, 60.5221, -62.1895, 0, 0, 1, 0, 0, 1},
{-15.6751, 60.4616, -49.5815, -16.6187, 84.1976, -55.5159, -3.2989, 60.5221, -62.1895, 0, 0, 1, 0, 0, 1},
{-18.219, 107.725, -49.9311, -4.2727, 116.097, -56.5921, -3.8973, 87.9201, -63.58, 0, 0, 1, 0, 0, 1},
{-16.6187, 84.1976, -55.5159, -18.219, 107.725, -49.9311, -3.8973, 87.9201, -63.58, 0, 0, 1, 0, 0, 1},
{11.1065, 86.6121, -60.7463, 9.4023, 60.5086, -59.5117, -3.2989, 60.5221, -62.1895, 0, 0, 1, 0, 0, 1},
{-3.8973, 87.9201, -63.58, 11.1065, 86.6121, -60.7463, -3.2989, 60.5221, -62.1895, 0, 0, 1, 0, 0, 1},
{12.1765, 113.155, -54.2514, 11.1065, 86.6121, -60.7463, -3.8973, 87.9201, -63.58, 0, 0, 1, 0, 0, 1},
{-4.2727, 116.097, -56.5921, 12.1765, 113.155, -54.2514, -3.8973, 87.9201, -63.58, 0, 0, 1, 0, 0, 1},
{18.8182, 82.7466, -52.3727, 16.6073, 60.4546, -48.0954, 9.4023, 60.5086, -59.5117, 0, 0, 1, 0, 0, 1},
{11.1065, 86.6121, -60.7463, 18.8182, 82.7466, -52.3727, 9.4023, 60.5086, -59.5117, 0, 0, 1, 0, 0, 1},
{18.8182, 82.7466, -52.3727, 19.6064, 77.6246, -41.2761, 16.6073, 60.4546, -48.0954, 0, 0, 1, 0, 0, 1},
{20.63, 104.462, -47.3347, 18.8182, 82.7466, -52.3727, 11.1065, 86.6121, -60.7463, 0, 0, 1, 0, 0, 1},
{12.1765, 113.155, -54.2514, 20.63, 104.462, -47.3347, 11.1065, 86.6121, -60.7463, 0, 0, 1, 0, 0, 1},
{21.4927, 92.9431, -38.1702, 19.6064, 77.6246, -41.2761, 18.8182, 82.7466, -52.3727, 0, 0, 1, 0, 0, 1},
{20.63, 104.462, -47.3347, 21.4927, 92.9431, -38.1702, 18.8182, 82.7466, -52.3727, 0, 0, 1, 0, 0, 1},
{19.6064, 77.6246, -41.2761, 12.6849, 60.3918, -33.6201, 16.6073, 60.4546, -48.0954, 0, 0, 1, 0, 0, 1},
{19.6064, 77.6246, -41.2761, 11.1086, 72.0531, -29.2008, 12.6849, 60.3918, -33.6201, 0, 0, 1, 0, 0, 1},
{16.813, 85.4709, -26.4151, 11.1086, 72.0531, -29.2008, 19.6064, 77.6246, -41.2761, 0, 0, 1, 0, 0, 1},
{21.4927, 92.9431, -38.1702, 16.813, 85.4709, -26.4151, 19.6064, 77.6246, -41.2761, 0, 0, 1, 0, 0, 1},
{11.1086, 72.0531, -29.2008, -3.6019, 65.5554, -26.6639, 12.6849, 60.3918, -33.6201, 0, 0, 1, 0, 0, 1},
{16.813, 85.4709, -26.4151, 4.9145, 79.0839, -20.3291, 11.1086, 72.0531, -29.2008, 0, 0, 1, 0, 0, 1},
{4.9145, 79.0839, -20.3291, -3.6019, 65.5554, -26.6639, 11.1086, 72.0531, -29.2008, 0, 0, 1, 0, 0, 1},
{2.1661, 47.1108, -30.1371, -10.8548, 45.1377, -39.7713, -0.6251, 34.6225, -36.6946, 0, 0, 1, 0, 0, 1},
{-3.6019, 65.5554, -26.6639, -14.0891, 60.3956, -34.61, -10.8548, 45.1377, -39.7713, 0, 0, 1, 0, 0, 1},
{2.1661, 47.1108, -30.1371, -3.6019, 65.5554, -26.6639, -10.8548, 45.1377, -39.7713, 0, 0, 1, 0, 0, 1},
{-14.0891, 60.3956, -34.61, -15.6751, 60.4616, -49.5815, -10.8548, 45.1377, -39.7713, 0, 0, 1, 0, 0, 1},
{-10.8548, 45.1377, -39.7713, -2.1521, 42.2108, -54.1003, -0.6251, 34.6225, -36.6946, 0, 0, 1, 0, 0, 1},
{-10.8548, 45.1377, -39.7713, -15.6751, 60.4616, -49.5815, -2.1521, 42.2108, -54.1003, 0, 0, 1, 0, 0, 1},
{-15.6751, 60.4616, -49.5815, -3.2989, 60.5221, -62.1895, -2.1521, 42.2108, -54.1003, 0, 0, 1, 0, 0, 1},
{-2.1521, 42.2108, -54.1003, 10.8404, 44.1625, -44.5406, -0.6251, 34.6225, -36.6946, 0, 0, 1, 0, 0, 1},
{-3.2989, 60.5221, -62.1895, 9.4023, 60.5086, -59.5117, -2.1521, 42.2108, -54.1003, 0, 0, 1, 0, 0, 1},
{9.4023, 60.5086, -59.5117, 10.8404, 44.1625, -44.5406, -2.1521, 42.2108, -54.1003, 0, 0, 1, 0, 0, 1},
{9.4023, 60.5086, -59.5117, 16.6073, 60.4546, -48.0954, 10.8404, 44.1625, -44.5406, 0, 0, 1, 0, 0, 1},
{10.8404, 44.1625, -44.5406, 2.1661, 47.1108, -30.1371, -0.6251, 34.6225, -36.6946, 0, 0, 1, 0, 0, 1},
{16.6073, 60.4546, -48.0954, 12.6849, 60.3918, -33.6201, 10.8404, 44.1625, -44.5406, 0, 0, 1, 0, 0, 1},
{12.6849, 60.3918, -33.6201, 2.1661, 47.1108, -30.1371, 10.8404, 44.1625, -44.5406, 0, 0, 1, 0, 0, 1},
{12.6849, 60.3918, -33.6201, -3.6019, 65.5554, -26.6639, 2.1661, 47.1108, -30.1371, 0, 0, 1, 0, 0, 1},
{-7.7972, 140.049, -33.2244, 0.387, 150.088, -32.3604, -1.5349, 126.795, -40.2884, 0, 0, 1, 0, 0, 1},
{0.387, 150.088, -32.3604, 5.9721, 135.223, -35.0311, -1.5349, 126.795, -40.2884, 0, 0, 1, 0, 0, 1},
{-1.5349, 126.795, -40.2884, -2.4493, 132.772, -22.7165, -7.7972, 140.049, -33.2244, 0, 0, 1, 0, 0, 1},
{5.9721, 135.223, -35.0311, -2.4493, 132.772, -22.7165, -1.5349, 126.795, -40.2884, 0, 0, 1, 0, 0, 1},
{-2.4493, 132.772, -22.7165, -2.3211, 148.883, -20.2306, -7.7972, 140.049, -33.2244, 0, 0, 1, 0, 0, 1},
{-7.7972, 140.049, -33.2244, -2.3211, 148.883, -20.2306, 0.387, 150.088, -32.3604, 0, 0, 1, 0, 0, 1},
{0.387, 150.088, -32.3604, 7.0242, 137.409, -16.672, 5.9721, 135.223, -35.0311, 0, 0, 1, 0, 0, 1},
{5.9721, 135.223, -35.0311, 7.0242, 137.409, -16.672, -2.4493, 132.772, -22.7165, 0, 0, 1, 0, 0, 1},
{0.387, 150.088, -32.3604, -2.3211, 148.883, -20.2306, 7.0242, 137.409, -16.672, 0, 0, 1, 0, 0, 1},
{-2.4493, 132.772, -22.7165, -9.1183, 138.373, -9.4449, -2.3211, 148.883, -20.2306, 0, 0, 1, 0, 0, 1},
{-9.1183, 138.373, -9.4449, 1.3624, 147.756, -7.3785, -2.3211, 148.883, -20.2306, 0, 0, 1, 0, 0, 1},
{1.3624, 147.756, -7.3785, 7.0242, 137.409, -16.672, -2.3211, 148.883, -20.2306, 0, 0, 1, 0, 0, 1},
{-2.4493, 132.772, -22.7165, 1.2796, 126.701, -8.4216, -9.1183, 138.373, -9.4449, 0, 0, 1, 0, 0, 1},
{7.0242, 137.409, -16.672, 1.2796, 126.701, -8.4216, -2.4493, 132.772, -22.7165, 0, 0, 1, 0, 0, 1},
{1.2796, 126.701, -8.4216, -5.9223, 130.655, 5.0998, -9.1183, 138.373, -9.4449, 0, 0, 1, 0, 0, 1},
{-9.1183, 138.373, -9.4449, -5.9223, 130.655, 5.0998, 1.3624, 147.756, -7.3785, 0, 0, 1, 0, 0, 1},
{-5.9223, 130.655, 5.0998, 6.9899, 129.98, 4.7454, 1.3624, 147.756, -7.3785, 0, 0, 1, 0, 0, 1},
{1.3624, 147.756, -7.3785, 6.9899, 129.98, 4.7454, 7.0242, 137.409, -16.672, 0, 0, 1, 0, 0, 1},
{7.0242, 137.409, -16.672, 6.9899, 129.98, 4.7454, 1.2796, 126.701, -8.4216, 0, 0, 1, 0, 0, 1},
{1.2796, 126.701, -8.4216, 1.2796, 116.051, 2.8851, -5.9223, 130.655, 5.0998, 0, 0, 1, 0, 0, 1},
{6.9899, 129.98, 4.7454, 1.2796, 116.051, 2.8851, 1.2796, 126.701, -8.4216, 0, 0, 1, 0, 0, 1},
{1.2796, 116.051, 2.8851, -5.9223, 116.03, 17.6315, -5.9223, 130.655, 5.0998, 0, 0, 1, 0, 0, 1},
{6.9899, 115.581, 17.1134, 6.9899, 129.98, 4.7454, -5.9223, 130.655, 5.0998, 0, 0, 1, 0, 0, 1},
{-5.9223, 116.03, 17.6315, 6.9899, 115.581, 17.1134, -5.9223, 130.655, 5.0998, 0, 0, 1, 0, 0, 1},
{6.9899, 115.581, 17.1134, 1.2796, 116.051, 2.8851, 6.9899, 129.98, 4.7454, 0, 0, 1, 0, 0, 1},
{1.2796, 116.051, 2.8851, 1.2796, 103.392, 11.6427, -5.9223, 116.03, 17.6315, 0, 0, 1, 0, 0, 1},
{6.9899, 115.581, 17.1134, 1.2796, 103.392, 11.6427, 1.2796, 116.051, 2.8851, 0, 0, 1, 0, 0, 1},
{1.2796, 103.392, 11.6427, -5.9223, 105.546, 22.7375, -5.9223, 116.03, 17.6315, 0, 0, 1, 0, 0, 1},
{-5.9223, 105.546, 22.7375, 6.9899, 105.097, 22.2193, 6.9899, 115.581, 17.1134, 0, 0, 1, 0, 0, 1},
{-5.9223, 116.03, 17.6315, -5.9223, 105.546, 22.7375, 6.9899, 115.581, 17.1134, 0, 0, 1, 0, 0, 1},
{6.9899, 115.581, 17.1134, 6.9899, 105.097, 22.2193, 1.2796, 103.392, 11.6427, 0, 0, 1, 0, 0, 1},
{1.2796, 103.392, 11.6427, 1.2796, 92.9084, 16.7487, -5.9223, 105.546, 22.7375, 0, 0, 1, 0, 0, 1},
{6.9899, 105.097, 22.2193, 1.2796, 92.9084, 16.7487, 1.2796, 103.392, 11.6427, 0, 0, 1, 0, 0, 1},
{1.2796, 92.9084, 16.7487, -5.9223, 95.0625, 27.8435, -5.9223, 105.546, 22.7375, 0, 0, 1, 0, 0, 1},
{-5.9223, 95.0625, 27.8435, 6.9899, 94.6139, 27.3253, 6.9899, 105.097, 22.2193, 0, 0, 1, 0, 0, 1},
{-5.9223, 105.546, 22.7375, -5.9223, 95.0625, 27.8435, 6.9899, 105.097, 22.2193, 0, 0, 1, 0, 0, 1},
{6.9899, 105.097, 22.2193, 6.9899, 94.6139, 27.3253, 1.2796, 92.9084, 16.7487, 0, 0, 1, 0, 0, 1},
{1.2796, 92.9084, 16.7487, 1.2796, 82.4245, 21.8547, -5.9223, 95.0625, 27.8435, 0, 0, 1, 0, 0, 1},
{6.9899, 94.6139, 27.3253, 1.2796, 82.4245, 21.8547, 1.2796, 92.9084, 16.7487, 0, 0, 1, 0, 0, 1},
{1.2796, 82.4245, 21.8547, -5.6878, 74.7628, 29.1434, -5.9223, 95.0625, 27.8435, 0, 0, 1, 0, 0, 1},
{-5.6878, 74.7628, 29.1434, -3.1951, 87.1944, 35.9695, -5.9223, 95.0625, 27.8435, 0, 0, 1, 0, 0, 1},
{-3.1951, 87.1944, 35.9695, 6.9899, 84.1306, 32.4314, 6.9899, 94.6139, 27.3253, 0, 0, 1, 0, 0, 1},
{-5.9223, 95.0625, 27.8435, -3.1951, 87.1944, 35.9695, 6.9899, 94.6139, 27.3253, 0, 0, 1, 0, 0, 1},
{6.9899, 94.6139, 27.3253, 6.9899, 84.1306, 32.4314, 1.2796, 82.4245, 21.8547, 0, 0, 1, 0, 0, 1},
{6.9899, 84.1306, 32.4314, 6.7556, 69.1633, 32.7897, 1.2796, 82.4245, 21.8547, 0, 0, 1, 0, 0, 1},
{6.7556, 69.1633, 32.7897, -5.6878, 74.7628, 29.1434, 1.2796, 82.4245, 21.8547, 0, 0, 1, 0, 0, 1},
{-5.6878, 74.7628, 29.1434, 1.2796, 76.2617, 40.5573, -3.1951, 87.1944, 35.9695, 0, 0, 1, 0, 0, 1},
{-3.1951, 87.1944, 35.9695, 1.2796, 76.2617, 40.5573, 6.9899, 84.1306, 32.4314, 0, 0, 1, 0, 0, 1},
{1.2796, 76.2617, 40.5573, 6.7556, 69.1633, 32.7897, 6.9899, 84.1306, 32.4314, 0, 0, 1, 0, 0, 1},
{-5.6878, 74.7628, 29.1434, -5.086, 60.6009, 33.9899, 1.2796, 76.2617, 40.5573, 0, 0, 1, 0, 0, 1},
{6.7556, 69.1633, 32.7897, -5.086, 60.6009, 33.9899, -5.6878, 74.7628, 29.1434, 0, 0, 1, 0, 0, 1},
{-5.086, 60.6009, 33.9899, 0.7824, 62.232, 46.042, 1.2796, 76.2617, 40.5573, 0, 0, 1, 0, 0, 1},
{0.7824, 62.232, 46.042, 6.7556, 69.1633, 32.7897, 1.2796, 76.2617, 40.5573, 0, 0, 1, 0, 0, 1},
{0.7824, 62.232, 46.042, 7.2384, 51.4983, 39.942, 6.7556, 69.1633, 32.7897, 0, 0, 1, 0, 0, 1},
{6.7556, 69.1633, 32.7897, 7.2384, 51.4983, 39.942, -5.086, 60.6009, 33.9899, 0, 0, 1, 0, 0, 1},
{-5.086, 60.6009, 33.9899, -6.8884, 47.6687, 45.1262, 0.7824, 62.232, 46.042, 0, 0, 1, 0, 0, 1},
{-6.8884, 47.6687, 45.1262, 7.2384, 51.4983, 39.942, 0.7824, 62.232, 46.042, 0, 0, 1, 0, 0, 1},
{-4.1895, 42.598, 34.7735, -6.8884, 47.6687, 45.1262, -5.086, 60.6009, 33.9899, 0, 0, 1, 0, 0, 1},
{7.2384, 51.4983, 39.942, -4.1895, 42.598, 34.7735, -5.086, 60.6009, 33.9899, 0, 0, 1, 0, 0, 1},
{-4.1895, 42.598, 34.7735, -8.1573, 35.8322, 45.5181, -6.8884, 47.6687, 45.1262, 0, 0, 1, 0, 0, 1},
{-8.1573, 35.8322, 45.5181, 3.7654, 37.0887, 50.3659, -6.8884, 47.6687, 45.1262, 0, 0, 1, 0, 0, 1},
{-6.8884, 47.6687, 45.1262, 3.7654, 37.0887, 50.3659, 7.2384, 51.4983, 39.942, 0, 0, 1, 0, 0, 1},
{-4.1895, 42.598, 34.7735, -4.1895, 30.3276, 36.5624, -8.1573, 35.8322, 45.5181, 0, 0, 1, 0, 0, 1},
{3.7654, 37.0887, 50.3659, 7.7331, 31.584, 41.4101, 7.2384, 51.4983, 39.942, 0, 0, 1, 0, 0, 1},
{7.7331, 31.584, 41.4101, -4.1895, 30.3276, 36.5624, -4.1895, 42.598, 34.7735, 0, 0, 1, 0, 0, 1},
{7.2384, 51.4983, 39.942, 7.7331, 31.584, 41.4101, -4.1895, 42.598, 34.7735, 0, 0, 1, 0, 0, 1},
{-4.1895, 30.3276, 36.5624, -8.1573, 23.5619, 47.3069, -8.1573, 35.8322, 45.5181, 0, 0, 1, 0, 0, 1},
{-8.1573, 23.5619, 47.3069, 3.7654, 24.8183, 52.1548, 3.7654, 37.0887, 50.3659, 0, 0, 1, 0, 0, 1},
{-8.1573, 35.8322, 45.5181, -8.1573, 23.5619, 47.3069, 3.7654, 37.0887, 50.3659, 0, 0, 1, 0, 0, 1},
{3.7654, 37.0887, 50.3659, 3.7654, 24.8183, 52.1548, 7.7331, 31.584, 41.4101, 0, 0, 1, 0, 0, 1},
{-4.1895, 30.3276, 36.5624, 2.0582, 16.4116, 42.7494, -8.1573, 23.5619, 47.3069, 0, 0, 1, 0, 0, 1},
{3.7654, 24.8183, 52.1548, 2.0582, 16.4116, 42.7494, 7.7331, 31.584, 41.4101, 0, 0, 1, 0, 0, 1},
{7.7331, 31.584, 41.4101, 2.0582, 16.4116, 42.7494, -4.1895, 30.3276, 36.5624, 0, 0, 1, 0, 0, 1},
{2.0582, 16.4116, 42.7494, 3.7654, 24.8183, 52.1548, -8.1573, 23.5619, 47.3069, 0, 0, 1, 0, 0, 1},
{-13.4258, 0, -13.0343, -12.0027, 13.7428, -13.4011, -22.2037, 13.9105, -6.7411, 0, 0, 1, 0, 0, 1},
{-13.4258, 0, -13.0343, -22.2037, 13.9105, -6.7411, -23.4047, 0, -5.8152, 0, 0, 1, 0, 0, 1},
{-1.4269, 0, -15.9861, 0, 13.6828, -15.7842, -12.0027, 13.7428, -13.4011, 0, 0, 1, 0, 0, 1},
{-1.4269, 0, -15.9861, -12.0027, 13.7428, -13.4011, -13.4258, 0, -13.0343, 0, 0, 1, 0, 0, 1},
{-30.5742, 0, 8.4864, -28.9771, 14.163, 3.289, -31.4008, 14.4602, 15.0906, 0, 0, 1, 0, 0, 1},
{-23.4047, 0, -5.8152, -22.2037, 13.9105, -6.7411, -28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{-23.4047, 0, -5.8152, -28.9771, 14.163, 3.289, -30.5742, 0, 8.4864, 0, 0, 1, 0, 0, 1},
{-29.8088, 0, 25.8182, -28.9771, 14.7574, 26.8922, -22.2037, 15.0099, 36.9224, 0, 0, 1, 0, 0, 1},
{-29.8088, 0, 25.8182, -22.2037, 15.0099, 36.9224, -23.4771, 0, 36.2925, 0, 0, 1, 0, 0, 1},
{-30.5742, 0, 8.4864, -31.4008, 14.4602, 15.0906, -28.9771, 14.7574, 26.8922, 0, 0, 1, 0, 0, 1},
{-30.5742, 0, 8.4864, -28.9771, 14.7574, 26.8922, -29.8088, 0, 25.8182, 0, 0, 1, 0, 0, 1},
{-11.3366, 0, 44.2894, -12.0027, 15.1776, 43.5823, 0, 15.2376, 45.9653, 0, 0, 1, 0, 0, 1},
{-11.3366, 0, 44.2894, 0, 15.2376, 45.9653, 1.5502, 0, 46.5408, 0, 0, 1, 0, 0, 1},
{-23.4771, 0, 36.2925, -22.2037, 15.0099, 36.9224, -12.0027, 15.1776, 43.5823, 0, 0, 1, 0, 0, 1},
{-23.4771, 0, 36.2925, -12.0027, 15.1776, 43.5823, -11.3366, 0, 44.2894, 0, 0, 1, 0, 0, 1},
{13.539, 0, 43.5413, 12.0027, 15.1776, 43.5823, 22.2037, 15.0099, 36.9224, 0, 0, 1, 0, 0, 1},
{13.539, 0, 43.5413, 22.2037, 15.0099, 36.9224, 23.4771, 0, 36.2925, 0, 0, 1, 0, 0, 1},
{13.539, 0, 43.5413, 1.5502, 0, 46.5408, 0, 15.2376, 45.9653, 0, 0, 1, 0, 0, 1},
{13.539, 0, 43.5413, 0, 15.2376, 45.9653, 12.0027, 15.1776, 43.5823, 0, 0, 1, 0, 0, 1},
{29.8088, 0, 25.8182, 28.9771, 14.7574, 26.8922, 31.4008, 14.4602, 15.0906, 0, 0, 1, 0, 0, 1},
{29.8088, 0, 25.8182, 31.4008, 14.4602, 15.0906, 31.6614, 0, 13.7723, 0, 0, 1, 0, 0, 1},
{23.4771, 0, 36.2925, 22.2037, 15.0099, 36.9224, 28.9771, 14.7574, 26.8922, 0, 0, 1, 0, 0, 1},
{23.4771, 0, 36.2925, 28.9771, 14.7574, 26.8922, 29.8088, 0, 25.8182, 0, 0, 1, 0, 0, 1},
{25.6245, 0, -2.5444, 28.9771, 14.163, 3.289, 22.2037, 13.9105, -6.7411, 0, 0, 1, 0, 0, 1},
{31.6614, 0, 13.7723, 31.4008, 14.4602, 15.0906, 28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{31.6614, 0, 13.7723, 28.9771, 14.163, 3.289, 25.6245, 0, -2.5444, 0, 0, 1, 0, 0, 1},
{11.3856, 0, -13.7274, 12.0027, 13.7428, -13.4011, 0, 13.6828, -15.7842, 0, 0, 1, 0, 0, 1},
{11.3856, 0, -13.7274, 0, 13.6828, -15.7842, -1.4269, 0, -15.9861, 0, 0, 1, 0, 0, 1},
{25.6245, 0, -2.5444, 22.2037, 13.9105, -6.7411, 12.0027, 13.7428, -13.4011, 0, 0, 1, 0, 0, 1},
{25.6245, 0, -2.5444, 12.0027, 13.7428, -13.4011, 11.3856, 0, -13.7274, 0, 0, 1, 0, 0, 1},
{-12.0027, 13.7428, -13.4011, -13.4258, 0, -13.0343, -23.4047, 0, -5.8152, 0, 0, 1, 0, 0, 1},
{-12.0027, 13.7428, -13.4011, -23.4047, 0, -5.8152, -22.2037, 13.9105, -6.7411, 0, 0, 1, 0, 0, 1},
{0, 13.6828, -15.7842, -1.4269, 0, -15.9861, -13.4258, 0, -13.0343, 0, 0, 1, 0, 0, 1},
{0, 13.6828, -15.7842, -13.4258, 0, -13.0343, -12.0027, 13.7428, -13.4011, 0, 0, 1, 0, 0, 1},
{-28.9771, 14.163, 3.289, -30.5742, 0, 8.4864, -31.4008, 14.4602, 15.0906, 0, 0, 1, 0, 0, 1},
{-22.2037, 13.9105, -6.7411, -23.4047, 0, -5.8152, -30.5742, 0, 8.4864, 0, 0, 1, 0, 0, 1},
{-22.2037, 13.9105, -6.7411, -30.5742, 0, 8.4864, -28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{-28.9771, 14.7574, 26.8922, -29.8088, 0, 25.8182, -23.4771, 0, 36.2925, 0, 0, 1, 0, 0, 1},
{-28.9771, 14.7574, 26.8922, -23.4771, 0, 36.2925, -22.2037, 15.0099, 36.9224, 0, 0, 1, 0, 0, 1},
{-31.4008, 14.4602, 15.0906, -30.5742, 0, 8.4864, -29.8088, 0, 25.8182, 0, 0, 1, 0, 0, 1},
{-31.4008, 14.4602, 15.0906, -29.8088, 0, 25.8182, -28.9771, 14.7574, 26.8922, 0, 0, 1, 0, 0, 1},
{-12.0027, 15.1776, 43.5823, -11.3366, 0, 44.2894, 1.5502, 0, 46.5408, 0, 0, 1, 0, 0, 1},
{-12.0027, 15.1776, 43.5823, 1.5502, 0, 46.5408, 0, 15.2376, 45.9653, 0, 0, 1, 0, 0, 1},
{-22.2037, 15.0099, 36.9224, -23.4771, 0, 36.2925, -11.3366, 0, 44.2894, 0, 0, 1, 0, 0, 1},
{-22.2037, 15.0099, 36.9224, -11.3366, 0, 44.2894, -12.0027, 15.1776, 43.5823, 0, 0, 1, 0, 0, 1},
{12.0027, 15.1776, 43.5823, 13.539, 0, 43.5413, 23.4771, 0, 36.2925, 0, 0, 1, 0, 0, 1},
{12.0027, 15.1776, 43.5823, 23.4771, 0, 36.2925, 22.2037, 15.0099, 36.9224, 0, 0, 1, 0, 0, 1},
{0, 15.2376, 45.9653, 1.5502, 0, 46.5408, 13.539, 0, 43.5413, 0, 0, 1, 0, 0, 1},
{0, 15.2376, 45.9653, 13.539, 0, 43.5413, 12.0027, 15.1776, 43.5823, 0, 0, 1, 0, 0, 1},
{28.9771, 14.7574, 26.8922, 29.8088, 0, 25.8182, 31.6614, 0, 13.7723, 0, 0, 1, 0, 0, 1},
{28.9771, 14.7574, 26.8922, 31.6614, 0, 13.7723, 31.4008, 14.4602, 15.0906, 0, 0, 1, 0, 0, 1},
{22.2037, 15.0099, 36.9224, 23.4771, 0, 36.2925, 29.8088, 0, 25.8182, 0, 0, 1, 0, 0, 1},
{22.2037, 15.0099, 36.9224, 29.8088, 0, 25.8182, 28.9771, 14.7574, 26.8922, 0, 0, 1, 0, 0, 1},
{28.9771, 14.163, 3.289, 25.6245, 0, -2.5444, 22.2037, 13.9105, -6.7411, 0, 0, 1, 0, 0, 1},
{31.4008, 14.4602, 15.0906, 31.6614, 0, 13.7723, 25.6245, 0, -2.5444, 0, 0, 1, 0, 0, 1},
{31.4008, 14.4602, 15.0906, 25.6245, 0, -2.5444, 28.9771, 14.163, 3.289, 0, 0, 1, 0, 0, 1},
{12.0027, 13.7428, -13.4011, 11.3856, 0, -13.7274, -1.4269, 0, -15.9861, 0, 0, 1, 0, 0, 1},
{12.0027, 13.7428, -13.4011, -1.4269, 0, -15.9861, 0, 13.6828, -15.7842, 0, 0, 1, 0, 0, 1},
{22.2037, 13.9105, -6.7411, 25.6245, 0, -2.5444, 11.3856, 0, -13.7274, 0, 0, 1, 0, 0, 1},
{22.2037, 13.9105, -6.7411, 11.3856, 0, -13.7274, 12.0027, 13.7428, -13.4011, 0, 0, 1, 0, 0, 1} | 100.890873 | 110 | 0.539499 |
c12ce07e90fb4f4bb374aefe51cb57d3d0d89824 | 19,540 | c | C | src/mmt_tcpip/lib/protocols/proto_gadugadu.c | Montimage/mmt-dpi | 92ce3808ffc7f3d392e598e9e3db6433bae9b645 | [
"Apache-2.0"
] | 3 | 2022-01-31T09:38:29.000Z | 2022-02-13T19:58:16.000Z | src/mmt_tcpip/lib/protocols/proto_gadugadu.c | Montimage/mmt-dpi | 92ce3808ffc7f3d392e598e9e3db6433bae9b645 | [
"Apache-2.0"
] | 1 | 2022-02-24T10:04:10.000Z | 2022-03-07T10:59:42.000Z | src/mmt_tcpip/lib/protocols/proto_gadugadu.c | Montimage/mmt-dpi | 92ce3808ffc7f3d392e598e9e3db6433bae9b645 | [
"Apache-2.0"
] | null | null | null | #include "mmt_core.h"
#include "plugin_defs.h"
#include "extraction_lib.h"
#include "../mmt_common_internal_include.h"
/////////////// PROTOCOL INTERNAL CODE GOES HERE ///////////////////
#define MMT_GADGADU_TIMEOUT 120
static uint32_t gadugadu_peer_connection_timeout = MMT_GADGADU_TIMEOUT * MMT_MICRO_IN_SEC;
static MMT_PROTOCOL_BITMASK detection_bitmask;
static MMT_PROTOCOL_BITMASK excluded_protocol_bitmask;
static MMT_SELECTION_BITMASK_PROTOCOL_SIZE selection_bitmask;
static void mmt_int_gadugadu_add_connection(ipacket_t * ipacket, mmt_protocol_type_t protocol_type) {
mmt_internal_add_connection(ipacket, PROTO_GADUGADU, protocol_type);
}
static void parse_gg_foneno(ipacket_t * ipacket) {
struct mmt_tcpip_internal_packet_struct *packet = ipacket->internal_packet;
struct mmt_internal_tcpip_id_struct *src = ipacket->internal_packet->src;
uint16_t pos = 18;
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: parse_gg_foneno.\n");
if (packet->payload_packet_len < 19) {
return;
}
while (packet->payload[pos] != '?') {
pos++;
if ((pos + 18) > packet->payload_packet_len)
return;
}
pos++;
if (pos + 16 < packet->payload_packet_len) {
char fmnumber[8];
int i = 0;
if (mmt_memcmp(&packet->payload[pos], "fmnumber=", 9) == 0) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: fmnumber found .\n");
} else
return;
pos += 9;
while (packet->payload[pos] != '&') {
fmnumber[i] = packet->payload[pos];
i++;
pos++;
if (pos > packet->payload_packet_len || i > 7)
break;
}
if (i < 8) {
fmnumber[i] = '\0';
if (src != NULL) {
memcpy(src->gg_fmnumber, fmnumber, i);
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: fmnumber %s\n", src->gg_fmnumber);
}
}
}
}
static uint8_t check_for_gadugadu_payload_pattern(ipacket_t * ipacket) {
struct mmt_tcpip_internal_packet_struct *packet = ipacket->internal_packet;
struct mmt_internal_tcpip_session_struct *flow = packet->flow;
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: check for 0xbebadec0 pattern in payload.\n");
if (packet->payload_packet_len == 12) {
if ((ipacket->session->data_packet_count == 1) && (ntohl(get_u32(packet->payload, 0)) == 0xbebadec0)) {
flow->l4.tcp.gadugadu_stage++;
return 1;
}
if ((flow->l4.tcp.gadugadu_stage == 1) && (ipacket->session->data_packet_count == 2)
&& (ntohl(get_u32(packet->payload, 0)) == 0xbebadec0)) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: gadugadu pattern bebadec0 FOUND \n");
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
return 1;
}
}
return 0;
}
static uint8_t check_for_http(ipacket_t * ipacket) {
struct mmt_tcpip_internal_packet_struct *packet = ipacket->internal_packet;
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: check for http.\n");
if (packet->payload_packet_len < 50) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: Packet too small.\n");
return 0;
} else if (mmt_memcmp(packet->payload, "GET /appsvc/appmsg", 18) == 0) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: GET FOUND\n");
parse_gg_foneno(ipacket);
// parse packet
mmt_parse_packet_line_info(ipacket);
if (packet->parsed_lines <= 1) {
return 0;
}
if (packet->host_line.ptr == NULL) {
return 0;
}
if (!(packet->host_line.len >= 19 && mmt_memcmp(packet->host_line.ptr, "appmsg.gadu-gadu.pl", 19) == 0)) {
return 0;
}
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: Is gadugadu host FOUND %s\n", packet->host_line.ptr);
mmt_int_gadugadu_add_connection(ipacket, MMT_CORRELATED_PROTOCOL);
} else if (mmt_memcmp(packet->payload, "POST /send/message/", 19) == 0) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: GET FOUND\n");
// parse packet
mmt_parse_packet_line_info(ipacket);
if (packet->parsed_lines <= 1) {
return 0;
}
if (packet->host_line.ptr == NULL) {
return 0;
}
if (!(packet->host_line.len >= 17 && mmt_memcmp(packet->host_line.ptr, "life.gadu-gadu.pl", 17) == 0)) {
return 0;
}
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: Is gadugadu post FOUND %s\n", packet->host_line.ptr);
mmt_int_gadugadu_add_connection(ipacket, MMT_CORRELATED_PROTOCOL);
} else if (mmt_memcmp(packet->payload, "GET /rotate_token", 17) == 0) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: GET FOUND\n");
// parse packet
mmt_parse_packet_line_info(ipacket);
if (packet->parsed_lines <= 1) {
return 0;
}
if (packet->host_line.ptr == NULL) {
return 0;
}
if (!(packet->host_line.len >= 13 && mmt_memcmp(packet->host_line.ptr, "sms.orange.pl", 13) == 0)) {
return 0;
}
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: gadugadu sms FOUND %s\n", packet->host_line.ptr);
mmt_int_gadugadu_add_connection(ipacket, MMT_CORRELATED_PROTOCOL);
} else if ((mmt_memcmp(packet->payload, "GET /nowosci.xml", 16) == 0) ||
(mmt_memcmp(packet->payload, "GET /gadu-gadu.xml", 18) == 0) ||
(mmt_memcmp(packet->payload, "POST /access_token", 18) == 0)) {
mmt_parse_packet_line_info(ipacket);
if (packet->user_agent_line.ptr == NULL) {
return 0;
}
if (!(packet->user_agent_line.len >= 16 &&
mmt_memcmp(packet->user_agent_line.ptr, "Gadu-Gadu Client", 16) == 0)) {
return 0;
}
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: gadugadu FOUND %s\n", packet->user_agent_line.ptr);
mmt_int_gadugadu_add_connection(ipacket, MMT_CORRELATED_PROTOCOL);
}
return 1;
}
static void mmt_search_gadugadu_tcp(ipacket_t * ipacket) {
struct mmt_tcpip_internal_packet_struct *packet = ipacket->internal_packet;
struct mmt_internal_tcpip_session_struct *flow = packet->flow;
struct mmt_internal_tcpip_id_struct *src = ipacket->internal_packet->src;
struct mmt_internal_tcpip_id_struct *dst = ipacket->internal_packet->dst;
if (packet->detected_protocol_stack[0] == PROTO_GADUGADU) {
if (src != NULL)
src->gg_timeout = packet->tick_timestamp;
if (dst != NULL)
dst->gg_timeout = packet->tick_timestamp;
if (packet->payload_packet_len == 311) {
if (packet->payload[28] != 0 && packet->tcp!=NULL) {
if (src != NULL) {
src->gg_timeout = packet->tick_timestamp;
if (ntohs(packet->tcp->dest) == 8074 || ntohs(packet->tcp->dest) == 443)
src->gadu_gadu_ft_direction = 0;
else
src->gadu_gadu_ft_direction = 1;
src->gadu_gadu_voice = 0;
}
if (dst != NULL) {
dst->gg_timeout = packet->tick_timestamp;
if (ntohs(packet->tcp->dest) == 8074 || ntohs(packet->tcp->dest) == 443)
dst->gadu_gadu_ft_direction = 0;
else
dst->gadu_gadu_ft_direction = 1;
dst->gadu_gadu_voice = 0;
}
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "gg filetransfer setup detected\n");
} else {
if (src != NULL) {
src->gadu_gadu_voice = 1;
src->gg_timeout = packet->tick_timestamp;
}
if (dst != NULL) {
dst->gadu_gadu_voice = 1;
dst->gg_timeout = packet->tick_timestamp;
}
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "gg voice setup detected \n");
}
}
return;
}
#ifdef PROTO_HTTP
if (packet->detected_protocol_stack[0] == PROTO_HTTP) {
#endif
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: HTTP CHECK FOUND\n");
if (packet->tcp != NULL && ntohs(packet->tcp->dest) == 80)
if (check_for_http(ipacket))
return;
#ifdef PROTO_HTTP
}
#endif
/* the following code is implemented asymmetrically. */
if (packet->tcp != NULL &&
(ntohs(packet->tcp->dest) == 443 || ntohs(packet->tcp->dest) == 8074
|| ntohs(packet->tcp->source) == 443 || ntohs(packet->tcp->source) == 8074)) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: found port 8074 or 443.\n");
if (ipacket->session->data_packet_count <= 6) {
if ((packet->payload_packet_len == 9
|| packet->payload_packet_len == 12
|| packet->payload_packet_len == 100
|| (packet->payload_packet_len > 190 && packet->payload_packet_len < 210)
)
&& get_l32(packet->payload, 4) == packet->payload_packet_len - 8
&& (ntohl(get_u32(packet->payload, 0)) == 0x01000000
|| ntohl(get_u32(packet->payload, 0)) == 0x02000000
|| ntohl(get_u32(packet->payload, 0)) == 0x03000000
|| ntohl(get_u32(packet->payload, 0)) == 0x12000000
|| ntohl(get_u32(packet->payload, 0)) == 0x19000000
|| ntohl(get_u32(packet->payload, 0)) == 0x31000000
|| ntohl(get_u32(packet->payload, 0)) == 0x35000000
|| ntohl(get_u32(packet->payload, 0)) == 0x10000000
|| ntohl(get_u32(packet->payload, 0)) == 0x15000000)) {
flow->l4.tcp.gadugadu_stage++;
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"Gadu-Gadu: len=9,12,100,190-210, stage++.\n");
}
/*detection of mirinda client .this has a different way of communicating ports */
if (packet->payload_packet_len == 114
&& ntohl(get_u32(packet->payload, 0)) == 0x19000000
&& get_l32(packet->payload, 4) == packet->payload_packet_len - 8) {
flow->l4.tcp.gadugadu_stage++;
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: len=114, stage++.\n");
/* here the asymmetric implementation ends */
if (flow->l4.tcp.gadugadu_stage == 2) {
if (src != NULL) {
memcpy(src->gg_call_id[src->gg_next_id], &packet->payload[8], 4);
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "call id parsed %d\n", packet->payload[8]);
src->gg_ft_ip_address = get_u32(packet->payload, 86);
src->gg_ft_port = htons(get_u16(packet->payload, 90));
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG,
"mirinda file transfer port %d \n", ntohs(src->gg_ft_port));
}
if (dst != NULL) {
memcpy(dst->gg_call_id[dst->gg_next_id], &packet->payload[8], 4);
MMT_LOG(PROTO_GADUGADU,
MMT_LOG_DEBUG, "call id parsed %d\n", packet->payload[8]);
dst->gg_ft_ip_address = get_u32(packet->payload, 86);
dst->gg_ft_port = htons(get_u16(packet->payload, 90));
MMT_LOG(PROTO_GADUGADU,
MMT_LOG_DEBUG,
"mirinda file transfer port %d \n", ntohs(dst->gg_ft_port));
}
}
}
if (flow->l4.tcp.gadugadu_stage == 2) {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "Gadu-Gadu: add connection.\n");
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
}
return;
}
}
/*mirinda file detection */
if (packet->tcp != NULL && src != NULL) {
if (MMT_COMPARE_PROTOCOL_TO_BITMASK
(src->detected_protocol_bitmask, PROTO_GADUGADU) != 0
&& ((src->gg_ft_ip_address == packet->iph->saddr && src->gg_ft_port == packet->tcp->source)
|| (src->gg_ft_ip_address == packet->iph->daddr && src->gg_ft_port == packet->tcp->dest))) {
if ((packet->tick_timestamp - src->gg_timeout) < gadugadu_peer_connection_timeout) {
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
MMT_LOG(PROTO_GADUGADU,
MMT_LOG_DEBUG, "file transfer detected %d\n", ntohs(packet->tcp->dest));
return;
} else {
src->gg_ft_ip_address = 0;
src->gg_ft_port = 0;
}
} else if (MMT_COMPARE_PROTOCOL_TO_BITMASK
(src->detected_protocol_bitmask, PROTO_GADUGADU) != 0 && (packet->tcp->dest == htons(80)
|| packet->tcp->source ==
htons(80))
&& packet->payload_packet_len == 12 && (mmt_memcmp(src->gg_call_id[0], &packet->payload[5], 4) == 0
|| (src->gg_call_id[1][0]
&& (mmt_memcmp(src->gg_call_id[1], &packet->payload[5], 4)
== 0)))) {
if ((packet->tick_timestamp - src->gg_timeout) < gadugadu_peer_connection_timeout) {
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "http file transfer detetced \n");
return;
} else {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "http file transfer timeout \n");
}
} else if (MMT_COMPARE_PROTOCOL_TO_BITMASK
(src->detected_protocol_bitmask,
PROTO_GADUGADU) != 0
&& packet->payload_packet_len == 8 &&
(mmt_memcmp(src->gg_call_id[0], &packet->payload[0], 4) == 0 || (src->gg_call_id[1][0]
&&
(mmt_memcmp
(src->gg_call_id[1],
&packet->payload[0], 4)
== 0)))) {
if ((packet->tick_timestamp - src->gg_timeout) < gadugadu_peer_connection_timeout) {
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
MMT_LOG(PROTO_GADUGADU,
MMT_LOG_DEBUG, "file transfer detetced %d\n", htons(packet->tcp->dest));
return;
} else {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, " file transfer timeout \n");
}
}
}
if (packet->tcp != NULL && dst != NULL) {
if (MMT_COMPARE_PROTOCOL_TO_BITMASK
(dst->detected_protocol_bitmask, PROTO_GADUGADU) != 0
&& ((dst->gg_ft_ip_address == packet->iph->saddr && dst->gg_ft_port == packet->tcp->source)
|| (dst->gg_ft_ip_address == packet->iph->daddr && dst->gg_ft_port == packet->tcp->dest))) {
if ((packet->tick_timestamp - dst->gg_timeout) < gadugadu_peer_connection_timeout) {
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
MMT_LOG(PROTO_GADUGADU,
MMT_LOG_DEBUG, "file transfer detected %d\n", ntohs(packet->tcp->dest));
return;
} else {
dst->gg_ft_ip_address = 0;
dst->gg_ft_port = 0;
}
} else if (MMT_COMPARE_PROTOCOL_TO_BITMASK
(dst->detected_protocol_bitmask, PROTO_GADUGADU) != 0 && (packet->tcp->dest == htons(80)
|| packet->tcp->source ==
htons(80))
&& packet->payload_packet_len == 12 && (mmt_memcmp(dst->gg_call_id[0], &packet->payload[0], 4) == 0
|| (dst->gg_call_id[1][0]
&& (mmt_memcmp(dst->gg_call_id[1], &packet->payload[0], 4)
== 0)))) {
if ((packet->tick_timestamp - dst->gg_timeout) < gadugadu_peer_connection_timeout) {
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "http file transfer detetced \n");
return;
} else {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, "http file transfer timeout \n");
}
} else if (MMT_COMPARE_PROTOCOL_TO_BITMASK
(dst->detected_protocol_bitmask,
PROTO_GADUGADU) != 0
&& packet->payload_packet_len == 8 &&
(mmt_memcmp(dst->gg_call_id[0], &packet->payload[0], 4) == 0 || (dst->gg_call_id[1][0]
&&
(mmt_memcmp
(dst->gg_call_id[1],
&packet->payload[0], 4)
== 0)))) {
if ((packet->tick_timestamp - dst->gg_timeout) < gadugadu_peer_connection_timeout) {
mmt_int_gadugadu_add_connection(ipacket, MMT_REAL_PROTOCOL);
MMT_LOG(PROTO_GADUGADU,
MMT_LOG_DEBUG, "file transfer detected %d\n", ntohs(packet->tcp->dest));
return;
} else {
MMT_LOG(PROTO_GADUGADU, MMT_LOG_DEBUG, " file transfer timeout \n");
}
}
}
/** newly added start **/
if (packet->tcp != NULL && ((ntohs(packet->tcp->dest) == 80) || (ntohs(packet->tcp->source) == 80))) {
if (check_for_gadugadu_payload_pattern(ipacket)) {
return;
}
}
MMT_ADD_PROTOCOL_TO_BITMASK(flow->excluded_protocol_bitmask, PROTO_GADUGADU);
}
void mmt_classify_me_gadugadu(ipacket_t * ipacket, unsigned index) {
mmt_search_gadugadu_tcp(ipacket);
}
int mmt_check_gadugadu(ipacket_t * ipacket, unsigned index) {
struct mmt_tcpip_internal_packet_struct *packet = ipacket->internal_packet;
if ((selection_bitmask & packet->mmt_selection_packet) == selection_bitmask
&& MMT_BITMASK_COMPARE(excluded_protocol_bitmask, packet->flow->excluded_protocol_bitmask) == 0
&& MMT_BITMASK_COMPARE(detection_bitmask, packet->detection_bitmask) != 0) {
mmt_search_gadugadu_tcp(ipacket); //BW: TODO: this seems to be only tcp, the bitmask is UDP as well, check this out
}
return 4;
}
void mmt_init_classify_me_gadugadu() {
selection_bitmask = MMT_SELECTION_BITMASK_PROTOCOL_TCP_OR_UDP_WITH_PAYLOAD;
MMT_SAVE_AS_BITMASK(detection_bitmask, PROTO_UNKNOWN);
MMT_ADD_PROTOCOL_TO_BITMASK(detection_bitmask, PROTO_HTTP);
MMT_ADD_PROTOCOL_TO_BITMASK(detection_bitmask, PROTO_GADUGADU);
MMT_SAVE_AS_BITMASK(excluded_protocol_bitmask, PROTO_GADUGADU);
}
/////////////// END OF PROTOCOL INTERNAL CODE ///////////////////
int init_proto_gadugadu_struct() {
protocol_t * protocol_struct = init_protocol_struct_for_registration(PROTO_GADUGADU, PROTO_GADUGADU_ALIAS);
if (protocol_struct != NULL) {
mmt_init_classify_me_gadugadu();
return register_protocol(protocol_struct, PROTO_GADUGADU);
} else {
return 0;
}
}
| 39.877551 | 123 | 0.564227 |
6ca87af6df9d90cfa0eda275f083dc1a9103a9cf | 3,977 | h | C | Engine/gkGameObjectInstance.h | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 241 | 2015-01-04T00:36:58.000Z | 2022-01-06T19:19:23.000Z | Engine/gkGameObjectInstance.h | slagusev/gamekit | a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d | [
"MIT"
] | 10 | 2015-07-10T18:27:17.000Z | 2019-06-26T20:59:59.000Z | Engine/gkGameObjectInstance.h | slagusev/gamekit | a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d | [
"MIT"
] | 82 | 2015-01-25T18:02:35.000Z | 2022-03-05T12:28:17.000Z | /*
-------------------------------------------------------------------------------
This file is part of OgreKit.
http://gamekit.googlecode.com/
Copyright (c) 2006-2013 Charlie C.
Contributor(s): Thomas Trocha(dertom)
-------------------------------------------------------------------------------
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
-------------------------------------------------------------------------------
*/
#ifndef _gkGameObjectInstance_h_
#define _gkGameObjectInstance_h_
#include "gkGameObject.h"
#include "gkTransformState.h"
#include "gkMathUtils.h"
#include "gkGameObjectGroup.h"
class gkGameObjectInstance : public gkInstancedObject, public gkGameObject::Notifier
{
public:
typedef utHashTable<gkHashedString, gkGameObject*> Objects;
typedef utHashTable<gkHashedString, gkGameObjectInstance*> GroupInstances;
typedef utHashTable<utPointerHashKey, gkTransformState> InitialTransformstates;
protected:
Objects m_objects;
GroupInstances m_groupInstances;
gkTransformState m_transform;
InitialTransformstates m_objInitialTransformstates;
gkGameObjectGroup* m_parent;
gkScene* m_scene;
gkGameObject* m_owner;
const gkString m_uidName;
UTuint32 m_layer;
void notifyGameObjectEvent(gkGameObject* gobj, const gkGameObject::Notifier::Event& id);
void createInstanceImpl(void);
void postCreateInstanceImpl(void);
void destroyInstanceImpl(void);
void postDestroyInstanceImpl(void);
public:
gkGameObjectInstance(gkInstancedManager* creator, const gkResourceName& name, const gkResourceHandle& handle);
virtual ~gkGameObjectInstance();
gkGameObject* getObject(const gkHashedString& name);
void destroyObject(const gkHashedString& name);
void destroyObject(gkGameObject* gobj);
///addObject will create a clone of this object, then add it the main list.
void addObject(gkGameObject* gobj);
void addGroupInstance(const gkGameObjectGroup::GroupInstance* inst);
bool hasObject(const gkHashedString& name);
bool hasObject(gkGameObject* gobj);
///Applies a transform to all objects in this instance.
void applyTransform(const gkTransformState& trans);
void cloneObjects(gkScene* scene, const gkTransformState& from, int time,
const gkVector3& linearVelocity = gkVector3::ZERO,
bool tsLinLocal = true,
const gkVector3& angularVelocity = gkVector3::ZERO,
bool tsAngLocal = true);
void _updateFromGroup(gkGameObjectGroup* group);
void _setExternalRoot(gkGameObjectGroup* group, gkGameObject* root);
GK_INLINE gkTransformState& getOwnerTransform(void) {return m_transform;}
GK_INLINE gkGameObjectGroup* getGroup(void) {return m_parent;}
GK_INLINE Objects& getObjects(void) {return m_objects; }
GK_INLINE gkGameObject* getRoot(void) {return m_owner;}
GK_INLINE void setLayer(UTuint32 layer) {m_layer = layer;}
GK_INLINE UTuint32 getLayer(void) {return m_layer;}
};
#endif //_gkGameObjectInstance_h_
| 36.486239 | 111 | 0.685944 |
379364d40780d9cf7926e463fc4dd3443e1abb56 | 1,842 | h | C | external/activemq-cpp-library-3.4.1/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h | framos-gemini/giapi-glue-cc | f59e1ce572494b57aad6985f3233f0e51167bb42 | [
"BSD-3-Clause"
] | null | null | null | external/activemq-cpp-library-3.4.1/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h | framos-gemini/giapi-glue-cc | f59e1ce572494b57aad6985f3233f0e51167bb42 | [
"BSD-3-Clause"
] | 3 | 2017-06-14T15:21:50.000Z | 2020-08-03T19:51:57.000Z | external/activemq-cpp-library-3.4.1/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h | framos-gemini/giapi-glue-cc | f59e1ce572494b57aad6985f3233f0e51167bb42 | [
"BSD-3-Clause"
] | 3 | 2017-06-13T13:59:36.000Z | 2021-02-09T02:01:14.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use 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 _ACTIVEMQ_WIREFORMAT_STOMP_STOMPWIREFORMATFACTORY_H_
#define _ACTIVEMQ_WIREFORMAT_STOMP_STOMPWIREFORMATFACTORY_H_
#include <activemq/util/Config.h>
#include <activemq/wireformat/WireFormatFactory.h>
#include <activemq/wireformat/stomp/StompWireFormat.h>
#include <decaf/lang/Pointer.h>
namespace activemq {
namespace wireformat {
namespace stomp {
using decaf::lang::Pointer;
/**
* Factory used to create the Stomp Wire Format instance.
*/
class AMQCPP_API StompWireFormatFactory : public WireFormatFactory {
public:
StompWireFormatFactory() {}
virtual ~StompWireFormatFactory() {}
/**
* Creates a new WireFormat Object passing it a set of
* properties from which it can obtain any optional settings
* @param properties - the Properties for this WireFormat
*/
virtual Pointer<WireFormat> createWireFormat( const decaf::util::Properties& properties );
};
}}}
#endif /* _ACTIVEMQ_WIREFORMAT_STOMP_STOMPWIREFORMATFACTORY_H_ */
| 34.754717 | 98 | 0.739414 |
15f5d4c86fa9366579bf83d8ab57597dd5052457 | 412 | h | C | schannel-tls-cpp/win32-exception.h | gabriel-sztejnworcel/schannel-tls-cpp | 3dd78b2cd3b1abfecd5988a532bceb0586d5ab7e | [
"MIT"
] | 4 | 2021-12-29T16:39:45.000Z | 2022-02-20T10:24:40.000Z | schannel-tls-cpp/win32-exception.h | gabriel-sztejnworcel/schannel-tls-cpp | 3dd78b2cd3b1abfecd5988a532bceb0586d5ab7e | [
"MIT"
] | null | null | null | schannel-tls-cpp/win32-exception.h | gabriel-sztejnworcel/schannel-tls-cpp | 3dd78b2cd3b1abfecd5988a532bceb0586d5ab7e | [
"MIT"
] | null | null | null | /**
* schannel-tls-cpp
* Copyright (c) 2021 Gabriel Sztejnworcel
*/
#pragma once
#include <stdexcept>
#include <string>
namespace schannel {
class Win32Exception : public std::exception
{
public:
Win32Exception(const std::string& calling_function_name, const std::string& function_name, int error_code);
char const* what() const override;
private:
std::string msg_;
};
}; // namespace schannel
| 17.166667 | 111 | 0.723301 |
76a616cc65321e81e6923845dd9d26d8dbc9a236 | 1,709 | c | C | ft_printf/xutil.c | Eel11/ft_priuntf_42_cursus | 12c7bc6a467e8f3d83340b58368faf44aff901ff | [
"Unlicense"
] | 3 | 2020-11-02T21:04:55.000Z | 2021-01-16T12:52:11.000Z | ft_printf/xutil.c | Alcheemiist/ft_printf_42_cursus | 12c7bc6a467e8f3d83340b58368faf44aff901ff | [
"Unlicense"
] | null | null | null | ft_printf/xutil.c | Alcheemiist/ft_printf_42_cursus | 12c7bc6a467e8f3d83340b58368faf44aff901ff | [
"Unlicense"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* xutil.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: eelaazmi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/12/29 20:39:59 by eelaazmi #+# #+# */
/* Updated: 2019/12/29 20:40:07 by eelaazmi ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int traitementx(int r)
{
if (g_1etoile != 0)
{
g_1etoile = va_arg(g_ap, int);
g_nmbr1 = g_1etoile;
if (g_nmbr1 < 0)
{
g_minus = 1;
g_nmbr1 = -g_nmbr1;
}
}
if (g_2etoile != 0)
{
g_2etoile = va_arg(g_ap, int);
g_nmbr2 = g_2etoile;
r = g_nmbr2;
}
return (r);
}
int lenthx(long nb)
{
int i;
i = 1;
if (nb < 0)
{
nb = -nb;
while ((nb = (nb / 16)) != 0)
{
i++;
}
i = i + 1;
}
else
{
while ((nb = (nb / 16)) != 0)
{
i++;
}
}
return (i);
}
void hexa(unsigned int n, const char *fmt, int i)
{
if (n / 16)
hexa(n / 16, fmt, i);
if ((n % 16) >= 10 && fmt[i] == 'x')
ft_putchar_fd((n % 16) + 'a' - 10, 1);
else if ((n % 16) >= 10 && fmt[i] == 'X')
ft_putchar_fd((n % 16) + 'A' - 10, 1);
else
ft_putchar_fd((n % 16) + '0', 1);
}
| 24.070423 | 80 | 0.283207 |
6362839c2f3036912b4a1c853b3bade60b55ed73 | 2,429 | c | C | dijkstra/dijkstra.c | iBug/algorithms | cac375680cdcc51729ca1236dc8b4661b43c6217 | [
"MIT"
] | null | null | null | dijkstra/dijkstra.c | iBug/algorithms | cac375680cdcc51729ca1236dc8b4661b43c6217 | [
"MIT"
] | null | null | null | dijkstra/dijkstra.c | iBug/algorithms | cac375680cdcc51729ca1236dc8b4661b43c6217 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <limits.h>
#define LEFT(x) (2 * (x) + 1)
#define RIGHT(x) (2 * (x) + 2)
#define PARENT(x) (((x) - 1) / 2)
typedef struct _Edge {
int u, v, w;
} Edge;
int N, M, S, T;
Edge E[1000000];
int D[100000], Ei[100001]; // Ei = Edge index
// Heap
int H[100000], Hi[100000], Hn;
void sort_E(int l, int r) {
if (l + 1 >= r)
return;
int i = l, j = r - 1, f = 0;
while (i < j) {
if (E[i].u > E[j].u) {
Edge t = E[i];
E[i] = E[j];
E[j] = t;
f = !f;
}
f ? j-- : i++;
}
sort_E(l, i);
sort_E(i + 1, r);
}
int extract_min() {
int heap_min = H[0];
Hi[heap_min] = -1;
int key = H[0] = H[--Hn];
int n = 0, smaller;
while (n < Hn) {
smaller = LEFT(n);
if (RIGHT(n) < Hn && H[RIGHT(n)] < H[LEFT(n)])
smaller = RIGHT(n);
if (smaller >= Hn)
break;
H[n] = H[smaller];
Hi[H[n]] = n;
n = smaller;
}
H[n] = key;
Hi[key] = n;
return heap_min;
}
void update_D(int node, int value) {
if ((D[node] <= value && D[node] > 0) || node == S)
return; // No need to update
D[node] = value;
int n = Hi[node];
if (n > 0 || (n == 0 && H[0] == node)) {
// Already in heap
} else {
// Append to heap
H[Hn] = INT_MAX;
n = Hn++;
}
// Decrease key
while (n > 0) {
int p = PARENT(n);
if (H[p] < H[n])
break;
H[n] = H[p];
Hi[H[n]] = n;
n = p;
}
Hi[node] = n;
H[n] = node;
}
int main() {
scanf("%d%d%d%d", &N, &M, &S, &T);
if (S-- == T--) {
printf("%d\n", 0);
return 0;
}
for (int i = 0; i < M; i++) {
int u, v, w;
scanf("%d%d%d", &u, &v, &w);
E[i].u = u - 1;
E[i].v = v - 1;
E[i].w = w;
}
sort_E(0, M);
Ei[0] = 0;
Ei[N] = M;
int current = 0;
for (int i = 0; i < M; i++)
while (current < E[i].u)
Ei[++current] = i;
// Dijkstra
H[0] = S;
Hi[S] = 0;
Hn = 1;
D[S] = 0;
while (Hn > 0) {
int node = extract_min();
for (int i = Ei[node]; i < Ei[node + 1]; i++) {
update_D(E[i].v, D[node] + E[i].w);
}
}
if (D[T] == 0) {
printf("%d\n", -1);
} else {
printf("%d\n", D[T]);
}
return 0;
}
| 20.07438 | 55 | 0.378345 |
e44d4a7e5aaada2a29d3c571d34877965c3d7303 | 988 | h | C | FreeRTOS_Demo/FreeRTOS_Demo/Drivers/Button.h | ttHoang1608/Atmel-8-bit-Peripherals | 13dc459888f8ce42bec30421eca0e4af223f1f88 | [
"MIT"
] | null | null | null | FreeRTOS_Demo/FreeRTOS_Demo/Drivers/Button.h | ttHoang1608/Atmel-8-bit-Peripherals | 13dc459888f8ce42bec30421eca0e4af223f1f88 | [
"MIT"
] | null | null | null | FreeRTOS_Demo/FreeRTOS_Demo/Drivers/Button.h | ttHoang1608/Atmel-8-bit-Peripherals | 13dc459888f8ce42bec30421eca0e4af223f1f88 | [
"MIT"
] | null | null | null | /*
* Button.h
*
* Created: 03/13/17 03:42:46 PM
* Author: Hoang Thien Tran
*/
#ifndef BUTTON_H_
#define BUTTON_H_
#include <avr/io.h>
#define ButtonP 7
#define ButtonPin PINB
#define ButtonPullup PORTB
#define Button_DDR DDRB
volatile uint8_t button_down;
void ButtonInit(void);
static inline void debounce(void)
{
static uint8_t count = 0; // Counter for number of equal states
static uint8_t button_state = 0; // Keeps track of current (debounced)state
uint8_t current_state = (~ButtonPin & (1<<ButtonP)); // Check if button is high or low for the moment
if (current_state != button_state)
{
count++; // Button state is about to be changed, increase counter
if (count >= 5)
{
button_state = current_state; // The button have not bounced for four checks, change state
if (current_state != 0) // If the button was pressed (not released), tell main so
{
button_down = 1;
}
count = 0;
}
}
else
{
count = 0; // Reset counter
}
}
#endif | 21.021277 | 102 | 0.686235 |
5b6543a2bcd4e310628c0b65f15a22be4e7178c1 | 19,010 | h | C | Function/Function.h | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | 12 | 2018-03-15T00:20:55.000Z | 2021-08-11T10:02:15.000Z | Function/Function.h | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | null | null | null | Function/Function.h | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | 2 | 2019-04-09T17:15:31.000Z | 2020-12-05T19:52:59.000Z | // Copyright 2018 InnoVisioNate Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <ocidl.h>
#include <cGuid.h>
#include <wTypes.h>
#include <list>
#define MULTITHREADED_EVALUATOR
#include "GSystem_i.h"
#include "list.h"
#include "utils.h"
#include "utilities.h"
#include "VList.h"
#include "Properties_i.h"
#include "Variable_i.h"
#include "Evaluator_i.h"
#include "DataSet_i.h"
#include "OpenGLImplementation_i.h"
#include "GraphicControl_i.h"
#include "Function_i.h"
#include "Plot_i.h"
class Function;
#include "ConnectedEvaluator.h"
class Function :
public IOleObject,
public IOleInPlaceObject,
public IOleControl,
public IDataObject,
public IViewObjectEx,
public IProvideClassInfo2,
public IRunnableObject,
public IQuickActivate,
public IGSFunctioNater,
public IGPropertiesClient,
public IGPropertyPageClient,
public IConnectionPointContainer {
public:
Function(IUnknown* pUnkOuter);
virtual ~Function();
STDMETHOD (QueryInterface)(REFIID riid,void **ppv);
STDMETHOD_ (ULONG, AddRef)();
STDMETHOD_ (ULONG, Release)();
private:
STDMETHOD (GetTypeInfoCount)(UINT *pctinfo);
STDMETHOD (GetTypeInfo)(UINT itinfo, LCID lcid, ITypeInfo **pptinfo);
STDMETHOD (GetIDsOfNames)(REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid);
STDMETHOD (Invoke)(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pdispparams, VARIANT *pvarResult, EXCEPINFO *pexcepinfo, UINT *puArgErr);
// IFunction
STDMETHOD(put_Expression)(BSTR putExpression);
STDMETHOD(get_Expression)(BSTR* getExpression);
STDMETHOD(put_ExpressionLabel)(BSTR strExpressionLabel);
STDMETHOD(get_ExpressionLabel)(BSTR* pstrExpressionLabel);
STDMETHOD(put_ResultsLabel)(BSTR strResultsLabel);
STDMETHOD(get_ResultsLabel)(BSTR* pstrResultsLabel);
STDMETHOD(put_AllowPropertySettings)(VARIANT_BOOL bAllowPropertySettings);
STDMETHOD(get_AllowPropertySettings)(VARIANT_BOOL* pbAllowPropertySettings);
STDMETHOD(put_AllowControlVisibilitySettings)(VARIANT_BOOL bAllowControlVisibilitySettings);
STDMETHOD(get_AllowControlVisibilitySettings)(VARIANT_BOOL* pbAllowControlVisibilitySettings);
STDMETHOD(put_ShowVariables)(VARIANT_BOOL bShowVariables);
STDMETHOD(get_ShowVariables)(VARIANT_BOOL* bShowVariables);
STDMETHOD(put_ShowControls)(VARIANT_BOOL bShowControls);
STDMETHOD(get_ShowControls)(VARIANT_BOOL* bShowControls);
STDMETHOD(put_ShowStart)(VARIANT_BOOL bShowStart);
STDMETHOD(get_ShowStart)(VARIANT_BOOL* bShowStart);
STDMETHOD(put_ShowPause)(VARIANT_BOOL bShowPause);
STDMETHOD(get_ShowPause)(VARIANT_BOOL* bShowPause);
STDMETHOD(put_ShowResume)(VARIANT_BOOL bShowResume);
STDMETHOD(get_ShowResume)(VARIANT_BOOL* bShowResume);
STDMETHOD(put_ShowStop)(VARIANT_BOOL bShowStop);
STDMETHOD(get_ShowStop)(VARIANT_BOOL* bShowStop);
STDMETHOD(put_ShowResults)(VARIANT_BOOL bShowResults);
STDMETHOD(get_ShowResults)(VARIANT_BOOL* pbShowResults);
STDMETHOD(put_ShowExpression)(VARIANT_BOOL bShowExpression);
STDMETHOD(get_ShowExpression)(VARIANT_BOOL* pbShowExpression);
STDMETHOD(put_DefaultMinValue)(BSTR );
STDMETHOD(get_DefaultMinValue)(BSTR* );
STDMETHOD(put_DefaultMaxValue)(BSTR );
STDMETHOD(get_DefaultMaxValue)(BSTR* );
STDMETHOD(put_DefaultStepCount)(long );
STDMETHOD(get_DefaultStepCount)(long* );
STDMETHOD(DefineIndependentVariable)(BSTR variableName,BSTR minValue,BSTR maxValue,long stepCount);
STDMETHOD(DefineSimpleVariable)(BSTR variableName,VARIANT value);
STDMETHOD(UndefineVariable)(BSTR variableName);
STDMETHOD(Start)();
STDMETHOD(Pause)();
STDMETHOD(Resume)();
STDMETHOD(Stop)();
STDMETHOD(put_Enabled)(VARIANT_BOOL);
STDMETHOD(get_Enabled)(VARIANT_BOOL*);
STDMETHOD(PersistTo)(BSTR bstrFileName);
STDMETHOD(PersistFrom)(BSTR bstrFileName);
STDMETHOD(parseExpression)();
STDMETHOD(EditProperties)();
STDMETHOD(put_IPlot)(void *);
STDMETHOD(get_IPlot)(void **);
STDMETHOD(put_IDataSet)(void *);
STDMETHOD(get_IDataSet)(void **);
STDMETHOD(Initialize)(IDataSet* pIDataSet_Domain,void *pvIOpenGLImplementation,
IGProperty* pIPropertyLineColor,IGProperty* pIPropertyLineWeight,
IGProperty *parentPropertyPlotView,
IGProperty *parentPropertyDefault2DPlotSubType,
IGProperty *parentPropertyDefault3DPlotSubType,
IGProperty *parentPropertyBackgroundColor,
IGProperty *parentPropertyXFloor,IGProperty *parentPropertyXCeiling,
IGProperty *parentPropertyYFloor,IGProperty *parentPropertyYCeiling,
IGProperty *parentPropertyZFloor,IGProperty *parentPropertyZCeiling,
void (__stdcall *pCallback)(void *,ULONG_PTR),void *,ULONG_PTR);
STDMETHOD(put_OnChangeCallback)(void (__stdcall *pOnChange)(void *,ULONG_PTR),void *,ULONG_PTR);
STDMETHOD(get_AnyControlVisible)(VARIANT_BOOL* pbAnyVisible);
STDMETHOD(AdviseGSystemStatusBar)(IGSystemStatusBar *);
STDMETHOD(AdviseGSGraphicServices)(/*IGSGraphicServices*/ void *);
// IOleObject
STDMETHOD (SetClientSite)(IOleClientSite *pClientSite);
STDMETHOD (GetClientSite)(IOleClientSite **ppCLientSite);
STDMETHOD (SetHostNames)(LPCOLESTR szContainerApp,LPCOLESTR szContainerObj);
STDMETHOD (Close)(DWORD dwSaveOption);
STDMETHOD (SetMoniker)(DWORD dwWhichMoniker, IMoniker *pmk);
STDMETHOD (GetMoniker)(DWORD dwAssign, DWORD dwWhichMoniker,IMoniker **ppmk);
STDMETHOD (InitFromData)(IDataObject *pDataObject,BOOL fCreation,DWORD dwReserved);
STDMETHOD (GetClipboardData)(DWORD dwReserved,IDataObject **ppDataObject);
STDMETHOD (DoVerb)(LONG iVerb,LPMSG lpmsg,IOleClientSite *pActiveSite,LONG lindex,HWND hwndParent,LPCRECT lprcPosRect);
STDMETHOD (EnumVerbs)(IEnumOLEVERB **ppenumOleVerb);
STDMETHOD (Update)();
STDMETHOD (IsUpToDate)();
STDMETHOD (GetUserClassID)(CLSID * pClsid);
STDMETHOD (GetUserType)(DWORD dwFormOfType, LPOLESTR *pszUserType);
STDMETHOD (SetExtent)(DWORD dwDrawAspect, LPSIZEL lpsizel);
STDMETHOD (GetExtent)(DWORD dwDrawAspect, LPSIZEL lpsizel);
STDMETHOD (Advise)(IAdviseSink *pAdvSink, DWORD * pdwConnection);
STDMETHOD (Unadvise)(DWORD dwConnection);
STDMETHOD (EnumAdvise)(IEnumSTATDATA **ppenumAdvise);
STDMETHOD (GetMiscStatus)(DWORD dwAspect, DWORD * pdwStatus);
STDMETHOD (SetColorScheme)(LPLOGPALETTE lpLogpal);
// IOleWindow
STDMETHOD (GetWindow)(HWND *);
STDMETHOD (ContextSensitiveHelp)(BOOL);
// IOleInPlaceObject
STDMETHOD (InPlaceActivate)();
STDMETHOD (InPlaceDeactivate)();
STDMETHOD (UIDeactivate)();
STDMETHOD (SetObjectRects)(LPCRECT,LPCRECT);
STDMETHOD (ReactivateAndUndo)();
// IOleControl
STDMETHOD (GetControlInfo)(CONTROLINFO *);
STDMETHOD (OnMnemonic)(MSG *);
STDMETHOD (OnAmbientPropertyChange)(long);
STDMETHOD (FreezeEvents)(int);
// IDataObject
STDMETHOD (GetData)(FORMATETC *,STGMEDIUM *);
STDMETHOD (GetDataHere)(FORMATETC *,STGMEDIUM *);
STDMETHOD (QueryGetData)(FORMATETC *);
STDMETHOD (GetCanonicalFormatEtc)(FORMATETC *,FORMATETC *);
STDMETHOD (SetData)(FORMATETC *,STGMEDIUM *,BOOL);
STDMETHOD (EnumFormatEtc)(DWORD,IEnumFORMATETC **);
STDMETHOD (DAdvise)(FORMATETC *,DWORD,IAdviseSink *,DWORD *);
STDMETHOD (DUnadvise)(DWORD);
STDMETHOD (EnumDAdvise)(IEnumSTATDATA **);
// IViewObject
STDMETHOD (Draw)(unsigned long,long,void *,DVTARGETDEVICE *,HDC,HDC,const struct _RECTL *,const struct _RECTL *,int (__stdcall *)(ULONG_PTR),ULONG_PTR);
STDMETHOD (GetColorSet)(DWORD,long,void *,DVTARGETDEVICE *,HDC,LOGPALETTE **);
STDMETHOD (Freeze)(DWORD,long,void *,DWORD *);
STDMETHOD (Unfreeze)(DWORD);
STDMETHOD (SetAdvise)(DWORD,DWORD,IAdviseSink *);
STDMETHOD (GetAdvise)(DWORD *,DWORD *,IAdviseSink **);
// IViewObject2
STDMETHOD (GetExtent)(unsigned long,long,DVTARGETDEVICE *,struct tagSIZE *);
// IViewObjectEx
STDMETHOD (GetRect)(DWORD dwAspect,RECTL *);
STDMETHOD (GetViewStatus)(DWORD *);
STDMETHOD (QueryHitPoint)(DWORD dwAspect,const struct tagRECT *pRectBounds,POINT ptlHit,long lCloseHint,DWORD *dwHitResult);
STDMETHOD (QueryHitRect)(DWORD dwAspect,const struct tagRECT *pRectBounds,const struct tagRECT *rctHit,long lCloseHint,DWORD *dwHitResult);
STDMETHOD (GetNaturalExtent)(DWORD dwExtent,LONG lIndex,DVTARGETDEVICE *ptd,HDC hicTargetDev,DVEXTENTINFO *extentInfo,SIZEL *);
// IProvideClassInfo
STDMETHOD (GetClassInfo)(ITypeInfo **);
// IProvideClassInfo2
STDMETHOD (GetGUID)(DWORD,GUID *);
// IRunnableObject
STDMETHOD (GetRunningClass)(CLSID *);
STDMETHOD (Run)(LPBC);
int __stdcall IsRunning(void);
STDMETHOD (LockRunning)(BOOL,BOOL);
STDMETHOD (SetContainedObject)(BOOL);
// IQuickActivate
STDMETHOD(QuickActivate)(QACONTAINER* pQAContainer,QACONTROL* pQAControl);
STDMETHOD(SetContentExtent)(SIZEL* pSizel);
STDMETHOD(GetContentExtent)(SIZEL* pSizel);
// IGPropertiesClient
STDMETHOD(SavePrep)();
STDMETHOD(InitNew)();
STDMETHOD(Loaded)();
STDMETHOD(Saved)();
STDMETHOD(IsDirty)();
STDMETHOD(GetClassID)(BYTE *pCLSID);
// IPropertyPageClient
STDMETHOD(BeforeAllPropertyPages)();
STDMETHOD(GetPropertyPagesInfo)(long* countPages,SAFEARRAY** stringDescriptions,SAFEARRAY** stringHelpDirs,SAFEARRAY** pSize);
STDMETHOD(CreatePropertyPage)(long,HWND,RECT*,BOOL,HWND* hwndPropertyPage);
STDMETHOD(Apply)();
STDMETHOD(IsPageDirty)(long,BOOL*);
STDMETHOD(Help)(BSTR bstrHelpDir);
STDMETHOD(TranslateAccelerator)(long,long*);
STDMETHOD(AfterAllPropertyPages)(BOOL);
STDMETHOD(DestroyPropertyPage)(long);
STDMETHOD(GetPropertySheetHeader)(void *pHeader);
STDMETHOD(get_PropertyPageCount)(long *pCount);
STDMETHOD(GetPropertySheets)(void *pSheets);
// IConnectionPointContainer
STDMETHOD(FindConnectionPoint)(REFIID riid,IConnectionPoint **);
STDMETHOD(EnumConnectionPoints)(IEnumConnectionPoints **);
public:
long fire_UndefinedVariable(BSTR variableName);
void fire_UndefinedFunction(BSTR functionName);
void fire_Started(long expectedIterations);
void fire_Paused();
void fire_Resumed();
void fire_Stopped();
void fire_TakeValues(long iterationNumber,char* pszNames,char* szValues,char** pszCookedResults);
void fire_Finished();
void fire_Clear();
void fire_Parsed();
void fire_DivideByZero();
void fire_InvalidArgument(BSTR bstrFunction,double argumentValue);
IVariable* UnknownVariable(char* variableName,bool* createdNew);
int UnknownFunction(char* functionName);
HWND hWnd() { return hwndSpecDialog; }
private:
// IOleInPlaceActiveObject
struct _IOleInPlaceActiveObject : IOleInPlaceActiveObject {
_IOleInPlaceActiveObject(Function *pp) : pParent(pp) {};
~_IOleInPlaceActiveObject();
STDMETHOD (QueryInterface)(REFIID riid,void **ppv);
STDMETHOD_ (ULONG, AddRef)();
STDMETHOD_ (ULONG, Release)();
STDMETHOD (GetWindow)(HWND *);
STDMETHOD (ContextSensitiveHelp)(BOOL);
STDMETHOD (TranslateAccelerator)(LPMSG);
STDMETHOD (OnFrameWindowActivate)(BOOL);
STDMETHOD (OnDocWindowActivate)(BOOL);
STDMETHOD (ResizeBorder)(LPCRECT ,IOleInPlaceUIWindow *,BOOL);
STDMETHOD (EnableModeless)(BOOL);
private:
Function* pParent;
} *pIOleInPlaceActiveObject;
struct _IConnectionPoint : IConnectionPoint {
public:
STDMETHOD (QueryInterface)(REFIID riid,void **ppv);
STDMETHOD_ (ULONG, AddRef)();
STDMETHOD_ (ULONG, Release)();
STDMETHOD (GetConnectionInterface)(IID *);
STDMETHOD (GetConnectionPointContainer)(IConnectionPointContainer **ppCPC);
STDMETHOD (Advise)(IUnknown *pUnk,DWORD *pdwCookie);
STDMETHOD (Unadvise)(DWORD);
STDMETHOD (EnumConnections)(IEnumConnections **ppEnum);
_IConnectionPoint(Function *pp,REFIID outGoingInterfaceType);
~_IConnectionPoint();
IUnknown *AdviseSink() { return adviseSink; };
private:
int getSlot();
int findSlot(DWORD dwCookie);
IUnknown *adviseSink;
Function *pParent;
DWORD nextCookie;
int countConnections,countLiveConnections;
REFIID outGoingInterfaceType;
CONNECTDATA *connections;
long refCount;
friend class Function;
} *pIConnectionPoint;
struct _IEnumConnectionPoints : IEnumConnectionPoints {
public:
STDMETHOD (QueryInterface)(REFIID riid,void **ppv);
STDMETHOD_ (ULONG, AddRef)();
STDMETHOD_ (ULONG, Release)();
STDMETHOD (Next)(ULONG cConnections,IConnectionPoint **rgpcn,ULONG *pcFetched);
STDMETHOD (Skip)(ULONG cConnections);
STDMETHOD (Reset)();
STDMETHOD (Clone)(IEnumConnectionPoints **);
_IEnumConnectionPoints(Function *pp,_IConnectionPoint **cp,int connectionPointCount);
~_IEnumConnectionPoints();
private:
int cpCount,enumeratorIndex;
Function *pParent;
_IConnectionPoint **connectionPoints;
} *enumConnectionPoints;
struct _IEnumerateConnections : public IEnumConnections {
public:
_IEnumerateConnections(IUnknown* pParentUnknown,ULONG cConnections,CONNECTDATA* paConnections,ULONG initialIndex);
~_IEnumerateConnections();
STDMETHODIMP QueryInterface(REFIID, void **);
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
STDMETHODIMP Next(ULONG, CONNECTDATA*, ULONG*);
STDMETHODIMP Skip(ULONG);
STDMETHODIMP Reset();
STDMETHODIMP Clone(IEnumConnections**);
private:
ULONG refCount;
IUnknown *pParentUnknown;
ULONG enumeratorIndex;
ULONG countConnections;
CONNECTDATA *connections;
} *enumConnections;
int defineFunction(char* pszTheExpression = NULL);
int initWindows();
int resize();
short anyVisible();
int hideAllTabs();
int showVariableTab(IVariable* pV,char* pszVariableName);
static unsigned long __stdcall evaluate(void *);
static LRESULT EXPENTRY functionDialogHandler(HWND,UINT,WPARAM,LPARAM);
static LRESULT EXPENTRY functionVariablesHandler(HWND,UINT,WPARAM,LPARAM);
static LRESULT EXPENTRY functionPropertiesHandler(HWND hwnd,UINT msg,WPARAM mp1,LPARAM mp2);
//static LRESULT EXPENTRY functionPropertiesVisibilityHandler(HWND hwnd,UINT msg,WPARAM mp1,LPARAM mp2);
static LRESULT EXPENTRY expressionHandler(HWND hwnd,UINT msg,WPARAM mp1,LPARAM mp2);
WNDPROC oldExpressionHandler;
WNDPROC oldResultLabelHandler;
WNDPROC oldExpressionLabelHandler;
IOleClientSite *pIOleClientSite;
IStorage *pStorage;
IOleAdviseHolder *pOleAdviseHolder;
IDataAdviseHolder *pDataAdviseHolder;
IAdviseSink *pAdviseSink;
IOleInPlaceSite *pIOleInPlaceSite;
IPropertyNotifySink *pIPropertyNotifySink;
IGSystemStatusBar *pIGSystemStatusBar{NULL};
IGSGraphicServices *pIGSGraphicServices{NULL};
IPlot *pIPlot;
IDataSet *pIDataSet;
void (__stdcall *pWhenChangedCallback)(void *,ULONG_PTR);
void *pWhenChangedCallbackArg;
ULONG_PTR whenChangedCallbackCookie;
DWORD adviseSink_dwAspect,adviseSink_advf;
int refCount;
static long functionCount;
long iterationCount;
long resultingHeight;
long resultingWidth;
int freezeEvents;
int controlSpacing;
HWND hwndSpecDialog,hwndVariables,hwndVariablesTab,hwndErrors,hwndProperties,hwndPropertiesVisibility;
short allowUserProperties,allowUserPropertiesControls,userMode,enteringData,stopAllProcessing,askedForInPlaceObject;
short isDesignMode;
COLORREF backgroundColor,foregroundColor;
union {
short visibleItems[10];
struct {
short expressionVisible,resultsVisible,variablesVisible,controlsVisible,startVisible,pauseVisible,resumeVisible,stopVisible,plotPropertiesVisible,dataSetPropertiesVisible;
};
};
USHORT ignoreEvalErrors,expectEvalUndefines,functionDefined;
RECT rectDialog,rectLabel1,rectLabel2,rectExpression,rectResults,rectVariables,rectControls,rectProperties;
ULONG threadID;
IUnknown* pIUnknownProperties;
IGProperties *iProperties;
IGProperty* pIPropertyExpression;
IGProperty* pIPropertyExpressionLabel;
IGProperty* pIPropertyResultsLabel;
IGProperty* pIPropertyPropertiesVisible;
IGProperty* pIPropertyPropertiesControlVisibility;
IGProperty* pIPropertyExpressionVisible;
IGProperty* pIPropertyResultsVisible;
IGProperty* pIPropertyVariablesVisible;
IGProperty* pIPropertyControlsVisible;
IGProperty* pIPropertyStartVisible;
IGProperty* pIPropertyPauseVisible;
IGProperty* pIPropertyResumeVisible;
IGProperty* pIPropertyStopVisible;
IGProperty* pIPropertyPlotPropertiesVisible;
IGProperty* pIPropertyDataSetPropertiesVisible;
IGProperty* pIPropertyVariables;
IGProperty* pIPropertyManuallyAddedVariables;
IGProperty* pIPropertyPlots;
IGProperty* pIPropertyDataSets;
IStream* pIStream_Marshalling;
HGLOBAL hglMarshalling;
ConnectedEvaluator *evaluator;
char expression[MAX_PROPERTY_SIZE];
char expressionLabel[MAX_PROPERTY_SIZE];
char resultsLabel[MAX_PROPERTY_SIZE];
BSTR bstrDefaultMinValue,bstrDefaultMaxValue;
long defaultStepCount;
VList* pVariableList;
VList* pPropertyDialogVariableList;
VList* pCurrentVariableList;
VList* pManuallyAddedVariables;
std::list<IVariable **> variableToDeleteList;
IVariable* currentShowingVariable;
friend class FunctionFactory;
friend struct NonDelegatingUnknown;
friend struct _IOleInPlaceActiveObject;
friend class _IEvaluatorEvents;
};
extern HMODULE hModule;
extern char szModuleName[1024];
extern BSTR wstrModuleName;
extern ITypeInfo *pITypeInfo_IGSFunctioNater;
extern ITypeInfo* pIEvaluatorEventsTypeInfo;
extern ITypeInfo *pITypeInfo_IGSFunctioNaterEvents;
extern long oleMiscStatus;
#define CONTAINERSIZE_CX 256
#define CONTAINERSIZE_CY 334
| 35.073801 | 183 | 0.71878 |
1754a27498a1c381ce515c8d9ecf52556bb341cf | 505 | h | C | JMEmptyAnimateView/JMEmptyAnimateView/JMEmptyConfig.h | ljm5000/JMEmptyAnimateView | 2d3a2190f183db838dae4be12e40fe73a9cda8b2 | [
"Apache-2.0"
] | 24 | 2019-07-01T07:39:49.000Z | 2021-07-23T10:51:13.000Z | JMEmptyAnimateView/JMEmptyAnimateView/JMEmptyConfig.h | ljm5000/JMEmptyAnimateView | 2d3a2190f183db838dae4be12e40fe73a9cda8b2 | [
"Apache-2.0"
] | 1 | 2021-01-23T08:55:36.000Z | 2021-01-23T08:55:36.000Z | JMEmptyAnimateView/JMEmptyAnimateView/JMEmptyConfig.h | ljm5000/JMEmptyAnimateView | 2d3a2190f183db838dae4be12e40fe73a9cda8b2 | [
"Apache-2.0"
] | 1 | 2019-07-02T04:16:13.000Z | 2019-07-02T04:16:13.000Z | //
// JMEmptyConfig.h
// JMEmptyAnimateView
//
// Created by jimmy on 2019/6/29.
// Copyright © 2019 com.jimmy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define JMCONFIG_MANAGER [JMEmptyConfig shareInstance]
NS_ASSUME_NONNULL_BEGIN
@interface JMEmptyConfig : NSObject
@property (nonatomic,assign) BOOL isLog;
@property (nonatomic,strong) UIColor * bgColor;
+ (JMEmptyConfig *)shareInstance;
-(void)showLog:(NSString *)log;
@end
NS_ASSUME_NONNULL_END
| 17.413793 | 54 | 0.750495 |
1760fc5020a19250986dc773b51a05360e5b7ffe | 8,594 | c | C | master_funcs.c | danyloM/FlyARocket_GNC | dc763d4b01d07c56ffa33a957aa775a4c87af763 | [
"MIT"
] | 31 | 2017-05-02T13:34:56.000Z | 2022-03-08T05:50:40.000Z | master_funcs.c | DanyloMalyuta/FlyARocket_GNC | dc763d4b01d07c56ffa33a957aa775a4c87af763 | [
"MIT"
] | null | null | null | master_funcs.c | DanyloMalyuta/FlyARocket_GNC | dc763d4b01d07c56ffa33a957aa775a4c87af763 | [
"MIT"
] | 13 | 2017-05-02T13:34:58.000Z | 2022-03-08T05:50:42.000Z | /**
* @file master_funcs.c
* @author Danylo Malyuta <danylo.malyuta@gmail.com>
* @version 1.0
*
* @brief Master functions file.
*
* This file contains some of the primary, "every-day" functions used by the GNC
* algorithm to achieve its tasks. The file is called "master_funcs" because the
* functions here are general in that they tend to appear everywhere in the code
* to perform routine tasks like file I/O, waiting, etc.
*/
# include <sys/time.h>
# include <stdio.h>
# include <string.h>
# include <stdlib.h>
# include <pthread.h>
# include <unistd.h>
# include "master_header.h"
# include "spycam_header.h"
/**
* @name Thrust curve group
* These variables have been collected in experimental open-loop tests to determine what thrust value the valves output for a given PWM (in #PWM_valve_charac).
* @{
*/
unsigned int PWM_valve_charac[VALVE_CHARAC_RESOLUTION] = {310,420,520,620,720,820,920,1020}; ///< PWM value of characteristic thrust curve
double R_valve_charac[VALVE_CHARAC_RESOLUTION] = {0.0,0.17,0.25,0.29,0.32,0.34,0.35,0.36}; ///< Thrust value [N],relative, of characteristic thrust value for RCS valves
/** @} */
/**
* @fn void write_to_file_custom(FILE *file_ptr, char *string,FILE *error_log)
*
* This function allows to write a custom string to a file
*
* @param file_ptr Pointer to file.
* @param string The file path.
* @param error_log Pointer to error log file.
*/
void write_to_file_custom(FILE *file_ptr, char *string,FILE *error_log) {
if ((fprintf(file_ptr,"%s", string))<0) {
sprintf(ERROR_MESSAGE,"Could not write to custom file!");
perror(ERROR_MESSAGE); fflush(stdout);
if (file_ptr!=error_log) { // Make sure the error is not writing to the error log, otherwise we'd have an infinite loop in a recursive
// function!
pthread_mutex_lock(&error_log_write_lock); // Protect writing into error log by more than one thread
write_to_file_custom(error_log,ERROR_MESSAGE,error_log);
pthread_mutex_unlock(&error_log_write_lock);
}
stopVideo();
exit(-2); // Exit with a critical failure
}
}
/**
* @fn void check_time(struct timeval *now, struct timeval before, struct timeval elapsed, unsigned long long int *time)
*
* This function the value pointed to by time with the time that has passed between *now and the last time
* gettimeofday(&before,NULL) was called.
*
* @param now The current time (struct timeval).
* @param before The previous time (struct timeval).
* @param elapsed The time elapsed between now and before (struct timeval).
* @param time The time in [us] that elapsed between now and before.
*/
void check_time(struct timeval *now, struct timeval before, struct timeval elapsed, unsigned long long int *time) {
gettimeofday(now, NULL);
if (before.tv_usec > (*now).tv_usec) { // Account for overflow on the .tv_usec timer
(*now).tv_usec += 1000000;
(*now).tv_sec--;
}
elapsed.tv_usec = (*now).tv_usec - before.tv_usec; // microsecond difference
elapsed.tv_sec = (*now).tv_sec - before.tv_sec; // second difference
*time = elapsed.tv_sec*1000000 + elapsed.tv_usec; // Microsecond precision elapsed time since (first)
}
/**
* @fn void open_file(FILE **log, char *path, char *setting,FILE *error_log)
*
* This function opens a file at *path in the mode *setting. If unsuccessful,
* it writes the error into the error_log (which may itself be unsuccessful and throws
* an error.
*
* @param log This is the pointer to the file we want to open.
* @param path This is the path to the file.
* @param setting This is the mode in which we want to open the file (e.g. 'w', write only).
* @param error_log Pointer to the error log, used in case of error opening log (argument 1).
*/
void open_file(FILE **log, char *path, char *setting,FILE *error_log) {
if ((*log=fopen(path,setting))==0) {
sprintf(ERROR_MESSAGE,"CRITICAL ERROR: could not fopen() %s\n",path);
perror(ERROR_MESSAGE); fflush(stdout);
pthread_mutex_lock(&error_log_write_lock);
write_to_file_custom(error_log,ERROR_MESSAGE,error_log);
pthread_mutex_unlock(&error_log_write_lock);
stopVideo();
exit(-2); // Exit with a critical failure
}
}
/**
* @fn void open_error_file(FILE **error_log,char *path, char *setting)
*
* This file opens the error file. The function is separate from open_file() because
* in case of error we can't write to the error file.
*
* @param error_log Pointer to the error log.
* @param path This is the path to the error log.
* @param setting This is the mode in which we want to open the error log (e.g 'w', write only).
*/
void open_error_file(FILE **error_log,char *path, char *setting) {
if ((*error_log=fopen(path,setting))==0) {
sprintf(ERROR_MESSAGE,"CRITICAL ERROR: could not fopen() %s",path);
perror(ERROR_MESSAGE); fflush(stdout);
stopVideo();
exit(-2); // Exit with a critical failure
}
}
/**
* @fn void passive_wait(struct timeval *now,struct timeval *before,struct timeval *elapsed,unsigned long long int *time,unsigned long long int TIME__STEP)
*
* This function does a passive (instead of a busy) wait.
*
* @param now The time now (struct timeval).
* @param before The time before (struct timeval).
* @param elapsed The time elapsed (struct timeval).
* @param time The time in [us] between now and before.
* @param TIME__STEP The time we want to iterate at within the loop from which passive_wait() was called.
*/
void passive_wait(struct timeval *now,struct timeval *before,struct timeval *elapsed,unsigned long long int *time,unsigned long long int TIME__STEP) {
check_time(now,*before,elapsed_control,time);
if (TIME__STEP>*time) {
usleep(TIME__STEP-*time);
}
check_time(now,*before,elapsed_control,time);
*before=*now;
}
/**
* @fn void search_PWM(double R1_thrust,double R2_thrust,double R3_thrust,double R4_thrust,unsigned int *pwm1,unsigned int *pwm2,unsigned int *pwm3,unsigned int *pwm4)
*
* This function, given a wanted thrust, assigns the required PWM to produce that
* thrust given the PWM_valve_charac[] and R_valve_charac[] arrays which assigns the correct
* PWM for a given thrust level. Typical thrust curves can be seen on the first
* figure at page 2 of datasheet found <a href="http://www.parker.com/literature/Literature%20Files/Precision%20Fluidics%20Division/UpdatedFiles/VSO%20Data%20Sheet_1_19_11.pdf">here</a>.
* However, we manually measured the thrust level for a given PWM using a balance. The data was collected into a spreadsheet
* and the following graph was produced:
*
* @image latex "valve_curve.jpg" "Valve thrust curves" width=15cm
*
* The valves in our application are controlled in open-loop due to space and time constraints on implementing
* sensors to close the loop on valve control. This is suboptimal, of course, due to valves heating up, cooling down,
* hysteresis, etc. that would slightly make the thrust curve change during flight.
*
* @param R1_thrust The thrust we want the valve R1 to output.
* @param R2_thrust The thrust we want the valve R2 to output.
* @param R3_thrust The thrust we want the valve R3 to output.
* @param R4_thrust The thrust we want the valve R4 to output.
* @param pwm1 The pointer to the PWM1 value (for valve R1).
* @param pwm2 The pointer to the PWM2 value (for valve R2).
* @param pwm3 The pointer to the PWM3 value (for valve R3).
* @param pwm4 The pointer to the PWM4 value (for valve R4).
*/
void search_PWM(double R1_thrust,double R2_thrust,double R3_thrust,double R4_thrust,unsigned int *pwm1,unsigned int *pwm2,unsigned int *pwm3,unsigned int *pwm4) {
if (R1_thrust!=0) {
linear_search(R1_thrust,pwm1);
} else {
*pwm1 = 0;
}
if (R2_thrust!=0) {
linear_search(R2_thrust,pwm2);
} else {
*pwm2=0;
}
if (R3_thrust!=0) {
linear_search(R3_thrust,pwm3);
} else {
*pwm3=0;
}
if (R4_thrust!=0) {
linear_search(R4_thrust,pwm4);
} else {
*pwm4=0;
}
}
/**
* @fn void linear_search(double thrust, unsigned int *pwm)
* Interpolates discrete thrust curve to give a PWM that produces a given valve thrust.
*
* @param thrust Desired valve thrust, in [N].
* @param pwm Pointer to the memory block holding the pwm value which we'd like to assign.
*/
void linear_search(double thrust, unsigned int *pwm) {
int zz;
for (zz=1;zz<VALVE_CHARAC_RESOLUTION;zz++) {
if (R_valve_charac[zz-1]<=thrust && R_valve_charac[zz]>=thrust) {
// Interpolate the necessary PWM4 for the given thrust R4
*pwm = PWM_valve_charac[zz-1]+(unsigned int)(((double)(PWM_valve_charac[zz]-PWM_valve_charac[zz-1]))/(R_valve_charac[zz]-R_valve_charac[zz-1])*(thrust-R_valve_charac[zz-1]));
break;
}
}
}
| 40.729858 | 186 | 0.727019 |
c0c76ddc50d980dcc94f716a6488f5a94730aef8 | 1,307 | h | C | include/org/mockito/exceptions/misusing/MissingMethodInvocationException.h | iFindTA/PBJ2Objc | 014bd0f99b129cb094ee35e472802fd38c5c0f87 | [
"MIT"
] | null | null | null | include/org/mockito/exceptions/misusing/MissingMethodInvocationException.h | iFindTA/PBJ2Objc | 014bd0f99b129cb094ee35e472802fd38c5c0f87 | [
"MIT"
] | null | null | null | include/org/mockito/exceptions/misusing/MissingMethodInvocationException.h | iFindTA/PBJ2Objc | 014bd0f99b129cb094ee35e472802fd38c5c0f87 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/free6om/Documents/open-source/j2objc/j2objc/testing/mockito/build_result/java/org/mockito/exceptions/misusing/MissingMethodInvocationException.java
//
#ifndef _OrgMockitoExceptionsMisusingMissingMethodInvocationException_H_
#define _OrgMockitoExceptionsMisusingMissingMethodInvocationException_H_
#include "J2ObjC_header.h"
#include "org/mockito/exceptions/base/MockitoException.h"
@interface OrgMockitoExceptionsMisusingMissingMethodInvocationException : OrgMockitoExceptionsBaseMockitoException
#pragma mark Public
- (instancetype)initWithNSString:(NSString *)message;
@end
J2OBJC_EMPTY_STATIC_INIT(OrgMockitoExceptionsMisusingMissingMethodInvocationException)
FOUNDATION_EXPORT void OrgMockitoExceptionsMisusingMissingMethodInvocationException_initWithNSString_(OrgMockitoExceptionsMisusingMissingMethodInvocationException *self, NSString *message);
FOUNDATION_EXPORT OrgMockitoExceptionsMisusingMissingMethodInvocationException *new_OrgMockitoExceptionsMisusingMissingMethodInvocationException_initWithNSString_(NSString *message) NS_RETURNS_RETAINED;
J2OBJC_TYPE_LITERAL_HEADER(OrgMockitoExceptionsMisusingMissingMethodInvocationException)
#endif // _OrgMockitoExceptionsMisusingMissingMethodInvocationException_H_
| 45.068966 | 202 | 0.89671 |
a56e9556c010843e6da9a54aa3451f20e847786e | 4,247 | h | C | lib/point_cloud_util/point_cloud_util.h | shnhrtkyk/semantic3dnet | 8d093eb8cd1c2b6ac0e6c57c85a33f960bdddb0d | [
"BSD-3-Clause"
] | 201 | 2017-01-22T08:55:43.000Z | 2022-03-01T08:03:09.000Z | lib/point_cloud_util/point_cloud_util.h | deepearthgo/semantic3dnet | 23d0f5584d7e8d3bd69806cdbca45bd0cf29132c | [
"BSD-3-Clause"
] | 4 | 2017-04-27T07:11:08.000Z | 2017-06-24T15:45:34.000Z | lib/point_cloud_util/point_cloud_util.h | deepearthgo/semantic3dnet | 23d0f5584d7e8d3bd69806cdbca45bd0cf29132c | [
"BSD-3-Clause"
] | 87 | 2016-08-30T07:39:50.000Z | 2021-06-22T14:26:59.000Z | #ifndef __POINT_CLOUD_UTIL_H__
#define __POINT_CLOUD_UTIL_H__
#include <vector>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <limits>
#include <random>
#include <cmath>
#include <unordered_map>
#include <omp.h>
#include "voxel_grid3D.h"
#define XYZL float x, y, z; int label
using std::vector;
using std::unordered_map;
using std::cout;
using std::string;
using std::ifstream;
using std::ofstream;
using std::stringstream;
using std::endl;
using std::cerr;
#include "data_loader_constants.h"
const string kAggregatedSuffix = "_aggregated.txt";
const bool kIsExtended = (kWindowSize % 2 == 0);
struct DataLoader {
DataLoader();
void deferred_construct(const string& input_path,
int seed,
int number_of_scales,
float additional_rotation);
DataLoader(const string& input_path,
int seed = kDefaultSeed,
int number_of_scales = kDefaultNumberOfScales,
float additional_rotation = 0);
~DataLoader();
void rotate_coordinates_around_z(float& x,
float& y,
float angle_in_radians);
int expanded_to_global(int expanded, int center);
int odd_local_to_global(int local, int center);
void set_global_voxel_grid();
void set_angle(bool is_random);
void set_counts();
void begin_iterating_lines(bool is_cached);
void end_iterating_lines(bool is_cached);
// true if success
bool next_point(float& x, float& y, float& z, int& label, bool is_cached);
void aggregate_in_volume(int number_of_augmentations, float sampling_rate);
void set_up_streaming(bool is_random_angle);
vector<float> get_aggregated_sample(float x, float y, float z, int label);
void set_aggregated_sample_in_batch(float x, float y, float z, int label, int batch_position = -1);
vector<float> get_class_counts();
void filter_unlabelled();
int get_number_of_points();
// void transform_to_colored_ply();
// static void print_encodings(const string& path, int number_of_scales);
void cache_data();
static int get_fixed_label(int label);
static void merge_points_labels(const string& points_path,
const string& labels_path);
void set_class_shares();
void set_up_infinite_streaming();
void set_class_sampling_intervals();
void set_up_class_generators();
int sample_class_index();
int sample_from_class(int class_index);
float *next_random_batch();
float get_aggregated_value(int scale_index,
int zero_local,
int one_local,
int two_local,
const array<int, 3>& center);
void set_up_test_streaming();
float *next_testing_batch();
string path_;
float angle_;
vector<cvg::VoxelGrid3D > global_voxel_grid_scales_;
vector<unordered_map<size_t, int> > counts_scales_;
std::mt19937 random_engine_;
std::uniform_real_distribution<> uniform_distribution_;
std::uniform_int_distribution<int> uniform_int_;
ifstream input_stream_;
string line_;
vector<array<float, 3> > cached_points_;
vector<int> cached_labels_;
size_t cached_index_;
float *current_batch_;
size_t batch_position_;
int batch_counter_;
vector<float> class_shares_;
vector<float> class_sampling_intervals_;
vector<vector<int> > class_inverse_index_;
vector<std::uniform_int_distribution<int> > uniform_index_per_class_;
int number_of_scales_;
float additional_rotation_;
int features_size_;
};
struct DataLoaderArray {
DataLoaderArray();
DataLoaderArray(const string& input_path,
int seed = kDefaultSeed,
int number_of_scales = kDefaultNumberOfScales,
int number_of_rotations = kDefaultNumberOfRotations);
~DataLoaderArray();
void set_up_infinite_streaming();
float *next_random_batch();
void set_up_test_streaming();
float *next_testing_batch();
void set_batch();
void aggregate_in_volume(int number_of_samples);
DataLoader *array_;
float *all_rotations_batch_;
int number_of_rotations_;
int number_of_scales_;
int number_of_features_;
string path_;
};
#endif
| 32.669231 | 101 | 0.705675 |
9d461aa8bb675dd198b1f6426ccef6331ba42893 | 13,125 | h | C | demo/options.h | 1Hyena/atomorph | bea16cbf810d153072d3c2d7632341e6ead3632e | [
"MIT"
] | 2 | 2019-11-26T04:46:27.000Z | 2020-12-24T06:04:31.000Z | demo/options.h | 1Hyena/atomorph | bea16cbf810d153072d3c2d7632341e6ead3632e | [
"MIT"
] | 1 | 2018-08-20T23:35:21.000Z | 2018-08-21T07:50:55.000Z | demo/options.h | 1Hyena/atomorph | bea16cbf810d153072d3c2d7632341e6ead3632e | [
"MIT"
] | null | null | null | /*
* See Copyright Notice in main.h
*/
#include <getopt.h>
class MORPH_OPTIONS {
public:
MORPH_OPTIONS() {}
~MORPH_OPTIONS() {}
const int AS_TEXTURE = am::TEXTURE;
const int AS_AVERAGE = am::AVERAGE;
const int AS_DISTINCT= am::DISTINCT;
const int BY_RGB = am::RGB;
const int BY_HSP = am::HSP;
const int MOTION_NONE = am::NONE;
const int MOTION_LINEAR = am::LINEAR;
const int MOTION_SPLINE = am::SPLINE;
const int FADING_NONE = am::NONE;
const int FADING_LINEAR = am::LINEAR;
const int FADING_COSINE = am::COSINE;
const int FADING_PERLIN = am::PERLIN;
int verbose = 0;
int blend_blobs = 0;
int finite = 0;
int keep_background= 0;
int show_blobs = AS_TEXTURE;
int differ_blobs = BY_HSP;
int motion = MOTION_SPLINE;
int fading = FADING_PERLIN;
int exit_flag = 0;
std::string name = "";
std::string indir = ".";
std::string outdir = ".";
std::string file = "untitled_morph";
int height = 0;
int width = 0;
unsigned seed = 0;
unsigned frames_out= 0;
unsigned match_time= 1;
unsigned morph_time= 3;
unsigned feather = 0;
unsigned fluid = 0;
unsigned cycle_length=100000;
unsigned threads =8;
size_t blob_number = 1;
size_t blob_max_size = SIZE_MAX;
size_t blob_min_size = 1;
uint16_t blob_box_grip = UINT16_MAX;
size_t blob_box_samples = 100;
double blob_threshold = 1.0;
unsigned char blob_rgba_weight = 1;
unsigned char blob_size_weight = 1;
unsigned char blob_xy_weight = 1;
size_t degenerate = 10000;
uint16_t density = 2;
bool frames_out_defined = false;
std::vector<std::string> files;
inline void print_usage (FILE* stream) {
fprintf (stream, "Usage: %s [options] <input files...>\n", name.c_str());
fprintf (stream, "Example: %s data/otu_1.png data/otu_2.png data/otu_3.png --verbose\n", name.c_str());
fprintf (stream, "Options:\n");
fprintf (stream,
" --blend-blobs Blob intersections are blended together.\n"
" -E --blob-feather INT Number of gradually transparent outer layers.\n"
" -c --blob-rgba-weight[0-255] Importance of a blob's color when matching.\n"
" -z --blob-size-weight[0-255] Importance of a blob's size when matching.\n"
" -p --blob-xy-weight [0-255] Importance of a blob's location when matching.\n"
" -b --blobs INT Preferred number of blobs to keep.\n"
" --blobs-as-texture A blob is textured by its pixels (default).\n"
" --blobs-as-average A blob has the average color of its pixels.\n"
" --blobs-as-distinct A blob has a random color.\n"
" --blobs-by-rgb Differentiate blobs by RGB distance.\n"
" --blobs-by-hsp Differentiate blobs by HSP distance (default).\n"
" -B --blobs-max-size INT Maximum size of a single blob in pixels.\n"
" -m --blobs-min-size INT Minimum size of a single blob in pixels.\n"
" -g --blobs-box-grip INT Unifying grip bounds for undersized blobs.\n"
" -S --blobs-box-samples INT Number of samples to take for each dust box.\n"
" -t --blobs-threshold [0-255] Maximum color difference for merging blobs.\n"
" --brief Print brief messages (default).\n"
" -C --cycle-length INT Number of iterations per morph cycle.\n"
" -d --degenerate INT Degeneration period for energy minimzation.\n"
" -D --density INT Number of atoms per pixel at minimum.\n"
" --fading-none Colours are not interpolated.\n"
" --fading-linear Colours are interpolated linearly.\n"
" --fading-cosine Colours are cosine interpolated.\n"
" --fading-perlin Use Perlin noise colour transition (default).\n"
" -f --file STR Output files with prefix.\n"
" --finite Morph will not repeat itself seamlessly.\n"
" -L --fluid INT Number of fluid simulation steps per frame.\n"
" -F --frames INT Number of frames to generate.\n"
" -h --help Display this usage information.\n"
" -i --indir STR Read input from this directory.\n"
" --keep-background Morph background is cross-dissolved.\n"
" -M --match-time INT Time in seconds given for blob matching.\n"
" -O --morph-time INT Time in seconds given for atom morphing.\n"
" --motion-none Positions are not interpolated.\n"
" --motion-linear Positions are linearly interpolated.\n"
" --motion-spline Uses Catmull-Rom splines (default).\n"
" -o --outdir STR Write output to this directory.\n"
" -s --seed INT Seed for the random number generator.\n"
" -T --threads INT Number of worker threads to spawn.\n"
" --verbose Print verbose messages.\n"
" -v --version Show version information.\n"
);
}
inline bool parse(int argc, char **argv) {
int c;
name = argv[0];
while (1) {
static struct option long_options[] = {
// These options set a flag:
{"verbose", no_argument, &verbose, 1 },
{"blend-blobs", no_argument, &blend_blobs, 1 },
{"finite", no_argument, &finite, 1 },
{"blobs-as-texture", no_argument, &show_blobs, AS_TEXTURE },
{"blobs-as-average", no_argument, &show_blobs, AS_AVERAGE },
{"blobs-as-distinct", no_argument, &show_blobs, AS_DISTINCT },
{"blobs-by-rgb", no_argument, &differ_blobs, BY_RGB },
{"blobs-by-hsp", no_argument, &differ_blobs, BY_HSP },
{"brief", no_argument, &verbose, 0 },
{"keep-background", no_argument, &keep_background, 1 },
// These options don't set a flag. We distinguish them by their indices:
{"blob-feather", required_argument, 0, 'E'},
{"blob-rgba-weight", required_argument, 0, 'c'},
{"blob-size-weight", required_argument, 0, 'z'},
{"blob-xy-weight", required_argument, 0, 'p'},
{"blobs", required_argument, 0, 'b'},
{"blobs-max-size", required_argument, 0, 'B'},
{"blobs-min-size", required_argument, 0, 'm'},
{"blobs-box-grip", required_argument, 0, 'g'},
{"blobs-box-samples", required_argument, 0, 'S'},
{"blobs-threshold", required_argument, 0, 't'},
{"cycle-length", required_argument, 0, 'C'},
{"degenerate", required_argument, 0, 'd'},
{"density", required_argument, 0, 'D'},
{"fading-none", no_argument, &fading, FADING_NONE },
{"fading-linear", no_argument, &fading, FADING_LINEAR },
{"fading-cosine", no_argument, &fading, FADING_COSINE },
{"fading-perlin", no_argument, &fading, FADING_PERLIN },
{"file", required_argument, 0, 'f'},
{"fluid", required_argument, 0, 'L'},
{"frames", required_argument, 0, 'F'},
{"help", no_argument, 0, 'h'},
{"indir", required_argument, 0, 'i'},
{"match-time", required_argument, 0, 'M'},
{"morph-time", required_argument, 0, 'O'},
{"motion-none", no_argument, &motion, MOTION_NONE },
{"motion-linear", no_argument, &motion, MOTION_LINEAR },
{"motion-spline", no_argument, &motion, MOTION_SPLINE },
{"outdir", required_argument, 0, 'o'},
{"seed", required_argument, 0, 's'},
{"threads", required_argument, 0, 'T'},
{"version", no_argument, 0, 'v'},
{0, 0, 0, 0 }
};
// getopt_long stores the option index here.
int option_index = 0;
c = getopt_long(argc, argv, "b:B:c:C:d:D:E:m:M:O:g:p:S:t:T:f:L:F:hi:o:s:vz:", long_options, &option_index);
/* Detect the end of the options. */
if (c == -1) break;
switch (c) {
case 0: // If this option set a flag, do nothing else now.
if (long_options[option_index].flag != 0) break;
printf ("option %s", long_options[option_index].name);
if (optarg) printf(" with arg %s", optarg); printf ("\n");
break;
case 'E': feather = atoi(optarg); break;
case 'c': blob_rgba_weight= std::min(atoi(optarg),255); break;
case 'z': blob_size_weight= std::min(atoi(optarg),255); break;
case 'p': blob_xy_weight = std::min(atoi(optarg),255); break;
case 'b': blob_number = (size_t) atoi(optarg); break;
case 'B': blob_max_size = atoi(optarg); break;
case 'C': cycle_length = atoi(optarg); break;
case 'd': degenerate = (size_t) atoi(optarg); break;
case 'D': density = (uint16_t) atoi(optarg); break;
case 'm': blob_min_size = atoi(optarg); break;
case 'M': match_time = atoi(optarg); break;
case 'O': morph_time = atoi(optarg); break;
case 'g': blob_box_grip = atoi(optarg); break;
case 'S': blob_box_samples= atoi(optarg); break;
case 't': blob_threshold = std::min(atoi(optarg),255)/255.0; break;
case 's': seed = atoi(optarg); break;
case 'T': threads = std::min(atoi(optarg),1024); break;
case 'L': fluid = atoi(optarg); break;
case 'F': frames_out = atoi(optarg); break;
case 'i': indir = optarg; break;
case 'o': outdir = optarg; break;
case 'f': file = optarg; break;
case 'h': print_usage(stdout); exit_flag = 1; break;
case 'v':
printf("AtoMorph %s Copyright (C) 2013-2014 Erich Erstu\n", am::get_version());
exit_flag = 1;
break;
case '?':
/* getopt_long already printed an error message. */
break;
default: return false;
}
}
while (optind < argc) {
files.push_back(argv[optind++]);
}
if (frames_out == 0) {
if (files.size() > 1) frames_out = files.size()*2;
else frames_out = 1;
}
return true;
}
};
| 57.819383 | 119 | 0.447924 |
e2b0f0e600a05599ccf726067645a2a1b728630e | 400 | c | C | shell/test/1sort.c | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 7 | 2017-07-16T15:09:26.000Z | 2021-09-01T02:13:15.000Z | shell/test/1sort.c | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | null | null | null | shell/test/1sort.c | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 3 | 2017-09-13T09:54:49.000Z | 2019-03-18T01:29:15.000Z | /*************************************************************************
> File Name: sort.c
> Author:hankai123
> Mail:867614535@qq.com
> Created Time: 2016年09月16日 星期五 10时28分57秒
************************************************************************/
#include<stdio.h>
#include<stdlib.h>
int main()
{
//system("ls -l|awk '$5'|sort");
system("ls -l|sort -n -k 5");
return 0;
}
| 23.529412 | 74 | 0.385 |
3e37990ce9b283eae6d79084966420f327b90735 | 2,361 | c | C | person_detection/person_detection_graph_executor/src/implementation.c | guberti/tvm-arduino-profiling | 9232483f210d2c4110a5e5b1e7cbb6123d00cedc | [
"Apache-2.0"
] | null | null | null | person_detection/person_detection_graph_executor/src/implementation.c | guberti/tvm-arduino-profiling | 9232483f210d2c4110a5e5b1e7cbb6123d00cedc | [
"Apache-2.0"
] | null | null | null | person_detection/person_detection_graph_executor/src/implementation.c | guberti/tvm-arduino-profiling | 9232483f210d2c4110a5e5b1e7cbb6123d00cedc | [
"Apache-2.0"
] | null | null | null | #ifndef IMPLEMENTATION
#define IMPLEMENTATION
#include "Arduino.h"
#include "standalone_crt/include/tvm/runtime/c_runtime_api.h"
#include "standalone_crt/include/tvm/runtime/crt/graph_executor.h"
#include "standalone_crt/include/tvm/runtime/crt/logging.h"
#include "standalone_crt/include/tvm/runtime/crt/stack_allocator.h"
size_t TVMPlatformFormatMessage(char* out_buf, size_t out_buf_size_bytes, const char* fmt,
va_list args) {
return 0;
}
void TVMLogf(const char* msg, ...) {
/*char buffer[256];
int size;
va_list args;
va_start(args, msg);
size = vsprintf(buffer, msg, args);
va_end(args);
TVMPlatformWriteSerial(buffer, (uint32_t)size);*/
}
// Blink code for debugging purposes
void TVMPlatformAbort(tvm_crt_error_t error) {
// pinMode(LED_BUILTIN, OUTPUT);
for (;;) {
digitalWrite(LED_BUILTIN, HIGH);
delay(250);
digitalWrite(LED_BUILTIN, LOW);
delay(250);
digitalWrite(LED_BUILTIN, HIGH);
delay(250);
digitalWrite(LED_BUILTIN, LOW);
delay(750);
}
}
// Heap for use by TVMPlatformMemoryAllocate.
// Called by TVM to allocate memory.
tvm_crt_error_t TVMPlatformMemoryAllocate(size_t num_bytes, DLDevice dev, void** out_ptr) {
if (num_bytes == 0) {
num_bytes = sizeof(int);
}
*out_ptr = malloc(num_bytes);
return (*out_ptr == NULL) ? kTvmErrorPlatformNoMemory : kTvmErrorNoError;
}
// Called by TVM to deallocate memory.
tvm_crt_error_t TVMPlatformMemoryFree(void* ptr, DLDevice dev) {
free(ptr);
return kTvmErrorNoError;
}
unsigned long g_utvm_start_time;
#define MILLIS_TIL_EXPIRY 200
int g_utvm_timer_running = 0;
tvm_crt_error_t TVMPlatformTimerStart() {
if (g_utvm_timer_running) {
return kTvmErrorPlatformTimerBadState;
}
g_utvm_timer_running = 1;
g_utvm_start_time = micros();
return kTvmErrorNoError;
}
tvm_crt_error_t TVMPlatformTimerStop(double* elapsed_time_seconds) {
if (!g_utvm_timer_running) {
return kTvmErrorPlatformTimerBadState;
}
g_utvm_timer_running = 0;
unsigned long g_utvm_stop_time = micros() - g_utvm_start_time;
*elapsed_time_seconds = ((double)g_utvm_stop_time) / 1e6;
return kTvmErrorNoError;
}
tvm_crt_error_t TVMPlatformGenerateRandom(uint8_t* buffer, size_t num_bytes) {
for (size_t i = 0; i < num_bytes; i++) {
buffer[i] = rand();
}
return kTvmErrorNoError;
}
#endif
| 26.233333 | 91 | 0.73274 |
c4199288f275247aad7c9720abb52f23fac3828f | 184 | h | C | src/timecodes.h | AkarinVS/assrender | 93e2b5c965dac64c895c2e8df788d06ede7a92ae | [
"MIT"
] | 21 | 2021-02-16T21:05:19.000Z | 2022-02-04T08:36:53.000Z | src/timecodes.h | AkarinVS/assrender | 93e2b5c965dac64c895c2e8df788d06ede7a92ae | [
"MIT"
] | 4 | 2021-02-28T12:43:24.000Z | 2022-02-25T21:51:03.000Z | src/timecodes.h | AkarinVS/assrender | 93e2b5c965dac64c895c2e8df788d06ede7a92ae | [
"MIT"
] | 3 | 2021-02-15T09:10:27.000Z | 2021-02-21T01:06:33.000Z | #ifndef _TIMECODE_H_
#define _TIMECODE_H_
#include "assrender.h"
int parse_timecodesv1(FILE* f, int total, udata* ud);
int parse_timecodesv2(FILE* f, int total, udata* ud);
#endif
| 16.727273 | 53 | 0.75 |
3fdfa9a6d3354a8a219981b6c432fbedfdfb1ff5 | 15,254 | c | C | src/third_party/wiredtiger/examples/c/ex_encrypt.c | MartinNeupauer/mongo | 6cc2dfe7edd312b8596355edef454e15988e350e | [
"Apache-2.0"
] | 1 | 2021-06-09T07:00:26.000Z | 2021-06-09T07:00:26.000Z | src/third_party/wiredtiger/examples/c/ex_encrypt.c | MartinNeupauer/mongo | 6cc2dfe7edd312b8596355edef454e15988e350e | [
"Apache-2.0"
] | 2 | 2021-03-26T00:01:11.000Z | 2021-03-26T00:02:19.000Z | src/third_party/wiredtiger/examples/c/ex_encrypt.c | MartinNeupauer/mongo | 6cc2dfe7edd312b8596355edef454e15988e350e | [
"Apache-2.0"
] | 5 | 2020-12-16T13:31:55.000Z | 2021-01-17T07:39:30.000Z | /*-
* Public Domain 2014-2017 MongoDB, Inc.
* Public Domain 2008-2014 WiredTiger, Inc.
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions that recognize copyright laws, the author or authors
* of this software dedicate any and all copyright interest in the
* software to the public domain. We make this dedication for the benefit
* of the public at large and to the detriment of our heirs and
* successors. We intend this dedication to be an overt act of
* relinquishment in perpetuity of all present and future rights to this
* software under copyright law.
*
* 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 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.
*
* ex_encrypt.c
* demonstrates how to use the encryption API.
*/
#include <test_util.h>
#ifdef _WIN32
/*
* Explicitly export this function so it is visible when loading extensions.
*/
__declspec(dllexport)
#endif
int add_my_encryptors(WT_CONNECTION *connection);
static const char *home;
#define SYS_KEYID "system"
#define SYS_PW "system_password"
#define USER1_KEYID "user1"
#define USER2_KEYID "user2"
#define USERBAD_KEYID "userbad"
#define ITEM_MATCHES(config_item, s) \
(strlen(s) == (config_item).len && \
strncmp((config_item).str, s, (config_item).len) == 0)
/*! [encryption example callback implementation] */
typedef struct {
WT_ENCRYPTOR encryptor; /* Must come first */
int rot_N; /* rotN value */
uint32_t num_calls; /* Count of calls */
char *keyid; /* Saved keyid */
char *password; /* Saved password */
} MY_CRYPTO;
#define CHKSUM_LEN 4
#define IV_LEN 16
/*
* make_checksum --
* This is where one would call a checksum function on the encrypted
* buffer. Here we just put a constant value in it.
*/
static void
make_checksum(uint8_t *dst)
{
int i;
/*
* Assume array is big enough for the checksum.
*/
for (i = 0; i < CHKSUM_LEN; i++)
dst[i] = 'C';
}
/*
* make_iv --
* This is where one would generate the initialization vector.
* Here we just put a constant value in it.
*/
static void
make_iv(uint8_t *dst)
{
int i;
/*
* Assume array is big enough for the initialization vector.
*/
for (i = 0; i < IV_LEN; i++)
dst[i] = 'I';
}
/*
* Rotate encryption functions.
*/
/*
* do_rotate --
* Perform rot-N on the buffer given.
*/
static void
do_rotate(char *buf, size_t len, int rotn)
{
uint32_t i;
/*
* Now rotate
*/
for (i = 0; i < len; i++)
if (isalpha((unsigned char)buf[i])) {
if (islower((unsigned char)buf[i]))
buf[i] = ((buf[i] - 'a') + rotn) % 26 + 'a';
else
buf[i] = ((buf[i] - 'A') + rotn) % 26 + 'A';
}
}
/*
* rotate_decrypt --
* A simple rotate decryption.
*/
static int
rotate_decrypt(WT_ENCRYPTOR *encryptor, WT_SESSION *session,
uint8_t *src, size_t src_len,
uint8_t *dst, size_t dst_len,
size_t *result_lenp)
{
MY_CRYPTO *my_crypto = (MY_CRYPTO *)encryptor;
size_t mylen;
uint32_t i;
(void)session; /* Unused */
++my_crypto->num_calls;
if (src == NULL)
return (0);
/*
* Make sure it is big enough.
*/
mylen = src_len - (CHKSUM_LEN + IV_LEN);
if (dst_len < mylen) {
fprintf(stderr,
"Rotate: ENOMEM ERROR: dst_len %zu src_len %zu\n",
dst_len, src_len);
return (ENOMEM);
}
/*
* !!! Most implementations would verify any needed
* checksum and initialize the IV here.
*/
/*
* Copy the encrypted data to the destination buffer and then
* decrypt the destination buffer in place.
*/
i = CHKSUM_LEN + IV_LEN;
memcpy(&dst[0], &src[i], mylen);
/*
* Call common rotate function on the text portion of the
* buffer. Send in dst_len as the length of the text.
*/
/*
* !!! Most implementations would need the IV too.
*/
do_rotate((char *)dst, mylen, 26 - my_crypto->rot_N);
*result_lenp = mylen;
return (0);
}
/*
* rotate_encrypt --
* A simple rotate encryption.
*/
static int
rotate_encrypt(WT_ENCRYPTOR *encryptor, WT_SESSION *session,
uint8_t *src, size_t src_len,
uint8_t *dst, size_t dst_len,
size_t *result_lenp)
{
MY_CRYPTO *my_crypto = (MY_CRYPTO *)encryptor;
uint32_t i;
(void)session; /* Unused */
++my_crypto->num_calls;
if (src == NULL)
return (0);
if (dst_len < src_len + CHKSUM_LEN + IV_LEN)
return (ENOMEM);
i = CHKSUM_LEN + IV_LEN;
/*
* Skip over space reserved for checksum and initialization
* vector. Copy text into destination buffer then encrypt
* in place.
*/
memcpy(&dst[i], &src[0], src_len);
/*
* Call common rotate function on the text portion of the
* destination buffer. Send in src_len as the length of
* the text.
*/
do_rotate((char *)dst + i, src_len, my_crypto->rot_N);
/*
* Checksum the encrypted buffer and add the IV.
*/
i = 0;
make_checksum(&dst[i]);
i += CHKSUM_LEN;
make_iv(&dst[i]);
*result_lenp = dst_len;
return (0);
}
/*
* rotate_sizing --
* A sizing example that returns the header size needed.
*/
static int
rotate_sizing(WT_ENCRYPTOR *encryptor, WT_SESSION *session,
size_t *expansion_constantp)
{
MY_CRYPTO *my_crypto = (MY_CRYPTO *)encryptor;
(void)session; /* Unused parameters */
++my_crypto->num_calls; /* Call count */
*expansion_constantp = CHKSUM_LEN + IV_LEN;
return (0);
}
/*
* rotate_customize --
* The customize function creates a customized encryptor
*/
static int
rotate_customize(WT_ENCRYPTOR *encryptor, WT_SESSION *session,
WT_CONFIG_ARG *encrypt_config, WT_ENCRYPTOR **customp)
{
MY_CRYPTO *my_crypto;
WT_CONFIG_ITEM keyid, secret;
WT_EXTENSION_API *extapi;
int ret;
const MY_CRYPTO *orig_crypto;
extapi = session->connection->get_extension_api(session->connection);
orig_crypto = (const MY_CRYPTO *)encryptor;
if ((my_crypto = calloc(1, sizeof(MY_CRYPTO))) == NULL) {
ret = errno;
goto err;
}
*my_crypto = *orig_crypto;
my_crypto->keyid = my_crypto->password = NULL;
/*
* Stash the keyid and the (optional) secret key from the configuration
* string.
*/
error_check(extapi->config_get(
extapi, session, encrypt_config, "keyid", &keyid));
if (keyid.len != 0) {
if ((my_crypto->keyid = malloc(keyid.len + 1)) == NULL) {
ret = errno;
goto err;
}
strncpy(my_crypto->keyid, keyid.str, keyid.len + 1);
my_crypto->keyid[keyid.len] = '\0';
}
ret = extapi->config_get(
extapi, session, encrypt_config, "secretkey", &secret);
if (ret == 0 && secret.len != 0) {
if ((my_crypto->password = malloc(secret.len + 1)) == NULL) {
ret = errno;
goto err;
}
strncpy(my_crypto->password, secret.str, secret.len + 1);
my_crypto->password[secret.len] = '\0';
}
/*
* Presumably we'd have some sophisticated key management
* here that maps the id onto a secret key.
*/
if (ITEM_MATCHES(keyid, "system")) {
if (my_crypto->password == NULL ||
strcmp(my_crypto->password, SYS_PW) != 0) {
ret = EPERM;
goto err;
}
my_crypto->rot_N = 13;
} else if (ITEM_MATCHES(keyid, USER1_KEYID))
my_crypto->rot_N = 4;
else if (ITEM_MATCHES(keyid, USER2_KEYID))
my_crypto->rot_N = 19;
else {
ret = EINVAL;
goto err;
}
++my_crypto->num_calls; /* Call count */
*customp = (WT_ENCRYPTOR *)my_crypto;
return (0);
err: free(my_crypto->keyid);
free(my_crypto->password);
free(my_crypto);
return (ret);
}
/*
* rotate_terminate --
* WiredTiger rotate encryption termination.
*/
static int
rotate_terminate(WT_ENCRYPTOR *encryptor, WT_SESSION *session)
{
MY_CRYPTO *my_crypto = (MY_CRYPTO *)encryptor;
(void)session; /* Unused parameters */
++my_crypto->num_calls; /* Call count */
/* Free the allocated memory. */
free(my_crypto->password);
my_crypto->password = NULL;
free(my_crypto->keyid);
my_crypto->keyid = NULL;
free(encryptor);
return (0);
}
/*
* add_my_encryptors --
* A simple example of adding encryption callbacks.
*/
int
add_my_encryptors(WT_CONNECTION *connection)
{
MY_CRYPTO *m;
WT_ENCRYPTOR *wt;
/*
* Initialize our top level encryptor.
*/
if ((m = calloc(1, sizeof(MY_CRYPTO))) == NULL)
return (errno);
wt = (WT_ENCRYPTOR *)&m->encryptor;
wt->encrypt = rotate_encrypt;
wt->decrypt = rotate_decrypt;
wt->sizing = rotate_sizing;
wt->customize = rotate_customize;
wt->terminate = rotate_terminate;
m->num_calls = 0;
error_check(connection->add_encryptor(
connection, "rotn", (WT_ENCRYPTOR *)m, NULL));
return (0);
}
/*
* simple_walk_log --
* A simple walk of the write-ahead log.
* We wrote text messages into the log. Print them.
* This verifies we're decrypting properly.
*/
static void
simple_walk_log(WT_SESSION *session)
{
WT_CURSOR *cursor;
WT_ITEM logrec_key, logrec_value;
uint64_t txnid;
uint32_t fileid, log_file, log_offset, opcount, optype, rectype;
int found, ret;
error_check(session->open_cursor(session, "log:", NULL, NULL, &cursor));
found = 0;
while ((ret = cursor->next(cursor)) == 0) {
error_check(cursor->get_key(
cursor, &log_file, &log_offset, &opcount));
error_check(cursor->get_value(cursor, &txnid,
&rectype, &optype, &fileid, &logrec_key, &logrec_value));
if (rectype == WT_LOGREC_MESSAGE) {
found = 1;
printf("Application Log Record: %s\n",
(char *)logrec_value.data);
}
}
scan_end_check(ret == WT_NOTFOUND);
error_check(cursor->close(cursor));
if (found == 0) {
fprintf(stderr, "Did not find log messages.\n");
exit(EXIT_FAILURE);
}
}
#define MAX_KEYS 20
#define EXTENSION_NAME "local=(entry=add_my_encryptors)"
#define WT_OPEN_CONFIG_COMMON \
"create,cache_size=100MB,extensions=[" EXTENSION_NAME "],"\
"log=(archive=false,enabled=true)," \
#define WT_OPEN_CONFIG_GOOD \
WT_OPEN_CONFIG_COMMON \
"encryption=(name=rotn,keyid=" SYS_KEYID ",secretkey=" SYS_PW ")"
#define COMP_A "AAAAAAAAAAAAAAAAAA"
#define COMP_B "BBBBBBBBBBBBBBBBBB"
#define COMP_C "CCCCCCCCCCCCCCCCCC"
int
main(int argc, char *argv[])
{
WT_CONNECTION *conn;
WT_CURSOR *c1, *c2, *nc;
WT_SESSION *session;
int i, ret;
char keybuf[32], valbuf[32];
char *key1, *key2, *key3, *val1, *val2, *val3;
home = example_setup(argc, argv);
error_check(wiredtiger_open(home, NULL, WT_OPEN_CONFIG_GOOD, &conn));
error_check(conn->open_session(conn, NULL, NULL, &session));
/*
* Write a log record that is larger than the base 128 bytes and
* also should compress well.
*/
error_check(session->log_printf(session,
COMP_A COMP_B COMP_C COMP_A COMP_B COMP_C
COMP_A COMP_B COMP_C COMP_A COMP_B COMP_C
"The quick brown fox jumps over the lazy dog "));
simple_walk_log(session);
/*
* Create and open some encrypted and not encrypted tables.
* Also use column store and compression for some tables.
*/
error_check(session->create(session, "table:crypto1",
"encryption=(name=rotn,keyid=" USER1_KEYID"),"
"columns=(key0,value0),"
"key_format=S,value_format=S"));
error_check(session->create(session, "index:crypto1:byvalue",
"encryption=(name=rotn,keyid=" USER1_KEYID"),"
"columns=(value0,key0)"));
error_check(session->create(session, "table:crypto2",
"encryption=(name=rotn,keyid=" USER2_KEYID"),"
"key_format=S,value_format=S"));
error_check(session->create(session, "table:nocrypto",
"key_format=S,value_format=S"));
/*
* Send in an unknown keyid. WiredTiger will try to add in the
* new keyid, but the customize function above will return an
* error since it is unrecognized.
*/
ret = session->create(session, "table:cryptobad",
"encryption=(name=rotn,keyid=" USERBAD_KEYID"),"
"key_format=S,value_format=S");
if (ret == 0) {
fprintf(stderr, "Did not detect bad/unknown keyid error\n");
exit(EXIT_FAILURE);
}
error_check(session->open_cursor(
session, "table:crypto1", NULL, NULL, &c1));
error_check(session->open_cursor(
session, "table:crypto2", NULL, NULL, &c2));
error_check(session->open_cursor(
session, "table:nocrypto", NULL, NULL, &nc));
/*
* Insert a set of keys and values. Insert the same data into
* all tables so that we can verify they're all the same after
* we decrypt on read.
*/
for (i = 0; i < MAX_KEYS; i++) {
(void)snprintf(keybuf, sizeof(keybuf), "key%d", i);
c1->set_key(c1, keybuf);
c2->set_key(c2, keybuf);
nc->set_key(nc, keybuf);
(void)snprintf(valbuf, sizeof(valbuf), "value%d", i);
c1->set_value(c1, valbuf);
c2->set_value(c2, valbuf);
nc->set_value(nc, valbuf);
error_check(c1->insert(c1));
error_check(c2->insert(c2));
error_check(nc->insert(nc));
if (i % 5 == 0)
error_check(session->log_printf(
session, "Wrote %d records", i));
}
error_check(session->log_printf(
session, "Done. Wrote %d total records", i));
while (c1->next(c1) == 0) {
error_check(c1->get_key(c1, &key1));
error_check(c1->get_value(c1, &val1));
printf("Read key %s; value %s\n", key1, val1);
}
simple_walk_log(session);
printf("CLOSE\n");
error_check(conn->close(conn, NULL));
/*
* We want to close and reopen so that we recreate the cache
* by reading the data from disk, forcing decryption.
*/
printf("REOPEN and VERIFY encrypted data\n");
error_check(wiredtiger_open(home, NULL, WT_OPEN_CONFIG_GOOD, &conn));
error_check(conn->open_session(conn, NULL, NULL, &session));
/*
* Verify we can read the encrypted log after restart.
*/
simple_walk_log(session);
error_check(session->open_cursor(
session, "table:crypto1", NULL, NULL, &c1));
error_check(session->open_cursor(
session, "table:crypto2", NULL, NULL, &c2));
error_check(session->open_cursor(
session, "table:nocrypto", NULL, NULL, &nc));
/*
* Read the same data from each cursor. All should be identical.
*/
while (c1->next(c1) == 0) {
error_check(c2->next(c2));
error_check(nc->next(nc));
error_check(c1->get_key(c1, &key1));
error_check(c1->get_value(c1, &val1));
error_check(c2->get_key(c2, &key2));
error_check(c2->get_value(c2, &val2));
error_check(nc->get_key(nc, &key3));
error_check(nc->get_value(nc, &val3));
if (strcmp(key1, key2) != 0)
fprintf(stderr, "Key1 %s and Key2 %s do not match\n",
key1, key2);
if (strcmp(key1, key3) != 0)
fprintf(stderr, "Key1 %s and Key3 %s do not match\n",
key1, key3);
if (strcmp(key2, key3) != 0)
fprintf(stderr, "Key2 %s and Key3 %s do not match\n",
key2, key3);
if (strcmp(val1, val2) != 0)
fprintf(stderr, "Val1 %s and Val2 %s do not match\n",
val1, val2);
if (strcmp(val1, val3) != 0)
fprintf(stderr, "Val1 %s and Val3 %s do not match\n",
val1, val3);
if (strcmp(val2, val3) != 0)
fprintf(stderr, "Val2 %s and Val3 %s do not match\n",
val2, val3);
printf("Verified key %s; value %s\n", key1, val1);
}
error_check(conn->close(conn, NULL));
return (EXIT_SUCCESS);
}
| 26.3 | 76 | 0.677462 |
3f31a4ee02a5cb6cd108f0f9d3378a12bdbac6e9 | 1,803 | h | C | Classes/User.h | dongshunyao/IconBattle | 7ca78eac3f176350805412bd7eaac63f2c7173d2 | [
"Apache-2.0"
] | 2 | 2020-04-28T08:14:44.000Z | 2020-05-14T14:58:07.000Z | Classes/User.h | Tang1705/IconBattle | 447d11f5b5bd22bcc1623dcebec620239db8aaf8 | [
"Apache-2.0"
] | null | null | null | Classes/User.h | Tang1705/IconBattle | 447d11f5b5bd22bcc1623dcebec620239db8aaf8 | [
"Apache-2.0"
] | 3 | 2020-04-27T19:11:49.000Z | 2021-08-19T03:45:53.000Z | #ifndef __USER_H__
#define __USER_H__
#include "cocos2d.h"
#include "Theme.h"
#include "Music.h"
#include "Sound.h"
#include "Util.h"
#include "Network.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
#include <windows.h>
#endif
USING_NS_CC;
using std::string;
using std::wstring;
using std::to_string;
class User
{
public:
static User* getInstance();
string getUserName() const { return userName; }
bool setUserName(const string& name);
int getCoin() const { return coin; }
bool setCoin(const int coin);
vector<string> getUnlockedThemes() const;
bool setUnlockedThemes(const vector<string>& v);
int getUnlockedClassicalLevel() const { return unlockedClassicalLevel; }
bool setUnlockedClassicalLevel(const int level);
int getUnlockedPlusLevel() const { return unlockedPlusLevel; }
bool setUnlockedPlusLevel(const int level);
bool isNewUser() const { return newUser; }
void setNewUser(const bool isNewUser) { newUser = isNewUser; }
bool isConnected() const { return connected; }
string getNewsInformation();
bool update() const;
private:
bool newUser = true;
bool connected = false;
string newsInformation = "";
string userName = "玩家7326";
string hardwareId = getHardwareId();
int coin = 0;
ValueVector unlockedThemes;
int unlockedClassicalLevel = 1;
int unlockedPlusLevel = 1;
const string filename = FileUtils::getInstance()->getWritablePath() + "config.plist";
/**
* 用户名 UserName
* 当前主题 CurrentTheme
* 当前音量 CurrentVolume
* 当前音效状态 CurrentSoundStatus
*
* hash串:处理以下变量 Key
* 硬件ID(计算机名,仅限Win32)HardwareID
* 当前硬币数量 Coin
* 主题购买情况 UnlockedThemes
* 经典游戏进度 UnlockedClassicalLevel
* 加强游戏进度 UnlockedPlusLevel
*/
static User* instance;
User();
static string getHardwareId();
int getKey() const;
int getKey(ValueMap& map) const;
};
#endif
| 21.464286 | 86 | 0.73655 |
8f27d06c0e332d8e5f7f54551c5486a14ec8b5d2 | 3,969 | h | C | libs/ogl/vertex_buffer.h | lemony-fresh/mve | d90cc2c813fef026f7732c5a26f6c15973a36042 | [
"BSD-3-Clause"
] | 1 | 2019-05-30T13:19:21.000Z | 2019-05-30T13:19:21.000Z | libs/ogl/vertex_buffer.h | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | libs/ogl/vertex_buffer.h | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2015, Simon Fuhrmann
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#ifndef OGL_VERTEX_BUFFER_HEADER
#define OGL_VERTEX_BUFFER_HEADER
#include <memory>
#include "ogl/defines.h"
#include "ogl/opengl.h"
#include "ogl/check_gl_error.h"
OGL_NAMESPACE_BEGIN
/**
* OpenGL vertex buffer object (VBO) abstraction.
*
* A vertex buffer object stores large chunks of data, for example
* per-vertex attributes such as positions, normals or colors or
* primitive connectivity such as triangle index lists. Instances
* of this class may be plugged in vertex arrays to efficiently
* render more complex objects such as point sets or meshes.
*/
class VertexBuffer
{
public:
typedef std::shared_ptr<VertexBuffer> Ptr;
typedef std::shared_ptr<VertexBuffer const> ConstPtr;
public:
~VertexBuffer (void);
static Ptr create (void);
/**
* Sets the VBO usage flag. GL_STATIC_DRAW is default.
* Call this before setting data to create proper vertex buffer.
*/
void set_usage (GLenum usage);
/**
* Sets the data stride, i.e. bytes between subsequent values.
* Call this before setting data to create proper vertex buffer.
*/
void set_stride (GLsizei stride);
/** Sets data for the VBO: amount of elements and values per vertex. */
void set_data (GLfloat const* data, GLsizei elems, GLint vpv);
/** Sets data for the VBO: amount of elements and values per vertex. */
void set_data (GLubyte const* data, GLsizei elems, GLint vpv);
/** Sets index data for the VBO. Triangles are assumed, i.e. vpv = 3. */
void set_indices (GLuint const* data, GLsizei num_indices);
/** Returns the VBO target, e.g. ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. */
GLenum get_vbo_target (void) const;
/** Returns the data type of the VBO data. */
GLenum get_data_type (void) const;
/** Returns the VBO usage flag. */
GLenum get_vbo_usage (void) const;
/** Returns the amount of bytes of the VBO. */
GLsizeiptr get_byte_size (void) const;
/** Returns the amount of values per vertex. */
GLint get_values_per_vertex (void) const;
/** Returns the amount of elements (attributes or primitives). */
GLsizei get_element_amount (void) const;
/** Returns the data stride. */
GLsizei get_stride (void) const;
/** Binds the VBO. */
void bind (void);
private:
VertexBuffer (void);
private:
GLuint vbo_id;
GLenum vbo_target;
GLenum datatype;
GLenum usage;
GLsizeiptr bytes;
GLint vpv;
GLsizei elems;
GLsizei stride;
};
/* ---------------------------------------------------------------- */
inline
VertexBuffer::~VertexBuffer (void)
{
glDeleteBuffers(1, &this->vbo_id);
check_gl_error();
}
inline VertexBuffer::Ptr
VertexBuffer::create (void)
{
return Ptr(new VertexBuffer);
}
inline void
VertexBuffer::set_stride (GLsizei stride)
{
this->stride = stride;
}
inline void
VertexBuffer::set_usage (GLenum usage)
{
this->usage = usage;
}
inline GLenum
VertexBuffer::get_vbo_target (void) const
{
return this->vbo_target;
}
inline GLsizei
VertexBuffer::get_stride (void) const
{
return this->stride;
}
inline GLint
VertexBuffer::get_values_per_vertex (void) const
{
return this->vpv;
}
inline GLsizeiptr
VertexBuffer::get_byte_size (void) const
{
return this->bytes;
}
inline GLsizei
VertexBuffer::get_element_amount (void) const
{
return this->elems;
}
inline GLenum
VertexBuffer::get_vbo_usage (void) const
{
return this->usage;
}
inline GLenum
VertexBuffer::get_data_type (void) const
{
return this->datatype;
}
inline void
VertexBuffer::bind (void)
{
glBindBuffer(this->vbo_target, this->vbo_id);
}
OGL_NAMESPACE_END
#endif /* OGL_VERTEX_BUFFER_HEADER */
| 23.485207 | 77 | 0.693122 |
6a0f1811e5cae81f4c81e31f41932c46beed48b0 | 663 | h | C | lib4/pxr/usd/usdAi/rayTypes.h | PaulDoessel/usd-arnold | 99d5f0fe4053e26a19aee0f3ca3348831c3f5809 | [
"BSD-4-Clause"
] | null | null | null | lib4/pxr/usd/usdAi/rayTypes.h | PaulDoessel/usd-arnold | 99d5f0fe4053e26a19aee0f3ca3348831c3f5809 | [
"BSD-4-Clause"
] | null | null | null | lib4/pxr/usd/usdAi/rayTypes.h | PaulDoessel/usd-arnold | 99d5f0fe4053e26a19aee0f3ca3348831c3f5809 | [
"BSD-4-Clause"
] | 1 | 2019-10-21T08:33:51.000Z | 2019-10-21T08:33:51.000Z | #ifndef USDAI_RAY_TYPES4_H
#define USDAI_RAY_TYPES4_H
#include <stdint.h>
// Ray types from Arnold-4.x
namespace arnold4 {
static constexpr uint8_t AI_RAY_UNDEFINED = 0x00;
static constexpr uint8_t AI_RAY_CAMERA = 0x01;
static constexpr uint8_t AI_RAY_SHADOW = 0x02;
static constexpr uint8_t AI_RAY_REFLECTED = 0x04;
static constexpr uint8_t AI_RAY_REFRACTED = 0x08;
static constexpr uint8_t AI_RAY_SUBSURFACE = 0x10;
static constexpr uint8_t AI_RAY_DIFFUSE = 0x20;
static constexpr uint8_t AI_RAY_GLOSSY = 0x40;
static constexpr uint8_t AI_RAY_ALL = 0xFF;
static constexpr uint8_t AI_RAY_GENERIC = AI_RAY_ALL;
}
#endif
| 31.571429 | 57 | 0.770739 |
6b54efec5af53e13f688ea0ed7cfada1dbbef031 | 379 | h | C | framework/lib/sparsehash/include/windows/sparsehash/forward.h | undeadinu/minko | 9171805751fb3a50c6fcab0b78892cdd4253ee11 | [
"BSD-3-Clause"
] | 478 | 2015-01-04T16:59:53.000Z | 2022-03-07T20:28:07.000Z | framework/lib/sparsehash/include/windows/sparsehash/forward.h | undeadinu/minko | 9171805751fb3a50c6fcab0b78892cdd4253ee11 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T21:45:06.000Z | 2021-11-08T11:01:48.000Z | framework/lib/sparsehash/include/windows/sparsehash/forward.h | undeadinu/minko | 9171805751fb3a50c6fcab0b78892cdd4253ee11 | [
"BSD-3-Clause"
] | 175 | 2015-01-04T03:30:39.000Z | 2020-01-27T17:08:14.000Z | #pragma once
#include <sparsehash/internal/sparseconfig.h>
#include HASH_FUN_H
namespace google
{
template<class T>
class libc_allocator_with_realloc;
template<class Key, class T,
class HashFcn = SPARSEHASH_HASH<Key>,
class EqualKey = std::equal_to<Key>,
class Alloc = libc_allocator_with_realloc<std::pair<const Key, T>>>
class sparse_hash_map;
}
| 22.294118 | 71 | 0.733509 |
59024a2e2976586e86e7b9f824726dab3e6699e4 | 113,992 | h | C | include/RobotoCondensed_bold_14.h | cultur98/ESP32_Vorrat | 0dba638677c32ccb46069403a71cefa2460974ad | [
"MIT"
] | null | null | null | include/RobotoCondensed_bold_14.h | cultur98/ESP32_Vorrat | 0dba638677c32ccb46069403a71cefa2460974ad | [
"MIT"
] | null | null | null | include/RobotoCondensed_bold_14.h | cultur98/ESP32_Vorrat | 0dba638677c32ccb46069403a71cefa2460974ad | [
"MIT"
] | null | null | null | #pragma once
#include "epd_driver.h"
const uint8_t RobotoCondensed_bold_14Bitmaps[16869] = {
0x78, 0x9C, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x78, 0x9C, 0xFB, 0xF6, 0x9F, 0xEB, 0x1B, 0x71,
0x88, 0x01, 0x06, 0x16, 0xAF, 0x62, 0xFB, 0xF6, 0x9F, 0x13, 0x82, 0x00, 0xE0, 0xE7, 0x23, 0x40,
0x78, 0x9C, 0xFB, 0xD2, 0xFF, 0xE1, 0xFC, 0x17, 0x64, 0xEC, 0xFF, 0xA1, 0xFF, 0x0B, 0xFF, 0x07,
0xFB, 0x2F, 0xDC, 0x1F, 0xF8, 0x1C, 0x99, 0x1C, 0x98, 0x01, 0x8E, 0xDF, 0x14, 0x80, 0x78, 0x9C,
0x63, 0x60, 0x58, 0x70, 0x3E, 0xE0, 0x3F, 0x13, 0x03, 0xC3, 0x85, 0xF9, 0x05, 0xFF, 0x19, 0x18,
0x18, 0x3E, 0xD4, 0x4F, 0xB8, 0x0F, 0xA4, 0x3E, 0xC6, 0x6F, 0xD8, 0x0F, 0xA4, 0xBE, 0xD8, 0x3F,
0x98, 0x0F, 0xA4, 0xBE, 0xF1, 0x7F, 0xC8, 0x67, 0x28, 0xF8, 0x0F, 0x06, 0x50, 0x4A, 0x21, 0xF4,
0x5F, 0xF4, 0xAF, 0xF8, 0x50, 0x06, 0x86, 0xFF, 0xEC, 0x3F, 0x79, 0x19, 0x18, 0x04, 0xFE, 0xB3,
0xFE, 0xE6, 0x66, 0x60, 0x30, 0xF8, 0xCF, 0xFC, 0x97, 0x93, 0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, 0xC9, 0x8C, 0xED, 0x2F, 0xFE, 0xE7, 0xC5, 0x40, 0x4F, 0x7C, 0xC2, 0xEB, 0x4D, 0x11, 0x19,
0x05, 0x70, 0x77, 0xA6, 0x0B, 0xAE, 0x3A, 0xB2, 0xAA, 0xD9, 0x6B, 0x4D, 0x75, 0x61, 0xAE, 0xC0,
0xA9, 0x65, 0x6C, 0x8D, 0x5B, 0x34, 0xAC, 0xC4, 0x83, 0x42, 0x8A, 0x74, 0x38, 0xA9, 0xC5, 0xBC,
0xAC, 0x41, 0x65, 0x51, 0x62, 0x5E, 0xD6, 0xC8, 0x5E, 0xB6, 0xD8, 0xE7, 0x48, 0xD9, 0xCB, 0xAE,
0xB9, 0x1C, 0x5D, 0xF6, 0xE1, 0xDC, 0x3F, 0xB4, 0xFB, 0xC2, 0x03, 0xBD, 0xA8, 0xD9, 0x64, 0xF0,
0x01, 0xB3, 0x89, 0x4C, 0x6C,
};
const GFXglyph RobotoCondensed_bold_14Glyphs[] = {
{ 0, 0, 6, 0, 0, 8, 0 }, //
{ 5, 21, 7, 1, 21, 24, 8 }, // !
{ 8, 8, 9, 0, 22, 30, 32 }, // "
{ 14, 21, 15, 0, 21, 127, 62 }, // #
{ 13, 27, 14, 1, 24, 148, 189 }, // $
{ 17, 21, 19, 1, 21, 151, 337 }, // %
{ 17, 21, 17, 0, 21, 158, 488 }, // &
{ 4, 8, 4, 0, 22, 20, 646 }, // '
{ 8, 29, 9, 1, 23, 92, 666 }, // (
{ 8, 29, 9, 0, 23, 94, 758 }, // )
{ 12, 13, 12, 0, 21, 81, 852 }, // *
{ 14, 16, 14, 0, 17, 44, 933 }, // +
{ 6, 9, 7, 0, 4, 31, 977 }, // ,
{ 8, 4, 11, 1, 10, 19, 1008 }, // -
{ 5, 4, 8, 1, 4, 16, 1027 }, // .
{ 10, 23, 9, -1, 21, 81, 1043 }, // /
{ 13, 21, 14, 1, 21, 93, 1124 }, // 0
{ 9, 21, 14, 1, 21, 33, 1217 }, // 1
{ 14, 21, 14, 0, 21, 121, 1250 }, // 2
{ 14, 21, 14, 0, 21, 127, 1371 }, // 3
{ 14, 21, 14, 0, 21, 86, 1498 }, // 4
{ 13, 21, 14, 1, 21, 124, 1584 }, // 5
{ 13, 21, 14, 1, 21, 128, 1708 }, // 6
{ 14, 21, 14, 0, 21, 100, 1836 }, // 7
{ 13, 21, 14, 1, 21, 129, 1936 }, // 8
{ 13, 21, 14, 1, 21, 124, 2065 }, // 9
{ 5, 16, 8, 1, 16, 25, 2189 }, // :
{ 5, 21, 7, 1, 16, 43, 2214 }, // ;
{ 12, 15, 13, 0, 15, 71, 2257 }, // <
{ 12, 10, 14, 1, 14, 30, 2328 }, // =
{ 12, 15, 13, 1, 15, 74, 2358 }, // >
{ 13, 21, 13, 0, 21, 101, 2432 }, // ?
{ 22, 26, 23, 0, 20, 241, 2533 }, // @
{ 17, 21, 16, 0, 21, 141, 2774 }, // A
{ 14, 21, 16, 1, 21, 112, 2915 }, // B
{ 14, 21, 15, 1, 21, 101, 3027 }, // C
{ 15, 21, 16, 1, 21, 84, 3128 }, // D
{ 13, 21, 14, 1, 21, 44, 3212 }, // E
{ 13, 21, 14, 1, 21, 40, 3256 }, // F
{ 15, 21, 17, 1, 21, 121, 3296 }, // G
{ 16, 21, 18, 1, 21, 29, 3417 }, // H
{ 5, 21, 8, 1, 21, 14, 3446 }, // I
{ 13, 21, 14, 0, 21, 64, 3460 }, // J
{ 16, 21, 16, 1, 21, 111, 3524 }, // K
{ 13, 21, 14, 1, 21, 27, 3635 }, // L
{ 19, 21, 21, 1, 21, 135, 3662 }, // M
{ 15, 21, 18, 1, 21, 87, 3797 }, // N
{ 15, 21, 17, 1, 21, 112, 3884 }, // O
{ 15, 21, 16, 1, 21, 85, 3996 }, // P
{ 17, 24, 18, 1, 21, 118, 4081 }, // Q
{ 15, 21, 16, 1, 21, 104, 4199 }, // R
{ 15, 21, 16, 0, 21, 146, 4303 }, // S
{ 14, 21, 14, 0, 21, 32, 4449 }, // T
{ 15, 21, 17, 1, 21, 69, 4481 }, // U
{ 16, 21, 16, 0, 21, 134, 4550 }, // V
{ 22, 21, 22, 0, 21, 187, 4684 }, // W
{ 16, 21, 16, 0, 21, 139, 4871 }, // X
{ 16, 21, 16, 0, 21, 107, 5010 }, // Y
{ 14, 21, 14, 0, 21, 80, 5117 }, // Z
{ 7, 29, 8, 1, 24, 26, 5197 }, // [
{ 12, 23, 11, 0, 21, 99, 5223 }, // <backslash>
{ 6, 29, 8, 0, 24, 24, 5322 }, // ]
{ 11, 11, 11, 0, 21, 74, 5346 }, // ^
{ 12, 4, 11, 0, 0, 19, 5420 }, // _
{ 7, 4, 9, 1, 21, 25, 5439 }, // `
{ 13, 16, 13, 0, 16, 111, 5464 }, // a
{ 13, 22, 14, 1, 22, 87, 5575 }, // b
{ 13, 16, 13, 0, 16, 91, 5662 }, // c
{ 13, 22, 14, 0, 22, 98, 5753 }, // d
{ 13, 16, 13, 0, 16, 106, 5851 }, // e
{ 10, 22, 9, 0, 22, 53, 5957 }, // f
{ 13, 22, 14, 0, 16, 125, 6010 }, // g
{ 12, 22, 14, 1, 22, 54, 6135 }, // h
{ 5, 23, 7, 1, 23, 25, 6189 }, // i
{ 8, 29, 7, -2, 23, 49, 6214 }, // j
{ 13, 22, 14, 1, 22, 89, 6263 }, // k
{ 5, 22, 7, 1, 22, 14, 6352 }, // l
{ 20, 16, 21, 1, 16, 74, 6366 }, // m
{ 12, 16, 14, 1, 16, 53, 6440 }, // n
{ 14, 16, 14, 0, 16, 85, 6493 }, // o
{ 13, 22, 14, 1, 16, 89, 6578 }, // p
{ 13, 22, 14, 0, 16, 95, 6667 }, // q
{ 8, 16, 9, 1, 16, 33, 6762 }, // r
{ 12, 16, 13, 0, 16, 98, 6795 }, // s
{ 9, 20, 9, 0, 20, 59, 6893 }, // t
{ 12, 16, 14, 1, 16, 51, 6952 }, // u
{ 13, 16, 13, 0, 16, 108, 7003 }, // v
{ 18, 16, 18, 0, 16, 134, 7111 }, // w
{ 13, 16, 13, 0, 16, 106, 7245 }, // x
{ 13, 22, 13, 0, 16, 129, 7351 }, // y
{ 12, 16, 13, 0, 16, 75, 7480 }, // z
{ 8, 28, 8, 0, 23, 92, 7555 }, // {
{ 3, 25, 7, 2, 21, 13, 7647 }, // |
{ 8, 28, 8, 0, 23, 93, 7660 }, // }
{ 14, 7, 16, 1, 12, 55, 7753 }, // ~
{ 0, 0, 6, 0, 0, 8, 7808 }, //
{ 5, 21, 8, 1, 16, 24, 7816 }, // ¡
{ 12, 24, 15, 1, 20, 101, 7840 }, // ¢
{ 14, 21, 15, 1, 21, 98, 7941 }, // £
{ 16, 19, 18, 1, 18, 117, 8039 }, // ¤
{ 16, 21, 15, 0, 21, 116, 8156 }, // ¥
{ 5, 25, 7, 1, 21, 20, 8272 }, // ¦
{ 14, 27, 16, 1, 21, 163, 8292 }, // §
{ 10, 3, 14, 2, 21, 20, 8455 }, // ¨
{ 18, 21, 20, 1, 21, 142, 8475 }, // ©
{ 9, 11, 11, 1, 21, 63, 8617 }, // ª
{ 12, 13, 13, 0, 14, 77, 8680 }, // «
{ 11, 7, 14, 1, 11, 28, 8757 }, // ¬
{ 8, 4, 11, 1, 10, 19, 8785 }, //
{ 18, 21, 20, 1, 21, 162, 8804 }, // ®
{ 10, 3, 13, 2, 21, 18, 8966 }, // ¯
{ 8, 8, 10, 1, 21, 40, 8984 }, // °
{ 12, 20, 14, 1, 20, 50, 9024 }, // ±
{ 9, 12, 11, 1, 21, 63, 9074 }, // ²
{ 9, 12, 10, 1, 21, 71, 9137 }, // ³
{ 8, 4, 10, 1, 21, 25, 9208 }, // ´
{ 13, 22, 16, 1, 16, 43, 9233 }, // µ
{ 12, 21, 13, 0, 21, 57, 9276 }, // ¶
{ 5, 4, 8, 1, 12, 17, 9333 }, // ·
{ 6, 7, 7, 1, 0, 30, 9350 }, // ¸
{ 5, 12, 7, 1, 21, 20, 9380 }, // ¹
{ 9, 11, 11, 1, 21, 51, 9400 }, // º
{ 12, 13, 13, 0, 14, 72, 9451 }, // »
{ 17, 21, 18, 1, 21, 132, 9523 }, // ¼
{ 17, 21, 19, 1, 21, 143, 9655 }, // ½
{ 20, 21, 21, 0, 21, 176, 9798 }, // ¾
{ 13, 22, 13, 0, 16, 108, 9974 }, // ¿
{ 17, 27, 16, 0, 27, 161, 10082 }, // À
{ 17, 27, 16, 0, 27, 163, 10243 }, // Á
{ 17, 27, 16, 0, 27, 163, 10406 }, // Â
{ 17, 27, 16, 0, 27, 173, 10569 }, // Ã
{ 17, 26, 16, 0, 26, 158, 10742 }, // Ä
{ 17, 29, 16, 0, 29, 171, 10900 }, // Å
{ 23, 21, 23, 0, 21, 150, 11071 }, // Æ
{ 14, 28, 15, 1, 21, 134, 11221 }, // Ç
{ 13, 27, 14, 1, 27, 66, 11355 }, // È
{ 13, 27, 14, 1, 27, 68, 11421 }, // É
{ 13, 27, 14, 1, 27, 69, 11489 }, // Ê
{ 13, 26, 14, 1, 26, 59, 11558 }, // Ë
{ 7, 27, 8, -1, 27, 32, 11617 }, // Ì
{ 8, 27, 8, 1, 27, 31, 11649 }, // Í
{ 10, 27, 8, -1, 27, 37, 11680 }, // Î
{ 11, 26, 8, -2, 26, 30, 11717 }, // Ï
{ 16, 21, 17, 0, 21, 93, 11747 }, // Ð
{ 15, 27, 18, 1, 27, 124, 11840 }, // Ñ
{ 15, 27, 17, 1, 27, 132, 11964 }, // Ò
{ 15, 27, 17, 1, 27, 136, 12096 }, // Ó
{ 15, 27, 17, 1, 27, 136, 12232 }, // Ô
{ 15, 27, 17, 1, 27, 143, 12368 }, // Õ
{ 15, 26, 17, 1, 26, 126, 12511 }, // Ö
{ 13, 14, 14, 0, 17, 88, 12637 }, // ×
{ 15, 24, 17, 1, 22, 143, 12725 }, // Ø
{ 15, 27, 17, 1, 27, 91, 12868 }, // Ù
{ 15, 27, 17, 1, 27, 92, 12959 }, // Ú
{ 15, 27, 17, 1, 27, 94, 13051 }, // Û
{ 15, 26, 17, 1, 26, 87, 13145 }, // Ü
{ 16, 27, 16, 0, 27, 130, 13232 }, // Ý
{ 14, 21, 15, 1, 21, 66, 13362 }, // Þ
{ 15, 22, 16, 1, 22, 132, 13428 }, // ß
{ 13, 22, 13, 0, 22, 131, 13560 }, // à
{ 13, 22, 13, 0, 22, 132, 13691 }, // á
{ 13, 22, 13, 0, 22, 133, 13823 }, // â
{ 13, 22, 13, 0, 22, 139, 13956 }, // ã
{ 13, 21, 13, 0, 21, 124, 14095 }, // ä
{ 13, 24, 13, 0, 24, 138, 14219 }, // å
{ 21, 16, 21, 0, 16, 151, 14357 }, // æ
{ 13, 23, 13, 0, 16, 123, 14508 }, // ç
{ 13, 22, 13, 0, 22, 124, 14631 }, // è
{ 13, 22, 13, 0, 22, 127, 14755 }, // é
{ 13, 22, 13, 0, 22, 130, 14882 }, // ê
{ 13, 21, 13, 0, 21, 118, 15012 }, // ë
{ 8, 22, 7, -2, 22, 32, 15130 }, // ì
{ 8, 22, 7, 1, 22, 31, 15162 }, // í
{ 11, 22, 7, -2, 22, 41, 15193 }, // î
{ 11, 21, 7, -2, 21, 30, 15234 }, // ï
{ 14, 21, 15, 0, 21, 137, 15264 }, // ð
{ 12, 22, 14, 1, 22, 79, 15401 }, // ñ
{ 14, 22, 14, 0, 22, 106, 15480 }, // ò
{ 14, 22, 14, 0, 22, 107, 15586 }, // ó
{ 14, 22, 14, 0, 22, 109, 15693 }, // ô
{ 14, 22, 14, 0, 22, 115, 15802 }, // õ
{ 14, 21, 14, 0, 21, 100, 15917 }, // ö
{ 14, 15, 14, 0, 17, 45, 16017 }, // ÷
{ 14, 20, 14, 0, 18, 130, 16062 }, // ø
{ 12, 22, 14, 1, 22, 70, 16192 }, // ù
{ 12, 22, 14, 1, 22, 74, 16262 }, // ú
{ 12, 22, 14, 1, 22, 78, 16336 }, // û
{ 12, 21, 14, 1, 21, 67, 16414 }, // ü
{ 13, 28, 13, 0, 22, 154, 16481 }, // ý
{ 13, 28, 14, 1, 22, 87, 16635 }, // þ
{ 13, 27, 13, 0, 21, 147, 16722 }, // ÿ
};
const UnicodeInterval RobotoCondensed_bold_14Intervals[] = {
{ 0x20, 0x7E, 0x0 },
{ 0xA0, 0xFF, 0x5F },
};
const GFXfont RobotoCondensed_bold_14 = {
(uint8_t*)RobotoCondensed_bold_14Bitmaps,
(GFXglyph*)RobotoCondensed_bold_14Glyphs,
(UnicodeInterval*)RobotoCondensed_bold_14Intervals,
2,
1,
38,
31,
-8,
};
| 89.970008 | 99 | 0.621631 |
591f27d7265b2a5f3f90ea2e248ea0ce5b17ae2b | 923 | h | C | src/arrayList.h | lucas979797/C-Generic-Array-List | 3ca9f0d328bdcbdaf6dbaf8e78e50d93a5edaed3 | [
"MIT"
] | null | null | null | src/arrayList.h | lucas979797/C-Generic-Array-List | 3ca9f0d328bdcbdaf6dbaf8e78e50d93a5edaed3 | [
"MIT"
] | null | null | null | src/arrayList.h | lucas979797/C-Generic-Array-List | 3ca9f0d328bdcbdaf6dbaf8e78e50d93a5edaed3 | [
"MIT"
] | null | null | null | #ifndef ARRAY_LIST_L
#define ARRAY_LIST_L
#include <stdbool.h>
typedef struct {
//the number of items the list can currently hold
//do not change this value manually
int _currentCapacity;
float growthFactor;
//do not change this value manually
int _nextIndex;
void** array;
} arrayList;
arrayList* createArrayList();
void appendToAl(arrayList* l, void* item);
void* insertItemAt(arrayList* l, int index, void* item);
void* getItemAt(arrayList* l, int index);
void* getFirstItem(arrayList* l);
void* getLastItem(arrayList* l);
void* removeItemAt(arrayList* l, int index);
void* removeFirstItem(arrayList* l);
void* removeLastItem(arrayList* l);
int getLastIndexAl(arrayList* l);
int getSize(arrayList* l);
void reverseAl(arrayList* l);
void iterateListItems(arrayList* l, void (*iterator)(void*));
void freeAl(arrayList* l, bool freeValues);
void clearAl(arrayList* l, bool freeValues);
#endif | 29.774194 | 61 | 0.744312 |
07702ab4f4f1aa89d8eba3f9b0f08ebe4a487461 | 472 | h | C | NChart3D.framework/Versions/A/Headers/NChartCoordSystem.h | trevlevieux/AudioRating_iOS | b52cdefc341dfe6eee9962f0ed3912c7978edcff | [
"Apache-2.0"
] | null | null | null | NChart3D.framework/Versions/A/Headers/NChartCoordSystem.h | trevlevieux/AudioRating_iOS | b52cdefc341dfe6eee9962f0ed3912c7978edcff | [
"Apache-2.0"
] | null | null | null | NChart3D.framework/Versions/A/Headers/NChartCoordSystem.h | trevlevieux/AudioRating_iOS | b52cdefc341dfe6eee9962f0ed3912c7978edcff | [
"Apache-2.0"
] | null | null | null | /**
* This file is the part of NChart3D Framework
* http://www.nchart3d.com
*
* File: NChartCoordSystem.h
* Version: "2.9.1"
*
* Copyright (C) 2017 Nulana LTD. All Rights Reserved.
*/
#import "NChartObject.h"
/**
* The NChartCoordSystem class provides basic methods for managing the chart's coordinate system.
*/
@interface NChartCoordSystem : NChartObject
/**
* Margin of the coordinate system.
*/
@property (nonatomic, assign) NChartMargin margin;
@end
| 18.88 | 97 | 0.709746 |
6df56af6a38d4578d0291ea1f0f0c33570751299 | 5,951 | h | C | gzcom-dll/include/cIGZFrameWork.h | caspervg/gzcom-dll | 58662321b12d8db2f82421902d6048390a90c365 | [
"MIT"
] | 20 | 2016-05-17T07:15:19.000Z | 2022-01-03T14:00:18.000Z | gzcom-dll/include/cIGZFrameWork.h | caspervg/gzcom-dll | 58662321b12d8db2f82421902d6048390a90c365 | [
"MIT"
] | 2 | 2016-10-30T07:05:00.000Z | 2017-07-17T14:19:33.000Z | gzcom-dll/include/cIGZFrameWork.h | caspervg/gzcom-dll | 58662321b12d8db2f82421902d6048390a90c365 | [
"MIT"
] | 7 | 2015-07-10T08:38:23.000Z | 2021-09-15T15:09:13.000Z | #pragma once
#include "cIGZUnknown.h"
#include <list>
class cIGZApp;
class cIGZCOM;
class cIGZExceptionNotification;
class cIGZFrameWorkHooks;
class cIGZSystemService;
/**
* @brief A root service for Gonzo applications
*
* Although the framework does not strictly act like a systme service, it is
* the core interface for adding, removing, retrieving, and enumerating all
* system services in the game and processes events that occur on every single
* tick and propagates it to the child services.
*
* The framework also has a special reference for the application interface
* and handles exception reporting and special I/O streams that should be
* easily accessible by directors and services.
*/
class cIGZFrameWork : public cIGZUnknown
{
public:
enum FrameworkState
{
kStatePreFrameWorkInit = 1,
kStatePreAppInit = 3,
kStatePostAppInit = 6,
kStatePreAppShutdown = 10,
kStatePostAppShutdown = 11,
kStatePostSystemServiceShutdown = 12
};
/**
* @brief Adds a service to the game registry
*
* Adding a system service allows other directors to retrieve the
* service from the framework, which can be used for libraries that
* implement common code for different directors.
*
* For services that rely on processing on every active or idle tick,
* the service must be specifically registered for it.
*
* @see AddToTick(cIGZSystemService* pService)
* @see AddToOnIdle(cIGZSystemService* pService)
*/
virtual bool AddSystemService(cIGZSystemService* pService) = 0;
/**
* @brief Unregisters a system service
*/
virtual bool RemoveSystemService(cIGZSystemService* pService) = 0;
/**
* @brief Gets a pointer to a system service using a given interface
* @param srvid The service ID to get the pointer for
* @param riid The interface ID to cast the service to
* @param ppService A pointer to the pointer to store the reference in
* @return Whether the service was successfully retrieved
* @see cIGZUnknown::QueryInterface(uint32_t riid, void** ppvObj)
*/
virtual bool GetSystemService(uint32_t srvid, uint32_t riid, void** ppService) = 0;
/**
* @brief Uses a cIGZUnknownEnumerator to iterate over system services
*
* This function is generally unusable since the structure for the
* UnknownEnumerator is... well... unknown.
*/
virtual bool EnumSystemServices(void* enumerator, cIGZUnknown* pUnknown, uint32_t dwUnknown) = 0; // ??? - enumerator is a function but what is prototype?
/**
* @brief Subscribes an object to framework event callbacks
*/
virtual bool AddHook(cIGZFrameWorkHooks* pHooks) = 0;
/**
* @brief Unsubscribes an object from framework event callbacks
*/
virtual bool RemoveHook(cIGZFrameWorkHooks* pHooks) = 0;
/**
* @brief Activates the on-tick event for a system service
*
* Unless the service has a real need to perform an action on every
* single tick, it's preferable to subscribe to messages for
* performance considerations
*/
virtual bool AddToTick(cIGZSystemService* pService) = 0;
/**
* @brief Deactivates the on-tick event for a system service
*/
virtual bool RemoveFromTick(cIGZSystemService* pService) = 0;
/**
* @brief Activates the on-idle event for a system service
* @see AddToTick(cIGZSystemService* pService)
*/
virtual bool AddToOnIdle(cIGZSystemService* pService) = 0;
/**
* @brief Deactivates the on-idle event for a system service
*/
virtual bool RemoveFromOnIdle(cIGZSystemService* pService) = 0;
/**
* @return The interval at which the idle tick occurs, in milliseconds
*/
virtual int32_t GetOnIdleInterval(void) = 0;
virtual bool SetOnIdleInterval(int32_t nInterval) = 0;
/**
* @brief Called whenever the game has an active tick
* @param dwTimeElapsed Time since the last tick, in milliseconds
*/
virtual bool OnTick(uint32_t dwTimeElapsed) = 0;
/**
* @brief Called whenever the game has an idle tick
*/
virtual bool OnIdle(void) = 0;
/**
* @return Whether or not tick events are enabled
*/
virtual bool IsTickEnabled(void) = 0;
/**
* @brief Sets whether tick events are enabled
* @param bTick Whether to enable tick events or not
* @return The "this" pointer
*/
virtual cIGZFrameWork* ToggleTick(bool bTick) = 0;
/**
* @brief Prepares the game for shutdown for some given reason
* @return nQuitReason
*/
virtual int32_t Quit(int32_t nQuitReason) = 0;
/**
* @brief Immediately terminates the game for some given reason
*/
virtual void AbortiveQuit(int32_t nQuitReason) = 0;
/**
* @return The command line passed to the application
*/
virtual char* CommandLine(void) = 0;
/**
* @return Whether the game is in an installation-only mode
*/
virtual bool IsInstall(void) = 0;
/**
* @return A pointer to the parent COM
*/
virtual cIGZCOM* GetCOMObject(void) = 0;
virtual FrameworkState GetState(void) = 0;
virtual void* GetDebugStream(void) = 0;
virtual int32_t DefaultDebugStream(void) = 0;
virtual int32_t DebugStream(void) = 0;
virtual bool SetDebugStream(void* pIGZDebugStream) = 0;
virtual bool SetDebugLevel(int32_t nLevel) = 0;
virtual int32_t GetDebugLevel(void) = 0;
virtual int32_t StdOut(void) = 0;
virtual int32_t StdErr(void) = 0;
virtual int32_t StdIn(void) = 0;
virtual void* GetStream(void) = 0;
virtual bool SetStream(int32_t nUnknown, cIGZUnknown* pUnknown) = 0;
/**
* @brief Sets an application to associate with the framework
*/
virtual bool SetApplication(cIGZApp* const pIGZApp) = 0;
/**
* @return The application associated with this framework
*/
virtual cIGZApp* const Application(void) = 0;
/**
* @brief Reports a fatal error using the text provided
*/
virtual void ReportException(char const* szExcText) = 0;
virtual cIGZExceptionNotification* ExceptionNotificationObj(void) = 0;
}; | 30.517949 | 156 | 0.712317 |
a5f659995de31758ec872adbb107ebd6ac9ce8f7 | 966 | h | C | lldb/source/Interpreter/CommandObjectScript.h | jroelofs/apple-llvm-project | ed6b4c087baabbc7331524c56423ce2d9322c8f9 | [
"Apache-2.0"
] | 21 | 2021-02-08T15:42:18.000Z | 2022-02-23T03:25:10.000Z | lldb/source/Interpreter/CommandObjectScript.h | coolstar/llvm-project | e21ccdd5b5667de50de65ee8903a89a21020e89a | [
"Apache-2.0"
] | 9 | 2020-04-24T21:51:04.000Z | 2020-11-06T01:04:09.000Z | lldb/source/Interpreter/CommandObjectScript.h | coolstar/llvm-project | e21ccdd5b5667de50de65ee8903a89a21020e89a | [
"Apache-2.0"
] | 6 | 2021-02-08T16:57:07.000Z | 2022-01-13T11:32:34.000Z | //===-- CommandObjectScript.h -----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPT_H
#define LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPT_H
#include "lldb/Interpreter/CommandObject.h"
namespace lldb_private {
// CommandObjectScript
class CommandObjectScript : public CommandObjectRaw {
public:
CommandObjectScript(CommandInterpreter &interpreter,
lldb::ScriptLanguage script_lang);
~CommandObjectScript() override;
protected:
bool DoExecute(llvm::StringRef command, CommandReturnObject &result) override;
};
} // namespace lldb_private
#endif // LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPT_H
| 30.1875 | 80 | 0.678054 |
e2b28521f73e1bc3b82f5e260aff13ef7a937855 | 414 | h | C | RooboSDK/ios/RooboSDK.embeddedframework/RooboSDK.framework/Versions/A/Headers/RBModifyAcountViewController.h | mcmengchen/RBSDK | 03f236a61fe6818ee1c29f36389a4c05c76e254d | [
"MIT"
] | null | null | null | RooboSDK/ios/RooboSDK.embeddedframework/RooboSDK.framework/Versions/A/Headers/RBModifyAcountViewController.h | mcmengchen/RBSDK | 03f236a61fe6818ee1c29f36389a4c05c76e254d | [
"MIT"
] | null | null | null | RooboSDK/ios/RooboSDK.embeddedframework/RooboSDK.framework/Versions/A/Headers/RBModifyAcountViewController.h | mcmengchen/RBSDK | 03f236a61fe6818ee1c29f36389a4c05c76e254d | [
"MIT"
] | null | null | null | //
// PDModifyPhoneNumViewController.h
// Pudding
//
// Created by william on 16/2/18.
// Copyright © 2016年 Zhi Kuiyu. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void (^RBModifyAccountResult)(BOOL isSucceed,NSError * error);
@interface RBModifyAcountViewController : UIViewController
/** 名称 */
@property (nonatomic, copy) RBModifyAccountResult rb_modifyAccountBack;
+ (instancetype)show;
@end
| 23 | 72 | 0.748792 |
538ee6dec1ed1e437a69a98351a4dd92e9ffae60 | 168 | h | C | Xit/Document/XTDocument.h | cntrump/Xit | 57ea35af6e7e0ccc7bb660af584379b268f0d958 | [
"Apache-2.0"
] | 1 | 2020-06-23T07:51:53.000Z | 2020-06-23T07:51:53.000Z | Xit/Document/XTDocument.h | mdheller/Xit | c19328133a401b884ee28227e8f6c7ef65c695c2 | [
"Apache-2.0"
] | null | null | null | Xit/Document/XTDocument.h | mdheller/Xit | c19328133a401b884ee28227e8f6c7ef65c695c2 | [
"Apache-2.0"
] | null | null | null | #import <Cocoa/Cocoa.h>
@class XTRepository;
@interface XTDocument : NSDocument {
@private
NSURL *_repoURL;
}
@property(readonly) XTRepository *repository;
@end
| 12.923077 | 45 | 0.738095 |
eb4cfc90ccd5bfecad4e8d3f501564332579a626 | 134 | c | C | lang/C/singly-linked-list-element-insertion-2.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 2 | 2017-06-10T14:21:53.000Z | 2017-06-26T18:52:29.000Z | lang/C/singly-linked-list-element-insertion-2.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C/singly-linked-list-element-insertion-2.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | link *a, *b, *c;
a = malloc(sizeof(link));
b = malloc(sizeof(link));
c = malloc(sizeof(link));
a->data = 1;
b->data = 2;
c->data = 3;
| 16.75 | 25 | 0.567164 |
6a8ab4dd057098ba66c2f24c69426975d319466a | 20,029 | c | C | sdk-6.5.20/libs/sdklt/bcma/test/chip/bcm56990_a0/bcm56990_a0_testutil_mbist_dma.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcma/test/chip/bcm56990_a0/bcm56990_a0_testutil_mbist_dma.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcma/test/chip/bcm56990_a0/bcm56990_a0_testutil_mbist_dma.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*! \file bcm56990_a0_testutil_mbist_dma.c
*
* Chip-specific MBIST DMA data.
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
/*
* This file is auto-generated by the following soc.memdump files:
* MemoryBist_chip_common_CPU2TAP_Simulation
*/
#include <sal/sal_types.h>
#include <bcma/test/util/bcma_testutil_drv.h>
#include <bcma/test/testcase/bcma_testcase_mem_mbist.h>
#define CW(STR) BCMA_TESTCASE_MEM_MBIST_DMA_OP_COMMAND_WRITE_ ## STR
#define L(STR) BCMA_TESTCASE_MEM_MBIST_DMA_OP_LOOP_ ## STR
/* MemoryBist_chip_common_CPU2TAP_Simulation.soc.memdump */
static const uint32_t array_long_pattern_0[] = {
0x00000000, 0x00000028, 0x00000000
};
static const uint32_t array_pattern_0[] = {
0x40000000, 0x00000000, 0x00000002, 0x80000000, 0x40400000,
0xBFFFFF00, 0x81E00000, 0x40000412, 0x40000001, 0x4c805e80,
0x40000004, 0x80000A20, 0x40000032, 0x40001000
};
static const uint32_t array_data_0[] = {
0x00000001, 0x0000000a, 0xc0000000, 0x00000003, 0xBFFFFFF0,
0x9c000000, 0x00000013, 0xBFFFFFFC, 0x90000000, 0x40040000,
0x00000023, 0x00000033, 0x00000043, 0x00000053, 0x40000008,
0x00000063, 0x00000073, 0x00000083, 0xBFFFF000, 0x40010000,
0x00000093, 0x000000a3, 0x000000b3, 0x000000c3, 0x4000000a,
0x000000d3, 0x000000e3, 0x000000f3, 0xBFFFC000, 0x40008000,
0x00000103, 0x00000113, 0x00000123, 0x00000133, 0x4000000d,
0x00000143, 0x00000153, 0x00000163, 0xBFFF8000, 0x00000173,
0x00000183, 0x00000193, 0x000001a3, 0xBFE00000, 0x48800780,
0x000001b3, 0x80000FFF, 0x000001c3, 0x000001d3, 0x000001e3,
0x44000000, 0x000001f3, 0x00000203, 0x00000213, 0x00000223,
0x40000800, 0x00000233, 0x48000000, 0x801E0000, 0x4c804600,
0x00000243, 0x40000002, 0x800000A0, 0x00000253, 0x00000263,
0x00000273, 0xBFFFFFF0, 0x00000283, 0x00000293, 0x000002a3,
0x000002b3, 0x4c804680, 0x000002c3, 0x80000800, 0x000002d3,
0x000002e3, 0x000002f3, 0x00000303, 0x00000313, 0x00000323,
0x00000333, 0x00000343, 0x00000353, 0x00000363, 0x00000373,
0x000001cc, 0x000002b0, 0x00000383, 0x00000393, 0x000003a3,
0x000003b3, 0x41F80000, 0x000003c3, 0x80000020, 0x000003d3,
0x000003e3, 0x000003f3, 0x00000403, 0x00000413, 0x00000423,
0x00000433, 0x40180000, 0x54805e80, 0x00000443, 0x80000A00,
0x00000453, 0x00000463, 0x00000473, 0x00000483, 0x00000493,
0x000004a3, 0x68000000, 0x000004b3, 0x40080000, 0x80300000,
0x000004c3, 0x000004d3, 0x000004e3, 0x000004f3, 0xBFFFFFE0,
0x00000503, 0x40000040, 0x80000FBF, 0x00000513, 0x00000523,
0x00000533, 0xB0000000, 0x54804080, 0x00000543, 0x40014800,
0x8000001F, 0x00000553, 0x00000563, 0x00000573, 0xBFFC0000,
0x00000583, 0x00000593, 0x000005a3, 0x000005b3, 0x50804680,
0x000005c3, 0x40000052, 0x000005d3, 0x000005e3, 0x000005f3,
0x00000004, 0x00000005
};
static const uint8_t array_opcode_0[] = {
(1 << L(SHIFT)) | CW(DATA), (1 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), (2 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
(2 << CW(PATTERN_SHIFT)), (1 << L(SHIFT)) | (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (8 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), (4 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (0 << CW(PATTERN_SHIFT)), CW(DATA), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (5 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), (2 << L(SHIFT)) | CW(DATA),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
(2 << L(SHIFT)) | CW(DATA), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
CW(DATA), (2 << CW(PATTERN_SHIFT)), (4 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(6 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), CW(DATA),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (12 << CW(PATTERN_SHIFT)),
CW(DATA), (2 << CW(PATTERN_SHIFT)), (10 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(5 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (4 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (9 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (7 << CW(PATTERN_SHIFT)),
(11 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (10 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(5 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(DATA),
(1 << L(SHIFT)) | (1 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (4 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), (1 << L(SHIFT)) | CW(DATA), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (9 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (7 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (5 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (4 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), (1 << L(SHIFT)) | CW(DATA), (6 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
CW(DATA), (12 << CW(PATTERN_SHIFT)), CW(DATA), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (5 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(13 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), (2 << L(SHIFT)) | CW(DATA),
(2 << CW(PATTERN_SHIFT)), (8 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)), CW(DATA),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), (2 << CW(PATTERN_SHIFT)),
(13 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
(2 << L(SHIFT)) | CW(DATA), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
CW(DATA), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN),
(2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), (2 << CW(PATTERN_SHIFT)), CW(DATA), (1 << CW(PATTERN_SHIFT)),
CW(LONG_PATTERN), (2 << L(SHIFT)) | CW(DATA), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), CW(DATA), (2 << CW(PATTERN_SHIFT)),
(4 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
(0 << CW(PATTERN_SHIFT)), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA),
(0 << CW(PATTERN_SHIFT)), (6 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)),
CW(DATA), (1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), (1 << L(SHIFT)) | CW(DATA),
(11 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (0 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(3 << CW(PATTERN_SHIFT)), (2 << CW(PATTERN_SHIFT)), (3 << CW(PATTERN_SHIFT)),
(1 << CW(PATTERN_SHIFT)), CW(LONG_PATTERN), CW(DATA), (0 << CW(PATTERN_SHIFT)),
(5 << CW(PATTERN_SHIFT)), CW(DATA), (1 << L(SHIFT)) | (1 << CW(PATTERN_SHIFT)),
CW(DATA), (1 << L(SHIFT)) | (1 << CW(PATTERN_SHIFT))
};
static const bcma_testutil_mem_mbist_dma_entry_t test_array[1] = {
{
"MemoryBist_chip_common_CPU2TAP_Simulation",
311,
705,
array_opcode_0,
array_data_0,
array_long_pattern_0,
array_pattern_0,
}
};
int
bcm56990_a0_mem_mbist_dma_info(int unit,
const bcma_testutil_mem_mbist_dma_entry_t **array,
int *test_count)
{
if (array == NULL || test_count == NULL) {
return SHR_E_PARAM;
}
*test_count = 1;
*array = test_array;
return SHR_E_NONE;
}
| 67.894915 | 134 | 0.625693 |
3a8177c0d251a6918a4c424632559624769194ea | 364 | h | C | Rootkits/vault/90210/sw_remove/sw_remove.h | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | Rootkits/vault/90210/sw_remove/sw_remove.h | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | Rootkits/vault/90210/sw_remove/sw_remove.h | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z | /*++
Module Name:
sw_remove.h
Abstract:
Shadow Walker remover main header.
Author:
90210 19-Aug-2005
--*/
#ifndef _SW_REMOVE_
#define _SW_REMOVE_
#include <ntddk.h>
#include "bruteforcer.h"
#include "codewalk.h"
#include "multicpu.h"
#include "util.h"
#include "int0e.h"
#include "idt.h"
#endif // _SW_REMOVE_ | 11.741935 | 39 | 0.623626 |
b14f93bffbd0fe6d7838060fa9397431439ae70d | 607 | h | C | Classes/Models/ABXModel.h | wordpress-mobile/appbotx | ec9647225662e7f46848985b4fe7dbc81b8bd14c | [
"MIT"
] | 4 | 2015-11-30T22:01:53.000Z | 2018-04-26T19:36:43.000Z | Classes/Models/ABXModel.h | wordpress-mobile/appbotx | ec9647225662e7f46848985b4fe7dbc81b8bd14c | [
"MIT"
] | 1 | 2016-06-13T17:05:06.000Z | 2016-06-13T19:24:52.000Z | Classes/Models/ABXModel.h | wordpress-mobile/appbotx | ec9647225662e7f46848985b4fe7dbc81b8bd14c | [
"MIT"
] | 1 | 2019-10-29T17:05:12.000Z | 2019-10-29T17:05:12.000Z | //
// ABXModel.h
//
// Created by Stuart Hall on 21/05/2014.
// Copyright (c) 2014 Appbot. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ABXApiClient.h"
// Protected methods
#define PROTECTED_ABXMODEL \
@interface ABXModel () \
+ (id)createWithAttributes:(NSDictionary*)attributes; \
+ (NSURLSessionDataTask*)fetchList:(NSString*)path \
params:(NSDictionary*)params \
complete:(void(^)(NSArray *objects, ABXResponseCode responseCode, NSInteger httpCode, NSError *error))complete; \
@end \
@interface ABXModel : NSObject
@end
| 26.391304 | 139 | 0.672158 |
590d9a99c47968f8ffd6fc233545d6cef822c3d4 | 2,362 | c | C | RAVL2/CCMath/matrix/minv.c | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/CCMath/matrix/minv.c | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/CCMath/matrix/minv.c | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | /* minv.c CCMATH mathematics library source code.
*
* Copyright (C) 2000 Daniel A. Atkinson All rights reserved.
* This code may be redistributed under the terms of the GNU library
* public license (LGPL). ( See the lgpl.license file for details.)
* ------------------------------------------------------------------------
*/
#include "ccmath/ccmath.h"
#include <stdlib.h>
#include <math.h>
int minv(double *a,int n)
{ int lc,*le; double s,t,tq=0.,zr=1.e-15;
double *pa,*pd,*ps,*p,*q,*q0;
int i,j,k,m;
le=(int *)malloc(n*sizeof(int));
q0=(double *)malloc(n*sizeof(double));
for(j=0,pa=pd=a; j<n ;++j,++pa,pd+=n+1){
if(j>0){
for(i=0,q=q0,p=pa; i<n ;++i,p+=n) *q++ = *p;
for(i=1; i<n ;++i){ lc=i<j?i:j;
for(k=0,p=pa+i*n-j,q=q0,t=0.; k<lc ;++k) t+= *p++ * *q++;
q0[i]-=t;
}
for(i=0,q=q0,p=pa; i<n ;++i,p+=n) *p= *q++;
}
s=fabs(*pd); lc=j;
for(k=j+1,ps=pd; k<n ;++k){
if((t=fabs(*(ps+=n)))>s){ s=t; lc=k;}
}
tq=tq>s?tq:s; if(s<zr*tq){ free(le-j); free(q0); return -1;}
*le++ =lc;
if(lc!=j){
for(k=0,p=a+n*j,q=a+n*lc; k<n ;++k){
t= *p; *p++ = *q; *q++ =t;
}
}
for(k=j+1,ps=pd,t=1./ *pd; k<n ;++k) *(ps+=n)*=t;
*pd=t;
}
for(j=1,pd=ps=a; j<n ;++j){
for(k=0,pd+=n+1,q= ++ps; k<j ;++k,q+=n) *q*= *pd;
}
for(j=1,pa=a; j<n ;++j){ ++pa;
for(i=0,q=q0,p=pa; i<j ;++i,p+=n) *q++ = *p;
for(k=0; k<j ;++k){ t=0.;
for(i=k,p=pa+k*n+k-j,q=q0+k; i<j ;++i) t-= *p++ * *q++;
q0[k]=t;
}
for(i=0,q=q0,p=pa; i<j ;++i,p+=n) *p= *q++;
}
for(j=n-2,pd=pa=a+n*n-1; j>=0 ;--j){ --pa; pd-=n+1;
for(i=0,m=n-j-1,q=q0,p=pd+n; i<m ;++i,p+=n) *q++ = *p;
for(k=n-1,ps=pa; k>j ;--k,ps-=n){ t= -(*ps);
for(i=j+1,p=ps,q=q0; i<k ;++i) t-= *++p * *q++;
q0[--m]=t;
}
for(i=0,m=n-j-1,q=q0,p=pd+n; i<m ;++i,p+=n) *p= *q++;
}
for(k=0,pa=a; k<n-1 ;++k,++pa){
for(i=0,q=q0,p=pa; i<n ;++i,p+=n) *q++ = *p;
for(j=0,ps=a; j<n ;++j,ps+=n){
if(j>k){ t=0.; p=ps+j; i=j;}
else{ t=q0[j]; p=ps+k+1; i=k+1;}
for(; i<n ;) t+= *p++ *q0[i++];
q0[j]=t;
}
for(i=0,q=q0,p=pa; i<n ;++i,p+=n) *p= *q++;
}
for(j=n-2,le--; j>=0 ;--j){
for(k=0,p=a+j,q=a+ *(--le); k<n ;++k,p+=n,q+=n){
t=*p; *p=*q; *q=t;
}
}
free(le); free(q0);
return 0;
}
| 30.675325 | 75 | 0.408552 |
383edd3c92031066c22826211b1acaa7931fd937 | 1,267 | h | C | src/profile/elf_parser.h | danielharvey458/profile | 36bf3f120bec0c5c3e27596649acf18207072d48 | [
"Apache-2.0"
] | null | null | null | src/profile/elf_parser.h | danielharvey458/profile | 36bf3f120bec0c5c3e27596649acf18207072d48 | [
"Apache-2.0"
] | null | null | null | src/profile/elf_parser.h | danielharvey458/profile | 36bf3f120bec0c5c3e27596649acf18207072d48 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Daniel Harvey
*
* 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 PROFILE_ELF_PARSER_H
#define PROFILE_ELF_PARSER_H
#include "elf++.hh"
#include "dwarf++.hh"
#include <optional>
namespace profile
{
/*
* Try to find the address range of the function called
* @p function_name in the provided @p dwarf_info,
* returning an empty optional if no such function
* can be found.
*
* This function is highly incomplete: it doesn't
* handle overloads at all, for example, and will
* choose the first function that it finds.
*/
std::optional<std::pair<std::intptr_t, std::intptr_t>>
get_function_range (const dwarf::dwarf &dwarf_info,
const std::string &function_name);
}
#endif
| 29.465116 | 75 | 0.713496 |
38714543e2df5a1b342672f35941421d45c20138 | 4,145 | h | C | src/components/board/GameBoard.h | droplet92/reversi | 3731926a1fa1ef0bd7198e9283cf84503f96ec4f | [
"MIT"
] | null | null | null | src/components/board/GameBoard.h | droplet92/reversi | 3731926a1fa1ef0bd7198e9283cf84503f96ec4f | [
"MIT"
] | null | null | null | src/components/board/GameBoard.h | droplet92/reversi | 3731926a1fa1ef0bd7198e9283cf84503f96ec4f | [
"MIT"
] | null | null | null | #pragma once
#include "GameBoardFooter.h"
#include "../disk/ReversiDisk.h"
#include "../../GameObject.h"
#include "../../types/PlayerType.h"
#include "../../utilities/minimax/Board.hpp"
#include <algorithm>
#include <memory>
#include <vector>
namespace reversi
{
constexpr uint32_t BOARD_ROW = 8u;
constexpr uint32_t BOARD_COL = 8u;
constexpr uint32_t BOARD_SIZE = BOARD_ROW * BOARD_COL;
class GameBoard : public GameObject, public Board<8u, 8u>
{
public:
static const std::string IMAGE;
static const sf::Vector2f POS;
static const sf::IntRect SIZE;
private:
std::shared_ptr<ReversiDisk> board[BOARD_ROW][BOARD_COL];
std::weak_ptr<ReversiDisk> previous;
uint32_t ndisk;
bool _passed;
std::vector<std::shared_ptr<Tile>> placable;
public:
GameBoard();
~GameBoard() final;
void init();
void reset();
bool onBoard(const Position& pos) const;
bool canPlace(const Position& pos) const;
bool isOver() const;
bool hasNoPlace() const { return placable.empty(); }
bool passed() const { return _passed; }
void pass() { _passed = true; }
void resetpass() { _passed = false; }
int getCount(const PlayerType player) const { return getDisks(player).size(); }
[[nodiscard]] std::unique_ptr<std::vector<BoardPosition>> getPlacablePositions() const;
void highlightPrevious() { previous.lock()->highlightPrevious(); }
void lightup();
void lightup(const PlayerType& player, const BoardPosition pos);
void lightoff();
void blackout();
[[nodiscard]] std::weak_ptr<ReversiDisk> placeDisk(const PlayerType& player, const BoardPosition pos);
void update(std::weak_ptr<ReversiDisk>& disk);
void updatePlacable(const PlayerType& player);
void clearPlacables()
{
for (auto& tile : placable) tile.reset();
placable.clear();
}
void drawTo(sf::RenderWindow& window) final;
public: // for Minimax
GameBoard(const GameBoard* copy)
{
for (int i = 0; i < BOARD_ROW; i++)
for (int j = 0; j < BOARD_COL; j++)
{
ReversiDisk* original = copy->board[i][j].get();
if (original)
board[i][j] = std::make_shared<ReversiDisk>(original->getOwner(), original->position);
else
board[i][j] = nullptr;
}
const BoardPosition& pos = copy->previous.lock()->position;
previous = board[pos.brow][pos.bcol];
ndisk = copy->ndisk;
_passed = copy->_passed;
for (auto& original : copy->placable)
{
Tile* tile = original.get();
placable.push_back(std::make_shared<Tile>(tile->getOwner(), tile->position));
}
}
std::vector<std::weak_ptr<Stone>> getPlacables() const final
{
std::vector<std::weak_ptr<Stone>> placables;
std::for_each(placable.begin(), placable.end(),
[&placables](std::weak_ptr<Tile> tile) { placables.push_back(tile); });
return placables;
}
size_t getnumberOfPlacables() const { return getPlacables().size(); }
uint32_t getScore(const uint32_t playerType) const final { return getCount(static_cast<PlayerType>(playerType)); }
uint32_t issuperior(const uint32_t playerType) const final
{
const PlayerType player = static_cast<PlayerType>(playerType);
const PlayerType opponent = static_cast<PlayerType>((playerType % 2) + 1);
return (getCount(player) - getCount(opponent));
}
bool isover() const final { return isOver(); }
void put(const uint32_t type, const Stone& s) final
{
const BoardPosition position = { s.getRow(), s.getCol() };
std::weak_ptr<ReversiDisk> d = placeDisk(static_cast<PlayerType>(type), position);
update(d);
if (isOver()) return;
updatePlacable(static_cast<PlayerType>(type % 2 + 1));
if (hasNoPlace()) // pass
{
updatePlacable(static_cast<PlayerType>(type));
pass();
return;
}
resetpass();
}
void retract(const Stone& s) final
{
}
private:
void resetColor()
{
std::for_each(placable.begin(), placable.end(),
[](std::shared_ptr<Tile>& tile) {tile->resetColor(); });
}
bool isFull() const { return (ndisk == BOARD_SIZE); }
std::vector<std::weak_ptr<ReversiDisk>> getDisks(const PlayerType player) const;
void updateDisks(std::weak_ptr<ReversiDisk>& disk);
void turnOver();
};
} | 29.190141 | 116 | 0.682992 |
a82c80986fc01b80406e61b39c6c36d2824f5981 | 1,256 | c | C | libft/ft_memjoin.c | iamtemazhe/ft_ssl | bfa83a4822bb318cb54b1f6d9654c327036d139a | [
"MIT"
] | null | null | null | libft/ft_memjoin.c | iamtemazhe/ft_ssl | bfa83a4822bb318cb54b1f6d9654c327036d139a | [
"MIT"
] | null | null | null | libft/ft_memjoin.c | iamtemazhe/ft_ssl | bfa83a4822bb318cb54b1f6d9654c327036d139a | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memjoin.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jwinthei <jwinthei@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/14 17:22:15 by jwinthei #+# #+# */
/* Updated: 2021/02/08 07:23:00 by jwinthei ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void *ft_memjoin(const void *p1, size_t n1, const void *p2, size_t n2)
{
void *data;
if ((!n1 && !n2) || n1 + n2 > MIN_INT64)
return (NULL);
if (!(data = ft_memalloc(n1 + n2)))
return (NULL);
if (p1 && n1)
ft_memcpy(data, p1, n1);
if (p2 && n2)
ft_memcpy((unsigned char *)data + ((p1 && n1) ? n1 : 0), p2, n2);
return (data);
}
| 43.310345 | 80 | 0.248408 |
a86062e503efc347df8f9f690b9fb811e0aed163 | 134 | h | C | venv/Lib/site-packages/torch/include/torch/csrc/autograd/python_nn_functions.h | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | 1 | 2022-01-08T12:30:44.000Z | 2022-01-08T12:30:44.000Z | venv/Lib/site-packages/torch/include/torch/csrc/autograd/python_nn_functions.h | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/torch/include/torch/csrc/autograd/python_nn_functions.h | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | #pragma once
namespace torch { namespace autograd {
void initNNFunctions(PyObject* module);
}} // namespace torch::autograd
| 16.75 | 40 | 0.716418 |
07afabc1e5962fcf15b69db406cbcd9c831cbc89 | 1,311 | c | C | src/linked_list.c | hellodoge/svm_assembler | bb7d2548b39f38916d743c303c0c4cf1b9efbd87 | [
"MIT"
] | 1 | 2020-04-05T18:24:05.000Z | 2020-04-05T18:24:05.000Z | src/linked_list.c | hellodoge/svm_assembler | bb7d2548b39f38916d743c303c0c4cf1b9efbd87 | [
"MIT"
] | null | null | null | src/linked_list.c | hellodoge/svm_assembler | bb7d2548b39f38916d743c303c0c4cf1b9efbd87 | [
"MIT"
] | null | null | null | #include "linked_list.h"
#include <malloc.h>
linked_node_t* create_node(void* content) {
linked_node_t *node = malloc(sizeof(linked_node_t));
node->content = content;
node->malloc_compatible_content = 1;
node->next = 0;
return node;
}
linked_node_t* add_node(linked_node_t *previous_node, void *content) {
linked_node_t *node = create_node(content);
previous_node->next = node;
return node;
}
void delete_node(linked_node_t *node) {
if (node->malloc_compatible_content)
free(node->content);
free(node);
}
void delete_linked_nodes(linked_node_t *node) {
do {
linked_node_t *next_node = node->next;
delete_node(node);
node = next_node;
} while (node != 0);
}
void delete_list(linked_list_t *list) {
if (list->first_node)
delete_linked_nodes(list->first_node);
free(list);
}
void append_node(linked_list_t *list, void *content) {
if (list->first_node) {
add_node(list->last_node, content);
list->last_node = list->last_node->next;
} else {
list->first_node = create_node(content);
list->last_node = list->first_node;
}
}
linked_list_t* create_list() {
linked_list_t *list = malloc(sizeof(linked_list_t));
list->first_node = 0;
return list;
}
int get_linked_list_len(linked_node_t *node) {
int len = 0;
while (node) {
len++;
node = node->next;
}
return len;
} | 20.809524 | 70 | 0.713959 |
e01bc298c974a19e55edb29bb9f10f809bdb685b | 5,556 | h | C | TPC/TPCbase/AliTPCCalPad.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | TPC/TPCbase/AliTPCCalPad.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | TPC/TPCbase/AliTPCCalPad.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | #ifndef ALITPCCALPAD_H
#define ALITPCCALPAD_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
/// \class AliTPCCalPad
///
/// TPC calibration class for parameters which are saved per pad
#include "TNamed.h"
#include "TVectorDfwd.h"
#include "TMatrixDfwd.h"
#include "AliTPCCalROC.h"
class AliTPCCalDet;
class TObjArray;
class TGraph;
class TH2F;
class TH1F;
class TCanvas;
class TTree;
class TH2;
class TF1;
class AliTPCCalPad : public TNamed {
public:
enum { kNsec = 72, kNsecSplit = 108 };
AliTPCCalPad();
AliTPCCalPad(const Text_t* name, const Text_t* title);
AliTPCCalPad(const AliTPCCalPad &c);
AliTPCCalPad(TObjArray *arrayROC);
virtual ~AliTPCCalPad();
AliTPCCalPad &operator=(const AliTPCCalPad &c);
virtual void Copy(TObject &c) const;
virtual void Print(Option_t* option="") const;
AliTPCCalROC *GetCalROC(Int_t sector) const {return fROC[sector]; };
void SetCalROC(AliTPCCalROC* roc, Int_t sector = -1);
virtual void Draw(Option_t* option = "");
// TTree functions
static AliTPCCalPad *MakePadFromTree(TTree * tree, const char *query, const char*name=0, Bool_t doFast=kFALSE);
void AddFriend(TTree * tree, const char *friendName, const char *fname=0);
//
// convolution
Bool_t MedianFilter(Int_t deltaRow, Int_t deltaPad, AliTPCCalPad*outlierPad=0, Bool_t doEdge=kTRUE);
Bool_t LTMFilter(Int_t deltaRow, Int_t deltaPad, Float_t fraction, Int_t type, AliTPCCalPad*outlierPad=0, Bool_t doEdge=kTRUE);
Bool_t Convolute(Double_t sigmaPad, Double_t sigmaRow, AliTPCCalPad*outlierPad=0, TF1 *fpad=0, TF1 *frow=0 );
//
// algebra
void Add(Float_t c1); // add constant c1 to all channels of all ROCs
void Multiply(Float_t c1); // multiply each channel of all ROCs with c1
void Add(const AliTPCCalPad * roc, Double_t c1 = 1); // multiply AliTPCCalPad 'pad' by c1 and add each channel to the coresponing channel in all ROCs
void Multiply(const AliTPCCalPad * pad); // multiply each channel of all ROCs with the coresponding channel of 'pad'
void Divide(const AliTPCCalPad * pad); // divide each channel of all ROCs by the coresponding channel of 'pad'
void Reset();
//
Double_t GetMeanRMS(Double_t &rms) const; // Calculates mean and RMS of all ROCs
Double_t GetStats (AliTPCCalROC::EStatType statType, AliTPCCalPad *const outlierPad = 0, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll) const;//return mean of statType for padType
Double_t GetMean (AliTPCCalPad* outlierPad = 0, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll) const;
Double_t GetRMS (AliTPCCalPad* outlierPad = 0, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll) const;
Double_t GetMedian (AliTPCCalPad* outlierPad = 0, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll) const;
Double_t GetMinElement(AliTPCCalPad* outlierPad = 0, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll) const;
Double_t GetMaxElement(AliTPCCalPad* outlierPad = 0, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll) const;
Double_t GetLTM(Double_t *sigma=0, Double_t fraction=0.9, AliTPCCalPad* outlierPad = 0, AliTPCCalROC::EPadType epadType=AliTPCCalROC::kAll) const; // return mean of the LTM and sigma of all ROCs
TGraph *MakeGraph(Int_t type=0, Float_t ratio=0.7, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll);
TH2F *MakeHisto2D(Int_t side=0);
TH1F *MakeHisto1D(Float_t min=4, Float_t max=-4, Int_t type=0, Int_t side=0);
AliTPCCalPad* LocalFit(const char* padName, Int_t rowRadius, Int_t padRadius, AliTPCCalPad* Padoutliers = 0, Bool_t robust = kFALSE, Double_t chi2Threshold = 5, Double_t robustFraction = 0.7, Bool_t printCurrentSector = kFALSE) const;
AliTPCCalPad* GlobalFit(const char* padName, AliTPCCalPad* Padoutliers = 0, Bool_t robust = kFALSE, Int_t fitType = 1, Double_t chi2Threshold = 5, Double_t robustFraction = 0.7, Double_t err=1, TObjArray *fitParArr=0x0, TObjArray *fitCovArr=0x0, AliTPCCalROC::EPadType padType=AliTPCCalROC::kAll);
void GlobalSidesFit(const AliTPCCalPad* PadOutliers, const char* fitFormula, TVectorD &fitParamSideA, TVectorD &fitParamSideC, TMatrixD &covMatrixSideA, TMatrixD &covMatrixSideC, Float_t &chi2SideA, Float_t &chi2SideC, AliTPCCalPad *pointError=0, Bool_t robust = kFALSE, Double_t robustFraction = 0.7);
static AliTPCCalPad* CreateCalPadFit(const char* fitFormula, const TVectorD &fitParamSideA, const TVectorD &fitParamSideC);
static TObjArray *CreateFormulaArray(const char *fitFormula);
static void EvalFormulaArray(const TObjArray &arrFitFormulas, TVectorD &results,
const Int_t sec, const Int_t row, const Int_t pad);
//
// default report
//
static TCanvas * MakeReportPadSector(TTree *chain, const char* varName, const char*varTitle, const char *axisTitle, Float_t min, Float_t max, const char * cutUser="");
static TCanvas * MakeReportPadSector2D(TTree *chain, const char* varName, const char*varTitle, const char *axisTitle, Float_t min, Float_t max, const char *cutUser="");
static AliTPCCalPad *MakeCalPadFromHistoRPHI(TH2 * hisA, TH2* hisC);
//
// unit test
//
void DumpUnitTestTrees(const TString fileName="");
protected:
AliTPCCalROC *fROC[kNsec]; ///< Array of ROC objects which contain the values per pad
/// \cond CLASSIMP
ClassDef(AliTPCCalPad,1) // TPC calibration class for parameters which are saved per pad
/// \endcond
};
#endif
| 55.009901 | 304 | 0.737221 |
a35907a8d887a1694e5758f6e6b76647fa20447b | 415 | h | C | GameProgramCourseProj/FinalProject/Globals.h | ducis/pile-of-cpp | af5a123ec67cff589f27bf20d435b2db29a0a7c8 | [
"MIT"
] | null | null | null | GameProgramCourseProj/FinalProject/Globals.h | ducis/pile-of-cpp | af5a123ec67cff589f27bf20d435b2db29a0a7c8 | [
"MIT"
] | null | null | null | GameProgramCourseProj/FinalProject/Globals.h | ducis/pile-of-cpp | af5a123ec67cff589f27bf20d435b2db29a0a7c8 | [
"MIT"
] | null | null | null | #include "windows.h"
#include <GL/glut.h>
// disable warning C4786: symbol greater than 255 character,
// okay to ignore (See MSDN.)
//#pragma warning(disable: 4786)
// disable warning C4018: '<' : signed/unsigned mismatch
// gets annoying in for loops
#pragma warning(disable: 4018)
#include <iostream>
#include <stdlib.h>
#include <math.h>
#include "mtxlib/mtxlib.h"
using namespace std;
| 21.842105 | 61 | 0.686747 |
3392ea9474bee39dff43a6681cbe0239acae2cd7 | 3,942 | h | C | lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_px.h | dos1/card10-firmware | 2b12800dfb677d37f808b380c9d9fe2a0fc528ab | [
"MIT"
] | null | null | null | lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_px.h | dos1/card10-firmware | 2b12800dfb677d37f808b380c9d9fe2a0fc528ab | [
"MIT"
] | null | null | null | lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_px.h | dos1/card10-firmware | 2b12800dfb677d37f808b380c9d9fe2a0fc528ab | [
"MIT"
] | 2 | 2019-09-30T09:20:48.000Z | 2021-03-26T11:03:42.000Z | /*************************************************************************************************/
/*!
* \file
*
* \brief Example Proximity services implementation.
*
* Copyright (c) 2011-2018 Arm Ltd. All Rights Reserved.
* Arm Ltd. confidential and proprietary.
*
* IMPORTANT. Your use of this file is governed by a Software License Agreement
* ("Agreement") that must be accepted in order to download or otherwise receive a
* copy of this file. You may not use or copy this file for any purpose other than
* as described in the Agreement. If you do not agree to all of the terms of the
* Agreement do not use this file and delete all copies in your possession or control;
* if you do not have a copy of the Agreement, you must contact Arm Ltd. prior
* to any use, copying or further distribution of this software.
*/
/*************************************************************************************************/
#ifndef SVC_PX_H
#define SVC_PX_H
#include "att_api.h"
#ifdef __cplusplus
extern "C" {
#endif
/*! \addtogroup PROXIMITY_SERVICE
* \{ */
/**************************************************************************************************
Handle Ranges
**************************************************************************************************/
/** \name Proximity Service Handles
*
*/
/**@{*/
#define PX_START_HDL 0x50 /*!< \brief Start handle. */
#define PX_END_HDL (PX_MAX_HDL - 1) /*!< \brief End handle. */
/**************************************************************************************************
Handles
**************************************************************************************************/
/*! \brief Service Handles */
enum
{
LLS_SVC_HDL = PX_START_HDL, /*!< \brief Link loss service declaration */
LLS_AL_CH_HDL, /*!< \brief Alert level characteristic */
LLS_AL_HDL, /*!< \brief Alert level */
IAS_SVC_HDL, /*!< \brief Immediate alert service declaration */
IAS_AL_CH_HDL, /*!< \brief Alert level characteristic */
IAS_AL_HDL, /*!< \brief Alert level */
TXS_SVC_HDL, /*!< \brief TX power service declaration */
TXS_TX_CH_HDL, /*!< \brief TX power level characteristic */
TXS_TX_HDL, /*!< \brief TX power level */
PX_MAX_HDL /*!< \brief Maximum handle. */
};
/**@}*/
/**************************************************************************************************
Function Declarations
**************************************************************************************************/
/*************************************************************************************************/
/*!
* \brief Add the services to the attribute server.
*
* \return None.
*/
/*************************************************************************************************/
void SvcPxAddGroup(void);
/*************************************************************************************************/
/*!
* \brief Remove the services from the attribute server.
*
* \return None.
*/
/*************************************************************************************************/
void SvcPxRemoveGroup(void);
/*************************************************************************************************/
/*!
* \brief Register callbacks for the service.
*
* \param readCback Read callback function.
* \param writeCback Write callback function.
*
* \return None.
*/
/*************************************************************************************************/
void SvcPxCbackRegister(attsReadCback_t readCback, attsWriteCback_t writeCback);
/*! \} */ /* PROXIMITY_SERVICE */
#ifdef __cplusplus
};
#endif
#endif /* SVC_PX_H */
| 37.542857 | 99 | 0.398782 |
ef98c2d869eff819c7556cd6bb9e1fb99b940598 | 2,893 | h | C | src/RIOT/sys/include/net/gnrc/sixlowpan/nd.h | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | 2 | 2020-04-30T08:17:45.000Z | 2020-05-23T08:46:54.000Z | src/RIOT/sys/include/net/gnrc/sixlowpan/nd.h | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | null | null | null | src/RIOT/sys/include/net/gnrc/sixlowpan/nd.h | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup net_gnrc_sixlowpan_nd 6LoWPAN neighbor discovery
* @ingroup net_gnrc_sixlowpan
* @brief Neighbor Discovery Optimization for 6LoWPAN
* @see <a href="https://tools.ietf.org/html/rfc6775">
* RFC 6775
* </a>
* @{
*
* @file
* @brief General 6LoWPAN ND definitions
*
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#ifndef NET_GNRC_SIXLOWPAN_ND_H
#define NET_GNRC_SIXLOWPAN_ND_H
#include <stdint.h>
#include "kernel_types.h"
#include "net/gnrc/pkt.h"
#include "net/gnrc/sixlowpan/config.h"
#include "net/ipv6/addr.h"
#include "net/ndp.h"
#include "net/sixlowpan/nd.h"
#include "timex.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Builds the address registration option.
*
* @param[in] status Status for the ARO.
* @param[in] ltime Registration lifetime for the ARO.
* @param[in] eui64 The EUI-64 for the ARO
* @param[in] next More options in the packet. NULL, if there are none.
*
* @return The pkt snip list of options, on success
* @return NULL, if packet buffer is full
*/
gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_ar_build(uint8_t status, uint16_t ltime, eui64_t *eui64,
gnrc_pktsnip_t *next);
/**
* @brief Builds the 6LoWPAN context option.
*
* @param[in] prefix_len The length of the context's prefix.
* @param[in] flags Flags + CID for the context.
* @param[in] ltime Lifetime of the context.
* @param[in] prefix The context's prefix
* @param[in] next More options in the packet. NULL, if there are none.
*
* @return The pkt snip list of options, on success
* @return NULL, if packet buffer is full or on error
*/
gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_6ctx_build(uint8_t prefix_len, uint8_t flags, uint16_t ltime,
ipv6_addr_t *prefix, gnrc_pktsnip_t *next);
/**
* @brief Builds the authoritative border router option.
*
* @param[in] version Version of the border router information.
* @param[in] ltime Registration lifetime for the border router.
* @param[in] braddr The IPv6 address of the border router.
* @param[in] next More options in the packet. NULL, if there are none.
*
* @return The pkt snip list of options, on success
* @return NULL, if packet buffer is full or on error
*/
gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_abr_build(uint32_t version, uint16_t ltime,
ipv6_addr_t *braddr, gnrc_pktsnip_t *next);
#ifdef __cplusplus
}
#endif
#endif /* NET_GNRC_SIXLOWPAN_ND_H */
/** @} */
| 32.505618 | 99 | 0.660906 |
d44198636b6c4dfa10aeae426ad9d9ad8e914b00 | 890 | h | C | RLSimion/CNTKWrapper/InputData.h | xcillero001/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | 1 | 2019-02-21T10:40:28.000Z | 2019-02-21T10:40:28.000Z | RLSimion/CNTKWrapper/InputData.h | JosuGom3z/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | null | null | null | RLSimion/CNTKWrapper/InputData.h | JosuGom3z/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include "../../3rd-party/tinyxml2/tinyxml2.h"
#include "CNTKLibrary.h"
class CIntTuple;
using namespace std;
class InputData
{
protected:
string m_id;
string m_name;
CIntTuple* m_pShape= nullptr;
CNTK::Variable m_inputVariable; //TODO: Fix = nullptr
InputData(tinyxml2::XMLElement* pNode);
bool m_isUsed = false;
bool m_isInitialized = false;
public:
InputData(string id, CNTK::Variable pInputVariable);
~InputData();
static InputData* getInstance(tinyxml2::XMLElement* pNode);
const string& getId() { return m_id; }
CNTK::NDShape getNDShape();
const string& getName() { return m_name; }
const CNTK::Variable getInputVariable() { return m_inputVariable; }
void createInputVariable();
bool isInitialized() { return m_isInitialized; }
bool getIsUsed() const { return m_isUsed; }
void setIsUsed(bool isUsed) { m_isUsed = isUsed; }
};
| 24.054054 | 68 | 0.737079 |
e671c7357433554fba8056b4c27f9a4a3c9ed42b | 497 | h | C | KeyValue-Store/KeyValueStore/src/PersistentStorage.h | metehkaya/Mini-CPP-Projects | 3c21dc06276dd634afe9a50f93f781bb64763433 | [
"MIT"
] | null | null | null | KeyValue-Store/KeyValueStore/src/PersistentStorage.h | metehkaya/Mini-CPP-Projects | 3c21dc06276dd634afe9a50f93f781bb64763433 | [
"MIT"
] | null | null | null | KeyValue-Store/KeyValueStore/src/PersistentStorage.h | metehkaya/Mini-CPP-Projects | 3c21dc06276dd634afe9a50f93f781bb64763433 | [
"MIT"
] | null | null | null | #ifndef PERSISTENTSTORAGE_H_
#define PERSISTENTSTORAGE_H_
#include <list>
#include <string>
#include <vector>
using namespace std;
class PersistentStorage {
public:
PersistentStorage(string path);
virtual ~PersistentStorage();
string get(string key);
bool put(list<pair<string,string>>& toDisk);
bool removeLine(int lineIdx);
bool removeLine(string key);
string printDisk();
bool clear();
private:
string path;
const string pathTemp = "temp.txt";
};
#endif /* PERSISTENTSTORAGE_H_ */
| 19.88 | 45 | 0.754527 |
691fd4347536f14e4446191b40f9f56f261003c7 | 3,192 | c | C | Aperiodic_CP/acp_analysis.c | ArielYssou/Aperiodic_CP | f8dda241c20850f49a5046dd8306cb122dd7a652 | [
"MIT"
] | 1 | 2020-10-20T08:37:12.000Z | 2020-10-20T08:37:12.000Z | Aperiodic_CP/acp_analysis.c | ArielYssou/Aperiodic_CP | f8dda241c20850f49a5046dd8306cb122dd7a652 | [
"MIT"
] | null | null | null | Aperiodic_CP/acp_analysis.c | ArielYssou/Aperiodic_CP | f8dda241c20850f49a5046dd8306cb122dd7a652 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <dirent.h>
#include <time.h>
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#define UNUSED(expr) do { (void)(expr); } while (0)
#define Points 250
#define CritLambda 3.29785
void LogSpaced(double arr[], double begin, double end) {
int index;
double x, dx;
if( begin == 0 )
begin = 1.0;
dx = (log(end) - log(begin)) / Points;
x = log(begin);
for(index = 0; index < Points; index++) {
arr[index] = exp(x);
x += dx;
}
arr[Points] = end;
}
int main(int argc, char **argv) {
char path[1000], str[1000];
int i, k, sim, Size, sim_init, sim_tot, sim_final, inter, dead, Elems[Points+1], Died[Points+1];
double la, lb, tmax, t, rho, rho_desv, time_desv, delta_t, survivors;
double Tsups[Points+1], Rho_Sum[Points+1], Time_Sum[Points+1], Rho_S2[Points+1], Time_S2[Points+1];
FILE *input_file, *rho_file, *ps_file;
k = strtof(argv[1], NULL);
delta_t = strtof(argv[2], NULL);
la = strtof(argv[3], NULL);
lb = strtof(argv[4], NULL);
tmax = strtod(argv[5], NULL);
Size = (int)strtod(argv[6], NULL);
sim_init = strtod(argv[7], NULL);
sim_final = strtod(argv[8], NULL);
LogSpaced(Tsups, 1, tmax);
sprintf(path, "/home/ariel/Simulacoes/data_aperiodic");
sprintf(str, "/k=%d", k);
strcat(path, str);
sprintf(str, "/Delta_t=%.2f", delta_t);
strcat(path, str);
sprintf(str, "/Lambda_a=%.3f", la);
strcat(path, str);
sprintf(str, "/Lambda_b=%.8f", lb);
strcat(path, str);
sprintf(str, "/Tmax=%e", tmax);
strcat(path, str);
sprintf(str, "/Size=%d", (int)Size);
strcat(path, str);
for(i = 0; i < Points; i++) {
Rho_Sum[i] = Time_Sum[i] = 0;
Rho_S2[i] = Time_S2[i] = 0;
Died[i] = Elems[i] = 0;
}
sim_tot = sim_final;
for(sim = sim_init; sim < sim_final; sim++) {
sprintf(str, "%s/rho_%d.dat", path, sim);
if( access( str, F_OK ) != -1 ) {
input_file=fopen(str, "r");
inter = 0;
while((fscanf(input_file, "%lf\t%lf\n", &t, &rho)) != EOF) {
while( t > Tsups[inter]) {
inter++;
}
if( rho <= 0 ) {
Died[inter] += 1.0;
break;
}
Rho_Sum[inter] += rho;
Rho_S2[inter] += rho*rho;
Time_Sum[inter] += t;
Time_S2[inter] += t*t;
Elems[inter] += 1;
}
fclose(input_file);
} else {
sim_tot--;
}
}
sprintf(str, "%s/rho_av.dat", path);
rho_file=fopen(str, "w+");
sprintf(str, "%s/surv_prob.dat", path);
printf("%s", str);
ps_file=fopen(str, "w+");
dead = 0; // Corrects the av. density acconting each dead sim
survivors = sim_tot;
for(i = 0; i < Points; i++) {
if(survivors == 0)
break;
else {
survivors -= Died[i];
dead += Died[i];
}
if (Elems[i] != 0) {
Rho_Sum[i] /= (double)(Elems[i] + dead);
Time_Sum[i] /= (double)(Elems[i]);
rho_desv = sqrt((double)(Rho_S2[i] / (Elems[i] + dead) ) - pow(Rho_Sum[i], 2.));
time_desv = sqrt((double)(Time_S2[i] / (Elems[i]) ) - pow(Time_Sum[i], 2.));
fprintf(rho_file, "%f,%f,%f,%f\n", Time_Sum[i], Rho_Sum[i], time_desv, rho_desv);
fprintf(ps_file, "%f,%f\n", Time_Sum[i], (double)(survivors / (sim_tot - sim_init)));
}
}
fclose(rho_file);
fclose(ps_file);
return 0;
}
| 24.366412 | 100 | 0.595551 |
52466cd157bec6f5ac939e99cf6b9bbc6d05b1a5 | 9,184 | c | C | lib/bdev/ocf/ctx.c | h00448672/spdk | 79a8358fe6dedef3f9cf47571043f2bbe2185189 | [
"BSD-3-Clause"
] | 17 | 2019-01-30T23:44:08.000Z | 2021-08-13T09:39:21.000Z | lib/bdev/ocf/ctx.c | h00448672/spdk | 79a8358fe6dedef3f9cf47571043f2bbe2185189 | [
"BSD-3-Clause"
] | 1 | 2019-02-19T12:09:33.000Z | 2019-02-19T12:09:33.000Z | lib/bdev/ocf/ctx.c | h00448672/spdk | 79a8358fe6dedef3f9cf47571043f2bbe2185189 | [
"BSD-3-Clause"
] | 9 | 2019-02-04T09:12:33.000Z | 2021-11-14T23:06:47.000Z | /*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of Intel Corporation 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 THE COPYRIGHT HOLDERS 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 THE COPYRIGHT
* OWNER 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 CONTRACT, 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.
*/
#include <ocf/ocf.h>
#include <execinfo.h>
#include "spdk/env.h"
#include "spdk_internal/log.h"
#include "ctx.h"
#include "ocf_env.h"
#include "data.h"
ocf_ctx_t vbdev_ocf_ctx;
static ctx_data_t *
vbdev_ocf_ctx_data_alloc(uint32_t pages)
{
struct bdev_ocf_data *data;
void *buf;
uint32_t sz;
data = vbdev_ocf_data_alloc(1);
sz = pages * PAGE_SIZE;
buf = spdk_dma_malloc(sz, PAGE_SIZE, NULL);
if (buf == NULL) {
return NULL;
}
vbdev_ocf_iovs_add(data, buf, sz);
data->size = sz;
return data;
}
static void
vbdev_ocf_ctx_data_free(ctx_data_t *ctx_data)
{
struct bdev_ocf_data *data = ctx_data;
int i;
if (!data) {
return;
}
for (i = 0; i < data->iovcnt; i++) {
spdk_dma_free(data->iovs[i].iov_base);
}
vbdev_ocf_data_free(data);
}
static int
vbdev_ocf_ctx_data_mlock(ctx_data_t *ctx_data)
{
/* TODO [mlock]: add mlock option */
return 0;
}
static void
vbdev_ocf_ctx_data_munlock(ctx_data_t *ctx_data)
{
/* TODO [mlock]: add mlock option */
}
static size_t
iovec_flatten(struct iovec *iov, size_t iovcnt, void *buf, size_t size, size_t offset)
{
size_t i, len, done = 0;
for (i = 0; i < iovcnt; i++) {
if (offset >= iov[i].iov_len) {
offset -= iov[i].iov_len;
continue;
}
if (iov[i].iov_base == NULL) {
continue;
}
if (done >= size) {
break;
}
len = MIN(size - done, iov[i].iov_len - offset);
memcpy(buf, iov[i].iov_base + offset, len);
buf += len;
done += len;
offset = 0;
}
return done;
}
static uint32_t
vbdev_ocf_ctx_data_rd(void *dst, ctx_data_t *src, uint32_t size)
{
struct bdev_ocf_data *s = src;
uint32_t size_local;
size_local = iovec_flatten(s->iovs, s->iovcnt, dst, size, s->seek);
s->seek += size_local;
return size_local;
}
static size_t
buf_to_iovec(const void *buf, size_t size, struct iovec *iov, size_t iovcnt, size_t offset)
{
size_t i, len, done = 0;
for (i = 0; i < iovcnt; i++) {
if (offset >= iov[i].iov_len) {
offset -= iov[i].iov_len;
continue;
}
if (iov[i].iov_base == NULL) {
continue;
}
if (done >= size) {
break;
}
len = MIN(size - done, iov[i].iov_len - offset);
memcpy(iov[i].iov_base + offset, buf, len);
buf += len;
done += len;
offset = 0;
}
return done;
}
static uint32_t
vbdev_ocf_ctx_data_wr(ctx_data_t *dst, const void *src, uint32_t size)
{
struct bdev_ocf_data *d = dst;
uint32_t size_local;
size_local = buf_to_iovec(src, size, d->iovs, d->iovcnt, d->seek);
d->seek += size_local;
return size_local;
}
static size_t
iovset(struct iovec *iov, size_t iovcnt, int byte, size_t size, size_t offset)
{
size_t i, len, done = 0;
for (i = 0; i < iovcnt; i++) {
if (offset >= iov[i].iov_len) {
offset -= iov[i].iov_len;
continue;
}
if (iov[i].iov_base == NULL) {
continue;
}
if (done >= size) {
break;
}
len = MIN(size - done, iov[i].iov_len - offset);
memset(iov[i].iov_base + offset, byte, len);
done += len;
offset = 0;
}
return done;
}
static uint32_t
vbdev_ocf_ctx_data_zero(ctx_data_t *dst, uint32_t size)
{
struct bdev_ocf_data *d = dst;
uint32_t size_local;
size_local = iovset(d->iovs, d->iovcnt, 0, size, d->seek);
d->seek += size_local;
return size_local;
}
static uint32_t
vbdev_ocf_ctx_data_seek(ctx_data_t *dst, ctx_data_seek_t seek, uint32_t offset)
{
struct bdev_ocf_data *d = dst;
uint32_t off = 0;
switch (seek) {
case ctx_data_seek_begin:
off = MIN(off, d->size);
d->seek = off;
break;
case ctx_data_seek_current:
off = MIN(off, d->size - d->seek);
d->seek += off;
break;
}
return off;
}
static uint64_t
vbdev_ocf_ctx_data_cpy(ctx_data_t *dst, ctx_data_t *src, uint64_t to,
uint64_t from, uint64_t bytes)
{
struct bdev_ocf_data *s = src;
struct bdev_ocf_data *d = dst;
uint32_t it_iov = 0;
uint32_t it_off = 0;
uint32_t n, sz;
bytes = MIN(bytes, s->size - from);
bytes = MIN(bytes, d->size - to);
sz = bytes;
while (from || bytes) {
if (s->iovs[it_iov].iov_len == it_off) {
it_iov++;
it_off = 0;
continue;
}
if (from) {
n = MIN(from, s->iovs[it_iov].iov_len);
from -= n;
} else {
n = MIN(bytes, s->iovs[it_iov].iov_len);
buf_to_iovec(s->iovs[it_iov].iov_base + it_off, n, d->iovs, d->iovcnt, to);
bytes -= n;
to += n;
}
it_off += n;
}
return sz;
}
static void
vbdev_ocf_ctx_data_secure_erase(ctx_data_t *ctx_data)
{
struct bdev_ocf_data *data = ctx_data;
struct iovec *iovs = data->iovs;
int i;
for (i = 0; i < data->iovcnt; i++) {
if (env_memset(iovs[i].iov_base, iovs[i].iov_len, 0)) {
assert(false);
}
}
}
/* OCF queue initialization procedure
* Called during ocf_cache_start */
static int
vbdev_ocf_ctx_queue_init(ocf_queue_t q)
{
return 0;
}
/* Called during ocf_submit_io, ocf_purge*
* and any other requests that need to submit io */
static void
vbdev_ocf_ctx_queue_kick(ocf_queue_t q)
{
}
/* OCF queue deinitialization
* Called at ocf_cache_stop */
static void
vbdev_ocf_ctx_queue_stop(ocf_queue_t q)
{
}
static int
vbdev_ocf_ctx_cleaner_init(ocf_cleaner_t c)
{
/* TODO [writeback]: implement with writeback mode support */
return 0;
}
static void
vbdev_ocf_ctx_cleaner_stop(ocf_cleaner_t c)
{
/* TODO [writeback]: implement with writeback mode support */
}
static int vbdev_ocf_dobj_updater_init(ocf_metadata_updater_t mu)
{
/* TODO [metadata]: implement with persistent metadata support */
return 0;
}
static void vbdev_ocf_dobj_updater_stop(ocf_metadata_updater_t mu)
{
/* TODO [metadata]: implement with persistent metadata support */
}
static void vbdev_ocf_dobj_updater_kick(ocf_metadata_updater_t mu)
{
/* TODO [metadata]: implement with persistent metadata support */
}
static const struct ocf_ctx_ops vbdev_ocf_ctx_ops = {
.name = "OCF SPDK",
.data_alloc = vbdev_ocf_ctx_data_alloc,
.data_free = vbdev_ocf_ctx_data_free,
.data_mlock = vbdev_ocf_ctx_data_mlock,
.data_munlock = vbdev_ocf_ctx_data_munlock,
.data_rd = vbdev_ocf_ctx_data_rd,
.data_wr = vbdev_ocf_ctx_data_wr,
.data_zero = vbdev_ocf_ctx_data_zero,
.data_seek = vbdev_ocf_ctx_data_seek,
.data_cpy = vbdev_ocf_ctx_data_cpy,
.data_secure_erase = vbdev_ocf_ctx_data_secure_erase,
.queue_init = vbdev_ocf_ctx_queue_init,
.queue_kick = vbdev_ocf_ctx_queue_kick,
.queue_stop = vbdev_ocf_ctx_queue_stop,
.cleaner_init = vbdev_ocf_ctx_cleaner_init,
.cleaner_stop = vbdev_ocf_ctx_cleaner_stop,
.metadata_updater_init = vbdev_ocf_dobj_updater_init,
.metadata_updater_stop = vbdev_ocf_dobj_updater_stop,
.metadata_updater_kick = vbdev_ocf_dobj_updater_kick,
};
/* This function is main way by which OCF communicates with user
* We don't want to use SPDK_LOG here because debugging information that is
* associated with every print message is not helpful in callback that only prints info
* while the real source is somewhere in OCF code */
static int
vbdev_ocf_ctx_log_printf(const struct ocf_logger *logger,
ocf_logger_lvl_t lvl, const char *fmt, va_list args)
{
FILE *lfile = stdout;
if (lvl > log_info) {
return 0;
}
if (lvl <= log_warn) {
lfile = stderr;
}
return vfprintf(lfile, fmt, args);
}
static const struct ocf_logger logger = {
.printf = vbdev_ocf_ctx_log_printf,
.dump_stack = NULL,
};
int
vbdev_ocf_ctx_init(void)
{
int ret;
ret = ocf_ctx_init(&vbdev_ocf_ctx, &vbdev_ocf_ctx_ops);
if (ret < 0) {
return ret;
}
ocf_ctx_set_logger(vbdev_ocf_ctx, &logger);
return 0;
}
void
vbdev_ocf_ctx_cleanup(void)
{
ocf_ctx_exit(vbdev_ocf_ctx);
vbdev_ocf_ctx = NULL;
}
SPDK_LOG_REGISTER_COMPONENT("ocf_ocfctx", SPDK_LOG_OCFCTX)
| 22.183575 | 91 | 0.704922 |
52486e1369ceefbc65dd8670aa93f4edadaaec8e | 3,695 | h | C | src/ksi/fast_tlv.h | rsyslog/libksi | 327e40a08c1e70f6ddfe71b82f0fb10a09ad6f0a | [
"Apache-2.0"
] | null | null | null | src/ksi/fast_tlv.h | rsyslog/libksi | 327e40a08c1e70f6ddfe71b82f0fb10a09ad6f0a | [
"Apache-2.0"
] | 2 | 2015-07-03T09:49:16.000Z | 2015-12-18T14:15:10.000Z | src/ksi/fast_tlv.h | rsyslog/libksi | 327e40a08c1e70f6ddfe71b82f0fb10a09ad6f0a | [
"Apache-2.0"
] | 3 | 2015-12-18T13:56:34.000Z | 2021-05-18T02:57:37.000Z | /*
* Copyright 2013-2015 Guardtime, Inc.
*
* This file is part of the Guardtime client SDK.
*
* 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, CONDITIONS, OR OTHER LICENSES OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
* "Guardtime" and "KSI" are trademarks or registered trademarks of
* Guardtime, Inc., and no license to trademarks is granted; Guardtime
* reserves and retains all trademark rights.
*/
#ifndef FAST_TLV_H_
#define FAST_TLV_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct fast_tlv_s KSI_FTLV;
struct fast_tlv_s {
/** Offset. */
size_t off;
/** Header lenght. */
size_t hdr_len;
/** Payload lenght. */
size_t dat_len;
/** TLV tag */
unsigned tag;
/* Flag - is non critical. */
int is_nc;
/* Flag - is forward. */
int is_fwd;
};
/**
* Read the TLV from a file.
* \param[in] f File descriptor.
* \param[in] buf Pointer to memory buffer.
* \param[in] len Length of the buffer.
* \param[out] consumed Number of bytes read.
* \param[in] t Pointer to the #KSI_FTLV object.
* \return status code (\c KSI_OK, when operation succeeded, otherwise an error code).
*/
int KSI_FTLV_fileRead(FILE *f, unsigned char *buf, size_t len, size_t *consumed, struct fast_tlv_s *t);
/**
* Read the TLV from a socket.
* \param[in] fd Socket descriptor.
* \param[in] buf Pointer to memory buffer.
* \param[in] len Length of the buffer.
* \param[out] consumed Number of bytes read.
* \param[in] t Pointer to the #KSI_FTLV object.
* \return status code (\c KSI_OK, when operation succeeded, otherwise an error code).
*/
int KSI_FTLV_socketRead(int fd, unsigned char *buf, size_t len, size_t *consumed, KSI_FTLV *t);
/**
* Read the TLV from a memory buffer.
* \param[in] m Pointer to the memory buffer.
* \param[in] l Length of the buffer.
* \param[in] t Pointer to the #KSI_FTLV object.
* \return status code (\c KSI_OK, when operation succeeded, otherwise an error code).
*/
int KSI_FTLV_memRead(const unsigned char *m, size_t l, KSI_FTLV *t);
/**
* Reads up to \c arr_len TLV's from the buffer. The number of read elements is returned via \c rd
* output parameter. If the \c arr pointer is set to \c NULL and \c arr_len equals 0, the function
* calculates the required length for the buffer \c arr.
* \param[in] buf Pointer to the memory buffer.
* \param[in] buf_len Length of the buffer.
* \param[in] arr Pointer to the output buffer (can be \c NULL).
* \param[in] arr_len Length of the output buffer (must be equal to 0, if \c arr is \c NULL).
* \param[out] rd Output parameter for the number of TLV read (can be \c NULL).
* \return status code (\c KSI_OK, when operation succeeded, otherwise an error code).
* \note This method is using optimized to do as little copy operations as possible. In case of an
* error during this process, the buffer will probably get corrupted. If this corruption of the
* buffer is an issue, you may call this function twice - the first time just leave \c arr as \c NULL
* and \c arr_len equal to 0.
*/
int KSI_FTLV_memReadN(const unsigned char *buf, size_t buf_len, KSI_FTLV *arr, size_t arr_len, size_t *rd);
#ifdef __cplusplus
}
#endif
#endif /* FAST_TLV_H_ */
| 35.873786 | 108 | 0.698782 |
f8005b001be16cb4f021be45f5ac6d5f492e261b | 38 | cats | C | data/1/175557.cats | ks2002119/EmailAnalysis | ea7b7499794061f73ac8141694833acdf813bdb3 | [
"Apache-2.0"
] | null | null | null | data/1/175557.cats | ks2002119/EmailAnalysis | ea7b7499794061f73ac8141694833acdf813bdb3 | [
"Apache-2.0"
] | null | null | null | data/1/175557.cats | ks2002119/EmailAnalysis | ea7b7499794061f73ac8141694833acdf813bdb3 | [
"Apache-2.0"
] | null | null | null | 1,1,1
2,1,1
2,2,1
3,7,1
4,10,1
4,12,1
| 5.428571 | 6 | 0.526316 |
76f2de1a60edb781c360eaec2fed4db1565d61f3 | 1,497 | h | C | dataset/source/SARD/SARD-3/102201/CWE415_Double_Free__new_delete_wchar_t_83.h | kppw99/enVAS | 99a92411c21241f7030b3c3b697c4161aaaf852b | [
"Apache-2.0"
] | 28 | 2017-01-20T15:25:54.000Z | 2020-03-17T00:28:31.000Z | testcases/CWE415_Double_Free/s02/CWE415_Double_Free__new_delete_wchar_t_83.h | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 1 | 2021-07-12T02:57:17.000Z | 2021-07-16T02:07:29.000Z | testcases/CWE415_Double_Free/s02/CWE415_Double_Free__new_delete_wchar_t_83.h | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 2 | 2019-07-15T19:07:04.000Z | 2019-09-07T14:21:04.000Z | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__new_delete_wchar_t_83.h
Label Definition File: CWE415_Double_Free__new_delete.label.xml
Template File: sources-sinks-83.tmpl.h
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using new and Deallocae data using delete
* GoodSource: Allocate data using new
* Sinks:
* GoodSink: do nothing
* BadSink : Deallocate data using delete
* Flow Variant: 83 Data flow: data passed to class constructor and destructor by declaring the class object on the stack
*
* */
#include "std_testcase.h"
#include <wchar.h>
namespace CWE415_Double_Free__new_delete_wchar_t_83
{
#ifndef OMITBAD
class CWE415_Double_Free__new_delete_wchar_t_83_bad
{
public:
CWE415_Double_Free__new_delete_wchar_t_83_bad(wchar_t * dataCopy);
~CWE415_Double_Free__new_delete_wchar_t_83_bad();
private:
wchar_t * data;
};
#endif /* OMITBAD */
#ifndef OMITGOOD
class CWE415_Double_Free__new_delete_wchar_t_83_goodG2B
{
public:
CWE415_Double_Free__new_delete_wchar_t_83_goodG2B(wchar_t * dataCopy);
~CWE415_Double_Free__new_delete_wchar_t_83_goodG2B();
private:
wchar_t * data;
};
class CWE415_Double_Free__new_delete_wchar_t_83_goodB2G
{
public:
CWE415_Double_Free__new_delete_wchar_t_83_goodB2G(wchar_t * dataCopy);
~CWE415_Double_Free__new_delete_wchar_t_83_goodB2G();
private:
wchar_t * data;
};
#endif /* OMITGOOD */
}
| 23.390625 | 122 | 0.752839 |
595e54413da7072e3ac7b52cb2e89182b6e0c95a | 1,627 | h | C | Engine/StdH.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | Engine/StdH.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | Engine/StdH.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z |
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
# define WINDOW_SDK_70A
#endif
#define ENGINE_INTERNAL 1
#define ENGINE_EXPORTS 1
#pragma warning(disable : 4786)
#pragma warning(disable : 4391) // Platform SDK Warning
#pragma warning(disable : 4996) // CRT _s
#pragma warning(disable : 4200) // packet zero-base array
#pragma warning(disable : 4819) // packet zero-base array
#pragma warning(disable : 4603) // packet zero-base array
#include <stdlib.h>
#include <malloc.h>
#include <stdarg.h>
#include <stdio.h>
#include <conio.h>
#include <string.h>
#include <stddef.h>
#include <time.h>
#include <math.h>
#include <search.h> // for qsort
#include <float.h> // for FPU control
#include <crtdbg.h>
extern "C"
{
#include <Engine/lua/lua.h>
#include <Engine/lua/lualib.h>
#include <Engine/lua/lauxlib.h>
};
#include <Engine/Xbox/XKeyboard.h>
#include <winsock2.h>
#include <windows.h>
#include <mmsystem.h> // for timers
#include <Engine/Base/Types.h>
#include <Engine/Base/Assert.h>
#if !defined(WORLD_EDITOR)
#include <boost/thread.hpp>
#include <boost/format.hpp>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <boost/shared_ptr.hpp>
#endif // WORLD_EDITOR
#ifdef _DEBUG
# pragma comment(lib, "zlibD.lib")
# pragma comment(lib, "libpngD.lib")
#else // _DEBUG
# pragma comment(lib, "zlib.lib")
# pragma comment(lib, "libpng.lib")
#endif // _DEBUG
| 24.283582 | 58 | 0.717886 |
0c701fadd4f30efa8958285fe29b4c86ff26b8f6 | 2,418 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/O2OMapController.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/O2OMapController.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/O2OMapController.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "O2OListViewController.h"
#import "O2OCommonSchemeProtocol-Protocol.h"
@class MAMapView, MAUserLocation, NSArray, NSDictionary, NSString, O2OMallMapModel, O2OMapAnnotation;
@interface O2OMapController : O2OListViewController <O2OCommonSchemeProtocol>
{
O2OMallMapModel *_mallMapModel;
NSArray *_avaliableMaps;
MAMapView *_mapView;
MAUserLocation *_userLocation;
O2OMapAnnotation *_shopAnnotation;
NSString *_shopId;
NSString *_taxiUrl;
}
+ (unsigned long long)canInitWithScheme:(id)arg1;
@property(retain, nonatomic) NSString *taxiUrl; // @synthesize taxiUrl=_taxiUrl;
@property(retain, nonatomic) NSString *shopId; // @synthesize shopId=_shopId;
@property(retain, nonatomic) O2OMapAnnotation *shopAnnotation; // @synthesize shopAnnotation=_shopAnnotation;
@property(retain, nonatomic) MAUserLocation *userLocation; // @synthesize userLocation=_userLocation;
@property(retain, nonatomic) MAMapView *mapView; // @synthesize mapView=_mapView;
@property(retain, nonatomic) NSArray *avaliableMaps; // @synthesize avaliableMaps=_avaliableMaps;
@property(retain, nonatomic) O2OMallMapModel *mallMapModel; // @synthesize mallMapModel=_mallMapModel;
- (void).cxx_destruct;
- (void)merchantback;
- (id)pageParams;
- (id)pageSpm;
- (id)mapView:(id)arg1 viewForAnnotation:(id)arg2;
- (id)mapView:(id)arg1 rendererForOverlay:(id)arg2;
- (void)mapView:(id)arg1 didUpdateUserLocation:(id)arg2 updatingLocation:(_Bool)arg3;
- (void)loadCircleList;
- (void)loadPointList;
- (void)actionSheet:(id)arg1 clickedButtonAtIndex:(long long)arg2;
- (void)buttonStyleDirection:(id)arg1;
- (void)takeNavApp:(id)arg1;
- (void)takeTaxiAction;
- (void)resetMapView;
- (void)queryMall;
- (void)dealloc;
- (void)viewDidDisappear:(_Bool)arg1;
- (void)viewWillDisappear:(_Bool)arg1;
- (_Bool)autohideNavigationBar;
- (_Bool)gestureRecognizerShouldBegin:(id)arg1;
- (void)viewDidAppear:(_Bool)arg1;
- (void)viewDidLoad;
- (id)initWithScheme:(id)arg1;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(retain, nonatomic) NSDictionary *schemeOptions;
@property(readonly) Class superclass;
@end
| 37.2 | 109 | 0.771299 |
673ed8105341f9e7d105a467bc07e9cfffb6bc15 | 985 | h | C | Fingers/FNG_Settings.h | wolqws/sws | 4086745d38cc7375ee38843214a63bd8d285a84d | [
"MIT",
"Unlicense"
] | 1 | 2020-01-14T19:43:07.000Z | 2020-01-14T19:43:07.000Z | Fingers/FNG_Settings.h | lorenzopistolesi/sws | 6963f7563851c8dd919db426bae825843939077f | [
"MIT",
"Unlicense"
] | null | null | null | Fingers/FNG_Settings.h | lorenzopistolesi/sws | 6963f7563851c8dd919db426bae825843939077f | [
"MIT",
"Unlicense"
] | null | null | null | #ifndef _FNG_SETTINGS_H_
#define _FNG_SETTINGS_H_
template
<typename T>
__inline void setReaperProperty(const std::string &key, const T& value)
{
std::ostringstream oss;
oss << value;
WritePrivateProfileString("fingers", key.c_str(), oss.str().c_str(), get_ini_file());
}
template <>
__inline void setReaperProperty<std::string>(const std::string &key, const std::string &value)
{
WritePrivateProfileString("fingers", key.c_str(), value.c_str(), get_ini_file());
}
__inline std::string getReaperProperty(const std::string &key)
{
char value[512];
GetPrivateProfileString("fingers", key.c_str(), NULL, value, 512, get_ini_file());
return std::string(value);
}
__inline void *getInternalReaperProperty(const std::string &key)
{
int temp;
int offset = projectconfig_var_getoffs(key.c_str(), &temp);
if (offset)
return projectconfig_var_addr(0, offset);
else
return get_config_var(key.c_str(), &offset);
}
#endif /*_FNG_SETTINGS_H_ */ | 27.361111 | 95 | 0.716751 |
7b92fca5c3732a88d539822668d2486747ea53ba | 664 | h | C | src/qt/passion/subscription/subrow.h | PassionCash/PassionCashCoin | 389a2fce7458cb400b900b0e816ed24db90f3c92 | [
"MIT"
] | null | null | null | src/qt/passion/subscription/subrow.h | PassionCash/PassionCashCoin | 389a2fce7458cb400b900b0e816ed24db90f3c92 | [
"MIT"
] | null | null | null | src/qt/passion/subscription/subrow.h | PassionCash/PassionCashCoin | 389a2fce7458cb400b900b0e816ed24db90f3c92 | [
"MIT"
] | null | null | null | //Copyright (c) 2021 The PASSION CORE developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SUBROW_H
#define SUBROW_H
#include <QWidget>
namespace Ui {
class SubRow;
}
class SubRow : public QWidget
{
Q_OBJECT
public:
explicit SubRow(QWidget *parent = nullptr);
~SubRow();
void updateView(QString domain, QString key, QString expire, QString paymentaddress, QString sitefee, QString registeraddress, QString registeraddressbalance, QString status);
Q_SIGNALS:
void onMenuClicked();
private:
Ui::SubRow *ui;
};
#endif // SUBROW_H
| 21.419355 | 179 | 0.743976 |
0b04a71d31a5a91c925be2fe55cfb281f89cda00 | 1,459 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/O2OPhotoCustomNaviBar.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/O2OPhotoCustomNaviBar.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/O2OPhotoCustomNaviBar.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <UIKit/UIView.h>
@class NSString, O2OTitleView, UIButton;
@protocol O2OPhotoCustomNaviBarDelegate;
@interface O2OPhotoCustomNaviBar : UIView
{
_Bool _isOpenAlbumList;
NSString *_title;
NSString *_done;
id <O2OPhotoCustomNaviBarDelegate> _delegate;
UIButton *_closeBtn;
UIButton *_doneBtn;
UIView *_bottomLine;
O2OTitleView *_titleView;
}
@property(retain, nonatomic) O2OTitleView *titleView; // @synthesize titleView=_titleView;
@property(retain, nonatomic) UIView *bottomLine; // @synthesize bottomLine=_bottomLine;
@property(retain, nonatomic) UIButton *doneBtn; // @synthesize doneBtn=_doneBtn;
@property(retain, nonatomic) UIButton *closeBtn; // @synthesize closeBtn=_closeBtn;
@property(nonatomic) __weak id <O2OPhotoCustomNaviBarDelegate> delegate; // @synthesize delegate=_delegate;
@property(nonatomic) _Bool isOpenAlbumList; // @synthesize isOpenAlbumList=_isOpenAlbumList;
@property(retain, nonatomic) NSString *done; // @synthesize done=_done;
@property(retain, nonatomic) NSString *title; // @synthesize title=_title;
- (void).cxx_destruct;
- (void)clickTitle;
- (void)updateDoneEnableStatus:(_Bool)arg1;
- (void)submit:(id)arg1;
- (void)close:(id)arg1;
- (void)setupUI;
- (id)initWithFrame:(struct CGRect)arg1;
@end
| 34.738095 | 107 | 0.750514 |
ad9139a95af2a102a8415601fa384e5543638909 | 1,221 | h | C | src/renderer/RenderBatch.h | tippesi/Atlas-Engine | 9d135d79e24de0b826ad119b546b26802ca42207 | [
"BSD-3-Clause"
] | 41 | 2020-07-12T13:53:05.000Z | 2022-03-31T14:36:42.000Z | src/renderer/RenderBatch.h | hzqst/Atlas-Engine | fe45c5529815d6ca28a3bad7920d95281efc0028 | [
"BSD-3-Clause"
] | 4 | 2019-12-19T11:36:45.000Z | 2022-03-18T00:23:51.000Z | src/renderer/RenderBatch.h | hzqst/Atlas-Engine | fe45c5529815d6ca28a3bad7920d95281efc0028 | [
"BSD-3-Clause"
] | 4 | 2020-07-26T04:21:42.000Z | 2022-03-08T16:23:46.000Z | #ifndef AE_RENDERBATCH_H
#define AE_RENDERBATCH_H
#include "System.h"
#include "buffer/VertexArray.h"
#include "buffer/VertexBuffer.h"
namespace Atlas {
namespace Renderer {
class RenderBatch {
public:
RenderBatch();
void AddLine(vec3 from, vec3 to, vec3 fromColor = vec3(1.0f),
vec3 toColor = vec3(1.0f));
size_t GetLineCount() const;
void SetLineWidth(float width);
float GetLineWidth() const;
void AddTriangle(vec3 v0, vec3 v1, vec3 v2,
vec3 v0Color, vec3 v1Color, vec3 v2Color);
size_t GetTriangleCount() const;
void TransferData();
void BindLineBuffer();
void BindTriangleBuffer();
void Clear();
private:
// Line data
Buffer::VertexArray lineVertexArray;
Buffer::VertexBuffer lineVertices;
Buffer::VertexBuffer lineColors;
std::vector<vec3> lineVertexData;
std::vector<vec3> lineColorData;
float lineWidth = 1.0f;
bool lineDataValid = true;
// Triangle data
Buffer::VertexArray triangleVertexArray;
Buffer::VertexBuffer triangleVertices;
Buffer::VertexBuffer triangleColors;
std::vector<vec3> triangleVertexData;
std::vector<vec3> triangleColorData;
bool triangleDataValid = true;
};
}
}
#endif | 17.955882 | 64 | 0.709255 |
214ac49b73498616b0d5f1b94822dc15236130cb | 2,560 | c | C | cbits/abcBridgeGiaDup.c | LisannaAtGalois/abcBridge | cb943e93de0d38bcf59faec0c60739e222fb4adb | [
"BSD-3-Clause"
] | 5 | 2015-05-26T18:23:16.000Z | 2019-11-27T07:29:20.000Z | cbits/abcBridgeGiaDup.c | LisannaAtGalois/abcBridge | cb943e93de0d38bcf59faec0c60739e222fb4adb | [
"BSD-3-Clause"
] | 15 | 2015-02-05T17:07:31.000Z | 2020-11-12T18:12:27.000Z | cbits/abcBridgeGiaDup.c | LisannaAtGalois/abcBridge | cb943e93de0d38bcf59faec0c60739e222fb4adb | [
"BSD-3-Clause"
] | 7 | 2015-02-05T01:42:55.000Z | 2020-11-05T18:20:50.000Z | #include "aig.h"
#include "gia.h"
/**
* This copies the given object into a new GIA, using the value field of objects
* for mappings. It is similar to Gia_ManDupDfs_rec, but supports objects that
* are uncopied inputs by allocating new inputs on demand.
*
* This function is written in C so that we get efficient access to inline functions
* that manipulate bitfields.
*/
static
int Gia_CopyGiaObj(Gia_Man_t* pNew, Gia_Obj_t* pObj)
{
if (pObj->Value != -1) return pObj->Value;
if (Gia_ObjIsAnd(pObj)) {
Gia_CopyGiaObj(pNew, Gia_ObjFanin0(pObj));
Gia_CopyGiaObj(pNew, Gia_ObjFanin1(pObj));
return pObj->Value = Gia_ManAppendAnd(pNew, Gia_ObjFanin0Copy(pObj),
Gia_ObjFanin1Copy(pObj));
} else {
assert(Gia_ObjIsCi(pObj));
return pObj->Value = Gia_ManAppendCi(pNew);
}
}
int AbcBridge_Gia_DupLit(Gia_Man_t* pNew, Gia_Man_t* p, int iLit)
{
int var = Gia_CopyGiaObj(pNew, Gia_ManObj(p, Abc_Lit2Var(iLit)));
return Abc_LitNotCond(var, Abc_LitIsCompl(iLit));
}
/**
* Returns lit in most recently duplicated new manager or -1 if lit has not
* been copied.
*/
int Gia_LitCopy(Gia_Man_t* p, int iLit)
{
Gia_Obj_t* obj = Gia_ManObj(p, Abc_Lit2Var(iLit));
return (obj->Value == -1)
? -1
: Abc_LitNotCond(obj->Value, Abc_LitIsCompl(iLit));
}
/**
* Pointer to an array where for each GIA object o, the element
* at index Gia_ObjId(_,o) stores the AIG object equivalent to o.
*/
typedef Aig_Obj_t* GiaAigMap;
static
Aig_Obj_t* Aig_CopyGiaObj(Aig_Man_t* pNew, GiaAigMap* m, Gia_Man_t* p, Gia_Obj_t* pObj)
{
int id = Gia_ObjId(p, pObj);
if (m[id]) return m[id]; // Return previous object if pObj has already been copied.
if (Gia_ObjIsAnd(pObj)) {
Aig_Obj_t* obj0 = Aig_NotCond(Aig_CopyGiaObj(pNew, m, p, Gia_ObjFanin0(pObj)),
Gia_ObjFaninC0(pObj));
Aig_Obj_t* obj1 = Aig_NotCond(Aig_CopyGiaObj(pNew, m, p, Gia_ObjFanin1(pObj)),
Gia_ObjFaninC1(pObj));
return m[id] = Aig_And(pNew, obj0, obj1);
} else {
assert(Gia_ObjIsCi(pObj));
return m[id] = Aig_ObjCreateCi(pNew);
}
}
/**
* Copies a GIA literal to an AIG, and adds it to the list of combinational outputs.
*/
Aig_Obj_t* AbcBridge_Aig_DupGiaLit(Aig_Man_t* pNew, GiaAigMap* m, Gia_Man_t* p, int iLit)
{
// Copy underlying var to new AIG.
Aig_Obj_t* obj = Aig_CopyGiaObj(pNew, m, p, Gia_ManObj(p, Abc_Lit2Var(iLit)));
// Negate obj if necessary.
return Aig_NotCond(obj, Abc_LitIsCompl(iLit));
}
| 32 | 89 | 0.675781 |
56cba07371349be2876d568ef22bf8ba6cfe5cd0 | 2,981 | h | C | src/plugins/inspection/inspection_impl.h | fada-catec/piloting-mavsdk | 512316f0137b737323550b2b06ae014b6e9b2ae4 | [
"BSD-3-Clause"
] | 4 | 2021-04-12T09:21:10.000Z | 2022-01-11T18:20:32.000Z | src/plugins/inspection/inspection_impl.h | fada-catec/piloting-mavsdk | 512316f0137b737323550b2b06ae014b6e9b2ae4 | [
"BSD-3-Clause"
] | 1 | 2021-11-02T09:30:23.000Z | 2022-01-11T06:42:10.000Z | src/plugins/inspection/inspection_impl.h | fada-catec/piloting-mavsdk | 512316f0137b737323550b2b06ae014b6e9b2ae4 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "plugins/inspection/inspection.h"
#include "mavlink_include.h"
#include "plugin_impl_base.h"
#include "system.h"
#include "mavlink_inspection_transfer.h"
namespace mavsdk {
class InspectionImpl : public PluginImplBase {
public:
explicit InspectionImpl(System& system);
explicit InspectionImpl(std::shared_ptr<System> system);
~InspectionImpl();
void init() override;
void deinit() override;
void enable() override;
void disable() override;
std::pair<InspectionBase::Result, InspectionBase::Ack>
upload_inspection(const InspectionBase::WaypointList& list);
void upload_inspection_async(
const InspectionBase::WaypointList& list,
const InspectionBase::ResultAckCallback& callback);
InspectionBase::Result cancel_inspection_upload();
std::pair<InspectionBase::Result, InspectionBase::WaypointList> download_inspection();
void download_inspection_async(const InspectionBase::DownloadInspectionCallback& callback);
InspectionBase::Result cancel_inspection_download();
void set_current_inspection_item(uint16_t index);
InspectionBase::InspectionProgress inspection_progress();
void inspection_progress_async(InspectionBase::InspectionProgressCallback callback);
// Non-copyable
InspectionImpl(const InspectionImpl&) = delete;
const InspectionImpl& operator=(const InspectionImpl&) = delete;
private:
void process_inspection_current(const mavlink_message_t& message);
void process_inspection_item_reached(const mavlink_message_t& message);
void report_progress();
void reset_inspection_progress();
std::vector<MAVLinkInspectionTransfer::WaypointItem>
convert_to_int_items(const std::vector<InspectionBase::WaypointItem>& items);
// FIXME: make static
std::pair<InspectionBase::Result, InspectionBase::WaypointList>
convert_to_result_and_waypoint_list(
MAVLinkInspectionTransfer::Result result, MAVLinkInspectionTransfer::WaypointList& list);
// FIXME: make static
std::pair<InspectionBase::Result, InspectionBase::Ack> convert_to_result_and_ack(
MAVLinkInspectionTransfer::Result result, MAVLinkInspectionTransfer::Ack ack);
static InspectionBase::Ack convert_ack(MAVLinkInspectionTransfer::Ack ack);
static InspectionBase::Result convert_result(MAVLinkInspectionTransfer::Result result);
struct {
mutable std::recursive_mutex mutex{};
int last_current_mavlink_inspection_item{-1};
int last_reached_mavlink_inspection_item{-1};
InspectionBase::InspectionProgressCallback progress_callback{nullptr};
int last_current_reported_inspection_item{-1};
int last_reached_reported_inspection_item{-1};
std::weak_ptr<MAVLinkInspectionTransfer::WorkItem> last_upload{};
std::weak_ptr<MAVLinkInspectionTransfer::WorkItem> last_download{};
} _inspection_data{};
void* _timeout_cookie{nullptr};
};
} // namespace mavsdk
| 36.802469 | 97 | 0.765515 |
b69eeea0b2b82bfeb7d13743edb50526ea5f2106 | 9,428 | h | C | Project/Temp/StagingArea/Data/il2cppOutput/Mono_Security_Mono_Security_X509_X509Certificate324051957MethodDeclarations.h | Yuunagi-Yu/NumberDisk | f1cf414dbfe8d0094d3ef11b37839f6caf58ae9f | [
"MIT"
] | null | null | null | Project/Temp/StagingArea/Data/il2cppOutput/Mono_Security_Mono_Security_X509_X509Certificate324051957MethodDeclarations.h | Yuunagi-Yu/NumberDisk | f1cf414dbfe8d0094d3ef11b37839f6caf58ae9f | [
"MIT"
] | null | null | null | Project/Temp/StagingArea/Data/il2cppOutput/Mono_Security_Mono_Security_X509_X509Certificate324051957MethodDeclarations.h | Yuunagi-Yu/NumberDisk | f1cf414dbfe8d0094d3ef11b37839f6caf58ae9f | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// Mono.Security.X509.X509Certificate
struct X509Certificate_t324051958;
// System.Byte[]
struct ByteU5BU5D_t3397334013;
// System.Security.Cryptography.DSA
struct DSA_t903174880;
// Mono.Security.X509.X509ExtensionCollection
struct X509ExtensionCollection_t1640144840;
// System.String
struct String_t;
// System.Security.Cryptography.RSA
struct RSA_t3719518354;
// System.Security.Cryptography.AsymmetricAlgorithm
struct AsymmetricAlgorithm_t784058677;
// Mono.Security.ASN1
struct ASN1_t924533536;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t228987430;
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Security_Cryptography_DSA903174880.h"
#include "mscorlib_System_Security_Cryptography_RSA3719518354.h"
#include "mscorlib_System_DateTime693205669.h"
#include "mscorlib_System_Security_Cryptography_AsymmetricAlg784058677.h"
#include "mscorlib_System_Runtime_Serialization_Serialization228987430.h"
#include "mscorlib_System_Runtime_Serialization_StreamingCon1417235061.h"
#include "mscorlib_System_String2029220233.h"
// System.Void Mono.Security.X509.X509Certificate::.ctor(System.Byte[])
extern "C" void X509Certificate__ctor_m2941481449 (X509Certificate_t324051958 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Mono.Security.X509.X509Certificate::.cctor()
extern "C" void X509Certificate__cctor_m2984068893 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Mono.Security.X509.X509Certificate::Parse(System.Byte[])
extern "C" void X509Certificate_Parse_m1764345628 (X509Certificate_t324051958 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::GetUnsignedBigInteger(System.Byte[])
extern "C" ByteU5BU5D_t3397334013* X509Certificate_GetUnsignedBigInteger_m2102946512 (X509Certificate_t324051958 * __this, ByteU5BU5D_t3397334013* ___integer0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Security.Cryptography.DSA Mono.Security.X509.X509Certificate::get_DSA()
extern "C" DSA_t903174880 * X509Certificate_get_DSA_m3972464423 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Mono.Security.X509.X509Certificate::set_DSA(System.Security.Cryptography.DSA)
extern "C" void X509Certificate_set_DSA_m1325917832 (X509Certificate_t324051958 * __this, DSA_t903174880 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// Mono.Security.X509.X509ExtensionCollection Mono.Security.X509.X509Certificate::get_Extensions()
extern "C" X509ExtensionCollection_t1640144840 * X509Certificate_get_Extensions_m222060964 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::get_Hash()
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_Hash_m2470366345 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String Mono.Security.X509.X509Certificate::get_IssuerName()
extern "C" String_t* X509Certificate_get_IssuerName_m3907994144 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String Mono.Security.X509.X509Certificate::get_KeyAlgorithm()
extern "C" String_t* X509Certificate_get_KeyAlgorithm_m454927092 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::get_KeyAlgorithmParameters()
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_KeyAlgorithmParameters_m1701675565 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Mono.Security.X509.X509Certificate::set_KeyAlgorithmParameters(System.Byte[])
extern "C" void X509Certificate_set_KeyAlgorithmParameters_m17826364 (X509Certificate_t324051958 * __this, ByteU5BU5D_t3397334013* ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::get_PublicKey()
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_PublicKey_m933487733 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Security.Cryptography.RSA Mono.Security.X509.X509Certificate::get_RSA()
extern "C" RSA_t3719518354 * X509Certificate_get_RSA_m1167362983 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Mono.Security.X509.X509Certificate::set_RSA(System.Security.Cryptography.RSA)
extern "C" void X509Certificate_set_RSA_m1038416652 (X509Certificate_t324051958 * __this, RSA_t3719518354 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::get_RawData()
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_RawData_m1262574599 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::get_SerialNumber()
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_SerialNumber_m2509150920 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::get_Signature()
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_Signature_m3664033367 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String Mono.Security.X509.X509Certificate::get_SignatureAlgorithm()
extern "C" String_t* X509Certificate_get_SignatureAlgorithm_m2111916881 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String Mono.Security.X509.X509Certificate::get_SubjectName()
extern "C" String_t* X509Certificate_get_SubjectName_m3533705485 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.DateTime Mono.Security.X509.X509Certificate::get_ValidFrom()
extern "C" DateTime_t693205669 X509Certificate_get_ValidFrom_m1740754472 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.DateTime Mono.Security.X509.X509Certificate::get_ValidUntil()
extern "C" DateTime_t693205669 X509Certificate_get_ValidUntil_m4037777446 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 Mono.Security.X509.X509Certificate::get_Version()
extern "C" int32_t X509Certificate_get_Version_m1704730343 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Mono.Security.X509.X509Certificate::get_IsCurrent()
extern "C" bool X509Certificate_get_IsCurrent_m424898544 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Mono.Security.X509.X509Certificate::WasCurrent(System.DateTime)
extern "C" bool X509Certificate_WasCurrent_m3632049416 (X509Certificate_t324051958 * __this, DateTime_t693205669 ___instant0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Mono.Security.X509.X509Certificate::VerifySignature(System.Security.Cryptography.DSA)
extern "C" bool X509Certificate_VerifySignature_m4020723406 (X509Certificate_t324051958 * __this, DSA_t903174880 * ___dsa0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Mono.Security.X509.X509Certificate::VerifySignature(System.Security.Cryptography.RSA)
extern "C" bool X509Certificate_VerifySignature_m4020723740 (X509Certificate_t324051958 * __this, RSA_t3719518354 * ___rsa0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Mono.Security.X509.X509Certificate::VerifySignature(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" bool X509Certificate_VerifySignature_m3536156059 (X509Certificate_t324051958 * __this, AsymmetricAlgorithm_t784058677 * ___aa0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Mono.Security.X509.X509Certificate::get_IsSelfSigned()
extern "C" bool X509Certificate_get_IsSelfSigned_m3860357831 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::GetIssuerName()
extern "C" ASN1_t924533536 * X509Certificate_GetIssuerName_m2776799695 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::GetSubjectName()
extern "C" ASN1_t924533536 * X509Certificate_GetSubjectName_m3163312410 (X509Certificate_t324051958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Mono.Security.X509.X509Certificate::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" void X509Certificate_GetObjectData_m2064274370 (X509Certificate_t324051958 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Mono.Security.X509.X509Certificate::PEM(System.String,System.Byte[])
extern "C" ByteU5BU5D_t3397334013* X509Certificate_PEM_m49854707 (Il2CppObject * __this /* static, unused */, String_t* ___type0, ByteU5BU5D_t3397334013* ___data1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
| 86.495413 | 226 | 0.846097 |
5e4ff0d4b8f346bf458fc29fee3d4198b1a1cd4e | 2,151 | h | C | src/main/c++/sdm/data_store.h | gkohri/stochastico | e40ca1731f3dfe8782d8e5fa008790c8b80a1681 | [
"Apache-2.0"
] | null | null | null | src/main/c++/sdm/data_store.h | gkohri/stochastico | e40ca1731f3dfe8782d8e5fa008790c8b80a1681 | [
"Apache-2.0"
] | null | null | null | src/main/c++/sdm/data_store.h | gkohri/stochastico | e40ca1731f3dfe8782d8e5fa008790c8b80a1681 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2011 The Stochastico Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by 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 SDM_DATA_STORE_H
#define SDM_DATA_STORE_H
/*
* A convenience class used to store data for training or testing purposes.
*
*/
#include <vector>
#include "sdm/data_point.h"
namespace sdm {
class DataStore: public std::vector<DataPoint*> {
public:
DataStore() : std::vector<DataPoint*>() {}
virtual ~DataStore() {}
/*
* Adds a data point to the data store
*/
inline void add( DataPoint *p ) {
push_back( p );
}
/*
* Deletes a data point from the data store
*/
inline void remove( const DataPoint *p ) {
std::vector<DataPoint*>::iterator vpit;
for ( vpit = begin(); vpit != end(); ++vpit){
if ( *vpit == p ){
erase( vpit );
break;
}
}
}
/*
* Checks whether or not the specified data point is contained in the
* DataStore
*/
inline bool contains( const DataPoint *p ) {
bool found = false;
std::vector<DataPoint*>::iterator vpit;
for ( vpit = begin(); vpit != end(); ++vpit){
if ( *vpit == p ){
found = true;
break;
}
}
return found;
}
/*
* Checks whether or not this DataStore contains any data points.
*/
inline bool is_empty() const {
return empty();
}
private:
DataStore(const DataStore&) = delete;
DataStore& operator=(const DataStore&) = delete;
};
} // end namespace sdm
#endif // SDM_DATA_STORE_H
| 24.443182 | 76 | 0.593677 |
e54981b0aa1f48a1182c0e52e2dfb0d9e296f218 | 268 | h | C | src/include/framework/lang/l-debugger.h | tenfar/xboot | cd44bd16cdc185250dbba25778232813e671d007 | [
"MIT"
] | null | null | null | src/include/framework/lang/l-debugger.h | tenfar/xboot | cd44bd16cdc185250dbba25778232813e671d007 | [
"MIT"
] | null | null | null | src/include/framework/lang/l-debugger.h | tenfar/xboot | cd44bd16cdc185250dbba25778232813e671d007 | [
"MIT"
] | 1 | 2019-10-23T03:57:06.000Z | 2019-10-23T03:57:06.000Z | #ifndef __FRAMEWORK_L_DEBUGGER_H__
#define __FRAMEWORK_L_DEBUGGER_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <framework/luahelper.h>
int luaopen_debugger(lua_State * L);
#ifdef __cplusplus
}
#endif
#endif /* __FRAMEWORK_L_DEBUGGER_H__ */
| 15.764706 | 40 | 0.742537 |
f93ba97625dc94def7e776e72d6252eb76ea58c0 | 620 | h | C | YLCleaner/Xcode-RuntimeHeaders/DevToolsInterface/XCRefactoringExtractSetUpRow2Module.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | 1 | 2019-02-15T02:16:35.000Z | 2019-02-15T02:16:35.000Z | YLCleaner/Xcode-RuntimeHeaders/DevToolsInterface/XCRefactoringExtractSetUpRow2Module.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | YLCleaner/Xcode-RuntimeHeaders/DevToolsInterface/XCRefactoringExtractSetUpRow2Module.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <DevToolsInterface/XCRefactoringTransformationSetUpRow2Module.h>
@class NSPopUpButton, NSTextField;
@interface XCRefactoringExtractSetUpRow2Module : XCRefactoringTransformationSetUpRow2Module
{
NSPopUpButton *extractToInfoIndexPopUpButton;
NSTextField *extractToInfoIndexLabel;
}
- (void)extractToInfoIndexChanged:(id)arg1;
- (void)setSnapshotExtractToInfoIndex:(id)arg1;
- (void)setExtractToInfoIndex:(id)arg1;
- (void)setMayChangeExtractTo:(id)arg1;
@end
| 25.833333 | 91 | 0.777419 |
0f1950c66fb5aa9a0c6f7bf174aad4b7c52c0df2 | 9,558 | h | C | include/arrays/array2d_morton.h | jsukha/nabbit | 901ccf675505c099485a8568e4783a99783faf86 | [
"BSD-3-Clause"
] | 4 | 2019-06-22T04:09:44.000Z | 2020-01-04T03:43:23.000Z | include/arrays/array2d_morton.h | jsukha/nabbit | 901ccf675505c099485a8568e4783a99783faf86 | [
"BSD-3-Clause"
] | 1 | 2019-07-11T00:55:12.000Z | 2019-07-16T19:47:13.000Z | include/arrays/array2d_morton.h | jsukha/nabbit | 901ccf675505c099485a8568e4783a99783faf86 | [
"BSD-3-Clause"
] | 1 | 2017-01-07T00:46:02.000Z | 2017-01-07T00:46:02.000Z | /* array2d_morton.h -*-C++-*-
*
*************************************************************************
*
* Copyright (c) 2010, Jim Sukha
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of the authors 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 THE COPYRIGHT HOLDERS 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 THE COPYRIGHT
* HOLDER 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 CONTRACT, 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.
*/
// Nabbit, Array Indexing Library
#ifndef __ARRAY_2D_MORTON_H_
#define __ARRAY_2D_MORTON_H_
/**
* File containing definitions for a Morton-order layout of a 2d
* array.
*
*/
// #define DEBUG_PRINT
#include <stdio.h>
#include "morton.h"
/**
* Defines an array whose elements are stored in a Morton-indexed
* order.
*
* This array class allows blocks of size 2^PAD_LEVEL
* to be padded by adding M_PADDING extra elements.
*
* For example, if PAD_LEVEL = 3 and M_PADDING = 6, then every block
* of size 8 by 8 is padded by 6 elements.
*
* One can index into the array by using
* (1) row / column indices: get(i, j)
* (2) morton indices: idx_get(x), where x is the morton index into the array.
*
* The implementation actually indexes into the storage array via
* array indices.
* ArrayMortonIndex(x) converts a Morton index x into the array
* index.
* (When PAD_LEVEL = 0 and MPADDING = 0, the two are the same,
* otherwise, ArrayMortonIndex(x) > x because of padding).
*
* TODO: I don't know whether the padding is worth the effort to
* support, or if this approach is a reasonable way to do it.
* Is the level of indirection expensive?
*
* For now, mostly, I've used only PAD_LEVEL = 0 and MPADDING = 0.
*/
template <class T, uint8_t PAD_LEVEL, int M_PADDING=0>
class NabbitArray2DMorton: public NabbitArray2DBase<T> {
protected:
ArrayDim padded_dim;
// TODO: Currently we don't support any dynamic padding
// of small blocks in the array.
// If one changes the source, we support static
// padding (through the use of the MPADDING template parameter).
// int padding;
public:
NabbitArray2DMorton(ArrayDim width,
ArrayDim height);
void fill_with_constant_element(T element);
void print();
void print_layout();
inline ArrayDim get_width() { return this->width; }
inline ArrayDim get_height() { return this->height; }
// Index into the array via row and column indices.
inline T get(ArrayDim i,
ArrayDim j);
inline void set(ArrayDim i, ArrayDim j, T val);
// Access the array via iterators. Iterators are Morton-order
// indices (i.e., the bit-interleaving of row and column indices).
inline ArrayLargeDim row_iterator() {
return MortonIndexing::get_idx(0, 0);
}
inline ArrayLargeDim row_iterator(ArrayDim row_num) {
return MortonIndexing::get_idx(row_num, 0);
}
inline void increment_row(ArrayLargeDim* idx) {
*idx = MortonIndexing::next_row(*idx);
}
inline bool has_next_row(ArrayLargeDim* idx) {
return ((*idx) < MortonIndexing::get_idx(this->height, 0));
}
// Converts a row iterator to the row index.
inline ArrayDim row_idx(ArrayLargeDim* idx) {
return MortonIndexing::get_row(*idx);
}
inline ArrayLargeDim col_iterator() {
return MortonIndexing::get_idx(0, 0);
}
inline ArrayLargeDim col_iterator(ArrayDim col_num) {
return MortonIndexing::get_idx(0, col_num);
}
inline void increment_col(ArrayLargeDim* idx) {
*idx = MortonIndexing::next_col(*idx);
}
inline bool has_next_col(ArrayLargeDim* idx) {
return ((*idx) < MortonIndexing::get_idx(0, this->width));
}
// Converts the col iterator to the column index.
inline ArrayDim col_idx(ArrayLargeDim* idx) {
return MortonIndexing::get_col(*idx);
}
// Access via row and column iterator).
inline T idx_get(ArrayLargeDim* row_idx,
ArrayLargeDim* col_idx) {
return this->data[ArrayMortonIndex(*row_idx + *col_idx)];
}
inline void idx_set(ArrayLargeDim* row_idx,
ArrayLargeDim* col_idx,
T val) {
this->data[ArrayMortonIndex(*row_idx + *col_idx)] = val;
}
// Access via a combined iterator (row + column iterator).
inline T idx_get(ArrayLargeDim* total_idx) {
return this->data[ArrayMortonIndex(*total_idx)];
}
inline void idx_set(ArrayLargeDim* total_idx,
T val) {
this->data[ArrayMortonIndex(*total_idx)] = val;
}
private:
// Constants needed to deal with possible padding of blocks.
// We are only allowing padding in powers of 2 so we can
// mask off bits easily.
static const uint32_t LOW_PAD_MASK = ((1 << PAD_LEVEL)-1);
static const uint32_t HIGH_PAD_MASK = ((0xFFFFFFFF ^ LOW_PAD_MASK));
static const uint64_t HIGH_PAD_L_MASK = (((uint64_t)(-1)) ^ LOW_PAD_MASK);
static inline ArrayLargeDim ArrayMortonIndex(ArrayLargeDim x);
// Returns the size of the array we need to allocate to store all
// the elements, taking into account the padding we need.
static inline ArrayLargeDim MortonSize(ArrayDim n);
};
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
T NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::get(ArrayDim i,
ArrayDim j) {
return this->data[ArrayMortonIndex(MortonIndexing::get_idx(i, j))];
}
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
void NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::set(ArrayDim i,
ArrayDim j,
T val) {
this->data[ArrayMortonIndex(MortonIndexing::get_idx(i, j))] = val;
}
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::NabbitArray2DMorton(ArrayDim test_width,
ArrayDim test_height) :
NabbitArray2DBase<T>(test_width, test_height, MORTON_LAYOUT)
{
assert(this->layout == MORTON_LAYOUT);
assert(test_width == test_height);
ArrayLargeDim num_elements = MortonSize(test_width);
this->padded_dim = num_elements;
this->total_size = sizeof(T) * num_elements;
assert(this->total_size > 0);
this->data = new T[this->total_size];
assert(this->data != NULL);
#ifdef DEBUG_PRINT
printf("Creating Morton 2D array with width = %d, height = %d, ",
this->width, this->height);
printf("layout = %d, total_size = %lu\n",
this->layout,
(size_t)this->total_size);
#endif
}
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
void NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::fill_with_constant_element(T element) {
assert(this->data);
for (ArrayDim i = 0; i < this->height; i++) {
for (ArrayDim j = 0; j < this->width; j++) {
set(i, j, element);
}
}
}
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
void NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::print() {
printf("2D Array %p (width = %d, height = %d, ",
this, this->width, this->height);
printf("layout = %d, padded_dim = %d, total_size = %ld)\n",
this->layout, this->padded_dim, this->total_size);
if (this->total_size < 1000) {
for (ArrayDim i = 0; i < this->width; i++) {
printf("i = %3d: ", i);
for (ArrayDim j = 0; j < this->width; j++) {
printf("%4d ", get(i, j));
}
printf("\n");
}
}
}
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
void NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::print_layout() {
printf("2D Array %p LAYOUT (width = %d, height = %d, ",
this, this->width, this->height);
printf("layout = %d, padded_dim = %d, total_size = %ld)\n",
this->layout, this->padded_dim, this->total_size);
printf("PAD_LEVEL = %d, M_PADDING = %d\n",
PAD_LEVEL, M_PADDING);
if (this->total_size < 1000) {
for (ArrayLargeDim i = 0; i < this->total_size; i++) {
printf("(%ld, %d) ", i, this->data[i]);
}
printf("\n");
}
}
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
ArrayLargeDim NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::ArrayMortonIndex(ArrayLargeDim x) {
return (x) + (((x & HIGH_PAD_L_MASK)>> PAD_LEVEL) * M_PADDING);
}
template <class T, uint8_t PAD_LEVEL, int M_PADDING>
ArrayLargeDim NabbitArray2DMorton<T, PAD_LEVEL, M_PADDING>::MortonSize(ArrayDim n) {
ArrayLargeDim test_size = 1;
while (test_size < (ArrayLargeDim)n) {
test_size <<=1;
}
return ArrayMortonIndex(MortonIndexing::get_idx(test_size-1,
test_size-1) + 1);
}
#endif // __ARRAY_2D_MORTON_H_
| 31.649007 | 95 | 0.688115 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.