hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
9f3c10b2d46a2ce85d09b01b977e23f1c3cbc35b
85,734
cpp
C++
sdl1/VisualBoyAdvance/src/sdl/SDL.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/VisualBoyAdvance/src/sdl/SDL.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/VisualBoyAdvance/src/sdl/SDL.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. // Copyright (C) 1999-2003 Forgotten // Copyright (C) 2005-2006 Forgotten and the VBA development team // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2, or(at your option) // any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software Foundation, // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include "../AutoBuild.h" #include "SDL.h" #include "../GBA.h" #include "../agbprint.h" #include "../Flash.h" #include "../Port.h" #include "debugger.h" #include "../RTC.h" #include "../Sound.h" #include "../Text.h" #include "../unzip.h" #include "../Util.h" #include "../gb/GB.h" #include "../gb/gbGlobals.h" FILE _iob[] = { *stdin, *stdout, *stderr }; extern "C" FILE * __cdecl __iob_func(void) { return _iob; } #ifndef _WIN32 # include <unistd.h> # define GETCWD getcwd #else // _WIN32 # include <direct.h> # define GETCWD _getcwd #endif // _WIN32 #ifndef __GNUC__ # define HAVE_DECL_GETOPT 0 # define __STDC__ 1 # include "../getopt.h" #else // ! __GNUC__ # define HAVE_DECL_GETOPT 1 # include "getopt.h" #endif // ! __GNUC__ #ifdef MMX extern "C" bool cpu_mmx; #endif extern bool soundEcho; extern bool soundLowPass; extern bool soundReverse; extern int Init_2xSaI(u32); extern void _2xSaI(u8*,u32,u8*,u8*,u32,int,int); extern void _2xSaI32(u8*,u32,u8*,u8*,u32,int,int); extern void Super2xSaI(u8*,u32,u8*,u8*,u32,int,int); extern void Super2xSaI32(u8*,u32,u8*,u8*,u32,int,int); extern void SuperEagle(u8*,u32,u8*,u8*,u32,int,int); extern void SuperEagle32(u8*,u32,u8*,u8*,u32,int,int); extern void Pixelate(u8*,u32,u8*,u8*,u32,int,int); extern void Pixelate32(u8*,u32,u8*,u8*,u32,int,int); extern void MotionBlur(u8*,u32,u8*,u8*,u32,int,int); extern void MotionBlur32(u8*,u32,u8*,u8*,u32,int,int); extern void AdMame2x(u8*,u32,u8*,u8*,u32,int,int); extern void AdMame2x32(u8*,u32,u8*,u8*,u32,int,int); extern void Simple2x(u8*,u32,u8*,u8*,u32,int,int); extern void Simple2x32(u8*,u32,u8*,u8*,u32,int,int); extern void Bilinear(u8*,u32,u8*,u8*,u32,int,int); extern void Bilinear32(u8*,u32,u8*,u8*,u32,int,int); extern void BilinearPlus(u8*,u32,u8*,u8*,u32,int,int); extern void BilinearPlus32(u8*,u32,u8*,u8*,u32,int,int); extern void Scanlines(u8*,u32,u8*,u8*,u32,int,int); extern void Scanlines32(u8*,u32,u8*,u8*,u32,int,int); extern void ScanlinesTV(u8*,u32,u8*,u8*,u32,int,int); extern void ScanlinesTV32(u8*,u32,u8*,u8*,u32,int,int); extern void hq2x(u8*,u32,u8*,u8*,u32,int,int); extern void hq2x32(u8*,u32,u8*,u8*,u32,int,int); extern void lq2x(u8*,u32,u8*,u8*,u32,int,int); extern void lq2x32(u8*,u32,u8*,u8*,u32,int,int); extern void SmartIB(u8*,u32,int,int); extern void SmartIB32(u8*,u32,int,int); extern void MotionBlurIB(u8*,u32,int,int); extern void MotionBlurIB32(u8*,u32,int,int); void Init_Overlay(SDL_Surface *surface, int overlaytype); void Quit_Overlay(void); void Draw_Overlay(SDL_Surface *surface, int size); extern void remoteInit(); extern void remoteCleanUp(); extern void remoteStubMain(); extern void remoteStubSignal(int,int); extern void remoteOutput(char *, u32); extern void remoteSetProtocol(int); extern void remoteSetPort(int); extern void debuggerOutput(char *, u32); extern void CPUUpdateRenderBuffers(bool); extern int gbHardware; struct EmulatedSystem emulator = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, 0 }; SDL_Surface *surface = NULL; SDL_Overlay *overlay = NULL; SDL_Rect overlay_rect; int systemSpeed = 0; int systemRedShift = 0; int systemBlueShift = 0; int systemGreenShift = 0; int systemColorDepth = 0; int systemDebug = 0; int systemVerbose = 0; int systemFrameSkip = 0; int systemSaveUpdateCounter = SYSTEM_SAVE_NOT_UPDATED; int srcPitch = 0; int srcWidth = 0; int srcHeight = 0; int destWidth = 0; int destHeight = 0; int sensorX = 2047; int sensorY = 2047; int filter = 0; u8 *delta = NULL; int sdlPrintUsage = 0; int disableMMX = 0; int cartridgeType = 3; int sizeOption = 0; int captureFormat = 0; int pauseWhenInactive = 0; int active = 1; int emulating = 0; int RGB_LOW_BITS_MASK=0x821; u32 systemColorMap32[0x10000]; u16 systemColorMap16[0x10000]; u16 systemGbPalette[24]; void (*filterFunction)(u8*,u32,u8*,u8*,u32,int,int) = NULL; void (*ifbFunction)(u8*,u32,int,int) = NULL; int ifbType = 0; char filename[2048]; char ipsname[2048]; char biosFileName[2048]; char captureDir[2048]; char saveDir[2048]; char batteryDir[2048]; static char *rewindMemory = NULL; static int rewindPos = 0; static int rewindTopPos = 0; static int rewindCounter = 0; static int rewindCount = 0; static bool rewindSaveNeeded = false; static int rewindTimer = 0; #define REWIND_SIZE 400000 #define SYSMSG_BUFFER_SIZE 1024 #define _stricmp strcasecmp bool sdlButtons[4][12] = { { false, false, false, false, false, false, false, false, false, false, false, false }, { false, false, false, false, false, false, false, false, false, false, false, false }, { false, false, false, false, false, false, false, false, false, false, false, false }, { false, false, false, false, false, false, false, false, false, false, false, false } }; bool sdlMotionButtons[4] = { false, false, false, false }; int sdlNumDevices = 0; SDL_Joystick **sdlDevices = NULL; bool wasPaused = false; int autoFrameSkip = 0; int frameskipadjust = 0; int showRenderedFrames = 0; int renderedFrames = 0; int throttle = 0; u32 throttleLastTime = 0; u32 autoFrameSkipLastTime = 0; int showSpeed = 1; int showSpeedTransparent = 1; bool disableStatusMessages = false; bool paused = false; bool pauseNextFrame = false; bool debugger = false; bool debuggerStub = false; int fullscreen = 0; bool systemSoundOn = false; bool yuv = false; int yuvType = 0; bool removeIntros = false; int sdlFlashSize = 0; int sdlAutoIPS = 1; int sdlRtcEnable = 0; int sdlAgbPrint = 0; int sdlMirroringEnable = 0; int sdlDefaultJoypad = 0; extern void debuggerSignal(int,int); void (*dbgMain)() = debuggerMain; void (*dbgSignal)(int,int) = debuggerSignal; void (*dbgOutput)(char *, u32) = debuggerOutput; int mouseCounter = 0; int autoFire = 0; bool autoFireToggle = false; bool screenMessage = false; char screenMessageBuffer[21]; u32 screenMessageTime = 0; // Patch #1382692 by deathpudding. SDL_sem *sdlBufferLock = NULL; SDL_sem *sdlBufferFull = NULL; SDL_sem *sdlBufferEmpty = NULL; u8 sdlBuffer[4096]; int sdlSoundLen = 0; char *arg0; #ifndef C_CORE u8 sdlStretcher[16384]; int sdlStretcherPos; #else void (*sdlStretcher)(u8 *, u8*) = NULL; #endif enum { KEY_LEFT, KEY_RIGHT, KEY_UP, KEY_DOWN, KEY_BUTTON_A, KEY_BUTTON_B, KEY_BUTTON_START, KEY_BUTTON_SELECT, KEY_BUTTON_L, KEY_BUTTON_R, KEY_BUTTON_SPEED, KEY_BUTTON_CAPTURE }; u16 joypad[4][12] = { { SDLK_LEFT, SDLK_RIGHT, SDLK_UP, SDLK_DOWN, SDLK_z, SDLK_x, SDLK_RETURN,SDLK_BACKSPACE, SDLK_a, SDLK_s, SDLK_SPACE, SDLK_F12 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; u16 defaultJoypad[12] = { SDLK_LEFT, SDLK_RIGHT, SDLK_UP, SDLK_DOWN, SDLK_z, SDLK_x, SDLK_RETURN,SDLK_BACKSPACE, SDLK_a, SDLK_s, SDLK_SPACE, SDLK_F12 }; u16 motion[4] = { SDLK_KP4, SDLK_KP6, SDLK_KP8, SDLK_KP2 }; u16 defaultMotion[4] = { SDLK_KP4, SDLK_KP6, SDLK_KP8, SDLK_KP2 }; struct option sdlOptions[] = { { "agb-print", no_argument, &sdlAgbPrint, 1 }, { "auto-frameskip", no_argument, &autoFrameSkip, 1 }, { "bios", required_argument, 0, 'b' }, { "config", required_argument, 0, 'c' }, { "debug", no_argument, 0, 'd' }, { "filter", required_argument, 0, 'f' }, { "filter-normal", no_argument, &filter, 0 }, { "filter-tv-mode", no_argument, &filter, 1 }, { "filter-2xsai", no_argument, &filter, 2 }, { "filter-super-2xsai", no_argument, &filter, 3 }, { "filter-super-eagle", no_argument, &filter, 4 }, { "filter-pixelate", no_argument, &filter, 5 }, { "filter-motion-blur", no_argument, &filter, 6 }, { "filter-advmame", no_argument, &filter, 7 }, { "filter-simple2x", no_argument, &filter, 8 }, { "filter-bilinear", no_argument, &filter, 9 }, { "filter-bilinear+", no_argument, &filter, 10 }, { "filter-scanlines", no_argument, &filter, 11 }, { "filter-hq2x", no_argument, &filter, 12 }, { "filter-lq2x", no_argument, &filter, 13 }, { "flash-size", required_argument, 0, 'S' }, { "flash-64k", no_argument, &sdlFlashSize, 0 }, { "flash-128k", no_argument, &sdlFlashSize, 1 }, { "frameskip", required_argument, 0, 's' }, { "fullscreen", no_argument, &fullscreen, 1 }, { "gdb", required_argument, 0, 'G' }, { "help", no_argument, &sdlPrintUsage, 1 }, { "ifb-none", no_argument, &ifbType, 0 }, { "ifb-motion-blur", no_argument, &ifbType, 1 }, { "ifb-smart", no_argument, &ifbType, 2 }, { "ips", required_argument, 0, 'i' }, { "no-agb-print", no_argument, &sdlAgbPrint, 0 }, { "no-auto-frameskip", no_argument, &autoFrameSkip, 0 }, { "no-debug", no_argument, 0, 'N' }, { "no-ips", no_argument, &sdlAutoIPS, 0 }, { "no-mmx", no_argument, &disableMMX, 1 }, { "no-pause-when-inactive", no_argument, &pauseWhenInactive, 0 }, { "no-rtc", no_argument, &sdlRtcEnable, 0 }, { "no-show-speed", no_argument, &showSpeed, 0 }, { "no-throttle", no_argument, &throttle, 0 }, { "pause-when-inactive", no_argument, &pauseWhenInactive, 1 }, { "profile", optional_argument, 0, 'p' }, { "rtc", no_argument, &sdlRtcEnable, 1 }, { "save-type", required_argument, 0, 't' }, { "save-auto", no_argument, &cpuSaveType, 0 }, { "save-eeprom", no_argument, &cpuSaveType, 1 }, { "save-sram", no_argument, &cpuSaveType, 2 }, { "save-flash", no_argument, &cpuSaveType, 3 }, { "save-sensor", no_argument, &cpuSaveType, 4 }, { "save-none", no_argument, &cpuSaveType, 5 }, { "show-speed-normal", no_argument, &showSpeed, 1 }, { "show-speed-detailed", no_argument, &showSpeed, 2 }, { "throttle", required_argument, 0, 'T' }, { "verbose", required_argument, 0, 'v' }, { "video-1x", no_argument, &sizeOption, 0 }, { "video-2x", no_argument, &sizeOption, 1 }, { "video-3x", no_argument, &sizeOption, 2 }, { "video-4x", no_argument, &sizeOption, 3 }, { "yuv", required_argument, 0, 'Y' }, { NULL, no_argument, NULL, 0 } }; extern bool CPUIsGBAImage(char *); extern bool gbIsGameboyRom(char *); #ifndef C_CORE #define SDL_LONG(val) \ *((u32 *)&sdlStretcher[sdlStretcherPos]) = val;\ sdlStretcherPos+=4; #define SDL_AND_EAX(val) \ sdlStretcher[sdlStretcherPos++] = 0x25;\ SDL_LONG(val); #define SDL_AND_EBX(val) \ sdlStretcher[sdlStretcherPos++] = 0x81;\ sdlStretcher[sdlStretcherPos++] = 0xe3;\ SDL_LONG(val); #define SDL_OR_EAX_EBX \ sdlStretcher[sdlStretcherPos++] = 0x09;\ sdlStretcher[sdlStretcherPos++] = 0xd8; #define SDL_LOADL_EBX \ sdlStretcher[sdlStretcherPos++] = 0x8b;\ sdlStretcher[sdlStretcherPos++] = 0x1f; #define SDL_LOADW \ sdlStretcher[sdlStretcherPos++] = 0x66;\ sdlStretcher[sdlStretcherPos++] = 0x8b;\ sdlStretcher[sdlStretcherPos++] = 0x06;\ sdlStretcher[sdlStretcherPos++] = 0x83;\ sdlStretcher[sdlStretcherPos++] = 0xc6;\ sdlStretcher[sdlStretcherPos++] = 0x02; #define SDL_LOADL \ sdlStretcher[sdlStretcherPos++] = 0x8b;\ sdlStretcher[sdlStretcherPos++] = 0x06;\ sdlStretcher[sdlStretcherPos++] = 0x83;\ sdlStretcher[sdlStretcherPos++] = 0xc6;\ sdlStretcher[sdlStretcherPos++] = 0x04; #define SDL_LOADL2 \ sdlStretcher[sdlStretcherPos++] = 0x8b;\ sdlStretcher[sdlStretcherPos++] = 0x06;\ sdlStretcher[sdlStretcherPos++] = 0x83;\ sdlStretcher[sdlStretcherPos++] = 0xc6;\ sdlStretcher[sdlStretcherPos++] = 0x03; #define SDL_STOREW \ sdlStretcher[sdlStretcherPos++] = 0x66;\ sdlStretcher[sdlStretcherPos++] = 0x89;\ sdlStretcher[sdlStretcherPos++] = 0x07;\ sdlStretcher[sdlStretcherPos++] = 0x83;\ sdlStretcher[sdlStretcherPos++] = 0xc7;\ sdlStretcher[sdlStretcherPos++] = 0x02; #define SDL_STOREL \ sdlStretcher[sdlStretcherPos++] = 0x89;\ sdlStretcher[sdlStretcherPos++] = 0x07;\ sdlStretcher[sdlStretcherPos++] = 0x83;\ sdlStretcher[sdlStretcherPos++] = 0xc7;\ sdlStretcher[sdlStretcherPos++] = 0x04; #define SDL_STOREL2 \ sdlStretcher[sdlStretcherPos++] = 0x89;\ sdlStretcher[sdlStretcherPos++] = 0x07;\ sdlStretcher[sdlStretcherPos++] = 0x83;\ sdlStretcher[sdlStretcherPos++] = 0xc7;\ sdlStretcher[sdlStretcherPos++] = 0x03; #define SDL_RET \ sdlStretcher[sdlStretcherPos++] = 0xc3; #define SDL_PUSH_EAX \ sdlStretcher[sdlStretcherPos++] = 0x50; #define SDL_PUSH_ECX \ sdlStretcher[sdlStretcherPos++] = 0x51; #define SDL_PUSH_EBX \ sdlStretcher[sdlStretcherPos++] = 0x53; #define SDL_PUSH_ESI \ sdlStretcher[sdlStretcherPos++] = 0x56; #define SDL_PUSH_EDI \ sdlStretcher[sdlStretcherPos++] = 0x57; #define SDL_POP_EAX \ sdlStretcher[sdlStretcherPos++] = 0x58; #define SDL_POP_ECX \ sdlStretcher[sdlStretcherPos++] = 0x59; #define SDL_POP_EBX \ sdlStretcher[sdlStretcherPos++] = 0x5b; #define SDL_POP_ESI \ sdlStretcher[sdlStretcherPos++] = 0x5e; #define SDL_POP_EDI \ sdlStretcher[sdlStretcherPos++] = 0x5f; #define SDL_MOV_ECX(val) \ sdlStretcher[sdlStretcherPos++] = 0xb9;\ SDL_LONG(val); #define SDL_REP_MOVSB \ sdlStretcher[sdlStretcherPos++] = 0xf3;\ sdlStretcher[sdlStretcherPos++] = 0xa4; #define SDL_REP_MOVSW \ sdlStretcher[sdlStretcherPos++] = 0xf3;\ sdlStretcher[sdlStretcherPos++] = 0x66;\ sdlStretcher[sdlStretcherPos++] = 0xa5; #define SDL_REP_MOVSL \ sdlStretcher[sdlStretcherPos++] = 0xf3;\ sdlStretcher[sdlStretcherPos++] = 0xa5; void sdlMakeStretcher(int width) { sdlStretcherPos = 0; switch(systemColorDepth) { case 16: if(sizeOption) { SDL_PUSH_EAX; SDL_PUSH_ESI; SDL_PUSH_EDI; for(int i = 0; i < width; i++) { SDL_LOADW; SDL_STOREW; SDL_STOREW; if(sizeOption > 1) { SDL_STOREW; } if(sizeOption > 2) { SDL_STOREW; } } SDL_POP_EDI; SDL_POP_ESI; SDL_POP_EAX; SDL_RET; } else { SDL_PUSH_ESI; SDL_PUSH_EDI; SDL_PUSH_ECX; SDL_MOV_ECX(width); SDL_REP_MOVSW; SDL_POP_ECX; SDL_POP_EDI; SDL_POP_ESI; SDL_RET; } break; case 24: if(sizeOption) { SDL_PUSH_EAX; SDL_PUSH_ESI; SDL_PUSH_EDI; int w = width - 1; for(int i = 0; i < w; i++) { SDL_LOADL2; SDL_STOREL2; SDL_STOREL2; if(sizeOption > 1) { SDL_STOREL2; } if(sizeOption > 2) { SDL_STOREL2; } } // need to write the last one SDL_LOADL2; SDL_STOREL2; if(sizeOption > 1) { SDL_STOREL2; } if(sizeOption > 2) { SDL_STOREL2; } SDL_AND_EAX(0x00ffffff); SDL_PUSH_EBX; SDL_LOADL_EBX; SDL_AND_EBX(0xff000000); SDL_OR_EAX_EBX; SDL_POP_EBX; SDL_STOREL2; SDL_POP_EDI; SDL_POP_ESI; SDL_POP_EAX; SDL_RET; } else { SDL_PUSH_ESI; SDL_PUSH_EDI; SDL_PUSH_ECX; SDL_MOV_ECX(3*width); SDL_REP_MOVSB; SDL_POP_ECX; SDL_POP_EDI; SDL_POP_ESI; SDL_RET; } break; case 32: if(sizeOption) { SDL_PUSH_EAX; SDL_PUSH_ESI; SDL_PUSH_EDI; for(int i = 0; i < width; i++) { SDL_LOADL; SDL_STOREL; SDL_STOREL; if(sizeOption > 1) { SDL_STOREL; } if(sizeOption > 2) { SDL_STOREL; } } SDL_POP_EDI; SDL_POP_ESI; SDL_POP_EAX; SDL_RET; } else { SDL_PUSH_ESI; SDL_PUSH_EDI; SDL_PUSH_ECX; SDL_MOV_ECX(width); SDL_REP_MOVSL; SDL_POP_ECX; SDL_POP_EDI; SDL_POP_ESI; SDL_RET; } break; } } #ifdef _MSC_VER #define SDL_CALL_STRETCHER \ {\ __asm mov eax, stretcher\ __asm mov edi, dest\ __asm mov esi, src\ __asm call eax\ } #else #define SDL_CALL_STRETCHER \ asm volatile("call *%%eax"::"a" (stretcher),"S" (src),"D" (dest)) #endif #else #define SDL_CALL_STRETCHER \ sdlStretcher(src, dest) void sdlStretch16x1(u8 *src, u8 *dest) { u16 *s = (u16 *)src; u16 *d = (u16 *)dest; for(int i = 0; i < srcWidth; i++) *d++ = *s++; } void sdlStretch16x2(u8 *src, u8 *dest) { u16 *s = (u16 *)src; u16 *d = (u16 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *s++; } } void sdlStretch16x3(u8 *src, u8 *dest) { u16 *s = (u16 *)src; u16 *d = (u16 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *s; *d++ = *s++; } } void sdlStretch16x4(u8 *src, u8 *dest) { u16 *s = (u16 *)src; u16 *d = (u16 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *s; *d++ = *s; *d++ = *s++; } } void (*sdlStretcher16[4])(u8 *, u8 *) = { sdlStretch16x1, sdlStretch16x2, sdlStretch16x3, sdlStretch16x4 }; void sdlStretch32x1(u8 *src, u8 *dest) { u32 *s = (u32 *)src; u32 *d = (u32 *)dest; for(int i = 0; i < srcWidth; i++) *d++ = *s++; } void sdlStretch32x2(u8 *src, u8 *dest) { u32 *s = (u32 *)src; u32 *d = (u32 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *s++; } } void sdlStretch32x3(u8 *src, u8 *dest) { u32 *s = (u32 *)src; u32 *d = (u32 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *s; *d++ = *s++; } } void sdlStretch32x4(u8 *src, u8 *dest) { u32 *s = (u32 *)src; u32 *d = (u32 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *s; *d++ = *s; *d++ = *s++; } } void (*sdlStretcher32[4])(u8 *, u8 *) = { sdlStretch32x1, sdlStretch32x2, sdlStretch32x3, sdlStretch32x4 }; void sdlStretch24x1(u8 *src, u8 *dest) { u8 *s = src; u8 *d = dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s++; *d++ = *s++; *d++ = *s++; } } void sdlStretch24x2(u8 *src, u8 *dest) { u8 *s = (u8 *)src; u8 *d = (u8 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; } } void sdlStretch24x3(u8 *src, u8 *dest) { u8 *s = (u8 *)src; u8 *d = (u8 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; } } void sdlStretch24x4(u8 *src, u8 *dest) { u8 *s = (u8 *)src; u8 *d = (u8 *)dest; for(int i = 0; i < srcWidth; i++) { *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; *d++ = *s; *d++ = *(s+1); *d++ = *(s+2); s += 3; } } void (*sdlStretcher24[4])(u8 *, u8 *) = { sdlStretch24x1, sdlStretch24x2, sdlStretch24x3, sdlStretch24x4 }; #endif u32 sdlFromHex(char *s) { u32 value; sscanf(s, "%x", &value); return value; } #ifdef __MSC__ #define stat _stat #define S_IFDIR _S_IFDIR #endif void sdlCheckDirectory(char *dir) { struct stat buf; int len = strlen(dir); char *p = dir + len - 1; if(*p == '/' || *p == '\\') *p = 0; if(stat(dir, &buf) == 0) { if(!(buf.st_mode & S_IFDIR)) { fprintf(stderr, "Error: %s is not a directory\n", dir); dir[0] = 0; } } else { fprintf(stderr, "Error: %s does not exist\n", dir); dir[0] = 0; } } char *sdlGetFilename(char *name) { static char filebuffer[2048]; int len = strlen(name); char *p = name + len - 1; while(true) { if(*p == '/' || *p == '\\') { p++; break; } len--; p--; if(len == 0) break; } if(len == 0) strcpy(filebuffer, name); else strcpy(filebuffer, p); return filebuffer; } FILE *sdlFindFile(const char *name) { char buffer[4096]; char path[2048]; #ifdef _WIN32 #define PATH_SEP ";" #define FILE_SEP '\\' #define EXE_NAME "VisualBoyAdvance-SDL.exe" #else // ! _WIN32 #define PATH_SEP ":" #define FILE_SEP '/' #define EXE_NAME "VisualBoyAdvance" #endif // ! _WIN32 fprintf(stderr, "Searching for file %s\n", name); if(GETCWD(buffer, 2048)) { fprintf(stderr, "Searching current directory: %s\n", buffer); } FILE *f = fopen(name, "r"); if(f != NULL) { return f; } char *home = getenv("HOME"); if(home != NULL) { fprintf(stderr, "Searching home directory: %s\n", home); sprintf(path, "%s%c%s", home, FILE_SEP, name); f = fopen(path, "r"); if(f != NULL) return f; } #ifdef _WIN32 home = getenv("USERPROFILE"); if(home != NULL) { fprintf(stderr, "Searching user profile directory: %s\n", home); sprintf(path, "%s%c%s", home, FILE_SEP, name); f = fopen(path, "r"); if(f != NULL) return f; } #else // ! _WIN32 fprintf(stderr, "Searching system config directory: %s\n", SYSCONFDIR); sprintf(path, "%s%c%s", SYSCONFDIR, FILE_SEP, name); f = fopen(path, "r"); if(f != NULL) return f; #endif // ! _WIN32 if(!strchr(arg0, '/') && !strchr(arg0, '\\')) { char *path = getenv("PATH"); if(path != NULL) { fprintf(stderr, "Searching PATH\n"); strncpy(buffer, path, 4096); buffer[4095] = 0; char *tok = strtok(buffer, PATH_SEP); while(tok) { sprintf(path, "%s%c%s", tok, FILE_SEP, EXE_NAME); f = fopen(path, "r"); if(f != NULL) { char path2[2048]; fclose(f); sprintf(path2, "%s%c%s", tok, FILE_SEP, name); f = fopen(path2, "r"); if(f != NULL) { fprintf(stderr, "Found at %s\n", path2); return f; } } tok = strtok(NULL, PATH_SEP); } } } else { // executable is relative to some directory fprintf(stderr, "Searching executable directory\n"); strcpy(buffer, arg0); char *p = strrchr(buffer, FILE_SEP); if(p) { *p = 0; sprintf(path, "%s%c%s", buffer, FILE_SEP, name); f = fopen(path, "r"); if(f != NULL) return f; } } return NULL; } void sdlReadPreferences(FILE *f) { char buffer[2048]; while(1) { char *s = fgets(buffer, 2048, f); if(s == NULL) break; char *p = strchr(s, '#'); if(p) *p = 0; char *token = strtok(s, " \t\n\r="); if(!token) continue; if(strlen(token) == 0) continue; char *key = token; char *value = strtok(NULL, "\t\n\r"); if(value == NULL) { fprintf(stderr, "Empty value for key %s\n", key); continue; } if(!strcmp(key,"Joy0_Left")) { joypad[0][KEY_LEFT] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_Right")) { joypad[0][KEY_RIGHT] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_Up")) { joypad[0][KEY_UP] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_Down")) { joypad[0][KEY_DOWN] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_A")) { joypad[0][KEY_BUTTON_A] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_B")) { joypad[0][KEY_BUTTON_B] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_L")) { joypad[0][KEY_BUTTON_L] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_R")) { joypad[0][KEY_BUTTON_R] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_Start")) { joypad[0][KEY_BUTTON_START] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_Select")) { joypad[0][KEY_BUTTON_SELECT] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_Speed")) { joypad[0][KEY_BUTTON_SPEED] = sdlFromHex(value); } else if(!strcmp(key, "Joy0_Capture")) { joypad[0][KEY_BUTTON_CAPTURE] = sdlFromHex(value); } else if(!strcmp(key,"Joy1_Left")) { joypad[1][KEY_LEFT] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_Right")) { joypad[1][KEY_RIGHT] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_Up")) { joypad[1][KEY_UP] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_Down")) { joypad[1][KEY_DOWN] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_A")) { joypad[1][KEY_BUTTON_A] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_B")) { joypad[1][KEY_BUTTON_B] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_L")) { joypad[1][KEY_BUTTON_L] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_R")) { joypad[1][KEY_BUTTON_R] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_Start")) { joypad[1][KEY_BUTTON_START] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_Select")) { joypad[1][KEY_BUTTON_SELECT] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_Speed")) { joypad[1][KEY_BUTTON_SPEED] = sdlFromHex(value); } else if(!strcmp(key, "Joy1_Capture")) { joypad[1][KEY_BUTTON_CAPTURE] = sdlFromHex(value); } else if(!strcmp(key,"Joy2_Left")) { joypad[2][KEY_LEFT] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_Right")) { joypad[2][KEY_RIGHT] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_Up")) { joypad[2][KEY_UP] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_Down")) { joypad[2][KEY_DOWN] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_A")) { joypad[2][KEY_BUTTON_A] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_B")) { joypad[2][KEY_BUTTON_B] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_L")) { joypad[2][KEY_BUTTON_L] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_R")) { joypad[2][KEY_BUTTON_R] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_Start")) { joypad[2][KEY_BUTTON_START] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_Select")) { joypad[2][KEY_BUTTON_SELECT] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_Speed")) { joypad[2][KEY_BUTTON_SPEED] = sdlFromHex(value); } else if(!strcmp(key, "Joy2_Capture")) { joypad[2][KEY_BUTTON_CAPTURE] = sdlFromHex(value); } else if(!strcmp(key,"Joy4_Left")) { joypad[4][KEY_LEFT] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_Right")) { joypad[4][KEY_RIGHT] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_Up")) { joypad[4][KEY_UP] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_Down")) { joypad[4][KEY_DOWN] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_A")) { joypad[4][KEY_BUTTON_A] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_B")) { joypad[4][KEY_BUTTON_B] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_L")) { joypad[4][KEY_BUTTON_L] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_R")) { joypad[4][KEY_BUTTON_R] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_Start")) { joypad[4][KEY_BUTTON_START] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_Select")) { joypad[4][KEY_BUTTON_SELECT] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_Speed")) { joypad[4][KEY_BUTTON_SPEED] = sdlFromHex(value); } else if(!strcmp(key, "Joy4_Capture")) { joypad[4][KEY_BUTTON_CAPTURE] = sdlFromHex(value); } else if(!strcmp(key, "Motion_Left")) { motion[KEY_LEFT] = sdlFromHex(value); } else if(!strcmp(key, "Motion_Right")) { motion[KEY_RIGHT] = sdlFromHex(value); } else if(!strcmp(key, "Motion_Up")) { motion[KEY_UP] = sdlFromHex(value); } else if(!strcmp(key, "Motion_Down")) { motion[KEY_DOWN] = sdlFromHex(value); } else if(!strcmp(key, "frameSkip")) { frameSkip = sdlFromHex(value); if(frameSkip < 0 || frameSkip > 9) frameSkip = 2; } else if(!strcmp(key, "gbFrameSkip")) { gbFrameSkip = sdlFromHex(value); if(gbFrameSkip < 0 || gbFrameSkip > 9) gbFrameSkip = 0; } else if(!strcmp(key, "video")) { sizeOption = sdlFromHex(value); if(sizeOption < 0 || sizeOption > 3) sizeOption = 1; } else if(!strcmp(key, "fullScreen")) { fullscreen = sdlFromHex(value) ? 1 : 0; } else if(!strcmp(key, "useBios")) { useBios = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "skipBios")) { skipBios = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "biosFile")) { strcpy(biosFileName, value); } else if(!strcmp(key, "filter")) { filter = sdlFromHex(value); if(filter < 0 || filter > 13) filter = 0; } else if(!strcmp(key, "disableStatus")) { disableStatusMessages = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "borderOn")) { gbBorderOn = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "borderAutomatic")) { gbBorderAutomatic = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "emulatorType")) { gbEmulatorType = sdlFromHex(value); if(gbEmulatorType < 0 || gbEmulatorType > 5) gbEmulatorType = 1; } else if(!strcmp(key, "colorOption")) { gbColorOption = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "captureDir")) { sdlCheckDirectory(value); strcpy(captureDir, value); } else if(!strcmp(key, "saveDir")) { sdlCheckDirectory(value); strcpy(saveDir, value); } else if(!strcmp(key, "batteryDir")) { sdlCheckDirectory(value); strcpy(batteryDir, value); } else if(!strcmp(key, "captureFormat")) { captureFormat = sdlFromHex(value); } else if(!strcmp(key, "soundQuality")) { soundQuality = sdlFromHex(value); switch(soundQuality) { case 1: case 2: case 4: break; default: fprintf(stderr, "Unknown sound quality %d. Defaulting to 22Khz\n", soundQuality); soundQuality = 2; break; } } else if(!strcmp(key, "soundOff")) { soundOffFlag = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "soundEnable")) { int res = sdlFromHex(value) & 0x30f; soundEnable(res); soundDisable(~res); } else if(!strcmp(key, "soundEcho")) { soundEcho = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "soundLowPass")) { soundLowPass = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "soundReverse")) { soundReverse = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "soundVolume")) { soundVolume = sdlFromHex(value); if(soundVolume < 0 || soundVolume > 3) soundVolume = 0; } else if(!strcmp(key, "removeIntros")) { removeIntros = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "saveType")) { cpuSaveType = sdlFromHex(value); if(cpuSaveType < 0 || cpuSaveType > 5) cpuSaveType = 0; } else if(!strcmp(key, "flashSize")) { sdlFlashSize = sdlFromHex(value); if(sdlFlashSize != 0 && sdlFlashSize != 1) sdlFlashSize = 0; } else if(!strcmp(key, "ifbType")) { ifbType = sdlFromHex(value); if(ifbType < 0 || ifbType > 2) ifbType = 0; } else if(!strcmp(key, "showSpeed")) { showSpeed = sdlFromHex(value); if(showSpeed < 0 || showSpeed > 2) showSpeed = 1; } else if(!strcmp(key, "showSpeedTransparent")) { showSpeedTransparent = sdlFromHex(value); } else if(!strcmp(key, "autoFrameSkip")) { autoFrameSkip = sdlFromHex(value); } else if(!strcmp(key, "throttle")) { throttle = sdlFromHex(value); if(throttle != 0 && (throttle < 5 || throttle > 1000)) throttle = 0; } else if(!strcmp(key, "disableMMX")) { #ifdef MMX cpu_mmx = sdlFromHex(value) ? false : true; #endif } else if(!strcmp(key, "pauseWhenInactive")) { pauseWhenInactive = sdlFromHex(value) ? true : false; } else if(!strcmp(key, "agbPrint")) { sdlAgbPrint = sdlFromHex(value); } else if(!strcmp(key, "rtcEnabled")) { sdlRtcEnable = sdlFromHex(value); } else if(!strcmp(key, "rewindTimer")) { rewindTimer = sdlFromHex(value); if(rewindTimer < 0 || rewindTimer > 600) rewindTimer = 0; rewindTimer *= 6; // convert value to 10 frames multiple } else { fprintf(stderr, "Unknown configuration key %s\n", key); } } } void sdlReadPreferences() { FILE *f = sdlFindFile("VisualBoyAdvance.cfg"); if(f == NULL) { fprintf(stderr, "Configuration file NOT FOUND (using defaults)\n"); return; } else fprintf(stderr, "Reading configuration file.\n"); sdlReadPreferences(f); fclose(f); } static void sdlApplyPerImagePreferences() { FILE *f = sdlFindFile("vba-over.ini"); if(!f) { fprintf(stderr, "vba-over.ini NOT FOUND (using emulator settings)\n"); return; } else fprintf(stderr, "Reading vba-over.ini\n"); char buffer[7]; buffer[0] = '['; buffer[1] = rom[0xac]; buffer[2] = rom[0xad]; buffer[3] = rom[0xae]; buffer[4] = rom[0xaf]; buffer[5] = ']'; buffer[6] = 0; char readBuffer[2048]; bool found = false; while(1) { char *s = fgets(readBuffer, 2048, f); if(s == NULL) break; char *p = strchr(s, ';'); if(p) *p = 0; char *token = strtok(s, " \t\n\r="); if(!token) continue; if(strlen(token) == 0) continue; if(!strcmp(token, buffer)) { found = true; break; } } if(found) { while(1) { char *s = fgets(readBuffer, 2048, f); if(s == NULL) break; char *p = strchr(s, ';'); if(p) *p = 0; char *token = strtok(s, " \t\n\r="); if(!token) continue; if(strlen(token) == 0) continue; if(token[0] == '[') // starting another image settings break; char *value = strtok(NULL, "\t\n\r="); if(value == NULL) continue; if(!strcmp(token, "rtcEnabled")) rtcEnable(atoi(value) == 0 ? false : true); else if(!strcmp(token, "flashSize")) { int size = atoi(value); if(size == 0x10000 || size == 0x20000) flashSetSize(size); } else if(!strcmp(token, "saveType")) { int save = atoi(value); if(save >= 0 && save <= 5) cpuSaveType = save; } else if(!strcmp(token, "mirroringEnabled")) { mirroringEnable = (atoi(value) == 0 ? false : true); } } } fclose(f); } static int sdlCalculateShift(u32 mask) { int m = 0; while(mask) { m++; mask >>= 1; } return m-5; } static int sdlCalculateMaskWidth(u32 mask) { int m = 0; int mask2 = mask; while(mask2) { m++; mask2 >>= 1; } int m2 = 0; mask2 = mask; while(!(mask2 & 1)) { m2++; mask2 >>= 1; } return m - m2; } void sdlWriteState(int num) { char stateName[2048]; if(saveDir[0]) sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), num+1); else sprintf(stateName,"%s%d.sgm", filename, num+1); if(emulator.emuWriteState) emulator.emuWriteState(stateName); sprintf(stateName, "Wrote state %d", num+1); systemScreenMessage(stateName); systemDrawScreen(); } void sdlReadState(int num) { char stateName[2048]; if(saveDir[0]) sprintf(stateName, "%s/%s%d.sgm", saveDir, sdlGetFilename(filename), num+1); else sprintf(stateName,"%s%d.sgm", filename, num+1); if(emulator.emuReadState) emulator.emuReadState(stateName); sprintf(stateName, "Loaded state %d", num+1); systemScreenMessage(stateName); systemDrawScreen(); } void sdlWriteBattery() { char buffer[1048]; if(batteryDir[0]) sprintf(buffer, "%s/%s.sav", batteryDir, sdlGetFilename(filename)); else sprintf(buffer, "%s.sav", filename); emulator.emuWriteBattery(buffer); systemScreenMessage("Wrote battery"); } void sdlReadBattery() { char buffer[1048]; if(batteryDir[0]) sprintf(buffer, "%s/%s.sav", batteryDir, sdlGetFilename(filename)); else sprintf(buffer, "%s.sav", filename); bool res = false; res = emulator.emuReadBattery(buffer); if(res) systemScreenMessage("Loaded battery"); } #define MOD_KEYS (KMOD_CTRL|KMOD_SHIFT|KMOD_ALT|KMOD_META) #define MOD_NOCTRL (KMOD_SHIFT|KMOD_ALT|KMOD_META) #define MOD_NOALT (KMOD_CTRL|KMOD_SHIFT|KMOD_META) #define MOD_NOSHIFT (KMOD_CTRL|KMOD_ALT|KMOD_META) void sdlUpdateKey(int key, bool down) { int i; for(int j = 0; j < 4; j++) { for(i = 0 ; i < 12; i++) { if((joypad[j][i] & 0xf000) == 0) { if(key == joypad[j][i]) sdlButtons[j][i] = down; } } } for(i = 0 ; i < 4; i++) { if((motion[i] & 0xf000) == 0) { if(key == motion[i]) sdlMotionButtons[i] = down; } } } void sdlUpdateJoyButton(int which, int button, bool pressed) { int i; for(int j = 0; j < 4; j++) { for(i = 0; i < 12; i++) { int dev = (joypad[j][i] >> 12); int b = joypad[j][i] & 0xfff; if(dev) { dev--; if((dev == which) && (b >= 128) && (b == (button+128))) { sdlButtons[j][i] = pressed; } } } } for(i = 0; i < 4; i++) { int dev = (motion[i] >> 12); int b = motion[i] & 0xfff; if(dev) { dev--; if((dev == which) && (b >= 128) && (b == (button+128))) { sdlMotionButtons[i] = pressed; } } } } void sdlUpdateJoyHat(int which, int hat, int value) { int i; for(int j = 0; j < 4; j++) { for(i = 0; i < 12; i++) { int dev = (joypad[j][i] >> 12); int a = joypad[j][i] & 0xfff; if(dev) { dev--; if((dev == which) && (a>=32) && (a < 48) && (((a&15)>>2) == hat)) { int dir = a & 3; int v = 0; switch(dir) { case 0: v = value & SDL_HAT_UP; break; case 1: v = value & SDL_HAT_DOWN; break; case 2: v = value & SDL_HAT_RIGHT; break; case 3: v = value & SDL_HAT_LEFT; break; } sdlButtons[j][i] = (v ? true : false); } } } } for(i = 0; i < 4; i++) { int dev = (motion[i] >> 12); int a = motion[i] & 0xfff; if(dev) { dev--; if((dev == which) && (a>=32) && (a < 48) && (((a&15)>>2) == hat)) { int dir = a & 3; int v = 0; switch(dir) { case 0: v = value & SDL_HAT_UP; break; case 1: v = value & SDL_HAT_DOWN; break; case 2: v = value & SDL_HAT_RIGHT; break; case 3: v = value & SDL_HAT_LEFT; break; } sdlMotionButtons[i] = (v ? true : false); } } } } void sdlUpdateJoyAxis(int which, int axis, int value) { int i; for(int j = 0; j < 4; j++) { for(i = 0; i < 12; i++) { int dev = (joypad[j][i] >> 12); int a = joypad[j][i] & 0xfff; if(dev) { dev--; if((dev == which) && (a < 32) && ((a>>1) == axis)) { sdlButtons[j][i] = (a & 1) ? (value > 16384) : (value < -16384); } } } } for(i = 0; i < 4; i++) { int dev = (motion[i] >> 12); int a = motion[i] & 0xfff; if(dev) { dev--; if((dev == which) && (a < 32) && ((a>>1) == axis)) { sdlMotionButtons[i] = (a & 1) ? (value > 16384) : (value < -16384); } } } } bool sdlCheckJoyKey(int key) { int dev = (key >> 12) - 1; int what = key & 0xfff; if(what >= 128) { // joystick button int button = what - 128; if(button >= SDL_JoystickNumButtons(sdlDevices[dev])) return false; } else if (what < 0x20) { // joystick axis what >>= 1; if(what >= SDL_JoystickNumAxes(sdlDevices[dev])) return false; } else if (what < 0x30) { // joystick hat what = (what & 15); what >>= 2; if(what >= SDL_JoystickNumHats(sdlDevices[dev])) return false; } // no problem found return true; } void sdlCheckKeys() { sdlNumDevices = SDL_NumJoysticks(); if(sdlNumDevices) sdlDevices = (SDL_Joystick **)calloc(1,sdlNumDevices * sizeof(SDL_Joystick **)); int i; bool usesJoy = false; for(int j = 0; j < 4; j++) { for(i = 0; i < 12; i++) { int dev = joypad[j][i] >> 12; if(dev) { dev--; bool ok = false; if(sdlDevices) { if(dev < sdlNumDevices) { if(sdlDevices[dev] == NULL) { sdlDevices[dev] = SDL_JoystickOpen(dev); } ok = sdlCheckJoyKey(joypad[j][i]); } else ok = false; } if(!ok) joypad[j][i] = defaultJoypad[i]; else usesJoy = true; } } } for(i = 0; i < 4; i++) { int dev = motion[i] >> 12; if(dev) { dev--; bool ok = false; if(sdlDevices) { if(dev < sdlNumDevices) { if(sdlDevices[dev] == NULL) { sdlDevices[dev] = SDL_JoystickOpen(dev); } ok = sdlCheckJoyKey(motion[i]); } else ok = false; } if(!ok) motion[i] = defaultMotion[i]; else usesJoy = true; } } if(usesJoy) SDL_JoystickEventState(SDL_ENABLE); } void sdlPollEvents() { SDL_Event event; while(SDL_PollEvent(&event)) { switch(event.type) { case SDL_QUIT: emulating = 0; break; case SDL_ACTIVEEVENT: if(pauseWhenInactive && (event.active.state & SDL_APPINPUTFOCUS)) { active = event.active.gain; if(active) { if(!paused) { if(emulating) soundResume(); } } else { wasPaused = true; if(pauseWhenInactive) { if(emulating) soundPause(); } memset(delta,255,sizeof(delta)); } } break; case SDL_MOUSEMOTION: case SDL_MOUSEBUTTONUP: case SDL_MOUSEBUTTONDOWN: if(fullscreen) { SDL_ShowCursor(SDL_ENABLE); mouseCounter = 120; } break; case SDL_JOYHATMOTION: sdlUpdateJoyHat(event.jhat.which, event.jhat.hat, event.jhat.value); break; case SDL_JOYBUTTONDOWN: case SDL_JOYBUTTONUP: sdlUpdateJoyButton(event.jbutton.which, event.jbutton.button, event.jbutton.state == SDL_PRESSED); break; case SDL_JOYAXISMOTION: sdlUpdateJoyAxis(event.jaxis.which, event.jaxis.axis, event.jaxis.value); break; case SDL_KEYDOWN: sdlUpdateKey(event.key.keysym.sym, true); break; case SDL_KEYUP: switch(event.key.keysym.sym) { case SDLK_r: if(!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { if(emulating) { emulator.emuReset(); systemScreenMessage("Reset"); } } break; case SDLK_b: if(!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { if(emulating && emulator.emuReadMemState && rewindMemory && rewindCount) { rewindPos = (rewindPos - 1) & 7; emulator.emuReadMemState(&rewindMemory[REWIND_SIZE*rewindPos], REWIND_SIZE); rewindCount--; rewindCounter = 0; systemScreenMessage("Rewind"); } } break; case SDLK_p: if(!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { paused = !paused; SDL_PauseAudio(paused); if(paused) wasPaused = true; } break; case SDLK_ESCAPE: emulating = 0; break; case SDLK_f: if(!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { int flags = 0; fullscreen = !fullscreen; if(fullscreen) flags |= SDL_FULLSCREEN; SDL_SetVideoMode(destWidth, destHeight, systemColorDepth, flags); // if(SDL_WM_ToggleFullScreen(surface)) // fullscreen = !fullscreen; } break; case SDLK_F11: if(dbgMain != debuggerMain) { if(armState) { armNextPC -= 4; reg[15].I -= 4; } else { armNextPC -= 2; reg[15].I -= 2; } } debugger = true; break; case SDLK_F1: case SDLK_F2: case SDLK_F3: case SDLK_F4: case SDLK_F5: case SDLK_F6: case SDLK_F7: case SDLK_F8: case SDLK_F9: case SDLK_F10: if(!(event.key.keysym.mod & MOD_NOSHIFT) && (event.key.keysym.mod & KMOD_SHIFT)) { sdlWriteState(event.key.keysym.sym-SDLK_F1); } else if(!(event.key.keysym.mod & MOD_KEYS)) { sdlReadState(event.key.keysym.sym-SDLK_F1); } break; case SDLK_1: case SDLK_2: case SDLK_3: case SDLK_4: if(!(event.key.keysym.mod & MOD_NOALT) && (event.key.keysym.mod & KMOD_ALT)) { char *disableMessages[4] = { "autofire A disabled", "autofire B disabled", "autofire R disabled", "autofire L disabled"}; char *enableMessages[4] = { "autofire A", "autofire B", "autofire R", "autofire L"}; int mask = 1 << (event.key.keysym.sym - SDLK_1); if(event.key.keysym.sym > SDLK_2) mask <<= 6; if(autoFire & mask) { autoFire &= ~mask; systemScreenMessage(disableMessages[event.key.keysym.sym - SDLK_1]); } else { autoFire |= mask; systemScreenMessage(enableMessages[event.key.keysym.sym - SDLK_1]); } } if(!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { int mask = 0x0100 << (event.key.keysym.sym - SDLK_1); layerSettings ^= mask; layerEnable = DISPCNT & layerSettings; CPUUpdateRenderBuffers(false); } break; case SDLK_5: case SDLK_6: case SDLK_7: case SDLK_8: if(!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { int mask = 0x0100 << (event.key.keysym.sym - SDLK_1); layerSettings ^= mask; layerEnable = DISPCNT & layerSettings; } break; case SDLK_n: if(!(event.key.keysym.mod & MOD_NOCTRL) && (event.key.keysym.mod & KMOD_CTRL)) { if(paused) paused = false; pauseNextFrame = true; } break; default: break; } sdlUpdateKey(event.key.keysym.sym, false); break; } } } void usage(char *cmd) { printf("%s [option ...] file\n", cmd); printf("\ \n\ Options:\n\ -1, --video-1x 1x\n\ -2, --video-2x 2x\n\ -3, --video-3x 3x\n\ -4, --video-4x 4x\n\ -F, --fullscreen Full screen\n\ -G, --gdb=PROTOCOL GNU Remote Stub mode:\n\ tcp - use TCP at port 55555\n\ tcp:PORT - use TCP at port PORT\n\ pipe - use pipe transport\n\ -N, --no-debug Don't parse debug information\n\ -S, --flash-size=SIZE Set the Flash size\n\ --flash-64k 0 - 64K Flash\n\ --flash-128k 1 - 128K Flash\n\ -T, --throttle=THROTTLE Set the desired throttle (5...1000)\n\ -Y, --yuv=TYPE Use YUV overlay for drawing:\n\ 0 - YV12\n\ 1 - UYVY\n\ 2 - YVYU\n\ 3 - YUY2\n\ 4 - IYUV\n\ -b, --bios=BIOS Use given bios file\n\ -c, --config=FILE Read the given configuration file\n\ -d, --debug Enter debugger\n\ -f, --filter=FILTER Select filter:\n\ --filter-normal 0 - normal mode\n\ --filter-tv-mode 1 - TV Mode\n\ --filter-2xsai 2 - 2xSaI\n\ --filter-super-2xsai 3 - Super 2xSaI\n\ --filter-super-eagle 4 - Super Eagle\n\ --filter-pixelate 5 - Pixelate\n\ --filter-motion-blur 6 - Motion Blur\n\ --filter-advmame 7 - AdvanceMAME Scale2x\n\ --filter-simple2x 8 - Simple2x\n\ --filter-bilinear 9 - Bilinear\n\ --filter-bilinear+ 10 - Bilinear Plus\n\ --filter-scanlines 11 - Scanlines\n\ --filter-hq2x 12 - hq2x\n\ --filter-lq2x 13 - lq2x\n\ -h, --help Print this help\n\ -i, --ips=PATCH Apply given IPS patch\n\ -p, --profile=[HERTZ] Enable profiling\n\ -s, --frameskip=FRAMESKIP Set frame skip (0...9)\n\ "); printf("\ -t, --save-type=TYPE Set the available save type\n\ --save-auto 0 - Automatic (EEPROM, SRAM, FLASH)\n\ --save-eeprom 1 - EEPROM\n\ --save-sram 2 - SRAM\n\ --save-flash 3 - FLASH\n\ --save-sensor 4 - EEPROM+Sensor\n\ --save-none 5 - NONE\n\ -v, --verbose=VERBOSE Set verbose logging (trace.log)\n\ 1 - SWI\n\ 2 - Unaligned memory access\n\ 4 - Illegal memory write\n\ 8 - Illegal memory read\n\ 16 - DMA 0\n\ 32 - DMA 1\n\ 64 - DMA 2\n\ 128 - DMA 3\n\ 256 - Undefined instruction\n\ 512 - AGBPrint messages\n\ \n\ Long options only:\n\ --agb-print Enable AGBPrint support\n\ --auto-frameskip Enable auto frameskipping\n\ --ifb-none No interframe blending\n\ --ifb-motion-blur Interframe motion blur\n\ --ifb-smart Smart interframe blending\n\ --no-agb-print Disable AGBPrint support\n\ --no-auto-frameskip Disable auto frameskipping\n\ --no-ips Do not apply IPS patch\n\ --no-mmx Disable MMX support\n\ --no-pause-when-inactive Don't pause when inactive\n\ --no-rtc Disable RTC support\n\ --no-show-speed Don't show emulation speed\n\ --no-throttle Disable thrrotle\n\ --pause-when-inactive Pause when inactive\n\ --rtc Enable RTC support\n\ --show-speed-normal Show emulation speed\n\ --show-speed-detailed Show detailed speed data\n\ "); } #undef main int main(int argc, char **argv) { fprintf(stderr, "VisualBoyAdvance version %s [SDL]\n", VERSION); arg0 = argv[0]; captureDir[0] = 0; saveDir[0] = 0; batteryDir[0] = 0; ipsname[0] = 0; int op = -1; frameSkip = 2; gbBorderOn = 0; parseDebug = true; sdlReadPreferences(); sdlPrintUsage = 0; while((op = getopt_long(argc, argv, "FNT:Y:G:D:b:c:df:hi:p::s:t:v:1234", sdlOptions, NULL)) != -1) { switch(op) { case 0: // long option already processed by getopt_long break; case 'b': useBios = true; if(optarg == NULL) { fprintf(stderr, "Missing BIOS file name\n"); exit(-1); } strcpy(biosFileName, optarg); break; case 'c': { if(optarg == NULL) { fprintf(stderr, "Missing config file name\n"); exit(-1); } FILE *f = fopen(optarg, "r"); if(f == NULL) { fprintf(stderr, "File not found %s\n", optarg); exit(-1); } sdlReadPreferences(f); fclose(f); } break; case 'd': debugger = true; break; case 'h': sdlPrintUsage = 1; break; case 'i': if(optarg == NULL) { fprintf(stderr, "Missing IPS name\n"); exit(-1); strcpy(ipsname, optarg); } break; case 'Y': yuv = true; if(optarg) { yuvType = atoi(optarg); switch(yuvType) { case 0: yuvType = SDL_YV12_OVERLAY; break; case 1: yuvType = SDL_UYVY_OVERLAY; break; case 2: yuvType = SDL_YVYU_OVERLAY; break; case 3: yuvType = SDL_YUY2_OVERLAY; break; case 4: yuvType = SDL_IYUV_OVERLAY; break; default: yuvType = SDL_YV12_OVERLAY; } } else yuvType = SDL_YV12_OVERLAY; break; case 'G': dbgMain = remoteStubMain; dbgSignal = remoteStubSignal; dbgOutput = remoteOutput; debugger = true; debuggerStub = true; if(optarg) { char *s = optarg; if(strncmp(s,"tcp:", 4) == 0) { s+=4; int port = atoi(s); remoteSetProtocol(0); remoteSetPort(port); } else if(strcmp(s,"tcp") == 0) { remoteSetProtocol(0); } else if(strcmp(s, "pipe") == 0) { remoteSetProtocol(1); } else { fprintf(stderr, "Unknown protocol %s\n", s); exit(-1); } } else { remoteSetProtocol(0); } break; case 'N': parseDebug = false; break; case 'D': if(optarg) { systemDebug = atoi(optarg); } else { systemDebug = 1; } break; case 'F': fullscreen = 1; mouseCounter = 120; break; case 'f': if(optarg) { filter = atoi(optarg); } else { filter = 0; } break; case 'p': #ifdef PROFILING if(optarg) { cpuEnableProfiling(atoi(optarg)); } else cpuEnableProfiling(100); #endif break; case 'S': sdlFlashSize = atoi(optarg); if(sdlFlashSize < 0 || sdlFlashSize > 1) sdlFlashSize = 0; break; case 's': if(optarg) { int a = atoi(optarg); if(a >= 0 && a <= 9) { gbFrameSkip = a; frameSkip = a; } } else { frameSkip = 2; gbFrameSkip = 0; } break; case 't': if(optarg) { int a = atoi(optarg); if(a < 0 || a > 5) a = 0; cpuSaveType = a; } break; case 'T': if(optarg) { int t = atoi(optarg); if(t < 5 || t > 1000) t = 0; throttle = t; } break; case 'v': if(optarg) { systemVerbose = atoi(optarg); } else systemVerbose = 0; break; case '1': sizeOption = 0; break; case '2': sizeOption = 1; break; case '3': sizeOption = 2; break; case '4': sizeOption = 3; break; case '?': sdlPrintUsage = 1; break; } } if(sdlPrintUsage) { usage(argv[0]); exit(-1); } #ifdef MMX if(disableMMX) cpu_mmx = 0; #endif if(rewindTimer) rewindMemory = (char *)malloc(8*REWIND_SIZE); if(sdlFlashSize == 0) flashSetSize(0x10000); else flashSetSize(0x20000); rtcEnable(sdlRtcEnable ? true : false); agbPrintEnable(sdlAgbPrint ? true : false); if(!debuggerStub) { if(optind >= argc) { systemMessage(0,"Missing image name"); usage(argv[0]); exit(-1); } } if(filter) { sizeOption = 1; } for(int i = 0; i < 24;) { systemGbPalette[i++] = (0x1f) | (0x1f << 5) | (0x1f << 10); systemGbPalette[i++] = (0x15) | (0x15 << 5) | (0x15 << 10); systemGbPalette[i++] = (0x0c) | (0x0c << 5) | (0x0c << 10); systemGbPalette[i++] = 0; } systemSaveUpdateCounter = SYSTEM_SAVE_NOT_UPDATED; if(optind < argc) { char *szFile = argv[optind]; u32 len = strlen(szFile); if (len > SYSMSG_BUFFER_SIZE) { fprintf(stderr,"%s :%s: File name too long\n",argv[0],szFile); exit(-1); } utilGetBaseName(szFile, filename); char *p = strrchr(filename, '.'); if(p) *p = 0; if(ipsname[0] == 0) sprintf(ipsname, "%s.ips", filename); bool failed = false; IMAGE_TYPE type = utilFindType(szFile); if(type == IMAGE_UNKNOWN) { systemMessage(0, "Unknown file type %s", szFile); exit(-1); } cartridgeType = (int)type; if(type == IMAGE_GB) { failed = !gbLoadRom(szFile); if(!failed) { gbGetHardwareType(); // used for the handling of the gb Boot Rom if (gbHardware & 5) { char tempName[0x800]; strcpy(tempName, arg0); char *p = strrchr(tempName, '\\'); if(p) { *p = 0x00; } strcat(tempName, "\\DMG_ROM.bin"); fprintf(stderr, "%s\n", tempName); gbCPUInit(tempName, useBios); } else useBios = false; gbReset(); cartridgeType = IMAGE_GB; emulator = GBSystem; if(sdlAutoIPS) { int size = gbRomSize; utilApplyIPS(ipsname, &gbRom, &size); if(size != gbRomSize) { extern bool gbUpdateSizes(); gbUpdateSizes(); gbReset(); } } } } else if(type == IMAGE_GBA) { int size = CPULoadRom(szFile); failed = (size == 0); if(!failed) { sdlApplyPerImagePreferences(); doMirroring(mirroringEnable); cartridgeType = 0; emulator = GBASystem; /* disabled due to problems if(removeIntros && rom != NULL) { WRITE32LE(&rom[0], 0xea00002e); } */ CPUInit(biosFileName, useBios); CPUReset(); if(sdlAutoIPS) { int size = 0x2000000; utilApplyIPS(ipsname, &rom, &size); if(size != 0x2000000) { CPUReset(); } } } } if(failed) { systemMessage(0, "Failed to load file %s", szFile); exit(-1); } } else { cartridgeType = 0; strcpy(filename, "gnu_stub"); rom = (u8 *)malloc(0x2000000); workRAM = (u8 *)calloc(1, 0x40000); bios = (u8 *)calloc(1,0x4000); internalRAM = (u8 *)calloc(1,0x8000); paletteRAM = (u8 *)calloc(1,0x400); vram = (u8 *)calloc(1, 0x20000); oam = (u8 *)calloc(1, 0x400); pix = (u8 *)calloc(1, 4 * 241 * 162); ioMem = (u8 *)calloc(1, 0x400); emulator = GBASystem; CPUInit(biosFileName, useBios); CPUReset(); } sdlReadBattery(); if(debuggerStub) remoteInit(); int flags = SDL_INIT_VIDEO|SDL_INIT_AUDIO| SDL_INIT_TIMER|SDL_INIT_NOPARACHUTE; if(soundOffFlag) flags ^= SDL_INIT_AUDIO; if(SDL_Init(flags)) { systemMessage(0, "Failed to init SDL: %s", SDL_GetError()); exit(-1); } if(SDL_InitSubSystem(SDL_INIT_JOYSTICK)) { systemMessage(0, "Failed to init joystick support: %s", SDL_GetError()); } sdlCheckKeys(); if(cartridgeType == 0) { srcWidth = 240; srcHeight = 160; systemFrameSkip = frameSkip; } else if (cartridgeType == 1) { if(gbBorderOn) { srcWidth = 256; srcHeight = 224; gbBorderLineSkip = 256; gbBorderColumnSkip = 48; gbBorderRowSkip = 40; } else { srcWidth = 160; srcHeight = 144; gbBorderLineSkip = 160; gbBorderColumnSkip = 0; gbBorderRowSkip = 0; } systemFrameSkip = gbFrameSkip; } else { srcWidth = 320; srcHeight = 240; } destWidth = (sizeOption+1)*srcWidth; destHeight = (sizeOption+1)*srcHeight; surface = SDL_SetVideoMode(destWidth, destHeight, 32, SDL_ANYFORMAT|SDL_HWSURFACE|SDL_DOUBLEBUF| (fullscreen ? SDL_FULLSCREEN : 0)); if(surface == NULL) { systemMessage(0, "Failed to set video mode"); SDL_Quit(); exit(-1); } systemRedShift = sdlCalculateShift(surface->format->Rmask); systemGreenShift = sdlCalculateShift(surface->format->Gmask); systemBlueShift = sdlCalculateShift(surface->format->Bmask); systemColorDepth = surface->format->BitsPerPixel; if(systemColorDepth == 15) systemColorDepth = 16; if(yuv) { Init_Overlay(surface, yuvType); systemColorDepth = 32; systemRedShift = 3; systemGreenShift = 11; systemBlueShift = 19; } if(systemColorDepth != 16 && systemColorDepth != 24 && systemColorDepth != 32) { fprintf(stderr,"Unsupported color depth '%d'.\nOnly 16, 24 and 32 bit color depths are supported\n", systemColorDepth); exit(-1); } #ifndef C_CORE sdlMakeStretcher(srcWidth); #else switch(systemColorDepth) { case 16: sdlStretcher = sdlStretcher16[sizeOption]; break; case 24: sdlStretcher = sdlStretcher24[sizeOption]; break; case 32: sdlStretcher = sdlStretcher32[sizeOption]; break; default: fprintf(stderr, "Unsupported resolution: %d\n", systemColorDepth); exit(-1); } #endif fprintf(stderr,"Color depth: %d\n", systemColorDepth); if(systemColorDepth == 16) { if(sdlCalculateMaskWidth(surface->format->Gmask) == 6) { Init_2xSaI(565); } else { Init_2xSaI(555); } srcPitch = srcWidth * 2+4; } else { if(systemColorDepth != 32) filterFunction = NULL; Init_2xSaI(32); if(systemColorDepth == 32) srcPitch = srcWidth*4 + 4; else srcPitch = srcWidth*3; } utilUpdateSystemColorMaps(); if(systemColorDepth != 32) { switch(filter) { case 0: filterFunction = NULL; break; case 1: filterFunction = ScanlinesTV; break; case 2: filterFunction = _2xSaI; break; case 3: filterFunction = Super2xSaI; break; case 4: filterFunction = SuperEagle; break; case 5: filterFunction = Pixelate; break; case 6: filterFunction = MotionBlur; break; case 7: filterFunction = AdMame2x; break; case 8: filterFunction = Simple2x; break; case 9: filterFunction = Bilinear; break; case 10: filterFunction = BilinearPlus; break; case 11: filterFunction = Scanlines; break; case 12: filterFunction = hq2x; break; case 13: filterFunction = lq2x; break; default: filterFunction = NULL; break; } } else { switch(filter) { case 0: filterFunction = NULL; break; case 1: filterFunction = ScanlinesTV32; break; case 2: filterFunction = _2xSaI32; break; case 3: filterFunction = Super2xSaI32; break; case 4: filterFunction = SuperEagle32; break; case 5: filterFunction = Pixelate32; break; case 6: filterFunction = MotionBlur32; break; case 7: filterFunction = AdMame2x32; break; case 8: filterFunction = Simple2x32; break; case 9: filterFunction = Bilinear32; break; case 10: filterFunction = BilinearPlus32; break; case 11: filterFunction = Scanlines32; break; case 12: filterFunction = hq2x32; break; case 13: filterFunction = lq2x32; break; default: filterFunction = NULL; break; } } if(systemColorDepth == 16) { switch(ifbType) { case 0: default: ifbFunction = NULL; break; case 1: ifbFunction = MotionBlurIB; break; case 2: ifbFunction = SmartIB; break; } } else if(systemColorDepth == 32) { switch(ifbType) { case 0: default: ifbFunction = NULL; break; case 1: ifbFunction = MotionBlurIB32; break; case 2: ifbFunction = SmartIB32; break; } } else ifbFunction = NULL; if(delta == NULL) { delta = (u8*)malloc(322*242*4); memset(delta, 255, 322*242*4); } emulating = 1; renderedFrames = 0; if(!soundOffFlag) soundInit(); autoFrameSkipLastTime = throttleLastTime = systemGetClock(); SDL_WM_SetCaption("VisualBoyAdvance", NULL); while(emulating) { if(!paused && active) { if(debugger && emulator.emuHasDebugger) dbgMain(); else { emulator.emuMain(emulator.emuCount); if(rewindSaveNeeded && rewindMemory && emulator.emuWriteMemState) { rewindCount++; if(rewindCount > 8) rewindCount = 8; if(emulator.emuWriteMemState && emulator.emuWriteMemState(&rewindMemory[rewindPos*REWIND_SIZE], REWIND_SIZE)) { rewindPos = (rewindPos + 1) & 7; if(rewindCount == 8) rewindTopPos = (rewindTopPos + 1) & 7; } } rewindSaveNeeded = false; } } else { SDL_Delay(500); } sdlPollEvents(); if(mouseCounter) { mouseCounter--; if(mouseCounter == 0) SDL_ShowCursor(SDL_DISABLE); } } emulating = 0; fprintf(stderr,"Shutting down\n"); remoteCleanUp(); soundShutdown(); if(gbRom != NULL || rom != NULL) { sdlWriteBattery(); emulator.emuCleanUp(); } if(delta) { free(delta); delta = NULL; } SDL_Quit(); return 0; } void systemMessage(int num, const char *msg, ...) { char buffer[SYSMSG_BUFFER_SIZE*2]; va_list valist; va_start(valist, msg); vsprintf(buffer, msg, valist); fprintf(stderr, "%s\n", buffer); va_end(valist); } void systemDrawScreen() { renderedFrames++; if(yuv) { Draw_Overlay(surface, sizeOption+1); return; } SDL_LockSurface(surface); if(screenMessage) { if(cartridgeType == 1 && gbBorderOn) { gbSgbRenderBorder(); } if(((systemGetClock() - screenMessageTime) < 3000) && !disableStatusMessages) { drawText(pix, srcPitch, 10, srcHeight - 20, screenMessageBuffer); } else { screenMessage = false; } } if(ifbFunction) { if(systemColorDepth == 16) ifbFunction(pix+destWidth+4, destWidth+4, srcWidth, srcHeight); else ifbFunction(pix+destWidth*2+4, destWidth*2+4, srcWidth, srcHeight); } if(filterFunction) { if(systemColorDepth == 16) filterFunction(pix+destWidth+4,destWidth+4, delta, (u8*)surface->pixels,surface->pitch, srcWidth, srcHeight); else filterFunction(pix+destWidth*2+4, destWidth*2+4, delta, (u8*)surface->pixels, surface->pitch, srcWidth, srcHeight); } else { int destPitch = surface->pitch; u8 *src = pix; u8 *dest = (u8*)surface->pixels; int i; u32 *stretcher = (u32 *)sdlStretcher; if(systemColorDepth == 16) src += srcPitch; int option = sizeOption; if(yuv) option = 0; switch(sizeOption) { case 0: for(i = 0; i < srcHeight; i++) { SDL_CALL_STRETCHER; src += srcPitch; dest += destPitch; } break; case 1: for(i = 0; i < srcHeight; i++) { SDL_CALL_STRETCHER; dest += destPitch; SDL_CALL_STRETCHER; src += srcPitch; dest += destPitch; } break; case 2: for(i = 0; i < srcHeight; i++) { SDL_CALL_STRETCHER; dest += destPitch; SDL_CALL_STRETCHER; dest += destPitch; SDL_CALL_STRETCHER; src += srcPitch; dest += destPitch; } break; case 3: for(i = 0; i < srcHeight; i++) { SDL_CALL_STRETCHER; dest += destPitch; SDL_CALL_STRETCHER; dest += destPitch; SDL_CALL_STRETCHER; dest += destPitch; SDL_CALL_STRETCHER; src += srcPitch; dest += destPitch; } break; } } if(showSpeed && fullscreen) { char buffer[50]; if(showSpeed == 1) sprintf(buffer, "%d%%", systemSpeed); else sprintf(buffer, "%3d%%(%d, %d fps)", systemSpeed, systemFrameSkip, showRenderedFrames); if(showSpeedTransparent) drawTextTransp((u8*)surface->pixels, surface->pitch, 10, surface->h-20, buffer); else drawText((u8*)surface->pixels, surface->pitch, 10, surface->h-20, buffer); } SDL_UnlockSurface(surface); // SDL_UpdateRect(surface, 0, 0, destWidth, destHeight); SDL_Flip(surface); } bool systemReadJoypads() { return true; } u32 systemReadJoypad(int which) { if(which < 0 || which > 3) which = sdlDefaultJoypad; u32 res = 0; if(sdlButtons[which][KEY_BUTTON_A]) res |= 1; if(sdlButtons[which][KEY_BUTTON_B]) res |= 2; if(sdlButtons[which][KEY_BUTTON_SELECT]) res |= 4; if(sdlButtons[which][KEY_BUTTON_START]) res |= 8; if(sdlButtons[which][KEY_RIGHT]) res |= 16; if(sdlButtons[which][KEY_LEFT]) res |= 32; if(sdlButtons[which][KEY_UP]) res |= 64; if(sdlButtons[which][KEY_DOWN]) res |= 128; if(sdlButtons[which][KEY_BUTTON_R]) res |= 256; if(sdlButtons[which][KEY_BUTTON_L]) res |= 512; // disallow L+R or U+D of being pressed at the same time if((res & 48) == 48) res &= ~16; if((res & 192) == 192) res &= ~128; if(sdlButtons[which][KEY_BUTTON_SPEED]) res |= 1024; if(sdlButtons[which][KEY_BUTTON_CAPTURE]) res |= 2048; if(autoFire) { res &= (~autoFire); if(autoFireToggle) res |= autoFire; autoFireToggle = !autoFireToggle; } return res; } void systemSetTitle(const char *title) { SDL_WM_SetCaption(title, NULL); } void systemShowSpeed(int speed) { systemSpeed = speed; showRenderedFrames = renderedFrames; renderedFrames = 0; if(!fullscreen && showSpeed) { char buffer[80]; if(showSpeed == 1) sprintf(buffer, "VisualBoyAdvance-%3d%%", systemSpeed); else sprintf(buffer, "VisualBoyAdvance-%3d%%(%d, %d fps)", systemSpeed, systemFrameSkip, showRenderedFrames); systemSetTitle(buffer); } } void systemFrame() { } void system10Frames(int rate) { u32 time = systemGetClock(); if(!wasPaused && autoFrameSkip && !throttle) { u32 diff = time - autoFrameSkipLastTime; int speed = 100; if(diff) speed = (1000000/rate)/diff; if(speed >= 98) { frameskipadjust++; if(frameskipadjust >= 3) { frameskipadjust=0; if(systemFrameSkip > 0) systemFrameSkip--; } } else { if(speed < 80) frameskipadjust -= (90 - speed)/5; else if(systemFrameSkip < 9) frameskipadjust--; if(frameskipadjust <= -2) { frameskipadjust += 2; if(systemFrameSkip < 9) systemFrameSkip++; } } } if(!wasPaused && throttle) { if(!speedup) { u32 diff = time - throttleLastTime; int target = (1000000/(rate*throttle)); int d = (target - diff); if(d > 0) { SDL_Delay(d); } } throttleLastTime = systemGetClock(); } if(rewindMemory) { if(++rewindCounter >= rewindTimer) { rewindSaveNeeded = true; rewindCounter = 0; } } if(systemSaveUpdateCounter) { if(--systemSaveUpdateCounter <= SYSTEM_SAVE_NOT_UPDATED) { sdlWriteBattery(); systemSaveUpdateCounter = SYSTEM_SAVE_NOT_UPDATED; } } wasPaused = false; autoFrameSkipLastTime = time; } void systemScreenCapture(int a) { char buffer[2048]; if(captureFormat) { if(captureDir[0]) sprintf(buffer, "%s/%s%02d.bmp", captureDir, sdlGetFilename(filename), a); else sprintf(buffer, "%s%02d.bmp", filename, a); emulator.emuWriteBMP(buffer); } else { if(captureDir[0]) sprintf(buffer, "%s/%s%02d.png", captureDir, sdlGetFilename(filename), a); else sprintf(buffer, "%s%02d.png", filename, a); emulator.emuWritePNG(buffer); } systemScreenMessage("Screen capture"); } void soundCallback(void *,u8 *stream,int len) { if (!emulating) return; // Patch #1382692 by deathpudding. /* since this is running in a different thread, speedup and * throttle can change at any time; save the value so locks * stay in sync */ bool lock = (!speedup && !throttle) ? true : false; if (lock) SDL_SemWait (sdlBufferFull); SDL_SemWait (sdlBufferLock); memcpy (stream, sdlBuffer, len); sdlSoundLen = 0; SDL_SemPost (sdlBufferLock); if (lock) SDL_SemPost (sdlBufferEmpty); } void systemWriteDataToSoundBuffer() { // Patch #1382692 by deathpudding. if (SDL_GetAudioStatus () != SDL_AUDIO_PLAYING) SDL_PauseAudio (0); if ((sdlSoundLen + soundBufferLen) >= 2048*2) { bool lock = (!speedup && !throttle) ? true : false; if (lock) SDL_SemWait (sdlBufferEmpty); SDL_SemWait (sdlBufferLock); int copied = 2048*2 - sdlSoundLen; memcpy (sdlBuffer + sdlSoundLen, soundFinalWave, copied); sdlSoundLen = 2048*2; SDL_SemPost (sdlBufferLock); if (lock) { SDL_SemPost (sdlBufferFull); /* wait for buffer to be dumped by soundCallback() */ SDL_SemWait (sdlBufferEmpty); SDL_SemPost (sdlBufferEmpty); SDL_SemWait (sdlBufferLock); memcpy (sdlBuffer, ((u8 *)soundFinalWave) + copied, soundBufferLen - copied); sdlSoundLen = soundBufferLen - copied; SDL_SemPost (sdlBufferLock); } else { SDL_SemWait (sdlBufferLock); memcpy (sdlBuffer, ((u8 *) soundFinalWave) + copied, soundBufferLen); SDL_SemPost (sdlBufferLock); } } else { SDL_SemWait (sdlBufferLock); memcpy (sdlBuffer + sdlSoundLen, soundFinalWave, soundBufferLen); sdlSoundLen += soundBufferLen; SDL_SemPost (sdlBufferLock); } } bool systemSoundInit() { SDL_AudioSpec audio; switch(soundQuality) { case 1: audio.freq = 44100; soundBufferLen = 1470*2; break; case 2: audio.freq = 22050; soundBufferLen = 736*2; break; case 4: audio.freq = 11025; soundBufferLen = 368*2; break; } audio.format=AUDIO_S16SYS; audio.channels = 2; audio.samples = 1024; audio.callback = soundCallback; audio.userdata = NULL; if(SDL_OpenAudio(&audio, NULL)) { fprintf(stderr,"Failed to open audio: %s\n", SDL_GetError()); return false; } soundBufferTotalLen = soundBufferLen*10; // Patch #1382692 by deathpudding. sdlBufferLock = SDL_CreateSemaphore (1); sdlBufferFull = SDL_CreateSemaphore (0); sdlBufferEmpty = SDL_CreateSemaphore (1); sdlSoundLen = 0; systemSoundOn = true; return true; } void systemSoundShutdown() { // Patch #1382692 by deathpudding. SDL_CloseAudio (); //TODO: fix freeze SDL_DestroySemaphore (sdlBufferLock); SDL_DestroySemaphore (sdlBufferFull); SDL_DestroySemaphore (sdlBufferEmpty); sdlBufferLock = NULL; sdlBufferFull = NULL; sdlBufferEmpty = NULL; } void systemSoundPause() { SDL_PauseAudio(1); } void systemSoundResume() { SDL_PauseAudio(0); } void systemSoundReset() { } u32 systemGetClock() { return SDL_GetTicks(); } void systemUpdateMotionSensor() { if(sdlMotionButtons[KEY_LEFT]) { sensorX += 3; if(sensorX > 2197) sensorX = 2197; if(sensorX < 2047) sensorX = 2057; } else if(sdlMotionButtons[KEY_RIGHT]) { sensorX -= 3; if(sensorX < 1897) sensorX = 1897; if(sensorX > 2047) sensorX = 2037; } else if(sensorX > 2047) { sensorX -= 2; if(sensorX < 2047) sensorX = 2047; } else { sensorX += 2; if(sensorX > 2047) sensorX = 2047; } if(sdlMotionButtons[KEY_UP]) { sensorY += 3; if(sensorY > 2197) sensorY = 2197; if(sensorY < 2047) sensorY = 2057; } else if(sdlMotionButtons[KEY_DOWN]) { sensorY -= 3; if(sensorY < 1897) sensorY = 1897; if(sensorY > 2047) sensorY = 2037; } else if(sensorY > 2047) { sensorY -= 2; if(sensorY < 2047) sensorY = 2047; } else { sensorY += 2; if(sensorY > 2047) sensorY = 2047; } } int systemGetSensorX() { return sensorX; } int systemGetSensorY() { return sensorY; } void systemGbPrint(u8 *data,int pages,int feed,int palette, int contrast) { } void systemScreenMessage(const char *msg) { screenMessage = true; screenMessageTime = systemGetClock(); if(strlen(msg) > 20) { strncpy(screenMessageBuffer, msg, 20); screenMessageBuffer[20] = 0; } else strcpy(screenMessageBuffer, msg); } bool systemCanChangeSoundQuality() { return false; } bool systemPauseOnFrame() { if(pauseNextFrame) { paused = true; pauseNextFrame = false; return true; } return false; } // Code donated by Niels Wagenaar (BoycottAdvance) // GBA screensize. #define GBA_WIDTH 240 #define GBA_HEIGHT 160 void Init_Overlay(SDL_Surface *gbascreen, int overlaytype) { overlay = SDL_CreateYUVOverlay( GBA_WIDTH, GBA_HEIGHT, overlaytype, gbascreen); fprintf(stderr, "Created %dx%dx%d %s %s overlay\n", overlay->w,overlay->h,overlay->planes, overlay->hw_overlay?"hardware":"software", overlay->format==SDL_YV12_OVERLAY?"YV12": overlay->format==SDL_IYUV_OVERLAY?"IYUV": overlay->format==SDL_YUY2_OVERLAY?"YUY2": overlay->format==SDL_UYVY_OVERLAY?"UYVY": overlay->format==SDL_YVYU_OVERLAY?"YVYU": "Unknown"); } void Quit_Overlay(void) { SDL_FreeYUVOverlay(overlay); } /* NOTE: These RGB conversion functions are not intended for speed, only as examples. */ inline void RGBtoYUV(Uint8 *rgb, int *yuv) { yuv[0] = (int)((0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16); yuv[1] = (int)(128 - (0.148 * rgb[0]) - (0.291 * rgb[1]) + (0.439 * rgb[2])); yuv[2] = (int)(128 + (0.439 * rgb[0]) - (0.368 * rgb[1]) - (0.071 * rgb[2])); } inline void ConvertRGBtoYV12(SDL_Overlay *o) { int x,y; int yuv[3]; Uint8 *p,*op[3]; SDL_LockYUVOverlay(o); /* Black initialization */ /* memset(o->pixels[0],0,o->pitches[0]*o->h); memset(o->pixels[1],128,o->pitches[1]*((o->h+1)/2)); memset(o->pixels[2],128,o->pitches[2]*((o->h+1)/2)); */ /* Convert */ for(y=0; y<160 && y<o->h; y++) { p=(Uint8 *)pix+srcPitch*y; op[0]=o->pixels[0]+o->pitches[0]*y; op[1]=o->pixels[1]+o->pitches[1]*(y/2); op[2]=o->pixels[2]+o->pitches[2]*(y/2); for(x=0; x<240 && x<o->w; x++) { RGBtoYUV(p,yuv); *(op[0]++)=yuv[0]; if(x%2==0 && y%2==0) { *(op[1]++)=yuv[2]; *(op[2]++)=yuv[1]; } p+=4;//s->format->BytesPerPixel; } } SDL_UnlockYUVOverlay(o); } inline void ConvertRGBtoIYUV(SDL_Overlay *o) { int x,y; int yuv[3]; Uint8 *p,*op[3]; SDL_LockYUVOverlay(o); /* Black initialization */ /* memset(o->pixels[0],0,o->pitches[0]*o->h); memset(o->pixels[1],128,o->pitches[1]*((o->h+1)/2)); memset(o->pixels[2],128,o->pitches[2]*((o->h+1)/2)); */ /* Convert */ for(y=0; y<160 && y<o->h; y++) { p=(Uint8 *)pix+srcPitch*y; op[0]=o->pixels[0]+o->pitches[0]*y; op[1]=o->pixels[1]+o->pitches[1]*(y/2); op[2]=o->pixels[2]+o->pitches[2]*(y/2); for(x=0; x<240 && x<o->w; x++) { RGBtoYUV(p,yuv); *(op[0]++)=yuv[0]; if(x%2==0 && y%2==0) { *(op[1]++)=yuv[1]; *(op[2]++)=yuv[2]; } p+=4; //s->format->BytesPerPixel; } } SDL_UnlockYUVOverlay(o); } inline void ConvertRGBtoUYVY(SDL_Overlay *o) { int x,y; int yuv[3]; Uint8 *p,*op; SDL_LockYUVOverlay(o); for(y=0; y<160 && y<o->h; y++) { p=(Uint8 *)pix+srcPitch*y; op=o->pixels[0]+o->pitches[0]*y; for(x=0; x<240 && x<o->w; x++) { RGBtoYUV(p,yuv); if(x%2==0) { *(op++)=yuv[1]; *(op++)=yuv[0]; *(op++)=yuv[2]; } else *(op++)=yuv[0]; p+=4; //s->format->BytesPerPixel; } } SDL_UnlockYUVOverlay(o); } inline void ConvertRGBtoYVYU(SDL_Overlay *o) { int x,y; int yuv[3]; Uint8 *p,*op; SDL_LockYUVOverlay(o); for(y=0; y<160 && y<o->h; y++) { p=(Uint8 *)pix+srcPitch*y; op=o->pixels[0]+o->pitches[0]*y; for(x=0; x<240 && x<o->w; x++) { RGBtoYUV(p,yuv); if(x%2==0) { *(op++)=yuv[0]; *(op++)=yuv[2]; op[1]=yuv[1]; } else { *op=yuv[0]; op+=2; } p+=4; //s->format->BytesPerPixel; } } SDL_UnlockYUVOverlay(o); } inline void ConvertRGBtoYUY2(SDL_Overlay *o) { int x,y; int yuv[3]; Uint8 *p,*op; SDL_LockYUVOverlay(o); for(y=0; y<160 && y<o->h; y++) { p=(Uint8 *)pix+srcPitch*y; op=o->pixels[0]+o->pitches[0]*y; for(x=0; x<240 && x<o->w; x++) { RGBtoYUV(p,yuv); if(x%2==0) { *(op++)=yuv[0]; *(op++)=yuv[1]; op[1]=yuv[2]; } else { *op=yuv[0]; op+=2; } p+=4; //s->format->BytesPerPixel; } } SDL_UnlockYUVOverlay(o); } inline void Convert32bit(SDL_Surface *display) { switch(overlay->format) { case SDL_YV12_OVERLAY: ConvertRGBtoYV12(overlay); break; case SDL_UYVY_OVERLAY: ConvertRGBtoUYVY(overlay); break; case SDL_YVYU_OVERLAY: ConvertRGBtoYVYU(overlay); break; case SDL_YUY2_OVERLAY: ConvertRGBtoYUY2(overlay); break; case SDL_IYUV_OVERLAY: ConvertRGBtoIYUV(overlay); break; default: fprintf(stderr, "cannot convert RGB picture to obtained YUV format!\n"); exit(1); break; } } inline void Draw_Overlay(SDL_Surface *display, int size) { SDL_LockYUVOverlay(overlay); Convert32bit(display); overlay_rect.x = 0; overlay_rect.y = 0; overlay_rect.w = GBA_WIDTH * size; overlay_rect.h = GBA_HEIGHT * size; SDL_DisplayYUVOverlay(overlay, &overlay_rect); SDL_UnlockYUVOverlay(overlay); } void systemGbBorderOn() { srcWidth = 256; srcHeight = 224; gbBorderLineSkip = 256; gbBorderColumnSkip = 48; gbBorderRowSkip = 40; destWidth = (sizeOption+1)*srcWidth; destHeight = (sizeOption+1)*srcHeight; surface = SDL_SetVideoMode(destWidth, destHeight, 32, SDL_ANYFORMAT|SDL_HWSURFACE|SDL_DOUBLEBUF| (fullscreen ? SDL_FULLSCREEN : 0)); #ifndef C_CORE sdlMakeStretcher(srcWidth); #else switch(systemColorDepth) { case 16: sdlStretcher = sdlStretcher16[sizeOption]; break; case 24: sdlStretcher = sdlStretcher24[sizeOption]; break; case 32: sdlStretcher = sdlStretcher32[sizeOption]; break; default: fprintf(stderr, "Unsupported resolution: %d\n", systemColorDepth); exit(-1); } #endif if(systemColorDepth == 16) { if(sdlCalculateMaskWidth(surface->format->Gmask) == 6) { Init_2xSaI(565); RGB_LOW_BITS_MASK = 0x821; } else { Init_2xSaI(555); RGB_LOW_BITS_MASK = 0x421; } if(cartridgeType == 2) { for(int i = 0; i < 0x10000; i++) { systemColorMap16[i] = (((i >> 1) & 0x1f) << systemBlueShift) | (((i & 0x7c0) >> 6) << systemGreenShift) | (((i & 0xf800) >> 11) << systemRedShift); } } else { for(int i = 0; i < 0x10000; i++) { systemColorMap16[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift); } } srcPitch = srcWidth * 2+4; } else { if(systemColorDepth != 32) filterFunction = NULL; RGB_LOW_BITS_MASK = 0x010101; if(systemColorDepth == 32) { Init_2xSaI(32); } for(int i = 0; i < 0x10000; i++) { systemColorMap32[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift); } if(systemColorDepth == 32) srcPitch = srcWidth*4 + 4; else srcPitch = srcWidth*3; } }
24.75
123
0.563102
pdpdds
9f41fbc29c1e407dd715c2789c22554486c643b4
265
cpp
C++
src/Gomoku/1win_result_show.cpp
HahnXia/GOMOKU
52086bbb1fa2d6c59c5b05168c26c2fa6f155f70
[ "MIT" ]
1
2018-09-07T16:59:38.000Z
2018-09-07T16:59:38.000Z
src/Gomoku/1win_result_show.cpp
HahnXia/GOMOKU
52086bbb1fa2d6c59c5b05168c26c2fa6f155f70
[ "MIT" ]
null
null
null
src/Gomoku/1win_result_show.cpp
HahnXia/GOMOKU
52086bbb1fa2d6c59c5b05168c26c2fa6f155f70
[ "MIT" ]
null
null
null
#include "1win_result_show.h" #include "ui_win_result_show.h" win_result_show::win_result_show(QWidget *parent) : QDialog(parent), ui(new Ui::win_result_show) { ui->setupUi(this); } win_result_show::~win_result_show() { delete ui; }
17.666667
52
0.675472
HahnXia
9f4279322fe536526907b2bf244bdf0a3061dd2c
20,410
cc
C++
src/api/ccapi/cinterface.cc
msalle/voms
73f9db44c058f898ab8362a2e422a409ee468fde
[ "Apache-2.0" ]
2
2016-09-15T16:29:03.000Z
2020-08-03T13:14:09.000Z
src/api/ccapi/cinterface.cc
msalle/voms
73f9db44c058f898ab8362a2e422a409ee468fde
[ "Apache-2.0" ]
35
2015-01-16T15:22:13.000Z
2022-03-06T15:23:14.000Z
src/api/ccapi/cinterface.cc
msalle/voms
73f9db44c058f898ab8362a2e422a409ee468fde
[ "Apache-2.0" ]
6
2015-01-23T10:48:02.000Z
2022-03-20T22:36:52.000Z
/********************************************************************* * * Authors: Vincenzo Ciaschini - Vincenzo.Ciaschini@cnaf.infn.it * * Copyright (c) Members of the EGEE Collaboration. 2004-2010. * See http://www.eu-egee.org/partners/ for details on the copyright holders. * * 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. * * Parts of this code may be based upon or even include verbatim pieces, * originally written by other people, in which case the original header * follows. * *********************************************************************/ #include "config.h" #include "replace.h" #include "voms_api.h" /* Interface routines from C++ API to C API */ extern "C" { #include "cinterface.h" #include <stdlib.h> #include <time.h> #include <listfunc.h> } #include "realdata.h" #include "data.h" #include <cstring> #include <cstdlib> void VOMS_Destroy(struct vomsdatar *vd); int TranslateVOMS(struct vomsdatar *vd, std::vector<voms> &v, UNUSED(int *error)) { if (vd->data) { /* Delete old store */ free(vd->data[0]); free(vd->data); } struct vomsr **arr2 = (struct vomsr **)malloc((v.size()+1) * sizeof(struct vomsr *)); if (arr2) { std::vector<voms>::iterator cur = v.begin(); std::vector<voms>::iterator end = v.end(); int i = 0; while (cur != end) { arr2[i] = cur->translate(); arr2[i]->mydata = i; arr2[i]->my2 = (void *)vd; i++; ++cur; } arr2[i] = NULL; vd->data = arr2; return 1; } free(arr2); return 0; } static char * mystrdup(const char *str, int len = 0) { if (!str) return NULL; else { if (!len) len = strlen(str); char *res = (char*)malloc(len+1); if (!res) throw std::bad_alloc(); memcpy(res, str, len); res[len]='\0'; return res; } } extern "C" { struct vomsdatar *VOMS_Init(char *voms, char *cert) { struct vomsdatar *vd = NULL; try { if ((vd = (struct vomsdatar *)malloc(sizeof(struct vomsdatar)))) { vd->cdir = mystrdup(voms ? voms : ""); vd->vdir = mystrdup(cert ? cert : ""); vd->data = NULL; vd->extra_data = vd->workvo = NULL; vd->volen = vd->extralen = 0; vd->real = new vomsdata((voms ? std::string(voms) : ""), (cert ? std::string(cert) : ""));; vd->timeout = -1; } } catch(...) { goto err; } return vd; err: VOMS_Destroy(vd); return NULL; } #define GetPointer(v) (((struct realdata *)(((struct vomsdatar *)((v)->my2))->real->data[v->mydata].realdata))) #define GetV(v) (((struct vomsdatar *)((v)->my2))->real->data[v->mydata]) int VOMS_GetAttributeSourcesNumber(struct vomsr *v, UNUSED(struct vomsdatar *vd), int *error) { try { return GetV(v).GetAttributes().size(); } catch(...) { *error = VERR_PARAM; return -1; } } int VOMS_GetAttributeSourceHandle(struct vomsr *v, int num, struct vomsdatar *vd, int *error) { try { if (VOMS_GetAttributeSourcesNumber(v, vd, error) >= num) return num; } catch(...) { } *error = VERR_PARAM; return -1; } const char *VOMS_GetAttributeGrantor(struct vomsr *v, int handle, UNUSED(struct vomsdatar *vd), int *error) { try { return ((GetV(v).GetAttributes())[handle].grantor.c_str()); } catch(...) { *error = VERR_PARAM; return NULL; } } int VOMS_GetAttributesNumber(struct vomsr *v, int handle, UNUSED(struct vomsdatar *vd), int *error) { try { return ((GetV(v).GetAttributes())[handle].attributes.size()); } catch (...) { *error = VERR_PARAM; return -1; } } int VOMS_GetAttribute(struct vomsr *v, int handle, int num, struct attributer *at, UNUSED(struct vomsdatar *vd), int *error) { try { struct attribute a = ((GetV(v).GetAttributes())[handle]).attributes[num]; at->name = a.name.c_str(); at->qualifier = (a.qualifier.empty() ? NULL : a.qualifier.c_str()); at->value = a.value.c_str(); return 1; } catch(...) { *error = VERR_PARAM; return 0; } } static struct contactdatar **Arrayize(std::vector<contactdata> &cd, int *error) { if (cd.empty()) return NULL; int size1 = cd.size() * sizeof(struct contactdatar); int size2 = (cd.size()+1) * sizeof(struct contactdatar *); struct contactdatar **cdr = (struct contactdatar **)malloc(size2); struct contactdatar *cda = (struct contactdatar *)malloc(size1); if (cdr && cda) { std::vector<contactdata>::const_iterator cur = cd.begin(), end = cd.end(); int i = 0; while (cur != end) { cdr[i] = &cda[i]; cda[i].nick = mystrdup(cur->nick.c_str()); cda[i].host = mystrdup(cur->host.c_str()); cda[i].contact = mystrdup(cur->contact.c_str()); cda[i].vo = mystrdup(cur->vo.c_str()); cda[i].port = cur->port; cda[i].version = cur->version; i++; ++cur; } cdr[i] = NULL; return cdr; } else { *error = VERR_MEM; free(cdr); free(cda); return NULL; } } struct contactdatar **VOMS_FindByVO(struct vomsdatar *vd, char *vo, char *system, char *user, int *error) { if (!vd || !vd->real || !vo || !error) { *error = VERR_PARAM; return NULL; } vomsdata *v = (vomsdata *)vd->real; (void)v->LoadSystemContacts(system ? std::string(system) : ""); (void)v->LoadUserContacts(user ? std::string(user) : ""); std::vector<contactdata> cd = v->FindByVO(vo); if (!cd.empty()) return Arrayize(cd, error); *error = v->error; return NULL; } struct contactdatar **VOMS_FindByAlias(struct vomsdatar *vd, char *vo, char *system, char *user, int *error) { if (!vd || !vd->real || !vo || !error) { *error = VERR_PARAM; return NULL; } vomsdata *v = (vomsdata *)vd->real; (void)v->LoadSystemContacts(system ? std::string(system) : ""); (void)v->LoadUserContacts(user ? std::string(user) : ""); std::vector<contactdata> cd = v->FindByAlias(vo); if (!cd.empty()) return Arrayize(cd, error); *error = v->error; return NULL; } void VOMS_DeleteContacts(struct contactdatar **list) { if (list) { free(list[0]); free(list); } } struct vomsr *voms::translate() { struct vomsr *dst = NULL; if ((dst = (struct vomsr *)calloc(1, sizeof(struct vomsr)))) { try { dst->version = version; dst->siglen = siglen; dst->signature = mystrdup(signature.c_str(), signature.size()); dst->user = mystrdup(user.c_str()); dst->userca = mystrdup(userca.c_str()); dst->server = mystrdup(server.c_str()); dst->serverca = mystrdup(serverca.c_str()); dst->voname = mystrdup(voname.c_str()); dst->uri = mystrdup(uri.c_str()); dst->date1 = mystrdup(date1.c_str()); dst->date2 = mystrdup(date2.c_str()); dst->type = type; dst->custom = mystrdup(custom.c_str(), custom.size()); dst->serial = mystrdup(serial.c_str()); dst->datalen = custom.size(); dst->ac = AC_dup((((struct realdata *)realdata)->ac)); dst->holder = X509_dup(holder); if ((!dst->holder && holder) || !dst->ac) throw 3; dst->fqan = vectoarray(fqan); if (!dst->fqan) throw 3; dst->std = (struct datar **)calloc(1, sizeof(struct datar *)*(std.size()+1)); if (!dst->std) throw 3; int j = 0; std::vector<data>::const_iterator end = std.end(); for (std::vector<data>::const_iterator i = std.begin(); i != end; ++i) { struct datar *d = (struct datar *)calloc(1, sizeof(struct datar)); if (d) { dst->std[j++] = d; d->group = mystrdup(i->group.c_str()); d->role = mystrdup(i->role.c_str()); d->cap = mystrdup(i->cap.c_str()); } else throw 3; } return dst; } catch (...) { VOMS_Delete(dst); return NULL; } } return NULL; } static void freeDatar(struct datar *dr) { if (dr){ free(dr->group); free(dr->role); free(dr->cap); free(dr); } } void VOMS_Delete(struct vomsr *v) { if (v) { listfree(v->fqan, free); listfree((char**)v->std, (freefn)freeDatar); free(v->signature); free(v->user); free(v->userca); free(v->server); free(v->serverca); free(v->voname); free(v->uri); free(v->date1); free(v->date2); free(v->custom); free(v->serial); AC_free(v->ac); X509_free(v->holder); } free(v); } struct vomsdatar *VOMS_CopyALL(struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return NULL; } *error = VERR_MEM; return VOMS_Duplicate(vd); } void VOMS_Destroy(struct vomsdatar *vd) { if (vd) { free(vd->cdir); free(vd->vdir); free(vd->workvo); free(vd->extra_data); listfree((char**)vd->data, (freefn)VOMS_Delete); delete vd->real; free(vd); } } int VOMS_LoadCredentials(X509 *cert, EVP_PKEY *pkey, STACK_OF(X509) *chain, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; return v->LoadCredentials(cert, pkey, chain) ? 1 : 0; } int VOMS_AddTarget(struct vomsdatar *vd, char *target, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (target) v->AddTarget(std::string(target)); return 1; } void VOMS_FreeTargets(struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return; } vomsdata *v = vd->real; v->ResetTargets(); } char *VOMS_ListTargets(struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return NULL; } vomsdata *v = vd->real; std::vector<std::string> list = v->ListTargets(); std::vector<std::string>::const_iterator cur = list.begin(); std::vector<std::string>::const_iterator begin = list.begin(); std::vector<std::string>::const_iterator end = list.end(); std::string total = ""; while(cur != end) { if (cur != begin) total += ","; total += *cur; ++cur; } char *res = mystrdup(total.c_str()); if (!res) *error = VERR_MEM; return res; } int VOMS_SetVerificationType(int type, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; v->SetVerificationType(verify_type(type)); return 1; } int VOMS_SetVerificationTime(time_t vertime, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; v->SetVerificationTime(vertime); return 1; } int VOMS_SetLifetime(int length, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; v->SetLifetime(length); return 1; } int VOMS_SetTimeout(int t, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vd->timeout = t; return 1; } int VOMS_Ordering(char *order, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } if (order) { vomsdata *v = vd->real; v->Order(std::string(order)); } return 1; } int VOMS_ResetOrder(struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; v->ResetOrder(); return 1; } int VOMS_Contact(char *host, int port, char *servsub, char *comm, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->Contact(std::string(host), port, std::string(servsub), std::string(comm), vd->timeout)) { return TranslateVOMS(vd, v->data, error); } *error = v->error; return 0; } int VOMS_ContactRaw(char *host, int port, char *servsub, char *comm, void **data, int *datalen, int *version, struct vomsdatar *vd, int *error) { if (!host || !port || !servsub || !comm || !data || !datalen || !version || !vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; std::string output; if (v->ContactRaw(std::string(host), port, std::string(servsub), std::string(comm), output, *version, vd->timeout)) { *datalen = output.size(); char *d = (char *)malloc(output.size()); if (d) { memcpy(d, output.data(), *datalen); *data = d; return 1; } else { *error = VERR_MEM; return 0; } } *error = v->error; return 0; } int VOMS_Retrieve(X509 *cert, STACK_OF(X509) *chain, int how, struct vomsdatar *vd, int *error) { if (!cert || !vd || !vd->real || !error || (!chain && how == RECURSE_CHAIN)) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->Retrieve(cert, chain, recurse_type(how))) return TranslateVOMS(vd, v->data, error); *error = v->error; return 0; } int VOMS_RetrieveEXT(X509_EXTENSION *ext, struct vomsdatar *vd, int *error) { if (!ext || !vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->Retrieve(ext)) return TranslateVOMS(vd, v->data, error); *error = v->error; return 0; } int VOMS_RetrieveFromFile(FILE *file, int how, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->Retrieve(file, recurse_type(how))) return TranslateVOMS(vd, v->data, error); *error = v->error; return 0; } int VOMS_RetrieveFromCred(gss_cred_id_t cred, int how, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->RetrieveFromCred(cred, recurse_type(how))) return TranslateVOMS(vd, v->data, error); *error = v->error; return 0; } int VOMS_RetrieveFromCtx(gss_ctx_id_t ctx, int how, struct vomsdatar *vd, int *error) { if (error) *error = VERR_NOTAVAIL; return 0; } int VOMS_RetrieveFromProxy(int how, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->RetrieveFromProxy(recurse_type(how))) return TranslateVOMS(vd, v->data, error); *error = v->error; return 0; } int VOMS_RetrieveFromAC(AC *ac, struct vomsdatar *vd, int *error) { if (!vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->Retrieve(ac)) return TranslateVOMS(vd, v->data, error); *error = v->error; return 0; } int VOMS_Import(char *buffer, int buflen, struct vomsdatar *vd, int *error) { if (!buffer || !buflen || !vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; if (v->Import(std::string(buffer, buflen))) return TranslateVOMS(vd, v->data, error); *error = v->error; return 0; } int VOMS_Export(char **buffer, int *buflen, struct vomsdatar *vd, int *error) { if (!buffer || !buflen || !vd || !vd->real || !error) { *error = VERR_PARAM; return 0; } vomsdata *v = vd->real; std::string data; if (v->Export(data)) { *buflen = data.size(); char *d; if ((d = (char *)malloc(*buflen))) { memcpy(d, data.data(), *buflen); *buffer = d; return 1; } else { *error = VERR_MEM; return 0; } } *error = v->error; return 0; } struct vomsr *VOMS_DefaultData(struct vomsdatar *vd, int *error) { if (!vd || !error) { *error = VERR_PARAM; return NULL; } return vd->data[0]; } struct vomsr *VOMS_Copy(struct vomsr *org, int *error) { if (!org || !error) { *error = VERR_PARAM; return NULL; } *error = VERR_MEM; struct vomsr *dst = NULL; if ((dst = (struct vomsr *)calloc(1, sizeof(struct vomsr)))) { try { dst->version = org->version; dst->siglen = org->siglen; dst->signature = mystrdup(org->signature, org->siglen); dst->user = mystrdup(org->user); dst->userca = mystrdup(org->userca); dst->server = mystrdup(org->server); dst->serverca = mystrdup(org->serverca); dst->voname = mystrdup(org->voname); dst->uri = mystrdup(org->uri); dst->date1 = mystrdup(org->date1); dst->date2 = mystrdup(org->date2); dst->type = org->type; dst->custom = mystrdup(org->custom, org->datalen); dst->serial = mystrdup(org->serial); dst->datalen = org->datalen; dst->ac = AC_dup(org->ac); dst->holder = X509_dup(org->holder); dst->mydata = org->mydata; dst->my2 = org->my2; if (!dst->holder || !dst->ac) throw 3; int size = 0; while (org->fqan[size++]) ; dst->fqan = (char **)calloc(1, sizeof(char *)*size); size = 0; while (org->std[size++]) ; dst->std = (struct datar **)calloc(1, sizeof(struct datar *)*size); if (!(dst->fqan) || !(dst->std)) throw 3; int j = 0; while(org->fqan[j]) { if (!(dst->fqan[j] = mystrdup(org->fqan[j]))) throw 3; j++; } j = 0; while (org->std[j]) { struct datar *d = (struct datar *)calloc(1, sizeof(struct datar)); if (d) { dst->std[j] = d; d->group = mystrdup(org->std[j]->group); d->role = mystrdup(org->std[j]->role); d->cap = mystrdup(org->std[j++]->cap); } if (!d || !d->group || !d->role || !d->cap) throw 3; } return dst; } catch (...) { VOMS_Delete(dst); return NULL; } } return NULL; } char *VOMS_ErrorMessage(struct vomsdatar *vd, int error, char *buffer, int len) { if (!vd || !vd->real || (buffer && !len)) { return NULL; } vomsdata *v = vd->real; std::string msg; switch (error) { case VERR_MEM: msg = "Out of memory."; break; case VERR_PARAM: msg = "Parameters incorrect."; break; default: msg = v->ErrorMessage(); break; } if (buffer) { if ((msg.size()+1) <= (unsigned int)len) { strcpy(buffer, msg.c_str()); return buffer; } else return NULL; } else { char *buf = (char*)malloc(msg.size()+1); if (buf) strcpy(buf, msg.c_str()); return buf; } } vomsdatar *VOMS_Duplicate(vomsdatar *orig) { struct vomsdatar *vd = NULL; try { if ((vd = (struct vomsdatar *)malloc(sizeof(struct vomsdatar)))) { int error = 0; vd->cdir = (orig->cdir ? strdup(orig->cdir) : NULL ); vd->vdir = (orig->vdir ? strdup(orig->vdir) : NULL ); vd->data = NULL; vd->extra_data = (orig->extra_data ? strdup(orig->extra_data) : NULL); vd->workvo = (orig->workvo ? strdup(orig->workvo) : NULL); vd->volen = orig->volen; vd->extralen = orig->extralen; vd->timeout = orig->timeout; vd->real = new vomsdata(*(orig->real)); if (!TranslateVOMS(vd, vd->real->data, &error)) goto err; } } catch(...) { goto err; } return vd; err: VOMS_Destroy(vd); return NULL; } AC *VOMS_GetAC(vomsr *v) { return AC_dup(v->ac); } char **VOMS_GetTargetsList(struct vomsr *v, struct vomsdatar *vd, int *error) { if (!v || !vd) { if (error) *error = VERR_PARAM; return NULL; } std::vector<std::string> targets = GetV(v).GetTargets(); return vectoarray(targets); } void VOMS_FreeTargetsList(char **targets) { listfree(targets, free); } }
21.759062
124
0.568839
msalle
9f4441daa8128d58899b789a474fffdef05030df
379
cpp
C++
NKZX_NOI_OJ/P1122.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
1
2021-04-05T16:26:00.000Z
2021-04-05T16:26:00.000Z
NKZX_NOI_OJ/P1122.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
NKZX_NOI_OJ/P1122.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
#include<cstdio> #include<cstring> int main(){ char s[241];int c,k; scanf("%s%d",s,&k);c=strlen(s); for(int i=0;i<k&&c>1;i++,c--){ int j=0; for(int v=0;v<c-1;v++){ if(s[v]>s[v+1]){ j=v;break; } } for(int v=j;v<c;v++){ s[v]=s[v+1]; } } printf("%s",s); return 0; }
18.95
35
0.369393
Rose2073
9f4aa00d5fc87410ffdaa3b6546a482a404a0f9d
145,590
inl
C++
src/fonts/stb_font_arial_bold_31_latin_ext.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_arial_bold_31_latin_ext.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_arial_bold_31_latin_ext.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_arial_bold_31_latin_ext_*, // and separately install each font. Note that the CREATE function call has a // totally different name; it's just 'stb_font_arial_bold_31_latin_ext'. // /* // Example usage: static stb_fontchar fontdata[STB_SOMEFONT_NUM_CHARS]; static void init(void) { // optionally replace both STB_SOMEFONT_BITMAP_HEIGHT with STB_SOMEFONT_BITMAP_HEIGHT_POW2 static unsigned char fontpixels[STB_SOMEFONT_BITMAP_HEIGHT][STB_SOMEFONT_BITMAP_WIDTH]; STB_SOMEFONT_CREATE(fontdata, fontpixels, STB_SOMEFONT_BITMAP_HEIGHT); ... create texture ... // for best results rendering 1:1 pixels texels, use nearest-neighbor sampling // if allowed to scale up, use bilerp } // This function positions characters on integer coordinates, and assumes 1:1 texels to pixels // Appropriate if nearest-neighbor sampling is used static void draw_string_integer(int x, int y, char *str) // draw with top-left point x,y { ... use texture ... ... turn on alpha blending and gamma-correct alpha blending ... glBegin(GL_QUADS); while (*str) { int char_codepoint = *str++; stb_fontchar *cd = &fontdata[char_codepoint - STB_SOMEFONT_FIRST_CHAR]; glTexCoord2f(cd->s0, cd->t0); glVertex2i(x + cd->x0, y + cd->y0); glTexCoord2f(cd->s1, cd->t0); glVertex2i(x + cd->x1, y + cd->y0); glTexCoord2f(cd->s1, cd->t1); glVertex2i(x + cd->x1, y + cd->y1); glTexCoord2f(cd->s0, cd->t1); glVertex2i(x + cd->x0, y + cd->y1); // if bilerping, in D3D9 you'll need a half-pixel offset here for 1:1 to behave correct x += cd->advance_int; } glEnd(); } // This function positions characters on float coordinates, and doesn't require 1:1 texels to pixels // Appropriate if bilinear filtering is used static void draw_string_float(float x, float y, char *str) // draw with top-left point x,y { ... use texture ... ... turn on alpha blending and gamma-correct alpha blending ... glBegin(GL_QUADS); while (*str) { int char_codepoint = *str++; stb_fontchar *cd = &fontdata[char_codepoint - STB_SOMEFONT_FIRST_CHAR]; glTexCoord2f(cd->s0f, cd->t0f); glVertex2f(x + cd->x0f, y + cd->y0f); glTexCoord2f(cd->s1f, cd->t0f); glVertex2f(x + cd->x1f, y + cd->y0f); glTexCoord2f(cd->s1f, cd->t1f); glVertex2f(x + cd->x1f, y + cd->y1f); glTexCoord2f(cd->s0f, cd->t1f); glVertex2f(x + cd->x0f, y + cd->y1f); // if bilerping, in D3D9 you'll need a half-pixel offset here for 1:1 to behave correct x += cd->advance; } glEnd(); } */ #ifndef STB_FONTCHAR__TYPEDEF #define STB_FONTCHAR__TYPEDEF typedef struct { // coordinates if using integer positioning float s0,t0,s1,t1; signed short x0,y0,x1,y1; int advance_int; // coordinates if using floating positioning float s0f,t0f,s1f,t1f; float x0f,y0f,x1f,y1f; float advance; } stb_fontchar; #endif #define STB_FONT_arial_bold_31_latin_ext_BITMAP_WIDTH 512 #define STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT 270 #define STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT_POW2 512 #define STB_FONT_arial_bold_31_latin_ext_FIRST_CHAR 32 #define STB_FONT_arial_bold_31_latin_ext_NUM_CHARS 560 #define STB_FONT_arial_bold_31_latin_ext_LINE_SPACING 20 static unsigned int stb__arial_bold_31_latin_ext_pixels[]={ 0x01000100,0xddddddd5,0xdddddddd,0xeeeb8003,0xeea80003,0x0180003e, 0x2eeeb800,0x00000000,0x26660000,0xcccb8000,0x00000000,0x10000440, 0x00055035,0x00000000,0x00000000,0x00000000,0x01880000,0x4cc43300, 0x31001310,0x33310013,0x01100001,0x26609988,0x00000001,0x2007332a, 0x75403ccc,0x21f22003,0xfffffffa,0xffffffff,0x2fffc002,0x5ffe8000, 0xffd93000,0x88003bdf,0x6c004fff,0x20002fff,0xffb0ffe8,0x7ffdc005, 0x3fe6000e,0x3a0006ff,0x1dffb6ff,0xfffdc880,0x22000cef,0x001fd46f, 0x0077ffc0,0xfe9bfe20,0xfff9001f,0x3fea0005,0x001dff15,0x007fff40, 0xfd87ffc4,0xffc8801f,0xf9003fff,0x54bff21f,0xf900dfff,0xfffb005f, 0x3f620003,0xfe81efff,0x007ffe2f,0x007fff90,0x1dffff10,0x205fff80, 0xf5003ffb,0xffff50ff,0xffffffff,0x54005fff,0x300005ff,0x90001dff, 0xffffffff,0x3ee001bf,0xffb0005f,0xff98000b,0x2005ffbe,0x05fffff9, 0xffbffd10,0xdff50007,0x801fff31,0xfffffff9,0x32003fff,0x00ffdcef, 0x07ffdc00,0xdcffb800,0x7ec003ff,0x3f20006f,0x001ffebf,0x007ffea0, 0xffcdffa8,0xfffe8804,0x200effff,0x3ff24ff8,0x1fffff52,0x9805ff90, 0x10001fff,0x3ffffffd,0x7fc5ffd0,0x3fe2001f,0xffd0003f,0xff80bff9, 0x00bfe05f,0xa887ffe8,0xfffdaaaa,0x00aaaaad,0x0003bfa0,0x00077ec0, 0x3fffffa2,0x06ffffff,0x8000bff0,0x40001ffe,0x00fffffb,0x3f67ffa0, 0x2ffd802f,0xd8003ffd,0x03ffb1ff,0xffffffa8,0x02ffffff,0x5dfffb10, 0x3ffd0000,0xfffd8000,0xffb0005f,0x3fa20005,0x40004fff,0xc8001ffe, 0x9006ffff,0xfffdffff,0x0ffec0bf,0x3fea5ff9,0xffc83fff,0x017fec02, 0xfffff500,0x8bffa0ff,0x2e001fff,0xf90004ff,0x80bff67f,0xff105fff, 0x3ffa0079,0x3ffee007,0x55440003,0x3ae00000,0x7fe4000c,0xfec9acff, 0x54402fff,0x7440000a,0xfe80005f,0x3ae001ff,0x80bdb12e,0x2aa22aa8, 0x4bfe6001,0xfd803ff8,0xeb99bdff,0x4000ffff,0xf500001a,0xf100003f, 0x40001fff,0x260005fd,0x40006fff,0x20002ff9,0xf001fffe,0x7ff44fff, 0x46ff980f,0x3e622ffc,0x2ffc85ff,0x000bba20,0x319fff90,0x20000003, 0x2a0005fe,0x00aaa22a,0x0bfff300,0xafffea98,0x7ffdc01a,0x01100003, 0xdf980154,0x3fe6006e,0xfff901ff,0x017b500d,0x00008800,0x000000c0, 0x00004400,0xff800110,0xffff106f,0x00088003,0x00004400,0x00000000, 0x00002200,0x01100000,0x20ffff80,0xfd80acca,0x417fe43f,0xffc85ffd, 0xd0000002,0x00001fff,0x0000c000,0x3ba20030,0x9ddd305e,0xfffffc80, 0x7fdc04ff,0xd930003f,0x219dffff,0x5d802ff9,0x3fa005f1,0x3fe203ff, 0x37ea01ef,0x6e54006e,0x00cdefff,0x7fff64c0,0x555301de,0x41555401, 0xeffffdc8,0x372a000c,0x00cdefff,0xc817ffe6,0x65402eff,0x0cdefffd, 0x7fee5400,0x7400cdef,0x774406ee,0x01bbba4e,0x5409ddd1,0xcdefffdc, 0x03777400,0x2213bba2,0xceffffdc,0x2fffec00,0x81fff300,0xffc82ffc, 0x532ffc86,0x55540155,0x3feaaa02,0x54c1aaef,0x2aaa00aa,0x3ffb2602, 0x26001def,0x1defffec,0x00dfff10,0x3ffff200,0x7dc04fff,0xfc8003ff, 0xffffffff,0x801fffcf,0x801fa8ec,0x9807fff8,0xf34d800a,0xfffb1003, 0x5fffffff,0x3ffff200,0x40dfffff,0xf303fffb,0xfff989ff,0x3fffffff, 0x7fffec40,0x02ffffff,0x0033fffe,0xffffd880,0x02ffffff,0xfffffd88, 0x202fffff,0x7c407fff,0x1fffe6ff,0x10dfff10,0xfffffffb,0x7fc05fff, 0x7ffc407f,0x7ffffcc6,0x203fffff,0x01effff9,0xfc86ffb8,0x87ffc82f, 0xfff72ffc,0x13ffe607,0xffffffe8,0x7ffdc3ff,0x09fff303,0x3ffffff2, 0x6400dfff,0xffffffff,0x7ffc40df,0x0acca886,0x32a15551,0x02ccffff, 0x001fffdc,0xffffffd1,0xffffffff,0x3ffea005,0xfff9800f,0x76400005, 0x74400fb8,0xffffffff,0x2205ffff,0xfffffffe,0x7c46ffff,0xfff906ff, 0x7ffffd43,0x2fffffff,0xfffffd10,0xbfffffff,0x3fffff60,0x3a2001bd, 0xffffffff,0x2205ffff,0xfffffffe,0xf05fffff,0xff880fff,0x01fffe6f, 0xe88dfff1,0xffffffff,0xff05ffff,0xfff880ff,0x3ffffea6,0x2fffffff, 0xfffffd10,0x85ffd809,0xffb82ffc,0xf12ffc87,0x3ff20dff,0xffff101f, 0x883fffff,0xff906fff,0xfffe883f,0xffffffff,0xffffd106,0xdfffffff, 0x4c6fff88,0xaafffffe,0x7ff40fff,0x3ffee007,0x3fff6003,0xffdb9bdf, 0x36005fff,0xa803ffff,0x00004fff,0x4027ffcc,0x9bdffffd,0x2ffffeba, 0x59ffff90,0x5ffffd93,0xe81fffd8,0x7ffec6ff,0xffeb99bd,0xfffd80ff, 0xfeba9bdf,0xff882fff,0xcfffffff,0x7fffec01,0xffeba9bd,0xfffb02ff, 0xfd7537bf,0xfff05fff,0x6fff880f,0xf101fffe,0xfffd8dff,0xfeba9bdf, 0xfff82fff,0x37ffc407,0x337bfffb,0x81ffffd7,0xffffffe8,0xfff881ef, 0xb82ffc84,0x2ffc87ff,0x3a07fff6,0x2aa206ff,0x0aacfffd,0xe81fffd8, 0xfffc86ff,0xffec9acf,0xfffc82ff,0xffec9acf,0x3ffe22ff,0x3ffffe66, 0x0fffdfff,0x7003fff4,0x2a007fff,0xf103ffff,0x1001ffff,0x00dfffff, 0x0007fff9,0x2e002a00,0x3603ffff,0x7cc0ffff,0xff901fff,0x3fffa8df, 0x3e27ffcc,0xfff106ff,0xffffb83f,0x3ffff603,0xffffe980,0x704fffff, 0x6c07ffff,0x7dc0ffff,0x3f603fff,0x7ffc0fff,0x37ffc407,0xf880ffff, 0x3ffee6ff,0x3fff603f,0x03fffc0f,0xff9bffe2,0xffff106f,0xd8effd83, 0x4c2fffff,0xffc83fff,0x42fff982,0x3fea2ffc,0x27ffcc3f,0x00fffd80, 0x261fffd4,0x7fcc4fff,0xfff901ff,0x1ffff98d,0x44dfff90,0x3ffa6fff, 0xfffb9adf,0x3fff40ff,0x07fff700,0x80ffffe0,0x03fffffd,0xffffffc8, 0x1fffe402,0x99710000,0x3fe01599,0xffe803ff,0x1ffff44f,0x83dfff10, 0x7fe46fff,0x17ffe61f,0x7c2effc8,0xfe803fff,0x3f6e04ff,0x5fffffff, 0x803ffff8,0x7fc4fffe,0xffe803ff,0x03fffc4f,0xff9bffe2,0x7ffc407f, 0x00ffffe6,0xff13fffa,0xfff880ff,0x40bfff36,0x7fc2effc,0x3fffee2f, 0x0bffea1f,0x7fc0732a,0x0bff21ef,0xffc8dfff,0xfffd001f,0x91bffe00, 0xffe83fff,0x3ffe203f,0x0ffffa1e,0x11efff88,0x3feadfff,0xffffb86f, 0x003fff40,0x3007fff7,0x7e40ffff,0x807fffef,0x5fffffff,0x027ffdc0, 0xffffd800,0x7c41efff,0xfa800fff,0x3ffe26ff,0x900a9807,0x7ff43fff, 0x0cffff86,0x7fffc400,0x6fffa800,0xfffda880,0x3fe23fff,0xffa800ff, 0x3fffe26f,0x6fffa800,0x2203fffc,0x3ffe6fff,0xb7ffc407,0x800ffff8, 0x7fc6fffa,0x7ffc407f,0x033fffe6,0x87fff100,0x2e7fffe9,0x70001fff, 0x3f2dffff,0x0fffe42f,0x7c00dffd,0xff9005ff,0x237ff43f,0x9807fff8, 0x3fffc40a,0x3e2054c0,0x9fff96ff,0x81ffff10,0x2e007ffe,0xfa803fff, 0xdff704ff,0x401ffff1,0xffecfffa,0x3ffea00f,0x2a008805,0xffffffff, 0x3ffe60ff,0x3fffe004,0x00bfff30,0x27fff300,0xfd83fff9,0x01bdffff, 0x004fff98,0x0003fffe,0x4cbfffd5,0x3e004fff,0xfff30fff,0x7fffc009, 0x101fffe0,0x7ffcdfff,0xb7ffc407,0x2004fff9,0x3fe0ffff,0x7ffc407f, 0x3fffff66,0xffd001bd,0xfffd883f,0x001fff71,0xcb7ffdc0,0x7ffcc2ff, 0x007fff33,0x4013ffe6,0xff33fff9,0x5fff987f,0x3ffe6000,0x3fe20005, 0x05fffb6f,0xfd03fffa,0x7fdc00ff,0xfffc803f,0xf0effa83,0x7ec03fff, 0x3fffb8ff,0x01bffe20,0xf882f7f6,0xfeb9aeff,0x3ffee3ff,0x3fffa003, 0x009fff51,0x5dbffa00,0xff880fff,0xcfffffff,0x07fff701,0xb8ffff40, 0x3e200edc,0x3ffee7ff,0x3fffa003,0x007fff71,0xff0ffff4,0xfff880ff, 0x101fffe6,0x3feedfff,0x3ffa003f,0x01fffe1f,0x7c4dfff1,0xffffffff, 0x3fff201c,0x97ffc42f,0x0000fffb,0x32dfffd1,0x6ffe82ff,0x2001fff7, 0x2003fffa,0xfff76ffe,0x04fffa81,0x13ffea00,0x6fff8800,0x3201fffd, 0x7ff40fff,0x3ffee007,0x2fffd803,0xfb07ffcc,0x3fe205ff,0x0dfff16f, 0x202ffff8,0x262ffff9,0x7fd40fdc,0x0bfff24f,0x92fffd80,0x00007fff, 0x3fa7ffee,0x3ffa605f,0x4fffffff,0x002fffc8,0x7ecbfff6,0x7ffc04ff, 0x00bfff27,0xf92fffd8,0x7ec005ff,0x1fffe2ff,0x7cdfff10,0x7fc407ff, 0x05fff96f,0xf17ffec0,0xff880fff,0x7fff4c6f,0x04ffffff,0x89fffff1, 0xfff30fff,0x3ff60003,0x05ff93df,0xffd3fff7,0x7ffdc00b,0x3ffee001, 0xfc85ffe9,0x320003ff,0x20003fff,0xffb6fff8,0x3fff603f,0x087ffec0, 0x01fffdc0,0xf317ffec,0xfffd83ff,0x47fff702,0x2a02fffe,0xfb00efff, 0xfa800fff,0x3fff64ff,0x3fff6002,0x007fff92,0x37ffe200,0xdb802fff, 0xffffffff,0x017ffec5,0x2e5fffb0,0xf700ffff,0x7ffecbff,0x3fff6002, 0x005fffb2,0xff17ffec,0xfff880ff,0x101fffe6,0x3ff6dfff,0x3ff6002f, 0x01fffe2f,0x2e0dfff1,0xfffffffd,0xffff305f,0x4dff93df,0xeb82fff8, 0x4fff882e,0x7c417fe4,0x02fffdff,0x003fff60,0xffdfff88,0x3fffc82f, 0x3fff2000,0x3fe20003,0x07fff76f,0xfb03fffa,0xb809ffff,0xfc803fff, 0x5ffd14ff,0x203fffd0,0x3ee0fffe,0x7ff405ff,0xfeb99bff,0x5cc03fff, 0x24fffffd,0x2003fffc,0xff71fffe,0x6c00009f,0x007fffff,0x7fffed44, 0x3fff23ff,0x3fffa003,0x9dffff11,0xffffb513,0x01fffe47,0x323fffd0, 0x3a003fff,0x3ffe1fff,0x37ffcc07,0xf980ffff,0x7fff96ff,0x0ffff400, 0xf980ffff,0x6d4406ff,0x03ffffff,0xffffffd1,0x2fff83ff,0xfa82ffc8, 0x17fe41ff,0x7fffffd8,0x037ff400,0x7ffffec0,0x09fff707,0x27ffdc00, 0xdfff1000,0x2a17ffea,0x7d40ffff,0x5c05ffff,0xfb803fff,0x3ffe8dff, 0x301ffff0,0xff88bfff,0x3fe600ff,0xffffffff,0xff9105ff,0x9fffffff, 0x0027ffdc,0x3ea1ffff,0x008805ff,0x4fffffa8,0x7ff54000,0x13ffee5f, 0x20ffff80,0xfffffffa,0x20efffff,0x2004fffb,0xff70ffff,0x7ffc009f, 0x01fffe0f,0x7fcbfff3,0x7ffcc07f,0x009fff75,0xff07fffc,0xfff980ff, 0x7ff54005,0x7ffdc05f,0xffd81fff,0xb82ffc83,0x2ffc87ff,0x9fffff50, 0x05fff800,0xfffffa80,0x0bfff504,0xfff50110,0xf101100b,0x3ffe2dff, 0xfffd99cf,0xfffc80ff,0x7ffdc05f,0xefffa803,0xff304ffd,0x3fff20ff, 0x03fffd82,0x7ffffec4,0xd105ffff,0xf37bffff,0x7ffcc9ff,0xffff3007, 0x4037ffc4,0x3e00bdfd,0x9701ffff,0x7fc401db,0x1fffe67f,0x43fffcc0, 0xfffffffc,0x7cc0dfff,0xff3007ff,0x3fffccff,0x47fff980,0x2600fffe, 0x3ffa5fff,0x3ffe600f,0x00ffff35,0xfd1fffe6,0x7fcc01ff,0x01db975f, 0x403fffc4,0x84ffffe9,0xffc85ffc,0xc87ffb82,0x3ffe02ff,0x3e6001ff, 0xff0004ff,0x3e203fff,0xdfd806ff,0x0dfff10b,0x2217bfb0,0x3fe66fff, 0xffffffff,0x033100ff,0xfff80000,0x3f604fff,0xffff05ff,0xffdddddd, 0x3fae00df,0x202effff,0x7c43fffc,0x3ffe24ff,0xfffe803f,0x017fffc5, 0x405ffff3,0x3606fffc,0x7fc04fff,0x3fffe27f,0x5fffe803,0xfffffb30, 0x3fe207df,0xffe803ff,0x3fffe25f,0x5fffe803,0x5017ffec,0x7fec9fff, 0x3ffea02f,0x07ffff14,0xd8bfffd0,0x3ea02fff,0x9fffb4ff,0x007fff80, 0x507fffee,0x5ff90fff,0xf90dff90,0x7ffe405f,0x7ffd4006,0xfff90002, 0x2ffff80d,0x8bfffe60,0x2602ffff,0xff12ffff,0xffffb8df,0x0fffcbff, 0x1002aa88,0x2e003555,0x2e05ffff,0xfa80ffff,0xffffffff,0x002fffff, 0x20077fb2,0xff987ffe,0x7fffdc4f,0x3ffff202,0x077ffd40,0x407fffd8, 0x2e03fffc,0xf700ffff,0xfffb8bff,0x3fff202f,0xdfec800f,0xffffb801, 0x3ffff202,0x17fffdc0,0x81ffff90,0x3a06fffc,0x3ff23fff,0x3fffa06f, 0x0bfffee3,0x40ffffc8,0x3a06fffc,0xfff73fff,0x3ffee01f,0x5c1aa985, 0xffe83fff,0x6417fe41,0x2ffc86ff,0x00ffff20,0x003fff90,0x00ffff20, 0x201dfff5,0x7d47fffd,0xffb00eff,0x37ffc4ff,0xc8e775c4,0xffa80fff, 0x7fff3007,0x7ffffc00,0x3fff662d,0xffffd03f,0xffffffff,0x36600bff, 0x7c00ffec,0x7fec0fff,0xffffe85f,0xffea98ac,0xfffd03ff,0xffd7337f, 0x7fc407ff,0x3fe200ff,0xda89ceff,0xfe83ffff,0xa98acfff,0x003ffffe, 0x005ffd9b,0x159ffffd,0x7ffffd53,0x33ffffa0,0xfffea98a,0xffff983f, 0xffeb99be,0x3ffe60ff,0xfeb99bef,0x7ff40fff,0xea98acff,0xf983ffff, 0xb99befff,0xf10ffffe,0x5139dfff,0x987ffffb,0x7fcc5fff,0x43ffa84f, 0xffd82ffc,0x102ffc86,0x8001ffff,0x10007ffe,0xd001ffff,0x7337ffff, 0xd07ffffd,0x7337ffff,0x447ffffd,0x6c006fff,0xfff507ff,0x0fffe600, 0x7ffffd40,0xffffffff,0xdfff106f,0x75555555,0x8001ffff,0x7ec03ff8, 0xffecbeff,0xfff985ff,0xffffffff,0x3fe606ff,0xffffffff,0xeb9985ff, 0xfa805fff,0xffffffff,0xf980efff,0xffffffff,0x0006ffff,0xff300dfb, 0xffffffff,0x7cc0dfff,0xffffffff,0x3606ffff,0xffffffff,0xfd84ffff, 0xffffffff,0xff984fff,0xffffffff,0x3f606fff,0xffffffff,0x7fd44fff, 0xffffffff,0xfff80eff,0xfffd99cf,0xfc8dfd02,0xfffb712f,0x4c5ff90b, 0x05fffeb9,0xfffdaca8,0x3ae66005,0xf3005fff,0xffffffff,0x3e60bfff, 0xffffffff,0x7fc45fff,0x19bdf56f,0x2a0dffd0,0xff3007ff,0xfff5007f, 0xfffffffd,0x7e407fff,0xffd803ff,0xf710403f,0xfff9803f,0xffeeffff, 0xffffb107,0x07ffffff,0xfffffb10,0x360bffff,0x01ffffff,0xffffff90, 0x401bffff,0xffffffd8,0x1003ffff,0x8027fd44,0xffffffd8,0x8803ffff, 0xfffffffd,0x6c403fff,0xffffffff,0xfd880dff,0xffffffff,0xffb100df, 0xffffffff,0xfffd8807,0xdfffffff,0xfffffc80,0x00dfffff,0xfffffff5, 0x7fdc0dff,0x7d4bff21,0xfc82ffff,0x3ffff62f,0xffe801ff,0x2003ffff, 0x1ffffffd,0x3fff6200,0x05ffffff,0x7ffffec4,0xf885ffff,0xffff16ff, 0xfffb3139,0x8027cc09,0xe800fda8,0xfffd51ff,0xf803bdff,0xfa800fff, 0x7fec06ff,0xd3005fff,0x3ea9ffff,0x3f6a01ff,0x01deffff,0x7ffff5c0, 0x3ff202ef,0x4c003fff,0xeffffffd,0x3ff6a003,0x001defff,0x3bffffee, 0x7fed4000,0x001defff,0x7ffffed4,0x3ae001de,0x2effffff,0xffffeb80, 0xb5002eff,0x3bdfffff,0x7fff5c00,0x4c02efff,0xeffffffd,0xffffb803, 0x7c00efff,0x54bff25f,0xf905ffff,0x7fffe45f,0xffff003f,0x64001bff, 0x003fffff,0xfffffd70,0x7f5c005d,0x002effff,0xffffffd8,0x500effff, 0x7d4003ff,0x205d1006,0x3ea00199,0x3fe006ff,0x332a02ff,0x988001bc, 0x33100000,0x0cc40000,0x1cdeda80,0x04cc4000,0x00cc4000,0x57999100, 0x03310000,0x00cc4000,0x04ccc400,0x09998800,0x00cc4000,0x04ccc400, 0x00998800,0xcdecb880,0x21dd5002,0x9bd32eeb,0x51775c03,0x20039bdb, 0x03cedca8,0x1cdeda80,0x03310000,0x00331000,0xfffffb00,0x4c01dfff, 0x3bea000e,0x00000001,0x800ffff6,0x0005fffc,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x40000000,0x9bceecc9, 0x09000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x99800000,0x19988000,0x00000000,0x99880062,0xccb80001, 0x8800000c,0x31000009,0x98800133,0x2a000099,0x4404c001,0x00620001, 0x02981a80,0x4cc00000,0x99700009,0x00000019,0x00000000,0x33310000, 0x00133333,0x77740000,0x27774406,0x000dff30,0x7fffffe4,0x20000002, 0x0005fffa,0x0fbbaa00,0x2a81a880,0xb8006fe8,0x40001fff,0x2000fffe, 0x000fffe9,0x8000fffb,0x004ffffb,0xfffec980,0x0002dfff,0x8005fff5, 0x8005fffd,0x2006ffe8,0x007f40fd,0xffffec88,0x3fa002df,0x90017e20, 0xfff71fff,0x3fffea03,0x7ffd4000,0xcffb805f,0xb8007f51,0x3e603fff, 0x01fff15f,0x7fe47ffa,0xffff5003,0x2005ffff,0xfff15ff9,0x07fff801, 0x2037ffc4,0x50004fd8,0x03999999,0x7e47ffa0,0xfff5003f,0x3a000001, 0x6f8005ff,0x7fd427cc,0x7ffdc002,0x3fea0001,0x3fea001f,0xfb000fff, 0x7cc000ff,0x002ffeef,0xfffffd70,0x5fffffff,0x2fffa800,0x3fffee00, 0x47dc003f,0xbf5001f9,0x2009fb57,0xfffffffc,0xa800efff,0x02ffddff, 0x7c7ffe20,0xfff102ff,0x7c400dff,0x203ffdef,0xfffffffa,0x7ff4000f, 0xebffc804,0x3fe602ff,0x2005ffbe,0xfffffffa,0x3ff2002f,0xf802ffeb, 0x7fc407ff,0x2a2a606f,0x26000a9a,0x4002a20a,0x5ffbeff9,0x027fdc00, 0x77fd4000,0xcefb8000,0xdff00ffd,0x1fffb800,0x07ffa000,0xfffffd00, 0x1fff6001,0x89ffe800,0x22000fff,0xabcffffd,0xfffedcaa,0xfff5000d, 0x3bfe2005,0x2000ffe8,0xe800be6c,0x400effff,0xffffffd8,0x0effffff, 0x4ffffc80,0xb97fe400,0x3ff603ff,0xb003ffc9,0x1ffd13ff,0x3f2abf20, 0x7d4005ff,0x3ffa005f,0xffb804ff,0x22000fff,0xaaaaaaaa,0x7fff4000, 0xffff004f,0x06fff880,0x03fb87f2,0x3fb87f20,0x3fffee00,0xffb8000f, 0x7f400000,0xf910000e,0x7e407dff,0x2aa6002f,0xff30000a,0xfff88005, 0x2a60009d,0x5510002a,0x800d54c3,0x002dfff9,0x200bfff5,0x9000aaa8, 0x13ba63dd,0x07eef880,0x001cb880,0x57dffff9,0xbffffd93,0x4000cc00, 0x13fa3ff8,0x3b63eea8,0x1554400d,0x0a603551,0x3fa00026,0x7ffcc005, 0x3fff6006,0x00000002,0x006fff98,0xf101fffe,0x075c0dff,0x75c005d5, 0xb000baa0,0x4c005fff,0x000ccc19,0x0000aa80,0xff300350,0x0003000d, 0xf1000110,0x0c0005ff,0x00060000,0x000fffa2,0x000fff62,0x80000000, 0x00000cc9,0x3ffffa80,0x03ffff20,0x00000000,0x00000000,0x00000000, 0x00000000,0xd101bbba,0x000009dd,0x4407fff8,0x3bba6fff,0x27774406, 0xe880dddd,0x000004ee,0x3e61fff1,0x0000007f,0xff800000,0x7f64c02f, 0x8801deff,0xceffffdc,0x1fff9800,0xffd97100,0x44005bff,0xdffffecb, 0x82ffd802,0x5550acb9,0x4403ffa3,0x5510acca,0x59951015,0xe82aaa21, 0x774406ee,0xacca884e,0x64155510,0xfe804fff,0x1bbba2ef,0x749ddd10, 0x774406ee,0x0355504e,0x03bbb200,0xd101bbba,0x777549dd,0xeeeeeeee, 0xeee886ee,0xddddd505,0xdddddddd,0x407fff8d,0xa806fff8,0xf000eeee, 0xff880fff,0x01fffe6f,0x7fcdfff1,0x7ffc407f,0xdddddd56,0xdddddddd, 0x0fff883d,0x1000fff3,0xdddddddd,0xdddddddd,0xbddd10dd,0x40bff900, 0xfffffffc,0xff300dff,0xffffffff,0x1fff9807,0xfffffb80,0x00efffff, 0x7fffffdc,0x500effff,0xfff989ff,0x4fff9fff,0xfd307ff3,0xff55ffff, 0xfffe981f,0x0fffaaff,0xf101fffe,0xffe98dff,0xfffaafff,0x003fffa0, 0x3fffc066,0xf9bffe20,0x7fc407ff,0x5fff886f,0x1fffd000,0x880ffff0, 0x3fee6fff,0xffffffff,0xff887fff,0xffff706f,0xffffffff,0x07fff8ff, 0x4037ffc4,0x003ffffd,0xf880ffff,0x1fffe6ff,0x7cdfff10,0x7fc407ff, 0xfffff56f,0xffffffff,0xfff885ff,0x000fff30,0xfffffff7,0xffffffff, 0xfff10fff,0x0fff700d,0xffffffd1,0x50dfffff,0xffffffff,0x4c05ffff, 0x7ec01fff,0xffffffff,0xfb00efff,0xffffffff,0xfd01dfff,0xeffff98d, 0x22ffffff,0x7ffcc6fd,0xffdfffff,0x3fffe60f,0xfffdffff,0x101fffe0, 0x7fccdfff,0xfdffffff,0xbfff10ff,0xffff0000,0x26fff880,0x7c407fff, 0xfff886ff,0xfffd0005,0x80ffff01,0x3ee6fff8,0xffffffff,0xf887ffff, 0xfff706ff,0xffffffff,0x7fff8fff,0x037ffc40,0x1bffffe2,0x203fffc0, 0x3fe6fff8,0x7ffc407f,0x101fffe6,0x3feadfff,0xffffffff,0x002fffff, 0xffff0000,0xffffffff,0x0fffffff,0x500dfff1,0xffc81fff,0xfec9acff, 0x7fec2fff,0xfeb99bdf,0xff500fff,0x7ffe401f,0xfecaabef,0xffc85fff, 0xecaabeff,0x7cc5ffff,0x37ffe63f,0x1ffffb11,0x3ffa3fdc,0xfffeabff, 0x3fffa0ff,0xffffeabf,0x01fffe0f,0x7f4dfff1,0xffeabfff,0xfff50fff, 0xfff00009,0x6fff880f,0xf101fffe,0xfff10dff,0x3ffa000b,0x07fff80f, 0x5337ffc4,0x95555555,0xf10bffff,0x2aa60dff,0xfcaaaaaa,0x7ffc5fff, 0x37ffc407,0x3fffff20,0x7fff802f,0xf37ffc40,0xff880fff,0x01fffe6f, 0x2a2dfff1,0xfffdaaaa,0x00aaaaad,0xffb80000,0xbfffe9cf,0xaaaaaaaa, 0x06fff882,0x261fff98,0xf901ffff,0x6fff8dff,0x03ffff10,0xfa81fff2, 0x3f203fff,0x3fea0fff,0x3ff203ff,0x87ff20ff,0xffa86ffd,0xa87fd47f, 0xffb86fff,0xdfff50ff,0x41ffff70,0x7c407fff,0xdfff56ff,0x21ffff70, 0x9703fffb,0x47999999,0x7c407fff,0x1fffe6ff,0x10dfff10,0x2000bfff, 0xff80fffe,0x7ffc407f,0x3ffe2006,0xfff880ef,0xfff10006,0x7fff81df, 0x037ffc40,0x3ffffffe,0x07fff805,0xff37ffc4,0xfff880ff,0x101fffe6, 0xfb80dfff,0xaaa803ff,0x00555501,0x7ec3fffa,0xf10001ff,0xff100dff, 0x1ffff47f,0x23dfff10,0x3205fff9,0xff982eff,0x3fff605f,0x2effe804, 0x2013fff6,0x3fa2effe,0x40bffe67,0x7fcc5fff,0x205fff90,0xff90fffe, 0x3fffa05f,0x101fffe0,0x3ff2dfff,0x1fffd02f,0x6c0ffff2,0x6fffffff, 0xf101fffe,0x3fffcdff,0x21bffe20,0x0005fff8,0xff01fffd,0xfff880ff, 0x3fffa006,0xdfff101f,0x3fffa000,0x07fff81f,0x5037ffc4,0xfffd9fff, 0x07fff801,0xff2fffc4,0xfff880ff,0x101fffe6,0xfb80dfff,0x7fc403ff, 0x0fffd05f,0x6c9fff50,0x10001fff,0x3e00dfff,0xffff14ff,0xff015300, 0x880019ff,0x101fffff,0x3001ffff,0x1ffff103,0x3fe03300,0xf81bff25, 0xb3fdc3ff,0x3f601fff,0x1fffb0ff,0xf83fff60,0x7fc407ff,0x01fffb6f, 0x7dc3fff6,0xfffb04ff,0x7fcdffff,0x7ffc407f,0x101fffe6,0xff10dfff, 0x3fa000bf,0x7fff80ff,0x037ffc40,0x02ffffd8,0x001bffe2,0x40bffff6, 0x7c407fff,0x3ff606ff,0x03fffb8f,0x2603fffc,0x3ffe5fff,0x37ffc407, 0xf880ffff,0x7fdc06ff,0x7ffc403f,0x00fffd05,0x7ec1fffd,0xf10001ff, 0x3fa00dff,0x0bfff35f,0xffffd800,0xf8801bdf,0x3ea01fff,0x540005ff, 0x80005fff,0x17ffa4ff,0x360fffcc,0x03fffa6f,0xfe87ffe4,0xfff900ff, 0x203fffc1,0xffd6fff8,0x3fff201f,0x20bfff50,0xfffccccb,0x101fffe6, 0x7ffcdfff,0x37ffc407,0x002fffc4,0xf80fffe8,0x7fc407ff,0xfffb806f, 0x7ffc404f,0x7ffdc006,0x1fffe04f,0x20dfff10,0xff16fff8,0xfffe80df, 0x97ffe600,0x7c407fff,0x1fffe6ff,0x80dfff10,0x4403fffb,0xffd05fff, 0x5fffa80f,0x000fffec,0x006fff88,0x3fea9ffd,0x7c40004f,0xffffffff, 0xffff101c,0x27ffdc09,0x3ffee000,0x7fc40004,0x540fffe2,0x27fc0fff, 0x3601fffb,0xfffb0fff,0x83fff601,0x7c407fff,0x1fffb6ff,0x443fff60, 0x8800ffff,0x3ffe6fff,0x37ffc407,0xf880ffff,0xfff886ff,0xfffd0005, 0x80ffff01,0x4c06fff8,0x8805ffff,0x26006fff,0x7c05ffff,0x7fc407ff, 0x7fff706f,0xb017fff4,0x7d403fff,0x1fffe4ff,0x7cdfff10,0x7fc407ff, 0x7ffdc06f,0x2fffc403,0x6c07ffe8,0x7fec1fff,0xffffffff,0xfff881ff, 0x27fff006,0x0003fffc,0xfffffe98,0xc884ffff,0xf902ffff,0x332e07ff, 0xf93ccccc,0x332e07ff,0x3e3ccccc,0x40fffe2f,0x7fec6ffd,0x407fff20, 0xff90fffe,0x3fffa03f,0x101fffe0,0x3ff2dfff,0x1fffd01f,0x4027ffec, 0x3fe6fff8,0x7ffc407f,0x101fffe6,0xff10dfff,0x3fa000bf,0x7fff80ff, 0x037ffc40,0x01dffff1,0x00dfff10,0x03bfffe2,0x880ffff0,0xffd06fff, 0x2fffdc1f,0x40dfff90,0x3fe3fffe,0x7ffc407f,0x101fffe6,0xfb80dfff, 0x7fc403ff,0x0fffd05f,0x6c37ffcc,0xffffffff,0xf881ffff,0xfff006ff, 0x00ffff25,0xfffdb800,0x105fffff,0x3f20dfff,0xfffb03ff,0x3f2dffff, 0xfffb03ff,0x7fcdffff,0x2617ffa3,0x3fee5fff,0x42fffdc4,0xf70ffffa, 0xfff50bff,0x03fffc1f,0x7ddbffe2,0xfffa85ff,0x3fffe60f,0x3fff2203, 0x101fffe6,0x7ffcdfff,0x37ffc407,0x002fffc4,0xf80fffe8,0x7fc407ff, 0x3fffa06f,0xfff1000f,0x3fffa00d,0x7fff800f,0x437ffcc0,0x7c45fff9, 0xff300fff,0xd7337dff,0x7fc3ffff,0x7ffcc07f,0x301fffe6,0xfb80dfff, 0x7fc403ff,0x0fffd05f,0x6c17ffec,0xffffffff,0xf881ffff,0xff8806ff, 0x09fff71f,0xfb510000,0x207fffff,0xff507ffb,0x3fff609f,0xff56ffff, 0x3fff609f,0x3fa6ffff,0x883fff65,0xff74fffe,0xdffff01d,0xfffffb35, 0x577fffc1,0x0fffffd9,0xf301fffe,0x7fffcdff,0xffffd9ae,0x7fffec0f, 0xffba89ad,0x3ffe6fff,0x37ffcc07,0xf980ffff,0xfff886ff,0xfffd0005, 0x80ffff01,0xfb06fff9,0x44005fff,0xfd806fff,0xff002fff,0xfff980ff, 0x82fffc85,0x2e03fffd,0xffffffff,0x7fc2ffff,0x7ffcc07f,0x301fffe5, 0xfb80bfff,0x7fc403ff,0x0fffd05f,0x267fffe2,0xafffe999,0x19999999, 0x00dfff10,0x3ea1fff5,0x008805ff,0x3fffaa00,0x01fff305,0x2e0bfff1, 0x6fffcccc,0x2e0bfff1,0x6fffcccc,0x7fcc3fee,0xffffccff,0x00efffff, 0xfffffff7,0x5c1fffff,0xffffffff,0x3fe0ffff,0x7ffcc07f,0x3ffffee5, 0x0fffffff,0xffffffd8,0xffffffff,0x301fffe3,0x7ffcbfff,0x2fffcc07, 0x002fffc4,0xf80fffe8,0x7fcc07ff,0xffffb85f,0x7ffc4003,0x7fffdc06, 0x3fffa003,0x17ffe600,0x3bbbfffe,0x06fffeee,0x7fffffec,0xfe84ffff, 0x3fe600ff,0x03fffa5f,0x405fff98,0x4403fffb,0xffd05fff,0x3ffff20f, 0xffffffff,0xff10001f,0xdff700df,0x4037ffc4,0xb970bdfd,0x7ffc401d, 0x03fff307,0x2003fffa,0x3fa6fff8,0xff8800ff,0xb93fe26f,0xfdffffff, 0x805fffff,0xbffffffb,0x7dc0fffc,0xfcbfffff,0x3fffa0ff,0x17ffe600, 0x7ffffff7,0x3201fff9,0xffffffff,0x7f40dfff,0x3fe600ff,0x03fffa5f, 0x885fff98,0xa9885fff,0x0fffe80b,0x200fffe8,0x7d45fff9,0x88005fff, 0x3ea06fff,0x6c005fff,0x3ea02fff,0x7ffd44ff,0xffffffff,0x64c02fff, 0x2effffff,0x405fffb0,0x3f64fffa,0x3fea02ff,0x7ffdc04f,0x2fffc403, 0xf887fff8,0xffffffff,0x001fffff,0x00dfff10,0xfff87ffb,0x3ffe602f, 0x09fffb2f,0xf307fff8,0x3ff603ff,0xfff8804f,0x013fff66,0xfb1bffe2, 0x6ff6cc3f,0x837bfd52,0xeeca8099,0x20fff91c,0xf91ceeca,0x2fffd8ff, 0x213ffea0,0xf91ceeca,0xfeb980ff,0x01bdffff,0x5405fffb,0x3ff64fff, 0x3ffea02f,0x85fff884,0xfe83fffb,0x5fffb07f,0x127ffd40,0x000dffff, 0x441bffe2,0x8006ffff,0x3a06fffc,0x7ff43fff,0xffffffff,0x2005ffff, 0xfc801cfc,0x3ffa06ff,0x1bfff23f,0x403fffe8,0xf803fffb,0xfff886ff, 0xfffffc87,0xffffffff,0xff10001f,0x1fff00df,0x00efffa8,0x7dcffffb, 0xff700fff,0x3ffe20bf,0x7ffff501,0x37ffe440,0x407ffff5,0x446fffc8, 0x40001fff,0x4002ffe8,0xd8007ffd,0x7ffe47ff,0x0ffffa06,0x00fffb00, 0x4013ffaa,0x3a06fffc,0x3ff23fff,0x3fffa06f,0x84fff883,0x7c45fff9, 0xfff906ff,0x9ffff40d,0x00ffffe8,0x0dfff100,0x01ffffd1,0xdffff300, 0xfffd7337,0x77ffc41f,0xbaaaaaaa,0x9000ffff,0x3fe6007f,0xeb99beff, 0x3e60ffff,0xb99befff,0x400ffffe,0xe803fffb,0x7ff41fff,0x7fffc47f, 0xeaaaaaab,0x10001fff,0xf980dfff,0xffffd04f,0xfffd7337,0x7fffc47f, 0xffda89ce,0xfff103ff,0x7fffec07,0xffca89ad,0x7fec6fff,0xca89adff, 0xa86fffff,0x50003fff,0x77d4bfff,0x4dffd04d,0xfd04defa,0xffff98df, 0xffeb99be,0x9bdf50ff,0x401bffa0,0x804ffecd,0x9beffff9,0x0ffffeb9, 0x2fbfffe6,0xffffeb99,0x84fffa80,0xa9dffff8,0xf304fffe,0x7337dfff, 0x321ffffd,0xaaacffff,0x0aaaaaaa,0x6437ffc4,0xaaacffff,0x0aaaaaaa, 0x7fffffec,0x44ffffff,0xd803fffc,0xfb003fff,0x7ffec009,0xffffffff, 0xffffd84f,0xffffffff,0x3fffb804,0xdffffc80,0x47fffffd,0x7405fffb, 0xaaaabfff,0x440aaaaa,0x7e406fff,0xffff300f,0xffffffff,0xfffff50b, 0xdfffffff,0x67fffc01,0xffffe882,0xffffffff,0x7ff443ff,0xffffffff, 0xf703ffff,0x20359dff,0xdfffda98,0x33fffe20,0x4fffca89,0x273fffe2, 0x84fffca8,0xfffffffd,0x224fffff,0xa89cffff,0x8004fffc,0xffb007fd, 0xffffffff,0xfffb09ff,0xffffffff,0xfffdc89f,0xffff903f,0x01dfffff, 0x7fffffec,0x24ffffff,0xfffffffd,0xffffffff,0x437ffc43,0xfffffffd, 0xffffffff,0x7fffec43,0x0dffffff,0x4007fffc,0x7006fffa,0x401759ff, 0xffffffd8,0x880dffff,0xfffffffd,0xb800dfff,0xe8803fff,0xcdffffff, 0x7fff47ff,0x7ffff402,0xffffffff,0x37ffc42f,0x8809ff10,0xfffffffd, 0x3ff205ff,0xffffffff,0x7ffe400d,0xfff900ff,0xffffffff,0x7ffe401b, 0xffffffff,0x7ff4c00d,0xfddeffff,0x03ffffff,0xfffffffb,0xfd81ffff, 0xffffffff,0xffd880ff,0xffffffff,0x7fffec0d,0x0fffffff,0x1bfa6080, 0x7fffec40,0x0dffffff,0xfffffd88,0x40dfffff,0x01fffffe,0xffffffd1, 0xfd8803ff,0xffffffff,0x3fff60df,0xffffffff,0x7c43ffff,0xfffd86ff, 0xffffffff,0xd703ffff,0x5dffffff,0x00dfff50,0x4017fffc,0x01fffff8, 0xfffffeb8,0xfeb802ef,0x02efffff,0x00fffee0,0x9f7ffec4,0x3fea7ffb, 0xfffe806f,0xffffffff,0x7ffc42ff,0x007fee06,0x7fffff5c,0xffd9802e, 0x003effff,0x01ffffd1,0x7ffffe4c,0x93001cdf,0x9bffffff,0xffda8003, 0xffffffff,0x36200bef,0xffffffff,0xfffd881e,0x01efffff,0x7fffff5c, 0xffb102ef,0x3dffffff,0xfffff300,0xfeb8003f,0x02efffff,0xfffffeb8, 0xfff882ef,0xffc803ff,0x2002efff,0xffffffeb,0xffffd82e,0xffffffff, 0x7fc43fff,0xffffd86f,0xffffffff,0x4c403fff,0x7fec0099,0x3ff2003f, 0x9b71005f,0x99988005,0x33310000,0x3fee0001,0x0098003f,0x007fffd0, 0xfffffffd,0x85ffffff,0x3606fff8,0x3310004e,0x04cc4000,0x1dd97000, 0x002a6200,0x002a6200,0x6e654400,0x001bccee,0x66f7664c,0xeecc9802, 0x4c4002cd,0x32600099,0x002cdeec,0x002f3322,0x01333100,0x02666200, 0x037bb910,0x0009a880,0x00266620,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00019997,0xffffffe8,0x7fc4006f,0xffe8000e, 0x9ffa801f,0xfd800ffa,0x00bff51f,0x001ccca8,0x00000000,0xb0000000, 0xdddddddd,0x400179dd,0x00001998,0x3baa0000,0x3a2000ee,0x800004ee, 0x000000b8,0x88000000,0x36014c0a,0x80000eee,0x99999998,0x04cc4001, 0x44001331,0x4000ffff,0x06660999,0xddddb500,0x03dddddd,0x00000000, 0x3ffee000,0x7f40004f,0x06ffffff,0x80027f40,0x2002fff9,0x001ffffb, 0xfff3fff1,0x7ffcc001,0xf70000ef,0xf70007ff,0x017fe67f,0x0ffff400, 0x3fffffe0,0xefffffff,0x1fff9001,0xdfff1000,0xffd80001,0x3e2003ff, 0x800005ff,0xfc8002fb,0xffd002ff,0x000fff23,0x2af7ffea,0x7fff407e, 0xffc80000,0x00ffffff,0xfd93ff20,0x3ff6003f,0x7fc006ff,0x01fff12f, 0xffffff30,0x3fffffff,0x3e69ff70,0xffe8806f,0x3000000f,0x05ffbdff, 0x66665c00,0xa9803ccc,0x000a89a9,0x30017fec,0x01555555,0x3ffffea0, 0x6fff4002,0x320004ff,0xfd0006ff,0x001fff5f,0x03fff500,0xfffffff0, 0xffffffff,0x1fff9003,0x1fff7000,0xfff88000,0x3e2006ff,0x800005ff, 0xff88007d,0x3fe6002f,0x0005ffbe,0xfffffffd,0x0fffe80b,0xfffc8000, 0x000fffff,0xffd93ff2,0x99ff7003,0x7fc009ff,0x01fff12f,0xfffffe88, 0xffffffff,0xfd5ffb01,0x3fa2003f,0xd000003f,0x1fff13ff,0x40000000, 0x00fee1fc,0x4003ff98,0x00fee1fc,0x004fffc8,0xffd9ffe4,0x3ff60002, 0xfff88002,0xb00002ff,0x3fe005ff,0xccbaaaff,0x804ffffd,0x8000fffc, 0x80001ffe,0x2ffffffc,0x0bfff100,0x00bf0000,0x0007ff90,0x01fffff7, 0x2a2bf100,0x7f400cfd,0x980000ff,0x2aaaaaaa,0xb27fe400,0xff3007ff, 0x800fff4d,0xfff12fff,0xffffb801,0xffdcefff,0xfff100ce,0xf88007ff, 0x8800007f,0x06aa61aa,0x260ccc00,0x20eb8019,0x199802ea,0x75c00ccc, 0x2600baa0,0x800ccc19,0x0aaa22aa,0x00dfb000,0x017ffea0,0x017fcc00, 0xb80ffff0,0xa9807fff,0xffa8002a,0xfff00001,0x200bffff,0x0005fff8, 0x2001fd40,0x20004ff8,0x0002fffd,0xfe800220,0x800000ff,0x00000008, 0x40000000,0x7fec0008,0xf74fffff,0xfff500bf,0x3fe6000b,0x00000003, 0x1fff1000,0x3ba1ffe6,0x7774406e,0x987ffc44,0x6eee87ff,0x22777440, 0xff30fff8,0x0000000f,0x00000000,0x3e000000,0xfff807ff,0x0000001f, 0x7fd40000,0x00fffecf,0x515fff88,0x73001599,0x0003fd99,0x00000000, 0xdfffb950,0x7ff4019b,0xca80000f,0x0cdefffd,0x20377740,0x3ba4eee8, 0x7774406e,0x3ff72a04,0x7c00cdef,0x4fffffff,0x0000bff7,0x32000000, 0xdd301eee,0x776c09dd,0x30fff886,0xffff0fff,0x46fff880,0xff30fff8, 0x80ffff0f,0x7c46fff8,0x0fff30ff,0x300bddd9,0x5003dddd,0xb001dddd, 0xdddddddd,0x000179dd,0x001dddd5,0xff00ffff,0x7776c1ff,0xeeeeeeee, 0x3bbb64ee,0xceeeeeee,0x3ff6000b,0x03fffb8f,0xfadfff88,0x101effff, 0xdffffffb,0x0bddd903,0x23dddd30,0xeeeeeeed,0xb1001ccd,0xffffffff, 0x3ffa05ff,0x3620000f,0xffffffff,0x3ffe02ff,0x37ffc407,0xf880ffff, 0xffd886ff,0xffffffff,0x3ffffa02,0xbff74fff,0x401eeed8,0xdddb4eed, 0xdddddddd,0x7fe409dd,0xffff703f,0x1bffe20f,0x7cc3ffe2,0x07fff87f, 0x2237ffc4,0xfff30fff,0x880ffff0,0x7fc46fff,0x30fff30f,0xe807ffff, 0xfb004fff,0xff007fff,0xffffffff,0x8003dfff,0x803ffffd,0x7d407fff, 0x7fffc7ff,0xffffffff,0x3fffe5ff,0xffffffff,0xff8801ef,0x0dfff16f, 0xffffff10,0x83ffffff,0xfffffff8,0x7fcc1fff,0x7ff403ff,0x3ffffe4f, 0xcfffffff,0x3fffa200,0xffffffff,0x0fffe85f,0xfffd1000,0xffffffff, 0x1fffe0bf,0x7cdfff10,0x7fc407ff,0x7fff446f,0xffffffff,0xffffb05f, 0x3fee9fff,0x02ffffc5,0x7ffdbffa,0xffffffff,0x3ea05fff,0xfffd05ff, 0xfff501ff,0x7fc00009,0x7ffc407f,0xfff00006,0x6fff880f,0x3fee0000, 0xfff700ff,0xfff1001f,0xfff00dff,0xffffffff,0x2003ffff,0x06fffff8, 0xaaaffff8,0xffffdcba,0x7fffffc3,0xffffffff,0x3fffffe5,0xffffffff, 0x7ffdc01f,0x00bfffa3,0x5dfffff1,0xd8dffff7,0xffdcffff,0xfffb86ff, 0xffff700f,0x7fffffc1,0xffffffff,0xbffffb01,0xfffd7537,0x0fffe85f, 0xffffb000,0xffd7537b,0xffff05ff,0x26fff880,0x7c407fff,0x7ffec6ff, 0xfeba9bdf,0xffa82fff,0xf74fffff,0xfffff8bf,0x7dbffa02,0xffffffff, 0x205fffff,0xf887fff8,0xc82fffff,0x00002fff,0xf101fffe,0x20000dff, 0x7c407fff,0x400006ff,0xf884fffe,0xf9002fff,0x805fffff,0xbaaaffff, 0x4ffffdcc,0xfffff900,0xffff805f,0xffffffff,0xffff85ff,0xaaaaaaaa, 0x3fffe1aa,0xfdccbaaa,0x7f404fff,0x3ffee0ff,0x7fffc405,0x32fffd83, 0x6ff4bfff,0xffe81fff,0xffff884f,0x557fffc2,0xffffeccc,0x3ffffb85, 0x83ffff60,0x8000fffe,0x203ffffb,0x7c0ffffd,0x7fc407ff,0x01fffe6f, 0x7dcdfff1,0x3f603fff,0xffc80fff,0xff74ffff,0xffffff8b,0x3edffd00, 0xaaaaafff,0x401aaaaa,0x7d40fffe,0xe85fffff,0x55540fff,0x7c555501, 0x7fc407ff,0x406aaa6f,0x3ffe2aaa,0x37ffc407,0x2aa03555,0xffff982a, 0x02fffe41,0xfffffff0,0x07fff80b,0x803fffdc,0x5fffffff,0x7fffffc0, 0x2effffff,0x000ffff0,0xf701fffe,0x7fcc0fff,0x7fffc45f,0x1fffe200, 0xfba7ffcc,0x539f12ff,0x7fffcc03,0x42fffe41,0x3ea07fff,0x7ffc2fff, 0xfffe803f,0x003fffa4,0x00ffffe0,0xff13fffa,0xfff880ff,0x101fffe6, 0x7ffcdfff,0xfffe803f,0xffffd504,0xff17fee9,0x3a09ffff,0x0ffff6ff, 0x7ffe4000,0x7f7ffe42,0x46fff87f,0xfd05fff8,0x03fffcff,0x7c5bffe2, 0xfffd05ff,0x2203fffc,0xfff16fff,0x41fffa0b,0x3e66fffc,0xf5000fff, 0x1fffd9ff,0x403fffc0,0x5401ffff,0xfffecfff,0x3bfffe00,0x03ffffee, 0x8003fffc,0xff807fff,0xfff901ff,0x07fffb05,0x882fffc4,0xfff95fff, 0xc800bee1,0x3fe66fff,0x7fff80ff,0x137ffdc0,0x5001ffff,0x7ff4dfff, 0x7fc4000f,0xffa800ff,0x03fffc6f,0xff9bffe2,0x7ffc407f,0x01ffff16, 0x80dfff50,0xff74ffd8,0xffffff8b,0xf6ffe81f,0x40000fff,0x7f44fffa, 0x20fffbdf,0x7c44fff9,0xfffd05ff,0x2203fffc,0xfff16fff,0xf9fffa0b, 0x7fc407ff,0x0bfff16f,0x7c41fffa,0xfffb2fff,0x7ffec007,0x203fffb8, 0xff807fff,0x7fec00ff,0x03fffb8f,0xff51fffe,0x7ffc09ff,0xffff0007, 0x01ffff00,0x3bbbfffe,0x06fffeee,0xf817ffe2,0x4fffd6ff,0x7fc4007d, 0x7fffb2ff,0x201fffe0,0xff30ffff,0x7ffc009f,0x01fffd0f,0x04fff980, 0xf83fffe0,0x7fc407ff,0x01fffe6f,0x3e6dfff1,0x3fe004ff,0x7fec00ff, 0xff8bff74,0xe86fffff,0x0ffff6ff,0x7ffc4000,0x26fffe25,0x3fee2fff, 0x2fffc42f,0x3fe7ffe8,0x7ffc407f,0x20bfff16,0x3ffe7ffe,0xb7ffc407, 0xfd05fff8,0x7ffd40ff,0x006fffaf,0x7c5bffe2,0x3ffe06ff,0x3fffd407, 0x45bffe20,0x3fe06fff,0xffffa87f,0x00ffff04,0x501fffe0,0x3ea0ffff, 0xffffffff,0x102fffff,0x7fc0dfff,0x21fffb6f,0xffa8005f,0x06fffaff, 0x3601fffe,0xfff71fff,0x7fff4007,0x001fffd1,0x003fffb8,0xff87fffa, 0x7ffc407f,0x101fffe6,0x3feedfff,0x3ffa003f,0xa7fec01f,0x7ffc5ffb, 0x743fffee,0x0ffff6ff,0x7fff8000,0x7fc7ffea,0x03fff24f,0x3a0bfff1, 0x1fffe7ff,0x22dfff10,0xffd05fff,0x203fffcf,0xff16fff8,0x1fffa0bf, 0xffffffb0,0x7fdc003f,0x0bfffa3f,0x5557fffc,0xffffdcba,0x1fffdc03, 0x3e05fffd,0xfff907ff,0xfffff05f,0xffffffff,0xaaffff8f,0xfffdcbaa, 0xffffd03f,0xffffffff,0x3fe20bff,0xfff880ff,0xf53fff74,0x20026a27, 0xfffffffd,0x01fffe01,0x7e4bfff2,0x3f6002ff,0x1fffd2ff,0x2fffc800, 0x8bfff600,0x7c407fff,0x1fffe6ff,0x32dfff10,0x36002fff,0x7ec02fff, 0xf8bff74f,0xffffadff,0x7fdbffa0,0xffffffff,0xfb007fff,0x9fff23ff, 0x3ffa7ffd,0x05fff887,0x7ffcfffd,0xb7ffc407,0xfd05fff8,0x03fffcff, 0x7c5bffe2,0xfffd05ff,0xfffff880,0x7ff4004f,0x17ffee0f,0x7ffffffc, 0x5fffffff,0x20fffe80,0xff05fffb,0x7fff40ff,0x7ffffc0f,0xffffffff, 0x7fffffc7,0xffffffff,0x5dfff105,0xf7555555,0xff101fff,0xfff703ff, 0x333ffe67,0x07fff70f,0xffffff88,0x03fffc04,0xfd9fffe4,0x3f6002ff, 0x1fffd2ff,0x2fffd800,0x8bfff600,0x7c407fff,0x1fffe6ff,0x36dfff10, 0x36002fff,0x7ec02fff,0xf8bff74f,0x9fffb5ff,0xfffb7ff4,0xffffffff, 0xff7007ff,0xb97ffa5f,0xfff88fff,0x05fff885,0x7ffcfffd,0xb7ffcc07, 0xfd05fff8,0x03fffcff,0x7c5bffe6,0xfffd05ff,0xfffff700,0x7ffcc001, 0x07fffc45,0x7ffffffc,0x02efffff,0x445fff98,0xff80ffff,0x3ffe607f, 0x7ffffc5f,0xffffffff,0x7fffffc7,0x2effffff,0x00ffff20,0x220ffff6, 0x2a0effff,0x3fe0ffff,0xfff36fff,0xfff7003f,0xfff801ff,0x4fffb807, 0x4007fff9,0xffd1fffe,0x5555557f,0x7ffe4555,0x3fffa003,0x301fffe1, 0x7ffcdfff,0xb7ffcc07,0x2003fffc,0x6c01fffe,0x8bff74ff,0xfff15fff, 0x7dbffa3f,0xffffffff,0x3007ffff,0xfff19fff,0x557ffcc7,0xff883fff, 0x4fffd05f,0x7cc07fff,0xbfff15ff,0xff9fffa0,0x7ffcc07f,0x20bfff15, 0xfd007ffe,0xfc8005ff,0xfffd82ff,0xeeffff83,0x003ffffe,0x360bfff2, 0xfff83fff,0x7fffe407,0x267fffe2,0x19999999,0x7777fffc,0xf803ffff, 0xfa800fff,0xfff886ff,0xfffeefff,0x7fffdc4f,0x05ffffef,0x00bfffa0, 0x3201fffe,0xfff73fff,0x7fffc009,0xffffffd0,0x1fffffff,0x8013ffee, 0x3fe0ffff,0x7ffcc07f,0x301fffe5,0x3feebfff,0x3ffe004f,0xa7fec00f, 0x7ffc5ffb,0x75bffee5,0x3ffff6ff,0x33333333,0x77ffc003,0x7fc1fffa, 0x81fffbcf,0xfd05fff8,0x07fff4ff,0x22bfff30,0xffd05fff,0x007fff4f, 0x3e2bfff3,0xfffd05ff,0x07fff600,0xddffff00,0xdfffdddd,0xfa8ffff0, 0xff004fff,0xddddddff,0xfff0dfff,0xdfffd00f,0x8003fffc,0x7fd47fff, 0x3fea04ff,0x3ffe006f,0x77ffc42f,0xeffffffe,0xfffffa80,0x2000efff, 0xf801fffd,0xffd807ff,0x0ffff32f,0xe9fffe60,0xffffffff,0xf30fffff, 0x3e600fff,0x7fff47ff,0x97ffe600,0x2600fffe,0xfff35fff,0x3ffe600f, 0x74ffd807,0x5fff8bff,0x7f5ffff4,0x00ffff6f,0xbfffb000,0xdff90dff, 0x3e20fffb,0xffff05ff,0x5017ffec,0x3fe29fff,0x4ffff05f,0x2a02fffd, 0xfff14fff,0x01fffe0b,0x000fffec,0xfffffff5,0x5fffffff,0xfa87fff8, 0x7d404fff,0xffffffff,0x7c2fffff,0xff9807ff,0x0ffff4ff,0x21fffe00, 0xb04ffffa,0x64007fff,0x7fc45fff,0x9ffff95f,0xfffffa80,0xffd8003f, 0x7fff801f,0x11fffe80,0xd007ffff,0x7ff4bfff,0xffffffff,0xfff10fff, 0xfffd007f,0x02fffd8b,0xfd93ffea,0x3fea02ff,0x7ffff14f,0x0bfffd00, 0x3ee9ffb0,0x22fffc5f,0xfffffff9,0x000ffff6,0xfffff700,0xffff509f, 0x7ffc0bff,0x27fff886,0x3a06fffc,0x3ffe3fff,0x27fff886,0x3a06fffc, 0x3ffe3fff,0x07fff886,0x003fffb0,0x7ffffff4,0xffffffff,0xc83fffc5, 0x3a02ffff,0xffffffff,0x05ffffff,0x00137b90,0x2000ffff,0xff907fff, 0x800005ff,0xfff104fb,0xf100198b,0x40001339,0xf801fffd,0x7fd407ff, 0x7fffdc7f,0x3ffff202,0x02b36a00,0x0bfffee0,0x40ffffc8,0x3a06fffc, 0x3ff23fff,0x3fffa06f,0x0bfffee3,0x00ffffc8,0xff74ffd8,0xc85fff8b, 0xf6ffffff,0x00000fff,0x5ffffff3,0xffffff10,0x0ffff407,0xf99ffffa, 0xb99befff,0x3a0ffffe,0x7ff41fff,0x3fffe67f,0xffeb99be,0x3fffa0ff, 0x03ffff41,0x001fffd8,0x555dfff1,0xfff75555,0x03fffc1f,0x101ffffd, 0x5555dfff,0xffff7555,0x9ffff001,0x00ffff00,0xe81fffe0,0x0000ffff, 0x7c40ff20,0x2e0005ff,0xfb00001f,0xfff003ff,0x7fff440f,0xcffffe82, 0xfffea98a,0x7ffe403f,0xfffe800f,0xfea98acf,0xff983fff,0xeb99beff, 0x3e60ffff,0xb99befff,0x740ffffe,0x98acffff,0x03ffffea,0x3ee9ffb0, 0x42fffc5f,0x6ffffff8,0x0000ffff,0xffffff10,0x3ffffa01,0x3fff201f, 0xfffffddf,0x7ffffec7,0x4fffffff,0x6effffe4,0x6c7fffff,0xffffffff, 0x7e44ffff,0xfffddfff,0xffb007ff,0x3ff2003f,0xfffd803f,0x981fffe3, 0xfc85ffff,0xffd803ff,0x3ff2003f,0x57fffc00,0xaaaaaaaa,0x81fffe2a, 0x005ffff9,0x4417f600,0x20005fff,0x3600007d,0xff801fff,0xcaaaaaff, 0xf306ffff,0xffffffff,0x400dffff,0xf9804ff9,0xffffffff,0x3606ffff, 0xffffffff,0xfd84ffff,0xffffffff,0xff984fff,0xffffffff,0x36006fff, 0x8bff74ff,0xff505fff,0x3ffedfff,0xaaaaaaaf,0x3a002aaa,0x3206ffff, 0x4407ffff,0xdffffffe,0x7ec47ffc,0xffffffff,0x7ff440df,0xffcdffff, 0x7fffec47,0x0dffffff,0x7fffff44,0x007ffcdf,0x2003fffb,0xa800ffff, 0x3ffe6fff,0x7fffe407,0x007fffc2,0x1037ffd4,0x7c037f4c,0xffffffff, 0xf0ffffff,0xffc80fff,0x700002ff,0x221759ff,0x10005fff,0x6c0000bf, 0xff801fff,0xffffffff,0x2201ffff,0xfffffffd,0x10403fff,0x22003ff7, 0xfffffffd,0x6c403fff,0xffffffff,0xfd880dff,0xffffffff,0xffb100df, 0xffffffff,0x4ffd8007,0xfff8bff7,0x3ffff605,0xfffffff6,0xffffffff, 0x3fff2001,0x3ffea04f,0xffd8805f,0x0fff73ef,0x3fffffae,0x3f6202ef, 0xfff73eff,0x3ffffae0,0x36202eff,0xff73efff,0x3fff600f,0x6fffa801, 0x4bfffe00,0xfe807fff,0x3ffea6ff,0x3fffe006,0xfffff882,0xffff801f, 0xffffffff,0xffff0fff,0x0dfffd00,0x3ffe2000,0xbfff11ff,0x00bea000, 0x1fffd800,0xffffff80,0x1dffffff,0xffffb500,0xf9003bdf,0x000bffff, 0xdfffffb5,0x7f5c003b,0x02efffff,0xfffffeb8,0xfb5002ef,0x03bdffff, 0x2e9ffb00,0x2fffc5ff,0x2dffff10,0xffffffff,0x0fffffff,0x5ffff500, 0x1ffffc40,0x80002600,0x80009998,0x26200009,0x09800099,0xfffd8000, 0x3fffd801,0x57fff200,0xf9807fff,0xfffb4fff,0x7ffe4007,0x17999905, 0x3ffffe00,0xffffffff,0x0ffff0ff,0x09ffff30,0x336e2000,0x000d5542, 0x40000130,0xf801fffd,0xefffffff,0x220002ce,0xcca80019,0x880001cc, 0x98800019,0x31000099,0x88000133,0xa9800019,0xf855511a,0x7fdc05ff, 0xffffff6f,0xffffffff,0x0000001f,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x1eeed800,0x002776c0,0x00000000,0x0a982a80,0xdddddd50,0x3bbbbb63, 0xeeeeeeee,0x803bbb64,0x00deeee9,0x9ddd0000,0x02777440,0xa8000000, 0xd1005fff,0xdd0007dd,0x2009dddd,0xee85eee8,0x44eee84e,0x6401eeeb, 0xd70004cc,0x8002ea83,0x0006fff9,0x19982662,0x99998800,0xe8001999, 0x4c401fff,0x01999999,0x04cc4333,0x2a60d400,0x2fffd800,0x007fffc4, 0x0027ffe4,0x13310ccc,0x26666600,0x7fc00999,0x7ff405ff,0x2fffcc06, 0x1fffe800,0x237df910,0x41fc81fc,0x3ffee07e,0xffff1fff,0xffffffff, 0x7fffcbff,0xffffd100,0x21fff103,0xff802ffd,0x3ffe205f,0x00bfff25, 0x000ffff2,0x0fffffe2,0x013ffe20,0x3fffffe0,0x887fff45,0xfff86fff, 0x645fff85,0x3ee01fff,0x88004fff,0x01fd31df,0xffffe880,0x7ffd0004, 0x2000fffc,0xfffffffb,0x3ff2001f,0x3ee00eff,0x1fffffff,0xff53ffcc, 0x7ffcc00d,0x400feabe,0xfd83fff8,0x7cc06fff,0x2002ffff,0x3fee7ff9, 0xffff8806,0x7c04ffff,0x3a02ffff,0x7fec06ff,0xfff50005,0x7fffdc03, 0xff107fff,0x5c09fd9b,0xf1ffffff,0xffffffff,0x7cbfffff,0xfe880fff, 0x3e602fff,0x004ffbdf,0x7c40bfff,0x37fec5ff,0x001fffc0,0xffeaffe8, 0x27ffc401,0x7ffffc00,0x87ffea5f,0xff86fff8,0x45fff85f,0xf301fffc, 0x003ffddf,0x9fffffb0,0xd5ffb000,0xfd0005ff,0x00fffc7f,0x3ffffee0, 0xf5001fff,0x409ff7bf,0xfffffffb,0x53ffcc1f,0x7ec00dff,0x06ffffff, 0xfb83ffc8,0x103ffccf,0x1fff3fff,0xb9ffe600,0xff8806ff,0x04ffffff, 0x07fffffc,0x2206ffe8,0xb0000eff,0x9fe805ff,0x204fffda,0x00cfffeb, 0x3ffee662,0x555ffff1,0x35555555,0x2207fffc,0x802ffffe,0x006ffffc, 0x99017ffe,0x03ffb059,0x80027fdc,0xdff33ffb,0x04fff880,0x99dfff80, 0xf107ffa0,0x79990dff,0xca879990,0x1ffd00cc,0x0001dff1,0x0005bfb5, 0x3fe29ff5,0x7ff4000f,0x0007ffe3,0x55555553,0xdff10015,0x4c0bff61, 0xaaaaaaaa,0xf53ffcc0,0x8b7c00df,0x4401dfda,0x6ff984ff,0x3f607ffa, 0x00bff52f,0xffb9ffe6,0x55555006,0xff803555,0xfd04ffff,0x077e40df, 0x02ff9800,0x000982a8,0xff500053,0x01fffe3f,0x207fffc0,0x002ffffd, 0x8007fffa,0x80005fff,0x17fa05fe,0x00088000,0x0013ffe2,0x3ea13ffe, 0x6fff882f,0x88000000,0x06aa61aa,0x00001800,0x00000000,0x00000000, 0x00000000,0x22000000,0x00000019,0x00000000,0xffff8000,0xffe81fff, 0x00000006,0x00000000,0x7c7ffea0,0xff0007ff,0x7ffec1ff,0x0000002f, 0x55017ffe,0x00000035,0xfffdca80,0x3e200cde,0xaaaa84ff,0x0027ffc1, 0x5437ffc4,0x2aaa82aa,0x0005554c,0x3b2e2000,0x002dffff,0x00eeeea8, 0x77775400,0x77540000,0xeed800ee,0xeeeeeeee,0xee884eee,0xeeeed85e, 0xeeeeeeee,0xddd5004e,0x3bba001d,0x0bddd104,0x20013bba,0x9805eeec, 0xddb1eeee,0xdddddddd,0xfff09ddd,0xfd0dffff,0x3bbbb6df,0xeeeeeeee, 0x07bbb64e,0xe889ddb0,0xeeed85ee,0xeeeeeeee,0xfff504ee,0x001fffe3, 0xfc87fffc,0x76c03fff,0xeeeeeeee,0xff04eeee,0x7ffc40bf,0xb2f77445, 0x40001ddd,0xffffffd8,0xf102ffff,0xfffc89ff,0x427ffc0e,0x7c45eee8, 0x5fff86ff,0x7e45fff8,0x0dddb1ff,0x705eee88,0xffffffff,0x6c001dff, 0x0003ffff,0x01ffffec,0x3ffff600,0xfffff803,0xffffffff,0x6fff885f, 0xfffffff8,0x5fffffff,0x7ffffb00,0x417ffe00,0xff06fff8,0xff3000bf, 0xffe807ff,0x3ffffe4f,0xffffffff,0xeefff85f,0x7ff43fff,0xfffffff6, 0xbfffffff,0x202ffffc,0x7fc46ffe,0xfffff86f,0xffffffff,0x3fff505f, 0x4001fffe,0xffc8ffff,0xfff803ff,0xffffffff,0xfff05fff,0x2fffc40b, 0xfe9bffe2,0xd10000ff,0xffffffff,0xf10bffff,0x7ffdc9ff,0x84fff80e, 0x7c46fff8,0x5fff86ff,0x7e45fff8,0x0ffff1ff,0xd86fff88,0xffffffff, 0x800effff,0x06fffff8,0x3fffe200,0x3e20006f,0xf806ffff,0xffffffff, 0x885fffff,0xfff86fff,0xffffffff,0xf8805fff,0xf006ffff,0x3fe20bff, 0x0bfff06f,0x3fffee00,0x1ffff700,0x7ffffffc,0x5fffffff,0xffadfff8, 0x5bffa0ff,0xffffffff,0x25ffffff,0x202fffff,0x7fc46ffe,0xfffff86f, 0xffffffff,0x3fff505f,0x3ffffffe,0x47ffffff,0xfffcffff,0xfff803ff, 0xffffffff,0xfff05fff,0x2fffc40b,0xfe9bffe2,0xfb0000ff,0x7537bfff, 0x885ffffd,0xfff54fff,0x13ffe01f,0xf11bffe2,0xbfff0dff,0xfc8bfff0, 0x0ffff1ff,0x646fff88,0xaabeffff,0x05ffffec,0xffffffc8,0xfff90002, 0x20005fff,0x2ffffffc,0x557fffc0,0xaaaaaaaa,0x86fff881,0xaaaaffff, 0x01aaaaaa,0xffffffc8,0x05fff802,0x3e0dfff1,0x3a0005ff,0xff884fff, 0x7fffc2ff,0xaaaaaaaa,0x5fff81aa,0x7f49fffb,0x55ffff6f,0x55555555, 0x7fffffc3,0x88dffd00,0xfff86fff,0xaaaaaaaf,0xff501aaa,0x3ffffe3f, 0xffffffff,0x7fffffc7,0x400fffff,0xaaaaffff,0x01aaaaaa,0x7c40bfff, 0x7ffc45ff,0x003fffa6,0x0ffffee0,0x20ffffd8,0xffacfff8,0x3ffe01ff, 0x46fff884,0xff86fff8,0x45fff85f,0xfff1fffc,0x6fff880f,0x80ffffea, 0x400ffffc,0x5fffffff,0xfffff000,0x3e000bff,0x05ffffff,0x0003fffc, 0x3e1bffe2,0x400007ff,0x5fffffff,0x105fff80,0x3fe0dfff,0x3e60005f, 0x7fe41fff,0x07fff85f,0x8afffc00,0xffd1ffff,0x001fffed,0x27fffffc, 0x7c46ffe8,0x7fff86ff,0xfffa8000,0xfffffff1,0x8fffffff,0xffffffff, 0x7fc05fff,0xff80007f,0x3ffe205f,0xd37ffc45,0xf0001fff,0xfd007fff, 0x7ffc49ff,0x401ffffe,0xff884fff,0x37ffc46f,0x7fc2fffc,0x8fffe45f, 0x7c407fff,0x3fff66ff,0x2effe804,0x3b3ffea0,0x54000fff,0xfffecfff, 0x7ffd4000,0x200fffec,0x40007fff,0xff86fff8,0x2a00007f,0xfffecfff, 0x82fffc00,0xff06fff8,0x05e654bf,0x337ffe40,0xff01ffff,0xff8000ff, 0x5bffee5f,0xffff6ffe,0x3fffe000,0xffe81fff,0x437ffc46,0x80007fff, 0xfff1fffa,0x3333333f,0xffff8333,0xffff9bff,0x01fffe03,0x817ffe00, 0x7c45fff8,0x3fffa6ff,0x7ffc4000,0xfffa800f,0x3ffffe26,0x7fc01fff, 0x6fff884f,0x7c37ffc4,0x5fff85ff,0xff8fffe4,0x7ffc407f,0x01ffff16, 0x3f600330,0x3fffb8ff,0x47ffec00,0x4003fffb,0xffb8fffd,0x1fffe03f, 0xdfff1000,0x000ffff0,0x5c7ffec0,0x7fc03fff,0xdfff105f,0x3a37ffe0, 0x403fffff,0xfb2ffff8,0x3ffe07ff,0x7ffc0007,0x75ffff45,0x0ffff6ff, 0x3ffffe00,0x6ffe86ff,0x7c37ffc4,0xa80007ff,0xffff1fff,0x3fffe000, 0x3ffff24f,0x00ffff00,0x40bfff00,0x7c45fff8,0x3fffa6ff,0x7ffcc000, 0x3fffe004,0xffffff10,0xfff80dff,0x46fff884,0xff86fff8,0x45fff85f, 0xfff1fffc,0x6fff880f,0x000bfff5,0x16fff880,0x4400dfff,0xfff16fff, 0x7ffc400d,0x40dfff16,0x40007fff,0xff86fff8,0xf100007f,0x3ffe2dff, 0x82fffc06,0xff06fff8,0xffffffff,0xffa805ff,0x06fffaff,0x0001fffe, 0xff98bfff,0xff6fffff,0x3fe000ff,0x43fffeef,0x7fc46ffe,0x07fff86f, 0x1fffa800,0x2000ffff,0x7c44ffff,0xfff05fff,0xfff0000f,0x2fffc40b, 0xfe9bffe2,0x7dc000ff,0x3fa003ff,0xffff11ff,0x405fffdf,0xff884fff, 0x37ffc46f,0x7fc2fffc,0x8fffe45f,0x7c407fff,0x9fff76ff,0xffb80000, 0x0bfffa3f,0xd1fffdc0,0x2e005fff,0x3ffa3fff,0xfffff02f,0xffffffff, 0x1bffe20f,0x3ffffffe,0x07ffffff,0xfd1fffdc,0x7ffc05ff,0x0dfff105, 0x2b3ffffe,0x805fffea,0xfffffffd,0x3ffffe01,0xffffffff,0x90bfff07, 0x2dffffff,0xffffffff,0x7c7fffff,0xffffadff,0xf11bffa0,0xffff0dff, 0xffffffff,0x7ffd40ff,0x000ffff1,0x2e03fffe,0xff82ffff,0xffffffff, 0x3fe07fff,0x3ffe205f,0xd37ffc45,0xc8001fff,0x36002fff,0xfff12fff, 0x0ffff17f,0x7c427ffc,0x7ffc46ff,0xf85fff86,0x7ffe45ff,0xfffffff1, 0xffffffff,0x40ffff2d,0xcccccccb,0x41fffd03,0xd005fffb,0x7fdc1fff, 0xfffd005f,0x82fffdc1,0xffffffff,0x107fffff,0xfff0dfff,0xffffffff, 0xffe80fff,0x17ffee0f,0xf105fff8,0x3ffe0dff,0x3fffc44f,0x7ffffc40, 0x7fffc04f,0xffffffff,0x0bfff07f,0xdffffff1,0x3ffffffe,0x47ffffff, 0xfffb5fff,0x2237ff49,0xfff86fff,0xffffffff,0x3fea07ff,0x00ffff1f, 0x403fffe0,0x7c0ffffe,0xffffffff,0x3e07ffff,0x3fe205ff,0x37ffc45f, 0x8001fffd,0x2002fffd,0xff12fffd,0x27ffdcbf,0xf884fff8,0x7ffc46ff, 0xf85fff86,0x7ffe45ff,0xfffffff1,0xffffffff,0x40ffff2d,0xfffffffd, 0x45fff986,0x400ffff8,0x7c45fff9,0x7cc00fff,0x7ffc45ff,0xfffff80f, 0xffffffff,0x0dfff107,0xffffffff,0x40ffffff,0x7c45fff9,0xfff00fff, 0x1bffe20b,0x7407fffc,0xff7007ff,0xff801fff,0xffffffff,0xfff07fff, 0x3fffea0b,0xffffff6f,0xffffffff,0xff15fff8,0x1bffa3ff,0xff0dfff1, 0xffffffff,0x7d40ffff,0x5ffff1ff,0x55555555,0x07fffc55,0x45ffff98, 0xffffffff,0x207fffff,0x3e205fff,0x7ffc45ff,0x003fffa6,0x007fff90, 0xf88ffff4,0x7fff44ff,0x884fff80,0x7fc46fff,0x85fff86f,0x7fe45fff, 0xffffff1f,0xffffffff,0x13ffeadf,0x7fffffec,0x2fffc86f,0x403fffd8, 0xfd82fffc,0x7fe403ff,0x3fffd82f,0x999ffff8,0x01999999,0xff0dfff1, 0x333333ff,0x7e403333,0xfffd82ff,0x20bfff03,0xff06fff8,0x1fff60ff, 0x02fffe80,0x999ffff8,0x01999999,0x7ec0bfff,0xffff6fff,0x33333333, 0x25fff833,0xffd6fffb,0x86fff88d,0x9999ffff,0x20199999,0xfff1fffa, 0xffffffff,0x3fe1ffff,0x3ff600ff,0x3fffe2ff,0x99999999,0x17ffe019, 0x445fff88,0x3ffa6fff,0x7fdc000f,0x3ffe004f,0x89fff10f,0xff85fffa, 0x6fff884f,0x7c37ffc4,0x5fff85ff,0xff8fffe4,0xaaaaaaff,0xf16fffba, 0x332e0bff,0xf86fffcc,0xeeeeefff,0x7c06fffe,0xeeeeefff,0x7c06fffe, 0xeeeeefff,0xff86fffe,0x7c40007f,0x7fff86ff,0xffff8000,0xffeeeeee, 0x0bfff06f,0x7c1bffe2,0xfffb06ff,0x3fff6001,0x07fff801,0x02fffc00, 0x3edffff1,0xff0007ff,0xbfffe8bf,0x7fc46ffe,0x07fff86f,0x1fffa800, 0xffffffff,0x1fffffff,0x8803fffe,0xff0fffff,0xff0000ff,0x7ffc40bf, 0xd37ffc45,0x98001fff,0xf3007fff,0x7ffc4fff,0x41fffd84,0xff884fff, 0x37ffc46f,0x7fc2fffc,0x8fffe45f,0x7c407fff,0x3fffa6ff,0x6fff8800, 0x7fffffd4,0xffffffff,0xfffff502,0xffffffff,0x3ffea05f,0xffffffff, 0x7ffc2fff,0x7fc40007,0x07fff86f,0x7fffd400,0xffffffff,0x5fff82ff, 0x20dfff10,0xffb05fff,0x3ff6001f,0x7fff801f,0x2fffc000,0x7dbffee0, 0xff0007ff,0xffff98bf,0x7fc46fff,0x07fff86f,0x1fffa800,0xffffffff, 0x1fffffff,0x7003fffe,0x3fe9ffff,0xff80007f,0x3ffe205f,0xd37ffc45, 0x88001fff,0xe803ffff,0x3fe25fff,0x6fff984f,0x7c427ffc,0x7ffc46ff, 0xf85fff86,0x7ffe45ff,0x880ffff1,0x3ff66fff,0xfff8804f,0x7fffff46, 0xffffffff,0xffffd05f,0xffffffff,0x3ffa0bff,0xffffffff,0x7fc5ffff, 0x7c40007f,0x7fff86ff,0x7fff4000,0xffffffff,0xfff85fff,0x0dfff105, 0x7ec17ffe,0xffb000ff,0xffff003f,0x37200000,0x3ffe009b,0xbfff0007, 0xffffff90,0x86fff88d,0x80007fff,0x2001fffa,0x6e4003fb,0xfff8009b, 0x6e440007,0x3ffe201b,0xd37ffc45,0x70001fff,0x6405ffff,0x5c00ffff, 0x7fc00abd,0x6fff884f,0x7f8837c4,0x3fff9000,0xf101fffe,0x7ffd4dff, 0x3ff2203f,0x3bffe26f,0xbaaaaaaa,0x7c40ffff,0xaaaaaeff,0x0ffffbaa, 0x5577ffc4,0xffbaaaaa,0x1fffe0ff,0xdfff1000,0x000ffff0,0x5577ffc4, 0xffbaaaaa,0x2fffc0ff,0xf06fff88,0x3ff60bff,0xfffb000f,0x0ffff003, 0x3ffe0000,0x1fffe04f,0x42fffc00,0x6ffffff8,0x7c37ffc4,0xa80007ff, 0x36001fff,0x7ffc002f,0x7fff804f,0x7ffcc000,0x9fff503f,0x3a6fff88, 0xd0000fff,0x3159ffff,0x07ffffd5,0x80dfffd0,0xff884fff,0x982fd46f, 0xffb0006f,0x01fffe1f,0xfd8dfff1,0xa89adfff,0x26fffffc,0xd803fffc, 0x7fe43fff,0xfffd803f,0x01fffe43,0xff1fffec,0x555555ff,0xf1055555, 0xffff0dff,0x55555555,0xfffc8555,0x3fffd803,0xf882fffc,0xbfff06ff, 0x003fff60,0x400fffec,0xaaaaffff,0x02aaaaaa,0xf00ffc80,0x55555fff, 0x7c555555,0xfff505ff,0xfff88dff,0xaaffff86,0xaaaaaaaa,0x3ff2aa62, 0x13fa001f,0x007fe400,0x2aabfffe,0x2aaaaaaa,0xb91ff620,0xf887ffff, 0x3fffa6ff,0xaaaaaaab,0xffff982a,0xffffffff,0x7fdc006f,0x2b7ffe01, 0x8dfff11a,0x1ff507fb,0x3ffb6200,0x01fffe7f,0xe88dfff1,0xffffffff, 0x23ffffff,0xa800ffff,0x7ffc6fff,0xfffa800f,0x007fffc6,0xff37ffd4, 0xffffffff,0x881fffff,0xfff86fff,0xffffffff,0x3fe0ffff,0xffa800ff, 0x82fffc6f,0xff06fff8,0x3fff60bf,0x3fffb000,0xffffff00,0xffffffff, 0x3a60801f,0x3fffe06f,0xffffffff,0xbfff0fff,0x37fffec0,0x3e1bffe2, 0xffffffff,0x70ffffff,0x03ffffff,0x5d5ffe40,0x37f4c100,0x7fffffc0, 0xffffffff,0x7f4c420f,0x7fffff44,0xd37ffc41,0xffffffff,0x101fffff, 0xfffffffb,0x41007fff,0x3e00ffd9,0xf15fffff,0xdff88dff,0x5bff11aa, 0x7ffd4055,0x1fffe5ff,0x20dfff10,0xfffffffc,0x2a0dffff,0x3e006fff, 0xfff52fff,0x7fffc00d,0x00dfff52,0xff97fffc,0xffffffff,0x440fffff, 0xfff86fff,0xffffffff,0xff50ffff,0x7ffc00df,0x417ffe2f,0xff06fff8, 0x3fff60bf,0x3fffb000,0xffffff00,0xffffffff,0x7ffc401f,0x3fe01fff, 0xffffffff,0xff0fffff,0x7ffc40bf,0x37ffc46f,0x7ffffffc,0xffffffff, 0xffffff70,0x7ffcc003,0xfff880ff,0xff801fff,0xffffffff,0xf30fffff, 0x441fffff,0x883fffff,0x3ffa6fff,0xffffffff,0x36a00fff,0x1defffff, 0xffffff00,0xfffff805,0x0dfff15f,0x6c7ffffd,0x2e04ffff,0x3e0fffff, 0x7fc407ff,0x3ff2606f,0x81cdffff,0x2003fffd,0xffb5fffc,0x7fe4007f, 0x07fffb5f,0xfafffe40,0xffffffff,0x40ffffff,0xff86fff8,0xffffffff, 0xfb0fffff,0x7e4007ff,0x17ffe5ff,0xf837ffc4,0xfffb05ff,0x3fff6001, 0xfffff801,0xffffffff,0x666400ff,0x7ffc00bc,0xffffffff,0xfff0ffff, 0x6fffb80b,0x7c37ffc4,0xffffffff,0x30ffffff,0x01999999,0x02cdb880, 0x002f3332,0x7ffffffc,0xffffffff,0x05999910,0x2059bd91,0x3fa6fff8, 0xffffffff,0x1000ffff,0x32e00033,0xcc800bcc,0xff12cccc,0x7bb510df, 0x01bdda81,0xf02f7b6a,0xff880fff,0x1531006f,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x4cc40000,0xb0026620,0x2000bb09,0x910001a8, 0x53000599,0x98001a88,0x200000bd,0x10000008,0x88015401,0x26620000, 0x80033311,0x4ccc0001,0x00131000,0x06200262,0x4062004c,0x00099809, 0x31002db8,0x00019983,0x02200002,0x0980c400,0x26604cc0,0x00030000, 0x80066660,0x4c000999,0x26200099,0x01333099,0x00133310,0x004c4003, 0x3f235551,0x00fff64f,0x9f7115f9,0x013ea000,0x027ffc40,0x59fffd10, 0xf98005f9,0x260006ed,0xcdffffec,0xfd930000,0x2619dfff,0xfdc882ff, 0x000cefff,0xff17fff1,0xfec9809f,0x2001deff,0xd004fff8,0x07fa00bf, 0x5f70fea0,0x7dc2fb80,0x4007fe82,0xb804fdfc,0x0bff54ff,0x6dc1dddb, 0x5002efff,0x9bdfffb9,0x70bee001,0x1ffd805f,0x71005ffb,0x5bffffd9, 0x9fff3000,0x3bffee00,0xdfff7000,0x3fff2001,0x800fffb8,0xb102fffc, 0x4401bfff,0x3fe604ff,0x6c9ff94f,0x7fcc03ff,0x4000ffff,0x01dfffeb, 0x027ffc40,0xffffff50,0x5d8001ff,0xf90005f1,0xffffffff,0xffc8005f, 0xffffffff,0x7cc1fffc,0xffffffff,0x4ffc803f,0xfc80bff7,0xffffffff, 0xfff8800d,0x2ffecc04,0xf0027dc0,0x00ff757f,0xdf757df1,0x4003ff20, 0x200f72f8,0x0effbffd,0xe88fffe8,0x2fffffff,0x3ffff620,0x02ffffff, 0xfbabef88,0xcfff8806,0xffb805ff,0xffffffff,0x3ff6000e,0xffff3005, 0xfff300bf,0xff100bff,0x007ffe3f,0xe80bffe2,0x00ffffff,0x7cc01ff9, 0x49ff94ff,0xb9803ffd,0x22000bee,0xfffffffd,0xfff1000e,0x98fe4009, 0xc8002eec,0x2001fa8e,0xffffffe8,0x05ffffff,0xfffffe88,0xffffffff, 0x7fffd42f,0xffffffff,0xf97fe202,0xffd100ef,0xffffffff,0xfff100df, 0x7fffe409,0x007fc405,0x7fffff70,0x3fffee00,0x05ff502f,0x03646740, 0x1fffff88,0xff5fffd0,0xffffffff,0xffffd101,0xffffffff,0xffff700b, 0x3fea005f,0x7ec00eff,0xffffffff,0x9800efff,0x3fa005ff,0x402ffd9f, 0x2ffd9ffe,0xfa97fdc0,0x7ff7003f,0x646ffd40,0x4ff883ff,0x027ffcc0, 0x20000000,0xfffffffc,0x000004ff,0xf5000000,0x6c001fff,0xa9bdffff, 0x03ffffeb,0x5effffec,0xfffffdb9,0xbdfffd85,0xffffeb99,0x261bd500, 0x3ff200de,0xfec9acff,0x54402fff,0x2ff601aa,0x1fe405fe,0x002ca800, 0x4402ca88,0x3ee004ff,0x3aa002ff,0x3ffa03ee,0xebbdffff,0xfd84ffff, 0xba9bdfff,0x802ffffe,0xc8002ca8,0x7e401eee,0xcaabefff,0x805ffffe, 0xd7000deb,0x037b625d,0xed89775c,0xdb1f6c05,0x01f6c009,0x7fd4bff2, 0x400ffc85,0x7441aaa8,0x754005ee,0xf1000eee,0xf99f5bff,0xeeea81ff, 0xeeeeeeee,0x3bbb66ee,0x02776c01,0x01ffffec,0x03ffffa8,0x01ffffb1, 0x40ffffea,0x40fffff8,0xff106fff,0x800003ff,0x901ffff9,0x0000dfff, 0x4c0bfd0c,0x0000006f,0x0dfd0000,0x0000a880,0x3ffffa00,0xffffc80d, 0x0ffffee0,0x00ffffd8,0x20000000,0x203ffffa,0x000ffffc,0x00000000, 0x00000000,0xf88ffec0,0x027fc46f,0xff880988,0x7fec006f,0xff5003ff, 0x3be9f51f,0x7fffdc1d,0xffffffff,0x17fffe7f,0x880dffd0,0x006fffff, 0xd007ffff,0x3fe09fff,0x3ff603ff,0x3fe63fff,0x3bff205f,0xa80d5542, 0x7fff42aa,0x3bffe203,0x2af2ea01,0x205fe800,0x750002fd,0x55401579, 0x8555501a,0x55500ffc,0x80aaaa03,0xd00abcba,0x2201dfff,0x3fe2ffff, 0xffe803ff,0x5e5cc04f,0x9953000a,0x7ffec059,0x2effe804,0x37999750, 0x3332ea00,0x9953001b,0x65cc0059,0x953000ab,0x3ff60599,0xfc8dff11, 0x0df7000f,0x400dfff1,0x06fffff8,0x3eafff50,0xffffb804,0xffffffff, 0x3ffffe7f,0x01bffa02,0x5ffffff9,0x0ffff980,0x87fffa80,0x3207fff9, 0x47fffeff,0x000cffff,0xe82fffc4,0x3ffe27ff,0x200a9807,0xffffffe9, 0xa82ff402,0xfe98006f,0x882fffff,0xffd05fff,0x882ffb8f,0xffd05fff, 0xffffd30f,0xfffd05ff,0x3fffe805,0x001ffff1,0x2e0dfff5,0x3fffffff, 0x3ffff620,0x7fc42fff,0x019800ff,0x3fffffa6,0x3fa605ff,0x05ffffff, 0x3fffff62,0x3fee02ff,0x203fffff,0xffffffd8,0x997fe42f,0x13fe25ff, 0xf887fb80,0x3f2006ff,0x802fffff,0x4faafff8,0xaaaaa980,0xffffcaaa, 0x3fffffe5,0x80dffd00,0x5fffffff,0x027ffd40,0xf50ffff0,0x3fee09ff, 0x20ffff8e,0xbdfffffd,0x5fff8801,0x7ccfffd0,0xa80005ff,0xffffffff, 0x417fa03f,0x7d4001fe,0xffffffff,0x82fffc43,0x7fcc7ffe,0x05fff884, 0xffa8fffd,0x3fffffff,0x200ffff4,0xff34fffc,0x7ffc009f,0x7fffe40f, 0x886fffff,0xffffffff,0x3ffea2ff,0xff880005,0xffffffff,0xfffff883, 0x883fffff,0xffffffff,0xfffc82ff,0x86ffffff,0xfffffff8,0x3fea2fff, 0x7e49ff95,0x1ff2000f,0x801bffe2,0x5fffffff,0xfdfffd00,0xff100009, 0x7ffc1dff,0xffd04fff,0x67ffd40d,0x2e00fffe,0x3a003fff,0x7fe41fff, 0x0effa83f,0x7c43ffff,0xffffffff,0xbfff101c,0xfa9fffa0,0xe80004ff, 0xffbadfff,0x0bfd00ff,0xfd000bf7,0xfff75bff,0x2fffc41f,0xff87ffe8, 0x05fff886,0xffe8fffd,0xffffbadf,0x003fffa0,0x3ee9fff9,0x3fa003ff, 0x3ffee1ff,0xffffebef,0x67fffec4,0x2e6fffda,0x80004fff,0xa88afffc, 0x7e41fffe,0xfea88aff,0x7ffec1ff,0x6fffdacf,0x5f7fffdc,0x6c4ffffe, 0xfdacffff,0x7fff46ff,0x9ff10fff,0x40ffd800,0x5006fff8,0xfffd9fff, 0xffff7001,0x400017df,0x7c1ffffe,0x81ffffff,0x3f606ffe,0x3fffb8ff, 0x00bfff60,0x6c2fffd8,0x7fcc2fff,0x0bfff60f,0xffffffd3,0xff109fff, 0x9fffa0bf,0x0003fffc,0x221fffdc,0xbfd04fff,0x4000ff88,0x7c43fffb, 0x3ffe24ff,0xb0fffd05,0xfff881ff,0x5cfffd05,0x7fc43fff,0x03fffa4f, 0x32bfff70,0x36002fff,0xfff12fff,0xffff985f,0xb0bfff31,0x3ff25fff, 0x9999703f,0x7fec7999,0x409bc886,0xbc886ffd,0x17ffe609,0x7c4bfff6, 0x7fcc2fff,0xbfff31ff,0x445fffb0,0x321efffd,0x7f4000ff,0x37ffc41f, 0xb8fffd80,0xfb003fff,0x09ffffff,0x5ffffb00,0xfffffff0,0x20dffd0d, 0xff16fff8,0x7ffec0df,0x3fff6002,0x317ffec2,0xffd83fff,0xfffb702f, 0x88bfffff,0xffd05fff,0x01fffe4f,0x07fff600,0x4c41fffa,0x99027e40, 0x81fffd83,0x3fe27ffe,0x0fffd05f,0xff885ff7,0x4fffd05f,0xfe81fffd, 0x03fffa7f,0x36bfff70,0x36002fff,0xfff52fff,0x53ffee07,0xa982fffb, 0x81fffe41,0xfffffffd,0x33ffff26,0xfffc800a,0x7dc00acf,0x41a982ff, 0xf703fffa,0x3ffee9ff,0x2201a982,0x227fc409,0xfff02cca,0x06fff885, 0xf16fff88,0x75c00dff,0x0effffff,0x9ffff700,0x3fbbffe0,0x37ff43ff, 0x3a3fffb8,0xff902fff,0x7ff4007f,0xa7ffe41f,0xfe82ffe8,0x6d4401ff, 0x23ffffff,0xfd05fff8,0x27ffdcff,0x3fffa000,0xffdaaaaa,0x03fe2007, 0x3fa17fe4,0xdaaaaaff,0x3ffe27ff,0x30fffd05,0xfff889ff,0x74fffd05, 0xaaaaafff,0x3ffa7ffd,0x7ffdc00f,0x007fff95,0xfc8ffff4,0xfff100ff, 0x003fff2b,0xb04fffa8,0xdfffffff,0x7fffffd4,0xff500bdf,0x17bfffff, 0x001fff90,0x8807ffe4,0xfff95fff,0xfc800001,0xffffd10f,0x42fff81d, 0xb806fff8,0x3ffa3fff,0x7fdc002f,0x9804ffff,0x3e05ffff,0xffffadff, 0x741bffa0,0x3fee0fff,0x9fff705f,0x07fffc00,0x3a37ffee,0xffff03ff, 0xffea8001,0x17ffe25f,0xff53fff4,0x201100bf,0xffffffff,0x000fffff, 0x3fee07fb,0x7ffffc2f,0xffffffff,0x20bfff10,0xdff07ffe,0xd05fff88, 0x7fffcfff,0xffffffff,0x01fffd0f,0xf74fffb8,0x7fc009ff,0x0fffd0ff, 0xffb6fff8,0x7fc4001f,0x9999705f,0xffb8dfff,0x3fffffff,0xffffff70, 0xffd87fff,0x3ffa000f,0xdb7ffc07,0x00000fff,0xffd93fe2,0x3e25ffdc, 0x7ffc43ff,0x0fffe806,0x0017ffee,0xffff79f5,0xeffff880,0x6d7ffe00, 0x3ffa4fff,0x45fff986,0x980ffff8,0x0b886fff,0x2a1fffea,0x4ffdefff, 0x5cffff30,0x3e200edc,0x3ffe27ff,0x44fffd05,0xfd806fff,0x3fffe0bd, 0xffffffff,0x06f9801f,0xf85ffff3,0xffffffff,0xff11ffff,0x1fffa0bf, 0x3fe23fec,0x4fffd05f,0xffffffff,0xfd1fffff,0xffb801ff,0x0ffff34f, 0xd9fffe60,0x3fe00fff,0x01fffb6f,0x00fffe80,0x986fff88,0xfffffffc, 0xfff9303f,0x6c7fffff,0x36000fff,0x3fe00fff,0x01fffb6f,0x87fe4000, 0x3ffe7ff8,0x889fff30,0x7cc06fff,0x7ffc45ff,0x53ea000f,0x3a00fffb, 0x7c00ffff,0xffff15ff,0x321bffa3,0xffd82fff,0xffff883f,0xfe9ffe43, 0xffff05ff,0x7fec09ff,0x13fff65f,0x7c4ffff0,0xffff05ff,0x202ffff8, 0x3a2ffff9,0x200007ff,0x9ff882fe,0x3fff42ff,0x17ffe200,0xfb83fffc, 0x17ffe21f,0xffd3fffc,0xfffe800f,0x9fffe400,0x803ffff8,0x3ee5fffe, 0xfff301ff,0x407fff29,0x7ffec09a,0x6fff8804,0x7ffedcc0,0xfdb9806f, 0x3ff26fff,0x5c13501f,0xff301fff,0x07fff29f,0xf88004d4,0xe97fe64f, 0xbfff51ff,0x406fff88,0xfd82fffc,0x9db903ff,0x7ffcd3ea,0x5ffffb00, 0x5cbfff00,0xdffd6fff,0xdddffff0,0x0dfffddd,0xd87fffee,0xffffffff, 0xbffff701,0x07fffdc0,0x201ffff7,0x7fc5fffb,0x7fff886f,0x8077ffd4, 0x7ec7fffd,0x01ab82ff,0x3fa0bf50,0xffd85ff3,0xf81ab82f,0xfff886ff, 0xf87ff307,0xfff886ff,0x20bfff67,0x7fff41ab,0x17fff400,0x405ffff7, 0x260ffffc,0xff905fff,0x13ffee7f,0xfa8fffee,0x32203fff,0x95316fff, 0x4fffd105,0xe882ca98,0x3ffee7ff,0x33fffb84,0x3f20bfff,0x9fff73ff, 0x007fff70,0x7fd41ff9,0x7d4bff64,0x7ffc45ff,0x77fffc06,0xfffeeeee, 0x51fffb06,0x41ffee9f,0x003ffffb,0xffe8bfff,0x546ffebf,0xffffffff, 0x02ffffff,0x237ffffd,0x4ffffffa,0x6fffffc0,0x3ffff662,0x77fffc43, 0xfffda89c,0x0ffff43f,0x3a1ffffa,0xb99bffff,0x543ffffe,0x3e60dfff, 0x1fe805ff,0xffaaefc8,0x37ffea2c,0xd17ffe60,0xffe83fff,0xd17fe07f, 0xffe83fff,0x37ffea7f,0xe97ffe60,0x44d40fff,0x740ffffb,0x98acffff, 0x83ffffea,0x931dffff,0x7fc4dfff,0xffd30cff,0xffffd83f,0xffca89ad, 0xfff16fff,0x4dfff01f,0xf80ffff8,0x3ffe26ff,0xfffd30cf,0x8effffc3, 0x226fffc9,0xd30cffff,0xf8803fff,0xd2ffcc4f,0x3ffea3ff,0x037ffc45, 0xfffffff5,0x5fffffff,0xf7dfff70,0x50bffd39,0x400bffff,0x7fcc5fff, 0x746fffff,0xffffffff,0x05ffffff,0xfffffff3,0x5fffffff,0x7ffffd40, 0xffffffff,0xffff506f,0xffffffff,0xffffc81d,0x7fffffdd,0xffffff98, 0x05ffffff,0xfbbffffd,0xfb801fff,0xfffffd04,0xfffe8dff,0x0ffffddf, 0x6effffe4,0x207fffff,0x7ffe47fe,0xfffffddf,0x6fffff47,0x3a0ffffd, 0x3fe20fff,0x984fffff,0xffffffff,0x306fffff,0xffdfffff,0xffb83fff, 0xffffefff,0xffffe885,0xffffffff,0x3fff23ff,0xfffecbdf,0x6ffffe43, 0x43fffecb,0xfefffffb,0x7fcc5fff,0xffffefff,0x7fffdc1f,0x05ffffef, 0x7c40ffd8,0x543ffe6f,0x7fc45fff,0x3fffa06f,0xffffffff,0xffd05fff, 0xffffffff,0x6ffff881,0x42fffc00,0x6ffffffc,0x2abbffe2,0xffbaaaaa, 0xffb100ff,0xffffffff,0xfa83bfff,0xfffffeff,0x403fffff,0xfffffffc, 0xe880dfff,0xcdffffff,0xffb107ff,0xbfffffff,0x7ffff440,0x4402ffff, 0x999700ff,0xe887bff9,0xffffffff,0xffffe882,0x07ffcdff,0xfe887ff2, 0xfcdfffff,0x7fff447f,0x742fffff,0x3fee0fff,0x2206ffff,0xfffffffd, 0x7cc03fff,0xffffffff,0xfffff902,0x6401dfff,0xffffffff,0xfd80dfff, 0xffffffff,0xfffffb05,0x320bffff,0xffffffff,0xffff980e,0x902fffff, 0xffffffff,0x4ff8801d,0xff99ffb0,0x22fffd4b,0xf106fff8,0x55555dff, 0x1ffff755,0xffffff30,0xfe885fff,0x7c000fff,0xfff885ff,0x3ff26fff, 0xfffd803f,0x7ffed403,0xfffcceff,0xa8fff47f,0xdefffffe,0xfffb3001, 0x8807dfff,0xf73efffd,0xffeb80ff,0x9002efff,0x039dfffd,0xf8007f90, 0x3ffb202f,0x36201cef,0xff73efff,0x21ffd40f,0x73efffd8,0x3fb20fff, 0xfe81ceff,0x3ff6e0ff,0xda801cef,0x1defffff,0xfffd9300,0xfea801bf, 0x800bffff,0xffffffc9,0x7f5401cd,0x402effff,0xefffffea,0x7fff5402, 0x32600bff,0x00dffffe,0x7fffff54,0x0ffd800b,0xdfffff30,0x21e664c1, 0xf906fff8,0xffb007ff,0x3ff6207f,0xfc80dfff,0xaaaacfff,0xf0aaaaaa, 0x3fea0bff,0x3ffe6fff,0xfffa800f,0x20662006,0x7443ffe9,0x00033302, 0x00013310,0x44000026,0x26200019,0x017a2000,0x22007320,0x00980009, 0x9806aa00,0x02620000,0x000cc000,0x00003310,0x26000131,0x26200009, 0x3310000a,0x99880013,0x09980009,0x00098800,0x44001330,0x6dc403ee, 0x7c4000bd,0xffff06ff,0xdfff5001,0xd80bf700,0xffffffff,0x3fffffff, 0x7ec0bfff,0xfff56fff,0x7fffc00d,0x1ae00002,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x5437ffc4,0x3e006fff, 0x7d402fff,0x7fffec04,0xffffffff,0xbfff3fff,0xb7fffc40,0x2003fffd, 0x0005fffc,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0xdfff1000,0x007fffb0,0x202fffe4,0x7fec03e9,0xffffffff, 0xff3fffff,0xfffb80bf,0x00000006,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00200000,0x01880000,0x26026200,0x20266000,0x004cc199, 0x00009998,0x4c400026,0x8000cc41,0x99800008,0x4400ccc1,0x31000199, 0x4cc40133,0x33300009,0x00110001,0x26621998,0x304cc401,0x4ccc0033, 0x33310000,0x09998801,0x00220000,0x09998800,0x00004400,0x00033330, 0x00000880,0x260017b5,0x000ccc19,0x20001333,0x33009998,0xffda8033, 0xdddb0cef,0xdddddddd,0x3fff2205,0x7cc002ef,0x98027cc4,0x2ffd84ff, 0xf1007ff9,0x644009ff,0x03deffff,0x7cd7fea0,0xfd93005f,0x8819bdff, 0x7fc43eee,0x00fff30f,0x000bfffb,0x4401dffd,0xb8006fff,0xa800ffff, 0x01dfffec,0xfa87ffc4,0x1ffec07f,0xfb003fff,0x3a000bff,0x74400fff, 0x4c0006ff,0x0adfffeb,0x3fff2000,0xffec9802,0x260001df,0x80005fff, 0xadfffeb9,0xedfa8000,0x23fff006,0xc800fff8,0xb0006fff,0x3f203fff, 0xfffb01ff,0xfd3dffff,0xffffffff,0xfff307ff,0x009fffff,0xfebacfd8, 0x05ff7000,0xbff7fff1,0x13ffe200,0x7ffffe40,0x000effff,0x1fff7ff9, 0xfffff900,0x445fffff,0x7fc44fff,0x80fff30f,0x02fffffb,0x003ffea0, 0x8007ffe6,0x05fffff9,0x7fffffd4,0x3fe202ff,0x80fff50f,0x3ffe3ffd, 0x7fffd401,0x7fcc003f,0xfff1001f,0xfff70005,0xdffffdff,0xfff88001, 0xffffa802,0x0004ffff,0x8000bff9,0xfefffffb,0x2000efff,0xf003f34d, 0x3ffe23ff,0x7fffd400,0x7fcc004f,0x2ffec01f,0x7ffffff4,0xffffffff, 0xffffffff,0xcdfffe83,0x2001fffe,0x04fffff9,0x4c03ff60,0x000fffff, 0x9009fff1,0xffffffff,0x1005ffff,0x805ffffd,0xffffffe8,0x15ffffff, 0xff889fff,0x40fff30f,0xfff8eff9,0x03ffd000,0x002ffcc0,0x5ffb3ffd, 0x3bfffe60,0x2207ffff,0xfff50fff,0x3e3ffd80,0x3fe201ff,0x001ffe8e, 0x30007ff6,0xfd800dff,0x32a21bdf,0x32002ffe,0xffa803ff,0xffffffff, 0x77fc4002,0x3ff60000,0x3f2a21bd,0x1d9002ff,0xfff001f7,0x803ffe23, 0xffe8fff8,0x0bff6001,0xf50ffec0,0xb737bfff,0x55bfffff,0x83555555, 0x7f44fff8,0xbca8004f,0x037fc000,0x000bbbae,0xfa803555,0xcaadffff, 0x800fffff,0xd804eee9,0xa9bdffff,0x8affffeb,0x00004fff,0xee98f764, 0x01ee9804,0x800eea80,0xbdb12eeb,0x45fffb01,0x0001fffe,0x32000000, 0x09dd31ee,0x000bba20,0xc800774c,0xfe8803ff,0x07db001f,0x44ffff60, 0x4005fffb,0x20000dea,0xe8803ffc,0xff9801ff,0x0000004f,0x3b623dd7, 0x05dd1005,0xfd1f6c40,0x3ff209ff,0xf88004ff,0x27ff45ff,0xf3000000, 0x0000009f,0x77fff400,0x4fffe880,0xffa80000,0x3ff203ff,0x000fee6f, 0x00000000,0x00000000,0x7e46ffe8,0x000000ff,0x00000000,0x00000000, 0x55517ff5,0x6fe88355,0xfff00000,0x01fffd0b,0xfa800000,0x2165443f, 0x2a006fe8,0x00000000,0x00000000,0x2037ffd4,0x0004ffff,0x3ea3ffff, 0x2e2002ff,0x800acccc,0x2ea02ffb,0x3001bccc,0x22059995,0x2a02fffe, 0x2200ffff,0x00accccb,0xd009fffd,0x87f67fff,0x55501aaa,0xa80d5545, 0x06aaa2aa,0x55515554,0x40aaaa03,0x0accccb8,0xfe8bfff0,0x7973006f, 0x32e20015,0x3000accc,0x40015797,0x000abcb9,0x002af2e6,0x3ffee7ff, 0x3a22ffff,0x332e203f,0xff300acc,0x0135507f,0x0b3332a2,0xf0037995, 0xffffd87f,0x80ffa22f,0x0accccb8,0x15797500,0x55e5d400,0x2f2ea000, 0x2aaa800a,0xb807fff9,0x70004fff,0xfff7dfff,0x3ff6001f,0x01efffff, 0x74c07fec,0x5fffffff,0x3ffff620,0x0a602fff,0x40ffffe0,0xfffffffd, 0x7fffcc1e,0xffffa800,0x3ffe25fd,0x22fffd05,0xffd05fff,0x417ffe2f, 0xfff17ffe,0x21fffa0b,0xfffffffd,0x25fff81e,0x5c03fffa,0x3fffffff, 0x7ffffec0,0x3ee01eff,0x03ffffff,0x7fffffdc,0x7ffdc03f,0xf503ffff, 0x5d577dcd,0x1bea0ffe,0x7fffffec,0x9fff01ef,0xffff5000,0xffd7dfff, 0x2a05ffff,0x56ffe46f,0x1bea0ffd,0x7fffffec,0x3fa601ef,0x402fffff, 0xffffffe9,0x7fff4c02,0x7fc02fff,0x05fffb5f,0x004fffa8,0x3fffffa0, 0xff5001ff,0xffffffff,0x4437fc01,0xffffffff,0xfff883ff,0x2fffffff, 0x7ffe4000,0xfffffa84,0x2a0fffff,0x3e004fff,0x220dffff,0xffd05fff, 0x417ffe2f,0xfff17ffe,0x45fffa0b,0xffd05fff,0xfffffa8f,0x220fffff, 0x3ff65fff,0x3fff200f,0x06ffffff,0xfffffff5,0xff901fff,0xdfffffff, 0x3fffff20,0xf906ffff,0xffffffff,0x7dc9fb0d,0x3e22ff85,0x7fffd41f, 0x80ffffff,0x44005ffe,0xffffffff,0xffffffff,0x24fd81ff,0x27ec1ff9, 0xffa83ff1,0xffffffff,0xfffffa80,0xf503ffff,0xffffffff,0x3fffea07, 0x203fffff,0xfffd5fff,0xffff9803,0x5fffffff,0x3ffffee0,0xfff1000d, 0xfffd735d,0x213fe607,0xa88afffc,0x7ec1fffe,0xffdacfff,0x33332a6f, 0xcccccccc,0x7c45fffd,0xfeb9aeff,0x3ffee3ff,0x3fffa003,0x05fff883, 0x3fe2fffd,0x2fffd05f,0xfd05fff8,0x17ffe2ff,0xff13fff4,0xffd735df, 0xafffc47f,0x2e05fff8,0xfebeffff,0x7fc44fff,0xffeb9aef,0x7fffdc3f, 0x4ffffebe,0x5f7fffdc,0x5c4ffffe,0xfebeffff,0x17f44fff,0x1ff88bf7, 0xfff117f4,0xfffd735d,0x7fff5547,0x3600aaaa,0xfeb9bfff,0xeb9bffff, 0x17f41fff,0x7f400ff7,0x2bbffe22,0x83fffeb9,0xfbadfffe,0xffe80fff, 0xffffbadf,0xadfffe80,0xf00ffffb,0x3fffebff,0x7fffc400,0x5fffffff, 0xffffff70,0x7ee4c007,0x827ffd40,0xffd82ffb,0x209bc886,0xfd85fff9, 0xffffb2ff,0xffffffff,0xc98fffff,0x7ffd40fd,0x00bfff24,0x883fffd8, 0xffd05fff,0x417ffe2f,0xfff17ffe,0x45fffa0b,0xffd05fff,0x207ee4cf, 0x3e24fffa,0xffff35ff,0x5ffff101,0x21ffff98,0x7d40fdc9,0x3ffe24ff, 0x7fffcc2f,0x85ffff11,0xf11ffff9,0xff985fff,0xb83fe1ff,0x5ffcccff, 0x37263fb8,0x27ffd40f,0xfffffffd,0x36e205ff,0x7fffcc2e,0x227ff443, 0x017f20ff,0x37263fc8,0x27ffd40f,0xf10fffee,0xfffb89ff,0x227ffc43, 0x7c43fffb,0xbfff04ff,0x1003fffe,0xffffffff,0xfd88bfff,0x1fffffff, 0x2a000153,0xffb04fff,0x9ffff901,0xfffb8015,0x7ec1a982,0xffffffff, 0x7fffffff,0x27ffd400,0x4005fffb,0xf882fffd,0xfffd05ff,0x7417ffe2, 0xbfff17ff,0x7c5fffa0,0xfffd05ff,0x27ffd400,0x7fcbfff1,0xfffa85ff, 0x09fff703,0x527ffd40,0x3ee07fff,0x7fff54ff,0x553ffee0,0xff703fff, 0x3ee3fc9f,0x702effff,0x7fd4009f,0x3ffffa4f,0x002fffff,0x01ffff30, 0x47f8fff9,0x3ee004fd,0x3ffea004,0x40fffec4,0x7fec7ffe,0x47ffe81f, 0xfe81fffd,0x2bfff07f,0x4c01fffe,0x9999dfff,0x7fec0999,0xefffd8ef, 0x9806ffc8,0x4fffffdb,0x3ea0fff0,0xbdffffff,0x00fffc80,0x3bbffee0, 0xeeeeeeee,0x5cc05fff,0x24fffffd,0x2003fffc,0xf881fffe,0xfffd05ff, 0x7417ffe2,0xbfff17ff,0x7c5fffa0,0xfffd05ff,0x7ffedcc0,0x3ffe24ff, 0x17fffea5,0x2201fff9,0x2e605fff,0x24fffffd,0xf100fffc,0x3fff2bff, 0x2bfff100,0xf100fffc,0x70fecbff,0x07ff73df,0xdb980ff6,0x2e4fffff, 0xccefffcc,0xfb73001c,0x555fffff,0x41fff955,0x21bf21fd,0x203fd808, 0xfffffdb9,0x557fff44,0x47ffdaaa,0xaaaafffe,0x7f47ffda,0xdaaaaaff, 0xbfff07ff,0x500bfff6,0x44009fff,0x3fa26fff,0x05fffdff,0xffffff91, 0xff109fff,0x7fffdc0b,0x6c3fffff,0x2a000fff,0xfa804fff,0xffc884ff, 0x4fffffff,0x8013ffee,0xf880ffff,0xfffd05ff,0x7417ffe2,0xbfff17ff, 0x7c5fffa0,0xfffd05ff,0xfffffc88,0x3e24ffff,0x7ffdc5ff,0x01fffa4f, 0xfc88dfff,0xffffffff,0xf01fffa4,0x1fffadff,0x3fadfff0,0x37ffc07f, 0x72fdc9f7,0x85ff03ff,0xffffffc8,0xfff04fff,0x7fdc400b,0xffffffff, 0xffffffff,0xfb8fee1f,0x3e27ec0f,0x7ffe442f,0x44ffffff,0xffffffff, 0x3e0fffff,0xffffffff,0x3fe0ffff,0xffffffff,0xfff80fff,0x809fff95, 0x2004fffc,0x7cc3fffa,0x82ffffff,0xbdffffe8,0xfa84fff9,0x7fe4c03f, 0x23ffffff,0x2000fffd,0xc806fff8,0x7f442fff,0xff9bdfff,0x3fffe64f, 0x7fffa800,0x20bfff10,0xfff17ffe,0x45fffa0b,0xffd05fff,0x417ffe2f, 0x3fa27ffe,0xff9bdfff,0x17ffe24f,0x6cbfffee,0x3fe00fff,0x3fffa26f, 0x4fff9bdf,0xf803fff6,0x1fffb6ff,0xfdb7ffc0,0x3ffe00ff,0x5fb9be66, 0x1fe637ec,0x7bffffd1,0xf309fff3,0x7ec007ff,0xff9bdfff,0xffffffff, 0x1be62fff,0xff715dfd,0x3a23fcc3,0xf9bdffff,0x7fffc4ff,0xffffffff, 0x3ffffe1f,0xffffffff,0x3fffffe1,0x1fffffff,0xff55fff8,0xfffe80ff, 0x3fff6004,0xfffffa81,0x87fff906,0xfc84fff8,0x36e6001f,0x3f26ffff, 0x813501ff,0x2201ffff,0x7e40ffff,0x7ffc43ff,0x0ffffe24,0x417fffa0, 0xff05fff8,0x17ffe2ff,0xff8bfffc,0x2ffff05f,0xff05fff8,0x1fffe4ff, 0xf893ffe2,0xfff705ff,0x407ffeeb,0x3f24fff9,0x7ffc43ff,0x407ffee4, 0xff74fff9,0x3ffe603f,0x203fff74,0x7fc4fff9,0xff98bf71,0xff913f63, 0x4fff887f,0x000fffc8,0xf81bfff7,0xff0007ff,0x7ffff4c3,0x3227ec4f, 0x7fc43fff,0x03fff44f,0x003fff40,0x0003fff4,0x7ff4bfff,0xffff903f, 0x7ffe4009,0xbffff903,0x261fffa0,0x7fe84fff,0x10595310,0x7fdcfffd, 0x3fffb84f,0x403bffee,0xfe86fffd,0x4fff987f,0x017fffdc,0x401ffff9, 0xff886fff,0x21bffe7f,0x3fe7fff8,0x7fff886f,0x3e21bffe,0x1fffa7ff, 0xf893ffe6,0x3ffe05ff,0x20bfff36,0x3fa3fffc,0x4fff987f,0x6417ffe6, 0xfff33fff,0x4ffff20b,0xf905fff9,0x9ffc87ff,0xb3cb83c9,0x7ffe81ff, 0x544fff98,0x32002fff,0x7fc40fff,0x01ab82ff,0x6dc43ff9,0x07fec1ce, 0x3e61fffa,0x7ffec4ff,0xfd81ab82,0x81ab82ff,0xab82fffd,0xa97ffe01, 0xa9adffff,0xadfffffd,0x2aaaaaaa,0x445ffff5,0xeffffffc,0x207fffc0, 0x7c45fffd,0xffff105f,0x44dfff01,0xd30cffff,0xffd83fff,0xffc99dff, 0xfff80fff,0x2fffec0f,0x567ffff4,0xffffea98,0x0ffff403,0xfe9ffffa, 0x7fff41ff,0xd07fffa7,0x7ff4ffff,0x3ffff41f,0xfd81ffff,0x3ffe25ff, 0x7ffc4e65,0x477fffe6,0x7c6fffc9,0x7fec0fff,0x6ffffc5f,0x8dfff931, 0x931dffff,0xfff8dfff,0xfff931df,0x007ffa0d,0x7fc17fec,0x7ffec0ff, 0x33fffe65,0x4c99abde,0xf90bfff6,0x7cc1dfff,0x3ffd06ff,0x20bff600, 0x7ec0ffff,0x7ffd45ff,0x17ffe60d,0x4c1bfff5,0x7fd45fff,0x3ffe60df, 0xe8bfff05,0xffffffff,0xffffffff,0x26ffffff,0xfefffffe,0xffffffff, 0x3bfff61f,0x5ffffecb,0xf901ffd4,0xfd97bfff,0xfffb87ff,0x5ffffeff, 0xffffff88,0x01ffffff,0xd97dfffb,0xf30bffff,0xffffffff,0x900dffff, 0xffbbffff,0x7fe4ffff,0xffffddff,0x3ffff27f,0x7fffffdd,0x377ffff2, 0x367fffff,0xfecbefff,0x3fe25fff,0xffdff95f,0x7ffcc9ff,0xfffffeff, 0x5f7ffec1,0x45ffffec,0xfefffff9,0x7cc1ffff,0xfffeffff,0x7ffcc1ff, 0xfffffeff,0x37ffd101,0x07ffb510,0x32fbfff6,0x325ffffe,0xffffffff, 0xf70fffff,0xffd79fff,0xfbbfffff,0x3a201fff,0xda881bff,0xfffb03ff, 0xffffd97d,0xbffffd0b,0xd01ffffb,0xffbbffff,0xfffd01ff,0x1ffffbbf, 0xd117ffe0,0xffffffff,0xffffffd3,0x44dfffff,0xfffffffe,0x6fffccff, 0x7fffffcc,0x647ffeef,0x7fec01ff,0x5fffffff,0xffffff90,0x3e601dff, 0xffffffff,0x3ffe602f,0xffeeffff,0xffffb107,0x07ffffff,0x3ffffa20, 0x27ffcdff,0xffffffe8,0x3a27ffcd,0xcdffffff,0x3ffa27ff,0xffcdffff, 0x3ffffe67,0x27ffeeff,0xff75fff8,0xf30dffff,0xffffffff,0xfffff305, 0x0fffddff,0xfffffff3,0x3fe605ff,0x2fffffff,0xffffff30,0xfb005fff, 0xffd9bfff,0x7fcc03ff,0xfeefffff,0x3fffe27f,0xffffffff,0xffffd14f, 0xffd7ffff,0x05ffffff,0x9bffffb0,0x403ffffd,0xfffffff9,0xe887ffee, 0xffffffff,0xffffd102,0x2205ffff,0xfffffffe,0x17ffe02f,0x6fffff64, 0xffffffd1,0x70dfffff,0x3bfffffd,0x74c07f4c,0xff54ffff,0x803ff43f, 0xefffffea,0x7fff5402,0x64400bff,0x1cffffff,0xffffe980,0x403fff54, 0xefffffda,0x7ec4001d,0xfff73eff,0x3efffd88,0xfd88fff7,0xfff73eff, 0x3efffd88,0xfe98fff7,0xfff54fff,0xb97ffe23,0x300dfffe,0x1bffffd9, 0x7ffff4c0,0x303fff54,0x1bffffd9,0xfffec980,0x764c00df,0x000dffff, 0x3ffff6e6,0xe9800ace,0xff54ffff,0x4d6fec3f,0xfffffecb,0x3ffff623, 0x3ffee0ce,0x26002cef,0xceffffdb,0xffe9800a,0x3fff54ff,0x3bfffb20, 0xffec801c,0xec801cef,0x401cefff,0x4c405fff,0x44000001,0x006200a9, 0x55400131,0x4ccc4002,0x00998000,0x00333100,0x00002620,0x00000cc4, 0x02600013,0x80004c00,0x09880009,0x02620000,0x40009880,0x44000098, 0x13100009,0x00262000,0x00054c00,0x04001310,0x31004cc0,0x00131003, 0x0002a600,0x40000988,0x31000098,0x02620001,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x881f7754,0x4c000999,0x800ccc19,0x00cc4198, 0x26200131,0x99988000,0x26000000,0x09998800,0x260ccc00,0x6654c019, 0x1bbba02c,0x329ddd10,0x999886ee,0x7775c000,0x4405eea8,0x99880999, 0x22026620,0x2e000099,0x36a00eee,0x8803b20b,0x19999999,0x15797500, 0x04ccc000,0xdeed8800,0x4cc40750,0x2a026620,0x555501aa,0x5439b500, 0x2666201e,0x4c409999,0x3ba21880,0xddd3005e,0x417b7107,0x1000805d, 0x801eee88,0xfb809998,0xffd104ff,0x3ffc800f,0x3e009ff7,0x03ffe0ff, 0xfe802ff4,0x7ffc4001,0x6fedc406,0x007f9003,0x8003fff6,0x9ff73ffc, 0x3ffff620,0xfff82fff,0xb7ffc407,0xffd87ffd,0x7fe4001f,0x207ffb8f, 0xf305fff8,0x21bfe6df,0x000ffffa,0xfffb5553,0xffff9037,0xfc80dfbd, 0x07ffffff,0x7fffff4c,0xffa8002f,0xb10000ff,0x409fddff,0xdff16ff9, 0x05fff881,0xfa80fffd,0x0ffdefff,0x3fffffa0,0x22fc46ff,0x3ffe25f8, 0x9fff5006,0xbdffffb0,0x03e440bf,0xfff11f22,0x1dfff005,0x409fff70, 0x4002ffe8,0x06ffbffe,0x7c4dff10,0x5ffd987f,0x8004fb80,0x6400effb, 0x404ffeff,0x3a2006f9,0x7f4004ff,0xf106ffbf,0xffffffff,0x07fff85f, 0xfdb7ffc4,0x0fffcc7f,0x47ffe400,0x3f207ffb,0x67fdc06f,0x7fc41ffe, 0xfb006fff,0xbfffffff,0xfffb9ff0,0xfffc809f,0x2a07ffff,0xffffffff, 0x3fe2003f,0x20005fff,0x802fffe8,0x1ffecffb,0xd05fff88,0xcfd80fff, 0x406ffffd,0xfffffffe,0xebacfc86,0x1bffe21f,0x227ffd40,0xfffdcef8, 0x0fff502f,0x3e23ffd4,0x7fdc01ff,0x9fff700e,0x006ff880,0x0fffffcc, 0x2a4ffa80,0x7ffe45ff,0x07fc405f,0x0077fc00,0x3fe4bfe2,0x1000bf60, 0x4c001ffd,0xb01fffff,0xfb59ffff,0x7fff8dff,0xdb7ffc40,0x17fe47ff, 0x8fffc800,0xff106fc9,0xfffd001d,0x95ffb07f,0xffb009ff,0x8bffffff, 0x00e542c8,0x4cccccc4,0x3fffa019,0x0ffffbad,0xf93ffd00,0xfc88007f, 0x800effef,0x104ffffd,0x3fa0bfff,0x261e407f,0x9998802c,0xe9809999, 0x7c45ffff,0xff5006ff,0x222c889f,0x3ffa01cb,0x21fffa07,0x7f401fec, 0x3ffee00f,0x01ee9804,0x01f775c0,0x7dc7ff90,0x7f5fec4f,0x001fe405, 0x20006f54,0x2a06fe98,0xdb10006f,0xeeeb8005,0x0bfff303,0x7fc5fffb, 0x7ffc407f,0xed89be26,0x3ff20002,0x2a0bf10f,0xdd1000de,0x47dd50bd, 0x64000eed,0x00000fff,0x7fdc0000,0x27ffc43f,0xdb1f7540,0x67cc001b, 0x100dffd0,0x7c40bddb,0xfffd05ff,0x00000000,0x4405e4c0,0xf5006fff, 0x400009ff,0x3fa07ffe,0x401fb07f,0x7dc01ee9,0x000003ff,0x3ff60000, 0x430bff61,0x1be605fe,0x2a000000,0x3fa00fff,0x00000001,0x0bffee00, 0x3ffe06a6,0x37ffc407,0x220009f5,0xff90acca,0x005fb11f,0x00000000, 0x642f32a2,0x5cc00fff,0x2a000abc,0x3600abcb,0xffe81fff,0x00000007, 0x3ffe66a6,0x3e200004,0xfffd05ff,0x99997100,0x06aaa015,0x40015554, 0x5006fff8,0x55549fff,0x26555501,0x1aafffea,0x55fffd53,0x00017ee3, 0x403fffa8,0x000abcba,0x402af2e6,0xfffffffd,0x0fffffff,0x3f605fe8, 0xcba88002,0x5403aa0b,0xfb80efec,0xccb88005,0x55500acc,0x64aaaa03, 0x7c000fff,0x7fc407ff,0x40ffc8ef,0xff302aaa,0xff95ffff,0xaa89f91f, 0xaaaaaaaa,0x0555502a,0x2602aaa8,0xcaffffff,0xff700fff,0x807fffff, 0xffffffe9,0x55fffd02,0x4fffb555,0x55502aaa,0x03555103,0xfddffff7, 0xaaaa81ff,0x2aaaaaaa,0x7417ffe2,0x7fec07ff,0x41efffff,0xfd05fff8, 0x055550ff,0x200dfff1,0xff14fffa,0x5fffa0bf,0xfffffffc,0xffffff94, 0xa81df39f,0x797511aa,0x05fff303,0x3fffffa6,0x7ffdc02f,0xfd83ffff, 0xffffffff,0xe80fffff,0x00df505f,0xffffff70,0x8805ff9d,0x07fc43ff, 0x3ffff600,0x7c41efff,0xfffd05ff,0x0003fff6,0xf880ffff,0x81efffff, 0xffa85fff,0xffffffff,0xff8188ff,0xffffffff,0x0bfff06f,0xf305fff8, 0xffffffff,0xff901fff,0xdfffffff,0x3ffffea0,0xff83ffff,0xffffffff, 0xfff90fff,0x86fff981,0x7ec1fffb,0xffffffff,0x7ffffc5f,0x26ffffff, 0xfd05fff8,0x7ffd40ff,0x0fffffff,0x7417ffe2,0x5fff87ff,0x006fff88, 0x3e29fff5,0xfffd05ff,0x3ffffff2,0xfffff94f,0x7fc0a9ff,0xffffe8bf, 0x0fffc43f,0x7fffffd4,0xff903fff,0xdfffffff,0xffffffd8,0xffffffff, 0xfd05fe80,0xfffd8003,0x3fffffff,0xff88ffc4,0x20027e43,0xfffffffa, 0x3fe20fff,0x2fffd05f,0x4000fffd,0x7c407fff,0x3e02cfff,0xfffe85ff, 0xffffeabf,0x3fffe00f,0x6fffffff,0xf80bfff0,0xfffd05ff,0xffffd57f, 0xffffb81f,0x4ffffebe,0xbadfffe8,0x7fc0ffff,0xffffffff,0xfff31fff, 0x0ffffb85,0x3ee3ffec,0xfffdffff,0x7fffc7ff,0x6fffffff,0x7417ffe2, 0xfff107ff,0xfffd735d,0x82fffc47,0xfff87ffe,0x06fff885,0x229fff50, 0xffd05fff,0x3ffff2af,0xfff952cc,0xff80599f,0xffffffdf,0x07ffc2ff, 0x5d6ffff4,0x7dc0ffff,0xffebefff,0x7ff904ff,0x3a01ffdc,0x005fb85f, 0x4effffdc,0xd85fffeb,0x446ffdff,0x3e2000ff,0xfeb9aeff,0x3ffe23ff, 0x32fffd05,0x13501fff,0x4407fff8,0xff806fff,0x2fffd45f,0x007fffdc, 0xfbdddddd,0x3fe0bfff,0x2fffc05f,0x2077ffd4,0x220ffffb,0x7cc2ffff, 0x3fee1fff,0x27ffc43f,0x2001fffa,0x7fec4fff,0x27ffc2ff,0x217ffff1, 0x21ffffc8,0xfdeeeeee,0x3fe25fff,0x0ffff05f,0xf503f726,0x7ffc49ff, 0xf0fffd05,0xfff10bff,0x3ffea00d,0x20bfff14,0x7ff47ffe,0x01fffa07, 0xacfffff8,0x7c6fffea,0x7ffdc0ff,0x127ffc43,0xf985ffff,0xffd81fff, 0xd00bff61,0x00ff88bf,0x03bffe20,0x883ffffb,0x6c1dfffd,0x6e4c003f, 0x27ffd40f,0x3a0bfff1,0x9fff77ff,0x7c7fff70,0x7fc407ff,0x5fff806f, 0xf80fffe4,0x44000fff,0x3e06fffe,0x7ffc05ff,0x02fffc85,0x7d41ffff, 0xfff703ff,0x40fffec9,0x7fec7ffe,0xc81ab82f,0x7fffc6ff,0x8bffe64f, 0xfd06fffb,0xfe8805ff,0x6fff86ff,0x007fff88,0x449fff50,0xffd05fff, 0x10bfff0f,0x2a00dfff,0xfff14fff,0xd1fffa0b,0x7ff40fff,0x3fffe007, 0x23fffc44,0xfffd87fe,0x2a7ffe81,0xff703fff,0x41fff09f,0x4c400fff, 0x65427e40,0x17ffd40a,0x13fffbf2,0x40df3018,0x7d4001cc,0x3ffe24ff, 0x22fffd05,0xd30cffff,0x7ffc3fff,0x37ffcc07,0x362fffc0,0xffb00fff, 0xffd8001f,0x3ffe00ef,0x42fffc05,0xfb00fffd,0x7ffe41ff,0x4bfff100, 0xaaaafffe,0x7d47ffda,0x3fe60dff,0x8fffd45f,0x26fffff9,0x7fe47ffc, 0x9fff703f,0x0efffd80,0x222fffe8,0x3007fffd,0x9fffffb7,0xe82fffc4, 0x5fff87ff,0x006fff88,0x3e29fff5,0xfffd05ff,0x27fffa62,0x03fff409, 0x3a0ffff0,0x437ec7ff,0xaaaafffe,0x3f27ffda,0xfff100ff,0x226ff88b, 0xf10007ff,0x7fffdc1f,0x83fff23f,0x6fff8efb,0x902fe800,0xdb9805ff, 0x224fffff,0xffd05fff,0x7ffffdcf,0x7c5ffffe,0x7fcc07ff,0x5fff805f, 0xfb03fff4,0x7ec001ff,0x7fc00fff,0x2fffc05f,0xf903fff4,0x3fff41ff, 0xff9bffe0,0xffffffff,0x7ff40fff,0xffffddff,0xf73fff80,0x3a1fff9f, 0x7fff45ff,0x0dfff101,0x807fffec,0xfddffffc,0x2207ffff,0xfffffffc, 0x3ffe24ff,0xf0fffd05,0xfff10bff,0x3ffea00d,0x20bfff14,0xfffb7ffe, 0xfe85ffff,0x3ffe007f,0x41fffb06,0xffff86fc,0xffffffff,0x80fffd0f, 0xfffb6fff,0xffffffff,0x36001fff,0x2b7fe23f,0xfffb0ffd,0xffe8ffd4, 0x82fd4007,0xc882fffb,0xffffffff,0x17ffe24f,0x3f23fff4,0xefffffff, 0x007fff40,0xf00bfff3,0x7ffe8bff,0x003fff60,0x00ffffe4,0x3e02fffc, 0xfffd85ff,0x41fffb00,0x3e00fffd,0x3fffe6ff,0xffffffff,0x7fff441f, 0xb02fffff,0x2bff6bff,0xfff8affd,0x807ffec2,0xf905fff9,0x74403fff, 0xcdffffff,0xffd107ff,0xfff37bff,0x82fffc49,0xfff87ffe,0x36fff885, 0xfff50755,0x417ffe29,0xfffb7ffe,0xfe85ffff,0x3ffe007f,0x41fffb06, 0xffff84eb,0xffffffff,0x01fffb1f,0xffdb7ffc,0xffffffff,0x9800ffff, 0x98764c6f,0x1fffb2ff,0x7ff45ff3,0x40ff4006,0x442ffff9,0x9bdffffe, 0x3fe24fff,0x0fffd05f,0x7fffffd5,0x05fffb01,0x4027ffd4,0x7fe45fff, 0x1fffd00f,0x5ffff700,0x017ffe00,0xff90bfff,0x3fffa03f,0x407ffee0, 0x3fa4fff9,0x7640007f,0x201cefff,0xfff8fffa,0xffbcffb8,0x17ffe40f, 0xb84fffb8,0x9802ffff,0xf73efffd,0x3fff20ff,0x127ffc43,0x3fe0bfff, 0x85fff87f,0xfff6fff8,0x27fff70f,0xff05fff8,0x3ffa62ff,0x7ff4099f, 0x17ffe007,0x8007ffec,0x5c007ffe,0xff301fff,0x3ffff69f,0xffffffff, 0x2fe800ff,0xf70ffd80,0xf87ff5ff,0x3ee005ff,0xff9ff884,0x21fffe42, 0x3e24fff8,0xffff05ff,0x0067fe40,0x740dfff9,0xff803fff,0x1fffdc5f, 0x007fffcc,0x00ffffea,0x7c05fff8,0xfffb85ff,0x0ffff883,0x6417ffe6, 0x3ff63fff,0x001ab82f,0x3e200bf5,0xf36ffcff,0x50bffbdf,0x3fa0bfff, 0x7ffd43ff,0x4098003f,0x3ffa02fc,0x44fff987,0xff886fff,0x85fff87f, 0xffd6fff8,0x2fffc81f,0x3e21bffe,0x3fff47ff,0x400fffd0,0xffb05fff, 0x0bbba61f,0x5705fffb,0x05fff983,0xff87fff9,0x0007ffc7,0xfb1017ea, 0x7fffd47f,0x1fffd44f,0xe80ff880,0xfe85ff3f,0x4fff987f,0x7c437ffc, 0xd9b307ff,0x3fe601ff,0xdb99bdff,0xf800ffff,0x7ffc45ff,0x3fffaa1f, 0x3ffe600f,0x7ffc004f,0x42fffc05,0x2a2ffff8,0x7c0ffffe,0xf931dfff, 0xfffa8dff,0x17ffe60d,0xd8013ee0,0x3e4fffff,0xd02fffff,0x3663bfff, 0x7fcc6fff,0x200004ff,0x3ffe02fd,0x2fffec0f,0xfd07fffa,0xbfff0fff, 0x32dfff10,0xfc9bffff,0x3ffa0fff,0x3ffff41f,0x2043fff6,0x8010fffd, 0xffb05fff,0x0fffea1f,0x4c1bfff5,0x7ffc5fff,0xfff931df,0x226ff98d, 0xfe8006ff,0x0fffa201,0xb89bfffa,0x9000ffff,0x55dfb07f,0x7ffc59ff, 0x2fffec0f,0xfd07fffa,0xff100fff,0x7fffec07,0xffffffff,0x0bfff004, 0xfddffff9,0x201fffff,0xaaeffff8,0xf80aaaaa,0x7ffc05ff,0xdffff905, 0x1ffffffd,0xefffff98,0xe81fffff,0xffddffff,0x6fc800ff,0x3fffee00, 0x3ffff22f,0xffff300f,0x3fffffdf,0x577fffc4,0x00aaaaaa,0xfb027f40, 0xffd97dff,0xfffc8bff,0xfffffddf,0x885fff87,0xfff16fff,0x7fffffff, 0xddffffc8,0x6c7fffff,0x6c4fffff,0x404fffff,0xffb05fff,0x0fffea1f, 0x377ffffa,0x7cc0ffff,0xfffeffff,0x27fd41ff,0xb800bff5,0x3ffe604f, 0xfffff302,0x05fffffb,0x7f41be20,0x26ffffff,0xecbefffd,0x7e45ffff, 0xfffddfff,0x2e2087ff,0x7fe401ff,0xffffffff,0xbfff000c,0xfffffd10, 0x01fff7df,0x3fffffee,0x81ffffff,0x7fc05fff,0xfffb105f,0xfff7dfff, 0xfffff301,0x2205ffff,0xfffffffe,0x9ff5002f,0x7fc40355,0x3fea0fff, 0x7fdc05ff,0x3fffffff,0x7fffffdc,0x01ffffff,0x1cdffe40,0x3fffffe6, 0x447ffeef,0xdffffffe,0xfff87ffc,0x26fff885,0xfffffffb,0xfffe885f, 0x7ffcdfff,0x2fffffd4,0x17ffffea,0x360bfff0,0xfff50fff,0xffffd107, 0x2605ffff,0xffffffff,0x23ffc82f,0x22003ffb,0x3ffa00ff,0x3f21cccd, 0xffffffff,0x0bf6003f,0x7fe6665c,0x3fffe63d,0x7ffeefff,0x7fffff44, 0xd87ffcdf,0x005fffff,0xffffffb5,0xfff8005b,0x3ffff205,0x201fff54, 0xfffffffb,0xf81fffff,0x7ffc05ff,0x7fffdc05,0x00fffa8d,0xbffffd93, 0xfffd9001,0xff80039d,0x7f402fff,0x7ffc46ff,0xffd8803f,0xfb80dfff, 0xffffffff,0x4c001fff,0x4c0fffff,0xf54ffffe,0xffd883ff,0x0fff73ef, 0xff10bfff,0xfffea8df,0xfb100cff,0x3fee7dff,0x5ffffc87,0x05ffffc8, 0xfd82fffc,0xec8000ff,0x401cefff,0xdffffec9,0x6c3ffd00,0x3f2002ff, 0x3fffea03,0x5ff53fff,0x1bffffb7,0x0037cc00,0x3fa60bfe,0xfff54fff, 0xefffd883,0x950fff73,0x20003799,0x20000998,0x19805fff,0xffff7000, 0xffffffff,0x80bfff03,0x31005fff,0x01310000,0x00026200,0x00bcdb88, 0x741fffdc,0x44000fff,0x7ffdc009,0xffffffff,0xec98001f,0x0026202c, 0x7c000980,0x220005ff,0x04c00199,0x44019800,0xbfff0019,0x003fff60, 0x00009880,0x55500131,0x1000aaa8,0xccca80bd,0x0721cccc,0x76400026, 0x00e64001,0x4c000131,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x55000000, 0x2f2ea235,0x99803001,0xaa80ccc1,0x1597510a,0x99999880,0xcba80099, 0x31001bcc,0x55510133,0x9882f2a1,0x4400cc41,0x31000aaa,0x03333333, 0x59999710,0x09998001,0x98826620,0xdedb8809,0xedb9801c,0x664c00cd, 0x2ccccccc,0x33bb6e60,0x03eee880,0x405554c0,0xc981aaa8,0x5002cefe, 0x0017bdd9,0x76400000,0x1bbba0ee,0x009ddd10,0x500eeeb8,0x2aa21797, 0x0155530a,0x22015554,0x56654400,0x54155510,0x599510aa,0xdb002001, 0x9bdddddd,0x1cda8039,0x3ffe07aa,0xfffffe8b,0xdfffd503,0x2e7ff905, 0x7fff04ff,0x7fffffd3,0x7fffff40,0x3fa606ff,0x05ffffff,0x881fffd8, 0xfffcafff,0x7d53fea7,0xfffb805f,0xffff9002,0xfd80ffff,0x1effffff, 0x09fff100,0xffd27fe4,0xffffe987,0x3fee02ff,0x203fffff,0xfffffffc, 0xfff705ff,0xf885ffff,0x7dc004ff,0xfff981ff,0x7ffffec4,0x3f200dff, 0x01efffff,0xbefffdb8,0xfffd0000,0x203fffc1,0x4006fff8,0x7440fffc, 0xf9afffff,0x7fff71ff,0x213ffe60,0x85fffec8,0xafffffe9,0xff10fffa, 0xfffff37f,0x03e4403d,0x3ffffffe,0x80cfffff,0xfdeffffa,0xfdfff80f, 0x2fffffff,0x7fffffd4,0xff7ffd01,0x7efffc0d,0x1fffffff,0xffffffd0, 0x3ffe20df,0x3fffffff,0x40bffe20,0xfffefff8,0x7dffec4f,0xffb800ff, 0xfff9002f,0x540fffff,0xffffffff,0xff8800ff,0x93ff204f,0x3fe23ffe, 0x1fffffff,0xffffffc8,0xffb02fff,0xbfffffff,0xffffffb0,0x7fc41fff, 0x7fdc004f,0x4fff981f,0x3fffffee,0xffb05fff,0x3fffffff,0x3ffffaa0, 0x8003ffff,0x3fe0fffe,0x7ffc407f,0x7ffe4006,0x3ffffe20,0x1fffdfff, 0x320dfff1,0xffe81fff,0x7fcc6fff,0xfdffffff,0xbfff10ff,0xffffffff, 0x80fff503,0xffffffff,0x41ffffff,0xffffdcfd,0x9fffff06,0x8dfffd55, 0x0eeffffd,0x3fffff10,0x67ffffc0,0x05fffea9,0x33333331,0x2bfff201, 0x1fffea88,0x4405ff90,0xfeffffff,0x7ffff441,0x5fff7002,0x26666200, 0xff101999,0xffd735df,0xfff1007f,0xd27fe409,0x7ffdc7ff,0x85fffc9d, 0xfc9bffff,0xffff07ff,0x8bffffff,0xd9cffff9,0x3fe24fff,0x7fdc004f, 0x4fff981f,0x2a2ffffe,0x7d41fffe,0xfffabfff,0xffff985f,0x2fffffff, 0x07fff400,0xf880ffff,0x7e4006ff,0x3fff60ff,0xffffeacf,0x07fff61f, 0x3e61bffa,0x744eefff,0xfeabffff,0xff10ffff,0xff97ffff,0xfffd0dff, 0xaaffff80,0xffffeccc,0x0b261dc5,0x444ffff8,0x7ffc7fff,0x3bbaa007, 0x27fffc03,0x001bffe6,0x10dffb00,0x3b601379,0x7fffc403,0x7774c024, 0x2aaa2004,0x4c000000,0x7fd40fdc,0x3555004f,0x7ffc0000,0x507ffec6, 0xffe85fff,0x1fffc41f,0x81fffb00,0x3fe26fff,0x7fdc004f,0x4fff981f, 0xfa89fff3,0x7ffec2ff,0x207fff41,0x711cfffe,0x4001ffff,0x3fe0fffe, 0x7ffc407f,0x7ffe4006,0x81ffff30,0x2a1ffffa,0x7fcc3fff,0x3fffa84f, 0x70dfff50,0x3e21ffff,0x7f444fff,0x3fff42ff,0xa81fffe0,0x0002ffff, 0xfd07fff8,0x05fff8ff,0x3ffe0000,0x80fffd07,0x200abcb9,0x0acffffc, 0xff880000,0x000000ff,0x20009998,0x0accccb8,0x9fff5000,0x40000000, 0x7cc3fffa,0x172e64ff,0xf307fff2,0x3e6003ff,0x419984ff,0x9714fff8, 0xfff70159,0x29fff303,0x7c42fff9,0x3fff43ff,0xf327ffe4,0x3fee0dff, 0x3ffa002f,0x01fffe0f,0x510dfff1,0x3ff21799,0x07fff70f,0xff07fffa, 0x1fffc8df,0x901fffb8,0x3fa05fff,0xffff10ff,0x29fff503,0xaafffea9, 0x407fff81,0x5506fffb,0x6fff8055,0x221fffb0,0x2aa05fff,0x3797511a, 0x741bffe0,0xfff707ff,0x2a07ffff,0xdfffffff,0x0aaa880b,0xff881795, 0x5554406f,0x98017950,0xfb002fff,0x3dffffff,0xfffb7300,0x2aaa09ff, 0xaaaaaaaa,0x70555502,0xff885fff,0x3ffe005f,0x30fffb87,0x17ffd401, 0x59fff100,0x83ffffff,0xf981fffb,0x13ffe4ff,0xff81fff5,0x5fff985f, 0x4407ffaa,0x3a004fff,0x3ffe0fff,0x37ffc407,0x3fffffe6,0xf90fffca, 0x3ff203ff,0x0fffe41f,0xda98dffd,0x6c2abfff,0xffb00fff,0x1fffe21f, 0xfcafffc4,0x84ffffff,0xff807fff,0x5fff80ff,0xd837ffc0,0xfff10fff, 0x45fffc0b,0x83fffffe,0xffb06fff,0xfffff90f,0x2e0dffff,0xffffffff, 0x57ffc43f,0x7c47fffc,0x7fc405ff,0x07fffcaf,0x400fffd4,0xfffffffa, 0xfc880fff,0xffffffff,0xffffff04,0x20dfffff,0xffc85fff,0x05fff81f, 0x1fffed44,0x7fefffe4,0xfffb82ef,0x80bdec99,0xfffffff8,0x2e2fffff, 0xff981fff,0x2ffff24f,0xf86ffeb9,0xfff986ff,0x7fd40106,0x3ffa003f, 0x01fffe0f,0x7ccdfff1,0xffffffff,0xfffb0fff,0x07ffee01,0x3e67fff3, 0x7ffe43ff,0x3a0fffff,0xff900fff,0x17ffe21f,0xff96fff8,0xf09fffff, 0xffb00fff,0x0bfff03f,0xfb05fff8,0x3ffe21ff,0x3f7ffe05,0x2fffffff, 0xfd82fffc,0x7fffdc7f,0x4ffffebe,0xfffff930,0x7fc47fff,0x44ffffef, 0x4405fff8,0xffffefff,0x1fffa204,0x2bbffe20,0x43fffeb9,0xbdffffe8, 0xff04fff9,0xffffffff,0x17ffe0df,0x3e07fff2,0x7fec06ff,0xfffd03ff, 0x89ffffff,0xfffcfffc,0x7fc41eff,0xffbaefff,0x3ffee6ff,0x44fff982, 0xfffffffb,0x81fffd05,0x4007fffb,0x000fffe8,0xff83fffa,0x7ffc407f, 0x2fffffa6,0x0fffffea,0x3201fff9,0xffe81fff,0xc81fff76,0xffffffff, 0x403fff60,0xff10fffd,0xb7ffc0bf,0xccffffca,0x3fffe662,0xffc81999, 0x05fff82f,0xfd82fffc,0xbfff10ff,0x67ffffc0,0x46fffeaa,0xffb05fff, 0x17fffc4f,0x007fffe6,0xdffffb73,0x7fffffc4,0x7ffc41fe,0x7fffc404, 0x3601feff,0xc9804fff,0x7ffd40fd,0x21fffe44,0xdd04fff8,0xfffbdddd, 0x17ffe0bf,0x3e03fff6,0x7ff407ff,0xffff00ef,0x5fffffdf,0x7fffffec, 0x220fffff,0x7443ffff,0xfff72fff,0x89fff507,0xffffffe8,0x47fff901, 0x007fffe8,0x013fffe6,0x7c1fffd0,0x7fc407ff,0x1dfff56f,0x70ffffb8, 0x3f603fff,0xfffb81ff,0xca85ffe9,0x44cdfffe,0xfd01fffc,0x3ffe21ff, 0x89fff106,0xfff07ffe,0x3fffffff,0xf83fffc8,0x7ffc05ff,0x21fffb05, 0x3e05fff8,0x7fc44fff,0x82fffc7f,0x3fea7ffd,0x9fff703f,0x220b2a62, 0x3fe27ffe,0x3e2024ff,0x7fc404ff,0x744024ff,0x00005fff,0xfe89fff5, 0x4fff987f,0x3fffa200,0x217ffe06,0xff80fffe,0x7ff7c07f,0x7ff443ff, 0x3fffee24,0x19ffffb0,0x44bfff91,0xff506fff,0x17ffee9f,0xe893fff6, 0xffffffff,0xeffff882,0x0ffffffc,0x4ffff980,0x0fffe800,0xf101fffe, 0x3fff2dff,0x21ffff02,0xf884fffa,0xff881fff,0x202fffdf,0xf701fffc, 0xfff50bff,0x3fffe21f,0x43fffb81,0xfff07ffe,0x3fffffff,0xf84fffb8, 0x7ffc05ff,0x21fffb05,0x3e05fff8,0xfffd07ff,0xfb05fff8,0x07ffe4ff, 0xf15fff88,0xfff01fff,0x07fffc4d,0x013ffe20,0x801ffff1,0x006fffe8, 0x3fff6e60,0x7fffc4ff,0x02fffec0,0x01dfffb0,0x7ec2fffc,0x7fff80ff, 0x5fffb100,0x7fff4020,0xd0ffffb1,0x3fe21fff,0xbfff105f,0xa8bfffee, 0xff14ffff,0x3ff667df,0xffffa82f,0x07ffffff,0x04ffff88,0x41fffd00, 0x7cc07fff,0x1fffb6ff,0xf83fff60,0xfd50bfff,0x3f603fff,0x6407ffff, 0x3fe01fff,0xffd9aeff,0xfff10fff,0x7ffd45df,0x83fff40f,0xaaffffaa, 0x7ffe40aa,0x405fff83,0xffb05fff,0x17ffe21f,0xfb06fff8,0x2fffc1ff, 0x3fa7ffd8,0x37ffc07f,0x97bffff9,0x7c47fffd,0xff8806ff,0x7ffc404f, 0xdfffd806,0x7fe44000,0x4fffffff,0x65f7ffec,0x005ffffe,0x801ffffb, 0xffc85fff,0x06fff81f,0x017ffe20,0x327fff90,0xffc85fff,0x09fff11f, 0xffbb7ffc,0xfffeefff,0x5fff54ff,0x105fff88,0xfd3dfffd,0xfffb00df, 0x7ff40007,0x01fffe0f,0x3fabfff3,0x3fff207f,0x3ffffee0,0x1ffffffe, 0x9fffff50,0x01fffc80,0x3fffffee,0x10ffffff,0xfdffffff,0xfd09ffff, 0x7fff80ff,0x82fffc80,0x7fc05fff,0x1fffb05f,0xf817ffe2,0xfffb06ff, 0xd82fffc1,0x3fff67ff,0xb1bffe00,0xffffffff,0x5fff88bf,0x04fff880, 0x202fffc4,0x8005fff9,0xbdffffe8,0x7cc4fff9,0xeeffffff,0xffc807ff, 0xfff801ff,0x81fffb85,0x6c005fff,0x2a000fff,0xfff73fff,0x25fff507, 0xf106fff8,0x3ffeebff,0xffeffffd,0x20fff94f,0x09807ffd,0x3e017ffe, 0x2a6204ff,0x0fffe80b,0x9803fffa,0xfffb5fff,0x03fff601,0xdffffffb, 0x7c03fffb,0x6401ffff,0x7dc01fff,0xfcbfffff,0xdfff10ff,0xdffffffd, 0x80fffd01,0xfe807fff,0x5fff80ff,0xd82fffc0,0xfff10fff,0x82fffc0b, 0x3fe0fffd,0x4fffb05f,0xf301fffb,0xffd509ff,0xf105dfff,0xff100bff, 0xfff8809f,0x0fffdc05,0x7e413570,0x7ffc43ff,0xffffe984,0x403fff54, 0x002ffffb,0xff70bfff,0x4fff985f,0x7f4132aa,0x155310ff,0x2a5fff90, 0xffb85fff,0x0ffff11f,0x7dd3ffe6,0x9effd9ff,0xfffd4fff,0x01fffb01, 0x027ffcc0,0xb80bffe6,0xffe83fff,0x017ffec7,0x3f29fff5,0xfffd01ff, 0xbffff701,0x403fff91,0xc806fffc,0xca801fff,0xfff91cee,0xfcafffc4, 0x3fa04fff,0x3fffc07f,0x41fffe60,0x54005fff,0x3e200acd,0x3ffe05ff, 0x01fffb05,0x267ffe80,0xff905fff,0x7fec407f,0x9fff100b,0x06f36600, 0x404fff88,0xf501fffb,0x3fff45ff,0x1027ffcc,0x405f9813,0x003ffffa, 0x3e217ffe,0x7ffdc5ff,0x307fff62,0x7fe4ffff,0x1fffe83f,0xd81ffff1, 0xfff10fff,0x7fff903f,0x0c47ffee,0x20bfff20,0x76d47fff,0x0fffe40f, 0x803bba60,0x7c45fff9,0x7ffe46ff,0x4ffffa06,0xf883fffb,0x06600fff, 0x6403fff9,0xfc803fff,0x6c0001ff,0x3ffe27ff,0x7f400cc5,0x3fffc07f, 0x07fffd30,0x90017ffe,0x2201ffff,0x3fe05fff,0x1fffb05f,0x3fffc400, 0x4c77fffe,0x4c06fffc,0x880ffecd,0xf5004fff,0x3e203fff,0x7fcc04ff, 0x1fffd05f,0x3607fffc,0xb8005fff,0x3ffe604f,0x7ffc004f,0x25fffb05, 0x7dc6fff8,0xffb31dff,0x7fffccbf,0x8bfff711,0xf51dfffc,0x7ffc4dff, 0x3ffee0ef,0x03fff70f,0x8f7ffdc0,0x545fffc8,0x3fee4fff,0x4400006f, 0xea9dffff,0x7fcc4fff,0xeb99beff,0xff10ffff,0x7ff545ff,0x7e4000ff, 0xfff101ff,0xfff9001f,0x137bea03,0xff137ff4,0x3f6000bf,0xfff010ff, 0xf975555f,0x7fc0dfff,0xff30005f,0x17ffe209,0xfb05fff8,0xfd3001ff, 0xff98dfff,0xffffefff,0x3fe2001f,0x04fff883,0x882ff440,0xfe804fff, 0xffc9beff,0x7ffec5ff,0xffffecbe,0x06fc8005,0x55dffff1,0xf0155555, 0x3fea0bff,0x3ffffeff,0xffffffe8,0x7ec0ffff,0xffffefff,0x7fffc41f, 0x21ffffff,0xeffffff8,0x2e4fffff,0x74001fff,0xfffeffff,0x7ffc41ff, 0x2fffffff,0x02eee980,0x7fffffe4,0xfd80efff,0xffffffff,0x7fe44fff, 0xffffeeff,0x7e4000ff,0x3ae661ff,0xf9005fff,0x3fe203ff,0xfca89cff, 0x3ffe24ff,0xfffb0005,0xffff09ff,0xffffffff,0x7ffc03ff,0x7dc41005, 0xbfff101f,0xd82fffc0,0xfb800fff,0xf984ffff,0xffffffff,0xff710402, 0x09fff103,0x7ff31088,0x013ffe20,0x3fffffe2,0xf985ffff,0xeeffffff, 0xfa8007ff,0xff71aacf,0xffffffff,0xbfff03ff,0x7ffffe40,0xff880dff, 0x1fffffff,0xfffffe88,0xff501fff,0x87ffffff,0xffebfff8,0x2e0dffff, 0x44001fff,0xffffffff,0xffff503f,0x2005ffff,0x4403fff9,0xfffffffe, 0xfffb101f,0xbfffffff,0xffffd881,0x0fffbeff,0x0fffe400,0x3ffffffb, 0x07fff200,0xffffffd8,0x220fffff,0x50005fff,0xf0bfffff,0xffffffff, 0xf803dfff,0xff9005ff,0x7c40bfff,0x3ffe05ff,0x01fffb05,0x0dffffb0, 0x7ffff64c,0xfffd800d,0xfff105ff,0xffffb809,0x3ffe206f,0xfff91004, 0x4c09ffff,0xf54ffffe,0xfd0003ff,0x3fee5fff,0xffffffff,0x5fff81ff, 0x7ffff540,0x7ffe4404,0x7dc00cff,0x400dffff,0x1effffd8,0xfb2fff88, 0xff709fff,0xf910003f,0x803dffff,0x1dffffea,0x0fffe600,0x7ffffe40, 0xffeb802e,0x402effff,0xa8dffffb,0x64000fff,0x3ff21fff,0x32003fff, 0x36201fff,0xffffffff,0x2fffc41e,0xffff9000,0xffffff0b,0x0059ddff, 0x54017ffe,0x4401cccc,0x3fe05fff,0x1fffb05f,0x159db700,0x00026200, 0x40379995,0x4c04fff8,0x4402cccc,0x44004fff,0x0009bcca,0x00000131, 0x2e17bb51,0xffffffff,0xff81ffff,0x0131005f,0x00033300,0x26000131, 0x02600009,0x000ccc98,0x4000d4c0,0xf3000198,0xa88007ff,0x99880009, 0x01880009,0x5554c000,0x0737b6a0,0x03fff900,0x9bdd9930,0x00d55405, 0x00066200,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x3bbbbba2,0xeeeeeeee,0x3bb26eee,0xbddb102e,0x0003776c,0x3b20bda8, 0x777776c0,0xb02ceeee,0xdd701ddd,0x7777541d,0xeeeeeeee,0xeed81eee, 0xccdeeeee,0x07bbaa01,0x27774000,0x000eeec8,0x306ffb80,0x0079dfd9, 0x70bffe20,0x99999999,0x2a219999,0x13bba0aa,0xeeeea800,0xeeeed800, 0x1cdeeeee,0x001dddb0,0xeeeeeed8,0x3601ccde,0xeeeeeeee,0x744eeeee, 0x7ddd14ee,0x5dddb000,0x87bbb600,0x3bba4eee,0x7776c004,0xeeeeeeee, 0x329ddb3e,0x0dddb3ee,0xd15eee88,0x6eed8bdd,0x22f77440,0x99999998, 0xfffb8001,0xffffffff,0x27ffffff,0xf706fffa,0x3fffc9ff,0x7ffe4000, 0xff86fdef,0xffffffff,0x7ff40dff,0x0fffc80f,0x3fffffea,0xffffffff, 0xfffff82f,0xcfffffff,0x02fffb80,0x0bfff000,0x0007fff6,0x90dfff30, 0xdfffffff,0xfffe8003,0x7fffff42,0x1fffffff,0x7fc5fff5,0x3f60005f, 0xff803fff,0xffffffff,0xffe86fff,0x7ffc000f,0xffffffff,0xffff80cf, 0xffffffff,0xafffc5ff,0x8004fff8,0x9805fffb,0x7ffc7fff,0x0017ffe5, 0xffffffff,0x3e9fffff,0x29ffd6ff,0x7c407fff,0xdfff16ff,0x4407fff8, 0x7fdc6fff,0x01ffffff,0x7fffffc0,0xffffffff,0x7f47ffff,0xffff81ff, 0x001fffe0,0x3ff73fe0,0xffff84ff,0xffffffff,0x3fffa0ff,0x20fffc80, 0xfffffffa,0xffffffff,0xffffff82,0xffffffff,0x017ffdc1,0x05fff800, 0x0003fffb,0x237fff44,0xfffffffc,0xf7000eff,0xffe85fff,0xffffffff, 0x5fff51ff,0x8002fffc,0x06fffff8,0xfffffff8,0x5fffffff,0x0007fff4, 0x3ffffffe,0x1fffffff,0x7ffffffc,0x5fffffff,0xff8afffc,0xff88004f, 0x7fdc00ff,0xf2fffc4f,0xff800bff,0xffffffff,0xdfff4fff,0x7ffd3ffa, 0xb7ffc407,0xf336fff8,0x33333fff,0x3dfff333,0x3ffffee1,0x2e001fff, 0xffe9cfff,0xaaaaaabf,0x7ffd42aa,0x227ffdc5,0x0999ffff,0x2a164400, 0x5ffff01c,0xffff9995,0x07fff49f,0x5107ffe4,0xfffb5555,0x0155555b, 0x9955ffff,0x8bffffd9,0x0001fffb,0x360bfff0,0x00e21fff,0x37ffff4c, 0x739ffff3,0x3009fffd,0xe85fffff,0xffffffff,0x3fea6fff,0x017ffe2f, 0x7ffffe40,0x7fffc02f,0xfebaaaaa,0x3ffa1fff,0x7ffc000f,0xfecccaaf, 0x7ffc5fff,0xaaaaaaaf,0x7ffc1aaa,0x009fff15,0x00ffffa0,0xcc83fffd, 0x017ffe3c,0x555ffff0,0x23555555,0x7fb76fff,0xf101fffe,0x3ffe2dff, 0xfffffff6,0xffffffff,0x262dffff,0x01999999,0xd87fff40,0xd0001fff, 0x7ffc3fff,0x7ffffc0f,0x04ffffff,0xffff0000,0xd3fffe40,0xf3101fff, 0x3ffee00f,0x1fffe003,0x82ffffa8,0xf00000fd,0x3ff60bff,0x880bd31f, 0x6ffffffc,0xf30fffee,0xffd00dff,0xb8005fff,0x2aa21fff,0x017ffe0a, 0x7fffffc0,0x3fffc05f,0xe8ffff20,0x7c000fff,0x3fea07ff,0x1fffe2ff, 0x15fff800,0x20009fff,0x2606fffb,0x3e006fff,0x7fc005ff,0x7ffc007f, 0x7ffcbea6,0xb7ffc407,0xfff6fff8,0xffffffff,0xffffffff,0xf500000d, 0x7ffec9ff,0xfff50001,0x213ffeeb,0xffffffff,0xa81effff,0x797511aa, 0x40ffff03,0xfd0ffff8,0x1be201ff,0x01fffdc0,0xb80ffff0,0xbfc46fff, 0x32a22aa9,0x57ffe02c,0x54fffec0,0x7ff405ff,0x366fffff,0xffe81fff, 0x7fffe407,0x3e6002ff,0x3fe003ff,0xffa8005f,0x00fffecf,0xf301fffe, 0x7fff49ff,0x3fffc000,0xf9bffee0,0x3e0007ff,0x9fff15ff,0x10355550, 0x2e01ffff,0xaaa84fff,0xca97ffe2,0x7fff80bc,0x9b7ffc00,0x0ffff0fe, 0xf16fff88,0x3feaadff,0xaaaaaaff,0x2affffba,0x8002aaa8,0x3f60fffe, 0x3a0001ff,0xfffe8fff,0xffffff80,0xffffffff,0x745fffc1,0x7c3fffff, 0x7ffc07ff,0x01fffd0f,0x2e005fd5,0x3e003fff,0xfff807ff,0x2e5ff50f, 0xffff77ff,0xdfff03df,0xdfffd899,0x7f402fff,0x86ffe8cf,0x0dfff019, 0x7fe7ffcc,0x3ffa002f,0x2fffc005,0x47ffec00,0x3e03fffb,0x7fdc07ff, 0x03fffa1f,0x00ffff00,0x3fe1ffff,0x3fe0007f,0x89fff15f,0xb00efffc, 0x3fa07fff,0x5fff81ff,0x3fa37ffe,0x7fc3ffff,0x7ffc007f,0x7ffc3fd6, 0xb7ffc407,0x7fc6fff8,0x7ffc407f,0x017ffe06,0xd8bfff50,0x20001fff, 0xfffdfffa,0x33ffff04,0xffff7533,0xffdfff8b,0x22ffffff,0x3e607fff, 0x3fffa7ff,0x2003fd80,0x2003fffb,0xfd807fff,0x5c7f71ff,0xffffdfff, 0xfff86fff,0x7ffec4ff,0xde801fff,0x801bffa1,0x3a04fffa,0x2fffabff, 0x01fff700,0x005fff80,0xf8b7ffc4,0x3ffe06ff,0x1fffea07,0x8001fffd, 0xfd807fff,0x0ffff1ff,0x8afffc00,0x3fee4fff,0x3fea00ef,0x6fff886f, 0x7fcbfff0,0xffffffff,0x1fffe2ff,0x26dfff00,0x203fffc0,0xff16fff8, 0x07fff8df,0xf037ffc4,0xfd800bff,0x7ffec1ff,0xffffffff,0x3eaaa21f, 0xabffffff,0x81fffe1a,0x7fc7fffa,0xfeaacfff,0x1fffe6ff,0xd2ffffd4, 0x01101fff,0x03fffb80,0x9ffff998,0xfffc8199,0xffff7022,0xffff737d, 0x0effff85,0x077fffec,0x6ffe8180,0x0bfffa00,0xffab7fe4,0x9fff002f, 0x2bfff000,0xf701ccc9,0x7fff47ff,0xffffff02,0xdfffffff,0x40fffe81, 0x7fc0ccc9,0xfffc807f,0xfffffff2,0x0fffffff,0x3fe2bfff,0x1ffff54f, 0x81ffff00,0xff03fffb,0x7ffffcbf,0x5fffeaac,0x3bbbfffe,0x3e1eeeee, 0x3ffe06ff,0xffffffff,0xff16ffff,0xfffff8df,0xffffffff,0x3ffe06ff, 0x3ffe6005,0xfffffd86,0x1fffffff,0x3fffffe6,0x4fffffff,0xff01fffe, 0x7fffc1ff,0xf3fffc44,0xffdddfff,0x745fffff,0x00000fff,0xf007fff7, 0xffffffff,0x3fffc83f,0x03fffee0,0xff87fff9,0xfffd80ef,0xffe80005, 0xbfffb006,0x547ffe60,0xfb802fff,0xff8001ff,0x05fff75f,0xfb83fffa, 0xffff05ff,0xffffffff,0x1fffd03f,0x7c1fffb8,0xffc807ff,0xffffff3f, 0xffffffff,0x3e2bfff0,0xffffacff,0x7fff9001,0xf00fffe8,0x7fffcbff, 0xf3fffc44,0xffffffff,0x7ffc5fff,0x3ffffe06,0xffffffff,0xdfff16ff, 0xfffffff8,0xffffffff,0x017ffe06,0xd82fffd8,0xffffffff,0x3e61ffff, 0xffffffff,0x3fe4ffff,0x3ffe207f,0x41fffe0f,0x3ffe7ffe,0xffffffff, 0x7fff44ff,0xfffb0000,0xffffffff,0xffffff0b,0xfb83ffff,0x3fee04ff, 0x4fff983f,0x2617ffea,0x0001ffff,0xd806ffe8,0xfd00ffff,0x17ffd47f, 0x0037ff40,0xff75fff8,0xbfff305f,0x80ffff88,0xffffffff,0x43ffffff, 0x7dc0fffe,0x3fffc1ff,0xfa7ffdc0,0xffffffff,0xff87ffff,0xfdfff15f, 0x54003fff,0x3fe26fff,0x97ffe05f,0xfe80ffff,0x3ffffe7f,0x2fffffff, 0xff81bffe,0xffffffff,0xf16fffff,0xffff8dff,0xffffffff,0x3fe06fff, 0xfff1005f,0xfd33333f,0x333335ff,0xccc88333,0xccefffdc,0x1fffe2cc, 0x7c6fffa8,0xfffb06ff,0x3fffffe1,0x83efffff,0x0000fffe,0xfffffffb, 0x550bffff,0x5555ffff,0x03fffc81,0x260bffee,0xfff74fff,0xffffb8bf, 0xfe80001f,0x7ffec06f,0x8dff901f,0x5402fffa,0x3a602fff,0x57ffe2ee, 0xfc82fffb,0xfffd82ff,0xaaffff83,0xfffcaaaa,0x03fffa5f,0xff83fff7, 0xfffc807f,0x333ffff3,0x03333333,0x3fe2bfff,0x01ffffff,0xb8ffffc0, 0x3fe02fff,0x41fffe5f,0x3ffe7ffd,0xcccccccf,0x81bffe1c,0xaaaaffff, 0x6fffbaaa,0xff8dfff1,0xaaaaaaff,0x206fffba,0xf9005fff,0xffffffff, 0x0003ffff,0x807fff30,0x9999ffff,0x45ffffb9,0xffb06fff,0x33fffe1f, 0x201aaacc,0x0000fffe,0xfffd9997,0x7c07999d,0xffc807ff,0x3ffee02f, 0xd4fff882,0xfe8bffff,0x0001ffff,0x3606ffe8,0xf301ffff,0xf95559ff, 0x360559ff,0x7fd407ff,0x457ffe2f,0xfff80999,0xfeeeeeef,0x7fff86ff, 0x87fffc40,0x4c40fffe,0x07fff819,0xff2fffd8,0x7fc000ff,0xfffff15f, 0xc800dfff,0xfffd4fff,0xf2fffc01,0x3ff60dff,0x00ffff0f,0x3e06fff8, 0x7fc407ff,0x8dfff16f,0x7c407fff,0x3ffe06ff,0xffff8805,0xffffffff, 0x644001ff,0xefffdccc,0x3fe2cccc,0xffffffff,0x7fc1ffff,0x1fffb05f, 0x4001fffe,0x0000fffe,0x007fff70,0x7403fffc,0x3ee00fff,0xfff882ff, 0x8bfff3d4,0x01fffeee,0x06ffe800,0x403ffffb,0xfffffffb,0x05ffffff, 0xfa809fff,0x17ffe2ff,0x7ffffd40,0xffffffff,0x03fffc2f,0xfe97ffe4, 0x7fc000ff,0xfffe807f,0x000ffff1,0xff8afffc,0x2fffefff,0x3bffe600, 0x7c05fff8,0x17ffe5ff,0xff87ffec,0x7ffc007f,0x01fffe06,0x3e2dfff1, 0x3fffc6ff,0x81bffe20,0xfc805fff,0xffffffff,0x001fffff,0x7fffffcc, 0x4fffffff,0x3ffffffe,0x82ffffff,0xffb05fff,0x01fffe1f,0x007fff40, 0x3fffb800,0x01fffe00,0xb80ffff3,0xff882fff,0x17ffe14f,0x03fffb19, 0x0dffd000,0x803ffffb,0xfffffffb,0x85ffffff,0x5401fff9,0x3ffe2fff, 0xffffd005,0xffffffff,0x7fff8bff,0xd4fffc80,0xf8001fff,0x7fd407ff, 0x01fffe7f,0xf15fff80,0xfff17fff,0xfffe800f,0x7c02fffd,0x17ffe5ff, 0xff87ffec,0x7ffc007f,0x01fffe06,0x3e2dfff1,0x3fffc6ff,0x81bffe20, 0x7c405fff,0xaaaabfff,0x01fffeaa,0x7ffffcc0,0xffffffff,0x3fffffe4, 0x01cfffff,0x3f60bfff,0x0ffff0ff,0x03fffa00,0x7ffdc000,0x1fffe003, 0x03fffe98,0x4417ffdc,0x7ffc4fff,0x03fffb05,0x8dffd000,0x801ffffb, 0xfffffffb,0x85ffffff,0xb000fffc,0x02fffc3f,0x5577ffc4,0xffbaaaaa, 0x1fffe0ff,0x25ffff10,0x4000fffe,0x3a207fff,0x3ffe2fff,0x3ffe0007, 0x5cbfff15,0x2e004fff,0x07ffffff,0x3fe5fff8,0x1fffb05f,0xf001fffe, 0x7ffc0dff,0xb7ffc407,0x7fc6fff8,0x7ffc407f,0x017ffe06,0xe80bfff7, 0xaaaabfff,0x510aaaaa,0xbfff9555,0x7fc35555,0x009999ff,0x360bfff0, 0xffff0fff,0x3fffa000,0xaaaaaaab,0xfffb802a,0x3fffe003,0xffcbaaaa, 0xffb806ff,0x4fff882f,0xfd82fffc,0xaaaaabff,0x3a00aaaa,0x3ffe26ff, 0xccccccef,0x3ffea004,0x01fff602,0x3ffe0ff8,0x3fffc805,0x23fffd80, 0xaaaaffff,0xfffffbaa,0x557fffd0,0x45555555,0xaaaaffff,0x46ffffca, 0xaaaaffff,0x42aaaaaa,0xfff15fff,0x00fffe89,0xffffff10,0x4bfff009, 0xffb05fff,0x01fffe1f,0x7c0dfff0,0x7fc407ff,0x8dfff16f,0x7c407fff, 0x3ffe06ff,0x17fff405,0x3fffffa0,0xffffffff,0x0fffe602,0x000ffff0, 0xfd82fffc,0x0ffff0ff,0x3ffffa00,0xffffffff,0x7ffdc00f,0x3fffe003, 0xffffffff,0xffb801ff,0x4fff882f,0xfd82fffc,0xffffffff,0x3a01ffff, 0x3ffee6ff,0xffffffff,0x3ffea007,0x01bffa02,0xfff0ffa6,0x1ffff00b, 0x4dfff500,0xffffffff,0x3fffffff,0x3ffffffa,0x0fffffff,0xffffffff, 0x83ffffff,0xffffffff,0x0fffffff,0x7fc57ffe,0x2fffd44f,0xfffffd00, 0x4bfff003,0xffb05fff,0x01fffe1f,0x7c0dfff0,0x7fc407ff,0x8dfff16f, 0x7c407fff,0x3ffe06ff,0x1bffea05,0x3fffffa0,0xffffffff,0x0fffe602, 0x000ffff0,0xfd82fffc,0x0ffff0ff,0x3ffffa00,0xffffffff,0x7ffdc00f, 0x3fffe003,0xffffffff,0xfff7001e,0x89fff105,0xffb05fff,0xffffffff, 0x7f403fff,0x3ffff66f,0x7fffffff,0x0bffea00,0xa805fff8,0x05fff84f, 0x0037ffd4,0x3fe5ffff,0xffffffff,0x7f44ffff,0xffffffff,0xfff0ffff, 0xffffffff,0xffff03bf,0xffffffff,0x7ffc1fff,0xb09fff15,0x2e003fff, 0xf007ffff,0x2fffcbff,0xff0fffd8,0xfff800ff,0x01fffe06,0x3e2dfff1, 0x3fffc6ff,0x81bffe20,0x3fa05fff,0xffe803ff,0xffffffff,0x3e602fff, 0x7ffc03ff,0x3ffe0007,0x21fffb05,0xd0007fff,0xffffffff,0x801fffff, 0x2003fffb,0xffffffff,0x5c002cee,0xff882fff,0x82fffc4f,0xfffffffd, 0x01ffffff,0x7fc5bffa,0xffffffff,0x3ea007ff,0xfff102ff,0x7fc02009, 0x7ffec05f,0x3fff2003,0xfffffff5,0x039dffff,0xfffffffd,0x21ffffff, 0xffffffff,0x3fe02cee,0xffffffff,0x3e0fffff,0x9fff15ff,0x00dfff30, 0x013fffe2,0xfff2fffc,0x43fff60b,0x7c007fff,0x3ffe06ff,0xb7ffc407, 0x7fc6fff8,0x7ffc407f,0x017ffe06,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0xb0000000,0x74c01ddd,0xddb0deee,0xddd0001d,0x76c01ddd,0xddb0eeee, 0x4eed803d,0xdddddddb,0x80179ddd,0x54004eee,0xeeeeeeee,0x1eeeeeee, 0x2603ddd9,0x3604eeee,0x777546ee,0xeeeeeeee,0x777646ee,0xeeee9805, 0x07dddb11,0x01f776c4,0x9807bba2,0xaaaaaaaa,0x000aaaaa,0x54000000, 0x555501aa,0xb880aaa6,0x000acccc,0x50157973,0x32a60355,0x2e6002cc, 0x65440abc,0x555402bc,0x40555501,0x800abcb9,0x42cccca8,0x2001bcca, 0x01bcccba,0x80000001,0x2af2ea00,0x206aaa00,0xfff1aaaa,0x3ffa201f, 0x3fffa1ff,0xffff8000,0xfff302ff,0x3ffe1fff,0xb7ff405f,0xffffffff, 0x81efffff,0xaaefffa9,0x7ffd401a,0xffffffff,0xff92ffff,0x3ffee07f, 0xdfff107f,0xffffffb8,0x7fffffff,0x01ffffcc,0xf713fffa,0x3f201fff, 0x7c400eff,0x000e02ff,0x65d440a2,0x3003aa0b,0x7c407fff,0xfffd05ff, 0x3603fff6,0xefffffff,0x3fffee01,0x3fe23fff,0x7ffec45f,0x2e02ffff, 0x2fffffff,0xdffffff5,0x0bfff103,0x3ee1fffa,0x03ffffff,0x3fffffea, 0xffffebef,0x3fa602ff,0x85ffffff,0x000002ed,0x7f4c36d4,0x882fffff, 0x7fe45fff,0x1ffff0ef,0x5ffffd10,0x000fffe8,0x4ffffff8,0xffffff70, 0x0bffffe1,0xfff6ffe8,0xffffffff,0xfc83ffff,0x5fffffff,0x7ffffd40, 0xffffffff,0xbfff52ff,0x3fffffa0,0x44fffa80,0xfffffffb,0x87ffffff, 0x700ffffb,0xfd01ffff,0xfff30bff,0xfff1005f,0x44001c05,0xfffffb82, 0x402ffcef,0x2203fff9,0xffd05fff,0x503fff6f,0xffffffff,0xfff701ff, 0x2dffffff,0x3e25fff8,0xffffffff,0xffffb82f,0xffefffff,0x1fffffff, 0xe82fffc4,0x7ffe47ff,0x86ffffff,0xfffffff8,0xffffffff,0xff881fff, 0xffffffff,0x05fffec3,0xffd70000,0xfffffa8d,0x7c43ffff,0x3ffee5ff, 0x03fffe0f,0x05ffffd1,0x0001fffd,0x0dffffff,0x3ffffff6,0x1ffffff0, 0x7fdbffa0,0xccbaaaff,0x644ffffd,0xffffffff,0x55554405,0xaadfffda, 0xfff10aaa,0xfffff10f,0x5fff905f,0xaaaaaa98,0x5ffffcaa,0x109fffd0, 0x2605ffff,0x7f42ffff,0xff1005ff,0x4001c05f,0x7fffec28,0x03ffffff, 0x203fff98,0xfd05fff8,0x11fff6ff,0xd735dfff,0xffb87fff,0xfffebeff, 0x25fff8cf,0xdacffffd,0x7fdc6fff,0xfffebeff,0xfb9cffff,0x7ffc46ff, 0x5cfffd05,0xfebeffff,0x7fec4fff,0xfffeb9bf,0xffeb9bff,0x57ffe41f, 0x1fffea88,0x33fffff6,0xff910001,0xffe8dfff,0xffffbadf,0x557ffe20, 0x7fc1ffff,0x7ffec0ff,0x1fffd02f,0xfffff000,0xffff01ff,0x3ffe1fff, 0xffd04fff,0x701fffed,0x3fe0ffff,0xf700005f,0xffd007ff,0xffffa81f, 0xfffe85ff,0x7ffc4000,0xfff300ef,0x5fffc83f,0x87fffdc0,0x000ffffb, 0x1c05fff1,0xff714400,0xffd73bff,0xddd300bf,0x2fffc405,0xf537ffe8, 0x40fdc98f,0x3e24fffa,0x7fcc2fff,0x34fca9ff,0xffb0bfff,0x17fffc5f, 0x07ffffea,0x7c45fff5,0xfffd05ff,0x30bfffe2,0x2e23ffff,0x7ffcc2ed, 0x27ff443f,0x3221bff6,0x3ffee09b,0x002dffff,0xffffffb3,0x1fffdc9f, 0xf893ffe2,0xffff9dff,0x20ffff81,0x202ffffd,0x8000fffe,0x2fffdfff, 0x7fefffcc,0xffffff0f,0x2dffd03f,0xff807fff,0x5fff81ff,0x8002b2ea, 0xc803fffb,0x7fe42fff,0xff87ffef,0xffe8006f,0x7fe401ff,0x3fffe66f, 0xcfffe800,0x302ffff8,0xfff99999,0x0e59999b,0x7fc4a200,0x7ffec0ef, 0x2200001f,0xffd05fff,0x20037c4f,0x3ea4fffa,0xfff905ff,0x7fdcfee7, 0x4c1a982f,0xffd04fff,0x93ffe0ff,0xfd05fff8,0x0fffeaff,0x8027ffdc, 0xc80ffff9,0x7ffe47ff,0xb5000acf,0x7dffffff,0xffffd501,0xfd815dff, 0x7ffe81ff,0x3ffbffe2,0xffff02ff,0x0fffff21,0x001fffd0,0xffbbfff0, 0xfceffb89,0xfffff0ff,0xdffd0dff,0x3e01fffe,0xfff80fff,0xfffffe8d, 0x7fff7003,0x89fff500,0xfffbdffe,0x013ffe60,0x05ffffb0,0x25ffff10, 0x3003fffd,0xfffdffff,0x7fffd40b,0xffffffff,0x5100074f,0xf90bffea, 0x64c9fffd,0xcccccccc,0xff12cccc,0x5fffa0bf,0x5cc03fd8,0x24fffffd, 0xf502fffc,0x21ff3bff,0x2000fffc,0xf701fffb,0x55555dff,0x7fc4dffd, 0x2fffd05f,0xf100fffc,0x36e60bff,0xaaffffff,0x0fffcaaa,0x3fffffea, 0xb8800bdf,0x4ffffffe,0xfffffff7,0x7fff4039,0xffdaaaaa,0x3ffffe27, 0xfff01fff,0x7ffff91f,0x01fffd00,0xf7bfff00,0xccffd8df,0xdfff0fff, 0xfe87fffd,0x80ffff6f,0xff07fffa,0xffffffff,0xff7003ff,0xfff1007f, 0x4dfffc4b,0x3fee2fff,0x3fee002f,0x3ea004ff,0x6fffafff,0x7fffe400, 0x3ea00fff,0xffffffff,0x0074ffff,0x3fff2510,0x3fe3bee0,0x3fffea6f, 0xffffffff,0x0bfff14f,0x3ff3fffa,0xffff9105,0x749fffff,0x3fe00fff, 0x3f62ffff,0x3f6000ff,0xfff300ff,0xffffffff,0x2fffc4ff,0xffd7ffe8, 0x26fff80f,0xffffffb8,0xffffffff,0x5c1fffff,0xffffffff,0x3f66003f, 0xfffb6fff,0x3fe005bf,0xffffffff,0xfff10fff,0x20dfffff,0xfffcffff, 0xffe803ff,0xfff8000f,0x3e0fff9d,0x0fffcaff,0xfff5bfff,0xfb7ff41f, 0xbaaaafff,0x03ffffdc,0x55dfffff,0x700bfffd,0x3e007fff,0x3ffea7ff, 0x7e49fff1,0xff3000ff,0xfb000bff,0x03ffffff,0xffffe880,0x7ffd403f, 0xffffffff,0x100074ff,0xfa9fff65,0x54fffd1f,0xffffffff,0xf14fffff, 0x3ffa0bff,0xfd102eff,0xff37bfff,0x0fffec9f,0x0dffff88,0x0007ffec, 0x2603fffb,0xffffffff,0x3e27ffff,0xfffd05ff,0xf803fff6,0x3fff66ff, 0xffff9bdf,0xffffffff,0xfffc982f,0x003fffff,0x6dbfff6a,0x000befff, 0xffffffff,0x223fffff,0xffefffff,0xfffff83f,0x00ffffff,0x0007fff4, 0xfffafffc,0xf91fff32,0x57ffe1ff,0x3fa4fffd,0xffffff6f,0xffffffff, 0x1ffffc0b,0x201bffe2,0xb003fffb,0x3ff23fff,0xfe9fff67,0xfff1007f, 0xf10001df,0x009fffff,0x1bfffea0,0x17ffc400,0x25100070,0xff98fffd, 0xfa9bffa2,0xffffffff,0xff14ffff,0x3fffe0bf,0x1fffe400,0xfb93ffe2, 0xfff703ff,0x07fff20b,0xfff704d4,0x17ffea09,0x0bfff100,0x7fddfffe, 0x9fff301f,0xf037ffee,0x20000fff,0x6ffffdb9,0x7fff5c40,0xffff96ff, 0xfe8039ff,0x7fc4007f,0x1fffd4ff,0xfffffff8,0x7405ffff,0xf8000fff, 0x2bffb5ff,0xfff96ffb,0x7c57ffe1,0xdffd1fff,0x3ffffffe,0x02efffff, 0x7407fffc,0xffb807ff,0xfff7003f,0xfb97ffa5,0x5fff88ff,0x1ffffd00, 0x7ffdc000,0xfb0000ff,0x0001ffff,0x1c05fff1,0xffb94400,0x7fc3ffaf, 0x7c00005f,0xfff886ff,0x87ffe807,0x3e64fff9,0xfffb06ff,0x13ffee07, 0x7d4fffee,0xfffd06ff,0x8135901f,0xff886fff,0x0bfff37f,0x7e4ffff2, 0x7ffc40ff,0x441ab82f,0xfe882ca9,0xfffb507f,0xda87dfff,0xbeffffff, 0x82fffd80,0x7ffc41ab,0xf13ffea5,0xf37fffff,0x7f407fff,0xff8000ff, 0x3afff75f,0x1fff94ff,0xffb97ffe,0x3edffd6f,0xffeeefff,0xfff003ff, 0x03fff60d,0x007fff70,0x3e33ffe6,0x3ffe63ff,0x803fffaa,0x002ffffd, 0x02fffe80,0xfffff500,0xff1000df,0x4001c05f,0xfffff528,0x03fffa89, 0x200d5544,0x7f42fffe,0xfff807ff,0x2fffec0f,0x4c77fffe,0x100ffffc, 0x2619ffff,0x3fa1fffe,0xffb30cff,0x7e419fff,0x7fff43ff,0xf3ffff41, 0x3263bfff,0x3ff66fff,0x7fffe42f,0x9bffe60e,0xf80ffff8,0x3ff226ff, 0x01dfffff,0x7ffffe4c,0x3fea1cff,0x3ffe60df,0xd17ffe25,0x7ffc3fff, 0x3fff24ff,0x1fffd00f,0x2bfff000,0xfff9fff9,0x3e1fff92,0x7fff45ff, 0xfff6ffeb,0x4ffffa8f,0xb06fff80,0xfb801fff,0x3fe003ff,0x41fffaef, 0xfffbcfff,0x7fffdc01,0xffb00003,0xff10003f,0x07ffffff,0x02fff880, 0xe8a2000e,0x3ee26fff,0x7cc00fff,0x7fe403ff,0xffffddff,0xfffd807f, 0xffffecbe,0x7ffffcc5,0x02fffffe,0x77ffffdc,0x7cc5ffff,0xfffeffff, 0xecffffff,0xffc85fff,0xffffddff,0x3fffe67f,0x1fffffef,0x2f3fffee, 0xfffffffe,0x40ffffdd,0xcbdffffc,0x3f63fffe,0x00cfffff,0x7fffdc40, 0x7fff46ff,0x0ffffddf,0xf317ffe2,0x7fffcbff,0x2ffffc44,0x000fffe8, 0x3fe5fff8,0xf90fffef,0x17ffe1ff,0xfffffff3,0x2a1fffed,0x7c04ffff, 0xfffb05ff,0x3fffb801,0x37fff600,0xeffc86ff,0x7d407ffd,0x00005fff, 0x0007fff6,0x3f3bfff6,0x22000fff,0x00e02fff,0xfff98a20,0xfffffdff, 0x3fff9802,0x7ffff440,0x07ffcdff,0xffffff98,0x987ffeef,0xffffffff, 0xfff9002f,0x01dfffff,0xfffffff5,0xffffd7ff,0xd101ffff,0x9bffffff, 0xfff98fff,0x42ffffff,0xffffffe8,0xffffebff,0xfb02ffff,0xffffffff, 0xbefffd8b,0xfea80000,0x7ff446ff,0x42ffffff,0xfd85fff8,0x1ffff2ff, 0x05ffff70,0x0001fffd,0x7fecbfff,0x3ff26fff,0x90bfff0f,0x2dffffff, 0xff907fff,0x7ffc05ff,0x01fffb05,0x003fffb8,0x3fffffee,0xfffffa84, 0x3ffe205f,0x6c00006f,0x54001fff,0xffd2ffff,0x999800bf,0x22000e00, 0x3fffff22,0x003fffff,0x3007fff3,0x2e9dfffd,0xfd3007ff,0x3fea9fff, 0xffec881f,0x54000dff,0x0bfffffe,0x3ffff620,0x3fff20cf,0x36200bdf, 0xff73efff,0xfffd930f,0x3f6201bf,0x2e0cefff,0x02ceffff,0x7fffff54, 0x02dfd82e,0xdfb30000,0x3bfffb20,0x5fff881c,0xff6fff98,0x3ffa01ff, 0x7fff40ff,0x5fff8000,0x93ffffee,0xfff0fffc,0xfffff10b,0x81fffedf, 0xf00ffffe,0x3ff60bff,0x7ffdc00f,0x3ffe6003,0xff882fff,0xd103ffff, 0x0001ffff,0x01fffd80,0x97fffe20,0x983ffff9,0xcccccccc,0x072ccccc, 0x3fea5100,0xdffffdba,0x2aaa2000,0x0004c001,0x00013100,0x00000988, 0x31000133,0x00098801,0x22000098,0x06620009,0x20002620,0x2a009998, 0x10000001,0x00098807,0x3fffe000,0xbffff300,0xaabfffe8,0x42aaaaaa, 0x3fe65fff,0x3ff22fff,0x20bfff0f,0xf6fffffa,0x7fcc0fff,0xbfff05ff, 0x003fff60,0x4007fff7,0x0ffffff8,0x3fffffd0,0x33ffff20,0xaaaaaaaa, 0xffb000aa,0x7fec003f,0x7ffe40ff,0x7fffd40f,0xffffffff,0x5100074f, 0x0004c0e4,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0xfff00000,0x7ffec01f,0x3ffffa2f,0xffffffff, 0xf17ffe0f,0x7e41ffff,0x0bfff0ff,0xfb7fffec,0x7fe407ff,0x5fff82ff, 0x801fffb0,0x4003fffb,0x206ffffe,0x207ffffc,0xfffffffd,0xffffffff, 0x3fffb003,0x3fffea00,0x5fffe882,0x7fffffd4,0x4fffffff,0x55555557, 0x05755555,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x401ffff0,0xd0fffff8,0xffffffff, 0x7c1fffff,0x7ffec5ff,0xf87ffe46,0x3fe205ff,0x0ffff6ff,0xf0dfffd0, 0x3ff60bff,0x7ffdc00f,0x7ffe4003,0x3ffea04f,0x3fff605f,0xffffffff, 0xb003ffff,0xf1003fff,0x7d40bfff,0x3fea3fff,0xffffffff,0x00004fff, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00ffff80,0xea7fffdc,0xffffffff,0x3e0fffff, 0x7ffdc5ff,0xf87ffe44,0x7fdc05ff,0x00ffff6f,0xf89ffff3,0xfffb05ff, 0x3fffb801,0x7fffd400,0x3fffe202,0x3ffff603,0xffffffff,0xfb003fff, 0xff9003ff,0xffd801ff,0x000000ff,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x55540000,0x22155512,0xcba81bcb, 0x11aaa80a,0x51037975,0x0aaaa355,0x5440d554,0x155511aa,0x55502f2a, 0x55555555,0x48805705,0x50055554,0x5554c555,0x03555502,0x4c04eeb8, 0x055511aa,0xa88d54c0,0x0200442a,0x09988000,0x00013100,0x01100088, 0x65c02660,0xcccccccc,0x40204ccc,0xcccccccb,0x224ccccc,0xddd54eee, 0x653bba67,0x6edc1eee,0x0355101b,0x44444410,0x33066208,0xc8099983, 0x4ccc43cc,0x7cd3bba0,0xffffffff,0x13ffffff,0x77777777,0x37777777, 0x00000000,0xbfff0000,0x3ee7ffe6,0xfd15ffff,0xff85ffff,0xffffe8bf, 0x9fffcc3f,0x7cc0fffc,0xfffb86ff,0xf95fff11,0xffff8fff,0x6fffffff, 0x76d57fdc,0x2e5fe9be,0xff103fff,0x7fff44bf,0x07fffd44,0x101bff20, 0x3ff61dff,0x0ffe8801,0x77445ff9,0xa881f900,0x6401befd,0xbfd007ff, 0x81efedc4,0x80dfffec,0x403ffffb,0xfffd02fe,0xffffffff,0x5bfd50ff, 0xffffffe8,0x27ffffff,0xff75fff8,0x57ffea9f,0x66c2fffd,0x3f621ffe, 0x440befff,0xfffff11e,0x87ffa5ff,0x3ff60fff,0x22fffc0f,0x3fe0effe, 0xfffff35f,0xffffffff,0x3ffe67ff,0xffffffff,0x0003ffff,0x00000000, 0xff35fff8,0xffffffdf,0xfffffdbf,0x6fffc3ff,0xffffffff,0x4cfffe62, 0x7fdc2fff,0x3ffec0ff,0xfffdfff1,0xfffff89f,0x26ffffff,0xfffffff8, 0x13ffffff,0x3ee0dfff,0x7ffcc2ff,0x5ffff11f,0x00dff900,0x3fe69ff7, 0x9ffec00e,0x3fa26ffa,0x7ffe40ef,0x3ffbff20,0x3fffe206,0x97ff6603, 0x44ffeffc,0x6ffffffb,0x7fffffe4,0x7407fa04,0xffffffff,0x7ec7ffff, 0x3fa5ffff,0xffffffff,0x3fe27fff,0x29fff75f,0xffb5fffa,0xd2ff405f, 0xffffffff,0x223ffd9d,0x2fffffff,0x7ffc3ffd,0x3e27fec0,0x3ffea5ff, 0xb8afffc0,0xbbbbbbbb,0x31bbbbbb,0xffffffff,0x7fffffff,0x00000000, 0xbfff0000,0x2fbfffe6,0xdfffffc9,0x24fffeaa,0xaacfffff,0x3e66fffe, 0x13ffe3ff,0xf85ffffb,0x3ffe24ff,0x741fefff,0xffdeeeee,0x7ffd45ff, 0xffffffff,0x40fffec4,0xff907ffe,0x13fff6df,0x8037fe40,0x9ff92fff, 0xf8b7fd40,0x3ffe61ff,0xffff90ef,0x7ccffe23,0xffff902f,0x3ffff20d, 0x3f25ff15,0xffb2f647,0x7557ffc4,0xb17f11ff,0x7f49931f,0xffffffff, 0x3fe27fff,0xfd0ffb8b,0xffffffff,0x7fc4ffff,0x29fff74f,0xffb5fffa, 0x7d44225f,0x3ffffe3f,0xffffffff,0xfffff11f,0x87ffa5ff,0x7f440fff, 0xe97ffe0f,0x5fff81ff,0x00000000,0x00000000,0xfff80000,0x83ffff35, 0x220efffe,0x3ffe5fff,0x3fffc44f,0x7e435551,0x7ffffc6f,0x88bffe64, 0x0024ffff,0x837fff44,0xfdbefffd,0xfff987ff,0x027ffcc4,0xfffbfffd, 0x3ff2001d,0x1fff5006,0xf105fff1,0x17ff65ff,0x37bfffe6,0x2621ffff, 0x105ff30a,0x05ffffff,0x10bfd7fb,0x5440dfd3,0x7ff70ffe,0xffa9ffdc, 0x07ffefef,0xb13f2000,0xffb8007f,0xff33fa87,0x53ffe27f,0xff71fffc, 0xadf8dfff,0xffffeca8,0xbbb10dff,0x0443bbbb,0x77440222,0x74c66662, 0x0000002e,0x00000000,0x00000000,0x3e6bfff0,0xfffc85ff,0x3e6fff83, 0xfffd07ff,0x47ffea00,0x26fffff9,0x7fc47ffc,0xfd8000ff,0xff880eff, 0x17ffcc4f,0x3f23fff4,0x3fe200ff,0x701fffff,0xfffd9999,0x3a099999, 0x1fff75ff,0xff75ffd8,0x3ffe601f,0x401fffff,0xfb80ffe8,0x186ffdef, 0x3fea17fa,0x7ff6440f,0x3ff90fff,0xdb8affcc,0x03dfffff,0x913f2000, 0xffb8009f,0xff12fd87,0xa9fffc5f,0x332e67ff,0x3260382b,0x00002cee, 0x00000000,0x00000000,0x00000000,0x7fc00000,0x09fff35f,0xff05fff9, 0x837ffcdf,0xf000fffd,0x33fee7ff,0xbffd0fff,0x006fff88,0x00ffffd8, 0xfd03fff3,0x3fff709f,0x5c02fffc,0x203fffff,0xfffffffe,0x307fffff, 0x3ffe5fff,0x227ffee5,0x7cc04fff,0x401fffff,0xf881fff9,0x1fff9bff, 0x32a17fa0,0xffd10efe,0x321ff97b,0x13fe62ff,0x2e03fff2,0xcccccccc, 0x3e64cccc,0x003ff31f,0x3627ffb8,0xb07ff45f,0x1bfe23ff,0x00000000, 0x00000000,0x00000000,0x00000000,0x20000000,0xfff35fff,0x03fff909, 0x7ffcdfff,0x01fffb06,0x7ed7ff60,0xf8affdaf,0x7ffc42ff,0x7ffe4005, 0x3ffe601f,0x884ffd80,0xfff54fff,0x3fffa005,0x3fffa00f,0xffffffff, 0x3fff507f,0x7cc9fff1,0x0bffd3ff,0x1dffffb0,0x80f7fd40,0xffd0fffb, 0x102ff40b,0x8ffea7ff,0x9ff50ffe,0x3f21ffdc,0x7f40efcf,0xffffffff, 0x7ff47fff,0xb8006ffe,0x037e27ff,0x41988331,0x00000099,0x00000000, 0x00000000,0x00000000,0x00000000,0x35fff800,0xff907fff,0x4dfff03f, 0xffb05fff,0x3fea001f,0xfb8fff8f,0x40fffbcf,0x2005fff8,0x402ffffb, 0x7c43fff8,0xfffb03ff,0x4c01fff6,0x204fffff,0xfffffffe,0xd07fffff, 0x1bff29ff,0x3e63ffee,0x3ff202ff,0xa80effff,0x3fe00eff,0x03ffee5f, 0x1ff8aff4,0x3fe67ff1,0x11fffb9d,0xfff99fff,0xfe97fdc1,0x7fffff46, 0x7fffffff,0x067ffe44,0x23ffdc00,0x00000001,0x00000000,0x00000000, 0x00000000,0x00000000,0xff800000,0x07fff35f,0xff03fff9,0x82fffcdf, 0x1000fffd,0x2dff9fff,0x5ffdeff9,0x004fff88,0x007ffff5,0x2e73fffa, 0xf300fffe,0x09fff5ff,0xfffffd10,0x7fe4003f,0x2dff7006,0xfd01fff9, 0x41bfee9f,0xfffffffc,0x3ffe20ef,0x3ea4ffff,0x3ffe21ff,0x7ecbfd04, 0x7f46ffdf,0x21ffefff,0x3ffffffa,0xd07aa5c8,0xffffffff,0x220fffff, 0x3ee0000a,0x0000007f,0x00000000,0x00000000,0x00000000,0x00000000, 0x80000000,0xfff35fff,0x03fff907,0x7ffcdfff,0x01fffb05,0x7ffffec0, 0x3fffffe4,0x04fff882,0x04ffff98,0xfffffd10,0x405fffff,0x0ffffffe, 0xfefffd80,0xf9000eff,0xfff100df,0x880fff63,0x7ffd0fff,0x99ffffc8, 0xf50effff,0x49ffffff,0xffd86ffe,0x225fe80f,0x441dfffd,0x83991ceb, 0x201deed9,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x35fff800,0xff907fff,0x4dfff03f,0xffb05fff, 0x0bbba61f,0x8bffffee,0x80fffffc,0x4404fff8,0xaaaeffff,0xfd10aaaa, 0xffffffff,0x3ee05fff,0xa805ffff,0xffd8efff,0xdff9005f,0x2a7ff900, 0xffb806ff,0x261fff15,0x3e61ffff,0x33312fff,0x32213333,0xccc982cc, 0x03009881,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0xff35fff8,0x3fff907f,0x7fcdfff0, 0x1fffb05f,0x220fffe6,0x2a0fffff,0xf105ffff,0xffb809ff,0xffffffff, 0x33ff21ff,0xffbefffd,0xffff101f,0xfff8805f,0x5ffff11f,0x80dff900, 0x3ffa5ff9,0x23ffb000,0x3fea3ffb,0x003ff981,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x7cd7ffe0,0xfffc83ff,0x3e6fff81,0xfffb05ff,0x40fffe61, 0x7c46fffe,0xff103fff,0xfffb809f,0xffffffff,0x3022641f,0xfffd803f, 0x4fffd807,0x007fffdc,0x0001bff2,0x1a800000,0x00000e60,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0xf0000000,0x3ffe6bff,0x81fffc83,0x3ffe6fff,0x21fffb05, 0xf703fff9,0xfffd07ff,0x13ffe201,0xffffff70,0x03ffffff,0x7fcc0000, 0x7ffdc04f,0x0bfffd06,0x00009988,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000,0x00000000, }; static signed short stb__arial_bold_31_latin_ext_x[560]={ 0,2,1,0,0,1,1,1,1,0,0,1,1,0, 1,-1,1,2,0,1,0,1,1,1,1,0,2,2,1,1,1,1,0,0,2,1,2,2,2,1,2,1,0,2, 2,1,2,1,2,1,2,1,0,1,-1,0,0,-1,0,1,-1,0,1,-1,0,0,1,1,1,0,0,1,1,1, -2,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,2,0,0,3,3,3,3,3,3,3,3,3, 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,2,1,0,0,0, 2,0,0,-1,0,1,1,0,-1,-1,1,0,0,0,2,1,-1,1,0,1,0,1,1,1,0,1,0,0,0,0, 0,0,-2,1,2,2,2,2,-1,1,-1,-1,-1,2,1,1,1,1,1,1,0,1,1,1,1,-1,2,1,0,0, 0,0,0,0,1,1,0,0,0,0,-1,1,-1,-1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0, 0,0,0,0,0,0,1,1,1,1,1,1,1,1,2,1,-1,1,2,0,2,0,2,0,2,0,2,0,1,1, 1,1,1,1,1,1,2,1,0,0,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,0,-2,2,1,1,2,1,2, -1,2,2,2,1,0,0,2,1,2,1,2,1,-1,2,1,1,1,1,1,1,1,0,1,2,1,2,0,2,1, 1,0,1,0,1,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,-1,0, -1,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,-1,3,3,3, 3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3, 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,-1,-1,1, 1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, 3,3,3,3,3,3,3,3,3,3,0,0,-2,1,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3, 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, 3,3,3,3,3,3, }; static signed short stb__arial_bold_31_latin_ext_y[560]={ 25,5,5,4,3,4,4,5,4,4,4,8,21,15, 21,4,5,5,5,5,5,5,5,5,5,5,10,10,7,10,7,4,4,5,5,4,5,5,5,4,5,5,5,5, 5,5,5,4,5,4,5,4,5,5,5,5,5,5,5,5,4,5,4,28,4,10,5,10,5,10,4,10,5,5, 5,5,5,10,10,10,10,10,10,10,5,10,10,10,10,10,10,4,4,4,12,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,25,10,5,4,8,5, 4,4,4,4,4,11,10,15,4,1,4,6,4,4,4,10,5,13,25,4,4,11,4,4,4,10,-1,-1,0,0, 0,1,5,4,-1,-1,0,0,-1,-1,0,0,5,0,-1,-1,0,0,0,8,4,-1,-1,0,0,-1,5,4,4,4, 4,5,4,4,10,10,4,4,4,4,4,4,4,4,5,5,4,4,4,5,4,7,9,4,4,4,4,4,5,4, 0,5,0,4,5,10,-1,4,-1,4,-1,4,-1,4,-1,5,5,5,0,5,-1,4,-1,4,5,10,-1,4,-1,4, 0,4,-1,4,4,2,-1,0,5,5,-1,5,0,5,-1,4,5,5,0,10,5,5,-1,4,5,5,10,-1,0,5, 5,5,5,5,5,5,5,-1,4,5,10,-1,4,5,4,10,0,5,-1,4,-1,4,4,10,-1,4,5,10,-1,4, -1,4,-1,4,4,10,-1,4,5,5,-1,5,5,5,-1,5,0,5,-1,4,-1,4,-1,4,5,10,-1,4,-1,4, 0,-1,4,0,4,-1,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,4,7,7,7, 7,7,7,7,7,7,7,7,7,7,4,10,7,7,7,7,7,7,7,7,7,7,7,7,7,5,10,7,7,7, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,-1,4,-1,4,-1, 4,-1,4,0,0,0,0,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,7,7,-3,-1,-1,4,-1,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7, }; static unsigned short stb__arial_bold_31_latin_ext_w[560]={ 0,5,11,16,15,23,19,5,8,8,11,15,5,9, 5,9,14,9,15,14,15,14,14,14,14,15,5,5,14,15,14,15,27,20,17,18,17,16,14,19,16,5,14,18, 15,21,16,20,16,21,18,17,17,17,20,27,19,20,17,8,9,8,14,17,7,15,15,14,15,15,11,15,15,5, 8,15,5,22,15,15,15,15,11,15,9,14,16,22,16,15,14,11,4,10,16,15,15,15,15,15,15,15,15,15, 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,5,14,15,15,16, 4,15,10,22,10,13,15,9,22,17,9,15,9,9,7,14,17,5,8,6,10,14,22,22,23,15,20,20,20,20, 20,20,29,18,16,16,16,16,8,7,10,10,20,16,20,20,20,20,20,14,21,17,17,17,17,20,16,15,15,15, 15,15,15,15,23,14,15,15,15,15,7,7,10,10,15,15,15,15,15,15,15,15,16,14,14,14,14,15,15,15, 20,15,20,15,22,17,18,14,18,14,18,14,18,14,17,19,20,16,16,15,16,15,16,15,16,15,16,15,19,15, 19,15,19,15,19,15,16,15,20,16,10,10,10,10,10,10,7,7,5,5,19,13,16,11,18,15,15,15,7,15, 9,15,9,15,11,17,8,16,15,16,15,16,15,19,17,15,20,15,20,15,20,15,27,25,18,11,18,12,18,11, 17,15,17,15,17,15,17,15,17,9,17,14,17,9,17,14,17,14,17,14,17,14,17,15,17,17,27,22,20,15, 20,17,14,17,14,17,14,9,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,19,15,15,17,15,15,15, 15,15,15,15,15,15,15,15,15,15,23,19,15,15,15,15,15,15,15,15,15,15,15,15,15,23,20,15,15,15, 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,20,15,10,10,20, 15,17,14,17,14,17,14,17,14,17,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, 15,15,15,15,15,15,15,15,15,15,20,15,29,23,21,16,15,15,15,15,15,15,15,15,15,15,15,15,15,15, 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, 15,15,15,15,15,15, }; static unsigned short stb__arial_bold_31_latin_ext_h[560]={ 0,20,8,22,25,22,22,8,27,27,11,15,9,5, 4,22,21,20,20,21,20,21,21,20,21,21,15,20,16,10,16,21,27,20,20,22,20,20,20,22,20,20,21,20, 20,20,20,22,20,23,20,22,20,21,20,20,20,20,20,26,22,26,12,3,5,16,21,16,21,16,21,21,20,20, 26,20,20,15,15,16,21,21,15,16,21,16,15,15,15,21,15,27,27,27,6,18,18,18,18,18,18,18,18,18, 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,21,26,22,15,20, 27,27,5,22,11,14,10,5,22,3,10,19,12,12,5,21,26,5,6,12,11,14,22,22,22,21,26,26,25,25, 25,24,20,27,26,26,25,25,26,26,25,25,20,25,27,27,26,26,26,14,23,27,27,26,26,26,20,22,22,22, 22,21,22,22,16,21,22,22,22,22,21,21,21,21,21,20,22,22,22,21,22,16,17,22,22,22,22,27,26,27, 25,21,25,22,26,21,27,22,27,22,27,22,27,22,26,21,20,21,25,21,26,22,26,22,26,21,26,22,27,27, 26,27,27,27,27,29,26,25,20,20,26,20,25,20,26,21,26,26,25,15,21,26,27,27,26,26,15,26,25,26, 26,20,20,20,20,20,20,26,21,26,21,26,21,20,22,21,26,21,27,22,27,22,22,16,26,21,26,21,26,21, 27,22,27,22,27,21,27,22,29,29,26,21,20,21,27,21,26,21,27,22,27,22,27,22,26,21,26,21,26,27, 25,26,21,25,21,26,21,21,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,22,18,18,27,18,18,18, 18,18,18,18,18,18,18,18,18,18,22,16,18,18,18,18,18,18,18,18,18,18,18,18,18,21,16,18,18,18, 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,22,26,21,27, 22,27,22,26,26,26,26,26,26,26,26,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18, 18,18,18,18,18,18,18,18,18,18,28,27,26,22,28,22,18,18,18,18,18,18,18,18,18,18,18,18,18,18, 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18, 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18, 18,18,18,18,18,18, }; static unsigned short stb__arial_bold_31_latin_ext_s[560]={ 511,504,336,33,33,481,29,348,387,1,276, 152,330,380,423,65,204,200,210,219,226,234,249,242,295,310,46,257,465,288,450, 326,99,275,296,183,330,348,430,383,455,472,342,1,20,36,58,331,81,105,75, 149,111,357,387,129,196,175,157,223,272,80,222,429,401,302,264,338,375,480,423, 435,414,408,152,371,365,7,30,394,451,391,75,434,467,379,118,52,135,407,87, 47,412,401,363,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232, 232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,511,505,286, 377,102,31,396,371,390,417,254,183,314,380,338,447,304,216,212,244,415,280,455, 409,354,237,265,168,218,50,90,128,131,171,307,415,328,84,1,88,490,18,370, 398,161,232,444,1,477,67,123,257,186,340,434,197,127,296,335,416,398,301,48, 242,114,361,226,386,274,440,410,145,1,488,472,456,504,184,238,193,337,65,322, 306,290,266,258,265,248,211,196,181,166,417,270,451,349,144,12,49,247,160,467, 466,486,435,10,91,144,368,322,192,132,249,492,282,63,241,211,202,89,298,125, 297,79,143,287,177,59,127,193,1,270,455,478,94,52,498,387,499,499,417,240, 248,505,1,428,256,261,249,106,207,496,170,436,361,142,98,445,314,263,182,173, 35,488,1,1,473,27,153,313,43,377,59,236,352,197,450,1,353,228,91,192, 103,152,116,29,403,179,419,218,75,353,75,27,17,436,473,114,463,278,448,343, 402,213,257,159,282,231,167,382,368,1,314,110,163,471,296,212,49,178,325,353, 17,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,106,232,232,433, 232,232,232,232,232,232,232,232,232,232,232,232,232,142,318,232,232,232,232,232, 232,232,232,232,232,232,232,232,160,281,232,232,232,232,232,232,232,232,232,232, 232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,361,126, 314,227,314,17,278,130,418,29,44,62,77,95,400,454,232,232,232,232,232,232, 232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232, 232,232,232,67,107,469,393,45,73,232,232,232,232,232,232,232,232,232,232,232, 232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232, 232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232, 232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232,232, 232,232,232,232,232,232,232,232,232, }; static unsigned short stb__arial_bold_31_latin_ext_t[560]={ 1,161,249,162,113,113,139,249,1,31,249, 249,249,249,249,139,185,207,207,185,207,185,185,207,185,185,249,207,228,249,228, 185,31,207,207,113,207,207,207,113,207,207,185,228,228,228,228,113,207,113,228, 113,228,185,207,228,228,228,228,86,113,86,249,249,249,228,185,228,185,228,185, 185,207,207,86,207,207,249,249,228,185,185,249,228,185,228,249,249,249,185,249, 31,1,1,249,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,1,113,59, 139,249,207,1,1,249,139,249,249,249,249,139,249,249,228,249,249,249,185,59, 249,249,249,249,249,113,162,162,185,59,59,86,86,86,113,207,1,59,86,86, 86,86,86,86,113,185,113,1,1,86,59,59,249,113,1,1,59,59,59,207, 139,162,139,139,162,139,139,228,162,162,139,139,139,139,162,162,185,162,207,139, 139,139,162,139,228,228,139,139,139,139,1,59,1,86,185,113,139,59,185,1, 113,1,113,31,139,1,113,59,162,207,162,86,162,86,113,59,113,86,162,86, 113,31,31,86,31,31,31,31,1,86,86,207,228,86,185,86,207,31,162,86, 86,1,249,162,86,31,31,86,86,228,86,86,59,86,207,207,207,207,207,207, 86,162,86,185,59,185,207,113,185,59,185,1,113,1,113,139,228,59,185,59, 185,59,185,31,113,1,113,1,185,1,139,1,1,31,162,207,162,31,162,31, 162,31,113,31,113,31,113,31,162,59,162,59,1,86,31,162,113,185,31,162, 185,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,139,228,228,1, 228,228,228,228,228,228,228,228,228,228,228,228,228,139,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,162,228,228,228,228,228,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,31,139, 31,162,1,162,1,162,31,59,59,59,59,59,31,31,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228, 228,228,228,1,1,31,139,1,162,228,228,228,228,228,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228,228, 228,228,228,228,228,228,228,228,228, }; static unsigned short stb__arial_bold_31_latin_ext_a[560]={ 123,148,210,247,247,395,321,106, 148,148,173,259,123,148,123,123,247,247,247,247,247,247,247,247, 247,247,148,148,259,259,259,271,433,321,321,321,321,296,271,345, 321,123,247,321,271,370,321,345,296,345,321,296,271,321,296,419, 296,296,271,148,123,148,259,247,148,247,271,247,271,247,148,271, 271,123,123,247,123,395,271,271,271,271,173,247,148,271,247,345, 247,247,222,173,124,173,259,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,123,148,247,247,247,247,124,247, 148,327,164,247,259,148,327,245,178,244,148,148,148,256,247,123, 148,148,162,247,370,370,370,271,321,321,321,321,321,321,444,321, 296,296,296,296,123,123,123,123,321,321,345,345,345,345,345,259, 345,321,321,321,321,296,296,271,247,247,247,247,247,247,395,247, 247,247,247,247,123,123,123,123,271,271,271,271,271,271,271,244, 271,271,271,271,271,247,271,247,321,247,321,247,321,247,321,247, 321,247,321,247,321,247,321,319,321,271,296,247,296,247,296,247, 296,247,296,247,345,271,345,271,345,271,345,271,321,271,321,271, 123,123,123,123,123,123,123,123,123,123,348,247,247,123,321,247, 247,271,123,271,123,271,171,271,213,271,123,321,271,321,271,321, 271,315,321,271,345,271,345,271,345,271,444,419,321,173,321,173, 321,173,296,247,296,247,296,247,296,247,271,148,271,213,271,148, 321,271,321,271,321,271,321,271,321,271,321,271,419,345,296,247, 296,271,222,271,222,271,222,123,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,322,333,333,247,333,333,333,333,333, 333,333,333,333,333,333,333,333,379,316,333,333,333,333,333,333, 333,333,333,333,333,333,333,368,321,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,321,247,123,123,345,271,321,271,321,271,321, 271,321,271,321,271,333,333,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,333,333,333,333,333,333,333,333, 333,333,321,247,444,395,345,271,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333,333,333,333,333,333,333,333,333, 333,333,333,333,333,333,333,333, }; // Call this function with // font: NULL or array length // data: NULL or specified size // height: STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT or STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT_POW2 // return value: spacing between lines static void stb_font_arial_bold_31_latin_ext(stb_fontchar font[STB_FONT_arial_bold_31_latin_ext_NUM_CHARS], unsigned char data[STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT][STB_FONT_arial_bold_31_latin_ext_BITMAP_WIDTH], int height) { int i,j; if (data != 0) { unsigned int *bits = stb__arial_bold_31_latin_ext_pixels; unsigned int bitpack = *bits++, numbits = 32; for (i=0; i < STB_FONT_arial_bold_31_latin_ext_BITMAP_WIDTH*height; ++i) data[0][i] = 0; // zero entire bitmap for (j=1; j < STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT-1; ++j) { for (i=1; i < STB_FONT_arial_bold_31_latin_ext_BITMAP_WIDTH-1; ++i) { unsigned int value; if (numbits==0) bitpack = *bits++, numbits=32; value = bitpack & 1; bitpack >>= 1, --numbits; if (value) { if (numbits < 3) bitpack = *bits++, numbits = 32; data[j][i] = (bitpack & 7) * 0x20 + 0x1f; bitpack >>= 3, numbits -= 3; } else { data[j][i] = 0; } } } } // build font description if (font != 0) { float recip_width = 1.0f / STB_FONT_arial_bold_31_latin_ext_BITMAP_WIDTH; float recip_height = 1.0f / height; for (i=0; i < STB_FONT_arial_bold_31_latin_ext_NUM_CHARS; ++i) { // pad characters so they bilerp from empty space around each character font[i].s0 = (stb__arial_bold_31_latin_ext_s[i]) * recip_width; font[i].t0 = (stb__arial_bold_31_latin_ext_t[i]) * recip_height; font[i].s1 = (stb__arial_bold_31_latin_ext_s[i] + stb__arial_bold_31_latin_ext_w[i]) * recip_width; font[i].t1 = (stb__arial_bold_31_latin_ext_t[i] + stb__arial_bold_31_latin_ext_h[i]) * recip_height; font[i].x0 = stb__arial_bold_31_latin_ext_x[i]; font[i].y0 = stb__arial_bold_31_latin_ext_y[i]; font[i].x1 = stb__arial_bold_31_latin_ext_x[i] + stb__arial_bold_31_latin_ext_w[i]; font[i].y1 = stb__arial_bold_31_latin_ext_y[i] + stb__arial_bold_31_latin_ext_h[i]; font[i].advance_int = (stb__arial_bold_31_latin_ext_a[i]+8)>>4; font[i].s0f = (stb__arial_bold_31_latin_ext_s[i] - 0.5f) * recip_width; font[i].t0f = (stb__arial_bold_31_latin_ext_t[i] - 0.5f) * recip_height; font[i].s1f = (stb__arial_bold_31_latin_ext_s[i] + stb__arial_bold_31_latin_ext_w[i] + 0.5f) * recip_width; font[i].t1f = (stb__arial_bold_31_latin_ext_t[i] + stb__arial_bold_31_latin_ext_h[i] + 0.5f) * recip_height; font[i].x0f = stb__arial_bold_31_latin_ext_x[i] - 0.5f; font[i].y0f = stb__arial_bold_31_latin_ext_y[i] - 0.5f; font[i].x1f = stb__arial_bold_31_latin_ext_x[i] + stb__arial_bold_31_latin_ext_w[i] + 0.5f; font[i].y1f = stb__arial_bold_31_latin_ext_y[i] + stb__arial_bold_31_latin_ext_h[i] + 0.5f; font[i].advance = stb__arial_bold_31_latin_ext_a[i]/16.0f; } } } #ifndef STB_SOMEFONT_CREATE #define STB_SOMEFONT_CREATE stb_font_arial_bold_31_latin_ext #define STB_SOMEFONT_BITMAP_WIDTH STB_FONT_arial_bold_31_latin_ext_BITMAP_WIDTH #define STB_SOMEFONT_BITMAP_HEIGHT STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT #define STB_SOMEFONT_BITMAP_HEIGHT_POW2 STB_FONT_arial_bold_31_latin_ext_BITMAP_HEIGHT_POW2 #define STB_SOMEFONT_FIRST_CHAR STB_FONT_arial_bold_31_latin_ext_FIRST_CHAR #define STB_SOMEFONT_NUM_CHARS STB_FONT_arial_bold_31_latin_ext_NUM_CHARS #define STB_SOMEFONT_LINE_SPACING STB_FONT_arial_bold_31_latin_ext_LINE_SPACING #endif
70.367327
131
0.808874
stetre
9f4f6a5d1f20b126b98bf34924521add9ab8e6cc
46
cpp
C++
macroslib/tests/expectations/return_result_with_vec.cpp
skeet70/rust_swig
f6c596df93a65ee9ea8c31954b7d3e178ac124cb
[ "BSD-3-Clause" ]
null
null
null
macroslib/tests/expectations/return_result_with_vec.cpp
skeet70/rust_swig
f6c596df93a65ee9ea8c31954b7d3e178ac124cb
[ "BSD-3-Clause" ]
null
null
null
macroslib/tests/expectations/return_result_with_vec.cpp
skeet70/rust_swig
f6c596df93a65ee9ea8c31954b7d3e178ac124cb
[ "BSD-3-Clause" ]
null
null
null
"std::variant<RustVecU8, PosErr> f1() const";
23
45
0.695652
skeet70
9f5157409a68abda7577314571dae0ab4f6996b7
2,128
cpp
C++
Codejam/Round2/D.cpp
transcompany/Training
d9ff0454a1171a46a8b81af5024f76d362d8e547
[ "MIT" ]
null
null
null
Codejam/Round2/D.cpp
transcompany/Training
d9ff0454a1171a46a8b81af5024f76d362d8e547
[ "MIT" ]
null
null
null
Codejam/Round2/D.cpp
transcompany/Training
d9ff0454a1171a46a8b81af5024f76d362d8e547
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = (a); i < (b); i++) #define repd(i, a, b) for (int i = (a) - 1; i >= 0; i--) #define pb push_back #define mp make_pair #define fi first #define se second #define sz(a) ((int)a.size()) int T, n, m, has[101][101]; string s[1010], ns[1010], olds[1010]; int tc; int main() { cin >> T; while (T--) { cin >> n >> m; int oldn = n, oldm = m; rep(i, 0, n) { cin >> s[i]; olds[i] = s[i]; } rep(i, 0, 2) { rep(j, 0, 2 * n) ns[j] = ""; rep(j, 0, n) { rep(k, 0, m) { ns[2 * j].pb(s[j][k]); ns[2 * j].pb(s[j][k]); ns[2 * j + 1].pb(s[j][k]); ns[2 * j + 1].pb(s[j][k]); } } rep(j, 0, 2 * n) s[j] = ns[j]; n *= 2; m *= 2; } // rep(i, 0, n) { // cout << s[i] << endl; // } int tot = oldn * oldm; int ans = 0; rep(mask, 0, (1 << tot)) { int cnt = 0; rep(i, 0, oldn) { rep(j, 0, oldm) { int now = i * oldm + j; if ((mask & (1 << now)) != 0) { cnt++; has[i][j] = 1; } else has[i][j] = 0; } } int check = 0; rep(i, 0, n - oldn) { if (check) break; rep(j, 0, m - oldm) { int ok = 1; rep(i1, i, i + oldn) { rep(j1, j, j + oldm) { if (has[i1 - i][j1 - j] == 0) continue; if (olds[i1 - i][j1 - j] != s[i1][j1]) { if (cnt == 8 && i == 0 && j == 6) { // cout << i1 << ' ' << j1 << olds[i1 - i][j1 - j] << endl; } ok = 0; break; } } if (!ok) break; } if (ok) check = 1; } } if (check && cnt == 5) { cout << 'F' << endl; rep(i, 0, oldn) { rep(j, 0, oldm) { cout << has[i][j] << ' '; } cout << endl; } } if (check) ans = max(ans, cnt); } printf("Case #%d: %d\n", ++tc, ans); } return 0; }
21.494949
76
0.337876
transcompany
9f5636a2b43ff7a34b4fda35ddcf815b46010904
2,617
hpp
C++
include/codegen/include/RootMotion/FinalIK/InteractionTrigger_Range.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/RootMotion/FinalIK/InteractionTrigger_Range.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/RootMotion/FinalIK/InteractionTrigger_Range.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:17 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type: RootMotion.FinalIK.InteractionTrigger #include "RootMotion/FinalIK/InteractionTrigger.hpp" #include "utils/il2cpp-utils.hpp" // Completed includes // Begin forward declares // Forward declaring namespace: RootMotion::FinalIK namespace RootMotion::FinalIK { } // Forward declaring namespace: UnityEngine namespace UnityEngine { // Forward declaring type: Transform class Transform; // Forward declaring type: RaycastHit struct RaycastHit; } // Completed forward declares // Type namespace: RootMotion.FinalIK namespace RootMotion::FinalIK { // Autogenerated type: RootMotion.FinalIK.InteractionTrigger/Range class InteractionTrigger::Range : public ::Il2CppObject { public: // Nested type: RootMotion::FinalIK::InteractionTrigger::Range::Interaction class Interaction; // public System.String name // Offset: 0x10 ::Il2CppString* name; // public System.Boolean show // Offset: 0x18 bool show; // public RootMotion.FinalIK.InteractionTrigger/CharacterPosition characterPosition // Offset: 0x20 RootMotion::FinalIK::InteractionTrigger::CharacterPosition* characterPosition; // public RootMotion.FinalIK.InteractionTrigger/CameraPosition cameraPosition // Offset: 0x28 RootMotion::FinalIK::InteractionTrigger::CameraPosition* cameraPosition; // public RootMotion.FinalIK.InteractionTrigger/Range/Interaction[] interactions // Offset: 0x30 ::Array<RootMotion::FinalIK::InteractionTrigger::Range::Interaction*>* interactions; // public System.Boolean IsInRange(UnityEngine.Transform character, UnityEngine.Transform raycastFrom, UnityEngine.RaycastHit raycastHit, UnityEngine.Transform trigger, System.Single maxError) // Offset: 0x1217EE8 bool IsInRange(UnityEngine::Transform* character, UnityEngine::Transform* raycastFrom, UnityEngine::RaycastHit raycastHit, UnityEngine::Transform* trigger, float& maxError); // public System.Void .ctor() // Offset: 0x1218D50 // Implemented from: System.Object // Base method: System.Void Object::.ctor() static InteractionTrigger::Range* New_ctor(); }; // RootMotion.FinalIK.InteractionTrigger/Range } DEFINE_IL2CPP_ARG_TYPE(RootMotion::FinalIK::InteractionTrigger::Range*, "RootMotion.FinalIK", "InteractionTrigger/Range"); #pragma pack(pop)
43.616667
196
0.743217
Futuremappermydud
9f64ed17909437880e3b8c5d2278e3d38ef9f1c1
348
cpp
C++
MainBrain/test/ModelTest/SdCardTest/SdCardTest.cpp
smit-happens/YCP_EVOS
cecfa8aaa3c73945106786c44aa78d4fe872e3c3
[ "MIT" ]
10
2017-07-30T21:26:32.000Z
2021-05-04T14:33:29.000Z
MainBrain/test/ModelTest/SdCardTest/SdCardTest.cpp
smit-happens/YCP_EVOS
cecfa8aaa3c73945106786c44aa78d4fe872e3c3
[ "MIT" ]
122
2017-07-30T15:55:55.000Z
2019-05-19T20:29:13.000Z
MainBrain/test/ModelTest/SdCardTest/SdCardTest.cpp
smit-happens/YCP_EVOS
cecfa8aaa3c73945106786c44aa78d4fe872e3c3
[ "MIT" ]
3
2018-03-10T20:01:10.000Z
2019-06-07T18:02:38.000Z
/** Handles the hardware level functions of the SdFat library * * SdCardTest.cpp * Created 10-24-17 By: Smitty * * A longer description. */ #include "SdCardTest.hpp" //FIXME: rip out all the demo code and put into functions /** * @brief SdCardTest constructor */ SdCardTest::SdCardTest(void) { storageCard = new SdFatSdioEX(); }
17.4
62
0.689655
smit-happens
9f6afac315b8bd421b0dd2bf6b60475f306f0261
762
cpp
C++
sources/Attributes.cpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
3
2019-08-05T13:33:01.000Z
2022-02-14T12:55:18.000Z
sources/Attributes.cpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
null
null
null
sources/Attributes.cpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
null
null
null
# include <Attributes.hpp> Attributes::Attributes(short unsigned health) : m_health(health) { // empty } const short unsigned & Attributes::get_health() const { return m_health; } void Attributes::healted() { if(m_health < 3) ++m_health; } void Attributes::attacked() { if(m_health > 0) --m_health; m_attackable = false; m_attacked = true; } bool Attributes::recentlyAttacked() { if(m_attacked) { m_attacked = false; // restore it's condition return true; } return false; } void Attributes::restoreAttackable() { m_attackable = true; } void Attributes::inmortal() { m_attackable = false; } bool Attributes::attackable() const { return m_attackable; } bool Attributes::dead() const { return m_health == 0; }
12.915254
53
0.675853
prfcto2
9f6b6ec03a6301f97ad8298fecfc3f569de93422
36,843
cpp
C++
AircraftDynamicsTestFramework/TestFrameworkDynamics.cpp
sbowman-mitre/FMACM
510e8c23291425c56a387fadf4ba2b41a07e094d
[ "Apache-2.0" ]
null
null
null
AircraftDynamicsTestFramework/TestFrameworkDynamics.cpp
sbowman-mitre/FMACM
510e8c23291425c56a387fadf4ba2b41a07e094d
[ "Apache-2.0" ]
null
null
null
AircraftDynamicsTestFramework/TestFrameworkDynamics.cpp
sbowman-mitre/FMACM
510e8c23291425c56a387fadf4ba2b41a07e094d
[ "Apache-2.0" ]
null
null
null
// **************************************************************************** // NOTICE // // This is the copyright work of The MITRE Corporation, and was produced // for the U. S. Government under Contract Number DTFAWA-10-C-00080, and // is subject to Federal Aviation Administration Acquisition Management // System Clause 3.5-13, Rights In Data-General, Alt. III and Alt. IV // (Oct. 1996). No other use other than that granted to the U. S. // Government, or to those acting on behalf of the U. S. Government, // under that Clause is authorized without the express written // permission of The MITRE Corporation. For further information, please // contact The MITRE Corporation, Contracts Office, 7515 Colshire Drive, // McLean, VA 22102-7539, (703) 983-6000. // // Copyright 2018 The MITRE Corporation. All Rights Reserved. // **************************************************************************** #include <cstring> #include "framework/TestFrameworkDynamics.h" #include "math/CustomMath.h" #include "public/SimulationTime.h" #include "public/AircraftCalculations.h" #include "math/DMatrix.h" #include "utility/CustomUnits.h" #include <Area.h> #include <Density.h> #include <SignedAngle.h> #include <public/CoreUtils.h> #include "public/Scenario.h" using namespace std; const Units::Time TestFrameworkDynamics::pilot_delay_mean = Units::SecondsTime(0.0); const Units::Time TestFrameworkDynamics::pilot_delay_std = Units::SecondsTime(0.0); TestFrameworkDynamics::TestFrameworkDynamics(void) { Fms = NULL; model_loaded = false; ac_type_name = ""; maxBankAngle = Units::RadiansAngle(Units::DegreesAngle(30.0)); maxThrustPercent = 1.0; minThrustPercent = 1.0; alt_thresh = Units::FeetLength(500); // default altitude threshold is 500 feet speed_thresh = Units::KnotsSpeed(10);// default speed threshold of 10 Knots speed_management_type = "thrust"; minThrustCounter = 0.0; speedBrakeCounter = 0.0; speedBrakeOn = false; levelFlight = true; modeLast = 0; /* weatherByTime = new std::map<Units::Time,Weather>(); weatherByDistanceToGo = new std::map<Units::Length,Weather>();*/ weather = NULL; Vw_para = Units::MetersPerSecondSpeed(0.0); Vw_perp = Units::MetersPerSecondSpeed(0.0); altAtFAF = Units::FeetLength(-100.0); // Default flaps speed values state.flapConfig = 0; ac.setFlapsSpeeds(""); } TestFrameworkDynamics::~TestFrameworkDynamics(void) { } // Aircraft update method that calculates the new aircraft state from the given command state AircraftState TestFrameworkDynamics::update(const AircraftState state_in, const Guidance guidance_in) { AircraftState result_state; Guidance pilot_delay; Units::Time dt0 = SimulationTime::get_simulation_time_step(); // gets simulation time step as difference in time Units::Time time = Units::SecondsTime(state_in.time) + dt0; setWeatherFromTime(time); // add current command to the pilot delay buffer add_to_pilot_delay(guidance_in, state_in.time); // get the aircraft guidance for the current time accounting for pilot delay prev_guidance = get_pilot_delay_guidance(prev_guidance, state_in.time); // TODO ? guidance_in = prev_guidance; if (InternalObserver::getInstance()->debugTrueWind()) { InternalObserver::getInstance()->setTrueWindHdrVals(state_in.time,state_in.id); } result_state = integrate(guidance_in); return result_state; } // integrate method to integrate the command vector into the aircraft state AircraftState TestFrameworkDynamics::integrate(Guidance guidance_in) { AircraftState result_state; //first-order derivative of the state calculated by the EOM //The units are metric. InternalAircraftStateD dX; Units::SecondsTime dt = SimulationTime::get_simulation_time_step(); // gets simulation time step as difference in time //call EOM speed_on_thrust_control_dynamics model to calculate the change per second for the aircraft states if(speed_management_type == "thrust" ) { dX = speed_on_thrust_control_dynamics(guidance_in); } else if( speed_management_type == "pitch" ) { dX = speed_on_pitch_control_dynamics(guidance_in); } //Integrate the state: X.x += dX.dx * dt; X.y += dX.dy * dt; X.h += dX.dh * dt; X.V += dX.dV * dt; X.gamma += dX.dgamma * dt; X.psi += dX.dpsi * dt; X.T += dX.dT * dt; X.phi += dX.dphi * dt; X.speedBrake += dX.dspeedBrake * dt.value(); X.flapConfig = dX.flapConfig; //% States state.x = Units::MetersLength(X.x).value(); // east (m) state.y = Units::MetersLength(X.y).value(); // north (m) state.h = Units::MetersLength(X.h).value(); // altitude (m) state.V = Units::MetersPerSecondSpeed(X.V).value(); // true airspeed (m/s) state.gamma = Units::RadiansAngle(X.gamma).value(); // flight-path angle (rad): NOTE: for gamma, heading down is positive; heading up is negative state.psi = Units::RadiansAngle(X.psi).value(); // heading angle measured from east counter-clockwise (rad); NOTE: use mathematical angle, not aviation heading state.T = Units::NewtonsForce(X.T).value(); // thrust (N) state.phi = Units::RadiansAngle(X.phi).value(); // roll angle (rad) state.speed_brake = X.speedBrake; // speed brake (% of deployment)-currently unused state.flapConfig = int (X.flapConfig+0.1); // current flap configuration // Use xdot and ydot from Dynamics to ensure winds are used Units::Speed xdot = dX.dx; //ground speed (m/s) Units::Speed ydot = dX.dy; //ground speed (m/s) //gwang 2013-10 state.xd = Units::MetersPerSecondSpeed(xdot).value(); //ground speed x component (m/s) state.yd = Units::MetersPerSecondSpeed(ydot).value(); //ground speed y component (m/s) //end gwang // LAW: Check Thrust Limits and Limit Appropriately Units::Speed v_cas = ATMOSPHERE()->TAS2CAS(Units::MetersPerSecondSpeed(state.V), Units::MetersLength(state.h)); // current indicated airspeed in meters per second double cd0,cd2; int mode; double gear; Units::MetersLength state_h(state.h); ac.getConfig(v_cas, state_h, altAtFAF, state.flapConfig, cd0, cd2, gear, mode); Units::Force maxThrust = Units::NewtonsForce(ac.getMaxThrust(state_h, mode, "cruise")); Units::Force minThrust = Units::NewtonsForce(ac.getMaxThrust(state_h, mode, "descent")); if(state.T > Units::NewtonsForce(maxThrust).value()) { state.T = Units::NewtonsForce(maxThrust).value(); } else if(state.T < Units::NewtonsForce(minThrust).value()) { state.T = Units::NewtonsForce(minThrust).value(); } if(state.speed_brake > 0.5) { state.speed_brake = 0.5; } else if(state.speed_brake < 0.0) { state.speed_brake = 0.0; } // assign return values. result_state.x = state.x/FT_M; //(ft) result_state.y = state.y/FT_M; //(ft) result_state.z = state.h/FT_M; //(ft) result_state.set_psi(state.psi); //(radian) result_state.xd = Units::FeetPerSecondSpeed(xdot).value(); //(ft/s) result_state.yd = Units::FeetPerSecondSpeed(ydot).value(); //(ft/s) result_state.zd = -state.V/FT_M * sin(state.gamma); //(ft/s) Note: for gamma, heading down is positive result_state.Vwx = Units::MetersPerSecondSpeed(weather->Vwx).value(); result_state.Vwy = Units::MetersPerSecondSpeed(weather->Vwy).value(); result_state.Vw_para = Units::MetersPerSecondSpeed(Vw_para).value(); result_state.Vw_perp = Units::MetersPerSecondSpeed(Vw_perp).value(); return result_state; } // EOM speed_on_thrust_control_dynamics call to calculate the dX values TestFrameworkDynamics::InternalAircraftStateD TestFrameworkDynamics::speed_on_thrust_control_dynamics(Guidance guidance_in) { InternalAircraftStateD dX; //units: metric // int m = Wind::get_flight_level_lower_bound() + 1; // int n = Wind::get_flight_level_upper_bound() + 1; // DMatrix wind_x(m, n, 1, 2); // DMatrix wind_y(m, n, 1, 2); double lat = 0, lon = 0; // dummy parameters // Wind::interpolate_true_wind(false, lat, lon, state.x/FT_M, state.y/FT_M, state.h/FT_M, wind_x, wind_y); // // if (InternalObserver::getInstance()->debugTrueWind()) { // InternalObserver::getInstance()->writeTrueWind(this->trueWindCsvString(wind_x,wind_y)); // } // Control Gains used in tracking desired states and commanded inputs Units::InvertedLength k_xtrk = Units::PerMeterInvertedLength(5e-4); // meters^-1 double k_trk = 3; // unitless Units::Frequency k_alt = Units::HertzFrequency(0.20); // 1/sec Units::Frequency k_gamma = Units::HertzFrequency(0.20); // 1/sec Units::Frequency k_phi = Units::HertzFrequency(0.40); // 1/sec //Units::Frequency k_t = 0.70; // 1/sec // new gain control values 2/20/2013 double zeta = 0.88; Units::Frequency wn = Units::HertzFrequency(0.20); Units::Frequency k_t = 2 * zeta * wn; // new thrust gain, roughly .352 Units::Frequency k_v = Units::sqr(wn)/k_t; // new velocity gain, roughly .117 double k_i = 0.0;//0.005; // velocity error gain double k_speedBrake = 0.20; //% States: Units::Length x = X.x; // aircraft position east coordinate (m) Units::Length y = X.y; // aircraft position north coordinate (m) Units::Length h = X.h; // aircraft altitude (m) Units::Speed V = X.V; // true airspeed (m/s) Units::Angle gamma = X.gamma; // flight-path angle (rad) Units::Angle psi = X.psi; // heading angle measured from east counter-clockwise (rad) Units::Force T = X.T; // thrust (N) Units::Angle phi = X.phi; // roll angle (rad) double speedBrake = X.speedBrake; // speed brake (% of deployment) int flapConfig = (int) (X.flapConfig+0.1); // flap configuration double speedBrakeCom = 0.0; // winds and gradients are already set in weather // Commanded Track Angle Units::Angle trk = Units::RadiansAngle(guidance_in.psi); // GUIDANCE Vw_para = weather->Vwx * cos(trk) + weather->Vwy * sin(trk); Vw_perp = -weather->Vwx * sin(trk) + weather->Vwy * cos(trk); Units::Speed W = sqrt(Units::sqr(weather->Vwx) + Units::sqr(weather->Vwy)); Units::Speed gs = sqrt(Units::sqr(V*cos(gamma)) - Units::sqr(Vw_perp)) + Vw_para; double temp = (Units::sqr(V*cos(gamma)) + Units::sqr(gs) - Units::sqr(W))/(V*2*cos(gamma)*gs); // Limit temp so acos function doesn't give undefined value. if (temp > 1.0) temp = 1.0; else if (temp < -1.0) temp = -1.0; Units::Angle beta = Units::RadiansAngle(acos(temp)) * -1.0 * CoreUtils::sign(Units::MetersPerSecondSpeed(Vw_perp).value()); //Lateral Control // Convert track guidance to heading using winds (beta is the Wind Correction Angle) Units::Angle headingCom = trk + beta; // Error in heading angle Units::SignedAngle e_trk = headingCom - psi; e_trk.normalize(); // Along-path distance and Cross-track Error Units::Length e_xtrk = Units::MetersLength(0.0); double dynamic_cross = 1.0; // check if guidance has has cross track error and use it if so if (guidance_in.use_cross_track) { e_xtrk = Units::MetersLength(guidance_in.cross_track); } // Calculate commanded roll angle Units::Angle phi_com = -k_xtrk*e_xtrk * Units::ONE_RADIAN_ANGLE - k_trk*e_trk; // CONTROL double unlimited_phi_com = Units::RadiansAngle(phi_com).value(); // Limit the commanded roll angle double sign_phi_com = CoreUtils::sign(unlimited_phi_com); if (phi_com * sign_phi_com > maxBankAngle) { phi_com = maxBankAngle * sign_phi_com; } InternalObserver::getInstance()->cross_output(Units::MetersLength(x).value(), Units::MetersLength(y).value(), dynamic_cross, guidance_in.cross_track,guidance_in.psi, unlimited_phi_com, Units::RadiansAngle(phi_com).value() ); //% Vertical Control Units::Speed hdot_ref = Units::FeetPerSecondSpeed(guidance_in.altitude_rate); //double alt_ref = 10000*FT_M; // GUIDANCE Units::Length alt_ref = Units::FeetLength(guidance_in.reference_altitude); // GUIDANCE Units::Length e_alt = alt_ref - h; double temp_gamma = -(hdot_ref + k_alt*e_alt)/V; // calculate change in altitude if( temp_gamma > 1.0 ) { temp_gamma = 1.0; } else if( temp_gamma < -1.0 ) { temp_gamma = -1.0; } Units::Angle gamma_com = Units::RadiansAngle(asin(temp_gamma)); // CONTROL new 2/20/2013 //% Speed Control Units::Speed tas_com = ATMOSPHERE()->CAS2TAS( Units::FeetPerSecondSpeed(guidance_in.indicated_airspeed), h); // GUIDANCE true airspeed Units::Speed v_cas = ATMOSPHERE()->TAS2CAS(V, h); // current indicated airspeed in meters per second //% Speed Error Units::Speed new_vel_error = tas_com - V; Units::Acceleration vel_dot_com = k_v * new_vel_error; // Should we limit commanded acceleration? //% Thrust to maintain speed // Get temp, density, and pressure Units::Density rho; Units::Pressure P_tmp; ATMOSPHERE()->airDensity(h, rho, P_tmp); // Don't bother converting P_tmp from kg/m^2 because we don't need it. // Get AC Configuration double cd0,cd2; int flapConfig_new; double gear; ac.getConfig(v_cas,h,altAtFAF,flapConfig,cd0,cd2,gear,flapConfig_new); Units::Mass ac_mass = Units::KilogramsMass(ac.ac_mass); Units::Area wing_area = Units::MetersArea(ac.aerodynamics.S); // Lift and Drag Coefficients //double cL = (2*ac.mass*G)/(rho*V^2*ac.S); // units of cL = kg * m / s^2 / (kg / m^3 * m^2 / s^2 * m^2) = unitless double cL = (2.*ac_mass * Units::ONE_G_ACCELERATION)/(rho*Units::sqr(V)*wing_area*cos(phi)); //cD = cd0 + gear + cd2*cL^2; double cD = cd0 + gear + cd2 * pow(cL, 2); if (speedBrake != 0.0) cD = (1.0 + 0.6*speedBrake)*cD; // Drag Units::Force D = 1./2. * rho * cD * Units::sqr(V) * wing_area; // Lift Units::Force L = 1./2. * rho * cL * Units::sqr(V) * wing_area; // Nominal Thrust (no acceleration) at desired speed Units::Force Tnom; Tnom = ac_mass*vel_dot_com + D - ac_mass * Units::ONE_G_ACCELERATION*sin(gamma) - ac_mass * V * (weather->dVwx_dh * cos(psi) + weather->dVwy_dh * sin(psi)) * sin(gamma)*cos(gamma); Units::Force T_com = Tnom; // Thrust Limits Units::Force maxThrust = Units::NewtonsForce( ac.getMaxThrust(h, flapConfig_new, "cruise")); Units::Force minThrust = Units::NewtonsForce( ac.getMaxThrust(h, flapConfig_new, "descent")); speedBrakeCom = 0.0; // Check Configuration if minThrust is Commanded if(T_com < minThrust) { T_com = minThrust; int mode_new = 0; ac.getConfigForDrag(v_cas,Units::MetersLength(h).value(),Units::MetersLength(altAtFAF).value(),flapConfig_new,mode_new); flapConfig_new = mode_new; minThrustCounter = minThrustCounter + 1; } else { minThrustCounter = 0.0; // Limit Thrust if T_com exceeds Max Thrust if(T_com > maxThrust) T_com = maxThrust; } // Use speed brakes, if necessary if( minThrustCounter > 15.0 && new_vel_error < Units::KnotsSpeed(-5.0)) { if( flapConfig_new <= 2 ) { if(!speedBrakeOn) { speedBrakeCounter = 0.0; speedBrakeCom = 0.5; speedBrakeOn = true; } else { speedBrakeCounter = speedBrakeCounter + 1; speedBrakeCom = 0.5; } } else { speedBrakeCounter = 0.0; speedBrakeCom = 0.0; speedBrakeOn = false; } } // If no longer commanding Min Thrust if( speedBrakeOn && speedBrakeCounter <= 30.0 ) { speedBrakeCounter = speedBrakeCounter + 1; speedBrakeCom = 0.5; } else if ( speedBrakeOn && speedBrakeCounter > 30.0 ) { if( minThrustCounter == 0 ) { speedBrakeCounter = 0.0; speedBrakeCom = 0.0; speedBrakeOn = false; } else { speedBrakeCounter = speedBrakeCounter + 1; speedBrakeCom = 0.5; } } // calculate the first-order derivative of the state vector: dX.dx = Units::MetersPerSecondSpeed(V*cos(gamma)*cos(psi) + weather->Vwx); dX.dy = Units::MetersPerSecondSpeed(V*cos(gamma)*sin(psi) + weather->Vwy); dX.dh = Units::MetersPerSecondSpeed(-V*sin(gamma)); dX.dV = (T-D)/ac_mass + Units::ONE_G_ACCELERATION*sin(gamma) + V*(weather->dVwx_dh*cos(psi) + weather->dVwy_dh*sin(psi)) *sin(gamma)*cos(gamma); dX.dgamma = k_gamma*(gamma_com - gamma) - (weather->dVwx_dh*cos(psi) + weather->dVwy_dh*sin(psi))*pow(sin(gamma), 2) * Units::ONE_RADIAN_ANGLE; dX.dpsi = (-L*sin(phi)/(ac_mass*V*cos(gamma)) - (weather->dVwx_dh*sin(psi) - weather->dVwy_dh*cos(psi))*tan(gamma)) * Units::ONE_RADIAN_ANGLE; dX.dT = k_t*(T_com - T); dX.dphi = k_phi*(phi_com - phi); dX.dspeedBrake = k_speedBrake * (speedBrakeCom - speedBrake); dX.flapConfig = flapConfig_new; return dX; } // speed_on_thrust_control_dynamics // sets the Dynamics FMS void TestFrameworkDynamics::setFms(TestFrameworkFMS *Fms_in) { Fms = Fms_in; } // method to check if the model loaded properly bool TestFrameworkDynamics::is_loaded() { return model_loaded; } void TestFrameworkDynamics::init(double mass_percentile, Units::Length altAtFAF_in, Units::Length initialAltitude, Units::Speed initialIas, double initialMach, double start_time) { setWeatherFromTime(Units::SecondsTime(start_time)); altAtFAF = Units::MetersLength(altAtFAF_in); if (altAtFAF < Units::MetersLength(0.0)) { std::cout << "WARNING:FAF altitude " << Units::FeetLength(altAtFAF) << " < 0." << std::endl << "Probably was not initialized in precalculated trajectory." << std::endl; } ac.getAircraftParameters(ac_type_name, mass_percentile); ac.setFlapsSpeeds(ac_type_name); double ias_; double xdot, ydot; //When initializing the state, initial values should be assigned to the X vector, because it is the one that //is used by the EOM function to calculate its first-order derivative. // Defining aircraft states // ---------------------------------------------------------------------------- state.x = Fms->xWp[Fms->NextWp-1]*FT_M; state.y = Fms->yWp[Fms->NextWp-1]*FT_M; state.h = Units::MetersLength(initialAltitude).value(); double lat, lon; lat = 0; lon = 0; state.psi = Fms->get_psi(Fms->NextWp); state.gamma = 0; state.phi = 0; // Determine whether aircraft is flying IAS or MACH double ias_at_waypoint = Units::FeetPerSecondSpeed(initialIas).value(); //FPS double altitude = state.h/FT_M; if(initialMach != 0.0) //may fly MACH { //may need to do mach-cas transition: double tas_from_ias = Units::FeetPerSecondSpeed(ATMOSPHERE()->CAS2TAS( Units::FeetPerSecondSpeed(ias_at_waypoint), Units::FeetLength(altitude))).value(); double tas_from_mach = MachToTas(initialMach, altitude); //FPS if(tas_from_ias <= tas_from_mach) //fly ias_at_waypoint { ias_ = ias_at_waypoint; } else //fly MACH { ias_ = MachToCas_MITRE(initialMach, altitude); } } else //fly ias_at_waypoint { ias_ = ias_at_waypoint; } // Convert IAS to TAS state.V = Units::MetersPerSecondSpeed(ATMOSPHERE()->CAS2TAS( Units::FeetPerSecondSpeed(ias_), Units::MetersLength(state.h))).value(); // Determine Groundspeed xdot = state.V*cos(state.psi)*cos(state.gamma) + Units::MetersPerSecondSpeed(weather->Vwx).value(); // mps ydot = state.V*sin(state.psi)*cos(state.gamma) + Units::MetersPerSecondSpeed(weather->Vwy).value(); // mps state.xd = xdot; // mps state.yd = ydot; // mps //Actually initialize the state X: //% States X.x = Units::MetersLength(state.x); // east (m) X.y = Units::MetersLength(state.y); // north (m) X.h = Units::MetersLength(state.h); // altitude (m) X.V = Units::MetersPerSecondSpeed(state.V); // true airspeed (m/s) X.gamma = Units::RadiansAngle(state.gamma); // flight-path angle (rad); NOTE: for gamma, heading down is positve X.psi = Units::RadiansAngle(state.psi); // heading angle measured from east counter-clockwise (rad) X.T = Units::NewtonsForce(0.0); // thrust (N) X.phi = Units::RadiansAngle(state.phi); // roll angle (rad) X.speedBrake = 0.0; // speed brake (% of deployment) X.flapConfig = 0; // flap config //%Calculate initial Aircraft Thrust // Get temp, density, and pressure Units::MetersLength state_h(state.h); Units::Density rho; Units::Pressure P_tmp; ATMOSPHERE()->airDensity(state_h, rho, P_tmp); // Don't bother converting P_tmp from kg/m^2 because we don't need it. // Get AC Configuration double cd0,cd2; int mode; double gear; ac.getConfig(ATMOSPHERE()->TAS2CAS(Units::MetersPerSecondSpeed(state.V), Units::MetersLength(state.h)), state_h, altAtFAF, 0,cd0,cd2,gear,mode); Units::Mass ac_mass = Units::KilogramsMass(ac.ac_mass); Units::Area wing_area = Units::MetersArea(ac.aerodynamics.S); // Set values for flaps speed. state.flapConfig = mode; // Set lift and Drag Coefficients double cL = (2.* ac_mass * Units::ONE_G_ACCELERATION) / (rho * Units::sqr(X.V) * wing_area); double cD = cd0 + gear + cd2*pow(cL, 2); Units::Force D = 1./2. * rho * cD * Units::sqr(X.V) * wing_area; // Drag Units::Force L = 1./2. * rho * cL * Units::sqr(X.V) * wing_area; // Lift // Nominal Thrust (no acceleration) at desired speed Units::Force Tnom = /*ac_mass*vel_dot_com + VELOCITY ERROR IS 0*/ D - ac_mass * Units::ONE_G_ACCELERATION * sin(asin(0.0/*gamma 0.0*/));// - ac_mass*V*(dVwx_dh*cos(psi) + dVwy_dh*sin(psi))*sin(gamma)*cos(gamma); REMOVED WIND // new Thrust commands from model speed change MATLAB code 2/25 Units::Force maxThrust = Units::NewtonsForce(ac.getMaxThrust(state_h)); Units::Force minThrust = Units::NewtonsForce(ac.getMaxThrust(state_h, mode, "descent")); if(Tnom > maxThrust * maxThrustPercent) { Tnom = maxThrust * maxThrustPercent; } else if(Tnom < minThrust * minThrustPercent) { Tnom = minThrust * minThrustPercent; } X.T = Tnom; // sets the initial Thrust // initialize the previous Guidance to have a default until the first command is processed from pilot delay prev_guidance.indicated_airspeed = ias_; prev_guidance.psi = state.psi; prev_guidance.reference_altitude = state.h/FT_M; prev_guidance.altitude_rate = 0; // True wind factors (m/s) Vw_para = Units::MetersPerSecondSpeed(0.0); Vw_perp = Units::MetersPerSecondSpeed(0.0); } bool TestFrameworkDynamics::load(DecodedStream *input) { bool results; string env_csv_file = ""; set_stream(input); // register the aircraft bada type register_var("ac_type", &ac_type_name, true); register_var("speed_management_type", &speed_management_type, true); register_var("env_csv_file", &env_csv_file, false); //do the actual reading: results = complete(); if (ac_type_name.size() != 4) { cout << "ac_type was not correct. Found: " << ac_type_name << endl; exit(-1); } if (speed_management_type != "thrust" && speed_management_type != "pitch") { cout << "speed_management_type was not correct: " << speed_management_type << endl; exit(-1); } model_loaded = results; load_env_file(env_csv_file); return results; } void TestFrameworkDynamics::load_env_file(string env_csv_file) { weatherByTime.clear(); weatherByDistanceToGo.clear(); if (env_csv_file == "") { cout << "No env_csv_file specified; using default weather." << endl; // parameter missing, use default weather = new Weather(); weather->Vwx = Units::MetersPerSecondSpeed(0); weather->Vwy = Units::MetersPerSecondSpeed(0); weather->dVwx_dh = Units::HertzFrequency(0); weather->dVwy_dh = Units::HertzFrequency(0); weather->temperature = Units::CelsiusTemperature(25); weatherByTime[Units::SecondsTime(0)] = weather; weatherByDistanceToGo[Units::MetersLength(0)] = weather; return; } FILE *env = fopen(env_csv_file.c_str(), "r"); if (!env) { cout << "Could not open env_csv_file: " << env_csv_file << endl; exit(1); } char line[100]; fgets(line, sizeof(line), env); // skip the header line while (!feof(env)) { double time, distToGo, Vwx, Vwy, dVwx_dh, dVwy_dh, temperature; fgets(line, sizeof(line), env); if (strlen(line) > 6) { sscanf(line, "%lf,%lf,%lf,%lf,%lf,%lf,%lf", &time, &distToGo, &Vwx, &Vwy, &dVwx_dh, &dVwy_dh, &temperature); weather = new Weather(); weather->Vwx = Units::MetersPerSecondSpeed(Vwx); weather->Vwy = Units::MetersPerSecondSpeed(Vwy); weather->dVwx_dh = Units::HertzFrequency(dVwx_dh); weather->dVwy_dh = Units::HertzFrequency(dVwy_dh); weather->temperature = Units::KelvinTemperature(temperature); weatherByTime[Units::SecondsTime(time)] = weather; weatherByDistanceToGo[Units::MetersLength(distToGo)] = weather; } } weather = NULL; /* cout << "Loaded weather from " << env_csv_file << " (" << weatherByTime.size() << " records)." << endl;*/ fclose(env); } void TestFrameworkDynamics::setWeatherFromTime(Units::Time time) { std::map<Units::Time,Weather *>::iterator it = weatherByTime.lower_bound(time); Units::Time t1; if (it == weatherByTime.end()) { std::map<Units::Time,Weather *>::reverse_iterator rit = weatherByTime.rbegin(); t1 = rit->first; } else { t1 = it->first; } weather = weatherByTime[t1]; /* cout << "Weather set to time=" << Units::SecondsTime(time).value() << ", Vwx=" << Units::MetersPerSecondSpeed(weather->Vwx).value() << ", Vwy=" << Units::MetersPerSecondSpeed(weather->Vwy).value() << ", dVwx/dh=" << Units::HertzFrequency(weather->dVwx_dh).value() << ", dVwy/dh=" << Units::HertzFrequency(weather->dVwy_dh).value() << endl;*/ } TestFrameworkDynamics::Weather TestFrameworkDynamics::getWeatherFromTime(double time) { Units::Time t0 = Units::SecondsTime(time); std::map<Units::Time,Weather *>::iterator it = weatherByTime.lower_bound(t0); Units::Time t1; if (it == weatherByTime.end()) { std::map<Units::Time,Weather *>::reverse_iterator rit = weatherByTime.rbegin(); t1 = rit->first; } else { t1 = it->first; } Weather w = *weatherByTime[t1]; // copy the object return w; } // helper method to add a new guidance command to the pilot delay buffer void TestFrameworkDynamics::add_to_pilot_delay(Guidance guidance_in, double time) { int delayed_time; #ifdef _LINUX_ delayed_time = (int) (round(time + Units::SecondsTime( Scenario::mRand.rayleighSample( TestFrameworkDynamics::pilot_delay_mean, TestFrameworkDynamics::pilot_delay_std)).value())+0.1); #else delayed_time = roundToInt(time + Units::SecondsTime( Scenario::mRand.rayleighSample( TestFrameworkDynamics::pilot_delay_mean, TestFrameworkDynamics::pilot_delay_std)).value()); #endif // if the delay time is less than the current time, set back to current time if( delayed_time < time ) { delayed_time = (int) (time+0.1); } pilot_delay_buffer.insert(pair<int,Guidance>(delayed_time, guidance_in )); } // helper method to get the current command from the delay buffer Guidance TestFrameworkDynamics::get_pilot_delay_guidance(Guidance prev_guidance, double time) { Guidance result = prev_guidance; int current_key = (int) time; // gets the key time for the current time map<int, Guidance>::iterator guide_it; // iterator to get the current Guidance guide_it = pilot_delay_buffer.find(current_key); if(guide_it != pilot_delay_buffer.end()) { result = guide_it->second; } return result; } // EOM new speed_on_pitch_control_dynamics speed_on_thrust_control_dynamics model TestFrameworkDynamics::InternalAircraftStateD TestFrameworkDynamics::speed_on_pitch_control_dynamics(Guidance guidance_in) { InternalAircraftStateD dX; // int m = Wind::get_flight_level_lower_bound() + 1; // int n = Wind::get_flight_level_upper_bound() + 1; // DMatrix wind_x(m, n, 1, 2); // DMatrix wind_y(m, n, 1, 2); // double lat = 0, lon = 0; // dummy parameters // Wind::interpolate_true_wind(false, lat, lon, state.x/FT_M, state.y/FT_M, state.h/FT_M, wind_x, wind_y); // if (InternalObserver::getInstance()->debugTrueWind()) { // InternalObserver::getInstance()->writeTrueWind(this->trueWindCsvString(wind_x,wind_y)); // } // Control Gains used in tracking desired states and commanded inputs Units::InvertedLength k_xtrk = Units::PerMeterInvertedLength(5e-4); // meters^-1 double k_trk = 3; // unitless Units::Frequency k_alt = Units::HertzFrequency(0.20); // 1/sec Units::Frequency k_gamma = Units::HertzFrequency(0.40); // 1/sec Units::Frequency k_phi = Units::HertzFrequency(0.40); // 1/sec //Units::Frequency k_t = Units::HertzFrequency(0.390); // 1/sec // new gain control values 2/20/2013 double zeta = 0.88; Units::Frequency wn = Units::HertzFrequency(0.20); Units::Frequency k_t = 2 * zeta * wn; // new thrust gain, roughly .352 Units::Frequency k_v = Units::sqr(wn)/k_t; // new velocity gain, roughly .117 double k_i = 0.0;//0.005; // velocity error gain double k_speedBrake = 0.10; // read in the current aircraft States Units::Length x = X.x; // east (m) Units::Length y = X.y; // north (m) Units::Length h = X.h; // altitude (m) Units::Speed V = X.V; // true airspeed (m/s) Units::Angle gamma = X.gamma; // flight-path angle (rad) Units::Angle psi = X.psi; // heading angle measured from east counter-clockwise (rad) Units::Force T = X.T; // thrust (N) Units::Angle phi = X.phi; // roll angle (rad) double speedBrake = X.speedBrake; // speed brake (% of deployment)-currently unused int flapConfig = (int) (X.flapConfig+0.1); // flap configuration double speedBrakeCom = 0.0; // Wind Segment // winds are already set as part of the weather object Units::Angle trk = Units::RadiansAngle(guidance_in.psi); // GUIDANCE Vw_para = weather->Vwx * cos(trk) + weather->Vwy * sin(trk); Vw_perp = -weather->Vwx * sin(trk) + weather->Vwy * cos(trk); Units::Speed W = sqrt(Units::sqr(weather->Vwx) + Units::sqr(weather->Vwy)); Units::Speed gs = sqrt(Units::sqr(V*cos(gamma)) - Units::sqr(Vw_perp)) + Vw_para; double temp = (Units::sqr(V*cos(gamma)) + Units::sqr(gs) - Units::sqr(W))/(V*2*cos(gamma)*gs); // Limit temp so the acos function doesn't give an undefined value. if (temp > 1.0) temp = 1.0; else if (temp < -1.0) temp = -1.0; Units::Angle beta = Units::RadiansAngle(acos(temp)) * -1.0 * CoreUtils::sign(Units::MetersPerSecondSpeed(Vw_perp).value()); //Lateral Control // Convert track guidance to heading using winds Units::Angle headingCom = trk + beta; //% Lateral Control // Error in track angle limited to +-PI Units::SignedAngle e_trk = headingCom - psi; e_trk.normalize(); Units::Length e_xtrk = Units::MetersLength(0); double dynamic_cross = 1.0; // check if guidance has has cross track error and use it if so if (guidance_in.use_cross_track) { e_xtrk = Units::MetersLength(guidance_in.cross_track); } // Calculate commanded roll angle Units::Angle phi_com = -k_xtrk*e_xtrk * Units::ONE_RADIAN_ANGLE - k_trk*e_trk; // CONTROL double unlimited_phi_com = Units::RadiansAngle(phi_com).value(); // Limit the commanded roll angle double sign_phi_com = CoreUtils::sign(unlimited_phi_com); if(phi_com * sign_phi_com > maxBankAngle) { phi_com = maxBankAngle * sign_phi_com; } Units::Speed v_cas = ATMOSPHERE()->TAS2CAS(Units::MetersPerSecondSpeed(V), Units::MetersLength(h)); // current indicated airspeed in meters per second //% Thrust to maintain speed // Get temp, density, and pressure Units::Density rho; Units::Pressure P_tmp; ATMOSPHERE()->airDensity(h, rho, P_tmp); // Don't bother converting P_tmp from kg/m^2 because we don't need it. // Get AC Configuration double cd0,cd2; int flapConfig_new; double gear; ac.getConfig(v_cas, h, altAtFAF,flapConfig,cd0,cd2,gear,flapConfig_new); Units::Mass ac_mass = Units::KilogramsMass(ac.ac_mass); Units::Area wing_area = Units::MetersArea(ac.aerodynamics.S); // Lift and Drag Calculations double cL = (2.*ac_mass * Units::ONE_G_ACCELERATION)/(rho*Units::sqr(V)*wing_area*cos(phi)); double cD = cd0 + gear + cd2 * pow(cL, 2); if (speedBrake != 0.0) cD = (1.0 + 0.6*speedBrake)*cD; Units::Force D = 1./2. * rho * cD * Units::sqr(V) * wing_area; Units::Force L = 1./2. * rho * cL * Units::sqr(V) * wing_area; Units::Speed ias_com = Units::FeetPerSecondSpeed(guidance_in.indicated_airspeed); Units::Speed tas_com = ATMOSPHERE()->CAS2TAS(ias_com, h); Units::Force maxThrust = Units::NewtonsForce( ac.getMaxThrust(h, flapConfig_new, "cruise")); Units::Force minThrust = Units::NewtonsForce( ac.getMaxThrust(h, flapConfig_new, "descent")); //Speed Management Method check Units::Length alt_ref = Units::FeetLength(guidance_in.reference_altitude); Units::Length e_alt = h - alt_ref; Units::Speed h_dot = Units::FeetPerSecondSpeed(guidance_in.altitude_rate); Units::Force T_com = Units::NewtonsForce(0.0); Units::Angle gamma_com = Units::RadiansAngle(0.0); // LEVEL FLIGHT - manage speed with thrust and altitude with pitch if( levelFlight == true ) { Units::Speed ev = tas_com - V; Units::Acceleration vDotCom = k_v * ev; // calculate the Thrust Command T_com = ac_mass * vDotCom + D - ac_mass * Units::ONE_G_ACCELERATION*sin(gamma) - ac_mass * V * (weather->dVwx_dh*cos(psi) + weather->dVwy_dh*sin(psi)) *sin(gamma)*cos(gamma); // command a level altitude gamma_com = Units::RadiansAngle(0.0); if( Units::MetersLength(h).value() - Fms->constraints[Fms->NextWp].constraint_altLow > 200.0 * FT_M && Units::MetersPerSecondSpeed(h_dot).value() != 0.0) { levelFlight = false; T_com = minThrust; } } // DESCENDING FLIGHT - manage altitude with thrust, speed with pitch else { double esf = AircraftCalculations::ESFconstantCAS(V, h); Units::Speed ev = tas_com - V; // adjust esf based on velocity error compared to the speed threshold if( ev <= -speed_thresh ) { esf = 0.3; } else if( ev > -speed_thresh && ev < Units::ZERO_SPEED ) { esf = (esf - 0.3)/speed_thresh*ev + esf; } else if( ev > Units::ZERO_SPEED && ev < speed_thresh) { esf = (1.7 - esf)/speed_thresh*ev + esf; } else if( ev >= speed_thresh ) { esf = 1.7; } // descent rate Units::Speed dh_dt = ((T - D) * V) / (ac_mass * Units::ONE_G_ACCELERATION) *esf; gamma_com = Units::RadiansAngle(asin(-dh_dt/V)); //if(gamma_com > 4.0*M_PI/180) // gamma_com = 4.0*M_PI/180; if( e_alt < -alt_thresh ) { T_com = 0.50 * maxThrust; } else if( e_alt > alt_thresh ) { T_com = minThrust; } else { T_com = (minThrust - 0.50 * maxThrust)/(alt_thresh*2) * e_alt + (0.50 * maxThrust + minThrust)/2.0; } // Check if flight should level off if( Units::MetersLength(h).value() - Fms->constraints[Fms->NextWp].constraint_altLow < 100.0 * FT_M ) levelFlight = true; } // limit thrust to max and min limits if( T_com > maxThrust ) { T_com = maxThrust; } else if( T_com < minThrust ) { T_com = minThrust; } // Determine if speed brake is needed Units::Length xEnd = Units::FeetLength(Fms->xWp[Fms->number_of_waypoints-1]); Units::Length yEnd = Units::FeetLength(Fms->yWp[Fms->number_of_waypoints-1]); Units::Length distToEnd = sqrt(Units::sqr(x-xEnd) + Units::sqr(y-yEnd)); //if(T_com == minThrust && distToEnd < 15.0 * NM_M && (h - Fms->constraints[Fms->NextWp].constraint_altLow) > 250.0 * FT_M) if(T_com == minThrust) { //T_com = minThrust; if(e_alt > alt_thresh) { int mode_new = 0; ac.getConfigForDrag(v_cas, Units::MetersLength(h).value(), Units::MetersLength(altAtFAF).value(),flapConfig_new,mode_new); if(mode_new == flapConfig_new && mode_new <= 2) { speedBrakeCom = 0.5; speedBrakeOn = true; speedBrakeCounter = speedBrakeCounter + 1; } flapConfig_new = mode_new; } minThrustCounter = minThrustCounter + 1; } else { minThrustCounter = 0.0; } // If no longer commanding Min Thrust if( speedBrakeOn && speedBrakeCounter <= 30.0 ) { speedBrakeCounter = speedBrakeCounter + 1; speedBrakeCom = 0.5; } else if ( speedBrakeOn && speedBrakeCounter > 30.0 ) { if( minThrustCounter == 0 ) { speedBrakeCounter = 0.0; speedBrakeCom = 0.0; speedBrakeOn = false; } else { speedBrakeCounter = speedBrakeCounter + 1; speedBrakeCom = 0.5; } } //% calculate the firsr-order derivative of the state vector: //Wind speed needs to be checked!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! dX.dx = Units::MetersPerSecondSpeed(V*cos(gamma)*cos(psi) + weather->Vwx); dX.dy = Units::MetersPerSecondSpeed(V*cos(gamma)*sin(psi) + weather->Vwy); dX.dh = Units::MetersPerSecondSpeed(-V*sin(gamma)); dX.dV = (T-D)/ac_mass + Units::ONE_G_ACCELERATION*sin(gamma) + V*(weather->dVwx_dh*cos(psi) + weather->dVwy_dh*sin(psi)) *sin(gamma)*cos(gamma); dX.dgamma = k_gamma * (gamma_com - gamma) - (weather->dVwx_dh*cos(psi) + weather->dVwy_dh * sin(psi)) * pow(sin(gamma), 2) * Units::ONE_RADIAN_ANGLE; dX.dpsi = (-L*sin(phi)/(ac_mass*V*cos(gamma)) - (weather->dVwx_dh*sin(psi) - weather->dVwy_dh*cos(psi))*tan(gamma)) * Units::ONE_RADIAN_ANGLE; dX.dT = k_t*(T_com - T); dX.dphi = k_phi*(phi_com - phi); dX.dspeedBrake = k_speedBrake*(speedBrakeCom - speedBrake); dX.flapConfig = flapConfig_new; return dX; } // speed_on_pitch_control_dynamics const Units::Speed &TestFrameworkDynamics::getVwx() const { return Vwx; } const Units::Speed &TestFrameworkDynamics::getVwy() const { return Vwy; }
32.954383
225
0.689195
sbowman-mitre
9f6dfae2ebfb56c3f64ebb8b50fb71ea38ddc117
574
cpp
C++
All_code/110.cpp
jnvshubham7/cpp-programming
7d00f4a3b97b9308e337c5d3547fd3edd47c5e0b
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
All_code/110.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
All_code/110.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
// #include <bits/stdc++.h> // using namespace std; // int addTwoInts(int arg1, int arg2) // { // int sum = (arg1*arg1 + arg2*arg2); // return sum; // } // int main() { // int a,b; // cin>>a>>b; // int answer = addTwoInts(a,b); // cout <<answer << endl; // return 0; // } #include <bits/stdc++.h> using namespace std; int compute(int arg1, int arg2) { int sum = (arg1*arg1 + arg2*arg2); return sum; } int main() { int a,b; cin>>a>>b; int answer = compute(a,b); cout <<answer << endl; return 0; }
14
44
0.512195
jnvshubham7
9f711ed5115a89fc96459678399e8a640550e1e6
2,927
cpp
C++
engine/backends/vulkan_deprecated/extra_api.cpp
thomtl/Benzene
603f924a2471a115144b58af27028f6d913fc42a
[ "MIT" ]
null
null
null
engine/backends/vulkan_deprecated/extra_api.cpp
thomtl/Benzene
603f924a2471a115144b58af27028f6d913fc42a
[ "MIT" ]
null
null
null
engine/backends/vulkan_deprecated/extra_api.cpp
thomtl/Benzene
603f924a2471a115144b58af27028f6d913fc42a
[ "MIT" ]
1
2020-04-12T18:52:20.000Z
2020-04-12T18:52:20.000Z
#include "extra_api.hpp" #pragma region VK_KHR_push_descriptor static PFN_vkCmdPushDescriptorSetKHR _vkCmdPushDescriptorSetKHR; extern "C" void vkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites){ _vkCmdPushDescriptorSetKHR(commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites); } #pragma endregion #pragma region VK_EXT_debug_utils static PFN_vkSetDebugUtilsObjectNameEXT _vkSetDebugUtilsObjectNameEXT; extern "C" VkResult vkSetDebugUtilsObjectNameEXT(VkDevice device, const VkDebugUtilsObjectNameInfoEXT* pNameInfo){ return _vkSetDebugUtilsObjectNameEXT(device, pNameInfo); } static PFN_vkCmdBeginDebugUtilsLabelEXT _vkCmdBeginDebugUtilsLabelEXT; extern "C" void vkCmdBeginDebugUtilsLabelEXT(VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo){ return _vkCmdBeginDebugUtilsLabelEXT(commandBuffer, pLabelInfo); } static PFN_vkCmdEndDebugUtilsLabelEXT _vkCmdEndDebugUtilsLabelEXT; extern "C" void vkCmdEndDebugUtilsLabelEXT(VkCommandBuffer commandBuffer){ _vkCmdEndDebugUtilsLabelEXT(commandBuffer); } static PFN_vkCreateDebugUtilsMessengerEXT _vkCreateDebugUtilsMessengerEXT; extern "C" VkResult vkCreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugUtilsMessengerEXT* pMessenger){ return _vkCreateDebugUtilsMessengerEXT(instance, pCreateInfo, pAllocator, pMessenger); } static PFN_vkDestroyDebugUtilsMessengerEXT _vkDestroyDebugUtilsMessengerEXT; extern "C" void vkDestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks* pAllocator){ return _vkDestroyDebugUtilsMessengerEXT(instance, messenger, pAllocator); } #pragma endregion void benzene::vulkan::extra_api::init_instance_level(benzene::vulkan::Instance* instance){ _vkSetDebugUtilsObjectNameEXT = (PFN_vkSetDebugUtilsObjectNameEXT)instance->instance.getProcAddr("vkSetDebugUtilsObjectNameEXT"); _vkCmdBeginDebugUtilsLabelEXT = (PFN_vkCmdBeginDebugUtilsLabelEXT)instance->instance.getProcAddr("vkCmdBeginDebugUtilsLabelEXT"); _vkCmdEndDebugUtilsLabelEXT = (PFN_vkCmdEndDebugUtilsLabelEXT)instance->instance.getProcAddr("vkCmdEndDebugUtilsLabelEXT"); _vkCreateDebugUtilsMessengerEXT = (PFN_vkCreateDebugUtilsMessengerEXT)instance->instance.getProcAddr("vkCreateDebugUtilsMessengerEXT"); _vkDestroyDebugUtilsMessengerEXT = (PFN_vkDestroyDebugUtilsMessengerEXT)instance->instance.getProcAddr("vkDestroyDebugUtilsMessengerEXT"); } void benzene::vulkan::extra_api::init_device_level(benzene::vulkan::Instance* instance){ _vkCmdPushDescriptorSetKHR = (PFN_vkCmdPushDescriptorSetKHR)instance->device.getProcAddr("vkCmdPushDescriptorSetKHR"); }
56.288462
229
0.863683
thomtl
9f7fd40c7e7bb9fb8eca7c082b7f4dc9acc60411
209,500
cpp
C++
ModelTarget_Vuforia/Build/ModelTarget_Hololens/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_12Table.cpp
GooDtoLivE/ModelTarget-Vuforia-iOS
b3c0d70a63d5ebcea5893f377e4f3bb42ab8f6ba
[ "MIT" ]
null
null
null
ModelTarget_Vuforia/Build/ModelTarget_Hololens/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_12Table.cpp
GooDtoLivE/ModelTarget-Vuforia-iOS
b3c0d70a63d5ebcea5893f377e4f3bb42ab8f6ba
[ "MIT" ]
1
2020-04-01T15:06:47.000Z
2020-04-01T15:07:19.000Z
ModelTarget_Vuforia/Build/ModelTarget_Hololens/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_12Table.cpp
GooDtoLivE/ModelTarget-Vuforia-iOS
b3c0d70a63d5ebcea5893f377e4f3bb42ab8f6ba
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" // System.Char[] struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2; // System.Collections.Generic.EqualityComparer`1<System.Byte> struct EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5; // System.Collections.Generic.EqualityComparer`1<System.String> struct EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137; // System.Collections.IDictionary struct IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7; // System.Diagnostics.StackTrace[] struct StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196; // System.IntPtr[] struct IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD; // System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Object,System.Runtime.Serialization.SerializationInfo> struct ConditionalWeakTable_2_t26E8B55E13286793B294EE63AE38FECAE7FDEF98; // System.Runtime.Serialization.SafeSerializationManager struct SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770; // System.String struct String_t; struct Exception_t_marshaled_com; struct Exception_t_marshaled_pinvoke; #ifndef RUNTIMEOBJECT_H #define RUNTIMEOBJECT_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Object #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RUNTIMEOBJECT_H #ifndef COLLECTIONEXTENSIONS_T1943508648E4A2A0FBCF65503E3BD7032F003E0A_H #define COLLECTIONEXTENSIONS_T1943508648E4A2A0FBCF65503E3BD7032F003E0A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.CollectionExtensions struct CollectionExtensions_t1943508648E4A2A0FBCF65503E3BD7032F003E0A : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // COLLECTIONEXTENSIONS_T1943508648E4A2A0FBCF65503E3BD7032F003E0A_H #ifndef DICTIONARYHASHHELPERS_TA8FE399EF3E29215C09AA5F9263572B42D4D6D00_H #define DICTIONARYHASHHELPERS_TA8FE399EF3E29215C09AA5F9263572B42D4D6D00_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.DictionaryHashHelpers struct DictionaryHashHelpers_tA8FE399EF3E29215C09AA5F9263572B42D4D6D00 : public RuntimeObject { public: public: }; struct DictionaryHashHelpers_tA8FE399EF3E29215C09AA5F9263572B42D4D6D00_StaticFields { public: // System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Object,System.Runtime.Serialization.SerializationInfo> System.Collections.Generic.DictionaryHashHelpers::<SerializationInfoTable>k__BackingField ConditionalWeakTable_2_t26E8B55E13286793B294EE63AE38FECAE7FDEF98 * ___U3CSerializationInfoTableU3Ek__BackingField_0; public: inline static int32_t get_offset_of_U3CSerializationInfoTableU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(DictionaryHashHelpers_tA8FE399EF3E29215C09AA5F9263572B42D4D6D00_StaticFields, ___U3CSerializationInfoTableU3Ek__BackingField_0)); } inline ConditionalWeakTable_2_t26E8B55E13286793B294EE63AE38FECAE7FDEF98 * get_U3CSerializationInfoTableU3Ek__BackingField_0() const { return ___U3CSerializationInfoTableU3Ek__BackingField_0; } inline ConditionalWeakTable_2_t26E8B55E13286793B294EE63AE38FECAE7FDEF98 ** get_address_of_U3CSerializationInfoTableU3Ek__BackingField_0() { return &___U3CSerializationInfoTableU3Ek__BackingField_0; } inline void set_U3CSerializationInfoTableU3Ek__BackingField_0(ConditionalWeakTable_2_t26E8B55E13286793B294EE63AE38FECAE7FDEF98 * value) { ___U3CSerializationInfoTableU3Ek__BackingField_0 = value; Il2CppCodeGenWriteBarrier((&___U3CSerializationInfoTableU3Ek__BackingField_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // DICTIONARYHASHHELPERS_TA8FE399EF3E29215C09AA5F9263572B42D4D6D00_H #ifndef EQUALITYCOMPARER_1_T3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5_H #define EQUALITYCOMPARER_1_T3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.EqualityComparer`1<System.Byte> struct EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5 : public RuntimeObject { public: public: }; struct EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5_StaticFields { public: // System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5 * ___defaultComparer_0; public: inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5_StaticFields, ___defaultComparer_0)); } inline EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5 * get_defaultComparer_0() const { return ___defaultComparer_0; } inline EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; } inline void set_defaultComparer_0(EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5 * value) { ___defaultComparer_0 = value; Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // EQUALITYCOMPARER_1_T3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5_H #ifndef EQUALITYCOMPARER_1_TBEFFC6F649A17852373A084880D57CB299084137_H #define EQUALITYCOMPARER_1_TBEFFC6F649A17852373A084880D57CB299084137_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.EqualityComparer`1<System.String> struct EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137 : public RuntimeObject { public: public: }; struct EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137_StaticFields { public: // System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137 * ___defaultComparer_0; public: inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137_StaticFields, ___defaultComparer_0)); } inline EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137 * get_defaultComparer_0() const { return ___defaultComparer_0; } inline EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; } inline void set_defaultComparer_0(EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137 * value) { ___defaultComparer_0 = value; Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // EQUALITYCOMPARER_1_TBEFFC6F649A17852373A084880D57CB299084137_H #ifndef INTROSPECTIVESORTUTILITIES_T6A205C98525D6E6DD938DC26FE053A91F492BE4D_H #define INTROSPECTIVESORTUTILITIES_T6A205C98525D6E6DD938DC26FE053A91F492BE4D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.IntrospectiveSortUtilities struct IntrospectiveSortUtilities_t6A205C98525D6E6DD938DC26FE053A91F492BE4D : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INTROSPECTIVESORTUTILITIES_T6A205C98525D6E6DD938DC26FE053A91F492BE4D_H #ifndef KEYVALUEPAIR_T123535D547736542503896462AF2C80E752E549F_H #define KEYVALUEPAIR_T123535D547736542503896462AF2C80E752E549F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.KeyValuePair struct KeyValuePair_t123535D547736542503896462AF2C80E752E549F : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // KEYVALUEPAIR_T123535D547736542503896462AF2C80E752E549F_H #ifndef OBJECTEQUALITYCOMPARER_T816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC_H #define OBJECTEQUALITYCOMPARER_T816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.ObjectEqualityComparer struct ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC : public RuntimeObject { public: public: }; struct ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC_StaticFields { public: // System.Collections.Generic.ObjectEqualityComparer System.Collections.Generic.ObjectEqualityComparer::Default ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC * ___Default_0; public: inline static int32_t get_offset_of_Default_0() { return static_cast<int32_t>(offsetof(ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC_StaticFields, ___Default_0)); } inline ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC * get_Default_0() const { return ___Default_0; } inline ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC ** get_address_of_Default_0() { return &___Default_0; } inline void set_Default_0(ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC * value) { ___Default_0 = value; Il2CppCodeGenWriteBarrier((&___Default_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // OBJECTEQUALITYCOMPARER_T816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC_H #ifndef EXCEPTION_T_H #define EXCEPTION_T_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Exception struct Exception_t : public RuntimeObject { public: // System.String System.Exception::_className String_t* ____className_1; // System.String System.Exception::_message String_t* ____message_2; // System.Collections.IDictionary System.Exception::_data RuntimeObject* ____data_3; // System.Exception System.Exception::_innerException Exception_t * ____innerException_4; // System.String System.Exception::_helpURL String_t* ____helpURL_5; // System.Object System.Exception::_stackTrace RuntimeObject * ____stackTrace_6; // System.String System.Exception::_stackTraceString String_t* ____stackTraceString_7; // System.String System.Exception::_remoteStackTraceString String_t* ____remoteStackTraceString_8; // System.Int32 System.Exception::_remoteStackIndex int32_t ____remoteStackIndex_9; // System.Object System.Exception::_dynamicMethods RuntimeObject * ____dynamicMethods_10; // System.Int32 System.Exception::_HResult int32_t ____HResult_11; // System.String System.Exception::_source String_t* ____source_12; // System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13; // System.Diagnostics.StackTrace[] System.Exception::captured_traces StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14; // System.IntPtr[] System.Exception::native_trace_ips IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* ___native_trace_ips_15; public: inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); } inline String_t* get__className_1() const { return ____className_1; } inline String_t** get_address_of__className_1() { return &____className_1; } inline void set__className_1(String_t* value) { ____className_1 = value; Il2CppCodeGenWriteBarrier((&____className_1), value); } inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); } inline String_t* get__message_2() const { return ____message_2; } inline String_t** get_address_of__message_2() { return &____message_2; } inline void set__message_2(String_t* value) { ____message_2 = value; Il2CppCodeGenWriteBarrier((&____message_2), value); } inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); } inline RuntimeObject* get__data_3() const { return ____data_3; } inline RuntimeObject** get_address_of__data_3() { return &____data_3; } inline void set__data_3(RuntimeObject* value) { ____data_3 = value; Il2CppCodeGenWriteBarrier((&____data_3), value); } inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); } inline Exception_t * get__innerException_4() const { return ____innerException_4; } inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; } inline void set__innerException_4(Exception_t * value) { ____innerException_4 = value; Il2CppCodeGenWriteBarrier((&____innerException_4), value); } inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); } inline String_t* get__helpURL_5() const { return ____helpURL_5; } inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; } inline void set__helpURL_5(String_t* value) { ____helpURL_5 = value; Il2CppCodeGenWriteBarrier((&____helpURL_5), value); } inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); } inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; } inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; } inline void set__stackTrace_6(RuntimeObject * value) { ____stackTrace_6 = value; Il2CppCodeGenWriteBarrier((&____stackTrace_6), value); } inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); } inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; } inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; } inline void set__stackTraceString_7(String_t* value) { ____stackTraceString_7 = value; Il2CppCodeGenWriteBarrier((&____stackTraceString_7), value); } inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); } inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; } inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; } inline void set__remoteStackTraceString_8(String_t* value) { ____remoteStackTraceString_8 = value; Il2CppCodeGenWriteBarrier((&____remoteStackTraceString_8), value); } inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); } inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; } inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; } inline void set__remoteStackIndex_9(int32_t value) { ____remoteStackIndex_9 = value; } inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); } inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; } inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; } inline void set__dynamicMethods_10(RuntimeObject * value) { ____dynamicMethods_10 = value; Il2CppCodeGenWriteBarrier((&____dynamicMethods_10), value); } inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); } inline int32_t get__HResult_11() const { return ____HResult_11; } inline int32_t* get_address_of__HResult_11() { return &____HResult_11; } inline void set__HResult_11(int32_t value) { ____HResult_11 = value; } inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); } inline String_t* get__source_12() const { return ____source_12; } inline String_t** get_address_of__source_12() { return &____source_12; } inline void set__source_12(String_t* value) { ____source_12 = value; Il2CppCodeGenWriteBarrier((&____source_12), value); } inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); } inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; } inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; } inline void set__safeSerializationManager_13(SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * value) { ____safeSerializationManager_13 = value; Il2CppCodeGenWriteBarrier((&____safeSerializationManager_13), value); } inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); } inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* get_captured_traces_14() const { return ___captured_traces_14; } inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196** get_address_of_captured_traces_14() { return &___captured_traces_14; } inline void set_captured_traces_14(StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* value) { ___captured_traces_14 = value; Il2CppCodeGenWriteBarrier((&___captured_traces_14), value); } inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); } inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* get_native_trace_ips_15() const { return ___native_trace_ips_15; } inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; } inline void set_native_trace_ips_15(IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* value) { ___native_trace_ips_15 = value; Il2CppCodeGenWriteBarrier((&___native_trace_ips_15), value); } }; struct Exception_t_StaticFields { public: // System.Object System.Exception::s_EDILock RuntimeObject * ___s_EDILock_0; public: inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); } inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; } inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; } inline void set_s_EDILock_0(RuntimeObject * value) { ___s_EDILock_0 = value; Il2CppCodeGenWriteBarrier((&___s_EDILock_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of System.Exception struct Exception_t_marshaled_pinvoke { char* ____className_1; char* ____message_2; RuntimeObject* ____data_3; Exception_t_marshaled_pinvoke* ____innerException_4; char* ____helpURL_5; Il2CppIUnknown* ____stackTrace_6; char* ____stackTraceString_7; char* ____remoteStackTraceString_8; int32_t ____remoteStackIndex_9; Il2CppIUnknown* ____dynamicMethods_10; int32_t ____HResult_11; char* ____source_12; SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13; StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14; intptr_t* ___native_trace_ips_15; }; // Native definition for COM marshalling of System.Exception struct Exception_t_marshaled_com { Il2CppChar* ____className_1; Il2CppChar* ____message_2; RuntimeObject* ____data_3; Exception_t_marshaled_com* ____innerException_4; Il2CppChar* ____helpURL_5; Il2CppIUnknown* ____stackTrace_6; Il2CppChar* ____stackTraceString_7; Il2CppChar* ____remoteStackTraceString_8; int32_t ____remoteStackIndex_9; Il2CppIUnknown* ____dynamicMethods_10; int32_t ____HResult_11; Il2CppChar* ____source_12; SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13; StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14; intptr_t* ___native_trace_ips_15; }; #endif // EXCEPTION_T_H #ifndef UNMANAGEDMARSHAL_TCF1F2DA6EAED118ED1459C8DFF35C5418259F3EE_H #define UNMANAGEDMARSHAL_TCF1F2DA6EAED118ED1459C8DFF35C5418259F3EE_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Reflection.Emit.UnmanagedMarshal struct UnmanagedMarshal_tCF1F2DA6EAED118ED1459C8DFF35C5418259F3EE : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNMANAGEDMARSHAL_TCF1F2DA6EAED118ED1459C8DFF35C5418259F3EE_H #ifndef VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H #define VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.ValueType struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of System.ValueType struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke { }; // Native definition for COM marshalling of System.ValueType struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com { }; #endif // VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H #ifndef __STATICARRAYINITTYPESIZEU3D10_T39E3D966A21885323F15EB866ABDE668EA1ED52C_H #define __STATICARRAYINITTYPESIZEU3D10_T39E3D966A21885323F15EB866ABDE668EA1ED52C_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D10 struct __StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C__padding[10]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D10_T39E3D966A21885323F15EB866ABDE668EA1ED52C_H #ifndef __STATICARRAYINITTYPESIZEU3D1018_T7825BE1556EFF874DAFDC230EB69C85A48DBCBC4_H #define __STATICARRAYINITTYPESIZEU3D1018_T7825BE1556EFF874DAFDC230EB69C85A48DBCBC4_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1018 struct __StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4__padding[1018]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D1018_T7825BE1556EFF874DAFDC230EB69C85A48DBCBC4_H #ifndef __STATICARRAYINITTYPESIZEU3D1080_TCE36DA14009C45CFDEA7F63618BE90F8DF89AC84_H #define __STATICARRAYINITTYPESIZEU3D1080_TCE36DA14009C45CFDEA7F63618BE90F8DF89AC84_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1080 struct __StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84__padding[1080]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D1080_TCE36DA14009C45CFDEA7F63618BE90F8DF89AC84_H #ifndef __STATICARRAYINITTYPESIZEU3D11614_TDF34959BE752359A89A4A577B8798D2D66A5E7F5_H #define __STATICARRAYINITTYPESIZEU3D11614_TDF34959BE752359A89A4A577B8798D2D66A5E7F5_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D11614 struct __StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5__padding[11614]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D11614_TDF34959BE752359A89A4A577B8798D2D66A5E7F5_H #ifndef __STATICARRAYINITTYPESIZEU3D12_TB4B4C95019D88097B57DE7B50445942256BF2879_H #define __STATICARRAYINITTYPESIZEU3D12_TB4B4C95019D88097B57DE7B50445942256BF2879_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 struct __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879__padding[12]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D12_TB4B4C95019D88097B57DE7B50445942256BF2879_H #ifndef __STATICARRAYINITTYPESIZEU3D120_TBA46FD2E9DA153FD8457EE7F425E8ECC517EA252_H #define __STATICARRAYINITTYPESIZEU3D120_TBA46FD2E9DA153FD8457EE7F425E8ECC517EA252_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D120 struct __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252__padding[120]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D120_TBA46FD2E9DA153FD8457EE7F425E8ECC517EA252_H #ifndef __STATICARRAYINITTYPESIZEU3D1208_TC58894ECFE2C4FFD2B8FCDF958800099A737C1DD_H #define __STATICARRAYINITTYPESIZEU3D1208_TC58894ECFE2C4FFD2B8FCDF958800099A737C1DD_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1208 struct __StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD__padding[1208]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D1208_TC58894ECFE2C4FFD2B8FCDF958800099A737C1DD_H #ifndef __STATICARRAYINITTYPESIZEU3D128_T1B13688BD6EA82B964734FF8C3181161EF5624B1_H #define __STATICARRAYINITTYPESIZEU3D128_T1B13688BD6EA82B964734FF8C3181161EF5624B1_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D128 struct __StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1__padding[128]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D128_T1B13688BD6EA82B964734FF8C3181161EF5624B1_H #ifndef __STATICARRAYINITTYPESIZEU3D130_T732A6F42953325ADC5746FF1A652A2974473AF4F_H #define __STATICARRAYINITTYPESIZEU3D130_T732A6F42953325ADC5746FF1A652A2974473AF4F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D130 struct __StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F__padding[130]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D130_T732A6F42953325ADC5746FF1A652A2974473AF4F_H #ifndef __STATICARRAYINITTYPESIZEU3D1450_T58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4_H #define __STATICARRAYINITTYPESIZEU3D1450_T58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1450 struct __StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4__padding[1450]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D1450_T58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4_H #ifndef __STATICARRAYINITTYPESIZEU3D16_T35B2E1DB11C9D3150BF800DC30A2808C4F1A1341_H #define __STATICARRAYINITTYPESIZEU3D16_T35B2E1DB11C9D3150BF800DC30A2808C4F1A1341_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D16 struct __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341__padding[16]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D16_T35B2E1DB11C9D3150BF800DC30A2808C4F1A1341_H #ifndef __STATICARRAYINITTYPESIZEU3D162_TFFF125F871C6A7DE42BE37AC907E2E2149A861AA_H #define __STATICARRAYINITTYPESIZEU3D162_TFFF125F871C6A7DE42BE37AC907E2E2149A861AA_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D162 struct __StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA__padding[162]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D162_TFFF125F871C6A7DE42BE37AC907E2E2149A861AA_H #ifndef __STATICARRAYINITTYPESIZEU3D1665_TCD7752863825B82B07752CCE72A581C169E19C20_H #define __STATICARRAYINITTYPESIZEU3D1665_TCD7752863825B82B07752CCE72A581C169E19C20_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1665 struct __StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20__padding[1665]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D1665_TCD7752863825B82B07752CCE72A581C169E19C20_H #ifndef __STATICARRAYINITTYPESIZEU3D174_T58EBFEBC3E6F34CF7C54ED51E8113E34B876351F_H #define __STATICARRAYINITTYPESIZEU3D174_T58EBFEBC3E6F34CF7C54ED51E8113E34B876351F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D174 struct __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F__padding[174]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D174_T58EBFEBC3E6F34CF7C54ED51E8113E34B876351F_H #ifndef __STATICARRAYINITTYPESIZEU3D2100_T75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA_H #define __STATICARRAYINITTYPESIZEU3D2100_T75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D2100 struct __StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA__padding[2100]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D2100_T75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA_H #ifndef __STATICARRAYINITTYPESIZEU3D212_TDFB9BEA11D871D109F9E6502B2F50F7115451AAF_H #define __STATICARRAYINITTYPESIZEU3D212_TDFB9BEA11D871D109F9E6502B2F50F7115451AAF_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D212 struct __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF__padding[212]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D212_TDFB9BEA11D871D109F9E6502B2F50F7115451AAF_H #ifndef __STATICARRAYINITTYPESIZEU3D21252_TCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462_H #define __STATICARRAYINITTYPESIZEU3D21252_TCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D21252 struct __StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462__padding[21252]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D21252_TCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462_H #ifndef __STATICARRAYINITTYPESIZEU3D2350_T96984AEF232104302694B7EFDA3F92BC42BF207D_H #define __STATICARRAYINITTYPESIZEU3D2350_T96984AEF232104302694B7EFDA3F92BC42BF207D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D2350 struct __StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D__padding[2350]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D2350_T96984AEF232104302694B7EFDA3F92BC42BF207D_H #ifndef __STATICARRAYINITTYPESIZEU3D2382_TB4AF2C49C5120B6EB285BA4D247340D8E243A1BA_H #define __STATICARRAYINITTYPESIZEU3D2382_TB4AF2C49C5120B6EB285BA4D247340D8E243A1BA_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D2382 struct __StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA__padding[2382]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D2382_TB4AF2C49C5120B6EB285BA4D247340D8E243A1BA_H #ifndef __STATICARRAYINITTYPESIZEU3D24_TAB08761D1BC4313A0535E193F4E1A1AFA8B3F123_H #define __STATICARRAYINITTYPESIZEU3D24_TAB08761D1BC4313A0535E193F4E1A1AFA8B3F123_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D24 struct __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123__padding[24]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D24_TAB08761D1BC4313A0535E193F4E1A1AFA8B3F123_H #ifndef __STATICARRAYINITTYPESIZEU3D240_T5643A77865294845ACC505FE42EA1067CAC04FD8_H #define __STATICARRAYINITTYPESIZEU3D240_T5643A77865294845ACC505FE42EA1067CAC04FD8_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D240 struct __StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8__padding[240]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D240_T5643A77865294845ACC505FE42EA1067CAC04FD8_H #ifndef __STATICARRAYINITTYPESIZEU3D256_T9003B1E1E8C82BC25ADE7407C58A314C292B326F_H #define __STATICARRAYINITTYPESIZEU3D256_T9003B1E1E8C82BC25ADE7407C58A314C292B326F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D256 struct __StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F__padding[256]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D256_T9003B1E1E8C82BC25ADE7407C58A314C292B326F_H #ifndef __STATICARRAYINITTYPESIZEU3D262_T93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7_H #define __STATICARRAYINITTYPESIZEU3D262_T93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D262 struct __StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7__padding[262]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D262_T93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7_H #ifndef __STATICARRAYINITTYPESIZEU3D288_T7B40D7F3A8D262F90A76460FF94E92CE08AFCF55_H #define __STATICARRAYINITTYPESIZEU3D288_T7B40D7F3A8D262F90A76460FF94E92CE08AFCF55_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D288 struct __StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55__padding[288]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D288_T7B40D7F3A8D262F90A76460FF94E92CE08AFCF55_H #ifndef __STATICARRAYINITTYPESIZEU3D3_T651350E6AC00D0836A5D0539D0D68852BE81E08E_H #define __STATICARRAYINITTYPESIZEU3D3_T651350E6AC00D0836A5D0539D0D68852BE81E08E_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 struct __StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E__padding[3]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D3_T651350E6AC00D0836A5D0539D0D68852BE81E08E_H #ifndef __STATICARRAYINITTYPESIZEU3D32_T06FF35439BDF1A6AAB50820787FA5D7A4FA09472_H #define __STATICARRAYINITTYPESIZEU3D32_T06FF35439BDF1A6AAB50820787FA5D7A4FA09472_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D32 struct __StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472__padding[32]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D32_T06FF35439BDF1A6AAB50820787FA5D7A4FA09472_H #ifndef __STATICARRAYINITTYPESIZEU3D320_T48B9242FB90DB2A21A723BBAB141500A9641EB49_H #define __STATICARRAYINITTYPESIZEU3D320_T48B9242FB90DB2A21A723BBAB141500A9641EB49_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D320 struct __StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49__padding[320]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D320_T48B9242FB90DB2A21A723BBAB141500A9641EB49_H #ifndef __STATICARRAYINITTYPESIZEU3D36_T553C250FA8609975E44273C4AD8F28E487272E17_H #define __STATICARRAYINITTYPESIZEU3D36_T553C250FA8609975E44273C4AD8F28E487272E17_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D36 struct __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17__padding[36]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D36_T553C250FA8609975E44273C4AD8F28E487272E17_H #ifndef __STATICARRAYINITTYPESIZEU3D360_TFF8371303424DEBAE608051BAA970E5AFB409DF7_H #define __STATICARRAYINITTYPESIZEU3D360_TFF8371303424DEBAE608051BAA970E5AFB409DF7_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D360 struct __StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7__padding[360]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D360_TFF8371303424DEBAE608051BAA970E5AFB409DF7_H #ifndef __STATICARRAYINITTYPESIZEU3D38_TA52D24A5F9970582D6B55437967C9BD32E03F05D_H #define __STATICARRAYINITTYPESIZEU3D38_TA52D24A5F9970582D6B55437967C9BD32E03F05D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D38 struct __StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D__padding[38]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D38_TA52D24A5F9970582D6B55437967C9BD32E03F05D_H #ifndef __STATICARRAYINITTYPESIZEU3D40_T0453B23B081EF301CB1E3167001650AD0C490F04_H #define __STATICARRAYINITTYPESIZEU3D40_T0453B23B081EF301CB1E3167001650AD0C490F04_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 struct __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04__padding[40]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D40_T0453B23B081EF301CB1E3167001650AD0C490F04_H #ifndef __STATICARRAYINITTYPESIZEU3D42_T3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4_H #define __STATICARRAYINITTYPESIZEU3D42_T3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D42 struct __StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4__padding[42]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D42_T3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4_H #ifndef __STATICARRAYINITTYPESIZEU3D44_T1383A9A990CD22E4246B656157D17C8051BFAD7F_H #define __STATICARRAYINITTYPESIZEU3D44_T1383A9A990CD22E4246B656157D17C8051BFAD7F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D44 struct __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F__padding[44]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D44_T1383A9A990CD22E4246B656157D17C8051BFAD7F_H #ifndef __STATICARRAYINITTYPESIZEU3D52_TF7B918A088A367994FBAEB73123296D8929B543A_H #define __STATICARRAYINITTYPESIZEU3D52_TF7B918A088A367994FBAEB73123296D8929B543A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D52 struct __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A__padding[52]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D52_TF7B918A088A367994FBAEB73123296D8929B543A_H #ifndef __STATICARRAYINITTYPESIZEU3D6_TC937DCE458F6AE4186120B4DDF95463176C75C78_H #define __STATICARRAYINITTYPESIZEU3D6_TC937DCE458F6AE4186120B4DDF95463176C75C78_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D6 struct __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78__padding[6]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D6_TC937DCE458F6AE4186120B4DDF95463176C75C78_H #ifndef __STATICARRAYINITTYPESIZEU3D64_TC44517F575DC9AEC7589A864FEA072030961DAF6_H #define __STATICARRAYINITTYPESIZEU3D64_TC44517F575DC9AEC7589A864FEA072030961DAF6_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D64 struct __StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6__padding[64]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D64_TC44517F575DC9AEC7589A864FEA072030961DAF6_H #ifndef __STATICARRAYINITTYPESIZEU3D72_TF9B2DE61B68289FA0233B6E305B08B2FCD612FA1_H #define __STATICARRAYINITTYPESIZEU3D72_TF9B2DE61B68289FA0233B6E305B08B2FCD612FA1_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 struct __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1__padding[72]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D72_TF9B2DE61B68289FA0233B6E305B08B2FCD612FA1_H #ifndef __STATICARRAYINITTYPESIZEU3D76_T83BE44A74AC13CD15474DA7726C9C92BD317CFFB_H #define __STATICARRAYINITTYPESIZEU3D76_T83BE44A74AC13CD15474DA7726C9C92BD317CFFB_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D76 struct __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB__padding[76]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D76_T83BE44A74AC13CD15474DA7726C9C92BD317CFFB_H #ifndef __STATICARRAYINITTYPESIZEU3D84_TF52293EFB26AA1D2C169389BB83253C5BAE8076A_H #define __STATICARRAYINITTYPESIZEU3D84_TF52293EFB26AA1D2C169389BB83253C5BAE8076A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D84 struct __StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A__padding[84]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D84_TF52293EFB26AA1D2C169389BB83253C5BAE8076A_H #ifndef __STATICARRAYINITTYPESIZEU3D94_T23554D8B96399688002A3BE81C7C15EFB011DEC6_H #define __STATICARRAYINITTYPESIZEU3D94_T23554D8B96399688002A3BE81C7C15EFB011DEC6_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D94 struct __StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6 { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6__padding[94]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D94_T23554D8B96399688002A3BE81C7C15EFB011DEC6_H #ifndef __STATICARRAYINITTYPESIZEU3D998_T8A5C9782706B510180A1B9C9F7E96F8F48421B8C_H #define __STATICARRAYINITTYPESIZEU3D998_T8A5C9782706B510180A1B9C9F7E96F8F48421B8C_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D998 struct __StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C { public: union { struct { union { }; }; uint8_t __StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C__padding[998]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // __STATICARRAYINITTYPESIZEU3D998_T8A5C9782706B510180A1B9C9F7E96F8F48421B8C_H #ifndef BYTEEQUALITYCOMPARER_T45A85C063C30D3CDABEAD21C8CDF353E3EE55B8B_H #define BYTEEQUALITYCOMPARER_T45A85C063C30D3CDABEAD21C8CDF353E3EE55B8B_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.ByteEqualityComparer struct ByteEqualityComparer_t45A85C063C30D3CDABEAD21C8CDF353E3EE55B8B : public EqualityComparer_1_t3A6890CC3BA3A4DBC0B7B4A4486D314AB72F2EA5 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // BYTEEQUALITYCOMPARER_T45A85C063C30D3CDABEAD21C8CDF353E3EE55B8B_H #ifndef INTERNALSTRINGCOMPARER_TCD150130A3DB4C80186B5D8145B910B33496D4CD_H #define INTERNALSTRINGCOMPARER_TCD150130A3DB4C80186B5D8145B910B33496D4CD_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.InternalStringComparer struct InternalStringComparer_tCD150130A3DB4C80186B5D8145B910B33496D4CD : public EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INTERNALSTRINGCOMPARER_TCD150130A3DB4C80186B5D8145B910B33496D4CD_H #ifndef NONRANDOMIZEDSTRINGEQUALITYCOMPARER_T92C20503D9C5060A557792ABCCC06EF2DD77E5D9_H #define NONRANDOMIZEDSTRINGEQUALITYCOMPARER_T92C20503D9C5060A557792ABCCC06EF2DD77E5D9_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.NonRandomizedStringEqualityComparer struct NonRandomizedStringEqualityComparer_t92C20503D9C5060A557792ABCCC06EF2DD77E5D9 : public EqualityComparer_1_tBEFFC6F649A17852373A084880D57CB299084137 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // NONRANDOMIZEDSTRINGEQUALITYCOMPARER_T92C20503D9C5060A557792ABCCC06EF2DD77E5D9_H #ifndef ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H #define ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Enum struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF { public: public: }; struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields { public: // System.Char[] System.Enum::enumSeperatorCharArray CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0; public: inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); } inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; } inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; } inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value) { ___enumSeperatorCharArray_0 = value; Il2CppCodeGenWriteBarrier((&___enumSeperatorCharArray_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of System.Enum struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke { }; // Native definition for COM marshalling of System.Enum struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com { }; #endif // ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H #ifndef SYSTEMEXCEPTION_T5380468142AA850BE4A341D7AF3EAB9C78746782_H #define SYSTEMEXCEPTION_T5380468142AA850BE4A341D7AF3EAB9C78746782_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.SystemException struct SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 : public Exception_t { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SYSTEMEXCEPTION_T5380468142AA850BE4A341D7AF3EAB9C78746782_H #ifndef U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_H #define U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // <PrivateImplementationDetails> struct U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A : public RuntimeObject { public: public: }; struct U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields { public: // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::0588059ACBD52F7EA2835882F977A9CF72EB9775 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___0588059ACBD52F7EA2835882F977A9CF72EB9775_0; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D84 <PrivateImplementationDetails>::0A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C __StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A ___0A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D240 <PrivateImplementationDetails>::121EC59E23F7559B28D338D562528F6299C2DE22 __StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8 ___121EC59E23F7559B28D338D562528F6299C2DE22_2; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D24 <PrivateImplementationDetails>::1730F09044E91DB8371B849EFF5E6D17BDE4AED0 __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 ___1730F09044E91DB8371B849EFF5E6D17BDE4AED0_3; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D16 <PrivateImplementationDetails>::1FE6CE411858B3D864679DE2139FB081F08BFACD __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 ___1FE6CE411858B3D864679DE2139FB081F08BFACD_4; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::25420D0055076FA8D3E4DD96BC53AE24DE6E619F __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___25420D0055076FA8D3E4DD96BC53AE24DE6E619F_5; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1208 <PrivateImplementationDetails>::25CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E __StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD ___25CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D42 <PrivateImplementationDetails>::29C1A61550F0E3260E1953D4FAD71C256218EF40 __StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4 ___29C1A61550F0E3260E1953D4FAD71C256218EF40_7; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 <PrivateImplementationDetails>::2B33BEC8C30DFDC49DAFE20D3BDE19487850D717 __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ___2B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D36 <PrivateImplementationDetails>::2BA840FF6020B8FF623DBCB7188248CF853FAF4F __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 ___2BA840FF6020B8FF623DBCB7188248CF853FAF4F_9; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::2C840AFA48C27B9C05593E468C1232CA1CC74AFD __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___2C840AFA48C27B9C05593E468C1232CA1CC74AFD_10; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D16 <PrivateImplementationDetails>::2D1DA5BB407F0C11C3B5116196C0C6374D932B20 __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 ___2D1DA5BB407F0C11C3B5116196C0C6374D932B20_11; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::2F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___2F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::34476C29F6F81C989CFCA42F7C06E84C66236834 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___34476C29F6F81C989CFCA42F7C06E84C66236834_13; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D2382 <PrivateImplementationDetails>::35EED060772F2748D13B745DAEC8CD7BD3B87604 __StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA ___35EED060772F2748D13B745DAEC8CD7BD3B87604_14; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D38 <PrivateImplementationDetails>::375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3 __StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D ___375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1450 <PrivateImplementationDetails>::379C06C9E702D31469C29033F0DD63931EB349F5 __StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4 ___379C06C9E702D31469C29033F0DD63931EB349F5_16; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D10 <PrivateImplementationDetails>::399BD13E240F33F808CA7940293D6EC4E6FD5A00 __StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C ___399BD13E240F33F808CA7940293D6EC4E6FD5A00_17; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::39C9CE73C7B0619D409EF28344F687C1B5C130FE __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___39C9CE73C7B0619D409EF28344F687C1B5C130FE_18; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D320 <PrivateImplementationDetails>::3C53AFB51FEC23491684C7BEDBC6D4E0F409F851 __StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49 ___3C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 <PrivateImplementationDetails>::3E823444D2DFECF0F90B436B88F02A533CB376F1 __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ___3E823444D2DFECF0F90B436B88F02A533CB376F1_20; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::3FE6C283BCF384FD2C8789880DFF59664E2AB4A1 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___3FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1665 <PrivateImplementationDetails>::40981BAA39513E58B28DCF0103CC04DE2A0A0444 __StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20 ___40981BAA39513E58B28DCF0103CC04DE2A0A0444_22; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::40E7C49413D261F3F38AD3A870C0AC69C8BDA048 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___40E7C49413D261F3F38AD3A870C0AC69C8BDA048_23; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::421EC7E82F2967DF6CA8C3605514DC6F29EE5845 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::4858DB4AA76D3933F1CA9E6712D4FDB16903F628 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___4858DB4AA76D3933F1CA9E6712D4FDB16903F628_25; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::4F7A8890F332B22B8DE0BD29D36FA7364748D76A __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___4F7A8890F332B22B8DE0BD29D36FA7364748D76A_26; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::536422B321459B242ADED7240B7447E904E083E3 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___536422B321459B242ADED7240B7447E904E083E3_27; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1080 <PrivateImplementationDetails>::5382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3 __StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84 ___5382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::57218C316B6921E2CD61027A2387EDC31A2D9471 __StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E ___57218C316B6921E2CD61027A2387EDC31A2D9471_29; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::57F320D62696EC99727E0FE2045A05F1289CC0C6 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___57F320D62696EC99727E0FE2045A05F1289CC0C6_30; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D212 <PrivateImplementationDetails>::594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3 __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF ___594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D36 <PrivateImplementationDetails>::5BBDF8058D4235C33F2E8DCF76004031B6187A2F __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 ___5BBDF8058D4235C33F2E8DCF76004031B6187A2F_32; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D288 <PrivateImplementationDetails>::5BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF __StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55 ___5BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::5BFE2819B4778217C56416C7585FF0E56EBACD89 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___5BFE2819B4778217C56416C7585FF0E56EBACD89_34; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D128 <PrivateImplementationDetails>::609C0E8D8DA86A09D6013D301C86BA8782C16B8C __StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1 ___609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::65E32B4E150FD8D24B93B0D42A17F1DAD146162B __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___65E32B4E150FD8D24B93B0D42A17F1DAD146162B_36; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D52 <PrivateImplementationDetails>::6770974FEF1E98B9C1864370E2B5B786EB0EA39E __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A ___6770974FEF1E98B9C1864370E2B5B786EB0EA39E_37; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::67EEAD805D708D9AA4E14BF747E44CED801744F3 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___67EEAD805D708D9AA4E14BF747E44CED801744F3_38; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D120 <PrivateImplementationDetails>::6C71197D228427B2864C69B357FEF73D8C9D59DF __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 ___6C71197D228427B2864C69B357FEF73D8C9D59DF_39; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D76 <PrivateImplementationDetails>::6FC754859E4EC74E447048364B216D825C6F8FE7 __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB ___6FC754859E4EC74E447048364B216D825C6F8FE7_40; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::704939CD172085D1295FCE3F1D92431D685D7AA2 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___704939CD172085D1295FCE3F1D92431D685D7AA2_41; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D24 <PrivateImplementationDetails>::7088AAE49F0627B72729078DE6E3182DDCF8ED99 __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 ___7088AAE49F0627B72729078DE6E3182DDCF8ED99_42; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::7341C933A70EAE383CC50C4B945ADB8E08F06737 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___7341C933A70EAE383CC50C4B945ADB8E08F06737_43; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::7FE820C9CF0F0B90445A71F1D262D22E4F0C4C68 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___7FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D21252 <PrivateImplementationDetails>::811A927B7DADD378BE60BBDE794B9277AA9B50EC __StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462 ___811A927B7DADD378BE60BBDE794B9277AA9B50EC_45; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D36 <PrivateImplementationDetails>::81917F1E21F3C22B9F916994547A614FB03E968E __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 ___81917F1E21F3C22B9F916994547A614FB03E968E_46; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::823566DA642D6EA356E15585921F2A4CA23D6760 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___823566DA642D6EA356E15585921F2A4CA23D6760_47; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 <PrivateImplementationDetails>::82C2A59850B2E85BCE1A45A479537A384DF6098D __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ___82C2A59850B2E85BCE1A45A479537A384DF6098D_48; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D44 <PrivateImplementationDetails>::82C383F8E6E4D3D87AEBB986A5D0077E8AD157C4 __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F ___82C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::871B9CF85DB352BAADF12BAE8F19857683E385AC __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___871B9CF85DB352BAADF12BAE8F19857683E385AC_50; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D16 <PrivateImplementationDetails>::89A040451C8CC5C8FB268BE44BDD74964C104155 __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 ___89A040451C8CC5C8FB268BE44BDD74964C104155_51; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::8CAA092E783257106251246FF5C97F88D28517A6 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___8CAA092E783257106251246FF5C97F88D28517A6_52; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D2100 <PrivateImplementationDetails>::8D231DD55FE1AD7631BBD0905A17D5EB616C2154 __StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA ___8D231DD55FE1AD7631BBD0905A17D5EB616C2154_53; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::8E10AC2F34545DFBBF3FCBC06055D797A8C99991 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___8E10AC2F34545DFBBF3FCBC06055D797A8C99991_54; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 <PrivateImplementationDetails>::93A63E90605400F34B49F0EB3361D23C89164BDA __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ___93A63E90605400F34B49F0EB3361D23C89164BDA_55; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::94841DD2F330CCB1089BF413E4FA9B04505152E2 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___94841DD2F330CCB1089BF413E4FA9B04505152E2_56; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 <PrivateImplementationDetails>::95264589E48F94B7857CFF398FB72A537E13EEE2 __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ___95264589E48F94B7857CFF398FB72A537E13EEE2_57; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::95C48758CAE1715783472FB073AB158AB8A0AB2A __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___95C48758CAE1715783472FB073AB158AB8A0AB2A_58; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::973417296623D8DC6961B09664E54039E44CA5D8 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___973417296623D8DC6961B09664E54039E44CA5D8_59; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::A0074C15377C0C870B055927403EA9FA7A349D12 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___A0074C15377C0C870B055927403EA9FA7A349D12_60; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D130 <PrivateImplementationDetails>::A1319B706116AB2C6D44483F60A7D0ACEA543396 __StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F ___A1319B706116AB2C6D44483F60A7D0ACEA543396_61; // System.Int64 <PrivateImplementationDetails>::A13AA52274D951A18029131A8DDECF76B569A15D int64_t ___A13AA52274D951A18029131A8DDECF76B569A15D_62; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D212 <PrivateImplementationDetails>::A5444763673307F6828C748D4B9708CFC02B0959 __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF ___A5444763673307F6828C748D4B9708CFC02B0959_63; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::A6732F8E7FC23766AB329B492D6BF82E3B33233F __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___A6732F8E7FC23766AB329B492D6BF82E3B33233F_64; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D174 <PrivateImplementationDetails>::A705A106D95282BD15E13EEA6B0AF583FF786D83 __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F ___A705A106D95282BD15E13EEA6B0AF583FF786D83_65; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D1018 <PrivateImplementationDetails>::A8A491E4CED49AE0027560476C10D933CE70C8DF __StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4 ___A8A491E4CED49AE0027560476C10D933CE70C8DF_66; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::AC791C4F39504D1184B73478943D0636258DA7B1 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___AC791C4F39504D1184B73478943D0636258DA7B1_67; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D52 <PrivateImplementationDetails>::AFCD4E1211233E99373A3367B23105A3D624B1F2 __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A ___AFCD4E1211233E99373A3367B23105A3D624B1F2_68; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::B472ED77CB3B2A66D49D179F1EE2081B70A6AB61 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D256 <PrivateImplementationDetails>::B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF __StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F ___B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D998 <PrivateImplementationDetails>::B881DA88BE0B68D8A6B6B6893822586B8B2CFC45 __StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C ___B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D162 <PrivateImplementationDetails>::B8864ACB9DD69E3D42151513C840AAE270BF21C8 __StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA ___B8864ACB9DD69E3D42151513C840AAE270BF21C8_72; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D360 <PrivateImplementationDetails>::B8F87834C3597B2EEF22BA6D3A392CC925636401 __StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7 ___B8F87834C3597B2EEF22BA6D3A392CC925636401_73; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::B9B670F134A59FB1107AF01A9FE8F8E3980B3093 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::BEBC9ECC660A13EFC359BA3383411F698CFF25DB __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D6 <PrivateImplementationDetails>::BF5EB60806ECB74EE484105DD9D6F463BF994867 __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 ___BF5EB60806ECB74EE484105DD9D6F463BF994867_77; // System.Int64 <PrivateImplementationDetails>::C1A1100642BA9685B30A84D97348484E14AA1865 int64_t ___C1A1100642BA9685B30A84D97348484E14AA1865_78; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D16 <PrivateImplementationDetails>::C6F364A0AD934EFED8909446C215752E565D77C1 __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 ___C6F364A0AD934EFED8909446C215752E565D77C1_79; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D174 <PrivateImplementationDetails>::CE5835130F5277F63D716FC9115526B0AC68FFAD __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F ___CE5835130F5277F63D716FC9115526B0AC68FFAD_80; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D6 <PrivateImplementationDetails>::CE93C35B755802BC4B3D180716B048FC61701EF7 __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 ___CE93C35B755802BC4B3D180716B048FC61701EF7_81; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D32 <PrivateImplementationDetails>::D117188BE8D4609C0D531C51B0BB911A4219DEBE __StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472 ___D117188BE8D4609C0D531C51B0BB911A4219DEBE_82; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D44 <PrivateImplementationDetails>::D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636 __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F ___D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D76 <PrivateImplementationDetails>::DA19DB47B583EFCF7825D2E39D661D2354F28219 __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB ___DA19DB47B583EFCF7825D2E39D661D2354F28219_84; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D52 <PrivateImplementationDetails>::DD3AEFEADB1CD615F3017763F1568179FEE640B0 __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A ___DD3AEFEADB1CD615F3017763F1568179FEE640B0_85; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D36 <PrivateImplementationDetails>::E1827270A5FE1C85F5352A66FD87BA747213D006 __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 ___E1827270A5FE1C85F5352A66FD87BA747213D006_86; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::E45BAB43F7D5D038672B3E3431F92E34A7AF2571 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D52 <PrivateImplementationDetails>::E92B39D8233061927D9ACDE54665E68E7535635A __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A ___E92B39D8233061927D9ACDE54665E68E7535635A_88; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 <PrivateImplementationDetails>::EA9506959484C55CFE0C139C624DF6060E285866 __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ___EA9506959484C55CFE0C139C624DF6060E285866_89; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D262 <PrivateImplementationDetails>::EB5E9A80A40096AB74D2E226650C7258D7BC5E9D __StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7 ___EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D64 <PrivateImplementationDetails>::EBF68F411848D603D059DFDEA2321C5A5EA78044 __StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6 ___EBF68F411848D603D059DFDEA2321C5A5EA78044_91; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::EC89C317EA2BF49A70EFF5E89C691E34733D7C37 __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D40 <PrivateImplementationDetails>::F06E829E62F3AFBC045D064E10A4F5DF7C969612 __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ___F06E829E62F3AFBC045D064E10A4F5DF7C969612_93; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D11614 <PrivateImplementationDetails>::F073AA332018FDA0D572E99448FFF1D6422BD520 __StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5 ___F073AA332018FDA0D572E99448FFF1D6422BD520_94; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D120 <PrivateImplementationDetails>::F34B0E10653402E8F788F8BC3F7CD7090928A429 __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 ___F34B0E10653402E8F788F8BC3F7CD7090928A429_95; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D72 <PrivateImplementationDetails>::F37E34BEADB04F34FCC31078A59F49856CA83D5B __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ___F37E34BEADB04F34FCC31078A59F49856CA83D5B_96; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D94 <PrivateImplementationDetails>::F512A9ABF88066AAEB92684F95CC05D8101B462B __StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6 ___F512A9ABF88066AAEB92684F95CC05D8101B462B_97; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D12 <PrivateImplementationDetails>::F8FAABB821300AA500C2CEC6091B3782A7FB44A4 __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ___F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98; // <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D2350 <PrivateImplementationDetails>::FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B __StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D ___FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99; public: inline static int32_t get_offset_of_U30588059ACBD52F7EA2835882F977A9CF72EB9775_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___0588059ACBD52F7EA2835882F977A9CF72EB9775_0)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U30588059ACBD52F7EA2835882F977A9CF72EB9775_0() const { return ___0588059ACBD52F7EA2835882F977A9CF72EB9775_0; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U30588059ACBD52F7EA2835882F977A9CF72EB9775_0() { return &___0588059ACBD52F7EA2835882F977A9CF72EB9775_0; } inline void set_U30588059ACBD52F7EA2835882F977A9CF72EB9775_0(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___0588059ACBD52F7EA2835882F977A9CF72EB9775_0 = value; } inline static int32_t get_offset_of_U30A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___0A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1)); } inline __StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A get_U30A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1() const { return ___0A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1; } inline __StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A * get_address_of_U30A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1() { return &___0A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1; } inline void set_U30A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1(__StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A value) { ___0A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1 = value; } inline static int32_t get_offset_of_U3121EC59E23F7559B28D338D562528F6299C2DE22_2() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___121EC59E23F7559B28D338D562528F6299C2DE22_2)); } inline __StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8 get_U3121EC59E23F7559B28D338D562528F6299C2DE22_2() const { return ___121EC59E23F7559B28D338D562528F6299C2DE22_2; } inline __StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8 * get_address_of_U3121EC59E23F7559B28D338D562528F6299C2DE22_2() { return &___121EC59E23F7559B28D338D562528F6299C2DE22_2; } inline void set_U3121EC59E23F7559B28D338D562528F6299C2DE22_2(__StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8 value) { ___121EC59E23F7559B28D338D562528F6299C2DE22_2 = value; } inline static int32_t get_offset_of_U31730F09044E91DB8371B849EFF5E6D17BDE4AED0_3() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___1730F09044E91DB8371B849EFF5E6D17BDE4AED0_3)); } inline __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 get_U31730F09044E91DB8371B849EFF5E6D17BDE4AED0_3() const { return ___1730F09044E91DB8371B849EFF5E6D17BDE4AED0_3; } inline __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 * get_address_of_U31730F09044E91DB8371B849EFF5E6D17BDE4AED0_3() { return &___1730F09044E91DB8371B849EFF5E6D17BDE4AED0_3; } inline void set_U31730F09044E91DB8371B849EFF5E6D17BDE4AED0_3(__StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 value) { ___1730F09044E91DB8371B849EFF5E6D17BDE4AED0_3 = value; } inline static int32_t get_offset_of_U31FE6CE411858B3D864679DE2139FB081F08BFACD_4() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___1FE6CE411858B3D864679DE2139FB081F08BFACD_4)); } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 get_U31FE6CE411858B3D864679DE2139FB081F08BFACD_4() const { return ___1FE6CE411858B3D864679DE2139FB081F08BFACD_4; } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 * get_address_of_U31FE6CE411858B3D864679DE2139FB081F08BFACD_4() { return &___1FE6CE411858B3D864679DE2139FB081F08BFACD_4; } inline void set_U31FE6CE411858B3D864679DE2139FB081F08BFACD_4(__StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 value) { ___1FE6CE411858B3D864679DE2139FB081F08BFACD_4 = value; } inline static int32_t get_offset_of_U325420D0055076FA8D3E4DD96BC53AE24DE6E619F_5() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___25420D0055076FA8D3E4DD96BC53AE24DE6E619F_5)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U325420D0055076FA8D3E4DD96BC53AE24DE6E619F_5() const { return ___25420D0055076FA8D3E4DD96BC53AE24DE6E619F_5; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U325420D0055076FA8D3E4DD96BC53AE24DE6E619F_5() { return &___25420D0055076FA8D3E4DD96BC53AE24DE6E619F_5; } inline void set_U325420D0055076FA8D3E4DD96BC53AE24DE6E619F_5(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___25420D0055076FA8D3E4DD96BC53AE24DE6E619F_5 = value; } inline static int32_t get_offset_of_U325CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___25CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6)); } inline __StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD get_U325CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6() const { return ___25CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6; } inline __StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD * get_address_of_U325CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6() { return &___25CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6; } inline void set_U325CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6(__StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD value) { ___25CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6 = value; } inline static int32_t get_offset_of_U329C1A61550F0E3260E1953D4FAD71C256218EF40_7() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___29C1A61550F0E3260E1953D4FAD71C256218EF40_7)); } inline __StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4 get_U329C1A61550F0E3260E1953D4FAD71C256218EF40_7() const { return ___29C1A61550F0E3260E1953D4FAD71C256218EF40_7; } inline __StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4 * get_address_of_U329C1A61550F0E3260E1953D4FAD71C256218EF40_7() { return &___29C1A61550F0E3260E1953D4FAD71C256218EF40_7; } inline void set_U329C1A61550F0E3260E1953D4FAD71C256218EF40_7(__StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4 value) { ___29C1A61550F0E3260E1953D4FAD71C256218EF40_7 = value; } inline static int32_t get_offset_of_U32B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___2B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8)); } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 get_U32B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8() const { return ___2B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8; } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 * get_address_of_U32B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8() { return &___2B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8; } inline void set_U32B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 value) { ___2B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8 = value; } inline static int32_t get_offset_of_U32BA840FF6020B8FF623DBCB7188248CF853FAF4F_9() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___2BA840FF6020B8FF623DBCB7188248CF853FAF4F_9)); } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 get_U32BA840FF6020B8FF623DBCB7188248CF853FAF4F_9() const { return ___2BA840FF6020B8FF623DBCB7188248CF853FAF4F_9; } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 * get_address_of_U32BA840FF6020B8FF623DBCB7188248CF853FAF4F_9() { return &___2BA840FF6020B8FF623DBCB7188248CF853FAF4F_9; } inline void set_U32BA840FF6020B8FF623DBCB7188248CF853FAF4F_9(__StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 value) { ___2BA840FF6020B8FF623DBCB7188248CF853FAF4F_9 = value; } inline static int32_t get_offset_of_U32C840AFA48C27B9C05593E468C1232CA1CC74AFD_10() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___2C840AFA48C27B9C05593E468C1232CA1CC74AFD_10)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U32C840AFA48C27B9C05593E468C1232CA1CC74AFD_10() const { return ___2C840AFA48C27B9C05593E468C1232CA1CC74AFD_10; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U32C840AFA48C27B9C05593E468C1232CA1CC74AFD_10() { return &___2C840AFA48C27B9C05593E468C1232CA1CC74AFD_10; } inline void set_U32C840AFA48C27B9C05593E468C1232CA1CC74AFD_10(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___2C840AFA48C27B9C05593E468C1232CA1CC74AFD_10 = value; } inline static int32_t get_offset_of_U32D1DA5BB407F0C11C3B5116196C0C6374D932B20_11() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___2D1DA5BB407F0C11C3B5116196C0C6374D932B20_11)); } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 get_U32D1DA5BB407F0C11C3B5116196C0C6374D932B20_11() const { return ___2D1DA5BB407F0C11C3B5116196C0C6374D932B20_11; } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 * get_address_of_U32D1DA5BB407F0C11C3B5116196C0C6374D932B20_11() { return &___2D1DA5BB407F0C11C3B5116196C0C6374D932B20_11; } inline void set_U32D1DA5BB407F0C11C3B5116196C0C6374D932B20_11(__StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 value) { ___2D1DA5BB407F0C11C3B5116196C0C6374D932B20_11 = value; } inline static int32_t get_offset_of_U32F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___2F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U32F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12() const { return ___2F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U32F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12() { return &___2F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12; } inline void set_U32F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___2F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12 = value; } inline static int32_t get_offset_of_U334476C29F6F81C989CFCA42F7C06E84C66236834_13() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___34476C29F6F81C989CFCA42F7C06E84C66236834_13)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U334476C29F6F81C989CFCA42F7C06E84C66236834_13() const { return ___34476C29F6F81C989CFCA42F7C06E84C66236834_13; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U334476C29F6F81C989CFCA42F7C06E84C66236834_13() { return &___34476C29F6F81C989CFCA42F7C06E84C66236834_13; } inline void set_U334476C29F6F81C989CFCA42F7C06E84C66236834_13(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___34476C29F6F81C989CFCA42F7C06E84C66236834_13 = value; } inline static int32_t get_offset_of_U335EED060772F2748D13B745DAEC8CD7BD3B87604_14() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___35EED060772F2748D13B745DAEC8CD7BD3B87604_14)); } inline __StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA get_U335EED060772F2748D13B745DAEC8CD7BD3B87604_14() const { return ___35EED060772F2748D13B745DAEC8CD7BD3B87604_14; } inline __StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA * get_address_of_U335EED060772F2748D13B745DAEC8CD7BD3B87604_14() { return &___35EED060772F2748D13B745DAEC8CD7BD3B87604_14; } inline void set_U335EED060772F2748D13B745DAEC8CD7BD3B87604_14(__StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA value) { ___35EED060772F2748D13B745DAEC8CD7BD3B87604_14 = value; } inline static int32_t get_offset_of_U3375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15)); } inline __StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D get_U3375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15() const { return ___375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15; } inline __StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D * get_address_of_U3375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15() { return &___375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15; } inline void set_U3375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15(__StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D value) { ___375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15 = value; } inline static int32_t get_offset_of_U3379C06C9E702D31469C29033F0DD63931EB349F5_16() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___379C06C9E702D31469C29033F0DD63931EB349F5_16)); } inline __StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4 get_U3379C06C9E702D31469C29033F0DD63931EB349F5_16() const { return ___379C06C9E702D31469C29033F0DD63931EB349F5_16; } inline __StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4 * get_address_of_U3379C06C9E702D31469C29033F0DD63931EB349F5_16() { return &___379C06C9E702D31469C29033F0DD63931EB349F5_16; } inline void set_U3379C06C9E702D31469C29033F0DD63931EB349F5_16(__StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4 value) { ___379C06C9E702D31469C29033F0DD63931EB349F5_16 = value; } inline static int32_t get_offset_of_U3399BD13E240F33F808CA7940293D6EC4E6FD5A00_17() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___399BD13E240F33F808CA7940293D6EC4E6FD5A00_17)); } inline __StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C get_U3399BD13E240F33F808CA7940293D6EC4E6FD5A00_17() const { return ___399BD13E240F33F808CA7940293D6EC4E6FD5A00_17; } inline __StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C * get_address_of_U3399BD13E240F33F808CA7940293D6EC4E6FD5A00_17() { return &___399BD13E240F33F808CA7940293D6EC4E6FD5A00_17; } inline void set_U3399BD13E240F33F808CA7940293D6EC4E6FD5A00_17(__StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C value) { ___399BD13E240F33F808CA7940293D6EC4E6FD5A00_17 = value; } inline static int32_t get_offset_of_U339C9CE73C7B0619D409EF28344F687C1B5C130FE_18() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___39C9CE73C7B0619D409EF28344F687C1B5C130FE_18)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U339C9CE73C7B0619D409EF28344F687C1B5C130FE_18() const { return ___39C9CE73C7B0619D409EF28344F687C1B5C130FE_18; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U339C9CE73C7B0619D409EF28344F687C1B5C130FE_18() { return &___39C9CE73C7B0619D409EF28344F687C1B5C130FE_18; } inline void set_U339C9CE73C7B0619D409EF28344F687C1B5C130FE_18(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___39C9CE73C7B0619D409EF28344F687C1B5C130FE_18 = value; } inline static int32_t get_offset_of_U33C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___3C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19)); } inline __StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49 get_U33C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19() const { return ___3C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19; } inline __StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49 * get_address_of_U33C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19() { return &___3C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19; } inline void set_U33C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19(__StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49 value) { ___3C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19 = value; } inline static int32_t get_offset_of_U33E823444D2DFECF0F90B436B88F02A533CB376F1_20() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___3E823444D2DFECF0F90B436B88F02A533CB376F1_20)); } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 get_U33E823444D2DFECF0F90B436B88F02A533CB376F1_20() const { return ___3E823444D2DFECF0F90B436B88F02A533CB376F1_20; } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 * get_address_of_U33E823444D2DFECF0F90B436B88F02A533CB376F1_20() { return &___3E823444D2DFECF0F90B436B88F02A533CB376F1_20; } inline void set_U33E823444D2DFECF0F90B436B88F02A533CB376F1_20(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 value) { ___3E823444D2DFECF0F90B436B88F02A533CB376F1_20 = value; } inline static int32_t get_offset_of_U33FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___3FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U33FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21() const { return ___3FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U33FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21() { return &___3FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21; } inline void set_U33FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___3FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21 = value; } inline static int32_t get_offset_of_U340981BAA39513E58B28DCF0103CC04DE2A0A0444_22() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___40981BAA39513E58B28DCF0103CC04DE2A0A0444_22)); } inline __StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20 get_U340981BAA39513E58B28DCF0103CC04DE2A0A0444_22() const { return ___40981BAA39513E58B28DCF0103CC04DE2A0A0444_22; } inline __StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20 * get_address_of_U340981BAA39513E58B28DCF0103CC04DE2A0A0444_22() { return &___40981BAA39513E58B28DCF0103CC04DE2A0A0444_22; } inline void set_U340981BAA39513E58B28DCF0103CC04DE2A0A0444_22(__StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20 value) { ___40981BAA39513E58B28DCF0103CC04DE2A0A0444_22 = value; } inline static int32_t get_offset_of_U340E7C49413D261F3F38AD3A870C0AC69C8BDA048_23() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___40E7C49413D261F3F38AD3A870C0AC69C8BDA048_23)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U340E7C49413D261F3F38AD3A870C0AC69C8BDA048_23() const { return ___40E7C49413D261F3F38AD3A870C0AC69C8BDA048_23; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U340E7C49413D261F3F38AD3A870C0AC69C8BDA048_23() { return &___40E7C49413D261F3F38AD3A870C0AC69C8BDA048_23; } inline void set_U340E7C49413D261F3F38AD3A870C0AC69C8BDA048_23(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___40E7C49413D261F3F38AD3A870C0AC69C8BDA048_23 = value; } inline static int32_t get_offset_of_U3421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U3421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24() const { return ___421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U3421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24() { return &___421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24; } inline void set_U3421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24 = value; } inline static int32_t get_offset_of_U34858DB4AA76D3933F1CA9E6712D4FDB16903F628_25() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___4858DB4AA76D3933F1CA9E6712D4FDB16903F628_25)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U34858DB4AA76D3933F1CA9E6712D4FDB16903F628_25() const { return ___4858DB4AA76D3933F1CA9E6712D4FDB16903F628_25; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U34858DB4AA76D3933F1CA9E6712D4FDB16903F628_25() { return &___4858DB4AA76D3933F1CA9E6712D4FDB16903F628_25; } inline void set_U34858DB4AA76D3933F1CA9E6712D4FDB16903F628_25(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___4858DB4AA76D3933F1CA9E6712D4FDB16903F628_25 = value; } inline static int32_t get_offset_of_U34F7A8890F332B22B8DE0BD29D36FA7364748D76A_26() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___4F7A8890F332B22B8DE0BD29D36FA7364748D76A_26)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U34F7A8890F332B22B8DE0BD29D36FA7364748D76A_26() const { return ___4F7A8890F332B22B8DE0BD29D36FA7364748D76A_26; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U34F7A8890F332B22B8DE0BD29D36FA7364748D76A_26() { return &___4F7A8890F332B22B8DE0BD29D36FA7364748D76A_26; } inline void set_U34F7A8890F332B22B8DE0BD29D36FA7364748D76A_26(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___4F7A8890F332B22B8DE0BD29D36FA7364748D76A_26 = value; } inline static int32_t get_offset_of_U3536422B321459B242ADED7240B7447E904E083E3_27() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___536422B321459B242ADED7240B7447E904E083E3_27)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U3536422B321459B242ADED7240B7447E904E083E3_27() const { return ___536422B321459B242ADED7240B7447E904E083E3_27; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U3536422B321459B242ADED7240B7447E904E083E3_27() { return &___536422B321459B242ADED7240B7447E904E083E3_27; } inline void set_U3536422B321459B242ADED7240B7447E904E083E3_27(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___536422B321459B242ADED7240B7447E904E083E3_27 = value; } inline static int32_t get_offset_of_U35382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___5382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28)); } inline __StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84 get_U35382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28() const { return ___5382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28; } inline __StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84 * get_address_of_U35382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28() { return &___5382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28; } inline void set_U35382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28(__StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84 value) { ___5382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28 = value; } inline static int32_t get_offset_of_U357218C316B6921E2CD61027A2387EDC31A2D9471_29() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___57218C316B6921E2CD61027A2387EDC31A2D9471_29)); } inline __StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E get_U357218C316B6921E2CD61027A2387EDC31A2D9471_29() const { return ___57218C316B6921E2CD61027A2387EDC31A2D9471_29; } inline __StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E * get_address_of_U357218C316B6921E2CD61027A2387EDC31A2D9471_29() { return &___57218C316B6921E2CD61027A2387EDC31A2D9471_29; } inline void set_U357218C316B6921E2CD61027A2387EDC31A2D9471_29(__StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E value) { ___57218C316B6921E2CD61027A2387EDC31A2D9471_29 = value; } inline static int32_t get_offset_of_U357F320D62696EC99727E0FE2045A05F1289CC0C6_30() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___57F320D62696EC99727E0FE2045A05F1289CC0C6_30)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U357F320D62696EC99727E0FE2045A05F1289CC0C6_30() const { return ___57F320D62696EC99727E0FE2045A05F1289CC0C6_30; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U357F320D62696EC99727E0FE2045A05F1289CC0C6_30() { return &___57F320D62696EC99727E0FE2045A05F1289CC0C6_30; } inline void set_U357F320D62696EC99727E0FE2045A05F1289CC0C6_30(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___57F320D62696EC99727E0FE2045A05F1289CC0C6_30 = value; } inline static int32_t get_offset_of_U3594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31)); } inline __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF get_U3594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31() const { return ___594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31; } inline __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF * get_address_of_U3594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31() { return &___594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31; } inline void set_U3594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31(__StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF value) { ___594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31 = value; } inline static int32_t get_offset_of_U35BBDF8058D4235C33F2E8DCF76004031B6187A2F_32() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___5BBDF8058D4235C33F2E8DCF76004031B6187A2F_32)); } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 get_U35BBDF8058D4235C33F2E8DCF76004031B6187A2F_32() const { return ___5BBDF8058D4235C33F2E8DCF76004031B6187A2F_32; } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 * get_address_of_U35BBDF8058D4235C33F2E8DCF76004031B6187A2F_32() { return &___5BBDF8058D4235C33F2E8DCF76004031B6187A2F_32; } inline void set_U35BBDF8058D4235C33F2E8DCF76004031B6187A2F_32(__StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 value) { ___5BBDF8058D4235C33F2E8DCF76004031B6187A2F_32 = value; } inline static int32_t get_offset_of_U35BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___5BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33)); } inline __StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55 get_U35BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33() const { return ___5BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33; } inline __StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55 * get_address_of_U35BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33() { return &___5BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33; } inline void set_U35BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33(__StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55 value) { ___5BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33 = value; } inline static int32_t get_offset_of_U35BFE2819B4778217C56416C7585FF0E56EBACD89_34() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___5BFE2819B4778217C56416C7585FF0E56EBACD89_34)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U35BFE2819B4778217C56416C7585FF0E56EBACD89_34() const { return ___5BFE2819B4778217C56416C7585FF0E56EBACD89_34; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U35BFE2819B4778217C56416C7585FF0E56EBACD89_34() { return &___5BFE2819B4778217C56416C7585FF0E56EBACD89_34; } inline void set_U35BFE2819B4778217C56416C7585FF0E56EBACD89_34(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___5BFE2819B4778217C56416C7585FF0E56EBACD89_34 = value; } inline static int32_t get_offset_of_U3609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35)); } inline __StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1 get_U3609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35() const { return ___609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35; } inline __StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1 * get_address_of_U3609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35() { return &___609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35; } inline void set_U3609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35(__StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1 value) { ___609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35 = value; } inline static int32_t get_offset_of_U365E32B4E150FD8D24B93B0D42A17F1DAD146162B_36() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___65E32B4E150FD8D24B93B0D42A17F1DAD146162B_36)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U365E32B4E150FD8D24B93B0D42A17F1DAD146162B_36() const { return ___65E32B4E150FD8D24B93B0D42A17F1DAD146162B_36; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U365E32B4E150FD8D24B93B0D42A17F1DAD146162B_36() { return &___65E32B4E150FD8D24B93B0D42A17F1DAD146162B_36; } inline void set_U365E32B4E150FD8D24B93B0D42A17F1DAD146162B_36(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___65E32B4E150FD8D24B93B0D42A17F1DAD146162B_36 = value; } inline static int32_t get_offset_of_U36770974FEF1E98B9C1864370E2B5B786EB0EA39E_37() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___6770974FEF1E98B9C1864370E2B5B786EB0EA39E_37)); } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A get_U36770974FEF1E98B9C1864370E2B5B786EB0EA39E_37() const { return ___6770974FEF1E98B9C1864370E2B5B786EB0EA39E_37; } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A * get_address_of_U36770974FEF1E98B9C1864370E2B5B786EB0EA39E_37() { return &___6770974FEF1E98B9C1864370E2B5B786EB0EA39E_37; } inline void set_U36770974FEF1E98B9C1864370E2B5B786EB0EA39E_37(__StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A value) { ___6770974FEF1E98B9C1864370E2B5B786EB0EA39E_37 = value; } inline static int32_t get_offset_of_U367EEAD805D708D9AA4E14BF747E44CED801744F3_38() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___67EEAD805D708D9AA4E14BF747E44CED801744F3_38)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U367EEAD805D708D9AA4E14BF747E44CED801744F3_38() const { return ___67EEAD805D708D9AA4E14BF747E44CED801744F3_38; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U367EEAD805D708D9AA4E14BF747E44CED801744F3_38() { return &___67EEAD805D708D9AA4E14BF747E44CED801744F3_38; } inline void set_U367EEAD805D708D9AA4E14BF747E44CED801744F3_38(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___67EEAD805D708D9AA4E14BF747E44CED801744F3_38 = value; } inline static int32_t get_offset_of_U36C71197D228427B2864C69B357FEF73D8C9D59DF_39() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___6C71197D228427B2864C69B357FEF73D8C9D59DF_39)); } inline __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 get_U36C71197D228427B2864C69B357FEF73D8C9D59DF_39() const { return ___6C71197D228427B2864C69B357FEF73D8C9D59DF_39; } inline __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 * get_address_of_U36C71197D228427B2864C69B357FEF73D8C9D59DF_39() { return &___6C71197D228427B2864C69B357FEF73D8C9D59DF_39; } inline void set_U36C71197D228427B2864C69B357FEF73D8C9D59DF_39(__StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 value) { ___6C71197D228427B2864C69B357FEF73D8C9D59DF_39 = value; } inline static int32_t get_offset_of_U36FC754859E4EC74E447048364B216D825C6F8FE7_40() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___6FC754859E4EC74E447048364B216D825C6F8FE7_40)); } inline __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB get_U36FC754859E4EC74E447048364B216D825C6F8FE7_40() const { return ___6FC754859E4EC74E447048364B216D825C6F8FE7_40; } inline __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB * get_address_of_U36FC754859E4EC74E447048364B216D825C6F8FE7_40() { return &___6FC754859E4EC74E447048364B216D825C6F8FE7_40; } inline void set_U36FC754859E4EC74E447048364B216D825C6F8FE7_40(__StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB value) { ___6FC754859E4EC74E447048364B216D825C6F8FE7_40 = value; } inline static int32_t get_offset_of_U3704939CD172085D1295FCE3F1D92431D685D7AA2_41() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___704939CD172085D1295FCE3F1D92431D685D7AA2_41)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U3704939CD172085D1295FCE3F1D92431D685D7AA2_41() const { return ___704939CD172085D1295FCE3F1D92431D685D7AA2_41; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U3704939CD172085D1295FCE3F1D92431D685D7AA2_41() { return &___704939CD172085D1295FCE3F1D92431D685D7AA2_41; } inline void set_U3704939CD172085D1295FCE3F1D92431D685D7AA2_41(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___704939CD172085D1295FCE3F1D92431D685D7AA2_41 = value; } inline static int32_t get_offset_of_U37088AAE49F0627B72729078DE6E3182DDCF8ED99_42() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___7088AAE49F0627B72729078DE6E3182DDCF8ED99_42)); } inline __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 get_U37088AAE49F0627B72729078DE6E3182DDCF8ED99_42() const { return ___7088AAE49F0627B72729078DE6E3182DDCF8ED99_42; } inline __StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 * get_address_of_U37088AAE49F0627B72729078DE6E3182DDCF8ED99_42() { return &___7088AAE49F0627B72729078DE6E3182DDCF8ED99_42; } inline void set_U37088AAE49F0627B72729078DE6E3182DDCF8ED99_42(__StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 value) { ___7088AAE49F0627B72729078DE6E3182DDCF8ED99_42 = value; } inline static int32_t get_offset_of_U37341C933A70EAE383CC50C4B945ADB8E08F06737_43() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___7341C933A70EAE383CC50C4B945ADB8E08F06737_43)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U37341C933A70EAE383CC50C4B945ADB8E08F06737_43() const { return ___7341C933A70EAE383CC50C4B945ADB8E08F06737_43; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U37341C933A70EAE383CC50C4B945ADB8E08F06737_43() { return &___7341C933A70EAE383CC50C4B945ADB8E08F06737_43; } inline void set_U37341C933A70EAE383CC50C4B945ADB8E08F06737_43(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___7341C933A70EAE383CC50C4B945ADB8E08F06737_43 = value; } inline static int32_t get_offset_of_U37FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___7FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U37FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44() const { return ___7FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U37FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44() { return &___7FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44; } inline void set_U37FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___7FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44 = value; } inline static int32_t get_offset_of_U3811A927B7DADD378BE60BBDE794B9277AA9B50EC_45() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___811A927B7DADD378BE60BBDE794B9277AA9B50EC_45)); } inline __StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462 get_U3811A927B7DADD378BE60BBDE794B9277AA9B50EC_45() const { return ___811A927B7DADD378BE60BBDE794B9277AA9B50EC_45; } inline __StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462 * get_address_of_U3811A927B7DADD378BE60BBDE794B9277AA9B50EC_45() { return &___811A927B7DADD378BE60BBDE794B9277AA9B50EC_45; } inline void set_U3811A927B7DADD378BE60BBDE794B9277AA9B50EC_45(__StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462 value) { ___811A927B7DADD378BE60BBDE794B9277AA9B50EC_45 = value; } inline static int32_t get_offset_of_U381917F1E21F3C22B9F916994547A614FB03E968E_46() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___81917F1E21F3C22B9F916994547A614FB03E968E_46)); } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 get_U381917F1E21F3C22B9F916994547A614FB03E968E_46() const { return ___81917F1E21F3C22B9F916994547A614FB03E968E_46; } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 * get_address_of_U381917F1E21F3C22B9F916994547A614FB03E968E_46() { return &___81917F1E21F3C22B9F916994547A614FB03E968E_46; } inline void set_U381917F1E21F3C22B9F916994547A614FB03E968E_46(__StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 value) { ___81917F1E21F3C22B9F916994547A614FB03E968E_46 = value; } inline static int32_t get_offset_of_U3823566DA642D6EA356E15585921F2A4CA23D6760_47() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___823566DA642D6EA356E15585921F2A4CA23D6760_47)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U3823566DA642D6EA356E15585921F2A4CA23D6760_47() const { return ___823566DA642D6EA356E15585921F2A4CA23D6760_47; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U3823566DA642D6EA356E15585921F2A4CA23D6760_47() { return &___823566DA642D6EA356E15585921F2A4CA23D6760_47; } inline void set_U3823566DA642D6EA356E15585921F2A4CA23D6760_47(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___823566DA642D6EA356E15585921F2A4CA23D6760_47 = value; } inline static int32_t get_offset_of_U382C2A59850B2E85BCE1A45A479537A384DF6098D_48() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___82C2A59850B2E85BCE1A45A479537A384DF6098D_48)); } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 get_U382C2A59850B2E85BCE1A45A479537A384DF6098D_48() const { return ___82C2A59850B2E85BCE1A45A479537A384DF6098D_48; } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 * get_address_of_U382C2A59850B2E85BCE1A45A479537A384DF6098D_48() { return &___82C2A59850B2E85BCE1A45A479537A384DF6098D_48; } inline void set_U382C2A59850B2E85BCE1A45A479537A384DF6098D_48(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 value) { ___82C2A59850B2E85BCE1A45A479537A384DF6098D_48 = value; } inline static int32_t get_offset_of_U382C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___82C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49)); } inline __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F get_U382C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49() const { return ___82C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49; } inline __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F * get_address_of_U382C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49() { return &___82C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49; } inline void set_U382C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49(__StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F value) { ___82C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49 = value; } inline static int32_t get_offset_of_U3871B9CF85DB352BAADF12BAE8F19857683E385AC_50() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___871B9CF85DB352BAADF12BAE8F19857683E385AC_50)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U3871B9CF85DB352BAADF12BAE8F19857683E385AC_50() const { return ___871B9CF85DB352BAADF12BAE8F19857683E385AC_50; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U3871B9CF85DB352BAADF12BAE8F19857683E385AC_50() { return &___871B9CF85DB352BAADF12BAE8F19857683E385AC_50; } inline void set_U3871B9CF85DB352BAADF12BAE8F19857683E385AC_50(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___871B9CF85DB352BAADF12BAE8F19857683E385AC_50 = value; } inline static int32_t get_offset_of_U389A040451C8CC5C8FB268BE44BDD74964C104155_51() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___89A040451C8CC5C8FB268BE44BDD74964C104155_51)); } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 get_U389A040451C8CC5C8FB268BE44BDD74964C104155_51() const { return ___89A040451C8CC5C8FB268BE44BDD74964C104155_51; } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 * get_address_of_U389A040451C8CC5C8FB268BE44BDD74964C104155_51() { return &___89A040451C8CC5C8FB268BE44BDD74964C104155_51; } inline void set_U389A040451C8CC5C8FB268BE44BDD74964C104155_51(__StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 value) { ___89A040451C8CC5C8FB268BE44BDD74964C104155_51 = value; } inline static int32_t get_offset_of_U38CAA092E783257106251246FF5C97F88D28517A6_52() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___8CAA092E783257106251246FF5C97F88D28517A6_52)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U38CAA092E783257106251246FF5C97F88D28517A6_52() const { return ___8CAA092E783257106251246FF5C97F88D28517A6_52; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U38CAA092E783257106251246FF5C97F88D28517A6_52() { return &___8CAA092E783257106251246FF5C97F88D28517A6_52; } inline void set_U38CAA092E783257106251246FF5C97F88D28517A6_52(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___8CAA092E783257106251246FF5C97F88D28517A6_52 = value; } inline static int32_t get_offset_of_U38D231DD55FE1AD7631BBD0905A17D5EB616C2154_53() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___8D231DD55FE1AD7631BBD0905A17D5EB616C2154_53)); } inline __StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA get_U38D231DD55FE1AD7631BBD0905A17D5EB616C2154_53() const { return ___8D231DD55FE1AD7631BBD0905A17D5EB616C2154_53; } inline __StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA * get_address_of_U38D231DD55FE1AD7631BBD0905A17D5EB616C2154_53() { return &___8D231DD55FE1AD7631BBD0905A17D5EB616C2154_53; } inline void set_U38D231DD55FE1AD7631BBD0905A17D5EB616C2154_53(__StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA value) { ___8D231DD55FE1AD7631BBD0905A17D5EB616C2154_53 = value; } inline static int32_t get_offset_of_U38E10AC2F34545DFBBF3FCBC06055D797A8C99991_54() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___8E10AC2F34545DFBBF3FCBC06055D797A8C99991_54)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_U38E10AC2F34545DFBBF3FCBC06055D797A8C99991_54() const { return ___8E10AC2F34545DFBBF3FCBC06055D797A8C99991_54; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_U38E10AC2F34545DFBBF3FCBC06055D797A8C99991_54() { return &___8E10AC2F34545DFBBF3FCBC06055D797A8C99991_54; } inline void set_U38E10AC2F34545DFBBF3FCBC06055D797A8C99991_54(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___8E10AC2F34545DFBBF3FCBC06055D797A8C99991_54 = value; } inline static int32_t get_offset_of_U393A63E90605400F34B49F0EB3361D23C89164BDA_55() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___93A63E90605400F34B49F0EB3361D23C89164BDA_55)); } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 get_U393A63E90605400F34B49F0EB3361D23C89164BDA_55() const { return ___93A63E90605400F34B49F0EB3361D23C89164BDA_55; } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 * get_address_of_U393A63E90605400F34B49F0EB3361D23C89164BDA_55() { return &___93A63E90605400F34B49F0EB3361D23C89164BDA_55; } inline void set_U393A63E90605400F34B49F0EB3361D23C89164BDA_55(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 value) { ___93A63E90605400F34B49F0EB3361D23C89164BDA_55 = value; } inline static int32_t get_offset_of_U394841DD2F330CCB1089BF413E4FA9B04505152E2_56() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___94841DD2F330CCB1089BF413E4FA9B04505152E2_56)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U394841DD2F330CCB1089BF413E4FA9B04505152E2_56() const { return ___94841DD2F330CCB1089BF413E4FA9B04505152E2_56; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U394841DD2F330CCB1089BF413E4FA9B04505152E2_56() { return &___94841DD2F330CCB1089BF413E4FA9B04505152E2_56; } inline void set_U394841DD2F330CCB1089BF413E4FA9B04505152E2_56(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___94841DD2F330CCB1089BF413E4FA9B04505152E2_56 = value; } inline static int32_t get_offset_of_U395264589E48F94B7857CFF398FB72A537E13EEE2_57() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___95264589E48F94B7857CFF398FB72A537E13EEE2_57)); } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 get_U395264589E48F94B7857CFF398FB72A537E13EEE2_57() const { return ___95264589E48F94B7857CFF398FB72A537E13EEE2_57; } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 * get_address_of_U395264589E48F94B7857CFF398FB72A537E13EEE2_57() { return &___95264589E48F94B7857CFF398FB72A537E13EEE2_57; } inline void set_U395264589E48F94B7857CFF398FB72A537E13EEE2_57(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 value) { ___95264589E48F94B7857CFF398FB72A537E13EEE2_57 = value; } inline static int32_t get_offset_of_U395C48758CAE1715783472FB073AB158AB8A0AB2A_58() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___95C48758CAE1715783472FB073AB158AB8A0AB2A_58)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U395C48758CAE1715783472FB073AB158AB8A0AB2A_58() const { return ___95C48758CAE1715783472FB073AB158AB8A0AB2A_58; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U395C48758CAE1715783472FB073AB158AB8A0AB2A_58() { return &___95C48758CAE1715783472FB073AB158AB8A0AB2A_58; } inline void set_U395C48758CAE1715783472FB073AB158AB8A0AB2A_58(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___95C48758CAE1715783472FB073AB158AB8A0AB2A_58 = value; } inline static int32_t get_offset_of_U3973417296623D8DC6961B09664E54039E44CA5D8_59() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___973417296623D8DC6961B09664E54039E44CA5D8_59)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_U3973417296623D8DC6961B09664E54039E44CA5D8_59() const { return ___973417296623D8DC6961B09664E54039E44CA5D8_59; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_U3973417296623D8DC6961B09664E54039E44CA5D8_59() { return &___973417296623D8DC6961B09664E54039E44CA5D8_59; } inline void set_U3973417296623D8DC6961B09664E54039E44CA5D8_59(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___973417296623D8DC6961B09664E54039E44CA5D8_59 = value; } inline static int32_t get_offset_of_A0074C15377C0C870B055927403EA9FA7A349D12_60() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___A0074C15377C0C870B055927403EA9FA7A349D12_60)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_A0074C15377C0C870B055927403EA9FA7A349D12_60() const { return ___A0074C15377C0C870B055927403EA9FA7A349D12_60; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_A0074C15377C0C870B055927403EA9FA7A349D12_60() { return &___A0074C15377C0C870B055927403EA9FA7A349D12_60; } inline void set_A0074C15377C0C870B055927403EA9FA7A349D12_60(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___A0074C15377C0C870B055927403EA9FA7A349D12_60 = value; } inline static int32_t get_offset_of_A1319B706116AB2C6D44483F60A7D0ACEA543396_61() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___A1319B706116AB2C6D44483F60A7D0ACEA543396_61)); } inline __StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F get_A1319B706116AB2C6D44483F60A7D0ACEA543396_61() const { return ___A1319B706116AB2C6D44483F60A7D0ACEA543396_61; } inline __StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F * get_address_of_A1319B706116AB2C6D44483F60A7D0ACEA543396_61() { return &___A1319B706116AB2C6D44483F60A7D0ACEA543396_61; } inline void set_A1319B706116AB2C6D44483F60A7D0ACEA543396_61(__StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F value) { ___A1319B706116AB2C6D44483F60A7D0ACEA543396_61 = value; } inline static int32_t get_offset_of_A13AA52274D951A18029131A8DDECF76B569A15D_62() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___A13AA52274D951A18029131A8DDECF76B569A15D_62)); } inline int64_t get_A13AA52274D951A18029131A8DDECF76B569A15D_62() const { return ___A13AA52274D951A18029131A8DDECF76B569A15D_62; } inline int64_t* get_address_of_A13AA52274D951A18029131A8DDECF76B569A15D_62() { return &___A13AA52274D951A18029131A8DDECF76B569A15D_62; } inline void set_A13AA52274D951A18029131A8DDECF76B569A15D_62(int64_t value) { ___A13AA52274D951A18029131A8DDECF76B569A15D_62 = value; } inline static int32_t get_offset_of_A5444763673307F6828C748D4B9708CFC02B0959_63() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___A5444763673307F6828C748D4B9708CFC02B0959_63)); } inline __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF get_A5444763673307F6828C748D4B9708CFC02B0959_63() const { return ___A5444763673307F6828C748D4B9708CFC02B0959_63; } inline __StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF * get_address_of_A5444763673307F6828C748D4B9708CFC02B0959_63() { return &___A5444763673307F6828C748D4B9708CFC02B0959_63; } inline void set_A5444763673307F6828C748D4B9708CFC02B0959_63(__StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF value) { ___A5444763673307F6828C748D4B9708CFC02B0959_63 = value; } inline static int32_t get_offset_of_A6732F8E7FC23766AB329B492D6BF82E3B33233F_64() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___A6732F8E7FC23766AB329B492D6BF82E3B33233F_64)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_A6732F8E7FC23766AB329B492D6BF82E3B33233F_64() const { return ___A6732F8E7FC23766AB329B492D6BF82E3B33233F_64; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_A6732F8E7FC23766AB329B492D6BF82E3B33233F_64() { return &___A6732F8E7FC23766AB329B492D6BF82E3B33233F_64; } inline void set_A6732F8E7FC23766AB329B492D6BF82E3B33233F_64(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___A6732F8E7FC23766AB329B492D6BF82E3B33233F_64 = value; } inline static int32_t get_offset_of_A705A106D95282BD15E13EEA6B0AF583FF786D83_65() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___A705A106D95282BD15E13EEA6B0AF583FF786D83_65)); } inline __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F get_A705A106D95282BD15E13EEA6B0AF583FF786D83_65() const { return ___A705A106D95282BD15E13EEA6B0AF583FF786D83_65; } inline __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F * get_address_of_A705A106D95282BD15E13EEA6B0AF583FF786D83_65() { return &___A705A106D95282BD15E13EEA6B0AF583FF786D83_65; } inline void set_A705A106D95282BD15E13EEA6B0AF583FF786D83_65(__StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F value) { ___A705A106D95282BD15E13EEA6B0AF583FF786D83_65 = value; } inline static int32_t get_offset_of_A8A491E4CED49AE0027560476C10D933CE70C8DF_66() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___A8A491E4CED49AE0027560476C10D933CE70C8DF_66)); } inline __StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4 get_A8A491E4CED49AE0027560476C10D933CE70C8DF_66() const { return ___A8A491E4CED49AE0027560476C10D933CE70C8DF_66; } inline __StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4 * get_address_of_A8A491E4CED49AE0027560476C10D933CE70C8DF_66() { return &___A8A491E4CED49AE0027560476C10D933CE70C8DF_66; } inline void set_A8A491E4CED49AE0027560476C10D933CE70C8DF_66(__StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4 value) { ___A8A491E4CED49AE0027560476C10D933CE70C8DF_66 = value; } inline static int32_t get_offset_of_AC791C4F39504D1184B73478943D0636258DA7B1_67() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___AC791C4F39504D1184B73478943D0636258DA7B1_67)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_AC791C4F39504D1184B73478943D0636258DA7B1_67() const { return ___AC791C4F39504D1184B73478943D0636258DA7B1_67; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_AC791C4F39504D1184B73478943D0636258DA7B1_67() { return &___AC791C4F39504D1184B73478943D0636258DA7B1_67; } inline void set_AC791C4F39504D1184B73478943D0636258DA7B1_67(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___AC791C4F39504D1184B73478943D0636258DA7B1_67 = value; } inline static int32_t get_offset_of_AFCD4E1211233E99373A3367B23105A3D624B1F2_68() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___AFCD4E1211233E99373A3367B23105A3D624B1F2_68)); } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A get_AFCD4E1211233E99373A3367B23105A3D624B1F2_68() const { return ___AFCD4E1211233E99373A3367B23105A3D624B1F2_68; } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A * get_address_of_AFCD4E1211233E99373A3367B23105A3D624B1F2_68() { return &___AFCD4E1211233E99373A3367B23105A3D624B1F2_68; } inline void set_AFCD4E1211233E99373A3367B23105A3D624B1F2_68(__StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A value) { ___AFCD4E1211233E99373A3367B23105A3D624B1F2_68 = value; } inline static int32_t get_offset_of_B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69() const { return ___B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69() { return &___B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69; } inline void set_B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69 = value; } inline static int32_t get_offset_of_B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70)); } inline __StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F get_B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70() const { return ___B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70; } inline __StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F * get_address_of_B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70() { return &___B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70; } inline void set_B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70(__StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F value) { ___B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70 = value; } inline static int32_t get_offset_of_B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71)); } inline __StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C get_B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71() const { return ___B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71; } inline __StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C * get_address_of_B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71() { return &___B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71; } inline void set_B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71(__StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C value) { ___B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71 = value; } inline static int32_t get_offset_of_B8864ACB9DD69E3D42151513C840AAE270BF21C8_72() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___B8864ACB9DD69E3D42151513C840AAE270BF21C8_72)); } inline __StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA get_B8864ACB9DD69E3D42151513C840AAE270BF21C8_72() const { return ___B8864ACB9DD69E3D42151513C840AAE270BF21C8_72; } inline __StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA * get_address_of_B8864ACB9DD69E3D42151513C840AAE270BF21C8_72() { return &___B8864ACB9DD69E3D42151513C840AAE270BF21C8_72; } inline void set_B8864ACB9DD69E3D42151513C840AAE270BF21C8_72(__StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA value) { ___B8864ACB9DD69E3D42151513C840AAE270BF21C8_72 = value; } inline static int32_t get_offset_of_B8F87834C3597B2EEF22BA6D3A392CC925636401_73() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___B8F87834C3597B2EEF22BA6D3A392CC925636401_73)); } inline __StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7 get_B8F87834C3597B2EEF22BA6D3A392CC925636401_73() const { return ___B8F87834C3597B2EEF22BA6D3A392CC925636401_73; } inline __StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7 * get_address_of_B8F87834C3597B2EEF22BA6D3A392CC925636401_73() { return &___B8F87834C3597B2EEF22BA6D3A392CC925636401_73; } inline void set_B8F87834C3597B2EEF22BA6D3A392CC925636401_73(__StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7 value) { ___B8F87834C3597B2EEF22BA6D3A392CC925636401_73 = value; } inline static int32_t get_offset_of_B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74() const { return ___B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74() { return &___B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74; } inline void set_B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74 = value; } inline static int32_t get_offset_of_BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75() const { return ___BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75() { return &___BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75; } inline void set_BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75 = value; } inline static int32_t get_offset_of_BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76() const { return ___BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76() { return &___BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76; } inline void set_BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76 = value; } inline static int32_t get_offset_of_BF5EB60806ECB74EE484105DD9D6F463BF994867_77() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___BF5EB60806ECB74EE484105DD9D6F463BF994867_77)); } inline __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 get_BF5EB60806ECB74EE484105DD9D6F463BF994867_77() const { return ___BF5EB60806ECB74EE484105DD9D6F463BF994867_77; } inline __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 * get_address_of_BF5EB60806ECB74EE484105DD9D6F463BF994867_77() { return &___BF5EB60806ECB74EE484105DD9D6F463BF994867_77; } inline void set_BF5EB60806ECB74EE484105DD9D6F463BF994867_77(__StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 value) { ___BF5EB60806ECB74EE484105DD9D6F463BF994867_77 = value; } inline static int32_t get_offset_of_C1A1100642BA9685B30A84D97348484E14AA1865_78() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___C1A1100642BA9685B30A84D97348484E14AA1865_78)); } inline int64_t get_C1A1100642BA9685B30A84D97348484E14AA1865_78() const { return ___C1A1100642BA9685B30A84D97348484E14AA1865_78; } inline int64_t* get_address_of_C1A1100642BA9685B30A84D97348484E14AA1865_78() { return &___C1A1100642BA9685B30A84D97348484E14AA1865_78; } inline void set_C1A1100642BA9685B30A84D97348484E14AA1865_78(int64_t value) { ___C1A1100642BA9685B30A84D97348484E14AA1865_78 = value; } inline static int32_t get_offset_of_C6F364A0AD934EFED8909446C215752E565D77C1_79() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___C6F364A0AD934EFED8909446C215752E565D77C1_79)); } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 get_C6F364A0AD934EFED8909446C215752E565D77C1_79() const { return ___C6F364A0AD934EFED8909446C215752E565D77C1_79; } inline __StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 * get_address_of_C6F364A0AD934EFED8909446C215752E565D77C1_79() { return &___C6F364A0AD934EFED8909446C215752E565D77C1_79; } inline void set_C6F364A0AD934EFED8909446C215752E565D77C1_79(__StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 value) { ___C6F364A0AD934EFED8909446C215752E565D77C1_79 = value; } inline static int32_t get_offset_of_CE5835130F5277F63D716FC9115526B0AC68FFAD_80() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___CE5835130F5277F63D716FC9115526B0AC68FFAD_80)); } inline __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F get_CE5835130F5277F63D716FC9115526B0AC68FFAD_80() const { return ___CE5835130F5277F63D716FC9115526B0AC68FFAD_80; } inline __StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F * get_address_of_CE5835130F5277F63D716FC9115526B0AC68FFAD_80() { return &___CE5835130F5277F63D716FC9115526B0AC68FFAD_80; } inline void set_CE5835130F5277F63D716FC9115526B0AC68FFAD_80(__StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F value) { ___CE5835130F5277F63D716FC9115526B0AC68FFAD_80 = value; } inline static int32_t get_offset_of_CE93C35B755802BC4B3D180716B048FC61701EF7_81() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___CE93C35B755802BC4B3D180716B048FC61701EF7_81)); } inline __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 get_CE93C35B755802BC4B3D180716B048FC61701EF7_81() const { return ___CE93C35B755802BC4B3D180716B048FC61701EF7_81; } inline __StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 * get_address_of_CE93C35B755802BC4B3D180716B048FC61701EF7_81() { return &___CE93C35B755802BC4B3D180716B048FC61701EF7_81; } inline void set_CE93C35B755802BC4B3D180716B048FC61701EF7_81(__StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 value) { ___CE93C35B755802BC4B3D180716B048FC61701EF7_81 = value; } inline static int32_t get_offset_of_D117188BE8D4609C0D531C51B0BB911A4219DEBE_82() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___D117188BE8D4609C0D531C51B0BB911A4219DEBE_82)); } inline __StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472 get_D117188BE8D4609C0D531C51B0BB911A4219DEBE_82() const { return ___D117188BE8D4609C0D531C51B0BB911A4219DEBE_82; } inline __StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472 * get_address_of_D117188BE8D4609C0D531C51B0BB911A4219DEBE_82() { return &___D117188BE8D4609C0D531C51B0BB911A4219DEBE_82; } inline void set_D117188BE8D4609C0D531C51B0BB911A4219DEBE_82(__StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472 value) { ___D117188BE8D4609C0D531C51B0BB911A4219DEBE_82 = value; } inline static int32_t get_offset_of_D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83)); } inline __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F get_D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83() const { return ___D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83; } inline __StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F * get_address_of_D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83() { return &___D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83; } inline void set_D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83(__StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F value) { ___D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83 = value; } inline static int32_t get_offset_of_DA19DB47B583EFCF7825D2E39D661D2354F28219_84() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___DA19DB47B583EFCF7825D2E39D661D2354F28219_84)); } inline __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB get_DA19DB47B583EFCF7825D2E39D661D2354F28219_84() const { return ___DA19DB47B583EFCF7825D2E39D661D2354F28219_84; } inline __StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB * get_address_of_DA19DB47B583EFCF7825D2E39D661D2354F28219_84() { return &___DA19DB47B583EFCF7825D2E39D661D2354F28219_84; } inline void set_DA19DB47B583EFCF7825D2E39D661D2354F28219_84(__StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB value) { ___DA19DB47B583EFCF7825D2E39D661D2354F28219_84 = value; } inline static int32_t get_offset_of_DD3AEFEADB1CD615F3017763F1568179FEE640B0_85() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___DD3AEFEADB1CD615F3017763F1568179FEE640B0_85)); } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A get_DD3AEFEADB1CD615F3017763F1568179FEE640B0_85() const { return ___DD3AEFEADB1CD615F3017763F1568179FEE640B0_85; } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A * get_address_of_DD3AEFEADB1CD615F3017763F1568179FEE640B0_85() { return &___DD3AEFEADB1CD615F3017763F1568179FEE640B0_85; } inline void set_DD3AEFEADB1CD615F3017763F1568179FEE640B0_85(__StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A value) { ___DD3AEFEADB1CD615F3017763F1568179FEE640B0_85 = value; } inline static int32_t get_offset_of_E1827270A5FE1C85F5352A66FD87BA747213D006_86() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___E1827270A5FE1C85F5352A66FD87BA747213D006_86)); } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 get_E1827270A5FE1C85F5352A66FD87BA747213D006_86() const { return ___E1827270A5FE1C85F5352A66FD87BA747213D006_86; } inline __StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 * get_address_of_E1827270A5FE1C85F5352A66FD87BA747213D006_86() { return &___E1827270A5FE1C85F5352A66FD87BA747213D006_86; } inline void set_E1827270A5FE1C85F5352A66FD87BA747213D006_86(__StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 value) { ___E1827270A5FE1C85F5352A66FD87BA747213D006_86 = value; } inline static int32_t get_offset_of_E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87() const { return ___E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87() { return &___E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87; } inline void set_E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87 = value; } inline static int32_t get_offset_of_E92B39D8233061927D9ACDE54665E68E7535635A_88() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___E92B39D8233061927D9ACDE54665E68E7535635A_88)); } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A get_E92B39D8233061927D9ACDE54665E68E7535635A_88() const { return ___E92B39D8233061927D9ACDE54665E68E7535635A_88; } inline __StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A * get_address_of_E92B39D8233061927D9ACDE54665E68E7535635A_88() { return &___E92B39D8233061927D9ACDE54665E68E7535635A_88; } inline void set_E92B39D8233061927D9ACDE54665E68E7535635A_88(__StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A value) { ___E92B39D8233061927D9ACDE54665E68E7535635A_88 = value; } inline static int32_t get_offset_of_EA9506959484C55CFE0C139C624DF6060E285866_89() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___EA9506959484C55CFE0C139C624DF6060E285866_89)); } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 get_EA9506959484C55CFE0C139C624DF6060E285866_89() const { return ___EA9506959484C55CFE0C139C624DF6060E285866_89; } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 * get_address_of_EA9506959484C55CFE0C139C624DF6060E285866_89() { return &___EA9506959484C55CFE0C139C624DF6060E285866_89; } inline void set_EA9506959484C55CFE0C139C624DF6060E285866_89(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 value) { ___EA9506959484C55CFE0C139C624DF6060E285866_89 = value; } inline static int32_t get_offset_of_EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90)); } inline __StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7 get_EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90() const { return ___EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90; } inline __StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7 * get_address_of_EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90() { return &___EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90; } inline void set_EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90(__StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7 value) { ___EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90 = value; } inline static int32_t get_offset_of_EBF68F411848D603D059DFDEA2321C5A5EA78044_91() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___EBF68F411848D603D059DFDEA2321C5A5EA78044_91)); } inline __StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6 get_EBF68F411848D603D059DFDEA2321C5A5EA78044_91() const { return ___EBF68F411848D603D059DFDEA2321C5A5EA78044_91; } inline __StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6 * get_address_of_EBF68F411848D603D059DFDEA2321C5A5EA78044_91() { return &___EBF68F411848D603D059DFDEA2321C5A5EA78044_91; } inline void set_EBF68F411848D603D059DFDEA2321C5A5EA78044_91(__StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6 value) { ___EBF68F411848D603D059DFDEA2321C5A5EA78044_91 = value; } inline static int32_t get_offset_of_EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92() const { return ___EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92() { return &___EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92; } inline void set_EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92 = value; } inline static int32_t get_offset_of_F06E829E62F3AFBC045D064E10A4F5DF7C969612_93() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___F06E829E62F3AFBC045D064E10A4F5DF7C969612_93)); } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 get_F06E829E62F3AFBC045D064E10A4F5DF7C969612_93() const { return ___F06E829E62F3AFBC045D064E10A4F5DF7C969612_93; } inline __StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 * get_address_of_F06E829E62F3AFBC045D064E10A4F5DF7C969612_93() { return &___F06E829E62F3AFBC045D064E10A4F5DF7C969612_93; } inline void set_F06E829E62F3AFBC045D064E10A4F5DF7C969612_93(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 value) { ___F06E829E62F3AFBC045D064E10A4F5DF7C969612_93 = value; } inline static int32_t get_offset_of_F073AA332018FDA0D572E99448FFF1D6422BD520_94() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___F073AA332018FDA0D572E99448FFF1D6422BD520_94)); } inline __StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5 get_F073AA332018FDA0D572E99448FFF1D6422BD520_94() const { return ___F073AA332018FDA0D572E99448FFF1D6422BD520_94; } inline __StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5 * get_address_of_F073AA332018FDA0D572E99448FFF1D6422BD520_94() { return &___F073AA332018FDA0D572E99448FFF1D6422BD520_94; } inline void set_F073AA332018FDA0D572E99448FFF1D6422BD520_94(__StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5 value) { ___F073AA332018FDA0D572E99448FFF1D6422BD520_94 = value; } inline static int32_t get_offset_of_F34B0E10653402E8F788F8BC3F7CD7090928A429_95() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___F34B0E10653402E8F788F8BC3F7CD7090928A429_95)); } inline __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 get_F34B0E10653402E8F788F8BC3F7CD7090928A429_95() const { return ___F34B0E10653402E8F788F8BC3F7CD7090928A429_95; } inline __StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 * get_address_of_F34B0E10653402E8F788F8BC3F7CD7090928A429_95() { return &___F34B0E10653402E8F788F8BC3F7CD7090928A429_95; } inline void set_F34B0E10653402E8F788F8BC3F7CD7090928A429_95(__StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 value) { ___F34B0E10653402E8F788F8BC3F7CD7090928A429_95 = value; } inline static int32_t get_offset_of_F37E34BEADB04F34FCC31078A59F49856CA83D5B_96() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___F37E34BEADB04F34FCC31078A59F49856CA83D5B_96)); } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 get_F37E34BEADB04F34FCC31078A59F49856CA83D5B_96() const { return ___F37E34BEADB04F34FCC31078A59F49856CA83D5B_96; } inline __StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 * get_address_of_F37E34BEADB04F34FCC31078A59F49856CA83D5B_96() { return &___F37E34BEADB04F34FCC31078A59F49856CA83D5B_96; } inline void set_F37E34BEADB04F34FCC31078A59F49856CA83D5B_96(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 value) { ___F37E34BEADB04F34FCC31078A59F49856CA83D5B_96 = value; } inline static int32_t get_offset_of_F512A9ABF88066AAEB92684F95CC05D8101B462B_97() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___F512A9ABF88066AAEB92684F95CC05D8101B462B_97)); } inline __StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6 get_F512A9ABF88066AAEB92684F95CC05D8101B462B_97() const { return ___F512A9ABF88066AAEB92684F95CC05D8101B462B_97; } inline __StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6 * get_address_of_F512A9ABF88066AAEB92684F95CC05D8101B462B_97() { return &___F512A9ABF88066AAEB92684F95CC05D8101B462B_97; } inline void set_F512A9ABF88066AAEB92684F95CC05D8101B462B_97(__StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6 value) { ___F512A9ABF88066AAEB92684F95CC05D8101B462B_97 = value; } inline static int32_t get_offset_of_F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98)); } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 get_F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98() const { return ___F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98; } inline __StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 * get_address_of_F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98() { return &___F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98; } inline void set_F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 value) { ___F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98 = value; } inline static int32_t get_offset_of_FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields, ___FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99)); } inline __StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D get_FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99() const { return ___FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99; } inline __StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D * get_address_of_FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99() { return &___FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99; } inline void set_FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99(__StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D value) { ___FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_H #ifndef INSERTIONBEHAVIOR_TDE709AD9061AA205654E57F719D37F00F7A3E211_H #define INSERTIONBEHAVIOR_TDE709AD9061AA205654E57F719D37F00F7A3E211_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.InsertionBehavior struct InsertionBehavior_tDE709AD9061AA205654E57F719D37F00F7A3E211 { public: // System.Byte System.Collections.Generic.InsertionBehavior::value__ uint8_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(InsertionBehavior_tDE709AD9061AA205654E57F719D37F00F7A3E211, ___value___2)); } inline uint8_t get_value___2() const { return ___value___2; } inline uint8_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(uint8_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INSERTIONBEHAVIOR_TDE709AD9061AA205654E57F719D37F00F7A3E211_H #ifndef KEYNOTFOUNDEXCEPTION_TC28F8B9E114291001A5D135723673C6F292438E2_H #define KEYNOTFOUNDEXCEPTION_TC28F8B9E114291001A5D135723673C6F292438E2_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Collections.Generic.KeyNotFoundException struct KeyNotFoundException_tC28F8B9E114291001A5D135723673C6F292438E2 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // KEYNOTFOUNDEXCEPTION_TC28F8B9E114291001A5D135723673C6F292438E2_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1200 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1200[6] = { 0, 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1201 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1202 = { sizeof (CollectionExtensions_t1943508648E4A2A0FBCF65503E3BD7032F003E0A), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1203 = { sizeof (KeyValuePair_t123535D547736542503896462AF2C80E752E549F), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1204 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1204[2] = { 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1205 = { sizeof (IntrospectiveSortUtilities_t6A205C98525D6E6DD938DC26FE053A91F492BE4D), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1206 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1207 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1207[1] = { 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1208 = { sizeof (InsertionBehavior_tDE709AD9061AA205654E57F719D37F00F7A3E211)+ sizeof (RuntimeObject), sizeof(uint8_t), 0, 0 }; extern const int32_t g_FieldOffsetTable1208[4] = { InsertionBehavior_tDE709AD9061AA205654E57F719D37F00F7A3E211::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1209 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1209[14] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1210 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1210[4] = { 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1211 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1211[5] = { 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1212 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1212[1] = { 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1213 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1213[4] = { 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1214 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1214[1] = { 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1215 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1215[4] = { 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1216 = { sizeof (DictionaryHashHelpers_tA8FE399EF3E29215C09AA5F9263572B42D4D6D00), -1, sizeof(DictionaryHashHelpers_tA8FE399EF3E29215C09AA5F9263572B42D4D6D00_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable1216[1] = { DictionaryHashHelpers_tA8FE399EF3E29215C09AA5F9263572B42D4D6D00_StaticFields::get_offset_of_U3CSerializationInfoTableU3Ek__BackingField_0(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1217 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1218 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1219 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1220 = { sizeof (NonRandomizedStringEqualityComparer_t92C20503D9C5060A557792ABCCC06EF2DD77E5D9), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1221 = { sizeof (ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC), -1, sizeof(ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable1221[1] = { ObjectEqualityComparer_t816C8EE8FA554ABC9D1BDD052A3F3F919983FDCC_StaticFields::get_offset_of_Default_0(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1222 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1222[1] = { 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1223 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1224 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1225 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1226 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1227 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1227[1] = { 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1228 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1229 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1230 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1231 = { sizeof (ByteEqualityComparer_t45A85C063C30D3CDABEAD21C8CDF353E3EE55B8B), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1232 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1233 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1234 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1235 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1236 = { sizeof (InternalStringComparer_tCD150130A3DB4C80186B5D8145B910B33496D4CD), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1237 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1238 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1239 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1240 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1241 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1242 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1243 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1244 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1245 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1246 = { 0, 0, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1247 = { sizeof (KeyNotFoundException_tC28F8B9E114291001A5D135723673C6F292438E2), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1248 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1248[6] = { 0, 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1249 = { 0, 0, 0, 0 }; extern const int32_t g_FieldOffsetTable1249[4] = { 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1250 = { sizeof (U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A), -1, sizeof(U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable1250[100] = { U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U30588059ACBD52F7EA2835882F977A9CF72EB9775_0(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U30A1ADB22C1D3E1F4B2448EE3F27DF9DE63329C4C_1(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3121EC59E23F7559B28D338D562528F6299C2DE22_2(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U31730F09044E91DB8371B849EFF5E6D17BDE4AED0_3(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U31FE6CE411858B3D864679DE2139FB081F08BFACD_4(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U325420D0055076FA8D3E4DD96BC53AE24DE6E619F_5(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U325CF935D2AE9EDF05DD75BCD47FF84D9255D6F6E_6(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U329C1A61550F0E3260E1953D4FAD71C256218EF40_7(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U32B33BEC8C30DFDC49DAFE20D3BDE19487850D717_8(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U32BA840FF6020B8FF623DBCB7188248CF853FAF4F_9(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U32C840AFA48C27B9C05593E468C1232CA1CC74AFD_10(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U32D1DA5BB407F0C11C3B5116196C0C6374D932B20_11(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U32F71D2DA12F3CD0A6A112F5A5A75B4FDC6FE8547_12(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U334476C29F6F81C989CFCA42F7C06E84C66236834_13(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U335EED060772F2748D13B745DAEC8CD7BD3B87604_14(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3375F9AE9769A3D1DA789E9ACFE81F3A1BB14F0D3_15(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3379C06C9E702D31469C29033F0DD63931EB349F5_16(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3399BD13E240F33F808CA7940293D6EC4E6FD5A00_17(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U339C9CE73C7B0619D409EF28344F687C1B5C130FE_18(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U33C53AFB51FEC23491684C7BEDBC6D4E0F409F851_19(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U33E823444D2DFECF0F90B436B88F02A533CB376F1_20(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U33FE6C283BCF384FD2C8789880DFF59664E2AB4A1_21(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U340981BAA39513E58B28DCF0103CC04DE2A0A0444_22(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U340E7C49413D261F3F38AD3A870C0AC69C8BDA048_23(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3421EC7E82F2967DF6CA8C3605514DC6F29EE5845_24(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U34858DB4AA76D3933F1CA9E6712D4FDB16903F628_25(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U34F7A8890F332B22B8DE0BD29D36FA7364748D76A_26(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3536422B321459B242ADED7240B7447E904E083E3_27(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U35382CEF491F422BFE0D6FC46EFAFF9EF9D4C89F3_28(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U357218C316B6921E2CD61027A2387EDC31A2D9471_29(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U357F320D62696EC99727E0FE2045A05F1289CC0C6_30(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3594A33A00BC4F785DFD43E3C6C44FBA1242CCAF3_31(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U35BBDF8058D4235C33F2E8DCF76004031B6187A2F_32(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U35BCD21C341BE6DDF8FFFAE1A23ABA24DCBB612BF_33(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U35BFE2819B4778217C56416C7585FF0E56EBACD89_34(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3609C0E8D8DA86A09D6013D301C86BA8782C16B8C_35(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U365E32B4E150FD8D24B93B0D42A17F1DAD146162B_36(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U36770974FEF1E98B9C1864370E2B5B786EB0EA39E_37(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U367EEAD805D708D9AA4E14BF747E44CED801744F3_38(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U36C71197D228427B2864C69B357FEF73D8C9D59DF_39(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U36FC754859E4EC74E447048364B216D825C6F8FE7_40(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3704939CD172085D1295FCE3F1D92431D685D7AA2_41(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U37088AAE49F0627B72729078DE6E3182DDCF8ED99_42(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U37341C933A70EAE383CC50C4B945ADB8E08F06737_43(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U37FE820C9CF0F0B90445A71F1D262D22E4F0C4C68_44(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3811A927B7DADD378BE60BBDE794B9277AA9B50EC_45(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U381917F1E21F3C22B9F916994547A614FB03E968E_46(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3823566DA642D6EA356E15585921F2A4CA23D6760_47(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U382C2A59850B2E85BCE1A45A479537A384DF6098D_48(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U382C383F8E6E4D3D87AEBB986A5D0077E8AD157C4_49(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3871B9CF85DB352BAADF12BAE8F19857683E385AC_50(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U389A040451C8CC5C8FB268BE44BDD74964C104155_51(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U38CAA092E783257106251246FF5C97F88D28517A6_52(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U38D231DD55FE1AD7631BBD0905A17D5EB616C2154_53(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U38E10AC2F34545DFBBF3FCBC06055D797A8C99991_54(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U393A63E90605400F34B49F0EB3361D23C89164BDA_55(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U394841DD2F330CCB1089BF413E4FA9B04505152E2_56(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U395264589E48F94B7857CFF398FB72A537E13EEE2_57(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U395C48758CAE1715783472FB073AB158AB8A0AB2A_58(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_U3973417296623D8DC6961B09664E54039E44CA5D8_59(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_A0074C15377C0C870B055927403EA9FA7A349D12_60(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_A1319B706116AB2C6D44483F60A7D0ACEA543396_61(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_A13AA52274D951A18029131A8DDECF76B569A15D_62(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_A5444763673307F6828C748D4B9708CFC02B0959_63(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_A6732F8E7FC23766AB329B492D6BF82E3B33233F_64(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_A705A106D95282BD15E13EEA6B0AF583FF786D83_65(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_A8A491E4CED49AE0027560476C10D933CE70C8DF_66(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_AC791C4F39504D1184B73478943D0636258DA7B1_67(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_AFCD4E1211233E99373A3367B23105A3D624B1F2_68(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_B472ED77CB3B2A66D49D179F1EE2081B70A6AB61_69(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_B53A2C6DF21FC88B17AEFC40EB895B8D63210CDF_70(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_B881DA88BE0B68D8A6B6B6893822586B8B2CFC45_71(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_B8864ACB9DD69E3D42151513C840AAE270BF21C8_72(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_B8F87834C3597B2EEF22BA6D3A392CC925636401_73(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_B9B670F134A59FB1107AF01A9FE8F8E3980B3093_74(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_BEBC9ECC660A13EFC359BA3383411F698CFF25DB_75(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_BEE1CFE5DFAA408E14CE4AF4DCD824FA2E42DCB7_76(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_BF5EB60806ECB74EE484105DD9D6F463BF994867_77(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_C1A1100642BA9685B30A84D97348484E14AA1865_78(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_C6F364A0AD934EFED8909446C215752E565D77C1_79(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_CE5835130F5277F63D716FC9115526B0AC68FFAD_80(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_CE93C35B755802BC4B3D180716B048FC61701EF7_81(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_D117188BE8D4609C0D531C51B0BB911A4219DEBE_82(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_D78D08081C7A5AD6FBA7A8DC86BCD6D7A577C636_83(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_DA19DB47B583EFCF7825D2E39D661D2354F28219_84(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_DD3AEFEADB1CD615F3017763F1568179FEE640B0_85(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_E1827270A5FE1C85F5352A66FD87BA747213D006_86(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_E45BAB43F7D5D038672B3E3431F92E34A7AF2571_87(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_E92B39D8233061927D9ACDE54665E68E7535635A_88(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_EA9506959484C55CFE0C139C624DF6060E285866_89(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_EB5E9A80A40096AB74D2E226650C7258D7BC5E9D_90(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_EBF68F411848D603D059DFDEA2321C5A5EA78044_91(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_EC89C317EA2BF49A70EFF5E89C691E34733D7C37_92(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_F06E829E62F3AFBC045D064E10A4F5DF7C969612_93(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_F073AA332018FDA0D572E99448FFF1D6422BD520_94(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_F34B0E10653402E8F788F8BC3F7CD7090928A429_95(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_F37E34BEADB04F34FCC31078A59F49856CA83D5B_96(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_F512A9ABF88066AAEB92684F95CC05D8101B462B_97(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_F8FAABB821300AA500C2CEC6091B3782A7FB44A4_98(), U3CPrivateImplementationDetailsU3E_t5BA0C21499B7A4F7CBCB87805E61EF52DF22771A_StaticFields::get_offset_of_FCBD2781A933F0828ED4AAF88FD8B08D76DDD49B_99(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1251 = { sizeof (__StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D3_t651350E6AC00D0836A5D0539D0D68852BE81E08E ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1252 = { sizeof (__StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D6_tC937DCE458F6AE4186120B4DDF95463176C75C78 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1253 = { sizeof (__StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D10_t39E3D966A21885323F15EB866ABDE668EA1ED52C ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1254 = { sizeof (__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D12_tB4B4C95019D88097B57DE7B50445942256BF2879 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1255 = { sizeof (__StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D16_t35B2E1DB11C9D3150BF800DC30A2808C4F1A1341 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1256 = { sizeof (__StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D24_tAB08761D1BC4313A0535E193F4E1A1AFA8B3F123 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1257 = { sizeof (__StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D32_t06FF35439BDF1A6AAB50820787FA5D7A4FA09472 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1258 = { sizeof (__StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D36_t553C250FA8609975E44273C4AD8F28E487272E17 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1259 = { sizeof (__StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D38_tA52D24A5F9970582D6B55437967C9BD32E03F05D ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1260 = { sizeof (__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D40_t0453B23B081EF301CB1E3167001650AD0C490F04 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1261 = { sizeof (__StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D42_t3D9F6218E615F20CE7E1AE0EF6657DE732EDBFD4 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1262 = { sizeof (__StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D44_t1383A9A990CD22E4246B656157D17C8051BFAD7F ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1263 = { sizeof (__StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D52_tF7B918A088A367994FBAEB73123296D8929B543A ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1264 = { sizeof (__StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D64_tC44517F575DC9AEC7589A864FEA072030961DAF6 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1265 = { sizeof (__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D72_tF9B2DE61B68289FA0233B6E305B08B2FCD612FA1 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1266 = { sizeof (__StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D76_t83BE44A74AC13CD15474DA7726C9C92BD317CFFB ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1267 = { sizeof (__StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D84_tF52293EFB26AA1D2C169389BB83253C5BAE8076A ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1268 = { sizeof (__StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D94_t23554D8B96399688002A3BE81C7C15EFB011DEC6 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1269 = { sizeof (__StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D120_tBA46FD2E9DA153FD8457EE7F425E8ECC517EA252 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1270 = { sizeof (__StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D128_t1B13688BD6EA82B964734FF8C3181161EF5624B1 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1271 = { sizeof (__StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D130_t732A6F42953325ADC5746FF1A652A2974473AF4F ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1272 = { sizeof (__StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D162_tFFF125F871C6A7DE42BE37AC907E2E2149A861AA ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1273 = { sizeof (__StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D174_t58EBFEBC3E6F34CF7C54ED51E8113E34B876351F ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1274 = { sizeof (__StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D212_tDFB9BEA11D871D109F9E6502B2F50F7115451AAF ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1275 = { sizeof (__StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D240_t5643A77865294845ACC505FE42EA1067CAC04FD8 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1276 = { sizeof (__StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D256_t9003B1E1E8C82BC25ADE7407C58A314C292B326F ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1277 = { sizeof (__StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D262_t93124A1A3E9EDF7F1F305BD2FC57372646F3CFD7 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1278 = { sizeof (__StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D288_t7B40D7F3A8D262F90A76460FF94E92CE08AFCF55 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1279 = { sizeof (__StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D320_t48B9242FB90DB2A21A723BBAB141500A9641EB49 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1280 = { sizeof (__StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D360_tFF8371303424DEBAE608051BAA970E5AFB409DF7 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1281 = { sizeof (__StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D998_t8A5C9782706B510180A1B9C9F7E96F8F48421B8C ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1282 = { sizeof (__StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D1018_t7825BE1556EFF874DAFDC230EB69C85A48DBCBC4 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1283 = { sizeof (__StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D1080_tCE36DA14009C45CFDEA7F63618BE90F8DF89AC84 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1284 = { sizeof (__StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D1208_tC58894ECFE2C4FFD2B8FCDF958800099A737C1DD ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1285 = { sizeof (__StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D1450_t58DE69DB537BA7DFBFF2C7084FFC6970FB3BAEA4 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1286 = { sizeof (__StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D1665_tCD7752863825B82B07752CCE72A581C169E19C20 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1287 = { sizeof (__StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D2100_t75CE52CDAFC7C95EDAB5CF1AF8B2621D502F1FAA ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1288 = { sizeof (__StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D2350_t96984AEF232104302694B7EFDA3F92BC42BF207D ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1289 = { sizeof (__StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D2382_tB4AF2C49C5120B6EB285BA4D247340D8E243A1BA ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1290 = { sizeof (__StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D11614_tDF34959BE752359A89A4A577B8798D2D66A5E7F5 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1291 = { sizeof (__StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462)+ sizeof (RuntimeObject), sizeof(__StaticArrayInitTypeSizeU3D21252_tCA2B51BDF30FDECEBFCB55CC7530A0A7D6BC4462 ), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1292 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1293 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1294 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1295 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1296 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1297 = { sizeof (UnmanagedMarshal_tCF1F2DA6EAED118ED1459C8DFF35C5418259F3EE), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1298 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1299 = { 0, -1, 0, 0 }; #ifdef __clang__ #pragma clang diagnostic pop #endif
63.273935
271
0.895928
GooDtoLivE
9f8077fae1b2cdc4bd76bc6e5c667e3dce2c4053
173
cpp
C++
lib/sfml/src/SceneMenu/event/SceneMenuEventButtonPlay.cpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sfml/src/SceneMenu/event/SceneMenuEventButtonPlay.cpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sfml/src/SceneMenu/event/SceneMenuEventButtonPlay.cpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** Arcade ** File description: ** EventButtonPlay */ #include "sfml/SceneMenu.hpp" void arc::SceneMenu::eventButtonPlay() { _eventPlay(); }
13.307692
38
0.682081
Brukols
9f83961ac7b5cb4a152c19a8e10265ed4a67ecb1
6,681
hh
C++
src/ds++/Check_Strings.hh
rspavel/Draco
b279b1afbfbb39f2d521579697172394c5efd81d
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/ds++/Check_Strings.hh
rspavel/Draco
b279b1afbfbb39f2d521579697172394c5efd81d
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/ds++/Check_Strings.hh
rspavel/Draco
b279b1afbfbb39f2d521579697172394c5efd81d
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// /*! * \file ds++/Check_Strings.hh * \author John McGhee * \date Sun Jan 30 14:57:09 2000 * * \brief Provides some utilities to check containers of strings. * \note Copyright (C) 2016-2019 Triad National Security, LLC. * All rights reserved. * * Functions are provided to examine a container of strings: 1) for the * occurrence of certain characters, 2) for the length of each string outside of * high and low limits, and 3) to determine if there are any duplicate strings * in the container. Return value is a vector of iterators which point to any * strings which are selected. * * \example ds++/test/tstCheck_Strings.cc * The following code provides examples of how to use the Check_Strings * utilities. */ //---------------------------------------------------------------------------// #ifndef __ds_Check_Strings_hh__ #define __ds_Check_Strings_hh__ #include <algorithm> #include <string> #include <vector> namespace rtt_dsxx { // Private functors for internal use by string checking utilities. struct char_in_string { std::string str2; char_in_string(const std::string &s) : str2(s) {} bool operator()(const std::string &str1) const { size_t out = str1.find_first_of(str2); return out != std::string::npos; } }; struct string_length_out_of_range { size_t low; size_t high; string_length_out_of_range(const int l, const int h) : low(static_cast<size_t>(l)), high(static_cast<size_t>(h)) { /* empty */ } bool operator()(const std::string &str1) const { size_t i = str1.size(); return (i < low) || (i > high); } }; struct strings_equal { std::string str2; strings_equal(const std::string &s) : str2(s) {} bool operator()(const std::string &str1) const { return str1 == str2; } }; /*! * \brief Looks through a container of strings to see if any of the strings in * the container use any of the characters specified in the input * parameter "match_chars". * * For example, if you want to create a set of files or directories from a list * of strings, this function can be used to check for characters (like "*" for * instance) that really shouldn't be used for file or directory names. * * \param first iterator for the first string in the container to be checked. * * \param last iterator for the last string in the container to be to be checked * plus one. * * \param match_chars a string containing the characters for which to search. * i.e. - If you want to check for the presence of "*" or "^" then set * std::string match_chars = "*^". * * \return a vector of iterators for any strings which contain one or more of * the match characters. If the size of this vector is 0 no strings that * contained any of the matching characters were found. * * \sa Other string checking utilities are available in * rtt_dsxx::check_string_lengths, and rtt_dsxx::check_strings_unique. */ template <class IT> std::vector<IT> check_string_chars(IT const &first, IT const &last, std::string const &match_chars) { std::vector<IT> result_vector; if (first == last) return result_vector; IT out = std::find_if(first, last, char_in_string(match_chars)); while (out != last) { result_vector.push_back(out); ++out; out = std::find_if(out, last, char_in_string(match_chars)); } return result_vector; } //---------------------------------------------------------------------------// /*! * \brief Looks through a container of strings to see if the size of any of the * strings in the container is outside the specified range. * * For example, if you want to check a container of strings to make sure that * all lengths are in the range 1:19 inclusive, set parameter low=1, and * parameter high=19. * * \param first iterator for the first string in the container to be checked. * * \param last iterator for the last string in the container to be to be checked * plus one. * * \param low lower limit of acceptable string length. If less than zero, it is * assumed to be zero. * * \param high upper limit of acceptable string length * * \return a vector of iterators for any strings which are of length less than * low or greater than high. If the size of this vector is 0 no strings * with out-of-range lengths were found. * * \sa Other string checking utilities are available in * rtt_dsxx::check_string_chars, and rtt_dsxx::check_strings_unique. */ template <class IT> std::vector<IT> check_string_lengths(IT const &first, IT const &last, int const low, int const high) { std::vector<IT> result_vector; if (first == last) return result_vector; int lw = low; if (lw < 0) lw = 0; IT out = std::find_if(first, last, string_length_out_of_range(lw, high)); while (out != last) { result_vector.push_back(out); ++out; out = std::find_if(out, last, string_length_out_of_range(lw, high)); } return result_vector; } //---------------------------------------------------------------------------// /*! * \brief Looks through a container of strings to see if there are any * duplicates. * * If a string is duplicated more than once, it will appear in the output vector * more than once. * * \param first iterator for the first string in the container to be checked. * * \param last iterator for the last string in the container to be to be checked * plus one. * * \return a vector of iterators for any strings which are found to be * duplicated. If the size of this vector is 0 no duplicate strings * were found, that is, all the strings in the container in the range * first:last-1 are unique. * * \sa Other string checking utilities are available in * rtt_dsxx::check_string_chars, and rtt_dsxx::check_string_lengths. */ template <class IT> std::vector<IT> check_strings_unique(IT first, IT const &last) { std::vector<IT> result_vector; if (first == last) return result_vector; IT current = first; IT next = ++first; while (next != last) { IT out = std::find_if(next, last, strings_equal(*current)); if (out != last) result_vector.push_back(out); ++current; ++next; } return result_vector; } } // end namespace rtt_dsxx #endif // __ds_Check_Strings_hh__ //---------------------------------------------------------------------------// // end of ds++/Check_Strings.hh //---------------------------------------------------------------------------//
35.163158
80
0.633737
rspavel
9f84275dd080db29201511d2b7d6aa9aecf081ef
685
cpp
C++
test/shared_library_test/test_shared_class_use.cpp
kuba-kazimierczak/kaguya
0c00444139cdd55f34e0c1cc317d0d02fca5b1d0
[ "BSL-1.0" ]
336
2015-12-11T14:14:51.000Z
2022-03-27T13:36:03.000Z
test/shared_library_test/test_shared_class_use.cpp
roctomato/kaguya
38ca7e1d894c138e454bbe5c89048bdd5091545a
[ "BSL-1.0" ]
99
2016-01-21T19:44:07.000Z
2022-02-04T19:13:13.000Z
test/shared_library_test/test_shared_class_use.cpp
roctomato/kaguya
38ca7e1d894c138e454bbe5c89048bdd5091545a
[ "BSL-1.0" ]
74
2016-01-05T17:04:17.000Z
2022-03-03T05:17:30.000Z
#include "kaguya/kaguya.hpp" #include "../test_util.hpp" #include "test_shared_class.hpp" namespace { int A_fn(const A &a) { return a.data; } int B_fn(const B &) { return 22; } int DerivedB_fn(const DerivedB &) { return 33; } A create_A() { return A(1); } } #if defined(_WIN32) || defined(_WIN64) extern "C" __declspec(dllexport) #else extern "C" __attribute__((visibility("default"))) #endif int luaopen_test_shared_class_use(lua_State *L) { using namespace kaguya; State state(L); LuaTable module = state.newTable(); module["A_fn"] = &A_fn; module["create_A"] = &create_A; module["B_fn"] = &B_fn; module["DerivedB_fn"] = &DerivedB_fn; return module.push(); }
23.62069
53
0.684672
kuba-kazimierczak
9f855949ce0b732cd4e893afbd057be2abcd892f
682
cpp
C++
ROHIT KUMAR SINGH (Hacktober Contribution)/CODEFORCES Questions Solutions (CP)/A_Ilya_and_Bank_Account.cpp
Chinmay0896/Hacktoberfest-KIIT-2020
da6af815100ea74aa4f1d2e6d2a453161e10471c
[ "MIT" ]
8
2019-10-05T18:40:46.000Z
2019-10-25T16:26:41.000Z
ROHIT KUMAR SINGH (Hacktober Contribution)/CODEFORCES Questions Solutions (CP)/A_Ilya_and_Bank_Account.cpp
Chinmay0896/Hacktoberfest-KIIT-2020
da6af815100ea74aa4f1d2e6d2a453161e10471c
[ "MIT" ]
13
2020-09-30T19:27:29.000Z
2021-09-08T02:31:48.000Z
ROHIT KUMAR SINGH (Hacktober Contribution)/CODEFORCES Questions Solutions (CP)/A_Ilya_and_Bank_Account.cpp
Chinmay0896/Hacktoberfest-KIIT-2020
da6af815100ea74aa4f1d2e6d2a453161e10471c
[ "MIT" ]
84
2020-09-30T19:00:05.000Z
2021-09-30T04:17:34.000Z
#include<iostream> #include<algorithm> #include<vector> #include<string.h> #include<set> #include<cmath> #include<sstream> #define LL long long using namespace std; int main() { int n; cin>>n; if(n>=0) { cout<<n<<endl; } else { string s = to_string(n); if(s.length()>=2) { int lv = min(s.back(),s[s.length()-2]); s.pop_back(); s.pop_back(); s.push_back(lv); stringstream val(s); int x = 0; val >> x; cout<<x<<endl; } else { cout<<n<<endl; } } return 0; }
16.238095
51
0.428152
Chinmay0896
9f893a41d7edc2ba86d530380d52ecfa2782d30c
10,600
cpp
C++
system/spawn.cpp
dnartz/PvZ-Emulator
3954f36f4e0f22cee07d6a86003d3892f0938b8b
[ "BSD-2-Clause" ]
1
2022-03-29T23:49:55.000Z
2022-03-29T23:49:55.000Z
system/spawn.cpp
dnartz/PvZ-Emulator
3954f36f4e0f22cee07d6a86003d3892f0938b8b
[ "BSD-2-Clause" ]
2
2021-03-10T18:17:07.000Z
2021-05-11T13:59:22.000Z
system/spawn.cpp
dnartz/PvZ-Emulator
3954f36f4e0f22cee07d6a86003d3892f0938b8b
[ "BSD-2-Clause" ]
1
2021-10-18T18:29:47.000Z
2021-10-18T18:29:47.000Z
#include <cassert> #include <array> #include <vector> #include <algorithm> #include <utility> #include "spawn.h" #include "util.h" namespace pvz_emulator::system { using namespace pvz_emulator::object; const unsigned int spawn::MAX_WAVES = 20; const unsigned int spawn::MAX_ZOMBIES = 50; const unsigned int spawn::MAX_ZOMBIE_TYPES = 9; const unsigned int spawn::ZOMBIE_SPAWN_WEIGHT[33] = { 4000,0,4000,2000,3000, 1000,3500,2000,1000,0, 0,2000,2000,2000,1500, 1000,2000,1000,1000,1, 1000,1000,1500,1500,0, 0,4000,3000,1000,2000, 2000,2000,6000 }; const unsigned int spawn::N_LURKERS = 3; const unsigned int spawn::N_HUGEWAVE_SQUAD = 8; const unsigned int spawn::NIGHT_MAX_GRAVES = 12; spawn::spawn(object::scene& s): scene(s), data(s.spawn), zombie_factory(s), griditem_factory(s), rng(s) { reset(); } constexpr unsigned int spawn::get_spawn_weight(zombie_type type) { switch (type) { case zombie_type::zombie: return ZOMBIE_SPAWN_WEIGHT[static_cast<int>(type)] / 10; case zombie_type::conehead: return ZOMBIE_SPAWN_WEIGHT[static_cast<int>(type)] / 4; case zombie_type::giga_gargantuar: return 1000; default: return ZOMBIE_SPAWN_WEIGHT[static_cast<int>(type)]; break; } } bool spawn::can_spawn(zombie_type type) { switch (type) { case zombie_type::zombie: case zombie_type::flag: case zombie_type::conehead: case zombie_type::pole_vaulting: case zombie_type::buckethead: case zombie_type::newspaper: case zombie_type::screendoor: case zombie_type::football: case zombie_type::jack_in_the_box: case zombie_type::balloon: case zombie_type::pogo: case zombie_type::bungee: case zombie_type::ladder: case zombie_type::catapult: case zombie_type::gargantuar: case zombie_type::giga_gargantuar: return true; case zombie_type::ducky_tube: case zombie_type::snorkel: case zombie_type::dolphin_rider: return scene.type == scene_type::pool || scene.type == scene_type::fog; case zombie_type::zomboni: return scene.type != scene_type::night; case zombie_type::digger: case zombie_type::dancing: return scene.type != scene_type::moon_night && scene.type != scene_type::roof; default: return false; } } bool spawn::can_spawn(zombie_type type, unsigned wave) { if (!data.spawn_flags[static_cast<int>(type)]) { return false; } bool is_critical_wave = is_wave_9_or_19(wave); int i = static_cast<int>(type); switch (type) { case zombie_type::bungee: return is_critical_wave; case zombie_type::zomboni: case zombie_type::gargantuar: return curr_spawn_count[i] < MAX_ZOMBIES; case zombie_type::giga_gargantuar: if (is_critical_wave) { return curr_spawn_count[i] < MAX_ZOMBIES; } else { return total_spawn_count[i] < MAX_ZOMBIES; } default: return true; } } zombie_type spawn::gen_lurking_zombie_type() { static const std::array<zombie_type, 3> LURKING_TYPES = { zombie_type::zombie, zombie_type::conehead, zombie_type::buckethead, }; std::array<unsigned int, 3> weight = { ZOMBIE_SPAWN_WEIGHT[static_cast<int>(zombie_type::zombie)], data.spawn_flags[static_cast<int>(zombie_type::conehead)] ? ZOMBIE_SPAWN_WEIGHT[static_cast<int>(zombie_type::conehead)] : 0, scene.type != scene_type::night && data.spawn_flags[static_cast<int>(zombie_type::buckethead)] ? ZOMBIE_SPAWN_WEIGHT[static_cast<int>(zombie_type::buckethead)] : 0 }; return LURKING_TYPES[rng.random_weighted_sample(weight)]; } void spawn::gen_spawn_list() { memset(curr_spawn_count, 0, sizeof(curr_spawn_count)); memset(total_spawn_count, 0, sizeof(total_spawn_count)); for (int wave = 0; wave < MAX_WAVES; wave++) { unsigned int i = 0; if (is_wave_9_or_19(wave)) { for (; i < N_HUGEWAVE_SQUAD; i++) { spawn_list_append(wave, i, zombie_type::zombie); } spawn_list_append(wave, i++, zombie_type::flag); } std::vector<zombie_type> types; std::vector<unsigned int> weights; for (int t = 0; t < static_cast<int>(zombie_type::giga_gargantuar); t++) { if (!can_spawn(static_cast<zombie_type>(t), wave)) { continue; } types.push_back(static_cast<zombie_type>(t)); weights.push_back(get_spawn_weight(static_cast<zombie_type>(t))); } for (; i < MAX_ZOMBIES; i++) { spawn_list_append(wave, i, types[rng.random_weighted_sample(weights)]); } } } void spawn::gen_spawn_flags() { memset(data.spawn_flags.data(), 0, sizeof(data.spawn_flags)); data.spawn_flags[0] = true; data.spawn_flags[static_cast<int>(zombie_type::yeti)] = true; if (rng.randint(5)) { data.spawn_flags[static_cast<int>(zombie_type::conehead)] = true; } else { data.spawn_flags[static_cast<int>(zombie_type::newspaper)] = true; } std::array<unsigned int, 33> weights = { 0 }; for (int i = 0; i < weights.size(); i++) { if (!data.spawn_flags[i] && can_spawn(static_cast<zombie_type>(i))) { weights[i] = 1; } } for (int i = 0; i < MAX_ZOMBIE_TYPES; i++) { auto j = rng.random_weighted_sample(weights); data.spawn_flags[j] = true; weights[j] = 0; } } void spawn::pool_lurking_spawn() { static const std::pair<unsigned int, unsigned int> GRIDS[] = { {2, 5}, {2, 6}, {2, 7}, {2, 8}, {3, 5}, {3, 6}, {3, 7}, {3, 8} }; std::array<unsigned int, 8> weights = { 1, 1, 1, 1, 1, 1, 1, 1 }; for (int i = 0; i < N_LURKERS; i++) { auto k = rng.random_weighted_sample(weights); weights[k] = 0; zombie_factory.create_lurking( gen_lurking_zombie_type(), GRIDS[k].first, GRIDS[k].second); } } void spawn::roof_lurking_spawn() { static const std::pair<unsigned int, unsigned int> GRIDS[] = { {0, 4}, {0, 5}, {0, 6}, {0, 7}, {0, 8}, {1, 4}, {1, 5}, {1, 6}, {1, 7}, {1, 8}, {2, 4}, {2, 5}, {2, 6}, {2, 7}, {2, 8}, {3, 4}, {3, 5}, {3, 6}, {3, 7}, {3, 8}, {4, 4}, {4, 5}, {4, 6}, {4, 7}, {4, 8}, {5, 4}, {5, 5}, {5, 6}, {5, 7}, {5, 8}, }; std::vector<unsigned int> weights(25, 10000); for (int n = 0; n < N_LURKERS; n++) { auto j = rng.random_weighted_sample(weights); weights[j] = 1; zombie_factory.create_lurking( gen_lurking_zombie_type(), GRIDS[j].first, GRIDS[j].second); } } void spawn::night_lurking_spawn() { for (auto& grave : scene.griditems) { if (grave.type != griditem_type::grave || grave.countdown < 100) { continue; } zombie_factory.create_lurking( gen_lurking_zombie_type(), grave.row, grave.col); } } void spawn::lurking_squad_update() { if (data.countdown.lurking_squad == 0 || --data.countdown.lurking_squad != 0) { return; } switch (scene.type) { case scene_type::pool: case scene_type::fog: if (data.countdown.pool <= 0) { pool_lurking_spawn(); } return; case scene_type::night: night_lurking_spawn(); return; case scene_type::roof: case scene_type::moon_night: if (data.countdown.pool <= 0) { roof_lurking_spawn(); } return; default: break; } } void spawn::night_grave_spawn() { int n = 0; bool grids[5][5] = {{0}}; for (auto& item : scene.griditems) { if ((item.type == griditem_type::grave || item.type == griditem_type::crater || item.type == griditem_type::ladder) && item.col >= 4) { grids[item.row][item.col - 4] = true; } if (item.type == griditem_type::grave && ++n > NIGHT_MAX_GRAVES) { return; } } std::vector<std::pair<int, int>> targets; std::vector<unsigned int> weights; for (int row = 0; row < 5; row++) { for (int col = 4; col < 9; col++) { if (grids[row][col - 4]) { continue; } auto& s = scene.plant_map[row][col]; if (s.base || s.coffee_bean || s.content || s.pumpkin) { weights.push_back(1); } else { weights.push_back(100000); } targets.emplace_back(row, col); } } if (targets.empty()) { return; } auto& p = targets[rng.random_weighted_sample(weights)]; griditem_factory.create(griditem_type::grave, p.first, p.second); } void spawn::hugewave_warn_update() { if (data.countdown.hugewave_fade > 0 && --data.countdown.hugewave_fade == 0) { data.is_hugewave_shown = false; data.countdown.next_wave = 1; } } unsigned int spawn::get_current_hp() { unsigned int hp = 0; for (auto& z : scene.zombies) { if (z.spawn_wave != data.wave - 1 || z.is_hypno || z.has_death_status() || z.type == zombie_type::bungee || z.master_id != -1) { continue; } hp += z.hp + z.accessory_1.hp + static_cast<unsigned int>(z.accessory_2.hp * 0.2000000029802322) + (z.has_balloon ? 20 : 0); } return hp; } void spawn::next_spawn_countdown_update() { --data.countdown.next_wave; if (data.wave == MAX_WAVES) { if (data.countdown.next_wave == 0) { data.countdown.endgame = 500; for (auto& t : scene.ice_path.countdown) { t = std::min(t, 500u); } } return; } if (data.countdown.next_wave > 5 && data.countdown.next_wave_initial - data.countdown.next_wave > 400 && data.countdown.next_wave > 200 && get_current_hp() <= data.hp.threshold) { data.countdown.next_wave = 200; } if (data.countdown.next_wave == 5 && is_wave_9_or_19()) { data.is_hugewave_shown = true; data.countdown.hugewave_fade = 750; return; } if (data.countdown.next_wave != 0) { return; } if (scene.type == scene_type::night && data.wave == 19) { night_grave_spawn(); } for (int i = 0; i < 50; i++) { zombie_factory.create(data.spawn_list[data.wave][i]); } assert(scene.zombies.size() >= 50); if (data.wave == MAX_WAVES - 1) { data.countdown.lurking_squad = 200; } ++data.wave; data.hp.initial = get_current_hp(); if (data.wave == MAX_WAVES) { data.hp.threshold = 0; data.countdown.next_wave = 5500; } else if (is_wave_9_or_19()) { data.hp.threshold = 0; data.countdown.next_wave = 4500; } else { data.hp.threshold = static_cast<unsigned int>( rng.randfloat(0.5, 0.64999998) * data.hp.initial); data.countdown.next_wave = rng.randint(600) + 2500; } data.countdown.next_wave_initial = data.countdown.next_wave; } void spawn::update() { lurking_squad_update(); bool skip_spawn_update = data.countdown.hugewave_fade > 0 && data.countdown.hugewave_fade != 726; hugewave_warn_update(); if (!skip_spawn_update) { next_spawn_countdown_update(); } } void spawn::reset() { data.wave = 0; data.hp = { 0 }; data.countdown.next_wave_initial = data.countdown.next_wave = 600; data.countdown.lurking_squad = data.countdown.hugewave_fade = data.countdown.endgame = 0; data.total_flags++; gen_spawn_flags(); gen_spawn_list(); } };
22.795699
82
0.659057
dnartz
9f8abd387717dbf7c832faa2f440a1c3de3e2ab3
1,965
cpp
C++
tests/gates/gates.cpp
AriJordan/tweedledum
9f98aad8cb01587854247eb755ecf4a1eec41941
[ "MIT" ]
null
null
null
tests/gates/gates.cpp
AriJordan/tweedledum
9f98aad8cb01587854247eb755ecf4a1eec41941
[ "MIT" ]
null
null
null
tests/gates/gates.cpp
AriJordan/tweedledum
9f98aad8cb01587854247eb755ecf4a1eec41941
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------------------------------- | This file is distributed under the MIT License. | See accompanying file /LICENSE for details. *------------------------------------------------------------------------------------------------*/ #include <catch.hpp> #include <tweedledum/gates/gate_base.hpp> #include <tweedledum/gates/gate_lib.hpp> #include <tweedledum/gates/io3_gate.hpp> #include <tweedledum/gates/mcmt_gate.hpp> #include <tweedledum/networks/io_id.hpp> using namespace tweedledum; TEMPLATE_TEST_CASE("Common functionality for all gate kinds", "[gates][template]", io3_gate, mcmt_gate) { io_id q0(0, true); io_id q1(1, true); io_id q2(2, true); SECTION("Create a hadamard gate") { TestType gate(gate::hadamard, q0); CHECK(gate.operation() == gate_lib::hadamard); CHECK(gate.num_controls() == 0u); CHECK(gate.num_targets() == 1u); CHECK(gate.control() == io_invalid); CHECK(gate.target() == q0); } SECTION("Create controlled gate") { TestType gate(gate::cx, q0, q1); CHECK(gate.operation() == gate_lib::cx); CHECK(gate.num_controls() == 1u); CHECK(gate.num_targets() == 1u); CHECK(gate.control() == q0); CHECK(gate.target() == q1); } SECTION("Create controlled gate using vectors") { std::vector<io_id> controls = {q0}; std::vector<io_id> targets = {q1}; TestType gate(gate::cx, controls, targets); CHECK(gate.operation() == gate_lib::cx); CHECK(gate.num_controls() == 1u); CHECK(gate.num_targets() == 1u); CHECK(gate.control() == q0); CHECK(gate.target() == q1); } SECTION("Create multiple controlled gate") { std::vector<io_id> controls = {q0, q1}; std::vector<io_id> targets = {q2}; TestType gate(gate::mcx, controls, targets); CHECK(gate.operation() == gate_lib::mcx); CHECK(gate.num_controls() == 2u); CHECK(gate.num_targets() == 1u); CHECK(gate.control() == io_invalid); CHECK(gate.target() == q2); } }
35.089286
99
0.606616
AriJordan
9f91f81c27ef6037e356d511150c7c0e27450b7e
4,200
cpp
C++
test/PidTest.cpp
nakulpatel94/AcmeAckermanControl
64abb351b6fc41362939109dd0e27ce2cbed0c60
[ "BSD-3-Clause" ]
1
2021-05-03T09:01:02.000Z
2021-05-03T09:01:02.000Z
test/PidTest.cpp
nakulpatel94/AcmeAckermanControl
64abb351b6fc41362939109dd0e27ce2cbed0c60
[ "BSD-3-Clause" ]
null
null
null
test/PidTest.cpp
nakulpatel94/AcmeAckermanControl
64abb351b6fc41362939109dd0e27ce2cbed0c60
[ "BSD-3-Clause" ]
2
2019-12-08T03:50:22.000Z
2020-03-27T13:00:43.000Z
/** * BSD 3-Clause License * * Copyright (c) 2019, Ishan Patel, Nakul Patel, Suyash Yeotikar * 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. * * 3. Neither the name of the copyright holder 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. * * @file PidTest.cpp * @date 13th October 2019 * @author Ishan Patel (driver), Navigator (Suyash Yeotikar), Design Keeper(Nakul Patel) * @brief Provides testing cases for the Pid Class. */ #include <eigen3/Eigen/Core> #include <gtest/gtest.h> #include <opencv2/opencv.hpp> #include "Pid.hpp" /** * @brief Runs and tests getter and setter of Proportional Gain * function for certain inputs and check the validity of inputs * */ TEST(SetKpTest, testSetKpValid) { Pid testObj = Pid(); Eigen::Matrix<double, 2, 3> kp1; kp1 << 1, 2, 3, 4, 5, 6; bool b1 = testObj.setKp(kp1); EXPECT_EQ(true, b1); Eigen::Matrix<double, 2, 3> kp2; kp2 << -1, 2, -3, 4, 5, 6; bool b2 = testObj.setKp(kp2); EXPECT_EQ(false, b2); } /** * @brief Runs and tests getter and setter of Integral Gain * function for certain inputs and check the validity of inputs * */ TEST(SetKiTest, testSetKiValid) { Pid testObj = Pid(); Eigen::Matrix<double, 2, 3> ki1; ki1 << 1, 2, 3, 4, 5, 6; bool b1 = testObj.setKi(ki1); EXPECT_EQ(true, b1); Eigen::Matrix<double, 2, 3> ki2; ki2 << -1, 2, -3, 4, 5, 6; bool b2 = testObj.setKi(ki2); EXPECT_EQ(false, b2); } /** * @brief Runs and tests getter and setter of Differential Gain * function for certain inputs and check the validity of inputs * */ TEST(SetKdTest, testSetKdValid) { Pid testObj = Pid(); Eigen::Matrix<double, 2, 3> kd1; kd1 << 1, 2, 3, 4, 5, 6; bool b1 = testObj.setKd(kd1); EXPECT_EQ(true, b1); Eigen::Matrix<double, 2, 3> kd2; kd2 << -1, 2, -3, 4, 5, 6; bool b2 = testObj.setKd(kd2); EXPECT_EQ(false, b2); } /** * @brief Runs and tests getControllerOutput * function for certain inputs and check the validity of outputs * */ TEST(GetControllerOutputTest, testGetControllerOutputValid) { Pid testObj = Pid(); Eigen::Matrix<double, 2, 3> kp1; kp1 << 1, 2, 3, 1, 1, 1; testObj.setKp(kp1); Eigen::Matrix<double, 2, 3> ki1; ki1 << 1, 2, 3, 1, 1, 1; testObj.setKi(ki1); Eigen::Matrix<double, 2, 3> kd1; kd1 << 1, 2, 3, 1, 1, 1; testObj.setKd(kd1); Eigen::Matrix<double, 2, 3> kp = testObj.getKp(); Eigen::Matrix<double, 2, 3> ki = testObj.getKi(); Eigen::Matrix<double, 2, 3> kd = testObj.getKd(); Eigen::Vector3d targetState; targetState << 10, 10, 45; Eigen::Vector3d actualState; actualState << 5, 5, 30; Eigen::Vector2d output = testObj.getControllerOutput(targetState, actualState); Eigen::Vector2d test(-180, -75); EXPECT_EQ(output[0], test[0]); EXPECT_EQ(output[1], test[1]); }
34.146341
88
0.689286
nakulpatel94
7a0596d2103b2067be40a96fffc072bea6d78a40
11,612
cc
C++
dust3d/data/dust3d_vertical_png.cc
huxingyi/tubetube
6a73a7e068610b58066457f5446cf1ebc3427a36
[ "MIT" ]
1
2022-03-23T23:01:39.000Z
2022-03-23T23:01:39.000Z
dust3d/data/dust3d_vertical_png.cc
huxingyi/tubetube
6a73a7e068610b58066457f5446cf1ebc3427a36
[ "MIT" ]
null
null
null
dust3d/data/dust3d_vertical_png.cc
huxingyi/tubetube
6a73a7e068610b58066457f5446cf1ebc3427a36
[ "MIT" ]
null
null
null
/* * Copyright (c) 2022 Jeremy HU <jeremy-at-dust3d dot org>. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #include <dust3d/data/dust3d_vertical_png.h> unsigned char Data::dust3d_vertical_png[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x47, 0x08, 0x06, 0x00, 0x00, 0x00, 0xf2, 0x6d, 0xec, 0xe4, 0x00, 0x00, 0x00, 0x06, 0x62, 0x4b, 0x47, 0x44, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xa0, 0xbd, 0xa7, 0x93, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00, 0x0b, 0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74, 0x49, 0x4d, 0x45, 0x07, 0xe3, 0x06, 0x0c, 0x0c, 0x38, 0x16, 0x73, 0xc3, 0x79, 0x5a, 0x00, 0x00, 0x00, 0x1d, 0x69, 0x54, 0x58, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x47, 0x49, 0x4d, 0x50, 0x64, 0x2e, 0x65, 0x07, 0x00, 0x00, 0x05, 0xd6, 0x49, 0x44, 0x41, 0x54, 0x58, 0xc3, 0xdd, 0x98, 0x5d, 0xa8, 0x54, 0x55, 0x14, 0xc7, 0x7f, 0xeb, 0xcc, 0x4c, 0xdd, 0xbc, 0xd7, 0x6b, 0x5a, 0x5a, 0x98, 0x3a, 0x69, 0x99, 0x59, 0xb7, 0x22, 0xa4, 0x7c, 0x90, 0xf6, 0xb9, 0x86, 0xf5, 0xd0, 0x27, 0x15, 0x81, 0x21, 0xf5, 0x10, 0x41, 0x3d, 0xf6, 0x50, 0xf4, 0x41, 0xf5, 0x60, 0x11, 0xd1, 0x43, 0x46, 0xf4, 0xd2, 0x17, 0x04, 0x45, 0x11, 0x0a, 0x1a, 0x65, 0x61, 0x51, 0x76, 0xb6, 0x7d, 0xa0, 0x7d, 0x61, 0x62, 0x1f, 0x98, 0xe0, 0x64, 0xd9, 0xb5, 0xbc, 0x5d, 0xbd, 0x1f, 0xe5, 0xcc, 0x9d, 0x39, 0xab, 0x87, 0xd9, 0xa7, 0x76, 0xc3, 0x7c, 0x9c, 0x33, 0x57, 0x22, 0xda, 0x30, 0x0f, 0x73, 0xf6, 0xd9, 0xfb, 0xbf, 0xf7, 0x5a, 0xeb, 0xff, 0x5f, 0xeb, 0x2c, 0xf8, 0xbf, 0x0c, 0x69, 0x35, 0x61, 0x8c, 0x91, 0x34, 0x1b, 0x58, 0x6b, 0x35, 0x33, 0xc8, 0xca, 0x30, 0x94, 0x18, 0xe6, 0xa8, 0xea, 0x0d, 0xc0, 0x69, 0x40, 0xdc, 0x62, 0x6d, 0x00, 0x8c, 0x89, 0xf0, 0x5e, 0x14, 0xd9, 0x4f, 0x53, 0x83, 0x0c, 0x86, 0xa1, 0x00, 0x4b, 0x15, 0x36, 0xab, 0xea, 0xe9, 0x29, 0xad, 0x71, 0x58, 0x44, 0xd6, 0x46, 0x51, 0xb4, 0xae, 0xd5, 0x0b, 0x39, 0xff, 0xcf, 0x82, 0x62, 0xb1, 0x47, 0x61, 0x23, 0x30, 0x90, 0xc1, 0xe4, 0x3d, 0xc0, 0xe2, 0x62, 0xb1, 0xf8, 0x7d, 0xa9, 0x54, 0xda, 0xd3, 0xea, 0xca, 0x7f, 0xff, 0x09, 0x82, 0xd9, 0xc0, 0x72, 0xef, 0x51, 0x15, 0x28, 0xb7, 0xf8, 0x4d, 0x02, 0x89, 0x3f, 0xe6, 0x03, 0xa6, 0xd5, 0x29, 0xf2, 0x9e, 0xa3, 0x83, 0x38, 0x8e, 0xcf, 0xf7, 0xe6, 0xc6, 0x81, 0x5b, 0xad, 0xb5, 0xeb, 0x9b, 0x2d, 0x0c, 0xc3, 0x70, 0x40, 0x55, 0x9f, 0x06, 0x42, 0xa0, 0x00, 0x2c, 0xa4, 0x8d, 0xf3, 0xfc, 0xe1, 0x47, 0xca, 0x44, 0x2b, 0x00, 0x00, 0x55, 0xdd, 0x0b, 0xbc, 0xd5, 0x62, 0x6d, 0x5b, 0x90, 0xac, 0xe1, 0x9f, 0x6a, 0x7d, 0xbe, 0xcd, 0x5c, 0xe0, 0xcc, 0xd8, 0xd7, 0x64, 0x2e, 0x06, 0x7a, 0x81, 0xe3, 0xa6, 0x0a, 0x32, 0xdb, 0x18, 0xa3, 0xc7, 0x82, 0xf1, 0xc1, 0xbf, 0xa1, 0x1e, 0xf9, 0x16, 0x8e, 0xaf, 0x65, 0x04, 0xc8, 0xb5, 0x5b, 0x93, 0x6f, 0x00, 0xf8, 0xc5, 0x45, 0xcc, 0x64, 0x46, 0x90, 0xe3, 0x81, 0x2f, 0x32, 0x5f, 0xf1, 0x1f, 0x72, 0x33, 0x38, 0x98, 0x8f, 0xe3, 0x38, 0xef, 0x1d, 0xa6, 0x6a, 0xad, 0xad, 0x19, 0x63, 0x02, 0xc7, 0xf8, 0x9c, 0x7b, 0x2e, 0x22, 0x52, 0x8e, 0xa2, 0xa8, 0x92, 0x09, 0x24, 0x0c, 0xc3, 0x99, 0xc0, 0x55, 0xaa, 0x7a, 0x91, 0x33, 0x49, 0x19, 0xd8, 0x16, 0xc0, 0xbb, 0x71, 0x5d, 0x1d, 0xee, 0x01, 0xe6, 0x39, 0x90, 0x31, 0x11, 0x79, 0x43, 0x55, 0x5f, 0xb4, 0xd6, 0xfe, 0x9a, 0x26, 0xba, 0x08, 0xc3, 0xb0, 0x1f, 0x78, 0x51, 0x55, 0xaf, 0x69, 0x98, 0xba, 0x53, 0xc1, 0x3a, 0x96, 0x9f, 0xd9, 0x40, 0xd2, 0x4b, 0x80, 0xa5, 0xc0, 0xad, 0x4d, 0x05, 0xb2, 0x01, 0x40, 0x80, 0x65, 0xaa, 0xfa, 0x78, 0x0b, 0x5f, 0x9e, 0x01, 0xcc, 0x72, 0x37, 0xa8, 0x25, 0xe6, 0x4a, 0x48, 0x5a, 0x2c, 0x16, 0x77, 0x97, 0x4a, 0xa5, 0x1f, 0xda, 0x86, 0xb0, 0xaa, 0x16, 0xdc, 0xa9, 0x12, 0x3f, 0x8c, 0x03, 0x07, 0x81, 0x61, 0x27, 0x9c, 0xc9, 0x18, 0x12, 0x91, 0x0d, 0xc0, 0x3b, 0xc0, 0x4f, 0xee, 0xd9, 0x42, 0xe0, 0xfc, 0x34, 0x3c, 0x09, 0x5c, 0xd2, 0x02, 0x98, 0x00, 0xee, 0xb5, 0xd6, 0x9e, 0x0a, 0x2c, 0x06, 0x3e, 0x71, 0xcf, 0xcb, 0xc0, 0xab, 0x51, 0x14, 0xdd, 0x54, 0xc8, 0xe7, 0xae, 0x04, 0x9e, 0xf7, 0x14, 0x21, 0x4e, 0x03, 0xa2, 0xde, 0x8b, 0x55, 0x11, 0x39, 0x08, 0x20, 0x42, 0x55, 0x84, 0xc8, 0xe3, 0x53, 0x19, 0xe0, 0xbd, 0xf7, 0xb7, 0xaa, 0x88, 0xec, 0xe9, 0x86, 0xf1, 0x09, 0xc1, 0x72, 0xaa, 0x7a, 0x52, 0xdd, 0x8c, 0x54, 0x54, 0xf9, 0xd9, 0x5b, 0x2f, 0x00, 0x97, 0xaf, 0x5a, 0x95, 0x47, 0x75, 0x5e, 0xb3, 0xa8, 0x6d, 0x19, 0x5d, 0x22, 0xc4, 0xc0, 0x7e, 0xd5, 0xbf, 0x36, 0xf3, 0xdf, 0x2d, 0x03, 0x15, 0xe0, 0x57, 0x67, 0x4a, 0x8e, 0x56, 0x2a, 0xd3, 0x80, 0xd9, 0x9e, 0x15, 0x6a, 0x1d, 0x41, 0x54, 0x89, 0x81, 0x6f, 0x9d, 0xc3, 0x87, 0xa4, 0xae, 0xba, 0xb8, 0xcd, 0x37, 0x39, 0x86, 0x4f, 0x02, 0x87, 0x00, 0xf2, 0x41, 0x10, 0xd7, 0xe2, 0x78, 0x44, 0xeb, 0xf3, 0xdf, 0x00, 0xdf, 0xa7, 0x22, 0xe3, 0xea, 0xeb, 0xaf, 0x2d, 0x1c, 0x38, 0x34, 0x72, 0x19, 0xf0, 0x35, 0x30, 0x22, 0x30, 0x1a, 0x79, 0x25, 0x90, 0x31, 0x26, 0x07, 0xf4, 0x03, 0x7d, 0x22, 0xf2, 0xc7, 0x64, 0xad, 0x36, 0x9c, 0x0f, 0x82, 0x79, 0xc0, 0x34, 0xe0, 0x47, 0x6b, 0xed, 0x44, 0x47, 0x32, 0x1e, 0x38, 0x34, 0x32, 0x07, 0xd8, 0xec, 0xae, 0xbe, 0x36, 0xb2, 0x76, 0x6d, 0x63, 0x3a, 0x00, 0xee, 0x03, 0xd6, 0x00, 0x6f, 0x7f, 0xfc, 0xe1, 0x87, 0x37, 0x03, 0xfb, 0x3b, 0xe6, 0x13, 0x63, 0xcc, 0x71, 0x40, 0x9f, 0x8b, 0xac, 0x19, 0x5e, 0x48, 0x9e, 0x6d, 0x8c, 0x29, 0xb8, 0xb9, 0x7a, 0xc4, 0xc1, 0x5c, 0xe0, 0x02, 0x85, 0x93, 0x54, 0x75, 0xa1, 0x31, 0x66, 0xbe, 0xb5, 0xb6, 0x3d, 0x48, 0x18, 0x86, 0x82, 0xea, 0x22, 0x85, 0xfb, 0x9d, 0xed, 0x7b, 0x3d, 0x65, 0x58, 0x06, 0x3c, 0xe5, 0x8a, 0x06, 0xe7, 0x36, 0x66, 0x02, 0xe7, 0x78, 0x91, 0x18, 0x77, 0xcc, 0x27, 0x51, 0x14, 0xe9, 0xa5, 0x2b, 0x57, 0x8e, 0x57, 0x6b, 0xb5, 0x9b, 0x1b, 0xf8, 0x12, 0x00, 0x67, 0xb9, 0x5f, 0xbb, 0x70, 0xaf, 0xa4, 0xe2, 0xc9, 0x64, 0xb5, 0x76, 0xa4, 0x8b, 0x74, 0x50, 0x06, 0xbe, 0xf4, 0x95, 0xb7, 0xad, 0x4f, 0x44, 0xa8, 0x52, 0xaf, 0x22, 0x17, 0x3b, 0x33, 0x2d, 0x4d, 0xca, 0x51, 0x60, 0x5f, 0xc3, 0xc1, 0xc4, 0x85, 0xf1, 0x07, 0xc0, 0x13, 0x5d, 0x25, 0x2d, 0x63, 0xcc, 0x09, 0xc0, 0x88, 0x23, 0xdd, 0x2b, 0xd6, 0xda, 0x7b, 0xba, 0x49, 0xfe, 0xf9, 0x14, 0xc5, 0xc1, 0xbd, 0xc0, 0x98, 0x23, 0x58, 0x02, 0x3e, 0x9d, 0xba, 0xd3, 0x0b, 0x22, 0x32, 0xae, 0xaa, 0x47, 0xac, 0xb5, 0x47, 0xbb, 0xad, 0x56, 0x7a, 0x45, 0xa4, 0x00, 0x94, 0x45, 0x64, 0xd4, 0x01, 0x9c, 0x06, 0xdc, 0x05, 0xbc, 0x04, 0xbc, 0x0e, 0x3c, 0x09, 0xac, 0x71, 0xb7, 0xce, 0x76, 0x13, 0xc7, 0xe6, 0x15, 0x49, 0xd2, 0x52, 0xd5, 0x67, 0x81, 0xdb, 0x81, 0x5b, 0x80, 0x87, 0xbc, 0xbc, 0x73, 0x2e, 0x70, 0x8d, 0x63, 0xfe, 0xba, 0xac, 0x37, 0x11, 0x20, 0x39, 0xdd, 0x88, 0x08, 0xdb, 0x8c, 0x31, 0x73, 0x80, 0xd5, 0x5e, 0x68, 0x27, 0x21, 0x3b, 0x0d, 0xb8, 0xda, 0x18, 0x33, 0xad, 0x1b, 0x73, 0xa9, 0x27, 0x98, 0x00, 0xd3, 0xbd, 0x8c, 0xb7, 0x4f, 0xe0, 0x65, 0xf8, 0x4b, 0xf6, 0xf3, 0x2e, 0x1d, 0x67, 0x06, 0x11, 0x6f, 0x83, 0x01, 0xe0, 0x8a, 0x84, 0x4e, 0xc0, 0x9b, 0xc3, 0x70, 0x1b, 0xb0, 0xcd, 0x3b, 0x90, 0x66, 0x8d, 0xae, 0x24, 0xaf, 0x27, 0x37, 0xf0, 0xc3, 0xf7, 0x30, 0xb0, 0x63, 0x56, 0x5d, 0x20, 0x13, 0xe9, 0x51, 0x11, 0x89, 0x33, 0xdd, 0xc4, 0x5a, 0x5b, 0x13, 0x91, 0x5d, 0x49, 0x7a, 0x6d, 0x18, 0xfb, 0x81, 0x2d, 0xc0, 0xc9, 0xae, 0x6a, 0x01, 0x28, 0xf7, 0xf5, 0xf4, 0x0c, 0x67, 0x36, 0x97, 0xaa, 0x0e, 0x01, 0x0f, 0x02, 0xbb, 0x81, 0x12, 0xf0, 0x03, 0xb0, 0x1d, 0x78, 0xc1, 0x49, 0x48, 0xde, 0x65, 0xc6, 0xc3, 0xc0, 0x9e, 0xcd, 0x5b, 0xb6, 0x54, 0xba, 0x2e, 0x53, 0x1d, 0x37, 0x2e, 0x04, 0x24, 0x97, 0xcb, 0x7d, 0xbe, 0x75, 0xeb, 0xd6, 0x03, 0x5e, 0x5a, 0x38, 0xcf, 0x09, 0xe7, 0x5e, 0x6b, 0xed, 0x8e, 0x6e, 0x64, 0x45, 0x5c, 0x78, 0x56, 0x93, 0x22, 0x5c, 0x55, 0x0b, 0x40, 0x5e, 0x44, 0x12, 0xbf, 0x4d, 0x26, 0x75, 0x58, 0xab, 0xc6, 0x41, 0x27, 0x59, 0xe9, 0x03, 0xee, 0xf6, 0xfd, 0xe2, 0x36, 0x6f, 0x1c, 0x05, 0x60, 0xa7, 0x13, 0xd6, 0xcc, 0x20, 0x33, 0x9c, 0x4f, 0xd2, 0x8c, 0x37, 0x5b, 0x81, 0x1c, 0xcb, 0x2f, 0xad, 0x43, 0xdd, 0xaa, 0x70, 0x19, 0xd8, 0xe5, 0xf1, 0xc5, 0xe7, 0x50, 0x2f, 0xb0, 0xc4, 0x7d, 0x9f, 0x8c, 0xfa, 0x2a, 0x9d, 0x15, 0xe4, 0x37, 0xe0, 0xea, 0x26, 0x4c, 0xae, 0x02, 0x45, 0xe0, 0x51, 0x60, 0xd0, 0xe5, 0xf6, 0xc9, 0x29, 0x7d, 0x69, 0xb5, 0x89, 0xbe, 0xdb, 0x80, 0xe7, 0xdc, 0xdf, 0x0d, 0xd6, 0xda, 0x1b, 0x33, 0xdf, 0xc4, 0xf1, 0x60, 0x45, 0x8b, 0x8f, 0xce, 0x8a, 0x08, 0xfd, 0xfa, 0xf7, 0x1d, 0x67, 0x0f, 0x86, 0xe1, 0xa9, 0x1f, 0x44, 0xd1, 0x50, 0x56, 0x73, 0xcd, 0x72, 0x25, 0xe9, 0x58, 0x13, 0x9f, 0xe4, 0x54, 0xe9, 0xf7, 0xbf, 0x80, 0xe3, 0x3a, 0x87, 0x32, 0xfb, 0x24, 0xef, 0x92, 0x51, 0x7f, 0x0a, 0xeb, 0x55, 0x5c, 0x00, 0x64, 0x06, 0x49, 0xcc, 0x34, 0xda, 0xc6, 0xa7, 0x65, 0x57, 0xc5, 0x6c, 0xb4, 0xd6, 0x1e, 0xe9, 0x06, 0x64, 0x0c, 0x78, 0xa0, 0x85, 0x12, 0x27, 0x3c, 0x1b, 0x17, 0x91, 0x8f, 0xa2, 0x28, 0xda, 0xf9, 0xdf, 0xeb, 0xa6, 0x0e, 0x86, 0xe1, 0xa2, 0x58, 0x75, 0xb9, 0x23, 0x5c, 0xbb, 0x26, 0x4e, 0x35, 0x80, 0xef, 0x4e, 0x3c, 0xa5, 0x77, 0xc7, 0xa6, 0xf5, 0x6f, 0xc7, 0xa9, 0xc8, 0x18, 0xd6, 0x55, 0x77, 0x40, 0x55, 0x1f, 0x71, 0x15, 0x48, 0xc7, 0xa1, 0xf0, 0xd5, 0x6f, 0xbf, 0x4c, 0x3c, 0x0a, 0xbc, 0x96, 0xaa, 0xd1, 0x59, 0x5c, 0xb0, 0x20, 0x8f, 0xc8, 0x33, 0x69, 0x01, 0xdc, 0x38, 0x05, 0x18, 0x28, 0x16, 0x8b, 0xdb, 0x4b, 0xa5, 0xd2, 0x81, 0x8e, 0x37, 0x91, 0x20, 0x98, 0xdb, 0xd0, 0x7d, 0x28, 0x3b, 0x4d, 0x0a, 0x9a, 0x98, 0x79, 0xa6, 0x6b, 0x77, 0x00, 0x2c, 0x02, 0xae, 0x03, 0x3e, 0x6b, 0x0b, 0x12, 0x86, 0xa1, 0xa8, 0xea, 0x12, 0x6f, 0xee, 0x77, 0xe0, 0x61, 0x11, 0x3e, 0x52, 0x6d, 0x1a, 0x85, 0xa7, 0x03, 0x77, 0x00, 0x17, 0xbb, 0x0e, 0xde, 0xc2, 0x8e, 0x3e, 0x51, 0x55, 0x69, 0x68, 0xf7, 0x8d, 0x59, 0x6b, 0x1f, 0x6b, 0x23, 0x39, 0x01, 0x30, 0xc7, 0x81, 0xb4, 0x6d, 0xa1, 0xb4, 0xeb, 0xa6, 0xa6, 0x89, 0xcc, 0x6a, 0x9a, 0xb5, 0xed, 0xc8, 0x58, 0x30, 0xc6, 0x2c, 0xf1, 0xea, 0xaa, 0xc6, 0xc3, 0x9c, 0xe0, 0x4c, 0x36, 0xa5, 0x4f, 0x87, 0xe9, 0xc0, 0x33, 0x2d, 0xcc, 0xa0, 0xee, 0xf9, 0xdc, 0xa9, 0x82, 0x14, 0x5c, 0xf7, 0xfa, 0x98, 0x77, 0x53, 0x73, 0x53, 0xd8, 0xab, 0x27, 0x6d, 0xa3, 0x73, 0x3f, 0xb0, 0xa1, 0xcb, 0x46, 0x67, 0x94, 0x4a, 0xbb, 0x5c, 0x26, 0x9c, 0x91, 0x31, 0xca, 0x92, 0x7d, 0x8e, 0x5a, 0x6b, 0xc7, 0xf8, 0x5f, 0x8f, 0x3f, 0x01, 0x55, 0xa9, 0x16, 0xfb, 0x0c, 0xc9, 0x8a, 0xbb, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 };
70.375758
83
0.650792
huxingyi
7a05e5dcef1237acfa05677a1c65d7af57710b60
861
cpp
C++
CrazyEights/Player.cpp
evrenkaya/CrazyEights
8df96540ef2fa84d7e64dffe81fc0663df6ca4de
[ "MIT" ]
null
null
null
CrazyEights/Player.cpp
evrenkaya/CrazyEights
8df96540ef2fa84d7e64dffe81fc0663df6ca4de
[ "MIT" ]
null
null
null
CrazyEights/Player.cpp
evrenkaya/CrazyEights
8df96540ef2fa84d7e64dffe81fc0663df6ca4de
[ "MIT" ]
null
null
null
#include "Player.h" #include <iostream> Player::Player(IOManager* io, std::string name) : mIOManager(io), mName(name) { } Player::~Player() { } void Player::addCard(Card* card) { mHand.addCard(card); } Card* Player::removeCard(int i) { return mHand.removeCard(i); } Card* Player::getCard(int i) const { return mHand.getCard(i); } int Player::getNumCards() const { return mHand.getNumCards(); } void Player::addScore(unsigned int points) { mScore += points; } int Player::getScore() const { return mScore; } std::string Player::getName() const { return mName; } bool Player::validCard(const Card* theCard, const Card* faceCard) { Rank rank = theCard->getRank(); Suit suit = theCard->getSuit(); return rank == faceCard->getRank() || suit == faceCard->getSuit() || rank == Rank::EIGHT; } const Deck& Player::getHand() const { return mHand; }
14.844828
90
0.681765
evrenkaya
7a0690905730aa097ffc9814d1f69a07fc13955e
333
cpp
C++
MajorityElement.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
3
2017-11-27T03:01:50.000Z
2021-03-13T08:14:00.000Z
MajorityElement.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
MajorityElement.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
class Solution { public: int majorityElement(vector<int>& nums) { int ans = -1; int cnt = 0; for (auto num : nums) { if (cnt == 0 || ans == num) { cnt++; ans = num; } else { cnt--; } } return ans; } };
20.8125
44
0.345345
yplusplus
7a09b08ac7cc890e00326d813dbfa3acd94566e7
1,675
cpp
C++
python/src/bindings.cpp
ipc-sim/ipc-toolk
81873d0288810e30166d871419da4104329860e3
[ "MIT" ]
61
2020-08-04T21:08:25.000Z
2022-02-25T02:24:31.000Z
python/src/bindings.cpp
dbelgrod/ipc-toolkit
0b7ca9b5f867db63bd68dd02ce54a9d00b0fc337
[ "MIT" ]
2
2020-10-12T05:54:40.000Z
2021-10-10T18:39:30.000Z
python/src/bindings.cpp
dbelgrod/ipc-toolkit
0b7ca9b5f867db63bd68dd02ce54a9d00b0fc337
[ "MIT" ]
7
2020-11-26T12:47:38.000Z
2022-03-25T04:55:49.000Z
#include <pybind11/pybind11.h> namespace py = pybind11; void define_barrier_functions(py::module_& m); void define_broad_phase_functions(py::module_& m); void define_collision_candidate_classes(py::module_& m); void define_collision_constraint_classes(py::module_& m); void define_distance_type_functions(py::module_& m); void define_edge_edge_mollifier_functions(py::module_& m); void define_edge_edge_distance_functions(py::module_& m); void define_line_line_distance_functions(py::module_& m); void define_point_edge_distance_functions(py::module_& m); void define_point_line_distance_functions(py::module_& m); void define_point_point_distance_functions(py::module_& m); void define_point_plane_distance_functions(py::module_& m); void define_point_triangle_distance_functions(py::module_& m); void define_ipc_functions(py::module_& m); void define_logger_functions(py::module_& m); void define_thread_limiter_functions(py::module_& m); PYBIND11_MODULE(ipctk, m) { m.doc() = "IPC Toolkit"; define_barrier_functions(m); define_broad_phase_functions(m); define_collision_candidate_classes(m); define_collision_constraint_classes(m); define_distance_type_functions(m); define_edge_edge_mollifier_functions(m); define_edge_edge_distance_functions(m); define_line_line_distance_functions(m); define_point_edge_distance_functions(m); define_point_line_distance_functions(m); define_point_point_distance_functions(m); define_point_plane_distance_functions(m); define_point_triangle_distance_functions(m); define_ipc_functions(m); define_logger_functions(m); define_thread_limiter_functions(m); }
31.603774
62
0.807164
ipc-sim
7a111857e95095bf5b2824001c105ca5a28b75ff
505
hpp
C++
higan/fc/scheduler/scheduler.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
3
2016-03-23T01:17:36.000Z
2019-10-25T06:41:09.000Z
higan/fc/scheduler/scheduler.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
higan/fc/scheduler/scheduler.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
struct Scheduler : property<Scheduler> { enum class SynchronizeMode : uint { None, PPU, All } sync; enum class ExitReason : uint { UnknownEvent, FrameEvent, SynchronizeEvent }; auto enter() -> void; auto exit(ExitReason) -> void; auto power() -> void; auto reset() -> void; cothread_t host_thread; //program thread (used to exit emulation) cothread_t thread; //active emulation thread (used to enter emulation) readonly<ExitReason> exit_reason; }; extern Scheduler scheduler;
29.705882
78
0.710891
ameer-bauer
7a1afec22610e6ff0559b7817329ba054f706278
12,037
hpp
C++
src/org/apache/poi/ss/usermodel/ShapeTypes.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/ShapeTypes.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/ShapeTypes.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/usermodel/ShapeTypes.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ss/usermodel/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class poi::ss::usermodel::ShapeTypes : public virtual ::java::lang::Object { public: typedef ::java::lang::Object super; static constexpr int32_t LINE { int32_t(1) }; static constexpr int32_t LINE_INV { int32_t(2) }; static constexpr int32_t TRIANGLE { int32_t(3) }; static constexpr int32_t RT_TRIANGLE { int32_t(4) }; static constexpr int32_t RECT { int32_t(5) }; static constexpr int32_t DIAMOND { int32_t(6) }; static constexpr int32_t PARALLELOGRAM { int32_t(7) }; static constexpr int32_t TRAPEZOID { int32_t(8) }; static constexpr int32_t NON_ISOSCELES_TRAPEZOID { int32_t(9) }; static constexpr int32_t PENTAGON { int32_t(10) }; static constexpr int32_t HEXAGON { int32_t(11) }; static constexpr int32_t HEPTAGON { int32_t(12) }; static constexpr int32_t OCTAGON { int32_t(13) }; static constexpr int32_t DECAGON { int32_t(14) }; static constexpr int32_t DODECAGON { int32_t(15) }; static constexpr int32_t STAR_4 { int32_t(16) }; static constexpr int32_t STAR_5 { int32_t(17) }; static constexpr int32_t STAR_6 { int32_t(18) }; static constexpr int32_t STAR_7 { int32_t(19) }; static constexpr int32_t STAR_8 { int32_t(20) }; static constexpr int32_t STAR_10 { int32_t(21) }; static constexpr int32_t STAR_12 { int32_t(22) }; static constexpr int32_t STAR_16 { int32_t(23) }; static constexpr int32_t STAR_24 { int32_t(24) }; static constexpr int32_t STAR_32 { int32_t(25) }; static constexpr int32_t ROUND_RECT { int32_t(26) }; static constexpr int32_t ROUND_1_RECT { int32_t(27) }; static constexpr int32_t ROUND_2_SAME_RECT { int32_t(28) }; static constexpr int32_t ROUND_2_DIAG_RECT { int32_t(29) }; static constexpr int32_t SNIP_ROUND_RECT { int32_t(30) }; static constexpr int32_t SNIP_1_RECT { int32_t(31) }; static constexpr int32_t SNIP_2_SAME_RECT { int32_t(32) }; static constexpr int32_t SNIP_2_DIAG_RECT { int32_t(33) }; static constexpr int32_t PLAQUE { int32_t(34) }; static constexpr int32_t ELLIPSE { int32_t(35) }; static constexpr int32_t TEARDROP { int32_t(36) }; static constexpr int32_t HOME_PLATE { int32_t(37) }; static constexpr int32_t CHEVRON { int32_t(38) }; static constexpr int32_t PIE_WEDGE { int32_t(39) }; static constexpr int32_t PIE { int32_t(40) }; static constexpr int32_t BLOCK_ARC { int32_t(41) }; static constexpr int32_t DONUT { int32_t(42) }; static constexpr int32_t NO_SMOKING { int32_t(43) }; static constexpr int32_t RIGHT_ARROW { int32_t(44) }; static constexpr int32_t LEFT_ARROW { int32_t(45) }; static constexpr int32_t UP_ARROW { int32_t(46) }; static constexpr int32_t DOWN_ARROW { int32_t(47) }; static constexpr int32_t STRIPED_RIGHT_ARROW { int32_t(48) }; static constexpr int32_t NOTCHED_RIGHT_ARROW { int32_t(49) }; static constexpr int32_t BENT_UP_ARROW { int32_t(50) }; static constexpr int32_t LEFT_RIGHT_ARROW { int32_t(51) }; static constexpr int32_t UP_DOWN_ARROW { int32_t(52) }; static constexpr int32_t LEFT_UP_ARROW { int32_t(53) }; static constexpr int32_t LEFT_RIGHT_UP_ARROW { int32_t(54) }; static constexpr int32_t QUAD_ARROW { int32_t(55) }; static constexpr int32_t LEFT_ARROW_CALLOUT { int32_t(56) }; static constexpr int32_t RIGHT_ARROW_CALLOUT { int32_t(57) }; static constexpr int32_t UP_ARROW_CALLOUT { int32_t(58) }; static constexpr int32_t DOWN_ARROW_CALLOUT { int32_t(59) }; static constexpr int32_t LEFT_RIGHT_ARROW_CALLOUT { int32_t(60) }; static constexpr int32_t UP_DOWN_ARROW_CALLOUT { int32_t(61) }; static constexpr int32_t QUAD_ARROW_CALLOUT { int32_t(62) }; static constexpr int32_t BENT_ARROW { int32_t(63) }; static constexpr int32_t UTURN_ARROW { int32_t(64) }; static constexpr int32_t CIRCULAR_ARROW { int32_t(65) }; static constexpr int32_t LEFT_CIRCULAR_ARROW { int32_t(66) }; static constexpr int32_t LEFT_RIGHT_CIRCULAR_ARROW { int32_t(67) }; static constexpr int32_t CURVED_RIGHT_ARROW { int32_t(68) }; static constexpr int32_t CURVED_LEFT_ARROW { int32_t(69) }; static constexpr int32_t CURVED_UP_ARROW { int32_t(70) }; static constexpr int32_t CURVED_DOWN_ARROW { int32_t(71) }; static constexpr int32_t SWOOSH_ARROW { int32_t(72) }; static constexpr int32_t CUBE { int32_t(73) }; static constexpr int32_t CAN { int32_t(74) }; static constexpr int32_t LIGHTNING_BOLT { int32_t(75) }; static constexpr int32_t HEART { int32_t(76) }; static constexpr int32_t SUN { int32_t(77) }; static constexpr int32_t MOON { int32_t(78) }; static constexpr int32_t SMILEY_FACE { int32_t(79) }; static constexpr int32_t IRREGULAR_SEAL_1 { int32_t(80) }; static constexpr int32_t IRREGULAR_SEAL_2 { int32_t(81) }; static constexpr int32_t FOLDED_CORNER { int32_t(82) }; static constexpr int32_t BEVEL { int32_t(83) }; static constexpr int32_t FRAME { int32_t(84) }; static constexpr int32_t HALF_FRAME { int32_t(85) }; static constexpr int32_t CORNER { int32_t(86) }; static constexpr int32_t DIAG_STRIPE { int32_t(87) }; static constexpr int32_t CHORD { int32_t(88) }; static constexpr int32_t ARC { int32_t(89) }; static constexpr int32_t LEFT_BRACKET { int32_t(90) }; static constexpr int32_t RIGHT_BRACKET { int32_t(91) }; static constexpr int32_t LEFT_BRACE { int32_t(92) }; static constexpr int32_t RIGHT_BRACE { int32_t(93) }; static constexpr int32_t BRACKET_PAIR { int32_t(94) }; static constexpr int32_t BRACE_PAIR { int32_t(95) }; static constexpr int32_t STRAIGHT_CONNECTOR_1 { int32_t(96) }; static constexpr int32_t BENT_CONNECTOR_2 { int32_t(97) }; static constexpr int32_t BENT_CONNECTOR_3 { int32_t(98) }; static constexpr int32_t BENT_CONNECTOR_4 { int32_t(99) }; static constexpr int32_t BENT_CONNECTOR_5 { int32_t(100) }; static constexpr int32_t CURVED_CONNECTOR_2 { int32_t(101) }; static constexpr int32_t CURVED_CONNECTOR_3 { int32_t(102) }; static constexpr int32_t CURVED_CONNECTOR_4 { int32_t(103) }; static constexpr int32_t CURVED_CONNECTOR_5 { int32_t(104) }; static constexpr int32_t CALLOUT_1 { int32_t(105) }; static constexpr int32_t CALLOUT_2 { int32_t(106) }; static constexpr int32_t CALLOUT_3 { int32_t(107) }; static constexpr int32_t ACCENT_CALLOUT_1 { int32_t(108) }; static constexpr int32_t ACCENT_CALLOUT_2 { int32_t(109) }; static constexpr int32_t ACCENT_CALLOUT_3 { int32_t(110) }; static constexpr int32_t BORDER_CALLOUT_1 { int32_t(111) }; static constexpr int32_t BORDER_CALLOUT_2 { int32_t(112) }; static constexpr int32_t BORDER_CALLOUT_3 { int32_t(113) }; static constexpr int32_t ACCENT_BORDER_CALLOUT_1 { int32_t(114) }; static constexpr int32_t ACCENT_BORDER_CALLOUT_2 { int32_t(115) }; static constexpr int32_t ACCENT_BORDER_CALLOUT_3 { int32_t(116) }; static constexpr int32_t WEDGE_RECT_CALLOUT { int32_t(117) }; static constexpr int32_t WEDGE_ROUND_RECT_CALLOUT { int32_t(118) }; static constexpr int32_t WEDGE_ELLIPSE_CALLOUT { int32_t(119) }; static constexpr int32_t CLOUD_CALLOUT { int32_t(120) }; static constexpr int32_t CLOUD { int32_t(121) }; static constexpr int32_t RIBBON { int32_t(122) }; static constexpr int32_t RIBBON_2 { int32_t(123) }; static constexpr int32_t ELLIPSE_RIBBON { int32_t(124) }; static constexpr int32_t ELLIPSE_RIBBON_2 { int32_t(125) }; static constexpr int32_t LEFT_RIGHT_RIBBON { int32_t(126) }; static constexpr int32_t VERTICAL_SCROLL { int32_t(127) }; static constexpr int32_t HORIZONTAL_SCROLL { int32_t(128) }; static constexpr int32_t WAVE { int32_t(129) }; static constexpr int32_t DOUBLE_WAVE { int32_t(130) }; static constexpr int32_t PLUS { int32_t(131) }; static constexpr int32_t FLOW_CHART_PROCESS { int32_t(132) }; static constexpr int32_t FLOW_CHART_DECISION { int32_t(133) }; static constexpr int32_t FLOW_CHART_INPUT_OUTPUT { int32_t(134) }; static constexpr int32_t FLOW_CHART_PREDEFINED_PROCESS { int32_t(135) }; static constexpr int32_t FLOW_CHART_INTERNAL_STORAGE { int32_t(136) }; static constexpr int32_t FLOW_CHART_DOCUMENT { int32_t(137) }; static constexpr int32_t FLOW_CHART_MULTIDOCUMENT { int32_t(138) }; static constexpr int32_t FLOW_CHART_TERMINATOR { int32_t(139) }; static constexpr int32_t FLOW_CHART_PREPARATION { int32_t(140) }; static constexpr int32_t FLOW_CHART_MANUAL_INPUT { int32_t(141) }; static constexpr int32_t FLOW_CHART_MANUAL_OPERATION { int32_t(142) }; static constexpr int32_t FLOW_CHART_CONNECTOR { int32_t(143) }; static constexpr int32_t FLOW_CHART_PUNCHED_CARD { int32_t(144) }; static constexpr int32_t FLOW_CHART_PUNCHED_TAPE { int32_t(145) }; static constexpr int32_t FLOW_CHART_SUMMING_JUNCTION { int32_t(146) }; static constexpr int32_t FLOW_CHART_OR { int32_t(147) }; static constexpr int32_t FLOW_CHART_COLLATE { int32_t(148) }; static constexpr int32_t FLOW_CHART_SORT { int32_t(149) }; static constexpr int32_t FLOW_CHART_EXTRACT { int32_t(150) }; static constexpr int32_t FLOW_CHART_MERGE { int32_t(151) }; static constexpr int32_t FLOW_CHART_OFFLINE_STORAGE { int32_t(152) }; static constexpr int32_t FLOW_CHART_ONLINE_STORAGE { int32_t(153) }; static constexpr int32_t FLOW_CHART_MAGNETIC_TAPE { int32_t(154) }; static constexpr int32_t FLOW_CHART_MAGNETIC_DISK { int32_t(155) }; static constexpr int32_t FLOW_CHART_MAGNETIC_DRUM { int32_t(156) }; static constexpr int32_t FLOW_CHART_DISPLAY { int32_t(157) }; static constexpr int32_t FLOW_CHART_DELAY { int32_t(158) }; static constexpr int32_t FLOW_CHART_ALTERNATE_PROCESS { int32_t(159) }; static constexpr int32_t FLOW_CHART_OFFPAGE_CONNECTOR { int32_t(160) }; static constexpr int32_t ACTION_BUTTON_BLANK { int32_t(161) }; static constexpr int32_t ACTION_BUTTON_HOME { int32_t(162) }; static constexpr int32_t ACTION_BUTTON_HELP { int32_t(163) }; static constexpr int32_t ACTION_BUTTON_INFORMATION { int32_t(164) }; static constexpr int32_t ACTION_BUTTON_FORWARD_NEXT { int32_t(165) }; static constexpr int32_t ACTION_BUTTON_BACK_PREVIOUS { int32_t(166) }; static constexpr int32_t ACTION_BUTTON_END { int32_t(167) }; static constexpr int32_t ACTION_BUTTON_BEGINNING { int32_t(168) }; static constexpr int32_t ACTION_BUTTON_RETURN { int32_t(169) }; static constexpr int32_t ACTION_BUTTON_DOCUMENT { int32_t(170) }; static constexpr int32_t ACTION_BUTTON_SOUND { int32_t(171) }; static constexpr int32_t ACTION_BUTTON_MOVIE { int32_t(172) }; static constexpr int32_t GEAR_6 { int32_t(173) }; static constexpr int32_t GEAR_9 { int32_t(174) }; static constexpr int32_t FUNNEL { int32_t(175) }; static constexpr int32_t MATH_PLUS { int32_t(176) }; static constexpr int32_t MATH_MINUS { int32_t(177) }; static constexpr int32_t MATH_MULTIPLY { int32_t(178) }; static constexpr int32_t MATH_DIVIDE { int32_t(179) }; static constexpr int32_t MATH_EQUAL { int32_t(180) }; static constexpr int32_t MATH_NOT_EQUAL { int32_t(181) }; static constexpr int32_t CORNER_TABS { int32_t(182) }; static constexpr int32_t SQUARE_TABS { int32_t(183) }; static constexpr int32_t PLAQUE_TABS { int32_t(184) }; static constexpr int32_t CHART_X { int32_t(185) }; static constexpr int32_t CHART_STAR { int32_t(186) }; static constexpr int32_t CHART_PLUS { int32_t(187) }; // Generated ShapeTypes(); protected: ShapeTypes(const ::default_init_tag&); public: static ::java::lang::Class *class_(); private: virtual ::java::lang::Class* getClass0(); };
55.470046
76
0.737393
pebble2015
7a1b604be24ce61dc1521f1f07453f3692fb7fc2
5,243
cpp
C++
WildMagic4/LibFoundation/Intersection/Wm4IntrRay2Ray2.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
23
2015-08-13T07:36:00.000Z
2022-01-24T19:00:04.000Z
WildMagic4/LibFoundation/Intersection/Wm4IntrRay2Ray2.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
null
null
null
WildMagic4/LibFoundation/Intersection/Wm4IntrRay2Ray2.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
6
2015-07-06T21:37:31.000Z
2020-07-01T04:07:50.000Z
// Geometric Tools, LLC // Copyright (c) 1998-2010 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 4.10.0 (2009/11/18) #include "Wm4FoundationPCH.h" #include "Wm4IntrRay2Ray2.h" namespace Wm4 { //---------------------------------------------------------------------------- template <class Real> IntrRay2Ray2<Real>::IntrRay2Ray2 (const Ray2<Real>& rkRay0, const Ray2<Real>& rkRay1) : m_pkRay0(&rkRay0), m_pkRay1(&rkRay1) { } //---------------------------------------------------------------------------- template <class Real> const Ray2<Real>& IntrRay2Ray2<Real>::GetRay0 () const { return *m_pkRay0; } //---------------------------------------------------------------------------- template <class Real> const Ray2<Real>& IntrRay2Ray2<Real>::GetRay1 () const { return *m_pkRay1; } //---------------------------------------------------------------------------- template <class Real> bool IntrRay2Ray2<Real>::Test () { Vector2<Real> kDiff; Real afParameter[2]; m_iIntersectionType = Classify(afParameter,&kDiff,0); if (m_iIntersectionType == IT_POINT) { // Test whether the line-line intersection is on the rays. if (afParameter[0] >= (Real)0 && afParameter[1] >= (Real)0) { m_iQuantity = 1; } else { m_iQuantity = 0; m_iIntersectionType = IT_EMPTY; } } else if (m_iIntersectionType == IT_RAY) { m_iQuantity = INT_MAX; } else { m_iQuantity = 0; } return m_iIntersectionType != IT_EMPTY; } //---------------------------------------------------------------------------- template <class Real> bool IntrRay2Ray2<Real>::Find () { Vector2<Real> kDiff; Real afParameter[2]; m_iIntersectionType = Classify(afParameter,&kDiff,0); if (m_iIntersectionType == IT_POINT) { // Test whether the line-line intersection is on the rays. if (afParameter[0] >= (Real)0 && afParameter[1] >= (Real)0) { m_iQuantity = 1; m_kPoint = m_pkRay0->Origin + afParameter[0]*m_pkRay0->Direction; } else { m_iQuantity = 0; m_iIntersectionType = IT_EMPTY; } } else if (m_iIntersectionType == IT_RAY) { m_iQuantity = INT_MAX; } else { m_iQuantity = 0; } return m_iIntersectionType != IT_EMPTY; } //---------------------------------------------------------------------------- template <class Real> int IntrRay2Ray2<Real>::GetQuantity () const { return m_iQuantity; } //---------------------------------------------------------------------------- template <class Real> const Vector2<Real>& IntrRay2Ray2<Real>::GetPoint () const { return m_kPoint; } //---------------------------------------------------------------------------- template <class Real> int IntrRay2Ray2<Real>::Classify (Real* afS, Vector2<Real>* pkDiff, Vector2<Real>* pkDiffN) { // The intersection of two lines is a solution to P0+s0*D0 = P1+s1*D1. // Rewrite this as s0*D0 - s1*D1 = P1 - P0 = Q. If D0.Dot(Perp(D1)) = 0, // the lines are parallel. Additionally, if Q.Dot(Perp(D1)) = 0, the // lines are the same. If D0.Dot(Perp(D1)) is not zero, then // s0 = Q.Dot(Perp(D1))/D0.Dot(Perp(D1)) // produces the point of intersection. Also, // s1 = Q.Dot(Perp(D0))/D0.Dot(Perp(D1)) Vector2<Real> kDiff = m_pkRay1->Origin - m_pkRay0->Origin; if (pkDiff) { *pkDiff = kDiff; } Real fD0DotPerpD1 = m_pkRay0->Direction.DotPerp(m_pkRay1->Direction); if (Math<Real>::FAbs(fD0DotPerpD1) > Math<Real>::ZERO_TOLERANCE) { // lines intersect in a single point if (afS) { Real fInvD0DotPerpD1 = ((Real)1.0)/fD0DotPerpD1; Real fDiffDotPerpD0 = kDiff.DotPerp(m_pkRay0->Direction); Real fDiffDotPerpD1 = kDiff.DotPerp(m_pkRay1->Direction); afS[0] = fDiffDotPerpD1*fInvD0DotPerpD1; afS[1] = fDiffDotPerpD0*fInvD0DotPerpD1; } return IT_POINT; } // lines are parallel kDiff.Normalize(); if (pkDiffN) { *pkDiffN = kDiff; } Real fDiffNDotPerpD1 = kDiff.DotPerp(m_pkRay1->Direction); if (Math<Real>::FAbs(fDiffNDotPerpD1) <= Math<Real>::ZERO_TOLERANCE) { // lines are colinear return IT_RAY; } // lines are parallel, but distinct return IT_EMPTY; } //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // explicit instantiation //---------------------------------------------------------------------------- template WM4_FOUNDATION_ITEM class IntrRay2Ray2<float>; template WM4_FOUNDATION_ITEM class IntrRay2Ray2<double>; //---------------------------------------------------------------------------- }
29.96
79
0.486363
rms80
7a1bbfc4708fa9afe9e33bb5be5536d8a9ed4380
1,716
cpp
C++
httplite/HttpClient.cpp
michaelsballoni/httplite
25ab914157e2b690f0d5acd0bb5a96a0d8f1df52
[ "Apache-2.0" ]
null
null
null
httplite/HttpClient.cpp
michaelsballoni/httplite
25ab914157e2b690f0d5acd0bb5a96a0d8f1df52
[ "Apache-2.0" ]
null
null
null
httplite/HttpClient.cpp
michaelsballoni/httplite
25ab914157e2b690f0d5acd0bb5a96a0d8f1df52
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "HttpClient.h" #include "HeaderReader.h" namespace httplite { HttpClient::HttpClient(const std::string& server, uint16_t port) : m_socket(INVALID_SOCKET) , m_server(server) , m_port(port) , m_isConnected(false) { } HttpClient::~HttpClient() { Disconnect(); } void HttpClient::EnsureConnected() { if (m_isConnected) return; m_socket = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (m_socket == INVALID_SOCKET) throw NetworkError("Creating client socket failed"); struct hostent* host = gethostbyname(m_server.c_str()); if (host == nullptr) throw NetworkError("Resolving server address failed"); sockaddr_in serverAddr; serverAddr.sin_family = AF_INET; serverAddr.sin_addr = *(struct in_addr*)(host->h_addr); serverAddr.sin_port = htons(m_port); if (::connect(m_socket, reinterpret_cast<sockaddr*>(&serverAddr), sizeof(serverAddr)) == SOCKET_ERROR) throw NetworkError("Connecting client failed"); m_isConnected = true; } void HttpClient::Disconnect() { if (!m_isConnected) return; if (m_socket != INVALID_SOCKET) { ::closesocket(m_socket); m_socket = INVALID_SOCKET; } m_isConnected = false; } Response HttpClient::ProcessRequest(const Request& request) { EnsureConnected(); #ifndef _DEBUG try #endif { std::string sendMessageError = request.Send(m_socket); if (!sendMessageError.empty()) throw NetworkError(sendMessageError); Response response; std::string recvMessageError = response.Recv(m_socket); if (!recvMessageError.empty()) throw NetworkError(recvMessageError); return response; } #ifndef _DEBUG catch (...) { Disconnect(); throw; } #endif } }
20.428571
104
0.703963
michaelsballoni
7a1f9bacd593cd8576472cf2c62606b7ffba9820
319
cpp
C++
variadicformat/src/util.cpp
dsp-testing/blog
b3454d913ee9ae585facf67009b23ea1a8685466
[ "MIT" ]
109
2015-01-11T19:37:47.000Z
2022-03-24T11:23:15.000Z
variadicformat/src/util.cpp
dsp-testing/blog
b3454d913ee9ae585facf67009b23ea1a8685466
[ "MIT" ]
5
2015-02-21T05:18:54.000Z
2019-10-13T19:04:35.000Z
variadicformat/src/util.cpp
dsp-testing/blog
b3454d913ee9ae585facf67009b23ea1a8685466
[ "MIT" ]
275
2015-01-02T14:26:13.000Z
2022-03-28T07:37:28.000Z
#include "util.h" namespace util { void replace_all(std::string& str, const std::string& from, const std::string& to) { size_t pos = 0; while ((pos = str.find(from, pos)) != std::string::npos) { str.replace(pos, from.length(), to); pos += to.length(); } } }
24.538462
86
0.523511
dsp-testing
7a22c2e4ec8d21e9a7f8cb255c3ae761a0c4a0fe
477
cpp
C++
src/message/RequestVote.cpp
taroyuyu/KakaKV
47d0c36f6a77959d02c30b955ca5fbc8999d24d6
[ "MIT" ]
1
2021-09-27T11:41:12.000Z
2021-09-27T11:41:12.000Z
src/message/RequestVote.cpp
taroyuyu/KakaKV
47d0c36f6a77959d02c30b955ca5fbc8999d24d6
[ "MIT" ]
null
null
null
src/message/RequestVote.cpp
taroyuyu/KakaKV
47d0c36f6a77959d02c30b955ca5fbc8999d24d6
[ "MIT" ]
null
null
null
// // Created by 凌宇 on 2021/9/20. // #include <message/RequestVote.h> namespace kakakv { namespace message { std::ostream & operator<<(std::ostream & cout,RequestVote & request){ cout<<"RequestVote{candidateId="<<request.candidateId <<",lastLogIndex="<<request.lastLogIndex <<",lastLogTerm="<<request.lastLogTerm <<",term="<<request.term <<"}"; return cout; } } }
26.5
77
0.536688
taroyuyu
7a22eaf9855931aee8723449fd0abafd83553d76
288
hh
C++
src/phantasm-renderer/default_config.hh
project-arcana/phantasm-renderer
dd6f9af8d95f227f88c81194dea4a893761cac62
[ "MIT" ]
2
2020-10-22T18:09:11.000Z
2020-12-09T13:53:46.000Z
src/phantasm-renderer/default_config.hh
project-arcana/phantasm-renderer
dd6f9af8d95f227f88c81194dea4a893761cac62
[ "MIT" ]
1
2021-04-29T08:16:49.000Z
2021-04-30T07:54:25.000Z
src/phantasm-renderer/default_config.hh
project-arcana/phantasm-renderer
dd6f9af8d95f227f88c81194dea4a893761cac62
[ "MIT" ]
null
null
null
#pragma once #include <phantasm-hardware-interface/types.hh> namespace pr { /** * This object is implicitly convertible to default configurations for most types */ static constexpr struct default_config_t { operator phi::pipeline_config() const { return {}; } } default_config; }
19.2
81
0.75
project-arcana
7a237f3e6b5590183321fc4687ac9d6445091a48
526
cpp
C++
lib/chpmv.cpp
langou/latl
df838fb44a1ef5c77b57bf60bd46eaeff8db3492
[ "BSD-3-Clause-Open-MPI" ]
6
2015-12-13T09:10:11.000Z
2022-02-09T23:18:22.000Z
lib/chpmv.cpp
langou/latl
df838fb44a1ef5c77b57bf60bd46eaeff8db3492
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
lib/chpmv.cpp
langou/latl
df838fb44a1ef5c77b57bf60bd46eaeff8db3492
[ "BSD-3-Clause-Open-MPI" ]
2
2019-02-01T06:46:36.000Z
2022-02-09T23:18:24.000Z
// // chpmv.cpp // Linear Algebra Template Library // // Created by Rodney James on 1/1/13. // Copyright (c) 2013 University of Colorado Denver. All rights reserved. // #include "blas.h" #include "hpmv.h" using LATL::HPMV; using std::complex; int chpmv_(char& uplo, int &n, complex<float> &alpha, complex<float> *A, complex<float> *x, int& incx, complex<float> &beta, complex<float> *y, int& incy) { int info=-HPMV<float>(uplo,n,alpha,A,x,incx,beta,y,incy); if(info>0) xerbla_("CHPMV ",info); return 0; }
25.047619
154
0.663498
langou
7a2721be3f44a083a14ec63035f84a9a16e8f6dd
961
cpp
C++
graph-source-code/417-C/6563535.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/417-C/6563535.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/417-C/6563535.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <fstream> #include <iomanip> #include <cstdio> #include <cmath> #include <vector> #include <map> #define mod 1000000007 using namespace std; int n,k; int win[1003]; struct ans { int x,y; }; ans a[1000003]; int coun; int main() { scanf("%d %d",&n,&k); int i,j; for(i=0;i<n;i++) for(j=i+1;j<n;j++) { if(win[i]<k) { win[i]++; a[coun].x=i+1; a[coun++].y=j+1; } else if(win[j]<k) { win[j]++; a[coun].x=j+1; a[coun++].y=i+1; } } for(i=0;i<n;i++) if(win[i]<k) { printf("-1\n"); return 0; } printf("%d\n",coun); for(i=0;i<coun;i++) printf("%d %d\n",a[i].x,a[i].y); return 0; } /* */
17.160714
41
0.371488
AmrARaouf
7a27fee7e1fb61c23ed93a7693a4b630580950a6
2,854
tcc
C++
hackt_docker/hackt/src/util/memory/fixed_pool_chunk.tcc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/memory/fixed_pool_chunk.tcc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/memory/fixed_pool_chunk.tcc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "util/memory/fixed_pool_chunk.tcc" Method definitions for chunk-allocated memory pool. $Id: fixed_pool_chunk.tcc,v 1.1 2007/02/21 17:00:28 fang Exp $ */ #ifndef __UTIL_MEMORY_FIXED_POOL_CHUNK_TCC__ #define __UTIL_MEMORY_FIXED_POOL_CHUNK_TCC__ #include "util/memory/fixed_pool_chunk.hh" #include "util/memory/typeless_memory_chunk.tcc" #include <iostream> #include "util/what.tcc" #define FORMAT_HEX_POINTER(x) reinterpret_cast<void*>(size_t(x)) namespace util { namespace memory { #include "util/using_ostream.hh" //============================================================================= // class fixed_pool_chunk method definitions FIXED_POOL_CHUNK_TEMPLATE_SIGNATURE FIXED_POOL_CHUNK_CLASS::fixed_pool_chunk() : parent_type() { } //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FIXED_POOL_CHUNK_TEMPLATE_SIGNATURE FIXED_POOL_CHUNK_CLASS::~fixed_pool_chunk() { if (!this->empty()) { cerr << "WARNING: chunk freed while element still live!" << endl; } } //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FIXED_POOL_CHUNK_TEMPLATE_SIGNATURE bool FIXED_POOL_CHUNK_CLASS::contains(pointer p) const { return parent_type::contains(reinterpret_cast<void*>(p)); } //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /** Returns the address of an available element for allocation. */ FIXED_POOL_CHUNK_TEMPLATE_SIGNATURE typename FIXED_POOL_CHUNK_CLASS::pointer FIXED_POOL_CHUNK_CLASS::allocate(void) { return reinterpret_cast<pointer>(parent_type::__allocate()); } //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /** Returns the address of an available element for allocation. */ FIXED_POOL_CHUNK_TEMPLATE_SIGNATURE void FIXED_POOL_CHUNK_CLASS::deallocate(pointer p) { parent_type::__deallocate(p); } //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /** Reports the status of the local allocator. */ FIXED_POOL_CHUNK_TEMPLATE_SIGNATURE ostream& FIXED_POOL_CHUNK_CLASS::status(ostream& o) const { o << "map_chunk<" << what<T>::name() << "> @" << this << " has the free_mask: (hex) "; // const std::ios_base::fmtflags f = o.flags(); // o.flags(f | std::ios_base::hex); // interpreting for getting hexadecimal formatting #if 0 o << FORMAT_HEX_POINTER(this->free_mask) << endl; #else #if TYPELESS_MEMORY_CHUNK_USE_BITSET return print_bits_hex<typename bit_map_type::word_type>()( o, this->free_mask.to_ulong()) << endl; #else return print_bits_hex<bit_map_type>()(o, this->free_mask) << endl; #endif // TYPELESS_MEMORY_CHUNK_USE_BITSET #endif // o.flags(f); return o; } //============================================================================= } // end namespace memory } // end namespace util #endif // __UTIL_MEMORY_FIXED_POOL_CHUNK_TCC__
30.042105
79
0.613525
broken-wheel
7a280b241a5268b80982f792d7daffa00a887cc6
2,253
cpp
C++
problems/minimal_sum.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
5
2021-05-17T12:32:42.000Z
2021-12-12T21:09:55.000Z
problems/minimal_sum.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
null
null
null
problems/minimal_sum.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
1
2021-05-13T20:29:57.000Z
2021-05-13T20:29:57.000Z
#include <iostream> #include <vector> #include <queue> #include <algorithm> using namespace std; string minimalSum(vector<int> &, int); int main() { /** * In order to add rearranged orders of the digits together such * that the sum is minimal, we will use a Max Heap to maintain * what digits to be added at each step. In the end the reversed * string will give us the desired sum */ cout << "\nThis program constructs two numbers from a list of digits such that their sum is minimal.\n" << endl; int n; cout << "Enter the number of digits to consider: "; cin >> n; vector<int> arr(n); cout << "Enter space seperated digits to consider," << endl; for (int i = 0; i < n; i += 1) cin >> arr[i]; string res = minimalSum(arr, n); cout << "\nThe minimal possible sum of two numbers formed from the array is: " << res << "." << endl; cout << endl; return 0; } string minimalSum(vector<int> &arr, int n) { // Since a max Heap maintains the maximal element to the top, we // will add the largest and second largest at every step, and // append the resultant to a string priority_queue<int> maxHeap; for (int i = 0; i < n; i += 1) maxHeap.push(arr[i]); string res; // We need to maintain the carry at each step, this // is the reason we start from largest & not smallest numbers int carry = 0; while (!maxHeap.empty()) { int curr = carry; curr += maxHeap.top(); maxHeap.pop(); if (!maxHeap.empty()) { curr += maxHeap.top(); maxHeap.pop(); } if (curr) { // We do not want to append the numbers if they // are not value but just 0 carry carry = curr / 10; curr = curr % 10; res.push_back('0' + curr); } } if (carry) res.push_back('0' + carry); // For the sum to be minimal we need to add maximal elements // near units place and minimal elements farthest from units // place. However with proper ordering we cannot manage carry // hence the reversal reverse(res.begin(), res.end()); return res; }
28.884615
116
0.579228
oishikm12
7a283b69d0a1181419bcb08c0b80f12e3b2b89e4
7,573
cpp
C++
src/prefixdfamem.cpp
dmitriy-philimonov/oak
4a0c8eb4b7529265d61172f6ad9db7b490fd4c51
[ "Apache-2.0" ]
null
null
null
src/prefixdfamem.cpp
dmitriy-philimonov/oak
4a0c8eb4b7529265d61172f6ad9db7b490fd4c51
[ "Apache-2.0" ]
null
null
null
src/prefixdfamem.cpp
dmitriy-philimonov/oak
4a0c8eb4b7529265d61172f6ad9db7b490fd4c51
[ "Apache-2.0" ]
null
null
null
#include "prefixdfamem.h" #include <cstring> #include <iostream> #include <iomanip> namespace NPrefix { namespace NMemoryOptimized { ui8 TDfa::DoXLAT(ui8 symbol) noexcept { if (HAS_XLAT[symbol]) return XLAT[symbol]; ui8 id = NextId++; XLAT[symbol] = id; HAS_XLAT[symbol] = 1; return id; } inline void ExpandSV(TMatrixElement& sv, ui16 id) { if (sv.size() <= id) sv.resize(id+1); } void TDfa::SaveEnding(TMatrixElement& sv, const char* s, ui32 ssize) { sv.resize(2+ssize/4); // 1 - info, 1+size/4 - for data TU* tu = &sv[FinalSymbol]; tu->SetStatus(WITH_END); tu->SetSize(ssize); ++tu; std::memcpy(tu->Storage(), s, ssize); } bool TDfa::UnforldMatchSymbolsFast(ui32 curState) { // copy chars to nearest neighbour if vector capacity is enough, // overwise all references become dead ... if (M.capacity() == M.size()) return false; auto& sv = M[curState]; TU& info = sv[FinalSymbol]; TU& data = sv[FinalSymbol+1]; info.SetStatus(EMPTY); ui32 nextState = NextState++; // if this routine is called, this shouldn't trigger a vector memory reallocation M.resize(NextState, TMatrixElement(1)); if (info.GetSize() == 1) M[nextState][FinalSymbol].SetStatus(HAS_WORD); else SaveEnding(M[nextState], (char*)data.Storage()+1, info.GetSize()-1); sv.resize(1); // only future constructor, which sets memory to EMPTY ui16 id = DoXLAT(*data.Storage())+1; sv.resize(id+1); // overwrite old ending string with EMPTY value sv[id].NextState = nextState; // and then set ref to a new state return true; } bool TDfa::UnfoldMatchSymbols(const std::string& x, ui32 i, ui32 curState) { TU& info = M[curState][FinalSymbol]; TU& data = M[curState][FinalSymbol+1]; // check they aren't equal if (x.size()-i == info.GetSize()) { ui8* p = data.Storage(); bool theSame = true; for(ui32 j=i; j<x.size(); ++j) { if (*p++ != x[j]) { theSame = false; break; } } if (theSame) return false; } // quite often situation if (x[i] != *data.Storage() && UnforldMatchSymbolsFast(curState)) return true; // middle copy of ending (we need to overwrite ending memory) std::string ending((char*)data.Storage(), info.GetSize()); info.SetStatus(EMPTY); M[curState].resize(1); ui16 j=0; while(j<ending.size()) { auto& sv = M[curState]; ui16 id = DoXLAT(static_cast<ui8>(ending[j]))+1; sv.resize(id+1); curState = NextState++; sv[id].NextState = curState; M.resize(NextState, TMatrixElement(1)); // always inc j, there's a condition later ++j; // if the last symbol in x is matched, // I need to process one more symbol from j, // if it's still available if (i>=x.size() || x[i++] != ending[j-1]) break; } if (j == ending.size()) { M[curState][FinalSymbol].SetStatus(HAS_WORD); return true; } SaveEnding(M[curState], ending.data()+j, ending.size()-j); return true; } bool TDfa::insert(const std::string& x) { ui32 curState = EMPTY; ui32 i=0; while(i<x.size()) { // unfold old ending if it's here if (M[curState][FinalSymbol].GetStatus() == WITH_END) if (!UnfoldMatchSymbols(x, i, curState)) return false; auto& sv = M[curState]; ui16 id = DoXLAT(static_cast<ui8>(x[i]))+1; ExpandSV(sv, id); curState = sv[id].NextState; ++i; if (curState != EMPTY) continue; ui32 newState = NextState++; sv[id].NextState = newState; M.resize(NextState, TMatrixElement(1)); if (i == x.size()) { M[newState][FinalSymbol].SetStatus(HAS_WORD); ++Size; return true; } // save rest to the endings, even one letter // storage is reversed ui32 ssize = x.size() - i; if (__builtin_expect(ssize >= std::numeric_limits<ui16>::max(), 0)) throw std::runtime_error("Unsupported so long strings, but can be added quite easy"); SaveEnding(M[newState], &x[i], ssize); ++Size; return true; } auto& info = M[curState][FinalSymbol]; switch (info.GetStatus()) { case EMPTY: info.SetStatus(HAS_WORD); ++Size; return true; case HAS_WORD: return false; case WITH_END: // shift one symbol from ending if (!UnforldMatchSymbolsFast(curState)) UnfoldMatchSymbols(x, x.size(), curState); // M is modified M[curState][FinalSymbol].SetStatus(HAS_WORD); ++Size; return true; default: return false; } } bool TDfa::exists(const std::string& x) const noexcept { ui32 curState = EMPTY; for(ui32 i=0; i<x.size(); ++i) { const auto& sv = M[curState]; const auto& info = sv[FinalSymbol]; if (info.GetStatus() == WITH_END) { const auto& data = sv[FinalSymbol+1]; std::string_view ending((char*)data.Storage(), info.GetSize()); std::string_view restOfX(&x[i], x.size()-i); return ending == restOfX; } ui8 symbol = static_cast<ui8>(x[i]); if (!HAS_XLAT[symbol]) return false; ui16 id = XLAT[symbol]+1; if (sv.size() <= id) return false; ui32 state = sv[id].NextState; if (state == EMPTY) return false; curState = state; } return M[curState][FinalSymbol].GetStatus() == HAS_WORD; } void TDfa::DebugPrint() const noexcept { ui8 RXLAT[AlphabetSize]; ui16 RLen = 0; for(ui16 symbol=0; symbol<AlphabetSize; ++symbol) if (HAS_XLAT[symbol]) { ++RLen; RXLAT[XLAT[symbol]] = symbol; } std::cout << '\n' << std::setw(3) << "id" << ") $"; for(ui16 id=0; id<RLen; ++id) std::cout << ' ' << std::setw(3) << RXLAT[id]; std::cout << '\n'; for(ui32 state=0; state<M.size(); ++state) { std::cout << std::setw(3) << state << ')'; const auto& sv = M[state]; const auto& info = sv[FinalSymbol]; switch(info.GetStatus()) { case EMPTY: std::cout << " E"; break; case HAS_WORD: std::cout << " H"; break; case WITH_END: { const auto& data = sv[FinalSymbol+1]; std::cout << "WE(" << info.GetSize() << "):" << (char*)data.Storage() << '\n'; continue; } } for(ui8 id=1; id<sv.size(); ++id) { std::cout << ' ' << std::setw(3) << sv[id].NextState; } std::cout << '\n'; } } } }
34.579909
101
0.496765
dmitriy-philimonov
7a291ec9b5c52e88cf3c56889131df0efeb899d1
4,807
hpp
C++
routing_algorithms/dijkstra.hpp
cypox/devacus-backend
ba3d2ca8d72843560c4ff754780482dfe8a67c6b
[ "BSD-2-Clause" ]
null
null
null
routing_algorithms/dijkstra.hpp
cypox/devacus-backend
ba3d2ca8d72843560c4ff754780482dfe8a67c6b
[ "BSD-2-Clause" ]
null
null
null
routing_algorithms/dijkstra.hpp
cypox/devacus-backend
ba3d2ca8d72843560c4ff754780482dfe8a67c6b
[ "BSD-2-Clause" ]
null
null
null
#ifndef DIJKSTRA_HPP #define DIJKSTRA_HPP #include <boost/assert.hpp> #include "routing_base.hpp" #include "../DynamicServer/DataStructures/InternalDataFacade.h" #include "../data_structures/search_engine_data.hpp" #include "../Util/integer_range.hpp" #include "../Util/timing_util.hpp" #include "../typedefs.h" template <class DataFacadeT> class BasicDijkstraRouting final : public BasicRoutingInterface<DataFacadeT> { typedef typename DataFacadeT::EdgeData EdgeData; using super = BasicRoutingInterface<DataFacadeT>; using QueryHeap = SearchEngineData::QueryHeap; SearchEngineData &engine_working_data; public: BasicDijkstraRouting(DataFacadeT *facade, SearchEngineData &engine_working_data) : super(facade), engine_working_data(engine_working_data) { } ~BasicDijkstraRouting() {} void operator()(const std::vector<PhantomNodes> &phantom_nodes_vector, const std::vector<bool> &uturn_indicators, RawRouteData &raw_route_data) const { TIMER_START(query); int distance = 0; int setteled_nodes = 0; std::vector<NodeID> path; QueryHeap dijkstra_heap(super::facade->GetNumberOfNodes()); NodeID source = phantom_nodes_vector[0].source_phantom.forward_node_id; NodeID target = SPECIAL_NODEID; NodeID f_target = phantom_nodes_vector[0].target_phantom.forward_node_id; NodeID r_target = phantom_nodes_vector[0].target_phantom.reverse_node_id; NodeID current = SPECIAL_NODEID; dijkstra_heap.Clear(); const bool allow_u_turn = false; if (source != SPECIAL_NODEID) { dijkstra_heap.Insert( phantom_nodes_vector[0].source_phantom.forward_node_id, (allow_u_turn ? 0 : distance) - phantom_nodes_vector[0].source_phantom.GetForwardWeightPlusOffset(), phantom_nodes_vector[0].source_phantom.forward_node_id); dijkstra_heap.Insert( phantom_nodes_vector[0].source_phantom.reverse_node_id, (allow_u_turn ? 0 : distance) - phantom_nodes_vector[0].source_phantom.GetReverseWeightPlusOffset(), phantom_nodes_vector[0].source_phantom.reverse_node_id); while ( !dijkstra_heap.Empty() ) { current = dijkstra_heap.DeleteMin(); distance = dijkstra_heap.GetKey(current); //SimpleLogger().Write(logDEBUG) << "expanding node " << current; if ( current == f_target || current == r_target ) { target = current; SimpleLogger().Write(logDEBUG) << "found road to target " << current << " of distance " << distance << std::endl << "setteled nodes " << setteled_nodes; break; } for (const auto edge : super::facade->GetAdjacentEdgeRange(current)) { const EdgeData &data = super::facade->GetEdgeData(edge); const int edge_weight = data.distance; BOOST_ASSERT_MSG(edge_weight > 0, "edge_weight invalid"); if ( data.forward ) { // New Node discovered -> Add to Heap + Node Info Storage const NodeID to = super::facade->GetTarget(edge); const int to_distance = distance + edge_weight; if (!dijkstra_heap.WasInserted(to)) { dijkstra_heap.Insert(to, to_distance, current); //SimpleLogger().Write(logDEBUG) << "discovering node " << to << " with distance " << to_distance; } // Found a shorter Path -> Update distance else if (to_distance < dijkstra_heap.GetKey(to)) { // new parent dijkstra_heap.GetData(to).parent = current; dijkstra_heap.DecreaseKey(to, to_distance); //SimpleLogger().Write(logDEBUG) << "improving road to " << to << " with " << to_distance; } } } ++setteled_nodes; } } BOOST_ASSERT_MSG(target != SPECIAL_NODEID, "edge_weight invalid"); // Did we found anything ? if ( current != target ) { raw_route_data.shortest_path_length = INVALID_EDGE_WEIGHT; return; } NodeID node = target; while (node != dijkstra_heap.GetData(node).parent) { path.emplace_back(node); node = dijkstra_heap.GetData(node).parent; } path.emplace_back(node); std::reverse(path.begin(), path.end()); raw_route_data.unpacked_path_segments.resize(phantom_nodes_vector.size()); super::UnpackPath( // -- packed input path, // -- start and end of route phantom_nodes_vector[0], // -- unpacked output raw_route_data.unpacked_path_segments[0]); raw_route_data.source_traversed_in_reverse.push_back( (path.front() != phantom_nodes_vector[0].source_phantom.forward_node_id)); raw_route_data.target_traversed_in_reverse.push_back( (path.back() != phantom_nodes_vector[0].target_phantom.forward_node_id)); raw_route_data.shortest_path_length = ( dijkstra_heap.GetKey(target) < 0 ) ? 0 : dijkstra_heap.GetKey(target); TIMER_STOP(query); SimpleLogger().Write() << "Qeury : " << TIMER_SEC(query) << " seconds"; } }; #endif /* DIJKSTRA_HPP */
32.924658
117
0.70543
cypox
7a2c6425383e7b15e088fa773c4b76b12ab49f28
1,128
cpp
C++
hj/composition/Player.cpp
hustlic/cppstudy
ee007bbfb344845bc48792f495cdfe4cfbe9ba22
[ "Apache-2.0" ]
null
null
null
hj/composition/Player.cpp
hustlic/cppstudy
ee007bbfb344845bc48792f495cdfe4cfbe9ba22
[ "Apache-2.0" ]
null
null
null
hj/composition/Player.cpp
hustlic/cppstudy
ee007bbfb344845bc48792f495cdfe4cfbe9ba22
[ "Apache-2.0" ]
null
null
null
/* ************************************************* * | | | | | | |/ ____|__ __| | | (_) * | |__| | | | | (___ | | | | _ ___ * | __ | | | |\___ \ | | | | | | / __| * | | | | |__| |____) | | | | | | | | (__ * |_| |_|\____/|_____/ |_| |_| |_| \___| * * *************************************************/ #include <cstring> #include <iostream> #include "Player.h" #define DEFAULT_PLAY_NAME "NewPlayer" Player::Player(const int health, const char*name) { std::cout<<"Player created" <<std::endl; this->m_health = health; this->m_mainGun = 0; if(name) { this->m_name = new char[strlen(name) + 1]; strcpy(this->m_name, name); } else { this->m_name = new char[strlen(DEFAULT_PLAY_NAME) + 1]; strcpy(this->m_name, DEFAULT_PLAY_NAME); } } Player::~Player() { std::cout<<"Player dtor"<<std::endl; delete[] m_name; } void Player::fire() { if(this->m_mainGun) { this->m_mainGun->fire(); } else { std::cout<<"I have no weapon,using knife"<<std::endl; } }
21.692308
63
0.434397
hustlic
7a359c9b2020222993eac7b1f3e72eb18bfdbcd0
10,534
hpp
C++
Nacro/SDK/FN_ObjectivesPage_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_ObjectivesPage_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_ObjectivesPage_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass ObjectivesPage.ObjectivesPage_C // 0x0080 (0x0460 - 0x03E0) class UObjectivesPage_C : public UCommonActivatablePanel { public: struct FPointerToUberGraphFrame UberGraphFrame; // 0x03E0(0x0008) (Transient, DuplicateTransient) class UActiveModifiersPanelContent_C* ActiveModifiersPanelContent; // 0x03E8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UIconTextButton_C* BadgesButton; // 0x03F0(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UBadgesEarnedPanelContent_C* BadgesEarnedPanelContent_1; // 0x03F8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UScrollBox* ContentPanelScrollBox; // 0x0400(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UCommonWidgetSwitcher* ContentPanelSwitcher; // 0x0408(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UIconTextButton_C* MissionButton; // 0x0410(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UMissionPanelContent_C* MissionPanelContent_1; // 0x0418(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UIconTextButton_C* ModifiersButton; // 0x0420(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UIconTextButton_C* ObjectivesButton; // 0x0428(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UObjectivesPanelContent_C* ObjectivesPanelContent_1; // 0x0430(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class USafeZone* SafeZone_1; // 0x0438(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UIconTextButton_C* Scorebutton; // 0x0440(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UTeamScorePanelContent_C* TeamScorePanelContent_1; // 0x0448(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UZoneDetails_C* ZoneDetails; // 0x0450(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, RepNotify, Interp, NonTransactional, EditorOnly, NoDestructor, AutoWeak, ContainsInstancedReference, AssetRegistrySearchable, SimpleDisplay, AdvancedDisplay, Protected, BlueprintCallable, BlueprintAuthorityOnly, TextExportTransient, NonPIEDuplicateTransient, ExposeOnSpawn, PersistentInstance, UObjectWrapper, HasGetValueTypeHash, NativeAccessSpecifierPublic, NativeAccessSpecifierProtected, NativeAccessSpecifierPrivate) class UCommonButtonGroup* ButtonGroup; // 0x0458(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData) static UClass* StaticClass() { static auto ptr = UObject::FindClass("WidgetBlueprintGeneratedClass ObjectivesPage.ObjectivesPage_C"); return ptr; } void MissionHasModifiers(bool* MissionHasModifiers); void ConfigureModifiersView(bool ShowModifiers); void HandleInventory(bool* PassThrough); void HandleSelectedButtonChanged(class UCommonButton* InButton, int InButtonIndex); void HandleBack(bool* PassThrough); void Construct(); void OnActivated(); void Destruct(); void OnActiveGameplayModifiersChanged_Event_1(TArray<class UFortGameplayModifierItemDefinition*> AppliedModifiers); void ExecuteUbergraph_ObjectivesPage(int EntryPoint); }; } #ifdef _MSC_VER #pragma pack(pop) #endif
169.903226
644
0.776058
Milxnor
7a39d692a83407f9958b9bbabc03ce31fb198ed9
1,143
cpp
C++
practice/sort/merge.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
practice/sort/merge.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
practice/sort/merge.cpp
ja-ho/swfc
1aad671199f14c69228430228b161b4f7a09c4f7
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <time.h> #define swap(a, b) {int t; t = a; a = b; b = t;} void merge_sort(int *arr, int size); int main() { int size; int *arr; srand((unsigned int)time(NULL)); scanf("%d", &size); arr = (int *)malloc(sizeof(int) * size); for (int i = 0; i < size; i++) { arr[i] = rand() % 1000; } for (int i = 0; i < size; i++) { printf("%d ", arr[i]); } printf("\n"); merge_sort(arr, size); printf("-------------after shell sort\n"); for (int i = 0; i < size; i++) { printf("%d ", arr[i]); } printf("\n"); free(arr); return 0; } void merge_sort(int *arr, int size) { if (size == 1) return; merge_sort(arr, size / 2); merge_sort(arr + size / 2, size - size /2); int *temp_arr = (int *)malloc(sizeof(int) * size); int i = 0; int j = size / 2; int idx = 0; while (i < size / 2 && j < size) { if (arr[i] < arr[j]) temp_arr[idx++] = arr[i++]; else temp_arr[idx++] = arr[j++]; } while (i < size / 2) temp_arr[idx++] = arr[i++]; while (j < size) temp_arr[idx++] = arr[j++]; for (idx = 0; idx < size; idx++) { arr[idx] = temp_arr[idx]; } free(temp_arr); return; }
19.706897
51
0.534558
ja-ho
7a3c80efc439b64d0a010b228281e4f0d9ee027e
2,418
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_GetUnqlNameAsDtor.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_GetUnqlNameAsDtor.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_GetUnqlNameAsDtor.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_GetUnqlNameAsDtor.cpp // #include "smtc_GetUnqlNameAsDtor.h" // semantic #include "smtc_BaseNameVisitor.h" #include "smtc_CreateDtorBaseName.h" #include "smtc_CreateNonTmplName.h" #include "smtc_CreateTmplName.h" #include "smtc_IdentBaseName.h" #include "smtc_NameVisitor.h" #include "smtc_NonTmplName.h" #include "smtc_QualName.h" #include "smtc_TmplName.h" #define LZZ_INLINE inline namespace { using namespace smtc; } namespace { struct GetBaseNameAsDtor : BaseNameVisitor { BaseNamePtr & res_base_name; void visit (IdentBaseName const & base_name) const; public: explicit GetBaseNameAsDtor (BaseNamePtr & res_base_name); ~ GetBaseNameAsDtor (); }; } namespace { BaseNamePtr getBaseNameAsDtor (BaseNamePtr const & base_name); } namespace { struct GetUnqlNameAsDtor : NameVisitor { NamePtr & res_name; void visit (TmplName const & name) const; void visit (NonTmplName const & name) const; public: explicit GetUnqlNameAsDtor (NamePtr & res_name); ~ GetUnqlNameAsDtor (); }; } namespace { void GetBaseNameAsDtor::visit (IdentBaseName const & base_name) const { res_base_name = createDtorBaseName (base_name.getLoc (), base_name.getIdent ()); } } namespace { LZZ_INLINE GetBaseNameAsDtor::GetBaseNameAsDtor (BaseNamePtr & res_base_name) : res_base_name (res_base_name) {} } namespace { GetBaseNameAsDtor::~ GetBaseNameAsDtor () {} } namespace { BaseNamePtr getBaseNameAsDtor (BaseNamePtr const & base_name) { BaseNamePtr res_base_name = base_name; base_name->accept (GetBaseNameAsDtor (res_base_name)); return res_base_name; } } namespace { void GetUnqlNameAsDtor::visit (TmplName const & name) const { res_name = createTmplName (getBaseNameAsDtor (name.getBaseName ()), name.hasTemplateKeyword (), name.getArgs ()); } } namespace { void GetUnqlNameAsDtor::visit (NonTmplName const & name) const { res_name = createNonTmplName (getBaseNameAsDtor (name.getBaseName ())); } } namespace { LZZ_INLINE GetUnqlNameAsDtor::GetUnqlNameAsDtor (NamePtr & res_name) : res_name (res_name) {} } namespace { GetUnqlNameAsDtor::~ GetUnqlNameAsDtor () {} } namespace smtc { NamePtr getUnqlNameAsDtor (NamePtr const & name) { NamePtr res_name = name; name->accept (GetUnqlNameAsDtor (res_name)); return res_name; } } #undef LZZ_INLINE
22.183486
119
0.717535
SuperDizor
7a4156f9bb7f0723e6e4370e4d821f0c59e5f684
1,096
cpp
C++
DFRobot_gxy.cpp
ghjklzx/DFRobot_gxy
52f2fbe11a4f955f47cba6454287d2af1a86c89b
[ "MIT" ]
null
null
null
DFRobot_gxy.cpp
ghjklzx/DFRobot_gxy
52f2fbe11a4f955f47cba6454287d2af1a86c89b
[ "MIT" ]
null
null
null
DFRobot_gxy.cpp
ghjklzx/DFRobot_gxy
52f2fbe11a4f955f47cba6454287d2af1a86c89b
[ "MIT" ]
null
null
null
/*! * @file DFRobot_gxy.h * @brief 定义DFRobot_gxy 类的基础结构,基础方法的实现 * * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) * @licence The MIT License (MIT) * @author [Arya](xue.peng@dfrobot.com) * @version V1.0 * @eGDAte 2019-07-28 * @get from https://www.dfrobot.com * @url https://github.com/zhongdatao/DFRobot_test */ #include <DFRobot_gxy.h> #include <string.h> //构造函数的重写 DFRobot_gxy::DFRobot_gxy(){ Serial.println("hello DFRobot!!!"); } //虚构函数的重写 DFRobot_gxy::~DFRobot_gxy(){ Serial.println("byebye DFRobot!!!"); } //设置姓名的函数 int DFRobot_gxy::setName(const char * name){ if(strlen(name)<20){ _name = name; return 0; } return -1; } //设置年龄的函数(输入整数类型) int DFRobot_gxy::setAge(uint8_t age){ if((age>18) || (age<100)){ _age = age; return 0; } return -1; } //设置年龄的函数(输入字符串类型) int DFRobot_gxy::setAge(String age){ int tem = age.toInt();//toInt是把字符串类型转换成整数类型的函数 if((tem>18) || (tem<100)){ _age = tem; return 1; } return 0; } //得到姓名函数 String DFRobot_gxy::getName(){ return _name; } //得到年龄函数 uint8_t DFRobot_gxy::getAge() { return _age; }
19.22807
74
0.664234
ghjklzx
7a4271866b15efe0d8fa35fa66f92d1e40ac09d5
559
hpp
C++
code/src/utility/intrinsics.hpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
3
2020-04-29T14:55:58.000Z
2020-08-20T08:43:24.000Z
code/src/utility/intrinsics.hpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
1
2022-03-12T11:37:46.000Z
2022-03-12T20:17:38.000Z
code/src/utility/intrinsics.hpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
null
null
null
#ifndef UTILITY_INTRINSICS_HPP #define UTILITY_INTRINSICS_HPP #if defined(_MSC_VER) # include <intrin.h> #endif #if defined(__GNUG__) # define intrinsic_likely(x) __builtin_expect(!!(x), 1) #else # define intrinsic_likely(x) !!(x) #endif /** * Hint to the compiler that this path will never be reached. */ #if defined(__GNUG__) # define intrinsic_unreachable() __builtin_unreachable() #elif defined (_MSC_VER) # define intrinsic_unreachable() __assume(0) #else # define intrinsic_unreachable() do {} while(0) #endif #endif /* UTILITY_INTRINSICS_HPP */
20.703704
61
0.753131
shossjer
7a43f5407499cc5e5938b2577bdb38d2f2b15440
2,668
hpp
C++
src/graphics/vulkan/GraphicsPipeline.hpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
src/graphics/vulkan/GraphicsPipeline.hpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
src/graphics/vulkan/GraphicsPipeline.hpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
#ifndef FIRESTORM_GRAPHICSPIPELINE_HPP #define FIRESTORM_GRAPHICSPIPELINE_HPP #include "Shader.hpp" #include "SwapChain.hpp" #include "RenderPass.hpp" #include "DepthImage.hpp" #include <vulkan/vulkan.h> #include <memory> namespace fs::graphics { class GraphicsPipeline { public: GraphicsPipeline(); virtual ~GraphicsPipeline() = default; void create(const Shader& vertexShader, const Shader& fragmentShader, const SwapChain& swapChain); virtual void destroy(); const SwapChain* getSwapChain() const; const VkDescriptorPool& getDescriptorPool() const; const VkDescriptorSetLayout& getSceneDescriptorSetLayout() const; const VkDescriptorSetLayout& getMaterialDescriptorSetLayout() const; const RenderPass* getRenderPass() const; const VkPipeline& getGraphicsPipeline() const; const VkPipelineLayout& getGraphicsPipelineLayout() const; private: RenderPassPtr renderPass; const SwapChain* swapChain = nullptr; VkPipelineLayout graphicsPipelineLayout = VK_NULL_HANDLE; VkPipeline graphicsPipeline = VK_NULL_HANDLE; VkSampler textureSampler; VkDescriptorSetLayout sceneDescriptorSetLayout = VK_NULL_HANDLE; VkDescriptorSetLayout materialDescriptorSetLayout = VK_NULL_HANDLE; VkDescriptorPool descriptorPool = VK_NULL_HANDLE; private: void createDescriptorSetLayouts(); void createPipelineLayout(); void createPipeline(const Shader& vertexShader, const Shader& fragmentShader); void createTextureSampler(); void createDescriptorPool(); std::array<VkPipelineShaderStageCreateInfo, 2> getShaderStage(const Shader& vertexShader, const Shader& fragmentShader) const; VkPipelineVertexInputStateCreateInfo getVertexInput(VkVertexInputBindingDescription& bindingDescription, std::array<VkVertexInputAttributeDescription, 3>& attributeDescription) const; VkPipelineInputAssemblyStateCreateInfo getInputAssembly() const; VkPipelineViewportStateCreateInfo getViewportState(VkViewport& viewport, VkRect2D& scissor) const; VkPipelineRasterizationStateCreateInfo getRasterization() const; VkPipelineMultisampleStateCreateInfo getMultisample() const; VkPipelineColorBlendAttachmentState getColorBlendAttachment() const; VkPipelineColorBlendStateCreateInfo getColorBlend(VkPipelineColorBlendAttachmentState& colorBlendAttachment) const; VkPipelineDepthStencilStateCreateInfo getDepthStencil() const; VkViewport getViewport() const; VkRect2D getScissors() const; }; typedef std::unique_ptr<GraphicsPipeline> GraphicsPipelinePtr; } #endif //FIRESTORM_GRAPHICSPIPELINE_HPP
35.105263
134
0.788231
Galhad
7a4876acc763ad397bd4258809ef7f853793dc29
10,748
cpp
C++
obs-studio/libobs-d3d11/d3d11-texture2d.cpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/libobs-d3d11/d3d11-texture2d.cpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/libobs-d3d11/d3d11-texture2d.cpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
/****************************************************************************** Copyright (C) 2013 by Hugh Bailey <obs.jim@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ******************************************************************************/ #include <util/base.h> #include "d3d11-subsystem.hpp" void gs_texture_2d::InitSRD(vector<D3D11_SUBRESOURCE_DATA> &srd) { uint32_t rowSizeBytes = width * gs_get_format_bpp(format); uint32_t texSizeBytes = height * rowSizeBytes / 8; size_t textures = type == GS_TEXTURE_2D ? 1 : 6; uint32_t actual_levels = levels; size_t curTex = 0; if (!actual_levels) actual_levels = gs_get_total_levels(width, height, 1); rowSizeBytes /= 8; for (size_t i = 0; i < textures; i++) { uint32_t newRowSize = rowSizeBytes; uint32_t newTexSize = texSizeBytes; for (uint32_t j = 0; j < actual_levels; j++) { D3D11_SUBRESOURCE_DATA newSRD; newSRD.pSysMem = data[curTex++].data(); newSRD.SysMemPitch = newRowSize; newSRD.SysMemSlicePitch = newTexSize; srd.push_back(newSRD); newRowSize /= 2; newTexSize /= 4; } } } void gs_texture_2d::BackupTexture(const uint8_t *const *data) { uint32_t textures = type == GS_TEXTURE_CUBE ? 6 : 1; uint32_t bbp = gs_get_format_bpp(format); this->data.resize(levels * textures); for (uint32_t t = 0; t < textures; t++) { uint32_t w = width; uint32_t h = height; for (uint32_t lv = 0; lv < levels; lv++) { uint32_t i = levels * t + lv; if (!data[i]) break; uint32_t texSize = bbp * w * h / 8; vector<uint8_t> &subData = this->data[i]; subData.resize(texSize); memcpy(&subData[0], data[i], texSize); if (w > 1) w /= 2; if (h > 1) h /= 2; } } } void gs_texture_2d::GetSharedHandle(IDXGIResource *dxgi_res) { HANDLE handle; HRESULT hr; hr = dxgi_res->GetSharedHandle(&handle); if (FAILED(hr)) { blog(LOG_WARNING, "GetSharedHandle: Failed to " "get shared handle: %08lX", hr); } else { sharedHandle = (uint32_t)(uintptr_t)handle; } } void gs_texture_2d::InitTexture(const uint8_t *const *data) { HRESULT hr; memset(&td, 0, sizeof(td)); td.Width = width; td.Height = height; td.MipLevels = genMipmaps ? 0 : levels; td.ArraySize = type == GS_TEXTURE_CUBE ? 6 : 1; td.Format = nv12 ? DXGI_FORMAT_NV12 : dxgiFormatResource; td.BindFlags = D3D11_BIND_SHADER_RESOURCE; td.SampleDesc.Count = 1; td.CPUAccessFlags = isDynamic ? D3D11_CPU_ACCESS_WRITE : 0; td.Usage = isDynamic ? D3D11_USAGE_DYNAMIC : D3D11_USAGE_DEFAULT; if (type == GS_TEXTURE_CUBE) td.MiscFlags |= D3D11_RESOURCE_MISC_TEXTURECUBE; if (isRenderTarget || isGDICompatible) td.BindFlags |= D3D11_BIND_RENDER_TARGET; if (isGDICompatible) td.MiscFlags |= D3D11_RESOURCE_MISC_GDI_COMPATIBLE; if ((flags & GS_SHARED_KM_TEX) != 0) td.MiscFlags |= D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX; else if ((flags & GS_SHARED_TEX) != 0) td.MiscFlags |= D3D11_RESOURCE_MISC_SHARED; if (data) { BackupTexture(data); InitSRD(srd); } hr = device->device->CreateTexture2D(&td, data ? srd.data() : NULL, texture.Assign()); if (FAILED(hr)) throw HRError("Failed to create 2D texture", hr); if (isGDICompatible) { hr = texture->QueryInterface(__uuidof(IDXGISurface1), (void **)gdiSurface.Assign()); if (FAILED(hr)) throw HRError("Failed to create GDI surface", hr); } if (isShared) { ComPtr<IDXGIResource> dxgi_res; texture->SetEvictionPriority(DXGI_RESOURCE_PRIORITY_MAXIMUM); hr = texture->QueryInterface(__uuidof(IDXGIResource), (void **)&dxgi_res); if (FAILED(hr)) { blog(LOG_WARNING, "InitTexture: Failed to query " "interface: %08lX", hr); } else { GetSharedHandle(dxgi_res); if (flags & GS_SHARED_KM_TEX) { ComPtr<IDXGIKeyedMutex> km; hr = texture->QueryInterface( __uuidof(IDXGIKeyedMutex), (void **)&km); if (FAILED(hr)) { throw HRError("Failed to query " "IDXGIKeyedMutex", hr); } km->AcquireSync(0, INFINITE); acquired = true; } } } } void gs_texture_2d::InitResourceView() { HRESULT hr; memset(&viewDesc, 0, sizeof(viewDesc)); viewDesc.Format = dxgiFormatView; if (type == GS_TEXTURE_CUBE) { viewDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURECUBE; viewDesc.TextureCube.MipLevels = genMipmaps || !levels ? -1 : levels; } else { viewDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; viewDesc.Texture2D.MipLevels = genMipmaps || !levels ? -1 : levels; } hr = device->device->CreateShaderResourceView(texture, &viewDesc, shaderRes.Assign()); if (FAILED(hr)) throw HRError("Failed to create SRV", hr); viewDescLinear = viewDesc; viewDescLinear.Format = dxgiFormatViewLinear; if (dxgiFormatView == dxgiFormatViewLinear) { shaderResLinear = shaderRes; } else { hr = device->device->CreateShaderResourceView( texture, &viewDescLinear, shaderResLinear.Assign()); if (FAILED(hr)) throw HRError("Failed to create linear SRV", hr); } } void gs_texture_2d::InitRenderTargets() { HRESULT hr; if (type == GS_TEXTURE_2D) { D3D11_RENDER_TARGET_VIEW_DESC rtv; rtv.Format = dxgiFormatView; rtv.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D; rtv.Texture2D.MipSlice = 0; hr = device->device->CreateRenderTargetView( texture, &rtv, renderTarget[0].Assign()); if (FAILED(hr)) throw HRError("Failed to create RTV", hr); if (dxgiFormatView == dxgiFormatViewLinear) { renderTargetLinear[0] = renderTarget[0]; } else { rtv.Format = dxgiFormatViewLinear; hr = device->device->CreateRenderTargetView( texture, &rtv, renderTargetLinear[0].Assign()); if (FAILED(hr)) throw HRError("Failed to create linear RTV", hr); } } else { D3D11_RENDER_TARGET_VIEW_DESC rtv; rtv.Format = dxgiFormatView; rtv.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DARRAY; rtv.Texture2DArray.MipSlice = 0; rtv.Texture2DArray.ArraySize = 1; for (UINT i = 0; i < 6; i++) { rtv.Texture2DArray.FirstArraySlice = i; hr = device->device->CreateRenderTargetView( texture, &rtv, renderTarget[i].Assign()); if (FAILED(hr)) throw HRError("Failed to create cube RTV", hr); if (dxgiFormatView == dxgiFormatViewLinear) { renderTargetLinear[i] = renderTarget[i]; } else { rtv.Format = dxgiFormatViewLinear; hr = device->device->CreateRenderTargetView( texture, &rtv, renderTargetLinear[i].Assign()); if (FAILED(hr)) throw HRError( "Failed to create linear cube RTV", hr); } } } } #define SHARED_FLAGS (GS_SHARED_TEX | GS_SHARED_KM_TEX) gs_texture_2d::gs_texture_2d(gs_device_t *device, uint32_t width, uint32_t height, gs_color_format colorFormat, uint32_t levels, const uint8_t *const *data, uint32_t flags_, gs_texture_type type, bool gdiCompatible, bool nv12_) : gs_texture(device, gs_type::gs_texture_2d, type, levels, colorFormat), width(width), height(height), flags(flags_), dxgiFormatResource(ConvertGSTextureFormatResource(format)), dxgiFormatView(ConvertGSTextureFormatView(format)), dxgiFormatViewLinear(ConvertGSTextureFormatViewLinear(format)), isRenderTarget((flags_ & GS_RENDER_TARGET) != 0), isGDICompatible(gdiCompatible), isDynamic((flags_ & GS_DYNAMIC) != 0), isShared((flags_ & SHARED_FLAGS) != 0), genMipmaps((flags_ & GS_BUILD_MIPMAPS) != 0), sharedHandle(GS_INVALID_HANDLE), nv12(nv12_) { InitTexture(data); InitResourceView(); if (isRenderTarget) InitRenderTargets(); } gs_texture_2d::gs_texture_2d(gs_device_t *device, ID3D11Texture2D *nv12tex, uint32_t flags_) : gs_texture(device, gs_type::gs_texture_2d, GS_TEXTURE_2D), isRenderTarget((flags_ & GS_RENDER_TARGET) != 0), isDynamic((flags_ & GS_DYNAMIC) != 0), isShared((flags_ & SHARED_FLAGS) != 0), genMipmaps((flags_ & GS_BUILD_MIPMAPS) != 0), nv12(true), texture(nv12tex) { texture->GetDesc(&td); this->type = GS_TEXTURE_2D; this->format = GS_R8G8; this->flags = flags_; this->levels = 1; this->device = device; this->chroma = true; this->width = td.Width / 2; this->height = td.Height / 2; this->dxgiFormatResource = DXGI_FORMAT_R8G8_UNORM; this->dxgiFormatView = DXGI_FORMAT_R8G8_UNORM; this->dxgiFormatViewLinear = DXGI_FORMAT_R8G8_UNORM; InitResourceView(); if (isRenderTarget) InitRenderTargets(); } gs_texture_2d::gs_texture_2d(gs_device_t *device, uint32_t handle, bool ntHandle) : gs_texture(device, gs_type::gs_texture_2d, GS_TEXTURE_2D), isShared(true), sharedHandle(handle) { HRESULT hr; if (ntHandle) { ComQIPtr<ID3D11Device1> dev = device->device; hr = dev->OpenSharedResource1((HANDLE)(uintptr_t)handle, __uuidof(ID3D11Texture2D), (void **)texture.Assign()); } else { hr = device->device->OpenSharedResource( (HANDLE)(uintptr_t)handle, __uuidof(ID3D11Texture2D), (void **)texture.Assign()); } if (FAILED(hr)) throw HRError("Failed to open shared 2D texture", hr); texture->GetDesc(&td); const gs_color_format format = ConvertDXGITextureFormat(td.Format); this->type = GS_TEXTURE_2D; this->format = format; this->levels = 1; this->device = device; this->width = td.Width; this->height = td.Height; this->dxgiFormatResource = ConvertGSTextureFormatResource(format); this->dxgiFormatView = ConvertGSTextureFormatView(format); this->dxgiFormatViewLinear = ConvertGSTextureFormatViewLinear(format); InitResourceView(); } gs_texture_2d::gs_texture_2d(gs_device_t *device, ID3D11Texture2D *obj) : gs_texture(device, gs_type::gs_texture_2d, GS_TEXTURE_2D) { texture = obj; texture->GetDesc(&td); const gs_color_format format = ConvertDXGITextureFormat(td.Format); this->type = GS_TEXTURE_2D; this->format = format; this->levels = 1; this->device = device; this->width = td.Width; this->height = td.Height; this->dxgiFormatResource = ConvertGSTextureFormatResource(format); this->dxgiFormatView = ConvertGSTextureFormatView(format); this->dxgiFormatViewLinear = ConvertGSTextureFormatViewLinear(format); InitResourceView(); }
28.136126
79
0.690175
noelemahcz
7a4988d3fc7ec5c0babc0f6f39cab718549abae9
905
cc
C++
libs/xmi/legacy-test-xmi.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/xmi/legacy-test-xmi.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/xmi/legacy-test-xmi.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
//========================================================================== // ObTools::XMI: test-xmi.cc // // Test harness for ObTools XMI reader // // Copyright (c) 2003 Paul Clark. All rights reserved // This code comes with NO WARRANTY and is subject to licence agreement //========================================================================== #include "ot-xmi.h" using namespace std; //-------------------------------------------------------------------------- // Main int main() { ObTools::XMI::Reader reader; try { cin >> reader; } catch (const ObTools::XMI::ParseFailed&) { cerr << "XMI parse failed" << endl; return 2; } if (!reader.model) return 4; // Show versions cout << "XMI version: " << reader.xmi_version << endl; cout << "UML version: " << reader.model->uml_version << endl; // List model reader.model->print(cout); return 0; }
20.111111
76
0.468508
sandtreader
7a4a08b3ca9e32900eb540bfb2fe90a757a42eaf
1,356
cpp
C++
LeetCode/DynamicProgramming/WordBreak.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/DynamicProgramming/WordBreak.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/DynamicProgramming/WordBreak.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 139 Word Break * Medium * Jiawei Wang * 2021 8.24 */ #include <vector> #include <string> #include <unordered_map> using namespace::std; // catsandog // cats dog sand and cat // // 1. dog + Break(catsan) // 2. since catsan is not breakable return false class Solution { public: // DP (true and false) bool wordBreak(string s, vector<string>& wordDict) { // Key: the hole string s must be used, so we divide it // each compones must be divided into two parts: // | can1/cannot2 break | can1/cannot2 break | // 1 + 1 return true // otherwise return false // Mark word in dict as breakable for (const string& word : wordDict) { mem.emplace(word, true); } return Break(s); } // Recursion bool Break(const string& s) { // return whether s is in wordDict if (mem.count(s)) return mem[s]; // // if s do not in wordDict, then we get the substr of s for (int j = 1; j < s.length(); j++) { auto it = mem.find(s.substr(j)); // from j to the end // if we get a substr which in wordDict if (it != mem.end() && it->second && Break(s.substr(0, j))) return mem[s] = true; } return mem[s] = false; // this string are not breakable and just return false // since the s.substr(0, j) cannot be divided into words in wordDict } private: unordered_map<string, bool> mem; };
21.870968
86
0.635693
a4org
7a4cbd4d6b56454eb9fd1e51bd87fb6322a6318d
800
hpp
C++
dialogs/newGame/dialogs.hpp
Kortonki/antistasi_remastered
11c005467d8efb7c709621c00d9b16ae1a5f3be2
[ "BSD-3-Clause" ]
null
null
null
dialogs/newGame/dialogs.hpp
Kortonki/antistasi_remastered
11c005467d8efb7c709621c00d9b16ae1a5f3be2
[ "BSD-3-Clause" ]
26
2020-05-15T14:38:08.000Z
2021-06-28T18:26:53.000Z
dialogs/newGame/dialogs.hpp
Kortonki/antistasi_remastered
11c005467d8efb7c709621c00d9b16ae1a5f3be2
[ "BSD-3-Clause" ]
null
null
null
class AS_newGameMenu { idd=1601; movingenable=false; class controls { AS_DIALOG(9,"Configure new game", "[] spawn AS_fnc_UI_newGame_close;"); BTN_L(1,-1,"Rebel against the West", "", "[""east""] call AS_fnc_UI_newGame_update;"); BTN_R(1,-1,"Rebel against the East", "", "[""west""] call AS_fnc_UI_newGame_update;"); // Guerilla READ(0,2,-1,1,"Your faction"); LIST_L(0,3,0,2,""); // Pro-guerrilla READ(1,2,-1,1,"Your supporter"); LIST_L(1,3,1,2,""); // State READ(0,5,-1,1,"The state"); LIST_L(0,6,2,2,""); // Pro-state READ(1,5,-1,1,"The state's supporter"); LIST_L(1,6,3,2,""); BTN_L(8,-1,"Cycle starting difficulty:", "Normal only for now", "[] call AS_fnc_UI_newGame_cycleDifficulty;"); READ(1,8,4,1,"normal"); BTN_M(9,-1,"Start game", "", "[] spawn AS_fnc_UI_newGame_start;"); }; };
23.529412
110
0.6525
Kortonki
7a53d0bab8160aa2be5a6edb7cb89d8df0dd7f0f
2,137
cpp
C++
Framework/Common/Image.cpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
1,217
2017-08-18T02:41:11.000Z
2022-03-30T01:48:46.000Z
Framework/Common/Image.cpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
16
2017-09-05T15:04:37.000Z
2021-09-09T13:59:38.000Z
Framework/Common/Image.cpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
285
2017-08-18T04:53:55.000Z
2022-03-30T00:02:15.000Z
#include "Image.hpp" using namespace std; namespace My { Image::Image(Image&& rhs) noexcept { Width = rhs.Width; Height = rhs.Height; data = rhs.data; bitcount = rhs.bitcount; pitch = rhs.pitch; data_size = rhs.data_size; compressed = rhs.compressed; is_float = rhs.is_float; compress_format = rhs.compress_format; mipmaps = std::move(rhs.mipmaps); rhs.Width = 0; rhs.Height = 0; rhs.data = nullptr; rhs.bitcount = 0; rhs.pitch = 0; rhs.data_size = 0; rhs.compressed = false; rhs.is_float = false; rhs.compress_format = 0; } Image& Image::operator=(Image&& rhs) noexcept { if (this != &rhs) { Width = rhs.Width; Height = rhs.Height; data = rhs.data; bitcount = rhs.bitcount; pitch = rhs.pitch; data_size = rhs.data_size; compressed = rhs.compressed; is_float = rhs.is_float; compress_format = rhs.compress_format; mipmaps = std::move(rhs.mipmaps); rhs.Width = 0; rhs.Height = 0; rhs.data = nullptr; rhs.bitcount = 0; rhs.pitch = 0; rhs.data_size = 0; rhs.compressed = false; rhs.is_float = false; rhs.compress_format = 0; } return *this; } ostream& operator<<(ostream& out, const Image& image) { out << "Image" << endl; out << "-----" << endl; out << "Width: " << image.Width << endl; out << "Height: " << image.Height << endl; out << "Bit Count: " << image.bitcount << endl; out << "Pitch: " << image.pitch << endl; out << "Data Size: " << image.data_size << endl; #if DUMP_DETAILS int byte_count = image.bitcount >> 3; for (uint32_t i = 0; i < image.Height; i++) { for (uint32_t j = 0; j < image.Width; j++) { for (auto k = 0; k < byte_count; k++) { printf("%x ", reinterpret_cast<uint8_t*>( image.data)[image.pitch * i + j * byte_count + k]); } cout << "\t"; } cout << endl; } #endif return out; } } // namespace My
26.382716
78
0.533926
lishaojiang
7a575c040a41f49d73f4c67edff8dca3fbb6d665
2,002
hpp
C++
Include/multi_index/detail/base_type.hpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
Include/multi_index/detail/base_type.hpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
Include/multi_index/detail/base_type.hpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
/* Copyright 2003-2013 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * See http://www.boost.org/libs/multi_index for library home page. */ #pragma once #include <brigand/functions/eval_if.hpp> #include <brigand/functions/arithmetic/identity.hpp> #include <multi_index/indexed_by.hpp> #include <multi_index/detail/index_base.hpp> #include <multi_index/detail/is_index_list.hpp> #include <multi_index/detail/tuple_support.hpp> #include <type_traits> namespace multi_index{ namespace detail{ /* MPL machinery to construct a linear hierarchy of indices out of * a index list. */ template <typename IndexSpecifierMeta, typename SuperMeta> struct next_index_layer { using index_specifier = typename IndexSpecifierMeta::type; using type = typename index_specifier::template index_class<SuperMeta>::type; }; template <int N,typename... Ts> struct nth_layer_impl; template <int N,typename V, typename A, typename... Ts> struct nth_layer_impl<N, V, A, std::tuple<Ts...>> { typedef std::tuple<Ts...> T; static const int length = std::tuple_size<T>::value; typedef typename brigand::eval_if_c< N==length, brigand::identity<index_base<V, indexed_by<Ts...>, A>>, next_index_layer< std::tuple_element<N, T>, nth_layer_impl<N+1, V, A, std::tuple<Ts...>> > >::type type; }; template <int N, typename... Ts> struct nth_layer; template <int N,typename Value, typename Index, typename Allocator> struct nth_layer<N, Value, Index, Allocator> { using type = typename nth_layer_impl<N, Value, Allocator, Index>::type; }; template <typename Value, typename IndexSpecifierList, typename Allocator> struct multi_index_base_type: nth_layer<0,Value, IndexSpecifierList, Allocator> { static_assert(detail::is_index_list<IndexSpecifierList>::value, ""); }; } /* namespace multi_index::detail */ } /* namespace multi_index */
26.342105
81
0.737762
pablokawan
7a57dba24c6784f4e2e3561debb3f5630753149a
247
cpp
C++
src/square_attacked.cpp
superchessengine/libchess
a169b5efe61bb8ce53eab7edf5445a78997fec80
[ "MIT" ]
4
2021-05-27T01:40:06.000Z
2022-02-28T12:14:41.000Z
src/square_attacked.cpp
superchessengine/libchess
a169b5efe61bb8ce53eab7edf5445a78997fec80
[ "MIT" ]
4
2021-09-02T16:28:46.000Z
2022-03-29T13:35:41.000Z
src/square_attacked.cpp
superchessengine/libchess
a169b5efe61bb8ce53eab7edf5445a78997fec80
[ "MIT" ]
4
2021-09-07T17:04:04.000Z
2022-01-17T20:03:09.000Z
#include "libchess/movegen.hpp" #include "libchess/position.hpp" namespace libchess { [[nodiscard]] bool Position::square_attacked(const Square sq, const Side s) const noexcept { return !attackers(sq, s).empty(); } } // namespace libchess
22.454545
92
0.728745
superchessengine
7a590e2b56992d79c3e13332d48838031cfc061f
1,917
hpp
C++
include/codegen/include/RootMotion/FinalIK/IKSolver_Node.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/RootMotion/FinalIK/IKSolver_Node.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/RootMotion/FinalIK/IKSolver_Node.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:16 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: RootMotion.FinalIK.IKSolver/Point #include "RootMotion/FinalIK/IKSolver_Point.hpp" #include "utils/il2cpp-utils.hpp" // Completed includes // Begin forward declares // Forward declaring namespace: UnityEngine namespace UnityEngine { // Forward declaring type: Transform class Transform; } // Completed forward declares // Type namespace: RootMotion.FinalIK namespace RootMotion::FinalIK { // Autogenerated type: RootMotion.FinalIK.IKSolver/Node class IKSolver::Node : public RootMotion::FinalIK::IKSolver::Point { public: // public System.Single length // Offset: 0x54 float length; // public System.Single effectorPositionWeight // Offset: 0x58 float effectorPositionWeight; // public System.Single effectorRotationWeight // Offset: 0x5C float effectorRotationWeight; // public UnityEngine.Vector3 offset // Offset: 0x60 UnityEngine::Vector3 offset; // public System.Void .ctor(UnityEngine.Transform transform) // Offset: 0x136EC5C static IKSolver::Node* New_ctor(UnityEngine::Transform* transform); // public System.Void .ctor(UnityEngine.Transform transform, System.Single weight) // Offset: 0x136EC8C static IKSolver::Node* New_ctor(UnityEngine::Transform* transform, float weight); // public System.Void .ctor() // Offset: 0x136EC58 // Implemented from: RootMotion.FinalIK.IKSolver/Point // Base method: System.Void Point::.ctor() // Base method: System.Void Object::.ctor() static IKSolver::Node* New_ctor(); }; // RootMotion.FinalIK.IKSolver/Node } DEFINE_IL2CPP_ARG_TYPE(RootMotion::FinalIK::IKSolver::Node*, "RootMotion.FinalIK", "IKSolver/Node"); #pragma pack(pop)
37.588235
100
0.703704
Futuremappermydud
7a5b3a5afb3aaf2bc8fdea578492e3e8c92210e3
3,575
cpp
C++
cpp/src/piece.cpp
oseiskar/3dtris
16f60c10b8496db1a584c0eaf55cc9959bffab3a
[ "Apache-2.0" ]
4
2018-07-06T21:03:00.000Z
2022-02-10T10:17:21.000Z
cpp/src/piece.cpp
oseiskar/3dtris
16f60c10b8496db1a584c0eaf55cc9959bffab3a
[ "Apache-2.0" ]
null
null
null
cpp/src/piece.cpp
oseiskar/3dtris
16f60c10b8496db1a584c0eaf55cc9959bffab3a
[ "Apache-2.0" ]
2
2021-08-04T05:49:30.000Z
2022-02-26T12:19:45.000Z
#include "piece.hpp" #include <array> #include <algorithm> #include <iterator> #include <assert.h> namespace pos_methods { Pos3d fromArray(std::array<int, 3> arr) { return Pos3d { arr[0], arr[1], arr[2] }; } std::array<int, 3> toArray(const Pos3d& pos) { return {{ pos.x, pos.y, pos.z }}; } Pos3d rotate(Pos3d pos, Rotation rot) { // 90 degeree rotation along X, Y or Z means exchanging/swapping // the values of the other two axes and flipping the sign on // one of these // which two axes are swapped by this rotation (order is important) Axis exAx0, exAx1; switch (rot.axis) { case Axis::X: exAx0 = Axis::Y; exAx1 = Axis::Z; break; case Axis::Y: exAx0 = Axis::Z; exAx1 = Axis::X; break; case Axis::Z: exAx0 = Axis::X; exAx1 = Axis::Y; break; } // determines on which axis the sign is flipped const int sign = rot.direction == RotationDirection::CCW ? 1 : -1; // before & after auto p0 = toArray(pos); decltype(p0) p1 = p0; // swap & sign flip p1[static_cast<int>(exAx0)] = -sign*p0[static_cast<int>(exAx1)]; p1[static_cast<int>(exAx1)] = sign*p0[static_cast<int>(exAx0)]; return fromArray(p1); } Pos3d setElement(const Pos3d &pos, Axis ax, int value) { auto a = toArray(pos); a[static_cast<int>(ax)] = value; return fromArray(a); } int getElement(const Pos3d &pos, Axis ax) { return toArray(pos)[static_cast<int>(ax)]; } } namespace block_methods { Block translate(const Block &target, Pos3d delta) { return Block { pos_methods::sum(target.pos, delta), target.pieceId }; } Block rotate(const Block &target, Rotation rot) { return Block { pos_methods::rotate(target.pos, rot), target.pieceId }; } } // snippet from http://blog.madhukaraphatak.com/functional-programming-in-c++/ template <typename Collection,typename unop> Collection map(Collection col, unop op) { std::transform(col.begin(), col.end(), col.begin(), op); return col; } Piece Piece::translated(Pos3d delta) const { return Piece { pos_methods::sum(center, delta), blocks }; } Piece Piece::rotated(Rotation rot) const { return Piece { center, map(blocks, [rot](Block b){ return block_methods::rotate(b, rot); }) }; } int Piece::getExtent(Axis axis, int direction) const { assert(direction == 1 || direction == -1); auto blocks = getBlocks(); std::vector<int> coords; for (auto b : blocks) { coords.push_back(pos_methods::getElement(b.pos, axis)); } return direction > 0 ? *std::max_element(coords.begin(), coords.end()) : *std::min_element(coords.begin(), coords.end()); } Piece Piece::translatedBeyond(Axis axis, int limit, int direction) const { const int extreme = getExtent(axis, -direction); const int diff = (limit - extreme)*direction; if (diff > 0) { return translated( pos_methods::setElement( Pos3d { 0, 0, 0 }, axis, diff*direction) ); } return *this; } std::vector<Block> Piece::getBlocks() const { const Pos3d c = center; return map(blocks, [c](const Block &b){ return block_methods::translate(b, c); }); }
25.719424
78
0.568392
oseiskar
7a5f4bb53524681abb48a2e09b37d3583a23fe43
1,744
cpp
C++
src/kernel/line_2.cpp
rgcv/libcgal-julia
8d5bc5f13d3c9c6160cfff795d2a0bbe1e473d94
[ "MIT" ]
5
2020-01-22T14:06:29.000Z
2021-09-23T11:29:18.000Z
src/kernel/line_2.cpp
rgcv/libcgal-julia
8d5bc5f13d3c9c6160cfff795d2a0bbe1e473d94
[ "MIT" ]
null
null
null
src/kernel/line_2.cpp
rgcv/libcgal-julia
8d5bc5f13d3c9c6160cfff795d2a0bbe1e473d94
[ "MIT" ]
2
2021-02-16T13:56:02.000Z
2022-03-14T17:17:30.000Z
#include <jlcxx/module.hpp> #include <julia.h> #include "io.hpp" #include "kernel.hpp" namespace jlcgal { void wrap_line_2(jlcxx::Module& kernel, jlcxx::TypeWrapper<Line_2>& line_2) { line_2 // Creation .constructor<const RT&, const RT&, const RT&>() .constructor<const Point_2&, const Point_2&>() .constructor<const Point_2&, const Direction_2&>() .constructor<const Point_2&, const Vector_2&>() .constructor<const Segment_2&>() .constructor<const Ray_2&>() ; kernel.set_override_module(jl_base_module); line_2 // Operators .method("==", &Line_2::operator==) ; kernel.unset_override_module(); line_2 .method("a", &Line_2::a) .method("b", &Line_2::b) .method("c", &Line_2::c) .method("point", [](const Line_2& l, const FT& i) { return l.point(i); }) .method("projection", &Line_2::projection) .method("x_at_y", &Line_2::x_at_y) .method("y_at_x", &Line_2::y_at_x) // Predicates .method("is_degenerate", &Line_2::is_degenerate) .method("is_horizontal", &Line_2::is_horizontal) .method("is_vertical", &Line_2::is_vertical) .method("oriented_side", &Line_2::oriented_side) // Convenience boolean functions .method("has_on", &Line_2::has_on) .method("has_on_positive_side", &Line_2::has_on_positive_side) .method("has_on_negative_side", &Line_2::has_on_negative_side) // Miscellaneous .method("to_vector", &Line_2::to_vector) .method("direction", &Line_2::direction) .method("opposite", &Line_2::opposite) .method("perpendicular", &Line_2::perpendicular) .method("transform", &Line_2::transform) // Representation .TO_STRING(Line_2) ; } } // jlcgal
31.709091
77
0.647362
rgcv
7a5fdb1b277772f6109728b85ae147315615bbf4
1,863
cpp
C++
src/Front/Mainwindow-zones/mainwindow-image.cpp
Igisid/Breeks-desktop
0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6
[ "Apache-2.0" ]
10
2020-12-20T15:32:20.000Z
2021-07-12T18:09:57.000Z
src/Front/Mainwindow-zones/mainwindow-image.cpp
Igisid/Breeks-desktop
0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6
[ "Apache-2.0" ]
2
2022-01-04T12:51:00.000Z
2022-01-04T14:40:19.000Z
src/Front/Mainwindow-zones/mainwindow-image.cpp
Igisid/Breeks-desktop
0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6
[ "Apache-2.0" ]
3
2020-12-22T02:50:11.000Z
2021-02-24T01:58:11.000Z
#include "Front/mainwindow.h" #include <iostream> #include <cstdlib> bool MainWindow::openImageFromDisk(const QString &imageName) { if ( QString::compare(imageName, QString()) != 0 ) { QImage image; bool valid = image.load(imageName); if (valid) { QJsonObject json; json.insert("linkToImage", imageName); json.insert("date", QDateTime(arrDays_[0].date).toMSecsSinceEpoch()); QUrl url = QUrl(Network::serverUrl + Network::addImageUrl); QJsonDocument jsonDoc(json); server->sendPostRequestWithBearerToken(url , jsonDoc.toJson(), userData->getAccessToken()); return true; } else { qDebug() << "CAN'T OPEN IMAGE"; } } return false; } void MainWindow::setImage(const QString &imageName) { if (QString::compare(imageName, QString()) != 0) { QPixmap pix(imageName); pix = pix.scaledToWidth(ui->buttonImage->width(), Qt::SmoothTransformation); QIcon buttonIcon(pix); ui->buttonImage->setIcon(buttonIcon); ui->buttonImage->setIconSize(pix.rect().size()); currentImageName_ = imageName; } } //image like button void MainWindow::on_buttonImage_clicked() { setImageBackgroundView(true); QString newImageName = QFileDialog::getOpenFileName(this, tr("Chose your image"), "", tr("Images(*.png *.jpg *.jpeg *.bmp *.gif)")); if (openImageFromDisk(newImageName)) { setImage(newImageName); //writeDataToFileLastVisit(); } setImageBackgroundView(false); } void MainWindow::setImageBackgroundView(bool status) { QString stylesheet = "background-color: #e6f6ff; border-radius: 6px;"; //default if (status == true) { stylesheet = "background-color: #abdfff; border-radius: 6px;"; } ui->buttonImage->setStyleSheet(stylesheet); ui->labelImageBackground->setStyleSheet(stylesheet); }
28.661538
100
0.667203
Igisid
7a61cc17c55f18a63b3bf5260f53264f47c5c2cf
2,830
hpp
C++
parsecpp/parser/parserResult.hpp
vorotynsky/ParseCpp
7dd3763dd42f2299aafc0930d2be8542f8682074
[ "Apache-2.0" ]
5
2020-03-20T20:04:45.000Z
2020-10-29T06:56:29.000Z
parsecpp/parser/parserResult.hpp
vorotynsky/ParseCpp
7dd3763dd42f2299aafc0930d2be8542f8682074
[ "Apache-2.0" ]
null
null
null
parsecpp/parser/parserResult.hpp
vorotynsky/ParseCpp
7dd3763dd42f2299aafc0930d2be8542f8682074
[ "Apache-2.0" ]
2
2020-04-12T20:41:22.000Z
2020-05-01T00:26:06.000Z
// Copyright 2020 Vorotynsky Maxim // // 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. #pragma once #include <stdexcept> namespace parsecpp { template <typename T, typename P> class SuccessParserResult; template <typename T, typename P> class FailureParserResult; template <typename T, typename P> class ParserResult { public: static inline ParserResult<T, P> *Success(const T &value, const P input) noexcept { return new SuccessParserResult<T, P>(input, value); } static inline ParserResult<T, P> *Failure(const std::string &error, const P input) noexcept { return new FailureParserResult<T, P>(input, error); } virtual operator bool() const noexcept { return false; } virtual const std::string &what() const { throw std::logic_error("This parser result haven't an error message. "); } virtual const T& value() const { throw std::logic_error("This parser result haven't a result value. "); } P getInput() const { return this->input; } virtual ~ParserResult() = default; protected: ParserResult(const P &input) : input(input) { } private: const P input; }; template <typename T, typename P> class SuccessParserResult final : private ParserResult<T, P> { operator bool() const noexcept override { return true; } const T& value() const override { return _value; } SuccessParserResult(const P &input, const T &value) : ParserResult<T, P> (input), _value(value) { } const T _value; friend ParserResult<T, P>; }; template <typename T, typename P> class FailureParserResult final : private ParserResult<T, P> { const std::string &what() const override { return message; } FailureParserResult(const P &input, const std::string &message) : ParserResult<T, P> (input), message(message) { } const std::string message; friend ParserResult<T, P>; }; }
26.698113
99
0.590813
vorotynsky
7a785be4485870c53b1ec1a6b7d219bea5c8d3d9
1,554
hpp
C++
PropertiesPanel/ConnectionPropertiesPanel.hpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
44
2017-10-14T19:27:44.000Z
2022-02-20T13:43:20.000Z
PropertiesPanel/ConnectionPropertiesPanel.hpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
72
2015-01-06T09:36:43.000Z
2017-07-08T17:36:45.000Z
PropertiesPanel/ConnectionPropertiesPanel.hpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
24
2018-02-02T04:29:29.000Z
2022-03-24T06:19:04.000Z
// Copyright (c) 2014-2014 Josh Blum // SPDX-License-Identifier: BSL-1.0 #pragma once #include <Pothos/Config.hpp> #include "GraphObjects/GraphEndpoint.hpp" #include "GraphEditor/GraphState.hpp" #include <QWidget> #include <QPointer> #include <QString> #include <map> class GraphConnection; class QPushButton; class QTreeWidgetItem; class QTreeWidget; class ConnectionPropertiesPanel : public QWidget { Q_OBJECT public: ConnectionPropertiesPanel(GraphConnection *conn, QWidget *parent); signals: void stateChanged(const GraphState &); public slots: void handleCancel(void); void handleCommit(void); private slots: void handleConnectionDestroyed(QObject *); void handleItemSelectionChanged(void); void handleCreateConnection(void); void handleRemoveConnection(void); private: QPointer<GraphConnection> _conn; const bool _isSlot; const bool _isSignal; QPushButton *_removeButton; QTreeWidget *_inputListWidget; QTreeWidget *_outputListWidget; QTreeWidget *_connectionsListWidget; void populateConnectionsList(void); std::map<QTreeWidgetItem *, QString> _inputItemToKey; std::map<QTreeWidgetItem *, QString> _outputItemToKey; std::map<QTreeWidgetItem *, std::pair<QString, QString>> _connItemToKeyPair; std::vector<std::pair<QString, QString>> _originalKeyPairs; //! Helper routine to build a port selector list widget QTreeWidget *makePortListWidget(QWidget *parent, const GraphConnectionEndpoint &ep, std::map<QTreeWidgetItem *, QString> &itemToKey); };
28.254545
137
0.758044
sielicki
7a80edf05b0bc5b7403f119bf85a57c62a33ce9b
853
cpp
C++
BUPT 2021 Winter Training #6/h.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
1
2022-03-04T15:11:33.000Z
2022-03-04T15:11:33.000Z
BUPT 2021 Winter Training #6/h.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
null
null
null
BUPT 2021 Winter Training #6/h.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long //const int inf=0x7fffffff; const int inf = 0x3f3f3f3f; const int maxn = 1e5 + 5; int t, n; struct G { ll a, b; } g[maxn]; bool cmp(G g1, G g2) { return g1.b > g2.b; } void solve() { cin >> n; for (int i = 1; i <= n; i++) { cin >> g[i].a >> g[i].b; if (g[i].a > g[i].b) swap(g[i].a, g[i].b); } sort(g + 1, g + n + 1, cmp); ll ans = g[1].a * g[1].b; ll maxa = g[1].a, maxb = g[1].b; for (int i = 2; i <= n; i++) { ans = max(ans, g[i].a * g[i].b); ans = max(ans, min(maxa, g[i].a) * g[i].b * 2); maxa = max(maxa, g[i].a); } if (ans & 1) printf("%lld.5\n", (ans - 1) / 2); else printf("%lld.0\n", ans / 2); } int main() { t = 1; while (t--) { solve(); } return 0; }
19.386364
55
0.438453
rakty
7a82a940359e272f885a91339490c8cedf115db3
44,964
cpp
C++
_vscp_common/duktape_vscp_func.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2022-01-24T20:21:09.000Z
2022-01-24T20:21:09.000Z
_vscp_common/duktape_vscp_func.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2020-05-05T18:40:57.000Z
2020-05-05T18:40:57.000Z
_vscp_common/duktape_vscp_func.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2020-05-05T08:07:32.000Z
2020-05-05T08:07:32.000Z
// duktape_vscp_func.c // // This file is part of the VSCP (http://www.vscp.org) // // The MIT License (MIT) // // Copyright (c) 2000-2018 Ake Hedman, Grodans Paradis AB <info@grodansparadis.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. // // wxJSON - http://wxcode.sourceforge.net/docs/wxjson/wxjson_tutorial.html // #ifdef WIN32 #include <winsock2.h> #endif #include <wx/wx.h> #include <wx/defs.h> #include <wx/app.h> #include <wx/wfstream.h> #include <wx/xml/xml.h> #include <wx/listimpl.cpp> #include <wx/tokenzr.h> #include <wx/stdpaths.h> #include <wx/thread.h> #include <wx/socket.h> #include <wx/url.h> #include <wx/datetime.h> #include <wx/filename.h> #include <wx/cmdline.h> #include <stdlib.h> #include <string.h> #include <float.h> #include <json.hpp> // Needs C++11 -std=c++11 #include <vscp.h> #include <vscpdb.h> #include <version.h> #include <vscphelper.h> #include <vscpeventhelper.h> #include <actioncodes.h> #include <remotevariable.h> #include <userlist.h> #include <controlobject.h> #include <vscpremotetcpif.h> #include <duktape.h> #include <duk_module_node.h> #include <duktape_vscp_func.h> using namespace std; // https://github.com/nlohmann/json using json = nlohmann::json; /////////////////////////////////////////////////// // GLOBALS /////////////////////////////////////////////////// extern CControlObject *gpobj; /////////////////////////////////////////////////// // HELPERS /////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // get_js_Event // // Make event from JSON data object on stack // bool get_js_Event( duk_context *ctx, vscpEventEx *pex ) { // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { return false; } // Must be an event allocated if ( NULL == pex ) { // Not good return false; } // Get Head pex->head = 0; duk_push_string(ctx, "head"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { pex->head = (uint16_t)duk_get_int_default( ctx, -1, VSCP_PRIORITY_NORMAL ); } duk_pop(ctx); // Get timestamp pex->timestamp = 0; duk_push_string(ctx, "timestamp"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { pex->timestamp = (uint32_t)duk_get_number_default( ctx, -1, 0 ); } duk_pop(ctx); // Get obid pex->obid = 0; duk_push_string(ctx, "obid"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { pex->obid = (uint32_t)duk_get_number_default( ctx, -1, 0 ); } duk_pop(ctx); // Get VSCP class pex->vscp_class = 0; duk_push_string(ctx, "class"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { pex->vscp_class = (uint16_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Get VSCP type pex->vscp_type = 0; duk_push_string(ctx, "type"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { pex->vscp_type = (uint16_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); //GUID memset( pex->GUID, 0, 16 ); duk_push_string(ctx, "guid"); duk_get_prop(ctx, -2); if ( duk_is_string( ctx, -1 ) ) { const char *pGUID = duk_get_string_default( ctx, -1, "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00" ); vscp_getGuidFromStringEx( pex, pGUID ); } duk_pop(ctx); // Get time(block) wxDateTime dt; vscp_setEventExDateTimeBlockToNow( pex ); duk_push_string(ctx, "time"); duk_get_prop(ctx, -2); if ( duk_is_string( ctx, -1 ) ) { const char *pTime = duk_get_string_default( ctx, -1, "" ); if ( dt.ParseISOCombined( pTime ) ) { pex->year = dt.GetYear(); pex->month = dt.GetMonth() + 1; pex->day = dt.GetDay(); pex->hour = dt.GetHour(); pex->minute = dt.GetMinute(); pex->second = dt.GetSecond(); } else { pex->year = wxDateTime::UNow().GetYear(); pex->month = wxDateTime::UNow().GetMonth() + 1; pex->day = wxDateTime::UNow().GetDay(); pex->hour = wxDateTime::UNow().GetHour(); pex->minute = wxDateTime::UNow().GetMinute(); pex->second = wxDateTime::UNow().GetSecond(); } } duk_pop(ctx); // Get data pex->sizeData = 0; memset( pex->data, 0, VSCP_MAX_DATA ); duk_push_string(ctx, "data"); duk_get_prop(ctx, -2); if ( duk_is_array( ctx, -1 ) ) { int lengthArray = duk_get_length( ctx, -1 ); // Make sure size is valid if ( lengthArray > VSCP_MAX_DATA ) lengthArray = VSCP_MAX_DATA; pex->sizeData = lengthArray; for ( int i = 0; i < lengthArray; i++ ) { if ( duk_get_prop_index(ctx, -1, i) ) { pex->data[ i ] = (uint8_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop( ctx ); } } duk_pop(ctx); return true; } /////////////////////////////////////////////////// // CALLABLES /////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // js_resolve_module // duk_ret_t js_resolve_module(duk_context *ctx) { const char *module_id; const char *parent_id; module_id = duk_require_string(ctx, 0); parent_id = duk_require_string(ctx, 1); duk_push_sprintf(ctx, "%s.js", module_id); printf("resolve_cb: id:'%s', parent-id:'%s', resolve-to:'%s'\n", module_id, parent_id, duk_get_string(ctx, -1) ); return 1; } /////////////////////////////////////////////////////////////////////////////// // js_load_module // duk_ret_t js_load_module(duk_context *ctx) { const char *filename; const char *module_id; // TODO Modules can only be loaded from /srv/vscp/javascript or // configured other location module_id = duk_require_string(ctx, 0); duk_get_prop_string(ctx, 2, "filename"); filename = duk_require_string(ctx, -1); printf("load_cb: id:'%s', filename:'%s'\n", module_id, filename); if ( strcmp(module_id, "pig.js") == 0 ) { duk_push_sprintf(ctx, "module.exports = 'you\\'re about to get eaten by %s';", module_id ); } else if (strcmp(module_id, "cow.js") == 0) { duk_push_string(ctx, "module.exports = require('pig');"); } else if (strcmp(module_id, "ape.js") == 0) { duk_push_string(ctx, "module.exports = { module: module, __filename: " "__filename, wasLoaded: module.loaded };"); } else if (strcmp(module_id, "badger.js") == 0) { duk_push_string(ctx, "exports.foo = 123; exports.bar = 234;"); } else if (strcmp(module_id, "comment.js") == 0) { duk_push_string(ctx, "exports.foo = 123; exports.bar = 234; // comment"); } else if (strcmp(module_id, "shebang.js") == 0) { duk_push_string(ctx, "#!ignored\nexports.foo = 123; exports.bar = 234;"); } else { //duk_error(ctx, DUK_ERR_TYPE_ERROR, "cannot find module: %s", module_id); } return 1; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_print // duk_ret_t js_vscp_print( duk_context *ctx ) { duk_push_string(ctx, " "); duk_insert(ctx, 0); duk_join(ctx, duk_get_top(ctx) - 1); wxPrintf( "%s\n", duk_safe_to_string(ctx, -1) ); return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_log // // vscp_log("message"[,log-level,log-type]) duk_ret_t js_vscp_log( duk_context *ctx ) { int nArgs = duk_get_top(ctx); if ( nArgs == 1 ) { duk_push_int(ctx, DAEMON_LOGMSG_NORMAL ); duk_push_int(ctx, DAEMON_LOGTYPE_DM ); } else if ( nArgs == 2 ) { duk_push_int(ctx, DAEMON_LOGMSG_NORMAL ); } wxString wxDebug = duk_get_string_default(ctx, -3, "---Log fail---"); uint8_t level = duk_get_int_default(ctx, -2, DAEMON_LOGMSG_NORMAL ); uint8_t type = duk_get_int_default(ctx, -1, DAEMON_LOGTYPE_DM ); gpobj->logMsg( wxDebug, level, type ); duk_pop_n(ctx, 3); // Clear stack duk_push_boolean(ctx, 1); // Return success return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_sleep // // vscp_sleep(Time-to-sleep-in-ms) // duk_ret_t js_vscp_sleep( duk_context *ctx ) { uint32_t sleep_ms = 1000; int nArgs = duk_get_top(ctx); if ( nArgs == 0 ) { duk_push_number(ctx, 1000 ); } if ( nArgs ) { sleep_ms = duk_to_uint32(ctx, -1); } wxMilliSleep( sleep_ms ); duk_pop_n(ctx, 1); // Clear stack duk_push_boolean(ctx, 1); // Return success return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_readVariable // // set var = vscp_readvariable("name"); // //{ // "name": "variable-name", // "type": 1, // "user": 2, // "accessrights": 0x777, // "persistence": true|false, // "lastchange": "YYYYMMDDTHHMMSS", // "isnumerical": true|false // "isbase64": true|false // "value": "This is a test variable", // "note": "This is a note about this variable" //} // duk_ret_t js_vscp_readVariable( duk_context *ctx ) { CVSCPVariable variable; wxString strResult; // Get the variable name wxString varName = duk_get_string_default(ctx, -1, ""); if ( 0 == varName.Length() ) { duk_pop_n(ctx, 1); // Clear stack duk_push_null(ctx); // Return failure return JAVASCRIPT_OK; } duk_pop_n(ctx, 3); // Clear stack if ( !gpobj->m_variables.find( varName, variable ) ) { duk_push_null(ctx); // Return failure return JAVASCRIPT_OK; } // Get the variable on JSON format wxString varJSON; variable.getAsJSON( varJSON ); duk_push_string(ctx, (const char *)varJSON.mbc_str() ); duk_json_decode(ctx, -1); duk_get_prop_string(ctx, -1, "name"); wxString str = wxString::Format("name=%s", duk_to_string(ctx, -1)); duk_pop_n(ctx, 1); // Clear stack return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_writeVariable // // writeVariable("name",value ) // duk_ret_t js_vscp_writeVariable( duk_context *ctx ) { wxString varName; CVSCPVariable variable; duk_ret_t err; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_push_string(ctx, "name"); duk_get_prop(ctx, -2); varName = duk_get_string_default(ctx, -1, ""); duk_pop_n(ctx, 1); if ( 0 == varName.Length() ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } if ( !gpobj->m_variables.find( varName, variable ) ) { // Variable does not exist - should be created // Get the type duk_push_string(ctx, "type"); duk_get_prop(ctx, -2); uint16_t type; if ( duk_is_number(ctx, -1) ) { type = (uint16_t)duk_get_int_default( ctx, -1, VSCP_DAEMON_VARIABLE_CODE_STRING ); } else if ( duk_is_string(ctx, -1) ) { wxString str = duk_get_string_default(ctx, -1, "string"); duk_pop_n(ctx, 1); type = CVSCPVariable::getVariableTypeFromString( str ); } else { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 1); // Get the value wxString strValue; duk_push_string(ctx, "value"); duk_get_prop(ctx, -2); // The value can be number, boolean, string if ( duk_is_number(ctx, -1) ) { double val = duk_get_number_default(ctx, -1, 0.0 ); strValue = wxString::Format( "%lf", val ); } else if ( duk_is_string(ctx, -1) ) { strValue = duk_get_string_default(ctx, -1, "" ); } else if ( duk_is_boolean(ctx, -1) ) { bool bval = duk_get_boolean_default(ctx,-1, false ); strValue = wxString::Format(_("%s"), bval ? "true" : "false"); } else { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 1); // Get user uint32_t userid; duk_push_string(ctx, "user"); duk_get_prop(ctx, -2); // The user can be given as a number or a string if ( duk_is_number(ctx, -1) ) { userid = (uint32_t)duk_get_number_default(ctx, -1, 0.0 ); } else if ( duk_is_string(ctx, -1) ) { wxString strUser( duk_get_string_default(ctx, -1, "" ) ); CUserItem *pUser; pUser= gpobj->m_userList.getUser( strUser ); if ( NULL == pUser ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } userid = pUser->getUserID(); } else { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 1); // Get rights (if there) uint32_t accessRights = PERMISSON_OWNER_ALL; duk_push_string(ctx, "accessrights"); duk_get_prop(ctx, -2); if ( duk_is_number(ctx, -1) ) { accessRights = (uint32_t)duk_get_number_default( ctx, -1, PERMISSON_OWNER_ALL ); } duk_pop_n(ctx, 1); // Get persistence (if there) bool bPersistense = false; duk_push_string(ctx, "persistence"); duk_get_prop(ctx, -2); if ( duk_is_boolean(ctx, -1) ) { bPersistense = duk_get_boolean_default(ctx,-1, false ); } duk_pop_n(ctx, 1); // Get note (if there) wxString strNote; duk_push_string(ctx, "note"); duk_get_prop(ctx, -2); if ( duk_is_string(ctx, -1) ) { strNote = duk_get_string_default(ctx, -1, "" ); } duk_pop_n(ctx, 1); if( !gpobj->m_variables.add( varName, strValue, type, userid, bPersistense, accessRights, strNote ) ) { } } else { duk_push_string(ctx, "value"); duk_get_prop(ctx, -2); // The value can be number, boolean, string if ( duk_is_number(ctx, -1) ) { double val = duk_get_number_default(ctx, -1, 0.0 ); wxString strval = wxString::Format( "%lf", val ); variable.setValueFromString( variable.getType(), strval ); } else if ( duk_is_string(ctx, -1) ) { wxString strval( duk_get_string_default(ctx, -1, "" ) ); variable.setValueFromString( variable.getType(), strval ); } else if ( duk_is_boolean(ctx, -1) ) { bool bval = duk_get_boolean_default(ctx,-1, false ); variable.setValueFromString( variable.getType(), bval ? "true" : "false" ); } else { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } int nArgs = duk_get_top(ctx); duk_pop_n(ctx, 2); // Clear stack // Update variable storage if ( !gpobj->m_variables.update( variable ) ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } } duk_push_boolean(ctx,1); // return code success return JAVASCRIPT_OK; } // TODO writevalue // TODO writeNote /////////////////////////////////////////////////////////////////////////////// // js_vscp_deleteVariable // duk_ret_t js_vscp_deleteVariable( duk_context *ctx ) { wxString varName; CVSCPVariable variable; bool bResult; // Get variable name varName = duk_get_string_default(ctx, -1, ""); duk_pop_n(ctx, 1); if ( 0 == varName.Length() ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } if ( !gpobj->m_variables.remove( varName ) ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_push_boolean(ctx,1); // return code success return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_sendEvent // // { // "time": "2017-01-13T10:16:02", // "head": 2, // "timestamp":50817, // "obid"; 123, // "class": 10, // "type": 8, // "guid": "00:00:00:00:00:00:00:00:00:00:00:00:00:01:00:02", // "data": [1,2,3,4,5,6,7], // "note": "This is some text" // } // duk_ret_t js_vscp_sendEvent( duk_context *ctx ) { vscpEventEx ex; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } if ( !get_js_Event( ctx, &ex ) ) { // Not good duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 1); // Send the event vscpEvent *pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } pEvent->pdata = NULL; vscp_convertVSCPfromEx( pEvent, &ex ); duk_push_global_object(ctx); /* -> stack: [ global ] */ duk_push_string(ctx, "vscp_clientitem"); /* -> stack: [ global "vscp_clientItem" ] */ duk_get_prop(ctx, -2); /* -> stack: [ global vscp_clientItem ] */ CClientItem *pClientItem = (CClientItem *)duk_get_pointer(ctx,-1); if ( NULL == pClientItem ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 2); if ( !gpobj->sendEvent( pClientItem, pEvent ) ) { // Failed to send event vscp_deleteVSCPevent( pEvent ); duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } vscp_deleteVSCPevent( pEvent ); duk_push_boolean(ctx,1); // return code success return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_getEvent // duk_ret_t js_vscp_getEvent( duk_context *ctx ) { duk_push_global_object(ctx); /* -> stack: [ global ] */ duk_push_string(ctx, "vscp_clientitem"); /* -> stack: [ global "vscp_clientItem" ] */ duk_get_prop(ctx, -2); /* -> stack: [ global vscp_clientItem ] */ CClientItem *pClientItem = (CClientItem *)duk_get_pointer(ctx,-1); if ( NULL == pClientItem ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 2); try_again: // Check the client queue if ( pClientItem->m_bOpen && pClientItem->m_clientInputQueue.GetCount() ) { CLIENTEVENTLIST::compatibility_iterator nodeClient; vscpEvent *pEvent; pClientItem->m_mutexClientInputQueue.Lock(); nodeClient = pClientItem->m_clientInputQueue.GetFirst(); if ( NULL == nodeClient ) { // Exception duk_push_null(ctx); // return code failure return JAVASCRIPT_OK; } pEvent = nodeClient->GetData(); pClientItem->m_clientInputQueue.DeleteNode( nodeClient ); pClientItem->m_mutexClientInputQueue.Unlock(); if ( NULL != pEvent ) { if ( vscp_doLevel2Filter( pEvent, &pClientItem->m_filterVSCP ) ) { // Write it out wxString strResult; vscp_convertEventToJSON( pEvent, strResult ); // Event is not needed anymore vscp_deleteVSCPevent( pEvent ); duk_push_string( ctx, (const char *)strResult.mbc_str() ); duk_json_decode( ctx, -1 ); // All OK return event return JAVASCRIPT_OK; } else { // Filtered out vscp_deleteVSCPevent( pEvent ); goto try_again; } // Remove the event vscp_deleteVSCPevent( pEvent ); } // Valid pEvent pointer else { // NULL event duk_push_null(ctx); // return code failure return JAVASCRIPT_OK; } } // events available int nArgs = duk_get_top(ctx); // Fail duk_push_null(ctx); // return code failure return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_getCountEvent // // duk_ret_t js_vscp_getCountEvent( duk_context *ctx ) { int count = 0; duk_push_global_object(ctx); /* -> stack: [ global ] */ duk_push_string(ctx, "vscp_clientitem"); /* -> stack: [ global "vscp_clientItem" ] */ duk_get_prop(ctx, -2); /* -> stack: [ global vscp_clientItem ] */ CClientItem *pClientItem = (CClientItem *)duk_get_pointer(ctx,-1); if ( NULL == pClientItem ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 2); if ( pClientItem->m_bOpen ) { count = pClientItem->m_clientInputQueue.GetCount(); } else { count = 0; } duk_push_number(ctx,count); // return count return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_vscp_setFilter // // { // 'mask_priority': number, // 'mask_class': number, // 'mask_type': number, // 'mask_guid': 'string', // 'filter_priority'; number, // 'filter_class': number, // 'filter_type': number, // 'filter_guid' 'string' // } duk_ret_t js_vscp_setFilter( duk_context *ctx ) { vscpEventFilter filter; duk_push_global_object(ctx); /* -> stack: [ global ] */ duk_push_string(ctx, "vscp_clientitem"); /* -> stack: [ global "vscp_clientItem" ] */ duk_get_prop(ctx, -2); /* -> stack: [ global vscp_clientItem ] */ CClientItem *pClientItem = (CClientItem *)duk_get_pointer(ctx,-1); if ( NULL == pClientItem ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 2); // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } // Mask priority duk_push_string(ctx, "mask_priority"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { filter.mask_priority = (uint8_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Mask class duk_push_string(ctx, "mask_class"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { filter.mask_class = (uint16_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Mask type duk_push_string(ctx, "mask_type"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { filter.mask_type = (uint16_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // mask GUID memset( filter.mask_GUID, 0, 16 ); // Default is don't care duk_push_string(ctx, "mask_guid"); duk_get_prop(ctx, -2); if ( duk_is_string( ctx, -1 ) ) { const char *pGUID = duk_get_string_default( ctx, -1, "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00" ); vscp_getGuidFromStringToArray( filter.mask_GUID, pGUID ); } duk_pop(ctx); // Filter priority duk_push_string(ctx, "filter_priority"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { filter.filter_priority = (uint8_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Filter class duk_push_string(ctx, "filter_class"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { filter.filter_class = (uint16_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Filter type duk_push_string(ctx, "filter_type"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { filter.filter_type = (uint16_t)duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // filter GUID memset( filter.filter_GUID, 0, 16 ); duk_push_string(ctx, "filter_guid"); duk_get_prop(ctx, -2); if ( duk_is_string( ctx, -1 ) ) { const char *pGUID = duk_get_string_default( ctx, -1, "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00" ); vscp_getGuidFromStringToArray( filter.filter_GUID, pGUID ); } duk_pop(ctx); // Set the filter vscp_copyVSCPFilter( &pClientItem->m_filterVSCP, &filter); duk_push_boolean(ctx,1); // return code success return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_send_Measurement // // { // 'level': 1|2, (defaults to 2) // 'string': true|false, (default false, only valid for level II event) // 'value': 123.5, // 'guid': FF:FF:80... defaults to "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00" // 'vscptype': 6, // 'unit': 1, (defaults to 0) // 'sensorindex': 0, (defaults to 0) // 'zone': 0, (defaults to 0) // 'subzone': 0 (defaults to 0) // } // duk_ret_t js_send_Measurement( duk_context *ctx ) { vscpEvent *pEvent; double value; // Measurement value bool bLevel2 = true; // True if level II bool bString = false; // If level II string or float int type; // VSCP type int unit = 0; int sensoridx = 0; int zone = 0; int subzone = 0; duk_push_global_object(ctx); /* -> stack: [ global ] */ duk_push_string(ctx, "vscp_clientitem"); /* -> stack: [ global "vscp_clientItem" ] */ duk_get_prop(ctx, -2); /* -> stack: [ global vscp_clientItem ] */ CClientItem *pClientItem = (CClientItem *)duk_get_pointer(ctx,-1); if ( NULL == pClientItem ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } duk_pop_n(ctx, 2); // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } // Get measurement Level duk_push_string(ctx, "level"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { int level = duk_get_int_default( ctx, -1, 0 ); if ( 2 != level ) bLevel2 = false; } duk_pop(ctx); // Get measurement string flag duk_push_string(ctx, "bstring"); duk_get_prop(ctx, -2); if ( duk_is_boolean( ctx, -1 ) ) { bString = duk_get_boolean_default( ctx, -1, true ); } duk_pop(ctx); // Get measurement Value duk_push_string(ctx, "value"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { value = duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Get measurement GUID uint8_t guid[16]; memset( guid, 0, 16 ); duk_push_string(ctx, "guid"); duk_get_prop(ctx, -2); if ( duk_is_string( ctx, -1 ) ) { const char *pGUID = duk_get_string_default( ctx, -1, "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00" ); vscp_getGuidFromStringToArray( guid, pGUID ); } duk_pop(ctx); // Get measurement VSCP type duk_push_string(ctx, "type"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { type = duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Get measurement VSCP unit duk_push_string(ctx, "unit"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { unit = duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Get measurement sensorindex duk_push_string(ctx, "sensorindex"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { sensoridx = duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Get measurement zone duk_push_string(ctx, "zone"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { zone = duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); // Get measurement subzone duk_push_string(ctx, "subzone"); duk_get_prop(ctx, -2); if ( duk_is_number( ctx, -1 ) ) { subzone = duk_get_int_default( ctx, -1, 0 ); } duk_pop(ctx); if ( bLevel2 ) { if ( bString ) { pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } pEvent->pdata = NULL; // Set GUID memcpy( pEvent->GUID, guid, 16 ); if ( !vscp_makeLevel2StringMeasurementEvent( pEvent, type, value, unit, sensoridx, zone, subzone ) ) { // Failed duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } } else { pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK;; } pEvent->pdata = NULL; // Set GUID memcpy( pEvent->GUID, guid, 16 ); if ( !vscp_makeLevel2FloatMeasurementEvent( pEvent, type, value, unit, sensoridx, zone, subzone ) ) { // Failed duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } } } else { // Level I if ( bString ) { pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } memcpy( pEvent->GUID, guid, 16 ); pEvent->vscp_type = type; pEvent->vscp_class = VSCP_CLASS1_MEASUREMENT; pEvent->obid = 0; pEvent->timestamp = 0; pEvent->pdata = NULL; if ( !vscp_makeStringMeasurementEvent( pEvent, value, unit, sensoridx ) ) { vscp_deleteVSCPevent( pEvent ); duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } // } else { pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } memcpy( pEvent->GUID, guid, 16 ); pEvent->vscp_type = type; pEvent->vscp_class = VSCP_CLASS1_MEASUREMENT; pEvent->obid = 0; pEvent->timestamp = 0; pEvent->pdata = NULL; if ( !vscp_makeFloatMeasurementEvent( pEvent, value, unit, sensoridx ) ) { vscp_deleteVSCPevent( pEvent ); duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } } } // Send the event if ( !gpobj->sendEvent( pClientItem, pEvent ) ) { // Failed to send event vscp_deleteVSCPevent( pEvent ); duk_push_boolean(ctx,0); // return code failure return JAVASCRIPT_OK; } vscp_deleteVSCPevent( pEvent ); duk_push_boolean(ctx,0); // return code success return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_is_Measurement // duk_ret_t js_is_Measurement( duk_context *ctx ) { vscpEventEx ex; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } if ( !get_js_Event( ctx, &ex ) ) { // Not good duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } vscpEvent *pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_boolean(ctx,0); // return code false return JAVASCRIPT_OK; } pEvent->pdata = NULL; vscp_convertVSCPfromEx( pEvent, &ex ); bool bMeasurement = vscp_isVSCPMeasurement( pEvent ); vscp_deleteVSCPevent( pEvent ); duk_push_boolean(ctx,bMeasurement ? 1 : 0); // return code false return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_get_MeasurementValue // duk_ret_t js_get_MeasurementValue( duk_context *ctx ) { double value; vscpEventEx ex; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } if ( !get_js_Event( ctx, &ex ) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } vscpEvent *pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } pEvent->pdata = NULL; vscp_convertVSCPfromEx( pEvent, &ex ); vscp_getVSCPMeasurementAsDouble( pEvent, &value ); vscp_deleteVSCPevent( pEvent ); duk_push_number(ctx, value); return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_get_MeasurementUnit // duk_ret_t js_get_MeasurementUnit( duk_context *ctx ) { vscpEventEx ex; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } if ( !get_js_Event( ctx, &ex ) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } vscpEvent *pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } pEvent->pdata = NULL; vscp_convertVSCPfromEx( pEvent, &ex ); int unit = vscp_getVSCPMeasurementUnit( pEvent ); vscp_deleteVSCPevent( pEvent ); duk_push_number(ctx, unit); return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_get_MeasurementSensorIndex // duk_ret_t js_get_MeasurementSensorIndex( duk_context *ctx ) { vscpEventEx ex; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } if ( !get_js_Event( ctx, &ex ) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } vscpEvent *pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } pEvent->pdata = NULL; vscp_convertVSCPfromEx( pEvent, &ex ); int sensorindex = vscp_getVSCPMeasurementSensorIndex( pEvent ); vscp_deleteVSCPevent( pEvent ); duk_push_number(ctx, sensorindex); return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_get_MeasurementZone // duk_ret_t js_get_MeasurementZone( duk_context *ctx ) { vscpEventEx ex; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } if ( !get_js_Event( ctx, &ex ) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } vscpEvent *pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } pEvent->pdata = NULL; vscp_convertVSCPfromEx( pEvent, &ex ); int zone = vscp_getVSCPMeasurementZone( pEvent ); vscp_deleteVSCPevent( pEvent ); duk_push_number(ctx, zone); return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_get_MeasurementSubZone // duk_ret_t js_get_MeasurementSubZone( duk_context *ctx ) { vscpEventEx ex; // Should be a JSON variable object if ( !duk_is_object(ctx, -1) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } if ( !get_js_Event( ctx, &ex ) ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } vscpEvent *pEvent = new vscpEvent; if ( NULL == pEvent ) { duk_push_null(ctx); // return code false return JAVASCRIPT_OK; } pEvent->pdata = NULL; vscp_convertVSCPfromEx( pEvent, &ex ); int subzone = vscp_getVSCPMeasurementSubZone( pEvent ); vscp_deleteVSCPevent( pEvent ); duk_push_number(ctx, subzone); return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_connect // // Connect to remote server // duk_ret_t js_tcpip_connect(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_connect_ssl // // Connect to remote server using SSL // duk_ret_t js_tcpip_connect_ssl(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_connect_info // // Get connection info // remote address // remote port // server address // server port // bSSL // duk_ret_t js_tcpip_connect_info(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_close // // Close connection to remote server // duk_ret_t js_tcpip_close(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_write // // Write data remote sever // duk_ret_t js_tcpip_write(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_read // // Read data from remote sever // duk_ret_t js_tcpip_read(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_get_response // // Wait for response from remote sever // duk_ret_t js_tcpip_get_response(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_tcpip_download // // Download data from remote web server // duk_ret_t js_tcpip_download(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_get_httpd_version // // Get version for httpd code // duk_ret_t js_get_httpd_version(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_url_decode // // URL-decode input buffer into destination buffer. // duk_ret_t js_url_decode(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_url_encode // // URL-encode input buffer into destination buffer. // duk_ret_t js_url_encode(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_websocket_connect // // Connect to remote websocket client. // duk_ret_t js_websocket_connect(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_websocket_write // // URL-encode input buffer into destination buffer. // duk_ret_t js_websocket_write(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_websocket_read // // Read data from remote websocket host // duk_ret_t js_websocket_read(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_websocket_lock // // lock connection // duk_ret_t js_websocket_lock(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_websocket_unlock // // unlock connection // duk_ret_t js_websocket_unlock(duk_context *ctx) { return JAVASCRIPT_OK; } /////////////////////////////////////////////////////////////////////////////// // js_md5 // // Calculate md5 digest // duk_ret_t js_md5(duk_context *ctx) { return JAVASCRIPT_OK; }
28.368454
92
0.508229
benys
7a8548efc589ec5067ee04abd3fd97490636c072
303
hpp
C++
library/linear_algebra/Hadamard_matrix.hpp
fura2/competitive-programming-library
fc101651640ac5418155efce74f5ec103443bc8c
[ "MIT" ]
null
null
null
library/linear_algebra/Hadamard_matrix.hpp
fura2/competitive-programming-library
fc101651640ac5418155efce74f5ec103443bc8c
[ "MIT" ]
null
null
null
library/linear_algebra/Hadamard_matrix.hpp
fura2/competitive-programming-library
fc101651640ac5418155efce74f5ec103443bc8c
[ "MIT" ]
null
null
null
/* 2^n 次の Hadamard 行列 各要素が 1 か -1 の正方行列であって次をみたすもの - どの二つの行も直交する - どの二つの列も直交する 計算量 : O(4^N) */ matrix<int> Hadamard(int n){ matrix<int> H(1<<n); H[0][0]=1; rep(k,n){ int d=1<<k; rep(i,d) rep(j,d) { H[i][j+d]=H[i][j]; H[i+d][j]=H[i][j]; H[i+d][j+d]=-H[i][j]; } } return H; }
13.772727
30
0.50165
fura2
18547a55a38350e8c1943ae81ee6d62c0e576471
1,615
cpp
C++
libs/mixer---linux/sound.cpp
ElectronicCats/pxt-common-packages
230921df47581695d5c9ed2eb9f80792bf58c62a
[ "MIT" ]
1
2020-02-03T07:15:28.000Z
2020-02-03T07:15:28.000Z
libs/mixer---linux/sound.cpp
ElectronicCats/pxt-common-packages
230921df47581695d5c9ed2eb9f80792bf58c62a
[ "MIT" ]
null
null
null
libs/mixer---linux/sound.cpp
ElectronicCats/pxt-common-packages
230921df47581695d5c9ed2eb9f80792bf58c62a
[ "MIT" ]
null
null
null
#include "pxt.h" #include "SoundOutput.h" #include <alsa/asoundlib.h> #include <pthread.h> static void alsa_check(int pos, int fn) { if (fn < 0) { DMESG("alsa fail! pos=%d err=%d: %s", pos, fn, snd_strerror(fn)); target_panic(950); } } void *LinuxDAC::play(void *self) { auto dac = (LinuxDAC *)self; snd_pcm_t *pcm_handle; sleep_core_us(1000 * 1000); alsa_check(0, snd_pcm_open(&pcm_handle, "default", SND_PCM_STREAM_PLAYBACK, 0)); alsa_check(1, snd_pcm_set_params(pcm_handle, SND_PCM_FORMAT_S16_LE, SND_PCM_ACCESS_RW_INTERLEAVED, 1, SAMPLE_RATE, 1, 30 * 1000)); DMESG("PCM name: '%s'", snd_pcm_name(pcm_handle)); DMESG("PCM state: %s", snd_pcm_state_name(snd_pcm_state(pcm_handle))); for (;;) { auto buf = dac->src.pull(); auto data = (int16_t *)buf.getBytes(); auto len = buf.length() / 2; if (!len) { sleep_core_us(5000); continue; } for (int i = 0; i < len; ++i) { // playing at half-volume data[i] = (data[i] - 512) << 6; } int frames = snd_pcm_writei(pcm_handle, data, len); if (frames < 0) frames = snd_pcm_recover(pcm_handle, frames, 0); if (frames < 0) { DMESG("alsa write faield: %s", snd_strerror(frames)); target_panic(951); } } return NULL; } LinuxDAC::LinuxDAC(DataSource &data) : src(data) { data.connect(*this); pthread_t upd; pthread_create(&upd, NULL, LinuxDAC::play, this); pthread_detach(upd); }
27.844828
99
0.569659
ElectronicCats
185ec02db22123b5f8b3e2e83268669ddb73098a
1,870
cpp
C++
zusaetzlicher_code/test_programme/klassen_operator/myClass.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
zusaetzlicher_code/test_programme/klassen_operator/myClass.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
zusaetzlicher_code/test_programme/klassen_operator/myClass.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
#include"myClass.h" // Stellt die Abhaenigkeit her, damit ich in der Implementierung auch alle anderen Methoden, Variablen und Funktionen verwenden kann. Ohne das wuerde this->x nicht funktionieren! using namespace std; myClass::myClass(){ cout << "called the standart constructor" << endl; //this->a = -1; //this->b = -1; } myClass::myClass(int in_1, int in_2){ cout << "called construktor 1" << endl; this->a = in_1; this->b = in_2; // this: liefert Pointer (!) auf das aufrufende Objekt der Methode/des Konstruktors! } myClass::myClass(int input_val){ cout << "called construktor 2" << endl; this->a = input_val; this->b = input_val; } /* // Kopierkonsruktor - wenn nicht implementiert wird dieser implizit erzeugt! myClass::myClass(const myClass & handed_object){ cout << "COPY CONSTRUCTOR" << endl; this->a = handed_object.a; this->b = handed_object.b; } */ myClass::~myClass(){ cout << "called destruktor" << endl; } // Operatoren myClass & myClass::operator=(int x){ cout << "called assignment operator" << endl; this->a = x; this->b = x; return *this; } myClass & myClass::operator=(const myClass & input_objekt){ cout << "called copy '=' operator!" << endl; this->a = input_objekt.a; // hier kann ich mit . drauf zugreifen, da ich auf das uebergebene Objekt, nicht auf das aufrufende Objekt zugreifen will! this->b = input_objekt.b; return *this; // Das ist quasi RHS - also liefert * die Adresse des aufrufenden Objekts! } // Methoden int * myClass::get_a_ptr() { return &this->a; // dereferenziere das was in der Membervariable steht und liefere eine (temporaere Kopie zurueck) } int myClass::get_a(){ return this->a; } void myClass::set_a(const int & val_a){ this->a = val_a; } derived::derived()//:myClass(-1, -1), r(-1) { cout << "Standartkonstruktor derived was called!" << endl; }
24.933333
199
0.67861
jWeb94
18661f0a8a713d015d3438bfe12bd83f9016b789
1,230
cpp
C++
leetcode/linked-list/1290_convert_binary_number_in_a_linked_list_to_integer.cpp
k10tetry/data-structure-algorithm
56af1e648ace71877874e45afad787a90beb4455
[ "MIT" ]
1
2021-09-30T19:14:59.000Z
2021-09-30T19:14:59.000Z
leetcode/linked-list/1290_convert_binary_number_in_a_linked_list_to_integer.cpp
k10tetry/data-structure-algorithm
56af1e648ace71877874e45afad787a90beb4455
[ "MIT" ]
null
null
null
leetcode/linked-list/1290_convert_binary_number_in_a_linked_list_to_integer.cpp
k10tetry/data-structure-algorithm
56af1e648ace71877874e45afad787a90beb4455
[ "MIT" ]
1
2021-10-01T14:29:20.000Z
2021-10-01T14:29:20.000Z
#include <bits/stdc++.h> using namespace std; /* Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number. Return the decimal value of the number in the linked list. */ /* Solved using string variable to store the int value and then using reverse iterator multiply the int with ith power of 2, time complexity 0ms and 100% faster */ // Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: int getDecimalValue(ListNode* head) { string num; int res = 0, i = 0; while(head != NULL){ num.push_back(head -> val + '0'); head = head -> next; } for(auto itr = num.rbegin(); itr != num.rend(); ++itr){ res += (*itr - '0') * pow(2,i); i++; } // Best Solution // while(head != NULL){ // res = res * 2 + head -> val; // } return res; } };
26.73913
182
0.572358
k10tetry
186c4609c562bc29147ee8642b2a18502409729e
389
cpp
C++
MFC++/SourceCodes/Chapter4/ListOrder.cpp
CoodingPenguin/StudyMaterial
b6d8084fc38673ad6ffb54bc0bc60b2471168810
[ "MIT" ]
9
2019-02-21T20:20:25.000Z
2020-04-14T15:18:59.000Z
MFC++/SourceCodes/Chapter4/ListOrder.cpp
CoodingPenguin/StudyMaterial
b6d8084fc38673ad6ffb54bc0bc60b2471168810
[ "MIT" ]
null
null
null
MFC++/SourceCodes/Chapter4/ListOrder.cpp
CoodingPenguin/StudyMaterial
b6d8084fc38673ad6ffb54bc0bc60b2471168810
[ "MIT" ]
2
2019-07-09T02:01:37.000Z
2020-01-07T18:45:25.000Z
/* Written by @nErumin (Github) * 2016-10-25 * * Topic - 생성자 초기화 리스트 내에서 멤버의 초기화 순서에 주의하자. */ #include <iostream> #include <string> using namespace std; template <typename T> class Twin { public: Twin() : second(0), first(0) { } Twin(T val) : second(val), first(second) { } private: T second; T first; }; int main() { Twin<int> a{ 10 }; // ? Twin<int> b(); // ! return 0; }
13.892857
45
0.601542
CoodingPenguin
186cea470da63c4d8213bed891ecb71864a6d25a
7,753
cpp
C++
CursedHeaven/Motor2D/j1SceneMenu.cpp
golden-rhino-studio/CursedHeaven
16e7bd3e82b64302564251d4856be570add0f98e
[ "MIT" ]
null
null
null
CursedHeaven/Motor2D/j1SceneMenu.cpp
golden-rhino-studio/CursedHeaven
16e7bd3e82b64302564251d4856be570add0f98e
[ "MIT" ]
1
2019-03-05T18:25:36.000Z
2019-03-05T18:26:39.000Z
CursedHeaven/Motor2D/j1SceneMenu.cpp
golden-rhino-studio/CursedHeaven
16e7bd3e82b64302564251d4856be570add0f98e
[ "MIT" ]
null
null
null
#include "j1SceneMenu.h" #include "j1SceneCredits.h" #include "j1Scene1.h" #include "j1Scene2.h" #include "j1App.h" #include "p2Log.h" #include "j1Textures.h" #include "j1EntityManager.h" #include "j1FadeToBlack.h" #include "j1Audio.h" #include "j1Map.h" #include "j1Gui.h" #include "j1Button.h" #include "j1Label.h" #include "j1Box.h" #include "j1Fonts.h" #include "j1Input.h" #include "j1Window.h" #include "j1ChooseCharacter.h" #include "j1SceneSettings.h" #include "j1TransitionManager.h" #include "j1Video.h" #include "Brofiler/Brofiler.h" j1SceneMenu::j1SceneMenu() { name.assign("menu"); } j1SceneMenu::~j1SceneMenu() {} bool j1SceneMenu::Awake(pugi::xml_node &) { LOG("Loading Menu"); bool ret = true; if (App->video->active) active = false; if (App->menu->active == false) { LOG("Unable to load the menu."); ret = false; } /*App->audio->MusicVolume(0); App->audio->FxVolume(0);*/ return ret; } bool j1SceneMenu::Start() { if (active) { // The map is loaded App->map->draw_with_quadtrees = false; App->map->Load("menu.tmx"); // The audio is played App->audio->PlayMusic("audio/music/song012.ogg", 1.0f); // Loading textures gui_tex2 = App->tex->Load("gui/uipack_rpg_sheet.png"); logo_tex = App->tex->Load("gui/CursedHeavenLogo.png"); // Loading fonts font = App->font->Load("fonts/Pixeled.ttf", 5); // We will use it to check if there is a save file pugi::xml_document save_game; pugi::xml_parse_result result = save_game.load_file("save_game.xml"); SDL_Rect idle = { 631, 12, 151, 38 }; SDL_Rect hovered = {963, 12, 151, 38 }; SDL_Rect clicked = { 797, 12, 151, 38 }; App->gui->CreateButton(&menuButtons, BUTTON, 130, 50 + 70, idle, hovered, clicked, gui_tex2, PLAY_GAME); App->gui->CreateButton(&menuButtons, BUTTON, 130, 125 + 70, idle, hovered, clicked, gui_tex2, OPEN_CREDITS); App->gui->CreateButton(&menuButtons, BUTTON, 130, 150 + 70, idle, hovered, clicked, gui_tex2, CLOSE_GAME); SDL_Rect idle4 = { 631, 50, 150, 37 }; if (result == NULL) App->gui->CreateButton(&menuButtons, BUTTON, 130, 75 + 70, idle4, idle4, idle4, gui_tex2, NO_FUNCTION); else App->gui->CreateButton(&menuButtons, BUTTON, 130, 75 + 70, idle, hovered, clicked, gui_tex2, LOAD_GAME); App->gui->CreateButton(&menuButtons, BUTTON, 130, 100 + 70, idle, hovered, clicked, gui_tex2, SETTINGS); App->gui->CreateLabel(&menuLabels, LABEL, 152, 120, font, "Start", App->gui->beige); App->gui->CreateLabel(&menuLabels, LABEL, 147, 145, font, "Continue", App->gui->beige); App->gui->CreateLabel(&menuLabels, LABEL, 147, 170, font, "Settings", App->gui->beige); App->gui->CreateLabel(&menuLabels, LABEL, 149, 195, font, "Credits", App->gui->beige); App->gui->CreateLabel(&menuLabels, LABEL, 156, 220, font, "Exit", App->gui->beige); player_created = false; startup_time.Start(); times++; } return true; } bool j1SceneMenu::PreUpdate() { BROFILER_CATEGORY("MenuPreUpdate", Profiler::Color::Orange) return true; } bool j1SceneMenu::Update(float dt) { BROFILER_CATEGORY("MenuUpdate", Profiler::Color::LightSeaGreen) // --------------------------------------------------------------------------------------------------------------------- // USER INTERFACE MANAGEMENT // --------------------------------------------------------------------------------------------------------------------- // Updating the state of the UI App->gui->UpdateButtonsState(&menuButtons, App->gui->buttonsScale); App->gui->UpdateSliders(&menuBoxes); App->gui->UpdateWindow(settings_window, &menuButtons, &menuLabels, &menuBoxes); // Button actions for (std::list<j1Button*>::iterator item = menuButtons.begin(); item != menuButtons.end(); ++item) { if ((*item)->visible) { switch ((*item)->state) { case IDLE: (*item)->situation = (*item)->idle; break; case HOVERED: if (startup_time.Read() > 1900 && times > 1 || times == 1) (*item)->situation = (*item)->hovered; break; case RELEASED: if (startup_time.Read() > 1900 && times > 1 || times == 1) { (*item)->situation = (*item)->idle; if ((*item)->bfunction == PLAY_GAME) { LOG("Choose Character Scene Loading"); App->transitions->FadingToColor(MENU, CHOOSE); } else if ((*item)->bfunction == LOAD_GAME) { App->LoadSpecificModule(App->transitions); if (App->transitions->scene1active) App->transitions->SquaresAppearing(MENU, SCENE1, 3); if (App->transitions->scene2active) App->transitions->SquaresAppearing(MENU, SCENE2, 3); } else if ((*item)->bfunction == CLOSE_GAME) { continueGame = false; } else if ((*item)->bfunction == SETTINGS) { App->transitions->Wiping(MENU, SCENE_SETTINGS); } else if ((*item)->bfunction == OPEN_CREDITS) { App->transitions->Wiping(MENU, CREDITS); } } break; case CLICKED: if (startup_time.Read() > 1900 && times > 1 || times == 1) (*item)->situation = (*item)->clicked; break; } } } // --------------------------------------------------------------------------------------------------------------------- // DRAWING EVERYTHING ON THE SCREEN // --------------------------------------------------------------------------------------------------------------------- // Blitting background and animations App->map->Draw(); // Blitting the logo SDL_Rect logo = { 93, 44, 926, 272 }; App->render->Blit(logo_tex, 27, 20, &logo, SDL_FLIP_NONE, true, 0.30f); // Blitting the buttons and labels of the menu for (std::list<j1Button*>::iterator item = menuButtons.begin(); item != menuButtons.end(); ++item) { if ((*item)->parent != nullptr) continue; (*item)->Draw(App->gui->buttonsScale); } for (std::list<j1Label*>::iterator item = menuLabels.begin(); item != menuLabels.end(); ++item) { if ((*item)->parent != nullptr) continue; if ((*item)->visible) (*item)->Draw(); } //Blitting the debug if (App->gui->debug) { App->render->DrawQuad({ Uint8(3 / 0.25), Uint8(3 / 0.25), Uint8(49 / App->gui->buttonsScale), Uint8(49 / App->gui->buttonsScale) }, 255, 0, 0, 255, false, false); App->render->DrawQuad({ Uint8(228 / 0.25) * 6 + 47, Uint8(3 / 0.25), Uint8(49 / App->gui->buttonsScale), Uint8(49 / App->gui->buttonsScale) }, 255, 0, 0, 255, false, false); App->render->DrawQuad({ 320, 440, 380, Uint8(49 / App->gui->buttonsScale) }, 255, 0, 0, 255, false, false); App->render->DrawQuad({ 320, 540, 380, Uint8(49 / App->gui->buttonsScale) }, 255, 0, 0, 255, false, false); App->render->DrawQuad({ 320, 640, 380, Uint8(49 / App->gui->buttonsScale) }, 255, 0, 0, 255, false, false); } return true; } bool j1SceneMenu::PostUpdate() { BROFILER_CATEGORY("MenuPostUpdate", Profiler::Color::Yellow) if (App->input->GetKey(SDL_SCANCODE_ESCAPE) == KEY_DOWN) continueGame = false; return continueGame; } bool j1SceneMenu::CleanUp() { LOG("Freeing all textures"); App->tex->UnLoad(gui_tex2); App->map->CleanUp(); App->tex->CleanUp(); for (std::list<j1Button*>::iterator item = menuButtons.begin(); item != menuButtons.end();) { (*item)->CleanUp(); menuButtons.erase(item++); } for (std::list<j1Label*>::iterator item = menuLabels.begin(); item != menuLabels.end();) { (*item)->CleanUp(); menuLabels.erase(item++); } for (std::list<j1Box*>::iterator item = menuBoxes.begin(); item != menuBoxes.end();) { (*item)->CleanUp(); menuBoxes.erase(item++); } delete settings_window; if(settings_window != nullptr) settings_window = nullptr; return true; } bool j1SceneMenu::Load(pugi::xml_node& node) { pugi::xml_node activated = node.child("activated"); bool scene_activated = activated.attribute("true").as_bool(); return true; }
29.591603
122
0.613698
golden-rhino-studio
18802f774a0e957be4c3c039fdab646afd528f3b
685
cpp
C++
C++/Template/coding_test_template.cpp
0417yjy/source-storage
13a58f84140eab84e48421414219f4f0ff4ac88a
[ "MIT" ]
null
null
null
C++/Template/coding_test_template.cpp
0417yjy/source-storage
13a58f84140eab84e48421414219f4f0ff4ac88a
[ "MIT" ]
1
2020-10-09T18:11:55.000Z
2020-10-09T18:14:16.000Z
C++/Template/coding_test_template.cpp
0417yjy/source-storage
13a58f84140eab84e48421414219f4f0ff4ac88a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; /* Write your own Classes, Structures, or Functions here */ /* Main Function */ int main(void) { int test_num; string input; /* Define the number of test cases */ cin >> test_num; cin.ignore(); string* answers = new string[test_num]; for(int i=0;i<test_num;i++) { /* Get input */ getline(cin, input); /* Write your solution here */ /* Store the results to answer array */ // answers[i] = [RETURN_THE_ANSWER]; } /* Print outputs here */ cout << endl; for (int i = 0; i < test_num; i++) cout << answers[i] << endl; return 0; }
20.147059
59
0.569343
0417yjy
1882d88aab3e2e3423f5afda9fd7ebfb48ca4896
2,017
cpp
C++
tests/Game/src/QuadtreeTest.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
tests/Game/src/QuadtreeTest.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
1
2016-03-13T10:55:21.000Z
2016-03-13T10:55:21.000Z
tests/Game/src/QuadtreeTest.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
#include <../include/QuadtreeTest.hpp> #include <Utils/Quadtree.hpp> #include <Utils/String.hpp> #include <Entity/Entity.hpp> #include <Components/Component.hpp> #include <Components/ComponentMask.hpp> #include <Event/EventsAlias.hpp> #include <EntityManager/EntityManager.hpp> #include <cassert> #include <list> #include <iostream> bool QuadtreeTest(){ std::cout << "QuadtreeTest -----------------"<<std::endl; ant::Utils::Quadtree qtree(sf::FloatRect(0,0,500,500)); ant::EntityManager em; std::cout << "Insertando Entidades..." << std::endl; for(int i=0;i<10;++i){ std::unique_ptr<ant::Entity> e1(new ant::Entity("Test" + ant::Utils::toString(i))); std::unique_ptr<ant::baseComponent> c1(new ant::Component<sf::FloatRect>(ComponentsMask::COMPONENT_BOUNDS,sf::FloatRect(-i,i,20,20))); e1->addComponent(std::move(c1)); em.addEntity(std::move(e1)); } std::cout << "Agregadas al Entity Manager" << std::endl; for(auto& entity:em.getEntities()){ qtree.insert(entity.get()); } std::cout << "Agregadas al Quadtree" << std::endl; std::list<ant::Entity*> entities; for(auto& entity:em.getEntities()){ entities.clear(); qtree.retrieve(entities,entity.get()); for(auto entity1:entities){ auto& properties = entity->getComponent(ComponentsMask::COMPONENT_BOUNDS) ->getProperties<ComponentsAlias::bounds>(); sf::FloatRect eBounds = std::get<0>(properties); auto& properties1 = entity1->getComponent(ComponentsMask::COMPONENT_BOUNDS) ->getProperties<ComponentsAlias::bounds>(); sf::FloatRect eBounds1 = std::get<0>(properties1); if(eBounds.intersects(eBounds1)){ std::cout << "Entity 1 and Entity 2 Collide" << std::endl; }else{ std::cout << "Entity 1 and Entity 2 do not Collide" << std::endl; } } } return true; }
41.163265
142
0.608825
cristianglezm
188d66dc1898b08b81bbd5da5de4039c31c7e74d
2,512
cpp
C++
SPOJ/LOSTNSURVIVED_Lost_and_survived.cpp
ASM-ATIKUR/Competitive_Programming_Atikur_Rahman
9552e4dca7daad5c07542514d4b8c8baabea1989
[ "MIT" ]
null
null
null
SPOJ/LOSTNSURVIVED_Lost_and_survived.cpp
ASM-ATIKUR/Competitive_Programming_Atikur_Rahman
9552e4dca7daad5c07542514d4b8c8baabea1989
[ "MIT" ]
null
null
null
SPOJ/LOSTNSURVIVED_Lost_and_survived.cpp
ASM-ATIKUR/Competitive_Programming_Atikur_Rahman
9552e4dca7daad5c07542514d4b8c8baabea1989
[ "MIT" ]
null
null
null
/*** ** A S M Atikur Rahman ** Update: 27-10-2019 ***/ #include <bits/stdc++.h> #define sci(x) scanf("%d", &(x)) #define scll(x) scanf("%lld", &(x)) #define scd(x) scanf("%lf", &(x)) #define scstr(x) scanf("%s", x) #define pfi(x) printf("%d", (x)) #define pfll(x) printf("%lld", (x)) #define pfd(x) printf("%f", (x)) #define pfstr(x) printf("%s", (x)) #define ps printf(" ") #define pn printf("\n") #define pfdot printf("..") #define For(i,a,n) for(int i=(a); i<(n); i++) #define rFor(i,n,a) for(int i=n-1; i>=0; i--) #define trav(a,x) for (auto& a : x) #define mp make_pair #define pb push_back #define f first #define s second #define lb lower_bound #define ub upper_bound #define pi (2*acos(0)) using namespace std; using ll=long long; using pii= pair<int,int>; using pll= pair<long long, long long>; using pcc= pair<char, char>; using pdd= pair<double, double>; #define V(a) vector<a> using vi= vector<int>; using vs= vector<string>; using vll= vector<ll>; using vpii= vector<pii>; using vc= vector<char>; using vd= vector<double>; int parentArray[1000], rankArray[1000]; int ans[100009], gc, chk[100009]; void mSet(int n) { for(int i=0; i<=n; ++i) { parentArray[i]=i; rankArray[i]=0; ans[i]=1; } gc=n; } int findSet(int x) { if(chk[x]==0) { gc--; chk[x]=1; } if(x!=parentArray[x]) parentArray[x]=findSet(parentArray[x]); return parentArray[x]; } int unionSet(int x, int y) { x=findSet(x); y=findSet(y); int vaf=1; if(x!=y) { if(rankArray[x]>rankArray[y]) { parentArray[y]=x; vaf=ans[x]=ans[y]+ans[x]; } else { parentArray[x]=y; //printf("%d %d..\n", ans[x], ans[y]); vaf=ans[y]=ans[x]+ans[y]; //printf("%d %d....\n", ans[x], ans[y]); if(rankArray[x]==rankArray[y]) rankArray[y]=rankArray[y]+1; } } return vaf; } int main() { int n,m,a,b, q, i, mx, mn; cin>>n>>m; mSet(n); mx=INT_MIN; mn=1; for(i=0; i<m; i++) { scanf("%d %d", &a, &b); if(findSet(a)!=findSet(b)) { //printf("%d %d..\n", mx, mn); //printf("%d....\n", unionSet(a,b)); int aa=unionSet(a,b); mx=max(aa, mx); if(!gc) mn=max(aa, mn); //printf("%d .. %d\n", mx, mn); } printf("%d\n", mx-mn); } return 0; }
18.335766
52
0.500796
ASM-ATIKUR
189518ab75c19537d1f199730ae59917538f2012
271
hpp
C++
include/RED4ext/Scripting/Natives/Generated/world/ProxySyncNormalSource.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/world/ProxySyncNormalSource.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/world/ProxySyncNormalSource.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace world { enum class ProxySyncNormalSource : uint8_t { From_Groups = 0, From_Face_Average = 1, }; } // namespace world } // namespace RED4ext
16.9375
57
0.723247
jackhumbert
189a75128d44fdecab61ac10f0abd38028264ca2
2,157
cpp
C++
ros_stairsdetection/src/transform_helper.cpp
ne0h/hmmwv_stairsdetection
f07a0ac1b0063df0057d806a95cc02a7dad5cb04
[ "MIT" ]
null
null
null
ros_stairsdetection/src/transform_helper.cpp
ne0h/hmmwv_stairsdetection
f07a0ac1b0063df0057d806a95cc02a7dad5cb04
[ "MIT" ]
null
null
null
ros_stairsdetection/src/transform_helper.cpp
ne0h/hmmwv_stairsdetection
f07a0ac1b0063df0057d806a95cc02a7dad5cb04
[ "MIT" ]
null
null
null
#include <vector> #include "transform_helper.hpp" #include "step.hpp" #include "print_helpers.hpp" void TransformHelper::getAABB(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud, Step &step) { pcl::MomentOfInertiaEstimation<pcl::PointXYZ> feature_extractor; feature_extractor.setInputCloud(cloud); feature_extractor.compute(); pcl::PointXYZ min, max; feature_extractor.getAABB(min, max); // transform PCL points to ROS points geometry_msgs::Point min_r, max_r; transformPCLPointToROSPoint(min, min_r); transformPCLPointToROSPoint(max, max_r); step.setMinMax(min_r, max_r); } bool TransformHelper::transform(geometry_msgs::Point &point, std::string &target_frame, std::string &source_frame, float factor) { // Make sure that the transform buffer is not NULL if (m_tfBuffer == NULL) { ROS_ERROR("Transformlistener is NULL"); return false; } geometry_msgs::TransformStamped ts; try { ts = m_tfBuffer->lookupTransform(target_frame.c_str(), source_frame.c_str(), ros::Time(0)); } catch (tf2::TransformException &ex) { ROS_WARN("Failed to transform '%s' -> '%s'", target_frame.c_str(), source_frame.c_str()); ROS_WARN("%s", ex.what()); return false; } point.x = point.x + ts.transform.translation.x * factor; point.y = point.y + ts.transform.translation.y * factor; point.z = point.z + ts.transform.translation.z * factor; return true; } void TransformHelper::transformPCLPointToROSPoint(pcl::PointXYZ &input, geometry_msgs::Point &output) { output.x = input.z; output.y = input.x * (-1.f); output.z = input.y * (-1.f); } /* * Get vertices of the rectangle * * Max----------------P2 * | | * | | * P4----------------Min * */ void TransformHelper::buildStepFromAABB(Step &step, std::vector<geometry_msgs::Point> &points) { // min points.push_back(step.getMin()); // p2 geometry_msgs::Point p2; p2.x = step.getMin().x; p2.y = step.getMin().y; p2.z = step.getMax().z; points.push_back(p2); // max points.push_back(step.getMax()); // p4 geometry_msgs::Point p4; p4.x = step.getMax().x; p4.y = step.getMax().y; p4.z = step.getMin().z; points.push_back(p4); }
25.678571
114
0.679648
ne0h
189ae4918e3d33a0dd210bb155baca9890bf91a1
6,040
cpp
C++
src/PeakFinder.cpp
AustinHartman/shasta
105b8e85e272247f72ced59005c88879631931c0
[ "BSD-3-Clause" ]
267
2018-07-31T16:12:24.000Z
2022-03-29T13:57:53.000Z
src/PeakFinder.cpp
AustinHartman/shasta
105b8e85e272247f72ced59005c88879631931c0
[ "BSD-3-Clause" ]
140
2018-08-10T14:14:19.000Z
2022-02-18T22:05:05.000Z
src/PeakFinder.cpp
AustinHartman/shasta
105b8e85e272247f72ced59005c88879631931c0
[ "BSD-3-Clause" ]
47
2018-09-28T18:29:37.000Z
2022-02-21T02:45:40.000Z
#include "PeakFinder.hpp" #include <algorithm> using namespace shasta; shasta::PeakFinderException::PeakFinderException(double minAreaFraction, double observedAreaFraction): minPercentArea(minAreaFraction), observedPercentArea(observedAreaFraction) {} PeakFinder::Peak::Peak(uint64_t start): start(start), stop(0), left(start), right(start), isMerged(false), persistence(0) {} void PeakFinder::findPeaks(const vector<uint64_t>& y){ size_t xSize = y.size(); // Create a vector of values, in which each value can be used to fetch the parent peak for that position in the // y. If that position does not yet belong to a peak, it has index -1 vector<int64_t> peakIndex(xSize, -1); // Create a vector of x values which point to y values vector<size_t> indexes(xSize, 0); for (size_t i=0; i<indexes.size() ; i++) { indexes[i] = i; } // Sort the x values based on their corresponding y sort(indexes.begin(), indexes.end(), [&](const size_t& a, const size_t& b) { // Equal y values are sorted by lowest x value if (y[a] == y[b]){ return (a < b); } else { return (y[a] > y[b]); } } ); // Merge peaks for (auto& i: indexes){ bool hasLeftPeak = false; if (i > 0){ hasLeftPeak = (peakIndex[i - 1] >= 0); } bool hasRightPeak = false; if (i < xSize - 1){ hasRightPeak = (peakIndex[i + 1] >= 0); } // No adjacent peaks if (not hasLeftPeak and not hasRightPeak){ Peak p(i); peaks.push_back(p); peakIndex[i] = int64_t(peaks.size() - 1); } // Left side is peak else if (hasLeftPeak and not hasRightPeak){ Peak& leftPeak = peaks[size_t(peakIndex[i - 1])]; leftPeak.right = i; peakIndex[i] = peakIndex[i - 1]; } // Right side is peak else if (not hasLeftPeak and hasRightPeak){ Peak& rightPeak = peaks[size_t(peakIndex[i + 1])]; rightPeak.left = i; peakIndex[i] = peakIndex[i + 1]; } // Both sides are peaks else{ Peak& leftPeak = peaks[size_t(peakIndex[i - 1])]; uint64_t xLeft = leftPeak.start; uint64_t yLeft = y[xLeft]; Peak& rightPeak = peaks[size_t(peakIndex[i + 1])]; uint64_t xRight = rightPeak.start; uint64_t yRight = y[xRight]; // Right peak is bigger if (yRight > yLeft){ rightPeak.left = leftPeak.left; peakIndex[i] = peakIndex[i + 1]; // Update the bounds of the dead peak so it stops (inclusive) at the merge point leftPeak.right = i; // Update boundary peak index peakIndex[leftPeak.left] = peakIndex[i + 1]; peakIndex[leftPeak.right] = peakIndex[i + 1]; // Update the weaker peak to reflect that is has terminated leftPeak.stop = i; leftPeak.isMerged = true; leftPeak.persistence = y[rightPeak.start] - y[i]; } // Left peak is bigger, or same size else{ leftPeak.right = rightPeak.right; peakIndex[i] = peakIndex[i - 1]; // Update the bounds of the dead peak so it stops (inclusive) at the merge point rightPeak.left = i; // Update boundary peak index peakIndex[rightPeak.right] = peakIndex[i - 1]; peakIndex[rightPeak.left] = peakIndex[i - 1]; // Update the weaker peak to reflect that is has terminated rightPeak.stop = i; rightPeak.isMerged = true; rightPeak.persistence = y[rightPeak.start] - y[i]; } } } // Set the persistence for the tallest peak as its total height from 0 peaks[0].persistence = y[peaks[0].start]; } void PeakFinder::sortByPersistence(){ // Sort the peaks based on their persistence sort(peaks.begin(), peaks.end(), [&](const Peak& a, const Peak& b) { // Equal values are sorted by lowest x value if (a.persistence == b.persistence){ return (a.start < b.start); } else { return (a.persistence > b.persistence); } } ); } uint64_t PeakFinder::calculateArea(const vector<uint64_t>& y, uint64_t xMin, uint64_t xMax){ uint64_t total = 0; for (size_t i=xMin; i <= xMax; i++){ total += y[i]; } return total; } uint64_t PeakFinder::findXCutoff(const vector<uint64_t>& y, double minAreaFraction, uint64_t areaFractionStartIndex){ // First check that there is at least one peak (beyond the expected error peak at x=1) if (peaks.size() < 2) { throw PeakFinderException(minAreaFraction, 0); } sortByPersistence(); uint64_t leftBound; uint64_t rightBound; // Find the second peak if (peaks[1].start < peaks[0].start){ leftBound = peaks[1].right; rightBound = peaks[0].right; } else{ leftBound = peaks[1].left; rightBound = peaks[1].right; } // find the total AUC uint64_t totalArea = calculateArea(y, areaFractionStartIndex, y.size() - 1); // Find the AUC inside the bounds of the peak (from y=0 and up) uint64_t peakArea = calculateArea(y, leftBound, rightBound); double areaFraction = (double(peakArea) / double(totalArea)); uint64_t xCutoff; // Check if second most prominent peak is reasonable size (not a false peak) if (areaFraction > minAreaFraction){ xCutoff = leftBound; } else{ throw PeakFinderException(minAreaFraction, areaFraction); } return xCutoff; }
30.2
117
0.557781
AustinHartman
189e7707b67a194ef203a1fc6f5b83731544dc5d
3,971
cc
C++
example/chipset_c_driver.cc
alex4747-pub/proper_singleton
2f667421b2832f2ce83b73507ce9c5ac00e66358
[ "MIT" ]
null
null
null
example/chipset_c_driver.cc
alex4747-pub/proper_singleton
2f667421b2832f2ce83b73507ce9c5ac00e66358
[ "MIT" ]
null
null
null
example/chipset_c_driver.cc
alex4747-pub/proper_singleton
2f667421b2832f2ce83b73507ce9c5ac00e66358
[ "MIT" ]
null
null
null
// Copyright (C) 2020 Aleksey Romanov (aleksey at voltanet dot io) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // #include <chipset_driver.h> #include <simple_init_chain.h> #include <cassert> #include <iostream> // This is a concrete driver for chipset-a // Note: there is no need to have these definitions // publically visible, it is OK to define all of it // in .cc file. // namespace chipset_c { class ChipsetCDriver : public example::ChipsetDriver { public: bool SendPacket(uint8_t const* data, size_t data_len) override; private: ChipsetCDriver(); virtual ~ChipsetCDriver(); static bool IsChipsetPresent(); static bool DoInit(int level, simple::InitChain::ConfigMap const& configMap); static void DoReset(int level, simple::InitChain::ConfigMap const& configMap); // In oder to do proper cleanup we have to know that we had installed // the concrete daemon // static bool init_done_; // Element of init chain // static simple::InitChain::El init_el_; }; bool ChipsetCDriver::init_done_; // Force initialization of c driver after a and b drivers // for illustration of chipset presence test usage and init_done_ // check on reset // simple::InitChain::El ChipsetCDriver::init_el_(110, DoInit, DoReset); bool ChipsetCDriver::SendPacket(uint8_t const*, size_t) { std::cout << "ChipsetCDrvier::SendPacket called\n"; return true; } ChipsetCDriver::ChipsetCDriver() {} ChipsetCDriver::~ChipsetCDriver() {} bool ChipsetCDriver::IsChipsetPresent() { // We always simulate presence of chipset-c return true; } bool ChipsetCDriver::DoInit(int, simple::InitChain::ConfigMap const&) { std::cout << "ChipsetCDrvier::DoInit called\n"; if (InstantiationDone()) { std::cout << "ChipsetCDrvier::DoInit already instantiated\n"; return true; } if (!IsChipsetPresent()) { std::cout << "ChipsetCDrvier::DoInit chipset not-present\n"; return true; } std::cout << "ChipsetCDrvier::DoInit instantiation\n"; assert(!init_done_); // Note: there is no memory leak here, becaue allocated // object is pointed to by self_ and will cleaned up // on reset if requiredo new ChipsetCDriver; init_done_ = true; // NOLINT return true; } void ChipsetCDriver::DoReset(int, simple::InitChain::ConfigMap const&) { std::cout << "ChipsetCDrvier::DoReset called\n"; if (!InstantiationDone()) { std::cout << "ChipsetCDrvier::DoReset nothing to do\n"; return; } if (!init_done_) { std::cout << "ChipsetCDrvier::DoReset not instantiated by us\n"; return; } std::cout << "ChipsetCDrvier::DoReset de-instantiation\n"; // Note: we need a cast here because the base class does not have // public destructor, we use dynamic cast to check against // screwups ChipsetCDriver* ccd = dynamic_cast<ChipsetCDriver*>(&GetInstance()); assert(ccd != nullptr); Clear(); init_done_ = false; delete ccd; return; } } // namespace chipset_c
29.857143
80
0.725258
alex4747-pub
189fe478e94472ff943c05958b02dfe6d30306e6
1,452
cpp
C++
src/hexview/editor/structure_brush.cpp
ejrh/hex
3c063ce142e6b62fb0f92f71bc94280305b53322
[ "MIT" ]
7
2015-09-15T13:20:23.000Z
2020-12-07T10:14:57.000Z
src/hexview/editor/structure_brush.cpp
ejrh/hex
3c063ce142e6b62fb0f92f71bc94280305b53322
[ "MIT" ]
null
null
null
src/hexview/editor/structure_brush.cpp
ejrh/hex
3c063ce142e6b62fb0f92f71bc94280305b53322
[ "MIT" ]
1
2018-09-07T00:54:35.000Z
2018-09-07T00:54:35.000Z
#include "common.h" #include "hexgame/game/game.h" #include "hexgame/game/game_messages.h" #include "hexview/editor/brush.h" namespace hex { void StructureBrush::paint(const Point point, int radius, Game *game, GameView *view) { const Tile& tile = game->level.tiles[point]; Atom current_structure_type = tile.structure ? tile.structure->type->name : AtomRegistry::get_instance().empty; Atom new_structure_type = current_structure_type; bool remove_structure = paint_tile(tile, new_structure_type); if (remove_structure) view->dispatcher->receive(create_message(DestroyStructure, point)); if (remove_structure || new_structure_type != current_structure_type) { //TODO specify the owner somehow in the editor int owner_id = structure_type->has_property(Capturable) ? 1 : 0; view->dispatcher->receive(create_message(CreateStructure, point, new_structure_type, owner_id)); } } bool StructureBrush::can_drag() { return false; } bool StructureBrush::paint_tile(const Tile& tile, Atom& new_structure_type) { if (tile.has_property(Immutable)) { return false; } //TODO check whether we can change the feature type to structure? if (!compatible(tile.type->name, tile.feature_type->name, *structure_type)) { return false; } new_structure_type = structure_type->name; if (tile.structure) { return true; } return false; } };
27.396226
115
0.703168
ejrh
18a09285753f7bc1a6f9b320bbea64fe3a7be555
5,782
cc
C++
celeriteflow/ops/celerite_solve_grad_op.cc
mirca/celeriteflow
ed09a178df05856097552a9081b6eb6d537216ee
[ "MIT" ]
null
null
null
celeriteflow/ops/celerite_solve_grad_op.cc
mirca/celeriteflow
ed09a178df05856097552a9081b6eb6d537216ee
[ "MIT" ]
null
null
null
celeriteflow/ops/celerite_solve_grad_op.cc
mirca/celeriteflow
ed09a178df05856097552a9081b6eb6d537216ee
[ "MIT" ]
null
null
null
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/platform/default/logging.h" #include "tensorflow/core/framework/shape_inference.h" #include <Eigen/Core> #include "celerite.h" using namespace tensorflow; REGISTER_OP("CeleriteSolveGrad") .Attr("T: {float, double}") .Input("u: T") .Input("p: T") .Input("d: T") .Input("w: T") .Input("z: T") .Input("f: T") .Input("g: T") .Input("bz: T") .Output("bu: T") .Output("bp: T") .Output("bd: T") .Output("bw: T") .Output("by: T") .SetShapeFn([](shape_inference::InferenceContext* c) { shape_inference::ShapeHandle u, p, d, w, z, f, g, bz; TF_RETURN_IF_ERROR(c->WithRank(c->input(0), 2, &u)); TF_RETURN_IF_ERROR(c->WithRank(c->input(1), 2, &p)); TF_RETURN_IF_ERROR(c->WithRank(c->input(2), 1, &d)); TF_RETURN_IF_ERROR(c->WithRank(c->input(3), 2, &w)); TF_RETURN_IF_ERROR(c->WithRank(c->input(4), 2, &z)); TF_RETURN_IF_ERROR(c->WithRank(c->input(5), 2, &f)); TF_RETURN_IF_ERROR(c->WithRank(c->input(6), 2, &g)); TF_RETURN_IF_ERROR(c->WithRank(c->input(7), 2, &bz)); TF_RETURN_IF_ERROR(c->Merge(u, w, &u)); TF_RETURN_IF_ERROR(c->Merge(f, g, &f)); TF_RETURN_IF_ERROR(c->Merge(z, bz, &bz)); c->set_output(0, c->input(0)); c->set_output(1, c->input(1)); c->set_output(2, c->input(2)); c->set_output(3, c->input(3)); c->set_output(4, c->input(4)); return Status::OK(); }); template <typename T> class CeleriteSolveGradOp : public OpKernel { public: explicit CeleriteSolveGradOp(OpKernelConstruction* context) : OpKernel(context) {} void Compute(OpKernelContext* context) override { typedef Eigen::Map<const Eigen::Matrix<T, Eigen::Dynamic, 1>> c_vector_t; typedef Eigen::Map<const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>> c_matrix_t; typedef Eigen::Map<Eigen::Matrix<T, Eigen::Dynamic, 1>> vector_t; typedef Eigen::Map<Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>> matrix_t; const Tensor& U_t = context->input(0); const Tensor& P_t = context->input(1); const Tensor& d_t = context->input(2); const Tensor& W_t = context->input(3); const Tensor& Z_t = context->input(4); const Tensor& F_t = context->input(5); const Tensor& G_t = context->input(6); const Tensor& bZ_t = context->input(7); OP_REQUIRES(context, (U_t.dims() == 2), errors::InvalidArgument("U should have the shape (N, J)")); int64 N = U_t.dim_size(0), J = U_t.dim_size(1); OP_REQUIRES(context, ((P_t.dims() == 2) && (P_t.dim_size(0) == N-1) && (P_t.dim_size(1) == J)), errors::InvalidArgument("P should have the shape (N-1, J)")); OP_REQUIRES(context, ((d_t.dims() == 1) && (d_t.dim_size(0) == N)), errors::InvalidArgument("d should have the shape (N)")); OP_REQUIRES(context, ((W_t.dims() == 2) && (W_t.dim_size(0) == N) && (W_t.dim_size(1) == J)), errors::InvalidArgument("W should have the shape (N, J)")); OP_REQUIRES(context, (((Z_t.dims() == 1) || (Z_t.dims() == 2)) && (Z_t.dim_size(0) == N)), errors::InvalidArgument("Z should have the shape (N) or (N, Nrhs)")); int64 Nrhs = Z_t.dim_size(1); OP_REQUIRES(context, ((F_t.dims() == 2) && (F_t.dim_size(0) == N) & (F_t.dim_size(1) == J*Nrhs)), errors::InvalidArgument("F should have the shape (N, J*Nrhs)")); OP_REQUIRES(context, ((G_t.dims() == 2) && (G_t.dim_size(0) == N) & (G_t.dim_size(1) == J*Nrhs)), errors::InvalidArgument("G should have the shape (N, J*Nrhs)")); OP_REQUIRES(context, (((bZ_t.dims() == 1) || (bZ_t.dims() == 2 && bZ_t.dim_size(1) == Nrhs)) && (bZ_t.dim_size(0) == N)), errors::InvalidArgument("bZ should have the shape (N) or (N, Nrhs)")); const auto U = c_matrix_t(U_t.template flat<T>().data(), N, J); const auto P = c_matrix_t(P_t.template flat<T>().data(), N-1, J); const auto d = c_vector_t(d_t.template flat<T>().data(), N); const auto W = c_matrix_t(W_t.template flat<T>().data(), N, J); const auto Z = c_matrix_t(Z_t.template flat<T>().data(), N, Nrhs); const auto F = c_matrix_t(F_t.template flat<T>().data(), N, J*Nrhs); const auto G = c_matrix_t(G_t.template flat<T>().data(), N, J*Nrhs); const auto bZ = c_matrix_t(bZ_t.template flat<T>().data(), N, Nrhs); // Create the outputs Tensor* bU_t = NULL; Tensor* bP_t = NULL; Tensor* bd_t = NULL; Tensor* bW_t = NULL; Tensor* bY_t = NULL; OP_REQUIRES_OK(context, context->allocate_output(0, TensorShape({N, J}), &bU_t)); OP_REQUIRES_OK(context, context->allocate_output(1, TensorShape({N-1, J}), &bP_t)); OP_REQUIRES_OK(context, context->allocate_output(2, TensorShape({N}), &bd_t)); OP_REQUIRES_OK(context, context->allocate_output(3, TensorShape({N, J}), &bW_t)); OP_REQUIRES_OK(context, context->allocate_output(4, TensorShape({N, Nrhs}), &bY_t)); auto bU = matrix_t(bU_t->template flat<T>().data(), N, J); auto bP = matrix_t(bP_t->template flat<T>().data(), N-1, J); auto bd = vector_t(bd_t->template flat<T>().data(), N); auto bW = matrix_t(bW_t->template flat<T>().data(), N, J); auto bY = matrix_t(bY_t->template flat<T>().data(), N, Nrhs); bU.setZero(); bP.setZero(); bd.setZero(); bW.setZero(); celerite::solve_grad(U, P, d, W, Z, F, G, bZ, bU, bP, bd, bW, bY); } }; #define REGISTER_KERNEL(type) \ REGISTER_KERNEL_BUILDER( \ Name("CeleriteSolveGrad").Device(DEVICE_CPU).TypeConstraint<type>("T"), \ CeleriteSolveGradOp<type>) REGISTER_KERNEL(float); REGISTER_KERNEL(double); #undef REGISTER_KERNEL
40.433566
125
0.618298
mirca
18af15dbeb60891946e1e6f828a144420e7aeba4
23
cpp
C++
src/common/TyObject.cpp
tmtmazum/tylang
e8c382bfe7da826017c405153150a9e0433b329f
[ "MIT" ]
null
null
null
src/common/TyObject.cpp
tmtmazum/tylang
e8c382bfe7da826017c405153150a9e0433b329f
[ "MIT" ]
null
null
null
src/common/TyObject.cpp
tmtmazum/tylang
e8c382bfe7da826017c405153150a9e0433b329f
[ "MIT" ]
null
null
null
#include "TyObject.h"
7.666667
21
0.695652
tmtmazum
18be6d5703b31beabe566941af285a75486b8cb3
507
cpp
C++
ACMSGURU/358.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
ACMSGURU/358.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
ACMSGURU/358.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define rep(i, t) for(ll i=0; i<t; i++) #define FOR(i, s, e) for(ll i=s; i<=e; i++) #define pb push_back #define mp make_pair #define p1 first #define p2 second typedef unsigned long long int ull; typedef long long int ll; typedef short int si; int main(){ ios_base::sync_with_stdio(false); int a[3][3]; int b[3]; rep(i, 3) rep(j, 3) cin>>a[i][j]; rep(i, 3){ sort(a[i], a[i]+3); b[i]=a[i][1]; } sort(b, b+3); cout<<b[1]<<endl; return 0; }
16.354839
43
0.607495
Alipashaimani
18d4765c504d168eeb23bf5c7bf979840de8a6e0
8,762
cc
C++
build/ARM/python/m5/internal/param_BasicLink.py.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_BasicLink.py.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_BasicLink.py.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_BasicLink[] = { 120,156,189,88,109,111,227,88,21,62,215,118,210,58,109,218, 116,250,54,211,22,106,4,21,97,197,182,48,48,44,98,71, 35,118,217,149,88,4,221,197,1,58,27,22,140,107,223,36, 78,29,59,178,111,167,155,85,251,133,142,128,111,252,6,132, 248,192,255,224,127,45,231,156,107,187,105,166,179,26,137,134, 54,190,186,190,47,199,231,229,57,47,247,6,80,252,213,240, 249,169,3,144,119,5,64,136,63,1,49,192,72,0,190,11, 41,32,92,135,179,26,100,63,132,176,6,47,1,186,6,72, 3,174,177,99,194,239,13,72,150,121,79,29,98,147,71,4, 76,26,32,45,232,214,224,36,89,3,75,214,225,172,1,217, 159,64,8,145,8,120,30,46,64,184,8,47,145,58,118,108, 38,184,8,97,131,59,54,132,75,220,105,192,164,5,114,9, 186,72,124,1,186,77,36,245,22,146,90,97,82,255,33,82, 33,206,108,64,216,164,229,200,203,167,180,210,162,149,252,141, 21,166,178,90,114,214,130,238,90,217,127,48,213,95,231,254, 42,200,53,24,110,192,112,19,134,91,208,67,129,91,21,213, 109,144,38,12,31,66,247,33,72,252,109,195,53,234,36,92, 155,218,241,136,119,60,168,118,236,240,142,93,232,238,130,196, 223,142,222,81,135,78,123,19,245,28,125,137,127,109,212,51, 168,101,108,94,200,44,143,210,196,139,146,94,26,25,52,95, 167,134,172,18,80,179,80,152,231,103,100,158,127,3,219,38, 52,10,243,92,1,18,22,36,75,108,192,21,119,174,12,152, 180,225,82,192,208,130,208,132,75,252,76,141,24,232,11,184, 54,224,51,147,22,92,97,107,161,66,191,14,150,210,182,25, 178,66,53,165,5,184,170,193,101,13,58,207,47,13,26,56, 179,33,251,23,124,177,199,68,23,153,168,1,151,216,90,112, 109,193,85,29,78,112,17,14,13,109,18,95,60,191,68,73, 113,164,211,182,144,219,227,41,113,73,148,48,202,18,127,36, 85,11,251,222,216,207,252,145,247,190,159,71,193,47,163,228, 172,221,40,87,165,249,225,216,87,3,151,183,153,164,143,209, 88,49,185,52,145,106,9,59,189,40,9,189,81,26,158,199, 82,45,18,45,175,23,197,210,243,120,242,163,209,56,205,212, 135,89,150,102,46,169,148,7,227,212,175,118,144,66,131,56, 205,101,155,190,198,159,113,137,188,162,213,189,49,83,36,6, 152,85,218,28,202,60,200,162,177,66,75,105,138,180,154,168, 181,201,70,220,228,31,98,115,52,72,71,242,40,205,99,255, 244,168,47,71,79,116,115,122,30,197,225,209,123,238,175,142, 198,19,53,72,147,35,28,139,18,37,81,21,241,209,140,18, 14,113,201,3,34,119,17,245,189,136,5,241,6,50,30,203, 172,73,163,59,244,41,209,18,203,162,46,76,209,22,77,236, 213,240,49,197,158,177,36,142,35,18,37,32,241,8,69,102, 137,155,127,2,91,8,13,124,102,64,182,71,168,24,226,79, 144,25,17,27,29,154,51,120,238,215,164,3,61,58,52,201, 214,122,240,146,145,132,144,194,149,79,201,184,9,48,28,106, 48,172,131,134,9,162,75,227,38,155,80,139,203,137,140,129, 196,45,200,255,126,155,66,210,2,212,49,122,43,14,109,225, 167,254,204,200,235,180,137,241,99,70,128,26,68,121,122,145, 176,158,169,207,190,210,65,157,124,50,249,248,116,40,3,149, 239,227,192,167,233,185,19,248,73,146,42,199,15,67,199,87, 42,139,78,207,149,204,29,149,58,7,121,219,38,195,174,149, 32,170,232,77,198,37,104,200,192,8,26,253,18,70,129,194, 151,117,126,97,253,231,82,33,0,6,105,152,227,56,145,232, 75,229,18,147,106,5,155,247,202,207,49,210,218,245,18,23, 185,140,123,170,193,16,243,243,220,227,207,209,56,163,137,118, 191,240,227,115,169,104,125,174,124,133,95,165,174,254,208,92, 240,244,144,36,42,5,34,37,121,73,154,132,19,228,39,10, 14,232,83,15,25,85,203,64,184,218,68,76,45,96,91,135, 38,98,172,101,4,196,186,85,32,138,209,180,69,130,2,91, 88,20,177,0,145,117,141,17,163,109,176,203,179,12,236,84, 14,245,104,179,75,192,117,119,169,217,163,230,107,165,152,247, 45,107,115,86,214,199,68,223,96,1,3,179,16,165,114,140, 227,91,142,241,232,198,49,48,146,117,8,224,6,185,193,13, 192,77,18,54,123,86,160,153,92,7,13,138,211,83,24,102, 21,184,20,223,24,17,12,63,151,48,53,13,172,254,20,176, 92,210,62,163,202,125,244,58,117,237,207,95,93,125,173,174, 39,68,127,185,192,67,147,113,208,16,1,25,211,40,148,199, 138,251,0,59,147,109,82,220,180,202,182,49,7,157,36,77, 78,38,156,144,56,21,107,207,215,154,212,29,139,144,211,51, 97,171,72,18,57,57,234,56,75,63,159,56,105,207,81,80, 242,240,244,32,63,60,200,223,69,87,118,158,113,112,208,206, 172,221,53,147,227,12,221,210,230,23,237,106,30,187,157,87, 132,121,84,45,37,92,182,8,43,148,35,75,174,50,10,40, 115,209,102,163,210,38,49,247,46,17,111,176,42,77,216,198, 167,33,152,3,47,229,8,198,233,157,103,241,121,159,148,74, 114,73,160,162,203,237,104,254,152,117,18,194,253,246,45,4, 220,51,227,238,91,72,233,131,210,81,234,80,217,155,30,147, 88,35,236,254,21,184,208,17,240,23,32,219,162,9,11,180, 179,95,209,67,38,90,167,229,127,4,14,14,119,36,28,67, 123,141,81,132,15,116,170,252,29,94,170,243,207,47,224,111, 83,145,229,218,4,65,185,194,44,74,153,233,92,97,85,126, 198,160,120,163,124,96,221,118,72,50,198,192,207,105,153,118, 61,179,114,189,155,32,85,213,32,24,79,238,27,47,139,154, 172,71,28,124,116,131,22,10,196,187,98,221,152,194,192,119, 169,121,187,50,191,40,199,238,145,153,253,217,200,57,149,37, 60,29,173,126,78,95,180,152,199,213,58,123,94,69,161,66, 115,173,68,243,227,10,205,146,227,231,75,174,93,169,53,200, 156,215,134,192,195,2,214,0,84,167,91,32,107,208,173,19, 238,185,54,19,133,91,136,50,222,80,156,186,21,156,89,5, 199,90,57,149,69,181,177,168,249,124,46,254,77,246,122,26, 251,163,211,208,127,246,59,34,77,244,131,210,81,140,146,217, 214,52,179,4,114,241,58,126,249,245,123,37,211,47,230,226, 219,223,71,74,21,179,140,228,48,13,216,161,127,51,144,206, 72,142,78,241,8,50,136,198,78,47,246,251,172,121,179,16, 230,227,82,24,197,166,155,77,114,57,69,141,227,212,9,210, 4,131,234,121,160,210,204,9,37,86,230,50,116,222,118,56, 34,59,81,238,248,167,56,235,7,74,131,246,182,159,113,93, 228,103,253,156,75,160,179,11,234,206,205,114,30,30,178,34, 172,240,78,74,101,232,234,191,10,175,92,212,105,15,192,92, 132,21,183,154,232,248,242,35,106,190,67,205,1,204,51,10, 31,33,165,223,18,73,82,70,29,67,128,45,212,234,180,147, 125,66,123,242,87,93,237,31,111,226,106,250,68,94,56,92, 157,86,202,5,58,208,81,107,83,32,198,51,119,49,184,196, 237,50,15,54,203,193,21,110,87,121,176,85,14,174,113,251, 128,7,215,203,235,129,13,30,220,132,238,22,157,177,105,100, 155,60,123,225,127,245,108,246,148,185,249,200,31,238,213,161, 221,199,255,23,94,221,31,64,145,157,95,231,204,98,90,144, 166,118,230,161,40,203,215,105,41,248,96,187,245,42,222,188, 32,147,190,146,218,4,59,115,18,139,3,128,254,144,87,25, 162,228,189,170,215,223,169,248,191,230,26,100,178,49,85,91, 178,93,196,9,22,12,88,127,94,178,136,158,161,75,208,27, 88,89,149,164,164,180,68,94,120,51,210,234,18,147,184,241, 199,99,153,132,55,229,35,207,204,197,164,20,96,66,184,201, 255,88,43,110,224,243,170,179,88,122,97,41,12,91,164,86, 185,199,188,108,195,144,139,74,171,180,249,188,82,69,77,151, 108,162,227,100,21,34,221,159,84,90,254,214,29,120,58,245, 147,240,34,10,213,192,235,249,148,53,232,236,241,102,11,177, 50,225,171,163,217,9,181,123,199,238,24,177,148,4,19,166, 254,85,243,68,148,98,83,241,126,247,90,236,122,81,248,122, 90,197,124,69,75,191,171,157,59,214,94,200,168,63,80,76, 234,43,166,137,18,161,80,191,50,68,216,57,67,25,75,244, 145,153,93,250,66,77,39,175,80,98,194,77,39,120,26,226, 211,6,190,199,158,55,191,172,245,99,164,244,25,145,220,0, 157,181,234,152,183,54,139,127,219,178,5,167,251,153,187,77, 205,9,85,217,186,182,158,228,46,135,179,213,10,56,124,7, 87,166,97,246,123,170,55,143,253,145,190,110,225,171,5,247, 27,212,124,179,196,30,235,75,31,174,248,68,163,207,134,232, 227,92,139,112,233,225,30,210,56,89,112,244,228,176,148,234, 80,75,213,137,70,250,110,137,175,1,71,79,212,218,204,178, 48,243,177,191,57,51,154,203,44,242,227,232,11,125,167,84, 14,115,226,158,165,75,252,84,111,156,238,111,199,91,182,95, 38,251,81,142,68,152,66,181,186,8,78,164,108,181,119,7, 106,166,119,206,205,214,186,0,214,167,235,103,116,47,154,63, 197,134,110,141,236,85,91,212,13,186,135,52,69,67,52,133, 37,150,155,182,105,215,237,154,137,120,160,145,117,209,48,237, 198,178,160,255,125,68,69,195,216,95,177,197,127,1,176,2, 79,58, }; EmbeddedPython embedded_m5_internal_param_BasicLink( "m5/internal/param_BasicLink.py", "/home/oslab/gem5/gem5/build/ARM/python/m5/internal/param_BasicLink.py", "m5.internal.param_BasicLink", data_m5_internal_param_BasicLink, 2162, 6275); } // anonymous namespace
57.267974
76
0.664803
Jakgn
18d6ee1565b07a5e3c88069f21d97b96c50529c3
1,918
cpp
C++
DFNs/Executors/CamerasTransformEstimation/CamerasTransformEstimationExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
DFNs/Executors/CamerasTransformEstimation/CamerasTransformEstimationExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
DFNs/Executors/CamerasTransformEstimation/CamerasTransformEstimationExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/** * @addtogroup DFNs * @{ */ #include "CamerasTransformEstimationExecutor.hpp" #include <Errors/Assert.hpp> using namespace MatrixWrapper; using namespace CorrespondenceMap2DWrapper; using namespace PoseWrapper; namespace CDFF { namespace DFN { namespace Executors { void Execute(CamerasTransformEstimationInterface* dfn, Matrix3dConstPtr inputMatrix, CorrespondenceMap2DConstPtr inputMatches, Pose3DConstPtr& outputTransform, bool& success) { Execute(dfn, *inputMatrix, *inputMatches, outputTransform, success); } void Execute(CamerasTransformEstimationInterface* dfn, Matrix3dConstPtr inputMatrix, CorrespondenceMap2DConstPtr inputMatches, Pose3DPtr outputTransform, bool& success) { ASSERT(outputTransform != NULL, "CamerasTransformEstimationExecutor, Calling NO instance creation Executor with a NULL pointer"); Execute(dfn, *inputMatrix, *inputMatches, *outputTransform, success); } void Execute(CamerasTransformEstimationInterface* dfn, const Matrix3d& inputMatrix, const CorrespondenceMap2D& inputMatches, Pose3DConstPtr& outputTransform, bool& success) { ASSERT( dfn!= NULL, "CamerasTransformEstimationExecutor, input dfn is null"); ASSERT( outputTransform == NULL, "CamerasTransformEstimationExecutor, Calling instance creation executor with a non-NULL pointer"); dfn->fundamentalMatrixInput(inputMatrix); dfn->matchesInput(inputMatches); dfn->process(); outputTransform = & ( dfn->transformOutput() ); success = dfn->successOutput(); } void Execute(CamerasTransformEstimationInterface* dfn, const Matrix3d& inputMatrix, const CorrespondenceMap2D& inputMatches, Pose3D& outputTransform, bool& success) { ASSERT( dfn!= NULL, "CamerasTransformEstimationExecutor, input dfn is null"); dfn->fundamentalMatrixInput(inputMatrix); dfn->matchesInput(inputMatches); dfn->process(); Copy( dfn->transformOutput(), outputTransform); success = dfn->successOutput(); } } } } /** @} */
33.649123
174
0.793014
H2020-InFuse
18e38baf325063e0ae23e521f5f3d5ed9abe7910
5,761
cpp
C++
Footfall/src/CameraManager.cpp
prabuckt/Footfall
fe8f87e7c804e670f5c4aae57a17fd4f7cb0fe49
[ "BSD-2-Clause" ]
1
2018-12-20T03:48:14.000Z
2018-12-20T03:48:14.000Z
Footfall/src/CameraManager.cpp
prabuckt/Footfall
fe8f87e7c804e670f5c4aae57a17fd4f7cb0fe49
[ "BSD-2-Clause" ]
null
null
null
Footfall/src/CameraManager.cpp
prabuckt/Footfall
fe8f87e7c804e670f5c4aae57a17fd4f7cb0fe49
[ "BSD-2-Clause" ]
null
null
null
// * Name: CameraManager.cpp // * Project: Footfall // * Author: David Haylock // * Creation Date: 13/02/2017 // * Copyright: (c) 2017 by Watershed Arts Trust Ltd. #include "CameraManager.h" //-------------------------------------------------------------- void CameraManager::setup(Camera_Configuration _cameraConfig) { cout << "Setting Up Camera Manager"; _useMask = _cameraConfig.bUseMask; _useVideoRecording = _cameraConfig.useVideoRecording; // Check whether the mask should be generated if (_useMask) { // Get the Mask Coordinates for (int i = 0; i < _cameraConfig.maskCoord.size(); i++) { cv::Point p = cv::Point(_cameraConfig.maskCoord[i].x,_cameraConfig.maskCoord[i].y); _maskPts.push_back(p); } mask = cvCreateMat(_cameraConfig.cameraheight, _cameraConfig.camerawidth, CV_8UC1); combinedMask = cvCreateMat(_cameraConfig.cameraheight, _cameraConfig.camerawidth, CV_8UC1); // Fill the Mat with black for(int i=0; i<mask.cols; i++) for(int j=0; j<mask.rows; j++) mask.at<uchar>(cv::Point(i,j)) = 0; vector<cv::Point> polyright; approxPolyDP(_maskPts, polyright, 1.0, true); fillConvexPoly(mask,&polyright[0],polyright.size(),255,8,0); } // Setup the Background MOG2 pMOG2 = new BackgroundSubtractorMOG2(_cameraConfig.history, _cameraConfig.mogThreshold, _cameraConfig.bTrackShadows ); // This is the ratio of the shadow detection. I.e how many times lighter the shadow needs to be to be considered a blob. pMOG2->setDouble("fTau", _cameraConfig.shadowPixelRatio); if (_useVideoRecording) { cout << " - Using Video" << endl; videoPlayer.load(_cameraConfig.videoFileName); videoPlayer.setLoopState(OF_LOOP_NORMAL); videoPlayer.play(); } else { cout << " - Using Pi Camera" << endl; piCamera.setup(_cameraConfig.camerawidth,_cameraConfig.cameraheight,true); piCamera.setFlips(_cameraConfig.bFlipH,_cameraConfig.bFlipV); } /* #ifdef USE_WEBCAM cout << " - Using Web Camera" << endl; videoGrabber.setVerbose(true); videoGrabber.setup(_cameraConfig.camerawidth, _cameraConfig.cameraheight); #endif */ _threshold = _cameraConfig.threshold; _showShadows = _cameraConfig.bShowShadowImage; _dilateAmount = _cameraConfig.dilateAmount; _erodeAmount = _cameraConfig.erodeAmount; _blur = _cameraConfig.blur; } //-------------------------------------------------------------- void CameraManager::update() { if (_useVideoRecording) { videoPlayer.update(); if (videoPlayer.isFrameNew()) { copy(videoPlayer, videoMatrix); } } else { videoMatrix = piCamera.grab(); } /* #ifdef USE_WEBCAM videoGrabber.update(); if (videoGrabber.isFrameNew()) { copy(videoGrabber, videoMatrix); } #endif */ if (!videoMatrix.empty()) { // Blur the original image GaussianBlur(videoMatrix, _blur); // Process the MOG if (_useMask) { videoMatrix.copyTo(combinedMask, mask); pMOG2->operator()(combinedMask,processedMog); } else { pMOG2->operator()(videoMatrix,processedMog); } // Get the background image pMOG2->getBackgroundImage(background); // If you want to see the effect of the shadow ratio threshold. Set the showshadow config to true // Copy the MOG's output before processing the mat if(_showShadows) copy(processedMog,unprocessed_MOG); // Image processing threshold(processedMog,_threshold); blur(processedMog,_blur); dilate(processedMog,_dilateAmount); erode(processedMog,_erodeAmount); dilate(processedMog,_dilateAmount); GaussianBlur(processedMog, _blur*2); // Leave these two threshold(processedMog,50); erode(processedMog,2); } } //-------------------------------------------------------------- void CameraManager::draw() { ofPushMatrix(); ofSetColor(255, 255, 255); ofFill(); ofDrawRectangle(0, 0, videoMatrix.cols+1,videoMatrix.rows+1); //ofDrawRectangle(videoMatrix.cols -1, 0, videoMatrix.cols+1,videoMatrix.rows+1); //ofDrawRectangle(videoMatrix.cols -1, videoMatrix.rows+29, videoMatrix.cols + 2,videoMatrix.rows + 2); //ofDrawRectangle(0, videoMatrix.rows+29,videoMatrix.cols+2,videoMatrix.rows+2); //drawMat(videoMatrix, 0, 0,videoMatrix.cols,videoMatrix.rows); //placeScreen(videoMatrix, "Input Image", 0, 0, false, true); //placeScreen(background, "Background", 1, 0, false, true); placeScreen(unprocessed_MOG, "", 0, 0, false, true); //placeScreen(processedMog, "Processed Image", 1, 1, false, true); //drawMat(background, videoMatrix.cols, 0,videoMatrix.cols,videoMatrix.rows); //ofDrawBitmapStringHighlight("Input Image", (videoMatrix.cols/2)-45,videoMatrix.rows+20); //ofDrawBitmapStringHighlight("Background", ((videoMatrix.cols/2)*3)-65,videoMatrix.rows+20); //drawMat(unprocessed_MOG, videoMatrix.cols, videoMatrix.rows+30,videoMatrix.cols,videoMatrix.rows); //ofDrawBitmapStringHighlight("Shadows Image", ((videoMatrix.cols/2)*3)-45,(videoMatrix.rows*2)+50); //drawMat(processedMog, 0, videoMatrix.rows+30,videoMatrix.cols,videoMatrix.rows); //ofDrawBitmapStringHighlight("Processed Image", (videoMatrix.cols/2)-45,(videoMatrix.rows*2)+50); ofPopMatrix(); } //-------------------------------------------------------------- Mat CameraManager::getImage() { return processedMog; } void CameraManager::placeScreen(Mat screen, std::string caption, int x, int y, bool full, bool border) { if (full) { drawMat(screen, 0, 0, screen.cols*2, screen.rows*2); if (caption != "") ofDrawBitmapStringHighlight(caption, 5, 15); } else { int startX; int startY; if (x==0) startX = 0; else startX = screen.cols; if (y == 0) startY = 0; else startY = screen.rows; drawMat(screen, startX, startY, screen.cols, screen.rows); if (caption != "") ofDrawBitmapStringHighlight(caption, startX+5, startY+15); } }
30.321053
121
0.691026
prabuckt
18e551bafb75f4fabd3a44ed9aa186c9254d4d4a
1,724
cpp
C++
openGLSolution/openGLFirst/BPCollisionProfile.cpp
qsrenniks/quengine
55cf9c69f5c17109b04e6ceb771fd6d12bf41fee
[ "MIT" ]
null
null
null
openGLSolution/openGLFirst/BPCollisionProfile.cpp
qsrenniks/quengine
55cf9c69f5c17109b04e6ceb771fd6d12bf41fee
[ "MIT" ]
null
null
null
openGLSolution/openGLFirst/BPCollisionProfile.cpp
qsrenniks/quengine
55cf9c69f5c17109b04e6ceb771fd6d12bf41fee
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "BPCollisionProfile.h" #include "CollisionOccurence.h" #include "glm/gtc/matrix_transform.hpp" BPCollisionProfile::BPCollisionProfile(const glm::vec2& extent) : offsetExtent_(extent) { } BPCollisionProfile::~BPCollisionProfile() { } void BPCollisionProfile::UpdateAABB(const glm::vec2& newLocation, const glm::vec2& newScale) { location_ = newLocation; glm::mat4 newTransform{1.0f}; auto translation = glm::translate(glm::mat4(1.0f), glm::vec3(newLocation, 0.0f)); auto scale = glm::scale(glm::mat4(1.0), glm::vec3(newScale, 1.0f)); newTransform = scale; extent_ = newTransform * glm::vec4(offsetExtent_, 0.0f, 1.0f); } CollisionStatus BPCollisionProfile::IsProfileCollidingWith(CollisionProfile* otherProfile) const { BPCollisionProfile* bpOtherProfile = dynamic_cast<BPCollisionProfile*>(otherProfile); if (bpOtherProfile == nullptr) { return CollisionStatus::INVALID; } glm::vec2 aExtent = extent_; aExtent *= 2.0f; glm::vec2 bExtent = bpOtherProfile->GetAABBExtent(); bExtent *= 2.0f; glm::vec2 aLocation = location_; glm::vec2 bLocation = bpOtherProfile->GetAABBLocation(); bool isColliding = (std::abs(aLocation.x - bLocation.x) * 2 < (aExtent.x + bExtent.x)) && (std::abs(aLocation.y - bLocation.y) * 2 < (aExtent.y + bExtent.y)); //#Note AABB Collision Check if(isColliding) { return CollisionStatus::COLLIDING; } return CollisionStatus::NOT_COLLIDING; } const glm::vec2& BPCollisionProfile::GetAABBExtent() const { return extent_; } const glm::vec2& BPCollisionProfile::GetAABBLocation() const { return location_; } void BPCollisionProfile::SetAABBExtent(const glm::vec2& extent) { offsetExtent_ = extent; }
24.628571
160
0.725638
qsrenniks
18fb7d3a89eb2cad1341e7595d21abe7fb1826bf
895
hpp
C++
src/lib/expression/IExpressionHandler.hpp
lachvoj/pugcpp
b0f0f3f52ed81553717f9f5d72b319b6d48d05d4
[ "MIT" ]
null
null
null
src/lib/expression/IExpressionHandler.hpp
lachvoj/pugcpp
b0f0f3f52ed81553717f9f5d72b319b6d48d05d4
[ "MIT" ]
null
null
null
src/lib/expression/IExpressionHandler.hpp
lachvoj/pugcpp
b0f0f3f52ed81553717f9f5d72b319b6d48d05d4
[ "MIT" ]
null
null
null
#ifndef IExpressionHadler #define IExpressionHadler #include <any> #include <string> #include "../exceptions/ExpressionException.hpp" #include "../model/PugModel.hpp" using namespace std; namespace pugcpp { // forward declarations namespace model { class PugModel; } namespace expression { using namespace model; class IExpressionHandler { protected: IExpressionHandler(){}; public: virtual ~IExpressionHandler(){}; virtual bool evaluateBooleanExpression(const string &expression, PugModel &model) = 0; virtual any evaluateExpression(const string &expression, PugModel &model) = 0; virtual string evaluateStringExpression(const string &expression, PugModel &model) = 0; virtual void assertExpression(string expression) = 0; virtual void setCache(bool cache) = 0; virtual void clearCache() = 0; }; } // namespace expression } // namespace pugcpp #endif
21.829268
91
0.746369
lachvoj
18fdda9169abff5e7dec5b9300e14884dd426084
750
cpp
C++
Array/find_missing_digit.cpp
heysujal/Problem-Solving-in-cpp
b5e21bc467d57d3c2050776b948e7f59daabe945
[ "Unlicense" ]
1
2021-10-04T16:24:57.000Z
2021-10-04T16:24:57.000Z
Array/find_missing_digit.cpp
heysujal/Problem-Solving-in-cpp
b5e21bc467d57d3c2050776b948e7f59daabe945
[ "Unlicense" ]
null
null
null
Array/find_missing_digit.cpp
heysujal/Problem-Solving-in-cpp
b5e21bc467d57d3c2050776b948e7f59daabe945
[ "Unlicense" ]
1
2021-10-04T16:25:00.000Z
2021-10-04T16:25:00.000Z
#include <bits/stdc++.h> using namespace std; void find_missing(int arr[], int n){ int original_size = n + 1; for (int j = 1; j <= original_size;j++){ int flag = 0; int k; for ( k = 0; k < n; k++) { if (arr[k] == j) { flag = 1; break; } } if(flag == 0){ cout << "the missing number is " << arr[k - 1]; } } } int main() { //one less than original size int n; cin >> n; int arr[] = {1, 2, 4, 6, 3, 7, 8}; // for (int i = 0; i < n; i++) // { // cin >> arr[i]; // } find_missing(arr, 7); return 0; }
14.705882
64
0.350667
heysujal
bb391ae375b5b82dd51b83d8fe269c41c9e44e82
755
cpp
C++
Blog/10_AccessModifier/AccessModifierPractice.cpp
LeeHeungrok/CPP-Study
9350a9e396d26a7994077c739bc566c4329e1f03
[ "MIT" ]
null
null
null
Blog/10_AccessModifier/AccessModifierPractice.cpp
LeeHeungrok/CPP-Study
9350a9e396d26a7994077c739bc566c4329e1f03
[ "MIT" ]
null
null
null
Blog/10_AccessModifier/AccessModifierPractice.cpp
LeeHeungrok/CPP-Study
9350a9e396d26a7994077c739bc566c4329e1f03
[ "MIT" ]
null
null
null
#include <iostream> #define SAFEDELETE(PTR) delete PTR; PTR = nullptr struct PRODUCTINFO{ private: char Name[10]; int Price; protected: char Company[20]; public: void InitializeInfo(const char *szName, int iPrice, const char *szCompany){ strcpy(this->Name, szName); this->Price = iPrice; strcpy(this->Company, szCompany); } void PrintInfo(void){ printf("회사 : %16s\n", this->Company); printf("이름 : %16s\n", this->Name); printf("가격 : %14d원\n", this->Price); } }; typedef PRODUCTINFO *PPRODUCTINFO; int main(void){ PPRODUCTINFO Gunpra = new PRODUCTINFO; Gunpra->InitializeInfo("Gundam", 42000, "Bandai"); Gunpra->PrintInfo(); SAFEDELETE(Gunpra); return 0; }
22.878788
79
0.627815
LeeHeungrok
bb3aa65f5e0ff05f42de3b6ed9f53782719a17b3
1,510
cpp
C++
1c++/src/createFileNameList.cpp
nuke160/NIT-ICCV17Challenge
6091695bef56d0ed41d05176f3e153632f5a758a
[ "BSD-2-Clause" ]
null
null
null
1c++/src/createFileNameList.cpp
nuke160/NIT-ICCV17Challenge
6091695bef56d0ed41d05176f3e153632f5a758a
[ "BSD-2-Clause" ]
null
null
null
1c++/src/createFileNameList.cpp
nuke160/NIT-ICCV17Challenge
6091695bef56d0ed41d05176f3e153632f5a758a
[ "BSD-2-Clause" ]
null
null
null
// Authors: Frerk Saxen and Philipp Werner (Frerk.Saxen@ovgu.de, Philipp.Werner@ovgu.de) // License: BSD 2-Clause "Simplified" License (see LICENSE file in root directory) #include <iostream> #include <fstream> #include <experimental/filesystem> #include <dlib/string.h> namespace fs = std::experimental::filesystem; bool is_valid_ext(const fs::path& path); void createFileNameList(const std::string& dataset_dir, const std::string& exdata_dir, const std::string& train_or_val_or_test) { std::string filename_list_filename = exdata_dir + train_or_val_or_test + "_filenames.txt"; if(!fs::is_directory(dataset_dir)) { std::cout << "Error: " << dataset_dir << " is not a valid directory." << std::endl; return; } // Open detection filename std::ofstream oFile(filename_list_filename); DLIB_CASSERT(oFile.is_open(), "Error: Could not open " << filename_list_filename << " for writing." << std::endl); for(auto& f: fs::directory_iterator(dataset_dir)) { if(fs::is_directory(f)) { for(auto& f2: fs::directory_iterator(f)) if(is_valid_ext(f2.path())) { oFile << f2.path().string() << '\n'; } } else { if(is_valid_ext(f.path())) oFile << f.path().string() << '\n'; } } oFile.close(); } bool is_valid_ext(const fs::path& path) { std::vector<std::string> valid_file_ext = {".mp4",".avi"}; std::string ext = dlib::tolower(path.extension().string()); for(auto val_ext : valid_file_ext) if(ext.compare(val_ext) == 0) return true; return false; }
26.491228
127
0.681457
nuke160
bb3b50f57fe69a04a063a8c04d72f5b207d8038a
1,419
cpp
C++
src/parser/canada/montrealparser.cpp
sthocs/harbour-bikeme
3ebaf553199a1c91275126dbc1d6baac00d58135
[ "MIT" ]
6
2017-11-20T06:05:50.000Z
2022-01-04T11:11:51.000Z
src/parser/canada/montrealparser.cpp
sthocs/harbour-bikeme
3ebaf553199a1c91275126dbc1d6baac00d58135
[ "MIT" ]
2
2021-06-29T22:30:57.000Z
2022-01-05T16:31:44.000Z
src/parser/canada/montrealparser.cpp
sthocs/harbour-bikeme
3ebaf553199a1c91275126dbc1d6baac00d58135
[ "MIT" ]
1
2017-04-18T05:56:51.000Z
2017-04-18T05:56:51.000Z
#include <QJsonDocument> #include <QJsonObject> #include <QJsonArray> #include <QJsonValue> #include "montrealparser.h" // See http://donnees.ville.montreal.qc.ca/dataset/bixi-etat-des-stations/resource/b1ddc812-f5c8-48e8-94c5-57efb12ddd6a QList<Station*> MontrealParser::parseStationsList(QString allStations, bool withDetails) { QList<Station*> stationsList; QJsonDocument doc = QJsonDocument::fromJson(allStations.toUtf8()); QJsonArray stationsArray = doc.object()["stations"].toArray(); for (int i = 0; i < stationsArray.size(); ++i) { QJsonObject stationJson = stationsArray[i].toObject(); Station* station = new Station(); station->number = stationJson["id"].toInt(); station->name = stationJson["s"].toString(); QGeoCoordinate coord(stationJson["la"].toDouble(), stationJson["lo"].toDouble()); station->coordinates = coord; if (withDetails) { station->opened = !stationJson["b"].toBool() && !stationJson["su"].toBool(); station->bike_stands = stationJson["da"].toInt() + stationJson["dx"].toInt(); station->available_bike_stands = stationJson["da"].toInt(); station->available_bikes = stationJson["ba"].toInt(); station->last_update = QDateTime::fromMSecsSinceEpoch(stationJson["lu"].toDouble()); } stationsList.append(station); } return stationsList; }
44.34375
119
0.666667
sthocs
bb3d19183ec0fdc0df525978d5b11a450fb012c1
1,380
hpp
C++
src/nearest_neighbors/visible_proximity.hpp
falcowinkler/flockingbird
eed3e7cead4a37635625d1055fb0a830e6152d1b
[ "MIT" ]
2
2021-05-30T19:19:50.000Z
2021-08-29T05:58:21.000Z
src/nearest_neighbors/visible_proximity.hpp
falcowinkler/flockingbird
eed3e7cead4a37635625d1055fb0a830e6152d1b
[ "MIT" ]
null
null
null
src/nearest_neighbors/visible_proximity.hpp
falcowinkler/flockingbird
eed3e7cead4a37635625d1055fb0a830e6152d1b
[ "MIT" ]
1
2021-12-01T07:00:49.000Z
2021-12-01T07:00:49.000Z
#include "../flock_simulation/flock.hpp" #include "nanoflann.hpp" #include <iostream> #include <ostream> #include <vector> using namespace nanoflann; const int dim = 2; const int maxLeaf = 10; typedef KDTreeSingleIndexAdaptor<L2_Simple_Adaptor<float, flockingbird::Flock>, flockingbird::Flock, dim> kd_tree_t; class VisibleProximity { private: flockingbird::Flock flock; kd_tree_t kdTree; public: VisibleProximity(flockingbird::Flock flockToQuery) : flock(flockToQuery) , kdTree(dim, flock, KDTreeSingleIndexAdaptorParams(maxLeaf)) { kdTree.buildIndex(); } std::vector<flockingbird::Boid> of(int index, float visionRange) { nanoflann::SearchParams params; params.sorted = false; std::vector<std::pair<size_t, float>> ret_matches; Vector2D boidPosition = flock.boids[index].position; const float query_pt[2] = {boidPosition.x, boidPosition.y}; kdTree.radiusSearch(query_pt, visionRange, ret_matches, params); // TODO: Maybe block vision in the backwards direction of the bird? std::vector<flockingbird::Boid> result; for (auto match: ret_matches) { float distance = match.second; if (distance > 0) { result.push_back(flock.boids[match.first]); } } return result; } };
31.363636
116
0.656522
falcowinkler
bb457bf6116e1937274c8c6ef49db42c12088985
1,019
cpp
C++
13_greedy_prob/9_max_tot_val.cpp
ShyamNandanKumar/coding-ninja2
a43a21575342261e573f71f7d8eff0572f075a17
[ "MIT" ]
11
2021-01-02T10:07:17.000Z
2022-03-16T00:18:06.000Z
13_greedy_prob/9_max_tot_val.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
null
null
null
13_greedy_prob/9_max_tot_val.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
5
2021-05-19T11:17:18.000Z
2021-09-16T06:23:31.000Z
// https://dmoj.ca/problem/coci13c1p4 #include<bits/stdc++.h> using namespace std; typedef long long ll; bool compare(int item1[],int item2[]){ if(item1[1]!=item2[1]){ return item1[1]>item2[1]; } return item1[0]<item2[0]; } int main(){ // inputs int n,k; cin>>n>>k; int **items=new int*[n]; for(int i=0;i<n;i++){ items[i]=new int[2]; } for(int i=0;i<n;i++){ cin>>items[i][0]>>items[i][1]; } multiset<int> bags; for(int i=0;i<k;i++){ int wt; cin>>wt; bags.insert(wt); } // logic sort(items,items+n,compare); // find the best bag possible for every element // means find the most fittest bag possible for the item ll ans=0; for(int i=0;i<n;i++){ if(bags.empty()){ break; } else if(bags.lower_bound(items[i][0])!=bags.end()){ ans+=items[i][1]; bags.erase(bags.lower_bound(items[i][0])); } } cout<<ans<<endl; }
21.229167
60
0.511286
ShyamNandanKumar
bb48fccca53186845978cbb24f1276b3efebf0a9
363
cpp
C++
RegistryPerformanceViewer/Utils.cpp
Eran-YT/RegistryPerformanceViewer
0040ba20c0400af28e7d31c0c2e858ee8ead38d7
[ "MIT" ]
1
2022-01-22T18:30:43.000Z
2022-01-22T18:30:43.000Z
RegistryPerformanceViewer/Utils.cpp
Eran-YT/RegistryPerformanceViewer
0040ba20c0400af28e7d31c0c2e858ee8ead38d7
[ "MIT" ]
7
2022-01-22T18:27:44.000Z
2022-03-01T19:12:08.000Z
RegistryPerformanceViewer/Utils.cpp
Eran-YT/RegistryPerformanceViewer
0040ba20c0400af28e7d31c0c2e858ee8ead38d7
[ "MIT" ]
null
null
null
#include "Utils.hpp" std::wstring Utils::fix_path(const std::wstring& path) { static const std::wstring invalid_chars{ L'<', L'>', L':', L'"', L'/', L'\\', L'|', L'?', L'*' }; std::wstring new_path(path); for (wchar_t& wchar : new_path) { if (invalid_chars.contains(wchar)) { wchar = L'_'; } } return new_path; }
24.2
101
0.534435
Eran-YT
bb4d7881c45fec9093966789fd77580ba5ca7eb5
206
cc
C++
basics/01_hello_world/hello_main.cc
lyrahgames/cpp-basic-course
e35b938a29e4d27d70cf1427b229352beb23f2be
[ "MIT" ]
1
2019-07-04T10:52:58.000Z
2019-07-04T10:52:58.000Z
basics/01_hello_world/hello_main.cc
lyrahgames/cpp-basic-course
e35b938a29e4d27d70cf1427b229352beb23f2be
[ "MIT" ]
3
2021-05-20T04:44:25.000Z
2022-02-26T05:09:15.000Z
basics/01_hello_world/hello_main.cc
lyrahgames/cpp-basic-course
e35b938a29e4d27d70cf1427b229352beb23f2be
[ "MIT" ]
null
null
null
// include standard library to use 'cout' #include <iostream> // define the entry point of the program int main() { // print "Hello, World!" on the terminal std::cout << "Hello, World!" << std::endl; }
25.75
44
0.660194
lyrahgames
bb5a078e63985cf638584bcf215c808547ba7837
872
hpp
C++
include/RED4ext/Scripting/Natives/Generated/physics/FilterData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/physics/FilterData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/physics/FilterData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/ISerializable.hpp> #include <RED4ext/Scripting/Natives/Generated/physics/QueryFilter.hpp> #include <RED4ext/Scripting/Natives/Generated/physics/SimulationFilter.hpp> namespace RED4ext { namespace physics { struct CustomFilterData; } namespace physics { struct FilterData : ISerializable { static constexpr const char* NAME = "physicsFilterData"; static constexpr const char* ALIAS = NAME; physics::QueryFilter queryFilter; // 30 physics::SimulationFilter simulationFilter; // 40 CName preset; // 50 Handle<physics::CustomFilterData> customFilterData; // 58 }; RED4EXT_ASSERT_SIZE(FilterData, 0x68); } // namespace physics } // namespace RED4ext
28.129032
75
0.763761
jackhumbert
bb617bba33cafcdf562edefe00a7869dd2a40242
4,678
cpp
C++
src/executor/task_action.cpp
pointnity/Scheduler-of-Pointnity-N.1.1.0
8824bfb95d80d638ff466535747430bae15c212d
[ "MIT" ]
1
2019-08-15T10:04:31.000Z
2019-08-15T10:04:31.000Z
src/executor/task_action.cpp
pointnity/Scheduler-V0.1-
8824bfb95d80d638ff466535747430bae15c212d
[ "MIT" ]
null
null
null
src/executor/task_action.cpp
pointnity/Scheduler-V0.1-
8824bfb95d80d638ff466535747430bae15c212d
[ "MIT" ]
null
null
null
/******************************** FileName: executor/task_entity.cpp Version: 0.1 Description: task entity in executor, corresponds to task, corresponds to kvm/lxc *********************************/ #include <log4cplus/logger.h> #include <log4cplus/loggingmacros.h> #include <gflags/gflags.h> #include <iostream> #include "include/proxy.h" #include "common/clynn/rpc.h" #include "executor/task_action.h" #include "executor/task_entity_pool.h" #include "executor/task_entity.h" #include "executor/dispatcher.h" using log4cplus::Logger; using clynn::WriteLocker; using clynn::ReadLocker; static Logger logger = Logger::getInstance("executor"); DECLARE_string(jobs_manager_endpoint); DECLARE_bool(jobs_manager_up); DECLARE_bool(debug); void TaskAction::TaskRunning(TaskID id) { TaskPtr task_ptr = TaskPoolI::Instance()->GetTaskPtr(id); TaskEntityState::type m_state = task_ptr->GetState(); //update task state to JM if(m_state != TaskEntityState::TASKENTITY_RUNNING) { try { Proxy<JobsManagerClient> proxy = RpcClient<JobsManagerClient>::GetProxy(FLAGS_jobs_manager_endpoint); proxy().TaskStarted(id.job_id, id.task_id); } catch (TException &tx) { LOG4CPLUS_ERROR(logger, "Update running of task state to JM error: " << tx.what()); } } //update task state task_ptr->SetState(TaskEntityState::TASKENTITY_RUNNING); if(FLAGS_debug) { LOG4CPLUS_INFO(logger, "Task has running, job_id:" << id.job_id << ", task_id:" << id.task_id); } } void TaskAction::TaskFinished(TaskID id) { //delete task object if (!TaskPoolI::Instance()->KillTaskByID(id)) { LOG4CPLUS_ERROR(logger, "Failed to kill task, job_id:" << id.job_id << ", task_id:" << id.task_id); return; } TaskPoolI::Instance()->Delete(id); LOG4CPLUS_INFO(logger, "Task finished, handle event of kill task action, job_id:" << id.job_id << ", task_id:" << id.task_id); //update task state to JM try { Proxy<JobsManagerClient> proxy = RpcClient<JobsManagerClient>::GetProxy(FLAGS_jobs_manager_endpoint); proxy().TaskFinished(id.job_id, id.task_id); } catch (TException &tx) { LOG4CPLUS_ERROR(logger, "Update finished of task state to JM error: " << tx.what()); } } void TaskAction::TaskFailed(TaskID id) { //delete task object if (!TaskPoolI::Instance()->KillTaskByID(id)) { LOG4CPLUS_ERROR(logger, "Failed to kill task, job_id:" << id.job_id << ", task_id:" << id.task_id); return ; } TaskPoolI::Instance()->Delete(id); LOG4CPLUS_INFO(logger, "Task failed, handle event of kill task action, job_id:" << id.job_id << ", task_id:" << id.task_id); //update task state to JM try { Proxy<JobsManagerClient> proxy = RpcClient<JobsManagerClient>::GetProxy(FLAGS_jobs_manager_endpoint); proxy().TaskFailed(id.job_id, id.task_id); } catch (TException &tx) { LOG4CPLUS_ERROR(logger, "Update failed of task state to JM error: " << tx.what()); } } void TaskAction::TaskMissed(TaskID id) { //delete task object if (!TaskPoolI::Instance()->KillTaskByID(id)) { LOG4CPLUS_ERROR(logger, "Failed to kill task, job_id:" << id.job_id << ", task_id:" << id.task_id); return ; } TaskPoolI::Instance()->Delete(id); LOG4CPLUS_INFO(logger, "Task missed, handle event of kill task action, job_id:" << id.job_id << ", task_id:" << id.task_id); //update task state to JM try { Proxy<JobsManagerClient> proxy = RpcClient<JobsManagerClient>::GetProxy(FLAGS_jobs_manager_endpoint); proxy().TaskMissed(id.job_id, id.task_id); } catch (TException &tx) { LOG4CPLUS_ERROR(logger, "Update missed of task state to JM error: " << tx.what()); } } void TaskAction::TaskTimeout(TaskID id) { //delete task object if (!TaskPoolI::Instance()->KillTaskByID(id)) { LOG4CPLUS_ERROR(logger, "Failed to kill task, job_id:" << id.job_id << ", task_id:" << id.task_id); return ; } TaskPoolI::Instance()->Delete(id); LOG4CPLUS_INFO(logger, "Task timeout, handle event of kill task action, job_id:" << id.job_id << ", task_id:" << id.task_id); //update task state to JM try { Proxy<JobsManagerClient> proxy = RpcClient<JobsManagerClient>::GetProxy(FLAGS_jobs_manager_endpoint); proxy().TaskTimeout(id.job_id, id.task_id); } catch (TException &tx) { LOG4CPLUS_ERROR(logger, "Update timeout of task state to JM error: " << tx.what()); } }
39.310924
130
0.641513
pointnity
bb760689af05cf279072a32ab277167edabeb44d
2,917
hpp
C++
private/inc/rtprocessingfwx/IasStreamParams.hpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
5
2018-11-05T07:37:58.000Z
2022-03-04T06:40:09.000Z
private/inc/rtprocessingfwx/IasStreamParams.hpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
null
null
null
private/inc/rtprocessingfwx/IasStreamParams.hpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
7
2018-12-04T07:32:19.000Z
2021-02-17T11:28:28.000Z
/* * Copyright (C) 2018 Intel Corporation.All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasStreamParams.hpp * @date 2012 * @brief The definition of the IasStreamParams class. */ #ifndef IASSTREAMPARAMS_HPP_ #define IASSTREAMPARAMS_HPP_ #include "avbaudiomodules/audio/common/IasAudioCommonTypes.hpp" namespace IasAudio { /** * @class IasStreamParams * * This class provides an easy way to access all required parameters for a processing module when dealing * with streams and bundles. */ class IAS_AUDIO_PUBLIC IasStreamParams { public: /** * @brief Constructor. * * @param[in] bundleIndex The bundle index into the list of bundles to be processed. * @param[in] channelIndex The channel index to the first channel inside this bundle. * @param[in] numberChannels The number of channels of the stream contained in this bundle. */ IasStreamParams(uint32_t bundleIndex, uint32_t channelIndex, uint32_t numberChannels); /** * @brief Destructor, virtual by default. */ virtual ~IasStreamParams(); /** * @brief Getter method for the bundle index. * * The bundle index is the index into the list of bundles created by the method * addStreamToProcess of class IasGenericAudioCompConfig. * * @returns The bundle index. */ inline uint32_t getBundleIndex() const { return mBundleIndex; } /** * @brief Getter method for the channel index. * * The channel index is the offset in the bundle where the first channel * of the corresponding stream can be found. * * @returns The channel index. */ inline uint32_t getChannelIndex() const { return mChannelIndex; } /** * @brief Getter method for the number of channels. * * The number of channels in the referenced bundle belonging to the corresponding stream. * * @returns The number of channels in the referenced bundle. */ inline uint32_t getNumberChannels() const { return mNumberChannels; } private: /** * @brief Copy constructor, private unimplemented to prevent misuse. */ IasStreamParams(IasStreamParams const &other); /** * @brief Assignment operator, private unimplemented to prevent misuse. */ IasStreamParams& operator=(IasStreamParams const &other); // Member variables uint32_t mBundleIndex; //!< The index of a bundle in the list of bundles to be processed. uint32_t mChannelIndex; //!< The index of the first channel inside the bundle belonging //!< to the stream to be processed. uint32_t mNumberChannels; //!< The number of channels of the stream to be processed. }; } //namespace IasAudio #endif /* IASSTREAMPARAMS_HPP_ */
31.031915
113
0.658553
juimonen
bb7aa2482452906b087994aac4ee543e4759538f
2,151
hpp
C++
include/ocpp1_6/messages/MeterValues.hpp
EVerest/libocpp
e2378e4fcef88e4be82b057626086c899a186b14
[ "Apache-2.0" ]
9
2022-01-16T05:13:16.000Z
2022-03-18T22:15:16.000Z
include/ocpp1_6/messages/MeterValues.hpp
EVerest/libocpp
e2378e4fcef88e4be82b057626086c899a186b14
[ "Apache-2.0" ]
null
null
null
include/ocpp1_6/messages/MeterValues.hpp
EVerest/libocpp
e2378e4fcef88e4be82b057626086c899a186b14
[ "Apache-2.0" ]
3
2022-01-20T04:51:01.000Z
2022-03-13T07:16:49.000Z
// SPDX-License-Identifier: Apache-2.0 // Copyright 2020 - 2022 Pionix GmbH and Contributors to EVerest #ifndef OCPP1_6_METERVALUES_HPP #define OCPP1_6_METERVALUES_HPP #include <boost/optional.hpp> #include <ocpp1_6/enums.hpp> #include <ocpp1_6/ocpp_types.hpp> #include <ocpp1_6/types.hpp> namespace ocpp1_6 { /// \brief Contains a OCPP 1.6 MeterValues message struct MeterValuesRequest : public Message { int32_t connectorId; std::vector<MeterValue> meterValue; boost::optional<int32_t> transactionId; /// \brief Provides the type of this MeterValues message as a human readable string /// \returns the message type as a human readable string std::string get_type() const; }; /// \brief Conversion from a given MeterValuesRequest \p k to a given json object \p j void to_json(json& j, const MeterValuesRequest& k); /// \brief Conversion from a given json object \p j to a given MeterValuesRequest \p k void from_json(const json& j, MeterValuesRequest& k); /// \brief Writes the string representation of the given MeterValuesRequest \p k to the given output stream \p os /// \returns an output stream with the MeterValuesRequest written to std::ostream& operator<<(std::ostream& os, const MeterValuesRequest& k); /// \brief Contains a OCPP 1.6 MeterValuesResponse message struct MeterValuesResponse : public Message { /// \brief Provides the type of this MeterValuesResponse message as a human readable string /// \returns the message type as a human readable string std::string get_type() const; }; /// \brief Conversion from a given MeterValuesResponse \p k to a given json object \p j void to_json(json& j, const MeterValuesResponse& k); /// \brief Conversion from a given json object \p j to a given MeterValuesResponse \p k void from_json(const json& j, MeterValuesResponse& k); /// \brief Writes the string representation of the given MeterValuesResponse \p k to the given output stream \p os /// \returns an output stream with the MeterValuesResponse written to std::ostream& operator<<(std::ostream& os, const MeterValuesResponse& k); } // namespace ocpp1_6 #endif // OCPP1_6_METERVALUES_HPP
38.410714
114
0.756857
EVerest
bb86fe1eed19020df4d18f7db3310dbb9d693fc1
3,841
cpp
C++
tc 160+/ResistorCombinations.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/ResistorCombinations.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/ResistorCombinations.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cmath> using namespace std; double tr, sol, dif; vector<double> a; vector<int> order; inline double serial(double a, double b) { return a+b; } inline double parallel(double a, double b) { return a*b/(a+b); } inline void update(double cur) { if (fabs(tr-cur) < dif) { dif = fabs(tr-cur); sol = cur; } } template<class T> void append(vector<T> &a, const vector<T> &b) { for (int i=0; i<(int)b.size(); ++i) a.push_back(b[i]); } vector<double> go(int l, int r) { if (l+1 == r) return vector<double>(1, a[order[l]]); vector<double> ret; for (int m=l+1; m<r; ++m) { vector<double> x = go(l, m); vector<double> y = go(m, r); for (int i=0; i<(int)x.size(); ++i) for (int j=0; j<(int)y.size(); ++j) { ret.push_back(serial(x[i], y[j])); ret.push_back(parallel(x[i], y[j])); } append(ret, x); append(ret, y); } return ret; } class ResistorCombinations { public: double closestValue(vector <string> resistances, double target) { tr = target; a.clear(); for (int i=0; i<(int)resistances.size(); ++i) { double x; sscanf(resistances[i].c_str(), "%lf", &x); a.push_back(x); } dif = 1e32; order.clear(); for (int i=0; i<(int)a.size(); ++i) order.push_back(i); do { vector<double> t = go(0, order.size()); for (int i=0; i<(int)t.size(); ++i) update(t[i]); } while (next_permutation(order.begin(), order.end())); return sol; } // BEGIN CUT HERE public: void run_test(int Case) { if ((Case == -1) || (Case == 0)) test_case_0(); if ((Case == -1) || (Case == 1)) test_case_1(); if ((Case == -1) || (Case == 2)) test_case_2(); if ((Case == -1) || (Case == 3)) test_case_3(); if ((Case == -1) || (Case == 4)) test_case_4(); } private: template <typename T> string print_array(const vector<T> &V) { ostringstream os; os << "{ "; for (typename vector<T>::const_iterator iter = V.begin(); iter != V.end(); ++iter) os << '\"' << *iter << "\","; os << " }"; return os.str(); } void verify_case(int Case, const double &Expected, const double &Received) { cerr << "Test Case #" << Case << "..."; if (Expected == Received) cerr << "PASSED" << endl; else { cerr << "FAILED" << endl; cerr << "\tExpected: \"" << Expected << '\"' << endl; cerr << "\tReceived: \"" << Received << '\"' << endl; } } void test_case_0() { string Arr0[] = {"2","3","5"}; vector <string> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); double Arg1 = 2.5; double Arg2 = 2.5; verify_case(0, Arg2, closestValue(Arg0, Arg1)); } void test_case_1() { string Arr0[] = {"2","3","5"}; vector <string> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); double Arg1 = 1; double Arg2 = 0.967741935483871; verify_case(1, Arg2, closestValue(Arg0, Arg1)); } void test_case_2() { string Arr0[] = {"10.25","13.31","6.777","12.2"}; vector <string> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); double Arg1 = 10.5; double Arg2 = 10.510805181371511; verify_case(2, Arg2, closestValue(Arg0, Arg1)); } void test_case_3() { string Arr0[] = {"10000","2000","300","40","5"}; vector <string> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); double Arg1 = 20000; double Arg2 = 12345.0; verify_case(3, Arg2, closestValue(Arg0, Arg1)); } void test_case_4() { string Arr0[] = {"125.10000","00270.9","000625.55","90.100000","0015.60000"}; vector <string> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); double Arg1 = 153; double Arg2 = 152.75975812465552; verify_case(4, Arg2, closestValue(Arg0, Arg1)); } // END CUT HERE }; // BEGIN CUT HERE int main() { ResistorCombinations ___test; ___test.run_test(-1); } // END CUT HERE
36.235849
315
0.588649
ibudiselic
bb8ba3fc0ae7998f48a46d45c151f770e1699f3f
656
cpp
C++
Baekjoon/2246.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/2246.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/2246.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(void) { int n, cnt = 0; bool check; cin >> n; vector<pair<int, int> > arr(n); for (int i = 0; i < n; i++) cin >> arr[i].first >> arr[i].second; for (int i = 0; i < n; i++) { check = false; for (int j = 0; j < n; j++) { if (i != j) { if (arr[i].first > arr[j].first) { if (arr[i].second >= arr[j].second) { check = true; break; } } else if (arr[i].second > arr[j].second) { if (arr[i].first >= arr[j].first) { check = true; break; } } } } if (!check) cnt++; } cout << cnt; }
14.577778
43
0.455793
Twinparadox
bb9a291d8f2f9a1cf13e0cabd212b7be90e9e16e
20,631
cpp
C++
vr/vr_common/src/vr/data/parse/attr_parser.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
4
2019-09-09T22:08:40.000Z
2021-05-17T13:43:31.000Z
vr/vr_common/src/vr/data/parse/attr_parser.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
null
null
null
vr/vr_common/src/vr/data/parse/attr_parser.cpp
vladium/vrt
57394a630c306b7529dbe4574036ea71420d00cf
[ "MIT" ]
1
2019-09-09T15:46:20.000Z
2019-09-09T15:46:20.000Z
#line 1 "src/vr/data/parse/attr_parser.rl" // // NOTE: THIS CODE IS AUTO-GENERATED // // ragel -C -G2 -I data/grammar/ src/vr/data/parse/attr_parser.rl && rename .c .cpp src/vr/data/parse/*.c // #include "vr/data/parse/attr_parser.h" #include "vr/data/attributes.h" //---------------------------------------------------------------------------- namespace vr { namespace data { namespace parse { //............................................................................ //............................................................................ namespace { #line 25 "src/vr/data/parse/attr_parser.c" static const int PARSER_start = 29; static const int PARSER_first_final = 29; static const int PARSER_error = 0; static const int PARSER_en_main = 29; #line 53 "src/vr/data/parse/attr_parser.rl" } // end of anonymous //............................................................................ //............................................................................ std::vector<attribute> attr_parser::parse (std::string const & s) { std::vector<attribute> attrs; { string_literal_t p = s.c_str (); string_literal_t pe = p + s.size (); string_literal_t eof { pe }; int32_t cs { }; int32_t act VR_UNUSED { }; string_literal_t ts { }; string_literal_t te { }; string_vector labels; string_vector attr_names; attr_type at { atype::timestamp }; #line 59 "src/vr/data/parse/attr_parser.c" { cs = PARSER_start; ts = 0; te = 0; act = 0; } #line 78 "src/vr/data/parse/attr_parser.rl" #line 69 "src/vr/data/parse/attr_parser.c" { if ( p == pe ) goto _test_eof; switch ( cs ) { tr15: #line 46 "src/vr/data/parse/attr_parser.rl" {{p = ((te))-1;}} goto st29; tr52: #line 47 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; tr53: #line 35 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::f4 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } #line 46 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; tr56: #line 46 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; tr59: #line 36 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::f8 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } #line 46 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; tr62: #line 33 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::i4 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } #line 46 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; tr65: #line 34 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::i8 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } #line 46 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; tr68: #line 32 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::timestamp }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } #line 46 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; tr72: #line 37 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { label_array::create_and_intern (labels) }; labels.clear (); } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } #line 46 "src/vr/data/parse/attr_parser.rl" {te = p;p--;} goto st29; st29: #line 1 "NONE" {ts = 0;} if ( ++p == pe ) goto _test_eof29; case 29: #line 1 "NONE" {ts = p;} #line 143 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st30; case 46: goto tr8; case 95: goto tr8; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto st30; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr8; } else if ( (*p) >= 65 ) goto tr8; } else goto tr8; goto st0; st0: cs = 0; goto _out; st30: if ( ++p == pe ) goto _test_eof30; case 30: if ( (*p) == 32 ) goto st30; if ( 9 <= (*p) && (*p) <= 13 ) goto st30; goto tr52; tr8: #line 25 "src/vr/data/parse/attr_parser.rl" { ts = p; } goto st1; st1: if ( ++p == pe ) goto _test_eof1; case 1: #line 181 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto tr0; case 44: goto tr2; case 46: goto st1; case 58: goto tr4; case 95: goto st1; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto tr0; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto st1; } else if ( (*p) >= 65 ) goto st1; } else goto st1; goto st0; tr0: #line 25 "src/vr/data/parse/attr_parser.rl" { attr_names.emplace_back (ts, p - ts); } goto st2; st2: if ( ++p == pe ) goto _test_eof2; case 2: #line 209 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st2; case 44: goto st3; case 58: goto st4; } if ( 9 <= (*p) && (*p) <= 13 ) goto st2; goto st0; tr2: #line 25 "src/vr/data/parse/attr_parser.rl" { attr_names.emplace_back (ts, p - ts); } goto st3; st3: if ( ++p == pe ) goto _test_eof3; case 3: #line 226 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st3; case 46: goto tr8; case 95: goto tr8; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto st3; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr8; } else if ( (*p) >= 65 ) goto tr8; } else goto tr8; goto st0; tr4: #line 25 "src/vr/data/parse/attr_parser.rl" { attr_names.emplace_back (ts, p - ts); } goto st4; st4: if ( ++p == pe ) goto _test_eof4; case 4: #line 252 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st4; case 102: goto st5; case 105: goto st22; case 116: goto st23; case 123: goto st26; } if ( 9 <= (*p) && (*p) <= 13 ) goto st4; goto st0; st5: if ( ++p == pe ) goto _test_eof5; case 5: switch( (*p) ) { case 52: goto st31; case 56: goto st34; } goto st0; st31: if ( ++p == pe ) goto _test_eof31; case 31: switch( (*p) ) { case 32: goto tr54; case 59: goto tr55; } if ( 9 <= (*p) && (*p) <= 13 ) goto tr54; goto tr53; tr54: #line 35 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::f4 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st32; tr60: #line 36 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::f8 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st32; tr63: #line 33 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::i4 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st32; tr66: #line 34 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::i8 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st32; tr69: #line 32 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::timestamp }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st32; tr73: #line 37 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { label_array::create_and_intern (labels) }; labels.clear (); } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st32; st32: if ( ++p == pe ) goto _test_eof32; case 32: #line 323 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st32; case 59: goto tr58; } if ( 9 <= (*p) && (*p) <= 13 ) goto st32; goto tr56; tr58: #line 1 "NONE" {te = p+1;} goto st33; tr55: #line 1 "NONE" {te = p+1;} #line 35 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::f4 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st33; tr61: #line 1 "NONE" {te = p+1;} #line 36 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::f8 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st33; tr64: #line 1 "NONE" {te = p+1;} #line 33 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::i4 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st33; tr67: #line 1 "NONE" {te = p+1;} #line 34 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::i8 }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st33; tr70: #line 1 "NONE" {te = p+1;} #line 32 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { atype::timestamp }; } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st33; tr74: #line 1 "NONE" {te = p+1;} #line 37 "src/vr/data/parse/attr_parser.rl" { new (& at) attr_type { label_array::create_and_intern (labels) }; labels.clear (); } #line 40 "src/vr/data/parse/attr_parser.rl" { for (auto const & n : attr_names) attrs.emplace_back (n, at); attr_names.clear (); } goto st33; st33: if ( ++p == pe ) goto _test_eof33; case 33: #line 387 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st6; case 46: goto tr17; case 95: goto tr17; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto st6; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr17; } else if ( (*p) >= 65 ) goto tr17; } else goto tr17; goto tr56; tr19: #line 25 "src/vr/data/parse/attr_parser.rl" { attr_names.emplace_back (ts, p - ts); } goto st6; st6: if ( ++p == pe ) goto _test_eof6; case 6: #line 413 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st6; case 46: goto tr17; case 95: goto tr17; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto st6; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr17; } else if ( (*p) >= 65 ) goto tr17; } else goto tr17; goto tr15; tr17: #line 25 "src/vr/data/parse/attr_parser.rl" { ts = p; } goto st7; st7: if ( ++p == pe ) goto _test_eof7; case 7: #line 439 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto tr18; case 44: goto tr19; case 46: goto st7; case 58: goto tr21; case 95: goto st7; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto tr18; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto st7; } else if ( (*p) >= 65 ) goto st7; } else goto st7; goto tr15; tr18: #line 25 "src/vr/data/parse/attr_parser.rl" { attr_names.emplace_back (ts, p - ts); } goto st8; st8: if ( ++p == pe ) goto _test_eof8; case 8: #line 467 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st8; case 44: goto st6; case 58: goto st9; } if ( 9 <= (*p) && (*p) <= 13 ) goto st8; goto tr15; tr21: #line 25 "src/vr/data/parse/attr_parser.rl" { attr_names.emplace_back (ts, p - ts); } goto st9; st9: if ( ++p == pe ) goto _test_eof9; case 9: #line 484 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st9; case 102: goto st10; case 105: goto st11; case 116: goto st12; case 123: goto st19; } if ( 9 <= (*p) && (*p) <= 13 ) goto st9; goto tr15; st10: if ( ++p == pe ) goto _test_eof10; case 10: switch( (*p) ) { case 52: goto st31; case 56: goto st34; } goto tr15; st34: if ( ++p == pe ) goto _test_eof34; case 34: switch( (*p) ) { case 32: goto tr60; case 59: goto tr61; } if ( 9 <= (*p) && (*p) <= 13 ) goto tr60; goto tr59; st11: if ( ++p == pe ) goto _test_eof11; case 11: switch( (*p) ) { case 52: goto st35; case 56: goto st36; } goto tr15; st35: if ( ++p == pe ) goto _test_eof35; case 35: switch( (*p) ) { case 32: goto tr63; case 59: goto tr64; } if ( 9 <= (*p) && (*p) <= 13 ) goto tr63; goto tr62; st36: if ( ++p == pe ) goto _test_eof36; case 36: switch( (*p) ) { case 32: goto tr66; case 59: goto tr67; } if ( 9 <= (*p) && (*p) <= 13 ) goto tr66; goto tr65; st12: if ( ++p == pe ) goto _test_eof12; case 12: switch( (*p) ) { case 105: goto st13; case 115: goto st38; } goto tr15; st13: if ( ++p == pe ) goto _test_eof13; case 13: if ( (*p) == 109 ) goto st14; goto tr15; st14: if ( ++p == pe ) goto _test_eof14; case 14: if ( (*p) == 101 ) goto tr33; goto tr15; tr33: #line 1 "NONE" {te = p+1;} goto st37; st37: if ( ++p == pe ) goto _test_eof37; case 37: #line 577 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto tr69; case 59: goto tr70; case 115: goto st15; } if ( 9 <= (*p) && (*p) <= 13 ) goto tr69; goto tr68; st15: if ( ++p == pe ) goto _test_eof15; case 15: if ( (*p) == 116 ) goto st16; goto tr15; st16: if ( ++p == pe ) goto _test_eof16; case 16: if ( (*p) == 97 ) goto st17; goto tr15; st17: if ( ++p == pe ) goto _test_eof17; case 17: if ( (*p) == 109 ) goto st18; goto tr15; st18: if ( ++p == pe ) goto _test_eof18; case 18: if ( (*p) == 112 ) goto st38; goto tr15; st38: if ( ++p == pe ) goto _test_eof38; case 38: switch( (*p) ) { case 32: goto tr69; case 59: goto tr70; } if ( 9 <= (*p) && (*p) <= 13 ) goto tr69; goto tr68; tr39: #line 28 "src/vr/data/parse/attr_parser.rl" { labels.emplace_back (ts, p - ts); } goto st19; st19: if ( ++p == pe ) goto _test_eof19; case 19: #line 633 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st19; case 46: goto tr37; case 95: goto tr37; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto st19; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr37; } else if ( (*p) >= 65 ) goto tr37; } else goto tr37; goto tr15; tr37: #line 28 "src/vr/data/parse/attr_parser.rl" { ts = p; } goto st20; st20: if ( ++p == pe ) goto _test_eof20; case 20: #line 659 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto tr38; case 44: goto tr39; case 46: goto st20; case 95: goto st20; case 125: goto tr41; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto tr38; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto st20; } else if ( (*p) >= 65 ) goto st20; } else goto st20; goto tr15; tr38: #line 28 "src/vr/data/parse/attr_parser.rl" { labels.emplace_back (ts, p - ts); } goto st21; st21: if ( ++p == pe ) goto _test_eof21; case 21: #line 687 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st21; case 44: goto st19; case 125: goto st39; } if ( 9 <= (*p) && (*p) <= 13 ) goto st21; goto tr15; tr41: #line 28 "src/vr/data/parse/attr_parser.rl" { labels.emplace_back (ts, p - ts); } goto st39; st39: if ( ++p == pe ) goto _test_eof39; case 39: #line 704 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto tr73; case 59: goto tr74; } if ( 9 <= (*p) && (*p) <= 13 ) goto tr73; goto tr72; st22: if ( ++p == pe ) goto _test_eof22; case 22: switch( (*p) ) { case 52: goto st35; case 56: goto st36; } goto st0; st23: if ( ++p == pe ) goto _test_eof23; case 23: switch( (*p) ) { case 105: goto st24; case 115: goto st38; } goto st0; st24: if ( ++p == pe ) goto _test_eof24; case 24: if ( (*p) == 109 ) goto st25; goto st0; st25: if ( ++p == pe ) goto _test_eof25; case 25: if ( (*p) == 101 ) goto tr33; goto st0; tr48: #line 28 "src/vr/data/parse/attr_parser.rl" { labels.emplace_back (ts, p - ts); } goto st26; st26: if ( ++p == pe ) goto _test_eof26; case 26: #line 752 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st26; case 46: goto tr46; case 95: goto tr46; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto st26; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto tr46; } else if ( (*p) >= 65 ) goto tr46; } else goto tr46; goto st0; tr46: #line 28 "src/vr/data/parse/attr_parser.rl" { ts = p; } goto st27; st27: if ( ++p == pe ) goto _test_eof27; case 27: #line 778 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto tr47; case 44: goto tr48; case 46: goto st27; case 95: goto st27; case 125: goto tr41; } if ( (*p) < 48 ) { if ( 9 <= (*p) && (*p) <= 13 ) goto tr47; } else if ( (*p) > 57 ) { if ( (*p) > 90 ) { if ( 97 <= (*p) && (*p) <= 122 ) goto st27; } else if ( (*p) >= 65 ) goto st27; } else goto st27; goto st0; tr47: #line 28 "src/vr/data/parse/attr_parser.rl" { labels.emplace_back (ts, p - ts); } goto st28; st28: if ( ++p == pe ) goto _test_eof28; case 28: #line 806 "src/vr/data/parse/attr_parser.c" switch( (*p) ) { case 32: goto st28; case 44: goto st26; case 125: goto st39; } if ( 9 <= (*p) && (*p) <= 13 ) goto st28; goto st0; } _test_eof29: cs = 29; goto _test_eof; _test_eof30: cs = 30; goto _test_eof; _test_eof1: cs = 1; goto _test_eof; _test_eof2: cs = 2; goto _test_eof; _test_eof3: cs = 3; goto _test_eof; _test_eof4: cs = 4; goto _test_eof; _test_eof5: cs = 5; goto _test_eof; _test_eof31: cs = 31; goto _test_eof; _test_eof32: cs = 32; goto _test_eof; _test_eof33: cs = 33; goto _test_eof; _test_eof6: cs = 6; goto _test_eof; _test_eof7: cs = 7; goto _test_eof; _test_eof8: cs = 8; goto _test_eof; _test_eof9: cs = 9; goto _test_eof; _test_eof10: cs = 10; goto _test_eof; _test_eof34: cs = 34; goto _test_eof; _test_eof11: cs = 11; goto _test_eof; _test_eof35: cs = 35; goto _test_eof; _test_eof36: cs = 36; goto _test_eof; _test_eof12: cs = 12; goto _test_eof; _test_eof13: cs = 13; goto _test_eof; _test_eof14: cs = 14; goto _test_eof; _test_eof37: cs = 37; goto _test_eof; _test_eof15: cs = 15; goto _test_eof; _test_eof16: cs = 16; goto _test_eof; _test_eof17: cs = 17; goto _test_eof; _test_eof18: cs = 18; goto _test_eof; _test_eof38: cs = 38; goto _test_eof; _test_eof19: cs = 19; goto _test_eof; _test_eof20: cs = 20; goto _test_eof; _test_eof21: cs = 21; goto _test_eof; _test_eof39: cs = 39; goto _test_eof; _test_eof22: cs = 22; goto _test_eof; _test_eof23: cs = 23; goto _test_eof; _test_eof24: cs = 24; goto _test_eof; _test_eof25: cs = 25; goto _test_eof; _test_eof26: cs = 26; goto _test_eof; _test_eof27: cs = 27; goto _test_eof; _test_eof28: cs = 28; goto _test_eof; _test_eof: {} if ( p == eof ) { switch ( cs ) { case 30: goto tr52; case 31: goto tr53; case 32: goto tr56; case 33: goto tr56; case 6: goto tr15; case 7: goto tr15; case 8: goto tr15; case 9: goto tr15; case 10: goto tr15; case 34: goto tr59; case 11: goto tr15; case 35: goto tr62; case 36: goto tr65; case 12: goto tr15; case 13: goto tr15; case 14: goto tr15; case 37: goto tr68; case 15: goto tr15; case 16: goto tr15; case 17: goto tr15; case 18: goto tr15; case 38: goto tr68; case 19: goto tr15; case 20: goto tr15; case 21: goto tr15; case 39: goto tr72; } } _out: {} } #line 79 "src/vr/data/parse/attr_parser.rl" util::destruct (at); if (VR_UNLIKELY (cs < PARSER_first_final)) { if (te == nullptr) throw_x (parse_failure, "failed to " + ((cs == PARSER_error ? "tokenize '" : "parse '") + s) + '\''); // TODO better capture, trim/prettify else { std::string const remainder { te }; // TODO better capture, trim/prettify throw_x (parse_failure, "failed to " + ((cs == PARSER_error ? "tokenize '" : "parse '") + remainder) + '\''); } } } return attrs; // counting on RVO } } // end of 'parse' } // end of 'data' } // end of namespace //----------------------------------------------------------------------------
22.547541
156
0.570016
vladium
bba27353c5d3b1145fb65a0d9b6adcf5796e98b3
3,955
hpp
C++
firmware/unit_tests/tests/EepromSimulationTests.hpp
richardclli/SynapseOS
da053155baf9ebf84db41ac24af101af1c9871f6
[ "MIT" ]
null
null
null
firmware/unit_tests/tests/EepromSimulationTests.hpp
richardclli/SynapseOS
da053155baf9ebf84db41ac24af101af1c9871f6
[ "MIT" ]
null
null
null
firmware/unit_tests/tests/EepromSimulationTests.hpp
richardclli/SynapseOS
da053155baf9ebf84db41ac24af101af1c9871f6
[ "MIT" ]
1
2020-08-18T04:35:45.000Z
2020-08-18T04:35:45.000Z
#pragma once #include <EepromSimulation.hpp> template<std::size_t SectorSize, std::size_t SectorCount> class RamDriver: public MemoryDriver<SectorSize, SectorCount> { public: constexpr RamDriver() { for (auto i = 0U; i < SectorCount; ++i) m_data[i].fill(0xFF); } void read(uint8_t *buffer, std::size_t length, std::size_t sector, std::size_t index) final { assert(index + length < SectorSize); memcpy(buffer, &m_data[sector][index], length); } void write(const uint8_t *buffer, std::size_t length, std::size_t sector, std::size_t index) final { assert(index + length < SectorSize); memcpy(&m_data[sector][index], buffer, length); } void reset(std::size_t sector) final { assert(sector < SectorCount); m_data[sector].fill(0xFF); } private: std::array<std::array<uint8_t, SectorSize>, SectorCount> m_data; }; struct TestData { char Name[16]; uint32_t Value; char c; float fValue; }; class EepromSimulationTests { public: static void Overflow() { constexpr std::size_t SectorSize = 50; constexpr std::size_t SectorCount = 3; RamDriver<SectorSize, SectorCount> ram; { EepromSimulation<TestData, SectorSize, SectorCount> eeprom { ram }; TestData data; strcpy(data.Name, "Hello World !"); data.Value = 0xDEADBEEF; data.c = ' '; data.fValue = 2201.1982f; eeprom.store(data); eeprom.store(data, sizeof(data.Name), reinterpret_cast<uint8_t*>(&data.Name) - reinterpret_cast<uint8_t*>(&data)); } { EepromSimulation<TestData, SectorSize, SectorCount> eeprom { ram }; TestData data; eeprom.load(data); assert(data.Value == 0xDEADBEEF); assert(data.c = ' '); assert(data.fValue = 2201.1982f); assert(strcmp(data.Name, "Hello World !") == 0); } } static void Flood() { constexpr std::size_t SectorSize = 50; constexpr std::size_t SectorCount = 3; RamDriver<SectorSize, SectorCount> ram; { EepromSimulation<TestData, SectorSize, SectorCount> eeprom { ram }; TestData data; strcpy(data.Name, "Hello World !"); data.Value = 0xDEADBEEF; data.c = ' '; data.fValue = 2201.1982f; eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); eeprom.store(data); } { EepromSimulation<TestData, SectorSize, SectorCount> eeprom { ram }; TestData data; eeprom.load(data); assert(data.Value == 0xDEADBEEF); assert(data.c = ' '); assert(data.fValue = 2201.1982f); assert(strcmp(data.Name, "Hello World !") == 0); } } static void NoOverflow() { constexpr std::size_t SectorSize = 50; constexpr std::size_t SectorCount = 3; RamDriver<SectorSize, SectorCount> ram; { EepromSimulation<TestData, SectorSize, SectorCount> eeprom { ram }; TestData data; strcpy(data.Name, "Hello World !"); data.Value = 0xDEADBEEF; data.c = ' '; data.fValue = 2201.1982f; eeprom.store(data); } { EepromSimulation<TestData, SectorSize, SectorCount> eeprom { ram }; TestData data; eeprom.load(data); assert(data.Value == 0xDEADBEEF); assert(data.c = ' '); assert(data.fValue = 2201.1982f); assert(strcmp(data.Name, "Hello World !") == 0); } } static void Split() { RamDriver<500, 2> ram; { EepromSimulation<std::array<uint8_t, 300>, 500, 2> eeprom { ram }; std::array<uint8_t, 300> data; for (auto i = 0U; i < data.size(); ++i) data[i] = static_cast<uint8_t>(3*i); eeprom.store(data); // save once eeprom.store(data); // trigger a flush } { EepromSimulation<std::array<uint8_t, 300>, 500, 2> eeprom { ram }; std::array<uint8_t, 300> data; eeprom.load(data); for(auto i = 0U; i< data.size(); ++i) assert(data[i] == static_cast<uint8_t>(3*i)); } } };
20.386598
117
0.653856
richardclli
bbacf8d2c5eee7f39df74e87d7c77ab22b35c618
183
cpp
C++
src/Assembler/AssemblerToken.cpp
RicardoLuis0/Chip8-Emulator-RicardoLuis0
c57d0d1df48b67f9e40c0c4af01a76b5877a4187
[ "Unlicense" ]
null
null
null
src/Assembler/AssemblerToken.cpp
RicardoLuis0/Chip8-Emulator-RicardoLuis0
c57d0d1df48b67f9e40c0c4af01a76b5877a4187
[ "Unlicense" ]
null
null
null
src/Assembler/AssemblerToken.cpp
RicardoLuis0/Chip8-Emulator-RicardoLuis0
c57d0d1df48b67f9e40c0c4af01a76b5877a4187
[ "Unlicense" ]
null
null
null
#include "AssemblerToken.h" AssemblerToken::AssemblerToken(AssemblerTokenType_t tok):type(tok),val(0){} AssemblerToken::AssemblerToken(unsigned long _val):type(LITERAL),val(_val){}
30.5
76
0.797814
RicardoLuis0
bbb07e2006a6658531551e2b701c26a2f6ebdf35
555
cpp
C++
Challenges/Challenge86/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge86/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge86/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
#include <cassert> #include <cstdint> #include <string> #include <algorithm> std::string RemoveExclamationMark(std::string str) { str.erase(std::remove(str.begin(), str.end(), '!'), str.end()); return str; } int main() { assert(RemoveExclamationMark("Hello World!") == "Hello World"); assert(RemoveExclamationMark("Hello World!!!") == "Hello World"); assert(RemoveExclamationMark("Hi! Hello!") == "Hi Hello"); assert(RemoveExclamationMark("Hi!!! Hello!") == "Hi Hello"); assert(RemoveExclamationMark("Hi! He!l!lo!") == "Hi Hello"); return 0; }
26.428571
66
0.677477
GamesTrap