text:
.class public final Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
.super Lcom/htc/protobuf/GeneratedMessage;
.source "SyncProtocol.java"

# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/cscore/transport/SyncProtocol;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "HSyncItem"
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;,
        Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$HSyncItemType;
    }
.end annotation

# static fields
.field public static final ID_FIELD_NUMBER:I = 0x512

.field public static final SYNCITEMTYPE_FIELD_NUMBER:I = 0x398

.field public static final TIMESTAMP_FIELD_NUMBER:I = 0x211

.field private static final defaultInstance:Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

# instance fields
.field private hasId:Z

.field private hasSyncItemType:Z

.field private hasTimestamp:Z

.field private id_:Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

.field private memoizedSerializedSize:I

.field private syncItemType_:I

.field private timestamp_:J

# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 58460
    new-instance v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    invoke-direct {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;-><init>()V

    sput-object v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->defaultInstance:Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    .line 59134
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol;->getDescriptor()Lcom/htc/protobuf/Descriptors$FileDescriptor;

    .line 59138
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol;->internalForceInit()V

    .line 59139
    return-void
.end method

.method private constructor <init>()V
    .locals 2

    .prologue
    .line 58458
    invoke-direct {p0}, Lcom/htc/protobuf/GeneratedMessage;-><init>()V

    .line 58661
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$UniqueId;->getDefaultInstance()Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    move-result-object v0

    iput-object v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->id_:Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    .line 58672
    const/4 v0, 0x0

    iput v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->syncItemType_:I

    .line 58687
    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->timestamp_:J

    .line 58728
    const/4 v0, -0x1

    iput v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->memoizedSerializedSize:I

    .line 58458
    return-void
.end method

.method synthetic constructor <init>(Lcom/htc/cscore/transport/SyncProtocol$1;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 58455
    invoke-direct {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;-><init>()V

    return-void
.end method

.method static synthetic access$112402(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 58455
    iput-boolean p1, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasId:Z

    return p1
.end method

.method static synthetic access$112500(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;)Lcom/htc/cscore/transport/SyncProtocol$UniqueId;
    .locals 1
    .parameter "x0"

    .prologue
    .line 58455
    iget-object v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->id_:Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    return-object v0
.end method

.method static synthetic access$112502(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;Lcom/htc/cscore/transport/SyncProtocol$UniqueId;)Lcom/htc/cscore/transport/SyncProtocol$UniqueId;
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 58455
    iput-object p1, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->id_:Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    return-object p1
.end method

.method static synthetic access$112602(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 58455
    iput-boolean p1, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasSyncItemType:Z

    return p1
.end method

.method static synthetic access$112702(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;I)I
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 58455
    iput p1, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->syncItemType_:I

    return p1
.end method

.method static synthetic access$112802(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 58455
    iput-boolean p1, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasTimestamp:Z

    return p1
.end method

.method static synthetic access$112902(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;J)J
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 58455
    iput-wide p1, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->timestamp_:J

    return-wide p1
.end method

.method public static getDefaultInstance()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1

    .prologue
    .line 58466
    sget-object v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->defaultInstance:Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    return-object v0
.end method

.method public static final getDescriptor()Lcom/htc/protobuf/Descriptors$Descriptor;
    .locals 1

    .prologue
    .line 58483
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol;->access$111900()Lcom/htc/protobuf/Descriptors$Descriptor;

    move-result-object v0

    return-object v0
.end method

.method public static newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;
    .locals 1

    .prologue
    .line 58833
    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->create()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112200()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public static newBuilder(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;
    .locals 1
    .parameter "prototype"

    .prologue
    .line 58840
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public static parseDelimitedFrom(Ljava/io/InputStream;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "input"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58807
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeDelimitedFrom(Ljava/io/InputStream;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseDelimitedFrom(Ljava/io/InputStream;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "input"
    .parameter "extensionRegistry"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58817
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0, p1}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeDelimitedFrom(Ljava/io/InputStream;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom(Lcom/htc/protobuf/ByteString;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "data"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/htc/protobuf/InvalidProtocolBufferException;
        }
    .end annotation

    .prologue
    .line 58758
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom(Lcom/htc/protobuf/ByteString;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom(Lcom/htc/protobuf/ByteString;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "data"
    .parameter "extensionRegistry"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/htc/protobuf/InvalidProtocolBufferException;
        }
    .end annotation

    .prologue
    .line 58768
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0, p1}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom(Lcom/htc/protobuf/ByteString;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom(Lcom/htc/protobuf/CodedInputStream;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "input"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58823
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom(Lcom/htc/protobuf/CodedInputStream;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom(Lcom/htc/protobuf/CodedInputStream;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "input"
    .parameter "extensionRegistry"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58829
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0, p1}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom(Lcom/htc/protobuf/CodedInputStream;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom(Ljava/io/InputStream;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "input"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58788
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom(Ljava/io/InputStream;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom(Ljava/io/InputStream;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "input"
    .parameter "extensionRegistry"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58798
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0, p1}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom(Ljava/io/InputStream;Lcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom([B)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "data"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/htc/protobuf/InvalidProtocolBufferException;
        }
    .end annotation

    .prologue
    .line 58773
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom([B)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public static parseFrom([BLcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1
    .parameter "data"
    .parameter "extensionRegistry"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/htc/protobuf/InvalidProtocolBufferException;
        }
    .end annotation

    .prologue
    .line 58779
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    invoke-virtual {v0, p0, p1}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->mergeFrom([BLcom/htc/protobuf/ExtensionRegistryLite;)Lcom/htc/protobuf/AbstractMessage$Builder;

    move-result-object v0

    check-cast v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    #calls: Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->buildParsed()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    invoke-static {v0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;->access$112100(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

# virtual methods
.method public getDefaultInstanceForType()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;
    .locals 1

    .prologue
    .line 58474
    sget-object v0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->defaultInstance:Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    return-object v0
.end method

.method public bridge synthetic getDefaultInstanceForType()Lcom/htc/protobuf/Message;
    .locals 1

    .prologue
    .line 58455
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getDefaultInstanceForType()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic getDefaultInstanceForType()Lcom/htc/protobuf/MessageLite;
    .locals 1

    .prologue
    .line 58455
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getDefaultInstanceForType()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;

    move-result-object v0

    return-object v0
.end method

.method public getId()Lcom/htc/cscore/transport/SyncProtocol$UniqueId;
    .locals 1

    .prologue
    .line 58667
    iget-object v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->id_:Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    return-object v0
.end method

.method public getSerializedSize()I
    .locals 5

    .prologue
    .line 58730
    iget v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->memoizedSerializedSize:I

    .line 58731
    .local v0, size:I
    const/4 v2, -0x1

    if-eq v0, v2, :cond_0

    move v1, v0

    .line 58748
    .end local v0           #size:I
    .local v1, size:I
    :goto_0
    return v1

    .line 58733
    .end local v1           #size:I
    .restart local v0       #size:I
    :cond_0
    const/4 v0, 0x0

    .line 58734
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasTimestamp()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 58735
    const/16 v2, 0x211

    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getTimestamp()J

    move-result-wide v3

    invoke-static {v2, v3, v4}, Lcom/htc/protobuf/CodedOutputStream;->computeInt64Size(IJ)I

    move-result v2

    add-int/2addr v0, v2

    .line 58738
    :cond_1
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasSyncItemType()Z

    move-result v2

    if-eqz v2, :cond_2

    .line 58739
    const/16 v2, 0x398

    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getSyncItemType()I

    move-result v3

    invoke-static {v2, v3}, Lcom/htc/protobuf/CodedOutputStream;->computeInt32Size(II)I

    move-result v2

    add-int/2addr v0, v2

    .line 58742
    :cond_2
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasId()Z

    move-result v2

    if-eqz v2, :cond_3

    .line 58743
    const/16 v2, 0x512

    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getId()Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/htc/protobuf/CodedOutputStream;->computeMessageSize(ILcom/htc/protobuf/MessageLite;)I

    move-result v2

    add-int/2addr v0, v2

    .line 58746
    :cond_3
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getUnknownFields()Lcom/htc/protobuf/UnknownFieldSet;

    move-result-object v2

    invoke-virtual {v2}, Lcom/htc/protobuf/UnknownFieldSet;->getSerializedSize()I

    move-result v2

    add-int/2addr v0, v2

    .line 58747
    iput v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->memoizedSerializedSize:I

    move v1, v0

    .line 58748
    .end local v0           #size:I
    .restart local v1       #size:I
    goto :goto_0
.end method

.method public getSyncItemType()I
    .locals 1

    .prologue
    .line 58678
    iget v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->syncItemType_:I

    return v0
.end method

.method public getTimestamp()J
    .locals 2

    .prologue
    .line 58697
    iget-wide v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->timestamp_:J

    return-wide v0
.end method

.method public hasId()Z
    .locals 1

    .prologue
    .line 58666
    iget-boolean v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasId:Z

    return v0
.end method

.method public hasSyncItemType()Z
    .locals 1

    .prologue
    .line 58677
    iget-boolean v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasSyncItemType:Z

    return v0
.end method

.method public hasTimestamp()Z
    .locals 1

    .prologue
    .line 58692
    iget-boolean v0, p0, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasTimestamp:Z

    return v0
.end method

.method protected internalGetFieldAccessorTable()Lcom/htc/protobuf/GeneratedMessage$FieldAccessorTable;
    .locals 1

    .prologue
    .line 58492
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol;->access$112000()Lcom/htc/protobuf/GeneratedMessage$FieldAccessorTable;

    move-result-object v0

    return-object v0
.end method

.method public final isInitialized()Z
    .locals 1

    .prologue
    .line 58704
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasId()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 58705
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getId()Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/cscore/transport/SyncProtocol$UniqueId;->isInitialized()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    .line 58707
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public newBuilderForType()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;
    .locals 1

    .prologue
    .line 58838
    invoke-static {}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic newBuilderForType()Lcom/htc/protobuf/Message$Builder;
    .locals 1

    .prologue
    .line 58455
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilderForType()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic newBuilderForType()Lcom/htc/protobuf/MessageLite$Builder;
    .locals 1

    .prologue
    .line 58455
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilderForType()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public toBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;
    .locals 1

    .prologue
    .line 58846
    invoke-static {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->newBuilder(Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;)Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic toBuilder()Lcom/htc/protobuf/Message$Builder;
    .locals 1

    .prologue
    .line 58455
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->toBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic toBuilder()Lcom/htc/protobuf/MessageLite$Builder;
    .locals 1

    .prologue
    .line 58455
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->toBuilder()Lcom/htc/cscore/transport/SyncProtocol$HSyncItem$Builder;

    move-result-object v0

    return-object v0
.end method

.method public writeTo(Lcom/htc/protobuf/CodedOutputStream;)V
    .locals 3
    .parameter "output"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58716
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasTimestamp()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 58717
    const/16 v0, 0x211

    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getTimestamp()J

    move-result-wide v1

    invoke-virtual {p1, v0, v1, v2}, Lcom/htc/protobuf/CodedOutputStream;->writeInt64(IJ)V

    .line 58719
    :cond_0
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasSyncItemType()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 58720
    const/16 v0, 0x398

    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getSyncItemType()I

    move-result v1

    invoke-virtual {p1, v0, v1}, Lcom/htc/protobuf/CodedOutputStream;->writeInt32(II)V

    .line 58722
    :cond_1
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->hasId()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 58723
    const/16 v0, 0x512

    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getId()Lcom/htc/cscore/transport/SyncProtocol$UniqueId;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/htc/protobuf/CodedOutputStream;->writeMessage(ILcom/htc/protobuf/MessageLite;)V

    .line 58725
    :cond_2
    invoke-virtual {p0}, Lcom/htc/cscore/transport/SyncProtocol$HSyncItem;->getUnknownFields()Lcom/htc/protobuf/UnknownFieldSet;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/htc/protobuf/UnknownFieldSet;->writeTo(Lcom/htc/protobuf/CodedOutputStream;)V

    .line 58726
    return-void
.end method


text:
{% load i18n %}
                <form id="top-search-form" method="get" action="{% url 'search' %}" class="search-form fleft">
                    {% if search_repo_id %}
                    <input type="text" class="search-input" name="q" placeholder="{% if search_wiki %}{% trans "Search files in this wiki" %}{% else %}{% trans "Search files in this library" %}{% endif %}" value="{{ keyword }}" />
                    <input type="hidden" name="search_repo" value="{{ search_repo_id }}" />
                    {% else %}
                    <input type="text" class="search-input" name="q" placeholder="{% trans 'Search Files' %}" value="{{ keyword }}" />
                    {% endif %}
                    <button type="submit" class="search-submit"></button>
                </form>

                <form id="advanced-search-form" method="get" action="{% url 'search' %}" class="search-form hide">
                    <input type="text" class="search-input" name="q" placeholder="{% trans 'Search Files' %}" value="{{ keyword }}" />

                            {% if search_repo_id %}
                            <input type="radio" name="search_repo" value="all" class="vam" /> {% trans "In all libraries" %}
                            <input type="radio" name="search_repo" checked="checked" value="{{ search_repo_id }}" class="vam" /> {% if search_wiki %}{% trans "In this wiki" %}{% else %}{% trans "In this library" %}{% endif %}
                            {% else %}
                                    {% if search_repo and repo %}
                            <input type="radio" name="search_repo" value="all" class="vam" /> {% trans "In all libraries" %}
                            <input type="radio" name="search_repo" value="{{repo.id}}" checked="checked" class="vam" /> {% blocktrans with name=repo.name %}in {{name }}{% endblocktrans %}
                                    {% else %}
                            <input type="radio" name="search_repo" value="all" checked="checked" class="vam" /> {% trans "In all libraries" %}
                                    {% endif %}
                            {% endif %}

                            {% if search_ftypes != 'custom' %}
                            <input type="radio" name="search_ftypes" value="all" checked="checked" class="vam" /> {% trans "All file types" %}
                            <input type="radio" name="search_ftypes" value="custom" class="vam" id="custom-search-ftypes" /> {% trans "Custom file types" %}
                            {% else %}
                            <input type="radio" name="search_ftypes" value="all" class="vam" /> {% trans "All file types" %}
                            <input type="radio" name="search_ftypes" value="custom" checked="checked" class="vam" id="custom-search-ftypes" /> {% trans "Custom file types" %}
                            {% endif %}

                        {% if search_ftypes != 'custom' %}

                        {% else %}

                        {% endif %}
                            {# ftype value should be the same with utils/file_types.py #}

                                <input type="checkbox" name="ftype" value="Text" class="vam" />
                                {% trans "Text files" %}

                                <input type="checkbox" name="ftype" value="Document" class="vam" />
                                {% trans "Documents" %}

                                <input type="checkbox" name="ftype" value="Image" class="vam" />
                                {% trans "Images" %}

                                <input type="checkbox" name="ftype" value="Video" class="vam" />
                                {% trans "Video" %}

                                <input type="checkbox" name="ftype" value="Audio" class="vam" />
                                {% trans "Audio" %}

                                <input type="checkbox" name="ftype" value="SVG" class="vam" />
                                {% trans "svg" %}

                                <input type="checkbox" name="ftype" value="PDF" class="vam" />
                                {% trans "pdf" %}

                                <input type="checkbox" name="ftype" value="Markdown" class="vam" />
                                {% trans "markdown" %}

                            <input type="text" value="{{ input_fileexts }}" name="input_fexts" placeholder="{% trans "Input file extensions here, separate with ','" %}" class="fileext-input" />

{% trans "Please select at least one file type or input at least one file extension" %}

                    <input type="submit" value="{% trans "Submit" %}" class="submit" />
                </form>

redpajama_set_name: RedPajamaGithub


text:
use winapi::minwindef::*;
use winapi::basetsd::*;
use winapi::{LPCSTR, RECT};
use dxgi::DXGI_FORMAT;

use core::enumerations::*;

pub type D3D11_RECT = RECT;

#[repr(C)]
pub struct D3D11_BLEND_DESC {
    pub AlphaToCoverageEnable: BOOL,
    pub IndependentBlendEnable: BOOL,
    pub RenderTarget: [D3D11_RENDER_TARGET_BLEND_DESC; 8],
}

#[repr(C)]
pub struct D3D11_BLEND_DESC1 {
    pub AlphaToCoverageEnable: BOOL,
    pub IndependentBlendEnable: BOOL,
    pub RenderTarget: [D3D11_RENDER_TARGET_BLEND_DESC1; 8],
}

#[repr(C)]
pub struct D3D11_BOX {
    pub left: UINT,
    pub top: UINT,
    pub front: UINT,
    pub right: UINT,
    pub bottom: UINT,
    pub back: UINT,
}

#[repr(C)]
pub struct D3D11_COUNTER_DESC {
    pub Counter: D3D11_COUNTER,
    pub MiscFlags: UINT,
}

#[repr(C)]
pub struct D3D11_COUNTER_INFO {
    pub LastDeviceDependentCounter: D3D11_COUNTER,
    pub NumSimultaneousCounters: UINT,
    pub NumDetectableParallelUnits: UINT8,
}

#[repr(C)]
pub struct D3D11_DEPTH_STENCIL_DESC {
    pub DepthEnable: BOOL,
    pub DepthWriteMask: D3D11_DEPTH_WRITE_MASK,
    pub DepthFunc: D3D11_COMPARISON_FUNC,
    pub StencilEnable: BOOL,
    pub StencilReadMask: UINT8,
    pub StencilWriteMask: UINT8,
    pub FrontFace: D3D11_DEPTH_STENCILOP_DESC,
    pub BackFace: D3D11_DEPTH_STENCILOP_DESC,
}

#[repr(C)]
pub struct D3D11_DEPTH_STENCILOP_DESC {
    pub StencilFailOp: D3D11_STENCIL_OP,
    pub StencilDepthFailOp: D3D11_STENCIL_OP,
    pub StencilPassOp: D3D11_STENCIL_OP,
    pub StencilFunc: D3D11_COMPARISON_FUNC,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_ARCHITECTURE_INFO {
    pub TileBasedDeferredRenderer: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_D3D9_OPTIONS {
    pub FullNonPow2TextureSupport: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT {
    pub SupportsDepthAsTextureWithLessEqualComparisonFilter: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT {
    pub SimpleInstancingSupported: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {
    pub ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS {
    pub OutputMergerLogicOp: BOOL,
    pub UAVOnlyRenderingForcedSampleCount: BOOL,
    pub DiscardAPIsSeenByDriver: BOOL,
    pub FlagsForUpdateAndCopySeenByDriver: BOOL,
    pub ClearView: BOOL,
    pub CopyWithOverlap: BOOL,
    pub ConstantBufferPartialUpdate: BOOL,
    pub ConstantBufferOffsetting: BOOL,
    pub MapNoOverwriteOnDynamicConstantBuffer: BOOL,
    pub MapNoOverwriteOnDynamicBufferSRV: BOOL,
    pub MultisampleRTVWithForcedSampleCountOne: BOOL,
    pub SAD4ShaderInstructions: BOOL,
    pub ExtendedDoublesShaderInstructions: BOOL,
    pub ExtendedResourceSharing: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS1 {
    pub TiledResourcesTier: D3D11_TILED_RESOURCES_TIER,
    pub MinMaxFiltering: BOOL,
    pub ClearViewAlsoSupportsDepthOnlyFormats: BOOL,
    pub MapOnDefaultBuffers: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_DOUBLES {
    pub DoublePrecisionFloatShaderOps: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_FORMAT_SUPPORT {
    pub InFormat: DXGI_FORMAT,
    pub OutFormatSupport: UINT,
}

pub struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2 {
    pub InFormat: DXGI_FORMAT,
    pub OutFormatSupport2: UINT,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_MARKER_SUPPORT {
    pub Profile: BOOL,
}

#[repr(C)]
pub struct D3D11_FEATURE_DATA_THREADING {
    pub DriverConcurrentCreates: BOOL,
    pub DriverCommandLists: BOOL,
}

#[repr(C)]
pub struct D3D11_INPUT_ELEMENT_DESC {
    pub SemanticName: LPCSTR,
    pub SemanticIndex: UINT,
    pub Format: DXGI_FORMAT,
    pub InputSlot: UINT,
    pub AlignedByteOffset: UINT,
    pub InputSlotClass: D3D11_INPUT_CLASSIFICATION,
    pub InstanceDataStepRate: UINT,
}

#[repr(C)]
pub struct D3D11_QUERY_DATA_PIPELINE_STATISTICS {
    pub IAVertices: UINT64,
    pub IAPrimitives: UINT64,
    pub VSInvocations: UINT64,
    pub GSInvocations: UINT64,
    pub GSPrimitives: UINT64,
    pub CInvocations: UINT64,
    pub CPrimitives: UINT64,
    pub PSInvocations: UINT64,
    pub HSInvocations: UINT64,
    pub DSInvocations: UINT64,
    pub CSInvocations: UINT64,
}

#[repr(C)]
pub struct D3D11_QUERY_DATA_SO_STATISTICS {
    pub NumPrimitivesWritten: UINT64,
    pub PrimitivesStorageNeeded: UINT64,
}

#[repr(C)]
pub struct D3D11_QUERY_DATA_TIMESTAMP_DISJOINT {
    pub Frequency: UINT64,
    pub Disjoint: BOOL,
}

#[repr(C)]
pub struct D3D11_QUERY_DESC {
    pub Query: D3D11_QUERY,
    pub MiscFlags: UINT,
}

#[repr(C)]
pub struct D3D11_RASTERIZER_DESC {
    pub FillMode: D3D11_FILL_MODE,
    pub CullMode: D3D11_CULL_MODE,
    pub FrontCounterClockwise: BOOL,
    pub DepthBias: INT,
    pub DepthBiasClamp: FLOAT,
    pub SlopeScaledDepthBias: FLOAT,
    pub DepthClipEnable: BOOL,
    pub ScissorEnable: BOOL,
    pub MultisampleEnable: BOOL,
    pub AntialiasedLineEnable: BOOL,
}

#[repr(C)]
pub struct D3D11_RASTERIZER_DESC1 {
    pub FillMode: D3D11_FILL_MODE,
    pub CullMode: D3D11_CULL_MODE,
    pub FrontCounterClockwise: BOOL,
    pub DepthBias: INT,
    pub DepthBiasClamp: FLOAT,
    pub SlopeScaledDepthBias: FLOAT,
    pub DepthClipEnable: BOOL,
    pub ScissorEnable: BOOL,
    pub MultisampleEnable: BOOL,
    pub AntialiasedLineEnable: BOOL,
    pub ForcedSampleCount: UINT,
}

#[repr(C)]
pub struct D3D11_RENDER_TARGET_BLEND_DESC {
    pub BlendEnable: BOOL,
    pub SrcBlend: D3D11_BLEND,
    pub DestBlend: D3D11_BLEND,
    pub BlendOp: D3D11_BLEND_OP,
    pub SrcBlendAlpha: D3D11_BLEND,
    pub DestBlendAlpha: D3D11_BLEND,
    pub BlendOpAlpha: D3D11_BLEND_OP,
    pub RenderTargetWriteMask: UINT8,
}

#[repr(C)]
pub struct D3D11_RENDER_TARGET_BLEND_DESC1 {
    pub BlendEnable: BOOL,
    pub LogicOpEnable: BOOL,
    pub SrcBlend: D3D11_BLEND,
    pub DestBlend: D3D11_BLEND,
    pub BlendOp: D3D11_BLEND_OP,
    pub SrcBlendAlpha: D3D11_BLEND,
    pub DestBlendAlpha: D3D11_BLEND,
    pub BlendOpAlpha: D3D11_BLEND_OP,
    pub LogicOp: D3D11_LOGIC_OP,
    pub RenderTargetWriteMask: UINT8,
}

#[repr(C)]
pub struct D3D11_SAMPLER_DESC {
    pub Filter: D3D11_FILTER,
    pub AddressU: D3D11_TEXTURE_ADDRESS_MODE,
    pub AddressV: D3D11_TEXTURE_ADDRESS_MODE,
    pub AddressW: D3D11_TEXTURE_ADDRESS_MODE,
    pub MipLODBias: FLOAT,
    pub MaxAnisotropy: UINT,
    pub ComparisonFunc: D3D11_COMPARISON_FUNC,
    pub BorderColor: [FLOAT; 4],
    pub MinLOD: FLOAT,
    pub MaxLOD: FLOAT,
}

#[repr(C)]
pub struct D3D11_SO_DECLARATION_ENTRY {
    pub Stream: UINT,
    pub SemanticName: LPCSTR,
    pub SemanticIndex: UINT,
    pub StartComponent: BYTE,
    pub ComponentCount: BYTE,
    pub OutputSlot: BYTE,
}

#[repr(C)]
pub struct D3D11_VIEWPORT {
    pub TopLeftX: FLOAT,
    pub TopLeftY: FLOAT,
    pub Width: FLOAT,
    pub Height: FLOAT,
    pub MinDepth: FLOAT,
    pub MaxDepth: FLOAT,
}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
Uses of Class edu.wpi.first.wpilibj.Ultrasonic.Unit (2013 FRC Java API)
</TITLE>

<META NAME="date" CONTENT="2013-01-03">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

"
2013 FRC Java API
"

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Uses of Class
edu.wpi.first.wpilibj.Ultrasonic.Unit

Packages that use Ultrasonic.Unit

edu.wpi.first.wpilibj
The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC
control system and your robot.

Uses of Ultrasonic.Unit in edu.wpi.first.wpilibj

Fields in edu.wpi.first.wpilibj declared as Ultrasonic.Unit

static Ultrasonic.Unit
Ultrasonic.Unit.kInches

          Use inches for PIDGet

static Ultrasonic.Unit
Ultrasonic.Unit.kMillimeter

          Use millimeters for PIDGet

Methods in edu.wpi.first.wpilibj that return Ultrasonic.Unit

 Ultrasonic.Unit
Ultrasonic.getDistanceUnits()

          Get the current DistanceUnit that is used for the PIDSource base object.

Methods in edu.wpi.first.wpilibj with parameters of type Ultrasonic.Unit

 void
Ultrasonic.setDistanceUnits(Ultrasonic.Unit units)

          Set the current DistanceUnit that should be used for the PIDSource base object.

Constructors in edu.wpi.first.wpilibj with parameters of type Ultrasonic.Unit

Ultrasonic(DigitalOutput pingChannel,
           DigitalInput echoChannel,
           Ultrasonic.Unit units)

          Create an instance of an Ultrasonic Sensor from a DigitalInput for the echo channel and a DigitalOutput
 for the ping channel.

Ultrasonic(int pingSlot,
           int pingChannel,
           int echoSlot,
           int echoChannel,
           Ultrasonic.Unit units)

          Create an instance of the Ultrasonic sensor using specified modules.

Ultrasonic(int pingChannel,
           int echoChannel,
           Ultrasonic.Unit units)

          Create an instance of the Ultrasonic Sensor using the default module.

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

"
2013 FRC Java API
"

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

"For updated information see the Java FRC site"


text:
<?php

namespace SimpleBus\RabbitMQBundleBridge\Event;

final class Events
{
    /**
     * This event will be dispatched whenever an AMQP message has been successfully consumed by the message bus.
     */
    public const MESSAGE_CONSUMED = 'simple_bus.rabbit_mq_bundle_bridge.message_consumed';

    /**
     * This event will be dispatched whenever an AMQP message could not be processed by the message bus.
     */
    public const MESSAGE_CONSUMPTION_FAILED = 'simple_bus.rabbit_mq_bundle_bridge.message_consumption_failed';
}


text:
package br.com.mkacunha.execucao;

import br.com.mkacunha.persistencia.HibernatePersistencia;

public class ExecucaoTesteHibernate {

	public static void main(String[] args) {
		new ExecucaoTeste(new HibernatePersistencia(), "Hibernate", 1).executar();
	}
}


text:
import CalendarLocale from 'rc-picker/lib/locale/zh_CN';
import TimePickerLocale from '../../time-picker/locale/zh_CN';
import type { PickerLocale } from '../generatePicker';

// 统一合并为完整的 Locale
const locale: PickerLocale = {
  lang: {
    placeholder: '请选择日期',
    yearPlaceholder: '请选择年份',
    quarterPlaceholder: '请选择季度',
    monthPlaceholder: '请选择月份',
    weekPlaceholder: '请选择周',
    rangePlaceholder: ['开始日期', '结束日期'],
    rangeYearPlaceholder: ['开始年份', '结束年份'],
    rangeMonthPlaceholder: ['开始月份', '结束月份'],
    rangeQuarterPlaceholder: ['开始季度', '结束季度'],
    rangeWeekPlaceholder: ['开始周', '结束周'],
    ...CalendarLocale,
  },
  timePickerLocale: {
    ...TimePickerLocale,
  },
};

// should add whitespace between char in Button
locale.lang.ok = '确定';

// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json

export default locale;


text:
/**
 * Servlet Whiteboard Package Version 2.0.
 *

 * Bundles wishing to use this package must list the package in the
 * Import-Package header of the bundle's manifest. This package has two types of
 * users: the consumers that use the API in this package and the providers that
 * implement the API in this package.
 *

 * Example import for consumers using the API in this package:
 *

 * {@code  Import-Package: org.osgi.service.servlet.whiteboard; version="[2.0,3.0)"}
 *

 * Example import for providers implementing the API in this package:
 *

 * {@code  Import-Package: org.osgi.service.servlet.whiteboard; version="[2.0,2.1)"}
 *
 * @author $Id$
 */

@Version(HttpWhiteboardConstants.HTTP_WHITEBOARD_SPECIFICATION_VERSION + ".0")
package org.osgi.service.servlet.whiteboard;

import org.osgi.annotation.versioning.Version;


text:
/*
 * =====================================================================================
 *
 *       Filename:  link.cc
 *
 *    Description: bindings for links subsystem
 *
 *        Version:  1.0
 *        Created:  07/01/2013 12:37:03
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Florent Jaby (FJ), florent.jaby@gmail.com
 *        Company:  Florent Jaby
 *
 * =====================================================================================
 */

#include "common.h"
#include "playlistcallbacks.cc"

using namespace v8;
using namespace nsp;

static Handle<Value> Link_Create_From_Track(const Arguments& args) {
    HandleScope scope;

    // test arguments sanity
    assert(args.Length() == 1);
    assert(args[0]->IsObject());

    // gets sp_track pointer from given object
    ObjectHandle<sp_track>* track = ObjectHandle<sp_track>::Unwrap(args[0]);

    // TODO handle length in ms
    sp_link* link = sp_link_create_from_track(track->pointer, 0);
    char url[256];
    // TODO handle truncated urls
    sp_link_as_string(link, url, 256);

    return scope.Close(String::New(url));
}

static Handle<Value> Link_Create_From_Artist(const Arguments& args) {
    HandleScope scope;

    // test arguments sanity
    assert(args.Length() == 1);
    assert(args[0]->IsObject());

    // gets sp_artist pointer from given object
    ObjectHandle<sp_artist>* artist = ObjectHandle<sp_artist>::Unwrap(args[0]);

    sp_link* link = sp_link_create_from_artist(artist->pointer);
    char url[256];
    // TODO handle truncated urls
    sp_link_as_string(link, url, 256);

    return scope.Close(String::New(url));
}

static Handle<Value> Link_Create_From_Playlist(const Arguments& args) {
    HandleScope scope;

    // test arguments sanity
    assert(args.Length() == 1);
    assert(args[0]->IsObject());

    // gets sp_playlist pointer from given object
    ObjectHandle<sp_playlist>* playlist = ObjectHandle<sp_playlist>::Unwrap(args[0]);

    sp_link* link = sp_link_create_from_playlist(playlist->pointer);
    char url[256];
    // TODO handle truncated urls
    sp_link_as_string(link, url, 256);

    return scope.Close(String::New(url));
}

static Handle<Value> Link_As_Track(const Arguments& args) {
    HandleScope scope;

    // test arguments sanity
    assert(args.Length() == 1);
    assert(args[0]->IsString());

    String::Utf8Value url(args[0]);

    sp_link* link = sp_link_create_from_string(*url);
    assert(sp_link_type(link) == SP_LINKTYPE_TRACK);

    ObjectHandle<sp_track>* track = new ObjectHandle<sp_track>("sp_track");
    track->pointer = sp_link_as_track(link);

    return scope.Close(track->object);
}

static Handle<Value> Link_As_Artist(const Arguments& args) {
    HandleScope scope;

    // test arguments sanity
    assert(args.Length() == 1);
    assert(args[0]->IsString());

    String::Utf8Value url(args[0]);

    sp_link* link = sp_link_create_from_string(*url);
    assert(sp_link_type(link) == SP_LINKTYPE_ARTIST);

    ObjectHandle<sp_artist>* artist = new ObjectHandle<sp_artist>("sp_artist");
    artist->pointer = sp_link_as_artist(link);

    return scope.Close(artist->object);
}

static Handle<Value> Link_As_Playlist(const Arguments& args) {
    HandleScope scope;

    // test arguments sanity
    assert(args.Length() == 2);
    assert(args[0]->IsString());
    assert(args[1]->IsObject());

    String::Utf8Value url(args[0]);

    sp_link* link = sp_link_create_from_string(*url);
    assert(sp_link_type(link) == SP_LINKTYPE_PLAYLIST);

	// gets sp_session pointer from given object
    ObjectHandle<sp_session>* session = ObjectHandle<sp_session>::Unwrap(args[1]);

    ObjectHandle<sp_playlist>* playlist = new ObjectHandle<sp_playlist>("sp_playlist");
    playlist->pointer = sp_playlist_create(session->pointer, link);

    // Add callbacks
    sp_error error = sp_playlist_add_callbacks(playlist->pointer, &nsp_playlist_callbacks, playlist);
	NSP_THROW_IF_ERROR(error);

    return scope.Close(playlist->object);
}

static Handle<Value> Link_Type(const Arguments& args) {
    HandleScope scope;
    const char* type = NULL;

    // test arguments sanity
    assert(args.Length() == 1);
    assert(args[0]->IsString());

    String::Utf8Value url(args[0]);
    sp_link* link = sp_link_create_from_string(*url);
    if(!link) {
        return scope.Close(Boolean::New(false));
    }

    switch(sp_link_type(link)) {
        case SP_LINKTYPE_PLAYLIST:
            type = "playlist";
            break;
        case SP_LINKTYPE_ARTIST:
            type = "artist";
            break;
        case SP_LINKTYPE_TRACK:
            type = "track";
            break;
        default:
            return scope.Close(Boolean::New(false));
            break;
    }

    return scope.Close(String::New(type));
}

void nsp::init_link(Handle<Object> target) {
    NODE_SET_METHOD(target, "link_create_from_track", Link_Create_From_Track);
    NODE_SET_METHOD(target, "link_create_from_artist", Link_Create_From_Artist);
    NODE_SET_METHOD(target, "link_create_from_playlist", Link_Create_From_Playlist);
    NODE_SET_METHOD(target, "link_as_track", Link_As_Track);
    NODE_SET_METHOD(target, "link_as_artist", Link_As_Artist);
    NODE_SET_METHOD(target, "link_as_playlist", Link_As_Playlist);
    NODE_SET_METHOD(target, "link_type", Link_Type);
}


text:
package org.apache.giraph.utils;

import com.google.common.util.concurrent.ThreadFactoryBuilder;

import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadFactory;

/**
 * Utility class for thread related functions.
 */
public class ThreadUtils {

  /**
   * Utility class. Do not inherit or create objects.
   */
  private ThreadUtils() { }

  /**
   * Creates new thread factory with specified thread name format.
   *
   * @param nameFormat defines naming format for threads created by
   *                   thread factory
   * @param exceptionHandler handles uncaught exceptions in all threads
   *                         produced created thread factory
   * @return new thread factory with specified thread name format and
   * exception handler.
   */
  public static ThreadFactory createThreadFactory(
      String nameFormat,
      Thread.UncaughtExceptionHandler exceptionHandler) {
    ThreadFactoryBuilder builder = new ThreadFactoryBuilder().
        setNameFormat(nameFormat).setDaemon(true);
    if (exceptionHandler != null) {
      builder.setUncaughtExceptionHandler(exceptionHandler);
    }
    return builder.build();
  }

  /**
   * Creates new thread factory with specified thread name format.
   *
   * @param nameFormat defines naming format for threads created by
   *                   thread factory
   * @return new thread factory with specified thread name format
   */
  public static ThreadFactory createThreadFactory(String nameFormat) {
    return createThreadFactory(nameFormat, null);
  }

  /**
   * Submit a callable to executor service, ensuring any exceptions are
   * caught with provided exception handler.
   *
   * When using submit(), UncaughtExceptionHandler which is set on ThreadFactory
   * isn't used, so we need this utility.
   *
   * @param executorService Executor service to submit callable to
   * @param callable Callable to submit
   * @param uncaughtExceptionHandler Handler for uncaught exceptions in callable
   * @param <T> Type of callable result
   * @return Future for callable
   */
  public static <T> Future<T> submitToExecutor(
      ExecutorService executorService,
      Callable<T> callable,
      Thread.UncaughtExceptionHandler uncaughtExceptionHandler) {
    return executorService.submit(
        new LogStacktraceCallable<>(callable, uncaughtExceptionHandler));
  }
}


text:
<?php

namespace App\Http\Middleware;

use Closure;
use Spatie\RobotsMiddleware\RobotsMiddleware as BaseRobotMiddleware;
use Illuminate\Http\Request;

class RobotsMiddleware extends BaseRobotMiddleware
{
    /**
     * Determine which routes should be index (based on URI segments)
     *
     * @param  Request $request The instance data handles the request data
     * @return string|bool
     */
    protected function shouldIndex(Request $request)
    {
        return $request->segment(1) !== 'admin';
    }
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Encoding Hint: 雀の往来 -->
<project>
 <property name="jnlp.title"    value="JST ハイライト表示をマウスで操作" />
 <property name="jnlp.Name"     value="BoundedRangeModel" />
 <property name="jnlp.name"     value="boundedrangemodel" />
 <property name="jnlp.codebase" value="http://ateraimemo.com/swing/${jnlp.name}/" />
 <property name="jnlp.homepage" value="http://ateraimemo.com/Swing/${jnlp.Name}.html" />
</project>


text:
PHP Patterns
============

A PHP 5.4+ pattern collection that covers design patterns, anti-patterns, closure patterns, refactoring patterns.

[![Build Status](https://travis-ci.org/whizark/php-patterns.png?branch=master)](https://travis-ci.org/whizark/php-patterns) [![Coverage Status](https://coveralls.io/repos/whizark/php-patterns/badge.png)](https://coveralls.io/r/whizark/php-patterns) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/whizark/php-patterns/badges/quality-score.png?s=32a95feb6ea708c584efcbdbdd9000908ce9845b)](https://scrutinizer-ci.com/g/whizark/php-patterns/)

The Concepts
------------

* **Minimal and Conceptual** (useful as a pattern catalog)
* **Practical and Modern** (following [PSR-2](http://www.php-fig.org/psr/2/) as possible etc.)
* **PHP-specific** (with built-in features and SPL etc.)
* **Interface-oriented** (but as simple as possible)
* **Testable** (including test cases as examples)

(Since focusing on the core concept of each pattern, some patterns might not be the same as the originals.)


text:
from nose.tools import *
from nr.futures import Future, ThreadPool

def test_set_exception():
  f = Future()
  f.set_exception(ValueError())
  with assert_raises(ValueError):
    f.result()
  assert f.done()

def test_set_result():
  f = Future()
  f.set_result(42)
  assert_equals(f.result(), 42)
  assert f.done()


text:
Rather than generating code from the database or using a heavy abstraction layer that might miss differences between the database and data access layer until run-time, this project aims to provide a very fast and simple data access layer that is generated at **design-time** using SQL ___files___ as the source-of-truth (such as those found in an SSDT project) without having to deploy the database first.

SqlSharpener accomplishes this by parsing the SQL files to create a meta-object hierarchy with which you can generate C# code such as stored procedure wrappers or Entity Framework Code-First entities. You can do this manually or by invoking one of the included pre-compiled T4 templates.

# Donate

If you find SqlSharpener to be useful, please consider making a [donation via PayPay](https://paypal.me/adam0101). Thank you.

# Examples

See examples of what SqlSharpener can do on the [Examples wiki page](https://github.com/aeslinger0/sqlsharpener/wiki/Examples). Also, a solution with the examples [is included with the code for you to download](https://github.com/aeslinger0/sqlsharpener/tree/master/examples/SimpleExample).

# Performance

According to the performance tests from [Dapper](https://github.com/StackExchange/dapper-dot-net#performance-of-select-mapping-over-500-iterations---poco-serialization), the best performance came from hand-coded functions using SqlDataReader. SqlSharpener gives you that performance without needing to hand-code your functions.

# Installation

[Using NuGet](https://www.nuget.org/packages/SqlSharpener/), run the following command to install SqlSharpener:

    PM> Install-Package SqlSharpener

This will add SqlSharpener as a solution-level package. That means that the dll's do not get added to any of your projects (nor should they).

# Quick Start

See the [Quick Start Guide](https://github.com/aeslinger0/sqlsharpener/wiki/Quick-Start-Guide) for more examples.

The fastest way to get up and running is to call one of SqlSharpener's included pre-compiled templates from your template. Add a new T4 template (\*.tt) file to your data project and set its content as follows: *(Ensure you have the correct version number in the dll path)*

    <#@ template debug="false" hostspecific="true" language="C#" #>
    <#@ assembly name="$(SolutionDir)\packages\SqlSharpener.1.0.2\tools\SqlSharpener.dll" #>
    <#@ output extension=".cs" #>
    <#@ import namespace="Microsoft.VisualStudio.TextTemplating" #>
    <#@ import namespace="System.Collections.Generic" #>
    <#@ import namespace="SqlSharpener" #>
    <#
    	// Specify paths to your *.sql files. Remember to include your tables as well! We need them to get the data types.
    	var sqlPaths = new List<string>();
    	sqlPaths.Add(Host.ResolvePath(@"..\SimpleExample.Database\dbo\Tables"));
    	sqlPaths.Add(Host.ResolvePath(@"..\SimpleExample.Database\dbo\Stored Procedures"));

    	// Set parameters for the template.
    	var session = new TextTemplatingSession();
    	session["outputNamespace"] = "SimpleExample.DataLayer";
    	session["procedurePrefix"] = "usp_";
    	session["sqlPaths"] = sqlPaths;

    	// Generate the code.
    	var t = new SqlSharpener.StoredProceduresTemplate();
        t.Session = session;
    	t.Initialize();
    	this.Write(t.TransformText());
    #>

The generated .cs file will contain a class with functions for all your stored procedures, DTO objects for procedures that return records, and an interface you can used if you use dependency-injection. Whenever your database project changes, simply right-click on the .tt file and click "Run Custom Tool" to regenerate the code.

# Usage

Once the code is generated, your business layer can call it like any other function. Here is one example:

        public TaskGetDto Get(int id)
        {
            return storedProcedures.TaskGet(id);
        }

# Dependency Injection

If you use a dependency-injection framework such as Ninject, you can use the interface generated. For example:

    public class  DataModule : NinjectModule
    {
        public override void Load()
        {
            Bind<IStoredProcedures>().To<StoredProcedures>();
        }
    }

# Documentation

Check out the [wiki](https://github.com/aeslinger0/sqlsharpener/wiki) for more info.

# License

SqlSharpener uses The MIT License (MIT), but also has dependencies on DacFx and ScriptDom. I have included their license info in the root directory.


text:
package akka.http

import com.typesafe.config.Config

import com.codemettle.akkasolr.Solr._

import akka.http.impl.util.SettingsCompanionImpl
import scala.concurrent.duration._

/**
  * Created by steven on 6/7/2017.
  */
object SettingsHack {
  object RequestOptionsHack extends SettingsCompanionImpl[RequestOptions]("akkasolr.request-defaults") {
    override def fromSubConfig(root: Config, c: Config): RequestOptions =
      RequestOptions(
        c getString "method" match {
          case "GET" => RequestMethods.GET
          case "POST" => RequestMethods.POST
          case m => throw new IllegalArgumentException(s"Invalid akkasolr.request-defaults.method: $m")
        },
        c getString "writer-type" match {
          case "XML" => SolrResponseTypes.XML
          case "Binary" => SolrResponseTypes.Binary
          case "Streaming" => SolrResponseTypes.Streaming
          case m => throw new IllegalArgumentException(s"Invalid akkasolr.request-defaults.writer-type: $m")
        },
        c.getDuration("request-timeout", MILLISECONDS).millis.toCoarsest match {
          case fd: FiniteDuration => fd
          case o =>
            throw new IllegalArgumentException(s"Invalid akkasolr.request-defaults.request-timeout: $o")
        }
      )
  }

  object UpdateOptionsHack extends SettingsCompanionImpl[UpdateOptions]("akkasolr.update-defaults") {
    override def fromSubConfig(root: Config, c: Config): UpdateOptions =
      UpdateOptions(
        c getBoolean "commit",
        if (!c.hasPath("commit-within") || c.getString("commit-within") == "infinite") None
        else Some(c.getDuration("commit-within").toNanos.nanos),
        c getBoolean "overwrite",
        c getBoolean "fail-on-non-zero-status"
      )
  }

  object LBConnectionOptionsHack extends SettingsCompanionImpl[LBConnectionOptions]("akkasolr.load-balanced-connection-defaults") {
    override def fromSubConfig(root: Config, c: Config): LBConnectionOptions =
      LBConnectionOptions(
        c.getDuration("alive-check-interval").toNanos.nanos,
        c getInt "non-standard-ping-limit"
      )
  }

  object SolrCloudConnectionOptionsHack extends SettingsCompanionImpl[SolrCloudConnectionOptions]("akkasolr.solrcloud-connection-defaults") {
    override def fromSubConfig(root: Config, c: Config): SolrCloudConnectionOptions =
      SolrCloudConnectionOptions(
        c.getDuration("zookeeper-connect-timeout").toNanos.nanos,
        c.getDuration("zookeeper-client-timeout").toNanos.nanos,
        c getBoolean "connect-at-start",
        Option(c getString "default-collection") flatMap (s => if (s.trim.isEmpty) None else Some(s)),
        c getBoolean "parallel-updates",
        c getString "id-field"
      )
  }

}


text:
code: true
type: branch
title: collection
description: collection controller documentation
---


text:
export * from './common'
export * from './errors'
export * from './array-of'
export * from './fluent-validator'
export * from './iso-date'
export * from './shape'
export * from './type'
export * from './dict'
export * from './async'
export * from './union'
export * from './email'
export * from './constant'


text:
import { Box, BoxContext } from './box';
import { Model } from '../model/model';

export declare class Head extends Box {
	constructor(context: BoxContext, model: Model);
}


text:
module.exports = {
  Block: require('./block'),
  ECPair: require('./ecpair'),
  ECSignature: require('./ecsignature'),
  HDNode: require('./hdnode'),
  Transaction: require('./transaction'),
  TransactionBuilder: require('./transaction_builder'),

  address: require('./address'),
  bufferutils: require('./bufferutils'),
  crypto: require('./crypto'),
  CryptoJS: require('crypto-js'),
  message: require('./message'),
  networks: require('./networks'),
  opcodes: require('./opcodes'),
  script: require('./script')
}


text:
namespace A2D{

	////////////////////////////////////////////////////////////////////////////////
	// DECLARATION
	////////////////////////////////////////////////////////////////////////////////

	class Paint
	{

	public:

		enum Mode
		{
			RADIAL,
			VERTICAL,
			HORIZONTAL,
			SOLID
		};

		Paint();
		Paint(unsigned int xColor);
		Paint(Color& xColor);
		Paint(Color3D& xColor);
		Paint(float xStartX, float xStartY, Color3D& xStart, float xEndX, float xEndY, Color3D& xEnd, Mode xMode);

		static Paint                        RED;
		static Paint                        BLUE;
		static Paint                        YELLOW;
		static Paint                        GREEN;
		static Paint                        MAGENTA;
		static Paint                        CYAN;
		static Paint                        PURPLE;
		static Paint                        GRAY;
		static Paint                        WHITE;
		static Paint                        BLACK;
		static Paint                        TURQUOISE;
		static Paint                        EMERALD;
		static Paint                        PETER_RIVER;
		static Paint                        AMETHYST;
		static Paint                        WET_ASPHALT;
		static Paint                        GREEN_SEA;
		static Paint                        NEPHRITIS;
		static Paint                        BELIZE_HOLE;
		static Paint                        WISTERIA;
		static Paint                        MIDNIGHT_BLUE;
		static Paint                        SUN_FLOWER;
		static Paint                        CARROT;
		static Paint                        ALIZARIN;
		static Paint                        CLOUDS;
		static Paint                        CONCRETE;
		static Paint                        ORANGE;
		static Paint                        PUMPKIN;
		static Paint                        POMEGRANATE;
		static Paint                        SILVER;
		static Paint                        ASBESTOS;
		static Paint                        CLEAR;

		static Paint						ALIZARIN_TO_POMEGRANATE_VERTICAL;
		static Paint						GREEN_SEA_TO_POMEGRANATE_VERTICAL;

		float								aStartX = 0.0f;
		float								aStartY = 0.0f;
		float								aEndX = 0.0f;
		float								aEndY = 0.0f;

		Color3D								aStart;
		Color3D								aEnd;

		Mode								aMode = Mode::SOLID;

		static void							from(Paint& xDst, Paint& xSrc);

	};
}
#endif


text:
<?php
/**
 * Message translations.
 *
 * This file is automatically generated by 'yii message' command.
 * It contains the localizable messages extracted from source code.
 * You may modify this file by translating the extracted messages.
 *
 * Each array element represents the translation (value) of a message (key).
 * If the value is empty, the message is considered as not translated.
 * Messages that no longer need translation will have their translations
 * enclosed between a pair of '@@' marks.
 *
 * Message string can be used with plural forms format. Check i18n section
 * of the guide for details.
 *
 * NOTE: this file must be saved in UTF-8 encoding.
 */
return [
    'Submit' => 'Отправить',
    'Your account has been successfully saved' => 'Ваш аккаунт был успешно сохранен',
    'About' => 'О нас',
    'Account' => 'Аккаунт',
    'Articles' => 'Статьи',
    'Attachments' => 'Приложения',
    'Backend' => 'Панель управления',
    'Body' => 'Сообщение',
    'Check your email for further instructions.' => 'Проверьте ваш e-mail.',
    'Confirm Password' => 'Подтвердите пароль',
    'Contact' => 'Контакты',
    'E-mail' => 'E-mail',
    'Email' => 'Email',
    'Error while oauth process.' => 'Ошибка в процессе OAuth авторизации.',
    'Female' => 'Женский',
    'Home' => 'Главная',
    'If you forgot your password you can reset it here' => 'Если вы забыли пароль, вы можете сбросить его здесь',
    'Incorrect username or password.' => 'Неправильный логин или пароль.',
    'Language' => 'Язык',
    'Log in with' => 'Войти с помощью',
    'Login' => 'Вход',
    'Logout' => 'Выход',
    'Male' => 'Мужской',
    'Name' => 'Имя',
    'Need an account? Sign up.' => 'Нужен аккаунт? Зарегистрируйтесь',
    'New password was saved.' => 'Новый пароль был сохранен',
    'Page not found' => 'Страница не найдена',
    'Password' => 'Пароль',
    'Password reset for {name}' => 'Сброс пароля для {name}',
    'Profile' => 'Профиль',
    'Remember Me' => 'Запомнить меня',
    'Request password reset' => 'Запрос сброса пароля',
    'Reset password' => 'Сброс пароля',
    'Sign up with' => 'Создать аккаунт с помощью',
    'Signup' => 'Регистрация',
    'Sorry, we are unable to reset password for email provided.' => 'Извините, мы не можем сбросить пароль для этого e-mail.',
    'Subject' => 'Тема',
    'Thank you for contacting us. We will respond to you as soon as possible.' => 'Спасибо. Мы свяжемся с Вами в ближайщее время',
    'There was an error sending email.' => 'Ошибка при отправке сообщения.',
    'This email address has already been taken.' => 'Этот e-mail уже занят',
    'This username has already been taken.' => 'Это имя пользователя уже занято',
    'Update' => 'Редактировать',
    'Username' => 'Имя пользователя',
    'Username or email' => 'Имя пользователя или e-mail',
    'Verification Code' => 'Проверочный код',
    'We already have a user with email {email}' => 'Пользователь с email {email} уже зарегистрирован.',
    'Welcome to {app-name}. Email with your login information was sent to your email.' => 'Добро пожаловать в {app-name}. E-mail с информацией о пользователе был отправлен на вашу почту.',
    'Your profile has been successfully saved' => 'Ваш профиль бы успешно сохранен',
    '{app-name} | Your login information' => '{app-name} | Информация о пользователе',
];


text:
Antarctic Sea Ice Concentration Data Download & Conversion Tool

Tool Overview

This Python script and ArcGIS tool contained within this zip file provide the user with a quick and
easy way to download sea ice concentration data from the National Sea and Ice Data Center (NSIDC)
website for use in further geospatial analyses as .tiff files. Because the Special Sensor
Microwave/Imager (SSMI) passive microwave data is provided by NSIDC in binary format, and without any
spatial reference, numerous steps are required to transform it into a usable format. Steps involved in
this process of developing the spatially referenced .tiffs include:

1) The script must first access the data repository on the NSIDC website;
2) It must then write these files out into a new directory;
3) It must change their names and extensions prior to conversion with ArcPy;
4) It must sequentially build a new text file for each binary data file with column and row headers
information;
5) It must then use the binary data file and header file to convert the data into a raster (.tiff);
6) Finally it must provide a unique spatial reference for the data according to the instructions provided
on the NSIDC website.

Once converted, these spatially referenced raster files can be visualized in ArcMap, or used for further
analyses. Although not included in this zip file (because the entire library of NSIDC's entire library of
NASA images contains 11,000 files!), the complete scripts provide the option for the user to select a
longer time series (anytime between 1979 and 2015) for download and conversion.

Next Steps

Eventually, this analysis toolkit will include the development of a script to output time series trends
for user identified study areas or sentinel sites throughout the Antarctic. Eventually, the user will be
able to open a .mxd file in ArcMap, digitize in a new polygon or select a particular point, this will then
be converted to a raster file, and underlying cells (imagine a 3-D box, or a Rubik's cube) in all raster
files within the selected time frame will be averaged to provide graphs of sea ice concentrations over time.

Data Information

Sea Ice Concentration Data: Additional information non data included in this package is located in the 'Docs'
folder and contains links to websites with data summaries, libraries, and user guides. Remotely sensed data
for this particular dataset is in 25k km x 25km pixels and covers the entire Antarctic continent. Additional
shapefiles are included in the data folder for reference use.


text:
namespace gcm {

enum class GCMDecryptionResult;

// Records GCM internal stats and activities for debugging purpose. Recording
// can be turned on/off by calling set_is_recording(...) function. It is turned
// off by default.
// This class is not thread safe. It is meant to be owned by a gcm client
// instance.
class GCMStatsRecorderImpl : public GCMStatsRecorder {
 public:
  GCMStatsRecorderImpl();

  GCMStatsRecorderImpl(const GCMStatsRecorderImpl&) = delete;
  GCMStatsRecorderImpl& operator=(const GCMStatsRecorderImpl&) = delete;

  ~GCMStatsRecorderImpl() override;

  // Set a delegate to receive callback from the recorder.
  void SetDelegate(Delegate* delegate);

  // Clear all recorded activities.
  void Clear();

  // Records a message decryption failure caused by |result| for |app_id|.
  void RecordDecryptionFailure(const std::string& app_id,
                               GCMDecryptionResult result);

  // GCMStatsRecorder implementation:
  void RecordCheckinInitiated(uint64_t android_id) override;
  void RecordCheckinDelayedDueToBackoff(int64_t delay_msec) override;
  void RecordCheckinSuccess() override;
  void RecordCheckinFailure(const std::string& status,
                            bool will_retry) override;
  void RecordConnectionInitiated(const std::string& host) override;
  void RecordConnectionDelayedDueToBackoff(int64_t delay_msec) override;
  void RecordConnectionSuccess() override;
  void RecordConnectionFailure(int network_error) override;
  void RecordConnectionResetSignaled(
      ConnectionFactory::ConnectionResetReason reason) override;
  void RecordRegistrationSent(const std::string& app_id,
                              const std::string& source) override;
  void RecordRegistrationResponse(const std::string& app_id,
                                  const std::string& source,
                                  RegistrationRequest::Status status) override;
  void RecordRegistrationRetryDelayed(const std::string& app_id,
                                      const std::string& source,
                                      int64_t delay_msec,
                                      int retries_left) override;
  void RecordUnregistrationSent(const std::string& app_id,
                                const std::string& source) override;
  void RecordUnregistrationResponse(
      const std::string& app_id,
      const std::string& source,
      UnregistrationRequest::Status status) override;
  void RecordUnregistrationRetryDelayed(const std::string& app_id,
                                        const std::string& source,
                                        int64_t delay_msec,
                                        int retries_left) override;
  void RecordDataMessageReceived(const std::string& app_id,
                                 const std::string& from,
                                 int message_byte_size,
                                 ReceivedMessageType message_type) override;
  void RecordDataSentToWire(const std::string& app_id,
                            const std::string& receiver_id,
                            const std::string& message_id,
                            int queued) override;
  void RecordNotifySendStatus(const std::string& app_id,
                              const std::string& receiver_id,
                              const std::string& message_id,
                              MCSClient::MessageSendStatus status,
                              int byte_size,
                              int ttl) override;
  void RecordIncomingSendError(const std::string& app_id,
                               const std::string& receiver_id,
                               const std::string& message_id) override;

  // Collect all recorded activities into |*recorded_activities|.
  void CollectActivities(RecordedActivities* recorded_activities) const;

  bool is_recording() const { return is_recording_; }
  void set_is_recording(bool recording) { is_recording_ = recording; }

  const base::circular_deque<CheckinActivity>& checkin_activities() const {
    return checkin_activities_;
  }
  const base::circular_deque<ConnectionActivity>& connection_activities()
      const {
    return connection_activities_;
  }
  const base::circular_deque<RegistrationActivity>& registration_activities()
      const {
    return registration_activities_;
  }
  const base::circular_deque<ReceivingActivity>& receiving_activities() const {
    return receiving_activities_;
  }
  const base::circular_deque<SendingActivity>& sending_activities() const {
    return sending_activities_;
  }
  const base::circular_deque<DecryptionFailureActivity>&
  decryption_failure_activities() const {
    return decryption_failure_activities_;
  }

 protected:
  // Notify the recorder delegate, if it exists, that an activity has been
  // recorded.
  void NotifyActivityRecorded();

  void RecordCheckin(const std::string& event,
                     const std::string& details);

  void RecordConnection(const std::string& event,
                        const std::string& details);

  void RecordRegistration(const std::string& app_id,
                          const std::string& source,
                          const std::string& event,
                          const std::string& details);

  void RecordReceiving(const std::string& app_id,
                       const std::string& from,
                       int message_byte_size,
                       const std::string& event,
                       const std::string& details);

  void RecordSending(const std::string& app_id,
                     const std::string& receiver_id,
                     const std::string& message_id,
                     const std::string& event,
                     const std::string& details);

  bool is_recording_;
  raw_ptr<Delegate> delegate_;

  base::circular_deque<CheckinActivity> checkin_activities_;
  base::circular_deque<ConnectionActivity> connection_activities_;
  base::circular_deque<RegistrationActivity> registration_activities_;
  base::circular_deque<ReceivingActivity> receiving_activities_;
  base::circular_deque<SendingActivity> sending_activities_;
  base::circular_deque<DecryptionFailureActivity>
      decryption_failure_activities_;

  base::TimeTicks last_connection_initiation_time_;
};

}  // namespace gcm

#endif  // COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_


text:
/*! \file scan.h
 *  \brief TBB implementations of scan functions.
 */

#pragma once

#include <thrust/detail/config.h>
#include <thrust/system/tbb/detail/tag.h>

namespace thrust
{
namespace system
{
namespace tbb
{
namespace detail
{

template<typename InputIterator,
         typename OutputIterator,
         typename BinaryFunction>
  OutputIterator inclusive_scan(tag,
                                InputIterator first,
                                InputIterator last,
                                OutputIterator result,
                                BinaryFunction binary_op);

template<typename InputIterator,
         typename OutputIterator,
         typename T,
         typename BinaryFunction>
  OutputIterator exclusive_scan(tag,
                                InputIterator first,
                                InputIterator last,
                                OutputIterator result,
                                T init,
                                BinaryFunction binary_op);

} // end namespace detail
} // end namespace tbb
} // end namespace system
} // end namespace thrust

#include <thrust/system/tbb/detail/scan.inl>


text:
<?php

/*
 * This file is part of the Active Collab Bootstrap project.
 *
 * (c) A51 doo <info@activecollab.com>. All rights reserved.
 */

namespace ActiveCollab\Bootstrap\Command\DevCommand\Migrations;

use ActiveCollab\Bootstrap\Command\DevCommand\DevCommand;
use ActiveCollab\DatabaseMigrations\MigrationsInterface;
use RuntimeException;

/**
 * @package ActiveCollab\Bootstrap\Command\DevCommand\Migrations
 */
abstract class Command extends DevCommand
{
    /**
     * {@inheritdoc}
     */
    public function getCommandNamePrefix()
    {
        return parent::getCommandNamePrefix() . 'migrations:';
    }

    /**
     * Return migrations instance.
     *
     * @return MigrationsInterface
     */
    public function &getMigrations()
    {
        $migrations = $this->getContainer()->get('migrations');

        if ($migrations instanceof MigrationsInterface) {
            return $migrations;
        } else {
            throw new RuntimeException('Failed to get migrations utility from DI container');
        }
    }
}


text:
package main

import (
	"github.com/opencontainers/runtime-tools/cgroups"
	"github.com/opencontainers/runtime-tools/validation/util"
)

func main() {
	var limit int64 = 50593792
	var swappiness uint64 = 50
	g, err := util.GetDefaultGenerator()
	if err != nil {
		util.Fatal(err)
	}
	g.SetLinuxCgroupsPath(cgroups.AbsCgroupPath)
	g.SetLinuxResourcesMemoryLimit(limit)
	g.SetLinuxResourcesMemoryReservation(limit)
	g.SetLinuxResourcesMemorySwap(limit)
	g.SetLinuxResourcesMemoryKernel(limit)
	g.SetLinuxResourcesMemoryKernelTCP(limit)
	g.SetLinuxResourcesMemorySwappiness(swappiness)
	g.SetLinuxResourcesMemoryDisableOOMKiller(true)
	err = util.RuntimeOutsideValidate(g, util.ValidateLinuxResourcesMemory)
	if err != nil {
		util.Fatal(err)
	}
}


text:
from __future__ import print_function
from __future__ import absolute_import

import os

def configuration(parent_package='', top_path=None):
    from numpy.distutils.misc_util import Configuration

    # path to header files
    cwd = os.path.dirname(os.path.abspath(__file__))
    incdir = os.path.abspath(os.path.join(cwd, os.pardir))

    # config
    config = Configuration("lattice_gen", parent_package, top_path)

    arraydeps = [os.path.join("..", "visclibs", "array_utils.c"),
                 os.path.join("..", "visclibs", "array_utils.h")]

    config.add_extension("_lattice_gen_bcc",
                         ["_lattice_gen_bcc.c"],
                         include_dirs=[incdir],
                         depends=arraydeps,
                         libraries=["array_utils"])

    config.add_extension("_lattice_gen_fcc",
                         ["_lattice_gen_fcc.c"],
                         include_dirs=[incdir],
                         depends=arraydeps,
                         libraries=["array_utils"])

    config.add_extension("_lattice_gen_pu3ga",
                         ["_lattice_gen_pu3ga.c"],
                         include_dirs=[incdir],
                         depends=arraydeps,
                         libraries=["array_utils"])

    return config

if __name__ == "__main__":
    print("This is the wrong setup.py to run")


text:
<node>
  <interface name="com.nokia.Demo">
    <method name="SayHello">
      <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QVariantMap"/>
      <arg name="name" type="s" direction="in" />
      <arg name="customdata" type="a{sv}" direction="in" />
    </method>
    <method name="SayBye"/>
    <signal name="LateEvent">
        <arg name="eventkind" type="s" direction="out"/>
    </signal>
 </interface>
</node


text:
package com.example.cloudaltas;

import com.example.cloudaltas.util.SystemUiHider;

import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

public class first extends Activity {

		Button b1;

	@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_fullscreen);

        Button b;

           super.onCreate(savedInstanceState);
           setContentView(R.layout.chumma);

          b1 = (Button) findViewById(R.id.button12);
           b = (Button) findViewById(R.id.button12);
           b.setOnClickListener(new OnClickListener()
           {
        	   @Override
        	   public void onClick(View v)
        	   {Toast msg = Toast.makeText(getBaseContext(),
                       "Login /  Sign Up", Toast.LENGTH_LONG);

         msg.show();
         Intent startNewActivityOpen = new Intent(first.this, LoginActivity.class);
         startActivityForResult(startNewActivityOpen, 0);

         //setContentView(R.layout.login);

          }
          });

        final View controlsView = findViewById(R.id.fullscreen_content);
        final View contentView = findViewById(R.id.fullscreen_content);

        // Set up an instance of SystemUiHider to control the system UI for
        // this activity.

    }

}