code
stringlengths
3
10M
language
stringclasses
31 values
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by 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. .source T_sput_short_20.java .class public dot.junit.opcodes.sput_short.d.T_sput_short_20 .super java/lang/Object .field public static st_o Ljava/lang/Object; .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run()V .limit regs 4 sput-short v3, dot.junit.opcodes.sput_short.d.T_sput_short_20.st_o Ljava/lang/Object; return-void .end method
D
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module org.eclipse.swt.graphics.Image; import org.eclipse.swt.SWT; import org.eclipse.swt.SWTError; import org.eclipse.swt.SWTException; import org.eclipse.swt.internal.gdip.Gdip; import org.eclipse.swt.internal.win32.OS; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Device; import org.eclipse.swt.graphics.Drawable; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.GCData; import org.eclipse.swt.graphics.ImageData; import org.eclipse.swt.graphics.PaletteData; import org.eclipse.swt.graphics.RGB; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.graphics.Resource; import java.io.InputStream; import java.lang.all; /** * Instances of this class are graphics which have been prepared * for display on a specific device. That is, they are ready * to paint using methods such as <code>GC.drawImage()</code> * and display on widgets with, for example, <code>Button.setImage()</code>. * <p> * If loaded from a file format that supports it, an * <code>Image</code> may have transparency, meaning that certain * pixels are specified as being transparent when drawn. Examples * of file formats that support transparency are GIF and PNG. * </p><p> * There are two primary ways to use <code>Images</code>. * The first is to load a graphic file from disk and create an * <code>Image</code> from it. This is done using an <code>Image</code> * constructor, for example: * <pre> * Image i = new Image(device, "C:\\graphic.bmp"); * </pre> * A graphic file may contain a color table specifying which * colors the image was intended to possess. In the above example, * these colors will be mapped to the closest available color in * SWT. It is possible to get more control over the mapping of * colors as the image is being created, using code of the form: * <pre> * ImageData data = new ImageData("C:\\graphic.bmp"); * RGB[] rgbs = data.getRGBs(); * // At this point, rgbs contains specifications of all * // the colors contained within this image. You may * // allocate as many of these colors as you wish by * // using the Color constructor Color(RGB), then * // create the image: * Image i = new Image(device, data); * </pre> * <p> * Applications which require even greater control over the image * loading process should use the support provided in class * <code>ImageLoader</code>. * </p><p> * Application code must explicitly invoke the <code>Image.dispose()</code> * method to release the operating system resources managed by each instance * when those instances are no longer required. * </p> * * @see Color * @see ImageData * @see ImageLoader * @see <a href="http://www.eclipse.org/swt/snippets/#image">Image snippets</a> * @see <a href="http://www.eclipse.org/swt/examples.php">SWT Examples: GraphicsExample, ImageAnalyzer</a> * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> */ public final class Image : Resource, Drawable { alias Resource.init_ init_; /** * specifies whether the receiver is a bitmap or an icon * (one of <code>SWT.BITMAP</code>, <code>SWT.ICON</code>) * <p> * <b>IMPORTANT:</b> This field is <em>not</em> part of the SWT * public API. It is marked public only so that it can be shared * within the packages provided by SWT. It is not available on all * platforms and should never be accessed from application code. * </p> */ public int type; /** * the handle to the OS image resource * (Warning: This field is platform dependent) * <p> * <b>IMPORTANT:</b> This field is <em>not</em> part of the SWT * public API. It is marked public only so that it can be shared * within the packages provided by SWT. It is not available on all * platforms and should never be accessed from application code. * </p> */ public HGDIOBJ handle; /** * specifies the transparent pixel */ int transparentPixel = -1, transparentColor = -1; /** * the GC which is drawing on the image */ GC memGC; /** * the alpha data for the image */ byte[] alphaData; /** * the global alpha value to be used for every pixel */ int alpha = -1; /** * the image data used to create this image if it is a * icon. Used only in WinCE */ ImageData data; /** * width of the image */ int width = -1; /** * height of the image */ int height = -1; /** * specifies the default scanline padding */ static const int DEFAULT_SCANLINE_PAD = 4; /** * Prevents uninitialized instances from being created outside the package. */ this (Device device) { super(device); } /** * Constructs an empty instance of this class with the * specified width and height. The result may be drawn upon * by creating a GC and using any of its drawing operations, * as shown in the following example: * <pre> * Image i = new Image(device, width, height); * GC gc = new GC(i); * gc.drawRectangle(0, 0, 50, 50); * gc.dispose(); * </pre> * <p> * Note: Some platforms may have a limitation on the size * of image that can be created (size depends on width, height, * and depth). For example, Windows 95, 98, and ME do not allow * images larger than 16M. * </p> * * @param device the device on which to create the image * @param width the width of the new image * @param height the height of the new image * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> * <li>ERROR_INVALID_ARGUMENT - if either the width or height is negative or zero</li> * </ul> * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ public this(Device device, int width, int height) { super(device); init_(width, height); init_(); } /** * Constructs a new instance of this class based on the * provided image, with an appearance that varies depending * on the value of the flag. The possible flag values are: * <dl> * <dt><b>{@link SWT#IMAGE_COPY}</b></dt> * <dd>the result is an identical copy of srcImage</dd> * <dt><b>{@link SWT#IMAGE_DISABLE}</b></dt> * <dd>the result is a copy of srcImage which has a <em>disabled</em> look</dd> * <dt><b>{@link SWT#IMAGE_GRAY}</b></dt> * <dd>the result is a copy of srcImage which has a <em>gray scale</em> look</dd> * </dl> * * @param device the device on which to create the image * @param srcImage the image to use as the source * @param flag the style, either <code>IMAGE_COPY</code>, <code>IMAGE_DISABLE</code> or <code>IMAGE_GRAY</code> * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> * <li>ERROR_NULL_ARGUMENT - if srcImage is null</li> * <li>ERROR_INVALID_ARGUMENT - if the flag is not one of <code>IMAGE_COPY</code>, <code>IMAGE_DISABLE</code> or <code>IMAGE_GRAY</code></li> * <li>ERROR_INVALID_ARGUMENT - if the image has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_INVALID_IMAGE - if the image is not a bitmap or an icon, or is otherwise in an invalid state</li> * <li>ERROR_UNSUPPORTED_DEPTH - if the depth of the image is not supported</li> * </ul> * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ public this(Device device, Image srcImage, int flag) { super(device); device = this.device; if (srcImage is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); if (srcImage.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT); Rectangle rect = srcImage.getBounds(); this.type = srcImage.type; switch (flag) { case SWT.IMAGE_COPY: { switch (type) { case SWT.BITMAP: /* Get the HDC for the device */ auto hDC = device.internal_new_GC(null); /* Copy the bitmap */ auto hdcSource = OS.CreateCompatibleDC(hDC); auto hdcDest = OS.CreateCompatibleDC(hDC); auto hOldSrc = OS.SelectObject(hdcSource, srcImage.handle); BITMAP bm; OS.GetObject(srcImage.handle, BITMAP.sizeof, &bm); handle = OS.CreateCompatibleBitmap(hdcSource, rect.width, bm.bmBits !is null ? -rect.height : rect.height); if (handle is null) SWT.error(SWT.ERROR_NO_HANDLES); auto hOldDest = OS.SelectObject(hdcDest, handle); OS.BitBlt(hdcDest, 0, 0, rect.width, rect.height, hdcSource, 0, 0, OS.SRCCOPY); OS.SelectObject(hdcSource, hOldSrc); OS.SelectObject(hdcDest, hOldDest); OS.DeleteDC(hdcSource); OS.DeleteDC(hdcDest); /* Release the HDC for the device */ device.internal_dispose_GC(hDC, null); transparentPixel = srcImage.transparentPixel; alpha = srcImage.alpha; if (srcImage.alphaData !is null) { alphaData = new byte[srcImage.alphaData.length]; System.arraycopy(srcImage.alphaData, 0, alphaData, 0, alphaData.length); } break; case SWT.ICON: static if (OS.IsWinCE) { init_(srcImage.data); } else { handle = OS.CopyImage(srcImage.handle, OS.IMAGE_ICON, rect.width, rect.height, 0); if (handle is null) SWT.error(SWT.ERROR_NO_HANDLES); } break; default: SWT.error(SWT.ERROR_INVALID_IMAGE); } break; } case SWT.IMAGE_DISABLE: { ImageData data = srcImage.getImageData(); PaletteData palette = data.palette; RGB[] rgbs = new RGB[3]; rgbs[0] = device.getSystemColor(SWT.COLOR_BLACK).getRGB(); rgbs[1] = device.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW).getRGB(); rgbs[2] = device.getSystemColor(SWT.COLOR_WIDGET_BACKGROUND).getRGB(); ImageData newData = new ImageData(rect.width, rect.height, 8, new PaletteData(rgbs)); newData.alpha = data.alpha; newData.alphaData = data.alphaData; newData.maskData = data.maskData; newData.maskPad = data.maskPad; if (data.transparentPixel !is -1) newData.transparentPixel = 0; /* Convert the pixels. */ int[] scanline = new int[rect.width]; int[] maskScanline = null; ImageData mask = null; if (data.maskData !is null) mask = data.getTransparencyMask(); if (mask !is null) maskScanline = new int[rect.width]; int redMask = palette.redMask; int greenMask = palette.greenMask; int blueMask = palette.blueMask; int redShift = palette.redShift; int greenShift = palette.greenShift; int blueShift = palette.blueShift; for (int y=0; y<rect.height; y++) { int offset = y * newData.bytesPerLine; data.getPixels(0, y, rect.width, scanline, 0); if (mask !is null) mask.getPixels(0, y, rect.width, maskScanline, 0); for (int x=0; x<rect.width; x++) { int pixel = scanline[x]; if (!((data.transparentPixel !is -1 && pixel is data.transparentPixel) || (mask !is null && maskScanline[x] is 0))) { int red, green, blue; if (palette.isDirect) { red = pixel & redMask; red = (redShift < 0) ? red >>> -redShift : red << redShift; green = pixel & greenMask; green = (greenShift < 0) ? green >>> -greenShift : green << greenShift; blue = pixel & blueMask; blue = (blueShift < 0) ? blue >>> -blueShift : blue << blueShift; } else { red = palette.colors[pixel].red; green = palette.colors[pixel].green; blue = palette.colors[pixel].blue; } int intensity = red * red + green * green + blue * blue; if (intensity < 98304) { newData.data[offset] = cast(byte)1; } else { newData.data[offset] = cast(byte)2; } } offset++; } } init_ (newData); break; } case SWT.IMAGE_GRAY: { ImageData data = srcImage.getImageData(); PaletteData palette = data.palette; ImageData newData = data; if (!palette.isDirect) { /* Convert the palette entries to gray. */ RGB [] rgbs = palette.getRGBs(); for (int i=0; i<rgbs.length; i++) { if (data.transparentPixel !is i) { RGB color = rgbs [i]; int red = color.red; int green = color.green; int blue = color.blue; int intensity = (red+red+green+green+green+green+green+blue) >> 3; color.red = color.green = color.blue = intensity; } } newData.palette = new PaletteData(rgbs); } else { /* Create a 8 bit depth image data with a gray palette. */ RGB[] rgbs = new RGB[256]; for (int i=0; i<rgbs.length; i++) { rgbs[i] = new RGB(i, i, i); } newData = new ImageData(rect.width, rect.height, 8, new PaletteData(rgbs)); newData.alpha = data.alpha; newData.alphaData = data.alphaData; newData.maskData = data.maskData; newData.maskPad = data.maskPad; if (data.transparentPixel !is -1) newData.transparentPixel = 254; /* Convert the pixels. */ int[] scanline = new int[rect.width]; int redMask = palette.redMask; int greenMask = palette.greenMask; int blueMask = palette.blueMask; int redShift = palette.redShift; int greenShift = palette.greenShift; int blueShift = palette.blueShift; for (int y=0; y<rect.height; y++) { int offset = y * newData.bytesPerLine; data.getPixels(0, y, rect.width, scanline, 0); for (int x=0; x<rect.width; x++) { int pixel = scanline[x]; if (pixel !is data.transparentPixel) { int red = pixel & redMask; red = (redShift < 0) ? red >>> -redShift : red << redShift; int green = pixel & greenMask; green = (greenShift < 0) ? green >>> -greenShift : green << greenShift; int blue = pixel & blueMask; blue = (blueShift < 0) ? blue >>> -blueShift : blue << blueShift; int intensity = (red+red+green+green+green+green+green+blue) >> 3; if (newData.transparentPixel is intensity) intensity = 255; newData.data[offset] = cast(byte)intensity; } else { newData.data[offset] = cast(byte)254; } offset++; } } } init_ (newData); break; } default: SWT.error(SWT.ERROR_INVALID_ARGUMENT); } init_(); } /** * Constructs an empty instance of this class with the * width and height of the specified rectangle. The result * may be drawn upon by creating a GC and using any of its * drawing operations, as shown in the following example: * <pre> * Image i = new Image(device, boundsRectangle); * GC gc = new GC(i); * gc.drawRectangle(0, 0, 50, 50); * gc.dispose(); * </pre> * <p> * Note: Some platforms may have a limitation on the size * of image that can be created (size depends on width, height, * and depth). For example, Windows 95, 98, and ME do not allow * images larger than 16M. * </p> * * @param device the device on which to create the image * @param bounds a rectangle specifying the image's width and height (must not be null) * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> * <li>ERROR_NULL_ARGUMENT - if the bounds rectangle is null</li> * <li>ERROR_INVALID_ARGUMENT - if either the rectangle's width or height is negative</li> * </ul> * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ public this(Device device, Rectangle bounds) { super(device); if (bounds is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); init_(bounds.width, bounds.height); init_(); } /** * Constructs an instance of this class from the given * <code>ImageData</code>. * * @param device the device on which to create the image * @param data the image data to create the image from (must not be null) * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> * <li>ERROR_NULL_ARGUMENT - if the image data is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_UNSUPPORTED_DEPTH - if the depth of the ImageData is not supported</li> * </ul> * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ public this(Device device, ImageData data) { super(device); init_(data); init_(); } /** * Constructs an instance of this class, whose type is * <code>SWT.ICON</code>, from the two given <code>ImageData</code> * objects. The two images must be the same size. Pixel transparency * in either image will be ignored. * <p> * The mask image should contain white wherever the icon is to be visible, * and black wherever the icon is to be transparent. In addition, * the source image should contain black wherever the icon is to be * transparent. * </p> * * @param device the device on which to create the icon * @param source the color data for the icon * @param mask the mask data for the icon * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> * <li>ERROR_NULL_ARGUMENT - if either the source or mask is null </li> * <li>ERROR_INVALID_ARGUMENT - if source and mask are different sizes</li> * </ul> * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ public this(Device device, ImageData source, ImageData mask) { super(device); if (source is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); if (mask is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); if (source.width !is mask.width || source.height !is mask.height) { SWT.error(SWT.ERROR_INVALID_ARGUMENT); } mask = ImageData.convertMask(mask); init__(this.device, this, source, mask); init_(); } /** * Constructs an instance of this class by loading its representation * from the specified input stream. Throws an error if an error * occurs while loading the image, or if the result is an image * of an unsupported type. Application code is still responsible * for closing the input stream. * <p> * This constructor is provided for convenience when loading a single * image only. If the stream contains multiple images, only the first * one will be loaded. To load multiple images, use * <code>ImageLoader.load()</code>. * </p><p> * This constructor may be used to load a resource as follows: * </p> * <pre> * static Image loadImage (Display display, Class clazz, String string) { * InputStream stream = clazz.getResourceAsStream (string); * if (stream is null) return null; * Image image = null; * try { * image = new Image (display, stream); * } catch (SWTException ex) { * } finally { * try { * stream.close (); * } catch (IOException ex) {} * } * return image; * } * </pre> * * @param device the device on which to create the image * @param stream the input stream to load the image from * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> * <li>ERROR_NULL_ARGUMENT - if the stream is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_IO - if an IO error occurs while reading from the stream</li> * <li>ERROR_INVALID_IMAGE - if the image stream contains invalid data </li> * <li>ERROR_UNSUPPORTED_DEPTH - if the image stream describes an image with an unsupported depth</li> * <li>ERROR_UNSUPPORTED_FORMAT - if the image stream contains an unrecognized format</li> * </ul> * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ public this (Device device, InputStream stream) { super(device); init_(new ImageData(stream)); init_(); } /** * Constructs an instance of this class by loading its representation * from the file with the specified name. Throws an error if an error * occurs while loading the image, or if the result is an image * of an unsupported type. * <p> * This constructor is provided for convenience when loading * a single image only. If the specified file contains * multiple images, only the first one will be used. * * @param device the device on which to create the image * @param filename the name of the file to load the image from * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> * <li>ERROR_NULL_ARGUMENT - if the file name is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_IO - if an IO error occurs while reading from the file</li> * <li>ERROR_INVALID_IMAGE - if the image file contains invalid data </li> * <li>ERROR_UNSUPPORTED_DEPTH - if the image file describes an image with an unsupported depth</li> * <li>ERROR_UNSUPPORTED_FORMAT - if the image file contains an unrecognized format</li> * </ul> * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ public this (Device device, String filename) { super(device); device = this.device; if (filename is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); bool gdip = true; try { device.checkGDIP(); } catch (SWTException e) { gdip = false; } /* * Bug in GDI+. For some reason, Bitmap.LockBits() segment faults * when loading GIF files in 64-bit Windows. The fix is to not use * GDI+ image loading in this case. */ if (gdip && (void*).sizeof is 8 && filename.toLowerCase().endsWith(".gif")) gdip = false; if (gdip) { int length = cast(int)/*64bit*/filename.length; char[] chars = new char[length+1]; filename.getChars(0, length, chars, 0); auto bitmap = Gdip.Bitmap_new( .StrToWCHARz( filename ), false); if (bitmap !is null) { int error = SWT.ERROR_NO_HANDLES; int status = Gdip.Image_GetLastStatus(cast(Gdip.Image)bitmap); if (status is 0) { if (filename.toLowerCase().endsWith(".ico")) { this.type = SWT.ICON; HICON hicon; Gdip.Bitmap_GetHICON(bitmap, hicon); this.handle = hicon; } else { this.type = SWT.BITMAP; int width = Gdip.Image_GetWidth(cast(Gdip.Image)bitmap); int height = Gdip.Image_GetHeight(cast(Gdip.Image)bitmap); int pixelFormat = Gdip.Image_GetPixelFormat(cast(Gdip.Image)bitmap); switch (pixelFormat) { case Gdip.PixelFormat16bppRGB555: case Gdip.PixelFormat16bppRGB565: this.handle = createDIB(width, height, 16); break; case Gdip.PixelFormat24bppRGB: this.handle = createDIB(width, height, 24); break; case Gdip.PixelFormat32bppRGB: // These will loose either precision or transparency case Gdip.PixelFormat16bppGrayScale: case Gdip.PixelFormat48bppRGB: case Gdip.PixelFormat32bppPARGB: case Gdip.PixelFormat64bppARGB: case Gdip.PixelFormat64bppPARGB: this.handle = createDIB(width, height, 32); break; default: } if (this.handle !is null) { /* * This performs better than getting the bits with Bitmap.LockBits(), * but it cannot be used when there is transparency. */ auto hDC = device.internal_new_GC(null); auto srcHDC = OS.CreateCompatibleDC(hDC); auto oldSrcBitmap = OS.SelectObject(srcHDC, this.handle); auto graphics = Gdip.Graphics_new(srcHDC); if (graphics !is null) { Gdip.Rect rect; rect.Width = width; rect.Height = height; status = Gdip.Graphics_DrawImage(graphics, cast(Gdip.Image)bitmap, rect, 0, 0, width, height, Gdip.UnitPixel, null, null, null); if (status !is 0) { error = SWT.ERROR_INVALID_IMAGE; OS.DeleteObject(handle); this.handle = null; } Gdip.Graphics_delete(graphics); } OS.SelectObject(srcHDC, oldSrcBitmap); OS.DeleteDC(srcHDC); device.internal_dispose_GC(hDC, null); } else { auto lockedBitmapData = Gdip.BitmapData_new(); if (lockedBitmapData !is null) { Gdip.Bitmap_LockBits(bitmap, null, 0, pixelFormat, lockedBitmapData); //BitmapData bitmapData = new BitmapData(); //Gdip.MoveMemory(bitmapData, lockedBitmapData); auto stride = lockedBitmapData.Stride; auto pixels = lockedBitmapData.Scan0; int depth = 0, scanlinePad = 4, transparentPixel = -1; switch (lockedBitmapData.PixelFormat) { case Gdip.PixelFormat1bppIndexed: depth = 1; break; case Gdip.PixelFormat4bppIndexed: depth = 4; break; case Gdip.PixelFormat8bppIndexed: depth = 8; break; case Gdip.PixelFormat16bppARGB1555: case Gdip.PixelFormat16bppRGB555: case Gdip.PixelFormat16bppRGB565: depth = 16; break; case Gdip.PixelFormat24bppRGB: depth = 24; break; case Gdip.PixelFormat32bppRGB: case Gdip.PixelFormat32bppARGB: depth = 32; break; default: } if (depth !is 0) { PaletteData paletteData = null; switch (lockedBitmapData.PixelFormat) { case Gdip.PixelFormat1bppIndexed: case Gdip.PixelFormat4bppIndexed: case Gdip.PixelFormat8bppIndexed: int paletteSize = Gdip.Image_GetPaletteSize(cast(Gdip.Image)bitmap); auto hHeap = OS.GetProcessHeap(); auto palette = cast(Gdip.ColorPalette*) OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, paletteSize); if (palette is null) SWT.error(SWT.ERROR_NO_HANDLES); Gdip.Image_GetPalette(cast(Gdip.Image)bitmap, palette, paletteSize); Gdip.ColorPalette* colorPalette = palette; //Gdip.MoveMemory(colorPalette, palette, ColorPalette.sizeof); //int[] entries = new int[colorPalette.Count]; //OS.MoveMemory(entries, palette + 8, entries.length * 4); //PORTING_COMMENT: moved down //OS.HeapFree(hHeap, 0, palette); RGB[] rgbs = new RGB[colorPalette.Count]; paletteData = new PaletteData(rgbs); for (int i = 0; i < colorPalette.Count; i++) { // DWT: access palette.Entries without array bounds checking if (((*(palette.Entries.ptr + i) >> 24) & 0xFF) is 0 && (colorPalette.Flags & Gdip.PaletteFlagsHasAlpha) !is 0) { transparentPixel = i; } rgbs[i] = new RGB(((*(palette.Entries.ptr + i) & 0xFF0000) >> 16), ((*(palette.Entries.ptr + i) & 0xFF00) >> 8), ((*(palette.Entries.ptr + i) & 0xFF) >> 0)); } OS.HeapFree(hHeap, 0, palette); break; case Gdip.PixelFormat16bppARGB1555: case Gdip.PixelFormat16bppRGB555: paletteData = new PaletteData(0x7C00, 0x3E0, 0x1F); break; case Gdip.PixelFormat16bppRGB565: paletteData = new PaletteData(0xF800, 0x7E0, 0x1F); break; case Gdip.PixelFormat24bppRGB: paletteData = new PaletteData(0xFF, 0xFF00, 0xFF0000); break; case Gdip.PixelFormat32bppRGB: case Gdip.PixelFormat32bppARGB: paletteData = new PaletteData(0xFF00, 0xFF0000, 0xFF000000); break; default: } byte[] data = new byte[ stride * height ], alphaData = null; OS.MoveMemory(data.ptr, pixels, data.length); switch (lockedBitmapData.PixelFormat) { case Gdip.PixelFormat16bppARGB1555: alphaData = new byte[width * height]; for (int i = 1, j = 0; i < data.length; i += 2, j++) { alphaData[j] = cast(byte)((data[i] & 0x80) !is 0 ? 255 : 0); } break; case Gdip.PixelFormat32bppARGB: alphaData = new byte[width * height]; for (int i = 3, j = 0; i < data.length; i += 4, j++) { alphaData[j] = data[i]; } break; default: } Gdip.Bitmap_UnlockBits(bitmap, lockedBitmapData); Gdip.BitmapData_delete(lockedBitmapData); ImageData img = new ImageData(width, height, depth, paletteData, scanlinePad, data); img.transparentPixel = transparentPixel; img.alphaData = alphaData; init_(img); } } } } } Gdip.Bitmap_delete(bitmap); if (status is 0) { if (this.handle is null) SWT.error(error); return; } } } init_(new ImageData(filename)); init_(); } /** * Create a DIB from a DDB without using GetDIBits. Note that * the DDB should not be selected into a HDC. */ HBITMAP createDIBFromDDB(HDC hDC, HBITMAP hBitmap, int width, int height) { /* Determine the DDB depth */ int bits = OS.GetDeviceCaps (hDC, OS.BITSPIXEL); int planes = OS.GetDeviceCaps (hDC, OS.PLANES); int depth = bits * planes; /* Determine the DIB palette */ bool isDirect = depth > 8; RGB[] rgbs = null; if (!isDirect) { int numColors = 1 << depth; byte[] logPalette = new byte[4 * numColors]; OS.GetPaletteEntries(device.hPalette, 0, numColors, cast(PALETTEENTRY*)logPalette.ptr); rgbs = new RGB[numColors]; for (int i = 0; i < numColors; i++) { rgbs[i] = new RGB(logPalette[i] & 0xFF, logPalette[i + 1] & 0xFF, logPalette[i + 2] & 0xFF); } } bool useBitfields = OS.IsWinCE && (depth is 16 || depth is 32); BITMAPINFOHEADER bmiHeader; bmiHeader.biSize = BITMAPINFOHEADER.sizeof; bmiHeader.biWidth = width; bmiHeader.biHeight = -height; bmiHeader.biPlanes = 1; bmiHeader.biBitCount = cast(short)depth; if (useBitfields) bmiHeader.biCompression = OS.BI_BITFIELDS; else bmiHeader.biCompression = OS.BI_RGB; byte[] bmi; if (isDirect) bmi = new byte[BITMAPINFOHEADER.sizeof + (useBitfields ? 12 : 0)]; else bmi = new byte[BITMAPINFOHEADER.sizeof + rgbs.length * 4]; OS.MoveMemory(bmi.ptr, &bmiHeader, BITMAPINFOHEADER.sizeof); /* Set the rgb colors into the bitmap info */ int offset = BITMAPINFOHEADER.sizeof; if (isDirect) { if (useBitfields) { int redMask = 0; int greenMask = 0; int blueMask = 0; switch (depth) { case 16: redMask = 0x7C00; greenMask = 0x3E0; blueMask = 0x1F; /* little endian */ bmi[offset] = cast(byte)((redMask & 0xFF) >> 0); bmi[offset + 1] = cast(byte)((redMask & 0xFF00) >> 8); bmi[offset + 2] = cast(byte)((redMask & 0xFF0000) >> 16); bmi[offset + 3] = cast(byte)((redMask & 0xFF000000) >> 24); bmi[offset + 4] = cast(byte)((greenMask & 0xFF) >> 0); bmi[offset + 5] = cast(byte)((greenMask & 0xFF00) >> 8); bmi[offset + 6] = cast(byte)((greenMask & 0xFF0000) >> 16); bmi[offset + 7] = cast(byte)((greenMask & 0xFF000000) >> 24); bmi[offset + 8] = cast(byte)((blueMask & 0xFF) >> 0); bmi[offset + 9] = cast(byte)((blueMask & 0xFF00) >> 8); bmi[offset + 10] = cast(byte)((blueMask & 0xFF0000) >> 16); bmi[offset + 11] = cast(byte)((blueMask & 0xFF000000) >> 24); break; case 32: redMask = 0xFF00; greenMask = 0xFF0000; blueMask = 0xFF000000; /* big endian */ bmi[offset] = cast(byte)((redMask & 0xFF000000) >> 24); bmi[offset + 1] = cast(byte)((redMask & 0xFF0000) >> 16); bmi[offset + 2] = cast(byte)((redMask & 0xFF00) >> 8); bmi[offset + 3] = cast(byte)((redMask & 0xFF) >> 0); bmi[offset + 4] = cast(byte)((greenMask & 0xFF000000) >> 24); bmi[offset + 5] = cast(byte)((greenMask & 0xFF0000) >> 16); bmi[offset + 6] = cast(byte)((greenMask & 0xFF00) >> 8); bmi[offset + 7] = cast(byte)((greenMask & 0xFF) >> 0); bmi[offset + 8] = cast(byte)((blueMask & 0xFF000000) >> 24); bmi[offset + 9] = cast(byte)((blueMask & 0xFF0000) >> 16); bmi[offset + 10] = cast(byte)((blueMask & 0xFF00) >> 8); bmi[offset + 11] = cast(byte)((blueMask & 0xFF) >> 0); break; default: SWT.error(SWT.ERROR_UNSUPPORTED_DEPTH); } } } else { for (int j = 0; j < rgbs.length; j++) { bmi[offset] = cast(byte)rgbs[j].blue; bmi[offset + 1] = cast(byte)rgbs[j].green; bmi[offset + 2] = cast(byte)rgbs[j].red; bmi[offset + 3] = 0; offset += 4; } } void* pBits; HBITMAP hDib = OS.CreateDIBSection(null, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS, &pBits, null, 0); if (hDib is null) SWT.error(SWT.ERROR_NO_HANDLES); /* Bitblt DDB into DIB */ auto hdcSource = OS.CreateCompatibleDC(hDC); auto hdcDest = OS.CreateCompatibleDC(hDC); auto hOldSrc = OS.SelectObject(hdcSource, hBitmap); auto hOldDest = OS.SelectObject(hdcDest, hDib); OS.BitBlt(hdcDest, 0, 0, width, height, hdcSource, 0, 0, OS.SRCCOPY); OS.SelectObject(hdcSource, hOldSrc); OS.SelectObject(hdcDest, hOldDest); OS.DeleteDC(hdcSource); OS.DeleteDC(hdcDest); return hDib; } // FIXME: Potential crash site in D: createGdipImage casts pointers to int before // returning them in an int[]. Since the D GC does not and cannot scan int's for // pointers, there is potential that the pointer's object could be collected while still // active, even though it might be unlikely given the short span of time that the // function has them stored in the int array. ptrdiff_t [] createGdipImage() { switch (type) { case SWT.BITMAP: { if (alpha !is -1 || alphaData !is null || transparentPixel !is -1) { BITMAP bm; OS.GetObject(handle, BITMAP.sizeof, &bm); int imgWidth = bm.bmWidth; int imgHeight = bm.bmHeight; auto hDC = device.internal_new_GC(null); auto srcHdc = OS.CreateCompatibleDC(hDC); auto oldSrcBitmap = OS.SelectObject(srcHdc, handle); auto memHdc = OS.CreateCompatibleDC(hDC); auto memDib = createDIB(imgWidth, imgHeight, 32); if (memDib is null) SWT.error(SWT.ERROR_NO_HANDLES); auto oldMemBitmap = OS.SelectObject(memHdc, memDib); BITMAP dibBM; OS.GetObject(memDib, BITMAP.sizeof, &dibBM); int sizeInBytes = dibBM.bmWidthBytes * dibBM.bmHeight; OS.BitBlt(memHdc, 0, 0, imgWidth, imgHeight, srcHdc, 0, 0, OS.SRCCOPY); ubyte red = 0, green = 0, blue = 0; if (transparentPixel !is -1) { if (bm.bmBitsPixel <= 8) { ubyte[] color = new ubyte[4]; OS.GetDIBColorTable(srcHdc, transparentPixel, 1, cast(RGBQUAD*)color.ptr); blue = color[0]; green = color[1]; red = color[2]; } else { switch (bm.bmBitsPixel) { case 16: int blueMask = 0x1F; int blueShift = ImageData.getChannelShift(blueMask); byte[] blues = ImageData.ANY_TO_EIGHT[ImageData.getChannelWidth(blueMask, blueShift)]; blue = blues[(transparentPixel & blueMask) >> blueShift]; int greenMask = 0x3E0; int greenShift = ImageData.getChannelShift(greenMask); byte[] greens = ImageData.ANY_TO_EIGHT[ImageData.getChannelWidth(greenMask, greenShift)]; green = greens[(transparentPixel & greenMask) >> greenShift]; int redMask = 0x7C00; int redShift = ImageData.getChannelShift(redMask); byte[] reds = ImageData.ANY_TO_EIGHT[ImageData.getChannelWidth(redMask, redShift)]; red = reds[(transparentPixel & redMask) >> redShift]; break; case 24: blue = cast(ubyte)((transparentPixel & 0xFF0000) >> 16); green = cast(ubyte)((transparentPixel & 0xFF00) >> 8); red = cast(ubyte)(transparentPixel & 0xFF); break; case 32: blue = cast(ubyte)((transparentPixel & 0xFF000000) >>> 24); green = cast(ubyte)((transparentPixel & 0xFF0000) >> 16); red = cast(ubyte)((transparentPixel & 0xFF00) >> 8); break; default: } } } OS.SelectObject(srcHdc, oldSrcBitmap); OS.SelectObject(memHdc, oldMemBitmap); OS.DeleteObject(srcHdc); OS.DeleteObject(memHdc); ubyte[] srcData = new ubyte[sizeInBytes]; OS.MoveMemory(srcData.ptr, dibBM.bmBits, sizeInBytes); OS.DeleteObject(memDib); device.internal_dispose_GC(hDC, null); if (alpha !is -1) { for (int y = 0, dp = 0; y < imgHeight; ++y) { for (int x = 0; x < imgWidth; ++x) { srcData[dp + 3] = cast(ubyte)alpha; dp += 4; } } } else if (alphaData !is null) { for (int y = 0, dp = 0, ap = 0; y < imgHeight; ++y) { for (int x = 0; x < imgWidth; ++x) { srcData[dp + 3] = alphaData[ap++]; dp += 4; } } } else if (transparentPixel !is -1) { for (int y = 0, dp = 0; y < imgHeight; ++y) { for (int x = 0; x < imgWidth; ++x) { if (srcData[dp] is blue && srcData[dp + 1] is green && srcData[dp + 2] is red) { srcData[dp + 3] = cast(ubyte)0; } else { srcData[dp + 3] = cast(ubyte)0xFF; } dp += 4; } } } auto hHeap = OS.GetProcessHeap(); auto pixels = cast(ubyte*)OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, srcData.length); if (pixels is null) SWT.error(SWT.ERROR_NO_HANDLES); OS.MoveMemory(pixels, srcData.ptr, sizeInBytes); return [cast(ptrdiff_t)Gdip.Bitmap_new(imgWidth, imgHeight, dibBM.bmWidthBytes, Gdip.PixelFormat32bppARGB, pixels), cast(ptrdiff_t)pixels]; } return [cast(ptrdiff_t)Gdip.Bitmap_new(handle, null), 0]; } case SWT.ICON: { /* * Bug in GDI+. Creating a new GDI+ Bitmap from a HICON segment faults * when the icon width is bigger than the icon height. The fix is to * detect this and create a PixelFormat32bppARGB image instead. */ ICONINFO iconInfo; static if (OS.IsWinCE) { GetIconInfo(this, &iconInfo); } else { OS.GetIconInfo(handle, &iconInfo); } auto hBitmap = iconInfo.hbmColor; if (hBitmap is null) hBitmap = iconInfo.hbmMask; BITMAP bm; OS.GetObject(hBitmap, BITMAP.sizeof, &bm); int imgWidth = bm.bmWidth; int imgHeight = hBitmap is iconInfo.hbmMask ? bm.bmHeight / 2 : bm.bmHeight; Gdip.Bitmap img; ubyte* pixels; /* * Bug in GDI+. Bitmap_new() segments fault if the image width * is greater than the image height. * * Note that it also fails to generated an appropriate alpha * channel when the icon depth is 32. */ if (imgWidth > imgHeight || bm.bmBitsPixel is 32) { auto hDC = device.internal_new_GC(null); auto srcHdc = OS.CreateCompatibleDC(hDC); auto oldSrcBitmap = OS.SelectObject(srcHdc, hBitmap); auto memHdc = OS.CreateCompatibleDC(hDC); auto memDib = createDIB(imgWidth, imgHeight, 32); if (memDib is null) SWT.error(SWT.ERROR_NO_HANDLES); auto oldMemBitmap = OS.SelectObject(memHdc, memDib); BITMAP dibBM; OS.GetObject(memDib, BITMAP.sizeof, &dibBM); OS.BitBlt(memHdc, 0, 0, imgWidth, imgHeight, srcHdc, 0, hBitmap is iconInfo.hbmMask ? imgHeight : 0, OS.SRCCOPY); OS.SelectObject(memHdc, oldMemBitmap); OS.DeleteObject(memHdc); ubyte[] srcData = new ubyte[dibBM.bmWidthBytes * dibBM.bmHeight]; OS.MoveMemory(srcData.ptr, dibBM.bmBits, srcData.length); OS.DeleteObject(memDib); OS.SelectObject(srcHdc, iconInfo.hbmMask); for (int y = 0, dp = 3; y < imgHeight; ++y) { for (int x = 0; x < imgWidth; ++x) { if (srcData[dp] is 0) { if (OS.GetPixel(srcHdc, x, y) !is 0) { srcData[dp] = cast(ubyte)0; } else { srcData[dp] = cast(ubyte)0xFF; } } dp += 4; } } OS.SelectObject(srcHdc, oldSrcBitmap); OS.DeleteObject(srcHdc); device.internal_dispose_GC(hDC, null); auto hHeap = OS.GetProcessHeap(); pixels = cast(ubyte*) OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, srcData.length); if (pixels is null) SWT.error(SWT.ERROR_NO_HANDLES); OS.MoveMemory(pixels, srcData.ptr, srcData.length); img = Gdip.Bitmap_new(imgWidth, imgHeight, dibBM.bmWidthBytes, Gdip.PixelFormat32bppARGB, pixels); } else { img = Gdip.Bitmap_new(handle); } if (iconInfo.hbmColor !is null) OS.DeleteObject(iconInfo.hbmColor); if (iconInfo.hbmMask !is null) OS.DeleteObject(iconInfo.hbmMask); return [ cast(ptrdiff_t)img, cast(ptrdiff_t)pixels ]; } default: SWT.error(SWT.ERROR_INVALID_IMAGE); } return null; } override void destroy () { if (memGC !is null) memGC.dispose(); if (type is SWT.ICON) { static if (OS.IsWinCE) data = null; OS.DestroyIcon (handle); } else { OS.DeleteObject (handle); } handle = null; memGC = null; } /** * Compares the argument to the receiver, and returns true * if they represent the <em>same</em> object using a class * specific comparison. * * @param object the object to compare with this object * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise * * @see #hashCode */ override public equals_t opEquals (Object object) { if (object is this) return true; if (!(cast(Image)object)) return false; Image image = cast(Image) object; return device is image.device && handle is image.handle; } /** * Returns the color to which to map the transparent pixel, or null if * the receiver has no transparent pixel. * <p> * There are certain uses of Images that do not support transparency * (for example, setting an image into a button or label). In these cases, * it may be desired to simulate transparency by using the background * color of the widget to paint the transparent pixels of the image. * Use this method to check which color will be used in these cases * in place of transparency. This value may be set with setBackground(). * <p> * * @return the background color of the image, or null if there is no transparency in the image * * @exception SWTException <ul> * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> * </ul> */ public Color getBackground() { if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); if (transparentPixel is -1) return null; /* Get the HDC for the device */ auto hDC = device.internal_new_GC(null); /* Compute the background color */ BITMAP bm; OS.GetObject(handle, BITMAP.sizeof, &bm); auto hdcMem = OS.CreateCompatibleDC(hDC); auto hOldObject = OS.SelectObject(hdcMem, handle); int red = 0, green = 0, blue = 0; if (bm.bmBitsPixel <= 8) { static if (OS.IsWinCE) { byte[1] pBits; OS.MoveMemory(pBits.ptr, bm.bmBits, 1); byte oldValue = pBits[0]; int mask = (0xFF << (8 - bm.bmBitsPixel)) & 0x00FF; pBits[0] = cast(byte)((transparentPixel << (8 - bm.bmBitsPixel)) | (pBits[0] & ~mask)); OS.MoveMemory(bm.bmBits, pBits.ptr, 1); int color = OS.GetPixel(hdcMem, 0, 0); pBits[0] = oldValue; OS.MoveMemory(bm.bmBits, pBits.ptr, 1); blue = (color & 0xFF0000) >> 16; green = (color & 0xFF00) >> 8; red = color & 0xFF; } else { RGBQUAD color; OS.GetDIBColorTable(hdcMem, transparentPixel, 1, &color); blue = color.rgbBlue; green = color.rgbGreen; red = color.rgbRed; } } else { switch (bm.bmBitsPixel) { case 16: blue = (transparentPixel & 0x1F) << 3; green = (transparentPixel & 0x3E0) >> 2; red = (transparentPixel & 0x7C00) >> 7; break; case 24: blue = (transparentPixel & 0xFF0000) >> 16; green = (transparentPixel & 0xFF00) >> 8; red = transparentPixel & 0xFF; break; case 32: blue = (transparentPixel & 0xFF000000) >>> 24; green = (transparentPixel & 0xFF0000) >> 16; red = (transparentPixel & 0xFF00) >> 8; break; default: return null; } } OS.SelectObject(hdcMem, hOldObject); OS.DeleteDC(hdcMem); /* Release the HDC for the device */ device.internal_dispose_GC(hDC, null); return Color.win32_new(device, (blue << 16) | (green << 8) | red); } /** * Returns the bounds of the receiver. The rectangle will always * have x and y values of 0, and the width and height of the * image. * * @return a rectangle specifying the image's bounds * * @exception SWTException <ul> * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_INVALID_IMAGE - if the image is not a bitmap or an icon</li> * </ul> */ public Rectangle getBounds() { if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); if (width !is -1 && height !is -1) { return new Rectangle(0, 0, width, height); } switch (type) { case SWT.BITMAP: BITMAP bm; OS.GetObject(handle, BITMAP.sizeof, &bm); return new Rectangle(0, 0, width = bm.bmWidth, height = bm.bmHeight); case SWT.ICON: static if (OS.IsWinCE) { return new Rectangle(0, 0, width = data.width, height = data.height); } else { ICONINFO info; OS.GetIconInfo(handle, &info); auto hBitmap = info.hbmColor; if (hBitmap is null) hBitmap = info.hbmMask; BITMAP bm; OS.GetObject(hBitmap, BITMAP.sizeof, &bm); if (hBitmap is info.hbmMask) bm.bmHeight /= 2; if (info.hbmColor !is null) OS.DeleteObject(info.hbmColor); if (info.hbmMask !is null) OS.DeleteObject(info.hbmMask); return new Rectangle(0, 0, width = bm.bmWidth, height = bm.bmHeight); } default: SWT.error(SWT.ERROR_INVALID_IMAGE); return null; } } /** * Returns an <code>ImageData</code> based on the receiver * Modifications made to this <code>ImageData</code> will not * affect the Image. * * @return an <code>ImageData</code> containing the image's data and attributes * * @exception SWTException <ul> * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_INVALID_IMAGE - if the image is not a bitmap or an icon</li> * </ul> * * @see ImageData */ public ImageData getImageData() { if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); BITMAP bm; int depth, width, height; switch (type) { case SWT.ICON: { static if (OS.IsWinCE) return data; ICONINFO info; static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetIconInfo(handle, &info); /* Get the basic BITMAP information */ auto hBitmap = info.hbmColor; if (hBitmap is null) hBitmap = info.hbmMask; OS.GetObject(hBitmap, BITMAP.sizeof, &bm); depth = bm.bmPlanes * bm.bmBitsPixel; width = bm.bmWidth; if (hBitmap is info.hbmMask) bm.bmHeight /= 2; height = bm.bmHeight; int numColors = 0; if (depth <= 8) numColors = 1 << depth; /* Create the BITMAPINFO */ BITMAPINFOHEADER bmiHeader; bmiHeader.biSize = BITMAPINFOHEADER.sizeof; bmiHeader.biWidth = width; bmiHeader.biHeight = -height; bmiHeader.biPlanes = 1; bmiHeader.biBitCount = cast(short)depth; bmiHeader.biCompression = OS.BI_RGB; byte[] bmi = new byte[BITMAPINFOHEADER.sizeof + numColors * 4]; OS.MoveMemory(bmi.ptr, &bmiHeader, BITMAPINFOHEADER.sizeof); /* Get the HDC for the device */ auto hDC = device.internal_new_GC(null); /* Create the DC and select the bitmap */ auto hBitmapDC = OS.CreateCompatibleDC(hDC); auto hOldBitmap = OS.SelectObject(hBitmapDC, hBitmap); /* Select the palette if necessary */ HPALETTE oldPalette; if (depth <= 8) { auto hPalette = device.hPalette; if (hPalette !is null) { oldPalette = OS.SelectPalette(hBitmapDC, hPalette, false); OS.RealizePalette(hBitmapDC); } } /* Find the size of the image and allocate data */ int imageSize; /* Call with null lpBits to get the image size */ static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetDIBits(hBitmapDC, hBitmap, 0, height, null, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS); OS.MoveMemory(&bmiHeader, bmi.ptr, BITMAPINFOHEADER.sizeof); imageSize = bmiHeader.biSizeImage; byte[] data = new byte[imageSize]; /* Get the bitmap data */ auto hHeap = OS.GetProcessHeap(); auto lpvBits = cast(byte*) OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, imageSize); if (lpvBits is null) SWT.error(SWT.ERROR_NO_HANDLES); static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetDIBits(hBitmapDC, hBitmap, 0, height, lpvBits, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS); OS.MoveMemory(data.ptr, lpvBits, imageSize); /* Calculate the palette */ PaletteData palette = null; if (depth <= 8) { RGB[] rgbs = new RGB[numColors]; int srcIndex = 40; for (int i = 0; i < numColors; i++) { rgbs[i] = new RGB(bmi[srcIndex + 2] & 0xFF, bmi[srcIndex + 1] & 0xFF, bmi[srcIndex] & 0xFF); srcIndex += 4; } palette = new PaletteData(rgbs); } else if (depth is 16) { palette = new PaletteData(0x7C00, 0x3E0, 0x1F); } else if (depth is 24) { palette = new PaletteData(0xFF, 0xFF00, 0xFF0000); } else if (depth is 32) { palette = new PaletteData(0xFF00, 0xFF0000, 0xFF000000); } else { SWT.error(SWT.ERROR_UNSUPPORTED_DEPTH); } /* Do the mask */ byte [] maskData = null; if (info.hbmColor is null) { /* Do the bottom half of the mask */ static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetDIBits(hBitmapDC, hBitmap, height, height, lpvBits, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS); OS.MoveMemory(maskData.ptr, lpvBits, imageSize); } else { /* Do the entire mask */ /* Create the BITMAPINFO */ bmiHeader = BITMAPINFOHEADER.init; bmiHeader.biSize = BITMAPINFOHEADER.sizeof; bmiHeader.biWidth = width; bmiHeader.biHeight = -height; bmiHeader.biPlanes = 1; bmiHeader.biBitCount = 1; bmiHeader.biCompression = OS.BI_RGB; bmi = new byte[BITMAPINFOHEADER.sizeof + 8]; OS.MoveMemory(bmi.ptr, &bmiHeader, BITMAPINFOHEADER.sizeof); /* First color black, second color white */ int offset = BITMAPINFOHEADER.sizeof; bmi[offset + 4] = bmi[offset + 5] = bmi[offset + 6] = cast(byte)0xFF; bmi[offset + 7] = 0; OS.SelectObject(hBitmapDC, info.hbmMask); /* Call with null lpBits to get the image size */ static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetDIBits(hBitmapDC, info.hbmMask, 0, height, null, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS); OS.MoveMemory(&bmiHeader, bmi.ptr, BITMAPINFOHEADER.sizeof); imageSize = bmiHeader.biSizeImage; maskData = new byte[imageSize]; auto lpvMaskBits = OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, imageSize); if (lpvMaskBits is null) SWT.error(SWT.ERROR_NO_HANDLES); static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetDIBits(hBitmapDC, info.hbmMask, 0, height, lpvMaskBits, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS); OS.MoveMemory(maskData.ptr, lpvMaskBits, imageSize); OS.HeapFree(hHeap, 0, lpvMaskBits); /* Loop to invert the mask */ for (int i = 0; i < maskData.length; i++) { maskData[i] ^= -1; } /* Make sure mask scanlinePad is 2 */ int maskPad; int bpl = imageSize / height; for (maskPad = 1; maskPad < 128; maskPad++) { int calcBpl = (((width + 7) / 8) + (maskPad - 1)) / maskPad * maskPad; if (calcBpl is bpl) break; } maskData = ImageData.convertPad(maskData, width, height, 1, maskPad, 2); } /* Clean up */ OS.HeapFree(hHeap, 0, lpvBits); OS.SelectObject(hBitmapDC, hOldBitmap); if (oldPalette !is null) { OS.SelectPalette(hBitmapDC, oldPalette, false); OS.RealizePalette(hBitmapDC); } OS.DeleteDC(hBitmapDC); /* Release the HDC for the device */ device.internal_dispose_GC(hDC, null); if (info.hbmColor !is null) OS.DeleteObject(info.hbmColor); if (info.hbmMask !is null) OS.DeleteObject(info.hbmMask); /* Construct and return the ImageData */ ImageData imageData = new ImageData(width, height, depth, palette, 4, data); imageData.maskData = maskData; imageData.maskPad = 2; return imageData; } case SWT.BITMAP: { /* Get the basic BITMAP information */ bm = BITMAP.init; OS.GetObject(handle, BITMAP.sizeof, &bm); depth = bm.bmPlanes * bm.bmBitsPixel; width = bm.bmWidth; height = bm.bmHeight; /* Find out whether this is a DIB or a DDB. */ bool isDib = (bm.bmBits !is null); /* Get the HDC for the device */ auto hDC = device.internal_new_GC(null); /* * Feature in WinCE. GetDIBits is not available in WinCE. The * workaround is to create a temporary DIB from the DDB and use * the bmBits field of DIBSECTION to retrieve the image data. */ auto handle = this.handle; static if (OS.IsWinCE) { if (!isDib) { bool mustRestore = false; if (memGC !is null && !memGC.isDisposed()) { memGC.flush (); mustRestore = true; GCData data = memGC.data; if (data.hNullBitmap !is null) { OS.SelectObject(memGC.handle, data.hNullBitmap); data.hNullBitmap = null; } } handle = createDIBFromDDB(hDC, this.handle, width, height); if (mustRestore) { auto hOldBitmap = OS.SelectObject(memGC.handle, this.handle); memGC.data.hNullBitmap = hOldBitmap; } isDib = true; } } DIBSECTION dib; if (isDib) { OS.GetObject(handle, DIBSECTION.sizeof, &dib); } /* Calculate number of colors */ int numColors = 0; if (depth <= 8) { if (isDib) { numColors = dib.dsBmih.biClrUsed; } else { numColors = 1 << depth; } } /* Create the BITMAPINFO */ byte[] bmi = null; BITMAPINFOHEADER bmiHeader; if (!isDib) { bmiHeader.biSize = BITMAPINFOHEADER.sizeof; bmiHeader.biWidth = width; bmiHeader.biHeight = -height; bmiHeader.biPlanes = 1; bmiHeader.biBitCount = cast(short)depth; bmiHeader.biCompression = OS.BI_RGB; bmi = new byte[BITMAPINFOHEADER.sizeof + numColors * 4]; OS.MoveMemory(bmi.ptr, &bmiHeader, BITMAPINFOHEADER.sizeof); } /* Create the DC and select the bitmap */ auto hBitmapDC = OS.CreateCompatibleDC(hDC); auto hOldBitmap = OS.SelectObject(hBitmapDC, handle); /* Select the palette if necessary */ HPALETTE oldPalette; if (!isDib && depth <= 8) { auto hPalette = device.hPalette; if (hPalette !is null) { oldPalette = OS.SelectPalette(hBitmapDC, hPalette, false); OS.RealizePalette(hBitmapDC); } } /* Find the size of the image and allocate data */ int imageSize; if (isDib) { imageSize = dib.dsBmih.biSizeImage; } else { /* Call with null lpBits to get the image size */ static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetDIBits(hBitmapDC, handle, 0, height, null, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS); OS.MoveMemory(&bmiHeader, bmi.ptr, BITMAPINFOHEADER.sizeof); imageSize = bmiHeader.biSizeImage; } byte[] data = new byte[imageSize]; /* Get the bitmap data */ if (isDib) { if (OS.IsWinCE) { if (this.handle !is handle) { /* get image data from the temporary DIB */ OS.MoveMemory(data.ptr, dib.dsBm.bmBits, imageSize); } } else { OS.MoveMemory(data.ptr, bm.bmBits, imageSize); } } else { auto hHeap = OS.GetProcessHeap(); auto lpvBits = OS.HeapAlloc(hHeap, OS.HEAP_ZERO_MEMORY, imageSize); if (lpvBits is null) SWT.error(SWT.ERROR_NO_HANDLES); static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.GetDIBits(hBitmapDC, handle, 0, height, lpvBits, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS); OS.MoveMemory(data.ptr, lpvBits, imageSize); OS.HeapFree(hHeap, 0, lpvBits); } /* Calculate the palette */ PaletteData palette = null; if (depth <= 8) { RGB[] rgbs = new RGB[numColors]; if (isDib) { static if (OS.IsWinCE) { /* * Feature on WinCE. GetDIBColorTable is not supported. * The workaround is to set a pixel to the desired * palette index and use getPixel to get the corresponding * RGB value. */ int red = 0, green = 0, blue = 0; byte[1] pBits; OS.MoveMemory(pBits.ptr, bm.bmBits, 1); byte oldValue = pBits[0]; int mask = (0xFF << (8 - bm.bmBitsPixel)) & 0x00FF; for (int i = 0; i < numColors; i++) { pBits[0] = cast(byte)((i << (8 - bm.bmBitsPixel)) | (pBits[0] & ~mask)); OS.MoveMemory(bm.bmBits, pBits.ptr, 1); int color = OS.GetPixel(hBitmapDC, 0, 0); blue = (color & 0xFF0000) >> 16; green = (color & 0xFF00) >> 8; red = color & 0xFF; rgbs[i] = new RGB(red, green, blue); } pBits[0] = oldValue; OS.MoveMemory(bm.bmBits, pBits.ptr, 1); } else { byte[] colors = new byte[numColors * 4]; OS.GetDIBColorTable(hBitmapDC, 0, numColors, cast(RGBQUAD*)colors.ptr); int colorIndex = 0; for (int i = 0; i < rgbs.length; i++) { rgbs[i] = new RGB(colors[colorIndex + 2] & 0xFF, colors[colorIndex + 1] & 0xFF, colors[colorIndex] & 0xFF); colorIndex += 4; } } } else { int srcIndex = BITMAPINFOHEADER.sizeof; for (int i = 0; i < numColors; i++) { rgbs[i] = new RGB(bmi[srcIndex + 2] & 0xFF, bmi[srcIndex + 1] & 0xFF, bmi[srcIndex] & 0xFF); srcIndex += 4; } } palette = new PaletteData(rgbs); } else if (depth is 16) { palette = new PaletteData(0x7C00, 0x3E0, 0x1F); } else if (depth is 24) { palette = new PaletteData(0xFF, 0xFF00, 0xFF0000); } else if (depth is 32) { palette = new PaletteData(0xFF00, 0xFF0000, 0xFF000000); } else { SWT.error(SWT.ERROR_UNSUPPORTED_DEPTH); } /* Clean up */ OS.SelectObject(hBitmapDC, hOldBitmap); if (oldPalette !is null) { OS.SelectPalette(hBitmapDC, oldPalette, false); OS.RealizePalette(hBitmapDC); } static if (OS.IsWinCE) { if (handle !is this.handle) { /* free temporary DIB */ OS.DeleteObject (handle); } } OS.DeleteDC(hBitmapDC); /* Release the HDC for the device */ device.internal_dispose_GC(hDC, null); /* Construct and return the ImageData */ ImageData imageData = new ImageData(width, height, depth, palette, 4, data); imageData.transparentPixel = this.transparentPixel; imageData.alpha = alpha; if (alpha is -1 && alphaData !is null) { imageData.alphaData = new byte[alphaData.length]; System.arraycopy(alphaData, 0, imageData.alphaData, 0, alphaData.length); } return imageData; } default: SWT.error(SWT.ERROR_INVALID_IMAGE); return null; } } /** * Returns an integer hash code for the receiver. Any two * objects that return <code>true</code> when passed to * <code>equals</code> must return the same value for this * method. * * @return the receiver's hash * * @see #equals */ override public hash_t toHash () { return cast(hash_t)handle; } void init_(int width, int height) { if (width <= 0 || height <= 0) { SWT.error (SWT.ERROR_INVALID_ARGUMENT); } type = SWT.BITMAP; auto hDC = device.internal_new_GC(null); handle = OS.CreateCompatibleBitmap(hDC, width, height); /* * Feature in Windows. CreateCompatibleBitmap() may fail * for large images. The fix is to create a DIB section * in that case. */ if (handle is null) { int bits = OS.GetDeviceCaps(hDC, OS.BITSPIXEL); int planes = OS.GetDeviceCaps(hDC, OS.PLANES); int depth = bits * planes; if (depth < 16) depth = 16; handle = createDIB(width, height, depth); } if (handle !is null) { auto memDC = OS.CreateCompatibleDC(hDC); auto hOldBitmap = OS.SelectObject(memDC, handle); OS.PatBlt(memDC, 0, 0, width, height, OS.PATCOPY); OS.SelectObject(memDC, hOldBitmap); OS.DeleteDC(memDC); } device.internal_dispose_GC(hDC, null); if (handle is null) { SWT.error(SWT.ERROR_NO_HANDLES, null, device.getLastError()); } } static HGDIOBJ createDIB(int width, int height, int depth) { BITMAPINFOHEADER bmiHeader; bmiHeader.biSize = BITMAPINFOHEADER.sizeof; bmiHeader.biWidth = width; bmiHeader.biHeight = -height; bmiHeader.biPlanes = 1; bmiHeader.biBitCount = cast(short)depth; static if (OS.IsWinCE) bmiHeader.biCompression = OS.BI_BITFIELDS; else bmiHeader.biCompression = OS.BI_RGB; byte[] bmi = new byte[BITMAPINFOHEADER.sizeof + (OS.IsWinCE ? 12 : 0)]; OS.MoveMemory(bmi.ptr, &bmiHeader, BITMAPINFOHEADER.sizeof); /* Set the rgb colors into the bitmap info */ static if (OS.IsWinCE) { int redMask = 0xFF00; int greenMask = 0xFF0000; int blueMask = 0xFF000000; /* big endian */ int offset = BITMAPINFOHEADER.sizeof; bmi[offset] = cast(byte)((redMask & 0xFF000000) >> 24); bmi[offset + 1] = cast(byte)((redMask & 0xFF0000) >> 16); bmi[offset + 2] = cast(byte)((redMask & 0xFF00) >> 8); bmi[offset + 3] = cast(byte)((redMask & 0xFF) >> 0); bmi[offset + 4] = cast(byte)((greenMask & 0xFF000000) >> 24); bmi[offset + 5] = cast(byte)((greenMask & 0xFF0000) >> 16); bmi[offset + 6] = cast(byte)((greenMask & 0xFF00) >> 8); bmi[offset + 7] = cast(byte)((greenMask & 0xFF) >> 0); bmi[offset + 8] = cast(byte)((blueMask & 0xFF000000) >> 24); bmi[offset + 9] = cast(byte)((blueMask & 0xFF0000) >> 16); bmi[offset + 10] = cast(byte)((blueMask & 0xFF00) >> 8); bmi[offset + 11] = cast(byte)((blueMask & 0xFF) >> 0); } void* pBits; return OS.CreateDIBSection(null, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS, &pBits, null, 0); } /** * Feature in WinCE. GetIconInfo is not available in WinCE. * The workaround is to cache the object ImageData for images * of type SWT.ICON. The bitmaps hbmMask and hbmColor can then * be reconstructed by using our version of getIconInfo. * This function takes an ICONINFO object and sets the fields * hbmMask and hbmColor with the corresponding bitmaps it has * created. * Note. These bitmaps must be freed - as they would have to be * if the regular GetIconInfo had been used. */ static void GetIconInfo(Image image, ICONINFO* info) { ptrdiff_t[] result = init_(image.device, null, image.data); info.hbmColor = cast(HBITMAP)result[0]; info.hbmMask = cast(HBITMAP)result[1]; } static ptrdiff_t[] init_(Device device, Image image, ImageData i) { /* * BUG in Windows 98: * A monochrome DIBSection will display as solid black * on Windows 98 machines, even though it contains the * correct data. The fix is to convert 1-bit ImageData * into 4-bit ImageData before creating the image. */ /* Windows does not support 2-bit images. Convert to 4-bit image. */ if ((OS.IsWin95 && i.depth is 1 && i.getTransparencyType() !is SWT.TRANSPARENCY_MASK) || i.depth is 2) { ImageData img = new ImageData(i.width, i.height, 4, i.palette); ImageData.blit(ImageData.BLIT_SRC, i.data, i.depth, i.bytesPerLine, i.getByteOrder(), 0, 0, i.width, i.height, null, null, null, ImageData.ALPHA_OPAQUE, null, 0, 0, 0, img.data, img.depth, img.bytesPerLine, i.getByteOrder(), 0, 0, img.width, img.height, null, null, null, false, false); img.transparentPixel = i.transparentPixel; img.maskPad = i.maskPad; img.maskData = i.maskData; img.alpha = i.alpha; img.alphaData = i.alphaData; i = img; } /* * Windows supports 16-bit mask of (0x7C00, 0x3E0, 0x1F), * 24-bit mask of (0xFF0000, 0xFF00, 0xFF) and 32-bit mask * (0x00FF0000, 0x0000FF00, 0x000000FF) as documented in * MSDN BITMAPINFOHEADER. Make sure the image is * Windows-supported. */ /* * Note on WinCE. CreateDIBSection requires the biCompression * field of the BITMAPINFOHEADER to be set to BI_BITFIELDS for * 16 and 32 bit direct images (see MSDN for CreateDIBSection). * In this case, the color mask can be set to any value. For * consistency, it is set to the same mask used by non WinCE * platforms in BI_RGB mode. */ if (i.palette.isDirect) { PaletteData palette = i.palette; int redMask = palette.redMask; int greenMask = palette.greenMask; int blueMask = palette.blueMask; int newDepth = i.depth; int newOrder = ImageData.MSB_FIRST; PaletteData newPalette = null; switch (i.depth) { case 8: newDepth = 16; newOrder = ImageData.LSB_FIRST; newPalette = new PaletteData(0x7C00, 0x3E0, 0x1F); break; case 16: newOrder = ImageData.LSB_FIRST; if (!(redMask is 0x7C00 && greenMask is 0x3E0 && blueMask is 0x1F)) { newPalette = new PaletteData(0x7C00, 0x3E0, 0x1F); } break; case 24: if (!(redMask is 0xFF && greenMask is 0xFF00 && blueMask is 0xFF0000)) { newPalette = new PaletteData(0xFF, 0xFF00, 0xFF0000); } break; case 32: if (!(redMask is 0xFF00 && greenMask is 0xFF0000 && blueMask is 0xFF000000)) { newPalette = new PaletteData(0xFF00, 0xFF0000, 0xFF000000); } break; default: SWT.error(SWT.ERROR_UNSUPPORTED_DEPTH); } if (newPalette !is null) { ImageData img = new ImageData(i.width, i.height, newDepth, newPalette); ImageData.blit(ImageData.BLIT_SRC, i.data, i.depth, i.bytesPerLine, i.getByteOrder(), 0, 0, i.width, i.height, redMask, greenMask, blueMask, ImageData.ALPHA_OPAQUE, null, 0, 0, 0, img.data, img.depth, img.bytesPerLine, newOrder, 0, 0, img.width, img.height, newPalette.redMask, newPalette.greenMask, newPalette.blueMask, false, false); if (i.transparentPixel !is -1) { img.transparentPixel = newPalette.getPixel(palette.getRGB(i.transparentPixel)); } img.maskPad = i.maskPad; img.maskData = i.maskData; img.alpha = i.alpha; img.alphaData = i.alphaData; i = img; } } /* Construct bitmap info header by hand */ RGB[] rgbs = i.palette.getRGBs(); bool useBitfields = OS.IsWinCE && (i.depth is 16 || i.depth is 32); BITMAPINFOHEADER bmiHeader; bmiHeader.biSize = BITMAPINFOHEADER.sizeof; bmiHeader.biWidth = i.width; bmiHeader.biHeight = -i.height; bmiHeader.biPlanes = 1; bmiHeader.biBitCount = cast(short)i.depth; if (useBitfields) bmiHeader.biCompression = OS.BI_BITFIELDS; else bmiHeader.biCompression = OS.BI_RGB; bmiHeader.biClrUsed = rgbs is null ? 0 : cast(int)/*64bit*/rgbs.length; byte[] bmi; if (i.palette.isDirect) bmi = new byte[BITMAPINFOHEADER.sizeof + (useBitfields ? 12 : 0)]; else bmi = new byte[BITMAPINFOHEADER.sizeof + rgbs.length * 4]; OS.MoveMemory(bmi.ptr, &bmiHeader, BITMAPINFOHEADER.sizeof); /* Set the rgb colors into the bitmap info */ int offset = BITMAPINFOHEADER.sizeof; if (i.palette.isDirect) { if (useBitfields) { PaletteData palette = i.palette; int redMask = palette.redMask; int greenMask = palette.greenMask; int blueMask = palette.blueMask; /* * The color masks must be written based on the * endianness of the ImageData. */ if (i.getByteOrder() is ImageData.LSB_FIRST) { bmi[offset] = cast(byte)((redMask & 0xFF) >> 0); bmi[offset + 1] = cast(byte)((redMask & 0xFF00) >> 8); bmi[offset + 2] = cast(byte)((redMask & 0xFF0000) >> 16); bmi[offset + 3] = cast(byte)((redMask & 0xFF000000) >> 24); bmi[offset + 4] = cast(byte)((greenMask & 0xFF) >> 0); bmi[offset + 5] = cast(byte)((greenMask & 0xFF00) >> 8); bmi[offset + 6] = cast(byte)((greenMask & 0xFF0000) >> 16); bmi[offset + 7] = cast(byte)((greenMask & 0xFF000000) >> 24); bmi[offset + 8] = cast(byte)((blueMask & 0xFF) >> 0); bmi[offset + 9] = cast(byte)((blueMask & 0xFF00) >> 8); bmi[offset + 10] = cast(byte)((blueMask & 0xFF0000) >> 16); bmi[offset + 11] = cast(byte)((blueMask & 0xFF000000) >> 24); } else { bmi[offset] = cast(byte)((redMask & 0xFF000000) >> 24); bmi[offset + 1] = cast(byte)((redMask & 0xFF0000) >> 16); bmi[offset + 2] = cast(byte)((redMask & 0xFF00) >> 8); bmi[offset + 3] = cast(byte)((redMask & 0xFF) >> 0); bmi[offset + 4] = cast(byte)((greenMask & 0xFF000000) >> 24); bmi[offset + 5] = cast(byte)((greenMask & 0xFF0000) >> 16); bmi[offset + 6] = cast(byte)((greenMask & 0xFF00) >> 8); bmi[offset + 7] = cast(byte)((greenMask & 0xFF) >> 0); bmi[offset + 8] = cast(byte)((blueMask & 0xFF000000) >> 24); bmi[offset + 9] = cast(byte)((blueMask & 0xFF0000) >> 16); bmi[offset + 10] = cast(byte)((blueMask & 0xFF00) >> 8); bmi[offset + 11] = cast(byte)((blueMask & 0xFF) >> 0); } } } else { for (int j = 0; j < rgbs.length; j++) { bmi[offset] = cast(byte)rgbs[j].blue; bmi[offset + 1] = cast(byte)rgbs[j].green; bmi[offset + 2] = cast(byte)rgbs[j].red; bmi[offset + 3] = 0; offset += 4; } } void* pBits; auto hDib = OS.CreateDIBSection(null, cast(BITMAPINFO*)bmi.ptr, OS.DIB_RGB_COLORS, &pBits, null, 0); if (hDib is null) SWT.error(SWT.ERROR_NO_HANDLES); /* In case of a scanline pad other than 4, do the work to convert it */ byte[] data = i.data; if (i.scanlinePad !is 4 && (i.bytesPerLine % 4 !is 0)) { data = ImageData.convertPad(data, i.width, i.height, i.depth, i.scanlinePad, 4); } OS.MoveMemory(pBits, data.ptr, data.length); ptrdiff_t [] result = null; if (i.getTransparencyType() is SWT.TRANSPARENCY_MASK) { /* Get the HDC for the device */ auto hDC = device.internal_new_GC(null); /* Create the color bitmap */ auto hdcSrc = OS.CreateCompatibleDC(hDC); OS.SelectObject(hdcSrc, hDib); auto hBitmap = OS.CreateCompatibleBitmap(hDC, i.width, i.height); if (hBitmap is null) SWT.error(SWT.ERROR_NO_HANDLES); auto hdcDest = OS.CreateCompatibleDC(hDC); OS.SelectObject(hdcDest, hBitmap); OS.BitBlt(hdcDest, 0, 0, i.width, i.height, hdcSrc, 0, 0, OS.SRCCOPY); /* Release the HDC for the device */ device.internal_dispose_GC(hDC, null); /* Create the mask. Windows requires icon masks to have a scanline pad of 2. */ byte[] maskData = ImageData.convertPad(i.maskData, i.width, i.height, 1, i.maskPad, 2); auto hMask = OS.CreateBitmap(i.width, i.height, 1, 1, maskData.ptr); if (hMask is null) SWT.error(SWT.ERROR_NO_HANDLES); OS.SelectObject(hdcSrc, hMask); OS.PatBlt(hdcSrc, 0, 0, i.width, i.height, OS.DSTINVERT); OS.DeleteDC(hdcSrc); OS.DeleteDC(hdcDest); OS.DeleteObject(hDib); if (image is null) { result = [cast(ptrdiff_t)hBitmap, cast(ptrdiff_t)hMask]; } else { /* Create the icon */ ICONINFO info; info.fIcon = true; info.hbmColor = hBitmap; info.hbmMask = hMask; auto hIcon = OS.CreateIconIndirect(&info); if (hIcon is null) SWT.error(SWT.ERROR_NO_HANDLES); OS.DeleteObject(hBitmap); OS.DeleteObject(hMask); image.handle = hIcon; image.type = SWT.ICON; static if (OS.IsWinCE) image.data = i; } } else { if (image is null) { result = [cast(ptrdiff_t)hDib]; } else { image.handle = hDib; image.type = SWT.BITMAP; image.transparentPixel = i.transparentPixel; if (image.transparentPixel is -1) { image.alpha = i.alpha; if (i.alpha is -1 && i.alphaData !is null) { int length = cast(int)/*64bit*/i.alphaData.length; image.alphaData = new byte[length]; System.arraycopy(i.alphaData, 0, image.alphaData, 0, length); } } } } return result; } static ptrdiff_t[] init__(Device device, Image image, ImageData source, ImageData mask) { /* Create a temporary image and locate the black pixel */ ImageData imageData; int blackIndex = 0; if (source.palette.isDirect) { imageData = new ImageData(source.width, source.height, source.depth, source.palette); } else { RGB black = new RGB(0, 0, 0); RGB[] rgbs = source.getRGBs(); if (source.transparentPixel !is -1) { /* * The source had transparency, so we can use the transparent pixel * for black. */ RGB[] newRGBs = new RGB[rgbs.length]; System.arraycopy(rgbs, 0, newRGBs, 0, rgbs.length); if (source.transparentPixel >= newRGBs.length) { /* Grow the palette with black */ rgbs = new RGB[source.transparentPixel + 1]; System.arraycopy(newRGBs, 0, rgbs, 0, newRGBs.length); for (auto i = newRGBs.length; i <= source.transparentPixel; i++) { rgbs[i] = new RGB(0, 0, 0); } } else { newRGBs[source.transparentPixel] = black; rgbs = newRGBs; } blackIndex = source.transparentPixel; imageData = new ImageData(source.width, source.height, source.depth, new PaletteData(rgbs)); } else { while (blackIndex < rgbs.length) { if (rgbs[blackIndex] ==/*eq*/ black) break; blackIndex++; } if (blackIndex is rgbs.length) { /* * We didn't find black in the palette, and there is no transparent * pixel we can use. */ if ((1 << source.depth) > rgbs.length) { /* We can grow the palette and add black */ RGB[] newRGBs = new RGB[rgbs.length + 1]; System.arraycopy(rgbs, 0, newRGBs, 0, rgbs.length); newRGBs[rgbs.length] = black; rgbs = newRGBs; } else { /* No room to grow the palette */ blackIndex = -1; } } imageData = new ImageData(source.width, source.height, source.depth, new PaletteData(rgbs)); } } if (blackIndex is -1) { /* There was no black in the palette, so just copy the data over */ System.arraycopy(source.data, 0, imageData.data, 0, imageData.data.length); } else { /* Modify the source image to contain black wherever the mask is 0 */ int[] imagePixels = new int[imageData.width]; int[] maskPixels = new int[mask.width]; for (int y = 0; y < imageData.height; y++) { source.getPixels(0, y, imageData.width, imagePixels, 0); mask.getPixels(0, y, mask.width, maskPixels, 0); for (int i = 0; i < imagePixels.length; i++) { if (maskPixels[i] is 0) imagePixels[i] = blackIndex; } imageData.setPixels(0, y, source.width, imagePixels, 0); } } imageData.maskPad = mask.scanlinePad; imageData.maskData = mask.data; return init_(device, image, imageData); } void init_(ImageData i) { if (i is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); init_(device, this, i); } /** * Invokes platform specific functionality to allocate a new GC handle. * <p> * <b>IMPORTANT:</b> This method is <em>not</em> part of the public * API for <code>Image</code>. It is marked public only so that it * can be shared within the packages provided by SWT. It is not * available on all platforms, and should never be called from * application code. * </p> * * @param data the platform specific GC data * @return the platform specific GC handle */ public HDC internal_new_GC (GCData data) { if (handle is null) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); /* * Create a new GC that can draw into the image. * Only supported for bitmaps. */ if (type !is SWT.BITMAP || memGC !is null) { SWT.error(SWT.ERROR_INVALID_ARGUMENT); } /* Create a compatible HDC for the device */ auto hDC = device.internal_new_GC(null); auto imageDC = OS.CreateCompatibleDC(hDC); device.internal_dispose_GC(hDC, null); if (imageDC is null) SWT.error(SWT.ERROR_NO_HANDLES); if (data !is null) { /* Set the GCData fields */ int mask = SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT; if ((data.style & mask) !is 0) { data.layout = (data.style & SWT.RIGHT_TO_LEFT) !is 0 ? OS.LAYOUT_RTL : 0; } else { data.style |= SWT.LEFT_TO_RIGHT; } data.device = device; data.image = this; data.font = device.systemFont; } return imageDC; } /** * Invokes platform specific functionality to dispose a GC handle. * <p> * <b>IMPORTANT:</b> This method is <em>not</em> part of the public * API for <code>Image</code>. It is marked public only so that it * can be shared within the packages provided by SWT. It is not * available on all platforms, and should never be called from * application code. * </p> * * @param hDC the platform specific GC handle * @param data the platform specific GC data */ public void internal_dispose_GC (HDC hDC, GCData data) { OS.DeleteDC(hDC); } /** * Returns <code>true</code> if the image has been disposed, * and <code>false</code> otherwise. * <p> * This method gets the dispose state for the image. * When an image has been disposed, it is an error to * invoke any other method using the image. * * @return <code>true</code> when the image is disposed and <code>false</code> otherwise */ override public bool isDisposed() { return handle is null; } /** * Sets the color to which to map the transparent pixel. * <p> * There are certain uses of <code>Images</code> that do not support * transparency (for example, setting an image into a button or label). * In these cases, it may be desired to simulate transparency by using * the background color of the widget to paint the transparent pixels * of the image. This method specifies the color that will be used in * these cases. For example: * <pre> * Button b = new Button(); * image.setBackground(b.getBackground()); * b.setImage(image); * </pre> * </p><p> * The image may be modified by this operation (in effect, the * transparent regions may be filled with the supplied color). Hence * this operation is not reversible and it is not legal to call * this function twice or with a null argument. * </p><p> * This method has no effect if the receiver does not have a transparent * pixel value. * </p> * * @param color the color to use when a transparent pixel is specified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the color is null</li> * <li>ERROR_INVALID_ARGUMENT - if the color has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> * </ul> */ public void setBackground(Color color) { /* * Note. Not implemented on WinCE. */ static if (OS.IsWinCE) return; if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); if (color is null) SWT.error(SWT.ERROR_NULL_ARGUMENT); if (color.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT); if (transparentPixel is -1) return; transparentColor = -1; /* Get the HDC for the device */ auto hDC = device.internal_new_GC(null); /* Change the background color in the image */ BITMAP bm; OS.GetObject(handle, BITMAP.sizeof, &bm); auto hdcMem = OS.CreateCompatibleDC(hDC); OS.SelectObject(hdcMem, handle); int maxColors = 1 << bm.bmBitsPixel; byte[] colors = new byte[maxColors * 4]; static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); int numColors = OS.GetDIBColorTable(hdcMem, 0, maxColors, cast(RGBQUAD*)colors.ptr); int offset = transparentPixel * 4; colors[offset] = cast(byte)color.getBlue(); colors[offset + 1] = cast(byte)color.getGreen(); colors[offset + 2] = cast(byte)color.getRed(); static if (OS.IsWinCE) SWT.error(SWT.ERROR_NOT_IMPLEMENTED); OS.SetDIBColorTable(hdcMem, 0, numColors, cast(RGBQUAD*)colors.ptr); OS.DeleteDC(hdcMem); /* Release the HDC for the device */ device.internal_dispose_GC(hDC, null); } /** * Returns a string containing a concise, human-readable * description of the receiver. * * @return a string representation of the receiver */ override public String toString () { if (isDisposed()) return "Image {*DISPOSED*}"; return Format( "Image {{{}}", handle ); } /** * Invokes platform specific functionality to allocate a new image. * <p> * <b>IMPORTANT:</b> This method is <em>not</em> part of the public * API for <code>Image</code>. It is marked public only so that it * can be shared within the packages provided by SWT. It is not * available on all platforms, and should never be called from * application code. * </p> * * @param device the device on which to allocate the color * @param type the type of the image (<code>SWT.BITMAP</code> or <code>SWT.ICON</code>) * @param handle the OS handle for the image * @return a new image object containing the specified device, type and handle */ public static Image win32_new(Device device, int type, HGDIOBJ handle) { Image image = new Image(device); image.disposeChecking = false; image.type = type; image.handle = handle; return image; } }
D
// https://issues.dlang.org/show_bug.cgi?id=21514 // DISABLED: win32 win64 extern(C++) cdouble cpp_cadd1(cdouble c) { return c + 1; } extern(C++) creal cpp_cadd1l(creal c) { return c + 1; } cdouble cadd1(cdouble c) { return cpp_cadd1(c); } creal cadd1(creal c) { return cpp_cadd1l(c); }
D
func void B_StopMagicBurn() { var int randypfxdead; Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessMagic); Npc_ClearAIQueue(self); AI_Standup(self); if(self.guild < GIL_SEPERATOR_HUM) { B_AssessDamage(); AI_ContinueRoutine(self); } else { Npc_SetTempAttitude(self,ATT_HOSTILE); AI_ContinueRoutine(self); }; if(self.attribute[ATR_HITPOINTS] <= 0) { self.attribute[ATR_HITPOINTS] = 0; if(self.guild <= GIL_SEPERATOR_HUM) { randypfxdead = Hlp_Random(2); if(randypfxdead == TRUE) { AI_PlayAniBS(self,"T_DEAD",BS_DEAD); } else { AI_PlayAniBS(self,"T_DEADB",BS_DEAD); }; } else { AI_PlayAniBS(self,"T_DEAD",BS_DEAD); }; AI_StartState(self,ZS_Dead,0,""); }; }; func void B_RestartBurn() { if((Npc_GetLastHitSpellID(self) == SPL_Firerain) || (Npc_GetLastHitSpellID(self) == SPL_Pyrokinesis) || (Npc_GetLastHitSpellID(self) == SPL_FireMeteor) || (Npc_GetLastHitSpellID(self) == SPL_ChargeFireball) || (Npc_GetLastHitSpellID(self) == SPL_InstantFireball) || (Npc_GetLastHitSpellID(self) == SPL_Firebolt) || (Npc_GetLastHitSpellID(self) == SPL_Firestorm)) { Npc_SetStateTime(self,0); return; }; if((Npc_GetLastHitSpellID(self) == SPL_IceWave) || (Npc_GetLastHitSpellID(self) == SPL_IceCube)) { Npc_ClearAIQueue(self); B_ClearPerceptions(self); AI_StartState(self,ZS_MagicBurn,0,""); }; }; func int ZS_MagicBurn() { Npc_PercEnable(self,PERC_ASSESSSTOPMAGIC,B_StopMagicBurn); if(!Npc_HasBodyFlag(self,BS_FLAG_INTERRUPTABLE)) { AI_Standup(self); } else { AI_StandupQuick(self); }; return TRUE; }; func int ZS_MagicBurn_Loop() { var int randypfxdead; Npc_PercEnable(self,PERC_ASSESSMAGIC,B_RestartBurn); if(Npc_GetStateTime(self) == 1) { Npc_SetStateTime(self,0); if(self.protection[PROT_FIRE] != IMMUNE) { Npc_ChangeAttribute(self,ATR_HITPOINTS,-SPL_MAGICBURN_DAMAGE_PER_SEC); }; }; if(self.attribute[ATR_HITPOINTS] <= 0) { self.attribute[ATR_HITPOINTS] = 0; if(self.guild <= GIL_SEPERATOR_HUM) { randypfxdead = Hlp_Random(2); if(randypfxdead == TRUE) { AI_PlayAniBS(self,"T_DEAD",BS_DEAD); } else { AI_PlayAniBS(self,"T_DEADB",BS_DEAD); }; } else { AI_PlayAniBS(self,"T_DEAD",BS_DEAD); }; AI_StartState(self,ZS_Dead,0,""); return LOOP_END; }; return LOOP_CONTINUE; }; func void ZS_MagicBurn_End() { var int randypfxdead; if(self.attribute[ATR_HITPOINTS] <= 0) { self.attribute[ATR_HITPOINTS] = 0; if(self.guild <= GIL_SEPERATOR_HUM) { randypfxdead = Hlp_Random(2); if(randypfxdead == TRUE) { AI_PlayAniBS(self,"T_DEAD",BS_DEAD); } else { AI_PlayAniBS(self,"T_DEADB",BS_DEAD); }; } else { AI_PlayAniBS(self,"T_DEAD",BS_DEAD); }; AI_StartState(self,ZS_Dead,0,""); }; };
D
func void ZS_Potion_Alchemy() { if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Constantino)) { if(constantino_flag == 0) { constantino_flasks = Npc_HasItems(self,ItMi_Flask); constantino_flag = 1; }; } else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Salandril)) { if(salandril_flag == 0) { salandril_flasks = Npc_HasItems(self,ItMi_Flask); salandril_flag = 1; }; } else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Sagitta)) { if(sagitta_flag == 0) { sagitta_flasks = Npc_HasItems(self,ItMi_Flask); sagitta_flag = 1; }; } else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Ignaz)) { if(ignaz_flag == 0) { ignaz_flasks = Npc_HasItems(self,ItMi_Flask); ignaz_flag = 1; }; } else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(lucia)) { if(lucia_flag == 0) { lucia_flasks = Npc_HasItems(self,ItMi_Flask); lucia_flag = 1; }; } else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Samuel)) { if(samuel_flag == 0) { samuel_flasks = Npc_HasItems(self,ItMi_Flask); samuel_flag = 1; }; }; Perception_Set_Normal(); B_ResetAll(self); AI_SetWalkMode(self,NPC_WALK); if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == FALSE) { AI_GotoWP(self,self.wp); }; }; func int ZS_Potion_Alchemy_Loop() { if(!C_BodyStateContains(self,BS_MOBINTERACT_INTERRUPT) && Wld_IsMobAvailable(self,"LAB")) { AI_UseMob(self,"LAB",1); }; return LOOP_CONTINUE; }; func void ZS_Potion_Alchemy_End() { AI_UseMob(self,"LAB",-1); };
D
module imports.testmod2a; /**********************************/ // https://issues.dlang.org/show_bug.cgi?id=1904 // testmod.d private void bar(alias a)() {} void foo(alias a)() { .bar!(a)(); }
D
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.build/String+Utilities.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Base64URL.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/NestedData.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Thread+Async.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecodable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/Decodable+Reflectable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Reflectable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/LosslessDataConvertible.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/File.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/MediaType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/OptionalType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Process+Execute.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/HeaderValue.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/DirectoryConfig.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CaseInsensitiveString.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Future+Unwrap.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/FutureEncoder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CoreError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/String+Utilities.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/DataCoders.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecoders.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Hex.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/BasicKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.build/String+Utilities~partial.swiftmodule : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Base64URL.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/NestedData.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Thread+Async.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecodable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/Decodable+Reflectable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Reflectable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/LosslessDataConvertible.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/File.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/MediaType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/OptionalType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Process+Execute.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/HeaderValue.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/DirectoryConfig.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CaseInsensitiveString.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Future+Unwrap.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/FutureEncoder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CoreError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/String+Utilities.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/DataCoders.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecoders.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Hex.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/BasicKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.build/String+Utilities~partial.swiftdoc : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Base64URL.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/NestedData.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Thread+Async.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecodable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/Decodable+Reflectable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Reflectable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/LosslessDataConvertible.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/File.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/MediaType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/OptionalType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Process+Execute.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/HeaderValue.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/DirectoryConfig.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CaseInsensitiveString.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Future+Unwrap.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/FutureEncoder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CoreError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/String+Utilities.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/DataCoders.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecoders.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Hex.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/core.git-9210800844849382486/Sources/Core/BasicKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
module fint; import std.stdio; import std.conv : to; import metafint; version = large; version = small; version (small) { struct B2 { mixin BF!(B2, ubyte, 2, (1 << 1) + (1 << 0)); } struct B3 { mixin BF!(B3, ubyte, 3, (1 << 1) + (1 << 0)); } struct B4 { mixin BF!(B4, ubyte, 4, (1 << 1) + (1 << 0)); } struct B6 { mixin BF!(B6, ubyte, 6, (1 << 1) + (1 << 0)); } struct B8 { mixin BF!(B8, ubyte, 8, (1 << 7) + (1 << 2) + (1 << 1) + (1 << 0)); } struct B12 { mixin BF!(B12, ushort, 12, (1 << 10) + (1 << 2) + (1 << 1) + (1 << 0)); } struct B16 { mixin BF!(B16, ushort, 16, (1 << 12) + (1 << 3) + (1 << 1) + (1 << 0)); } } struct B24 { mixin BF!(B24, uint, 24, (1 << 7) + (1 << 2) + (1 << 1) + (1 << 0)); } struct B32 { mixin BF!(B32, uint, 32, (1 << 22) + (1 << 2) + (1 << 1) + (1 << 0)); } version(large) struct B64 { mixin BF!(B64, ulong, 64, (1UL << 61) + (1UL << 34) + (1UL << 9) + (1UL << 0)); }
D
/home/bexx/Projects/SmallRustProjects/threads/target/debug/deps/threads-b553cdeb16b145a9.rmeta: src/main.rs /home/bexx/Projects/SmallRustProjects/threads/target/debug/deps/threads-b553cdeb16b145a9.d: src/main.rs src/main.rs:
D
// Written in the D programming language. module wrapper.sodium.crypto_pwhash; import wrapper.sodium.core; // assure sodium got initialized public import deimos.sodium.crypto_pwhash : crypto_pwhash_ALG_ARGON2I13, crypto_pwhash_alg_argon2i13, crypto_pwhash_ALG_DEFAULT, crypto_pwhash_alg_default, crypto_pwhash_BYTES_MIN, crypto_pwhash_bytes_min, crypto_pwhash_BYTES_MAX, crypto_pwhash_bytes_max, crypto_pwhash_PASSWD_MIN, crypto_pwhash_passwd_min, crypto_pwhash_PASSWD_MAX, crypto_pwhash_passwd_max, crypto_pwhash_SALTBYTES, crypto_pwhash_saltbytes, crypto_pwhash_STRBYTES, crypto_pwhash_strbytes, crypto_pwhash_STRPREFIX, // crypto_pwhash_strprefix, crypto_pwhash_OPSLIMIT_MIN, crypto_pwhash_opslimit_min, crypto_pwhash_OPSLIMIT_MAX, crypto_pwhash_opslimit_max, crypto_pwhash_MEMLIMIT_MIN, crypto_pwhash_memlimit_min, crypto_pwhash_MEMLIMIT_MAX, crypto_pwhash_memlimit_max, crypto_pwhash_OPSLIMIT_INTERACTIVE, crypto_pwhash_opslimit_interactive, crypto_pwhash_MEMLIMIT_INTERACTIVE, crypto_pwhash_memlimit_interactive, crypto_pwhash_OPSLIMIT_MODERATE, crypto_pwhash_opslimit_moderate, crypto_pwhash_MEMLIMIT_MODERATE, crypto_pwhash_memlimit_moderate, crypto_pwhash_OPSLIMIT_SENSITIVE, crypto_pwhash_opslimit_sensitive, crypto_pwhash_MEMLIMIT_SENSITIVE, crypto_pwhash_memlimit_sensitive, // crypto_pwhash, // crypto_pwhash_str, // crypto_pwhash_str_verify, crypto_pwhash_PRIMITIVE; // crypto_pwhash_primitive; import std.exception : assertThrown; import nogc.exception: enforce; string crypto_pwhash_strprefix() pure nothrow @nogc @trusted { import std.string : fromStringz; static import deimos.sodium.crypto_pwhash; const(char)[] c_arr; try c_arr = fromStringz(deimos.sodium.crypto_pwhash.crypto_pwhash_strprefix()); // strips terminating \0 catch (Exception e) { /* known not to throw */ } return c_arr; } string crypto_pwhash_primitive() pure nothrow @nogc @trusted { import std.string : fromStringz; static import deimos.sodium.crypto_pwhash; const(char)[] c_arr; try c_arr = fromStringz(deimos.sodium.crypto_pwhash.crypto_pwhash_primitive()); // strips terminating \0 catch (Exception e) { /* known not to throw */ } return c_arr; } // overload alias crypto_pwhash = deimos.sodium.crypto_pwhash.crypto_pwhash; /** Key derivation */ bool crypto_pwhash(scope ubyte[] out_, scope const string passwd, const ubyte[crypto_pwhash_SALTBYTES] salt, ulong opslimit, size_t memlimit, int alg) @nogc @trusted { // enforce(out_.length >= crypto_pwhash_BYTES_MIN, "Expected out_.length: ", out_.length, " to be greater_equal to crypto_pwhash_BYTES_MIN: ", crypto_pwhash_BYTES_MIN); enforce(out_.length >= crypto_pwhash_BYTES_MIN, "Expected out_.length is not greater_equal to crypto_pwhash_BYTES_MIN"); return crypto_pwhash(out_.ptr, out_.length, passwd.ptr, passwd.length, salt.ptr, opslimit, memlimit, alg) == 0; } /** Password storage hash generation (with same parameters as used for key derivation) */ alias crypto_pwhash_str = deimos.sodium.crypto_pwhash.crypto_pwhash_str; pragma(inline, true) bool crypto_pwhash_str(out char[crypto_pwhash_STRBYTES] out_, scope const string passwd, const ulong opslimit, const size_t memlimit) pure nothrow @nogc @trusted { return crypto_pwhash_str(out_, passwd.ptr, passwd.length, opslimit, memlimit) == 0; } /** Password storage hash verification */ alias crypto_pwhash_str_verify = deimos.sodium.crypto_pwhash.crypto_pwhash_str_verify; pragma(inline, true) bool crypto_pwhash_str_verify(const char[crypto_pwhash_STRBYTES] str, scope const string passwd) pure nothrow @nogc @trusted { return crypto_pwhash_str_verify(str, passwd.ptr, passwd.length) == 0; } @safe unittest { import wrapper.sodium.randombytes : randombytes; import wrapper.sodium.crypto_box : crypto_box_SEEDBYTES; import std.string: toStringz; import std.stdio: writeln, writefln; debug writeln("unittest block 1 from sodium.crypto_pwhash.d"); assert(crypto_pwhash_alg_argon2i13() == crypto_pwhash_ALG_ARGON2I13); assert(crypto_pwhash_alg_default() == crypto_pwhash_ALG_DEFAULT); assert(crypto_pwhash_bytes_min() == crypto_pwhash_BYTES_MIN); assert(crypto_pwhash_bytes_max() == crypto_pwhash_BYTES_MAX); assert(crypto_pwhash_passwd_min() == crypto_pwhash_PASSWD_MIN); assert(crypto_pwhash_passwd_max() == crypto_pwhash_PASSWD_MAX); assert(crypto_pwhash_saltbytes() == crypto_pwhash_SALTBYTES); assert(crypto_pwhash_strbytes() == crypto_pwhash_STRBYTES); assert(crypto_pwhash_strprefix() == crypto_pwhash_STRPREFIX); assert(crypto_pwhash_opslimit_min() == crypto_pwhash_OPSLIMIT_MIN); // 3 assert(crypto_pwhash_opslimit_max() == crypto_pwhash_OPSLIMIT_MAX); // 4294967295 assert(crypto_pwhash_memlimit_min() == crypto_pwhash_MEMLIMIT_MIN); // 8192 assert(crypto_pwhash_memlimit_max() == crypto_pwhash_MEMLIMIT_MAX); // 4398046510080 assert(crypto_pwhash_opslimit_interactive() == crypto_pwhash_OPSLIMIT_INTERACTIVE); // 4 assert(crypto_pwhash_memlimit_interactive() == crypto_pwhash_MEMLIMIT_INTERACTIVE); // 33554432 assert(crypto_pwhash_opslimit_moderate() == crypto_pwhash_OPSLIMIT_MODERATE); // 6 assert(crypto_pwhash_memlimit_moderate() == crypto_pwhash_MEMLIMIT_MODERATE); // 134217728 assert(crypto_pwhash_opslimit_sensitive() == crypto_pwhash_OPSLIMIT_SENSITIVE); // 8 assert(crypto_pwhash_memlimit_sensitive() == crypto_pwhash_MEMLIMIT_SENSITIVE); // 536870912 assert(crypto_pwhash_primitive() == crypto_pwhash_PRIMITIVE); enum password = "Correct Horse Battery Staple"; ubyte[crypto_pwhash_SALTBYTES] salt = void; // 16 randombytes(salt); ubyte[crypto_box_SEEDBYTES] key = void; // 32 assertThrown(crypto_pwhash(key[0..15], password, salt, crypto_pwhash_OPSLIMIT_INTERACTIVE, crypto_pwhash_MEMLIMIT_INTERACTIVE, crypto_pwhash_ALG_DEFAULT)); assert(crypto_pwhash(key, password, salt, crypto_pwhash_OPSLIMIT_INTERACTIVE, crypto_pwhash_MEMLIMIT_INTERACTIVE, crypto_pwhash_ALG_DEFAULT)); // writefln("crypto_pwhash key generated: 0x%(%02x%)", key); // 0xddf58869c0523709d57f2b532f4b82105882093cd3eaf0ad1623740c44f34089 // writefln("crypto_pwhash salt used: 0x%(%02x%)", salt); // 0x7714bdc12f92efcadc9b8970394db0e5 char[crypto_pwhash_STRBYTES] password_storage; assert(crypto_pwhash_str(password_storage, password, crypto_pwhash_OPSLIMIT_INTERACTIVE, crypto_pwhash_MEMLIMIT_INTERACTIVE)); // writeln("crypto_pwhash password_storage: ", password_storage); // $argon2i$v=19$m=32768,t=4,p=1$tfIofMr8IvXqKOwQt9iqcg$QGqBmFMcxeGptuTbq698i7KOC6oO8jw7VuVaPUWXeMQ assert(crypto_pwhash_str_verify(password_storage, password)); }
D
module android.java.java.sql.ParameterMetaData; public import android.java.java.sql.ParameterMetaData_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!ParameterMetaData; import import0 = android.java.java.lang.Class;
D
/* * Public domain * sys/mman.h compatibility shim */ module libressl.compat.sys.mman; public import core.sys.darwin.sys.mman; public import core.sys.dragonflybsd.sys.mman; public import core.sys.freebsd.sys.mman; public import core.sys.linux.sys.mman; public import core.sys.netbsd.sys.mman; public import core.sys.openbsd.sys.mman; public import core.sys.posix.sys.mman; //#if !defined(MAP_ANON) //#if defined(MAP_ANONYMOUS) //alias MAP_ANON = MAP_ANONYMOUS; //#else //static assert(false, "System does not support mapping anonymous pages?"); //#endif //#endif
D
improper or excessive use apply to a wrong thing or person change the inherent purpose or function of something
D
/Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SubscriptionDisposable.o : /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Deprecated.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Cancelable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObserverType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Reactive.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/RecursiveLock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Errors.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/AtomicInt.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Event.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/First.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/Platform.Linux.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/Target\ Support\ Files/RxAtomic/RxAtomic-umbrella.h /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxAtomic/RxAtomic/include/RxAtomic.h /Users/mli/Desktop/Develope/VLogVideo/Pods/Headers/Public/RxAtomic/RxAtomic.modulemap /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxAtomic.build/module.modulemap /Users/mli/Desktop/Develope/VLogVideo/Pods/Headers/Public/RxSwift/RxSwift.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SubscriptionDisposable~partial.swiftmodule : /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Deprecated.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Cancelable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObserverType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Reactive.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/RecursiveLock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Errors.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/AtomicInt.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Event.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/First.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/Platform.Linux.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/Target\ Support\ Files/RxAtomic/RxAtomic-umbrella.h /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxAtomic/RxAtomic/include/RxAtomic.h /Users/mli/Desktop/Develope/VLogVideo/Pods/Headers/Public/RxAtomic/RxAtomic.modulemap /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxAtomic.build/module.modulemap /Users/mli/Desktop/Develope/VLogVideo/Pods/Headers/Public/RxSwift/RxSwift.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SubscriptionDisposable~partial.swiftdoc : /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Deprecated.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Cancelable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObserverType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Reactive.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/RecursiveLock.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Errors.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/AtomicInt.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Event.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/First.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Rx.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/Platform/Platform.Linux.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/Target\ Support\ Files/RxAtomic/RxAtomic-umbrella.h /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxAtomic/RxAtomic/include/RxAtomic.h /Users/mli/Desktop/Develope/VLogVideo/Pods/Headers/Public/RxAtomic/RxAtomic.modulemap /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxAtomic.build/module.modulemap /Users/mli/Desktop/Develope/VLogVideo/Pods/Headers/Public/RxSwift/RxSwift.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module UnrealScript.UTGame.GFxUI_InventoryButton; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.GFxUI.GFxClikWidget; import UnrealScript.GFxUI.GFxObject; extern(C++) interface GFxUI_InventoryButton : GFxClikWidget { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class UTGame.GFxUI_InventoryButton")); } private static __gshared GFxUI_InventoryButton mDefaultProperties; @property final static GFxUI_InventoryButton DefaultProperties() { mixin(MGDPC("GFxUI_InventoryButton", "GFxUI_InventoryButton UTGame.Default__GFxUI_InventoryButton")); } static struct Functions { private static __gshared { ScriptFunction mSetContent; ScriptFunction mSetIconMC; } public @property static final { ScriptFunction SetContent() { mixin(MGF("mSetContent", "Function UTGame.GFxUI_InventoryButton.SetContent")); } ScriptFunction SetIconMC() { mixin(MGF("mSetIconMC", "Function UTGame.GFxUI_InventoryButton.SetIconMC")); } } } @property final auto ref { GFxObject IconMC() { mixin(MGPC("GFxObject", 144)); } ScriptString Content() { mixin(MGPC("ScriptString", 132)); } } final: void SetContent(ScriptString newContent) { ubyte params[12]; params[] = 0; *cast(ScriptString*)params.ptr = newContent; (cast(ScriptObject)this).ProcessEvent(Functions.SetContent, params.ptr, cast(void*)0); } void SetIconMC(GFxObject iconClip) { ubyte params[4]; params[] = 0; *cast(GFxObject*)params.ptr = iconClip; (cast(ScriptObject)this).ProcessEvent(Functions.SetIconMC, params.ptr, cast(void*)0); } }
D
import std.stdio, std.conv, std.exception; class Node(T, U) { T key; U value; Node!(T, U) next; this(T k, U v) { key = k; value = v; } } struct Map(T, U) { Node!(T, U) head; // Is k a key in the Map? bool opBinaryRight(string op)(T k) if (op == "in") { auto node = head; while (node !is null) { if (node.key == k) return true; node = node.next; } return false; } // Removes the pair with key k if present, else returns false bool remove(T k) { if (k in this) { // k is in map, let's find the node if (head.next is null) { head = null; // there's only node in Map, so just change head's reference return true; } auto node = head; while (node !is null) { if (node.next.key == k) { // the next node contains the key node.next = node.next.next; return true; } node = node.next; } } return false; } // Returns the value associated with key k if present U opIndex(T k) { enforce((k in this), "Error: Cannot get value, key is not present in Map"); auto node = head; while (node !is null) { if (node.key == k) return node.value; node = node.next; } return head.value; } // Adds a key-value pair to Map. Modifies the value if key k is already present. void opIndexAssign(U val, T k) { if (k in this) { auto node1 = head; while (node1 !is null) { if (node1.key == k) { node1.value = val; } node1 = node1.next; } } else { auto node = new Node!(T, U)(k, val); node.next = head; head = node; } } // Prints out Map string toString() { if (head is null) return "Empty Map"; // Map is empty string map = "["; auto node = head; while (node.next !is null) { map ~= to!string(node.key) ~ " : " ~ to!string(node.value) ~ ", "; node = node.next; } map ~= to!string(node.key) ~ " : " ~ to!string(node.value) ~ "]"; return map; } }
D
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/HTTP.build/FoundationClient/Client+Foundation.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Async/Response+Async.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Method/Method.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Messages/Message.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/ResponseRepresentable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/BodyRepresentable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Messages/Message+CustomStringConvertible.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Middleware/Middleware.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/Response.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Middleware/Middleware+Chaining.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Method/Method+String.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/Response+Chunk.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/Body+Chunk.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/ChunkStream.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Version/Version.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/URI+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Response+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Client+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Request+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Responder/Responder.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Responder/AsyncResponder.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/AsyncServerWorker.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/CHTTPParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ResponseParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/RequestParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/Server.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/TCPServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/TLSServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/BasicServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/AsyncServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/Serializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/ResponseSerializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/RequestSerializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ParserError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/ServerError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/SerializerError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/Body+Bytes.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Headers/Headers.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ParseResults.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Status/Status.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/Response+Redirect.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Client/HTTP+Client.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Client/Client.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Request/Request.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/ThreadsafeArray.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/Body.swift /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/URI.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/TLS.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/libc.swiftmodule /usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Core.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Debugging.swiftmodule /usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Random.swiftmodule /usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Sockets.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Bits.swiftmodule /usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Transport.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/CHTTP/include/http_parser.h /usr/lib/swift/linux/x86_64/glibc.modulemap /home/albertfega/Desktop/LaSalleChat/.build/checkouts/ctls.git--2818177660473049491/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CHTTP.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CSQLite.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/HTTP.build/Client+Foundation~partial.swiftmodule : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Async/Response+Async.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Method/Method.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Messages/Message.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/ResponseRepresentable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/BodyRepresentable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Messages/Message+CustomStringConvertible.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Middleware/Middleware.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/Response.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Middleware/Middleware+Chaining.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Method/Method+String.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/Response+Chunk.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/Body+Chunk.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/ChunkStream.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Version/Version.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/URI+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Response+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Client+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Request+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Responder/Responder.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Responder/AsyncResponder.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/AsyncServerWorker.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/CHTTPParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ResponseParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/RequestParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/Server.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/TCPServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/TLSServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/BasicServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/AsyncServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/Serializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/ResponseSerializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/RequestSerializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ParserError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/ServerError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/SerializerError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/Body+Bytes.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Headers/Headers.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ParseResults.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Status/Status.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/Response+Redirect.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Client/HTTP+Client.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Client/Client.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Request/Request.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/ThreadsafeArray.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/Body.swift /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/URI.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/TLS.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/libc.swiftmodule /usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Core.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Debugging.swiftmodule /usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Random.swiftmodule /usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Sockets.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Bits.swiftmodule /usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Transport.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/CHTTP/include/http_parser.h /usr/lib/swift/linux/x86_64/glibc.modulemap /home/albertfega/Desktop/LaSalleChat/.build/checkouts/ctls.git--2818177660473049491/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CHTTP.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CSQLite.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/HTTP.build/Client+Foundation~partial.swiftdoc : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Async/Response+Async.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Method/Method.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Messages/Message.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/ResponseRepresentable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/BodyRepresentable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Messages/Message+CustomStringConvertible.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Middleware/Middleware.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/Response.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Middleware/Middleware+Chaining.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Method/Method+String.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/Response+Chunk.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/Body+Chunk.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Chunk/ChunkStream.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Version/Version.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/URI+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Response+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Client+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/FoundationClient/Request+Foundation.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Responder/Responder.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Responder/AsyncResponder.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/AsyncServerWorker.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/CHTTPParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ResponseParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/RequestParser.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/Server.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/TCPServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/TLSServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/BasicServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/AsyncServer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/Serializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/ResponseSerializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/RequestSerializer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ParserError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/ServerError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Serializer/SerializerError.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/Body+Bytes.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Headers/Headers.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Parser/ParseResults.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Status/Status.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Response/Response+Redirect.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Client/HTTP+Client.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Client/Client.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Request/Request.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Server/ThreadsafeArray.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Body/Body.swift /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/URI.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/TLS.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/libc.swiftmodule /usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Core.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Debugging.swiftmodule /usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Random.swiftmodule /usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Sockets.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Bits.swiftmodule /usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Transport.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/CHTTP/include/http_parser.h /usr/lib/swift/linux/x86_64/glibc.modulemap /home/albertfega/Desktop/LaSalleChat/.build/checkouts/ctls.git--2818177660473049491/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CHTTP.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CSQLite.build/module.modulemap
D
/** * Copyright: Copyright (c) 2010-2011 Jacob Carlborg. All rights reserved. * Authors: Jacob Carlborg * Version: Initial created: Aug 15, 2010 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) */ module dvm.dvm.dvm; import dvm.dvm.Application; int main (string[] args) { return Application.instance.run(args); }
D
func void b_spreadandmemorize(var int newsid,var int source) { b_assessandmemorize(newsid,source,self,other,victim); };
D
module android.java.android.os.UserManager_UserOperationException_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import1 = android.java.java.io.PrintStream_d_interface; import import4 = android.java.java.lang.Class_d_interface; import import3 = android.java.java.lang.StackTraceElement_d_interface; import import2 = android.java.java.io.PrintWriter_d_interface; import import0 = android.java.java.lang.JavaThrowable_d_interface; @JavaName("UserManager$UserOperationException") final class UserManager_UserOperationException : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import int getUserOperationResult(); @Import string getMessage(); @Import string getLocalizedMessage(); @Import import0.JavaThrowable getCause(); @Import import0.JavaThrowable initCause(import0.JavaThrowable); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void printStackTrace(); @Import void printStackTrace(import1.PrintStream); @Import void printStackTrace(import2.PrintWriter); @Import import0.JavaThrowable fillInStackTrace(); @Import import3.StackTraceElement[] getStackTrace(); @Import void setStackTrace(import3.StackTraceElement[]); @Import void addSuppressed(import0.JavaThrowable); @Import import0.JavaThrowable[] getSuppressed(); @Import import4.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/os/UserManager$UserOperationException;"; }
D
instance VLK_6036_BUERGERIN(Npc_Default) { name[0] = NAME_Buergerin; guild = GIL_VLK; id = 6036; voice = 17; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,1); aivar[AIV_MM_RestStart] = TRUE; level = 1; fight_tactic = FAI_HUMAN_COWARD; B_CreateAmbientInv(self); EquipItem(self,ItMw_1h_Vlk_Dagger); B_SetNpcVisual(self,FEMALE,"Hum_Head_Babe0",FaceBabe_N_OldBrown,BodyTex_N,ITAR_VlkBabe_L); Mdl_ApplyOverlayMds(self,"Humans_Babe.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,30); daily_routine = rtn_start_6036; }; func void rtn_start_6036() { TA_Study_WP(8,0,20,0,"OCR_CROWD_09"); TA_Sit_Bench(20,0,8,0,"NW_CITY_MERCHANT_CONCERTPUB_09"); };
D
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/release/wbuild/node-template-runtime/target/wasm32-unknown-unknown/release/deps/ref_cast-cb670f9e8dcd98cf.rmeta: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/lib.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/layout.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/trivial.rs /Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/release/wbuild/node-template-runtime/target/wasm32-unknown-unknown/release/deps/libref_cast-cb670f9e8dcd98cf.rlib: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/lib.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/layout.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/trivial.rs /Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/release/wbuild/node-template-runtime/target/wasm32-unknown-unknown/release/deps/ref_cast-cb670f9e8dcd98cf.d: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/lib.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/layout.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/trivial.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/lib.rs: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/layout.rs: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.6/src/trivial.rs:
D
module rando.app; import std.conv; import std.file; import std.getopt; import std.meta; import std.random; import std.stdio : writeln; import std.traits; import rando.common; import rando.names; import rando.palette; import libgamestruct; void main(string[] args) { Options options; auto helpInformation = getopt( args, "colourstyle|c", "Colour randomization mode: shiftHue, randomHue, shiftSaturation, randomSaturation, shiftValue, randomValue, absurd, extreme", &options.colourRandomizationStyle, "seed|s", "A seed value between 0 and 4294967295", ((string o, string s) { options.seed = s.to!uint; }) ); if (helpInformation.helpWanted || (args.length < 2)) { defaultGetoptPrinter("Usage: rando <path to game>.", helpInformation.options); } if (args.length > 1) { ubyte[] data = cast(ubyte[])read(args[1]); const seed = options.seed.get(unpredictableSeed); static foreach (Game; AliasSeq!(MMBN1, MMBN2, MMBN3, MMBN4, MMBN5, MMBN6, Earthbound, PokemonGUSA, PokemonSUSA)) { randomizeGame!Game(data, seed, options); } } } void randomizeGame(Game)(ubyte[] data, const uint seed, const Options options) { if (data.length < GameWrapper!Game.minimumSize) { debug(verbose) writeln("Data too small for "~Game.stringof); return; } auto game = GameWrapper!Game(data); if (!game.verify()) { debug(verbose) writeln("Data failed verification for "~Game.stringof); return; } writeln("Loaded game: ", game.name); auto rand = Random(seed); auto nextSeed = rand.uniform!uint; writeln("Random seed: ", seed); writeln("Randomizing data..."); randomize(*game.game, nextSeed, options); auto filename = game.name~"."~seed.text~"."~Game.extension; writeln("Writing "~filename~"..."); write(filename, game.raw); }
D
/** License: Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Authors: Alexandru Ermicioi **/ module aermicioi.aedi_property_reader.sdlang.inspector; import aermicioi.aedi.configurer.annotation.annotation; import aermicioi.aedi_property_reader.convertor.exception : NotFoundException; import aermicioi.aedi_property_reader.convertor.inspector; import aermicioi.aedi_property_reader.sdlang.accessor; import sdlang; import sdlang.ast; import std.algorithm; /** Inspector for sdlang tags. **/ @component class SdlangTagInspector : Inspector!Tag { /** Identify the type of child field of component. Params: component = a composite component (class, struct, assoc array etc.) containing some fields Returns: Type of field, or typeid(void) if field is not present in component **/ TypeInfo typeOf(Tag component, in string property) const nothrow { try { auto fields = component.tags.filter!(c => c.name == property); if (!fields.empty) { return typeid(Tag); } auto attributes = component.attributes.filter!(a => a.name == property); if (!attributes.empty) { return typeid(Attribute); } } catch (Exception e) { } return typeid(void); } /** Identify the type of component itself. Identify the type of component itself. It will inspect the component and will return accurate type info that the component represents. Params: component = component which should be identified. Returns: Type info of component, or typeid(void) if component cannot be identified by inspector **/ TypeInfo typeOf(Tag component) const nothrow { return typeid(component); } /** Check if component has a field or a property. Params: component = component with fields property = component property that is tested for existence Returns: true if field is present either in readonly, or writeonly form (has getters and setters). **/ bool has(Tag component, in string property) const nothrow { try { auto fields = component.tags.filter!(c => c.name == property); if (!fields.empty) { return true; } auto attributes = component.attributes.filter!(a => a.name == property); if (!attributes.empty) { return true; } } catch (Exception e) { } return false; } /** Return a list of properties that component holds. Params: component = the component with fields Returns: an arary of property identities. **/ string[] properties(Tag component) const nothrow { try { import std.range : only, chain; import std.array : array; return chain(component.tags.map!(c => c.name), component.attributes.map!(c => c.name)).array; } catch (Exception e) { } return []; } }
D
// SDLang-D // Written in the D programming language. module sdlang.ast; import std.algorithm; import std.array; import std.conv; import std.range; import std.string; import sdlang.exception; import sdlang.token; import sdlang.util; /** * Implements an attribute, that can be attached to an SDL tag. * Can store any value native to the SDL format. */ class Attribute { Value value; ///The value of this attribute Location location; ///Location of the attribute within the file private Tag _parent; /// Get parent tag. To set a parent, attach this Attribute to its intended /// parent tag by calling `Tag.add(...)`, or by passing it to /// the parent tag's constructor. @property Tag parent() { return _parent; } private string _namespace; /++ This tag's namespace. Empty string if no namespace. Note that setting this value is O(n) because internal lookup structures need to be updated. Note also, that setting this may change where this tag is ordered among its parent's list of tags. +/ @property string namespace() @nogc @safe pure nothrow { return _namespace; } ///ditto @property void namespace(string value) @safe { if(_parent && _namespace != value) { // Remove auto saveParent = _parent; if(_parent) this.remove(); // Change namespace _namespace = value; // Re-add if(saveParent) saveParent.add(this); } else _namespace = value; } private string _name; /++ This attribute's name, not including namespace. Use `getFullName().toString` if you want the namespace included. Note that setting this value is O(n) because internal lookup structures need to be updated. Note also, that setting this may change where this attribute is ordered among its parent's list of tags. +/ @property string name() @nogc @safe pure nothrow { return _name; } ///ditto @property void name(string value) @safe //pure { //NOTE: Function cannot be marked as pure due to countUntil is not marked as such if(_parent && _name != value) { _parent.updateId++; void removeFromGroupedLookup(string ns) @trusted //pure { // Remove from _parent._attributes[ns] auto sameNameAttrs = _parent._attributes[ns][_name]; auto targetIndex = sameNameAttrs.countUntil(this); _parent._attributes[ns][_name].removeIndex(targetIndex); } // Remove from _parent._tags removeFromGroupedLookup(_namespace); removeFromGroupedLookup("*"); // Change name _name = value; // Add to new locations in _parent._attributes _parent._attributes[_namespace][_name] ~= this; _parent._attributes["*"][_name] ~= this; } else _name = value; } /// This tag's name, including namespace if one exists. deprecated("Use 'getFullName().toString()'") @property string fullName() { return getFullName().toString(); } /// This tag's name, including namespace if one exists. FullName getFullName() @nogc @safe pure nothrow { return FullName(_namespace, _name); } /** * Constructs an attribute with the supplied values. */ this(string namespace, string name, Value value, Location location = Location(0, 0, 0)) @nogc @safe pure nothrow { this._namespace = namespace; this._name = name; this.location = location; this.value = value; } ///Ditto this(string name, Value value, Location location = Location(0, 0, 0)) @nogc @safe pure nothrow { //this._namespace = ""; //_namespace sould be "" by default this._name = name; this.location = location; this.value = value; } /// Copy this Attribute. /// The clone does $(B $(I not)) have a parent, even if the original does. Attribute clone() @safe pure nothrow { return new Attribute(_namespace, _name, value, location); } /// Removes `this` from its parent, if any. Returns `this` for chaining. /// Inefficient ATM, but it works. Attribute remove() @trusted { //NOTE: Function cannot be marked as safe and/or pure due to countUntil is not marked as such if(!_parent) return this; void removeFromGroupedLookup(string ns) @trusted { // Remove from _parent._attributes[ns] auto sameNameAttrs = _parent._attributes[ns][_name]; auto targetIndex = sameNameAttrs.countUntil(this); _parent._attributes[ns][_name].removeIndex(targetIndex); } // Remove from _parent._attributes removeFromGroupedLookup(_namespace); removeFromGroupedLookup("*"); // Remove from _parent.allAttributes auto allAttrsIndex = _parent.allAttributes.countUntil(this); _parent.allAttributes.removeIndex(allAttrsIndex); // Remove from _parent.attributeIndicies auto sameNamespaceAttrs = _parent.attributeIndicies[_namespace]; auto attrIndiciesIndex = sameNamespaceAttrs.countUntil(allAttrsIndex); _parent.attributeIndicies[_namespace].removeIndex(attrIndiciesIndex); // Fixup other indicies foreach(ns, ref nsAttrIndicies; _parent.attributeIndicies) foreach(k, ref v; nsAttrIndicies) if(v > allAttrsIndex) v--; _parent.removeNamespaceIfEmpty(_namespace); _parent.updateId++; _parent = null; return this; } override bool opEquals(Object o) @trusted { bool _opEquals() @system{ auto a = cast(Attribute)o; if(!a) return false; return _namespace == a._namespace && _name == a._name && value == a.value; } return _opEquals(); } string toSDLString()() @safe pure { Appender!string sink; this.toSDLString(sink); return sink.data; } void toSDLString(Sink)(ref Sink sink) @safe if(isOutputRange!(Sink,char)) { if(_namespace != "") { sink.put(_namespace); sink.put(':'); } sink.put(_name); sink.put('='); value.toSDLString(sink); } } /// Deep-copy an array of Tag or Attribute. /// The top-level clones are $(B $(I not)) attached to any parent, even if the originals are. T[] clone(T)(T[] arr) @safe pure if(is(T==Tag) || is(T==Attribute)) { T[] newArr; newArr.length = arr.length; foreach(i; 0..arr.length) newArr[i] = arr[i].clone(); return newArr; } /** * Implements the standard SDL tag. * Contains further tags, values, and Attributes within itself. */ class Tag { /// File/Line/Column/Index information for where this tag was located in /// its original SDLang file. Location location; /// Access all this tag's values, as an array of type `sdlang.token.Value`. Value[] values; private Tag _parent; /// Get parent tag. To set a parent, attach this Tag to its intended /// parent tag by calling `Tag.add(...)`, or by passing it to /// the parent tag's constructor. @property Tag parent() @nogc @safe pure nothrow { return _parent; } private string _namespace; /++ This tag's namespace. Empty string if no namespace. Note that setting this value is O(n) because internal lookup structures need to be updated. Note also, that setting this may change where this tag is ordered among its parent's list of tags. +/ @property string namespace() @nogc @safe pure nothrow { return _namespace; } ///ditto @property void namespace(string value) @safe { //TODO: Can we do this in-place, without removing/adding and thus // modyfying the internal order? if(_parent && _namespace != value) { // Remove auto saveParent = _parent; if(_parent) this.remove(); // Change namespace _namespace = value; // Re-add if(saveParent) saveParent.add(this); } else _namespace = value; } private string _name; /++ This tag's name, not including namespace. Use `getFullName().toString` if you want the namespace included. Note that setting this value is O(n) because internal lookup structures need to be updated. Note also, that setting this may change where this tag is ordered among its parent's list of tags. +/ @property string name() @nogc @safe pure nothrow { return _name; } ///ditto @property void name(string value) @safe { //TODO: Seriously? Can't we at least do the "*" modification *in-place*? if(_parent && _name != value) { _parent.updateId++; // Not the most efficient, but it works. void removeFromGroupedLookup(string ns) @trusted { // Remove from _parent._tags[ns] auto sameNameTags = _parent._tags[ns][_name]; auto targetIndex = sameNameTags.countUntil(this); _parent._tags[ns][_name].removeIndex(targetIndex); } // Remove from _parent._tags removeFromGroupedLookup(_namespace); removeFromGroupedLookup("*"); // Change name _name = value; // Add to new locations in _parent._tags //TODO: Can we re-insert while preserving the original order? _parent._tags[_namespace][_name] ~= this; _parent._tags["*"][_name] ~= this; } else _name = value; } /// This tag's name, including namespace if one exists. deprecated("Use 'getFullName().toString()'") @property string fullName() @safe pure { return getFullName().toString(); } /// This tag's name, including namespace if one exists. FullName getFullName() @nogc @safe pure nothrow { return FullName(_namespace, _name); } // Tracks dirtiness. This is incremented every time a change is made which // could invalidate existing ranges. This way, the ranges can detect when // they've been invalidated. private size_t updateId=0; this(Tag parent = null) @safe pure { if(parent) parent.add(this); } this( string namespace, string name, Value[] values=null, Attribute[] attributes=null, Tag[] children=null ) @safe pure { this(null, namespace, name, values, attributes, children); } this( Tag parent, string namespace, string name, Value[] values=null, Attribute[] attributes=null, Tag[] children=null ) @safe pure { this._namespace = namespace; this._name = name; if(parent) parent.add(this); this.values = values; this.add(attributes); this.add(children); } /// Deep-copy this Tag. /// The clone does $(B $(I not)) have a parent, even if the original does. Tag clone() @safe pure { auto newTag = new Tag(_namespace, _name, values.dup, allAttributes.clone(), allTags.clone()); newTag.location = location; return newTag; } private Attribute[] allAttributes; // In same order as specified in SDL file. private Tag[] allTags; // In same order as specified in SDL file. private string[] allNamespaces; // In same order as specified in SDL file. private size_t[][string] attributeIndicies; // allAttributes[ attributes[namespace][i] ] private size_t[][string] tagIndicies; // allTags[ tags[namespace][i] ] private Attribute[][string][string] _attributes; // attributes[namespace or "*"][name][i] private Tag[][string][string] _tags; // tags[namespace or "*"][name][i] /// Adds a Value, Attribute, Tag (or array of such) as a member/child of this Tag. /// Returns `this` for chaining. /// Throws `ValidationException` if trying to add an Attribute or Tag /// that already has a parent. Tag add(Value val) @safe pure { values ~= val; updateId++; return this; } ///ditto Tag add(Value[] vals) @safe pure { foreach(val; vals) add(val); return this; } ///ditto Tag add(Attribute attr) @safe pure { if(attr._parent) { throw new ValidationException( "Attribute is already attached to a parent tag. "~ "Use Attribute.remove() before adding it to another tag." ); } if(!allNamespaces.canFind(attr._namespace)) allNamespaces ~= attr._namespace; attr._parent = this; allAttributes ~= attr; attributeIndicies[attr._namespace] ~= allAttributes.length-1; _attributes[attr._namespace][attr._name] ~= attr; _attributes["*"] [attr._name] ~= attr; updateId++; return this; } ///ditto Tag add(Attribute[] attrs) @safe pure { foreach(attr; attrs) add(attr); return this; } ///ditto Tag add(Tag tag) @safe pure { if(tag._parent) { throw new ValidationException( "Tag is already attached to a parent tag. "~ "Use Tag.remove() before adding it to another tag." ); } if(!allNamespaces.canFind(tag._namespace)) allNamespaces ~= tag._namespace; tag._parent = this; allTags ~= tag; tagIndicies[tag._namespace] ~= allTags.length-1; _tags[tag._namespace][tag._name] ~= tag; _tags["*"] [tag._name] ~= tag; updateId++; return this; } ///ditto Tag add(Tag[] tags) @safe pure { foreach(tag; tags) add(tag); return this; } /// Removes `this` from its parent, if any. Returns `this` for chaining. /// Inefficient ATM, but it works. Tag remove() @trusted { if(!_parent) return this; void removeFromGroupedLookup(string ns) @system { // Remove from _parent._tags[ns] auto sameNameTags = _parent._tags[ns][_name]; auto targetIndex = sameNameTags.countUntil(this); _parent._tags[ns][_name].removeIndex(targetIndex); } // Remove from _parent._tags removeFromGroupedLookup(_namespace); removeFromGroupedLookup("*"); // Remove from _parent.allTags auto allTagsIndex = _parent.allTags.countUntil(this); _parent.allTags.removeIndex(allTagsIndex); // Remove from _parent.tagIndicies auto sameNamespaceTags = _parent.tagIndicies[_namespace]; auto tagIndiciesIndex = sameNamespaceTags.countUntil(allTagsIndex); _parent.tagIndicies[_namespace].removeIndex(tagIndiciesIndex); // Fixup other indicies foreach(ns, ref nsTagIndicies; _parent.tagIndicies) foreach(k, ref v; nsTagIndicies) if(v > allTagsIndex) v--; _parent.removeNamespaceIfEmpty(_namespace); _parent.updateId++; _parent = null; return this; } private void removeNamespaceIfEmpty(string namespace) @safe pure { // If namespace has no attributes, remove it from attributeIndicies/_attributes if(namespace in attributeIndicies && attributeIndicies[namespace].length == 0) { attributeIndicies.remove(namespace); _attributes.remove(namespace); } // If namespace has no tags, remove it from tagIndicies/_tags if(namespace in tagIndicies && tagIndicies[namespace].length == 0) { tagIndicies.remove(namespace); _tags.remove(namespace); } // If namespace is now empty, remove it from allNamespaces if( namespace !in tagIndicies && namespace !in attributeIndicies ) { auto allNamespacesIndex = allNamespaces.length - allNamespaces.find(namespace).length; allNamespaces = allNamespaces[0..allNamespacesIndex] ~ allNamespaces[allNamespacesIndex+1..$]; } } struct NamedMemberRange(T, string membersGrouped) { private Tag tag; private string namespace; // "*" indicates "all namespaces" (ok since it's not a valid namespace name) private string name; private size_t updateId; // Tag's updateId when this range was created. this(Tag tag, string namespace, string name, size_t updateId) @safe pure { this.tag = tag; this.namespace = namespace; this.name = name; this.updateId = updateId; frontIndex = 0; if( tag !is null && namespace in mixin("tag."~membersGrouped) && name in mixin("tag."~membersGrouped~"[namespace]") ) endIndex = mixin("tag."~membersGrouped~"[namespace][name].length"); else endIndex = 0; } invariant() { assert( this.updateId == tag.updateId, "This range has been invalidated by a change to the tag." ); } @property bool empty() @nogc @safe pure nothrow { return tag is null || frontIndex == endIndex; } private size_t frontIndex; @property T front() @safe pure { return this[0]; } void popFront() @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); frontIndex++; } private size_t endIndex; // One past the last element @property T back() @safe pure { return this[$-1]; } void popBack() @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); endIndex--; } alias length opDollar; @property size_t length() @nogc @safe pure nothrow { return endIndex - frontIndex; } @property typeof(this) save() @safe pure { auto r = typeof(this)(this.tag, this.namespace, this.name, this.updateId); r.frontIndex = this.frontIndex; r.endIndex = this.endIndex; return r; } typeof(this) opSlice() @safe pure { return save(); } typeof(this) opSlice(size_t start, size_t end) @safe pure { auto r = save(); r.frontIndex = this.frontIndex + start; r.endIndex = this.frontIndex + end; if( r.frontIndex > this.endIndex || r.endIndex > this.endIndex || r.frontIndex > r.endIndex ) throw new DOMRangeException(tag, "Slice out of range"); return r; } T opIndex(size_t index) @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); return mixin("tag."~membersGrouped~"[namespace][name][frontIndex+index]"); } } struct MemberRange(T, string allMembers, string memberIndicies, string membersGrouped) { private Tag tag; private string namespace; // "*" indicates "all namespaces" (ok since it's not a valid namespace name) private bool isMaybe; private size_t updateId; // Tag's updateId when this range was created. private size_t initialEndIndex; this(Tag tag, string namespace, bool isMaybe) @safe pure { this.tag = tag; this.namespace = namespace; this.isMaybe = isMaybe; frontIndex = 0; if(tag is null) endIndex = 0; else { this.updateId = tag.updateId; if(namespace == "*") initialEndIndex = mixin("tag."~allMembers~".length"); else if(namespace in mixin("tag."~memberIndicies)) initialEndIndex = mixin("tag."~memberIndicies~"[namespace].length"); else initialEndIndex = 0; endIndex = initialEndIndex; } } invariant() { assert( this.updateId == tag.updateId, "This range has been invalidated by a change to the tag." ); } @property bool empty() @safe pure nothrow { return tag is null || frontIndex == endIndex; } private size_t frontIndex; @property T front() @safe pure { return this[0]; } void popFront() @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); frontIndex++; } private size_t endIndex; // One past the last element @property T back() @safe pure { return this[$-1]; } void popBack() @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); endIndex--; } alias length opDollar; @property size_t length() @nogc @safe pure nothrow { return endIndex - frontIndex; } @property typeof(this) save() @safe pure { auto r = typeof(this)(this.tag, this.namespace, this.isMaybe); r.frontIndex = this.frontIndex; r.endIndex = this.endIndex; r.initialEndIndex = this.initialEndIndex; r.updateId = this.updateId; return r; } typeof(this) opSlice() @safe pure { return save(); } typeof(this) opSlice(size_t start, size_t end) @safe pure { auto r = save(); r.frontIndex = this.frontIndex + start; r.endIndex = this.frontIndex + end; if( r.frontIndex > this.endIndex || r.endIndex > this.endIndex || r.frontIndex > r.endIndex ) throw new DOMRangeException(tag, "Slice out of range"); return r; } T opIndex(size_t index) @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); if(namespace == "*") return mixin("tag."~allMembers~"[ frontIndex+index ]"); else return mixin("tag."~allMembers~"[ tag."~memberIndicies~"[namespace][frontIndex+index] ]"); } alias NamedMemberRange!(T,membersGrouped) ThisNamedMemberRange; ThisNamedMemberRange opIndex(string name) @safe pure { if(frontIndex != 0 || endIndex != initialEndIndex) { throw new DOMRangeException(tag, "Cannot lookup tags/attributes by name on a subset of a range, "~ "only across the entire tag. "~ "Please make sure you haven't called popFront or popBack on this "~ "range and that you aren't using a slice of the range." ); } if(!isMaybe && empty) throw new DOMRangeException(tag, "Range is empty"); if(!isMaybe && name !in this) throw new DOMRangeException(tag, `No such `~T.stringof~` named: "`~name~`"`); return ThisNamedMemberRange(tag, namespace, name, updateId); } bool opBinaryRight(string op)(string name) @safe pure if(op=="in") { if(frontIndex != 0 || endIndex != initialEndIndex) { throw new DOMRangeException(tag, "Cannot lookup tags/attributes by name on a subset of a range, "~ "only across the entire tag. "~ "Please make sure you haven't called popFront or popBack on this "~ "range and that you aren't using a slice of the range." ); } if(tag is null) return false; return namespace in mixin("tag."~membersGrouped) && name in mixin("tag."~membersGrouped~"[namespace]") && mixin("tag."~membersGrouped~"[namespace][name].length") > 0; } } struct NamespaceRange { private Tag tag; private bool isMaybe; private size_t updateId; // Tag's updateId when this range was created. this(Tag tag, bool isMaybe) @nogc @safe pure nothrow { this.tag = tag; this.isMaybe = isMaybe; if(tag !is null) this.updateId = tag.updateId; frontIndex = 0; endIndex = tag.allNamespaces.length; } invariant() { assert( this.updateId == tag.updateId, "This range has been invalidated by a change to the tag." ); } @property bool empty() @safe pure nothrow { return frontIndex == endIndex; } private size_t frontIndex; @property NamespaceAccess front() @safe pure { return this[0]; } void popFront() @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); frontIndex++; } private size_t endIndex; // One past the last element @property NamespaceAccess back() @safe pure { return this[$-1]; } void popBack() @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); endIndex--; } alias length opDollar; @property size_t length() @nogc @safe pure nothrow { return endIndex - frontIndex; } @property NamespaceRange save() @safe pure { auto r = NamespaceRange(this.tag, this.isMaybe); r.frontIndex = this.frontIndex; r.endIndex = this.endIndex; r.updateId = this.updateId; return r; } typeof(this) opSlice() @safe pure { return save(); } typeof(this) opSlice(size_t start, size_t end) @safe pure { auto r = save(); r.frontIndex = this.frontIndex + start; r.endIndex = this.frontIndex + end; if( r.frontIndex > this.endIndex || r.endIndex > this.endIndex || r.frontIndex > r.endIndex ) throw new DOMRangeException(tag, "Slice out of range"); return r; } NamespaceAccess opIndex(size_t index) @safe pure { if(empty) throw new DOMRangeException(tag, "Range is empty"); auto namespace = tag.allNamespaces[frontIndex+index]; return NamespaceAccess( namespace, AttributeRange(tag, namespace, isMaybe), TagRange(tag, namespace, isMaybe) ); } NamespaceAccess opIndex(string namespace) @safe pure { if(!isMaybe && empty) throw new DOMRangeException(tag, "Range is empty"); if(!isMaybe && namespace !in this) throw new DOMRangeException(tag, `No such namespace: "`~namespace~`"`); return NamespaceAccess( namespace, AttributeRange(tag, namespace, isMaybe), TagRange(tag, namespace, isMaybe) ); } /// Inefficient when range is a slice or has used popFront/popBack, but it works. bool opBinaryRight(string op)(string namespace) @safe pure if(op=="in") { if(frontIndex == 0 && endIndex == tag.allNamespaces.length) { return namespace in tag.attributeIndicies || namespace in tag.tagIndicies; } else // Slower fallback method return tag.allNamespaces[frontIndex..endIndex].canFind(namespace); } } static struct NamespaceAccess { string name; AttributeRange attributes; TagRange tags; } alias MemberRange!(Attribute, "allAttributes", "attributeIndicies", "_attributes") AttributeRange; alias MemberRange!(Tag, "allTags", "tagIndicies", "_tags" ) TagRange; static assert(isRandomAccessRange!AttributeRange); static assert(isRandomAccessRange!TagRange); static assert(isRandomAccessRange!NamespaceRange); /++ Access all attributes that don't have a namespace Returns a random access range of `Attribute` objects that supports numeric-indexing, string-indexing, slicing and length. Since SDLang allows multiple attributes with the same name, string-indexing returns a random access range of all attributes with the given name. The string-indexing does $(B $(I not)) support namespace prefixes. Use `namespace[string]`.`attributes` or `all`.`attributes` for that. See $(LINK2 https://github.com/Abscissa/SDLang-D/blob/master/HOWTO.md#tag-and-attribute-api-summary, API Overview) for a high-level overview (and examples) of how to use this. +/ @property AttributeRange attributes() @safe pure nothrow { return AttributeRange(this, "", false); } /++ Access all direct-child tags that don't have a namespace. Returns a random access range of `Tag` objects that supports numeric-indexing, string-indexing, slicing and length. Since SDLang allows multiple tags with the same name, string-indexing returns a random access range of all immediate child tags with the given name. The string-indexing does $(B $(I not)) support namespace prefixes. Use `namespace[string]`.`attributes` or `all`.`attributes` for that. See $(LINK2 https://github.com/Abscissa/SDLang-D/blob/master/HOWTO.md#tag-and-attribute-api-summary, API Overview) for a high-level overview (and examples) of how to use this. +/ @property TagRange tags() @safe pure nothrow { return TagRange(this, "", false); } /++ Access all namespaces in this tag, and the attributes/tags within them. Returns a random access range of `NamespaceAccess` elements that supports numeric-indexing, string-indexing, slicing and length. See $(LINK2 https://github.com/Abscissa/SDLang-D/blob/master/HOWTO.md#tag-and-attribute-api-summary, API Overview) for a high-level overview (and examples) of how to use this. +/ @property NamespaceRange namespaces() @safe pure nothrow { return NamespaceRange(this, false); } /// Access all attributes and tags regardless of namespace. /// /// See $(LINK2 https://github.com/Abscissa/SDLang-D/blob/master/HOWTO.md#tag-and-attribute-api-summary, API Overview) /// for a better understanding (and examples) of how to use this. @property NamespaceAccess all() @safe pure nothrow { // "*" isn't a valid namespace name, so we can use it to indicate "all namespaces" return NamespaceAccess( "*", AttributeRange(this, "*", false), TagRange(this, "*", false) ); } struct MaybeAccess { Tag tag; /// Access all attributes that don't have a namespace @property AttributeRange attributes() @safe pure nothrow { return AttributeRange(tag, "", true); } /// Access all direct-child tags that don't have a namespace @property TagRange tags() @safe pure nothrow { return TagRange(tag, "", true); } /// Access all namespaces in this tag, and the attributes/tags within them. @property NamespaceRange namespaces() @safe pure nothrow { return NamespaceRange(tag, true); } /// Access all attributes and tags regardless of namespace. @property NamespaceAccess all() @safe pure nothrow { // "*" isn't a valid namespace name, so we can use it to indicate "all namespaces" return NamespaceAccess( "*", AttributeRange(tag, "*", true), TagRange(tag, "*", true) ); } } /// Access `attributes`, `tags`, `namespaces` and `all` like normal, /// except that looking up a non-existant name/namespace with /// opIndex(string) results in an empty array instead of /// a thrown `sdlang.exception.DOMRangeException`. /// /// See $(LINK2 https://github.com/Abscissa/SDLang-D/blob/master/HOWTO.md#tag-and-attribute-api-summary, API Overview) /// for a more information (and examples) of how to use this. @property MaybeAccess maybe() @safe pure nothrow { return MaybeAccess(this); } // Internal implementations for the get/expect functions further below: private Tag getTagImpl(FullName tagFullName, Tag defaultValue=null, bool useDefaultValue=true) @trusted { auto tagNS = tagFullName.namespace; auto tagName = tagFullName.name; // Can find namespace? if(tagNS !in _tags) { if(useDefaultValue) return defaultValue; else throw new TagNotFoundException(this, tagFullName, "No tags found in namespace '"~namespace~"'"); } // Can find tag in namespace? if(tagName !in _tags[tagNS] || _tags[tagNS][tagName].length == 0) { if(useDefaultValue) return defaultValue; else throw new TagNotFoundException(this, tagFullName, "Can't find tag '"~tagFullName.toString()~"'"); } // Return last matching tag found return _tags[tagNS][tagName][$-1]; } private T getValueImpl(T)(T defaultValue, bool useDefaultValue=true) @trusted if(isValueType!T) { // Find value foreach(value; this.values) { if(value.type == typeid(T)) return value.get!T(); } // No value of type T found if(useDefaultValue) return defaultValue; else { throw new ValueNotFoundException( this, FullName(this.namespace, this.name), typeid(T), "No value of type "~T.stringof~" found." ); } } private T getAttributeImpl(T)(FullName attrFullName, T defaultValue, bool useDefaultValue=true) @trusted if(isValueType!T) { auto attrNS = attrFullName.namespace; auto attrName = attrFullName.name; // Can find namespace and attribute name? if(attrNS !in this._attributes || attrName !in this._attributes[attrNS]) { if(useDefaultValue) return defaultValue; else { throw new AttributeNotFoundException( this, this.getFullName(), attrFullName, typeid(T), "Can't find attribute '"~FullName.combine(attrNS, attrName)~"'" ); } } // Find value with chosen type foreach(attr; this._attributes[attrNS][attrName]) { if(attr.value.type == typeid(T)) return attr.value.get!T(); } // Chosen type not found if(useDefaultValue) return defaultValue; else { throw new AttributeNotFoundException( this, this.getFullName(), attrFullName, typeid(T), "Can't find attribute '"~FullName.combine(attrNS, attrName)~"' of type "~T.stringof ); } } // High-level interfaces for get/expect funtions: /++ Lookup a child tag by name. Returns null if not found. Useful if you only expect one, and only one, child tag of a given name. Only looks for immediate child tags of `this`, doesn't search recursively. If you expect multiple tags by the same name and want to get them all, use `maybe`.`tags[string]` instead. The name can optionally include a namespace, as in `"namespace:name"`. Or, you can search all namespaces using `"*:name"`. Use an empty string to search for anonymous tags, or `"namespace:"` for anonymous tags inside a namespace. Wildcard searching is only supported for namespaces, not names. Use `maybe`.`tags[0]` if you don't care about the name. If there are multiple tags by the chosen name, the $(B $(I last tag)) will always be chosen. That is, this function considers later tags with the same name to override previous ones. If the tag cannot be found, and you provides a default value, the default value is returned. Otherwise null is returned. If you'd prefer an exception thrown, use `expectTag` instead. +/ Tag getTag(string fullTagName, Tag defaultValue=null) @safe { auto parsedName = FullName.parse(fullTagName); parsedName.ensureNoWildcardName( "Instead, use 'Tag.maybe.tags[0]', 'Tag.maybe.all.tags[0]' or 'Tag.maybe.namespace[ns].tags[0]'." ); return getTagImpl(parsedName, defaultValue); } /// @("Tag.getTag") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo 1 foo 2 // getTag considers this to override the first foo ns1:foo 3 ns1:foo 4 // getTag considers this to override the first ns1:foo ns2:foo 33 ns2:foo 44 // getTag considers this to override the first ns2:foo `); assert( root.getTag("foo" ).values[0].get!int() == 2 ); assert( root.getTag("ns1:foo").values[0].get!int() == 4 ); assert( root.getTag("*:foo" ).values[0].get!int() == 44 ); // Search all namespaces // Not found // If you'd prefer an exception, use `expectTag` instead. assert( root.getTag("doesnt-exist") is null ); // Default value auto foo = root.getTag("foo"); assert( root.getTag("doesnt-exist", foo) is foo ); } /++ Lookup a child tag by name. Throws if not found. Useful if you only expect one, and only one, child tag of a given name. Only looks for immediate child tags of `this`, doesn't search recursively. If you expect multiple tags by the same name and want to get them all, use `tags[string]` instead. The name can optionally include a namespace, as in `"namespace:name"`. Or, you can search all namespaces using `"*:name"`. Use an empty string to search for anonymous tags, or `"namespace:"` for anonymous tags inside a namespace. Wildcard searching is only supported for namespaces, not names. Use `tags[0]` if you don't care about the name. If there are multiple tags by the chosen name, the $(B $(I last tag)) will always be chosen. That is, this function considers later tags with the same name to override previous ones. If no such tag is found, an `sdlang.exception.TagNotFoundException` will be thrown. If you'd rather receive a default value, use `getTag` instead. +/ Tag expectTag(string fullTagName) @safe { auto parsedName = FullName.parse(fullTagName); parsedName.ensureNoWildcardName( "Instead, use 'Tag.tags[0]', 'Tag.all.tags[0]' or 'Tag.namespace[ns].tags[0]'." ); return getTagImpl(parsedName, null, false); } /// @("Tag.expectTag") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo 1 foo 2 // expectTag considers this to override the first foo ns1:foo 3 ns1:foo 4 // expectTag considers this to override the first ns1:foo ns2:foo 33 ns2:foo 44 // expectTag considers this to override the first ns2:foo `); assert( root.expectTag("foo" ).values[0].get!int() == 2 ); assert( root.expectTag("ns1:foo").values[0].get!int() == 4 ); assert( root.expectTag("*:foo" ).values[0].get!int() == 44 ); // Search all namespaces // Not found // If you'd rather receive a default value than an exception, use `getTag` instead. assertThrown!TagNotFoundException( root.expectTag("doesnt-exist") ); } /++ Retrieve a value of type T from `this` tag. Returns a default value if not found. Useful if you only expect one value of type T from this tag. Only looks for values of `this` tag, it does not search child tags. If you wish to search for a value in a child tag (for example, if this current tag is a root tag), try `getTagValue`. If you want to get more than one value from this tag, use `values` instead. If this tag has multiple values, the $(B $(I first)) value matching the requested type will be returned. Ie, Extra values in the tag are ignored. You may provide a default value to be returned in case no value of the requested type can be found. If you don't provide a default value, `T.init` will be used. If you'd rather an exception be thrown when a value cannot be found, use `expectValue` instead. +/ T getValue(T)(T defaultValue = T.init) @safe if(isValueType!T) { return getValueImpl!T(defaultValue, true); } /// @("Tag.getValue") unittest { import std.exception; import std.math; import sdlang.parser; auto root = parseSource(` foo 1 true 2 false `); auto foo = root.getTag("foo"); assert( foo.getValue!int() == 1 ); assert( foo.getValue!bool() == true ); // Value found, default value ignored. assert( foo.getValue!int(999) == 1 ); // No strings found // If you'd prefer an exception, use `expectValue` instead. assert( foo.getValue!string("Default") == "Default" ); assert( foo.getValue!string() is null ); // No floats found assert( foo.getValue!float(99.9).approxEqual(99.9) ); assert( foo.getValue!float().isNaN() ); } /++ Retrieve a value of type T from `this` tag. Throws if not found. Useful if you only expect one value of type T from this tag. Only looks for values of `this` tag, it does not search child tags. If you wish to search for a value in a child tag (for example, if this current tag is a root tag), try `expectTagValue`. If you want to get more than one value from this tag, use `values` instead. If this tag has multiple values, the $(B $(I first)) value matching the requested type will be returned. Ie, Extra values in the tag are ignored. An `sdlang.exception.ValueNotFoundException` will be thrown if no value of the requested type can be found. If you'd rather receive a default value, use `getValue` instead. +/ T expectValue(T)() @safe if(isValueType!T) { return getValueImpl!T(T.init, false); } /// @("Tag.expectValue") unittest { import std.exception; import std.math; import sdlang.parser; auto root = parseSource(` foo 1 true 2 false `); auto foo = root.getTag("foo"); assert( foo.expectValue!int() == 1 ); assert( foo.expectValue!bool() == true ); // No strings or floats found // If you'd rather receive a default value than an exception, use `getValue` instead. assertThrown!ValueNotFoundException( foo.expectValue!string() ); assertThrown!ValueNotFoundException( foo.expectValue!float() ); } /++ Lookup a child tag by name, and retrieve a value of type T from it. Returns a default value if not found. Useful if you only expect one value of type T from a given tag. Only looks for immediate child tags of `this`, doesn't search recursively. This is a shortcut for `getTag().getValue()`, except if the tag isn't found, then instead of a null reference error, it will return the requested `defaultValue` (or T.init by default). +/ T getTagValue(T)(string fullTagName, T defaultValue = T.init) @safe if(isValueType!T) { auto tag = getTag(fullTagName); if(!tag) return defaultValue; return tag.getValue!T(defaultValue); } /// @("Tag.getTagValue") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo 1 "a" 2 "b" foo 3 "c" 4 "d" // getTagValue considers this to override the first foo bar "hi" bar 379 // getTagValue considers this to override the first bar `); assert( root.getTagValue!int("foo") == 3 ); assert( root.getTagValue!string("foo") == "c" ); // Value found, default value ignored. assert( root.getTagValue!int("foo", 999) == 3 ); // Tag not found // If you'd prefer an exception, use `expectTagValue` instead. assert( root.getTagValue!int("doesnt-exist", 999) == 999 ); assert( root.getTagValue!int("doesnt-exist") == 0 ); // The last "bar" tag doesn't have an int (only the first "bar" tag does) assert( root.getTagValue!string("bar", "Default") == "Default" ); assert( root.getTagValue!string("bar") is null ); // Using namespaces: root = parseSource(` ns1:foo 1 "a" 2 "b" ns1:foo 3 "c" 4 "d" ns2:foo 11 "aa" 22 "bb" ns2:foo 33 "cc" 44 "dd" ns1:bar "hi" ns1:bar 379 // getTagValue considers this to override the first bar `); assert( root.getTagValue!int("ns1:foo") == 3 ); assert( root.getTagValue!int("*:foo" ) == 33 ); // Search all namespaces assert( root.getTagValue!string("ns1:foo") == "c" ); assert( root.getTagValue!string("*:foo" ) == "cc" ); // Search all namespaces // The last "bar" tag doesn't have a string (only the first "bar" tag does) assert( root.getTagValue!string("*:bar", "Default") == "Default" ); assert( root.getTagValue!string("*:bar") is null ); } /++ Lookup a child tag by name, and retrieve a value of type T from it. Throws if not found, Useful if you only expect one value of type T from a given tag. Only looks for immediate child tags of `this`, doesn't search recursively. This is a shortcut for `expectTag().expectValue()`. +/ T expectTagValue(T)(string fullTagName) @safe if(isValueType!T) { return expectTag(fullTagName).expectValue!T(); } /// @("Tag.expectTagValue") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo 1 "a" 2 "b" foo 3 "c" 4 "d" // expectTagValue considers this to override the first foo bar "hi" bar 379 // expectTagValue considers this to override the first bar `); assert( root.expectTagValue!int("foo") == 3 ); assert( root.expectTagValue!string("foo") == "c" ); // The last "bar" tag doesn't have a string (only the first "bar" tag does) // If you'd rather receive a default value than an exception, use `getTagValue` instead. assertThrown!ValueNotFoundException( root.expectTagValue!string("bar") ); // Tag not found assertThrown!TagNotFoundException( root.expectTagValue!int("doesnt-exist") ); // Using namespaces: root = parseSource(` ns1:foo 1 "a" 2 "b" ns1:foo 3 "c" 4 "d" ns2:foo 11 "aa" 22 "bb" ns2:foo 33 "cc" 44 "dd" ns1:bar "hi" ns1:bar 379 // expectTagValue considers this to override the first bar `); assert( root.expectTagValue!int("ns1:foo") == 3 ); assert( root.expectTagValue!int("*:foo" ) == 33 ); // Search all namespaces assert( root.expectTagValue!string("ns1:foo") == "c" ); assert( root.expectTagValue!string("*:foo" ) == "cc" ); // Search all namespaces // The last "bar" tag doesn't have a string (only the first "bar" tag does) assertThrown!ValueNotFoundException( root.expectTagValue!string("*:bar") ); // Namespace not found assertThrown!TagNotFoundException( root.expectTagValue!int("doesnt-exist:bar") ); } /++ Lookup an attribute of `this` tag by name, and retrieve a value of type T from it. Returns a default value if not found. Useful if you only expect one attribute of the given name and type. Only looks for attributes of `this` tag, it does not search child tags. If you wish to search for a value in a child tag (for example, if this current tag is a root tag), try `getTagAttribute`. If you expect multiple attributes by the same name and want to get them all, use `maybe`.`attributes[string]` instead. The attribute name can optionally include a namespace, as in `"namespace:name"`. Or, you can search all namespaces using `"*:name"`. (Note that unlike tags. attributes can't be anonymous - that's what values are.) Wildcard searching is only supported for namespaces, not names. Use `maybe`.`attributes[0]` if you don't care about the name. If this tag has multiple attributes, the $(B $(I first)) attribute matching the requested name and type will be returned. Ie, Extra attributes in the tag are ignored. You may provide a default value to be returned in case no attribute of the requested name and type can be found. If you don't provide a default value, `T.init` will be used. If you'd rather an exception be thrown when an attribute cannot be found, use `expectAttribute` instead. +/ T getAttribute(T)(string fullAttributeName, T defaultValue = T.init) @safe if(isValueType!T) { auto parsedName = FullName.parse(fullAttributeName); parsedName.ensureNoWildcardName( "Instead, use 'Attribute.maybe.tags[0]', 'Attribute.maybe.all.tags[0]' or 'Attribute.maybe.namespace[ns].tags[0]'." ); return getAttributeImpl!T(parsedName, defaultValue); } /// @("Tag.getAttribute") unittest { import std.exception; import std.math; import sdlang.parser; auto root = parseSource(` foo z=0 X=1 X=true X=2 X=false `); auto foo = root.getTag("foo"); assert( foo.getAttribute!int("X") == 1 ); assert( foo.getAttribute!bool("X") == true ); // Value found, default value ignored. assert( foo.getAttribute!int("X", 999) == 1 ); // Attribute name not found // If you'd prefer an exception, use `expectValue` instead. assert( foo.getAttribute!int("doesnt-exist", 999) == 999 ); assert( foo.getAttribute!int("doesnt-exist") == 0 ); // No strings found assert( foo.getAttribute!string("X", "Default") == "Default" ); assert( foo.getAttribute!string("X") is null ); // No floats found assert( foo.getAttribute!float("X", 99.9).approxEqual(99.9) ); assert( foo.getAttribute!float("X").isNaN() ); // Using namespaces: root = parseSource(` foo ns1:z=0 ns1:X=1 ns1:X=2 ns2:X=3 ns2:X=4 `); foo = root.getTag("foo"); assert( foo.getAttribute!int("ns2:X") == 3 ); assert( foo.getAttribute!int("*:X") == 1 ); // Search all namespaces // Namespace not found assert( foo.getAttribute!int("doesnt-exist:X", 999) == 999 ); // No attribute X is in the default namespace assert( foo.getAttribute!int("X", 999) == 999 ); // Attribute name not found assert( foo.getAttribute!int("ns1:doesnt-exist", 999) == 999 ); } /++ Lookup an attribute of `this` tag by name, and retrieve a value of type T from it. Throws if not found. Useful if you only expect one attribute of the given name and type. Only looks for attributes of `this` tag, it does not search child tags. If you wish to search for a value in a child tag (for example, if this current tag is a root tag), try `expectTagAttribute`. If you expect multiple attributes by the same name and want to get them all, use `attributes[string]` instead. The attribute name can optionally include a namespace, as in `"namespace:name"`. Or, you can search all namespaces using `"*:name"`. (Note that unlike tags. attributes can't be anonymous - that's what values are.) Wildcard searching is only supported for namespaces, not names. Use `attributes[0]` if you don't care about the name. If this tag has multiple attributes, the $(B $(I first)) attribute matching the requested name and type will be returned. Ie, Extra attributes in the tag are ignored. An `sdlang.exception.AttributeNotFoundException` will be thrown if no value of the requested type can be found. If you'd rather receive a default value, use `getAttribute` instead. +/ T expectAttribute(T)(string fullAttributeName) @safe if(isValueType!T) { auto parsedName = FullName.parse(fullAttributeName); parsedName.ensureNoWildcardName( "Instead, use 'Attribute.tags[0]', 'Attribute.all.tags[0]' or 'Attribute.namespace[ns].tags[0]'." ); return getAttributeImpl!T(parsedName, T.init, false); } /// @("Tag.expectAttribute") unittest { import std.exception; import std.math; import sdlang.parser; auto root = parseSource(` foo z=0 X=1 X=true X=2 X=false `); auto foo = root.getTag("foo"); assert( foo.expectAttribute!int("X") == 1 ); assert( foo.expectAttribute!bool("X") == true ); // Attribute name not found // If you'd rather receive a default value than an exception, use `getAttribute` instead. assertThrown!AttributeNotFoundException( foo.expectAttribute!int("doesnt-exist") ); // No strings found assertThrown!AttributeNotFoundException( foo.expectAttribute!string("X") ); // No floats found assertThrown!AttributeNotFoundException( foo.expectAttribute!float("X") ); // Using namespaces: root = parseSource(` foo ns1:z=0 ns1:X=1 ns1:X=2 ns2:X=3 ns2:X=4 `); foo = root.getTag("foo"); assert( foo.expectAttribute!int("ns2:X") == 3 ); assert( foo.expectAttribute!int("*:X") == 1 ); // Search all namespaces // Namespace not found assertThrown!AttributeNotFoundException( foo.expectAttribute!int("doesnt-exist:X") ); // No attribute X is in the default namespace assertThrown!AttributeNotFoundException( foo.expectAttribute!int("X") ); // Attribute name not found assertThrown!AttributeNotFoundException( foo.expectAttribute!int("ns1:doesnt-exist") ); } /++ Lookup a child tag and attribute by name, and retrieve a value of type T from it. Returns a default value if not found. Useful if you only expect one attribute of type T from given the tag and attribute names. Only looks for immediate child tags of `this`, doesn't search recursively. This is a shortcut for `getTag().getAttribute()`, except if the tag isn't found, then instead of a null reference error, it will return the requested `defaultValue` (or T.init by default). +/ T getTagAttribute(T)(string fullTagName, string fullAttributeName, T defaultValue = T.init) @safe if(isValueType!T) { auto tag = getTag(fullTagName); if(!tag) return defaultValue; return tag.getAttribute!T(fullAttributeName, defaultValue); } /// @("Tag.getTagAttribute") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo X=1 X="a" X=2 X="b" foo X=3 X="c" X=4 X="d" // getTagAttribute considers this to override the first foo bar X="hi" bar X=379 // getTagAttribute considers this to override the first bar `); assert( root.getTagAttribute!int("foo", "X") == 3 ); assert( root.getTagAttribute!string("foo", "X") == "c" ); // Value found, default value ignored. assert( root.getTagAttribute!int("foo", "X", 999) == 3 ); // Tag not found // If you'd prefer an exception, use `expectTagAttribute` instead of `getTagAttribute` assert( root.getTagAttribute!int("doesnt-exist", "X", 999) == 999 ); assert( root.getTagAttribute!int("doesnt-exist", "X") == 0 ); assert( root.getTagAttribute!int("foo", "doesnt-exist", 999) == 999 ); assert( root.getTagAttribute!int("foo", "doesnt-exist") == 0 ); // The last "bar" tag doesn't have a string (only the first "bar" tag does) assert( root.getTagAttribute!string("bar", "X", "Default") == "Default" ); assert( root.getTagAttribute!string("bar", "X") is null ); // Using namespaces: root = parseSource(` ns1:foo X=1 X="a" X=2 X="b" ns1:foo X=3 X="c" X=4 X="d" ns2:foo X=11 X="aa" X=22 X="bb" ns2:foo X=33 X="cc" X=44 X="dd" ns1:bar attrNS:X="hi" ns1:bar attrNS:X=379 // getTagAttribute considers this to override the first bar `); assert( root.getTagAttribute!int("ns1:foo", "X") == 3 ); assert( root.getTagAttribute!int("*:foo", "X") == 33 ); // Search all namespaces assert( root.getTagAttribute!string("ns1:foo", "X") == "c" ); assert( root.getTagAttribute!string("*:foo", "X") == "cc" ); // Search all namespaces // bar's attribute X is't in the default namespace assert( root.getTagAttribute!int("*:bar", "X", 999) == 999 ); assert( root.getTagAttribute!int("*:bar", "X") == 0 ); // The last "bar" tag's "attrNS:X" attribute doesn't have a string (only the first "bar" tag does) assert( root.getTagAttribute!string("*:bar", "attrNS:X", "Default") == "Default" ); assert( root.getTagAttribute!string("*:bar", "attrNS:X") is null); } /++ Lookup a child tag and attribute by name, and retrieve a value of type T from it. Throws if not found. Useful if you only expect one attribute of type T from given the tag and attribute names. Only looks for immediate child tags of `this`, doesn't search recursively. This is a shortcut for `expectTag().expectAttribute()`. +/ T expectTagAttribute(T)(string fullTagName, string fullAttributeName) @safe if(isValueType!T) { return expectTag(fullTagName).expectAttribute!T(fullAttributeName); } /// @("Tag.expectTagAttribute") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo X=1 X="a" X=2 X="b" foo X=3 X="c" X=4 X="d" // expectTagAttribute considers this to override the first foo bar X="hi" bar X=379 // expectTagAttribute considers this to override the first bar `); assert( root.expectTagAttribute!int("foo", "X") == 3 ); assert( root.expectTagAttribute!string("foo", "X") == "c" ); // The last "bar" tag doesn't have an int attribute named "X" (only the first "bar" tag does) // If you'd rather receive a default value than an exception, use `getAttribute` instead. assertThrown!AttributeNotFoundException( root.expectTagAttribute!string("bar", "X") ); // Tag not found assertThrown!TagNotFoundException( root.expectTagAttribute!int("doesnt-exist", "X") ); // Using namespaces: root = parseSource(` ns1:foo X=1 X="a" X=2 X="b" ns1:foo X=3 X="c" X=4 X="d" ns2:foo X=11 X="aa" X=22 X="bb" ns2:foo X=33 X="cc" X=44 X="dd" ns1:bar attrNS:X="hi" ns1:bar attrNS:X=379 // expectTagAttribute considers this to override the first bar `); assert( root.expectTagAttribute!int("ns1:foo", "X") == 3 ); assert( root.expectTagAttribute!int("*:foo", "X") == 33 ); // Search all namespaces assert( root.expectTagAttribute!string("ns1:foo", "X") == "c" ); assert( root.expectTagAttribute!string("*:foo", "X") == "cc" ); // Search all namespaces // bar's attribute X is't in the default namespace assertThrown!AttributeNotFoundException( root.expectTagAttribute!int("*:bar", "X") ); // The last "bar" tag's "attrNS:X" attribute doesn't have a string (only the first "bar" tag does) assertThrown!AttributeNotFoundException( root.expectTagAttribute!string("*:bar", "attrNS:X") ); // Tag's namespace not found assertThrown!TagNotFoundException( root.expectTagAttribute!int("doesnt-exist:bar", "attrNS:X") ); } /++ Lookup a child tag by name, and retrieve all values from it. This just like using `getTag()`.`values`, except if the tag isn't found, it safely returns null (or an optional array of default values) instead of a dereferencing null error. Note that, unlike `getValue`, this doesn't discriminate by the value's type. It simply returns all values of a single tag as a `Value[]`. If you'd prefer an exception thrown when the tag isn't found, use `expectTag`.`values` instead. +/ Value[] getTagValues(string fullTagName, Value[] defaultValues = null) @safe { auto tag = getTag(fullTagName); if(tag) return tag.values; else return defaultValues; } /// @("getTagValues") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo 1 "a" 2 "b" foo 3 "c" 4 "d" // getTagValues considers this to override the first foo `); assert( root.getTagValues("foo") == [Value(3), Value("c"), Value(4), Value("d")] ); // Tag not found // If you'd prefer an exception, use `expectTag.values` instead. assert( root.getTagValues("doesnt-exist") is null ); assert( root.getTagValues("doesnt-exist", [ Value(999), Value("Not found") ]) == [ Value(999), Value("Not found") ] ); } /++ Lookup a child tag by name, and retrieve all attributes in a chosen (or default) namespace from it. This just like using `getTag()`.`attributes` (or `getTag()`.`namespace[...]`.`attributes`, or `getTag()`.`all`.`attributes`), except if the tag isn't found, it safely returns an empty range instead of a dereferencing null error. If provided, the `attributeNamespace` parameter can be either the name of a namespace, or an empty string for the default namespace (the default), or `"*"` to retreive attributes from all namespaces. Note that, unlike `getAttributes`, this doesn't discriminate by the value's type. It simply returns the usual `attributes` range. If you'd prefer an exception thrown when the tag isn't found, use `expectTag`.`attributes` instead. +/ auto getTagAttributes(string fullTagName, string attributeNamespace = null) @safe { auto tag = getTag(fullTagName); if(tag) { if(attributeNamespace && attributeNamespace in tag.namespaces) return tag.namespaces[attributeNamespace].attributes; else if(attributeNamespace == "*") return tag.all.attributes; else return tag.attributes; } return AttributeRange(null, null, false); } /// @("getTagAttributes") unittest { import std.exception; import sdlang.parser; auto root = parseSource(` foo X=1 X=2 // getTagAttributes considers this to override the first foo foo X1=3 X2="c" namespace:bar=7 X3=4 X4="d" `); auto fooAttrs = root.getTagAttributes("foo"); assert( !fooAttrs.empty ); assert( fooAttrs.length == 4 ); assert( fooAttrs[0].name == "X1" && fooAttrs[0].value == Value(3) ); assert( fooAttrs[1].name == "X2" && fooAttrs[1].value == Value("c") ); assert( fooAttrs[2].name == "X3" && fooAttrs[2].value == Value(4) ); assert( fooAttrs[3].name == "X4" && fooAttrs[3].value == Value("d") ); fooAttrs = root.getTagAttributes("foo", "namespace"); assert( !fooAttrs.empty ); assert( fooAttrs.length == 1 ); assert( fooAttrs[0].name == "bar" && fooAttrs[0].value == Value(7) ); fooAttrs = root.getTagAttributes("foo", "*"); assert( !fooAttrs.empty ); assert( fooAttrs.length == 5 ); assert( fooAttrs[0].name == "X1" && fooAttrs[0].value == Value(3) ); assert( fooAttrs[1].name == "X2" && fooAttrs[1].value == Value("c") ); assert( fooAttrs[2].name == "bar" && fooAttrs[2].value == Value(7) ); assert( fooAttrs[3].name == "X3" && fooAttrs[3].value == Value(4) ); assert( fooAttrs[4].name == "X4" && fooAttrs[4].value == Value("d") ); // Tag not found // If you'd prefer an exception, use `expectTag.attributes` instead. assert( root.getTagValues("doesnt-exist").empty ); } @("*: Disallow wildcards for names") unittest { import std.exception; import std.math; import sdlang.parser; auto root = parseSource(` foo 1 X=2 ns:foo 3 ns:X=4 `); auto foo = root.getTag("foo"); auto nsfoo = root.getTag("ns:foo"); // Sanity check assert( foo !is null ); assert( foo.name == "foo" ); assert( foo.namespace == "" ); assert( nsfoo !is null ); assert( nsfoo.name == "foo" ); assert( nsfoo.namespace == "ns" ); assert( foo.getValue !int() == 1 ); assert( foo.expectValue !int() == 1 ); assert( nsfoo.getValue !int() == 3 ); assert( nsfoo.expectValue!int() == 3 ); assert( root.getTagValue !int("foo") == 1 ); assert( root.expectTagValue!int("foo") == 1 ); assert( root.getTagValue !int("ns:foo") == 3 ); assert( root.expectTagValue!int("ns:foo") == 3 ); assert( foo.getAttribute !int("X") == 2 ); assert( foo.expectAttribute !int("X") == 2 ); assert( nsfoo.getAttribute !int("ns:X") == 4 ); assert( nsfoo.expectAttribute!int("ns:X") == 4 ); assert( root.getTagAttribute !int("foo", "X") == 2 ); assert( root.expectTagAttribute!int("foo", "X") == 2 ); assert( root.getTagAttribute !int("ns:foo", "ns:X") == 4 ); assert( root.expectTagAttribute!int("ns:foo", "ns:X") == 4 ); // No namespace assertThrown!ArgumentException( root.getTag ("*") ); assertThrown!ArgumentException( root.expectTag("*") ); assertThrown!ArgumentException( root.getTagValue !int("*") ); assertThrown!ArgumentException( root.expectTagValue!int("*") ); assertThrown!ArgumentException( foo.getAttribute !int("*") ); assertThrown!ArgumentException( foo.expectAttribute !int("*") ); assertThrown!ArgumentException( root.getTagAttribute !int("*", "X") ); assertThrown!ArgumentException( root.expectTagAttribute!int("*", "X") ); assertThrown!ArgumentException( root.getTagAttribute !int("foo", "*") ); assertThrown!ArgumentException( root.expectTagAttribute!int("foo", "*") ); // With namespace assertThrown!ArgumentException( root.getTag ("ns:*") ); assertThrown!ArgumentException( root.expectTag("ns:*") ); assertThrown!ArgumentException( root.getTagValue !int("ns:*") ); assertThrown!ArgumentException( root.expectTagValue!int("ns:*") ); assertThrown!ArgumentException( nsfoo.getAttribute !int("ns:*") ); assertThrown!ArgumentException( nsfoo.expectAttribute !int("ns:*") ); assertThrown!ArgumentException( root.getTagAttribute !int("ns:*", "ns:X") ); assertThrown!ArgumentException( root.expectTagAttribute!int("ns:*", "ns:X") ); assertThrown!ArgumentException( root.getTagAttribute !int("ns:foo", "ns:*") ); assertThrown!ArgumentException( root.expectTagAttribute!int("ns:foo", "ns:*") ); // With wildcard namespace assertThrown!ArgumentException( root.getTag ("*:*") ); assertThrown!ArgumentException( root.expectTag("*:*") ); assertThrown!ArgumentException( root.getTagValue !int("*:*") ); assertThrown!ArgumentException( root.expectTagValue!int("*:*") ); assertThrown!ArgumentException( nsfoo.getAttribute !int("*:*") ); assertThrown!ArgumentException( nsfoo.expectAttribute !int("*:*") ); assertThrown!ArgumentException( root.getTagAttribute !int("*:*", "*:X") ); assertThrown!ArgumentException( root.expectTagAttribute!int("*:*", "*:X") ); assertThrown!ArgumentException( root.getTagAttribute !int("*:foo", "*:*") ); assertThrown!ArgumentException( root.expectTagAttribute!int("*:foo", "*:*") ); } override bool opEquals(Object o) @trusted { auto t = cast(Tag)o; if(!t) return false; if(_namespace != t._namespace || _name != t._name) return false; if( values .length != t.values .length || allAttributes .length != t.allAttributes.length || allNamespaces .length != t.allNamespaces.length || allTags .length != t.allTags .length ) return false; if(values != t.values) return false; if(allNamespaces != t.allNamespaces) return false; if(allAttributes != t.allAttributes) return false; // Ok because cycles are not allowed //TODO: Actually check for or prevent cycles. return allTags == t.allTags; } /// Treats `this` as the root tag. Note that root tags cannot have /// values or attributes, and cannot be part of a namespace. /// If this isn't a valid root tag, `sdlang.exception.ValidationException` /// will be thrown. string toSDLDocument()(string indent="\t", int indentLevel=0) @trusted { Appender!string sink; toSDLDocument(sink, indent, indentLevel); return sink.data; } ///ditto void toSDLDocument(Sink)(ref Sink sink, string indent="\t", int indentLevel=0) @trusted if(isOutputRange!(Sink,char)) { if(values.length > 0) throw new ValidationException("Root tags cannot have any values, only child tags."); if(allAttributes.length > 0) throw new ValidationException("Root tags cannot have any attributes, only child tags."); if(_namespace != "") throw new ValidationException("Root tags cannot have a namespace."); foreach(tag; allTags) tag.toSDLString(sink, indent, indentLevel); } /// Output this entire tag in SDL format. Does $(B $(I not)) treat `this` as /// a root tag. If you intend this to be the root of a standard SDL /// document, use `toSDLDocument` instead. string toSDLString()(string indent="\t", int indentLevel=0) @safe { Appender!string sink; toSDLString(sink, indent, indentLevel); return sink.data; } ///ditto void toSDLString(Sink)(ref Sink sink, string indent="\t", int indentLevel=0) @safe if(isOutputRange!(Sink,char)) { if(_name == "" && values.length == 0) throw new ValidationException("Anonymous tags must have at least one value."); if(_name == "" && _namespace != "") throw new ValidationException("Anonymous tags cannot have a namespace."); // Indent foreach(i; 0..indentLevel) sink.put(indent); // Name if(_namespace != "") { sink.put(_namespace); sink.put(':'); } sink.put(_name); // Values foreach(i, v; values) { // Omit the first space for anonymous tags if(_name != "" || i > 0) sink.put(' '); v.toSDLString(sink); } // Attributes foreach(attr; allAttributes) { sink.put(' '); attr.toSDLString(sink); } // Child tags bool foundChild=false; foreach(tag; allTags) { if(!foundChild) { sink.put(" {\n"); foundChild = true; } tag.toSDLString(sink, indent, indentLevel+1); } if(foundChild) { foreach(i; 0..indentLevel) sink.put(indent); sink.put("}\n"); } else sink.put("\n"); } /// Outputs full information on the tag. string toDebugString() { import std.algorithm : sort; Appender!string buf; buf.put("\n"); buf.put("Tag "); if(_namespace != "") { buf.put("["); buf.put(_namespace); buf.put("]"); } buf.put("'%s':\n".format(_name)); // Values foreach(val; values) buf.put(" (%s): %s\n".format(.toString(val.type), val)); // Attributes foreach(attrNamespace; _attributes.keys.sort()) if(attrNamespace != "*") foreach(attrName; _attributes[attrNamespace].keys.sort()) foreach(attr; _attributes[attrNamespace][attrName]) { string namespaceStr; if(attr._namespace != "") namespaceStr = "["~attr._namespace~"]"; buf.put( " %s%s(%s): %s\n".format( namespaceStr, attr._name, .toString(attr.value.type), attr.value ) ); } // Children foreach(tagNamespace; _tags.keys.sort()) if(tagNamespace != "*") foreach(tagName; _tags[tagNamespace].keys.sort()) foreach(tag; _tags[tagNamespace][tagName]) buf.put( tag.toDebugString().replace("\n", "\n ") ); return buf.data; } } version(unittest) { private void testRandomAccessRange(R, E)(R range, E[] expected, bool function(E, E) equals=null) { static assert(isRandomAccessRange!R); static assert(is(ElementType!R == E)); static assert(hasLength!R); static assert(!isInfinite!R); assert(range.length == expected.length); if(range.length == 0) { assert(range.empty); return; } static bool defaultEquals(E e1, E e2) { return e1 == e2; } if(equals is null) equals = &defaultEquals; assert(equals(range.front, expected[0])); assert(equals(range.front, expected[0])); // Ensure consistent result from '.front' assert(equals(range.front, expected[0])); // Ensure consistent result from '.front' assert(equals(range.back, expected[$-1])); assert(equals(range.back, expected[$-1])); // Ensure consistent result from '.back' assert(equals(range.back, expected[$-1])); // Ensure consistent result from '.back' // Forward iteration auto original = range.save; auto r2 = range.save; foreach(i; 0..expected.length) { //trace("Forward iteration: ", i); // Test length/empty assert(range.length == expected.length - i); assert(range.length == r2.length); assert(!range.empty); assert(!r2.empty); // Test front assert(equals(range.front, expected[i])); assert(equals(range.front, r2.front)); // Test back assert(equals(range.back, expected[$-1])); assert(equals(range.back, r2.back)); // Test opIndex(0) assert(equals(range[0], expected[i])); assert(equals(range[0], r2[0])); // Test opIndex($-1) assert(equals(range[$-1], expected[$-1])); assert(equals(range[$-1], r2[$-1])); // Test popFront range.popFront(); assert(range.length == r2.length - 1); r2.popFront(); assert(range.length == r2.length); } assert(range.empty); assert(r2.empty); assert(original.length == expected.length); // Backwards iteration range = original.save; r2 = original.save; foreach(i; iota(0, expected.length).retro()) { //trace("Backwards iteration: ", i); // Test length/empty assert(range.length == i+1); assert(range.length == r2.length); assert(!range.empty); assert(!r2.empty); // Test front assert(equals(range.front, expected[0])); assert(equals(range.front, r2.front)); // Test back assert(equals(range.back, expected[i])); assert(equals(range.back, r2.back)); // Test opIndex(0) assert(equals(range[0], expected[0])); assert(equals(range[0], r2[0])); // Test opIndex($-1) assert(equals(range[$-1], expected[i])); assert(equals(range[$-1], r2[$-1])); // Test popBack range.popBack(); assert(range.length == r2.length - 1); r2.popBack(); assert(range.length == r2.length); } assert(range.empty); assert(r2.empty); assert(original.length == expected.length); // Random access range = original.save; r2 = original.save; foreach(i; 0..expected.length) { //trace("Random access: ", i); // Test length/empty assert(range.length == expected.length); assert(range.length == r2.length); assert(!range.empty); assert(!r2.empty); // Test front assert(equals(range.front, expected[0])); assert(equals(range.front, r2.front)); // Test back assert(equals(range.back, expected[$-1])); assert(equals(range.back, r2.back)); // Test opIndex(i) assert(equals(range[i], expected[i])); assert(equals(range[i], r2[i])); } assert(!range.empty); assert(!r2.empty); assert(original.length == expected.length); } } @("*: Test sdlang ast") unittest { import std.exception; import sdlang.parser; Tag root; root = parseSource(""); testRandomAccessRange(root.attributes, cast( Attribute[])[]); testRandomAccessRange(root.tags, cast( Tag[])[]); testRandomAccessRange(root.namespaces, cast(Tag.NamespaceAccess[])[]); root = parseSource(` blue 3 "Lee" isThree=true blue 5 "Chan" 12345 isThree=false stuff:orange 1 2 3 2 1 stuff:square points=4 dimensions=2 points="Still four" stuff:triangle data:points=3 data:dimensions=2 nothing namespaces small:A=1 med:A=2 big:A=3 small:B=10 big:B=30 people visitor:a=1 b=2 { chiyo "Small" "Flies?" nemesis="Car" score=100 yukari visitor:sana tomo visitor:hayama } `); auto blue3 = new Tag( null, "", "blue", [ Value(3), Value("Lee") ], [ new Attribute("isThree", Value(true)) ], null ); auto blue5 = new Tag( null, "", "blue", [ Value(5), Value("Chan"), Value(12345) ], [ new Attribute("isThree", Value(false)) ], null ); auto orange = new Tag( null, "stuff", "orange", [ Value(1), Value(2), Value(3), Value(2), Value(1) ], null, null ); auto square = new Tag( null, "stuff", "square", null, [ new Attribute("points", Value(4)), new Attribute("dimensions", Value(2)), new Attribute("points", Value("Still four")), ], null ); auto triangle = new Tag( null, "stuff", "triangle", null, [ new Attribute("data", "points", Value(3)), new Attribute("data", "dimensions", Value(2)), ], null ); auto nothing = new Tag( null, "", "nothing", null, null, null ); auto namespaces = new Tag( null, "", "namespaces", null, [ new Attribute("small", "A", Value(1)), new Attribute("med", "A", Value(2)), new Attribute("big", "A", Value(3)), new Attribute("small", "B", Value(10)), new Attribute("big", "B", Value(30)), ], null ); auto chiyo = new Tag( null, "", "chiyo", [ Value("Small"), Value("Flies?") ], [ new Attribute("nemesis", Value("Car")), new Attribute("score", Value(100)), ], null ); auto chiyo_ = new Tag( null, "", "chiyo_", [ Value("Small"), Value("Flies?") ], [ new Attribute("nemesis", Value("Car")), new Attribute("score", Value(100)), ], null ); auto yukari = new Tag( null, "", "yukari", null, null, null ); auto sana = new Tag( null, "visitor", "sana", null, null, null ); auto sana_ = new Tag( null, "visitor", "sana_", null, null, null ); auto sanaVisitor_ = new Tag( null, "visitor_", "sana_", null, null, null ); auto tomo = new Tag( null, "", "tomo", null, null, null ); auto hayama = new Tag( null, "visitor", "hayama", null, null, null ); auto people = new Tag( null, "", "people", null, [ new Attribute("visitor", "a", Value(1)), new Attribute("b", Value(2)), ], [chiyo, yukari, sana, tomo, hayama] ); assert(blue3 .opEquals( blue3 )); assert(blue5 .opEquals( blue5 )); assert(orange .opEquals( orange )); assert(square .opEquals( square )); assert(triangle .opEquals( triangle )); assert(nothing .opEquals( nothing )); assert(namespaces .opEquals( namespaces )); assert(people .opEquals( people )); assert(chiyo .opEquals( chiyo )); assert(yukari .opEquals( yukari )); assert(sana .opEquals( sana )); assert(tomo .opEquals( tomo )); assert(hayama .opEquals( hayama )); assert(!blue3.opEquals(orange)); assert(!blue3.opEquals(people)); assert(!blue3.opEquals(sana)); assert(!blue3.opEquals(blue5)); assert(!blue5.opEquals(blue3)); alias Tag.NamespaceAccess NSA; static bool namespaceEquals(NSA n1, NSA n2) { return n1.name == n2.name; } testRandomAccessRange(root.attributes, cast(Attribute[])[]); testRandomAccessRange(root.tags, [blue3, blue5, nothing, namespaces, people]); testRandomAccessRange(root.namespaces, [NSA(""), NSA("stuff")], &namespaceEquals); testRandomAccessRange(root.namespaces[0].tags, [blue3, blue5, nothing, namespaces, people]); testRandomAccessRange(root.namespaces[1].tags, [orange, square, triangle]); assert("" in root.namespaces); assert("stuff" in root.namespaces); assert("foobar" !in root.namespaces); testRandomAccessRange(root.namespaces[ ""].tags, [blue3, blue5, nothing, namespaces, people]); testRandomAccessRange(root.namespaces["stuff"].tags, [orange, square, triangle]); testRandomAccessRange(root.all.attributes, cast(Attribute[])[]); testRandomAccessRange(root.all.tags, [blue3, blue5, orange, square, triangle, nothing, namespaces, people]); testRandomAccessRange(root.all.tags[], [blue3, blue5, orange, square, triangle, nothing, namespaces, people]); testRandomAccessRange(root.all.tags[3..6], [square, triangle, nothing]); assert("blue" in root.tags); assert("nothing" in root.tags); assert("people" in root.tags); assert("orange" !in root.tags); assert("square" !in root.tags); assert("foobar" !in root.tags); assert("blue" in root.all.tags); assert("nothing" in root.all.tags); assert("people" in root.all.tags); assert("orange" in root.all.tags); assert("square" in root.all.tags); assert("foobar" !in root.all.tags); assert("orange" in root.namespaces["stuff"].tags); assert("square" in root.namespaces["stuff"].tags); assert("square" in root.namespaces["stuff"].tags); assert("foobar" !in root.attributes); assert("foobar" !in root.all.attributes); assert("foobar" !in root.namespaces["stuff"].attributes); assert("blue" !in root.attributes); assert("blue" !in root.all.attributes); assert("blue" !in root.namespaces["stuff"].attributes); testRandomAccessRange(root.tags["nothing"], [nothing]); testRandomAccessRange(root.tags["blue"], [blue3, blue5]); testRandomAccessRange(root.namespaces["stuff"].tags["orange"], [orange]); testRandomAccessRange(root.all.tags["nothing"], [nothing]); testRandomAccessRange(root.all.tags["blue"], [blue3, blue5]); testRandomAccessRange(root.all.tags["orange"], [orange]); assertThrown!DOMRangeException(root.tags["foobar"]); assertThrown!DOMRangeException(root.all.tags["foobar"]); assertThrown!DOMRangeException(root.attributes["foobar"]); assertThrown!DOMRangeException(root.all.attributes["foobar"]); // DMD Issue #12585 causes a segfault in these two tests when using 2.064 or 2.065, // so work around it. //assertThrown!DOMRangeException(root.namespaces["foobar"].tags["foobar"]); //assertThrown!DOMRangeException(root.namespaces["foobar"].attributes["foobar"]); bool didCatch = false; try auto x = root.namespaces["foobar"].tags["foobar"]; catch(DOMRangeException e) didCatch = true; assert(didCatch); didCatch = false; try auto x = root.namespaces["foobar"].attributes["foobar"]; catch(DOMRangeException e) didCatch = true; assert(didCatch); testRandomAccessRange(root.maybe.tags["nothing"], [nothing]); testRandomAccessRange(root.maybe.tags["blue"], [blue3, blue5]); testRandomAccessRange(root.maybe.namespaces["stuff"].tags["orange"], [orange]); testRandomAccessRange(root.maybe.all.tags["nothing"], [nothing]); testRandomAccessRange(root.maybe.all.tags["blue"], [blue3, blue5]); testRandomAccessRange(root.maybe.all.tags["blue"][], [blue3, blue5]); testRandomAccessRange(root.maybe.all.tags["blue"][0..1], [blue3]); testRandomAccessRange(root.maybe.all.tags["blue"][1..2], [blue5]); testRandomAccessRange(root.maybe.all.tags["orange"], [orange]); testRandomAccessRange(root.maybe.tags["foobar"], cast(Tag[])[]); testRandomAccessRange(root.maybe.all.tags["foobar"], cast(Tag[])[]); testRandomAccessRange(root.maybe.namespaces["foobar"].tags["foobar"], cast(Tag[])[]); testRandomAccessRange(root.maybe.attributes["foobar"], cast(Attribute[])[]); testRandomAccessRange(root.maybe.all.attributes["foobar"], cast(Attribute[])[]); testRandomAccessRange(root.maybe.namespaces["foobar"].attributes["foobar"], cast(Attribute[])[]); testRandomAccessRange(blue3.attributes, [ new Attribute("isThree", Value(true)) ]); testRandomAccessRange(blue3.tags, cast(Tag[])[]); testRandomAccessRange(blue3.namespaces, [NSA("")], &namespaceEquals); testRandomAccessRange(blue3.all.attributes, [ new Attribute("isThree", Value(true)) ]); testRandomAccessRange(blue3.all.tags, cast(Tag[])[]); testRandomAccessRange(blue5.attributes, [ new Attribute("isThree", Value(false)) ]); testRandomAccessRange(blue5.tags, cast(Tag[])[]); testRandomAccessRange(blue5.namespaces, [NSA("")], &namespaceEquals); testRandomAccessRange(blue5.all.attributes, [ new Attribute("isThree", Value(false)) ]); testRandomAccessRange(blue5.all.tags, cast(Tag[])[]); testRandomAccessRange(orange.attributes, cast(Attribute[])[]); testRandomAccessRange(orange.tags, cast(Tag[])[]); testRandomAccessRange(orange.namespaces, cast(NSA[])[], &namespaceEquals); testRandomAccessRange(orange.all.attributes, cast(Attribute[])[]); testRandomAccessRange(orange.all.tags, cast(Tag[])[]); testRandomAccessRange(square.attributes, [ new Attribute("points", Value(4)), new Attribute("dimensions", Value(2)), new Attribute("points", Value("Still four")), ]); testRandomAccessRange(square.tags, cast(Tag[])[]); testRandomAccessRange(square.namespaces, [NSA("")], &namespaceEquals); testRandomAccessRange(square.all.attributes, [ new Attribute("points", Value(4)), new Attribute("dimensions", Value(2)), new Attribute("points", Value("Still four")), ]); testRandomAccessRange(square.all.tags, cast(Tag[])[]); testRandomAccessRange(triangle.attributes, cast(Attribute[])[]); testRandomAccessRange(triangle.tags, cast(Tag[])[]); testRandomAccessRange(triangle.namespaces, [NSA("data")], &namespaceEquals); testRandomAccessRange(triangle.namespaces[0].attributes, [ new Attribute("data", "points", Value(3)), new Attribute("data", "dimensions", Value(2)), ]); assert("data" in triangle.namespaces); assert("foobar" !in triangle.namespaces); testRandomAccessRange(triangle.namespaces["data"].attributes, [ new Attribute("data", "points", Value(3)), new Attribute("data", "dimensions", Value(2)), ]); testRandomAccessRange(triangle.all.attributes, [ new Attribute("data", "points", Value(3)), new Attribute("data", "dimensions", Value(2)), ]); testRandomAccessRange(triangle.all.tags, cast(Tag[])[]); testRandomAccessRange(nothing.attributes, cast(Attribute[])[]); testRandomAccessRange(nothing.tags, cast(Tag[])[]); testRandomAccessRange(nothing.namespaces, cast(NSA[])[], &namespaceEquals); testRandomAccessRange(nothing.all.attributes, cast(Attribute[])[]); testRandomAccessRange(nothing.all.tags, cast(Tag[])[]); testRandomAccessRange(namespaces.attributes, cast(Attribute[])[]); testRandomAccessRange(namespaces.tags, cast(Tag[])[]); testRandomAccessRange(namespaces.namespaces, [NSA("small"), NSA("med"), NSA("big")], &namespaceEquals); testRandomAccessRange(namespaces.namespaces[], [NSA("small"), NSA("med"), NSA("big")], &namespaceEquals); testRandomAccessRange(namespaces.namespaces[1..2], [NSA("med")], &namespaceEquals); testRandomAccessRange(namespaces.namespaces[0].attributes, [ new Attribute("small", "A", Value(1)), new Attribute("small", "B", Value(10)), ]); testRandomAccessRange(namespaces.namespaces[1].attributes, [ new Attribute("med", "A", Value(2)), ]); testRandomAccessRange(namespaces.namespaces[2].attributes, [ new Attribute("big", "A", Value(3)), new Attribute("big", "B", Value(30)), ]); testRandomAccessRange(namespaces.namespaces[1..2][0].attributes, [ new Attribute("med", "A", Value(2)), ]); assert("small" in namespaces.namespaces); assert("med" in namespaces.namespaces); assert("big" in namespaces.namespaces); assert("foobar" !in namespaces.namespaces); assert("small" !in namespaces.namespaces[1..2]); assert("med" in namespaces.namespaces[1..2]); assert("big" !in namespaces.namespaces[1..2]); assert("foobar" !in namespaces.namespaces[1..2]); testRandomAccessRange(namespaces.namespaces["small"].attributes, [ new Attribute("small", "A", Value(1)), new Attribute("small", "B", Value(10)), ]); testRandomAccessRange(namespaces.namespaces["med"].attributes, [ new Attribute("med", "A", Value(2)), ]); testRandomAccessRange(namespaces.namespaces["big"].attributes, [ new Attribute("big", "A", Value(3)), new Attribute("big", "B", Value(30)), ]); testRandomAccessRange(namespaces.all.attributes, [ new Attribute("small", "A", Value(1)), new Attribute("med", "A", Value(2)), new Attribute("big", "A", Value(3)), new Attribute("small", "B", Value(10)), new Attribute("big", "B", Value(30)), ]); testRandomAccessRange(namespaces.all.attributes[], [ new Attribute("small", "A", Value(1)), new Attribute("med", "A", Value(2)), new Attribute("big", "A", Value(3)), new Attribute("small", "B", Value(10)), new Attribute("big", "B", Value(30)), ]); testRandomAccessRange(namespaces.all.attributes[2..4], [ new Attribute("big", "A", Value(3)), new Attribute("small", "B", Value(10)), ]); testRandomAccessRange(namespaces.all.tags, cast(Tag[])[]); assert("A" !in namespaces.attributes); assert("B" !in namespaces.attributes); assert("foobar" !in namespaces.attributes); assert("A" in namespaces.all.attributes); assert("B" in namespaces.all.attributes); assert("foobar" !in namespaces.all.attributes); assert("A" in namespaces.namespaces["small"].attributes); assert("B" in namespaces.namespaces["small"].attributes); assert("foobar" !in namespaces.namespaces["small"].attributes); assert("A" in namespaces.namespaces["med"].attributes); assert("B" !in namespaces.namespaces["med"].attributes); assert("foobar" !in namespaces.namespaces["med"].attributes); assert("A" in namespaces.namespaces["big"].attributes); assert("B" in namespaces.namespaces["big"].attributes); assert("foobar" !in namespaces.namespaces["big"].attributes); assert("foobar" !in namespaces.tags); assert("foobar" !in namespaces.all.tags); assert("foobar" !in namespaces.namespaces["small"].tags); assert("A" !in namespaces.tags); assert("A" !in namespaces.all.tags); assert("A" !in namespaces.namespaces["small"].tags); testRandomAccessRange(namespaces.namespaces["small"].attributes["A"], [ new Attribute("small", "A", Value(1)), ]); testRandomAccessRange(namespaces.namespaces["med"].attributes["A"], [ new Attribute("med", "A", Value(2)), ]); testRandomAccessRange(namespaces.namespaces["big"].attributes["A"], [ new Attribute("big", "A", Value(3)), ]); testRandomAccessRange(namespaces.all.attributes["A"], [ new Attribute("small", "A", Value(1)), new Attribute("med", "A", Value(2)), new Attribute("big", "A", Value(3)), ]); testRandomAccessRange(namespaces.all.attributes["B"], [ new Attribute("small", "B", Value(10)), new Attribute("big", "B", Value(30)), ]); testRandomAccessRange(chiyo.attributes, [ new Attribute("nemesis", Value("Car")), new Attribute("score", Value(100)), ]); testRandomAccessRange(chiyo.tags, cast(Tag[])[]); testRandomAccessRange(chiyo.namespaces, [NSA("")], &namespaceEquals); testRandomAccessRange(chiyo.all.attributes, [ new Attribute("nemesis", Value("Car")), new Attribute("score", Value(100)), ]); testRandomAccessRange(chiyo.all.tags, cast(Tag[])[]); testRandomAccessRange(yukari.attributes, cast(Attribute[])[]); testRandomAccessRange(yukari.tags, cast(Tag[])[]); testRandomAccessRange(yukari.namespaces, cast(NSA[])[], &namespaceEquals); testRandomAccessRange(yukari.all.attributes, cast(Attribute[])[]); testRandomAccessRange(yukari.all.tags, cast(Tag[])[]); testRandomAccessRange(sana.attributes, cast(Attribute[])[]); testRandomAccessRange(sana.tags, cast(Tag[])[]); testRandomAccessRange(sana.namespaces, cast(NSA[])[], &namespaceEquals); testRandomAccessRange(sana.all.attributes, cast(Attribute[])[]); testRandomAccessRange(sana.all.tags, cast(Tag[])[]); testRandomAccessRange(people.attributes, [new Attribute("b", Value(2))]); testRandomAccessRange(people.tags, [chiyo, yukari, tomo]); testRandomAccessRange(people.namespaces, [NSA("visitor"), NSA("")], &namespaceEquals); testRandomAccessRange(people.namespaces[0].attributes, [new Attribute("visitor", "a", Value(1))]); testRandomAccessRange(people.namespaces[1].attributes, [new Attribute("b", Value(2))]); testRandomAccessRange(people.namespaces[0].tags, [sana, hayama]); testRandomAccessRange(people.namespaces[1].tags, [chiyo, yukari, tomo]); assert("visitor" in people.namespaces); assert("" in people.namespaces); assert("foobar" !in people.namespaces); testRandomAccessRange(people.namespaces["visitor"].attributes, [new Attribute("visitor", "a", Value(1))]); testRandomAccessRange(people.namespaces[ ""].attributes, [new Attribute("b", Value(2))]); testRandomAccessRange(people.namespaces["visitor"].tags, [sana, hayama]); testRandomAccessRange(people.namespaces[ ""].tags, [chiyo, yukari, tomo]); testRandomAccessRange(people.all.attributes, [ new Attribute("visitor", "a", Value(1)), new Attribute("b", Value(2)), ]); testRandomAccessRange(people.all.tags, [chiyo, yukari, sana, tomo, hayama]); people.attributes["b"][0].name = "b_"; people.namespaces["visitor"].attributes["a"][0].name = "a_"; people.tags["chiyo"][0].name = "chiyo_"; people.namespaces["visitor"].tags["sana"][0].name = "sana_"; assert("b_" in people.attributes); assert("a_" in people.namespaces["visitor"].attributes); assert("chiyo_" in people.tags); assert("sana_" in people.namespaces["visitor"].tags); assert(people.attributes["b_"][0] == new Attribute("b_", Value(2))); assert(people.namespaces["visitor"].attributes["a_"][0] == new Attribute("visitor", "a_", Value(1))); assert(people.tags["chiyo_"][0] == chiyo_); assert(people.namespaces["visitor"].tags["sana_"][0] == sana_); assert("b" !in people.attributes); assert("a" !in people.namespaces["visitor"].attributes); assert("chiyo" !in people.tags); assert("sana" !in people.namespaces["visitor"].tags); assert(people.maybe.attributes["b"].length == 0); assert(people.maybe.namespaces["visitor"].attributes["a"].length == 0); assert(people.maybe.tags["chiyo"].length == 0); assert(people.maybe.namespaces["visitor"].tags["sana"].length == 0); people.tags["tomo"][0].remove(); people.namespaces["visitor"].tags["hayama"][0].remove(); people.tags["chiyo_"][0].remove(); testRandomAccessRange(people.tags, [yukari]); testRandomAccessRange(people.namespaces, [NSA("visitor"), NSA("")], &namespaceEquals); testRandomAccessRange(people.namespaces[0].tags, [sana_]); testRandomAccessRange(people.namespaces[1].tags, [yukari]); assert("visitor" in people.namespaces); assert("" in people.namespaces); assert("foobar" !in people.namespaces); testRandomAccessRange(people.namespaces["visitor"].tags, [sana_]); testRandomAccessRange(people.namespaces[ ""].tags, [yukari]); testRandomAccessRange(people.all.tags, [yukari, sana_]); people.attributes["b_"][0].namespace = "_"; people.namespaces["visitor"].attributes["a_"][0].namespace = "visitor_"; assert("_" in people.namespaces); assert("visitor_" in people.namespaces); assert("" in people.namespaces); assert("visitor" in people.namespaces); people.namespaces["visitor"].tags["sana_"][0].namespace = "visitor_"; assert("_" in people.namespaces); assert("visitor_" in people.namespaces); assert("" in people.namespaces); assert("visitor" !in people.namespaces); assert(people.namespaces["_" ].attributes["b_"][0] == new Attribute("_", "b_", Value(2))); assert(people.namespaces["visitor_"].attributes["a_"][0] == new Attribute("visitor_", "a_", Value(1))); assert(people.namespaces["visitor_"].tags["sana_"][0] == sanaVisitor_); people.tags["yukari"][0].remove(); people.namespaces["visitor_"].tags["sana_"][0].remove(); people.namespaces["visitor_"].attributes["a_"][0].namespace = "visitor"; people.namespaces["_"].attributes["b_"][0].namespace = ""; testRandomAccessRange(people.tags, cast(Tag[])[]); testRandomAccessRange(people.namespaces, [NSA("visitor"), NSA("")], &namespaceEquals); testRandomAccessRange(people.namespaces[0].tags, cast(Tag[])[]); testRandomAccessRange(people.namespaces[1].tags, cast(Tag[])[]); assert("visitor" in people.namespaces); assert("" in people.namespaces); assert("foobar" !in people.namespaces); testRandomAccessRange(people.namespaces["visitor"].tags, cast(Tag[])[]); testRandomAccessRange(people.namespaces[ ""].tags, cast(Tag[])[]); testRandomAccessRange(people.all.tags, cast(Tag[])[]); people.namespaces["visitor"].attributes["a_"][0].remove(); testRandomAccessRange(people.attributes, [new Attribute("b_", Value(2))]); testRandomAccessRange(people.namespaces, [NSA("")], &namespaceEquals); testRandomAccessRange(people.namespaces[0].attributes, [new Attribute("b_", Value(2))]); assert("visitor" !in people.namespaces); assert("" in people.namespaces); assert("foobar" !in people.namespaces); testRandomAccessRange(people.namespaces[""].attributes, [new Attribute("b_", Value(2))]); testRandomAccessRange(people.all.attributes, [ new Attribute("b_", Value(2)), ]); people.attributes["b_"][0].remove(); testRandomAccessRange(people.attributes, cast(Attribute[])[]); testRandomAccessRange(people.namespaces, cast(NSA[])[], &namespaceEquals); assert("visitor" !in people.namespaces); assert("" !in people.namespaces); assert("foobar" !in people.namespaces); testRandomAccessRange(people.all.attributes, cast(Attribute[])[]); // Test clone() auto rootClone = root.clone(); assert(rootClone !is root); assert(rootClone.parent is null); assert(rootClone.name == root.name); assert(rootClone.namespace == root.namespace); assert(rootClone.location == root.location); assert(rootClone.values == root.values); assert(rootClone.toSDLDocument() == root.toSDLDocument()); auto peopleClone = people.clone(); assert(peopleClone !is people); assert(peopleClone.parent is null); assert(peopleClone.name == people.name); assert(peopleClone.namespace == people.namespace); assert(peopleClone.location == people.location); assert(peopleClone.values == people.values); assert(peopleClone.toSDLString() == people.toSDLString()); } // Regression test, issue #11: https://github.com/Abscissa/SDLang-D/issues/11 @("*: Regression test issue #11") unittest { import sdlang.parser; auto root = parseSource( `// a`); assert("a" in root.tags); root = parseSource( `// parent { child } `); auto child = new Tag( null, "", "child", null, null, null ); assert("parent" in root.tags); assert("child" !in root.tags); testRandomAccessRange(root.tags["parent"][0].tags, [child]); assert("child" in root.tags["parent"][0].tags); }
D
/** * * THIS FILE IS AUTO-GENERATED BY ./parse_specs.d FOR MCU attiny28 WITH ARCHITECTURE avr1 * */ module avr.specs.specs_attiny28; enum __AVR_ARCH__ = 1; enum __AVR_ASM_ONLY__ = true; enum __AVR_ENHANCED__ = false; enum __AVR_HAVE_MUL__ = false; enum __AVR_HAVE_JMP_CALL__ = false; enum __AVR_MEGA__ = false; enum __AVR_HAVE_LPMX__ = false; enum __AVR_HAVE_MOVW__ = false; enum __AVR_HAVE_ELPM__ = false; enum __AVR_HAVE_ELPMX__ = false; enum __AVR_HAVE_EIJMP_EICALL_ = false; enum __AVR_2_BYTE_PC__ = true; enum __AVR_3_BYTE_PC__ = false; enum __AVR_XMEGA__ = false; enum __AVR_HAVE_RAMPX__ = false; enum __AVR_HAVE_RAMPY__ = false; enum __AVR_HAVE_RAMPZ__ = false; enum __AVR_HAVE_RAMPD__ = false; enum __AVR_TINY__ = false; enum __AVR_PM_BASE_ADDRESS__ = 0; enum __AVR_SFR_OFFSET__ = 32; enum __AVR_DEVICE_NAME__ = "attiny28";
D
module Script._ScriptableEx; import iscriptsystem; ////////////////////////////////////////////////////////////////////// class _ScriptableEx(T) { public: this() { //m_pScriptThis=NULL; //m_pScriptSystem=NULL; //m_nBase=NULL; } ~this() { //if(m_pScriptThis) //{ // m_pScriptThis->SetNativeData(NULL); // m_pScriptThis->AddSetGetHandlers(NULL,NULL); // m_pScriptThis->Release(); //} } }
D
/** MemoryManager.D Ported from MemoryManager.cpp by Laeeth Isharc // // Platform: Microsoft Windows // ///*************************************************************************** */ module xlld.memorymanager; import xlld.sdk.xlcall: XLOPER12, LPXLOPER12; import xlld.any: Any; import std.experimental.allocator.building_blocks.allocator_list: AllocatorList; import std.experimental.allocator.mallocator: Mallocator; import std.experimental.allocator.building_blocks.region: Region; import std.algorithm.comparison: max; import std.traits: isArray; import std.meta: allSatisfy; /// alias allocator = Mallocator.instance; /// alias autoFreeAllocator = Mallocator.instance; /// alias MemoryPool = AllocatorList!((size_t n) => Region!Mallocator(max(n, size_t(1024 * 1024))), Mallocator); /// MemoryPool gTempAllocator; /// T[][] makeArray2D(T, A)(ref A allocator, ref XLOPER12 oper) { import xlld.conv.from: isMulti; import std.experimental.allocator: makeMultidimensionalArray; with(oper.val.array) return isMulti(oper) ? allocator.makeMultidimensionalArray!T(rows, columns) : typeof(return).init; } /// the function called by the Excel callback void autoFree(LPXLOPER12 arg) nothrow { import xlld.sdk.framework: freeXLOper; freeXLOper(arg, autoFreeAllocator); } /// struct AllocatorContext(A) { /// A* _allocator_; /// this(ref A allocator) { _allocator_ = &allocator; } /// auto any(T)(auto ref T value, in string file = __FILE__, in size_t line = __LINE__) { import xlld.any: _any = any; return _any(value, *_allocator_, file, line); } /// auto fromXlOper(T, U)(U oper) { import xlld.conv.from: convFromXlOper = fromXlOper; return convFromXlOper!T(oper, _allocator_); } /// auto toXlOper(T)(T val) { import xlld.conv: convToXlOper = toXlOper; return convToXlOper(val, _allocator_); } version(unittest) { /// auto toSRef(T)(T val) { import xlld.test.util: toSRef_ = toSRef; return toSRef_(val, _allocator_); } } } /// auto allocatorContext(A)(ref A allocator) { return AllocatorContext!A(allocator); }
D
/** Contains useful functions for template the template parser implementations. Copyright: © 2012 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.templ.parsertools; import vibe.utils.string; import std.metastrings; import std.traits; struct Line { string file; int number; string text; } void assert_ln(in ref Line ln, bool cond, string text = null, string file = __FILE__, int line = __LINE__) { assert(cond, "Error in template "~ln.file~" line "~_toString(ln.number) ~": "~text~"("~file~":"~_toString(line)~")"); } string unindent(in ref string str, in ref string indent) { size_t lvl = indentLevel(str, indent); return str[lvl*indent.length .. $]; } int indentLevel(in ref string s, in ref string indent) { if( indent.length == 0 ) return 0; int l = 0; while( l+indent.length <= s.length && s[l .. l+indent.length] == indent ) l += cast(int)indent.length; return l / cast(int)indent.length; } string lineMarker(in ref Line ln) { if( ln.number < 0 ) return null; return "#line "~_toString(ln.number)~" \""~ln.file~"\"\n"; } string dstringEscape(char ch) { switch(ch){ default: return ""~ch; case '\\': return "\\\\"; case '\r': return "\\r"; case '\n': return "\\n"; case '\t': return "\\t"; case '\"': return "\\\""; } } string sanitizeEscaping(string str) { str = dstringUnescape(str); return dstringEscape(str); } string dstringEscape(in ref string str) { string ret; foreach( ch; str ) ret ~= dstringEscape(ch); return ret; } string dstringUnescape(in string str) { string ret; size_t i, start = 0; for( i = 0; i < str.length; i++ ) if( str[i] == '\\' ){ if( i > start ){ if( start > 0 ) ret ~= str[start .. i]; else ret = str[0 .. i]; } switch(str[i+1]){ default: ret ~= str[i+1]; break; case 'r': ret ~= '\r'; break; case 'n': ret ~= '\n'; break; case 't': ret ~= '\t'; break; } i++; start = i+1; } if( i > start ){ if( start == 0 ) return str; else ret ~= str[start .. i]; } return ret; } string ctstrip(string s) { size_t strt = 0, end = s.length; while( strt < s.length && (s[strt] == ' ' || s[strt] == '\t') ) strt++; while( end > 0 && (s[end-1] == ' ' || s[end-1] == '\t') ) end--; return strt < end ? s[strt .. end] : null; } string detectIndentStyle(in ref Line[] lines) { // search for the first indented line foreach( i; 0 .. lines.length ){ // empty lines should have been removed assert(lines[0].text.length > 0); // tabs are used if( lines[i].text[0] == '\t' ) return "\t"; // spaces are used -> count the number if( lines[i].text[0] == ' ' ){ size_t cnt = 0; while( lines[i].text[cnt] == ' ' ) cnt++; return lines[i].text[0 .. cnt]; } } // default to tabs if there are no indented lines return "\t"; } Line[] removeEmptyLines(string text, string file) { text = stripUTF8Bom(text); Line[] ret; int num = 1; size_t idx = 0; while(idx < text.length){ // start end end markers for the current line size_t start_idx = idx; size_t end_idx = text.length; // search for EOL while( idx < text.length ){ if( text[idx] == '\r' || text[idx] == '\n' ){ end_idx = idx; if( idx+1 < text.length && text[idx .. idx+2] == "\r\n" ) idx++; idx++; break; } idx++; } // add the line if not empty auto ln = text[start_idx .. end_idx]; if( ctstrip(ln).length > 0 ) ret ~= Line(file, num, ln); num++; } return ret; } /// private private string _toString(T)(T x) { static if( is(T == string) ) return x; else static if( is(T : long) || is(T : ulong) ){ Unqual!T tmp = x; string s; do { s = cast(char)('0' + (tmp%10)) ~ s; tmp /= 10; } while(tmp > 0); return s; } else { static assert(false, "Invalid type for cttostring: "~T.stringof); } }
D
/* * 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. */ /* * This code was generated by https://github.com/google/apis-client-generator/ * Modify at your own risk. */ module Google.Apis.Drive.v3.Data.About; import vibe.data.json: optional; import std.typecons: Nullable; import std.datetime : SysTime; import std.conv: to; import Google.Apis.Drive.v3.DriveMyNullable; import Google.Apis.Drive.v3.Data.User; /** * Information about the user, the user's Drive, and system capabilities. * * This is the D data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Drive API. For a detailed explanation see: * * * @author Robert Aron. */ public struct About { /** * Whether the user has installed the requesting app. * The value may be {@code null}. */ @optional public Nullable!bool _appInstalled; /** * Whether the user can create shared drives. * The value may be {@code null}. */ @optional public Nullable!bool _canCreateDrives; /** * Deprecated - use canCreateDrives instead. * The value may be {@code null}. */ @optional public Nullable!bool _canCreateTeamDrives; /** * A list of themes that are supported for shared drives. * The value may be {@code null}. */ @optional public DriveThemesData[] _driveThemes; /** * A map of source MIME type to possible targets for all supported exports. * The value may be {@code null}. */ @optional public string[][string] _exportFormats; /** * The currently supported folder colors as RGB hex strings. * The value may be {@code null}. */ @optional public string[] _folderColorPalette; /** * A map of source MIME type to possible targets for all supported imports. * The value may be {@code null}. */ @optional public string[][string] _importFormats; /** * Identifies what kind of resource this is. Value: the fixed string "drive#about". * The value may be {@code null}. */ @optional public string _kind; /** * A map of maximum import sizes by MIME type, in bytes. * The value may be {@code null}. */ @optional public MyNullable!long[string] _maxImportSizes; /** * The maximum upload size in bytes. * The value may be {@code null}. */ @optional public MyNullable!long _maxUploadSize; /** * The user's storage quota limits and usage. All fields are measured in bytes. * The value may be {@code null}. */ @optional public StorageQuotaData _storageQuota; /** * Deprecated - use driveThemes instead. * The value may be {@code null}. */ @optional public TeamDriveThemesData[] _teamDriveThemes; /** * The authenticated user. * The value may be {@code null}. */ @optional public User _user; /** * Whether the user has installed the requesting app. * @return value or {@code null} for none */ public Nullable!bool getAppInstalled() { return _appInstalled; } /** * Whether the user has installed the requesting app. * @param appInstalled appInstalled or {@code null} for none */ public About setAppInstalled(Nullable!bool _appInstalled) { this._appInstalled = _appInstalled; return this; } /** * Whether the user can create shared drives. * @return value or {@code null} for none */ public Nullable!bool getCanCreateDrives() { return _canCreateDrives; } /** * Whether the user can create shared drives. * @param canCreateDrives canCreateDrives or {@code null} for none */ public About setCanCreateDrives(Nullable!bool _canCreateDrives) { this._canCreateDrives = _canCreateDrives; return this; } /** * Deprecated - use canCreateDrives instead. * @return value or {@code null} for none */ public Nullable!bool getCanCreateTeamDrives() { return _canCreateTeamDrives; } /** * Deprecated - use canCreateDrives instead. * @param canCreateTeamDrives canCreateTeamDrives or {@code null} for none */ public About setCanCreateTeamDrives(Nullable!bool _canCreateTeamDrives) { this._canCreateTeamDrives = _canCreateTeamDrives; return this; } /** * A list of themes that are supported for shared drives. * @return value or {@code null} for none */ public DriveThemesData[] getDriveThemes() { return _driveThemes; } /** * A list of themes that are supported for shared drives. * @param driveThemes driveThemes or {@code null} for none */ public About setDriveThemes(DriveThemesData[] _driveThemes) { this._driveThemes = _driveThemes; return this; } /** * A map of source MIME type to possible targets for all supported exports. * @return value or {@code null} for none */ public string[][string] getExportFormats() { return _exportFormats; } /** * A map of source MIME type to possible targets for all supported exports. * @param exportFormats exportFormats or {@code null} for none */ public About setExportFormats(string[][string] _exportFormats) { this._exportFormats = _exportFormats; return this; } /** * The currently supported folder colors as RGB hex strings. * @return value or {@code null} for none */ public string[] getFolderColorPalette() { return _folderColorPalette; } /** * The currently supported folder colors as RGB hex strings. * @param folderColorPalette folderColorPalette or {@code null} for none */ public About setFolderColorPalette(string[] _folderColorPalette) { this._folderColorPalette = _folderColorPalette; return this; } /** * A map of source MIME type to possible targets for all supported imports. * @return value or {@code null} for none */ public string[][string] getImportFormats() { return _importFormats; } /** * A map of source MIME type to possible targets for all supported imports. * @param importFormats importFormats or {@code null} for none */ public About setImportFormats(string[][string] _importFormats) { this._importFormats = _importFormats; return this; } /** * Identifies what kind of resource this is. Value: the fixed string "drive#about". * @return value or {@code null} for none */ public string getKind() { return _kind; } /** * Identifies what kind of resource this is. Value: the fixed string "drive#about". * @param kind kind or {@code null} for none */ public About setKind(string _kind) { this._kind = _kind; return this; } /** * A map of maximum import sizes by MIME type, in bytes. * @return value or {@code null} for none */ public MyNullable!long[string] getMaxImportSizes() { return _maxImportSizes; } /** * A map of maximum import sizes by MIME type, in bytes. * @param maxImportSizes maxImportSizes or {@code null} for none */ public About setMaxImportSizes(MyNullable!long[string] _maxImportSizes) { this._maxImportSizes = _maxImportSizes; return this; } /** * The maximum upload size in bytes. * @return value or {@code null} for none */ public MyNullable!long getMaxUploadSize() { return _maxUploadSize; } /** * The maximum upload size in bytes. * @param maxUploadSize maxUploadSize or {@code null} for none */ public About setMaxUploadSize(MyNullable!long _maxUploadSize) { this._maxUploadSize = _maxUploadSize; return this; } /** * The user's storage quota limits and usage. All fields are measured in bytes. * @return value or {@code null} for none */ public StorageQuotaData getStorageQuota() { return _storageQuota; } /** * The user's storage quota limits and usage. All fields are measured in bytes. * @param storageQuota storageQuota or {@code null} for none */ public About setStorageQuota(StorageQuotaData _storageQuota) { this._storageQuota = _storageQuota; return this; } /** * Deprecated - use driveThemes instead. * @return value or {@code null} for none */ public TeamDriveThemesData[] getTeamDriveThemes() { return _teamDriveThemes; } /** * Deprecated - use driveThemes instead. * @param teamDriveThemes teamDriveThemes or {@code null} for none */ public About setTeamDriveThemes(TeamDriveThemesData[] _teamDriveThemes) { this._teamDriveThemes = _teamDriveThemes; return this; } /** * The authenticated user. * @return value or {@code null} for none */ public User getUser() { return _user; } /** * The authenticated user. * @param user user or {@code null} for none */ public About setUser(User _user) { this._user = _user; return this; } /** * Model definition for About.DriveThemesData. */ public struct DriveThemesData { /** * A link to this theme's background image. * The value may be {@code null}. */ @optional public string _backgroundImageLink; /** * The color of this theme as an RGB hex string. * The value may be {@code null}. */ @optional public string _colorRgb; /** * The ID of the theme. * The value may be {@code null}. */ @optional public string _id; /** * A link to this theme's background image. * @return value or {@code null} for none */ public string getBackgroundImageLink() { return _backgroundImageLink; } /** * A link to this theme's background image. * @param backgroundImageLink backgroundImageLink or {@code null} for none */ public DriveThemesData setBackgroundImageLink(string _backgroundImageLink) { this._backgroundImageLink = _backgroundImageLink; return this; } /** * The color of this theme as an RGB hex string. * @return value or {@code null} for none */ public string getColorRgb() { return _colorRgb; } /** * The color of this theme as an RGB hex string. * @param colorRgb colorRgb or {@code null} for none */ public DriveThemesData setColorRgb(string _colorRgb) { this._colorRgb = _colorRgb; return this; } /** * The ID of the theme. * @return value or {@code null} for none */ public string getId() { return _id; } /** * The ID of the theme. * @param id id or {@code null} for none */ public DriveThemesData setId(string _id) { this._id = _id; return this; } } /** * The user's storage quota limits and usage. All fields are measured in bytes. */ public struct StorageQuotaData { /** * The usage limit, if applicable. This will not be present if the user has unlimited storage. * The value may be {@code null}. */ @optional public MyNullable!long _limit; /** * The total usage across all services. * The value may be {@code null}. */ @optional public MyNullable!long _usage; /** * The usage by all files in Google Drive. * The value may be {@code null}. */ @optional public MyNullable!long _usageInDrive; /** * The usage by trashed files in Google Drive. * The value may be {@code null}. */ @optional public MyNullable!long _usageInDriveTrash; /** * The usage limit, if applicable. This will not be present if the user has unlimited storage. * @return value or {@code null} for none */ public MyNullable!long getLimit() { return _limit; } /** * The usage limit, if applicable. This will not be present if the user has unlimited storage. * @param limit limit or {@code null} for none */ public StorageQuotaData setLimit(MyNullable!long _limit) { this._limit = _limit; return this; } /** * The total usage across all services. * @return value or {@code null} for none */ public MyNullable!long getUsage() { return _usage; } /** * The total usage across all services. * @param usage usage or {@code null} for none */ public StorageQuotaData setUsage(MyNullable!long _usage) { this._usage = _usage; return this; } /** * The usage by all files in Google Drive. * @return value or {@code null} for none */ public MyNullable!long getUsageInDrive() { return _usageInDrive; } /** * The usage by all files in Google Drive. * @param usageInDrive usageInDrive or {@code null} for none */ public StorageQuotaData setUsageInDrive(MyNullable!long _usageInDrive) { this._usageInDrive = _usageInDrive; return this; } /** * The usage by trashed files in Google Drive. * @return value or {@code null} for none */ public MyNullable!long getUsageInDriveTrash() { return _usageInDriveTrash; } /** * The usage by trashed files in Google Drive. * @param usageInDriveTrash usageInDriveTrash or {@code null} for none */ public StorageQuotaData setUsageInDriveTrash(MyNullable!long _usageInDriveTrash) { this._usageInDriveTrash = _usageInDriveTrash; return this; } } /** * Model definition for About.TeamDriveThemesData. */ public struct TeamDriveThemesData { /** * Deprecated - use driveThemes/backgroundImageLink instead. * The value may be {@code null}. */ @optional public string _backgroundImageLink; /** * Deprecated - use driveThemes/colorRgb instead. * The value may be {@code null}. */ @optional public string _colorRgb; /** * Deprecated - use driveThemes/id instead. * The value may be {@code null}. */ @optional public string _id; /** * Deprecated - use driveThemes/backgroundImageLink instead. * @return value or {@code null} for none */ public string getBackgroundImageLink() { return _backgroundImageLink; } /** * Deprecated - use driveThemes/backgroundImageLink instead. * @param backgroundImageLink backgroundImageLink or {@code null} for none */ public TeamDriveThemesData setBackgroundImageLink(string _backgroundImageLink) { this._backgroundImageLink = _backgroundImageLink; return this; } /** * Deprecated - use driveThemes/colorRgb instead. * @return value or {@code null} for none */ public string getColorRgb() { return _colorRgb; } /** * Deprecated - use driveThemes/colorRgb instead. * @param colorRgb colorRgb or {@code null} for none */ public TeamDriveThemesData setColorRgb(string _colorRgb) { this._colorRgb = _colorRgb; return this; } /** * Deprecated - use driveThemes/id instead. * @return value or {@code null} for none */ public string getId() { return _id; } /** * Deprecated - use driveThemes/id instead. * @param id id or {@code null} for none */ public TeamDriveThemesData setId(string _id) { this._id = _id; return this; } } }
D
/* TEST_OUTPUT: --- fail_compilation/ice12179.d(25): Error: array operation a[] + a[] without assignment not implemented fail_compilation/ice12179.d(26): Error: array operation a[] - a[] without assignment not implemented fail_compilation/ice12179.d(27): Error: array operation a[] * a[] without assignment not implemented fail_compilation/ice12179.d(28): Error: array operation a[] / a[] without assignment not implemented fail_compilation/ice12179.d(29): Error: array operation a[] % a[] without assignment not implemented fail_compilation/ice12179.d(30): Error: array operation a[] ^ a[] without assignment not implemented fail_compilation/ice12179.d(31): Error: array operation a[] & a[] without assignment not implemented fail_compilation/ice12179.d(32): Error: array operation a[] | a[] without assignment not implemented fail_compilation/ice12179.d(33): Error: array operation a[] ^^ 10 without assignment not implemented fail_compilation/ice12179.d(34): Error: array operation -a[] without assignment not implemented fail_compilation/ice12179.d(35): Error: array operation ~a[] without assignment not implemented fail_compilation/ice12179.d(40): Error: array operation [1] + a[] without assignment not implemented fail_compilation/ice12179.d(41): Error: array operation [1] + a[] without assignment not implemented --- */ void main() { void foo(int[]) {} int[1] a; foo(a[] + a[]); foo(a[] - a[]); foo(a[] * a[]); foo(a[] / a[]); foo(a[] % a[]); foo(a[] ^ a[]); foo(a[] & a[]); foo(a[] | a[]); foo(a[] ^^ 10); foo(-a[]); foo(~a[]); // from issue 11992 int[] arr1; int[][] arr2; arr1 ~= [1] + a[]; // NG arr2 ~= [1] + a[]; // NG } // from issue 12769 /* TEST_OUTPUT: --- fail_compilation/ice12179.d(55): Error: array operation -a[] without assignment not implemented fail_compilation/ice12179.d(57): Error: array operation (-a[])[0..4] without assignment not implemented --- */ float[] f12769(float[] a) { if (a.length < 4) return -a[]; else return (-a[])[0..4]; }
D
instance DIA_HAUPTTORWACHE_EXIT(C_INFO) { npc = vlk_4143_haupttorwache; nr = 999; condition = dia_haupttorwache_exit_condition; information = dia_haupttorwache_exit_info; permanent = TRUE; description = DIALOG_ENDE; }; func int dia_haupttorwache_exit_condition() { return TRUE; }; func void dia_haupttorwache_exit_info() { AI_StopProcessInfos(self); }; instance DIA_HAUPTTORWACHE_AUFGABE(C_INFO) { npc = vlk_4143_haupttorwache; nr = 4; condition = dia_haupttorwache_aufgabe_condition; information = dia_haupttorwache_aufgabe_info; permanent = TRUE; description = "Co je tvým úkolem?"; }; func int dia_haupttorwache_aufgabe_condition() { return TRUE; }; func void dia_haupttorwache_aufgabe_info() { AI_Output(other,self,"DIA_Haupttorwache_AUFGABE_15_00"); //Co je tvým úkolem? AI_Output(self,other,"DIA_Haupttorwache_AUFGABE_13_01"); //Můj úkol je jednoduchý. Mám zajistit, aby se skřeti drželi dál než 30 stop od brány. AI_Output(self,other,"DIA_Haupttorwache_AUFGABE_13_02"); //Když se pokusí dostat přes padací mříž, spustím poplach. Toť vše. }; instance DIA_HAUPTTORWACHE_TOROEFFNEN(C_INFO) { npc = vlk_4143_haupttorwache; nr = 5; condition = dia_haupttorwache_toroeffnen_condition; information = dia_haupttorwache_toroeffnen_info; permanent = TRUE; description = "Jak by se dala hlavní brána otevřít?"; }; func int dia_haupttorwache_toroeffnen_condition() { if(KAPITEL >= 5) { return TRUE; }; }; func void dia_haupttorwache_toroeffnen_info() { AI_Output(other,self,"DIA_Haupttorwache_TOROEFFNEN_15_00"); //Jak by se dala hlavní brána otevřít? AI_Output(self,other,"DIA_Haupttorwache_TOROEFFNEN_13_01"); //Proč bys to proboha chtěl vědět? self.flags = 0; Info_ClearChoices(dia_haupttorwache_toroeffnen); Info_AddChoice(dia_haupttorwache_toroeffnen,"Mám starost o bezpečnost hradu.",dia_haupttorwache_toroeffnen_sicherheit); Info_AddChoice(dia_haupttorwache_toroeffnen,"To nic, jen jsem se tak ptal.",dia_haupttorwache_toroeffnen_frage); }; func void dia_haupttorwache_toroeffnen_sicherheit() { AI_Output(other,self,"DIA_Haupttorwache_TOROEFFNEN_sicherheit_15_00"); //Mám starost o bezpečnost hradu. AI_Output(self,other,"DIA_Haupttorwache_TOROEFFNEN_sicherheit_13_01"); //Já taky - v jednom kuse, věř mi. AI_Output(self,other,"DIA_Haupttorwache_TOROEFFNEN_sicherheit_13_02"); //A Garond mi jako věrnému strážci konečně svěřil klíč od brány. AI_Output(self,other,"DIA_Haupttorwache_TOROEFFNEN_sicherheit_13_03"); //(hrdě) To je obrovská zodpovědnost. Budu jej hlídat jako oko v hlavě, musel jsem to Garondovi odpřísáhnout. AI_Output(self,other,"DIA_Haupttorwache_TOROEFFNEN_sicherheit_13_04"); //Ano. Jen si představ, že někdo přijde, zatáhne za páku, aby bránu otevřel, a ta stará rezavá ocelová mříž se zasekne. AI_Output(self,other,"DIA_Haupttorwache_TOROEFFNEN_sicherheit_13_05"); //Nikdo by pak tu bránu už nemohl zavřít. Radši si ani nebudu domýšlet, co by se stalo potom. Proto je dobře, že nikdo neví, že ten klíč mám u sebe zrovna já. AI_StopProcessInfos(self); }; func void dia_haupttorwache_toroeffnen_frage() { AI_Output(other,self,"DIA_Haupttorwache_TOROEFFNEN_frage_15_00"); //To nic, jen jsem se tak ptal. AI_Output(self,other,"DIA_Haupttorwache_TOROEFFNEN_frage_13_01"); //Ne abys to někde vyžvanil - jen by sis tím nadělal problémy. Časy jsou už takhle dost zlé. A teď běž, mám spoustu práce. AI_StopProcessInfos(self); }; instance DIA_HAUPTTORWACHE_PICKPOCKET(C_INFO) { npc = vlk_4143_haupttorwache; nr = 900; condition = dia_haupttorwache_pickpocket_condition; information = dia_haupttorwache_pickpocket_info; permanent = TRUE; description = "(Tenhle klíč by ukradlo i malé dítě.)"; }; func int dia_haupttorwache_pickpocket_condition() { if((Npc_GetTalentSkill(other,NPC_TALENT_PICKPOCKET) == 1) && (self.aivar[AIV_PLAYERHASPICKEDMYPOCKET] == FALSE) && (Npc_HasItems(self,itke_oc_maingate_mis) >= 1) && (KAPITEL >= 5) && (other.attribute[ATR_DEXTERITY] >= (20 - THEFTDIFF))) { return TRUE; }; }; func void dia_haupttorwache_pickpocket_info() { Info_ClearChoices(dia_haupttorwache_pickpocket); Info_AddChoice(dia_haupttorwache_pickpocket,DIALOG_BACK,dia_haupttorwache_pickpocket_back); Info_AddChoice(dia_haupttorwache_pickpocket,DIALOG_PICKPOCKET,dia_haupttorwache_pickpocket_doit); }; func void dia_haupttorwache_pickpocket_doit() { if(other.attribute[ATR_DEXTERITY] >= 20) { b_giveinvitems(self,other,itke_oc_maingate_mis,1); self.aivar[AIV_PLAYERHASPICKEDMYPOCKET] = TRUE; b_giveplayerxp(XP_AMBIENT); Info_ClearChoices(dia_haupttorwache_pickpocket); } else { AI_StopProcessInfos(self); b_attack(self,other,AR_THEFT,1); }; }; func void dia_haupttorwache_pickpocket_back() { Info_ClearChoices(dia_haupttorwache_pickpocket); };
D
/* PERMUTE_ARGS: TEST_OUTPUT: --- fail_compilation/test16188.d(17): Error: no property `name` for type `test16188.Where` --- */ // https://issues.dlang.org/show_bug.cgi?id=16188 /* This produces the message: * Error: no property 'name' for type 'Where' * when the actual error is 'getMember is undefined'. * This happens because errors are gagged when opDispatch() is compiled, * I don't understand why. */ void where() { Where().name; } struct Where { void opDispatch(string name)() { alias FieldType = typeof(getMember); WhereField!FieldType; } } struct WhereField(FieldType) {}
D
/Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Random.build/URandom.swift.o : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/RandomProtocol.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/Array+Random.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/OSRandom.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/URandom.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/ifaddrs-android.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/CNIODarwin.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/CNIOLinux.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio-ssl-support.git--2359138821295600615/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Random.build/URandom~partial.swiftmodule : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/RandomProtocol.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/Array+Random.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/OSRandom.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/URandom.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/ifaddrs-android.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/CNIODarwin.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/CNIOLinux.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio-ssl-support.git--2359138821295600615/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Random.build/URandom~partial.swiftdoc : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/RandomProtocol.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/Array+Random.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/OSRandom.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/URandom.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/ifaddrs-android.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/CNIODarwin.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/CNIOLinux.h /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio-ssl-support.git--2359138821295600615/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
instance KDW_14050_Addon_Merdarion_ADW(Npc_Default) { name[0] = "Merdarion"; guild = GIL_KDW; id = 14050; voice = 6; flags = NPC_FLAG_IMMORTAL; npcType = npctype_main; aivar[AIV_MagicUser] = MAGIC_ALWAYS; aivar[AIV_IgnoresFakeGuild] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; B_SetAttributesToChapter(self,5); fight_tactic = FAI_HUMAN_STRONG; B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Thief",Face_P_NormalBart_Nefarius,BodyTex_P,itar_kdw_h); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Mage.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,80); daily_routine = Rtn_Start_14050; }; func void Rtn_Start_14050() { TA_Study_WP(6,5,7,15,"ADW_ENTRANCE_01"); TA_Study_WP(7,15,8,25,"ADW_ENTRANCE_02"); TA_Study_WP(8,25,9,35,"ADW_ENTRANCE_01"); TA_Study_WP(9,35,10,45,"ADW_ENTRANCE_02"); TA_Study_WP(10,45,11,55,"ADW_ENTRANCE_01"); TA_Study_WP(11,55,12,5,"ADW_ENTRANCE_02"); TA_Study_WP(12,5,13,15,"ADW_ENTRANCE_01"); TA_Study_WP(13,15,14,25,"ADW_ENTRANCE_02"); TA_Study_WP(14,25,15,35,"ADW_ENTRANCE_01"); TA_Study_WP(15,35,16,45,"ADW_ENTRANCE_02"); TA_Study_WP(16,45,17,55,"ADW_ENTRANCE_01"); TA_Study_WP(17,55,18,5,"ADW_ENTRANCE_02"); TA_Study_WP(18,5,19,15,"ADW_ENTRANCE_01"); TA_Study_WP(19,15,20,25,"ADW_ENTRANCE_02"); TA_Study_WP(20,25,21,35,"ADW_ENTRANCE_01"); TA_Study_WP(21,35,22,45,"ADW_ENTRANCE_02"); TA_Sleep(22,45,6,5,"ADW_ENTRANCE_BUILDING2_05"); };
D
module math.utils; import std.math; import base.vect3d; import gl3n.linalg : mat4; mat4 RotationMatrix(in Vect3Df rot){ return RotationMatrix(rot.x, rot.y, rot.z); } mat4 RotationMatrix(in float fX, in float fY, in float fZ){ float cosx = cos( fX ); float sinx = sin( fX ); float cosy = cos( fY ); float siny = sin( fY ); float cosz = cos( fZ ); float sinz = sin( fZ ); float sxsy = sinx*siny; float cxsy = cosx*siny; return mat4( cosy*cosz, cosy*sinz, -siny, 0, sxsy*cosz-cosx*sinz, sxsy*sinz+cosx*cosz, sinx*cosy, 0, cxsy*cosz+sinx*sinz, cxsy*sinz-sinx*cosz, cosx*cosy, 0, 0, 0, 0, 1 ); }
D
// Written in the D programming language. /** Functions for starting and interacting with other processes, and for working with the current _process' execution environment. Process_handling: $(UL $(LI $(LREF spawnProcess) spawns a new _process, optionally assigning it an arbitrary set of standard input, output, and error streams. The function returns immediately, leaving the child _process to execute in parallel with its parent. All other functions in this module that spawn processes are built around $(D spawnProcess).) $(LI $(LREF wait) makes the parent _process wait for a child _process to terminate. In general one should always do this, to avoid child processes becoming "zombies" when the parent _process exits. Scope guards are perfect for this – see the $(LREF spawnProcess) documentation for examples. $(LREF tryWait) is similar to $(D wait), but does not block if the _process has not yet terminated.) $(LI $(LREF pipeProcess) also spawns a child _process which runs in parallel with its parent. However, instead of taking arbitrary streams, it automatically creates a set of pipes that allow the parent to communicate with the child through the child's standard input, output, and/or error streams. This function corresponds roughly to C's $(D popen) function.) $(LI $(LREF execute) starts a new _process and waits for it to complete before returning. Additionally, it captures the _process' standard output and error streams and returns the output of these as a string.) $(LI $(LREF spawnShell), $(LREF pipeShell) and $(LREF executeShell) work like $(D spawnProcess), $(D pipeProcess) and $(D execute), respectively, except that they take a single command string and run it through the current user's default command interpreter. $(D executeShell) corresponds roughly to C's $(D system) function.) $(LI $(LREF kill) attempts to terminate a running _process.) ) The following table compactly summarises the different _process creation functions and how they relate to each other: $(BOOKTABLE, $(TR $(TH ) $(TH Runs program directly) $(TH Runs shell command)) $(TR $(TD Low-level _process creation) $(TD $(LREF spawnProcess)) $(TD $(LREF spawnShell))) $(TR $(TD Automatic input/output redirection using pipes) $(TD $(LREF pipeProcess)) $(TD $(LREF pipeShell))) $(TR $(TD Execute and wait for completion, collect output) $(TD $(LREF execute)) $(TD $(LREF executeShell))) ) Other_functionality: $(UL $(LI $(LREF pipe) is used to create unidirectional pipes.) $(LI $(LREF environment) is an interface through which the current _process' environment variables can be read and manipulated.) $(LI $(LREF escapeShellCommand) and $(LREF escapeShellFileName) are useful for constructing shell command lines in a portable way.) ) Authors: $(LINK2 https://github.com/kyllingstad, Lars Tandle Kyllingstad), $(LINK2 https://github.com/schveiguy, Steven Schveighoffer), $(WEB thecybershadow.net, Vladimir Panteleev) Copyright: Copyright (c) 2013, the authors. All rights reserved. Source: $(PHOBOSSRC std/_process.d) Macros: WIKI=Phobos/StdProcess OBJECTREF=$(D $(LINK2 object.html#$0,$0)) LREF=$(D $(LINK2 #.$0,$0)) */ module std.process; version (Posix) { import core.stdc.errno; import core.stdc.string; import core.sys.posix.stdio; import core.sys.posix.unistd; import core.sys.posix.sys.wait; } version (Windows) { import core.stdc.stdio; import core.sys.windows.windows; import std.utf; import std.windows.syserror; } import std.algorithm; import std.array; import std.conv; import std.exception; import std.path; import std.stdio; import std.string; import std.internal.processinit; // When the DMC runtime is used, we have to use some custom functions // to convert between Windows file handles and FILE*s. version (Win32) version (DigitalMars) version = DMC_RUNTIME; // Some of the following should be moved to druntime. private { // Microsoft Visual C Runtime (MSVCRT) declarations. version (Windows) { version (DMC_RUNTIME) { } else { import core.stdc.stdint; extern(C) { int _fileno(FILE* stream); HANDLE _get_osfhandle(int fd); int _open_osfhandle(HANDLE osfhandle, int flags); FILE* _fdopen(int fd, const (char)* mode); int _close(int fd); } enum { STDIN_FILENO = 0, STDOUT_FILENO = 1, STDERR_FILENO = 2, } enum { _O_RDONLY = 0x0000, _O_APPEND = 0x0004, _O_TEXT = 0x4000, } } } // POSIX API declarations. version (Posix) { version (OSX) { extern(C) char*** _NSGetEnviron() nothrow; private const(char**)* environPtr; extern(C) void std_process_static_this() { environPtr = _NSGetEnviron(); } const(char**) environ() @property @trusted nothrow { return *environPtr; } } else { // Made available by the C runtime: extern(C) extern __gshared const char** environ; } } } // private // ============================================================================= // Functions and classes for process management. // ============================================================================= /** Spawns a new _process, optionally assigning it an arbitrary set of standard input, output, and error streams. The function returns immediately, leaving the child _process to execute in parallel with its parent. It is recommended to always call $(LREF wait) on the returned $(LREF Pid), as detailed in the documentation for $(D wait). Command_line: There are four overloads of this function. The first two take an array of strings, $(D args), which should contain the program name as the zeroth element and any command-line arguments in subsequent elements. The third and fourth versions are included for convenience, and may be used when there are no command-line arguments. They take a single string, $(D program), which specifies the program name. Unless a directory is specified in $(D args[0]) or $(D program), $(D spawnProcess) will search for the program in a platform-dependent manner. On POSIX systems, it will look for the executable in the directories listed in the PATH environment variable, in the order they are listed. On Windows, it will search for the executable in the following sequence: $(OL $(LI The directory from which the application loaded.) $(LI The current directory for the parent process.) $(LI The 32-bit Windows system directory.) $(LI The 16-bit Windows system directory.) $(LI The Windows directory.) $(LI The directories listed in the PATH environment variable.) ) --- // Run an executable called "prog" located in the current working // directory: auto pid = spawnProcess("./prog"); scope(exit) wait(pid); // We can do something else while the program runs. The scope guard // ensures that the process is waited for at the end of the scope. ... // Run DMD on the file "myprog.d", specifying a few compiler switches: auto dmdPid = spawnProcess(["dmd", "-O", "-release", "-inline", "myprog.d" ]); if (wait(dmdPid) != 0) writeln("Compilation failed!"); --- Environment_variables: By default, the child process inherits the environment of the parent process, along with any additional variables specified in the $(D env) parameter. If the same variable exists in both the parent's environment and in $(D env), the latter takes precedence. If the $(LREF Config.newEnv) flag is set in $(D config), the child process will $(I not) inherit the parent's environment. Its entire environment will then be determined by $(D env). --- wait(spawnProcess("myapp", ["foo" : "bar"], Config.newEnv)); --- Standard_streams: The optional arguments $(D stdin), $(D stdout) and $(D stderr) may be used to assign arbitrary $(XREF stdio,File) objects as the standard input, output and error streams, respectively, of the child process. The former must be opened for reading, while the latter two must be opened for writing. The default is for the child process to inherit the standard streams of its parent. --- // Run DMD on the file myprog.d, logging any error messages to a // file named errors.log. auto logFile = File("errors.log", "w"); auto pid = spawnProcess(["dmd", "myprog.d"], std.stdio.stdin, std.stdio.stdout, logFile); if (wait(pid) != 0) writeln("Compilation failed. See errors.log for details."); --- Note that if you pass a $(D File) object that is $(I not) one of the standard input/output/error streams of the parent process, that stream will by default be $(I closed) in the parent process when this function returns. See the $(LREF Config) documentation below for information about how to disable this behaviour. Beware of buffering issues when passing $(D File) objects to $(D spawnProcess). The child process will inherit the low-level raw read/write offset associated with the underlying file descriptor, but it will not be aware of any buffered data. In cases where this matters (e.g. when a file should be aligned before being passed on to the child process), it may be a good idea to use unbuffered streams, or at least ensure all relevant buffers are flushed. Params: args = An array which contains the program name as the zeroth element and any command-line arguments in the following elements. program = The program name, $(I without) command-line arguments. stdin = The standard input stream of the child process. This can be any $(XREF stdio,File) that is opened for reading. By default the child process inherits the parent's input stream. stdout = The standard output stream of the child process. This can be any $(XREF stdio,File) that is opened for writing. By default the child process inherits the parent's output stream. stderr = The standard error stream of the child process. This can be any $(XREF stdio,File) that is opened for writing. By default the child process inherits the parent's error stream. env = Additional environment variables for the child process. config = Flags that control process creation. See $(LREF Config) for an overview of available flags. Returns: A $(LREF Pid) object that corresponds to the spawned process. Throws: $(LREF ProcessException) on failure to start the process.$(BR) $(XREF stdio,StdioException) on failure to pass one of the streams to the child process (Windows only).$(BR) $(CXREF exception,RangeError) if $(D args) is empty. */ Pid spawnProcess(in char[][] args, File stdin = std.stdio.stdin, File stdout = std.stdio.stdout, File stderr = std.stdio.stderr, const string[string] env = null, Config config = Config.none) @trusted // TODO: Should be @safe { version (Windows) auto args2 = escapeShellArguments(args); else version (Posix) alias args2 = args; return spawnProcessImpl(args2, stdin, stdout, stderr, env, config); } /// ditto Pid spawnProcess(in char[][] args, const string[string] env, Config config = Config.none) @trusted // TODO: Should be @safe { return spawnProcess(args, std.stdio.stdin, std.stdio.stdout, std.stdio.stderr, env, config); } /// ditto Pid spawnProcess(in char[] program, File stdin = std.stdio.stdin, File stdout = std.stdio.stdout, File stderr = std.stdio.stderr, const string[string] env = null, Config config = Config.none) @trusted { return spawnProcess((&program)[0 .. 1], stdin, stdout, stderr, env, config); } /// ditto Pid spawnProcess(in char[] program, const string[string] env, Config config = Config.none) @trusted { return spawnProcess((&program)[0 .. 1], env, config); } /* Implementation of spawnProcess() for POSIX. envz should be a zero-terminated array of zero-terminated strings on the form "var=value". */ version (Posix) private Pid spawnProcessImpl(in char[][] args, File stdin, File stdout, File stderr, const string[string] env, Config config) @trusted // TODO: Should be @safe { import core.exception: RangeError; if (args.empty) throw new RangeError("Command line is empty"); const(char)[] name = args[0]; if (any!isDirSeparator(name)) { if (!isExecutable(name)) throw new ProcessException(text("Not an executable file: ", name)); } else { name = searchPathFor(name); if (name is null) throw new ProcessException(text("Executable file not found: ", name)); } // Convert program name and arguments to C-style strings. auto argz = new const(char)*[args.length+1]; argz[0] = toStringz(name); foreach (i; 1 .. args.length) argz[i] = toStringz(args[i]); argz[$-1] = null; // Prepare environment. auto envz = createEnv(env, !(config & Config.newEnv)); // Get the file descriptors of the streams. // These could potentially be invalid, but that is OK. If so, later calls // to dup2() and close() will just silently fail without causing any harm. auto stdinFD = core.stdc.stdio.fileno(stdin.getFP()); auto stdoutFD = core.stdc.stdio.fileno(stdout.getFP()); auto stderrFD = core.stdc.stdio.fileno(stderr.getFP()); auto id = fork(); if (id < 0) throw ProcessException.newFromErrno("Failed to spawn new process"); if (id == 0) { // Child process // Redirect streams and close the old file descriptors. // In the case that stderr is redirected to stdout, we need // to backup the file descriptor since stdout may be redirected // as well. if (stderrFD == STDOUT_FILENO) stderrFD = dup(stderrFD); dup2(stdinFD, STDIN_FILENO); dup2(stdoutFD, STDOUT_FILENO); dup2(stderrFD, STDERR_FILENO); // Ensure that the standard streams aren't closed on execute, and // optionally close all other file descriptors. setCLOEXEC(STDIN_FILENO, false); setCLOEXEC(STDOUT_FILENO, false); setCLOEXEC(STDERR_FILENO, false); if (!(config & Config.inheritFDs)) { import core.sys.posix.sys.resource; rlimit r; getrlimit(RLIMIT_NOFILE, &r); foreach (i; 3 .. cast(int) r.rlim_cur) close(i); } // Close the old file descriptors, unless they are // either of the standard streams. if (stdinFD > STDERR_FILENO) close(stdinFD); if (stdoutFD > STDERR_FILENO) close(stdoutFD); if (stderrFD > STDERR_FILENO) close(stderrFD); // Execute program. core.sys.posix.unistd.execve(argz[0], argz.ptr, envz); // If execution fails, exit as quickly as possible. core.sys.posix.stdio.perror("spawnProcess(): Failed to execute program"); core.sys.posix.unistd._exit(1); assert (0); } else { // Parent process: Close streams and return. if (stdinFD > STDERR_FILENO && !(config & Config.retainStdin)) stdin.close(); if (stdoutFD > STDERR_FILENO && !(config & Config.retainStdout)) stdout.close(); if (stderrFD > STDERR_FILENO && !(config & Config.retainStderr)) stderr.close(); return new Pid(id); } } /* Implementation of spawnProcess() for Windows. commandLine must contain the entire command line, properly quoted/escaped as required by CreateProcessW(). envz must be a pointer to a block of UTF-16 characters on the form "var1=value1\0var2=value2\0...varN=valueN\0\0". */ version (Windows) private Pid spawnProcessImpl(in char[] commandLine, File stdin, File stdout, File stderr, const string[string] env, Config config) @trusted { import core.exception: RangeError; if (commandLine.empty) throw new RangeError("Command line is empty"); auto commandz = toUTFz!(wchar*)(commandLine); // Prepare environment. auto envz = createEnv(env, !(config & Config.newEnv)); // Startup info for CreateProcessW(). STARTUPINFO_W startinfo; startinfo.cb = startinfo.sizeof; startinfo.dwFlags = STARTF_USESTDHANDLES; // Extract file descriptors and HANDLEs from the streams and make the // handles inheritable. static void prepareStream(ref File file, DWORD stdHandle, string which, out int fileDescriptor, out HANDLE handle) { fileDescriptor = _fileno(file.getFP()); if (fileDescriptor < 0) handle = GetStdHandle(stdHandle); else { version (DMC_RUNTIME) handle = _fdToHandle(fileDescriptor); else /* MSVCRT */ handle = _get_osfhandle(fileDescriptor); } DWORD dwFlags; GetHandleInformation(handle, &dwFlags); if (!(dwFlags & HANDLE_FLAG_INHERIT)) { if (!SetHandleInformation(handle, HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT)) { throw new StdioException( "Failed to make "~which~" stream inheritable by child process (" ~sysErrorString(GetLastError()) ~ ')', 0); } } } int stdinFD = -1, stdoutFD = -1, stderrFD = -1; prepareStream(stdin, STD_INPUT_HANDLE, "stdin" , stdinFD, startinfo.hStdInput ); prepareStream(stdout, STD_OUTPUT_HANDLE, "stdout", stdoutFD, startinfo.hStdOutput); prepareStream(stderr, STD_ERROR_HANDLE, "stderr", stderrFD, startinfo.hStdError ); // Create process. PROCESS_INFORMATION pi; DWORD dwCreationFlags = CREATE_UNICODE_ENVIRONMENT | ((config & Config.suppressConsole) ? CREATE_NO_WINDOW : 0); if (!CreateProcessW(null, commandz, null, null, true, dwCreationFlags, envz, null, &startinfo, &pi)) throw ProcessException.newFromLastError("Failed to spawn new process"); // figure out if we should close any of the streams if (stdinFD > STDERR_FILENO && !(config & Config.retainStdin)) stdin.close(); if (stdoutFD > STDERR_FILENO && !(config & Config.retainStdout)) stdout.close(); if (stderrFD > STDERR_FILENO && !(config & Config.retainStderr)) stderr.close(); // close the thread handle in the process info structure CloseHandle(pi.hThread); return new Pid(pi.dwProcessId, pi.hProcess); } // Converts childEnv to a zero-terminated array of zero-terminated strings // on the form "name=value", optionally adding those of the current process' // environment strings that are not present in childEnv. If the parent's // environment should be inherited without modification, this function // returns environ directly. version (Posix) private const(char*)* createEnv(const string[string] childEnv, bool mergeWithParentEnv) { // Determine the number of strings in the parent's environment. int parentEnvLength = 0; if (mergeWithParentEnv) { if (childEnv.length == 0) return environ; while (environ[parentEnvLength] != null) ++parentEnvLength; } // Convert the "new" variables to C-style strings. auto envz = new const(char)*[parentEnvLength + childEnv.length + 1]; int pos = 0; foreach (var, val; childEnv) envz[pos++] = (var~'='~val~'\0').ptr; // Add the parent's environment. foreach (environStr; environ[0 .. parentEnvLength]) { int eqPos = 0; while (environStr[eqPos] != '=' && environStr[eqPos] != '\0') ++eqPos; if (environStr[eqPos] != '=') continue; auto var = environStr[0 .. eqPos]; if (var in childEnv) continue; envz[pos++] = environStr; } envz[pos] = null; return envz.ptr; } version (Posix) unittest { auto e1 = createEnv(null, false); assert (e1 != null && *e1 == null); auto e2 = createEnv(null, true); assert (e2 != null); int i = 0; for (; environ[i] != null; ++i) { assert (e2[i] != null); import core.stdc.string; assert (strcmp(e2[i], environ[i]) == 0); } assert (e2[i] == null); auto e3 = createEnv(["foo" : "bar", "hello" : "world"], false); assert (e3 != null && e3[0] != null && e3[1] != null && e3[2] == null); assert ((e3[0][0 .. 8] == "foo=bar\0" && e3[1][0 .. 12] == "hello=world\0") || (e3[0][0 .. 12] == "hello=world\0" && e3[1][0 .. 8] == "foo=bar\0")); } // Converts childEnv to a Windows environment block, which is on the form // "name1=value1\0name2=value2\0...nameN=valueN\0\0", optionally adding // those of the current process' environment strings that are not present // in childEnv. Returns null if the parent's environment should be // inherited without modification, as this is what is expected by // CreateProcess(). version (Windows) private LPVOID createEnv(const string[string] childEnv, bool mergeWithParentEnv) { if (mergeWithParentEnv && childEnv.length == 0) return null; auto envz = appender!(wchar[])(); void put(string var, string val) { envz.put(var); envz.put('='); envz.put(val); envz.put(cast(wchar) '\0'); } // Add the variables in childEnv, removing them from parentEnv // if they exist there too. auto parentEnv = mergeWithParentEnv ? environment.toAA() : null; foreach (k, v; childEnv) { auto uk = toUpper(k); put(uk, v); if (uk in parentEnv) parentEnv.remove(uk); } // Add remaining parent environment variables. foreach (k, v; parentEnv) put(k, v); // Two final zeros are needed in case there aren't any environment vars, // and the last one does no harm when there are. envz.put("\0\0"w); return envz.data.ptr; } version (Windows) unittest { assert (createEnv(null, true) == null); assert ((cast(wchar*) createEnv(null, false))[0 .. 2] == "\0\0"w); auto e1 = (cast(wchar*) createEnv(["foo":"bar", "ab":"c"], false))[0 .. 14]; assert (e1 == "FOO=bar\0AB=c\0\0"w || e1 == "AB=c\0FOO=bar\0\0"w); } // Searches the PATH variable for the given executable file, // (checking that it is in fact executable). version (Posix) private string searchPathFor(in char[] executable) @trusted //TODO: @safe nothrow { auto pathz = core.stdc.stdlib.getenv("PATH"); if (pathz == null) return null; foreach (dir; splitter(to!string(pathz), ':')) { auto execPath = buildPath(dir, executable); if (isExecutable(execPath)) return execPath; } return null; } // Checks whether the file exists and can be executed by the // current user. version (Posix) private bool isExecutable(in char[] path) @trusted //TODO: @safe nothrow { return (access(toStringz(path), X_OK) == 0); } version (Posix) unittest { auto unamePath = searchPathFor("uname"); assert (!unamePath.empty); assert (unamePath[0] == '/'); assert (unamePath.endsWith("uname")); auto unlikely = searchPathFor("lkmqwpoialhggyaofijadsohufoiqezm"); assert (unlikely is null, "Are you kidding me?"); } // Sets or unsets the FD_CLOEXEC flag on the given file descriptor. version (Posix) private void setCLOEXEC(int fd, bool on) { import core.sys.posix.fcntl; auto flags = fcntl(fd, F_GETFD); if (flags >= 0) { if (on) flags |= FD_CLOEXEC; else flags &= ~(cast(typeof(flags)) FD_CLOEXEC); flags = fcntl(fd, F_SETFD, flags); } if (flags == -1) { throw new StdioException("Failed to "~(on ? "" : "un") ~"set close-on-exec flag on file descriptor"); } } unittest // Command line arguments in spawnProcess(). { version (Windows) TestScript prog = "if not [%~1]==[foo] ( exit 1 ) if not [%~2]==[bar] ( exit 2 ) exit 0"; else version (Posix) TestScript prog = `if test "$1" != "foo"; then exit 1; fi if test "$2" != "bar"; then exit 2; fi exit 0`; assert (wait(spawnProcess(prog.path)) == 1); assert (wait(spawnProcess([prog.path])) == 1); assert (wait(spawnProcess([prog.path, "foo"])) == 2); assert (wait(spawnProcess([prog.path, "foo", "baz"])) == 2); assert (wait(spawnProcess([prog.path, "foo", "bar"])) == 0); } unittest // Environment variables in spawnProcess(). { // We really should use set /a on Windows, but Wine doesn't support it. version (Windows) TestScript envProg = `if [%STD_PROCESS_UNITTEST1%] == [1] ( if [%STD_PROCESS_UNITTEST2%] == [2] (exit 3) exit 1 ) if [%STD_PROCESS_UNITTEST1%] == [4] ( if [%STD_PROCESS_UNITTEST2%] == [2] (exit 6) exit 4 ) if [%STD_PROCESS_UNITTEST2%] == [2] (exit 2) exit 0`; version (Posix) TestScript envProg = `if test "$std_process_unittest1" = ""; then std_process_unittest1=0 fi if test "$std_process_unittest2" = ""; then std_process_unittest2=0 fi exit $(($std_process_unittest1+$std_process_unittest2))`; environment.remove("std_process_unittest1"); // Just in case. environment.remove("std_process_unittest2"); assert (wait(spawnProcess(envProg.path)) == 0); assert (wait(spawnProcess(envProg.path, null, Config.newEnv)) == 0); environment["std_process_unittest1"] = "1"; assert (wait(spawnProcess(envProg.path)) == 1); assert (wait(spawnProcess(envProg.path, null, Config.newEnv)) == 0); auto env = ["std_process_unittest2" : "2"]; assert (wait(spawnProcess(envProg.path, env)) == 3); assert (wait(spawnProcess(envProg.path, env, Config.newEnv)) == 2); env["std_process_unittest1"] = "4"; assert (wait(spawnProcess(envProg.path, env)) == 6); assert (wait(spawnProcess(envProg.path, env, Config.newEnv)) == 6); environment.remove("std_process_unittest1"); assert (wait(spawnProcess(envProg.path, env)) == 6); assert (wait(spawnProcess(envProg.path, env, Config.newEnv)) == 6); } unittest // Stream redirection in spawnProcess(). { version (Windows) TestScript prog = "set /p INPUT= echo %INPUT% output %~1 echo %INPUT% error %~2 1>&2"; else version (Posix) TestScript prog = "read INPUT echo $INPUT output $1 echo $INPUT error $2 >&2"; // Pipes auto pipei = pipe(); auto pipeo = pipe(); auto pipee = pipe(); auto pid = spawnProcess([prog.path, "foo", "bar"], pipei.readEnd, pipeo.writeEnd, pipee.writeEnd); pipei.writeEnd.writeln("input"); pipei.writeEnd.flush(); assert (pipeo.readEnd.readln().chomp() == "input output foo"); assert (pipee.readEnd.readln().chomp().stripRight() == "input error bar"); wait(pid); // Files import std.ascii, std.file, std.uuid; auto pathi = buildPath(tempDir(), randomUUID().toString()); auto patho = buildPath(tempDir(), randomUUID().toString()); auto pathe = buildPath(tempDir(), randomUUID().toString()); std.file.write(pathi, "INPUT"~std.ascii.newline); auto filei = File(pathi, "r"); auto fileo = File(patho, "w"); auto filee = File(pathe, "w"); pid = spawnProcess([prog.path, "bar", "baz" ], filei, fileo, filee); wait(pid); assert (readText(patho).chomp() == "INPUT output bar"); assert (readText(pathe).chomp().stripRight() == "INPUT error baz"); remove(pathi); remove(patho); remove(pathe); } unittest // Error handling in spawnProcess() { assertThrown!ProcessException(spawnProcess("ewrgiuhrifuheiohnmnvqweoijwf")); assertThrown!ProcessException(spawnProcess("./rgiuhrifuheiohnmnvqweoijwf")); } /** A variation on $(LREF spawnProcess) that runs the given _command through the current user's preferred _command interpreter (aka. shell). The string $(D command) is passed verbatim to the shell, and is therefore subject to its rules about _command structure, argument/filename quoting and escaping of special characters. The path to the shell executable is determined by the $(LREF userShell) function. In all other respects this function works just like $(D spawnProcess). Please refer to the $(LREF spawnProcess) documentation for descriptions of the other function parameters, the return value and any exceptions that may be thrown. --- // Run the command/program "foo" on the file named "my file.txt", and // redirect its output into foo.log. auto pid = spawnShell(`foo "my file.txt" > foo.log`); wait(pid); --- See_also: $(LREF escapeShellCommand), which may be helpful in constructing a properly quoted and escaped shell _command line for the current platform. */ Pid spawnShell(in char[] command, File stdin = std.stdio.stdin, File stdout = std.stdio.stdout, File stderr = std.stdio.stderr, const string[string] env = null, Config config = Config.none) @trusted // TODO: Should be @safe { version (Windows) { auto args = escapeShellArguments(userShell, shellSwitch) ~ " " ~ command; } else version (Posix) { const(char)[][3] args; args[0] = userShell; args[1] = shellSwitch; args[2] = command; } return spawnProcessImpl(args, stdin, stdout, stderr, env, config); } /// ditto Pid spawnShell(in char[] command, const string[string] env, Config config = Config.none) @trusted // TODO: Should be @safe { return spawnShell(command, std.stdio.stdin, std.stdio.stdout, std.stdio.stderr, env, config); } unittest { version (Windows) auto cmd = "echo %FOO%"; else version (Posix) auto cmd = "echo $foo"; import std.file; auto tmpFile = uniqueTempPath(); scope(exit) if (exists(tmpFile)) remove(tmpFile); auto redir = "> \""~tmpFile~'"'; auto env = ["foo" : "bar"]; assert (wait(spawnShell(cmd~redir, env)) == 0); auto f = File(tmpFile, "a"); assert (wait(spawnShell(cmd, std.stdio.stdin, f, std.stdio.stderr, env)) == 0); f.close(); auto output = std.file.readText(tmpFile); assert (output == "bar\nbar\n" || output == "bar\r\nbar\r\n"); } /** Flags that control the behaviour of $(LREF spawnProcess) and $(LREF spawnShell). Use bitwise OR to combine flags. Example: --- auto logFile = File("myapp_error.log", "w"); // Start program, suppressing the console window (Windows only), // redirect its error stream to logFile, and leave logFile open // in the parent process as well. auto pid = spawnProcess("myapp", stdin, stdout, logFile, Config.retainStderr | Config.suppressConsole); scope(exit) { auto exitCode = wait(pid); logFile.writeln("myapp exited with code ", exitCode); logFile.close(); } --- */ enum Config { none = 0, /** By default, the child process inherits the parent's environment, and any environment variables passed to $(LREF spawnProcess) will be added to it. If this flag is set, the only variables in the child process' environment will be those given to spawnProcess. */ newEnv = 1, /** Unless the child process inherits the standard input/output/error streams of its parent, one almost always wants the streams closed in the parent when $(LREF spawnProcess) returns. Therefore, by default, this is done. If this is not desirable, pass any of these options to spawnProcess. */ retainStdin = 2, retainStdout = 4, /// ditto retainStderr = 8, /// ditto /** On Windows, if the child process is a console application, this flag will prevent the creation of a console window. Otherwise, it will be ignored. On POSIX, $(D suppressConsole) has no effect. */ suppressConsole = 16, /** On POSIX, open $(LINK2 http://en.wikipedia.org/wiki/File_descriptor,file descriptors) are by default inherited by the child process. As this may lead to subtle bugs when pipes or multiple threads are involved, $(LREF spawnProcess) ensures that all file descriptors except the ones that correspond to standard input/output/error are closed in the child process when it starts. Use $(D inheritFDs) to prevent this. On Windows, this option has no effect, and any handles which have been explicitly marked as inheritable will always be inherited by the child process. */ inheritFDs = 32, } /// A handle that corresponds to a spawned process. final class Pid { /** The process ID number. This is a number that uniquely identifies the process on the operating system, for at least as long as the process is running. Once $(LREF wait) has been called on the $(LREF Pid), this method will return an invalid process ID. */ @property int processID() const @safe pure nothrow { return _processID; } /** An operating system handle to the process. This handle is used to specify the process in OS-specific APIs. On POSIX, this function returns a $(D core.sys.posix.sys.types.pid_t) with the same value as $(LREF Pid.processID), while on Windows it returns a $(D core.sys.windows.windows.HANDLE). Once $(LREF wait) has been called on the $(LREF Pid), this method will return an invalid handle. */ // Note: Since HANDLE is a reference, this function cannot be const. version (Windows) @property HANDLE osHandle() @safe pure nothrow { return _handle; } else version (Posix) @property pid_t osHandle() @safe pure nothrow { return _processID; } private: /* Pid.performWait() does the dirty work for wait() and nonBlockingWait(). If block == true, this function blocks until the process terminates, sets _processID to terminated, and returns the exit code or terminating signal as described in the wait() documentation. If block == false, this function returns immediately, regardless of the status of the process. If the process has terminated, the function has the exact same effect as the blocking version. If not, it returns 0 and does not modify _processID. */ version (Posix) int performWait(bool block) @trusted { if (_processID == terminated) return _exitCode; int exitCode; while(true) { int status; auto check = waitpid(_processID, &status, block ? 0 : WNOHANG); if (check == -1) { if (errno == ECHILD) { throw new ProcessException( "Process does not exist or is not a child process."); } else { // waitpid() was interrupted by a signal. We simply // restart it. assert (errno == EINTR); continue; } } if (!block && check == 0) return 0; if (WIFEXITED(status)) { exitCode = WEXITSTATUS(status); break; } else if (WIFSIGNALED(status)) { exitCode = -WTERMSIG(status); break; } // We check again whether the call should be blocking, // since we don't care about other status changes besides // "exited" and "terminated by signal". if (!block) return 0; // Process has stopped, but not terminated, so we continue waiting. } // Mark Pid as terminated, and cache and return exit code. _processID = terminated; _exitCode = exitCode; return exitCode; } else version (Windows) { int performWait(bool block) @trusted { if (_processID == terminated) return _exitCode; assert (_handle != INVALID_HANDLE_VALUE); if (block) { auto result = WaitForSingleObject(_handle, INFINITE); if (result != WAIT_OBJECT_0) throw ProcessException.newFromLastError("Wait failed."); } if (!GetExitCodeProcess(_handle, cast(LPDWORD)&_exitCode)) throw ProcessException.newFromLastError(); if (!block && _exitCode == STILL_ACTIVE) return 0; CloseHandle(_handle); _handle = INVALID_HANDLE_VALUE; _processID = terminated; return _exitCode; } ~this() { if(_handle != INVALID_HANDLE_VALUE) { CloseHandle(_handle); _handle = INVALID_HANDLE_VALUE; } } } // Special values for _processID. enum invalid = -1, terminated = -2; // OS process ID number. Only nonnegative IDs correspond to // running processes. int _processID = invalid; // Exit code cached by wait(). This is only expected to hold a // sensible value if _processID == terminated. int _exitCode; // Pids are only meant to be constructed inside this module, so // we make the constructor private. version (Windows) { HANDLE _handle = INVALID_HANDLE_VALUE; this(int pid, HANDLE handle) @safe pure nothrow { _processID = pid; _handle = handle; } } else { this(int id) @safe pure nothrow { _processID = id; } } } /** Waits for the process associated with $(D pid) to terminate, and returns its exit status. In general one should always _wait for child processes to terminate before exiting the parent process. Otherwise, they may become "$(WEB en.wikipedia.org/wiki/Zombie_process,zombies)" – processes that are defunct, yet still occupy a slot in the OS process table. If the process has already terminated, this function returns directly. The exit code is cached, so that if wait() is called multiple times on the same $(LREF Pid) it will always return the same value. POSIX_specific: If the process is terminated by a signal, this function returns a negative number whose absolute value is the signal number. Since POSIX restricts normal exit codes to the range 0-255, a negative return value will always indicate termination by signal. Signal codes are defined in the $(D core.sys.posix.signal) module (which corresponds to the $(D signal.h) POSIX header). Throws: $(LREF ProcessException) on failure. Examples: See the $(LREF spawnProcess) documentation. See_also: $(LREF tryWait), for a non-blocking function. */ int wait(Pid pid) @safe { assert(pid !is null, "Called wait on a null Pid."); return pid.performWait(true); } unittest // Pid and wait() { version (Windows) TestScript prog = "exit %~1"; else version (Posix) TestScript prog = "exit $1"; assert (wait(spawnProcess([prog.path, "0"])) == 0); assert (wait(spawnProcess([prog.path, "123"])) == 123); auto pid = spawnProcess([prog.path, "10"]); assert (pid.processID > 0); version (Windows) assert (pid.osHandle != INVALID_HANDLE_VALUE); else version (Posix) assert (pid.osHandle == pid.processID); assert (wait(pid) == 10); assert (wait(pid) == 10); // cached exit code assert (pid.processID < 0); version (Windows) assert (pid.osHandle == INVALID_HANDLE_VALUE); else version (Posix) assert (pid.osHandle < 0); } /** A non-blocking version of $(LREF wait). If the process associated with $(D pid) has already terminated, $(D tryWait) has the exact same effect as $(D wait). In this case, it returns a struct where the $(D terminated) field is set to $(D true) and the $(D status) field has the same interpretation as the return value of $(D wait). If the process has $(I not) yet terminated, this function differs from $(D wait) in that does not wait for this to happen, but instead returns immediately. The $(D terminated) field of the returned tuple will then be set to $(D false), while the $(D status) field will always be 0 (zero). $(D wait) or $(D tryWait) should then be called again on the same $(D Pid) at some later time; not only to get the exit code, but also to avoid the process becoming a "zombie" when it finally terminates. (See $(LREF wait) for details). Returns: A $(D struct) which contains the fields $(D bool terminated) and $(D int status). (This will most likely change to become a $(D std.typecons.Tuple!(bool,"terminated",int,"status")) in the future, but a compiler bug currently prevents this.) Throws: $(LREF ProcessException) on failure. Example: --- auto pid = spawnProcess("dmd myapp.d"); scope(exit) wait(pid); ... auto dmd = tryWait(pid); if (dmd.terminated) { if (dmd.status == 0) writeln("Compilation succeeded!"); else writeln("Compilation failed"); } else writeln("Still compiling..."); ... --- Note that in this example, the first $(D wait) call will have no effect if the process has already terminated by the time $(D tryWait) is called. In the opposite case, however, the $(D scope) statement ensures that we always wait for the process if it hasn't terminated by the time we reach the end of the scope. */ auto tryWait(Pid pid) @safe { struct TryWaitResult { bool terminated; int status; } assert(pid !is null, "Called tryWait on a null Pid."); auto code = pid.performWait(false); return TryWaitResult(pid._processID == Pid.terminated, code); } // unittest: This function is tested together with kill() below. /** Attempts to terminate the process associated with $(D pid). The effect of this function, as well as the meaning of $(D codeOrSignal), is highly platform dependent. Details are given below. Common to all platforms is that this function only $(I initiates) termination of the process, and returns immediately. It does not wait for the process to end, nor does it guarantee that the process does in fact get terminated. Always call $(LREF wait) to wait for a process to complete, even if $(D kill) has been called on it. Windows_specific: The process will be $(LINK2 http://msdn.microsoft.com/en-us/library/windows/desktop/ms686714%28v=vs.100%29.aspx, forcefully and abruptly terminated). If $(D codeOrSignal) is specified, it must be a nonnegative number which will be used as the exit code of the process. If not, the process wil exit with code 1. Do not use $(D codeOrSignal = 259), as this is a special value (aka. $(LINK2 http://msdn.microsoft.com/en-us/library/windows/desktop/ms683189.aspx,STILL_ACTIVE)) used by Windows to signal that a process has in fact $(I not) terminated yet. --- auto pid = spawnProcess("some_app"); kill(pid, 10); assert (wait(pid) == 10); --- $(RED Warning:) The mechanisms for process termination are $(LINK2 http://blogs.msdn.com/b/oldnewthing/archive/2007/05/03/2383346.aspx, incredibly badly specified) in the Windows API. This function may therefore produce unexpected results, and should be used with the utmost care. POSIX_specific: A $(LINK2 http://en.wikipedia.org/wiki/Unix_signal,signal) will be sent to the process, whose value is given by $(D codeOrSignal). Depending on the signal sent, this may or may not terminate the process. Symbolic constants for various $(LINK2 http://en.wikipedia.org/wiki/Unix_signal#POSIX_signals, POSIX signals) are defined in $(D core.sys.posix.signal), which corresponds to the $(LINK2 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html, $(D signal.h) POSIX header). If $(D codeOrSignal) is omitted, the $(D SIGTERM) signal will be sent. (This matches the behaviour of the $(LINK2 http://pubs.opengroup.org/onlinepubs/9699919799/utilities/kill.html, $(D _kill)) shell command.) --- import core.sys.posix.signal: SIGKILL; auto pid = spawnProcess("some_app"); kill(pid, SIGKILL); assert (wait(pid) == -SIGKILL); // Negative return value on POSIX! --- Throws: $(LREF ProcessException) on error (e.g. if codeOrSignal is invalid). Note that failure to terminate the process is considered a "normal" outcome, not an error.$(BR) */ void kill(Pid pid) { version (Windows) kill(pid, 1); else version (Posix) { import core.sys.posix.signal: SIGTERM; kill(pid, SIGTERM); } } /// ditto void kill(Pid pid, int codeOrSignal) { version (Windows) { if (codeOrSignal < 0) throw new ProcessException("Invalid exit code"); version (Win32) { // On Windows XP, TerminateProcess() appears to terminate the // *current* process if it is passed an invalid handle... if (pid.osHandle == INVALID_HANDLE_VALUE) throw new ProcessException("Invalid process handle"); } if (!TerminateProcess(pid.osHandle, codeOrSignal)) throw ProcessException.newFromLastError(); } else version (Posix) { import core.sys.posix.signal; if (kill(pid.osHandle, codeOrSignal) == -1) throw ProcessException.newFromErrno(); } } unittest // tryWait() and kill() { import core.thread; // The test script goes into an infinite loop. version (Windows) { TestScript prog = ":loop goto loop"; } else version (Posix) { import core.sys.posix.signal: SIGTERM, SIGKILL; TestScript prog = "while true; do sleep 1; done"; } auto pid = spawnProcess(prog.path); Thread.sleep(dur!"seconds"(1)); kill(pid); version (Windows) assert (wait(pid) == 1); else version (Posix) assert (wait(pid) == -SIGTERM); pid = spawnProcess(prog.path); Thread.sleep(dur!"seconds"(1)); auto s = tryWait(pid); assert (!s.terminated && s.status == 0); assertThrown!ProcessException(kill(pid, -123)); // Negative code not allowed. version (Windows) kill(pid, 123); else version (Posix) kill(pid, SIGKILL); do { s = tryWait(pid); } while (!s.terminated); version (Windows) assert (s.status == 123); else version (Posix) assert (s.status == -SIGKILL); assertThrown!ProcessException(kill(pid)); } /** Creates a unidirectional _pipe. Data is written to one end of the _pipe and read from the other. --- auto p = pipe(); p.writeEnd.writeln("Hello World"); assert (p.readEnd.readln().chomp() == "Hello World"); --- Pipes can, for example, be used for interprocess communication by spawning a new process and passing one end of the _pipe to the child, while the parent uses the other end. (See also $(LREF pipeProcess) and $(LREF pipeShell) for an easier way of doing this.) --- // Use cURL to download the dlang.org front page, pipe its // output to grep to extract a list of links to ZIP files, // and write the list to the file "D downloads.txt": auto p = pipe(); auto outFile = File("D downloads.txt", "w"); auto cpid = spawnProcess(["curl", "http://dlang.org/download.html"], std.stdio.stdin, p.writeEnd); scope(exit) wait(cpid); auto gpid = spawnProcess(["grep", "-o", `http://\S*\.zip`], p.readEnd, outFile); scope(exit) wait(gpid); --- Returns: A $(LREF Pipe) object that corresponds to the created _pipe. Throws: $(XREF stdio,StdioException) on failure. */ version (Posix) Pipe pipe() @trusted //TODO: @safe { int[2] fds; if (core.sys.posix.unistd.pipe(fds) != 0) throw new StdioException("Unable to create pipe"); Pipe p; auto readFP = fdopen(fds[0], "r"); if (readFP == null) throw new StdioException("Cannot open read end of pipe"); p._read = File(readFP, null); auto writeFP = fdopen(fds[1], "w"); if (writeFP == null) throw new StdioException("Cannot open write end of pipe"); p._write = File(writeFP, null); return p; } else version (Windows) Pipe pipe() @trusted //TODO: @safe { // use CreatePipe to create an anonymous pipe HANDLE readHandle; HANDLE writeHandle; if (!CreatePipe(&readHandle, &writeHandle, null, 0)) { throw new StdioException( "Error creating pipe (" ~ sysErrorString(GetLastError()) ~ ')', 0); } // Create file descriptors from the handles version (DMC_RUNTIME) { auto readFD = _handleToFD(readHandle, FHND_DEVICE); auto writeFD = _handleToFD(writeHandle, FHND_DEVICE); } else // MSVCRT { auto readFD = _open_osfhandle(readHandle, _O_RDONLY); auto writeFD = _open_osfhandle(writeHandle, _O_APPEND); } version (DMC_RUNTIME) alias .close _close; if (readFD == -1 || writeFD == -1) { // Close file descriptors, then throw. if (readFD >= 0) _close(readFD); else CloseHandle(readHandle); if (writeFD >= 0) _close(writeFD); else CloseHandle(writeHandle); throw new StdioException("Error creating pipe"); } // Create FILE pointers from the file descriptors Pipe p; version (DMC_RUNTIME) { // This is a re-implementation of DMC's fdopen, but without the // mucking with the file descriptor. POSIX standard requires the // new fdopen'd file to retain the given file descriptor's // position. FILE * local_fdopen(int fd, const(char)* mode) { auto fp = core.stdc.stdio.fopen("NUL", mode); if(!fp) return null; FLOCK(fp); auto iob = cast(_iobuf*)fp; .close(iob._file); iob._file = fd; iob._flag &= ~_IOTRAN; FUNLOCK(fp); return fp; } auto readFP = local_fdopen(readFD, "r"); auto writeFP = local_fdopen(writeFD, "a"); } else // MSVCRT { auto readFP = _fdopen(readFD, "r"); auto writeFP = _fdopen(writeFD, "a"); } if (readFP == null || writeFP == null) { // Close streams, then throw. if (readFP != null) fclose(readFP); else _close(readFD); if (writeFP != null) fclose(writeFP); else _close(writeFD); throw new StdioException("Cannot open pipe"); } p._read = File(readFP, null); p._write = File(writeFP, null); return p; } /// An interface to a pipe created by the $(LREF pipe) function. struct Pipe { /// The read end of the pipe. @property File readEnd() @trusted /*TODO: @safe nothrow*/ { return _read; } /// The write end of the pipe. @property File writeEnd() @trusted /*TODO: @safe nothrow*/ { return _write; } /** Closes both ends of the pipe. Normally it is not necessary to do this manually, as $(XREF stdio,File) objects are automatically closed when there are no more references to them. Note that if either end of the pipe has been passed to a child process, it will only be closed in the parent process. (What happens in the child process is platform dependent.) */ void close() @trusted //TODO: @safe nothrow { _read.close(); _write.close(); } private: File _read, _write; } unittest { auto p = pipe(); p.writeEnd.writeln("Hello World"); p.writeEnd.flush(); assert (p.readEnd.readln().chomp() == "Hello World"); p.close(); assert (!p.readEnd.isOpen); assert (!p.writeEnd.isOpen); } /** Starts a new process, creating pipes to redirect its standard input, output and/or error streams. $(D pipeProcess) and $(D pipeShell) are convenient wrappers around $(LREF spawnProcess) and $(LREF spawnShell), respectively, and automate the task of redirecting one or more of the child process' standard streams through pipes. Like the functions they wrap, these functions return immediately, leaving the child process to execute in parallel with the invoking process. It is recommended to always call $(LREF wait) on the returned $(LREF ProcessPipes.pid), as detailed in the documentation for $(D wait). The $(D args)/$(D program)/$(D command), $(D env) and $(D config) parameters are forwarded straight to the underlying spawn functions, and we refer to their documentation for details. Params: args = An array which contains the program name as the zeroth element and any command-line arguments in the following elements. (See $(LREF spawnProcess) for details.) program = The program name, $(I without) command-line arguments. (See $(LREF spawnProcess) for details.) command = A shell command which is passed verbatim to the command interpreter. (See $(LREF spawnShell) for details.) redirect = Flags that determine which streams are redirected, and how. See $(LREF Redirect) for an overview of available flags. env = Additional environment variables for the child process. (See $(LREF spawnProcess) for details.) config = Flags that control process creation. See $(LREF Config) for an overview of available flags, and note that the $(D retainStd...) flags have no effect in this function. Returns: A $(LREF ProcessPipes) object which contains $(XREF stdio,File) handles that communicate with the redirected streams of the child process, along with a $(LREF Pid) object that corresponds to the spawned process. Throws: $(LREF ProcessException) on failure to start the process.$(BR) $(XREF stdio,StdioException) on failure to redirect any of the streams.$(BR) Example: --- auto pipes = pipeProcess("my_application", Redirect.stdout | Redirect.stderr); scope(exit) wait(pipes.pid); // Store lines of output. string[] output; foreach (line; pipes.stdout.byLine) output ~= line.idup; // Store lines of errors. string[] errors; foreach (line; pipes.stderr.byLine) errors ~= line.idup; --- */ ProcessPipes pipeProcess(string[] args, Redirect redirectFlags = Redirect.all, const string[string] env = null, Config config = Config.none) @trusted //TODO: @safe { return pipeProcessImpl!spawnProcess(args, redirectFlags, env, config); } /// ditto ProcessPipes pipeProcess(string program, Redirect redirectFlags = Redirect.all, const string[string] env = null, Config config = Config.none) @trusted { return pipeProcessImpl!spawnProcess(program, redirectFlags, env, config); } /// ditto ProcessPipes pipeShell(string command, Redirect redirectFlags = Redirect.all, const string[string] env = null, Config config = Config.none) @safe { return pipeProcessImpl!spawnShell(command, redirectFlags, env, config); } // Implementation of the pipeProcess() family of functions. private ProcessPipes pipeProcessImpl(alias spawnFunc, Cmd) (Cmd command, Redirect redirectFlags, const string[string] env = null, Config config = Config.none) @trusted //TODO: @safe { File childStdin, childStdout, childStderr; ProcessPipes pipes; pipes._redirectFlags = redirectFlags; if (redirectFlags & Redirect.stdin) { auto p = pipe(); childStdin = p.readEnd; pipes._stdin = p.writeEnd; } else { childStdin = std.stdio.stdin; } if (redirectFlags & Redirect.stdout) { if ((redirectFlags & Redirect.stdoutToStderr) != 0) throw new StdioException("Cannot create pipe for stdout AND " ~"redirect it to stderr", 0); auto p = pipe(); childStdout = p.writeEnd; pipes._stdout = p.readEnd; } else { childStdout = std.stdio.stdout; } if (redirectFlags & Redirect.stderr) { if ((redirectFlags & Redirect.stderrToStdout) != 0) throw new StdioException("Cannot create pipe for stderr AND " ~"redirect it to stdout", 0); auto p = pipe(); childStderr = p.writeEnd; pipes._stderr = p.readEnd; } else { childStderr = std.stdio.stderr; } if (redirectFlags & Redirect.stdoutToStderr) { if (redirectFlags & Redirect.stderrToStdout) { // We know that neither of the other options have been // set, so we assign the std.stdio.std* streams directly. childStdout = std.stdio.stderr; childStderr = std.stdio.stdout; } else { childStdout = childStderr; } } else if (redirectFlags & Redirect.stderrToStdout) { childStderr = childStdout; } config &= ~(Config.retainStdin | Config.retainStdout | Config.retainStderr); pipes._pid = spawnFunc(command, childStdin, childStdout, childStderr, env, config); return pipes; } /** Flags that can be passed to $(LREF pipeProcess) and $(LREF pipeShell) to specify which of the child process' standard streams are redirected. Use bitwise OR to combine flags. */ enum Redirect { /// Redirect the standard input, output or error streams, respectively. stdin = 1, stdout = 2, /// ditto stderr = 4, /// ditto /** Redirect _all three streams. This is equivalent to $(D Redirect.stdin | Redirect.stdout | Redirect.stderr). */ all = stdin | stdout | stderr, /** Redirect the standard error stream into the standard output stream. This can not be combined with $(D Redirect.stderr). */ stderrToStdout = 8, /** Redirect the standard output stream into the standard error stream. This can not be combined with $(D Redirect.stdout). */ stdoutToStderr = 16, } unittest { version (Windows) TestScript prog = "call :sub %~1 %~2 0 call :sub %~1 %~2 1 call :sub %~1 %~2 2 call :sub %~1 %~2 3 exit 3 :sub set /p INPUT= if -%INPUT%-==-stop- ( exit %~3 ) echo %INPUT% %~1 echo %INPUT% %~2 1>&2"; else version (Posix) TestScript prog = `for EXITCODE in 0 1 2 3; do read INPUT if test "$INPUT" = stop; then break; fi echo "$INPUT $1" echo "$INPUT $2" >&2 done exit $EXITCODE`; auto pp = pipeProcess([prog.path, "bar", "baz"]); pp.stdin.writeln("foo"); pp.stdin.flush(); assert (pp.stdout.readln().chomp() == "foo bar"); assert (pp.stderr.readln().chomp().stripRight() == "foo baz"); pp.stdin.writeln("1234567890"); pp.stdin.flush(); assert (pp.stdout.readln().chomp() == "1234567890 bar"); assert (pp.stderr.readln().chomp().stripRight() == "1234567890 baz"); pp.stdin.writeln("stop"); pp.stdin.flush(); assert (wait(pp.pid) == 2); pp = pipeProcess([prog.path, "12345", "67890"], Redirect.stdin | Redirect.stdout | Redirect.stderrToStdout); pp.stdin.writeln("xyz"); pp.stdin.flush(); assert (pp.stdout.readln().chomp() == "xyz 12345"); assert (pp.stdout.readln().chomp().stripRight() == "xyz 67890"); pp.stdin.writeln("stop"); pp.stdin.flush(); assert (wait(pp.pid) == 1); pp = pipeShell(prog.path~" AAAAA BBB", Redirect.stdin | Redirect.stdoutToStderr | Redirect.stderr); pp.stdin.writeln("ab"); pp.stdin.flush(); assert (pp.stderr.readln().chomp() == "ab AAAAA"); assert (pp.stderr.readln().chomp().stripRight() == "ab BBB"); pp.stdin.writeln("stop"); pp.stdin.flush(); assert (wait(pp.pid) == 1); } unittest { TestScript prog = "exit 0"; assertThrown!StdioException(pipeProcess( prog.path, Redirect.stdout | Redirect.stdoutToStderr)); assertThrown!StdioException(pipeProcess( prog.path, Redirect.stderr | Redirect.stderrToStdout)); auto p = pipeProcess(prog.path, Redirect.stdin); assertThrown!Error(p.stdout); assertThrown!Error(p.stderr); wait(p.pid); p = pipeProcess(prog.path, Redirect.stderr); assertThrown!Error(p.stdin); assertThrown!Error(p.stdout); wait(p.pid); } /** Object which contains $(XREF stdio,File) handles that allow communication with a child process through its standard streams. */ struct ProcessPipes { /// The $(LREF Pid) of the child process. @property Pid pid() @safe nothrow { assert(_pid !is null); return _pid; } /** An $(XREF stdio,File) that allows writing to the child process' standard input stream. Throws: $(OBJECTREF Error) if the child process' standard input stream hasn't been redirected. */ @property File stdin() @trusted //TODO: @safe nothrow { if ((_redirectFlags & Redirect.stdin) == 0) throw new Error("Child process' standard input stream hasn't " ~"been redirected."); return _stdin; } /** An $(XREF stdio,File) that allows reading from the child process' standard output stream. Throws: $(OBJECTREF Error) if the child process' standard output stream hasn't been redirected. */ @property File stdout() @trusted //TODO: @safe nothrow { if ((_redirectFlags & Redirect.stdout) == 0) throw new Error("Child process' standard output stream hasn't " ~"been redirected."); return _stdout; } /** An $(XREF stdio,File) that allows reading from the child process' standard error stream. Throws: $(OBJECTREF Error) if the child process' standard error stream hasn't been redirected. */ @property File stderr() @trusted //TODO: @safe nothrow { if ((_redirectFlags & Redirect.stderr) == 0) throw new Error("Child process' standard error stream hasn't " ~"been redirected."); return _stderr; } private: Redirect _redirectFlags; Pid _pid; File _stdin, _stdout, _stderr; } /** Executes the given program or shell command and returns its exit code and output. $(D execute) and $(D executeShell) start a new process using $(LREF spawnProcess) and $(LREF spawnShell), respectively, and wait for the process to complete before returning. The functions capture what the child process prints to both its standard output and standard error streams, and return this together with its exit code. --- auto dmd = execute("dmd", "myapp.d"); if (dmd.status != 0) writeln("Compilation failed:\n", dmd.output); auto ls = executeShell("ls -l"); if (ls.status == 0) writeln("Failed to retrieve file listing"); else writeln(ls.output); --- The $(D args)/$(D program)/$(D command), $(D env) and $(D config) parameters are forwarded straight to the underlying spawn functions, and we refer to their documentation for details. Params: args = An array which contains the program name as the zeroth element and any command-line arguments in the following elements. (See $(LREF spawnProcess) for details.) program = The program name, $(I without) command-line arguments. (See $(LREF spawnProcess) for details.) command = A shell command which is passed verbatim to the command interpreter. (See $(LREF spawnShell) for details.) env = Additional environment variables for the child process. (See $(LREF spawnProcess) for details.) config = Flags that control process creation. See $(LREF Config) for an overview of available flags, and note that the $(D retainStd...) flags have no effect in this function. maxOutput = The maximum number of bytes of output that should be captured. Returns: A $(D struct) which contains the fields $(D int status) and $(D string output). (This will most likely change to become a $(D std.typecons.Tuple!(int,"status",string,"output")) in the future, but a compiler bug currently prevents this.) POSIX_specific: If the process is terminated by a signal, the $(D status) field of the return value will contain a negative number whose absolute value is the signal number. (See $(LREF wait) for details.) Throws: $(LREF ProcessException) on failure to start the process.$(BR) $(XREF stdio,StdioException) on failure to capture output. */ auto execute(string[] args, const string[string] env = null, Config config = Config.none, size_t maxOutput = size_t.max) @trusted //TODO: @safe { return executeImpl!pipeProcess(args, env, config, maxOutput); } /// ditto auto execute(string program, const string[string] env = null, Config config = Config.none, size_t maxOutput = size_t.max) @trusted //TODO: @safe { return executeImpl!pipeProcess(program, env, config, maxOutput); } /// ditto auto executeShell(string command, const string[string] env = null, Config config = Config.none, size_t maxOutput = size_t.max) @trusted //TODO: @safe { return executeImpl!pipeShell(command, env, config, maxOutput); } // Does the actual work for execute() and executeShell(). private auto executeImpl(alias pipeFunc, Cmd)( Cmd commandLine, const string[string] env = null, Config config = Config.none, size_t maxOutput = size_t.max) { auto p = pipeFunc(commandLine, Redirect.stdout | Redirect.stderrToStdout, env, config); auto a = appender!(ubyte[])(); enum size_t defaultChunkSize = 4096; immutable chunkSize = min(maxOutput, defaultChunkSize); // Store up to maxOutput bytes in a. foreach (ubyte[] chunk; p.stdout.byChunk(chunkSize)) { immutable size_t remain = maxOutput - a.data().length; if (chunk.length < remain) a.put(chunk); else { a.put(chunk[0 .. remain]); break; } } // Exhaust the stream, if necessary. foreach (ubyte[] chunk; p.stdout.byChunk(defaultChunkSize)) { } struct ProcessOutput { int status; string output; } return ProcessOutput(wait(p.pid), cast(string) a.data); } unittest { // To avoid printing the newline characters, we use the echo|set trick on // Windows, and printf on POSIX (neither echo -n nor echo \c are portable). version (Windows) TestScript prog = "echo|set /p=%~1 echo|set /p=%~2 1>&2 exit 123"; else version (Posix) TestScript prog = `printf '%s' $1 printf '%s' $2 >&2 exit 123`; auto r = execute([prog.path, "foo", "bar"]); assert (r.status == 123); assert (r.output.stripRight() == "foobar"); auto s = execute([prog.path, "Hello", "World"]); assert (s.status == 123); assert (s.output.stripRight() == "HelloWorld"); } unittest { auto r1 = executeShell("echo foo"); assert (r1.status == 0); assert (r1.output.chomp() == "foo"); auto r2 = executeShell("echo bar 1>&2"); assert (r2.status == 0); assert (r2.output.chomp().stripRight() == "bar"); auto r3 = executeShell("exit 123"); assert (r3.status == 123); assert (r3.output.empty); } /// An exception that signals a problem with starting or waiting for a process. class ProcessException : Exception { // Standard constructor. this(string msg, string file = __FILE__, size_t line = __LINE__) { super(msg, file, line); } // Creates a new ProcessException based on errno. static ProcessException newFromErrno(string customMsg = null, string file = __FILE__, size_t line = __LINE__) { import core.stdc.errno; import std.c.string; version (linux) { char[1024] buf; auto errnoMsg = to!string( std.c.string.strerror_r(errno, buf.ptr, buf.length)); } else { auto errnoMsg = to!string(std.c.string.strerror(errno)); } auto msg = customMsg.empty() ? errnoMsg : customMsg ~ " (" ~ errnoMsg ~ ')'; return new ProcessException(msg, file, line); } // Creates a new ProcessException based on GetLastError() (Windows only). version (Windows) static ProcessException newFromLastError(string customMsg = null, string file = __FILE__, size_t line = __LINE__) { auto lastMsg = sysErrorString(GetLastError()); auto msg = customMsg.empty() ? lastMsg : customMsg ~ " (" ~ lastMsg ~ ')'; return new ProcessException(msg, file, line); } } /** Determines the path to the current user's default command interpreter. On Windows, this function returns the contents of the COMSPEC environment variable, if it exists. Otherwise, it returns the string $(D "cmd.exe"). On POSIX, $(D userShell) returns the contents of the SHELL environment variable, if it exists and is non-empty. Otherwise, it returns $(D "/bin/sh"). */ @property string userShell() @safe //TODO: nothrow { version (Windows) return environment.get("COMSPEC", "cmd.exe"); else version (Posix) return environment.get("SHELL", "/bin/sh"); } // A command-line switch that indicates to the shell that it should // interpret the following argument as a command to be executed. version (Posix) private immutable string shellSwitch = "-c"; version (Windows) private immutable string shellSwitch = "/C"; /// Returns the process ID number of the current process. @property int thisProcessID() @trusted //TODO: @safe nothrow { version (Windows) return GetCurrentProcessId(); else version (Posix) return getpid(); } // Unittest support code: TestScript takes a string that contains a // shell script for the current platform, and writes it to a temporary // file. On Windows the file name gets a .cmd extension, while on // POSIX its executable permission bit is set. The file is // automatically deleted when the object goes out of scope. version (unittest) private struct TestScript { this(string code) { import std.ascii, std.file; version (Windows) { auto ext = ".cmd"; auto firstLine = "@echo off"; } else version (Posix) { auto ext = ""; auto firstLine = "#!/bin/sh"; } path = uniqueTempPath()~ext; std.file.write(path, firstLine~std.ascii.newline~code~std.ascii.newline); version (Posix) { import core.sys.posix.sys.stat; chmod(toStringz(path), octal!777); } } ~this() { import std.file; if (!path.empty && exists(path)) { try { remove(path); } catch (Exception e) { debug std.stdio.stderr.writeln(e.msg); } } } string path; } version (unittest) private string uniqueTempPath() { import std.file, std.uuid; return buildPath(tempDir(), randomUUID().toString()); } // ============================================================================= // Functions for shell command quoting/escaping. // ============================================================================= /* Command line arguments exist in three forms: 1) string or char* array, as received by main. Also used internally on POSIX systems. 2) Command line string, as used in Windows' CreateProcess and CommandLineToArgvW functions. A specific quoting and escaping algorithm is used to distinguish individual arguments. 3) Shell command string, as written at a shell prompt or passed to cmd /C - this one may contain shell control characters, e.g. > or | for redirection / piping - thus, yet another layer of escaping is used to distinguish them from program arguments. Except for escapeWindowsArgument, the intermediary format (2) is hidden away from the user in this module. */ /** Escapes an argv-style argument array to be used with $(LREF spawnShell), $(LREF pipeShell) or $(LREF executeShell). --- string url = "http://dlang.org/"; executeShell(escapeShellCommand("wget", url, "-O", "dlang-index.html")); --- Concatenate multiple $(D escapeShellCommand) and $(LREF escapeShellFileName) results to use shell redirection or piping operators. --- executeShell( escapeShellCommand("curl", "http://dlang.org/download.html") ~ "|" ~ escapeShellCommand("grep", "-o", `http://\S*\.zip`) ~ ">" ~ escapeShellFileName("D download links.txt")); --- Throws: $(OBJECTREF Exception) if any part of the command line contains unescapable characters (NUL on all platforms, as well as CR and LF on Windows). */ string escapeShellCommand(in char[][] args...) //TODO: @safe pure nothrow { return escapeShellCommandString(escapeShellArguments(args)); } private string escapeShellCommandString(string command) //TODO: @safe pure nothrow { version (Windows) return escapeWindowsShellCommand(command); else return command; } private string escapeWindowsShellCommand(in char[] command) //TODO: @safe pure nothrow (prevented by Appender) { auto result = appender!string(); result.reserve(command.length); foreach (c; command) switch (c) { case '\0': throw new Exception("Cannot put NUL in command line"); case '\r': case '\n': throw new Exception("CR/LF are not escapable"); case '\x01': .. case '\x09': case '\x0B': .. case '\x0C': case '\x0E': .. case '\x1F': case '"': case '^': case '&': case '<': case '>': case '|': result.put('^'); goto default; default: result.put(c); } return result.data; } private string escapeShellArguments(in char[][] args...) @trusted pure nothrow { char[] buf; @safe nothrow char[] allocator(size_t size) { if (buf.length == 0) return buf = new char[size]; else { auto p = buf.length; buf.length = buf.length + 1 + size; buf[p++] = ' '; return buf[p..p+size]; } } foreach (arg; args) escapeShellArgument!allocator(arg); return assumeUnique(buf); } private auto escapeShellArgument(alias allocator)(in char[] arg) @safe nothrow { // The unittest for this function requires special // preparation - see below. version (Windows) return escapeWindowsArgumentImpl!allocator(arg); else return escapePosixArgumentImpl!allocator(arg); } /** Quotes a command-line argument in a manner conforming to the behavior of $(LINK2 http://msdn.microsoft.com/en-us/library/windows/desktop/bb776391(v=vs.85).aspx, CommandLineToArgvW). */ string escapeWindowsArgument(in char[] arg) @trusted pure nothrow { // Rationale for leaving this function as public: // this algorithm of escaping paths is also used in other software, // e.g. DMD's response files. auto buf = escapeWindowsArgumentImpl!charAllocator(arg); return assumeUnique(buf); } private char[] charAllocator(size_t size) @safe pure nothrow { return new char[size]; } private char[] escapeWindowsArgumentImpl(alias allocator)(in char[] arg) @safe nothrow if (is(typeof(allocator(size_t.init)[0] = char.init))) { // References: // * http://msdn.microsoft.com/en-us/library/windows/desktop/bb776391(v=vs.85).aspx // * http://blogs.msdn.com/b/oldnewthing/archive/2010/09/17/10063629.aspx // Calculate the total string size. // Trailing backslashes must be escaped bool escaping = true; // Result size = input size + 2 for surrounding quotes + 1 for the // backslash for each escaped character. size_t size = 1 + arg.length + 1; foreach_reverse (c; arg) { if (c == '"') { escaping = true; size++; } else if (c == '\\') { if (escaping) size++; } else escaping = false; } // Construct result string. auto buf = allocator(size); size_t p = size; buf[--p] = '"'; escaping = true; foreach_reverse (c; arg) { if (c == '"') escaping = true; else if (c != '\\') escaping = false; buf[--p] = c; if (escaping) buf[--p] = '\\'; } buf[--p] = '"'; assert(p == 0); return buf; } version(Windows) version(unittest) { import core.sys.windows.windows; import core.stdc.stddef; extern (Windows) wchar_t** CommandLineToArgvW(wchar_t*, int*); extern (C) size_t wcslen(in wchar *); unittest { string[] testStrings = [ `Hello`, `Hello, world`, `Hello, "world"`, `C:\`, `C:\dmd`, `C:\Program Files\`, ]; enum CHARS = `_x\" *&^`; // _ is placeholder for nothing foreach (c1; CHARS) foreach (c2; CHARS) foreach (c3; CHARS) foreach (c4; CHARS) testStrings ~= [c1, c2, c3, c4].replace("_", ""); foreach (s; testStrings) { auto q = escapeWindowsArgument(s); LPWSTR lpCommandLine = (to!(wchar[])("Dummy.exe " ~ q) ~ "\0"w).ptr; int numArgs; LPWSTR* args = CommandLineToArgvW(lpCommandLine, &numArgs); scope(exit) LocalFree(args); assert(numArgs==2, s ~ " => " ~ q ~ " #" ~ text(numArgs-1)); auto arg = to!string(args[1][0..wcslen(args[1])]); assert(arg == s, s ~ " => " ~ q ~ " => " ~ arg); } } } private string escapePosixArgument(in char[] arg) @trusted pure nothrow { auto buf = escapePosixArgumentImpl!charAllocator(arg); return assumeUnique(buf); } private char[] escapePosixArgumentImpl(alias allocator)(in char[] arg) @safe nothrow if (is(typeof(allocator(size_t.init)[0] = char.init))) { // '\'' means: close quoted part of argument, append an escaped // single quote, and reopen quotes // Below code is equivalent to: // return `'` ~ std.array.replace(arg, `'`, `'\''`) ~ `'`; size_t size = 1 + arg.length + 1; foreach (c; arg) if (c == '\'') size += 3; auto buf = allocator(size); size_t p = 0; buf[p++] = '\''; foreach (c; arg) if (c == '\'') { buf[p..p+4] = `'\''`; p += 4; } else buf[p++] = c; buf[p++] = '\''; assert(p == size); return buf; } /** Escapes a filename to be used for shell redirection with $(LREF spawnShell), $(LREF pipeShell) or $(LREF executeShell). */ string escapeShellFileName(in char[] fileName) @trusted pure nothrow { // The unittest for this function requires special // preparation - see below. version (Windows) return cast(string)('"' ~ fileName ~ '"'); else return escapePosixArgument(fileName); } // Loop generating strings with random characters //version = unittest_burnin; version(unittest_burnin) unittest { // There are no readily-available commands on all platforms suitable // for properly testing command escaping. The behavior of CMD's "echo" // built-in differs from the POSIX program, and Windows ports of POSIX // environments (Cygwin, msys, gnuwin32) may interfere with their own // "echo" ports. // To run this unit test, create std_process_unittest_helper.d with the // following content and compile it: // import std.stdio, std.array; void main(string[] args) { write(args.join("\0")); } // Then, test this module with: // rdmd --main -unittest -version=unittest_burnin process.d auto helper = absolutePath("std_process_unittest_helper"); assert(shell(helper ~ " hello").split("\0")[1..$] == ["hello"], "Helper malfunction"); void test(string[] s, string fn) { string e; string[] g; e = escapeShellCommand(helper ~ s); { scope(failure) writefln("shell() failed.\nExpected:\t%s\nEncoded:\t%s", s, [e]); g = shell(e).split("\0")[1..$]; } assert(s == g, format("shell() test failed.\nExpected:\t%s\nGot:\t\t%s\nEncoded:\t%s", s, g, [e])); e = escapeShellCommand(helper ~ s) ~ ">" ~ escapeShellFileName(fn); { scope(failure) writefln("system() failed.\nExpected:\t%s\nFilename:\t%s\nEncoded:\t%s", s, [fn], [e]); system(e); g = readText(fn).split("\0")[1..$]; } remove(fn); assert(s == g, format("system() test failed.\nExpected:\t%s\nGot:\t\t%s\nEncoded:\t%s", s, g, [e])); } while (true) { string[] args; foreach (n; 0..uniform(1, 4)) { string arg; foreach (l; 0..uniform(0, 10)) { dchar c; while (true) { version (Windows) { // As long as DMD's system() uses CreateProcessA, // we can't reliably pass Unicode c = uniform(0, 128); } else c = uniform!ubyte(); if (c == 0) continue; // argv-strings are zero-terminated version (Windows) if (c == '\r' || c == '\n') continue; // newlines are unescapable on Windows break; } arg ~= c; } args ~= arg; } // generate filename string fn = "test_"; foreach (l; 0..uniform(1, 10)) { dchar c; while (true) { version (Windows) c = uniform(0, 128); // as above else c = uniform!ubyte(); if (c == 0 || c == '/') continue; // NUL and / are the only characters // forbidden in POSIX filenames version (Windows) if (c < '\x20' || c == '<' || c == '>' || c == ':' || c == '"' || c == '\\' || c == '|' || c == '?' || c == '*') continue; // http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx break; } fn ~= c; } test(args, fn); } } // ============================================================================= // Environment variable manipulation. // ============================================================================= /** Manipulates _environment variables using an associative-array-like interface. This class contains only static methods, and cannot be instantiated. See below for examples of use. */ abstract final class environment { static: /** Retrieves the value of the environment variable with the given $(D name). --- auto path = environment["PATH"]; --- Throws: $(OBJECTREF Exception) if the environment variable does not exist. See_also: $(LREF environment.get), which doesn't throw on failure. */ string opIndex(string name) @safe { string value; enforce(getImpl(name, value), "Environment variable not found: "~name); return value; } /** Retrieves the value of the environment variable with the given $(D name), or a default value if the variable doesn't exist. Unlike $(LREF environment.opIndex), this function never throws. --- auto sh = environment.get("SHELL", "/bin/sh"); --- This function is also useful in checking for the existence of an environment variable. --- auto myVar = environment.get("MYVAR"); if (myVar is null) { // Environment variable doesn't exist. // Note that we have to use 'is' for the comparison, since // myVar == null is also true if the variable exists but is // empty. } --- */ string get(string name, string defaultValue = null) @safe //TODO: nothrow { string value; auto found = getImpl(name, value); return found ? value : defaultValue; } /** Assigns the given $(D value) to the environment variable with the given $(D name). If the variable does not exist, it will be created. If it already exists, it will be overwritten. --- environment["foo"] = "bar"; --- Throws: $(OBJECTREF Exception) if the environment variable could not be added (e.g. if the name is invalid). */ string opIndexAssign(string value, string name) @trusted { version (Posix) { if (core.sys.posix.stdlib.setenv(toStringz(name), toStringz(value), 1) != -1) { return value; } // The default errno error message is very uninformative // in the most common case, so we handle it manually. enforce(errno != EINVAL, "Invalid environment variable name: '"~name~"'"); errnoEnforce(false, "Failed to add environment variable"); assert(0); } else version (Windows) { enforce( SetEnvironmentVariableW(toUTF16z(name), toUTF16z(value)), sysErrorString(GetLastError()) ); return value; } else static assert(0); } /** Removes the environment variable with the given $(D name). If the variable isn't in the environment, this function returns successfully without doing anything. */ void remove(string name) @trusted // TODO: @safe nothrow { version (Windows) SetEnvironmentVariableW(toUTF16z(name), null); else version (Posix) core.sys.posix.stdlib.unsetenv(toStringz(name)); else static assert(0); } /** Copies all environment variables into an associative array. Windows_specific: While Windows environment variable names are case insensitive, D's built-in associative arrays are not. This function will store all variable names in uppercase (e.g. $(D PATH)). Throws: $(OBJECTREF Exception) if the environment variables could not be retrieved (Windows only). */ string[string] toAA() @trusted { string[string] aa; version (Posix) { for (int i=0; environ[i] != null; ++i) { immutable varDef = to!string(environ[i]); immutable eq = std.string.indexOf(varDef, '='); assert (eq >= 0); immutable name = varDef[0 .. eq]; immutable value = varDef[eq+1 .. $]; // In POSIX, environment variables may be defined more // than once. This is a security issue, which we avoid // by checking whether the key already exists in the array. // For more info: // http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/environment-variables.html if (name !in aa) aa[name] = value; } } else version (Windows) { auto envBlock = GetEnvironmentStringsW(); enforce(envBlock, "Failed to retrieve environment variables."); scope(exit) FreeEnvironmentStringsW(envBlock); for (int i=0; envBlock[i] != '\0'; ++i) { auto start = i; while (envBlock[i] != '=') ++i; immutable name = toUTF8(toUpper(envBlock[start .. i])); start = i+1; while (envBlock[i] != '\0') ++i; // Just like in POSIX systems, environment variables may be // defined more than once in an environment block on Windows, // and it is just as much of a security issue there. Moreso, // in fact, due to the case insensensitivity of variable names, // which is not handled correctly by all programs. if (name !in aa) aa[name] = toUTF8(envBlock[start .. i]); } } else static assert(0); return aa; } private: // Returns the length of an environment variable (in number of // wchars, including the null terminator), or 0 if it doesn't exist. version (Windows) int varLength(LPCWSTR namez) @trusted nothrow { return GetEnvironmentVariableW(namez, null, 0); } // Retrieves the environment variable, returns false on failure. bool getImpl(string name, out string value) @trusted //TODO: nothrow { version (Windows) { const namez = toUTF16z(name); immutable len = varLength(namez); if (len == 0) return false; if (len == 1) { value = ""; return true; } auto buf = new WCHAR[len]; GetEnvironmentVariableW(namez, buf.ptr, to!DWORD(buf.length)); value = toUTF8(buf[0 .. $-1]); return true; } else version (Posix) { const vz = core.sys.posix.stdlib.getenv(toStringz(name)); if (vz == null) return false; auto v = vz[0 .. strlen(vz)]; // Cache the last call's result. static string lastResult; if (v != lastResult) lastResult = v.idup; value = lastResult; return true; } else static assert(0); } } unittest { // New variable environment["std_process"] = "foo"; assert (environment["std_process"] == "foo"); // Set variable again environment["std_process"] = "bar"; assert (environment["std_process"] == "bar"); // Remove variable environment.remove("std_process"); // Remove again, should succeed environment.remove("std_process"); // Throw on not found. assertThrown(environment["std_process"]); // get() without default value assert (environment.get("std_process") == null); // get() with default value assert (environment.get("std_process", "baz") == "baz"); // Convert to associative array auto aa = environment.toAA(); assert (aa.length > 0); foreach (n, v; aa) { // Wine has some bugs related to environment variables: // - Wine allows the existence of an env. variable with the name // "\0", but GetEnvironmentVariable refuses to retrieve it. // - If an env. variable has zero length, i.e. is "\0", // GetEnvironmentVariable should return 1. Instead it returns // 0, indicating the variable doesn't exist. version (Windows) if (n.length == 0 || v.length == 0) continue; assert (v == environment[n]); } } // ============================================================================= // Everything below this line was part of the old std.process, and most of // it will be deprecated and removed. // ============================================================================= /* Macros: WIKI=Phobos/StdProcess Copyright: Copyright Digital Mars 2007 - 2009. License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. Authors: $(WEB digitalmars.com, Walter Bright), $(WEB erdani.org, Andrei Alexandrescu), $(WEB thecybershadow.net, Vladimir Panteleev) Source: $(PHOBOSSRC std/_process.d) */ /* Copyright Digital Mars 2007 - 2009. 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) */ import core.stdc.stdlib; import std.c.stdlib; import core.stdc.errno; import core.thread; import std.c.process; import std.c.string; version (Windows) { import std.format, std.random, std.file; } version (Posix) { import core.sys.posix.stdlib; } version (unittest) { import std.file, std.conv, std.random; } /** Execute $(D command) in a _command shell. $(RED This function is scheduled for deprecation. Please use $(LREF spawnShell) or $(LREF executeShell) instead.) Returns: If $(D command) is null, returns nonzero if the _command interpreter is found, and zero otherwise. If $(D command) is not null, returns -1 on error, or the exit status of command (which may in turn signal an error in command's execution). Note: On Unix systems, the homonym C function (which is accessible to D programs as $(LINK2 std_c_process.html, std.c._system)) returns a code in the same format as $(LUCKY waitpid, waitpid), meaning that C programs must use the $(D WEXITSTATUS) macro to extract the actual exit code from the $(D system) call. D's $(D system) automatically extracts the exit status. */ int system(string command) { if (!command) return std.c.process.system(null); const commandz = toStringz(command); immutable status = std.c.process.system(commandz); if (status == -1) return status; version (Posix) { if (exited(status)) return exitstatus(status); // Abnormal termination, return -1. return -1; } else version (Windows) return status; else static assert(0, "system not implemented for this OS."); } private void toAStringz(in string[] a, const(char)**az) { foreach(string s; a) { *az++ = toStringz(s); } *az = null; } /* ========================================================== */ //version (Windows) //{ // int spawnvp(int mode, string pathname, string[] argv) // { // char** argv_ = cast(char**)alloca((char*).sizeof * (1 + argv.length)); // // toAStringz(argv, argv_); // // return std.c.process.spawnvp(mode, toStringz(pathname), argv_); // } //} // Incorporating idea (for spawnvp() on Posix) from Dave Fladebo alias std.c.process._P_WAIT P_WAIT; alias std.c.process._P_NOWAIT P_NOWAIT; int spawnvp(int mode, string pathname, string[] argv) { auto argv_ = cast(const(char)**)alloca((char*).sizeof * (1 + argv.length)); toAStringz(argv, argv_); version (Posix) { return _spawnvp(mode, toStringz(pathname), argv_); } else version (Windows) { return std.c.process.spawnvp(mode, toStringz(pathname), argv_); } else static assert(0, "spawnvp not implemented for this OS."); } version (Posix) { private import core.sys.posix.unistd; private import core.sys.posix.sys.wait; int _spawnvp(int mode, in char *pathname, in char **argv) { int retval = 0; pid_t pid = fork(); if(!pid) { // child std.c.process.execvp(pathname, argv); goto Lerror; } else if(pid > 0) { // parent if(mode == _P_NOWAIT) { retval = pid; // caller waits } else { while(1) { int status; pid_t wpid = waitpid(pid, &status, 0); if(exited(status)) { retval = exitstatus(status); break; } else if(signaled(status)) { retval = -termsig(status); break; } else if(stopped(status)) // ptrace support continue; else goto Lerror; } } return retval; } Lerror: retval = errno; char[80] buf = void; throw new Exception( "Cannot spawn " ~ to!string(pathname) ~ "; " ~ to!string(strerror_r(retval, buf.ptr, buf.length)) ~ " [errno " ~ to!string(retval) ~ "]"); } // _spawnvp private { alias WIFSTOPPED stopped; alias WIFSIGNALED signaled; alias WTERMSIG termsig; alias WIFEXITED exited; alias WEXITSTATUS exitstatus; } // private } // version (Posix) /* ========================================================== */ /** * Replace the current process by executing a command, $(D pathname), with * the arguments in $(D argv). * * $(RED These functions are scheduled for deprecation. Please use * $(LREF spawnShell) instead (or, alternatively, the homonymous C * functions declared in $(D std.c.process).)) * * Typically, the first element of $(D argv) is * the command being executed, i.e. $(D argv[0] == pathname). The 'p' * versions of $(D exec) search the PATH environment variable for $(D * pathname). The 'e' versions additionally take the new process' * environment variables as an array of strings of the form key=value. * * Does not return on success (the current process will have been * replaced). Returns -1 on failure with no indication of the * underlying error. */ int execv(in string pathname, in string[] argv) { auto argv_ = cast(const(char)**)alloca((char*).sizeof * (1 + argv.length)); toAStringz(argv, argv_); return std.c.process.execv(toStringz(pathname), argv_); } /** ditto */ int execve(in string pathname, in string[] argv, in string[] envp) { auto argv_ = cast(const(char)**)alloca((char*).sizeof * (1 + argv.length)); auto envp_ = cast(const(char)**)alloca((char*).sizeof * (1 + envp.length)); toAStringz(argv, argv_); toAStringz(envp, envp_); return std.c.process.execve(toStringz(pathname), argv_, envp_); } /** ditto */ int execvp(in string pathname, in string[] argv) { auto argv_ = cast(const(char)**)alloca((char*).sizeof * (1 + argv.length)); toAStringz(argv, argv_); return std.c.process.execvp(toStringz(pathname), argv_); } /** ditto */ int execvpe(in string pathname, in string[] argv, in string[] envp) { version(Posix) { // Is pathname rooted? if(pathname[0] == '/') { // Yes, so just call execve() return execve(pathname, argv, envp); } else { // No, so must traverse PATHs, looking for first match string[] envPaths = std.array.split( to!string(core.stdc.stdlib.getenv("PATH")), ":"); int iRet = 0; // Note: if any call to execve() succeeds, this process will cease // execution, so there's no need to check the execve() result through // the loop. foreach(string pathDir; envPaths) { string composite = cast(string) (pathDir ~ "/" ~ pathname); iRet = execve(composite, argv, envp); } if(0 != iRet) { iRet = execve(pathname, argv, envp); } return iRet; } } else version(Windows) { auto argv_ = cast(const(char)**)alloca((char*).sizeof * (1 + argv.length)); auto envp_ = cast(const(char)**)alloca((char*).sizeof * (1 + envp.length)); toAStringz(argv, argv_); toAStringz(envp, envp_); return std.c.process.execvpe(toStringz(pathname), argv_, envp_); } else { static assert(0); } // version } /** * Returns the process ID of the calling process, which is guaranteed to be * unique on the system. This call is always successful. * * $(RED This function is scheduled for deprecation. Please use * $(LREF thisProcessID) instead.) * * Example: * --- * writefln("Current process id: %s", getpid()); * --- */ alias core.thread.getpid getpid; /** Runs $(D_PARAM cmd) in a shell and returns its standard output. If the process could not be started or exits with an error code, throws ErrnoException. $(RED This function is scheduled for deprecation. Please use $(LREF executeShell) instead.) Example: ---- auto tempFilename = chomp(shell("mcookie")); auto f = enforce(fopen(tempFilename), "w"); scope(exit) { fclose(f) == 0 || assert(false); system(escapeShellCommand("rm", tempFilename)); } ... use f ... ---- */ string shell(string cmd) { version(Windows) { // Generate a random filename auto a = appender!string(); foreach (ref e; 0 .. 8) { formattedWrite(a, "%x", rndGen.front); rndGen.popFront(); } auto filename = a.data; scope(exit) if (exists(filename)) remove(filename); // We can't use escapeShellCommands here because we don't know // if cmd is escaped (wrapped in quotes) or not, without relying // on shady heuristics. The current code shouldn't cause much // trouble unless filename contained spaces (it won't). errnoEnforce(system(cmd ~ "> " ~ filename) == 0); return readText(filename); } else version(Posix) { File f; f.popen(cmd, "r"); char[] line; string result; while (f.readln(line)) { result ~= line; } f.close(); return result; } else static assert(0, "shell not implemented for this OS."); } unittest { auto x = shell("echo wyda"); // @@@ This fails on wine //assert(x == "wyda" ~ newline, text(x.length)); import std.exception; // Issue 9444 assertThrown!ErrnoException(shell("qwertyuiop09813478")); } /** Gets the value of environment variable $(D name) as a string. Calls $(LINK2 std_c_stdlib.html#_getenv, std.c.stdlib._getenv) internally. $(RED This function is scheduled for deprecation. Please use $(LREF environment.get) instead.) */ string getenv(in char[] name) { // Cache the last call's result static string lastResult; auto p = core.stdc.stdlib.getenv(toStringz(name)); if (!p) return null; auto value = p[0 .. strlen(p)]; if (value == lastResult) return lastResult; return lastResult = value.idup; } /** Sets the value of environment variable $(D name) to $(D value). If the value was written, or the variable was already present and $(D overwrite) is false, returns normally. Otherwise, it throws an exception. Calls $(LINK2 std_c_stdlib.html#_setenv, std.c.stdlib._setenv) internally. $(RED This function is scheduled for deprecation. Please use $(LREF environment.opIndexAssign) instead.) */ version(StdDdoc) void setenv(in char[] name, in char[] value, bool overwrite); else version(Posix) void setenv(in char[] name, in char[] value, bool overwrite) { errnoEnforce( std.c.stdlib.setenv(toStringz(name), toStringz(value), overwrite) == 0); } /** Removes variable $(D name) from the environment. Calls $(LINK2 std_c_stdlib.html#_unsetenv, std.c.stdlib._unsetenv) internally. $(RED This function is scheduled for deprecation. Please use $(LREF environment.remove) instead.) */ version(StdDdoc) void unsetenv(in char[] name); else version(Posix) void unsetenv(in char[] name) { errnoEnforce(std.c.stdlib.unsetenv(toStringz(name)) == 0); } version (Posix) unittest { setenv("wyda", "geeba", true); assert(getenv("wyda") == "geeba"); // Get again to make sure caching works assert(getenv("wyda") == "geeba"); unsetenv("wyda"); assert(getenv("wyda") is null); } /* ////////////////////////////////////////////////////////////////////////// */ version(MainTest) { int main(string[] args) { if(args.length < 2) { printf("Must supply executable (and optional arguments)\n"); return 1; } else { string[] dummy_env; dummy_env ~= "VAL0=value"; dummy_env ~= "VAL1=value"; /+ foreach(string arg; args) { printf("%.*s\n", arg); } +/ // int i = execv(args[1], args[1 .. args.length]); // int i = execvp(args[1], args[1 .. args.length]); int i = execvpe(args[1], args[1 .. args.length], dummy_env); printf("exec??() has returned! Error code: %d; errno: %d\n", i, /* errno */-1); return 0; } } } /* ////////////////////////////////////////////////////////////////////////// */ version(StdDdoc) { /**************************************** * Start up the browser and set it to viewing the page at url. */ void browse(string url); } else version (Windows) { import core.sys.windows.windows; extern (Windows) HINSTANCE ShellExecuteA(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd); pragma(lib,"shell32.lib"); void browse(string url) { ShellExecuteA(null, "open", toStringz(url), null, null, SW_SHOWNORMAL); } } else version (OSX) { import core.stdc.stdio; import core.stdc.string; import core.sys.posix.unistd; void browse(string url) { const(char)*[5] args; const(char)* browser = core.stdc.stdlib.getenv("BROWSER"); if (browser) { browser = strdup(browser); args[0] = browser; args[1] = toStringz(url); args[2] = null; } else { args[0] = "open".ptr; args[1] = toStringz(url); args[2] = null; } auto childpid = fork(); if (childpid == 0) { core.sys.posix.unistd.execvp(args[0], cast(char**)args.ptr); perror(args[0]); // failed to execute return; } if (browser) free(cast(void*)browser); } } else version (Posix) { import core.stdc.stdio; import core.stdc.string; import core.sys.posix.unistd; void browse(string url) { const(char)*[3] args; const(char)* browser = core.stdc.stdlib.getenv("BROWSER"); if (browser) { browser = strdup(browser); args[0] = browser; } else //args[0] = "x-www-browser".ptr; // doesn't work on some systems args[0] = "xdg-open".ptr; args[1] = toStringz(url); args[2] = null; auto childpid = fork(); if (childpid == 0) { core.sys.posix.unistd.execvp(args[0], cast(char**)args.ptr); perror(args[0]); // failed to execute return; } if (browser) free(cast(void*)browser); } } else static assert(0, "os not supported");
D
/Users/y.imuta/pj/rust_study/big_query_rust/target/debug/build/lexical-core-b5b42f8eb2235339/build_script_build-b5b42f8eb2235339: /Users/y.imuta/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.5/build.rs /Users/y.imuta/pj/rust_study/big_query_rust/target/debug/build/lexical-core-b5b42f8eb2235339/build_script_build-b5b42f8eb2235339.d: /Users/y.imuta/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.5/build.rs /Users/y.imuta/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.5/build.rs:
D
import std.stdio, std.string, std.file, std.c.stdlib, std.stream; import elf; int main() { FILE* unfout, unfoutun, grfout; char[] file; char* pt; int dwBase = 0x4000; char *strptr = null; struct __hirelt { u32 addr; u8 ori; u32 *inst; } __hirelt regs[32]; ElfReloc[] erl; ElfHeader h; ElfProgramHeader[] ep; ElfSectionHeader[] es; uint[][uint] href; // Cargamos el fichero en memoria copy("../BOOT.BIN", "BOOT.BIN"); file = cast(char[])read("BOOT.BIN"); // Carga el ElfHeader h = *cast(ElfHeader *)file; if (h.magic != 0x464C457F) throw(new Exception("No es un fichero ELF válido")); // Carga los ElfProgramHeader ep = new ElfProgramHeader[h.phnum]; pt = &file[0] + h.phoff; for (int n = 0; n < h.phnum; n++) { ep[n] = *cast(ElfProgramHeader *)pt; pt += h.phentsize; } // Carga los ElfSectionHeader es = new ElfSectionHeader[h.shnum]; pt = &file[0] + h.shoff; for (int n = 0; n < h.shnum; n++) { es[n] = *cast(ElfSectionHeader *)pt; writefln("%08X", 0x3A8344 + es[n].name); if (n == h.shstrndx) { strptr = cast(char *)(&file[0] + es[n].offset); } pt += h.shentsize; } // Se recorre las secciones buscando secciones de relocs for (int n = 0; n < h.shnum; n++) { if (es[n].type != 0x700000A0) continue; int count = es[n].size / es[n].entsize; pt = cast(char *)(&file[0] + es[n].offset); for (int m = 0; m < count; m++) { erl ~= *cast(ElfReloc *)pt; pt += es[n].entsize; } } // Comprueba que hay relocs en la lista if (erl.length <= 0) { writefln("No se han encontrado relocs"); exit(-1); } // Ordena los relocs para que las instrucciones HI y LO correspondan qsort(&erl[0], erl.length, ElfReloc.sizeof, &__elfreloccompare); // Abrimos los ficheros grfout = fopen("original\\group.txt", "wb"); unfout = fopen("original\\match.txt", "wb"); unfoutun = fopen("original\\unmatch.txt", "wb"); foreach (int n, ElfReloc er; erl) { uint *cpt; int offset = er.offset + ep[er.offph].vaddr; int base = dwBase + ep[er.valph].vaddr; int ibase = ep[er.valph].offset; int ioffset = er.offset + ep[er.offph].offset; cpt = cast(uint *)(&file[0] + ioffset); switch (er.type) { // Los RELOC MIPS_26 solo se usan para instruciones de tipo J, no nos // interesa para extraer textos ASCII case ElfReloc.Type.MIPS_26: uint inst = *cpt; uint addr = ((inst & 0x03FFFFFF) << 2); // Cargamos la dirección de la instrucción addr += base; // Añadimos la base a la instrucción inst &= ~0x03FFFFFF; // Borramos la dirección de la instrucción inst |= (addr >> 2) & 0x03FFFFFF; // Añadimos la nueva dirección nuevamente a la instrucción *cpt = inst; break; // Los RELOC MIPS_HI16 son instrucciones LUI case ElfReloc.Type.MIPS_HI16: uint inst = *cpt; if ((inst >> 26) != 0xF) { writefln("Instrucción desconocida (se esperaba LUI)"); break; } uint reg = (inst >> 16) & 0x1F; if (regs[reg].inst) { u32 oldinst; oldinst = *(regs[reg].inst); oldinst &= ~0xFFFF; if ((regs[reg].addr & 0x8000) && (!regs[reg].ori)) { regs[reg].addr += 0x10000; } oldinst |= (regs[reg].addr >> 16); *regs[reg].inst = oldinst; } regs[reg].addr = 0; regs[reg].inst = cpt; regs[reg].ori = 0; break; // Los RELOC MIPS_LO16 son instruciones con un IMM de 16 bits case ElfReloc.Type.MIPS_LO16: uint reg, hiinst, loinst = *cpt; reg = (loinst >> 21) & 0x1F; if (regs[reg].inst == null) { writefln("Invalid lo relocation, no matching hi 0x%08X", offset); break; } hiinst = *regs[reg].inst; uint addr = ((hiinst & 0xFFFF) << 16) + base; // ori if ((loinst >> 26) == 0xD) { addr = addr | (loinst & 0xFFFF); regs[reg].ori = 1; } else { addr = cast(s32)addr + cast(s16)(loinst & 0xFFFF); } uint pos = addr - base + ibase; if ((pos < file.length) && ((pos % 4) == 0)) { if (isascii(&file[pos])) { href[pos] ~= ioffset; fprintf(unfout, "MLO:%06X: '%s'\n", ioffset, toStringz(getstr(cast(char *)(pos + &file[0])))); } else { fprintf(unfoutun, "MLO:%06X: '%s'\n", ioffset, toStringz(getstr(cast(char *)(pos + &file[0])))); } } loinst &= ~0xFFFF; loinst |= (addr & 0xFFFF); regs[reg].addr = addr; *cpt = loinst; break; // Los RELOC MIPS_32 suelen ser punteros de vectores case ElfReloc.Type.MIPS_32: uint pos = *cpt + ibase; if ((pos < file.length) && ((pos % 4) == 0)) { if (isascii(&file[pos])) { href[pos] ~= ioffset; fprintf(unfout, "M32:%06X: '%s'\n", ioffset, toStringz(getstr(cast(char *)(pos + &file[0])))); } else { fprintf(unfoutun, "MLO:%06X: '%s'\n", ioffset, toStringz(getstr(cast(char *)(pos + &file[0])))); } } *cpt += base; break; // El resto de tipos de RELOC no los manejamos default: writefln("Unknown reloc type"); break; } } foreach (k; href.keys.sort) { uint[] ll = href[k]; foreach (uint k2, uint n; ll) { if (k2 != 0) fprintf(grfout, ","); fprintf(grfout, "%06X", n); } fprintf(grfout, ": '%s'\n", toStringz(getstr(cast(char *)(&file[0] + k)))); } fclose(unfout); fclose(unfoutun); fclose(grfout); return 0; }
D
prototype Mst_Default_Lurker(C_Npc) { name[0] = "Číhavec"; guild = GIL_LURKER; aivar[AIV_IMPORTANT] = ID_LURKER; level = 10; attribute[ATR_STRENGTH] = 50; attribute[ATR_DEXTERITY] = 50; attribute[ATR_HITPOINTS_MAX] = 110; attribute[ATR_HITPOINTS] = 110; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; protection[PROT_BLUNT] = 30; protection[PROT_EDGE] = 30; protection[PROT_POINT] = 30; protection[PROT_FIRE] = 30; protection[PROT_FLY] = 30; protection[PROT_MAGIC] = 0; damagetype = DAM_EDGE; fight_tactic = FAI_LURKER; senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL; senses_range = 3000; aivar[AIV_FINDABLE] = HUNTER; aivar[AIV_PCISSTRONGER] = 1400; aivar[AIV_BEENATTACKED] = 1300; aivar[AIV_HIGHWAYMEN] = 700; aivar[AIV_HAS_ERPRESSED] = 5; aivar[AIV_BEGGAR] = 10; aivar[AIV_OBSERVEINTRUDER] = TRUE; start_aistate = ZS_MM_AllScheduler; aivar[AIV_Trigger3] = OnlyRoutine; }; func void Set_Lurker_Visuals() { Mdl_SetVisual(self,"Lurker.mds"); Mdl_SetVisualBody(self,"Lur_Body",DEFAULT,DEFAULT,"",DEFAULT,DEFAULT,-1); }; instance Lurker(Mst_Default_Lurker) { Set_Lurker_Visuals(); Npc_SetToFistMode(self); }; instance DamLurker(Mst_Default_Lurker) { name[0] = "Přehradní číhavec"; id = mid_damlurker; level = 20; Set_Lurker_Visuals(); Npc_SetToFistMode(self); protection[PROT_BLUNT] = 40; protection[PROT_EDGE] = 40; protection[PROT_POINT] = 40; protection[PROT_FIRE] = 40; protection[PROT_FLY] = 40; protection[PROT_MAGIC] = 0; CreateInvItem(self,ItAt_DamLurker_01); };
D
FUNC VOID GregIsBack_S1 () { };
D
format 71 classcanvas 128011 class_ref 142859 // MIEffet draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 147 22 2000 end classcanvas 128139 class_ref 142987 // MMouvementFini draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 37 173 2000 end classcanvas 128267 class_ref 143115 // MMouvementPerpetuel draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 354 170 2005 end classcanvas 128395 class_ref 143243 // MRedimensionnement draw_all_relations default hide_attributes default hide_operations default hide_getset_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_members_multiplicity default show_members_initialization default show_attribute_modifiers default member_max_width 0 show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_relation_modifiers default show_relation_visibility default show_infonote default shadow default show_stereotype_properties default xyz 168 170 2000 end relationcanvas 128523 relation_ref 143755 // <realization> from ref 128139 z 2001 to ref 128011 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end relationcanvas 128651 relation_ref 143883 // <realization> from ref 128395 z 2001 to ref 128011 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end relationcanvas 128779 relation_ref 144011 // <realization> from ref 128267 z 2006 to ref 128011 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end end
D
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Disposable.o : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Deprecated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Cancelable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObserverType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Reactive.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/RecursiveLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Errors.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/AtomicInt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Event.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/First.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Linux.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Disposable~partial.swiftmodule : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Deprecated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Cancelable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObserverType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Reactive.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/RecursiveLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Errors.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/AtomicInt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Event.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/First.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Linux.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Disposable~partial.swiftdoc : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Deprecated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Cancelable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObserverType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Reactive.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/RecursiveLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Errors.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/AtomicInt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Event.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/First.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Linux.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Disposable~partial.swiftsourceinfo : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Deprecated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Cancelable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObserverType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Reactive.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/RecursiveLock.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Errors.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/AtomicInt.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Event.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/First.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Rx.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/Platform/Platform.Linux.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
<?xml version="1.0" encoding="ASCII" standalone="no"?> <di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0"> <pageList> <availablePage> <emfPageIdentifier href="VAR_11_BeT-7399612941.notation#_copSALmGEeKQQp7P9cQvNQ"/> </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="VAR_11_BeT-7399612941.notation#_copSALmGEeKQQp7P9cQvNQ"/> </children> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
module app.config; import std.conv; import std.datetime; import std.experimental.logger; import hunt.application; import tinyredis.redis:Redis; import collie.libmemcache4d.memcache; string STATIC_URL; string REDIS_HOST; ushort REDIS_PORT; string LOGLEVEL; string LOGPATH; string MEMCACHED_HOST; ushort MEMCACHED_PORT; //mysql string MYSQL_HOST; ushort MYSQL_PORT; string MYSQL_USERNAME; string MYSQL_PASSWORD; string MYSQL_DBNAME; string MYSQL_CHARSET; Redis _redis; FileLogger _logger; Memcache _memcache; Redis redis() { if( _redis is null ) { _redis = new Redis(cast(string)REDIS_HOST,cast(ushort)REDIS_PORT); } return _redis; } FileLogger logger( string logFile = null ) { if ( !(logFile is null) ) { string path = cast(string)LOGPATH ~ logFile ~ ".log"; _logger = new FileLogger(path); } else if ( _logger is null ) { Date st = cast(Date)Clock.currTime(); string date = to!string(st.year) ~ to!string(cast(int)st.month) ~ to!string(st.day); string path = cast(string)LOGPATH ~ "log_" ~ date ~ ".log"; _logger = new FileLogger(path); } return _logger; } @property Memcache memcache() { if ( _memcache is null ) { _memcache = new Memcache(cast(string)MEMCACHED_HOST, cast(ushort)MEMCACHED_PORT); } return _memcache; } static this() { auto conf = Config.app.config; STATIC_URL = conf.http.static_url.value(); REDIS_HOST = conf.redis.host.value(); REDIS_PORT = to!ushort(conf.redis.port.value()); LOGLEVEL = conf.log.level.value(); LOGPATH = conf.log.path.value(); MYSQL_PORT = conf.mysql.port.as!short; MYSQL_HOST = conf.mysql.host.value; MYSQL_USERNAME = conf.mysql.username.value; MYSQL_PASSWORD = conf.mysql.password.value; MYSQL_DBNAME = conf.mysql.dbname.value; MYSQL_CHARSET = conf.mysql.charset.value; MEMCACHED_HOST = conf.memcached.host.value(); MEMCACHED_PORT = to!ushort(conf.memcached.port.value()); }
D
module mysql.mysql_row; import std.conv; import mysql.binding; import mysql.mysql; string yield(string what) { return `if(auto result = dg(`~what~`)) return result;`; } struct MysqlRow { package string[] row; package MysqlResult resultSet; string opIndex(size_t idx, string file = __FILE__, int line = __LINE__) { if(idx >= row.length) throw new Exception(text("index ", idx, " is out of bounds on result"), file, line); return row[idx]; } string opIndex(string name, string file = __FILE__, int line = __LINE__) { auto idx = resultSet.getFieldIndex(name); if(idx >= row.length) throw new Exception(text("no field ", name, " in result"), file, line); return row[idx]; } string toString() { return to!string(row); } string[string] toAA() { string[string] a; string[] fn = resultSet.fieldNames(); foreach(i, r; row) a[fn[i]] = r; return a; } int opApply(int delegate(ref string, ref string) dg) { foreach(a, b; toAA()) mixin(yield("a, b")); return 0; } string[] toStringArray() { return row; } }
D
/Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChevronUpShapeRenderer.o : /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/varaprasadp/Desktop/React/Example/ios/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChevronUpShapeRenderer~partial.swiftmodule : /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/varaprasadp/Desktop/React/Example/ios/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChevronUpShapeRenderer~partial.swiftdoc : /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/varaprasadp/Desktop/React/Example/ios/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
D
// ************************************************************************* // FIND NPC // ************************************************************************* INSTANCE Info_FindNPC_NC(C_INFO) { nr = 900; condition = Info_FindNPC_NC_Condition; information = Info_FindNPC_NC_Info; permanent = 1; description = "Where can I find ..."; }; FUNC INT Info_FindNPC_NC_Condition() { return 1; }; FUNC VOID Info_FindNPC_NC_Info() { Info_ClearChoices(Info_FindNPC_NC); Info_AddChoice(Info_FindNPC_NC, DIALOG_BACK, Info_FindNPC_NC_BACK); VAR C_NPC Cronos; Cronos = Hlp_GetNpc(KdW_604_Cronos); if (Cronos.aivar[AIV_FINDABLE] == TRUE) { Info_AddChoice(Info_FindNPC_NC,"...one of the magicians?", Info_FindNPC_NC_Mage); }; VAR C_NPC Gorn; Gorn = Hlp_GetNpc(PC_Fighter); if (Gorn.aivar[AIV_FINDABLE] == TRUE) { Info_AddChoice(Info_FindNPC_NC,"...Gorn?", Info_FindNPC_NC_Gorn); }; VAR C_NPC Lares; Lares = Hlp_GetNpc(Org_801_Lares); if (Lares.aivar[AIV_FINDABLE] == TRUE) { Info_AddChoice(Info_FindNPC_NC,"...Lares?", Info_FindNPC_NC_Lares); }; VAR C_NPC Lee; Lee = Hlp_GetNpc(Sld_700_Lee); if (Lee.aivar[AIV_FINDABLE] == TRUE) { Info_AddChoice(Info_FindNPC_NC,"...Lee?", Info_FindNPC_NC_Lee); }; }; FUNC VOID Info_FindNPC_NC_BACK() { Info_ClearChoices(Info_FindNPC_NC); }; // ********************** // Gorn // ********************** FUNC VOID Info_FindNPC_NC_Gorn() { AI_Output(other,self,"Info_FindNPC_NC_Gorn_15_00"); //Where can I find Gorn? VAR C_NPC Gorn; Gorn = Hlp_GetNpc(PC_Fighter); if (Npc_GetDistToNpc(self, Gorn) < PERC_DIST_INTERMEDIAT) { B_PointAtNpc(self,other,Gorn); } else { if (self.guild == GIL_ORG) { if (self.voice == 6) { AI_Output(self,other,"Info_FindNPC_NC_Gorn_06_01"); //When you go in the cave, keep to your right. There are a couple of huts right up front. He lives in one of them. } else if (self.voice == 7) { AI_Output(self,other,"Info_FindNPC_NC_Gorn_07_01"); //When you go in the cave, keep to your right. There are a couple of huts right in the front. He lives in one of them. } else if (self.voice == 13) { AI_Output(self,other,"Info_FindNPC_NC_Gorn_13_01"); //When you go in the cave, keep to your right. There are a couple of huts right up front. He lives in one of them. }; } else if (self.guild == GIL_SLD) { if (self.voice == 8) { AI_Output(self,other,"Info_FindNPC_NC_Gorn_08_01"); //When you go in the cave, keep to your right. There are a couple of huts right up front. He lives in one of them. } else if (self.voice == 11) { AI_Output(self,other,"Info_FindNPC_NC_Gorn_11_01"); //When you go in the cave, keep to your right. There are a couple of huts right up front. He lives in one of them. }; }; }; Info_ClearChoices(Info_FindNPC_NC); }; // ********************** // Lares // ********************** FUNC VOID Info_FindNPC_NC_Lares() { AI_Output(other,self,"Info_FindNPC_NC_Lares_15_00"); //Where can I find Lares? VAR C_NPC Lares; Lares = Hlp_GetNpc(Org_801_Lares); if (Npc_GetDistToNpc(self, Lares) < PERC_DIST_INTERMEDIAT) { B_PointAtNpc(self,other,Lares); } else { if (self.guild == GIL_ORG) { if (self.voice == 6) { AI_Output(self,other,"Info_FindNPC_NC_Lares_06_01"); //Right at the back, on the left-hand side of the big cave. You can't miss it. As soon as his guys stop you, you'll know you've found him. } else if (self.voice == 7) { AI_Output(self,other,"Info_FindNPC_NC_Lares_07_01"); //Right at the back, on the left-hand side of the big cave. You can't miss it. As soon as his guys stop you, you'll know you've found him. } else if (self.voice == 13) { AI_Output(self,other,"Info_FindNPC_NC_Lares_13_01"); //Right at the back, on the left-hand side of the big cave. You can't miss it. As soon as his guys stop you, you'll know you've found him. }; } else if (self.guild == GIL_SLD) { if (self.voice == 8) { AI_Output(self,other,"Info_FindNPC_NC_Lares_08_01"); //Right at the back, on the left-hand side of the big cave. You can't miss it. As soon as his guys stop you, you'll know you've found him. } else if (self.voice == 11) { AI_Output(self,other,"Info_FindNPC_NC_Lares_11_01"); //Right at the back, on the left-hand side of the big cave. You can't miss it. As soon as his guys stop you, you'll know you've found him. }; }; }; Info_ClearChoices(Info_FindNPC_NC); }; // ********************** // Lee // ********************** FUNC VOID Info_FindNPC_NC_Lee() { AI_Output(other,self,"Info_FindNPC_NC_Lee_15_00"); //Where can I find Lee? VAR C_NPC Lee; Lee = Hlp_GetNpc(Sld_700_Lee); if (Npc_GetDistToNpc(self, Lee) < PERC_DIST_INTERMEDIAT) { B_PointAtNpc(self,other,Lee); } else { if (self.guild == GIL_ORG) { if (self.voice == 6) { AI_Output(self,other,"Info_FindNPC_NC_Lee_06_01"); //Go into the big cave, keep to your right and go right up to the top. } else if (self.voice == 7) { AI_Output(self,other,"Info_FindNPC_NC_Lee_07_01"); //Go into the big cave, keep to your right and go right up to the top. } else if (self.voice == 13) { AI_Output(self,other,"Info_FindNPC_NC_Lee_13_01"); //Go into the big cave, keep to your right and go right up to the top. }; } else if (self.guild == GIL_SLD) { if (self.voice == 8) { AI_Output(self,other,"Info_FindNPC_NC_Lee_08_01"); //Go into the big cave, keep to your right and go right up to the top. } else if (self.voice == 11) { AI_Output(self,other,"Info_FindNPC_NC_Lee_11_01"); //Go into the big cave, keep to your right and go right up to the top. }; }; }; Info_ClearChoices(Info_FindNPC_NC); }; // ********************** // Magier (Cronos) // ********************** FUNC VOID Info_FindNPC_NC_Mage() { AI_Output(other,self,"Info_FindNPC_NC_Cronos_15_00"); //Where can I find a mage? VAR C_NPC Cronos; Cronos = Hlp_GetNpc(KdW_604_Cronos); if (Npc_GetDistToNpc(self, Cronos) < PERC_DIST_INTERMEDIAT) { B_PointAtNpc(self,other,Cronos); } else { if (self.guild == GIL_ORG) { if (self.voice == 6) { AI_Output(self,other,"Info_FindNPC_NC_Cronos_06_01"); //They usually live in the secluded upper section of the cave. But sometimes you see them down at the ore mound in the middle of the cave. } else if (self.voice == 7) { AI_Output(self,other,"Info_FindNPC_NC_Cronos_07_01"); //They usually live in the secluded upper section of the cave. But sometimes you see them down at the ore mound in the middle of the cave. } else if (self.voice == 13) { AI_Output(self,other,"Info_FindNPC_NC_Cronos_13_01"); //They usually live in the secluded upper section of the cave. But sometimes you see them down at the ore mound in the middle of the cave. }; } else if (self.guild == GIL_SLD) { if (self.voice == 8) { AI_Output(self,other,"Info_FindNPC_NC_Cronos_08_01"); //They usually live in the secluded upper section of the cave. But sometimes you see them down at the ore mound in the middle of the cave. } else if (self.voice == 11) { AI_Output(self,other,"Info_FindNPC_NC_Cronos_11_01"); //They usually live in the secluded upper section of the cave. But sometimes you see them down at the ore mound in the middle of the cave. }; }; }; Info_ClearChoices(Info_FindNPC_NC); }; // ************************************************************************* // ZUWEISUNG // ************************************************************************* FUNC VOID B_AssignFindNpc_NC (VAR C_NPC slf) { Info_FindNPC_NC.npc = Hlp_GetInstanceID(slf); };
D
module user; package import user.controller; package import user.model; package import user.translation; package import user.views; package import app;
D
/** * Defines a package and module. * * Specification: $(LINK2 https://dlang.org/spec/module.html, Modules) * * Copyright: Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dmodule.d, _dmodule.d) * Documentation: https://dlang.org/phobos/dmd_dmodule.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmodule.d */ module dmd.dmodule; import core.stdc.stdio; import core.stdc.stdlib; import core.stdc.string; import dmd.aggregate; import dmd.arraytypes; import dmd.astcodegen; import dmd.compiler; import dmd.gluelayer; import dmd.dimport; import dmd.dmacro; import dmd.doc; import dmd.dscope; import dmd.dsymbol; import dmd.dsymbolsem; import dmd.errors; import dmd.expression; import dmd.expressionsem; import dmd.globals; import dmd.id; import dmd.identifier; import dmd.parse; import dmd.root.file; import dmd.root.filename; import dmd.root.outbuffer; import dmd.root.port; import dmd.root.rmem; import dmd.root.rootobject; import dmd.root.string; import dmd.semantic2; import dmd.semantic3; import dmd.utils; import dmd.visitor; version(Windows) { extern (C) char* getcwd(char* buffer, size_t maxlen); } else { import core.sys.posix.unistd : getcwd; } /* =========================== ===================== */ /******************************************** * Look for the source file if it's different from filename. * Look for .di, .d, directory, and along global.path. * Does not open the file. * Input: * filename as supplied by the user * global.path * Returns: * NULL if it's not different from filename. */ private const(char)[] lookForSourceFile(const(char)[] filename) { /* Search along global.path for .di file, then .d file. */ const sdi = FileName.forceExt(filename, global.hdr_ext); if (FileName.exists(sdi) == 1) return sdi; scope(exit) FileName.free(sdi.ptr); const sd = FileName.forceExt(filename, global.mars_ext); if (FileName.exists(sd) == 1) return sd; scope(exit) FileName.free(sd.ptr); if (FileName.exists(filename) == 2) { /* The filename exists and it's a directory. * Therefore, the result should be: filename/package.d * iff filename/package.d is a file */ const ni = FileName.combine(filename, "package.di"); if (FileName.exists(ni) == 1) return ni; FileName.free(ni.ptr); const n = FileName.combine(filename, "package.d"); if (FileName.exists(n) == 1) return n; FileName.free(n.ptr); } if (FileName.absolute(filename)) return null; if (!global.path) return null; for (size_t i = 0; i < global.path.dim; i++) { const p = (*global.path)[i].toDString(); const(char)[] n = FileName.combine(p, sdi); if (FileName.exists(n) == 1) { return n; } FileName.free(n.ptr); n = FileName.combine(p, sd); if (FileName.exists(n) == 1) { return n; } FileName.free(n.ptr); const b = FileName.removeExt(filename); n = FileName.combine(p, b); FileName.free(b.ptr); if (FileName.exists(n) == 2) { const n2i = FileName.combine(n, "package.di"); if (FileName.exists(n2i) == 1) return n2i; FileName.free(n2i.ptr); const n2 = FileName.combine(n, "package.d"); if (FileName.exists(n2) == 1) { return n2; } FileName.free(n2.ptr); } FileName.free(n.ptr); } return null; } // function used to call semantic3 on a module's dependencies void semantic3OnDependencies(Module m) { if (!m) return; if (m.semanticRun > PASS.semantic3) return; m.semantic3(null); foreach (i; 1 .. m.aimports.dim) semantic3OnDependencies(m.aimports[i]); } /** * Remove generated .di files on error and exit */ void removeHdrFilesAndFail(ref Param params, ref Modules modules) { if (params.doHdrGeneration) { foreach (m; modules) { if (m.isHdrFile) continue; File.remove(m.hdrfile.toChars()); } } fatal(); } /** * Converts a chain of identifiers to the filename of the module * * Params: * packages = the names of the "parent" packages * ident = the name of the child package or module * * Returns: * the filename of the child package or module */ private const(char)[] getFilename(Identifiers* packages, Identifier ident) { const(char)[] filename = ident.toString(); if (packages == null || packages.dim == 0) return filename; OutBuffer buf; OutBuffer dotmods; auto modAliases = &global.params.modFileAliasStrings; void checkModFileAlias(const(char)[] p) { /* Check and replace the contents of buf[] with * an alias string from global.params.modFileAliasStrings[] */ dotmods.writestring(p); foreach_reverse (const m; *modAliases) { const q = strchr(m, '='); assert(q); if (dotmods.length == q - m && memcmp(dotmods.peekChars(), m, q - m) == 0) { buf.setsize(0); auto rhs = q[1 .. strlen(q)]; if (rhs.length > 0 && (rhs[$ - 1] == '/' || rhs[$ - 1] == '\\')) rhs = rhs[0 .. $ - 1]; // remove trailing separator buf.writestring(rhs); break; // last matching entry in ms[] wins } } dotmods.writeByte('.'); } foreach (pid; *packages) { const p = pid.toString(); buf.writestring(p); if (modAliases.dim) checkModFileAlias(p); version (Windows) enum FileSeparator = '\\'; else enum FileSeparator = '/'; buf.writeByte(FileSeparator); } buf.writestring(filename); if (modAliases.dim) checkModFileAlias(filename); buf.writeByte(0); filename = buf.extractSlice()[0 .. $ - 1]; return filename; } enum PKG : int { unknown, // not yet determined whether it's a package.d or not module_, // already determined that's an actual package.d package_, // already determined that's an actual package } /*********************************************************** */ extern (C++) class Package : ScopeDsymbol { PKG isPkgMod = PKG.unknown; uint tag; // auto incremented tag, used to mask package tree in scopes Module mod; // !=null if isPkgMod == PKG.module_ final extern (D) this(const ref Loc loc, Identifier ident) { super(loc, ident); __gshared uint packageTag; this.tag = packageTag++; } override const(char)* kind() const { return "package"; } override bool equals(const RootObject o) const { // custom 'equals' for bug 17441. "package a" and "module a" are not equal if (this == o) return true; auto p = cast(Package)o; return p && isModule() == p.isModule() && ident.equals(p.ident); } /**************************************************** * Input: * packages[] the pkg1.pkg2 of pkg1.pkg2.mod * Returns: * the symbol table that mod should be inserted into * Output: * *pparent the rightmost package, i.e. pkg2, or NULL if no packages * *ppkg the leftmost package, i.e. pkg1, or NULL if no packages */ extern (D) static DsymbolTable resolve(Identifiers* packages, Dsymbol* pparent, Package* ppkg) { DsymbolTable dst = Module.modules; Dsymbol parent = null; //printf("Package::resolve()\n"); if (ppkg) *ppkg = null; if (packages) { for (size_t i = 0; i < packages.dim; i++) { Identifier pid = (*packages)[i]; Package pkg; Dsymbol p = dst.lookup(pid); if (!p) { pkg = new Package(Loc.initial, pid); dst.insert(pkg); pkg.parent = parent; pkg.symtab = new DsymbolTable(); } else { pkg = p.isPackage(); assert(pkg); // It might already be a module, not a package, but that needs // to be checked at a higher level, where a nice error message // can be generated. // dot net needs modules and packages with same name // But we still need a symbol table for it if (!pkg.symtab) pkg.symtab = new DsymbolTable(); } parent = pkg; dst = pkg.symtab; if (ppkg && !*ppkg) *ppkg = pkg; if (pkg.isModule()) { // Return the module so that a nice error message can be generated if (ppkg) *ppkg = cast(Package)p; break; } } } if (pparent) *pparent = parent; return dst; } override final inout(Package) isPackage() inout { return this; } /** * Checks if pkg is a sub-package of this * * For example, if this qualifies to 'a1.a2' and pkg - to 'a1.a2.a3', * this function returns 'true'. If it is other way around or qualified * package paths conflict function returns 'false'. * * Params: * pkg = possible subpackage * * Returns: * see description */ final bool isAncestorPackageOf(const Package pkg) const { if (this == pkg) return true; if (!pkg || !pkg.parent) return false; return isAncestorPackageOf(pkg.parent.isPackage()); } override Dsymbol search(const ref Loc loc, Identifier ident, int flags = SearchLocalsOnly) { //printf("%s Package.search('%s', flags = x%x)\n", toChars(), ident.toChars(), flags); flags &= ~SearchLocalsOnly; // searching an import is always transitive if (!isModule() && mod) { // Prefer full package name. Dsymbol s = symtab ? symtab.lookup(ident) : null; if (s) return s; //printf("[%s] through pkdmod: %s\n", loc.toChars(), toChars()); return mod.search(loc, ident, flags); } return ScopeDsymbol.search(loc, ident, flags); } override void accept(Visitor v) { v.visit(this); } final Module isPackageMod() { if (isPkgMod == PKG.module_) { return mod; } return null; } /** * Checks for the existence of a package.d to set isPkgMod appropriately * if isPkgMod == PKG.unknown */ final void resolvePKGunknown() { if (isModule()) return; if (isPkgMod != PKG.unknown) return; Identifiers packages; for (Dsymbol s = this.parent; s; s = s.parent) packages.insert(0, s.ident); if (lookForSourceFile(getFilename(&packages, ident))) Module.load(Loc(), &packages, this.ident); else isPkgMod = PKG.package_; } } /*********************************************************** */ extern (C++) final class Module : Package { extern (C++) __gshared Module rootModule; extern (C++) __gshared DsymbolTable modules; // symbol table of all modules extern (C++) __gshared Modules amodules; // array of all modules extern (C++) __gshared Dsymbols deferred; // deferred Dsymbol's needing semantic() run on them extern (C++) __gshared Dsymbols deferred2; // deferred Dsymbol's needing semantic2() run on them extern (C++) __gshared Dsymbols deferred3; // deferred Dsymbol's needing semantic3() run on them extern (C++) __gshared uint dprogress; // progress resolving the deferred list static void _init() { modules = new DsymbolTable(); } /** * Deinitializes the global state of the compiler. * * This can be used to restore the state set by `_init` to its original * state. */ static void deinitialize() { modules = modules.init; } extern (C++) __gshared AggregateDeclaration moduleinfo; const(char)[] arg; // original argument name ModuleDeclaration* md; // if !=null, the contents of the ModuleDeclaration declaration const FileName srcfile; // input source file const FileName objfile; // output .obj file const FileName hdrfile; // 'header' file FileName docfile; // output documentation file FileBuffer* srcBuffer; // set during load(), free'd in parse() uint errors; // if any errors in file uint numlines; // number of lines in source file bool isHdrFile; // if it is a header (.di) file bool isDocFile; // if it is a documentation input file, not D source bool hasAlwaysInlines; // contains references to functions that must be inlined bool isPackageFile; // if it is a package.d Package pkg; // if isPackageFile is true, the Package that contains this package.d Strings contentImportedFiles; // array of files whose content was imported int needmoduleinfo; int selfimports; // 0: don't know, 1: does not, 2: does /************************************* * Return true if module imports itself. */ bool selfImports() { //printf("Module::selfImports() %s\n", toChars()); if (selfimports == 0) { for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; selfimports = imports(this) + 1; for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; } return selfimports == 2; } int rootimports; // 0: don't know, 1: does not, 2: does /************************************* * Return true if module imports root module. */ bool rootImports() { //printf("Module::rootImports() %s\n", toChars()); if (rootimports == 0) { for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; rootimports = 1; for (size_t i = 0; i < amodules.dim; ++i) { Module m = amodules[i]; if (m.isRoot() && imports(m)) { rootimports = 2; break; } } for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; } return rootimports == 2; } int insearch; Identifier searchCacheIdent; Dsymbol searchCacheSymbol; // cached value of search int searchCacheFlags; // cached flags /** * A root module is one that will be compiled all the way to * object code. This field holds the root module that caused * this module to be loaded. If this module is a root module, * then it will be set to `this`. This is used to determine * ownership of template instantiation. */ Module importedFrom; Dsymbols* decldefs; // top level declarations for this Module Modules aimports; // all imported modules uint debuglevel; // debug level Identifiers* debugids; // debug identifiers Identifiers* debugidsNot; // forward referenced debug identifiers uint versionlevel; // version level Identifiers* versionids; // version identifiers Identifiers* versionidsNot; // forward referenced version identifiers MacroTable macrotable; // document comment macros Escape* escapetable; // document comment escapes size_t nameoffset; // offset of module name from start of ModuleInfo size_t namelen; // length of module name in characters extern (D) this(const ref Loc loc, const(char)[] filename, Identifier ident, int doDocComment, int doHdrGen) { super(loc, ident); const(char)[] srcfilename; //printf("Module::Module(filename = '%s', ident = '%s')\n", filename, ident.toChars()); this.arg = filename; srcfilename = FileName.defaultExt(filename, global.mars_ext); if (global.run_noext && global.params.run && !FileName.ext(filename) && FileName.exists(srcfilename) == 0 && FileName.exists(filename) == 1) { FileName.free(srcfilename.ptr); srcfilename = FileName.removeExt(filename); // just does a mem.strdup(filename) } else if (!FileName.equalsExt(srcfilename, global.mars_ext) && !FileName.equalsExt(srcfilename, global.hdr_ext) && !FileName.equalsExt(srcfilename, "dd")) { error("source file name '%.*s' must have .%.*s extension", cast(int)srcfilename.length, srcfilename.ptr, cast(int)global.mars_ext.length, global.mars_ext.ptr); fatal(); } srcfile = FileName(srcfilename); objfile = setOutfilename(global.params.objname, global.params.objdir, filename, global.obj_ext); if (doDocComment) setDocfile(); if (doHdrGen) hdrfile = setOutfilename(global.params.hdrname, global.params.hdrdir, arg, global.hdr_ext); escapetable = new Escape(); } extern (D) this(const(char)[] filename, Identifier ident, int doDocComment, int doHdrGen) { this(Loc.initial, filename, ident, doDocComment, doHdrGen); } static Module create(const(char)* filename, Identifier ident, int doDocComment, int doHdrGen) { return create(filename.toDString, ident, doDocComment, doHdrGen); } extern (D) static Module create(const(char)[] filename, Identifier ident, int doDocComment, int doHdrGen) { return new Module(Loc.initial, filename, ident, doDocComment, doHdrGen); } static Module load(Loc loc, Identifiers* packages, Identifier ident) { //printf("Module::load(ident = '%s')\n", ident.toChars()); // Build module filename by turning: // foo.bar.baz // into: // foo\bar\baz const(char)[] filename = getFilename(packages, ident); // Look for the source file if (const result = lookForSourceFile(filename)) filename = result; // leaks auto m = new Module(loc, filename, ident, 0, 0); if (!m.read(loc)) return null; if (global.params.verbose) { OutBuffer buf; if (packages) { foreach (pid; *packages) { buf.writestring(pid.toString()); buf.writeByte('.'); } } buf.printf("%s\t(%s)", ident.toChars(), m.srcfile.toChars()); message("import %s", buf.peekChars()); } m = m.parse(); // Call onImport here because if the module is going to be compiled then we // need to determine it early because it affects semantic analysis. This is // being done after parsing the module so the full module name can be taken // from whatever was declared in the file. if (!m.isRoot() && Compiler.onImport(m)) { m.importedFrom = m; assert(m.isRoot()); } return m; } override const(char)* kind() const { return "module"; } /********************************************* * Combines things into output file name for .html and .di files. * Input: * name Command line name given for the file, NULL if none * dir Command line directory given for the file, NULL if none * arg Name of the source file * ext File name extension to use if 'name' is NULL * global.params.preservePaths get output path from arg * srcfile Input file - output file name must not match input file */ extern(D) FileName setOutfilename(const(char)[] name, const(char)[] dir, const(char)[] arg, const(char)[] ext) { const(char)[] docfilename; if (name) { docfilename = name; } else { const(char)[] argdoc; OutBuffer buf; if (arg == "__stdin.d") { version (Posix) import core.sys.posix.unistd : getpid; else version (Windows) import core.sys.windows.winbase : getpid = GetCurrentProcessId; buf.printf("__stdin_%d.d", getpid()); arg = buf[]; } if (global.params.preservePaths) argdoc = arg; else argdoc = FileName.name(arg); // If argdoc doesn't have an absolute path, make it relative to dir if (!FileName.absolute(argdoc)) { //FileName::ensurePathExists(dir); argdoc = FileName.combine(dir, argdoc); } docfilename = FileName.forceExt(argdoc, ext); } if (FileName.equals(docfilename, srcfile.toString())) { error("source file and output file have same name '%s'", srcfile.toChars()); fatal(); } return FileName(docfilename); } extern (D) void setDocfile() { docfile = setOutfilename(global.params.docname, global.params.docdir, arg, global.doc_ext); } /** * Loads the source buffer from the given read result into `this.srcBuffer`. * * Will take ownership of the buffer located inside `readResult`. * * Params: * loc = the location * readResult = the result of reading a file containing the source code * * Returns: `true` if successful */ bool loadSourceBuffer(const ref Loc loc, ref File.ReadResult readResult) { //printf("Module::loadSourceBuffer('%s') file '%s'\n", toChars(), srcfile.toChars()); // take ownership of buffer srcBuffer = new FileBuffer(readResult.extractSlice()); if (readResult.success) return true; if (FileName.equals(srcfile.toString(), "object.d")) { .error(loc, "cannot find source code for runtime library file 'object.d'"); errorSupplemental(loc, "dmd might not be correctly installed. Run 'dmd -man' for installation instructions."); const dmdConfFile = global.inifilename.length ? FileName.canonicalName(global.inifilename) : "not found"; errorSupplemental(loc, "config file: %.*s", cast(int)dmdConfFile.length, dmdConfFile.ptr); } else { // if module is not named 'package' but we're trying to read 'package.d', we're looking for a package module bool isPackageMod = (strcmp(toChars(), "package") != 0) && (strcmp(srcfile.name(), "package.d") == 0 || (strcmp(srcfile.name(), "package.di") == 0)); if (isPackageMod) .error(loc, "importing package '%s' requires a 'package.d' file which cannot be found in '%s'", toChars(), srcfile.toChars()); else error(loc, "is in file '%s' which cannot be read", srcfile.toChars()); } if (!global.gag) { /* Print path */ if (global.path) { foreach (i, p; *global.path) fprintf(stderr, "import path[%llu] = %s\n", cast(ulong)i, p); } else { fprintf(stderr, "Specify path to file '%s' with -I switch\n", srcfile.toChars()); } removeHdrFilesAndFail(global.params, Module.amodules); } return false; } /** * Reads the file from `srcfile` and loads the source buffer. * * If makefile module dependency is requested, we add this module * to the list of dependencies from here. * * Params: * loc = the location * * Returns: `true` if successful * See_Also: loadSourceBuffer */ bool read(const ref Loc loc) { if (srcBuffer) return true; // already read //printf("Module::read('%s') file '%s'\n", toChars(), srcfile.toChars()); auto readResult = File.read(srcfile.toChars()); if (global.params.makeDeps && global.params.oneobj) { OutBuffer* ob = global.params.makeDeps; ob.writestringln(" \\"); ob.writestring(" "); ob.writestring(toPosixPath(srcfile.toString())); } return loadSourceBuffer(loc, readResult); } /// syntactic parse Module parse() { return parseModule!ASTCodegen(); } /// ditto extern (D) Module parseModule(AST)() { enum Endian { little, big} enum SourceEncoding { utf16, utf32} /* * Convert a buffer from UTF32 to UTF8 * Params: * Endian = is the buffer big/little endian * buf = buffer of UTF32 data * Returns: * input buffer reencoded as UTF8 */ char[] UTF32ToUTF8(Endian endian)(const(char)[] buf) { static if (endian == Endian.little) alias readNext = Port.readlongLE; else alias readNext = Port.readlongBE; if (buf.length & 3) { error("odd length of UTF-32 char source %llu", cast(ulong) buf.length); fatal(); } const (uint)[] eBuf = cast(const(uint)[])buf; OutBuffer dbuf; dbuf.reserve(eBuf.length); foreach (i; 0 .. eBuf.length) { const u = readNext(&eBuf[i]); if (u & ~0x7F) { if (u > 0x10FFFF) { error("UTF-32 value %08x greater than 0x10FFFF", u); fatal(); } dbuf.writeUTF8(u); } else dbuf.writeByte(u); } dbuf.writeByte(0); //add null terminator return dbuf.extractSlice(); } /* * Convert a buffer from UTF16 to UTF8 * Params: * Endian = is the buffer big/little endian * buf = buffer of UTF16 data * Returns: * input buffer reencoded as UTF8 */ char[] UTF16ToUTF8(Endian endian)(const(char)[] buf) { static if (endian == Endian.little) alias readNext = Port.readwordLE; else alias readNext = Port.readwordBE; if (buf.length & 1) { error("odd length of UTF-16 char source %llu", cast(ulong) buf.length); fatal(); } const (ushort)[] eBuf = cast(const(ushort)[])buf; OutBuffer dbuf; dbuf.reserve(eBuf.length); //i will be incremented in the loop for high codepoints foreach (ref i; 0 .. eBuf.length) { uint u = readNext(&eBuf[i]); if (u & ~0x7F) { if (0xD800 <= u && u < 0xDC00) { i++; if (i >= eBuf.length) { error("surrogate UTF-16 high value %04x at end of file", u); fatal(); } const u2 = readNext(&eBuf[i]); if (u2 < 0xDC00 || 0xE000 <= u2) { error("surrogate UTF-16 low value %04x out of range", u2); fatal(); } u = (u - 0xD7C0) << 10; u |= (u2 - 0xDC00); } else if (u >= 0xDC00 && u <= 0xDFFF) { error("unpaired surrogate UTF-16 value %04x", u); fatal(); } else if (u == 0xFFFE || u == 0xFFFF) { error("illegal UTF-16 value %04x", u); fatal(); } dbuf.writeUTF8(u); } else dbuf.writeByte(u); } dbuf.writeByte(0); //add a terminating null byte return dbuf.extractSlice(); } const(char)* srcname = srcfile.toChars(); //printf("Module::parse(srcname = '%s')\n", srcname); isPackageFile = (strcmp(srcfile.name(), "package.d") == 0 || strcmp(srcfile.name(), "package.di") == 0); const(char)[] buf = cast(const(char)[]) srcBuffer.data; bool needsReencoding = true; bool hasBOM = true; //assume there's a BOM Endian endian; SourceEncoding sourceEncoding; if (buf.length >= 2) { /* Convert all non-UTF-8 formats to UTF-8. * BOM : http://www.unicode.org/faq/utf_bom.html * 00 00 FE FF UTF-32BE, big-endian * FF FE 00 00 UTF-32LE, little-endian * FE FF UTF-16BE, big-endian * FF FE UTF-16LE, little-endian * EF BB BF UTF-8 */ if (buf[0] == 0xFF && buf[1] == 0xFE) { endian = Endian.little; sourceEncoding = buf.length >= 4 && buf[2] == 0 && buf[3] == 0 ? SourceEncoding.utf32 : SourceEncoding.utf16; } else if (buf[0] == 0xFE && buf[1] == 0xFF) { endian = Endian.big; sourceEncoding = SourceEncoding.utf16; } else if (buf.length >= 4 && buf[0] == 0 && buf[1] == 0 && buf[2] == 0xFE && buf[3] == 0xFF) { endian = Endian.big; sourceEncoding = SourceEncoding.utf32; } else if (buf.length >= 3 && buf[0] == 0xEF && buf[1] == 0xBB && buf[2] == 0xBF) { needsReencoding = false;//utf8 with BOM } else { /* There is no BOM. Make use of Arcane Jill's insight that * the first char of D source must be ASCII to * figure out the encoding. */ hasBOM = false; if (buf.length >= 4 && buf[1] == 0 && buf[2] == 0 && buf[3] == 0) { endian = Endian.little; sourceEncoding = SourceEncoding.utf32; } else if (buf.length >= 4 && buf[0] == 0 && buf[1] == 0 && buf[2] == 0) { endian = Endian.big; sourceEncoding = SourceEncoding.utf32; } else if (buf.length >= 2 && buf[1] == 0) //try to check for UTF-16 { endian = Endian.little; sourceEncoding = SourceEncoding.utf16; } else if (buf[0] == 0) { endian = Endian.big; sourceEncoding = SourceEncoding.utf16; } else { // It's UTF-8 needsReencoding = false; if (buf[0] >= 0x80) { error("source file must start with BOM or ASCII character, not \\x%02X", buf[0]); fatal(); } } } //throw away BOM if (hasBOM) { if (!needsReencoding) buf = buf[3..$];// utf-8 already else if (sourceEncoding == SourceEncoding.utf32) buf = buf[4..$]; else buf = buf[2..$]; //utf 16 } } // Assume the buffer is from memory and has not be read from disk. Assume UTF-8. else if (buf.length >= 1 && (buf[0] == '\0' || buf[0] == 0x1A)) needsReencoding = false; //printf("%s, %d, %d, %d\n", srcfile.name.toChars(), needsReencoding, endian == Endian.little, sourceEncoding == SourceEncoding.utf16); if (needsReencoding) { if (sourceEncoding == SourceEncoding.utf16) { buf = endian == Endian.little ? UTF16ToUTF8!(Endian.little)(buf) : UTF16ToUTF8!(Endian.big)(buf); } else { buf = endian == Endian.little ? UTF32ToUTF8!(Endian.little)(buf) : UTF32ToUTF8!(Endian.big)(buf); } } /* If it starts with the string "Ddoc", then it's a documentation * source file. */ if (buf.length>= 4 && buf[0..4] == "Ddoc") { comment = buf.ptr + 4; isDocFile = true; if (!docfile) setDocfile(); return this; } /* If it has the extension ".dd", it is also a documentation * source file. Documentation source files may begin with "Ddoc" * but do not have to if they have the .dd extension. * https://issues.dlang.org/show_bug.cgi?id=15465 */ if (FileName.equalsExt(arg, "dd")) { comment = buf.ptr; // the optional Ddoc, if present, is handled above. isDocFile = true; if (!docfile) setDocfile(); return this; } /* If it has the extension ".di", it is a "header" file. */ if (FileName.equalsExt(arg, "di")) { isHdrFile = true; } { scope p = new Parser!AST(this, buf, cast(bool) docfile); p.nextToken(); members = p.parseModule(); md = p.md; numlines = p.scanloc.linnum; } srcBuffer.destroy(); srcBuffer = null; /* The symbol table into which the module is to be inserted. */ DsymbolTable dst; if (md) { /* A ModuleDeclaration, md, was provided. * The ModuleDeclaration sets the packages this module appears in, and * the name of this module. */ this.ident = md.id; Package ppack = null; dst = Package.resolve(md.packages, &this.parent, &ppack); assert(dst); Module m = ppack ? ppack.isModule() : null; if (m && (strcmp(m.srcfile.name(), "package.d") != 0 && strcmp(m.srcfile.name(), "package.di") != 0)) { .error(md.loc, "package name '%s' conflicts with usage as a module name in file %s", ppack.toPrettyChars(), m.srcfile.toChars()); } } else { /* The name of the module is set to the source file name. * There are no packages. */ dst = modules; // and so this module goes into global module symbol table /* Check to see if module name is a valid identifier */ if (!Identifier.isValidIdentifier(this.ident.toChars())) error("has non-identifier characters in filename, use module declaration instead"); } // Insert module into the symbol table Dsymbol s = this; if (isPackageFile) { /* If the source tree is as follows: * pkg/ * +- package.d * +- common.d * the 'pkg' will be incorporated to the internal package tree in two ways: * import pkg; * and: * import pkg.common; * * If both are used in one compilation, 'pkg' as a module (== pkg/package.d) * and a package name 'pkg' will conflict each other. * * To avoid the conflict: * 1. If preceding package name insertion had occurred by Package::resolve, * reuse the previous wrapping 'Package' if it exists * 2. Otherwise, 'package.d' wrapped by 'Package' is inserted to the internal tree in here. * * Then change Package::isPkgMod to PKG.module_ and set Package::mod. * * Note that the 'wrapping Package' is the Package that contains package.d and other submodules, * the one inserted to the symbol table. */ auto ps = dst.lookup(ident); Package p = ps ? ps.isPackage() : null; if (p is null) { p = new Package(Loc.initial, ident); p.tag = this.tag; // reuse the same package tag p.symtab = new DsymbolTable(); } this.tag = p.tag; // reuse the 'older' package tag this.pkg = p; p.parent = this.parent; p.isPkgMod = PKG.module_; p.mod = this; s = p; } if (!dst.insert(s)) { /* It conflicts with a name that is already in the symbol table. * Figure out what went wrong, and issue error message. */ Dsymbol prev = dst.lookup(ident); assert(prev); if (Module mprev = prev.isModule()) { if (!FileName.equals(srcname, mprev.srcfile.toChars())) error(loc, "from file %s conflicts with another module %s from file %s", srcname, mprev.toChars(), mprev.srcfile.toChars()); else if (isRoot() && mprev.isRoot()) error(loc, "from file %s is specified twice on the command line", srcname); else error(loc, "from file %s must be imported with 'import %s;'", srcname, toPrettyChars()); // https://issues.dlang.org/show_bug.cgi?id=14446 // Return previously parsed module to avoid AST duplication ICE. return mprev; } else if (Package pkg = prev.isPackage()) { // 'package.d' loaded after a previous 'Package' insertion if (isPackageFile) amodules.push(this); // Add to global array of all modules else error(md ? md.loc : loc, "from file %s conflicts with package name %s", srcname, pkg.toChars()); } else assert(global.errors); } else { // Add to global array of all modules amodules.push(this); } Compiler.onParseModule(this); return this; } override void importAll(Scope* prevsc) { //printf("+Module::importAll(this = %p, '%s'): parent = %p\n", this, toChars(), parent); if (_scope) return; // already done if (isDocFile) { error("is a Ddoc file, cannot import it"); return; } /* Note that modules get their own scope, from scratch. * This is so regardless of where in the syntax a module * gets imported, it is unaffected by context. * Ignore prevsc. */ Scope* sc = Scope.createGlobal(this); // create root scope if (md && md.msg) md.msg = semanticString(sc, md.msg, "deprecation message"); // Add import of "object", even for the "object" module. // If it isn't there, some compiler rewrites, like // classinst == classinst -> .object.opEquals(classinst, classinst) // would fail inside object.d. if (members.dim == 0 || (*members)[0].ident != Id.object || (*members)[0].isImport() is null) { auto im = new Import(Loc.initial, null, Id.object, null, 0); members.shift(im); } if (!symtab) { // Add all symbols into module's symbol table symtab = new DsymbolTable(); for (size_t i = 0; i < members.dim; i++) { Dsymbol s = (*members)[i]; s.addMember(sc, sc.scopesym); } } // anything else should be run after addMember, so version/debug symbols are defined /* Set scope for the symbols so that if we forward reference * a symbol, it can possibly be resolved on the spot. * If this works out well, it can be extended to all modules * before any semantic() on any of them. */ setScope(sc); // remember module scope for semantic for (size_t i = 0; i < members.dim; i++) { Dsymbol s = (*members)[i]; s.setScope(sc); } for (size_t i = 0; i < members.dim; i++) { Dsymbol s = (*members)[i]; s.importAll(sc); } sc = sc.pop(); sc.pop(); // 2 pops because Scope::createGlobal() created 2 } /********************************** * Determine if we need to generate an instance of ModuleInfo * for this Module. */ int needModuleInfo() { //printf("needModuleInfo() %s, %d, %d\n", toChars(), needmoduleinfo, global.params.cov); return needmoduleinfo || global.params.cov; } /******************************************* * Print deprecation warning if we're deprecated, when * this module is imported from scope sc. * * Params: * sc = the scope into which we are imported * loc = the location of the import statement */ void checkImportDeprecation(const ref Loc loc, Scope* sc) { if (md && md.isdeprecated && !sc.isDeprecated) { Expression msg = md.msg; if (StringExp se = msg ? msg.toStringExp() : null) { const slice = se.peekString(); deprecation(loc, "is deprecated - %.*s", cast(int)slice.length, slice.ptr); } else deprecation(loc, "is deprecated"); } } override Dsymbol search(const ref Loc loc, Identifier ident, int flags = SearchLocalsOnly) { /* Since modules can be circularly referenced, * need to stop infinite recursive searches. * This is done with the cache. */ //printf("%s Module.search('%s', flags = x%x) insearch = %d\n", toChars(), ident.toChars(), flags, insearch); if (insearch) return null; /* Qualified module searches always search their imports, * even if SearchLocalsOnly */ if (!(flags & SearchUnqualifiedModule)) flags &= ~(SearchUnqualifiedModule | SearchLocalsOnly); if (searchCacheIdent == ident && searchCacheFlags == flags) { //printf("%s Module::search('%s', flags = %d) insearch = %d searchCacheSymbol = %s\n", // toChars(), ident.toChars(), flags, insearch, searchCacheSymbol ? searchCacheSymbol.toChars() : "null"); return searchCacheSymbol; } uint errors = global.errors; insearch = 1; Dsymbol s = ScopeDsymbol.search(loc, ident, flags); insearch = 0; if (errors == global.errors) { // https://issues.dlang.org/show_bug.cgi?id=10752 // Can cache the result only when it does not cause // access error so the side-effect should be reproduced in later search. searchCacheIdent = ident; searchCacheSymbol = s; searchCacheFlags = flags; } return s; } override bool isPackageAccessible(Package p, Visibility visibility, int flags = 0) { if (insearch) // don't follow import cycles return false; insearch = true; scope (exit) insearch = false; if (flags & IgnorePrivateImports) visibility = Visibility(Visibility.Kind.public_); // only consider public imports return super.isPackageAccessible(p, visibility); } override Dsymbol symtabInsert(Dsymbol s) { searchCacheIdent = null; // symbol is inserted, so invalidate cache return Package.symtabInsert(s); } void deleteObjFile() { if (global.params.obj) File.remove(objfile.toChars()); if (docfile) File.remove(docfile.toChars()); } /******************************************* * Can't run semantic on s now, try again later. */ extern (D) static void addDeferredSemantic(Dsymbol s) { //printf("Module::addDeferredSemantic('%s')\n", s.toChars()); deferred.push(s); } extern (D) static void addDeferredSemantic2(Dsymbol s) { //printf("Module::addDeferredSemantic2('%s')\n", s.toChars()); deferred2.push(s); } extern (D) static void addDeferredSemantic3(Dsymbol s) { //printf("Module::addDeferredSemantic3('%s')\n", s.toChars()); deferred3.push(s); } /****************************************** * Run semantic() on deferred symbols. */ static void runDeferredSemantic() { if (dprogress == 0) return; __gshared int nested; if (nested) return; //if (deferred.dim) printf("+Module::runDeferredSemantic(), len = %d\n", deferred.dim); nested++; size_t len; do { dprogress = 0; len = deferred.dim; if (!len) break; Dsymbol* todo; Dsymbol* todoalloc = null; Dsymbol tmp; if (len == 1) { todo = &tmp; } else { todo = cast(Dsymbol*)Mem.check(malloc(len * Dsymbol.sizeof)); todoalloc = todo; } memcpy(todo, deferred.tdata(), len * Dsymbol.sizeof); deferred.setDim(0); for (size_t i = 0; i < len; i++) { Dsymbol s = todo[i]; s.dsymbolSemantic(null); //printf("deferred: %s, parent = %s\n", s.toChars(), s.parent.toChars()); } //printf("\tdeferred.dim = %d, len = %d, dprogress = %d\n", deferred.dim, len, dprogress); if (todoalloc) free(todoalloc); } while (deferred.dim < len || dprogress); // while making progress nested--; //printf("-Module::runDeferredSemantic(), len = %d\n", deferred.dim); } static void runDeferredSemantic2() { Module.runDeferredSemantic(); Dsymbols* a = &Module.deferred2; for (size_t i = 0; i < a.dim; i++) { Dsymbol s = (*a)[i]; //printf("[%d] %s semantic2a\n", i, s.toPrettyChars()); s.semantic2(null); if (global.errors) break; } a.setDim(0); } static void runDeferredSemantic3() { Module.runDeferredSemantic2(); Dsymbols* a = &Module.deferred3; for (size_t i = 0; i < a.dim; i++) { Dsymbol s = (*a)[i]; //printf("[%d] %s semantic3a\n", i, s.toPrettyChars()); s.semantic3(null); if (global.errors) break; } a.setDim(0); } extern (D) static void clearCache() { for (size_t i = 0; i < amodules.dim; i++) { Module m = amodules[i]; m.searchCacheIdent = null; } } /************************************ * Recursively look at every module this module imports, * return true if it imports m. * Can be used to detect circular imports. */ int imports(Module m) { //printf("%s Module::imports(%s)\n", toChars(), m.toChars()); version (none) { for (size_t i = 0; i < aimports.dim; i++) { Module mi = cast(Module)aimports.data[i]; printf("\t[%d] %s\n", i, mi.toChars()); } } for (size_t i = 0; i < aimports.dim; i++) { Module mi = aimports[i]; if (mi == m) return true; if (!mi.insearch) { mi.insearch = 1; int r = mi.imports(m); if (r) return r; } } return false; } bool isRoot() { return this.importedFrom == this; } // true if the module source file is directly // listed in command line. bool isCoreModule(Identifier ident) { return this.ident == ident && parent && parent.ident == Id.core && !parent.parent; } // Back end int doppelganger; // sub-module Symbol* cov; // private uint[] __coverage; uint* covb; // bit array of valid code line numbers Symbol* sictor; // module order independent constructor Symbol* sctor; // module constructor Symbol* sdtor; // module destructor Symbol* ssharedctor; // module shared constructor Symbol* sshareddtor; // module shared destructor Symbol* stest; // module unit test Symbol* sfilename; // symbol for filename uint[uint] ctfe_cov; /// coverage information from ctfe execution_count[line] override inout(Module) isModule() inout { return this; } override void accept(Visitor v) { v.visit(this); } /*********************************************** * Writes this module's fully-qualified name to buf * Params: * buf = The buffer to write to */ void fullyQualifiedName(ref OutBuffer buf) { buf.writestring(ident.toString()); for (auto package_ = parent; package_ !is null; package_ = package_.parent) { buf.prependstring("."); buf.prependstring(package_.ident.toChars()); } } } /*********************************************************** */ extern (C++) struct ModuleDeclaration { Loc loc; Identifier id; Identifiers* packages; // array of Identifier's representing packages bool isdeprecated; // if it is a deprecated module Expression msg; extern (D) this(const ref Loc loc, Identifiers* packages, Identifier id, Expression msg, bool isdeprecated) { this.loc = loc; this.packages = packages; this.id = id; this.msg = msg; this.isdeprecated = isdeprecated; } extern (C++) const(char)* toChars() const { OutBuffer buf; if (packages && packages.dim) { foreach (pid; *packages) { buf.writestring(pid.toString()); buf.writeByte('.'); } } buf.writestring(id.toString()); return buf.extractChars(); } /// Provide a human readable representation extern (D) const(char)[] toString() const { return this.toChars().toDString; } }
D
module UnrealScript.TribesGame.TrAnimNodeBlendByVehicle; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrPawn; import UnrealScript.TribesGame.TrAnimNodeBlendList; extern(C++) interface TrAnimNodeBlendByVehicle : TrAnimNodeBlendList { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrAnimNodeBlendByVehicle")); } private static __gshared TrAnimNodeBlendByVehicle mDefaultProperties; @property final static TrAnimNodeBlendByVehicle DefaultProperties() { mixin(MGDPC("TrAnimNodeBlendByVehicle", "TrAnimNodeBlendByVehicle TribesGame.Default__TrAnimNodeBlendByVehicle")); } static struct Functions { private static __gshared { ScriptFunction mPlayNoVehicleAnim; ScriptFunction mPlayDrivingAnim; ScriptFunction mPlayEnterAnim; ScriptFunction mPlayExitAnim; ScriptFunction mPlayChangeSeatAnim; } public @property static final { ScriptFunction PlayNoVehicleAnim() { mixin(MGF("mPlayNoVehicleAnim", "Function TribesGame.TrAnimNodeBlendByVehicle.PlayNoVehicleAnim")); } ScriptFunction PlayDrivingAnim() { mixin(MGF("mPlayDrivingAnim", "Function TribesGame.TrAnimNodeBlendByVehicle.PlayDrivingAnim")); } ScriptFunction PlayEnterAnim() { mixin(MGF("mPlayEnterAnim", "Function TribesGame.TrAnimNodeBlendByVehicle.PlayEnterAnim")); } ScriptFunction PlayExitAnim() { mixin(MGF("mPlayExitAnim", "Function TribesGame.TrAnimNodeBlendByVehicle.PlayExitAnim")); } ScriptFunction PlayChangeSeatAnim() { mixin(MGF("mPlayChangeSeatAnim", "Function TribesGame.TrAnimNodeBlendByVehicle.PlayChangeSeatAnim")); } } } enum EVehicleAnims : ubyte { VANIM_NoVehicle = 0, VANIM_Driving = 1, VANIM_Enter = 2, VANIM_Exit = 3, VANIM_ChangeSeat = 4, VANIM_MAX = 5, } @property final auto ref TrPawn m_TrPawn() { mixin(MGPC("TrPawn", 292)); } final: void PlayNoVehicleAnim() { (cast(ScriptObject)this).ProcessEvent(Functions.PlayNoVehicleAnim, cast(void*)0, cast(void*)0); } void PlayDrivingAnim() { (cast(ScriptObject)this).ProcessEvent(Functions.PlayDrivingAnim, cast(void*)0, cast(void*)0); } void PlayEnterAnim() { (cast(ScriptObject)this).ProcessEvent(Functions.PlayEnterAnim, cast(void*)0, cast(void*)0); } void PlayExitAnim() { (cast(ScriptObject)this).ProcessEvent(Functions.PlayExitAnim, cast(void*)0, cast(void*)0); } void PlayChangeSeatAnim() { (cast(ScriptObject)this).ProcessEvent(Functions.PlayChangeSeatAnim, cast(void*)0, cast(void*)0); } }
D
/Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Validation.o : /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/AFError.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Alamofire.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/MultipartFormData.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Notifications.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Request.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Response.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Result.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/SessionDelegate.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/SessionManager.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/TaskDelegate.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Timeline.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/Fares/Documents/Projects/TransitApp/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Validation~partial.swiftmodule : /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/AFError.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Alamofire.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/MultipartFormData.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Notifications.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Request.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Response.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Result.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/SessionDelegate.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/SessionManager.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/TaskDelegate.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Timeline.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/Fares/Documents/Projects/TransitApp/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Validation~partial.swiftdoc : /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/AFError.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Alamofire.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/MultipartFormData.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Notifications.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Request.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Response.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Result.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/SessionDelegate.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/SessionManager.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/TaskDelegate.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Timeline.swift /Users/Fares/Documents/Projects/TransitApp/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/Fares/Documents/Projects/TransitApp/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
module betterc.array; public: extern(C): @nogc: nothrow: private import betterc.all; /** * An array with a compile-time known fixed capacity. * Elements can be added and removed as long as the capacity is not exceeded. */ struct Array(T,int CAPACITY) { @nogc: nothrow: private: alias ARRAY = Array!(T,CAPACITY); T[CAPACITY] array; int _length; public: T* ptr() { return array.ptr; } int length() { return _length; } extern(D) int opApply(int delegate(ref T) @nogc nothrow dg) { int result = 0; for(auto i=0; i<_length; i++) { result = dg(array[i]); if(result) break; } return result; } extern(D) int opApply(int delegate(uint,ref T) @nogc nothrow dg) { int result = 0; for(auto i=0; i<_length; i++) { result = dg(i,array[i]); if(result) break; } return result; } void reset() { _length = 0; } ARRAY copy() { ARRAY list; for(auto i=0; i<_length; i++) { list.array[i] = array[i]; } list._length = _length; return list; } T first() { return array[0]; } T last() { return array[_length-1]; } auto add(T value) { array[_length++] = value; return this; } auto add(T[] values...) { for(auto i=0; i<values.length; i++) { array[_length++] = values[i]; } return this; } auto add(L)(L values) { for(auto i=0; i<values._length; i++) { array[i+_length++] = values.array[i]; } return this; } int count(T value) { int c = 0; for(auto i = 0; i<_length; i++) { if(array[i]==value) c++; } return c; } /** * list.each((v) { }); */ void each(void delegate(T v) nothrow @nogc functor) { for(auto i = 0; i<_length; i++) { functor(array[i]); } } /** * list.each((v,i) { }); */ void each(void delegate(T v, int index) nothrow @nogc functor) { for(auto i = 0; i<_length; i++) { functor(array[i], i); } } /** * list.filter(v=>v<5) // ==> returns new List!T * .each((v,i){}); */ auto filter(bool delegate(T v) nothrow @nogc functor) { ARRAY temp; for(auto i = 0; i<_length; i++) { if(functor(array[i])) { temp.add(array[i]); } } return temp; } /** * list.map(v=>return v*2f); */ auto map(K)(K delegate(T v) nothrow @nogc functor) { Array!(K,CAPACITY) temp; for(auto i = 0; i<_length; i++) { auto v = functor(array[i]); temp.add(v); } return temp; } }
D
/Users/KatiaHajjar/Documents/WhereAtV2/build/WhereAtV2.build/Debug-iphonesimulator/WhereAtV2.build/Objects-normal/x86_64/Meetup.o : /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/CreateAccountViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/MeetupTableViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/ViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/AppDelegate.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/InviteeLocationViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/SecondViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/TestViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Event.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/OwnerSuggestionsViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Users.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/InviteePicksViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/DetailViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/FeedTableViewCell.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Meetup.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.apinotesc /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftmodule /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask+Exceptions.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFExecutor.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationToken.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFURL.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFMeasurementEvent.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkTarget.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkResolving.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLink.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftmodule /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Headers/FacebookCore-Swift.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Headers/FacebookCore-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Headers/FacebookLogin-Swift.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Headers/FacebookLogin-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GMSCoordinateBounds.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GMSCompatabilityMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GoogleMapsBase.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSURLTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSSyncTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSServices.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPolyline.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPolygon.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaView.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaService.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaLink.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaCameraUpdate.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaCamera.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanorama.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSOrientation.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMutablePath.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMarkerLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMarker.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSUISettings.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapView.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapView+Animation.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapStyle.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorLevel.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorDisplay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorBuilding.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGroundOverlay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPath.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGeometryUtils.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGeocoder.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSProjection.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCoordinateBounds+GoogleMaps.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSOverlay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCircle.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCameraUpdate.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCameraPosition.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCALayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSDeprecationMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSAddress.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GoogleMaps.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSUserAddedPlace.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacesErrors.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacesClient.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceTypes.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacePhotoMetadataList.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacePhotoMetadata.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceLikelihoodList.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceLikelihood.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteViewController.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteTableDataSource.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlace.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteResultsViewController.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompletePrediction.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteMatchFragment.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteFilter.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteFetcher.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAddressComponent.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GooglePlaces.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/WhereAtV2.build/Debug-iphonesimulator/WhereAtV2.build/Objects-normal/x86_64/Meetup~partial.swiftmodule : /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/CreateAccountViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/MeetupTableViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/ViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/AppDelegate.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/InviteeLocationViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/SecondViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/TestViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Event.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/OwnerSuggestionsViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Users.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/InviteePicksViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/DetailViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/FeedTableViewCell.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Meetup.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.apinotesc /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftmodule /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask+Exceptions.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFExecutor.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationToken.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFURL.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFMeasurementEvent.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkTarget.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkResolving.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLink.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftmodule /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Headers/FacebookCore-Swift.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Headers/FacebookCore-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Headers/FacebookLogin-Swift.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Headers/FacebookLogin-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GMSCoordinateBounds.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GMSCompatabilityMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GoogleMapsBase.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSURLTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSSyncTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSServices.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPolyline.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPolygon.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaView.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaService.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaLink.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaCameraUpdate.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaCamera.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanorama.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSOrientation.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMutablePath.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMarkerLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMarker.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSUISettings.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapView.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapView+Animation.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapStyle.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorLevel.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorDisplay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorBuilding.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGroundOverlay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPath.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGeometryUtils.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGeocoder.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSProjection.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCoordinateBounds+GoogleMaps.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSOverlay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCircle.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCameraUpdate.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCameraPosition.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCALayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSDeprecationMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSAddress.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GoogleMaps.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSUserAddedPlace.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacesErrors.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacesClient.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceTypes.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacePhotoMetadataList.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacePhotoMetadata.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceLikelihoodList.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceLikelihood.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteViewController.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteTableDataSource.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlace.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteResultsViewController.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompletePrediction.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteMatchFragment.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteFilter.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteFetcher.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAddressComponent.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GooglePlaces.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/WhereAtV2.build/Debug-iphonesimulator/WhereAtV2.build/Objects-normal/x86_64/Meetup~partial.swiftdoc : /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/CreateAccountViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/MeetupTableViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/ViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/AppDelegate.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/InviteeLocationViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/SecondViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/TestViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Event.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/OwnerSuggestionsViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Users.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/InviteePicksViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/DetailViewController.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/FeedTableViewCell.swift /Users/KatiaHajjar/Documents/WhereAtV2/WhereAtV2/Meetup.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.apinotesc /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftmodule /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask+Exceptions.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFExecutor.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationToken.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFURL.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFMeasurementEvent.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkTarget.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkResolving.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLink.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/Bolts/Bolts.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftmodule /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Headers/FacebookCore-Swift.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Headers/FacebookCore-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookCore/FacebookCore.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Headers/FacebookLogin-Swift.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Headers/FacebookLogin-umbrella.h /Users/KatiaHajjar/Documents/WhereAtV2/build/Debug-iphonesimulator/FacebookLogin/FacebookLogin.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GMSCoordinateBounds.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GMSCompatabilityMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Headers/GoogleMapsBase.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSURLTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSSyncTileLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSServices.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPolyline.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPolygon.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaView.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaService.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaLink.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaCameraUpdate.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanoramaCamera.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPanorama.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSOrientation.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMutablePath.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMarkerLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMarker.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSUISettings.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapView.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapView+Animation.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapStyle.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSMapLayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorLevel.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorDisplay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSIndoorBuilding.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGroundOverlay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSPath.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGeometryUtils.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSGeocoder.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSProjection.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCoordinateBounds+GoogleMaps.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSOverlay.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCircle.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCameraUpdate.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCameraPosition.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSCALayer.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSDeprecationMacros.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GMSAddress.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Headers/GoogleMaps.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Modules/module.modulemap /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSUserAddedPlace.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacesErrors.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacesClient.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceTypes.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacePhotoMetadataList.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlacePhotoMetadata.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceLikelihoodList.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlaceLikelihood.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteViewController.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteTableDataSource.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSPlace.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteResultsViewController.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompletePrediction.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteMatchFragment.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteFilter.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAutocompleteFetcher.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GMSAddressComponent.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Headers/GooglePlaces.h /Users/KatiaHajjar/Documents/WhereAtV2/Pods/GooglePlaces/Frameworks/GooglePlaces.framework/Modules/module.modulemap
D
instance Spell_ChargeFireball(C_Spell_Proto) { time_per_mana = 60; damage_per_level = SPL_Damage_ChargeFireball; damagetype = DAM_FIRE; canTurnDuringInvest = TRUE; }; func int Spell_Logic_ChargeFireball(var int manaInvested) { if((self.guild == GIL_FIREGOLEM) || (self.aivar[AIV_MM_REAL_ID] == ID_DRAGON_FIRE)) { AI_PrintClr("Это не сработает...",177,58,17); //B_Say(self,self,"$DONTWORK"); return SPL_SENDSTOP; }; if(self.attribute[ATR_MANA] < STEP_ChargeFireball) { return SPL_DONTINVEST; }; if(manaInvested <= (STEP_ChargeFireball * 1)) { self.aivar[AIV_SpellLevel] = 1; return SPL_STATUS_CANINVEST_NO_MANADEC; } else if((manaInvested > (STEP_ChargeFireball * 1)) && (self.aivar[AIV_SpellLevel] <= 1)) { self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - STEP_ChargeFireball; if(self.attribute[ATR_MANA] < 0) { self.attribute[ATR_MANA] = 0; }; self.aivar[AIV_SpellLevel] = 2; return SPL_NEXTLEVEL; } else if((manaInvested > (STEP_ChargeFireball * 2)) && (self.aivar[AIV_SpellLevel] <= 2)) { self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - STEP_ChargeFireball; if(self.attribute[ATR_MANA] < 0) { self.attribute[ATR_MANA] = 0; }; self.aivar[AIV_SpellLevel] = 3; return SPL_NEXTLEVEL; } else if((manaInvested > (STEP_ChargeFireball * 3)) && (self.aivar[AIV_SpellLevel] <= 3)) { self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - STEP_ChargeFireball; if(self.attribute[ATR_MANA] < 0) { self.attribute[ATR_MANA] = 0; }; self.aivar[AIV_SpellLevel] = 4; return SPL_NEXTLEVEL; } else if((manaInvested > (STEP_ChargeFireball * 3)) && (self.aivar[AIV_SpellLevel] == 4)) { return SPL_DONTINVEST; }; return SPL_STATUS_CANINVEST_NO_MANADEC; }; func void Spell_Cast_ChargeFireball(var int spellLevel) { if(Npc_IsPlayer(self) && (PLAYERISTRANSFER == TRUE) && (PLAYERISTRANSFERDONE == FALSE)) { b_transferback(self); }; self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - STEP_ChargeFireball; if(self.attribute[ATR_MANA] < 0) { self.attribute[ATR_MANA] = 0; }; if(Npc_IsPlayer(self) && (MIS_RUNEMAGICNOTWORK == LOG_Running) && (TESTRUNEME == FALSE) && !Npc_GetActiveSpellIsScroll(self)) { if((FIREMAGERUNESNOT == TRUE) || (WATERMAGERUNESNOT == TRUE) || (GURUMAGERUNESNOT == TRUE) || (PALADINRUNESNOT == TRUE)) { B_LogEntry(TOPIC_RUNEMAGICNOTWORK,"Как интересно! В отличие от Пирокара и других прочих магов, я могу использовать рунную магию. Что бы это значило?!"); } else { B_LogEntry(TOPIC_RUNEMAGICNOTWORK,"Как интересно! В отличие от Пирокара, я могу использовать рунную магию. Что бы это значило?!"); }; TESTRUNEME = TRUE; }; self.aivar[AIV_SelectSpell] += 1; };
D
/* * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ module antlr.v4.runtime.ParserInterpreter; import std.typecons; import std.format; import std.container : DList; import antlr.v4.runtime.Parser; import antlr.v4.runtime.CharStream; import antlr.v4.runtime.InterpreterRuleContext; import antlr.v4.runtime.ParserRuleContext; import antlr.v4.runtime.RecognitionException; import antlr.v4.runtime.FailedPredicateException; import antlr.v4.runtime.UnsupportedOperationException; import antlr.v4.runtime.InputMismatchException; import antlr.v4.runtime.Token; import antlr.v4.runtime.TokenConstantDefinition; import antlr.v4.runtime.TokenStream; import antlr.v4.runtime.TokenSource; import antlr.v4.runtime.Vocabulary; import antlr.v4.runtime.VocabularyImpl; import antlr.v4.runtime.atn.ATN; import antlr.v4.runtime.atn.ATNState; import antlr.v4.runtime.atn.AtomTransition; import antlr.v4.runtime.atn.StateNames; import antlr.v4.runtime.atn.StarLoopEntryState; import antlr.v4.runtime.atn.ActionTransition; import antlr.v4.runtime.atn.RuleTransition; import antlr.v4.runtime.atn.PredicateTransition; import antlr.v4.runtime.atn.PrecedencePredicateTransition; import antlr.v4.runtime.atn.Transition; import antlr.v4.runtime.atn.LoopEndState; import antlr.v4.runtime.atn.ParserATNSimulator; import antlr.v4.runtime.atn.RuleStartState; import antlr.v4.runtime.atn.TransitionStates; import antlr.v4.runtime.dfa.DFA; import antlr.v4.runtime.atn.DecisionState; import antlr.v4.runtime.atn.PredictionContextCache; alias ParentContextPair = Tuple!(ParserRuleContext, "a", int, "b"); alias TokenFactorySourcePair = Tuple!(TokenSource, "a", CharStream, "b"); /** * @uml * A parser simulator that mimics what ANTLR's generated * parser code does. A ParserATNSimulator is used to make * predictions via adaptivePredict but this class moves a pointer through the * ATN to simulate parsing. ParserATNSimulator just * makes us efficient rather than having to backtrack, for example. * * This properly creates parse trees even for left recursive rules. * * We rely on the left recursive rule invocation and special predicate * transitions to make left recursive rules work. * * See TestParserInterpreter for examples. */ class ParserInterpreter : Parser { protected string grammarFileName; protected ATN atn; /** * @uml * not shared like it is for generated parsers */ protected DFA[] decisionToDFA; protected PredictionContextCache sharedContextCache ; protected string[] tokenNames; protected string[] ruleNames; private Vocabulary vocabulary; /** * @uml * This stack corresponds to the _parentctx, _parentState pair of locals * that would exist on call stack frames with a recursive descent parser; * in the generated function for a left-recursive rule you'd see: * * private EContext e(int _p) throws RecognitionException { * ParserRuleContext _parentctx = _ctx; // Pair.a * int _parentState = getState(); // Pair.b * ... * } * * Those values are used to create new recursive rule invocation contexts * associated with left operand of an alt like "expr '*' expr". */ protected DList!ParentContextPair _parentContextStack; /** * @uml * We need a map from (decision,inputIndex)->forced alt for computing ambiguous * parse trees. For now, we allow exactly one override. */ protected int overrideDecision = -1; protected int overrideDecisionInputIndex = -1; protected int overrideDecisionAlt = -1; /** * @uml * latch and only override once; error might trigger infinite loop */ protected bool overrideDecisionReached = false;; /** * @uml * What is the current context when we override a decisions? * This tellsus what the root of the parse tree is when using override * for an ambiguity/lookahead check. */ protected InterpreterRuleContext overrideDecisionRoot = null; protected InterpreterRuleContext rootContext; /** * @uml * deprecated Use {@link #ParserInterpreter(String, Vocabulary, Collection, ATN, TokenStream)} instead. */ public this(string grammarFileName, string[] tokenNames, string[] ruleNames, ATN atn, TokenStream input) { this(grammarFileName, VocabularyImpl.fromTokenNames(tokenNames), ruleNames, atn, input); } public this(string grammarFileName, Vocabulary vocabulary, string[] ruleNames, ATN atn, TokenStream input) { super(input); this.grammarFileName = grammarFileName; this.atn = atn; for (int i = 0; i < tokenNames.length; i++) { tokenNames ~= vocabulary.getDisplayName(i); } this.ruleNames = ruleNames; this.vocabulary = vocabulary; // init decision DFA int numberOfDecisions = atn.getNumberOfDecisions(); for (int i = 0; i < numberOfDecisions; i++) { DecisionState decisionState = atn.getDecisionState(i); decisionToDFA ~= new DFA(decisionState, i); } // get atn simulator that knows how to do predictions setInterpreter(new ParserATNSimulator(this, atn, decisionToDFA, sharedContextCache)); } /** * @uml * @override */ public override void reset() { super.reset(); overrideDecisionReached = false; overrideDecisionRoot = null; } /** * @uml * @override */ public override ATN getATN() { return atn; } /** * @uml * @override */ public override string[] getTokenNames() { return tokenNames; } /** * @uml * @override */ public override Vocabulary getVocabulary() { return vocabulary; } /** * @uml * @override */ public override string[] getRuleNames() { return ruleNames; } /** * @uml * @override */ public override string getGrammarFileName() { return grammarFileName; } /** * @uml * Begin parsing at startRuleIndex */ public ParserRuleContext parse(int startRuleIndex) { RuleStartState startRuleStartState = atn.ruleToStartState[startRuleIndex]; rootContext = createInterpreterRuleContext(null, ATNState.INVALID_STATE_NUMBER, startRuleIndex); if (startRuleStartState.isLeftRecursiveRule) { enterRecursionRule(rootContext, startRuleStartState.stateNumber, startRuleIndex, 0); } else { enterRule(rootContext, startRuleStartState.stateNumber, startRuleIndex); } while ( true ) { ATNState p = getATNState(); switch ( p.getStateType() ) { case StateNames.RULE_STOP : // pop; return from rule if (ctx_.isEmpty() ) { if (startRuleStartState.isLeftRecursiveRule) { ParserRuleContext result = ctx_; ParentContextPair parentContext = _parentContextStack.back; _parentContextStack.removeBack(); unrollRecursionContexts(parentContext.a); return result; } else { exitRule(); return rootContext; } } visitRuleStopState(p); break; default : try { visitState(p); } catch (RecognitionException e) { setState(atn.ruleToStopState[p.ruleIndex].stateNumber); ctx_.exception = e; getErrorHandler.reportError(this, e); recover(e); } break; } } } /** * @uml * @override */ public override void enterRecursionRule(ParserRuleContext localctx, int state, int ruleIndex, int precedence) { ParentContextPair pair = tuple(ctx_, localctx.invokingState); _parentContextStack.insert(pair); super.enterRecursionRule(localctx, state, ruleIndex, precedence); } protected ATNState getATNState() { return atn.states[getState]; } protected void visitState(ATNState p) { // System.out.println("visitState "+p.stateNumber); int predictedAlt = 1; if (p.classinfo == DecisionState.classinfo) { predictedAlt = visitDecisionState(cast(DecisionState) p); } Transition transition = p.transition(predictedAlt - 1); switch (transition.getSerializationType()) { case TransitionStates.EPSILON: if ( p.getStateType()== StateNames.STAR_LOOP_ENTRY && (cast(StarLoopEntryState)p).isPrecedenceDecision && !(transition.target.classinfo == LoopEndState.classinfo)) { // We are at the start of a left recursive rule's (...)* loop // and we're not taking the exit branch of loop. InterpreterRuleContext localctx = createInterpreterRuleContext(_parentContextStack.front.a, _parentContextStack.front.b, ctx_.getRuleIndex()); pushNewRecursionContext(localctx, atn.ruleToStartState[p.ruleIndex].stateNumber, ctx_.getRuleIndex()); } break; case TransitionStates.ATOM: match((cast(AtomTransition)transition)._label); break; case TransitionStates.RANGE: case TransitionStates.SET: case TransitionStates.NOT_SET: if (!transition.matches(_input.LA(1), TokenConstantDefinition.MIN_USER_TOKEN_TYPE, 65535)) { recoverInline(); } matchWildcard(); break; case TransitionStates.WILDCARD: matchWildcard(); break; case TransitionStates.RULE: RuleStartState ruleStartState = cast(RuleStartState)transition.target; int ruleIndex = ruleStartState.ruleIndex; InterpreterRuleContext newctx = createInterpreterRuleContext(ctx_, p.stateNumber, ruleIndex); if (ruleStartState.isLeftRecursiveRule) { enterRecursionRule(newctx, ruleStartState.stateNumber, ruleIndex, (cast(RuleTransition)transition).precedence); } else { enterRule(newctx, transition.target.stateNumber, ruleIndex); } break; case TransitionStates.PREDICATE: PredicateTransition predicateTransition = cast(PredicateTransition)transition; if (!sempred(ctx_, predicateTransition.ruleIndex, predicateTransition.predIndex)) { throw new FailedPredicateException(this); } break; case TransitionStates.ACTION: ActionTransition actionTransition = cast(ActionTransition)transition; action(ctx_, actionTransition.ruleIndex, actionTransition.actionIndex); break; case TransitionStates.PRECEDENCE: if (!precpred(ctx_, (cast(PrecedencePredicateTransition)transition).precedence)) { throw new FailedPredicateException(this, format("precpred(ctx_, %d)", (cast(PrecedencePredicateTransition)transition).precedence)); } break; default: throw new UnsupportedOperationException("Unrecognized ATN transition type."); } setState(transition.target.stateNumber); } protected int visitDecisionState(DecisionState p) { int predictedAlt = 1; if (p.getNumberOfTransitions() > 1) { getErrorHandler.sync(this); int decision = p.decision; if (decision == overrideDecision && _input.index() == overrideDecisionInputIndex && !overrideDecisionReached ) { predictedAlt = overrideDecisionAlt; overrideDecisionReached = true; } else { predictedAlt = getInterpreter().adaptivePredict(_input, decision, ctx_); } } return predictedAlt; } /** * @uml * Provide simple "factory" for InterpreterRuleContext's. */ protected InterpreterRuleContext createInterpreterRuleContext(ParserRuleContext parent, int invokingStateNumber, int ruleIndex) { return new InterpreterRuleContext(parent, invokingStateNumber, ruleIndex); } protected void visitRuleStopState(ATNState p) { } /** * @uml * Override this parser interpreters normal decision-making process * at a particular decision and input token index. Instead of * allowing the adaptive prediction mechanism to choose the * first alternative within a block that leads to a successful parse, * force it to take the alternative, 1..n for n alternatives. * * As an implementation limitation right now, you can only specify one * override. This is sufficient to allow construction of different * parse trees for ambiguous input. It means re-parsing the entire input * in general because you're never sure where an ambiguous sequence would * live in the various parse trees. For example, in one interpretation, * an ambiguous input sequence would be matched completely in expression * but in another it could match all the way back to the root. * * s : e '!'? ; * e : ID * | ID '!' * ; * * Here, x! can be matched as (s (e ID) !) or (s (e ID !)). In the first * case, the ambiguous sequence is fully contained only by the root. * In the second case, the ambiguous sequences fully contained within just * e, as in: (e ID !). * * Rather than trying to optimize this and make * some intelligent decisions for optimization purposes, I settled on * just re-parsing the whole input and then using * {link Trees#getRootOfSubtreeEnclosingRegion} to find the minimal * subtree that contains the ambiguous sequence. I originally tried to * record the call stack at the point the parser detected and ambiguity but * left recursive rules create a parse tree stack that does not reflect * the actual call stack. That impedance mismatch was enough to make * it it challenging to restart the parser at a deeply nested rule * invocation. * * Only parser interpreters can override decisions so as to avoid inserting * override checking code in the critical ALL(*) prediction execution path. */ public void addDecisionOverride(int decision, int tokenIndex, int forcedAlt) { overrideDecision = decision; overrideDecisionInputIndex = tokenIndex; overrideDecisionAlt = forcedAlt; } public InterpreterRuleContext getOverrideDecisionRoot() { return overrideDecisionRoot; } /** * @uml * Rely on the error handler for this parser but, if no tokens are consumed * to recover, add an error node. Otherwise, nothing is seen in the parse * tree. */ protected void recover(RecognitionException e) { TokenFactorySourcePair tokenFactorySourcePair; int i = _input.index(); getErrorHandler.recover(this, e); if ( _input.index()==i ) { // no input consumed, better add an error node if (e.classinfo == InputMismatchException.classinfo) { InputMismatchException ime = cast(InputMismatchException)e; Token tok = e.getOffendingToken(); int expectedTokenType = ime.getExpectedTokens().getMinElement(); // get any element tokenFactorySourcePair = tuple(tok.getTokenSource(), tok.getTokenSource().getInputStream()); auto errToken = tokenFactory().create(tokenFactorySourcePair, expectedTokenType, tok.getText(), TokenConstantDefinition.DEFAULT_CHANNEL, -1, -1, // invalid start/stop tok.getLine(), tok.getCharPositionInLine()); ctx_.addErrorNode(errToken); } else { // NoViableAlt auto tok = e.getOffendingToken; tokenFactorySourcePair = tuple(tok.getTokenSource(), tok.getTokenSource().getInputStream()); auto errToken = tokenFactory().create(tokenFactorySourcePair, TokenConstantDefinition.INVALID_TYPE, tok.getText(), TokenConstantDefinition.DEFAULT_CHANNEL, -1, -1, // invalid start/stop tok.getLine(), tok.getCharPositionInLine()); ctx_.addErrorNode(errToken); } } } protected Token recoverInline() { return _errHandler.recoverInline(this); } /** * @uml * Return the root of the parse, which can be useful if the parser * bails out. You still can access the top node. Note that, * because of the way left recursive rules add children, it's possible * that the root will not have any children if the start rule immediately * called and left recursive rule that fails. */ public InterpreterRuleContext getRootContext() { return rootContext; } }
D
// URL: https://yukicoder.me/problems/no/159 import std.algorithm, std.array, std.bitmanip, std.container, std.conv, std.format, std.functional, std.math, std.range, std.traits, std.typecons, std.stdio, std.string; version(unittest) {} else void main() { double p, q; io.getV(p, q); io.putB(1-p < p*(1-q), "YES", "NO"); } auto io = IO!()(); import lib.io;
D
import lu.conv : Enum; import dialect; import std.conv : to; unittest { IRCParser parser; parser.client.nickname = "kameloso"; // Because we removed the default value { immutable event = parser.toIRCEvent("ERROR :Closing Link: 81-233-105-62-no80.tbcn.telia.com (Quit: kameloso^)"); with (IRCEvent.Type) with (event) { assert((type == ERROR), Enum!(IRCEvent.Type).toString(type)); assert((content == "Closing Link: 81-233-105-62-no80.tbcn.telia.com (Quit: kameloso^)"), content); } } { immutable event = parser.toIRCEvent("NOTICE kameloso :*** If you are having problems connecting due to ping timeouts, please type /notice F94828E6 nospoof now."); with (IRCEvent.Type) with (event) { assert((type == NOTICE), Enum!(IRCEvent.Type).toString(type)); assert((content == "*** If you are having problems connecting due to ping timeouts, please type /notice F94828E6 nospoof now."), content); } } { immutable event = parser.toIRCEvent(":miranda.chathispano.com 465 kameloso 1511086908 :[1511000504768] G-Lined by ChatHispano Network. Para mas informacion visite http://chathispano.com/gline/?id=<id> (expires at Dom, 19/11/2017 11:21:48 +0100)."); with (IRCEvent.Type) with (event) { assert((type == ERR_YOUREBANNEDCREEP), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "miranda.chathispano.com"), sender.address); assert((content == "[1511000504768] G-Lined by ChatHispano Network. Para mas informacion visite http://chathispano.com/gline/?id=<id> (expires at Dom, 19/11/2017 11:21:48 +0100)."), content); assert((aux[0] == "1511086908"), aux[0]); assert((num == 465), num.to!string); } } { immutable event = parser.toIRCEvent(":irc.RomaniaChat.eu 322 kameloso #GameOfThrones 1 :[+ntTGfB]"); with (IRCEvent.Type) with (event) { assert((type == RPL_LIST), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "irc.RomaniaChat.eu"), sender.address); assert((channel == "#gameofthrones"), channel); assert((content == "[+ntTGfB]"), content); assert((count[0] == 1), count[0].to!string); assert((num == 322), num.to!string); } } { immutable event = parser.toIRCEvent(":irc.RomaniaChat.eu 322 kameloso #radioclick 63 :[+ntr] Bun venit pe #Radioclick! Site oficial www.radioclick.ro sau servere irc.romaniachat.eu, irc.radioclick.ro"); with (IRCEvent.Type) with (event) { assert((type == RPL_LIST), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "irc.RomaniaChat.eu"), sender.address); assert((channel == "#radioclick"), channel); assert((content == "[+ntr] Bun venit pe #Radioclick! Site oficial www.radioclick.ro sau servere irc.romaniachat.eu, irc.radioclick.ro"), content); assert((count[0] == 63), count[0].to!string); assert((num == 322), num.to!string); } } { immutable event = parser.toIRCEvent(":cadance.canternet.org 379 kameloso kameloso :is using modes +ix"); with (IRCEvent.Type) with (event) { assert((type == RPL_WHOISMODES), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "cadance.canternet.org"), sender.address); assert((aux[0] == "+ix"), aux[0]); assert((num == 379), num.to!string); } } { immutable event = parser.toIRCEvent(":Miyabro!~Miyabro@DA8192E8:4D54930F:650EE60D:IP CHGHOST ~Miyabro Miyako.is.mai.waifu"); with (IRCEvent.Type) with (event) { assert((type == CHGHOST), Enum!(IRCEvent.Type).toString(type)); assert((sender.nickname == "Miyabro"), sender.nickname); assert((sender.ident == "~Miyabro"), sender.ident); assert((sender.address == "Miyako.is.mai.waifu"), sender.address); } } { immutable event = parser.toIRCEvent(":Iasdf666!~Iasdf666@The.Breakfast.Club PRIVMSG #uk :be more welcoming you negative twazzock"); with (IRCEvent.Type) with (event) { assert((type == CHAN), Enum!(IRCEvent.Type).toString(type)); assert((sender.nickname == "Iasdf666"), sender.nickname); assert((sender.ident == "~Iasdf666"), sender.ident); assert((sender.address == "The.Breakfast.Club"), sender.address); assert((channel == "#uk"), channel); assert((content == "be more welcoming you negative twazzock"), content); } } { immutable event = parser.toIRCEvent(":gallon!~MO.11063@482c29a5.e510bf75.97653814.IP4 PART :#cncnet-yr"); with (IRCEvent.Type) with (event) { assert((type == PART), Enum!(IRCEvent.Type).toString(type)); assert((sender.nickname == "gallon"), sender.nickname); assert((sender.ident == "~MO.11063"), sender.ident); assert((sender.address == "482c29a5.e510bf75.97653814.IP4"), sender.address); assert((channel == "#cncnet-yr"), channel); } } { immutable e24 = parser.toIRCEvent(":like.so 513 kameloso :To connect, type /QUOTE PONG 3705964477"); with (e24) { assert((sender.address == "like.so"), sender.address); assert((type == IRCEvent.Type.ERR_NEEDPONG), Enum!(IRCEvent.Type).toString(type)); assert((content == "PONG 3705964477"), content); } } } unittest { IRCParser parser; parser.client.nickname = "kameloso^"; // Because we removed the default value immutable daemon = IRCServer.Daemon.inspircd; parser.typenums = typenumsOf(daemon); parser.server.daemon = daemon; parser.server.daemonstring = "inspircd"; { immutable event = parser.toIRCEvent(":cadance.canternet.org 953 kameloso^ #flerrp :End of channel exemptchanops list"); with (IRCEvent.Type) with (event) { assert((type == ENDOFEXEMPTOPSLIST), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "cadance.canternet.org"), sender.address); assert((channel == "#flerrp"), channel); assert((content == "End of channel exemptchanops list"), content); assert((num == 953), num.to!string); } } } unittest { IRCParser parser; { immutable event = parser.toIRCEvent(":irc.portlane.se 020 * :Please wait while we process your connection."); with (IRCEvent.Type) with (event) { assert((type == RPL_HELLO), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "irc.portlane.se"), sender.address); assert((content == "Please wait while we process your connection."), content); assert((num == 20), num.to!string); } } with (parser) { assert(serverUpdated); assert((server.resolvedAddress == "irc.portlane.se"), server.resolvedAddress); } } unittest { IRCParser parser; parser.client.nickname = "kameloso"; // Because we removed the default value with (parser) { server.address = "efnet.port80.se"; } { immutable event = parser.toIRCEvent(":efnet.port80.se 004 kameloso efnet.port80.se ircd-ratbox-3.0.9 oiwszcrkfydnxbauglZCD biklmnopstveIrS bkloveI"); with (event) { assert((type == IRCEvent.Type.RPL_MYINFO), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "efnet.port80.se"), sender.address); assert((content == "oiwszcrkfydnxbauglZCD biklmnopstveIrS bkloveI"), content); assert((aux[0] == "ircd-ratbox-3.0.9"), aux[0]); assert((num == 4), num.to!string); } } with (parser) { assert((server.daemon == IRCServer.Daemon.ratbox), Enum!(IRCServer.Daemon).toString(server.daemon)); assert((server.daemonstring == "ircd-ratbox-3.0.9"), server.daemonstring); } { immutable event = parser.toIRCEvent(":efnet.port80.se 005 kameloso CHANTYPES=&# EXCEPTS INVEX CHANMODES=eIb,k,l,imnpstS CHANLIMIT=&#:50 PREFIX=(ov)@+ MAXLIST=beI:100 MODES=4 NETWORK=EFnet KNOCK STATUSMSG=@+ CALLERID=g :are supported by this server"); with (event) { assert((type == IRCEvent.Type.RPL_ISUPPORT), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "efnet.port80.se"), sender.address); assert((aux[0] == "CHANTYPES=&#"), aux[0]); assert((aux[1] == "EXCEPTS"), aux[1]); assert((aux[2] == "INVEX"), aux[2]); assert((aux[3] == "CHANMODES=eIb,k,l,imnpstS"), aux[3]); assert((aux[4] == "CHANLIMIT=&#:50"), aux[4]); assert((aux[5] == "PREFIX=(ov)@+"), aux[5]); assert((aux[6] == "MAXLIST=beI:100"), aux[6]); assert((aux[7] == "MODES=4"), aux[7]); assert((aux[8] == "NETWORK=EFnet"), aux[8]); assert((aux[9] == "KNOCK"), aux[9]); assert((aux[10] == "STATUSMSG=@+"), aux[10]); assert((aux[11] == "CALLERID=g"), aux[11]); assert((num == 5), num.to!string); } } with (parser) { assert((server.network == "EFnet"), server.network); assert((server.aModes == "eIb"), server.aModes); assert((server.bModes == "k"), server.bModes); assert((server.cModes == "l"), server.cModes); assert((server.dModes == "imnpstS"), server.dModes); assert((server.prefixchars == ['+':'v', '@':'o']), server.prefixchars.to!string); assert((server.prefixes == "ov"), server.prefixes); assert((server.chantypes == "&#"), server.chantypes); assert((server.supports == "CHANTYPES=&# EXCEPTS INVEX CHANMODES=eIb,k,l,imnpstS CHANLIMIT=&#:50 PREFIX=(ov)@+ MAXLIST=beI:100 MODES=4 NETWORK=EFnet KNOCK STATUSMSG=@+ CALLERID=g"), server.supports); } } unittest { IRCParser parser; parser.client.nickname = "kameloso"; // Because we removed the default value with (parser) { server.address = "bitcoin.uk.eu.dal.net"; } { immutable event = parser.toIRCEvent(":bitcoin.uk.eu.dal.net NOTICE AUTH :*** Looking up your hostname..."); with (event) { assert((type == IRCEvent.Type.NOTICE), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "bitcoin.uk.eu.dal.net"), sender.address); assert((content == "*** Looking up your hostname..."), content); } } with (parser) { assert((server.resolvedAddress == "bitcoin.uk.eu.dal.net"), server.resolvedAddress); } { immutable event = parser.toIRCEvent(":bitcoin.uk.eu.dal.net 004 kameloso bitcoin.uk.eu.dal.net bahamut-2.1.4 aAbcCdefFghHiIjkKmnoOPrRsSwxXy AbceiIjklLmMnoOpPrRsStv"); with (event) { assert((type == IRCEvent.Type.RPL_MYINFO), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "bitcoin.uk.eu.dal.net"), sender.address); assert((content == "aAbcCdefFghHiIjkKmnoOPrRsSwxXy AbceiIjklLmMnoOpPrRsStv"), content); assert((aux[0] == "bahamut-2.1.4"), aux[0]); assert((num == 4), num.to!string); } } with (parser) { assert((server.daemon == IRCServer.Daemon.bahamut), Enum!(IRCServer.Daemon).toString(server.daemon)); assert((server.daemonstring == "bahamut-2.1.4"), server.daemonstring); } { immutable event = parser.toIRCEvent(":bitcoin.uk.eu.dal.net 005 kameloso NETWORK=DALnet SAFELIST MAXBANS=200 MAXCHANNELS=50 CHANNELLEN=32 KICKLEN=307 NICKLEN=30 TOPICLEN=307 MODES=6 CHANTYPES=# CHANLIMIT=#:50 PREFIX=(ov)@+ STATUSMSG=@+ :are available on this server"); with (event) { assert((type == IRCEvent.Type.RPL_ISUPPORT), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "bitcoin.uk.eu.dal.net"), sender.address); assert((aux[0] == "NETWORK=DALnet"), aux[0]); assert((aux[1] == "SAFELIST"), aux[1]); assert((aux[2] == "MAXBANS=200"), aux[2]); assert((aux[3] == "MAXCHANNELS=50"), aux[3]); assert((aux[4] == "CHANNELLEN=32"), aux[4]); assert((aux[5] == "KICKLEN=307"), aux[5]); assert((aux[6] == "NICKLEN=30"), aux[6]); assert((aux[7] == "TOPICLEN=307"), aux[7]); assert((aux[8] == "MODES=6"), aux[8]); assert((aux[9] == "CHANTYPES=#"), aux[9]); assert((aux[10] == "CHANLIMIT=#:50"), aux[10]); assert((aux[11] == "PREFIX=(ov)@+"), aux[11]); assert((aux[12] == "STATUSMSG=@+"), aux[12]); assert((num == 5), num.to!string); } } with (parser) { assert((server.network == "DALnet"), server.network); assert((server.maxNickLength == 30), server.maxNickLength.to!string); assert((server.maxChannelLength == 32), server.maxChannelLength.to!string); assert((server.prefixchars == ['+':'v', '@':'o']), server.prefixchars.to!string); assert((server.prefixes == "ov"), server.prefixes); assert((server.supports == "NETWORK=DALnet SAFELIST MAXBANS=200 MAXCHANNELS=50 CHANNELLEN=32 KICKLEN=307 NICKLEN=30 TOPICLEN=307 MODES=6 CHANTYPES=# CHANLIMIT=#:50 PREFIX=(ov)@+ STATUSMSG=@+"), server.supports); } { immutable event = parser.toIRCEvent(":bitcoin.uk.eu.dal.net 005 kameloso CASEMAPPING=ascii WATCH=128 SILENCE=10 ELIST=cmntu EXCEPTS INVEX CHANMODES=beI,k,jl,cimMnOprRsSt MAXLIST=b:200,e:100,I:100 TARGMAX=DCCALLOW:,JOIN:,KICK:4,KILL:20,NOTICE:20,PART:,PRIVMSG:20,WHOIS:,WHOWAS: :are available on this server"); with (event) { assert((type == IRCEvent.Type.RPL_ISUPPORT), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "bitcoin.uk.eu.dal.net"), sender.address); assert((aux[0] == "CASEMAPPING=ascii"), aux[0]); assert((aux[1] == "WATCH=128"), aux[1]); assert((aux[2] == "SILENCE=10"), aux[2]); assert((aux[3] == "ELIST=cmntu"), aux[3]); assert((aux[4] == "EXCEPTS"), aux[4]); assert((aux[5] == "INVEX"), aux[5]); assert((aux[6] == "CHANMODES=beI,k,jl,cimMnOprRsSt"), aux[6]); assert((aux[7] == "MAXLIST=b:200,e:100,I:100"), aux[7]); assert((aux[8] == "TARGMAX=DCCALLOW:,JOIN:,KICK:4,KILL:20,NOTICE:20,PART:,PRIVMSG:20,WHOIS:,WHOWAS:"), aux[8]); assert((num == 5), num.to!string); } } with (parser) { assert((server.aModes == "beI"), server.aModes); assert((server.cModes == "jl"), server.cModes); assert((server.bModes == "k"), server.bModes); assert((server.dModes == "cimMnOprRsSt"), server.dModes); assert((server.supports == "NETWORK=DALnet SAFELIST MAXBANS=200 MAXCHANNELS=50 CHANNELLEN=32 KICKLEN=307 NICKLEN=30 TOPICLEN=307 MODES=6 CHANTYPES=# CHANLIMIT=#:50 PREFIX=(ov)@+ STATUSMSG=@+ CASEMAPPING=ascii WATCH=128 SILENCE=10 ELIST=cmntu EXCEPTS INVEX CHANMODES=beI,k,jl,cimMnOprRsSt MAXLIST=b:200,e:100,I:100 TARGMAX=DCCALLOW:,JOIN:,KICK:4,KILL:20,NOTICE:20,PART:,PRIVMSG:20,WHOIS:,WHOWAS:"), server.supports); } { immutable event = parser.toIRCEvent(":NickServ!service@dal.net NOTICE kameloso :Password accepted for kameloso."); with (event) { assert((type == IRCEvent.Type.AUTH_SUCCESS), Enum!(IRCEvent.Type).toString(type)); assert((sender.nickname == "NickServ"), sender.nickname); assert((sender.ident == "service"), sender.ident); assert((sender.address == "dal.net"), sender.address); assert((content == "Password accepted for kameloso."), content); } } { immutable event = parser.toIRCEvent(":kameloso MODE kameloso :+i"); with (event) { assert((type == IRCEvent.Type.SELFMODE), Enum!(IRCEvent.Type).toString(type)); assert((sender.nickname == "kameloso"), sender.nickname); assert((aux[0] == "+i"), aux[0]); } } with (parser.client) { assert((modes == "i"), modes); } { immutable event = parser.toIRCEvent(":kameloso MODE kameloso :+r"); with (event) { assert((type == IRCEvent.Type.SELFMODE), Enum!(IRCEvent.Type).toString(type)); assert((sender.nickname == "kameloso"), sender.nickname); assert((aux[0] == "+r"), aux[0]); } } with (parser.client) { assert((modes == "ir"), modes); } } unittest { IRCParser parser; parser.client.nickname = "kameloso"; // Because we removed the default value with (parser) { server.address = "irc.geekshed.net"; } { immutable event = parser.toIRCEvent(":fe-00107.GeekShed.net NOTICE AUTH :*** Looking up your hostname..."); with (event) { assert((type == IRCEvent.Type.NOTICE), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "fe-00107.GeekShed.net"), sender.address); assert((content == "*** Looking up your hostname..."), content); } } with (parser) { assert((server.resolvedAddress == "fe-00107.GeekShed.net"), server.resolvedAddress); } { immutable event = parser.toIRCEvent("PING :E21567FB"); with (event) { assert((type == IRCEvent.Type.PING), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "irc.geekshed.net"), sender.address); assert((content == "E21567FB"), content); } } { immutable event = parser.toIRCEvent(":fe-00107.GeekShed.net 004 kameloso fe-00107.GeekShed.net Unreal3.2.10.3-gs iowghraAsORTVSxNCWqBzvdHtGpIDc lvhopsmntikrRcaqOALQbSeIKVfMCuzNTGjUZ"); with (event) { assert((type == IRCEvent.Type.RPL_MYINFO), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "fe-00107.GeekShed.net"), sender.address); assert((content == "iowghraAsORTVSxNCWqBzvdHtGpIDc lvhopsmntikrRcaqOALQbSeIKVfMCuzNTGjUZ"), content); assert((aux[0] == "Unreal3.2.10.3-gs"), aux[0]); assert((num == 4), num.to!string); } } with (parser) { assert((server.daemon == IRCServer.Daemon.unreal), Enum!(IRCServer.Daemon).toString(server.daemon)); assert((server.daemonstring == "Unreal3.2.10.3-gs"), server.daemonstring); } { immutable event = parser.toIRCEvent(":fe-00107.GeekShed.net 005 kameloso CMDS=KNOCK,MAP,DCCALLOW,USERIP,STARTTLS UHNAMES NAMESX SAFELIST HCN MAXCHANNELS=100 CHANLIMIT=#:100 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 :are supported by this server"); with (event) { assert((type == IRCEvent.Type.RPL_ISUPPORT), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "fe-00107.GeekShed.net"), sender.address); assert((aux[0] == "CMDS=KNOCK,MAP,DCCALLOW,USERIP,STARTTLS"), aux[0]); assert((aux[1] == "UHNAMES"), aux[1]); assert((aux[2] == "NAMESX"), aux[2]); assert((aux[3] == "SAFELIST"), aux[3]); assert((aux[4] == "HCN"), aux[4]); assert((aux[5] == "MAXCHANNELS=100"), aux[5]); assert((aux[6] == "CHANLIMIT=#:100"), aux[6]); assert((aux[7] == "MAXLIST=b:60,e:60,I:60"), aux[7]); assert((aux[8] == "NICKLEN=30"), aux[8]); assert((aux[9] == "CHANNELLEN=32"), aux[9]); assert((aux[10] == "TOPICLEN=307"), aux[10]); assert((aux[11] == "KICKLEN=307"), aux[11]); assert((aux[12] == "AWAYLEN=307"), aux[12]); assert((num == 5), num.to!string); } } with (parser) { assert((server.maxNickLength == 30), server.maxNickLength.to!string); assert((server.maxChannelLength == 32), server.maxChannelLength.to!string); assert((server.supports == "CMDS=KNOCK,MAP,DCCALLOW,USERIP,STARTTLS UHNAMES NAMESX SAFELIST HCN MAXCHANNELS=100 CHANLIMIT=#:100 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307"), server.supports); } { immutable event = parser.toIRCEvent(":fe-00107.GeekShed.net 005 kameloso MAXTARGETS=20 WALLCHOPS WATCH=128 WATCHOPTS=A SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(qaohv)~&@%+ CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTGUZ NETWORK=GeekShed CASEMAPPING=ascii EXTBAN=~,qjncrRaT ELIST=MNUCT :are supported by this server"); with (event) { assert((type == IRCEvent.Type.RPL_ISUPPORT), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "fe-00107.GeekShed.net"), sender.address); assert((aux[0] == "MAXTARGETS=20"), aux[0]); assert((aux[1] == "WALLCHOPS"), aux[1]); assert((aux[2] == "WATCH=128"), aux[2]); assert((aux[3] == "WATCHOPTS=A"), aux[3]); assert((aux[4] == "SILENCE=15"), aux[4]); assert((aux[5] == "MODES=12"), aux[5]); assert((aux[6] == "CHANTYPES=#"), aux[6]); assert((aux[7] == "PREFIX=(qaohv)~&@%+"), aux[7]); assert((aux[8] == "CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTGUZ"), aux[8]); assert((aux[9] == "NETWORK=GeekShed"), aux[9]); assert((aux[10] == "CASEMAPPING=ascii"), aux[10]); assert((aux[11] == "EXTBAN=~,qjncrRaT"), aux[11]); assert((aux[12] == "ELIST=MNUCT"), aux[12]); assert((num == 5), num.to!string); } } with (parser) { assert((server.network == "GeekShed"), server.network); assert((server.aModes == "beI"), server.aModes); assert((server.bModes == "kfL"), server.bModes); assert((server.cModes == "lj"), server.cModes); assert((server.dModes == "psmntirRcOAQKVCuzNSMTGUZ"), server.dModes); assert((server.prefixes == "qaohv"), server.prefixes); assert((server.prefixchars == ['&':'a', '+':'v', '@':'o', '%':'h', '~':'q']), server.prefixchars.to!string); assert((server.extbanPrefix == '~'), server.extbanPrefix.to!string); assert((server.extbanTypes == "qjncrRaT"), server.extbanTypes); assert((server.supports == "CMDS=KNOCK,MAP,DCCALLOW,USERIP,STARTTLS UHNAMES NAMESX SAFELIST HCN MAXCHANNELS=100 CHANLIMIT=#:100 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS WATCH=128 WATCHOPTS=A SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(qaohv)~&@%+ CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTGUZ NETWORK=GeekShed CASEMAPPING=ascii EXTBAN=~,qjncrRaT ELIST=MNUCT"), server.supports); } { immutable event = parser.toIRCEvent(":kameloso MODE kameloso :+iRx"); with (event) { assert((type == IRCEvent.Type.SELFMODE), Enum!(IRCEvent.Type).toString(type)); assert((sender.nickname == "kameloso"), sender.nickname); assert((aux[0] == "+iRx"), aux[0]); } } with (parser.client) { assert((modes == "Rix"), modes); } { immutable event = parser.toIRCEvent(":irc.link-net.be 010 zorael irc.link-net.be +6697 :Please use this Server/Port instead"); with (event) { assert((type == IRCEvent.Type.THISSERVERINSTEAD), Enum!(IRCEvent.Type).toString(type)); assert((sender.address == "irc.link-net.be"), sender.address); assert((content == "Please use this Server/Port instead"), content); assert((aux[0] == "irc.link-net.be"), aux[0]); assert((num == 10), num.to!string); assert((count[0] == 6697), count[0].to!string); } } }
D
import std.algorithm : map, sort; import std.array : array; import std.range : iota; import std.typecons : tuple; import std.stdio; size_t[] suffixArray(string document) { return 0.iota(document.length) .map!(a => tuple(a, document[a .. $])) .array .sort!((a, b) => a[1] < b[1]) .map!(a => a[0]) .array; } size_t binarySearch(size_t[] sa, bool delegate(size_t) del) { size_t left = 0; size_t right = sa.length; while (left < right) { auto mid = (left + right) / 2; if (del(sa[mid])) right = mid; else left = mid + 1; } return left; } void main() { auto document = "abracadabra"; auto sa = suffixArray(document); writeln(binarySearch(sa, (n) => document[n] > 'c')); }
D
// Written in the D programming language. /** <script type="text/javascript">inhibitQuickIndex = 1</script> $(BOOKTABLE , $(TR $(TH Category) $(TH Functions) ) $(TR $(TDNW Template API) $(TD $(MYREF SHA1) ) ) $(TR $(TDNW OOP API) $(TD $(MYREF SHA1Digest)) ) $(TR $(TDNW Helpers) $(TD $(MYREF sha1Of)) ) ) * Computes SHA1 hashes of arbitrary data. SHA1 hashes are 20 byte quantities * that are like a checksum or CRC, but are more robust. * * This module conforms to the APIs defined in $(D std.digest.digest). To understand the * differences between the template and the OOP API, see $(D std.digest.digest). * * This module publicly imports $(D std.digest.digest) and can be used as a stand-alone * module. * * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a> * * CTFE: * Digests do not work in CTFE * * Authors: * The routines and algorithms are derived from the * $(I Secure Hash Signature Standard (SHS) (FIPS PUB 180-2)). $(BR ) * Kai Nacke, Johannes Pfau * * References: * $(UL * $(LI $(LINK2 http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenotice.pdf, FIPS PUB180-2)) * $(LI $(LINK2 http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1/, Fast implementation of SHA1)) * $(LI $(LINK2 http://en.wikipedia.org/wiki/Secure_Hash_Algorithm, Wikipedia article about SHA)) * ) * * Source: $(PHOBOSSRC std/digest/_sha.d) * * Macros: * WIKI = Phobos/StdSha1 * MYREF = <font face='Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace'><a href="#$1">$1</a>&nbsp;</font> */ /* Copyright Kai Nacke 2012. * 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) */ module std.digest.sha; /// unittest { //Template API import std.digest.sha; ubyte[20] hash = sha1Of("abc"); assert(toHexString(hash) == "A9993E364706816ABA3E25717850C26C9CD0D89D"); //Feeding data ubyte[1024] data; SHA1 sha; sha.start(); sha.put(data[]); sha.start(); //Start again sha.put(data[]); hash = sha.finish(); } /// unittest { //OOP API import std.digest.sha; auto sha = new SHA1Digest(); ubyte[] hash = sha.digest("abc"); assert(toHexString(hash) == "A9993E364706816ABA3E25717850C26C9CD0D89D"); //Feeding data ubyte[1024] data; sha.put(data[]); sha.reset(); //Start again sha.put(data[]); hash = sha.finish(); } version(D_PIC) { // Do not use (Bug9378). } else version(Win64) { // wrong calling convention } else version(D_InlineAsm_X86) { private version = USE_SSSE3; } else version(D_InlineAsm_X86_64) { private version = USE_SSSE3; } import std.ascii : hexDigits; import std.exception : assumeUnique; import core.bitop : bswap; version(USE_SSSE3) import core.cpuid : hasSSSE3Support = ssse3; version(USE_SSSE3) import std.internal.digest.sha_SSSE3 : transformSSSE3; version(unittest) { import std.exception; } public import std.digest.digest; /* * Helper methods for encoding the buffer. * Can be removed if the optimizer can inline the methods from std.bitmanip. */ private ubyte[8] nativeToBigEndian(ulong val) @trusted pure nothrow { version(LittleEndian) immutable ulong res = (cast(ulong) bswap(cast(uint) val)) << 32 | bswap(cast(uint) (val >> 32)); else immutable ulong res = val; return *cast(ubyte[8]*) &res; } private ubyte[4] nativeToBigEndian(uint val) @trusted pure nothrow { version(LittleEndian) immutable uint res = bswap(val); else immutable uint res = val; return *cast(ubyte[4]*) &res; } private uint bigEndianToNative(ubyte[4] val) @trusted pure nothrow { version(LittleEndian) return bswap(*cast(uint*) &val); else return *cast(uint*) &val; } //rotateLeft rotates x left n bits private nothrow pure uint rotateLeft(uint x, uint n) { // With recently added optimization to DMD (commit 32ea0206 at 07/28/11), this is translated to rol. // No assembler required. return (x << n) | (x >> (32-n)); } /** * Template API SHA1 implementation. * See $(D std.digest.digest) for differences between template and OOP API. */ struct SHA1 { version(USE_SSSE3) { private __gshared immutable nothrow pure void function(uint[5]* state, const(ubyte[64])* block) transform; shared static this() { transform = hasSSSE3Support ? &transformSSSE3 : &transformX86; } } else { alias transform = transformX86; } private: uint[5] state = /* state (ABCDE) */ /* magic initialization constants */ [0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]; ulong count; /* number of bits, modulo 2^64 */ ubyte[64] buffer; /* input buffer */ enum ubyte[64] padding = [ 0x80, 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, 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 ]; /* * Ch, Parity and Maj are basic SHA1 functions. */ static pure nothrow { uint Ch(uint x, uint y, uint z) { return z ^ (x & (y ^ z)); } uint Parity(uint x, uint y, uint z) { return x ^ y ^ z; } uint Maj(uint x, uint y, uint z) { return (x & y) | (z & (x ^ y)); } } /* * SHA1 basic transformation. Transforms state based on block. */ static nothrow pure void T_0_15(int i, const(ubyte[64])* input, ref uint[16] W, uint A, ref uint B, uint C, uint D, uint E, ref uint T) { uint Wi = W[i] = bigEndianToNative(*cast(ubyte[4]*)&((*input)[i*4])); T = Ch(B, C, D) + E + rotateLeft(A, 5) + Wi + 0x5a827999; B = rotateLeft(B, 30); } static nothrow pure void T_16_19(int i, ref uint[16] W, uint A, ref uint B, uint C, uint D, uint E, ref uint T) { W[i&15] = rotateLeft(W[(i-3)&15] ^ W[(i-8)&15] ^ W[(i-14)&15] ^ W[(i-16)&15], 1); T = Ch(B, C, D) + E + rotateLeft(A, 5) + W[i&15] + 0x5a827999; B = rotateLeft(B, 30); } static nothrow pure void T_20_39(int i, ref uint[16] W, uint A, ref uint B, uint C, uint D, uint E, ref uint T) { W[i&15] = rotateLeft(W[(i-3)&15] ^ W[(i-8)&15] ^ W[(i-14)&15] ^ W[(i-16)&15], 1); T = Parity(B, C, D) + E + rotateLeft(A, 5) + W[i&15] + 0x6ed9eba1; B = rotateLeft(B, 30); } static nothrow pure void T_40_59(int i, ref uint[16] W, uint A, ref uint B, uint C, uint D, uint E, ref uint T) { W[i&15] = rotateLeft(W[(i-3)&15] ^ W[(i-8)&15] ^ W[(i-14)&15] ^ W[(i-16)&15], 1); T = Maj(B, C, D) + E + rotateLeft(A, 5) + W[i&15] + 0x8f1bbcdc; B = rotateLeft(B, 30); } static nothrow pure void T_60_79(int i, ref uint[16] W, uint A, ref uint B, uint C, uint D, uint E, ref uint T) { W[i&15] = rotateLeft(W[(i-3)&15] ^ W[(i-8)&15] ^ W[(i-14)&15] ^ W[(i-16)&15], 1); T = Parity(B, C, D) + E + rotateLeft(A, 5) + W[i&15] + 0xca62c1d6; B = rotateLeft(B, 30); } private static nothrow pure void transformX86(uint[5]* state, const(ubyte[64])* block) { uint A, B, C, D, E, T; uint[16] W = void; A = (*state)[0]; B = (*state)[1]; C = (*state)[2]; D = (*state)[3]; E = (*state)[4]; T_0_15 ( 0, block, W, A, B, C, D, E, T); T_0_15 ( 1, block, W, T, A, B, C, D, E); T_0_15 ( 2, block, W, E, T, A, B, C, D); T_0_15 ( 3, block, W, D, E, T, A, B, C); T_0_15 ( 4, block, W, C, D, E, T, A, B); T_0_15 ( 5, block, W, B, C, D, E, T, A); T_0_15 ( 6, block, W, A, B, C, D, E, T); T_0_15 ( 7, block, W, T, A, B, C, D, E); T_0_15 ( 8, block, W, E, T, A, B, C, D); T_0_15 ( 9, block, W, D, E, T, A, B, C); T_0_15 (10, block, W, C, D, E, T, A, B); T_0_15 (11, block, W, B, C, D, E, T, A); T_0_15 (12, block, W, A, B, C, D, E, T); T_0_15 (13, block, W, T, A, B, C, D, E); T_0_15 (14, block, W, E, T, A, B, C, D); T_0_15 (15, block, W, D, E, T, A, B, C); T_16_19(16, W, C, D, E, T, A, B); T_16_19(17, W, B, C, D, E, T, A); T_16_19(18, W, A, B, C, D, E, T); T_16_19(19, W, T, A, B, C, D, E); T_20_39(20, W, E, T, A, B, C, D); T_20_39(21, W, D, E, T, A, B, C); T_20_39(22, W, C, D, E, T, A, B); T_20_39(23, W, B, C, D, E, T, A); T_20_39(24, W, A, B, C, D, E, T); T_20_39(25, W, T, A, B, C, D, E); T_20_39(26, W, E, T, A, B, C, D); T_20_39(27, W, D, E, T, A, B, C); T_20_39(28, W, C, D, E, T, A, B); T_20_39(29, W, B, C, D, E, T, A); T_20_39(30, W, A, B, C, D, E, T); T_20_39(31, W, T, A, B, C, D, E); T_20_39(32, W, E, T, A, B, C, D); T_20_39(33, W, D, E, T, A, B, C); T_20_39(34, W, C, D, E, T, A, B); T_20_39(35, W, B, C, D, E, T, A); T_20_39(36, W, A, B, C, D, E, T); T_20_39(37, W, T, A, B, C, D, E); T_20_39(38, W, E, T, A, B, C, D); T_20_39(39, W, D, E, T, A, B, C); T_40_59(40, W, C, D, E, T, A, B); T_40_59(41, W, B, C, D, E, T, A); T_40_59(42, W, A, B, C, D, E, T); T_40_59(43, W, T, A, B, C, D, E); T_40_59(44, W, E, T, A, B, C, D); T_40_59(45, W, D, E, T, A, B, C); T_40_59(46, W, C, D, E, T, A, B); T_40_59(47, W, B, C, D, E, T, A); T_40_59(48, W, A, B, C, D, E, T); T_40_59(49, W, T, A, B, C, D, E); T_40_59(50, W, E, T, A, B, C, D); T_40_59(51, W, D, E, T, A, B, C); T_40_59(52, W, C, D, E, T, A, B); T_40_59(53, W, B, C, D, E, T, A); T_40_59(54, W, A, B, C, D, E, T); T_40_59(55, W, T, A, B, C, D, E); T_40_59(56, W, E, T, A, B, C, D); T_40_59(57, W, D, E, T, A, B, C); T_40_59(58, W, C, D, E, T, A, B); T_40_59(59, W, B, C, D, E, T, A); T_60_79(60, W, A, B, C, D, E, T); T_60_79(61, W, T, A, B, C, D, E); T_60_79(62, W, E, T, A, B, C, D); T_60_79(63, W, D, E, T, A, B, C); T_60_79(64, W, C, D, E, T, A, B); T_60_79(65, W, B, C, D, E, T, A); T_60_79(66, W, A, B, C, D, E, T); T_60_79(67, W, T, A, B, C, D, E); T_60_79(68, W, E, T, A, B, C, D); T_60_79(69, W, D, E, T, A, B, C); T_60_79(70, W, C, D, E, T, A, B); T_60_79(71, W, B, C, D, E, T, A); T_60_79(72, W, A, B, C, D, E, T); T_60_79(73, W, T, A, B, C, D, E); T_60_79(74, W, E, T, A, B, C, D); T_60_79(75, W, D, E, T, A, B, C); T_60_79(76, W, C, D, E, T, A, B); T_60_79(77, W, B, C, D, E, T, A); T_60_79(78, W, A, B, C, D, E, T); T_60_79(79, W, T, A, B, C, D, E); (*state)[0] += E; (*state)[1] += T; (*state)[2] += A; (*state)[3] += B; (*state)[4] += C; /* Zeroize sensitive information. */ W[] = 0; } public: /** * SHA1 initialization. Begins a SHA1 operation. * * Note: * For this SHA1 Digest implementation calling start after default construction * is not necessary. Calling start is only necessary to reset the Digest. * * Generic code which deals with different Digest types should always call start though. * * Examples: * -------- * SHA1 digest; * //digest.start(); //Not necessary * digest.put(0); * -------- */ @trusted nothrow pure void start() { this = SHA1.init; } /** * Use this to feed the digest with data. * Also implements the $(XREF range, OutputRange) interface for $(D ubyte) and * $(D const(ubyte)[]). */ @trusted nothrow pure void put(scope const(ubyte)[] input...) { uint i, index, partLen; auto inputLen = input.length; /* Compute number of bytes mod 64 */ index = (cast(uint)count >> 3) & (64 - 1); /* Update number of bits */ count += inputLen * 8; partLen = 64 - index; /* Transform as many times as possible. */ if (inputLen >= partLen) { (&buffer[index])[0 .. partLen] = input.ptr[0 .. partLen]; transform (&state, &buffer); for (i = partLen; i + 63 < inputLen; i += 64) transform(&state, cast(ubyte[64]*)(input.ptr + i)); index = 0; } else i = 0; /* Buffer remaining input */ if (inputLen - i) (&buffer[index])[0 .. inputLen-i] = (&input[i])[0 .. inputLen-i]; } /// unittest { SHA1 dig; dig.put(cast(ubyte)0); //single ubyte dig.put(cast(ubyte)0, cast(ubyte)0); //variadic ubyte[10] buf; dig.put(buf); //buffer } /** * Returns the finished SHA1 hash. This also calls $(LREF start) to * reset the internal state. */ @trusted nothrow pure ubyte[20] finish() { ubyte[20] data = void; uint index, padLen; /* Save number of bits */ ubyte bits[8] = nativeToBigEndian(count); /* Pad out to 56 mod 64. */ index = (cast(uint)count >> 3) & (64 - 1); padLen = (index < 56) ? (56 - index) : (120 - index); put(padding[0 .. padLen]); /* Append length (before padding) */ put(bits); /* Store state in digest */ for (auto i = 0; i < 5; i++) data[i*4..(i+1)*4] = nativeToBigEndian(state[i])[]; /* Zeroize sensitive information. */ start(); return data; } /// unittest { //Simple example SHA1 hash; hash.start(); hash.put(cast(ubyte)0); ubyte[20] result = hash.finish(); } } /// unittest { //Simple example, hashing a string using sha1Of helper function ubyte[20] hash = sha1Of("abc"); //Let's get a hash string assert(toHexString(hash) == "A9993E364706816ABA3E25717850C26C9CD0D89D"); } /// unittest { //Using the basic API SHA1 hash; hash.start(); ubyte[1024] data; //Initialize data here... hash.put(data); ubyte[20] result = hash.finish(); } /// unittest { //Let's use the template features: //Note: When passing a SHA1 to a function, it must be passed by reference! void doSomething(T)(ref T hash) if(isDigest!T) { hash.put(cast(ubyte)0); } SHA1 sha; sha.start(); doSomething(sha); assert(toHexString(sha.finish()) == "5BA93C9DB0CFF93F52B521D7420E43F6EDA2784F"); } unittest { assert(isDigest!SHA1); } unittest { import std.range; ubyte[20] digest; SHA1 sha; sha.put(cast(ubyte[])"abcdef"); sha.start(); sha.put(cast(ubyte[])""); assert(sha.finish() == cast(ubyte[])x"da39a3ee5e6b4b0d3255bfef95601890afd80709"); digest = sha1Of(""); assert(digest == cast(ubyte[])x"da39a3ee5e6b4b0d3255bfef95601890afd80709"); digest = sha1Of("a"); assert(digest == cast(ubyte[])x"86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"); digest = sha1Of("abc"); assert(digest == cast(ubyte[])x"a9993e364706816aba3e25717850c26c9cd0d89d"); digest = sha1Of("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"); assert(digest == cast(ubyte[])x"84983e441c3bd26ebaae4aa1f95129e5e54670f1"); digest = sha1Of("message digest"); assert(digest == cast(ubyte[])x"c12252ceda8be8994d5fa0290a47231c1d16aae3"); digest = sha1Of("abcdefghijklmnopqrstuvwxyz"); assert(digest == cast(ubyte[])x"32d10c7b8cf96570ca04ce37f2a19d84240d3a89"); digest = sha1Of("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); assert(digest == cast(ubyte[])x"761c457bf73b14d27e9e9265c46f4b4dda11f940"); digest = sha1Of("1234567890123456789012345678901234567890"~ "1234567890123456789012345678901234567890"); assert(digest == cast(ubyte[])x"50abf5706a150990a08b2c5ea40fa0e585554732"); ubyte[] onemilliona = new ubyte[1000000]; onemilliona[] = 'a'; digest = sha1Of(onemilliona); assert(digest == cast(ubyte[])x"34aa973cd4c4daa4f61eeb2bdbad27316534016f"); auto oneMillionRange = repeat!ubyte(cast(ubyte)'a', 1000000); digest = sha1Of(oneMillionRange); assert(digest == cast(ubyte[])x"34aa973cd4c4daa4f61eeb2bdbad27316534016f"); assert(toHexString(cast(ubyte[20])x"a9993e364706816aba3e25717850c26c9cd0d89d") == "A9993E364706816ABA3E25717850C26C9CD0D89D"); } /** * This is a convenience alias for $(XREF digest.digest, digest) using the * SHA1 implementation. */ //simple alias doesn't work here, hope this gets inlined... auto sha1Of(T...)(T data) { return digest!(SHA1, T)(data); } /// unittest { ubyte[20] hash = sha1Of("abc"); assert(hash == digest!SHA1("abc")); } unittest { string a = "Mary has ", b = "a little lamb"; int[] c = [ 1, 2, 3, 4, 5 ]; string d = toHexString(sha1Of(a, b, c)); version(LittleEndian) assert(d == "CDBB611D00AC2387B642D3D7BDF4C3B342237110", d); else assert(d == "A0F1196C7A379C09390476D9CA4AA11B71FD11C8", d); } /** * OOP API SHA1 implementation. * See $(D std.digest.digest) for differences between template and OOP API. * * This is an alias for $(XREF digest.digest, WrapperDigest)!SHA1, see * $(XREF digest.digest, WrapperDigest) for more information. */ alias SHA1Digest = WrapperDigest!SHA1; /// unittest { //Simple example, hashing a string using Digest.digest helper function auto sha = new SHA1Digest(); ubyte[] hash = sha.digest("abc"); //Let's get a hash string assert(toHexString(hash) == "A9993E364706816ABA3E25717850C26C9CD0D89D"); } /// unittest { //Let's use the OOP features: void test(Digest dig) { dig.put(cast(ubyte)0); } auto sha = new SHA1Digest(); test(sha); //Let's use a custom buffer: ubyte[20] buf; ubyte[] result = sha.finish(buf[]); assert(toHexString(result) == "5BA93C9DB0CFF93F52B521D7420E43F6EDA2784F"); } unittest { auto sha = new SHA1Digest(); sha.put(cast(ubyte[])"abcdef"); sha.reset(); sha.put(cast(ubyte[])""); assert(sha.finish() == cast(ubyte[])x"da39a3ee5e6b4b0d3255bfef95601890afd80709"); sha.put(cast(ubyte[])"abcdefghijklmnopqrstuvwxyz"); ubyte[22] result; auto result2 = sha.finish(result[]); assert(result[0 .. 20] == result2 && result2 == cast(ubyte[])x"32d10c7b8cf96570ca04ce37f2a19d84240d3a89"); debug assertThrown!Error(sha.finish(result[0 .. 15])); assert(sha.length == 20); assert(sha.digest("") == cast(ubyte[])x"da39a3ee5e6b4b0d3255bfef95601890afd80709"); assert(sha.digest("a") == cast(ubyte[])x"86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"); assert(sha.digest("abc") == cast(ubyte[])x"a9993e364706816aba3e25717850c26c9cd0d89d"); assert(sha.digest("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq") == cast(ubyte[])x"84983e441c3bd26ebaae4aa1f95129e5e54670f1"); assert(sha.digest("message digest") == cast(ubyte[])x"c12252ceda8be8994d5fa0290a47231c1d16aae3"); assert(sha.digest("abcdefghijklmnopqrstuvwxyz") == cast(ubyte[])x"32d10c7b8cf96570ca04ce37f2a19d84240d3a89"); assert(sha.digest("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") == cast(ubyte[])x"761c457bf73b14d27e9e9265c46f4b4dda11f940"); assert(sha.digest("1234567890123456789012345678901234567890", "1234567890123456789012345678901234567890") == cast(ubyte[])x"50abf5706a150990a08b2c5ea40fa0e585554732"); ubyte[] onemilliona = new ubyte[1000000]; onemilliona[] = 'a'; assert(sha.digest(onemilliona) == cast(ubyte[])x"34aa973cd4c4daa4f61eeb2bdbad27316534016f"); }
D
/** Internal module with common functionality for REST interface generators. Copyright: © 2015-2016 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.web.internal.rest.common; import vibe.http.common : HTTPMethod; import vibe.web.rest; import std.algorithm : endsWith, startsWith; import std.meta : anySatisfy, Filter; /** Provides all necessary tools to implement an automated REST interface. The given `TImpl` must be an `interface` or a `class` deriving from one. */ /*package(vibe.web.web)*/ struct RestInterface(TImpl) if (is(TImpl == class) || is(TImpl == interface)) { @safe: import std.traits : FunctionTypeOf, InterfacesTuple, MemberFunctionsTuple, ParameterIdentifierTuple, ParameterStorageClass, ParameterStorageClassTuple, ParameterTypeTuple, ReturnType; import std.typetuple : TypeTuple; import vibe.inet.url : URL; import vibe.internal.meta.funcattr : IsAttributedParameter; import vibe.internal.meta.uda; /// The settings used to generate the interface RestInterfaceSettings settings; /// Full base path of the interface, including an eventual `@path` annotation. string basePath; /// Full base URL of the interface, including an eventual `@path` annotation. string baseURL; // determine the implementation interface I and check for validation errors private alias BaseInterfaces = InterfacesTuple!TImpl; static assert (BaseInterfaces.length > 0 || is (TImpl == interface), "Cannot registerRestInterface type '" ~ TImpl.stringof ~ "' because it doesn't implement an interface"); static if (BaseInterfaces.length > 1) pragma(msg, "Type '" ~ TImpl.stringof ~ "' implements more than one interface: make sure the one describing the REST server is the first one"); static if (is(TImpl == interface)) alias I = TImpl; else alias I = BaseInterfaces[0]; static assert(getInterfaceValidationError!I is null, getInterfaceValidationError!(I)); /// The name of each interface member enum memberNames = [__traits(allMembers, I)]; /// Aliases to all interface methods alias AllMethods = GetAllMethods!(); /** Aliases for each route method This tuple has the same number of entries as `routes`. */ alias RouteFunctions = GetRouteFunctions!(); enum routeCount = RouteFunctions.length; /** Information about each route This array has the same number of fields as `RouteFunctions` */ Route[routeCount] routes; /// Static (compile-time) information about each route static if (routeCount) static const StaticRoute[routeCount] staticRoutes = computeStaticRoutes(); else static const StaticRoute[0] staticRoutes; /** Aliases for each sub interface method This array has the same number of entries as `subInterfaces` and `SubInterfaceTypes`. */ alias SubInterfaceFunctions = GetSubInterfaceFunctions!(); /** The type of each sub interface This array has the same number of entries as `subInterfaces` and `SubInterfaceFunctions`. */ alias SubInterfaceTypes = GetSubInterfaceTypes!(); enum subInterfaceCount = SubInterfaceFunctions.length; /** Information about sub interfaces This array has the same number of entries as `SubInterfaceFunctions` and `SubInterfaceTypes`. */ SubInterface[subInterfaceCount] subInterfaces; /** Fills the struct with information. Params: settings = Optional settings object. */ this(RestInterfaceSettings settings, bool is_client) { import vibe.internal.meta.uda : findFirstUDA; this.settings = settings ? settings.dup : new RestInterfaceSettings; if (is_client) { assert(this.settings.baseURL != URL.init, "RESTful clients need to have a valid RestInterfaceSettings.baseURL set."); } else if (this.settings.baseURL == URL.init) { // use a valid dummy base URL to be able to construct sub-URLs // for nested interfaces this.settings.baseURL = URL("http://localhost/"); } this.basePath = this.settings.baseURL.path.toString(); enum uda = findFirstUDA!(PathAttribute, I); static if (uda.found) { static if (uda.value.data == "") { auto path = "/" ~ adjustMethodStyle(I.stringof, this.settings.methodStyle); this.basePath = concatURL(this.basePath, path); } else { this.basePath = concatURL(this.basePath, uda.value.data); } } URL bu = this.settings.baseURL; bu.pathString = this.basePath; this.baseURL = bu.toString(); computeRoutes(); computeSubInterfaces(); } // copying this struct is costly, so we forbid it @disable this(this); private void computeRoutes() { import std.algorithm.searching : any; foreach (si, RF; RouteFunctions) { enum sroute = staticRoutes[si]; Route route; route.functionName = sroute.functionName; route.method = sroute.method; static if (sroute.pathOverride) route.pattern = sroute.rawName; else route.pattern = computeDefaultPath!RF(sroute.rawName); route.method = sroute.method; extractPathParts(route.fullPathParts, this.basePath.endsWith("/") ? this.basePath : this.basePath ~ "/"); route.parameters.length = sroute.parameters.length; bool prefix_id = false; alias PT = ParameterTypeTuple!RF; foreach (i, _; PT) { enum sparam = sroute.parameters[i]; Parameter pi; pi.name = sparam.name; pi.kind = sparam.kind; pi.isIn = sparam.isIn; pi.isOut = sparam.isOut; static if (sparam.kind != ParameterKind.attributed && sparam.fieldName.length == 0) { pi.fieldName = stripTUnderscore(pi.name, settings); } else pi.fieldName = sparam.fieldName; static if (i == 0 && sparam.name == "id") { prefix_id = true; if (route.pattern.length && route.pattern[0] != '/') route.pattern = '/' ~ route.pattern; route.pathParts ~= PathPart(true, "id"); route.fullPathParts ~= PathPart(true, "id"); } route.parameters[i] = pi; final switch (pi.kind) { case ParameterKind.query: route.queryParameters ~= pi; break; case ParameterKind.body_: route.bodyParameters ~= pi; break; case ParameterKind.header: route.headerParameters ~= pi; break; case ParameterKind.internal: route.internalParameters ~= pi; break; case ParameterKind.attributed: route.attributedParameters ~= pi; break; case ParameterKind.auth: route.authParameters ~= pi; break; } } extractPathParts(route.pathParts, route.pattern); extractPathParts(route.fullPathParts, !prefix_id && route.pattern.startsWith("/") ? route.pattern[1 .. $] : route.pattern); if (prefix_id) route.pattern = ":id" ~ route.pattern; route.fullPattern = concatURL(this.basePath, route.pattern); route.pathHasPlaceholders = route.fullPathParts.any!(p => p.isParameter); routes[si] = route; } } /** Returns an array with routes grouped by path pattern */ auto getRoutesGroupedByPattern() { import std.algorithm : map, sort, filter, any; import std.array : array; import std.typecons : tuple; // since /foo/:bar and /foo/:baz are the same route, we first normalize the patterns (by replacing each param with just ':') // after that we sort and chunkBy/groupBy, in order to group the related route auto sorted = routes[].map!((route){ return tuple(route,route.fullPathParts.map!((part){ return part.isParameter ? ":" : part.text; }).array()); // can probably remove the array here if we rewrite the comparison functions (in sort and in the foreach) to work on ranges }) .array .sort!((a,b) => a[1] < b[1]); typeof(sorted)[] groups; if (sorted.length > 0) { // NOTE: we want to support 2.066 but it doesn't have chunkBy, so we do the classic loop thingy size_t start, idx = 1; foreach(route, path; sorted[1..$]) { if (sorted[idx-1][1] != path) { groups ~= sorted[start..idx]; start = idx; } ++idx; } groups ~= sorted[start..$]; } return groups.map!(group => group.map!(tuple => tuple[0])); } private static StaticRoute[routeCount] computeStaticRoutes() { static import std.traits; import vibe.web.auth : AuthInfo; assert(__ctfe); StaticRoute[routeCount] ret; static if (is(TImpl == class)) alias AUTHTP = AuthInfo!TImpl; else alias AUTHTP = void; foreach (fi, func; RouteFunctions) { StaticRoute route; route.functionName = __traits(identifier, func); alias FuncType = FunctionTypeOf!func; alias ParameterTypes = ParameterTypeTuple!FuncType; alias ReturnType = std.traits.ReturnType!FuncType; enum parameterNames = [ParameterIdentifierTuple!func]; enum meta = extractHTTPMethodAndName!(func, false)(); route.method = meta.method; route.rawName = meta.url; route.pathOverride = meta.hadPathUDA; foreach (i, PT; ParameterTypes) { enum pname = parameterNames[i]; alias WPAT = UDATuple!(WebParamAttribute, func); // Comparison template for anySatisfy //template Cmp(WebParamAttribute attr) { enum Cmp = (attr.identifier == ParamNames[i]); } alias CompareParamName = GenCmp!("Loop"~func.mangleof, i, parameterNames[i]); mixin(CompareParamName.Decl); StaticParameter pi; pi.name = parameterNames[i]; // determine in/out storage class enum SC = ParameterStorageClassTuple!func[i]; static if (SC & ParameterStorageClass.out_) { pi.isOut = true; } else static if (SC & ParameterStorageClass.ref_) { pi.isIn = true; pi.isOut = true; } else { pi.isIn = true; } // determine parameter source/destination if (is(PT == AUTHTP)) { pi.kind = ParameterKind.auth; } else if (IsAttributedParameter!(func, pname)) { pi.kind = ParameterKind.attributed; } else static if (anySatisfy!(mixin(CompareParamName.Name), WPAT)) { alias PWPAT = Filter!(mixin(CompareParamName.Name), WPAT); pi.kind = PWPAT[0].origin; pi.fieldName = PWPAT[0].field; } else static if (pname.startsWith("_")) { pi.kind = ParameterKind.internal; pi.fieldName = parameterNames[i][1 .. $]; } else static if (i == 0 && pname == "id") { pi.kind = ParameterKind.internal; pi.fieldName = "id"; } else { pi.kind = route.method == HTTPMethod.GET ? ParameterKind.query : ParameterKind.body_; } route.parameters ~= pi; } ret[fi] = route; } return ret; } private void computeSubInterfaces() { foreach (i, func; SubInterfaceFunctions) { enum meta = extractHTTPMethodAndName!(func, false)(); static if (meta.hadPathUDA) string url = meta.url; else string url = computeDefaultPath!func(meta.url); SubInterface si; si.settings = settings.dup; si.settings.baseURL = URL(concatURL(this.baseURL, url, true)); subInterfaces[i] = si; } assert(subInterfaces.length == SubInterfaceFunctions.length); } private template GetSubInterfaceFunctions() { template Impl(size_t idx) { static if (idx < AllMethods.length) { alias SI = SubInterfaceType!(AllMethods[idx]); static if (!is(SI == void)) { alias Impl = TypeTuple!(AllMethods[idx], Impl!(idx+1)); } else { alias Impl = Impl!(idx+1); } } else alias Impl = TypeTuple!(); } alias GetSubInterfaceFunctions = Impl!0; } private template GetSubInterfaceTypes() { template Impl(size_t idx) { static if (idx < AllMethods.length) { alias SI = SubInterfaceType!(AllMethods[idx]); static if (!is(SI == void)) { alias Impl = TypeTuple!(SI, Impl!(idx+1)); } else { alias Impl = Impl!(idx+1); } } else alias Impl = TypeTuple!(); } alias GetSubInterfaceTypes = Impl!0; } private template GetRouteFunctions() { template Impl(size_t idx) { static if (idx < AllMethods.length) { alias F = AllMethods[idx]; alias SI = SubInterfaceType!F; static if (is(SI == void)) alias Impl = TypeTuple!(F, Impl!(idx+1)); else alias Impl = Impl!(idx+1); } else alias Impl = TypeTuple!(); } alias GetRouteFunctions = Impl!0; } private template GetAllMethods() { template Impl(size_t idx) { static if (idx < memberNames.length) { enum name = memberNames[idx]; // WORKAROUND #1045 / @@BUG14375@@ static if (name.length != 0) alias Impl = TypeTuple!(MemberFunctionsTuple!(I, name), Impl!(idx+1)); else alias Impl = Impl!(idx+1); } else alias Impl = TypeTuple!(); } alias GetAllMethods = Impl!0; } private string computeDefaultPath(alias method)(string name) { auto ret = adjustMethodStyle(stripTUnderscore(name, settings), settings.methodStyle); static if (is(I.CollectionIndices)) { alias IdxTypes = typeof(I.CollectionIndices.tupleof); alias PTypes = ParameterTypeTuple!method; enum has_index_param = PTypes.length >= IdxTypes.length && is(PTypes[0 .. IdxTypes.length] == IdxTypes); enum index_name = __traits(identifier, I.CollectionIndices.tupleof[$-1]); static if (has_index_param && index_name.startsWith("_")) ret = (":" ~ index_name[1 .. $] ~ "/").concatURL(ret); } return ret; } } struct Route { string functionName; // D name of the function HTTPMethod method; string pattern; // relative route path (relative to baseURL) string fullPattern; // absolute version of 'pattern' bool pathHasPlaceholders; // true if path/pattern contains any :placeholers PathPart[] pathParts; // path separated into text and placeholder parts PathPart[] fullPathParts; // full path separated into text and placeholder parts Parameter[] parameters; Parameter[] queryParameters; Parameter[] bodyParameters; Parameter[] headerParameters; Parameter[] attributedParameters; Parameter[] internalParameters; Parameter[] authParameters; } struct PathPart { /// interpret `text` as a parameter name (including the leading underscore) or as raw text bool isParameter; string text; } struct Parameter { ParameterKind kind; string name; string fieldName; bool isIn, isOut; } struct StaticRoute { string functionName; // D name of the function string rawName; // raw name as returned bool pathOverride; // @path UDA was used HTTPMethod method; StaticParameter[] parameters; } struct StaticParameter { ParameterKind kind; string name; string fieldName; // only set for parameters where the field name can be statically determined - use Parameter.fieldName in usual cases bool isIn, isOut; } enum ParameterKind { query, // req.query[] body_, // JSON body header, // req.header[] attributed, // @before internal, // req.params[] auth // @authrorized!T } struct SubInterface { RestInterfaceSettings settings; } template SubInterfaceType(alias F) { import std.traits : ReturnType, isInstanceOf; alias RT = ReturnType!F; static if (is(RT == interface)) alias SubInterfaceType = RT; else static if (isInstanceOf!(Collection, RT)) alias SubInterfaceType = RT.Interface; else alias SubInterfaceType = void; } private bool extractPathParts(ref PathPart[] parts, string pattern) @safe { import std.string : indexOf; string p = pattern; bool has_placeholders = false; void addText(string str) { if (parts.length > 0 && !parts[$-1].isParameter) parts[$-1].text ~= str; else parts ~= PathPart(false, str); } while (p.length) { auto cidx = p.indexOf(':'); if (cidx < 0) break; if (cidx > 0) addText(p[0 .. cidx]); p = p[cidx+1 .. $]; auto sidx = p.indexOf('/'); if (sidx < 0) sidx = p.length; assert(sidx > 0, "Empty path placeholders are illegal."); parts ~= PathPart(true, "_" ~ p[0 .. sidx]); has_placeholders = true; p = p[sidx .. $]; } if (p.length) addText(p); return has_placeholders; } unittest { interface IDUMMY { void test(int dummy); } class DUMMY : IDUMMY { void test(int) {} } auto test = RestInterface!DUMMY(null, false); } unittest { interface IDUMMY {} class DUMMY : IDUMMY {} auto test = RestInterface!DUMMY(null, false); } unittest { interface I { void a(); @path("foo") void b(); void c(int id); @path("bar") void d(int id); @path(":baz") void e(int _baz); @path(":foo/:bar/baz") void f(int _foo, int _bar); } auto test = RestInterface!I(null, false); assert(test.routeCount == 6); assert(test.routes[0].pattern == "a"); assert(test.routes[0].fullPattern == "/a"); assert(test.routes[0].pathParts == [PathPart(false, "a")]); assert(test.routes[0].fullPathParts == [PathPart(false, "/a")]); assert(test.routes[1].pattern == "foo"); assert(test.routes[1].fullPattern == "/foo"); assert(test.routes[1].pathParts == [PathPart(false, "foo")]); assert(test.routes[1].fullPathParts == [PathPart(false, "/foo")]); assert(test.routes[2].pattern == ":id/c"); assert(test.routes[2].fullPattern == "/:id/c"); assert(test.routes[2].pathParts == [PathPart(true, "id"), PathPart(false, "/c")]); assert(test.routes[2].fullPathParts == [PathPart(false, "/"), PathPart(true, "id"), PathPart(false, "/c")]); assert(test.routes[3].pattern == ":id/bar"); assert(test.routes[3].fullPattern == "/:id/bar"); assert(test.routes[3].pathParts == [PathPart(true, "id"), PathPart(false, "/bar")]); assert(test.routes[3].fullPathParts == [PathPart(false, "/"), PathPart(true, "id"), PathPart(false, "/bar")]); assert(test.routes[4].pattern == ":baz"); assert(test.routes[4].fullPattern == "/:baz"); assert(test.routes[4].pathParts == [PathPart(true, "_baz")]); assert(test.routes[4].fullPathParts == [PathPart(false, "/"), PathPart(true, "_baz")]); assert(test.routes[5].pattern == ":foo/:bar/baz"); assert(test.routes[5].fullPattern == "/:foo/:bar/baz"); assert(test.routes[5].pathParts == [PathPart(true, "_foo"), PathPart(false, "/"), PathPart(true, "_bar"), PathPart(false, "/baz")]); assert(test.routes[5].fullPathParts == [PathPart(false, "/"), PathPart(true, "_foo"), PathPart(false, "/"), PathPart(true, "_bar"), PathPart(false, "/baz")]); } unittest { // Note: the RestInterface generates routes in a specific order. // since the assertions below also (indirectly) test ordering, // the assertions might trigger when the ordering of the routes // generated by the RestInterface changes. interface Options { @path("a") void getA(); @path("a") void setA(); @path("bar/:param") void setFoo(int _param); @path("bar/:marap") void addFoo(int _marap); void addFoo(); void getFoo(); } auto test = RestInterface!Options(null, false); import std.array : array; import std.algorithm : map; import std.range : dropOne, front; auto options = test.getRoutesGroupedByPattern.array; assert(options.length == 3); assert(options[0].front.fullPattern == "/a"); assert(options[0].dropOne.front.fullPattern == "/a"); assert(options[0].map!(route=>route.method).array == [HTTPMethod.GET,HTTPMethod.PUT]); assert(options[1].front.fullPattern == "/bar/:param"); assert(options[1].dropOne.front.fullPattern == "/bar/:marap"); assert(options[1].map!(route=>route.method).array == [HTTPMethod.PUT,HTTPMethod.POST]); assert(options[2].front.fullPattern == "/foo"); assert(options[2].dropOne.front.fullPattern == "/foo"); assert(options[2].map!(route=>route.method).array == [HTTPMethod.POST,HTTPMethod.GET]); } unittest { @rootPathFromName interface Foo { string bar(); } auto test = RestInterface!Foo(null, false); assert(test.routeCount == 1); assert(test.routes[0].pattern == "bar"); assert(test.routes[0].fullPattern == "/foo/bar"); assert(test.routes[0].pathParts == [PathPart(false, "bar")]); assert(test.routes[0].fullPathParts == [PathPart(false, "/foo/bar")]); } unittest { @path("/foo/") interface Foo { @path("/bar/") string bar(); } auto test = RestInterface!Foo(null, false); assert(test.routeCount == 1); assert(test.routes[0].pattern == "/bar/"); assert(test.routes[0].fullPattern == "/foo/bar/"); assert(test.routes[0].pathParts == [PathPart(false, "/bar/")]); assert(test.routes[0].fullPathParts == [PathPart(false, "/foo/bar/")]); } unittest { // #1285 interface I { @headerParam("b", "foo") @headerParam("c", "bar") void a(int a, out int b, ref int c); } alias RI = RestInterface!I; static assert(RI.staticRoutes[0].parameters[0].name == "a"); static assert(RI.staticRoutes[0].parameters[0].isIn && !RI.staticRoutes[0].parameters[0].isOut); static assert(RI.staticRoutes[0].parameters[1].name == "b"); static assert(!RI.staticRoutes[0].parameters[1].isIn && RI.staticRoutes[0].parameters[1].isOut); static assert(RI.staticRoutes[0].parameters[2].name == "c"); static assert(RI.staticRoutes[0].parameters[2].isIn && RI.staticRoutes[0].parameters[2].isOut); } unittest { interface Baz { struct CollectionIndices { string _barid; int _bazid; } void test(string _barid, int _bazid); void test2(string _barid); } interface Bar { struct CollectionIndices { string _barid; } Collection!Baz baz(string _barid); void test(string _barid); void test2(); } interface Foo { Collection!Bar bar(); } auto foo = RestInterface!Foo(null, false); assert(foo.subInterfaceCount == 1); auto bar = RestInterface!Bar(foo.subInterfaces[0].settings, false); assert(bar.routeCount == 2); assert(bar.routes[0].fullPattern == "/bar/:barid/test"); assert(bar.routes[0].pathHasPlaceholders); assert(bar.routes[1].fullPattern == "/bar/test2", bar.routes[1].fullPattern); assert(!bar.routes[1].pathHasPlaceholders); assert(bar.subInterfaceCount == 1); auto baz = RestInterface!Baz(bar.subInterfaces[0].settings, false); assert(baz.routeCount == 2); assert(baz.routes[0].fullPattern == "/bar/:barid/baz/:bazid/test"); assert(baz.routes[0].pathHasPlaceholders); assert(baz.routes[1].fullPattern == "/bar/:barid/baz/test2"); assert(baz.routes[1].pathHasPlaceholders); } unittest { // #1648 import vibe.web.auth; @requiresAuth interface I { void a(); } alias RI = RestInterface!I; }
D
func void ZS_GotoBed() { Perception_Set_Normal(); B_ResetAll(self); AI_SetWalkMode(self,NPC_WALK); if(!C_NpcIsOnRoutineWP(self)) { AI_GotoWP(self,self.wp); }; AI_StartState(self,ZS_Sleep,0,""); }; func void B_AssessSleepTalk() { if(C_BodyStateContains(self,BS_LIE)) { B_ResetFaceExpression(self); AI_UseMob(self,"BEDHIGH",-1); }; AI_StartState(self,ZS_ObservePlayer,0,""); }; func void ZS_Sleep() { Npc_PercEnable(self,PERC_ASSESSQUIETSOUND,B_AssessQuietSound); Npc_PercEnable(self,PERC_ASSESSDAMAGE,B_AssessDamage); Npc_PercEnable(self,PERC_ASSESSTALK,B_AssessSleepTalk); AI_SetWalkMode(self,NPC_WALK); }; func int ZS_Sleep_Loop() { if(!C_BodyStateContains(self,BS_LIE)) { if(Wld_IsMobAvailable(self,"BEDHIGH")) { AI_UseMob(self,"BEDHIGH",1); Mdl_StartFaceAni(self,"S_EYESCLOSED",1,-1); } else if((Player_GetOutOfMyBedComment == FALSE) && C_BodyStateContains(hero,BS_LIE) && (Npc_GetDistToNpc(self,hero) <= 500)) { B_TurnToNpc(self,hero); B_Say(self,other,"$GETOUTOFMYBED"); Player_GetOutOfMyBedComment = TRUE; }; }; if(self.attribute[ATR_HITPOINTS] < self.attribute[ATR_HITPOINTS_MAX]) { if(Npc_GetDistToNpc(self,hero) > 1000) { self.attribute[ATR_HITPOINTS] = self.attribute[ATR_HITPOINTS_MAX]; }; }; return LOOP_CONTINUE; }; func void ZS_Sleep_End() { B_ResetFaceExpression(self); if(!Npc_IsInPlayersRoom(self)) { B_Say(self,self,"$AWAKE"); }; AI_UseMob(self,"BEDHIGH",-1); };
D
instance DIA_Cornelius_Exit(C_Info) { npc = VLK_401_Cornelius; nr = 999; condition = DIA_Cornelius_Exit_Condition; information = DIA_Cornelius_Exit_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Cornelius_Exit_Condition() { return TRUE; }; func void DIA_Cornelius_Exit_Info() { AI_StopProcessInfos(self); }; instance DIA_Cornelius_SeeMurder(C_Info) { npc = VLK_401_Cornelius; nr = 4; condition = DIA_Cornelius_SeeMurder_Condition; information = DIA_Cornelius_SeeMurder_Info; permanent = FALSE; description = "Ты видел, как убили Лотара, да?"; }; func int DIA_Cornelius_SeeMurder_Condition() { if(RecueBennet_KnowsCornelius == TRUE) { return TRUE; }; }; func void DIA_Cornelius_SeeMurder_Info() { AI_Output(other,self,"DIA_Cornelius_SeeMurder_15_00"); //Ты видел, как убили Лотара, да? AI_Output(self,other,"DIA_Cornelius_SeeMurder_13_01"); //(нервно) Я не обязан отвечать на такие вопросы. AI_Output(self,other,"DIA_Cornelius_SeeMurder_13_02"); //Лорд Хаген уже допрашивал меня. }; instance DIA_Cornelius_WhatYouSee(C_Info) { npc = VLK_401_Cornelius; nr = 5; condition = DIA_Cornelius_WhatYouSee_Condition; information = DIA_Cornelius_WhatYouSee_Info; permanent = FALSE; description = "Что именно ты видел?"; }; func int DIA_Cornelius_WhatYouSee_Condition() { if(Npc_KnowsInfo(other,DIA_Cornelius_SeeMurder)) { return TRUE; }; }; func void DIA_Cornelius_WhatYouSee_Info() { AI_Output(other,self,"DIA_Cornelius_WhatYouSee_15_00"); //Что именно ты видел? AI_Output(self,other,"DIA_Cornelius_WhatYouSee_13_01"); //(возбужденно) Послушай, у меня нет времени на болтовню с тобой. AI_Output(self,other,"DIA_Cornelius_WhatYouSee_13_02"); //(возбужденно) Уходи, я сейчас никого не принимаю. B_LogEntry(TOPIC_RescueBennet,"Корнелиус отказывается разговаривать со мной."); AI_StopProcessInfos(self); }; instance DIA_Cornelius_Enough(C_Info) { npc = VLK_401_Cornelius; nr = 6; condition = DIA_Cornelius_Enough_Condition; information = DIA_Cornelius_Enough_Info; permanent = FALSE; description = "Хватит! ЧТО ТЫ ВИДЕЛ?"; }; func int DIA_Cornelius_Enough_Condition() { if(Npc_KnowsInfo(other,DIA_Cornelius_WhatYouSee)) { return TRUE; }; }; func void DIA_Cornelius_Enough_Info() { AI_Output(other,self,"DIA_Cornelius_Enough_15_00"); //Хватит! ЧТО ТЫ ВИДЕЛ? AI_Output(self,other,"DIA_Cornelius_Enough_13_01"); //(нервно) Я... я видел, как наемник нанес удар в спину паладину. AI_Output(self,other,"DIA_Cornelius_Enough_13_02"); //(нервно) А затем он вынул свой меч и вонзил его ему в грудь. AI_Output(other,self,"DIA_Cornelius_Enough_15_03"); //Ты в этом совершенно уверен? AI_Output(self,other,"DIA_Cornelius_Enough_13_04"); //(испуганно) Да, конечно. Я видел это своим собственными глазами. AI_Output(self,other,"DIA_Cornelius_Enough_13_05"); //(испуганно) Но мне правда сейчас некогда. Мне нужно работать с документами. AI_StopProcessInfos(self); }; instance DIA_Cornelius_DontBelieveYou(C_Info) { npc = VLK_401_Cornelius; nr = 4; condition = DIA_Cornelius_DontBelieveYou_Condition; information = DIA_Cornelius_DontBelieveYou_Info; permanent = TRUE; description = "Я тебе не верю."; }; func int DIA_Cornelius_DontBelieveYou_Condition() { if(Npc_KnowsInfo(other,DIA_Cornelius_Enough) && (Cornelius_TellTruth != TRUE)) { return TRUE; }; }; func void DIA_Cornelius_DontBelieveYou_Info() { AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_15_00"); //Я тебе не верю. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_13_01"); //(с напускной уверенностью) И что? Что ты собираешься делать? Info_ClearChoices(DIA_Cornelius_DontBelieveYou); Info_AddChoice(DIA_Cornelius_DontBelieveYou,"Сколько ты хочешь?",DIA_Cornelius_DontBelieveYou_WhatYouWant); Info_AddChoice(DIA_Cornelius_DontBelieveYou,"Ты ведь очень дорожишь своей жизнью, правда?",DIA_Cornelius_DontBelieveYou_WantSurvive); if(hero.guild == GIL_KDF) { Info_AddChoice(DIA_Cornelius_DontBelieveYou,"Тебя могли бы заставить говорить в монастыре.",DIA_Cornelius_DontBelieveYou_Monastery); }; if(hero.guild == GIL_SLD) { Info_AddChoice(DIA_Cornelius_DontBelieveYou,"Я могу сказать наемникам, где ты живешь.",DIA_Cornelius_DontBelieveYou_KnowYourHome); }; if(hero.guild == GIL_MIL) { Info_AddChoice(DIA_Cornelius_DontBelieveYou,"За лжесвидетельство тебя посадят в тюрьму - и надолго!",DIA_Cornelius_DontBelieveYou_Perjury); }; }; func void DIA_Cornelius_DontBelieveYou_WhatYouWant() { AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_WhatYouWant_15_00"); //Сколько ты хочешь? AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_WhatYouWant_13_01"); //(надменно) У тебя не хватит золота, чтобы заплатить мне. AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_WhatYouWant_15_02"); //Сколько? AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_WhatYouWant_13_03"); //2000 золотых. Ну... Тогда я, возможно, пересмотрю свою точку зрения. B_LogEntry(TOPIC_RescueBennet,"Корнелиус готов разговаривать со мной за 2000 золота."); Cornelius_PayForProof = TRUE; Info_ClearChoices(DIA_Cornelius_DontBelieveYou); }; func void DIA_Cornelius_DontBelieveYou_WantSurvive() { AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_WantSurvive_15_00"); //Ты ведь очень дорожишь своей жизнью, правда? AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_WantSurvive_13_01"); //(испуганно) Если ты нападешь на меня, тебя повесят. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_WantSurvive_13_02"); //У меня очень влиятельные друзья. Так что даже не думай тронуть меня хотя бы пальцем. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_WantSurvive_13_03"); //А теперь убирайся отсюда! Иди я позову стражу! AI_StopProcessInfos(self); }; func void DIA_Cornelius_DontBelieveYou_Monastery() { AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_Monastery_15_00"); //Тебя могли бы заставить говорить в монастыре. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_Monastery_13_01"); //(белый как мел) Что ты этим хочешь сказать? AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_Monastery_15_02"); //Ну, у нас есть методы заставить говорить правду. Очень болезненные методы. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_Monastery_13_03"); //Нет, пожалуйста, не нужно. Я скажу тебе все, что ты хочешь узнать. Cornelius_TellTruth = TRUE; Info_ClearChoices(DIA_Cornelius_DontBelieveYou); }; func void DIA_Cornelius_DontBelieveYou_KnowYourHome() { AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_KnowYourHome_15_00"); //Я могу сказать наемникам, где ты живешь. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_KnowYourHome_13_01"); //(белый как мел) Что ты этим хочешь сказать? AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_KnowYourHome_15_02"); //Ручаюсь, они жаждут познакомиться с тобой. Им очень не нравится эта ситуация. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_KnowYourHome_13_03"); //Ты не можешь сделать это. Они убьют меня! AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_KnowYourHome_15_04"); //Вполне вероятно. AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_KnowYourHome_13_05"); //Я скажу все, что ты хочешь, только не делай этого. Cornelius_TellTruth = TRUE; Info_ClearChoices(DIA_Cornelius_DontBelieveYou); }; func void DIA_Cornelius_DontBelieveYou_Perjury() { AI_Output(other,self,"DIA_Cornelius_DontBelieveYou_Perjury_15_00"); //За лжесвидетельство тебя посадят в тюрьму - и надолго! AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_Perjury_13_01"); //Ты пытаешься угрожать мне? Какой-то жалкий стражник угрожает мне, секретарю губернатора? AI_Output(self,other,"DIA_Cornelius_DontBelieveYou_Perjury_13_02"); //Если ты немедленно не исчезнешь, я позабочусь, чтобы тебя разжаловали. Cornelius_ThreatenByMilSC = TRUE; AI_StopProcessInfos(self); }; instance DIA_Cornelius_PayCornelius(C_Info) { npc = VLK_401_Cornelius; nr = 4; condition = DIA_Cornelius_PayCornelius_Condition; information = DIA_Cornelius_PayCornelius_Info; permanent = TRUE; description = "Вот золото."; }; func int DIA_Cornelius_PayCornelius_Condition() { if((Cornelius_PayForProof == TRUE) && (Npc_HasItems(other,ItMi_Gold) >= 2000)) { return TRUE; }; }; func void DIA_Cornelius_PayCornelius_Info() { AI_Output(other,self,"DIA_Cornelius_PayCornelius_15_00"); //Вот золото. B_GiveInvItems(other,self,ItMi_Gold,2000); AI_Output(self,other,"DIA_Cornelius_PayCornelius_13_01"); //Лучше я не буду спрашивать, где ты его взял. AI_Output(self,other,"DIA_Cornelius_PayCornelius_13_02"); //Правда, если честно, меня это совсем не волнует. AI_Output(self,other,"DIA_Cornelius_PayCornelius_13_03"); //Главное, что оно теперь мое. Cornelius_TellTruth = TRUE; }; instance DIA_Cornelius_RealStory(C_Info) { npc = VLK_401_Cornelius; nr = 4; condition = DIA_Cornelius_RealStory_Condition; information = DIA_Cornelius_RealStory_Info; permanent = TRUE; description = "Так что произошло на самом деле?"; }; func int DIA_Cornelius_RealStory_Condition() { if(Cornelius_TellTruth == TRUE) { return TRUE; }; }; func void DIA_Cornelius_RealStory_Info() { AI_Output(other,self,"DIA_Cornelius_RealStory_15_00"); //Так что произошло на самом деле? AI_Output(self,other,"DIA_Cornelius_RealStory_13_01"); //Я не видел, что произошло. Я получил золото за то, что обвиню этого наемника. AI_Output(self,other,"DIA_Cornelius_RealStory_13_02"); //В нынешние времена каждый сам за себя. А мне нужны были деньги. AI_Output(other,self,"DIA_Cornelius_RealStory_15_03"); //Кто заплатил тебе? AI_Output(self,other,"DIA_Cornelius_RealStory_13_04"); //Тебе достаточно того, что я сказал. Он убьет меня, если я проговорюсь. AI_Output(other,self,"DIA_Cornelius_RealStory_15_05"); //Ты готов подтвердить сказанное тобой перед лордом Хагеном? AI_Output(self,other,"DIA_Cornelius_RealStory_13_06"); //Я пока еще не выжил из ума. Я не собираюсь оставаться в городе. if(Npc_HasItems(self,ItWr_CorneliusTagebuch_Mis) >= 1) { AI_Output(self,other,"DIA_Cornelius_RealStory_13_07"); //Я дам тебе мой дневник, он послужит достаточным доказательством. B_GiveInvItems(self,other,ItWr_CorneliusTagebuch_Mis,1); }; B_LogEntry(TOPIC_RescueBennet,"Корнелиус солгал. Ему заплатили, чтобы упечь Беннета в тюрьму. Но он не говорит мне, кто подкупил его. Он весь дрожит от страха."); CorneliusFlee = TRUE; AI_StopProcessInfos(self); Npc_ExchangeRoutine(self,"FLEE"); }; instance DIA_Cornelius_Fleeing(C_Info) { npc = VLK_401_Cornelius; nr = 1; condition = DIA_Cornelius_Fleeing_Condition; information = DIA_Cornelius_Fleeing_Info; permanent = TRUE; important = TRUE; }; func int DIA_Cornelius_Fleeing_Condition() { if((CorneliusFlee == TRUE) && Npc_IsInState(self,ZS_Talk)) { return TRUE; }; }; func void DIA_Cornelius_Fleeing_Info() { B_Say(self,other,"$NOTNOW"); AI_StopProcessInfos(self); }; instance DIA_Cornelius_PICKPOCKET(C_Info) { npc = VLK_401_Cornelius; nr = 900; condition = DIA_Cornelius_PICKPOCKET_Condition; information = DIA_Cornelius_PICKPOCKET_Info; permanent = TRUE; description = "(Красть эту книгу рискованно)"; }; func int DIA_Cornelius_PICKPOCKET_Condition() { if((Npc_GetTalentSkill(other,NPC_TALENT_PICKPOCKET) == 1) && (self.aivar[AIV_PlayerHasPickedMyPocket] == FALSE) && (Npc_HasItems(self,ItWr_CorneliusTagebuch_Mis) >= 1) && (other.attribute[ATR_DEXTERITY] >= (60 - Theftdiff))) { return TRUE; }; }; func void DIA_Cornelius_PICKPOCKET_Info() { Info_ClearChoices(DIA_Cornelius_PICKPOCKET); Info_AddChoice(DIA_Cornelius_PICKPOCKET,Dialog_Back,DIA_Cornelius_PICKPOCKET_BACK); Info_AddChoice(DIA_Cornelius_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Cornelius_PICKPOCKET_DoIt); }; func void DIA_Cornelius_PICKPOCKET_DoIt() { if(other.attribute[ATR_DEXTERITY] >= 60) { B_GiveInvItems(self,other,ItWr_CorneliusTagebuch_Mis,1); self.aivar[AIV_PlayerHasPickedMyPocket] = TRUE; B_GiveThiefXP(); Info_ClearChoices(DIA_Cornelius_PICKPOCKET); } else { B_ResetThiefLevel(); AI_StopProcessInfos(self); B_Attack(self,other,AR_Theft,1); }; }; func void DIA_Cornelius_PICKPOCKET_BACK() { Info_ClearChoices(DIA_Cornelius_PICKPOCKET); };
D
import std.stdio; import generald.functions; import std.typecons; class Printer(T) : Function!(T, void) { override void opCall(T x) { import std.stdio; writeln(x); } } class ArrayPrinter(T) : Function!(T[], void) { override void opCall(T[] x) { import std.stdio; writefln("%(%s\n%)", x); } } class ScoreParser : Function!(string, Either!(IndividualResult, EOF)) { override OutputType opCall(string line) { import std.string, std.array, std.conv; auto buf = line.strip.split("\t"); if (buf.length == 2) return OutputType(IndividualResult(buf[0], buf[1].to!int)); return OutputType(EOF()); } } alias IndividualResult = Tuple!(string, "player", int, "result"); struct EOF{} class GameParser : Function!(IndividualResult, Maybe!Game) { Game game; override OutputType opCall(InputType individualResult) { auto g = game.add(individualResult); if (!g.isNull) game = Game(); return g; } } auto gameParser() { return new GameParser().eitherEither(IdentityFunction!EOF.get); } struct Game { string[] players; int[] results; Maybe!Game add(IndividualResult pr) { import std.algorithm; players ~= pr.player; results ~= pr.result; if (players.length < 5) return Maybe!Game(); assert (results.reduce!((a, b) => a + b) == 1000); players.length = 4; results.length = 4; return Maybe!Game(Game(this.players.dup, this.results.dup)); } } class ScoreAccumulator(size_t size) : Function!(Either!(Maybe!Game, EOF), Maybe!(Result!size[])) { Function!(Either!(Maybe!Game, EOF), Maybe!(Result!size[])) opCallImpl; this () { this.opCallImpl = new F().maybeNothing!(Result!size[]).maybeBind.eitherFunction(new G().compose(MaybeReturn!(Result!size[]).get)); } override Maybe!(Result!size[]) opCall(Either!(Maybe!Game, EOF) x) { return opCallImpl(x); } Result!size[string] results; Result!size[] getResult() { return results.values; } class F : Function!(Game, void) { override void opCall(Game x) { update(x); } } class G : Function!(EOF, Result!size[]) { override Result!size[] opCall(EOF x) { return getResult(); } } void update(Game game) { import std.algorithm, std.array, std.range; auto x = game.results.map!(r => (-3).reduce!((a, b) => a + 2 * (b < r))(game.results)).array; auto y = game.results.map!(r => (r == game.results.reduce!max)).array; auto z = 0.reduce!((a, b) => a + b)(y); auto score = game.results[].dup; score[] += -300 + x[] * 100 + y[] * 200 / z; debug (scoreaccumulator_update) { import std.stdio; stderr.writefln( "results = %(% 3d%) x = %(% 3d%) y = %(% 3d%) z = %d score = %(% 3d%)", game.results, x, y, z, score); } foreach (pr; game.players.zip(score)) { pragma(msg, typeid (typeof(pr[0] in results))); if (auto p = pr[0] in results) results[pr[0]].update(pr[1]); else results[pr[0]] = Result!size(pr[0]).update(pr[1]); } } } struct Result(size_t size) { string label; int[] cumsum; int maximum = int.min; auto update(int score) { debug (result_update) { import std.stdio; stderr.writefln("update by %d:", score); stderr.writefln("from: %(%d, %)", cumsum); } import std.array, std.algorithm; cumsum.length += 1; cumsum[] += score; // if (size < cumsum.length) cumsum.popFront; if (size <= cumsum.length) maximum = maximum.max(cumsum[$-size]); debug (result_update) { import std.stdio; stderr.writefln("to: %(%d, %)", cumsum); } return this; } void toString(scope void delegate(const(char)[]) sink) { import std.conv; sink(label); foreach_reverse (c; cumsum ~ maximum) sink("\t" ~ c.to!string); } } void main(string[] args) { enum threshold = 6; import std.stdio, std.algorithm, std.conv; auto scoreParser = new ScoreParser().compose( gameParser()).compose( new ScoreAccumulator!threshold()).compose( new ArrayPrinter!(Result!threshold)().maybeSink ); foreach (line; File(1 < args.length ? args[1] : "sample.in").byLine.map!(to!string)) scoreParser(line); }
D
/Users/wayne/Desktop/github/ElegantProgress/Build/Intermediates/ElegantProgress.build/Debug-iphonesimulator/ElegantProgress.build/Objects-normal/x86_64/ViewController.o : /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/UIColor+Ex.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/ElegantProgressView.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/ViewController.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/InnerShadowLayer.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/AppDelegate.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RefCount.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/HeapObject.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/DarwinShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/module.map /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Security.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/wayne/Desktop/github/ElegantProgress/Build/Intermediates/ElegantProgress.build/Debug-iphonesimulator/ElegantProgress.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/UIColor+Ex.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/ElegantProgressView.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/ViewController.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/InnerShadowLayer.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/AppDelegate.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RefCount.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/HeapObject.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/DarwinShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/module.map /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Security.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/wayne/Desktop/github/ElegantProgress/Build/Intermediates/ElegantProgress.build/Debug-iphonesimulator/ElegantProgress.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/UIColor+Ex.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/ElegantProgressView.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/ViewController.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/InnerShadowLayer.swift /Users/wayne/Desktop/github/ElegantProgress/ElegantProgress/AppDelegate.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/RefCount.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/HeapObject.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/DarwinShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/shims/module.map /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Security.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule
D
import std.stdio, std.math, std.format; void main(){ real triangleNumber, numberOfDivisors; for(real i = 0; true; i++){ triangleNumber = i*(i+1)/2; numberOfDivisors = 0; /*This improvements make the brute-force approach viable. Because there for every divisor below the square root is a corresponding divisor above the square root, we can multiply by two. This is signifficantly better than the divide by two approach which had to iterate through all the divisors as opposed to this itterating only through half of the divisors.*/ for(real j = 1; j <= sqrt(triangleNumber); j++){ if(triangleNumber % j == 0){ numberOfDivisors += 2; } } if(numberOfDivisors >= 500){ break; } } writefln("The first triangle number with more than 500 divisors has %.20g number of divisors, it's: %.20g", numberOfDivisors, triangleNumber); }
D
module tinyredis.parser; private: import std.array : split, replace, join; import std.string : strip; import std.stdio : writeln; import std.conv : to, text, ConvOverflowException; public : const string CRLF = "\r\n"; enum ResponseType : byte { Invalid, Status, Error, Integer, Bulk, MultiBulk, Nil } /** * The Response struct represents returned data from Redis. * * Stores values true to form. Allows user code to query, cast, iterate, print, and log strings, ints, errors and all other return types. * * The role of the Response struct is to make it simple, yet accurate to retrieve returned values from Redis. To aid this * it implements D op* functions as well as little helper methods that simplify user facing code. */ struct Response { ResponseType type; uint count; //Used for multibulk only union{ string value; long intval; Response[] values; } bool isString() { return (type == ResponseType.Bulk); } bool isInt() { return (type == ResponseType.Integer); } bool isArray() { return (type == ResponseType.MultiBulk); } bool isError() { return (type == ResponseType.Error); } bool isNil() { return (type == ResponseType.Nil); } bool isStatus() { return (type == ResponseType.Status); } bool isValid() { return (type != ResponseType.Invalid); } int opApply(int delegate(ulong k, Response value) dg) { if(!isArray()) return 1; foreach(k, v ; values) dg(k, values[k]); return 0; } /** * Allows casting a Response to an integral, bool or string */ T opCast(T)() if(is(T == bool) || is(T == byte) || is(T == short) || is(T == int) || is(T == long) || is(T == string)) { static if(is(T == bool)) return toBool(); else static if(is(T == byte) || is(T == short) || is(T == int) || is(T == long)) return toInt!(T)(); else static if(is(T == string)) return toString(); } /** * Attempts to check for truthiness of a Response. * * Returns false on failure. */ @property @trusted bool toBool() { switch(type) { case ResponseType.Integer : return (intval > 0); case ResponseType.Status : return (value == "OK"); case ResponseType.Bulk : return (value.length > 0); case ResponseType.MultiBulk : return (values.length > 0); default: return false; } } /** * Converts a Response to an integral (byte to long) * * Only works with ResponseType.Integer and ResponseType.Bulk * * Throws : ConvOverflowException, RedisCastException */ @property @trusted T toInt(T = int)() if(is(T == byte) || is(T == short) || is(T == int) || is(T == long)) { switch(type) { case ResponseType.Integer : if(intval <= T.max) return cast(T)intval; else throw new ConvOverflowException("Cannot convert " ~ to!string(intval) ~ " to " ~ to!(string)(typeid(T))); case ResponseType.Bulk : try{ return to!(T)(value); }catch(ConvOverflowException e) { e.msg = "Cannot convert " ~ value ~ " to " ~ to!(string)(typeid(T)); throw e; } default: throw new RedisCastException("Cannot cast " ~ type ~ " to " ~ to!(string)(typeid(T))); } } /** * Returns the value of this Response as a string */ @property @trusted string toString() { switch(type) { case ResponseType.Integer : return to!(string)(intval); case ResponseType.Error : case ResponseType.Status : case ResponseType.Bulk : return value; case ResponseType.MultiBulk : return text(values); default: return ""; } } /** * Returns the value of this Response as a string, along with type information */ @property @trusted string toDiagnosticString() { final switch(type) { case ResponseType.Nil : return "(Nil)"; case ResponseType.Error : return "(Err) " ~ value; case ResponseType.Integer : return "(Integer) " ~ to!(string)(intval); case ResponseType.Status : return "(Status) " ~ value; case ResponseType.Bulk : return value; case ResponseType.MultiBulk : string[] t; foreach(v; values) t ~= v.toDiagnosticString(); return text(t); case ResponseType.Invalid : return "(Invalid)"; } } } /** * Parse a byte stream into a Response struct. * * The parser works to identify a minimum complete Response. If successful, it removes that chunk from "mb" and returns a Response struct. * On failure it returns a ResponseType.Invalid Response and leaves "mb" untouched. */ @trusted Response parseResponse(ref byte[] mb) { Response response; response.type = ResponseType.Invalid; if(mb.length < 4) return response; char type = mb[0]; byte[] bytes; if(!getData(mb[1 .. $], bytes)) //This could be an int value (:), a bulk byte length ($), a status message (+) or an error value (-) return response; size_t tpos = 1 + bytes.length; if(tpos + 2 > mb.length) return response; else tpos += 2; //for "\r\n" switch(type) { case '+' : response.type = ResponseType.Status; response.value = cast(string)bytes; break; case '-' : throw new RedisResponseException(cast(string)bytes); case ':' : response.type = ResponseType.Integer; response.intval = to!long(cast(char[])bytes); break; case '$' : int l = to!int(cast(char[])bytes); if(l == -1) { response.type = ResponseType.Nil; break; } if(l > 0) { if(tpos + l >= mb.length) //We dont have enough data, break! return response; else { response.value = cast(string)mb[tpos .. tpos + l]; tpos += l; if(tpos + 2 > mb.length) return response; else tpos += 2; } } response.type = ResponseType.Bulk; break; case '*' : response.type = ResponseType.MultiBulk; response.count = to!int(cast(char[])bytes); break; default : return response; } mb = mb[tpos .. $]; return response; } /* ---------- REQUEST PARSING FUNCTIONS ----------- */ /** * Encodes a request to a MultiBulk using any type that can be converted to a string * * Examples: * --- * encode("SADD", "myset", 1) * encode("SADD", "myset", 1.2) * encode("SADD", "myset", true) * encode("SADD", "myset", "Batman") * encode("SADD", "myset", object) //provided toString is implemented * encode("GET", "*") == encode("GET *") == encode("GET", ["*"]) * --- */ @trusted string encode(T...)(string key, T args) { string request = key; static if(args.length > 0) foreach(a; args) request ~= " " ~ text(a); return toMultiBulk(request); } /** * Encode a request of a parametrized array * * Examples: * --- * encode("SREM", ["myset", "$3", "$4"]) == encode("SREM myset $3 $4") == encode("SREM", "myset", "$3", "$4") * --- */ @trusted string encode(T)(string key, T[] args) { string request = key; static if(is(typeof(args) == immutable(char)[])) request ~= " " ~ args; else foreach(a; args) request ~= " " ~ text(a); return toMultiBulk(request); } /** * Encodes a string to MultiBulk format * * Use encode instead */ @trusted string toMultiBulk(string command) { command = strip(command); string[] cmds; char[] buffer; uint i = 0; while(i < command.length) { auto c = command[i++]; if(c == '"') { while(i < command.length) { auto c1 = command[i++]; if(c1 == '"') break; buffer ~= c1; } } else if(c == ' ') { cmds ~= cast(string)buffer; buffer.length = 0; } else buffer ~= c; } cmds ~= cast(string)buffer; char[] res = "*" ~ to!(char[])(cmds.length) ~ CRLF; foreach(cmd; cmds) res ~= toBulk(cmd); return cast(string)res; } @trusted string toBulk(string str) { return "$" ~ to!string((cast(byte[])str).length) ~ CRLF ~ str ~ CRLF; } @trusted string escape(string str) { return replace(str,"\r\n","\\r\\n"); } /* ----------- EXCEPTIONS ------------- */ class ParseException : Exception { this(string msg) { super(msg); } } class RedisResponseException : Exception { this(string msg) { super(msg); } } class RedisCastException : Exception { this(string msg) { super(msg); } } private : @safe pure bool getData(const(byte[]) mb, ref byte[] data) { foreach(p, byte c; mb) if(c == 13) //'\r' return true; else data ~= c; return false; } unittest { assert(toBulk("$2") == "$2\r\n$2\r\n"); assert(toMultiBulk("GET *") == "*2\r\n$3\r\nGET\r\n$1\r\n*\r\n"); auto lua = "return redis.call('set','foo','bar')"; assert(toMultiBulk("EVAL \"" ~ lua ~ "\" 0") == "*3\r\n$4\r\nEVAL\r\n$"~to!(string)(lua.length)~"\r\n"~lua~"\r\n$1\r\n0\r\n"); assert(toMultiBulk("\"" ~ lua ~ "\" \"" ~ lua ~ "\" ") == "*2\r\n$"~to!(string)(lua.length)~"\r\n"~lua~"\r\n$"~to!(string)(lua.length)~"\r\n"~lua~"\r\n"); byte[] stream = cast(byte[])"*4\r\n$3\r\nGET\r\n$1\r\n*\r\n:123\r\n+A Status Message\r\n"; auto response = parseResponse(stream); assert(response.type == ResponseType.MultiBulk); assert(response.count == 4); assert(response.values.length == 0); response = parseResponse(stream); assert(response.type == ResponseType.Bulk); assert(response.value == "GET"); assert(cast(string)response == "GET"); response = parseResponse(stream); assert(response.type == ResponseType.Bulk); assert(response.value == "*"); assert(cast(bool)response == true); response = parseResponse(stream); assert(response.type == ResponseType.Integer); assert(response.intval == 123); assert(cast(string)response == "123"); assert(cast(int)response == 123); response = parseResponse(stream); assert(response.type == ResponseType.Status); assert(response.value == "A Status Message"); assert(cast(string)response == "A Status Message"); try{ cast(int)response; }catch(RedisCastException e) { //Exception caught } //Stream should have been used up, verify assert(stream.length == 0); assert(parseResponse(stream).type == ResponseType.Invalid); //Long overflow checking stream = cast(byte[])":9223372036854775808\r\n"; try{ parseResponse(stream); assert(false, "Tried to convert long.max+1 to long"); } catch(ConvOverflowException e){} Response r = {type : ResponseType.Bulk, value : "9223372036854775807"}; try{ r.toInt(); //Default int assert(false, "Tried to convert long.max to int"); } catch(ConvOverflowException e) { //Ok, exception thrown as expected } r.value = "127"; assert(r.toInt!byte() == 127); assert(r.toInt!short() == 127); assert(r.toInt!int() == 127); assert(r.toInt!long() == 127); stream = cast(byte[])"*0\r\n"; response = parseResponse(stream); assert(response.count == 0); assert(response.values.length == 0); assert(response.values == []); assert(response.toString == "[]"); assert(response.toBool == false); assert(cast(bool)response == false); try{ cast(int)response; }catch(RedisCastException e) { assert(true); } //Testing opApply stream = cast(byte[])"*0\r\n"; response = parseResponse(stream); foreach(k,v; response) assert(false, "opApply is broken"); stream = cast(byte[])"$2\r\n$2\r\n"; response = parseResponse(stream); foreach(k,v; response) assert(false, "opApply is broken"); stream = cast(byte[])":1000\r\n"; response = parseResponse(stream); foreach(k,v; response) assert(false, "opApply is broken"); //Testing encode assert(encode("SREM", ["myset", "$3", "$4"]) == encode("SREM myset $3 $4")); assert(encode("SREM", "myset", "$3", "$4") == encode("SREM myset $3 $4")); assert(encode("TTL", "myset") == encode("TTL myset")); assert(encode("TTL", ["myset"]) == encode("TTL myset")); // writeln(response); }
D
import std.stdio; import std.getopt; import message_struct : PROTOCOL_VERSION; import dasted; int main(string[] args) { ushort port = 11344; bool printVersion; getopt(args, "port|p", &port, "version", &printVersion); if (printVersion) { writeln(PROTOCOL_VERSION); return 0; } if (port <= 0) { writeln("Invalid port number"); return 1; } Dasted d = new Dasted; d.run(port); return 0; }
D
/** OpenType/FreeType parsing. Copyright: Guillaume Piolat 2018. License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) */ module printed.font.opentype; import std.stdio; import std.conv; import std.string; import std.uni; import std.algorithm.searching; import binrange; /// A POD-type to represent a range of Unicode characters. struct CharRange { dchar start; dchar stop; } /// Font weight enum OpenTypeFontWeight : int { thinest = 0, // Note: thinest doesn't exist in PostScript thin = 100, extraLight = 200, light = 300, normal = 400, medium = 500, semiBold = 600, bold = 700, extraBold = 800, black = 900 } /// Font style enum OpenTypeFontStyle { normal, italic, oblique } /// Should match printed.canvas `TextBaseline` enum FontBaseline { top, hanging, middle, alphabetic, bottom } struct OpenTypeTextMetrics { /// The text's advance width, in glyph units. float horzAdvance; } /// OpenType 1.8 file parser, for the purpose of finding all fonts in a file, their family name, their weight, etc. /// This OpenType file might either be: /// - a single font /// - a collection file starting with a TTC Header /// You may find the specification here: www.microsoft.com/typography/otspec/ class OpenTypeFile { this(const(ubyte[]) wholeFileContents) { _wholeFileData = wholeFileContents; const(ubyte)[] file = wholeFileContents[]; // Read first tag uint firstTag = popBE!uint(file); if (firstTag == 0x00010000 || firstTag == 0x4F54544F /* 'OTTO' */) { _isCollection = false; _numberOfFonts = 1; } else if (firstTag == 0x74746366 /* 'ttcf' */) { _isCollection = true; uint version_ = popBE!uint(file); // ignored for now _numberOfFonts = popBE!int(file); offsetToOffsetTable.length = _numberOfFonts; foreach(i; 0.._numberOfFonts) offsetToOffsetTable[i] = popBE!uint(file); } else throw new Exception("Couldn't recognize the font file type"); } /// Number of fonts in this OpenType file int numberOfFonts() { return _numberOfFonts; } private: const(ubyte)[] _wholeFileData; int[] offsetToOffsetTable; int _numberOfFonts; bool _isCollection; // It is a TTC or single font? uint offsetForFont(int index) { assert(index < numberOfFonts()); if (_isCollection) return offsetToOffsetTable[index]; else return 0; } } /// Parses a font from a font file (which could contain data for several of them). class OpenTypeFont { public: this(OpenTypeFile file, int index) { _file = file; _fontIndex = index; _wholeFileData = file._wholeFileData; // Figure out font weight, style, and type immediately, as it is useful for font matching _isMonospaced = false; const(ubyte)[] os2Table = findTable(0x4F532F32 /* 'OS/2' */); if (os2Table !is null) { // Parse weight and style from the 'OS/2' table // Note: Apple documentation says that "Many fonts have inaccurate information in their 'OS/2' table." // Some fonts don't have this table: https://github.com/princjef/font-finder/issues/5 skipBytes(os2Table, 4); // table version and xAvgCharWidth int usWeightClass = popBE!ushort(os2Table); _weight = cast(OpenTypeFontWeight)( 100 * ( (usWeightClass + 50) / 100 ) ); // round to multiple of 100 skipBytes(os2Table, 2 /*usWidthClass*/ + 2 /*fsType*/ + 10 * 2 /*yXXXXXXX*/ + 2 /*sFamilyClass*/); ubyte[10] panose; foreach(b; 0..10) panose[b] = popBE!ubyte(os2Table); _isMonospaced = (panose[0] == 2) && (panose[3] == 9); skipBytes(os2Table, 4*4 /*ulUnicodeRangeN*/ + 4/*achVendID*/); uint fsSelection = popBE!ushort(os2Table); _style = OpenTypeFontStyle.normal; if (fsSelection & 1) _style = OpenTypeFontStyle.italic; if (fsSelection & 512) _style = OpenTypeFontStyle.oblique; } else { // No OS/2 table? parse 'head' instead (some Mac fonts). For monospace, parse 'post' table. const(ubyte)[] postTable = findTable(0x706F7374 /* 'post' */); if (postTable) { skipBytes(postTable, 4 /*version*/ + 4 /*italicAngle*/ + 2 /*underlinePosition*/ + 2 /*underlineThickness*/); _isMonospaced = popBE!uint(postTable) /*isFixedPitch*/ != 0; } const(ubyte)[] headTable = findTable(0x68656164 /* 'head' */); if (headTable !is null) { skipBytes(headTable, 4 /*version*/ + 4 /*fontRevision*/ + 4 /*checkSumAdjustment*/ + 4 /*magicNumber*/ + 2 /*flags*/ + 2 /*_unitsPerEm*/ + 16 /*created+modified*/+4*2/*bounding box*/ ); ushort macStyle = popBE!ushort(headTable); _weight = OpenTypeFontWeight.normal; if (macStyle & 1) _weight = OpenTypeFontWeight.bold; _style = OpenTypeFontStyle.normal; if (macStyle & 2) _style = OpenTypeFontStyle.italic; } else { // Last chance heuristics. // Font weight heuristic based on family names string subFamily = subFamilyName().toLower; if (subFamily.canFind("thin")) _weight = OpenTypeFontWeight.thin; else if (subFamily.canFind("ultra light")) _weight = OpenTypeFontWeight.thinest; else if (subFamily.canFind("ultraLight")) _weight = OpenTypeFontWeight.thinest; else if (subFamily.canFind("hairline")) _weight = OpenTypeFontWeight.thinest; else if (subFamily.canFind("extralight")) _weight = OpenTypeFontWeight.extraLight; else if (subFamily.canFind("light")) _weight = OpenTypeFontWeight.light; else if (subFamily.canFind("demi bold")) _weight = OpenTypeFontWeight.semiBold; else if (subFamily.canFind("semibold")) _weight = OpenTypeFontWeight.semiBold; else if (subFamily.canFind("extrabold")) _weight = OpenTypeFontWeight.extraBold; else if (subFamily.canFind("bold")) _weight = OpenTypeFontWeight.bold; else if (subFamily.canFind("heavy")) _weight = OpenTypeFontWeight.bold; else if (subFamily.canFind("medium")) _weight = OpenTypeFontWeight.medium; else if (subFamily.canFind("black")) _weight = OpenTypeFontWeight.black; else if (subFamily.canFind("negreta")) _weight = OpenTypeFontWeight.black; else if (subFamily.canFind("regular")) _weight = OpenTypeFontWeight.normal; else if (subFamily == "italic") _weight = OpenTypeFontWeight.normal; else _weight = OpenTypeFontWeight.normal; // Font style heuristic based on family names if (subFamily.canFind("italic")) _style = OpenTypeFontStyle.italic; else if (subFamily.canFind("oblique")) _style = OpenTypeFontStyle.oblique; else _style = OpenTypeFontStyle.normal; } } } /// Returns: a typographics family name suitable for grouping fonts per family in menus string familyName() { string family = getName(NameID.preferredFamily); if (family is null) return getName(NameID.fontFamily); else return family; } /// Returns: a typographics sub-family name suitable for grouping fonts per family in menus string subFamilyName() { string family = getName(NameID.preferredSubFamily); if (family is null) return getName(NameID.fontSubFamily); else return family; } /// Returns: the PostScript name of that font, if available. string postScriptName() { return getName(NameID.postscriptName); } /// Returns: `trye` is the font is monospaced. bool isMonospaced() { return _isMonospaced; } /// Returns: Font weight. OpenTypeFontWeight weight() { return _weight; } /// Returns: Font style. OpenTypeFontStyle style() { return _style; } /// Returns: The whole OpenType file where this font is located. const(ubyte)[] fileData() { return _wholeFileData; } int[4] boundingBox() { computeFontMetrics(); return _boundingBox; } /// Returns: Baseline offset above the normal "alphabetical" baseline. /// In glyph units. float getBaselineOffset(FontBaseline baseline) { computeFontMetrics(); final switch(baseline) with (FontBaseline) { case top: // ascent - descent should give the em square, but if it doesn't rescale to have top of em square float actualUnits = _ascender - _descender; return _ascender * _unitsPerEm / actualUnits; case hanging: return ascent(); // TODO: correct? case middle: // middle of em square float actualUnits = _ascender - _descender; return 0.5f * (_ascender + _descender) * _unitsPerEm / actualUnits; case alphabetic: return 0; // the default "baseline" case bottom: // ascent - descent should give the em square, but if it doesn't rescale to have bottom of em square float actualUnits = _ascender - _descender; return _descender * _unitsPerEm / actualUnits; } } /// Returns: Maximum height above the baseline reached by glyphs in this font. /// In glyph units. int ascent() { computeFontMetrics(); return _ascender; } /// Returns: Maximum depth below the baseline reached by glyphs in this font. /// Should be negative. /// In glyph units. int descent() { computeFontMetrics(); return _descender; } /// Returns: The spacing between baselines of consecutive lines of text. /// In glyph units. /// Also called "leading". int lineGap() { computeFontMetrics(); return _lineGap; } /// Returns: 'A' height. /// TODO: eventually extract from OS/2 table int capHeight() { computeFontMetrics(); return _ascender; // looks like ascent, but perhaps not } /// Returns: Italic angle in counter-clockwise degrees from the vertical. /// Zero for upright text, negative for text that leans to the right (forward). float postScriptItalicAngle() { computeFontMetrics(); return _italicAngle / 65536.0f; } /// Does this font has a glyph for this codepoint? bool hasGlyphFor(dchar ch) { computeFontMetrics(); ushort* index = ch in _charToGlyphMapping; return index !is null; } ushort glyphIndexFor(dchar ch) { computeFontMetrics(); ushort* index = ch in _charToGlyphMapping; if (index) return *index; else return 0; // special value for non available characters } /// Returns: left side bearing for this character. int leftSideBearing(dchar ch) { computeFontMetrics(); return _glyphs[ _charToGlyphMapping[ch] ].leftSideBearing; } /// Returns: horizontal advance for this character. int horizontalAdvance(dchar ch) { computeFontMetrics(); return _glyphs[ _charToGlyphMapping[ch] ].horzAdvance; } /// Returns: number of glyphs in the font. int numGlyphs() { computeFontMetrics(); return cast(int)(_glyphs.length); } /// Returns: horizontal advance for a glyph. /// In glyph units. int horizontalAdvanceForGlyph(int glyphIndex) { computeFontMetrics(); return _glyphs[glyphIndex].horzAdvance; } /// maximum Unicode char available in this font dchar maxAvailableChar() { computeFontMetrics(); return _maxCodepoint; } const(CharRange)[] charRanges() { return _charRanges; } // The number of internal units for 1em float UPM() { return _unitsPerEm; } // A scale factpr to convert from glyph units to em float invUPM() { return 1.0f / _unitsPerEm; } /// Returns text metrics for this piece of text (single line assumed), in glyph units. OpenTypeTextMetrics measureText(string text) { OpenTypeTextMetrics result; double sum = 0; foreach(dchar ch; text) sum += horizontalAdvance(ch); result.horzAdvance = sum; return result; } private: // need whole file since some data may be shared across fonts // And also table offsets are relative to the whole file. const(ubyte)[] _wholeFileData; OpenTypeFile _file; int _fontIndex; // Computed in constructor OpenTypeFontWeight _weight; OpenTypeFontStyle _style; bool _isMonospaced; // <parsed-by-computeFontMetrics> bool metricsParsed = false; // xmin ymin xmax ymax int[4] _boundingBox; int _unitsPerEm; short _ascender, _descender, _lineGap; int _italicAngle; // fixed 16.16 format static struct GlyphDesc { ushort horzAdvance; short leftSideBearing; } GlyphDesc[] _glyphs; /// Unicode char to glyph mapping, parsed from 'cmap' table /// Note: it's not sure at all if parsing the 'cmap' table each time is more costly. /// Also this could be an array sorted by dchar. ushort[dchar] _charToGlyphMapping; CharRange[] _charRanges; dchar _maxCodepoint; // </parsed-by-computeFontMetrics> /// Returns: A bounding box for each glyph, in glyph space. void computeFontMetrics() { if (metricsParsed) return; metricsParsed = true; const(ubyte)[] headTable = getTable(0x68656164 /* 'head' */); skipBytes(headTable, 4); // Table version number skipBytes(headTable, 4); // fontRevision skipBytes(headTable, 4); // checkSumAdjustment uint magicNumber = popBE!uint(headTable); if (magicNumber != 0x5F0F3CF5) throw new Exception("Invalid magicNumber in 'head' table."); skipBytes(headTable, 2); // flags _unitsPerEm = popBE!ushort(headTable); skipBytes(headTable, 8); // created skipBytes(headTable, 8); // modified _boundingBox[0] = popBE!short(headTable); _boundingBox[1] = popBE!short(headTable); _boundingBox[2] = popBE!short(headTable); _boundingBox[3] = popBE!short(headTable); skipBytes(headTable, 2); // macStyle skipBytes(headTable, 2); // lowestRecPPEM skipBytes(headTable, 2); // fontDirectionHint skipBytes(headTable, 2); // indexToLocFormat skipBytes(headTable, 2); // glyphDataFormat const(ubyte)[] hheaTable = getTable(0x68686561 /* 'hhea' */); skipBytes(hheaTable, 4); // Table version number _ascender = popBE!short(hheaTable); _descender = popBE!short(hheaTable); _lineGap = popBE!short(hheaTable); skipBytes(hheaTable, 2); // advanceWidthMax skipBytes(hheaTable, 2); // minLeftSideBearing skipBytes(hheaTable, 2); // minRightSideBearing skipBytes(hheaTable, 2); // xMaxExtent skipBytes(hheaTable, 2); // caretSlopeRise skipBytes(hheaTable, 2); // caretSlopeRun skipBytes(hheaTable, 2); // caretOffset skipBytes(hheaTable, 8); // reserved short metricDataFormat = popBE!short(hheaTable); if (metricDataFormat != 0) throw new Exception("Unsupported metricDataFormat in 'hhea' table"); int numberOfHMetrics = popBE!ushort(hheaTable); const(ubyte)[] maxpTable = getTable(0x6D617870 /* 'maxp' */); skipBytes(maxpTable, 4); // version int numGlyphs = popBE!ushort(maxpTable); _glyphs.length = numGlyphs; const(ubyte)[] hmtxTable = getTable(0x686D7478 /* 'hmtx' */); ushort lastAdvance = 0; foreach(g; 0..numberOfHMetrics) { lastAdvance = popBE!ushort(hmtxTable); _glyphs[g].horzAdvance = lastAdvance; _glyphs[g].leftSideBearing = popBE!short(hmtxTable); } foreach(g; numberOfHMetrics.._glyphs.length) { _glyphs[g].horzAdvance = lastAdvance; _glyphs[g].leftSideBearing = popBE!short(hmtxTable); } // Parse italicAngle const(ubyte)[] postTable = getTable(0x706F7374 /* 'post' */); skipBytes(postTable, 4); // version _italicAngle = popBE!int(postTable); parseCMAP(); } /// Parses all codepoints-to-glyph mappings, fills the hashmap `_charToGlyphMapping` void parseCMAP() { const(ubyte)[] cmapTableFull = getTable(0x636d6170 /* 'cmap' */); const(ubyte)[] cmapTable = cmapTableFull; skipBytes(cmapTable, 2); // version int numTables = popBE!ushort(cmapTable); // Looking for a BMP Unicode 'cmap' only for(int table = 0; table < numTables; ++table) { ushort platformID = popBE!ushort(cmapTable); ushort encodingID = popBE!ushort(cmapTable); uint offset = popBE!uint(cmapTable); // in stb_truetype, only case supported, seems to be common if (platformID == 3 && (encodingID == 1 /* Unicode UCS-2 */ || encodingID == 4 /* Unicode UCS-4 */)) { const(ubyte)[] subTable = cmapTableFull[offset..$]; ushort format = popBE!ushort(subTable); // TODO: support other format because this only works within the BMP if (format == 4) { ushort len = popBE!ushort(subTable); skipBytes(subTable, 2); // language, not useful here int segCountX2 = popBE!ushort(subTable); if ((segCountX2 % 2) != 0) throw new Exception("segCountX2 is not an even number"); int segCount = segCountX2/2; int searchRange = popBE!ushort(subTable); int entrySelector = popBE!ushort(subTable); int rangeShift = popBE!ushort(subTable); int[] endCount = new int[segCount]; int[] startCount = new int[segCount]; short[] idDelta = new short[segCount]; int[] idRangeOffset = new int[segCount]; foreach(seg; 0..segCount) endCount[seg] = popBE!ushort(subTable); skipBytes(subTable, 2); // reserved, should be zero foreach(seg; 0..segCount) startCount[seg] = popBE!ushort(subTable); foreach(seg; 0..segCount) idDelta[seg] = popBE!short(subTable); const(ubyte)[] idRangeOffsetArray = subTable; foreach(seg; 0..segCount) idRangeOffset[seg] = popBE!ushort(subTable); foreach(seg; 0..segCount) { _charRanges ~= CharRange(startCount[seg], endCount[seg]); foreach(dchar ch; startCount[seg]..endCount[seg]) { ushort glyphIndex; if (idRangeOffset[seg] == 0) { glyphIndex = cast(ushort)( cast(ushort)ch + idDelta[seg] ); } else { if ((idRangeOffset[seg] % 2) != 0) throw new Exception("idRangeOffset[i] is not an even number"); // Yes, this is what the spec says to do ushort* p = cast(ushort*)(idRangeOffsetArray.ptr); p = p + seg; p = p + (ch - startCount[seg]); p = p + (idRangeOffset[seg]/2); ubyte[] pslice = cast(ubyte[])(p[0..1]); glyphIndex = popBE!ushort(pslice); if (glyphIndex == 0) // missing glyph continue; glyphIndex += idDelta[seg]; } if (glyphIndex >= _glyphs.length) { throw new Exception("Non existing glyph index"); } _charToGlyphMapping[ch] = glyphIndex; if (ch > _maxCodepoint) _maxCodepoint = ch; } } } else throw new Exception("Unsupported 'cmap' format"); break; } } } /// Returns: an index in the file, where that table start for this particular font. const(ubyte)[] findTable(uint fourCC) { int offsetToOffsetTable = _file.offsetForFont(_fontIndex); const(ubyte)[] offsetTable = _wholeFileData[offsetToOffsetTable..$]; uint firstTag = popBE!uint(offsetTable); if (firstTag != 0x00010000 && firstTag != 0x4F54544F /* 'OTTO' */) throw new Exception("Unrecognized tag in Offset Table"); int numTables = popBE!ushort(offsetTable); skipBytes(offsetTable, 6); const(uint)[] tableRecordEntries = cast(uint[])(offsetTable[0..16*numTables]); // Binary search following // https://en.wikipedia.org/wiki/Binary_search_algorithm#Algorithm int L = 0; int R = numTables - 1; while (L <= R) { int m = (L+R)/2; uint tag = forceBigEndian(tableRecordEntries[m * 4]); if (tag < fourCC) L = m + 1; else if (tag > fourCC) R = m - 1; else { // found assert (tag == fourCC); uint checkSum = forceBigEndian(tableRecordEntries[m*4+1]); uint offset = forceBigEndian(tableRecordEntries[m*4+2]); uint len = forceBigEndian(tableRecordEntries[m*4+3]); return _wholeFileData[offset..offset+len]; } } return null; // not found } /// Ditto, but throw if not found. const(ubyte)[] getTable(uint fourCC) { const(ubyte)[] result = findTable(fourCC); if (result is null) throw new Exception(format("Table not found: %s", fourCC)); return result; } /// Returns: that "name" information, in UTF-8 string getName(NameID requestedNameID) { const(ubyte)[] nameTable = getTable(0x6e616d65 /* 'name' */); const(ubyte)[] nameTableParsed = nameTable; ushort format = popBE!ushort(nameTableParsed); if (format > 1) throw new Exception("Unrecognized format in 'name' table"); ushort numNameRecords = popBE!ushort(nameTableParsed); ushort stringOffset = popBE!ushort(nameTableParsed); const(ubyte)[] stringDataStorage = nameTable[stringOffset..$]; foreach(i; 0..numNameRecords) { PlatformID platformID = cast(PlatformID) popBE!ushort(nameTableParsed); ushort encodingID = popBE!ushort(nameTableParsed); ushort languageID = popBE!ushort(nameTableParsed); ushort nameID = popBE!ushort(nameTableParsed); ushort length = popBE!ushort(nameTableParsed); ushort offset = popBE!ushort(nameTableParsed); // String offset from start of storage area (in bytes) if (nameID == requestedNameID) { // found const(ubyte)[] stringSlice = stringDataStorage[offset..offset+length]; string name; if (platformID == PlatformID.macintosh && encodingID == 0) { // MacRoman encoding name = decodeMacRoman(stringSlice); } else { // Most of the time it's UTF16-BE name = decodeUTF16BE(stringSlice); } return name; } } return null; // not found } enum PlatformID : ushort { unicode, macintosh, iso, windows, custom, } enum NameID : ushort { copyrightNotice = 0, fontFamily = 1, fontSubFamily = 2, uniqueFontIdentifier = 3, fullFontName = 4, versionString = 5, postscriptName = 6, trademark = 7, manufacturer = 8, designer = 9, description = 10, preferredFamily = 16, preferredSubFamily = 17, } } private: uint forceBigEndian(ref const(uint) x) pure nothrow @nogc { version(BigEndian) return x; else { import core.bitop: bswap; return bswap(x); } } string decodeMacRoman(const(ubyte)[] input) pure { static immutable dchar[128] CONVERT_TABLE = [ 'Ä', 'Å', 'Ç', 'É', 'Ñ', 'Ö', 'Ü', 'á', 'à', 'â', 'ä' , 'ã', 'å', 'ç', 'é', 'è', 'ê', 'ë', 'í', 'ì', 'î', 'ï', 'ñ', 'ó', 'ò', 'ô', 'ö' , 'õ', 'ú', 'ù', 'û', 'ü', '†', '°', '¢', '£', '§', '•', '¶', 'ß', '®', '©', '™' , '´', '¨', '≠', 'Æ', 'Ø', '∞', '±', '≤', '≥', '¥', 'µ', '∂', '∑', '∏', 'π', '∫' , 'ª', 'º', 'Ω', 'æ', 'ø', '¿', '¡', '¬', '√', 'ƒ', '≈', '∆', '«', '»', '…', '\xA0', 'À', 'Ã', 'Õ', 'Œ', 'œ', '–', '—', '“', '”', '‘', '’', '÷', '◊', 'ÿ', 'Ÿ', '⁄' , '€', '‹', '›', 'fi', 'fl', '‡', '·', '‚', '„', '‰', 'Â', 'Ê', 'Á', 'Ë', 'È', 'Í' , 'Î', 'Ï', 'Ì', 'Ó', 'Ô', '?', 'Ò', 'Ú', 'Û', 'Ù', 'ı', 'ˆ', '˜', '¯', '˘', '˙' , '˚', '¸', '˝', '˛', 'ˇ', ]; string textTranslated = ""; foreach(i; 0..input.length) { char c = input[i]; dchar ch; if (c < 128) ch = c; else ch = CONVERT_TABLE[c - 128]; textTranslated ~= ch; } return textTranslated; } string decodeUTF16BE(const(ubyte)[] input) pure { wstring utf16 = ""; if ((input.length % 2) != 0) throw new Exception("Couldn't decode UTF-16 string"); int numCodepoints = cast(int)(input.length)/2; for (int i = 0; i < numCodepoints; ++i) { wchar ch = popBE!ushort(input); utf16 ~= ch; } return to!string(utf16); }
D
module org.serviio.library.local.metadata.extractor.embedded.LPCMExtractionStrategy; import org.serviio.dlna.AudioContainer; import org.serviio.library.local.metadata.extractor.embedded.AudioExtractionStrategy; public class LPCMExtractionStrategy : AudioExtractionStrategy { override protected AudioContainer getContainer() { return AudioContainer.LPCM; } } /* Location: C:\Users\Main\Downloads\serviio.jar * Qualified Name: org.serviio.library.local.metadata.extractor.embedded.LPCMExtractionStrategy * JD-Core Version: 0.7.0.1 */
D
module std.internal.unicode_comp; import std.internal.unicode_tables; static if (size_t.sizeof == 8) { //9280 bytes enum combiningClassTrieEntries = TrieEntry!(ubyte, 8, 7, 6)([0x0, 0x20, 0x180], [0x100, 0x580, 0x1840], [0x402030202020100, 0x908070206020205, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20001, 0x300000000, 0x5000400000000, 0x8000000070006, 0xb0000000a0009, 0xe0000000d000c, 0x11000f0010000f, 0x11000f0011000f, 0x1100000011000f, 0x11000f00120000, 0x14000000110013, 0x18001700160015, 0x1c001b001a0019, 0x1e0000001d, 0x0, 0x0, 0x1f0000, 0x0, 0x0, 0x0, 0x21000000000020, 0x2200000000, 0x23, 0x2600250024, 0x2a002900280027, 0x2c00000000002b, 0x2d000000000000, 0x0, 0x0, 0x2e000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2f000000000000, 0x31000000300000, 0x0, 0x0, 0x3300000032, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x36003500340000, 0x0, 0x38000000000037, 0x3c003b003a0039, 0x3e003d00000000, 0x3f000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x0, 0x0, 0x41, 0x0, 0x0, 0x42000000000000, 0x43000000000000, 0x440000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46000000000045, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4800470000, 0x4a0000003b0049, 0x4c00000000004b, 0x4d000f, 0x4f0000004e0000, 0x50003000000000, 0x5100000030, 0x52, 0x0, 0x0, 0x5500540053, 0x0, 0x30, 0x560000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x57000000000000, 0x58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5900000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5b005a0000, 0x5c0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e000000000000, 0x5f0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xdcdce8e6e6e6e6e6, 0xdcdcdcdcd8e8dcdc, 0xcadcdcdcdccacadc, 0xdcdcdcdcdcdcdcca, 0x1010101dcdcdcdc, 0xe6e6e6dcdcdcdc01, 0xdce6f0e6e6e6e6e6, 0xdcdce6e6e6dcdc, 0xe6dcdcdcdce6e6e6, 0xe9eaeae9e6dcdce8, 0xe6e6e6e6e6e9eaea, 0xe6e6e6e6e6e6e6e6, 0x0, 0x0, 0xe6e6e6e6e6000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6dce6e6e6e6dc00, 0xe6e6e6e6dcdee6e6, 0xdcdcdcdcdcdce6e6, 0xe6e4dee6e6dce6e6, 0x11100f0e0d0c0b0a, 0x1700161514131312, 0x1200dce600191800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6e6e6e6e6, 0x201f1e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1f1e1d1c1b000000, 0xe6dcdce6e6222120, 0xdce6e6dce6e6e6e6, 0x0, 0x0, 0x23, 0x0, 0x0, 0x0, 0xe6e6000000000000, 0xe60000e6e6e6e6e6, 0xe60000e6dce6e6e6, 0xdce6e6dc00e6, 0x0, 0x0, 0x0, 0x0, 0x2400, 0x0, 0x0, 0x0, 0xdce6e6dce6e6dce6, 0xe6dce6dcdce6dcdc, 0xe6dce6dce6dce6e6, 0xe6e6dc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6e6000000, 0xe6dce6e6, 0x0, 0x0, 0x0, 0xe6e6000000000000, 0xe6e6e6e6e600e6e6, 0xe6e6e600e6e6e6e6, 0xe6e6e6e6e600, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdcdcdc00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e600000000, 0xe6e6e6e6e6e6e6e6, 0xe6dce6e6dc00e6e6, 0xdcdcdce6e6e6dce6, 0xe6dce6e6e61d1c1b, 0xe6e6e6e6e6dcdce6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x700000000, 0x0, 0x90000000000, 0xe6e6dce600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90000000000, 0x5b540000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x909000000, 0x0, 0x90000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x96767, 0x0, 0x6b6b6b6b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7676, 0x0, 0x7a7a7a7a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdcdc, 0x0, 0x0, 0xdc00dc0000000000, 0xd800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8400828100, 0x828282820000, 0xe6e60009e6e60082, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x700000000000000, 0x90900, 0x0, 0xdc0000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e60000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900000000, 0x0, 0x0, 0x0, 0x900000000, 0x0, 0x0, 0x0, 0x90000, 0xe60000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdce6de00, 0x0, 0x0, 0xe600000000000000, 0xdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9, 0x0, 0xe6e6e60000000000, 0xdc0000e6e6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdcdcdce6e6e6e6e6, 0xdce6e6dcdcdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x700000000, 0x0, 0x900000000, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6dce6000000, 0xe6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7000000000000, 0x0, 0x9090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x700000000000000, 0x0, 0x0, 0x0, 0xdcdcdc0100e6e6e6, 0xdcdcdcdce6e6dcdc, 0x1010101010100e6, 0xdc0000000001, 0xe600000000, 0xe6e6, 0xe6e6e6e6e6dce6e6, 0xdcd6eae6e6dce6e6, 0xe6e6e6e6e6e6e6ca, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xe4e8e6e6e6e6e6e6, 0xdce6dce9e600dce4, 0x0, 0x0, 0xe6e6e6e60101e6e6, 0xe6e6010101, 0xe60101000000e600, 0xdcdcdcdc0101e6dc, 0xe6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe600000000000000, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900000000000000, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe0e0dee8e4da0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe600000000000000, 0xe6e6e6e600000000, 0xe6e6e6e6e6e6, 0x0, 0x0, 0x0, 0xe6e6000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6, 0x0, 0x9000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900000000, 0x0, 0x0, 0x0, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdcdcdc000000, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7000000, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe60000dce6e600e6, 0xe6e60000000000e6, 0xe600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1a000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdce6e6e6e6e6e6e6, 0xe6e6dcdcdcdcdcdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc0000000000, 0x0, 0x0, 0x0, 0x0, 0xdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6000000000000, 0xe6e6e6, 0x0, 0xe600dc0000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900000000dc01e6, 0x0, 0x0, 0x0, 0x0, 0xdce60000000000, 0x0, 0x0, 0x0, 0x9000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x70900, 0xe6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x909000000, 0x0, 0x9, 0x70000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7090000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90700, 0x0, 0x0, 0x0, 0x90000000000, 0x0, 0x0, 0xe6e6000000000000, 0xe6e6e6e6e6, 0xe6e6e6e6e6, 0x0, 0x7000000090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x709000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900000000, 0x0, 0x900000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900, 0x0, 0x0, 0x0, 0x0, 0x90900070000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x101010101, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x1000000000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1d8d80000000000, 0xd8d8e20000000101, 0xd8d8d8, 0xdcdcdcdcdc000000, 0xe6e6e60000dcdcdc, 0xdcdce6e6, 0x0, 0x0, 0x0, 0xe6e6e6e60000, 0x0, 0x0, 0xe6e6e60000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e6e6e6e6, 0xe6e6e6e6e60000e6, 0xe6e600e6e600e6e6, 0xe6e6e6, 0x0, 0x0, 0x0, 0x0, 0xdcdcdcdcdcdcdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e600000000, 0x7e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]); enum composeIdxMask = (1 << 11) - 1, composeCntShift = 11; enum compositionJumpTrieEntries = TrieEntry!(ushort, 12, 9)([0x0, 0x400], [0x1000, 0x2400], [0x3000200010000, 0x7000600050004, 0x7000700070008, 0xa000700090007, 0x70007000c000b, 0x7000700070007, 0x700070007000d, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x70010000f000e, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0x7000700070007, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff080208010800, 0x281618138003ffff, 0x383308328821301b, 0x285108507841383a, 0x8068485f185c3056, 0x3882407affff1078, 0x30a510a398903889, 0xffff30b648ad10ab, 0xffffffffffffffff, 0x28cf18cc80bcffff, 0x38ec08eb88da30d4, 0x290b110970fb40f3, 0x8122491919163110, 0x393c4134ffff1132, 0x3960115e994b4143, 0xffff317351691167, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffff1979, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff217cffffffff, 0x984118209810980, 0xffff2185ffffffff, 0x989ffffffffffff, 0xffffffffffffffff, 0xffff0991198e218a, 0xffffffffffff0992, 0xffffffffffff2193, 0xffff2197ffffffff, 0x99f119d099c099b, 0xffff21a0ffffffff, 0x9a4ffffffffffff, 0xffffffffffffffff, 0xffff09ac19a921a5, 0xffffffffffff09ad, 0xffffffffffff21ae, 0x21b621b2ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x11bc11baffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff11c011be, 0xffffffffffffffff, 0xffffffffffffffff, 0x9c309c2ffffffff, 0xffffffffffffffff, 0xffffffff09c509c4, 0xffffffffffffffff, 0x9c909c809c709c6, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x9caffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff29d029cb, 0xffffffffffffffff, 0xffffffffffffffff, 0x29d5ffffffffffff, 0xffffffffffff29da, 0x9dfffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x9e109e0ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x9e309e2ffffffff, 0xffffffff09e509e4, 0x9e709e6ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff09e8ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff39e9ffff, 0x29f4ffff21f0ffff, 0xffffffff39f9ffff, 0x2200ffffffffffff, 0xffffffff0a04ffff, 0xffffffff3205ffff, 0xffffffff2a0bffff, 0xffff0a11ffff0a10, 0xffffffff4212ffff, 0x321effff221affff, 0xffffffff4224ffff, 0x222cffffffffffff, 0xffffffff1230ffff, 0xffffffff4232ffff, 0x1a431a40323affff, 0xffff0a46ffffffff, 0xffff1247ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0a49ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xa4cffffffff124a, 0xa5212501a4dffff, 0xffff0a57ffff2253, 0xffff0a58ffffffff, 0x2259ffffffffffff, 0xa5dffffffffffff, 0xa5effffffffffff, 0xffffffff0a5fffff, 0xa62ffffffff1260, 0xa6812661a63ffff, 0xffff0a6dffff2269, 0xffff0a6effffffff, 0x226fffffffffffff, 0xa73ffffffffffff, 0xa74ffffffffffff, 0xffffffff0a75ffff, 0xffffffffffffffff, 0xffff0a76ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0a780a77, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0a7a0a79, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0a7c0a7b, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x1a7dffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0a81ffff0a80, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0a82ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0a83ffffffff, 0xffffffff0a84ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffff0a85, 0xffffffffffffffff, 0xa87ffffffff0a86, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x1288ffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x1a8affffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0a8dffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xa90128effffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0a91ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xa92ffffffffffff, 0xffffffffffffffff, 0xffff1a93ffffffff, 0xffff0a96ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xa991297ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff1a9affff, 0xffffffffffff0a9d, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0a9effff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xaa0ffff0a9fffff, 0xaa2ffff0aa1ffff, 0xffffffff0aa3ffff, 0xffffffff0aa4ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0aa5ffffffff, 0xaa80aa7ffff0aa6, 0xffff0aa9ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xaab0aaaffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xaad0aacffffffff, 0xffffffffffffffff, 0xaaf0aaeffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff12b212b0, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0ab50ab4, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0ab70ab6, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xac10ac022bc22b8, 0xac50ac40ac30ac2, 0xacf0ace22ca22c6, 0xad30ad20ad10ad0, 0xffffffff12d612d4, 0xffffffffffffffff, 0xffffffff12da12d8, 0xffffffffffffffff, 0xae50ae422e022dc, 0xae90ae80ae70ae6, 0xaf30af222ee22ea, 0xaf70af60af50af4, 0xffffffff1afb1af8, 0xffffffffffffffff, 0xffffffff1b011afe, 0xffffffffffffffff, 0xffffffff13061304, 0xffffffffffffffff, 0xffffffff130a1308, 0xffffffffffffffff, 0xffffffff1b0f1b0c, 0xffffffffffffffff, 0xffffffff1b12ffff, 0xffffffffffffffff, 0xb1e0b1d23192315, 0xb220b210b200b1f, 0xb2c0b2b23272323, 0xb300b2f0b2e0b2d, 0xffffffffffff0b31, 0xffffffffffff0b32, 0xffffffffffffffff, 0xffffffffffff0b33, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0b34ffffffff, 0xffffffffffffffff, 0x1b35ffffffffffff, 0xffffffffffffffff, 0xffff0b38ffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0b39ffffffff, 0xffffffffffffffff, 0xffff1b3affffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0b3effff0b3d, 0xffffffffffff0b3f, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0b41ffff0b40, 0xffffffffffff0b42, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xb43ffffffffffff, 0xffffffffffffffff, 0xb45ffffffff0b44, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xb46ffffffffffff, 0xffffffff0b47ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffff0b48, 0xb49ffffffffffff, 0xffffffff0b4affff, 0xffffffffffff0b4b, 0xffffffff0b4cffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0b4dffff, 0xffffffff0b4f0b4e, 0xffffffffffffffff, 0xffffffffffffffff, 0xb510b50ffffffff, 0xb530b52ffffffff, 0xb550b54ffffffff, 0xffffffff0b570b56, 0xb590b58ffffffff, 0xb5b0b5affffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0b5d0b5cffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0b5effffffff, 0xffffffffffffffff, 0xb61ffff0b600b5f, 0xffffffffffffffff, 0xb630b62ffffffff, 0xffffffff0b650b64, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0b66ffffffff, 0xb67ffffffffffff, 0xb69ffff0b68ffff, 0xb6bffff0b6affff, 0xb6dffff0b6cffff, 0xb6fffff0b6effff, 0xb71ffff0b70ffff, 0xffffffff0b72ffff, 0xffff0b74ffff0b73, 0xffffffffffff0b75, 0x1376ffffffffffff, 0xffff1378ffffffff, 0xffffffff137affff, 0x137effffffff137c, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0b80ffff, 0xffffffffffffffff, 0xffff0b81ffffffff, 0xb82ffffffffffff, 0xb84ffff0b83ffff, 0xb86ffff0b85ffff, 0xb88ffff0b87ffff, 0xb8affff0b89ffff, 0xb8cffff0b8bffff, 0xffffffff0b8dffff, 0xffff0b8fffff0b8e, 0xffffffffffff0b90, 0x1391ffffffffffff, 0xffff1393ffffffff, 0xffffffff1395ffff, 0x1399ffffffff1397, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xb9bffffffffffff, 0xffff0b9e0b9d0b9c, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0b9fffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xba1ffff0ba0ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0ba2ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffff0ba40ba3ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x13a5ffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff1ba7ffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffff0bab0baa, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]); @property immutable(CompEntry[]) compositionTable() nothrow pure @nogc @safe { alias CE = CompEntry; static immutable CE[] t = [ CE(0x00338, 0x0226e), CE(0x00338, 0x02260), CE(0x00338, 0x0226f), CE(0x00300, 0x000c0), CE(0x00301, 0x000c1), CE(0x00302, 0x000c2), CE(0x00303, 0x000c3), CE(0x00304, 0x00100), CE(0x00306, 0x00102), CE(0x00307, 0x00226), CE(0x00308, 0x000c4), CE(0x00309, 0x01ea2), CE(0x0030a, 0x000c5), CE(0x0030c, 0x001cd), CE(0x0030f, 0x00200), CE(0x00311, 0x00202), CE(0x00323, 0x01ea0), CE(0x00325, 0x01e00), CE(0x00328, 0x00104), CE(0x00307, 0x01e02), CE(0x00323, 0x01e04), CE(0x00331, 0x01e06), CE(0x00301, 0x00106), CE(0x00302, 0x00108), CE(0x00307, 0x0010a), CE(0x0030c, 0x0010c), CE(0x00327, 0x000c7), CE(0x00307, 0x01e0a), CE(0x0030c, 0x0010e), CE(0x00323, 0x01e0c), CE(0x00327, 0x01e10), CE(0x0032d, 0x01e12), CE(0x00331, 0x01e0e), CE(0x00300, 0x000c8), CE(0x00301, 0x000c9), CE(0x00302, 0x000ca), CE(0x00303, 0x01ebc), CE(0x00304, 0x00112), CE(0x00306, 0x00114), CE(0x00307, 0x00116), CE(0x00308, 0x000cb), CE(0x00309, 0x01eba), CE(0x0030c, 0x0011a), CE(0x0030f, 0x00204), CE(0x00311, 0x00206), CE(0x00323, 0x01eb8), CE(0x00327, 0x00228), CE(0x00328, 0x00118), CE(0x0032d, 0x01e18), CE(0x00330, 0x01e1a), CE(0x00307, 0x01e1e), CE(0x00301, 0x001f4), CE(0x00302, 0x0011c), CE(0x00304, 0x01e20), CE(0x00306, 0x0011e), CE(0x00307, 0x00120), CE(0x0030c, 0x001e6), CE(0x00327, 0x00122), CE(0x00302, 0x00124), CE(0x00307, 0x01e22), CE(0x00308, 0x01e26), CE(0x0030c, 0x0021e), CE(0x00323, 0x01e24), CE(0x00327, 0x01e28), CE(0x0032e, 0x01e2a), CE(0x00300, 0x000cc), CE(0x00301, 0x000cd), CE(0x00302, 0x000ce), CE(0x00303, 0x00128), CE(0x00304, 0x0012a), CE(0x00306, 0x0012c), CE(0x00307, 0x00130), CE(0x00308, 0x000cf), CE(0x00309, 0x01ec8), CE(0x0030c, 0x001cf), CE(0x0030f, 0x00208), CE(0x00311, 0x0020a), CE(0x00323, 0x01eca), CE(0x00328, 0x0012e), CE(0x00330, 0x01e2c), CE(0x00302, 0x00134), CE(0x00301, 0x01e30), CE(0x0030c, 0x001e8), CE(0x00323, 0x01e32), CE(0x00327, 0x00136), CE(0x00331, 0x01e34), CE(0x00301, 0x00139), CE(0x0030c, 0x0013d), CE(0x00323, 0x01e36), CE(0x00327, 0x0013b), CE(0x0032d, 0x01e3c), CE(0x00331, 0x01e3a), CE(0x00301, 0x01e3e), CE(0x00307, 0x01e40), CE(0x00323, 0x01e42), CE(0x00300, 0x001f8), CE(0x00301, 0x00143), CE(0x00303, 0x000d1), CE(0x00307, 0x01e44), CE(0x0030c, 0x00147), CE(0x00323, 0x01e46), CE(0x00327, 0x00145), CE(0x0032d, 0x01e4a), CE(0x00331, 0x01e48), CE(0x00300, 0x000d2), CE(0x00301, 0x000d3), CE(0x00302, 0x000d4), CE(0x00303, 0x000d5), CE(0x00304, 0x0014c), CE(0x00306, 0x0014e), CE(0x00307, 0x0022e), CE(0x00308, 0x000d6), CE(0x00309, 0x01ece), CE(0x0030b, 0x00150), CE(0x0030c, 0x001d1), CE(0x0030f, 0x0020c), CE(0x00311, 0x0020e), CE(0x0031b, 0x001a0), CE(0x00323, 0x01ecc), CE(0x00328, 0x001ea), CE(0x00301, 0x01e54), CE(0x00307, 0x01e56), CE(0x00301, 0x00154), CE(0x00307, 0x01e58), CE(0x0030c, 0x00158), CE(0x0030f, 0x00210), CE(0x00311, 0x00212), CE(0x00323, 0x01e5a), CE(0x00327, 0x00156), CE(0x00331, 0x01e5e), CE(0x00301, 0x0015a), CE(0x00302, 0x0015c), CE(0x00307, 0x01e60), CE(0x0030c, 0x00160), CE(0x00323, 0x01e62), CE(0x00326, 0x00218), CE(0x00327, 0x0015e), CE(0x00307, 0x01e6a), CE(0x0030c, 0x00164), CE(0x00323, 0x01e6c), CE(0x00326, 0x0021a), CE(0x00327, 0x00162), CE(0x0032d, 0x01e70), CE(0x00331, 0x01e6e), CE(0x00300, 0x000d9), CE(0x00301, 0x000da), CE(0x00302, 0x000db), CE(0x00303, 0x00168), CE(0x00304, 0x0016a), CE(0x00306, 0x0016c), CE(0x00308, 0x000dc), CE(0x00309, 0x01ee6), CE(0x0030a, 0x0016e), CE(0x0030b, 0x00170), CE(0x0030c, 0x001d3), CE(0x0030f, 0x00214), CE(0x00311, 0x00216), CE(0x0031b, 0x001af), CE(0x00323, 0x01ee4), CE(0x00324, 0x01e72), CE(0x00328, 0x00172), CE(0x0032d, 0x01e76), CE(0x00330, 0x01e74), CE(0x00303, 0x01e7c), CE(0x00323, 0x01e7e), CE(0x00300, 0x01e80), CE(0x00301, 0x01e82), CE(0x00302, 0x00174), CE(0x00307, 0x01e86), CE(0x00308, 0x01e84), CE(0x00323, 0x01e88), CE(0x00307, 0x01e8a), CE(0x00308, 0x01e8c), CE(0x00300, 0x01ef2), CE(0x00301, 0x000dd), CE(0x00302, 0x00176), CE(0x00303, 0x01ef8), CE(0x00304, 0x00232), CE(0x00307, 0x01e8e), CE(0x00308, 0x00178), CE(0x00309, 0x01ef6), CE(0x00323, 0x01ef4), CE(0x00301, 0x00179), CE(0x00302, 0x01e90), CE(0x00307, 0x0017b), CE(0x0030c, 0x0017d), CE(0x00323, 0x01e92), CE(0x00331, 0x01e94), CE(0x00300, 0x000e0), CE(0x00301, 0x000e1), CE(0x00302, 0x000e2), CE(0x00303, 0x000e3), CE(0x00304, 0x00101), CE(0x00306, 0x00103), CE(0x00307, 0x00227), CE(0x00308, 0x000e4), CE(0x00309, 0x01ea3), CE(0x0030a, 0x000e5), CE(0x0030c, 0x001ce), CE(0x0030f, 0x00201), CE(0x00311, 0x00203), CE(0x00323, 0x01ea1), CE(0x00325, 0x01e01), CE(0x00328, 0x00105), CE(0x00307, 0x01e03), CE(0x00323, 0x01e05), CE(0x00331, 0x01e07), CE(0x00301, 0x00107), CE(0x00302, 0x00109), CE(0x00307, 0x0010b), CE(0x0030c, 0x0010d), CE(0x00327, 0x000e7), CE(0x00307, 0x01e0b), CE(0x0030c, 0x0010f), CE(0x00323, 0x01e0d), CE(0x00327, 0x01e11), CE(0x0032d, 0x01e13), CE(0x00331, 0x01e0f), CE(0x00300, 0x000e8), CE(0x00301, 0x000e9), CE(0x00302, 0x000ea), CE(0x00303, 0x01ebd), CE(0x00304, 0x00113), CE(0x00306, 0x00115), CE(0x00307, 0x00117), CE(0x00308, 0x000eb), CE(0x00309, 0x01ebb), CE(0x0030c, 0x0011b), CE(0x0030f, 0x00205), CE(0x00311, 0x00207), CE(0x00323, 0x01eb9), CE(0x00327, 0x00229), CE(0x00328, 0x00119), CE(0x0032d, 0x01e19), CE(0x00330, 0x01e1b), CE(0x00307, 0x01e1f), CE(0x00301, 0x001f5), CE(0x00302, 0x0011d), CE(0x00304, 0x01e21), CE(0x00306, 0x0011f), CE(0x00307, 0x00121), CE(0x0030c, 0x001e7), CE(0x00327, 0x00123), CE(0x00302, 0x00125), CE(0x00307, 0x01e23), CE(0x00308, 0x01e27), CE(0x0030c, 0x0021f), CE(0x00323, 0x01e25), CE(0x00327, 0x01e29), CE(0x0032e, 0x01e2b), CE(0x00331, 0x01e96), CE(0x00300, 0x000ec), CE(0x00301, 0x000ed), CE(0x00302, 0x000ee), CE(0x00303, 0x00129), CE(0x00304, 0x0012b), CE(0x00306, 0x0012d), CE(0x00308, 0x000ef), CE(0x00309, 0x01ec9), CE(0x0030c, 0x001d0), CE(0x0030f, 0x00209), CE(0x00311, 0x0020b), CE(0x00323, 0x01ecb), CE(0x00328, 0x0012f), CE(0x00330, 0x01e2d), CE(0x00302, 0x00135), CE(0x0030c, 0x001f0), CE(0x00301, 0x01e31), CE(0x0030c, 0x001e9), CE(0x00323, 0x01e33), CE(0x00327, 0x00137), CE(0x00331, 0x01e35), CE(0x00301, 0x0013a), CE(0x0030c, 0x0013e), CE(0x00323, 0x01e37), CE(0x00327, 0x0013c), CE(0x0032d, 0x01e3d), CE(0x00331, 0x01e3b), CE(0x00301, 0x01e3f), CE(0x00307, 0x01e41), CE(0x00323, 0x01e43), CE(0x00300, 0x001f9), CE(0x00301, 0x00144), CE(0x00303, 0x000f1), CE(0x00307, 0x01e45), CE(0x0030c, 0x00148), CE(0x00323, 0x01e47), CE(0x00327, 0x00146), CE(0x0032d, 0x01e4b), CE(0x00331, 0x01e49), CE(0x00300, 0x000f2), CE(0x00301, 0x000f3), CE(0x00302, 0x000f4), CE(0x00303, 0x000f5), CE(0x00304, 0x0014d), CE(0x00306, 0x0014f), CE(0x00307, 0x0022f), CE(0x00308, 0x000f6), CE(0x00309, 0x01ecf), CE(0x0030b, 0x00151), CE(0x0030c, 0x001d2), CE(0x0030f, 0x0020d), CE(0x00311, 0x0020f), CE(0x0031b, 0x001a1), CE(0x00323, 0x01ecd), CE(0x00328, 0x001eb), CE(0x00301, 0x01e55), CE(0x00307, 0x01e57), CE(0x00301, 0x00155), CE(0x00307, 0x01e59), CE(0x0030c, 0x00159), CE(0x0030f, 0x00211), CE(0x00311, 0x00213), CE(0x00323, 0x01e5b), CE(0x00327, 0x00157), CE(0x00331, 0x01e5f), CE(0x00301, 0x0015b), CE(0x00302, 0x0015d), CE(0x00307, 0x01e61), CE(0x0030c, 0x00161), CE(0x00323, 0x01e63), CE(0x00326, 0x00219), CE(0x00327, 0x0015f), CE(0x00307, 0x01e6b), CE(0x00308, 0x01e97), CE(0x0030c, 0x00165), CE(0x00323, 0x01e6d), CE(0x00326, 0x0021b), CE(0x00327, 0x00163), CE(0x0032d, 0x01e71), CE(0x00331, 0x01e6f), CE(0x00300, 0x000f9), CE(0x00301, 0x000fa), CE(0x00302, 0x000fb), CE(0x00303, 0x00169), CE(0x00304, 0x0016b), CE(0x00306, 0x0016d), CE(0x00308, 0x000fc), CE(0x00309, 0x01ee7), CE(0x0030a, 0x0016f), CE(0x0030b, 0x00171), CE(0x0030c, 0x001d4), CE(0x0030f, 0x00215), CE(0x00311, 0x00217), CE(0x0031b, 0x001b0), CE(0x00323, 0x01ee5), CE(0x00324, 0x01e73), CE(0x00328, 0x00173), CE(0x0032d, 0x01e77), CE(0x00330, 0x01e75), CE(0x00303, 0x01e7d), CE(0x00323, 0x01e7f), CE(0x00300, 0x01e81), CE(0x00301, 0x01e83), CE(0x00302, 0x00175), CE(0x00307, 0x01e87), CE(0x00308, 0x01e85), CE(0x0030a, 0x01e98), CE(0x00323, 0x01e89), CE(0x00307, 0x01e8b), CE(0x00308, 0x01e8d), CE(0x00300, 0x01ef3), CE(0x00301, 0x000fd), CE(0x00302, 0x00177), CE(0x00303, 0x01ef9), CE(0x00304, 0x00233), CE(0x00307, 0x01e8f), CE(0x00308, 0x000ff), CE(0x00309, 0x01ef7), CE(0x0030a, 0x01e99), CE(0x00323, 0x01ef5), CE(0x00301, 0x0017a), CE(0x00302, 0x01e91), CE(0x00307, 0x0017c), CE(0x0030c, 0x0017e), CE(0x00323, 0x01e93), CE(0x00331, 0x01e95), CE(0x00300, 0x01fed), CE(0x00301, 0x00385), CE(0x00342, 0x01fc1), CE(0x00300, 0x01ea6), CE(0x00301, 0x01ea4), CE(0x00303, 0x01eaa), CE(0x00309, 0x01ea8), CE(0x00304, 0x001de), CE(0x00301, 0x001fa), CE(0x00301, 0x001fc), CE(0x00304, 0x001e2), CE(0x00301, 0x01e08), CE(0x00300, 0x01ec0), CE(0x00301, 0x01ebe), CE(0x00303, 0x01ec4), CE(0x00309, 0x01ec2), CE(0x00301, 0x01e2e), CE(0x00300, 0x01ed2), CE(0x00301, 0x01ed0), CE(0x00303, 0x01ed6), CE(0x00309, 0x01ed4), CE(0x00301, 0x01e4c), CE(0x00304, 0x0022c), CE(0x00308, 0x01e4e), CE(0x00304, 0x0022a), CE(0x00301, 0x001fe), CE(0x00300, 0x001db), CE(0x00301, 0x001d7), CE(0x00304, 0x001d5), CE(0x0030c, 0x001d9), CE(0x00300, 0x01ea7), CE(0x00301, 0x01ea5), CE(0x00303, 0x01eab), CE(0x00309, 0x01ea9), CE(0x00304, 0x001df), CE(0x00301, 0x001fb), CE(0x00301, 0x001fd), CE(0x00304, 0x001e3), CE(0x00301, 0x01e09), CE(0x00300, 0x01ec1), CE(0x00301, 0x01ebf), CE(0x00303, 0x01ec5), CE(0x00309, 0x01ec3), CE(0x00301, 0x01e2f), CE(0x00300, 0x01ed3), CE(0x00301, 0x01ed1), CE(0x00303, 0x01ed7), CE(0x00309, 0x01ed5), CE(0x00301, 0x01e4d), CE(0x00304, 0x0022d), CE(0x00308, 0x01e4f), CE(0x00304, 0x0022b), CE(0x00301, 0x001ff), CE(0x00300, 0x001dc), CE(0x00301, 0x001d8), CE(0x00304, 0x001d6), CE(0x0030c, 0x001da), CE(0x00300, 0x01eb0), CE(0x00301, 0x01eae), CE(0x00303, 0x01eb4), CE(0x00309, 0x01eb2), CE(0x00300, 0x01eb1), CE(0x00301, 0x01eaf), CE(0x00303, 0x01eb5), CE(0x00309, 0x01eb3), CE(0x00300, 0x01e14), CE(0x00301, 0x01e16), CE(0x00300, 0x01e15), CE(0x00301, 0x01e17), CE(0x00300, 0x01e50), CE(0x00301, 0x01e52), CE(0x00300, 0x01e51), CE(0x00301, 0x01e53), CE(0x00307, 0x01e64), CE(0x00307, 0x01e65), CE(0x00307, 0x01e66), CE(0x00307, 0x01e67), CE(0x00301, 0x01e78), CE(0x00301, 0x01e79), CE(0x00308, 0x01e7a), CE(0x00308, 0x01e7b), CE(0x00307, 0x01e9b), CE(0x00300, 0x01edc), CE(0x00301, 0x01eda), CE(0x00303, 0x01ee0), CE(0x00309, 0x01ede), CE(0x00323, 0x01ee2), CE(0x00300, 0x01edd), CE(0x00301, 0x01edb), CE(0x00303, 0x01ee1), CE(0x00309, 0x01edf), CE(0x00323, 0x01ee3), CE(0x00300, 0x01eea), CE(0x00301, 0x01ee8), CE(0x00303, 0x01eee), CE(0x00309, 0x01eec), CE(0x00323, 0x01ef0), CE(0x00300, 0x01eeb), CE(0x00301, 0x01ee9), CE(0x00303, 0x01eef), CE(0x00309, 0x01eed), CE(0x00323, 0x01ef1), CE(0x0030c, 0x001ee), CE(0x00304, 0x001ec), CE(0x00304, 0x001ed), CE(0x00304, 0x001e0), CE(0x00304, 0x001e1), CE(0x00306, 0x01e1c), CE(0x00306, 0x01e1d), CE(0x00304, 0x00230), CE(0x00304, 0x00231), CE(0x0030c, 0x001ef), CE(0x00300, 0x01fba), CE(0x00301, 0x00386), CE(0x00304, 0x01fb9), CE(0x00306, 0x01fb8), CE(0x00313, 0x01f08), CE(0x00314, 0x01f09), CE(0x00345, 0x01fbc), CE(0x00300, 0x01fc8), CE(0x00301, 0x00388), CE(0x00313, 0x01f18), CE(0x00314, 0x01f19), CE(0x00300, 0x01fca), CE(0x00301, 0x00389), CE(0x00313, 0x01f28), CE(0x00314, 0x01f29), CE(0x00345, 0x01fcc), CE(0x00300, 0x01fda), CE(0x00301, 0x0038a), CE(0x00304, 0x01fd9), CE(0x00306, 0x01fd8), CE(0x00308, 0x003aa), CE(0x00313, 0x01f38), CE(0x00314, 0x01f39), CE(0x00300, 0x01ff8), CE(0x00301, 0x0038c), CE(0x00313, 0x01f48), CE(0x00314, 0x01f49), CE(0x00314, 0x01fec), CE(0x00300, 0x01fea), CE(0x00301, 0x0038e), CE(0x00304, 0x01fe9), CE(0x00306, 0x01fe8), CE(0x00308, 0x003ab), CE(0x00314, 0x01f59), CE(0x00300, 0x01ffa), CE(0x00301, 0x0038f), CE(0x00313, 0x01f68), CE(0x00314, 0x01f69), CE(0x00345, 0x01ffc), CE(0x00345, 0x01fb4), CE(0x00345, 0x01fc4), CE(0x00300, 0x01f70), CE(0x00301, 0x003ac), CE(0x00304, 0x01fb1), CE(0x00306, 0x01fb0), CE(0x00313, 0x01f00), CE(0x00314, 0x01f01), CE(0x00342, 0x01fb6), CE(0x00345, 0x01fb3), CE(0x00300, 0x01f72), CE(0x00301, 0x003ad), CE(0x00313, 0x01f10), CE(0x00314, 0x01f11), CE(0x00300, 0x01f74), CE(0x00301, 0x003ae), CE(0x00313, 0x01f20), CE(0x00314, 0x01f21), CE(0x00342, 0x01fc6), CE(0x00345, 0x01fc3), CE(0x00300, 0x01f76), CE(0x00301, 0x003af), CE(0x00304, 0x01fd1), CE(0x00306, 0x01fd0), CE(0x00308, 0x003ca), CE(0x00313, 0x01f30), CE(0x00314, 0x01f31), CE(0x00342, 0x01fd6), CE(0x00300, 0x01f78), CE(0x00301, 0x003cc), CE(0x00313, 0x01f40), CE(0x00314, 0x01f41), CE(0x00313, 0x01fe4), CE(0x00314, 0x01fe5), CE(0x00300, 0x01f7a), CE(0x00301, 0x003cd), CE(0x00304, 0x01fe1), CE(0x00306, 0x01fe0), CE(0x00308, 0x003cb), CE(0x00313, 0x01f50), CE(0x00314, 0x01f51), CE(0x00342, 0x01fe6), CE(0x00300, 0x01f7c), CE(0x00301, 0x003ce), CE(0x00313, 0x01f60), CE(0x00314, 0x01f61), CE(0x00342, 0x01ff6), CE(0x00345, 0x01ff3), CE(0x00300, 0x01fd2), CE(0x00301, 0x00390), CE(0x00342, 0x01fd7), CE(0x00300, 0x01fe2), CE(0x00301, 0x003b0), CE(0x00342, 0x01fe7), CE(0x00345, 0x01ff4), CE(0x00301, 0x003d3), CE(0x00308, 0x003d4), CE(0x00308, 0x00407), CE(0x00306, 0x004d0), CE(0x00308, 0x004d2), CE(0x00301, 0x00403), CE(0x00300, 0x00400), CE(0x00306, 0x004d6), CE(0x00308, 0x00401), CE(0x00306, 0x004c1), CE(0x00308, 0x004dc), CE(0x00308, 0x004de), CE(0x00300, 0x0040d), CE(0x00304, 0x004e2), CE(0x00306, 0x00419), CE(0x00308, 0x004e4), CE(0x00301, 0x0040c), CE(0x00308, 0x004e6), CE(0x00304, 0x004ee), CE(0x00306, 0x0040e), CE(0x00308, 0x004f0), CE(0x0030b, 0x004f2), CE(0x00308, 0x004f4), CE(0x00308, 0x004f8), CE(0x00308, 0x004ec), CE(0x00306, 0x004d1), CE(0x00308, 0x004d3), CE(0x00301, 0x00453), CE(0x00300, 0x00450), CE(0x00306, 0x004d7), CE(0x00308, 0x00451), CE(0x00306, 0x004c2), CE(0x00308, 0x004dd), CE(0x00308, 0x004df), CE(0x00300, 0x0045d), CE(0x00304, 0x004e3), CE(0x00306, 0x00439), CE(0x00308, 0x004e5), CE(0x00301, 0x0045c), CE(0x00308, 0x004e7), CE(0x00304, 0x004ef), CE(0x00306, 0x0045e), CE(0x00308, 0x004f1), CE(0x0030b, 0x004f3), CE(0x00308, 0x004f5), CE(0x00308, 0x004f9), CE(0x00308, 0x004ed), CE(0x00308, 0x00457), CE(0x0030f, 0x00476), CE(0x0030f, 0x00477), CE(0x00308, 0x004da), CE(0x00308, 0x004db), CE(0x00308, 0x004ea), CE(0x00308, 0x004eb), CE(0x00653, 0x00622), CE(0x00654, 0x00623), CE(0x00655, 0x00625), CE(0x00654, 0x00624), CE(0x00654, 0x00626), CE(0x00654, 0x006c2), CE(0x00654, 0x006d3), CE(0x00654, 0x006c0), CE(0x0093c, 0x00929), CE(0x0093c, 0x00931), CE(0x0093c, 0x00934), CE(0x009be, 0x009cb), CE(0x009d7, 0x009cc), CE(0x00b3e, 0x00b4b), CE(0x00b56, 0x00b48), CE(0x00b57, 0x00b4c), CE(0x00bd7, 0x00b94), CE(0x00bbe, 0x00bca), CE(0x00bd7, 0x00bcc), CE(0x00bbe, 0x00bcb), CE(0x00c56, 0x00c48), CE(0x00cd5, 0x00cc0), CE(0x00cc2, 0x00cca), CE(0x00cd5, 0x00cc7), CE(0x00cd6, 0x00cc8), CE(0x00cd5, 0x00ccb), CE(0x00d3e, 0x00d4a), CE(0x00d57, 0x00d4c), CE(0x00d3e, 0x00d4b), CE(0x00dca, 0x00dda), CE(0x00dcf, 0x00ddc), CE(0x00ddf, 0x00dde), CE(0x00dca, 0x00ddd), CE(0x0102e, 0x01026), CE(0x01b35, 0x01b06), CE(0x01b35, 0x01b08), CE(0x01b35, 0x01b0a), CE(0x01b35, 0x01b0c), CE(0x01b35, 0x01b0e), CE(0x01b35, 0x01b12), CE(0x01b35, 0x01b3b), CE(0x01b35, 0x01b3d), CE(0x01b35, 0x01b40), CE(0x01b35, 0x01b41), CE(0x01b35, 0x01b43), CE(0x00304, 0x01e38), CE(0x00304, 0x01e39), CE(0x00304, 0x01e5c), CE(0x00304, 0x01e5d), CE(0x00307, 0x01e68), CE(0x00307, 0x01e69), CE(0x00302, 0x01eac), CE(0x00306, 0x01eb6), CE(0x00302, 0x01ead), CE(0x00306, 0x01eb7), CE(0x00302, 0x01ec6), CE(0x00302, 0x01ec7), CE(0x00302, 0x01ed8), CE(0x00302, 0x01ed9), CE(0x00300, 0x01f02), CE(0x00301, 0x01f04), CE(0x00342, 0x01f06), CE(0x00345, 0x01f80), CE(0x00300, 0x01f03), CE(0x00301, 0x01f05), CE(0x00342, 0x01f07), CE(0x00345, 0x01f81), CE(0x00345, 0x01f82), CE(0x00345, 0x01f83), CE(0x00345, 0x01f84), CE(0x00345, 0x01f85), CE(0x00345, 0x01f86), CE(0x00345, 0x01f87), CE(0x00300, 0x01f0a), CE(0x00301, 0x01f0c), CE(0x00342, 0x01f0e), CE(0x00345, 0x01f88), CE(0x00300, 0x01f0b), CE(0x00301, 0x01f0d), CE(0x00342, 0x01f0f), CE(0x00345, 0x01f89), CE(0x00345, 0x01f8a), CE(0x00345, 0x01f8b), CE(0x00345, 0x01f8c), CE(0x00345, 0x01f8d), CE(0x00345, 0x01f8e), CE(0x00345, 0x01f8f), CE(0x00300, 0x01f12), CE(0x00301, 0x01f14), CE(0x00300, 0x01f13), CE(0x00301, 0x01f15), CE(0x00300, 0x01f1a), CE(0x00301, 0x01f1c), CE(0x00300, 0x01f1b), CE(0x00301, 0x01f1d), CE(0x00300, 0x01f22), CE(0x00301, 0x01f24), CE(0x00342, 0x01f26), CE(0x00345, 0x01f90), CE(0x00300, 0x01f23), CE(0x00301, 0x01f25), CE(0x00342, 0x01f27), CE(0x00345, 0x01f91), CE(0x00345, 0x01f92), CE(0x00345, 0x01f93), CE(0x00345, 0x01f94), CE(0x00345, 0x01f95), CE(0x00345, 0x01f96), CE(0x00345, 0x01f97), CE(0x00300, 0x01f2a), CE(0x00301, 0x01f2c), CE(0x00342, 0x01f2e), CE(0x00345, 0x01f98), CE(0x00300, 0x01f2b), CE(0x00301, 0x01f2d), CE(0x00342, 0x01f2f), CE(0x00345, 0x01f99), CE(0x00345, 0x01f9a), CE(0x00345, 0x01f9b), CE(0x00345, 0x01f9c), CE(0x00345, 0x01f9d), CE(0x00345, 0x01f9e), CE(0x00345, 0x01f9f), CE(0x00300, 0x01f32), CE(0x00301, 0x01f34), CE(0x00342, 0x01f36), CE(0x00300, 0x01f33), CE(0x00301, 0x01f35), CE(0x00342, 0x01f37), CE(0x00300, 0x01f3a), CE(0x00301, 0x01f3c), CE(0x00342, 0x01f3e), CE(0x00300, 0x01f3b), CE(0x00301, 0x01f3d), CE(0x00342, 0x01f3f), CE(0x00300, 0x01f42), CE(0x00301, 0x01f44), CE(0x00300, 0x01f43), CE(0x00301, 0x01f45), CE(0x00300, 0x01f4a), CE(0x00301, 0x01f4c), CE(0x00300, 0x01f4b), CE(0x00301, 0x01f4d), CE(0x00300, 0x01f52), CE(0x00301, 0x01f54), CE(0x00342, 0x01f56), CE(0x00300, 0x01f53), CE(0x00301, 0x01f55), CE(0x00342, 0x01f57), CE(0x00300, 0x01f5b), CE(0x00301, 0x01f5d), CE(0x00342, 0x01f5f), CE(0x00300, 0x01f62), CE(0x00301, 0x01f64), CE(0x00342, 0x01f66), CE(0x00345, 0x01fa0), CE(0x00300, 0x01f63), CE(0x00301, 0x01f65), CE(0x00342, 0x01f67), CE(0x00345, 0x01fa1), CE(0x00345, 0x01fa2), CE(0x00345, 0x01fa3), CE(0x00345, 0x01fa4), CE(0x00345, 0x01fa5), CE(0x00345, 0x01fa6), CE(0x00345, 0x01fa7), CE(0x00300, 0x01f6a), CE(0x00301, 0x01f6c), CE(0x00342, 0x01f6e), CE(0x00345, 0x01fa8), CE(0x00300, 0x01f6b), CE(0x00301, 0x01f6d), CE(0x00342, 0x01f6f), CE(0x00345, 0x01fa9), CE(0x00345, 0x01faa), CE(0x00345, 0x01fab), CE(0x00345, 0x01fac), CE(0x00345, 0x01fad), CE(0x00345, 0x01fae), CE(0x00345, 0x01faf), CE(0x00345, 0x01fb2), CE(0x00345, 0x01fc2), CE(0x00345, 0x01ff2), CE(0x00345, 0x01fb7), CE(0x00300, 0x01fcd), CE(0x00301, 0x01fce), CE(0x00342, 0x01fcf), CE(0x00345, 0x01fc7), CE(0x00345, 0x01ff7), CE(0x00300, 0x01fdd), CE(0x00301, 0x01fde), CE(0x00342, 0x01fdf), CE(0x00338, 0x0219a), CE(0x00338, 0x0219b), CE(0x00338, 0x021ae), CE(0x00338, 0x021cd), CE(0x00338, 0x021cf), CE(0x00338, 0x021ce), CE(0x00338, 0x02204), CE(0x00338, 0x02209), CE(0x00338, 0x0220c), CE(0x00338, 0x02224), CE(0x00338, 0x02226), CE(0x00338, 0x02241), CE(0x00338, 0x02244), CE(0x00338, 0x02247), CE(0x00338, 0x02249), CE(0x00338, 0x0226d), CE(0x00338, 0x02262), CE(0x00338, 0x02270), CE(0x00338, 0x02271), CE(0x00338, 0x02274), CE(0x00338, 0x02275), CE(0x00338, 0x02278), CE(0x00338, 0x02279), CE(0x00338, 0x02280), CE(0x00338, 0x02281), CE(0x00338, 0x022e0), CE(0x00338, 0x022e1), CE(0x00338, 0x02284), CE(0x00338, 0x02285), CE(0x00338, 0x02288), CE(0x00338, 0x02289), CE(0x00338, 0x022e2), CE(0x00338, 0x022e3), CE(0x00338, 0x022ac), CE(0x00338, 0x022ad), CE(0x00338, 0x022ae), CE(0x00338, 0x022af), CE(0x00338, 0x022ea), CE(0x00338, 0x022eb), CE(0x00338, 0x022ec), CE(0x00338, 0x022ed), CE(0x03099, 0x03094), CE(0x03099, 0x0304c), CE(0x03099, 0x0304e), CE(0x03099, 0x03050), CE(0x03099, 0x03052), CE(0x03099, 0x03054), CE(0x03099, 0x03056), CE(0x03099, 0x03058), CE(0x03099, 0x0305a), CE(0x03099, 0x0305c), CE(0x03099, 0x0305e), CE(0x03099, 0x03060), CE(0x03099, 0x03062), CE(0x03099, 0x03065), CE(0x03099, 0x03067), CE(0x03099, 0x03069), CE(0x03099, 0x03070), CE(0x0309a, 0x03071), CE(0x03099, 0x03073), CE(0x0309a, 0x03074), CE(0x03099, 0x03076), CE(0x0309a, 0x03077), CE(0x03099, 0x03079), CE(0x0309a, 0x0307a), CE(0x03099, 0x0307c), CE(0x0309a, 0x0307d), CE(0x03099, 0x0309e), CE(0x03099, 0x030f4), CE(0x03099, 0x030ac), CE(0x03099, 0x030ae), CE(0x03099, 0x030b0), CE(0x03099, 0x030b2), CE(0x03099, 0x030b4), CE(0x03099, 0x030b6), CE(0x03099, 0x030b8), CE(0x03099, 0x030ba), CE(0x03099, 0x030bc), CE(0x03099, 0x030be), CE(0x03099, 0x030c0), CE(0x03099, 0x030c2), CE(0x03099, 0x030c5), CE(0x03099, 0x030c7), CE(0x03099, 0x030c9), CE(0x03099, 0x030d0), CE(0x0309a, 0x030d1), CE(0x03099, 0x030d3), CE(0x0309a, 0x030d4), CE(0x03099, 0x030d6), CE(0x0309a, 0x030d7), CE(0x03099, 0x030d9), CE(0x0309a, 0x030da), CE(0x03099, 0x030dc), CE(0x0309a, 0x030dd), CE(0x03099, 0x030f7), CE(0x03099, 0x030f8), CE(0x03099, 0x030f9), CE(0x03099, 0x030fa), CE(0x03099, 0x030fe), CE(0x110ba, 0x1109a), CE(0x110ba, 0x1109c), CE(0x110ba, 0x110ab), CE(0x11127, 0x1112e), CE(0x11127, 0x1112f), CE(0x1133e, 0x1134b), CE(0x11357, 0x1134c), CE(0x114b0, 0x114bc), CE(0x114ba, 0x114bb), CE(0x114bd, 0x114be), CE(0x115af, 0x115ba), CE(0x115af, 0x115bb), ]; return t; } } static if (size_t.sizeof == 4) { //9280 bytes enum combiningClassTrieEntries = TrieEntry!(ubyte, 8, 7, 6)([0x0, 0x40, 0x300], [0x100, 0x580, 0x1840], [0x2020100, 0x4020302, 0x6020205, 0x9080702, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20001, 0x0, 0x0, 0x3, 0x0, 0x50004, 0x70006, 0x80000, 0xa0009, 0xb0000, 0xd000c, 0xe0000, 0x10000f, 0x11000f, 0x11000f, 0x11000f, 0x11000f, 0x110000, 0x120000, 0x11000f, 0x110013, 0x140000, 0x160015, 0x180017, 0x1a0019, 0x1c001b, 0x1d, 0x1e, 0x0, 0x0, 0x0, 0x0, 0x1f0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20, 0x210000, 0x0, 0x22, 0x23, 0x0, 0x250024, 0x26, 0x280027, 0x2a0029, 0x2b, 0x2c0000, 0x0, 0x2d0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2e0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2f0000, 0x300000, 0x310000, 0x0, 0x0, 0x0, 0x0, 0x32, 0x33, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x340000, 0x360035, 0x0, 0x0, 0x37, 0x380000, 0x3a0039, 0x3c003b, 0x0, 0x3e003d, 0x0, 0x3f0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x41, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x420000, 0x0, 0x430000, 0x440000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x45, 0x460000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x470000, 0x48, 0x3b0049, 0x4a0000, 0x4b, 0x4c0000, 0x4d000f, 0x0, 0x4e0000, 0x4f0000, 0x0, 0x500030, 0x30, 0x51, 0x52, 0x0, 0x0, 0x0, 0x0, 0x0, 0x540053, 0x55, 0x0, 0x0, 0x30, 0x0, 0x560000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x570000, 0x58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x59, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5a0000, 0x5b, 0x5c0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e0000, 0x5f0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xdcdce8e6, 0xd8e8dcdc, 0xdcdcdcdc, 0xdccacadc, 0xcadcdcdc, 0xdcdcdcca, 0xdcdcdcdc, 0xdcdcdcdc, 0x1010101, 0xdcdcdc01, 0xe6e6e6dc, 0xe6e6e6e6, 0xdce6f0e6, 0xe6e6dcdc, 0xdcdce6, 0xdce6e6e6, 0xe6dcdcdc, 0xe6dcdce8, 0xe9eaeae9, 0xe6e9eaea, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0xe6000000, 0xe6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6dc00, 0xe6dce6e6, 0xdcdee6e6, 0xe6e6e6e6, 0xdcdce6e6, 0xdcdcdcdc, 0xe6dce6e6, 0xe6e4dee6, 0xd0c0b0a, 0x11100f0e, 0x14131312, 0x17001615, 0x191800, 0x1200dce6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xe6e6e6e6, 0x201f1e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1b000000, 0x1f1e1d1c, 0xe6222120, 0xe6dcdce6, 0xe6e6e6e6, 0xdce6e6dc, 0x0, 0x0, 0x0, 0x0, 0x23, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e60000, 0xe6e6e6e6, 0xe60000e6, 0xdce6e6e6, 0xe60000e6, 0xe6dc00e6, 0xdce6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6dce6, 0xdce6e6dc, 0xdce6dcdc, 0xe6dce6dc, 0xe6dce6e6, 0xe6dce6dc, 0xe6e6dc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6000000, 0xe6e6e6e6, 0xe6dce6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e60000, 0xe600e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e600, 0xe6e6e600, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdcdcdc00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xdc00e6e6, 0xe6dce6e6, 0xe6e6dce6, 0xdcdcdce6, 0xe61d1c1b, 0xe6dce6e6, 0xe6dcdce6, 0xe6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7, 0x0, 0x0, 0x0, 0x900, 0xe6dce600, 0xe6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900, 0x0, 0x5b5400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x9, 0x0, 0x0, 0x90000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x96767, 0x0, 0x0, 0x0, 0x6b6b6b6b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7676, 0x0, 0x0, 0x0, 0x7a7a7a7a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdcdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc00dc00, 0xd800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x828100, 0x84, 0x82820000, 0x8282, 0xe6e60082, 0xe6e60009, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7000000, 0x90900, 0x0, 0x0, 0x0, 0x0, 0xdc00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90000, 0x0, 0x0, 0xe600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdce6de00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6000000, 0xdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0, 0xe6e6e600, 0xe6e6e6e6, 0xdc0000e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xdcdcdce6, 0xe6dcdcdc, 0xdce6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7, 0x0, 0x0, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6000000, 0xe6e6e6dc, 0xe6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x70000, 0x0, 0x0, 0x9090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6, 0xdcdcdc01, 0xe6e6dcdc, 0xdcdcdcdc, 0x10100e6, 0x1010101, 0x1, 0xdc00, 0x0, 0xe6, 0xe6e6, 0x0, 0xe6dce6e6, 0xe6e6e6e6, 0xe6dce6e6, 0xdcd6eae6, 0xe6e6e6ca, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe4e8e6e6, 0xe600dce4, 0xdce6dce9, 0x0, 0x0, 0x0, 0x0, 0x101e6e6, 0xe6e6e6e6, 0xe6010101, 0xe6, 0xe600, 0xe6010100, 0x101e6dc, 0xdcdcdcdc, 0xe6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6000000, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe4da0000, 0xe0e0dee8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6000000, 0x0, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e60000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0x90000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc000000, 0xdcdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7000000, 0x0, 0x0, 0x0, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e600e6, 0xe60000dc, 0xe6, 0xe6e60000, 0xe600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1a0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xdce6e6e6, 0xdcdcdcdc, 0xe6e6dcdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e60000, 0xe6e6e6, 0x0, 0x0, 0x0, 0x0, 0xe600dc00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdc01e6, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdce600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x70900, 0x0, 0xe6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x9, 0x0, 0x0, 0x9, 0x0, 0x70000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x70900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90700, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e60000, 0xe6e6e6e6, 0xe6, 0xe6e6e6e6, 0xe6, 0x0, 0x0, 0x90000, 0x70000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7090000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9, 0x0, 0x0, 0x0, 0x9000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x70000, 0x909, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1010101, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xe6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1d8d800, 0x101, 0xd8d8e200, 0xd8d8d8, 0x0, 0xdc000000, 0xdcdcdcdc, 0xdcdcdc, 0xe6e6e600, 0xdcdce6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e60000, 0xe6e6, 0x0, 0x0, 0x0, 0x0, 0xe6e60000, 0xe6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0xe6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe6e6e6e6, 0xe60000e6, 0xe6e6e6e6, 0xe600e6e6, 0xe6e600e6, 0xe6e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdcdcdcdc, 0xdcdcdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe6e6e6e6, 0x7e6e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]); enum composeIdxMask = (1 << 11) - 1, composeCntShift = 11; enum compositionJumpTrieEntries = TrieEntry!(ushort, 12, 9)([0x0, 0x800], [0x1000, 0x2400], [0x10000, 0x30002, 0x50004, 0x70006, 0x70008, 0x70007, 0x90007, 0xa0007, 0xc000b, 0x70007, 0x70007, 0x70007, 0x7000d, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0xf000e, 0x70010, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0x70007, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x8010800, 0xffff0802, 0x8003ffff, 0x28161813, 0x8821301b, 0x38330832, 0x7841383a, 0x28510850, 0x185c3056, 0x8068485f, 0xffff1078, 0x3882407a, 0x98903889, 0x30a510a3, 0x48ad10ab, 0xffff30b6, 0xffffffff, 0xffffffff, 0x80bcffff, 0x28cf18cc, 0x88da30d4, 0x38ec08eb, 0x70fb40f3, 0x290b1109, 0x19163110, 0x81224919, 0xffff1132, 0x393c4134, 0x994b4143, 0x3960115e, 0x51691167, 0xffff3173, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff1979, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff217c, 0x9810980, 0x9841182, 0xffffffff, 0xffff2185, 0xffffffff, 0x989ffff, 0xffffffff, 0xffffffff, 0x198e218a, 0xffff0991, 0xffff0992, 0xffffffff, 0xffff2193, 0xffffffff, 0xffffffff, 0xffff2197, 0x99c099b, 0x99f119d, 0xffffffff, 0xffff21a0, 0xffffffff, 0x9a4ffff, 0xffffffff, 0xffffffff, 0x19a921a5, 0xffff09ac, 0xffff09ad, 0xffffffff, 0xffff21ae, 0xffffffff, 0xffffffff, 0x21b621b2, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x11bc11ba, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x11c011be, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x9c309c2, 0xffffffff, 0xffffffff, 0x9c509c4, 0xffffffff, 0xffffffff, 0xffffffff, 0x9c709c6, 0x9c909c8, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x9caffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x29d029cb, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x29d5ffff, 0xffff29da, 0xffffffff, 0xffffffff, 0x9dfffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x9e109e0, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x9e309e2, 0x9e509e4, 0xffffffff, 0xffffffff, 0x9e709e6, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff09e8, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x39e9ffff, 0xffffffff, 0x21f0ffff, 0x29f4ffff, 0x39f9ffff, 0xffffffff, 0xffffffff, 0x2200ffff, 0xa04ffff, 0xffffffff, 0x3205ffff, 0xffffffff, 0x2a0bffff, 0xffffffff, 0xffff0a10, 0xffff0a11, 0x4212ffff, 0xffffffff, 0x221affff, 0x321effff, 0x4224ffff, 0xffffffff, 0xffffffff, 0x222cffff, 0x1230ffff, 0xffffffff, 0x4232ffff, 0xffffffff, 0x323affff, 0x1a431a40, 0xffffffff, 0xffff0a46, 0xffffffff, 0xffff1247, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a49, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff124a, 0xa4cffff, 0x1a4dffff, 0xa521250, 0xffff2253, 0xffff0a57, 0xffffffff, 0xffff0a58, 0xffffffff, 0x2259ffff, 0xffffffff, 0xa5dffff, 0xffffffff, 0xa5effff, 0xa5fffff, 0xffffffff, 0xffff1260, 0xa62ffff, 0x1a63ffff, 0xa681266, 0xffff2269, 0xffff0a6d, 0xffffffff, 0xffff0a6e, 0xffffffff, 0x226fffff, 0xffffffff, 0xa73ffff, 0xffffffff, 0xa74ffff, 0xa75ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a76, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa780a77, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa7a0a79, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa7c0a7b, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x1a7dffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a80, 0xffff0a81, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa82ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a83, 0xa84ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a85, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a86, 0xa87ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x1288ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x1a8affff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a8d, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa90128e, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0a91, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa92ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff1a93, 0xffffffff, 0xffff0a96, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa991297, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x1a9affff, 0xffffffff, 0xffff0a9d, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa9effff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xa9fffff, 0xaa0ffff, 0xaa1ffff, 0xaa2ffff, 0xaa3ffff, 0xffffffff, 0xaa4ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0aa5, 0xffff0aa6, 0xaa80aa7, 0xffffffff, 0xffff0aa9, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xaab0aaa, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xaad0aac, 0xffffffff, 0xffffffff, 0xffffffff, 0xaaf0aae, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x12b212b0, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xab50ab4, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xab70ab6, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x22bc22b8, 0xac10ac0, 0xac30ac2, 0xac50ac4, 0x22ca22c6, 0xacf0ace, 0xad10ad0, 0xad30ad2, 0x12d612d4, 0xffffffff, 0xffffffff, 0xffffffff, 0x12da12d8, 0xffffffff, 0xffffffff, 0xffffffff, 0x22e022dc, 0xae50ae4, 0xae70ae6, 0xae90ae8, 0x22ee22ea, 0xaf30af2, 0xaf50af4, 0xaf70af6, 0x1afb1af8, 0xffffffff, 0xffffffff, 0xffffffff, 0x1b011afe, 0xffffffff, 0xffffffff, 0xffffffff, 0x13061304, 0xffffffff, 0xffffffff, 0xffffffff, 0x130a1308, 0xffffffff, 0xffffffff, 0xffffffff, 0x1b0f1b0c, 0xffffffff, 0xffffffff, 0xffffffff, 0x1b12ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x23192315, 0xb1e0b1d, 0xb200b1f, 0xb220b21, 0x23272323, 0xb2c0b2b, 0xb2e0b2d, 0xb300b2f, 0xffff0b31, 0xffffffff, 0xffff0b32, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b33, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b34, 0xffffffff, 0xffffffff, 0xffffffff, 0x1b35ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b38, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b39, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff1b3a, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b3d, 0xffff0b3e, 0xffff0b3f, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b40, 0xffff0b41, 0xffff0b42, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb43ffff, 0xffffffff, 0xffffffff, 0xffff0b44, 0xb45ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb46ffff, 0xb47ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b48, 0xffffffff, 0xffffffff, 0xb49ffff, 0xb4affff, 0xffffffff, 0xffff0b4b, 0xffffffff, 0xb4cffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb4dffff, 0xffffffff, 0xb4f0b4e, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb510b50, 0xffffffff, 0xb530b52, 0xffffffff, 0xb550b54, 0xb570b56, 0xffffffff, 0xffffffff, 0xb590b58, 0xffffffff, 0xb5b0b5a, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb5cffff, 0xffff0b5d, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b5e, 0xffffffff, 0xffffffff, 0xb600b5f, 0xb61ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb630b62, 0xb650b64, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b66, 0xffffffff, 0xb67ffff, 0xb68ffff, 0xb69ffff, 0xb6affff, 0xb6bffff, 0xb6cffff, 0xb6dffff, 0xb6effff, 0xb6fffff, 0xb70ffff, 0xb71ffff, 0xb72ffff, 0xffffffff, 0xffff0b73, 0xffff0b74, 0xffff0b75, 0xffffffff, 0xffffffff, 0x1376ffff, 0xffffffff, 0xffff1378, 0x137affff, 0xffffffff, 0xffff137c, 0x137effff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb80ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffff0b81, 0xffffffff, 0xb82ffff, 0xb83ffff, 0xb84ffff, 0xb85ffff, 0xb86ffff, 0xb87ffff, 0xb88ffff, 0xb89ffff, 0xb8affff, 0xb8bffff, 0xb8cffff, 0xb8dffff, 0xffffffff, 0xffff0b8e, 0xffff0b8f, 0xffff0b90, 0xffffffff, 0xffffffff, 0x1391ffff, 0xffffffff, 0xffff1393, 0x1395ffff, 0xffffffff, 0xffff1397, 0x1399ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb9bffff, 0xb9d0b9c, 0xffff0b9e, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xb9fffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xba0ffff, 0xba1ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xba2ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xba3ffff, 0xffff0ba4, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x13a5ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x1ba7ffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xbab0baa, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff]); @property immutable(CompEntry[]) compositionTable() nothrow pure @nogc @safe { alias CE = CompEntry; static immutable CE[] t = [ CE(0x00338, 0x0226e), CE(0x00338, 0x02260), CE(0x00338, 0x0226f), CE(0x00300, 0x000c0), CE(0x00301, 0x000c1), CE(0x00302, 0x000c2), CE(0x00303, 0x000c3), CE(0x00304, 0x00100), CE(0x00306, 0x00102), CE(0x00307, 0x00226), CE(0x00308, 0x000c4), CE(0x00309, 0x01ea2), CE(0x0030a, 0x000c5), CE(0x0030c, 0x001cd), CE(0x0030f, 0x00200), CE(0x00311, 0x00202), CE(0x00323, 0x01ea0), CE(0x00325, 0x01e00), CE(0x00328, 0x00104), CE(0x00307, 0x01e02), CE(0x00323, 0x01e04), CE(0x00331, 0x01e06), CE(0x00301, 0x00106), CE(0x00302, 0x00108), CE(0x00307, 0x0010a), CE(0x0030c, 0x0010c), CE(0x00327, 0x000c7), CE(0x00307, 0x01e0a), CE(0x0030c, 0x0010e), CE(0x00323, 0x01e0c), CE(0x00327, 0x01e10), CE(0x0032d, 0x01e12), CE(0x00331, 0x01e0e), CE(0x00300, 0x000c8), CE(0x00301, 0x000c9), CE(0x00302, 0x000ca), CE(0x00303, 0x01ebc), CE(0x00304, 0x00112), CE(0x00306, 0x00114), CE(0x00307, 0x00116), CE(0x00308, 0x000cb), CE(0x00309, 0x01eba), CE(0x0030c, 0x0011a), CE(0x0030f, 0x00204), CE(0x00311, 0x00206), CE(0x00323, 0x01eb8), CE(0x00327, 0x00228), CE(0x00328, 0x00118), CE(0x0032d, 0x01e18), CE(0x00330, 0x01e1a), CE(0x00307, 0x01e1e), CE(0x00301, 0x001f4), CE(0x00302, 0x0011c), CE(0x00304, 0x01e20), CE(0x00306, 0x0011e), CE(0x00307, 0x00120), CE(0x0030c, 0x001e6), CE(0x00327, 0x00122), CE(0x00302, 0x00124), CE(0x00307, 0x01e22), CE(0x00308, 0x01e26), CE(0x0030c, 0x0021e), CE(0x00323, 0x01e24), CE(0x00327, 0x01e28), CE(0x0032e, 0x01e2a), CE(0x00300, 0x000cc), CE(0x00301, 0x000cd), CE(0x00302, 0x000ce), CE(0x00303, 0x00128), CE(0x00304, 0x0012a), CE(0x00306, 0x0012c), CE(0x00307, 0x00130), CE(0x00308, 0x000cf), CE(0x00309, 0x01ec8), CE(0x0030c, 0x001cf), CE(0x0030f, 0x00208), CE(0x00311, 0x0020a), CE(0x00323, 0x01eca), CE(0x00328, 0x0012e), CE(0x00330, 0x01e2c), CE(0x00302, 0x00134), CE(0x00301, 0x01e30), CE(0x0030c, 0x001e8), CE(0x00323, 0x01e32), CE(0x00327, 0x00136), CE(0x00331, 0x01e34), CE(0x00301, 0x00139), CE(0x0030c, 0x0013d), CE(0x00323, 0x01e36), CE(0x00327, 0x0013b), CE(0x0032d, 0x01e3c), CE(0x00331, 0x01e3a), CE(0x00301, 0x01e3e), CE(0x00307, 0x01e40), CE(0x00323, 0x01e42), CE(0x00300, 0x001f8), CE(0x00301, 0x00143), CE(0x00303, 0x000d1), CE(0x00307, 0x01e44), CE(0x0030c, 0x00147), CE(0x00323, 0x01e46), CE(0x00327, 0x00145), CE(0x0032d, 0x01e4a), CE(0x00331, 0x01e48), CE(0x00300, 0x000d2), CE(0x00301, 0x000d3), CE(0x00302, 0x000d4), CE(0x00303, 0x000d5), CE(0x00304, 0x0014c), CE(0x00306, 0x0014e), CE(0x00307, 0x0022e), CE(0x00308, 0x000d6), CE(0x00309, 0x01ece), CE(0x0030b, 0x00150), CE(0x0030c, 0x001d1), CE(0x0030f, 0x0020c), CE(0x00311, 0x0020e), CE(0x0031b, 0x001a0), CE(0x00323, 0x01ecc), CE(0x00328, 0x001ea), CE(0x00301, 0x01e54), CE(0x00307, 0x01e56), CE(0x00301, 0x00154), CE(0x00307, 0x01e58), CE(0x0030c, 0x00158), CE(0x0030f, 0x00210), CE(0x00311, 0x00212), CE(0x00323, 0x01e5a), CE(0x00327, 0x00156), CE(0x00331, 0x01e5e), CE(0x00301, 0x0015a), CE(0x00302, 0x0015c), CE(0x00307, 0x01e60), CE(0x0030c, 0x00160), CE(0x00323, 0x01e62), CE(0x00326, 0x00218), CE(0x00327, 0x0015e), CE(0x00307, 0x01e6a), CE(0x0030c, 0x00164), CE(0x00323, 0x01e6c), CE(0x00326, 0x0021a), CE(0x00327, 0x00162), CE(0x0032d, 0x01e70), CE(0x00331, 0x01e6e), CE(0x00300, 0x000d9), CE(0x00301, 0x000da), CE(0x00302, 0x000db), CE(0x00303, 0x00168), CE(0x00304, 0x0016a), CE(0x00306, 0x0016c), CE(0x00308, 0x000dc), CE(0x00309, 0x01ee6), CE(0x0030a, 0x0016e), CE(0x0030b, 0x00170), CE(0x0030c, 0x001d3), CE(0x0030f, 0x00214), CE(0x00311, 0x00216), CE(0x0031b, 0x001af), CE(0x00323, 0x01ee4), CE(0x00324, 0x01e72), CE(0x00328, 0x00172), CE(0x0032d, 0x01e76), CE(0x00330, 0x01e74), CE(0x00303, 0x01e7c), CE(0x00323, 0x01e7e), CE(0x00300, 0x01e80), CE(0x00301, 0x01e82), CE(0x00302, 0x00174), CE(0x00307, 0x01e86), CE(0x00308, 0x01e84), CE(0x00323, 0x01e88), CE(0x00307, 0x01e8a), CE(0x00308, 0x01e8c), CE(0x00300, 0x01ef2), CE(0x00301, 0x000dd), CE(0x00302, 0x00176), CE(0x00303, 0x01ef8), CE(0x00304, 0x00232), CE(0x00307, 0x01e8e), CE(0x00308, 0x00178), CE(0x00309, 0x01ef6), CE(0x00323, 0x01ef4), CE(0x00301, 0x00179), CE(0x00302, 0x01e90), CE(0x00307, 0x0017b), CE(0x0030c, 0x0017d), CE(0x00323, 0x01e92), CE(0x00331, 0x01e94), CE(0x00300, 0x000e0), CE(0x00301, 0x000e1), CE(0x00302, 0x000e2), CE(0x00303, 0x000e3), CE(0x00304, 0x00101), CE(0x00306, 0x00103), CE(0x00307, 0x00227), CE(0x00308, 0x000e4), CE(0x00309, 0x01ea3), CE(0x0030a, 0x000e5), CE(0x0030c, 0x001ce), CE(0x0030f, 0x00201), CE(0x00311, 0x00203), CE(0x00323, 0x01ea1), CE(0x00325, 0x01e01), CE(0x00328, 0x00105), CE(0x00307, 0x01e03), CE(0x00323, 0x01e05), CE(0x00331, 0x01e07), CE(0x00301, 0x00107), CE(0x00302, 0x00109), CE(0x00307, 0x0010b), CE(0x0030c, 0x0010d), CE(0x00327, 0x000e7), CE(0x00307, 0x01e0b), CE(0x0030c, 0x0010f), CE(0x00323, 0x01e0d), CE(0x00327, 0x01e11), CE(0x0032d, 0x01e13), CE(0x00331, 0x01e0f), CE(0x00300, 0x000e8), CE(0x00301, 0x000e9), CE(0x00302, 0x000ea), CE(0x00303, 0x01ebd), CE(0x00304, 0x00113), CE(0x00306, 0x00115), CE(0x00307, 0x00117), CE(0x00308, 0x000eb), CE(0x00309, 0x01ebb), CE(0x0030c, 0x0011b), CE(0x0030f, 0x00205), CE(0x00311, 0x00207), CE(0x00323, 0x01eb9), CE(0x00327, 0x00229), CE(0x00328, 0x00119), CE(0x0032d, 0x01e19), CE(0x00330, 0x01e1b), CE(0x00307, 0x01e1f), CE(0x00301, 0x001f5), CE(0x00302, 0x0011d), CE(0x00304, 0x01e21), CE(0x00306, 0x0011f), CE(0x00307, 0x00121), CE(0x0030c, 0x001e7), CE(0x00327, 0x00123), CE(0x00302, 0x00125), CE(0x00307, 0x01e23), CE(0x00308, 0x01e27), CE(0x0030c, 0x0021f), CE(0x00323, 0x01e25), CE(0x00327, 0x01e29), CE(0x0032e, 0x01e2b), CE(0x00331, 0x01e96), CE(0x00300, 0x000ec), CE(0x00301, 0x000ed), CE(0x00302, 0x000ee), CE(0x00303, 0x00129), CE(0x00304, 0x0012b), CE(0x00306, 0x0012d), CE(0x00308, 0x000ef), CE(0x00309, 0x01ec9), CE(0x0030c, 0x001d0), CE(0x0030f, 0x00209), CE(0x00311, 0x0020b), CE(0x00323, 0x01ecb), CE(0x00328, 0x0012f), CE(0x00330, 0x01e2d), CE(0x00302, 0x00135), CE(0x0030c, 0x001f0), CE(0x00301, 0x01e31), CE(0x0030c, 0x001e9), CE(0x00323, 0x01e33), CE(0x00327, 0x00137), CE(0x00331, 0x01e35), CE(0x00301, 0x0013a), CE(0x0030c, 0x0013e), CE(0x00323, 0x01e37), CE(0x00327, 0x0013c), CE(0x0032d, 0x01e3d), CE(0x00331, 0x01e3b), CE(0x00301, 0x01e3f), CE(0x00307, 0x01e41), CE(0x00323, 0x01e43), CE(0x00300, 0x001f9), CE(0x00301, 0x00144), CE(0x00303, 0x000f1), CE(0x00307, 0x01e45), CE(0x0030c, 0x00148), CE(0x00323, 0x01e47), CE(0x00327, 0x00146), CE(0x0032d, 0x01e4b), CE(0x00331, 0x01e49), CE(0x00300, 0x000f2), CE(0x00301, 0x000f3), CE(0x00302, 0x000f4), CE(0x00303, 0x000f5), CE(0x00304, 0x0014d), CE(0x00306, 0x0014f), CE(0x00307, 0x0022f), CE(0x00308, 0x000f6), CE(0x00309, 0x01ecf), CE(0x0030b, 0x00151), CE(0x0030c, 0x001d2), CE(0x0030f, 0x0020d), CE(0x00311, 0x0020f), CE(0x0031b, 0x001a1), CE(0x00323, 0x01ecd), CE(0x00328, 0x001eb), CE(0x00301, 0x01e55), CE(0x00307, 0x01e57), CE(0x00301, 0x00155), CE(0x00307, 0x01e59), CE(0x0030c, 0x00159), CE(0x0030f, 0x00211), CE(0x00311, 0x00213), CE(0x00323, 0x01e5b), CE(0x00327, 0x00157), CE(0x00331, 0x01e5f), CE(0x00301, 0x0015b), CE(0x00302, 0x0015d), CE(0x00307, 0x01e61), CE(0x0030c, 0x00161), CE(0x00323, 0x01e63), CE(0x00326, 0x00219), CE(0x00327, 0x0015f), CE(0x00307, 0x01e6b), CE(0x00308, 0x01e97), CE(0x0030c, 0x00165), CE(0x00323, 0x01e6d), CE(0x00326, 0x0021b), CE(0x00327, 0x00163), CE(0x0032d, 0x01e71), CE(0x00331, 0x01e6f), CE(0x00300, 0x000f9), CE(0x00301, 0x000fa), CE(0x00302, 0x000fb), CE(0x00303, 0x00169), CE(0x00304, 0x0016b), CE(0x00306, 0x0016d), CE(0x00308, 0x000fc), CE(0x00309, 0x01ee7), CE(0x0030a, 0x0016f), CE(0x0030b, 0x00171), CE(0x0030c, 0x001d4), CE(0x0030f, 0x00215), CE(0x00311, 0x00217), CE(0x0031b, 0x001b0), CE(0x00323, 0x01ee5), CE(0x00324, 0x01e73), CE(0x00328, 0x00173), CE(0x0032d, 0x01e77), CE(0x00330, 0x01e75), CE(0x00303, 0x01e7d), CE(0x00323, 0x01e7f), CE(0x00300, 0x01e81), CE(0x00301, 0x01e83), CE(0x00302, 0x00175), CE(0x00307, 0x01e87), CE(0x00308, 0x01e85), CE(0x0030a, 0x01e98), CE(0x00323, 0x01e89), CE(0x00307, 0x01e8b), CE(0x00308, 0x01e8d), CE(0x00300, 0x01ef3), CE(0x00301, 0x000fd), CE(0x00302, 0x00177), CE(0x00303, 0x01ef9), CE(0x00304, 0x00233), CE(0x00307, 0x01e8f), CE(0x00308, 0x000ff), CE(0x00309, 0x01ef7), CE(0x0030a, 0x01e99), CE(0x00323, 0x01ef5), CE(0x00301, 0x0017a), CE(0x00302, 0x01e91), CE(0x00307, 0x0017c), CE(0x0030c, 0x0017e), CE(0x00323, 0x01e93), CE(0x00331, 0x01e95), CE(0x00300, 0x01fed), CE(0x00301, 0x00385), CE(0x00342, 0x01fc1), CE(0x00300, 0x01ea6), CE(0x00301, 0x01ea4), CE(0x00303, 0x01eaa), CE(0x00309, 0x01ea8), CE(0x00304, 0x001de), CE(0x00301, 0x001fa), CE(0x00301, 0x001fc), CE(0x00304, 0x001e2), CE(0x00301, 0x01e08), CE(0x00300, 0x01ec0), CE(0x00301, 0x01ebe), CE(0x00303, 0x01ec4), CE(0x00309, 0x01ec2), CE(0x00301, 0x01e2e), CE(0x00300, 0x01ed2), CE(0x00301, 0x01ed0), CE(0x00303, 0x01ed6), CE(0x00309, 0x01ed4), CE(0x00301, 0x01e4c), CE(0x00304, 0x0022c), CE(0x00308, 0x01e4e), CE(0x00304, 0x0022a), CE(0x00301, 0x001fe), CE(0x00300, 0x001db), CE(0x00301, 0x001d7), CE(0x00304, 0x001d5), CE(0x0030c, 0x001d9), CE(0x00300, 0x01ea7), CE(0x00301, 0x01ea5), CE(0x00303, 0x01eab), CE(0x00309, 0x01ea9), CE(0x00304, 0x001df), CE(0x00301, 0x001fb), CE(0x00301, 0x001fd), CE(0x00304, 0x001e3), CE(0x00301, 0x01e09), CE(0x00300, 0x01ec1), CE(0x00301, 0x01ebf), CE(0x00303, 0x01ec5), CE(0x00309, 0x01ec3), CE(0x00301, 0x01e2f), CE(0x00300, 0x01ed3), CE(0x00301, 0x01ed1), CE(0x00303, 0x01ed7), CE(0x00309, 0x01ed5), CE(0x00301, 0x01e4d), CE(0x00304, 0x0022d), CE(0x00308, 0x01e4f), CE(0x00304, 0x0022b), CE(0x00301, 0x001ff), CE(0x00300, 0x001dc), CE(0x00301, 0x001d8), CE(0x00304, 0x001d6), CE(0x0030c, 0x001da), CE(0x00300, 0x01eb0), CE(0x00301, 0x01eae), CE(0x00303, 0x01eb4), CE(0x00309, 0x01eb2), CE(0x00300, 0x01eb1), CE(0x00301, 0x01eaf), CE(0x00303, 0x01eb5), CE(0x00309, 0x01eb3), CE(0x00300, 0x01e14), CE(0x00301, 0x01e16), CE(0x00300, 0x01e15), CE(0x00301, 0x01e17), CE(0x00300, 0x01e50), CE(0x00301, 0x01e52), CE(0x00300, 0x01e51), CE(0x00301, 0x01e53), CE(0x00307, 0x01e64), CE(0x00307, 0x01e65), CE(0x00307, 0x01e66), CE(0x00307, 0x01e67), CE(0x00301, 0x01e78), CE(0x00301, 0x01e79), CE(0x00308, 0x01e7a), CE(0x00308, 0x01e7b), CE(0x00307, 0x01e9b), CE(0x00300, 0x01edc), CE(0x00301, 0x01eda), CE(0x00303, 0x01ee0), CE(0x00309, 0x01ede), CE(0x00323, 0x01ee2), CE(0x00300, 0x01edd), CE(0x00301, 0x01edb), CE(0x00303, 0x01ee1), CE(0x00309, 0x01edf), CE(0x00323, 0x01ee3), CE(0x00300, 0x01eea), CE(0x00301, 0x01ee8), CE(0x00303, 0x01eee), CE(0x00309, 0x01eec), CE(0x00323, 0x01ef0), CE(0x00300, 0x01eeb), CE(0x00301, 0x01ee9), CE(0x00303, 0x01eef), CE(0x00309, 0x01eed), CE(0x00323, 0x01ef1), CE(0x0030c, 0x001ee), CE(0x00304, 0x001ec), CE(0x00304, 0x001ed), CE(0x00304, 0x001e0), CE(0x00304, 0x001e1), CE(0x00306, 0x01e1c), CE(0x00306, 0x01e1d), CE(0x00304, 0x00230), CE(0x00304, 0x00231), CE(0x0030c, 0x001ef), CE(0x00300, 0x01fba), CE(0x00301, 0x00386), CE(0x00304, 0x01fb9), CE(0x00306, 0x01fb8), CE(0x00313, 0x01f08), CE(0x00314, 0x01f09), CE(0x00345, 0x01fbc), CE(0x00300, 0x01fc8), CE(0x00301, 0x00388), CE(0x00313, 0x01f18), CE(0x00314, 0x01f19), CE(0x00300, 0x01fca), CE(0x00301, 0x00389), CE(0x00313, 0x01f28), CE(0x00314, 0x01f29), CE(0x00345, 0x01fcc), CE(0x00300, 0x01fda), CE(0x00301, 0x0038a), CE(0x00304, 0x01fd9), CE(0x00306, 0x01fd8), CE(0x00308, 0x003aa), CE(0x00313, 0x01f38), CE(0x00314, 0x01f39), CE(0x00300, 0x01ff8), CE(0x00301, 0x0038c), CE(0x00313, 0x01f48), CE(0x00314, 0x01f49), CE(0x00314, 0x01fec), CE(0x00300, 0x01fea), CE(0x00301, 0x0038e), CE(0x00304, 0x01fe9), CE(0x00306, 0x01fe8), CE(0x00308, 0x003ab), CE(0x00314, 0x01f59), CE(0x00300, 0x01ffa), CE(0x00301, 0x0038f), CE(0x00313, 0x01f68), CE(0x00314, 0x01f69), CE(0x00345, 0x01ffc), CE(0x00345, 0x01fb4), CE(0x00345, 0x01fc4), CE(0x00300, 0x01f70), CE(0x00301, 0x003ac), CE(0x00304, 0x01fb1), CE(0x00306, 0x01fb0), CE(0x00313, 0x01f00), CE(0x00314, 0x01f01), CE(0x00342, 0x01fb6), CE(0x00345, 0x01fb3), CE(0x00300, 0x01f72), CE(0x00301, 0x003ad), CE(0x00313, 0x01f10), CE(0x00314, 0x01f11), CE(0x00300, 0x01f74), CE(0x00301, 0x003ae), CE(0x00313, 0x01f20), CE(0x00314, 0x01f21), CE(0x00342, 0x01fc6), CE(0x00345, 0x01fc3), CE(0x00300, 0x01f76), CE(0x00301, 0x003af), CE(0x00304, 0x01fd1), CE(0x00306, 0x01fd0), CE(0x00308, 0x003ca), CE(0x00313, 0x01f30), CE(0x00314, 0x01f31), CE(0x00342, 0x01fd6), CE(0x00300, 0x01f78), CE(0x00301, 0x003cc), CE(0x00313, 0x01f40), CE(0x00314, 0x01f41), CE(0x00313, 0x01fe4), CE(0x00314, 0x01fe5), CE(0x00300, 0x01f7a), CE(0x00301, 0x003cd), CE(0x00304, 0x01fe1), CE(0x00306, 0x01fe0), CE(0x00308, 0x003cb), CE(0x00313, 0x01f50), CE(0x00314, 0x01f51), CE(0x00342, 0x01fe6), CE(0x00300, 0x01f7c), CE(0x00301, 0x003ce), CE(0x00313, 0x01f60), CE(0x00314, 0x01f61), CE(0x00342, 0x01ff6), CE(0x00345, 0x01ff3), CE(0x00300, 0x01fd2), CE(0x00301, 0x00390), CE(0x00342, 0x01fd7), CE(0x00300, 0x01fe2), CE(0x00301, 0x003b0), CE(0x00342, 0x01fe7), CE(0x00345, 0x01ff4), CE(0x00301, 0x003d3), CE(0x00308, 0x003d4), CE(0x00308, 0x00407), CE(0x00306, 0x004d0), CE(0x00308, 0x004d2), CE(0x00301, 0x00403), CE(0x00300, 0x00400), CE(0x00306, 0x004d6), CE(0x00308, 0x00401), CE(0x00306, 0x004c1), CE(0x00308, 0x004dc), CE(0x00308, 0x004de), CE(0x00300, 0x0040d), CE(0x00304, 0x004e2), CE(0x00306, 0x00419), CE(0x00308, 0x004e4), CE(0x00301, 0x0040c), CE(0x00308, 0x004e6), CE(0x00304, 0x004ee), CE(0x00306, 0x0040e), CE(0x00308, 0x004f0), CE(0x0030b, 0x004f2), CE(0x00308, 0x004f4), CE(0x00308, 0x004f8), CE(0x00308, 0x004ec), CE(0x00306, 0x004d1), CE(0x00308, 0x004d3), CE(0x00301, 0x00453), CE(0x00300, 0x00450), CE(0x00306, 0x004d7), CE(0x00308, 0x00451), CE(0x00306, 0x004c2), CE(0x00308, 0x004dd), CE(0x00308, 0x004df), CE(0x00300, 0x0045d), CE(0x00304, 0x004e3), CE(0x00306, 0x00439), CE(0x00308, 0x004e5), CE(0x00301, 0x0045c), CE(0x00308, 0x004e7), CE(0x00304, 0x004ef), CE(0x00306, 0x0045e), CE(0x00308, 0x004f1), CE(0x0030b, 0x004f3), CE(0x00308, 0x004f5), CE(0x00308, 0x004f9), CE(0x00308, 0x004ed), CE(0x00308, 0x00457), CE(0x0030f, 0x00476), CE(0x0030f, 0x00477), CE(0x00308, 0x004da), CE(0x00308, 0x004db), CE(0x00308, 0x004ea), CE(0x00308, 0x004eb), CE(0x00653, 0x00622), CE(0x00654, 0x00623), CE(0x00655, 0x00625), CE(0x00654, 0x00624), CE(0x00654, 0x00626), CE(0x00654, 0x006c2), CE(0x00654, 0x006d3), CE(0x00654, 0x006c0), CE(0x0093c, 0x00929), CE(0x0093c, 0x00931), CE(0x0093c, 0x00934), CE(0x009be, 0x009cb), CE(0x009d7, 0x009cc), CE(0x00b3e, 0x00b4b), CE(0x00b56, 0x00b48), CE(0x00b57, 0x00b4c), CE(0x00bd7, 0x00b94), CE(0x00bbe, 0x00bca), CE(0x00bd7, 0x00bcc), CE(0x00bbe, 0x00bcb), CE(0x00c56, 0x00c48), CE(0x00cd5, 0x00cc0), CE(0x00cc2, 0x00cca), CE(0x00cd5, 0x00cc7), CE(0x00cd6, 0x00cc8), CE(0x00cd5, 0x00ccb), CE(0x00d3e, 0x00d4a), CE(0x00d57, 0x00d4c), CE(0x00d3e, 0x00d4b), CE(0x00dca, 0x00dda), CE(0x00dcf, 0x00ddc), CE(0x00ddf, 0x00dde), CE(0x00dca, 0x00ddd), CE(0x0102e, 0x01026), CE(0x01b35, 0x01b06), CE(0x01b35, 0x01b08), CE(0x01b35, 0x01b0a), CE(0x01b35, 0x01b0c), CE(0x01b35, 0x01b0e), CE(0x01b35, 0x01b12), CE(0x01b35, 0x01b3b), CE(0x01b35, 0x01b3d), CE(0x01b35, 0x01b40), CE(0x01b35, 0x01b41), CE(0x01b35, 0x01b43), CE(0x00304, 0x01e38), CE(0x00304, 0x01e39), CE(0x00304, 0x01e5c), CE(0x00304, 0x01e5d), CE(0x00307, 0x01e68), CE(0x00307, 0x01e69), CE(0x00302, 0x01eac), CE(0x00306, 0x01eb6), CE(0x00302, 0x01ead), CE(0x00306, 0x01eb7), CE(0x00302, 0x01ec6), CE(0x00302, 0x01ec7), CE(0x00302, 0x01ed8), CE(0x00302, 0x01ed9), CE(0x00300, 0x01f02), CE(0x00301, 0x01f04), CE(0x00342, 0x01f06), CE(0x00345, 0x01f80), CE(0x00300, 0x01f03), CE(0x00301, 0x01f05), CE(0x00342, 0x01f07), CE(0x00345, 0x01f81), CE(0x00345, 0x01f82), CE(0x00345, 0x01f83), CE(0x00345, 0x01f84), CE(0x00345, 0x01f85), CE(0x00345, 0x01f86), CE(0x00345, 0x01f87), CE(0x00300, 0x01f0a), CE(0x00301, 0x01f0c), CE(0x00342, 0x01f0e), CE(0x00345, 0x01f88), CE(0x00300, 0x01f0b), CE(0x00301, 0x01f0d), CE(0x00342, 0x01f0f), CE(0x00345, 0x01f89), CE(0x00345, 0x01f8a), CE(0x00345, 0x01f8b), CE(0x00345, 0x01f8c), CE(0x00345, 0x01f8d), CE(0x00345, 0x01f8e), CE(0x00345, 0x01f8f), CE(0x00300, 0x01f12), CE(0x00301, 0x01f14), CE(0x00300, 0x01f13), CE(0x00301, 0x01f15), CE(0x00300, 0x01f1a), CE(0x00301, 0x01f1c), CE(0x00300, 0x01f1b), CE(0x00301, 0x01f1d), CE(0x00300, 0x01f22), CE(0x00301, 0x01f24), CE(0x00342, 0x01f26), CE(0x00345, 0x01f90), CE(0x00300, 0x01f23), CE(0x00301, 0x01f25), CE(0x00342, 0x01f27), CE(0x00345, 0x01f91), CE(0x00345, 0x01f92), CE(0x00345, 0x01f93), CE(0x00345, 0x01f94), CE(0x00345, 0x01f95), CE(0x00345, 0x01f96), CE(0x00345, 0x01f97), CE(0x00300, 0x01f2a), CE(0x00301, 0x01f2c), CE(0x00342, 0x01f2e), CE(0x00345, 0x01f98), CE(0x00300, 0x01f2b), CE(0x00301, 0x01f2d), CE(0x00342, 0x01f2f), CE(0x00345, 0x01f99), CE(0x00345, 0x01f9a), CE(0x00345, 0x01f9b), CE(0x00345, 0x01f9c), CE(0x00345, 0x01f9d), CE(0x00345, 0x01f9e), CE(0x00345, 0x01f9f), CE(0x00300, 0x01f32), CE(0x00301, 0x01f34), CE(0x00342, 0x01f36), CE(0x00300, 0x01f33), CE(0x00301, 0x01f35), CE(0x00342, 0x01f37), CE(0x00300, 0x01f3a), CE(0x00301, 0x01f3c), CE(0x00342, 0x01f3e), CE(0x00300, 0x01f3b), CE(0x00301, 0x01f3d), CE(0x00342, 0x01f3f), CE(0x00300, 0x01f42), CE(0x00301, 0x01f44), CE(0x00300, 0x01f43), CE(0x00301, 0x01f45), CE(0x00300, 0x01f4a), CE(0x00301, 0x01f4c), CE(0x00300, 0x01f4b), CE(0x00301, 0x01f4d), CE(0x00300, 0x01f52), CE(0x00301, 0x01f54), CE(0x00342, 0x01f56), CE(0x00300, 0x01f53), CE(0x00301, 0x01f55), CE(0x00342, 0x01f57), CE(0x00300, 0x01f5b), CE(0x00301, 0x01f5d), CE(0x00342, 0x01f5f), CE(0x00300, 0x01f62), CE(0x00301, 0x01f64), CE(0x00342, 0x01f66), CE(0x00345, 0x01fa0), CE(0x00300, 0x01f63), CE(0x00301, 0x01f65), CE(0x00342, 0x01f67), CE(0x00345, 0x01fa1), CE(0x00345, 0x01fa2), CE(0x00345, 0x01fa3), CE(0x00345, 0x01fa4), CE(0x00345, 0x01fa5), CE(0x00345, 0x01fa6), CE(0x00345, 0x01fa7), CE(0x00300, 0x01f6a), CE(0x00301, 0x01f6c), CE(0x00342, 0x01f6e), CE(0x00345, 0x01fa8), CE(0x00300, 0x01f6b), CE(0x00301, 0x01f6d), CE(0x00342, 0x01f6f), CE(0x00345, 0x01fa9), CE(0x00345, 0x01faa), CE(0x00345, 0x01fab), CE(0x00345, 0x01fac), CE(0x00345, 0x01fad), CE(0x00345, 0x01fae), CE(0x00345, 0x01faf), CE(0x00345, 0x01fb2), CE(0x00345, 0x01fc2), CE(0x00345, 0x01ff2), CE(0x00345, 0x01fb7), CE(0x00300, 0x01fcd), CE(0x00301, 0x01fce), CE(0x00342, 0x01fcf), CE(0x00345, 0x01fc7), CE(0x00345, 0x01ff7), CE(0x00300, 0x01fdd), CE(0x00301, 0x01fde), CE(0x00342, 0x01fdf), CE(0x00338, 0x0219a), CE(0x00338, 0x0219b), CE(0x00338, 0x021ae), CE(0x00338, 0x021cd), CE(0x00338, 0x021cf), CE(0x00338, 0x021ce), CE(0x00338, 0x02204), CE(0x00338, 0x02209), CE(0x00338, 0x0220c), CE(0x00338, 0x02224), CE(0x00338, 0x02226), CE(0x00338, 0x02241), CE(0x00338, 0x02244), CE(0x00338, 0x02247), CE(0x00338, 0x02249), CE(0x00338, 0x0226d), CE(0x00338, 0x02262), CE(0x00338, 0x02270), CE(0x00338, 0x02271), CE(0x00338, 0x02274), CE(0x00338, 0x02275), CE(0x00338, 0x02278), CE(0x00338, 0x02279), CE(0x00338, 0x02280), CE(0x00338, 0x02281), CE(0x00338, 0x022e0), CE(0x00338, 0x022e1), CE(0x00338, 0x02284), CE(0x00338, 0x02285), CE(0x00338, 0x02288), CE(0x00338, 0x02289), CE(0x00338, 0x022e2), CE(0x00338, 0x022e3), CE(0x00338, 0x022ac), CE(0x00338, 0x022ad), CE(0x00338, 0x022ae), CE(0x00338, 0x022af), CE(0x00338, 0x022ea), CE(0x00338, 0x022eb), CE(0x00338, 0x022ec), CE(0x00338, 0x022ed), CE(0x03099, 0x03094), CE(0x03099, 0x0304c), CE(0x03099, 0x0304e), CE(0x03099, 0x03050), CE(0x03099, 0x03052), CE(0x03099, 0x03054), CE(0x03099, 0x03056), CE(0x03099, 0x03058), CE(0x03099, 0x0305a), CE(0x03099, 0x0305c), CE(0x03099, 0x0305e), CE(0x03099, 0x03060), CE(0x03099, 0x03062), CE(0x03099, 0x03065), CE(0x03099, 0x03067), CE(0x03099, 0x03069), CE(0x03099, 0x03070), CE(0x0309a, 0x03071), CE(0x03099, 0x03073), CE(0x0309a, 0x03074), CE(0x03099, 0x03076), CE(0x0309a, 0x03077), CE(0x03099, 0x03079), CE(0x0309a, 0x0307a), CE(0x03099, 0x0307c), CE(0x0309a, 0x0307d), CE(0x03099, 0x0309e), CE(0x03099, 0x030f4), CE(0x03099, 0x030ac), CE(0x03099, 0x030ae), CE(0x03099, 0x030b0), CE(0x03099, 0x030b2), CE(0x03099, 0x030b4), CE(0x03099, 0x030b6), CE(0x03099, 0x030b8), CE(0x03099, 0x030ba), CE(0x03099, 0x030bc), CE(0x03099, 0x030be), CE(0x03099, 0x030c0), CE(0x03099, 0x030c2), CE(0x03099, 0x030c5), CE(0x03099, 0x030c7), CE(0x03099, 0x030c9), CE(0x03099, 0x030d0), CE(0x0309a, 0x030d1), CE(0x03099, 0x030d3), CE(0x0309a, 0x030d4), CE(0x03099, 0x030d6), CE(0x0309a, 0x030d7), CE(0x03099, 0x030d9), CE(0x0309a, 0x030da), CE(0x03099, 0x030dc), CE(0x0309a, 0x030dd), CE(0x03099, 0x030f7), CE(0x03099, 0x030f8), CE(0x03099, 0x030f9), CE(0x03099, 0x030fa), CE(0x03099, 0x030fe), CE(0x110ba, 0x1109a), CE(0x110ba, 0x1109c), CE(0x110ba, 0x110ab), CE(0x11127, 0x1112e), CE(0x11127, 0x1112f), CE(0x1133e, 0x1134b), CE(0x11357, 0x1134c), CE(0x114b0, 0x114bc), CE(0x114ba, 0x114bb), CE(0x114bd, 0x114be), CE(0x115af, 0x115ba), CE(0x115af, 0x115bb), ]; return t; } }
D
/** DMD compiler support. Copyright: © 2013-2013 rejectedsoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module dub.compilers.dmd; import dub.compilers.compiler; import dub.internal.utils; import dub.internal.vibecompat.core.log; import dub.internal.vibecompat.inet.path; import dub.platform; import std.algorithm; import std.array; import std.conv; import std.exception; import std.file; import std.process; import std.random; import std.typecons; class DmdCompiler : Compiler { private static immutable s_options = [ tuple(BuildOptions.debugMode, ["-debug"]), tuple(BuildOptions.releaseMode, ["-release"]), tuple(BuildOptions.coverage, ["-cov"]), tuple(BuildOptions.debugInfo, ["-g"]), tuple(BuildOptions.debugInfoC, ["-gc"]), tuple(BuildOptions.alwaysStackFrame, ["-gs"]), tuple(BuildOptions.stackStomping, ["-gx"]), tuple(BuildOptions.inline, ["-inline"]), tuple(BuildOptions.noBoundsCheck, ["-noboundscheck"]), tuple(BuildOptions.optimize, ["-O"]), tuple(BuildOptions.profile, ["-profile"]), tuple(BuildOptions.unittests, ["-unittest"]), tuple(BuildOptions.verbose, ["-v"]), tuple(BuildOptions.ignoreUnknownPragmas, ["-ignore"]), tuple(BuildOptions.syntaxOnly, ["-o-"]), tuple(BuildOptions.warnings, ["-wi"]), tuple(BuildOptions.warningsAsErrors, ["-w"]), tuple(BuildOptions.ignoreDeprecations, ["-d"]), tuple(BuildOptions.deprecationWarnings, ["-dw"]), tuple(BuildOptions.deprecationErrors, ["-de"]), tuple(BuildOptions.property, ["-property"]), ]; @property string name() const { return "dmd"; } BuildPlatform determinePlatform(ref BuildSettings settings, string compiler_binary, string arch_override) { import std.process; import std.string; auto fil = generatePlatformProbeFile(); string[] arch_flags; switch (arch_override) { default: throw new Exception("Unsupported architecture: "~arch_override); case "": break; case "x86": arch_flags = ["-m32"]; break; case "x86_64": arch_flags = ["-m64"]; break; } settings.addDFlags(arch_flags); auto result = executeShell(escapeShellCommand(compiler_binary ~ arch_flags ~ ["-quiet", "-run", fil.toNativeString()])); enforce(result.status == 0, format("Failed to invoke the compiler %s to determine the build platform: %s", compiler_binary, result.output)); auto build_platform = readPlatformProbe(result.output); build_platform.compilerBinary = compiler_binary; if (build_platform.compiler != this.name) { logWarn(`The determined compiler type "%s" doesn't match the expected type "%s". This will probably result in build errors.`, build_platform.compiler, this.name); } if (arch_override.length && !build_platform.architecture.canFind(arch_override)) { logWarn(`Failed to apply the selected architecture %s. Got %s.`, arch_override, build_platform.architecture); } return build_platform; } void prepareBuildSettings(ref BuildSettings settings, BuildSetting fields = BuildSetting.all) { enforceBuildRequirements(settings); if (!(fields & BuildSetting.options)) { foreach (t; s_options) if (settings.options & t[0]) settings.addDFlags(t[1]); } if (!(fields & BuildSetting.versions)) { settings.addDFlags(settings.versions.map!(s => "-version="~s)().array()); settings.versions = null; } if (!(fields & BuildSetting.debugVersions)) { settings.addDFlags(settings.debugVersions.map!(s => "-debug="~s)().array()); settings.debugVersions = null; } if (!(fields & BuildSetting.importPaths)) { settings.addDFlags(settings.importPaths.map!(s => "-I"~s)().array()); settings.importPaths = null; } if (!(fields & BuildSetting.stringImportPaths)) { settings.addDFlags(settings.stringImportPaths.map!(s => "-J"~s)().array()); settings.stringImportPaths = null; } if (!(fields & BuildSetting.sourceFiles)) { settings.addDFlags(settings.sourceFiles); settings.sourceFiles = null; } if (!(fields & BuildSetting.libs)) { resolveLibs(settings); version(Windows) settings.addSourceFiles(settings.libs.map!(l => l~".lib")().array()); else settings.addLFlags(settings.libs.map!(l => "-l"~l)().array()); } if (!(fields & BuildSetting.lflags)) { settings.addDFlags(settings.lflags.map!(f => "-L"~f)().array()); settings.lflags = null; } assert(fields & BuildSetting.dflags); assert(fields & BuildSetting.copyFiles); } void extractBuildOptions(ref BuildSettings settings) { Appender!(string[]) newflags; next_flag: foreach (f; settings.dflags) { foreach (t; s_options) if (t[1].canFind(f)) { settings.options |= t[0]; continue next_flag; } if (f.startsWith("-version=")) settings.addVersions(f[9 .. $]); else if (f.startsWith("-debug=")) settings.addDebugVersions(f[7 .. $]); else newflags ~= f; } settings.dflags = newflags.data; } void setTarget(ref BuildSettings settings, in BuildPlatform platform) { final switch (settings.targetType) { case TargetType.autodetect: assert(false, "Invalid target type: autodetect"); case TargetType.none: assert(false, "Invalid target type: none"); case TargetType.sourceLibrary: assert(false, "Invalid target type: sourceLibrary"); case TargetType.executable: break; case TargetType.library: case TargetType.staticLibrary: settings.addDFlags("-lib"); break; case TargetType.dynamicLibrary: version (Windows) settings.addDFlags("-shared"); else settings.addDFlags("-shared", "-fPIC"); break; } auto tpath = Path(settings.targetPath) ~ getTargetFileName(settings, platform); settings.addDFlags("-of"~tpath.toNativeString()); } void invoke(in BuildSettings settings, in BuildPlatform platform, void delegate(int, string) output_callback) { auto res_file = getTempDir() ~ ("dub-build-"~uniform(0, uint.max).to!string~"-.rsp"); std.file.write(res_file.toNativeString(), join(settings.dflags.map!(s => s.canFind(' ') ? "\""~s~"\"" : s), "\n")); scope (exit) remove(res_file.toNativeString()); logDiagnostic("%s %s", platform.compilerBinary, join(cast(string[])settings.dflags, " ")); invokeTool([platform.compilerBinary, "@"~res_file.toNativeString()], output_callback); } void invokeLinker(in BuildSettings settings, in BuildPlatform platform, string[] objects, void delegate(int, string) output_callback) { import std.string; auto tpath = Path(settings.targetPath) ~ getTargetFileName(settings, platform); auto args = [platform.compiler, "-of"~tpath.toNativeString()]; args ~= objects; args ~= settings.sourceFiles; version(linux) args ~= "-L--no-as-needed"; // avoids linker errors due to libraries being speficied in the wrong order by DMD args ~= settings.lflags.map!(l => "-L"~l)().array; args ~= settings.dflags.filter!(f => isLinkerDFlag(f)).array; logDiagnostic("%s", args.join(" ")); invokeTool(args, output_callback); } private static bool isLinkerDFlag(string arg) { switch (arg) { default: if (arg.startsWith("-defaultlib=")) return true; return false; case "-g", "-gc", "-m32", "-m64", "-shared": return true; } } }
D
//##################################################################### //## //## KAPITEL 4 //## ========= //## Söldner, Banditen und Schürfer der Freien Mine werden //## getötet und beraubt. //## Drei Gardisten bewachen jetzt den Eingang zur Mine. //## //##################################################################### func void B_Story_FMTaken() { //-------- Gorn zu Saturas schicken -------- var C_NPC fighter; fighter = Hlp_GetNpc(PC_FIGHTER); Npc_ExchangeRoutine(fighter, "NCREPORT"); //-------- Besatzung des Kessels töten -------- B_KillNpc (SLD_750_Soeldner); B_KillNpc (SLD_751_Soeldner); B_KillNpc (SLD_752_Okyl); B_KillNpc (SLD_753_Baloro); B_KillNpc (SLD_755_Soeldner); B_KillNpc (SLD_756_Soeldner); B_KillNpc (SLD_757_Soeldner); B_KillNpc (SLD_758_Soeldner); B_KillNpc (SLD_759_Soeldner); B_KillNpc (SLD_760_Soeldner); B_KillNpc (SLD_761_Soeldner); B_KillNpc (SLD_762_Soeldner); B_KillNpc (SLD_763_Soeldner); B_KillNpc (SLD_764_Soeldner); B_KillNpc (SLD_765_Soeldner); B_KillNpc (SFB_1030_Schuerfer); B_KillNpc (SFB_1031_Schuerfer); B_KillNpc (SFB_1032_Schuerfer); B_KillNpc (SFB_1033_Schuerfer); B_KillNpc (SFB_1034_Schuerfer); B_KillNpc (SFB_1035_Schuerfer); B_KillNpc (SFB_1036_Schuerfer); B_KillNpc (SFB_1037_Swiney); B_KillNpc (SFB_1038_Schuerfer); B_KillNpc (SFB_1039_Schuerfer); B_KillNpc (SFB_1040_Schuerfer); B_KillNpc (SFB_1041_Schuerfer); B_KillNpc (SFB_1042_Schuerfer); B_KillNpc (SFB_1043_Schuerfer); B_KillNpc (SFB_1044_Schuerfer); B_KillNpc (ORG_890_Organisator); B_KillNpc (ORG_891_Organisator); B_KillNpc (ORG_892_Organisator); //-------- Gardisten-Eroberer einfügen -------- Wld_InsertNpc (Grd_283_Gardist, "FMC_ENTRANCE"); //FMC-Guard(Mineneingang) Wld_InsertNpc (Grd_285_Gardist, "FMC_ENTRANCE"); //FMC-Guard(Mineneingang) B_ExchangeRoutine (Grd_201_Jackal, "FMTaken"); //FMC-Guard(Mineneingang) //-------- Tor zur Alten Mine im Stundentakt auf Verschluß checken! -------- //B_ExchangeRoutine (Grd_250_Gardist, "FMTaken"); Wld_SetObjectRoutine (0,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (1,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (2,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (3,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (4,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (5,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (6,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (7,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (8,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (9,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (10,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (11,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (12,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (13,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (14,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (15,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (16,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (17,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (18,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (19,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (20,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (21,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (22,00,"EVT_AM_LOB_GATE_BIG",1); Wld_SetObjectRoutine (23,00,"EVT_AM_LOB_GATE_BIG",1); //-------- Tagebucheinträge -------- if (Npc_KnowsInfo(hero, Info_Milten_OCWARN)) { B_LogEntry (CH4_Firemages,"Diego was actually able to tell me more about the events in the Old Camp."); } else { B_LogEntry (CH4_Firemages,"At the back entry to the Old Camp, Diego intercepted me and warned me of the serious incidents which had just taken place."); }; B_LogEntry (CH4_Firemages,"After the collapse of the Old Mine, Gomez ordered his men to attack the Free Mine of the New Camp. When Corristo and his Magicians of Fire opposed the plan, they were murdered by Gomez' men."); B_LogEntry (CH4_Firemages,"I have to warn the New Camp as fast as I can and inform Saturas about the incident. I hope I'm not too late."); if (Scorpio_Exile == FALSE) { Log_CreateTopic (GE_TraderOW,LOG_NOTE); B_LogEntry (GE_TraderOW,"Scorpio has left the Old Camp and is now staying with Cavalorn in the hunting hut between the Old and the New Camp."); Scorpio_Exile = TRUE; }; //-------- globale Variable setzen -------- FMTaken = TRUE; };
D
/workspace/target/debug/build/encoding_rs-d8586c04b0cf8b6f/build_script_build-d8586c04b0cf8b6f: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/encoding_rs-0.8.28/build.rs /workspace/target/debug/build/encoding_rs-d8586c04b0cf8b6f/build_script_build-d8586c04b0cf8b6f.d: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/encoding_rs-0.8.28/build.rs /root/.cargo/registry/src/github.com-1ecc6299db9ec823/encoding_rs-0.8.28/build.rs:
D
restore strength give new life or vigor to
D
// COCKTAIL SHAKER SORT IN D import std.stdio; // function algorithm that returns the sorted array // algoritmo da função que retorna o array ordenado int[] cocktailShakerSort(int[] arr) { int beginIndex = 0, endIndex = cast(int)arr.length; bool swapped; do { swapped = false; endIndex--; for (int i = beginIndex; i < endIndex; i++) { if (arr[i] > arr[i + 1]) { int swap = arr[i]; arr[i] = arr[i + 1]; arr[i + 1] = swap; swapped = true; } } if (swapped) { swapped = false; beginIndex++; for (int i = endIndex - 1; i >= beginIndex; i--) { if (arr[i] < arr[i - 1]) { int swap = arr[i]; arr[i] = arr[i - 1]; arr[i - 1] = swap; swapped = true; } } } } while (swapped); return arr; } // main function only to call and test the sort function // função principal apenas para chamar e testar a função de ordenação void main(string[] args) { int[] arr = [5, 2, -3, 10, 23, 99, -1, 7, 93, 0]; int[] sortedArr = cocktailShakerSort(arr); writeln("Sorted Array:"); foreach (a; sortedArr) writeln(a); }
D
/******************************************************************************* @file ServerThread.d Copyright (c) 2004 Kris Bell This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for damages of any kind arising from the use of this software. Permission is hereby granted to anyone to use this software for any purpose, including commercial applications, and to alter it and/or redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment within documentation of said product would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any distribution of the source. 4. Derivative works are permitted, but they must carry this notice in full and credit the original source. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @version Initial version, April 2004 @author Kris *******************************************************************************/ module mango.utils.ServerThread; private import std.thread; private import mango.io.Conduit, mango.io.Exception, mango.io.ServerSocket, mango.io.SocketConduit; private import mango.utils.AbstractServer; /****************************************************************************** Subclasses Thread to provide the basic server-thread loop. This functionality could also be implemented as a delegate, however, we also wish to subclass in order to add thread-local data (see HttpThread). ******************************************************************************/ class ServerThread : Thread { ServerSocket socket; AbstractServer server; /********************************************************************** Construct a ServerThread for the given Server, upon the specified socket **********************************************************************/ this (AbstractServer server, ServerSocket socket) { this.server = server; this.socket = socket; } /********************************************************************** Execute this thread until the Server says to halt. Each thread waits in the socket.accept() state, waiting for a connection request to arrive. Upon selection, a thread dispatches the request via the request service-handler and, upon completion, enters the socket.accept() state once more. **********************************************************************/ version (Ares) alias void ThreadReturn; else alias int ThreadReturn; override ThreadReturn run () { while (true) try { // should we bail out? if (SocketConduit.isHalting) return 0; // wait for a socket connection SocketConduit sc = socket.accept (); // did we get a valid response? if (sc) // yep: process this request server.service (this, sc); else // server may be halting ... if (! SocketConduit.isHalting) server.getLogger.error ("Socket accept() failed"); } catch (IOException x) { server.getLogger.error ("IOException: "~x.toString); } catch (Object x) { server.getLogger.fatal ("Exception: "~x.toString); } } }
D
//----------------------------------------------------------------------------- // wxD/Samples - FileNameFunc.d // // absPath replaces wxFileName.Normalize() and wxFileName.GetFullPath() // these functions are from: http://www.digitalmars.com/d/archives/digitalmars/D/announce/4363.html // // (C) 2006 Joe Zuccarello // License: Public domain. // // $Id: FileNameFunc.d,v 1.1 2007/08/21 20:55:45 afb Exp $ //----------------------------------------------------------------------------- module FileNameFunc; version (Tango) { static assert(0); } else // Phobos { import std.file; import std.path; import std.regexp; import std.string; } private static const char[] wSep = r"\", lSep = "/", rSeps = "[\\\\/]"; // For regexp use version(DigitalMars) version(linux) version=Unix; /** * Returns a normalized absolutized path. * * If the path is not absolute, it will be joined with the current working directory. If it is an * absolute path, nothing will be joined with it. In either case, the path will also be checked to * see if it is normalized. If it's not, it will be normalized. * * Note: This function does not handle UNC paths. * * Authors: Joe Zuccarello * * Date: February 15, 2006 * * Returns: A normalized absolutized path. * * Version: * * License: Public domain. * * Examples: * --------- * version(Windows) * { * // Assume c:\ is the current working directory * absPath(r"file") => "c:\file" * absPath(r"c:\d/src\project") => "c:\d\src\project" * absPath(r".\dir\file\..\dir2\file2") => "c:\dir\dir2\file2" * } * version(linux) * { * // Assume /usr is the current working directory * absPath("d/bin") => "/usr/d/bin" * absPath("/d/lib") => "/d/lib" * absPath("d/src/../file") => "/usr/d/file" * } * --------- */ char[] absPath(char[] path) out(result) { assert(isNormPath(result)); } body { bool changed; version(Windows) { // Path is not absolute //if (std.regexp.find(path, "^[a-zA-Z]*:\\\\") == -1) if (isabs(path) == false) { path = std.path.join(getcwd(), path); changed = true; } } else version(Unix) { // Path is not absolute //if (path[0..1] != r"\" && path[0..1] != "/") if (isabs(path) == false) { path = std.path.join(getcwd(), path); changed = true; } } else { pragma(msg, "Unsupported OS"); static assert(0); } // Normalize the path if (isNormPath(path) == false) { path = normPath(path); changed = true; } if (changed == true) { return path.dup; } else { return path; } } /** * Test whether a path is normalized. * * Use this to test whether a path is normalized. * * Note: This function does not handle UNC paths. * * Authors: Joe Zuccarello * * Date: February 15, 2006 * * Returns: true/false whether a path is normalized. * * Version: * * License: Public domain. * * Examples: * --------- * version(Windows) * { * isNormPath(r"directory1\..\directory2\file\.") => false * // This one returns true, because there's no parent directory to collapse to. * isNormPath(r"..\directory\file") => true * } * version(linux) * { * isNormPath("/dir/../file") => false * isNormPath("/file") => true * } * --------- */ bool isNormPath(char[] path) { RegExp re; version(Windows) { // Special cases if (path == "." || path == ".." || (path == r"\" || path == "/") || std.regexp.find(path, "^\\.\\." ~ "(" ~ rSeps ~ "\\.\\.)+") != -1 || std.regexp.find(path, "^[a-zA-Z]*:" ~ rSeps ~ "$") != -1) { return true; } else { // Look for the following. If found, then this is not a normalized path if (std.regexp.find(path, rSeps ~ "$") != -1 || std.regexp.find(path, rSeps ~ "\\.\\." ~ "(" ~ rSeps ~ "|$)") != -1 || std.regexp.find(path, rSeps ~ "\\." ~ "(" ~ rSeps ~ "|$)") != -1 || std.regexp.find(path, "^\\." ~ rSeps) != -1 || std.regexp.find(path, rSeps ~ "{2,}") != -1) { return false; } else { return true; } } } else version(Unix) { // Special cases if (path == "." || path == ".." || (path == r"\" || path == "/") || std.regexp.find(path, "^\\.\\." ~ "(" ~ rSeps ~ "\\.\\.)+") != -1) { return true; } else { // Look for the following. If found, then this is not a normalized path if (std.regexp.find(path, lSep ~ "$") != -1 || std.regexp.find(path, lSep ~ "\\.\\." ~ "(" ~ lSep ~ "|$)") != -1 || std.regexp.find(path, lSep ~ "\\." ~ "(" ~ lSep ~ "|$)") != -1 || std.regexp.find(path, "^\\." ~ lSep) != -1 || std.regexp.find(path, lSep ~ "{2,}") != -1) { return false; } else { return true; } } } else { pragma(msg, "Unsupported OS"); static assert(0); } } /** * Normalizes a path. * * This will normalize a path by collapsing redundant separators and parent/current directory * references. It will also remove any trailing separators and normalize separators as appropriate * for the OS. * * Inspired by the Python v2.4.2 implementation. * * Note: This function does not handle UNC paths. * * Authors: Joe Zuccarello * * Date: February 15, 2006 * * Returns: A normalized path. * * Version: * * License: Public domain. * * Examples: * --------- * normPath("/dir1/../dir2/./file/") => "/dir2/file" * normPath("/dir..../file/./") => "/dir..../file" * --------- */ char[] normPath(char[] path) out(result) { assert(isNormPath(result)); } body { int pcIdx, pcIdx2; char[][] pathComps; // path components after splitting char[] result, drive; // Normalize the separators for the os path = normSep(path); // Sanity check. No need to process a separator, curdir or pardir reference. if (path != sep && path != curdir && path != pardir) { // Remove the drive from the path version(Windows) { int idx = std.string.find(path, ":"); drive ~= idx != -1 ? path[0..(idx + 1)] : ""; if (idx != -1) { if ((idx + 1) < path.length) { path = path[(idx + 1)..$]; } else { path = ""; } } } // Remove repeating separators path = std.string.squeeze(path, sep); // If there's an initial separator even after a drive, save it off if (path != "") { if (path[0..1] == sep) { drive ~= sep; } } // Split the path components pathComps = std.string.split(path, sep); while (pcIdx < pathComps.length) { // Current directory if (pathComps[pcIdx] == curdir) { if (pathComps.length == 1) { pathComps.length = 0; } else if (pathComps.length > 1) { // At the beginning if (pcIdx == 0) { pathComps = pathComps[1..$]; } // At the end else if ((pcIdx + 1) == pathComps.length) { pathComps = pathComps[0..pcIdx]; } // In the middle else { pathComps = pathComps[0..pcIdx] ~ pathComps[(pcIdx + 1)..$]; } } } // Parent directory reference else if (pathComps[pcIdx] == pardir) { if (pathComps.length == 1) { pcIdx++; } else if (pathComps.length > 1) { // At the beginning if (pcIdx == 0) { // We don't know what to do with this, so move on pcIdx++; } // Found a reference but there was a separator before it. Need // to remove this reference. else if (pcIdx == 1 && pathComps[(pcIdx - 1)] == "") { // Delete the reference if ((pcIdx + 1) < pathComps.length) { pathComps = pathComps[0..pcIdx] ~ pathComps[(pcIdx + 1)..$]; pcIdx--; } else { pathComps = pathComps[0..pcIdx]; } } else { if (pathComps[(pcIdx - 1)] != pardir) { if ((pcIdx + 1) < pathComps.length) { // Delete the reference and the preceding entry pathComps = pathComps[0..(pcIdx - 1)] ~ pathComps[(pcIdx + 1)..$]; pcIdx--; } // End of line else { pathComps = pathComps[0..(pcIdx - 1)]; } } else { pcIdx++; } } } } // Something else else { pcIdx++; } } // Delete any blank chunks out of the array for joining later for (int i = 0; i < pathComps.length; i++) { if (pathComps[i] == "") { if (pathComps.length == 1) { pathComps.length = 0; } else if (pathComps.length > 1) { // At the beginning if (i == 0) { pathComps = pathComps[1..$]; } // At the end else if ((i + 1) == pathComps.length) { pathComps = pathComps[0..i]; } // In the middle. This should already have been taken care of from the logic near // the top of this function from using the squeeze and then split, there shouldn't be // any blank chunks in the middle. } } } result = std.string.join(pathComps, sep); } // Path was either a separator, curdir or pardir reference else { result = path; } if (result == "" && drive == "") { result = curdir; } else { result = drive ~ result; } return result.dup; } /** * * Normalizes the separators in a path. * * Use this to normalize separators as appropriate for the operating system in use. On Windows, * forward slashes * will be converted to backward slashes. On Linux, the path will just be * returned. * * Authors: Joe Zuccarello * * Date: February 15, 2006 * * Returns: Normalized separators for a path. * * Version: * * License: Public domain. * * Examples: * --------- * version(Windows) * { * normSep(r"c:/directory\file") => "c:\directory\file" * } * version(linux) * { * normSep(r"/dir1\dir2\dir3/file") => "/dir1\dir2\dir3/file" * } * --------- */ char[] normSep(char[] path) { version(Windows) { // Convert separators if (std.regexp.find(path, lSep) != -1) { path = std.string.replace(path, lSep, wSep); return path.dup; } else { return path; } } else version(Unix) { return path; } else { pragma(msg, "Unsupported OS"); static assert(0); } }
D
/* Copyright (c) 2019-2022 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module dagon.postproc.shaders.glow; import std.stdio; import dlib.core.memory; import dlib.core.ownership; import dlib.math.vector; import dlib.math.matrix; import dlib.math.transformation; import dlib.math.interpolation; import dlib.image.color; import dlib.text.str; import dagon.core.bindings; import dagon.graphics.shader; import dagon.graphics.state; import dagon.render.framebuffer; class GlowShader: Shader { String vs, fs; bool enabled = true; float intensity = 1.0f; Framebuffer blurredBuffer; this(Owner owner) { vs = Shader.load("data/__internal/shaders/Glow/Glow.vert.glsl"); fs = Shader.load("data/__internal/shaders/Glow/Glow.frag.glsl"); auto myProgram = New!ShaderProgram(vs, fs, this); super(myProgram, owner); } ~this() { vs.free(); fs.free(); } override void bindParameters(GraphicsState* state) { setParameter("viewSize", state.resolution); setParameter("enabled", enabled); setParameter("intensity", intensity); // Texture 0 - color buffer glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, state.colorTexture); setParameter("colorBuffer", 0); // Texture 1 - blurred buffer if (blurredBuffer) { glActiveTexture(GL_TEXTURE1); glBindTexture(GL_TEXTURE_2D, blurredBuffer.colorTexture); setParameter("blurredBuffer", 1); } glActiveTexture(GL_TEXTURE0); super.bindParameters(state); } override void unbindParameters(GraphicsState* state) { super.unbindParameters(state); glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, 0); glActiveTexture(GL_TEXTURE1); glBindTexture(GL_TEXTURE_2D, 0); glActiveTexture(GL_TEXTURE0); } }
D
/** Internal hash map implementation. Copyright: © 2013 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.utils.hashmap; import vibe.internal.utilallocator; import std.conv : emplace; import std.traits; struct DefaultHashMapTraits(Key) { enum clearValue = Key.init; static bool equals(in Key a, in Key b) { static if (is(Key == class)) return a is b; else return a == b; } static size_t hashOf(in ref Key k) @safe { static if (is(Key == class) && &Unqual!Key.init.toHash is &Object.init.toHash) return () @trusted { return cast(size_t)cast(void*)k; } (); else static if (__traits(compiles, Key.init.toHash())) return () @trusted { return (cast(Key)k).toHash(); } (); else static if (__traits(compiles, Key.init.toHashShared())) return k.toHashShared(); else { // evil casts to be able to get the most basic operations of // HashMap nothrow and @nogc static size_t hashWrapper(in ref Key k) { static typeinfo = typeid(Key); return typeinfo.getHash(&k); } static @nogc nothrow size_t properlyTypedWrapper(in ref Key k) { return 0; } return () @trusted { return (cast(typeof(&properlyTypedWrapper))&hashWrapper)(k); } (); } } } struct HashMap(TKey, TValue, Traits = DefaultHashMapTraits!TKey, Allocator = IAllocator) { import core.memory : GC; import vibe.internal.meta.traits : isOpApplyDg; import std.algorithm.iteration : filter, map; alias Key = TKey; alias Value = TValue; Allocator AW(Allocator a) { return a; } alias AllocatorType = AffixAllocator!(Allocator, int); static if (is(typeof(AllocatorType.instance))) alias AllocatorInstanceType = typeof(AllocatorType.instance); else alias AllocatorInstanceType = AllocatorType; struct TableEntry { UnConst!Key key = Traits.clearValue; Value value; this(ref Key key, ref Value value) { import std.algorithm.mutation : move; this.key = cast(UnConst!Key)key; this.value = value.move; } } private { TableEntry[] m_table; // NOTE: capacity is always POT size_t m_length; static if (!is(typeof(Allocator.instance))) AllocatorInstanceType m_allocator; bool m_resizing; } static if (!is(typeof(Allocator.instance))) { this(Allocator allocator) { m_allocator = typeof(m_allocator)(AW(allocator)); } } ~this() { int rc; try rc = m_table is null ? 1 : () @trusted { return --allocator.prefix(m_table); } (); catch (Exception e) assert(false, e.msg); if (rc == 0) { clear(); if (m_table.ptr !is null) () @trusted { static if (hasIndirections!TableEntry) GC.removeRange(m_table.ptr); try allocator.dispose(m_table); catch (Exception e) assert(false, e.msg); } (); } } this(this) @trusted { if (m_table.ptr) { try allocator.prefix(m_table)++; catch (Exception e) assert(false, e.msg); } } @property size_t length() const { return m_length; } void remove(Key key) { import std.algorithm.mutation : move; auto idx = findIndex(key); assert (idx != size_t.max, "Removing non-existent element."); auto i = idx; while (true) { m_table[i].key = Traits.clearValue; m_table[i].value = Value.init; size_t j = i, r; do { if (++i >= m_table.length) i -= m_table.length; if (Traits.equals(m_table[i].key, Traits.clearValue)) { m_length--; return; } r = Traits.hashOf(m_table[i].key) & (m_table.length-1); } while ((j<r && r<=i) || (i<j && j<r) || (r<=i && i<j)); m_table[j] = m_table[i].move; } } Value get(Key key, lazy Value default_value = Value.init) { auto idx = findIndex(key); if (idx == size_t.max) return default_value; return m_table[idx].value; } /// Workaround #12647 package(vibe) Value getNothrow(Key key, Value default_value = Value.init) { auto idx = findIndex(key); if (idx == size_t.max) return default_value; return m_table[idx].value; } static if (!is(typeof({ Value v; const(Value) vc; v = vc; }))) { const(Value) get(Key key, lazy const(Value) default_value = Value.init) { auto idx = findIndex(key); if (idx == size_t.max) return default_value; return m_table[idx].value; } } void clear() { foreach (i; 0 .. m_table.length) if (!Traits.equals(m_table[i].key, Traits.clearValue)) { m_table[i].key = Traits.clearValue; m_table[i].value = Value.init; } m_length = 0; } void opIndexAssign(T)(T value, Key key) { import std.algorithm.mutation : move; assert(!Traits.equals(key, Traits.clearValue), "Inserting clear value into hash map."); grow(1); auto i = findInsertIndex(key); if (!Traits.equals(m_table[i].key, key)) m_length++; m_table[i].key = () @trusted { return cast(UnConst!Key)key; } (); m_table[i].value = value; } ref inout(Value) opIndex(Key key) inout { auto idx = findIndex(key); assert (idx != size_t.max, "Accessing non-existent key."); return m_table[idx].value; } inout(Value)* opBinaryRight(string op)(Key key) inout if (op == "in") { auto idx = findIndex(key); if (idx == size_t.max) return null; return &m_table[idx].value; } int opApply(DG)(scope DG del) if (isOpApplyDg!(DG, Key, Value)) { import std.traits : arity; foreach (i; 0 .. m_table.length) if (!Traits.equals(m_table[i].key, Traits.clearValue)) { static assert(arity!del >= 1 && arity!del <= 2, "isOpApplyDg should have prevented this"); static if (arity!del == 1) { if (int ret = del(m_table[i].value)) return ret; } else if (int ret = del(m_table[i].key, m_table[i].value)) return ret; } return 0; } auto byKey() { return bySlot.map!(e => e.key); } auto byKey() const { return bySlot.map!(e => e.key); } auto byValue() { return bySlot.map!(e => e.value); } auto byValue() const { return bySlot.map!(e => e.value); } auto byKeyValue() { import std.typecons : Tuple; return bySlot.map!(e => Tuple!(Key, "key", Value, "value")(e.key, e.value)); } auto byKeyValue() const { import std.typecons : Tuple; return bySlot.map!(e => Tuple!(const(Key), "key", const(Value), "value")(e.key, e.value)); } private auto bySlot() { return m_table[].filter!(e => !Traits.equals(e.key, Traits.clearValue)); } private auto bySlot() const { return m_table[].filter!(e => !Traits.equals(e.key, Traits.clearValue)); } private @property AllocatorInstanceType allocator() { static if (is(typeof(Allocator.instance))) return AllocatorType.instance; else { if (!m_allocator._parent) { static if (is(Allocator == IAllocator)) { try m_allocator = typeof(m_allocator)(AW(vibeThreadAllocator())); catch (Exception e) assert(false, e.msg); } else assert(false, "Allocator not initialized."); } return m_allocator; } } private size_t findIndex(Key key) const { if (m_length == 0) return size_t.max; size_t start = Traits.hashOf(key) & (m_table.length-1); auto i = start; while (!Traits.equals(m_table[i].key, key)) { if (Traits.equals(m_table[i].key, Traits.clearValue)) return size_t.max; if (++i >= m_table.length) i -= m_table.length; if (i == start) return size_t.max; } return i; } private size_t findInsertIndex(Key key) const { auto hash = Traits.hashOf(key); size_t target = hash & (m_table.length-1); auto i = target; while (!Traits.equals(m_table[i].key, Traits.clearValue) && !Traits.equals(m_table[i].key, key)) { if (++i >= m_table.length) i -= m_table.length; assert (i != target, "No free bucket found, HashMap full!?"); } return i; } private void grow(size_t amount) @trusted { auto newsize = m_length + amount; if (newsize < (m_table.length*2)/3) { int rc; try rc = allocator.prefix(m_table); catch (Exception e) assert(false, e.msg); if (rc > 1) { // enforce copy-on-write auto oldtable = m_table; try { m_table = allocator.makeArray!TableEntry(m_table.length); m_table[] = oldtable; allocator.prefix(oldtable)--; assert(allocator.prefix(oldtable) > 0); allocator.prefix(m_table) = 1; } catch (Exception e) { assert(false, e.msg); } } return; } auto newcap = m_table.length ? m_table.length : 16; while (newsize >= (newcap*2)/3) newcap *= 2; resize(newcap); } private void resize(size_t new_size) @trusted { assert(!m_resizing); m_resizing = true; scope(exit) m_resizing = false; uint pot = 0; while (new_size > 1) { pot++; new_size /= 2; } new_size = 1 << pot; auto oldtable = m_table; // allocate the new array, automatically initializes with empty entries (Traits.clearValue) try { m_table = allocator.makeArray!TableEntry(new_size); allocator.prefix(m_table) = 1; } catch (Exception e) assert(false, e.msg); static if (hasIndirections!TableEntry) GC.addRange(m_table.ptr, m_table.length * TableEntry.sizeof); // perform a move operation of all non-empty elements from the old array to the new one foreach (ref el; oldtable) if (!Traits.equals(el.key, Traits.clearValue)) { auto idx = findInsertIndex(el.key); (cast(ubyte[])(&m_table[idx])[0 .. 1])[] = (cast(ubyte[])(&el)[0 .. 1])[]; } // all elements have been moved to the new array, so free the old one without calling destructors int rc; try rc = oldtable is null ? 1 : --allocator.prefix(oldtable); catch (Exception e) assert(false, e.msg); if (rc == 0) { static if (hasIndirections!TableEntry) GC.removeRange(oldtable.ptr); try allocator.deallocate(oldtable); catch (Exception e) assert(false, e.msg); } } } unittest { import std.conv; HashMap!(string, string) map; foreach (i; 0 .. 100) { map[to!string(i)] = to!string(i) ~ "+"; assert(map.length == i+1); } foreach (i; 0 .. 100) { auto str = to!string(i); auto pe = str in map; assert(pe !is null && *pe == str ~ "+"); assert(map[str] == str ~ "+"); } foreach (i; 0 .. 50) { map.remove(to!string(i)); assert(map.length == 100-i-1); } foreach (i; 50 .. 100) { auto str = to!string(i); auto pe = str in map; assert(pe !is null && *pe == str ~ "+"); assert(map[str] == str ~ "+"); } } // test for nothrow/@nogc compliance nothrow unittest { HashMap!(int, int) map1; HashMap!(string, string) map2; map1[1] = 2; map2["1"] = "2"; @nogc nothrow void performNoGCOps() { foreach (int v; map1) {} foreach (int k, int v; map1) {} assert(1 in map1); assert(map1.length == 1); assert(map1[1] == 2); assert(map1.getNothrow(1, -1) == 2); foreach (string v; map2) {} foreach (string k, string v; map2) {} assert("1" in map2); assert(map2.length == 1); assert(map2["1"] == "2"); assert(map2.getNothrow("1", "") == "2"); } performNoGCOps(); } unittest { // test for proper use of constructor/post-blit/destructor static struct Test { static size_t constructedCounter = 0; bool constructed = false; this(int) { constructed = true; constructedCounter++; } this(this) nothrow { if (constructed) constructedCounter++; } ~this() nothrow { if (constructed) constructedCounter--; } } assert(Test.constructedCounter == 0); { // sanity check Test t; assert(Test.constructedCounter == 0); t = Test(1); assert(Test.constructedCounter == 1); auto u = t; assert(Test.constructedCounter == 2); t = Test.init; assert(Test.constructedCounter == 1); } assert(Test.constructedCounter == 0); { // basic insertion and hash map resizing HashMap!(int, Test) map; foreach (i; 1 .. 67) { map[i] = Test(1); assert(Test.constructedCounter == i); } } assert(Test.constructedCounter == 0); { // test clear() and overwriting existing entries HashMap!(int, Test) map; foreach (i; 1 .. 67) { map[i] = Test(1); assert(Test.constructedCounter == i); } map.clear(); foreach (i; 1 .. 67) { map[i] = Test(1); assert(Test.constructedCounter == i); } foreach (i; 1 .. 67) { map[i] = Test(1); assert(Test.constructedCounter == 66); } } assert(Test.constructedCounter == 0); { // test removing entries and adding entries after remove HashMap!(int, Test) map; foreach (i; 1 .. 67) { map[i] = Test(1); assert(Test.constructedCounter == i); } foreach (i; 1 .. 33) { map.remove(i); assert(Test.constructedCounter == 66 - i); } foreach (i; 67 .. 130) { map[i] = Test(1); assert(Test.constructedCounter == i - 32); } } assert(Test.constructedCounter == 0); } private template UnConst(T) { static if (is(T U == const(U))) { alias UnConst = U; } else static if (is(T V == immutable(V))) { alias UnConst = V; } else alias UnConst = T; }
D
module tvm; import tagion.utils.JSONCommon; /++ Options for the network +/ struct Options { int x; mixin JSONCommon; mixin JSONConfig; } import tagion.basic.Basic : doFront; import tagion.tvm.TVM; import std.algorithm.iteration : filter, each; import std.path : extension; import std.stdio; import std.math; import std.string : toStringz, fromStringz; import core.sys.posix.dlfcn; import core.stdc.stdio; enum ext { wasm = ".wasm", dll = ".so", } extern(C) { void set_symbols(ref WamrSymbols wasm_symbols); void run(ref TVMEngine wasm_engine); void do_hello(); } int main(string[] args) { import std.stdio; import std.file : fread=read, exists; immutable wasm_file = args .filter!((a) => (a.extension == ext.wasm)) .doFront; immutable dll_file = args .filter!((a) => (a.extension == ext.dll)) .doFront; if (!dll_file) { stderr.writefln("Shared object file missing"); return 1; } if (!wasm_file) { stderr.writefln("WASM file missing"); return 2; } if (!dll_file.exists) { stderr.writefln("%s does not exists", dll_file); return 3; } if (!wasm_file.exists) { stderr.writefln("%s does not exists", wasm_file); return 4; } immutable wasm_code = cast(immutable(ubyte[]))wasm_file.fread; void* hndl = dlopen(dll_file.toStringz, RTLD_LAZY); scope(exit) { dlclose(hndl); } if (!hndl) { stderr.writefln("Unable to open %s", dll_file); return 5; } auto dll_do_hello= cast(typeof(&do_hello))dlsym(hndl, do_hello.mangleof.ptr); if (!dll_do_hello) { printf("%s\n", dlerror()); return 6; } dll_do_hello(); auto dll_set_symbols= cast(typeof(&set_symbols))dlsym(hndl, set_symbols.mangleof.ptr); if (!dll_set_symbols) { printf("%s\n", dlerror()); return 7; } auto dll_run= cast(typeof(&run))dlsym(hndl, run.mangleof.ptr); if (!dll_run) { import core.stdc.stdio; printf("%s\n", dlerror()); return 8; } WamrSymbols wasm_symbols; dll_set_symbols(wasm_symbols); uint[] global_heap; global_heap.length=512 * 1024; auto wasm_engine=new TVMEngine( wasm_symbols, 8092, // Stack size 8092, // Heap size global_heap, // Global heap wasm_code, "env"); dll_run(wasm_engine); writeln("Passed"); return 0; }
D
/** Thread based asynchronous file I/O fallback implementation Copyright: © 2012 RejectedSoftware e.K. Authors: Sönke Ludwig License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. */ module vibe.core.drivers.threadedfile; import vibe.core.log; import vibe.core.driver; import vibe.inet.url; import vibe.utils.string; import std.algorithm; import std.conv; import std.exception; import std.string; import core.stdc.errno; version(Posix){ import core.sys.posix.fcntl; import core.sys.posix.sys.stat; import core.sys.posix.unistd; } version(Windows){ import std.c.windows.stat; private { extern(C){ alias long off_t; int open(in char* name, int mode, ...); int chmod(in char* name, int mode); int close(int fd); int read(int fd, void *buffer, uint count); int write(int fd, in void *buffer, uint count); off_t lseek(int fd, off_t offset, int whence); } enum O_RDONLY = 0; enum O_WRONLY = 1; enum O_APPEND = 8; enum O_CREAT = 0x0100; enum O_TRUNC = 0x0200; enum O_BINARY = 0x8000; enum _S_IREAD = 0x0100; /* read permission, owner */ enum _S_IWRITE = 0x0080; /* write permission, owner */ alias struct_stat stat_t; } } else { enum O_BINARY = 0; } private { enum SEEK_SET = 0; enum SEEK_CUR = 1; enum SEEK_END = 2; } class ThreadedFileStream : FileStream { private { int m_fileDescriptor; Path m_path; ulong m_size; ulong m_ptr = 0; FileMode m_mode; bool m_ownFD = true; } this(Path path, FileMode mode) { auto pathstr = path.toNativeString(); final switch(mode){ case FileMode.Read: m_fileDescriptor = open(pathstr.toStringz(), O_RDONLY|O_BINARY); break; case FileMode.ReadWrite: m_fileDescriptor = open(pathstr.toStringz(), O_BINARY); break; case FileMode.CreateTrunc: m_fileDescriptor = open(pathstr.toStringz(), O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, octal!644); break; case FileMode.Append: m_fileDescriptor = open(pathstr.toStringz(), O_WRONLY|O_CREAT|O_APPEND|O_BINARY, octal!644); break; } if( m_fileDescriptor < 0 ) //throw new Exception(format("Failed to open '%s' with %s: %d", pathstr, cast(int)mode, errno)); throw new Exception("Failed to open file '"~pathstr~"'."); this(m_fileDescriptor, path, mode); } this(int fd, Path path, FileMode mode) { assert(fd >= 0); m_fileDescriptor = fd; m_path = path; m_mode = mode; version(linux){ // stat_t seems to be defined wrong on linux/64 m_size = .lseek(m_fileDescriptor, 0, SEEK_END); } else { stat_t st; fstat(m_fileDescriptor, &st); m_size = st.st_size; // (at least) on windows, the created file is write protected version(Windows){ if( mode == FileMode.CreateTrunc ) chmod(path.toNativeString().toStringz(), S_IREAD|S_IWRITE); } } lseek(m_fileDescriptor, 0, SEEK_SET); logDebug("opened file %s with %d bytes as %d", path.toNativeString(), m_size, m_fileDescriptor); } ~this() { close(); } @property int fd() { return m_fileDescriptor; } @property Path path() const { return m_path; } @property ulong size() const { return m_size; } @property bool readable() const { return m_mode != FileMode.Append; } @property bool writable() const { return m_mode != FileMode.Read; } void acquire() { // TODO: store the owner and throw an exception if illegal calls happen } void release() { // TODO: store the owner and throw an exception if illegal calls happen } bool amOwner() { // TODO: really check ownership return true; } void takeOwnershipOfFD() { enforce(m_ownFD); m_ownFD = false; } void seek(ulong offset) { enforce(.lseek(m_fileDescriptor, offset, SEEK_SET) == offset, "Failed to seek in file."); m_ptr = offset; } ulong tell() { return m_ptr; } void close() { if( m_fileDescriptor != -1 && m_ownFD ){ .close(m_fileDescriptor); m_fileDescriptor = -1; } } @property bool empty() const { assert(this.readable); return m_ptr >= m_size; } @property ulong leastSize() const { assert(this.readable); return m_size - m_ptr; } @property bool dataAvailableForRead() { return true; } const(ubyte)[] peek() { return null; } void read(ubyte[] dst) { assert(this.readable); assert(dst.length <= int.max); enforce(dst.length <= leastSize); enforce(.read(m_fileDescriptor, dst.ptr, cast(int)dst.length) == dst.length, "Failed to read data from disk."); m_ptr += dst.length; } alias Stream.write write; void write(in ubyte[] bytes, bool do_flush = true) { assert(this.writable); assert(bytes.length <= int.max); auto ret = .write(m_fileDescriptor, bytes.ptr, cast(int)bytes.length); enforce(ret == bytes.length, "Failed to write data to disk."~to!string(bytes.length)~" "~to!string(errno)~" "~to!string(ret)~" "~to!string(m_fileDescriptor)); m_ptr += bytes.length; } void write(InputStream stream, ulong nbytes = 0, bool do_flush = true) { writeDefault(stream, nbytes, do_flush); } void flush() { assert(this.writable); } void finalize() { flush(); } }
D
#!/usr/bin/dmd -run import std.stdio, std.file, std.path, std.string, std.conv, std.math, std.container, std.algorithm, std.parallelism, std.range; string filesize(double size){ string units = "KMGT"; double left = cast(double)size.abs(); int unit = -1; while(left > 1100 && unit < 3){ left /=1024; unit += 1; } if(unit == -1){ return format("%dB", to!int(size)); }else{ if(size < 0) left = -left; return format("%.1f%siB", left, units[unit]); } } string getcmdln(string pid){ auto ret = cast(ubyte[]) read(pid~"/cmdline"); foreach(ref ubyte c; ret){ if(c=='\0') c=' '; } if(ret[$-1] == ' ') ret.length--; return cast(string) ret; } string read_to_end(File file) { static ubyte[65536] buffer; ubyte[] ret; while (!file.eof()) { ret ~= file.rawRead(buffer[]); } return cast(string)ret; } ulong checkswap(string pid){ import std.array : join, split; import std.algorithm : startsWith, findSplitBefore; import std.string : stripLeft; ulong size = 0; File file = File(pid~"/smaps", "r"); auto data = file.read_to_end; foreach(line; data.split("\n")) { if(line.startsWith("Swap:")){ line = line[5..$].stripLeft; size += to!int(cast(string)line.findSplitBefore(" ")[0]); } } return size * 1024; } struct SwapInfo { string pid; ulong size; string comm; }; SwapInfo swap_thread(string dir) { string pid = dir.baseName; if (pid.isNumeric) { try { ulong size = checkswap(dir); if (size) return SwapInfo(pid, size, getcmdln(dir)); }catch(Exception) { } } return SwapInfo(null, 0, null); } auto getSwap(){ string[] dir; foreach(string d; dirEntries("/proc", SpanMode.shallow)) dir ~= [d]; auto map = taskPool.amap!swap_thread(dir, 1); return sort!"a.size < b.size"(map); } void main(){ import core.memory : GC; GC.disable; string m = "%7s %9s %s"; double total = 0; auto result = getSwap(); writeln(format(m, "PID", "SWAP", "COMMAND")); foreach(ref item; result){ if (item.pid is null) continue; total += item.size; writeln(format(m, item.pid, filesize(item.size), item.comm)); } writeln(format("Total: %8s", filesize(total))); } // vim: set et ts=4 sw=4
D
// ********************** // NSC benutzt Item Booze // ********************** func void ZS_Stand_Drinking () { Perception_Set_Normal(); B_ResetAll (self); AI_SetWalkmode (self,NPC_WALK); if (Npc_GetDistToWP (self,self.wp) > TA_DIST_SELFWP_MAX) { AI_GotoWP (self, self.wp); }; self.aivar[AIV_TAPOSITION] = NOTINPOS; }; func int ZS_Stand_Drinking_loop () { if (Npc_IsOnFP (self, "STAND")) { AI_AlignToFP (self); if (self.aivar[AIV_TAPOSITION] == NOTINPOS_WALK) { self.aivar[AIV_TAPOSITION] = NOTINPOS; }; } else if (Wld_IsFPAvailable(self,"STAND")) { AI_GotoFP (self, "STAND"); AI_StandUp (self); AI_AlignToFP (self); self.aivar[AIV_TAPOSITION] = NOTINPOS_WALK; } else { AI_AlignToWP (self); if (self.aivar[AIV_TAPOSITION] == NOTINPOS_WALK ) { self.aivar[AIV_TAPOSITION] = NOTINPOS; }; }; if (self.aivar[AIV_TAPOSITION] == NOTINPOS) { self.aivar[AIV_TAPOSITION] = ISINPOS; }; //***************************************************************************** //--- SK:Hier werden random ANis gespielt. Normaler PlayAni resettet den BS, es //--- gab dann Probleme mit dem Abbrechen der Loop--> AI_PLayANIBS notwendig //***************************************************************************** if ((Npc_GetStateTime(self) > 7) && (self.aivar[AIV_TAPOSITION] == ISINPOS)) { var int random; random = Hlp_Random(10); if (random == 0) { AI_PlayAniBS (self,"T_POTION_RANDOM_3",BS_ITEMINTERACT); //Flasche ansehen AI_PlayAniBS (self,"T_POTION_RANDOM_1",BS_ITEMINTERACT); //trinken } else if (random == 1) { AI_PlayAniBS (self,"T_POTION_RANDOM_1",BS_ITEMINTERACT); //trinken AI_PlayAniBS (self,"T_POTION_RANDOM_2",BS_ITEMINTERACT); //Mund abwischen } else { AI_PlayAniBS (self,"T_POTION_RANDOM_1",BS_ITEMINTERACT); //trinken }; Npc_SetStateTime (self, 0); }; return LOOP_CONTINUE; }; func void ZS_Stand_Drinking_end () { };
D
/home/andy/source/rust/learn_rust/learn_htype2/target/debug/deps/autocfg-8380269cbeb39d13.rmeta: /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/lib.rs /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/error.rs /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/version.rs /home/andy/source/rust/learn_rust/learn_htype2/target/debug/deps/libautocfg-8380269cbeb39d13.rlib: /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/lib.rs /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/error.rs /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/version.rs /home/andy/source/rust/learn_rust/learn_htype2/target/debug/deps/autocfg-8380269cbeb39d13.d: /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/lib.rs /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/error.rs /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/version.rs /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/lib.rs: /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/error.rs: /home/andy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/autocfg-0.1.7/src/version.rs:
D
/Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/deps/c2_chacha-94a18a0b7ecce6b9.rmeta: /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/lib.rs /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/guts.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/deps/libc2_chacha-94a18a0b7ecce6b9.rlib: /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/lib.rs /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/guts.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/deps/c2_chacha-94a18a0b7ecce6b9.d: /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/lib.rs /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/guts.rs /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/lib.rs: /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.3/src/guts.rs:
D
import std; enum inf(T)()if(__traits(isArithmetic,T)){ return T.max/4; } T scan(T=long)(){ return readln.chomp.to!T; } void scan(T...)(ref T args){ auto input=readln.chomp.split; foreach(i,t;T) args[i]=input[i].to!t; } T[] scanarr(T=long)(){ return readln.chomp.split.to!(T[]); } alias Queue=DList; auto enq(T)(ref Queue!T q,T e){ q.insertBack(e); } T deq(T)(ref Queue!T q){ auto e=q.front; q.removeFront; return e; } alias Stack=SList; auto push(T)(ref Stack!T s,T e){ s.insert(e); } T pop(T)(ref Stack!T s){ auto e=s.front; s.removeFront; return e; } struct UnionFind(T){ T[T] u; ulong[T] rank; @property{ bool inc(T e){ return e in u; } auto size(){ return u.keys.length; } auto dup(){ T[] child=u.keys; T[] parent=u.values; auto res=UnionFind!T(child); child.each!(e=>res.add(e)); size.iota.each!(i=>res.unite(child[i],parent[i])); return res; } } this(T e){ e.add; } this(T[] es){ es.each!(e=>e.add); } auto add(T a,T b=a){ assert(b.inc); u[a]=a;rank[a]; if(a!=b) unite(a,b); } auto find(T e){ if(u[e]==e) return e; return u[e]=find(u[e]); } auto same(T a,T b){ return a.find==b.find; } auto unite(T a,T b){ a=a.find; b=b.find; if(a==b) return; if(rank[a]<rank[b]) u[a]=b; else{ u[b]=a; if(rank[a]==rank[b]) rank[a]++; } } } struct PriorityQueue(T,alias less="a<b"){ BinaryHeap!(T[],less) heap; @property{ bool empty(){return heap.empty;} auto length(){return heap.length;} auto dup(){return PriorityQueue!(T,less)(array);} T[] array(){ T[] res;auto tp=heap.dup; foreach(i;0..length){ res~=tp.front; tp.removeFront; } return res;} void push(T e){heap.insert(e);} void push(T[] es){es.each!(e=>heap.insert(e));} } T look(){return heap.front;} T pop(){T tp=look;heap.removeFront;return tp;} this(T e){ heap=heapify!(less,T[])([e]); } this(T[] e){ heap=heapify!(less,T[])(e); } } auto cumulativeSum(T)(T[] arr){ T[] tmp; (arr.length).iota.each!(i=>tmp~=i==0?arr[0]:tmp[i-1]+arr[i]); return tmp; } //TODO //auto cumulativeXOR(T)() //END OF TEMPLATE void main(){ [1,2,3,4,5,6,7,8,9,10].cumulativeSum.writeln; }
D
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by 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. .source T_iget_short_15.java .class public dot.junit.opcodes.iget_short.d.T_iget_short_15 .super java/lang/Object .field public i1 C .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run()V .limit regs 3 iget-short v0, v2, dot.junit.opcodes.iget_short.d.T_iget_short_15.i1 C return-void .end method
D
instance STRF_8140_Addon_Sklave(Npc_Default) { name[0] = NAME_Addon_Sklave_Orc; guild = GIL_STRF; id = 8140; voice = 3; flags = 0; npcType = NPCTYPE_BL_AMBIENT; aivar[AIV_NoFightParker] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; B_SetAttributesToChapter(self,2); fight_tactic = FAI_HUMAN_COWARD; B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_P_NormalBart01,BodyTex_P,ItAr_OrcMine_Slave); Mdl_SetModelFatness(self,0); EquipItem(self,ItMw_StoneHammer); Mdl_ApplyOverlayMds(self,"Humans_Tired.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,10); daily_routine = Rtn_Start_8140; }; func void Rtn_Start_8140() { TA_Pick_Iron(8,0,23,0,"RT_MINE_8140"); TA_Pick_Iron(23,0,8,0,"RT_MINE_8140"); }; func void Rtn_Tot_8140() { TA_Sleep(8,0,23,0,"TOT"); TA_Sleep(23,0,8,0,"TOT"); };
D
an Iranian language spoken in Afghanistan
D
/Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/Debugging.build/Demangler.swift.o : /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/Debuggable.swift /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/SourceLocation.swift /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/Demangler.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/Debugging.build/Demangler~partial.swiftmodule : /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/Debuggable.swift /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/SourceLocation.swift /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/Demangler.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/Debugging.build/Demangler~partial.swiftdoc : /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/Debuggable.swift /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/SourceLocation.swift /Users/christian/GitHub/Tweescord/.build/checkouts/core/Sources/Debugging/Demangler.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap
D
instance DIA_Skip_Exit(C_Info) { npc = Grd_211_Skip; nr = 999; condition = DIA_Skip_Exit_Condition; information = DIA_Skip_Exit_Info; permanent = 1; description = DIALOG_ENDE; }; func int DIA_Skip_Exit_Condition() { return 1; }; func void DIA_Skip_Exit_Info() { AI_StopProcessInfos(self); }; var int Skip_TradeFree; instance DIA_Skip_First(C_Info) { npc = Grd_211_Skip; nr = 1; condition = DIA_Skip_First_Condition; information = DIA_Skip_First_Info; permanent = 0; description = "Czym się tutaj zajmujesz?"; }; func int DIA_Skip_First_Condition() { if(!((Npc_GetTrueGuild(other) == GIL_STT) || (Npc_GetTrueGuild(other) == GIL_GRD) || (Npc_GetTrueGuild(other) == GIL_KDF))) { return 1; }; }; func void DIA_Skip_First_Info() { AI_Output(other,self,"DIA_Skip_First_15_00"); //Czym się tutaj zajmujesz? AI_Output(self,other,"DIA_Skip_First_12_01"); //Dbam o broń strażników. AI_Output(other,self,"DIA_Skip_First_15_02"); //Sprzedajesz oręż? AI_Output(self,other,"DIA_Skip_First_12_03"); //Też, ale tylko Gomezowi i jego ludziom. if(!Npc_KnowsInfo(hero,DIA_Raven_Equipment)) { Log_CreateTopic(GE_TraderOC,LOG_NOTE); B_LogEntry(GE_TraderOC,"Skip, strażnik z tylnego dziedzińca, sprzedaje oręż, ale tylko ludziom Gomeza."); }; Info_ClearChoices(DIA_Skip_First); Info_AddChoice(DIA_Skip_First,"Rozumiem. Do zobaczenia.",DIA_Skip_First_BACK); Info_AddChoice(DIA_Skip_First,"Przysyła mnie Thorus. Kazał mi wybrać sobie jakąś broń.",DIA_Skip_First_Thorus); Info_AddChoice(DIA_Skip_First,"Przysyła mnie Gomez. Podobno masz dla mnie jakieś wyposażenie.",DIA_Skip_First_Gomez); }; func void DIA_Skip_First_Gomez() { AI_Output(other,self,"DIA_Skip_First_Gomez_15_00"); //Przysyła mnie Gomez. Podobno masz dla mnie jakieś wyposażenie. AI_Output(self,other,"DIA_Skip_First_Gomez_12_01"); //To co zwykle, tak? Nowy pancerz i najlepsza broń, jaką mam na składzie. AI_Output(self,other,"DIA_Skip_First_Gomez_12_02"); //Wynoś się, albo cię stąd wyniosą! Info_ClearChoices(DIA_Skip_First); AI_StopProcessInfos(self); }; func void DIA_Skip_First_Thorus() { AI_Output(other,self,"DIA_Skip_First_Thorus_15_00"); //Przysyła mnie Thorus. Kazał mi wybrać sobie jakąś broń. AI_Output(self,other,"DIA_Skip_First_Thorus_12_01"); //Czyżby? Info_ClearChoices(DIA_Skip_First); Info_AddChoice(DIA_Skip_First,"Jeśli mi nie wierzysz, idź i sam go zapytaj.",DIA_Skip_First_Thorus_AskHim); Info_AddChoice(DIA_Skip_First,"Powiedział, że mam ci dać porządnego kopa w dupę.",DIA_Skip_First_Thorus_KickAss); Info_AddChoice(DIA_Skip_First,"Widzisz, mam zrobić coś, czego nie może zrobić żaden z ludzi Gomeza.",DIA_Skip_First_Thorus_Stranger); }; func void DIA_Skip_First_BACK() { AI_Output(other,self,"DIA_Skip_First_BACK_15_00"); //Rozumiem. Do zobaczenia. Info_ClearChoices(DIA_Skip_First); AI_StopProcessInfos(self); }; func void DIA_Skip_First_Thorus_Stranger() { AI_Output(other,self,"DIA_Skip_First_Thorus_Stranger_15_00"); //Widzisz, mam zrobić dla niego coś, czego nie może zrobić żaden z ludzi Gomeza. AI_Output(self,other,"DIA_Skip_First_Thorus_Stranger_12_01"); //Tak? I pewnie stary Thorus nie ma nic lepszego do roboty niż przysyłać cię do mnie, co? Info_ClearChoices(DIA_Skip_First); Info_AddChoice(DIA_Skip_First,"Jeśli mi nie wierzysz, idź i sam go zapytaj.",DIA_Skip_First_Thorus_AskHim); Info_AddChoice(DIA_Skip_First,"Powiedział, że mam ci dać porządnego kopa w dupę.",DIA_Skip_First_Thorus_KickAssAGAIN); }; func void DIA_Skip_First_Thorus_KickAss() { AI_Output(other,self,"DIA_Skip_First_Thorus_KickAss_15_00"); //Powiedział, że mam ci dać porządnego kopa w dupę jeśli będziesz sprawiał kłopoty. AI_Output(self,other,"DIA_Skip_First_Thorus_KickAss_12_01"); //Naprawdę? Wiesz co? Zrobimy inaczej: jeśli nie wyjdziesz stąd w tej chwili, to TY dostaniesz kopa w dupę! Info_ClearChoices(DIA_Skip_First); AI_StopProcessInfos(self); }; func void DIA_Skip_First_Thorus_AskHim() { AI_Output(other,self,"DIA_Skip_First_Thorus_AskHim_15_00"); //Jeśli mi nie wierzysz, idź i sam go zapytaj. AI_Output(self,other,"DIA_Skip_First_Thorus_AskHim_12_01"); //Oczywiście, że zapytam! Ale nie teraz. Założę się, że zainteresują go historie, które o nim opowiadasz. AI_Output(self,other,"DIA_Skip_First_Thorus_AskHim_12_02"); //Nie wiem kto cię tu wpuścił, ale radziłbym ci wynosić się stąd, póki jeszcze możesz. Info_ClearChoices(DIA_Skip_First); AI_StopProcessInfos(self); }; func void DIA_Skip_First_Thorus_KickAssAGAIN() { AI_Output(other,self,"DIA_Skip_First_Thorus_KickAssAGAIN_15_00"); //Powiedział, że mam ci dać porządnego kopa w dupę jeśli będziesz sprawiał kłopoty. AI_Output(self,other,"DIA_Skip_First_Thorus_KickAssAGAIN_12_01"); //Dobra, stary, czego potrzebujesz? Info_ClearChoices(DIA_Skip_First); Skip_TradeFree = TRUE; }; instance DIA_Skip_VERPATZT(C_Info) { npc = Grd_211_Skip; nr = 1; condition = DIA_Skip_VERPATZT_Condition; information = DIA_Skip_VERPATZT_Info; permanent = 1; description = "Pomyślałem, że zajrzę do ciebie i zapytam o to wyposażenie..."; }; func int DIA_Skip_VERPATZT_Condition() { if(!((Npc_GetTrueGuild(other) == GIL_STT) || (Npc_GetTrueGuild(other) == GIL_GRD) || (Npc_GetTrueGuild(other) == GIL_KDF)) && (Npc_KnowsInfo(hero,DIA_Skip_First) && (Skip_TradeFree == FALSE))) { return 1; }; }; func void DIA_Skip_VERPATZT_Info() { AI_Output(other,self,"DIA_Skip_VERPATZT_15_00"); //Pomyślałem, że zajrzę do ciebie i zapytam o to wyposażenie... AI_Output(self,other,"DIA_Skip_VERPATZT_12_01"); //Spadaj! }; instance GRD_211_Skip_TRADE(C_Info) { npc = Grd_211_Skip; condition = GRD_211_Skip_TRADE_Condition; information = GRD_211_Skip_TRADE_Info; permanent = 1; description = "Przydałoby mi się kilka drobiazgów."; trade = 1; }; func int GRD_211_Skip_TRADE_Condition() { if((Npc_GetTrueGuild(other) == GIL_STT) || (Npc_GetTrueGuild(other) == GIL_GRD) || (Npc_GetTrueGuild(other) == GIL_KDF) || (Skip_TradeFree == TRUE)) { return TRUE; }; }; func void GRD_211_Skip_TRADE_Info() { AI_Output(other,self,"GRD_211_Skip_TRADE_Info_15_01"); //Przydałoby mi się kilka drobiazgów. AI_Output(self,other,"GRD_211_Skip_TRADE_Info_12_02"); //Mam kilka drobiazgów na sprzedaż. }; instance GRD_211_Skip_WELCOME(C_Info) { npc = Grd_211_Skip; condition = GRD_211_Skip_WELCOME_Condition; information = GRD_211_Skip_WELCOME_Info; important = 1; permanent = 0; }; func int GRD_211_Skip_WELCOME_Condition() { if(Npc_GetTrueGuild(hero) == GIL_GRD) { return TRUE; }; }; func void GRD_211_Skip_WELCOME_Info() { AI_Output(self,other,"GRD_211_Skip_WELCOME_Info_12_01"); //Hej, daleko zaszedłeś, jak na kogoś, kto jest tu tak krótko. };
D
var int PrayIdolDay; var int RecievedMoney; var int GivenHitpoints; var int GivenMana; const int BeliarsDispo = 10000; //Joly: Gold, die Beliar im ganzen Spiel überhaupt hat. func void B_HitpointAngleich (var int BeliarsCost) { var int CurrentHitpoints; GivenHitpoints = GivenHitpoints + BeliarsCost; hero.attribute[ATR_HITPOINTS_MAX] = (hero.attribute[ATR_HITPOINTS_MAX] - BeliarsCost); CurrentHitpoints = (hero.attribute[ATR_HITPOINTS] - BeliarsCost); if (CurrentHitpoints < 2) { CurrentHitpoints = 2; }; hero.attribute[ATR_HITPOINTS] = CurrentHitpoints; }; func void B_ManaAngleich (var int BeliarsCost) { var int CurrentMana; GivenMana = GivenMana + BeliarsCost; hero.attribute[ATR_MANA_MAX] = (hero.attribute[ATR_MANA_MAX] - BeliarsCost); hero.aivar[REAL_MANA_MAX] = hero.aivar[REAL_MANA_MAX] - BeliarsCost; CurrentMana = (hero.attribute[ATR_MANA] - BeliarsCost); if (CurrentMana < 0) { CurrentMana = 0; }; hero.attribute[ATR_MANA] = CurrentMana; }; func void B_BlitzInArsch () { var int BlitzInArsch_Hitpoints; var int CurrentHitpoints; var int Abzug; CurrentHitpoints = hero.attribute[ATR_HITPOINTS]; BlitzInArsch_Hitpoints = ((CurrentHitpoints * 4)/5); if (BlitzInArsch_Hitpoints < 2) { BlitzInArsch_Hitpoints = 2; }; Abzug = hero.attribute[ATR_HITPOINTS] - BlitzInArsch_Hitpoints; if (Abzug > 0) { var string concatText1; var string concatText2; concatText1 = ConcatStrings(" ", NAME_Damage); concatText2 = ConcatStrings(IntToString(Abzug), concatText1); AI_PrintScreen (concatText2, -1, YPOS_GoldTaken, FONT_ScreenSmall, 2); Wld_PlayEffect("spellFX_BELIARSRAGE", hero, hero, 0, 0, 0, FALSE ); }; hero.attribute[ATR_HITPOINTS] = BlitzInArsch_Hitpoints; }; func void B_GetBeliarsGold (var int Kohle) { RecievedMoney = (RecievedMoney + Kohle); if (RecievedMoney > BeliarsDispo) { Kohle = 100; }; var string concatText1; var string concatText2; CreateInvItems (hero, ItMi_Gold, Kohle); concatText1 = ConcatStrings(IntToString(Kohle), " "); concatText2 = ConcatStrings(concatText1, PRINT_GoldErhalten); AI_PrintScreen (concatText2, -1, YPOS_GoldTaken, FONT_ScreenSmall, 2); }; // **************************************************** // PrayIdol_S1 // -------------- // Funktion wird durch -Benutzung aufgerufen! // ***************************************************** FUNC VOID PrayIdol_S1 () { var C_NPC her; her = Hlp_GetNpc(PC_Hero); if (Hlp_GetInstanceID(self)==Hlp_GetInstanceID(her)) { Wld_PlayEffect("DEMENTOR_FX", hero, hero, 0, 0, 0, FALSE ); self.aivar[AIV_INVINCIBLE] = TRUE; PLAYER_MOBSI_PRODUCTION = MOBSI_PRAYIDOL; Ai_ProcessInfos (her); }; }; //******************************************************* // PrayIdol Dialog abbrechen //******************************************************* INSTANCE PC_PrayIdol_End (C_Info) { npc = PC_Hero; nr = 999; condition = PC_PrayIdol_End_Condition; information = PC_PrayIdol_End_Info; permanent = TRUE; description = DIALOG_ENDE; }; FUNC INT PC_PrayIdol_End_Condition () { if (PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYIDOL) { return TRUE; }; }; FUNC VOID PC_PrayIdol_End_Info() { B_ENDPRODUCTIONDIALOG (); }; //******************************************************* // Beten //******************************************************* INSTANCE PC_PrayIdol_PrayIdol (C_Info) { npc = PC_Hero; nr = 2; condition = PC_PrayIdol_PrayIdol_Condition; information = PC_PrayIdol_PrayIdol_Info; permanent = TRUE; description = NAME_ADDON_BETEN; //ADDON }; FUNC INT PC_PrayIdol_PrayIdol_Condition () { if (PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYIDOL) { return TRUE; }; }; FUNC VOID PC_PrayIdol_PrayIdol_Info() { Info_ClearChoices (PC_PrayIdol_PrayIdol); Info_AddChoice (PC_PrayIdol_PrayIdol,Dialog_Back,PC_PrayIdol_PrayIdol_Back); Info_AddChoice (PC_PrayIdol_PrayIdol , NAME_ADDON_PRAYIDOL_GIVENOTHING ,PC_PrayIdol_PrayIdol_NoPay); if (GivenHitpoints <= 50) { if (hero.attribute[ATR_HITPOINTS_MAX] >= 40)//Joly:nicht weniger -> Uncoscious { Info_AddChoice (PC_PrayIdol_PrayIdol, NAME_ADDON_PRAYIDOL_GIVEHITPOINT1 ,PC_PrayIdol_PrayIdol_SmallPay); }; if (hero.attribute[ATR_HITPOINTS_MAX] >= 40) { Info_AddChoice (PC_PrayIdol_PrayIdol, NAME_ADDON_PRAYIDOL_GIVEHITPOINT2 ,PC_PrayIdol_PrayIdol_MediumPay); }; if (hero.attribute[ATR_HITPOINTS_MAX] >= 40) { Info_AddChoice (PC_PrayIdol_PrayIdol, NAME_ADDON_PRAYIDOL_GIVEHITPOINT3 ,PC_PrayIdol_PrayIdol_BigPay); }; }; if (GivenMana <= 10) { if (hero.attribute[ATR_MANA_MAX] > 10) { Info_AddChoice (PC_PrayIdol_PrayIdol, NAME_ADDON_PRAYIDOL_GIVEMANA ,PC_PrayIdol_PrayIdol_ManaPay); }; }; }; FUNC VOID PC_PrayIdol_PrayIdol_Back () { Info_ClearChoices (PC_PrayIdol_PrayIdol); }; //**************** // Nichts gespendet //**************** FUNC VOID PC_PrayIdol_PrayIdol_NoPay () { B_BlitzInArsch (); Info_ClearChoices (PC_PrayIdol_PrayIdol); }; //**************** // 1 LebensEnergie //**************** FUNC VOID PC_PrayIdol_PrayIdol_SmallPay () { B_HitpointAngleich (1); //----- Heute Schon gebetet? ----- if (PrayIdolDay == Wld_GetDay()) || (RecievedMoney >= BeliarsDispo) { B_BlitzInArsch (); } else { //----- SC ist Paladin / KDF ------ if ((hero.guild == GIL_PAL)||(hero.guild == GIL_KDF)) { B_GetBeliarsGold (25); } else //alle anderen { B_GetBeliarsGold (50); }; }; PrayIdolDay = Wld_GetDay (); Info_ClearChoices (PC_PrayIdol_PrayIdol); }; //**************** // 2 LebensEnergie //**************** FUNC VOID PC_PrayIdol_PrayIdol_MediumPay () { B_HitpointAngleich (5); //----- Heute Schon gebetet? ----- if (PrayIdolDay == Wld_GetDay()) || (RecievedMoney >= BeliarsDispo) { B_BlitzInArsch (); } else { //----- SC ist Paladin / KDF ------ if ((hero.guild == GIL_PAL)||(hero.guild == GIL_KDF)) { B_GetBeliarsGold (125); } else //alle anderen { B_GetBeliarsGold (250); }; }; PrayIdolDay = Wld_GetDay (); Info_ClearChoices (PC_PrayIdol_PrayIdol); }; //**************** // 10 LebensEnergie oder 1 Mana //**************** func VOID PC_PrayIdol_PrayIdol_BigPayManaPay () { if (PrayIdolDay == Wld_GetDay()) || (RecievedMoney >= BeliarsDispo) { B_BlitzInArsch (); } else { //----- SC ist Paladin / KDF ------ if ((hero.guild == GIL_PAL)||(hero.guild == GIL_KDF)) { B_GetBeliarsGold (250); } else //alle anderen { B_GetBeliarsGold (500); }; }; PrayIdolDay = Wld_GetDay (); Info_ClearChoices (PC_PrayIdol_PrayIdol); }; FUNC VOID PC_PrayIdol_PrayIdol_BigPay () { B_HitpointAngleich (10); PC_PrayIdol_PrayIdol_BigPayManaPay (); }; FUNC VOID PC_PrayIdol_PrayIdol_ManaPay () { B_ManaAngleich (1); PC_PrayIdol_PrayIdol_BigPayManaPay (); }; //******************************************************* // SchwertWeihe //******************************************************* INSTANCE PC_PrayShrine_UPGRATEBELIARSWEAPON (C_Info) { npc = PC_Hero; nr = 2; condition = PC_PrayShrine_UPGRATEBELIARSWEAPON_Condition; information = PC_PrayShrine_UPGRATEBELIARSWEAPON_Info; permanent = TRUE; description = NAME_ADDON_UPGRATEBELIARSWEAPON; }; FUNC INT PC_PrayShrine_UPGRATEBELIARSWEAPON_Condition () { if (PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYIDOL) && ((C_ScCanUpgrateBeliarsWeapon ()) == TRUE) && ((C_ScHasBeliarsWeapon ()) == TRUE) { return TRUE; }; }; FUNC VOID PC_PrayShrine_UPGRATEBELIARSWEAPON_Info() { B_ClearBeliarsWeapon (); B_UpgrateBeliarsWeapon (); };
D
// REQUIRED_ARGS: -d /* TEST_OUTPUT: --- fail_compilation/ice17831.d(19): Error: `case` variable `i` declared at fail_compilation/ice17831.d(17) cannot be declared in `switch` body fail_compilation/ice17831.d(33): Error: `case` variable `i` declared at fail_compilation/ice17831.d(31) cannot be declared in `switch` body fail_compilation/ice17831.d(48): Error: `case` variable `i` declared at fail_compilation/ice17831.d(45) cannot be declared in `switch` body fail_compilation/ice17831.d(61): Error: `case` variable `i` declared at fail_compilation/ice17831.d(60) cannot be declared in `switch` body fail_compilation/ice17831.d(73): Error: `case` variable `i` declared at fail_compilation/ice17831.d(72) cannot be declared in `switch` body --- */ void test17831a() { switch (0) { foreach (i; 0 .. 5) { case i: break; } default: break; } } void test17831b() { switch (0) { for (int i = 0; i < 5; i++) { case i: break; } default: break; } } void test17831c() { switch (0) { int i = 0; while (i++ < 5) { case i: break; } default: break; } } void test17831d() { switch (0) { int i = 0; case i: break; default: break; } } void test17831e() { switch (0) { static int i = 0; case i: break; default: break; } }
D
interface I{ } class C: D{ } // error class D: C{ } immutable int u = v; // error immutable int v = u; const int cu = cv; // error const int cv = cu; int duh(typeof(guh) duh){} // error typeof(duh)* duh(typeof(duh)* duh){return 1;} // error int duh(typeof(guh)){return 1;} int guh(typeof(duh)){return 2;} int circdep1(){enum x = circdep2(); return x;} // error int circdep2(){enum y = circdep1(); return y;} // TODO: investigate error message situation: the tail call in circdep3 loses information int circdep3(bool b){enum x = circdep4(); return x;} int circdep4(){auto y=circdep5(0); return y;} int circdep5(bool b){auto y=circdep3(0); return y;} // error struct AA{ typeof(AAA.y) x; // error struct AAA{ static typeof(AA.x) y; } } // evil! enum a = b, b = is(typeof(a)); // error enum c = is(typeof(c)); // error auto foo(){ static if(is(typeof(bar())==int)) return 1.0; // error else return 1; } auto bar(){ static if(is(typeof(foo())==int)) return foo(); else return 1.0; } template A(){ enum V=B!().V; // error } template B(){ enum V=A!().V; } enum x = A!(); struct Str{ immutable a = b; // error immutable b = a; immutable int c = d; // error immutable int d = c; template TT(){ immutable int TT=x; // error } immutable int x=y; immutable int y=TT!(); } // +/
D
<?xml version="1.0" encoding="ASCII" standalone="no"?> <di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0"> <pageList> <availablePage> <emfPageIdentifier href="VAR_5_MobileMedia-1271785814.notation#_copSALmGEeKQQp7P9cQvNQ"/> </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="VAR_5_MobileMedia-1271785814.notation#_copSALmGEeKQQp7P9cQvNQ"/> </children> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
// Written in the D programming language. /** JavaScript Object Notation Copyright: Copyright Jeremie Pelletier 2008 - 2009. License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. Authors: Jeremie Pelletier References: $(LINK http://json.org/) Source: $(PHOBOSSRC std/_json.d) */ /* Copyright Jeremie Pelletier 2008 - 2009. 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) */ //module std.json; module vjson; import std.ascii; import std.conv; import std.range; import std.utf; import std.format; import std.variant; private { // Prevent conflicts from these generic names alias std.utf.stride UTFStride; alias std.utf.decode toUnicode; } /** JSON type enumeration */ enum JSON_TYPE : byte { /// Indicates the type of a $(D JSONValue). STRING, INTEGER, /// ditto FLOAT, /// ditto OBJECT, /// ditto ARRAY, /// ditto TRUE, /// ditto FALSE, /// ditto NULL /// ditto } /** JSON value node */ struct JSONValue { union { /// Value when $(D type) is $(D JSON_TYPE.STRING) string str; /// Value when $(D type) is $(D JSON_TYPE.INTEGER) long integer; /// Value when $(D type) is $(D JSON_TYPE.FLOAT) real floating; /// Value when $(D type) is $(D JSON_TYPE.OBJECT) JSONValue[string] object; /// Value when $(D type) is $(D JSON_TYPE.ARRAY) JSONValue[] array; } /// Specifies the _type of the value stored in this structure. JSON_TYPE type; // use formattedWrite since format() doesn't do enums long getLong() { if (this.type != JSON_TYPE.INTEGER) { auto writer = appender!string(); formattedWrite(writer, "this is a %s type not an INTEGER",this.type); throw new Exception(writer.data); } return this.integer; } real getReal() { if (this.type != JSON_TYPE.FLOAT) { auto writer = appender!string(); formattedWrite(writer, "this is a %s type not an FLOAT",this.type); throw new Exception(writer.data); } return this.floating; } string getString() { if (this.type != JSON_TYPE.STRING) { auto writer = appender!string(); formattedWrite(writer, "this is a %s type not an STRING",this.type); throw new Exception(writer.data); } return this.str; } bool getBool() { bool bval; if (this.type == JSON_TYPE.TRUE) { bval = true; } else if (this.type == JSON_TYPE.FALSE) { bval = false; } else { auto writer = appender!string(); formattedWrite(writer, "this is a %s type not a boolean",this.type); throw new Exception(writer.data); } return bval; } JSONValue[] getArray() { if (this.type != JSON_TYPE.ARRAY) { auto writer = appender!string(); formattedWrite(writer, "this is a %s type not an ARRAY",this.type); throw new Exception(writer.data); } return this.array; } JSONValue[string] getDict() { if (this.type != JSON_TYPE.OBJECT) { auto writer = appender!string(); formattedWrite(writer, "this is a %s type not an OBJECT",this.type); throw new Exception(writer.data); } return this.object; } // for number types we can do coercion to other numbers // and strings T coerce(T)() { Variant v; if (this.type == JSON_TYPE.INTEGER) { v = this.integer; } else if (this.type == JSON_TYPE.FLOAT) { v = this.floating; } else { auto writer = appender!string(); formattedWrite(writer, "coerce requires INTEGER or FLOAT, this is a %s",this.type); throw new Exception(writer.data); } return v.coerce!T(); } } /** Parses a serialized string and returns a tree of JSON values. */ JSONValue parseJSON(T)(T json, int maxDepth = -1) if(isInputRange!T) { JSONValue root = void; root.type = JSON_TYPE.NULL; if(json.empty()) return root; int depth = -1; dchar next = 0; int line = 1, pos = 1; void error(string msg) { throw new JSONException(msg, line, pos); } dchar peekChar() { if(!next) { if(json.empty()) return '\0'; next = json.front(); json.popFront(); } return next; } void skipWhitespace() { while(isWhite(peekChar())) next = 0; } dchar getChar(bool SkipWhitespace = false)() { static if(SkipWhitespace) skipWhitespace(); dchar c = void; if(next) { c = next; next = 0; } else { if(json.empty()) error("Unexpected end of data."); c = json.front(); json.popFront(); } if(c == '\n' || (c == '\r' && peekChar() != '\n')) { line++; pos = 1; } else { pos++; } return c; } void checkChar(bool SkipWhitespace = true, bool CaseSensitive = true)(char c) { static if(SkipWhitespace) skipWhitespace(); auto c2 = getChar(); static if(!CaseSensitive) c2 = toLower(c2); if(c2 != c) error(text("Found '", c2, "' when expecting '", c, "'.")); } bool testChar(bool SkipWhitespace = true, bool CaseSensitive = true)(char c) { static if(SkipWhitespace) skipWhitespace(); auto c2 = peekChar(); static if (!CaseSensitive) c2 = toLower(c2); if(c2 != c) return false; getChar(); return true; } string parseString() { auto str = appender!string(); Next: switch(peekChar()) { case '"': getChar(); break; case '\\': getChar(); auto c = getChar(); switch(c) { case '"': str.put('"'); break; case '\\': str.put('\\'); break; case '/': str.put('/'); break; case 'b': str.put('\b'); break; case 'f': str.put('\f'); break; case 'n': str.put('\n'); break; case 'r': str.put('\r'); break; case 't': str.put('\t'); break; case 'u': dchar val = 0; foreach_reverse(i; 0 .. 4) { auto hex = toUpper(getChar()); if(!isHexDigit(hex)) error("Expecting hex character"); val += (isDigit(hex) ? hex - '0' : hex - ('A' - 10)) << (4 * i); } char[4] buf = void; str.put(toUTF8(buf, val)); break; default: error(text("Invalid escape sequence '\\", c, "'.")); } goto Next; default: auto c = getChar(); appendJSONChar(&str, c, &error); goto Next; } return str.data; } void parseValue(JSONValue* value) { depth++; if(maxDepth != -1 && depth > maxDepth) error("Nesting too deep."); auto c = getChar!true(); switch(c) { case '{': value.type = JSON_TYPE.OBJECT; value.object = null; if(testChar('}')) break; do { checkChar('"'); string name = parseString(); checkChar(':'); JSONValue member = void; parseValue(&member); value.object[name] = member; } while(testChar(',')); checkChar('}'); break; case '[': value.type = JSON_TYPE.ARRAY; value.array = null; if(testChar(']')) break; do { JSONValue element = void; parseValue(&element); value.array ~= element; } while(testChar(',')); checkChar(']'); break; case '"': value.type = JSON_TYPE.STRING; value.str = parseString(); break; case '0': .. case '9': case '-': auto number = appender!string(); bool isFloat; void readInteger() { if(!isDigit(c)) error("Digit expected"); Next: number.put(c); if(isDigit(peekChar())) { c = getChar(); goto Next; } } if(c == '-') { number.put('-'); c = getChar(); } readInteger(); if(testChar('.')) { isFloat = true; number.put('.'); c = getChar(); readInteger(); } if(testChar!(false, false)('e')) { isFloat = true; number.put('e'); if(testChar('+')) number.put('+'); else if(testChar('-')) number.put('-'); c = getChar(); readInteger(); } string data = number.data; if(isFloat) { value.type = JSON_TYPE.FLOAT; //value.floating = parse!real(data); value.floating = data.to!real(); } else { value.type = JSON_TYPE.INTEGER; //value.integer = parse!long(data); value.integer = data.to!long(); } break; case 't': case 'T': value.type = JSON_TYPE.TRUE; checkChar!(false, false)('r'); checkChar!(false, false)('u'); checkChar!(false, false)('e'); break; case 'f': case 'F': value.type = JSON_TYPE.FALSE; checkChar!(false, false)('a'); checkChar!(false, false)('l'); checkChar!(false, false)('s'); checkChar!(false, false)('e'); break; case 'n': case 'N': value.type = JSON_TYPE.NULL; checkChar!(false, false)('u'); checkChar!(false, false)('l'); checkChar!(false, false)('l'); break; default: error(text("Unexpected character '", c, "'.")); } depth--; } parseValue(&root); return root; } /** Takes a tree of JSON values and returns the serialized string. */ string toJSON(in JSONValue* root) { auto json = appender!string(); void toString(string str) { json.put('"'); foreach (dchar c; str) { switch(c) { case '"': json.put("\\\""); break; case '\\': json.put("\\\\"); break; //case '/': json.put("\\/"); break; case '\b': json.put("\\b"); break; case '\f': json.put("\\f"); break; case '\n': json.put("\\n"); break; case '\r': json.put("\\r"); break; case '\t': json.put("\\t"); break; default: appendJSONChar(&json, c, (string msg){throw new JSONException(msg);}); } } json.put('"'); } void toValue(in JSONValue* value) { final switch(value.type) { case JSON_TYPE.OBJECT: json.put('{'); bool first = true; foreach(name, member; value.object) { if(first) first = false; else json.put(','); toString(name); json.put(':'); toValue(&member); } json.put('}'); break; case JSON_TYPE.ARRAY: json.put('['); auto length = value.array.length; foreach (i; 0 .. length) { if(i) json.put(','); toValue(&value.array[i]); } json.put(']'); break; case JSON_TYPE.STRING: toString(value.str); break; case JSON_TYPE.INTEGER: json.put(to!string(value.integer)); break; case JSON_TYPE.FLOAT: json.put(to!string(value.floating)); break; case JSON_TYPE.TRUE: json.put("true"); break; case JSON_TYPE.FALSE: json.put("false"); break; case JSON_TYPE.NULL: json.put("null"); break; } } toValue(root); return json.data; } private void appendJSONChar(Appender!string* dst, dchar c, scope void delegate(string) error) { if(isControl(c)) error("Illegal control character."); dst.put(c); // int stride = UTFStride((&c)[0 .. 1], 0); // if(stride == 1) { // if(isControl(c)) error("Illegal control character."); // dst.put(c); // } // else { // char[6] utf = void; // utf[0] = c; // foreach(i; 1 .. stride) utf[i] = next; // size_t index = 0; // if(isControl(toUnicode(utf[0 .. stride], index))) // error("Illegal control character"); // dst.put(utf[0 .. stride]); // } } /** Exception thrown on JSON errors */ class JSONException : Exception { this(string msg, int line = 0, int pos = 0) { if(line) super(text(msg, " (Line ", line, ":", pos, ")")); else super(msg); } } version(unittest) import std.stdio; unittest { // An overly simple test suite, if it can parse a serializated string and // then use the resulting values tree to generate an identical // serialization, both the decoder and encoder works. auto jsons = [ `null`, `true`, `false`, `0`, `123`, `-4321`, `0.23`, `-0.23`, `""`, `1.223e+24`, `"hello\nworld"`, `"\"\\\/\b\f\n\r\t"`, `[]`, `[12,"foo",true,false]`, `{}`, `{"a":1,"b":null}`, // Currently broken // `{"hello":{"json":"is great","array":[12,null,{}]},"goodbye":[true,"or",false,["test",42,{"nested":{"a":23.54,"b":0.0012}}]]}` ]; JSONValue val; string result; foreach(json; jsons) { try { val = parseJSON(json); result = toJSON(&val); assert(result == json, text(result, " should be ", json)); } catch(JSONException e) { writefln(text(json, "\n", e.toString())); } } // Should be able to correctly interpret unicode entities val = parseJSON(`"\u003C\u003E"`); assert(toJSON(&val) == "\"\&lt;\&gt;\""); val = parseJSON(`"\u0391\u0392\u0393"`); assert(toJSON(&val) == "\"\&Alpha;\&Beta;\&Gamma;\""); val = parseJSON(`"\u2660\u2666"`); assert(toJSON(&val) == "\"\&spades;\&diams;\""); // type safe methods for getting data val = parseJSON("3452"); assert(3452 == val.getLong()); val = parseJSON("3.14"); assert(3.14 == val.getReal()); val = parseJSON(`"stuff"`); assert("stuff" == val.getString()); val = parseJSON("true"); assert(true == val.getBool()); val = parseJSON("false"); assert(false == val.getBool()); val = parseJSON("34"); assert(34 == val.coerce!int()); assert("34" == val.coerce!string()); val = parseJSON("3.14"); assert(3 == val.coerce!long()); val = parseJSON(`[3,"stuff",5.772]`); auto tarr = val.getArray(); assert(3 == tarr[0].getLong()); assert("stuff" == tarr[1].getString()); assert(5.772 == tarr[2].getReal()); val = parseJSON(`{"a": 66, "hey":"there", "flt":3.14}`); auto tdict = val.getDict(); assert(66 == tdict["a"].getLong()); assert("there" == tdict["hey"].getString()); assert(3.14 == tdict["flt"].getReal()); }
D
/Users/lanussebaptiste/Desktop/CubeSavinien/Build/Intermediates/CubeSavinien.build/Debug-iphonesimulator/CubeSavinien.build/Objects-normal/i386/ArcLayer.o : /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/BottomViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/RightViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/TopViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/OvalLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/HolderView.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/FrontViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/RectangleLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/LeftViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ArcLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/TriangleLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/Colors.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ContainerViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/CoreImage.swiftmodule /Users/lanussebaptiste/Desktop/CubeSavinien/Build/Intermediates/CubeSavinien.build/Debug-iphonesimulator/CubeSavinien.build/Objects-normal/i386/ArcLayer~partial.swiftmodule : /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/BottomViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/RightViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/TopViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/OvalLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/HolderView.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/FrontViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/RectangleLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/LeftViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ArcLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/TriangleLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/Colors.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ContainerViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/CoreImage.swiftmodule /Users/lanussebaptiste/Desktop/CubeSavinien/Build/Intermediates/CubeSavinien.build/Debug-iphonesimulator/CubeSavinien.build/Objects-normal/i386/ArcLayer~partial.swiftdoc : /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/BottomViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/RightViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/TopViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/OvalLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/HolderView.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/FrontViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/RectangleLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/LeftViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ArcLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/TriangleLayer.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/Colors.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/ContainerViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/32/CoreImage.swiftmodule
D
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by 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. .source T_sget_short_15.java .class public dot.junit.opcodes.sget_short.d.T_sget_short_15 .super java/lang/Object .field public static i1 C .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run()V .limit regs 3 sget-short v0, dot.junit.opcodes.sget_short.d.T_sget_short_15.i1 C return-void .end method
D
/** * Padding functions */ module crypto.padding; /** * PKCS#7 padding * * Pad the given string to the given length * The padding byte is the expected length minus the string length * * Params: * str = The string * len = The length to pad to * * Returns: * The padded string */ ubyte[] pkcs7Pad ( ubyte[] str, size_t len ) in { assert(len >= str.length); assert(len - str.length <= ubyte.max); } body { auto pad = cast(char)(len - str.length); return str.padBytes(len, pad); } unittest { import util.strings; assert("YELLOW SUBMARINE".toBytes().pkcs7Pad(20) == "YELLOW SUBMARINE".toBytes() ~ cast(ubyte[])[4, 4, 4, 4]); } /** * Pad the given bytes to the given length with the given byte * * Params: * bytes = The bytes * len = The length * pad = The byte to pad with * * Returns: * The padded byte array */ ubyte[] padBytes ( ubyte[] bytes, size_t len, ubyte pad ) in { assert(len >= bytes.length); } body { while ( bytes.length < len ) { bytes ~= pad; } return bytes; }
D