text:
package com.google.debugging.sourcemap.proto;

public final class Mapping {
  private Mapping() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface LineMappingOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // optional int32 line_number = 1;
    boolean hasLineNumber();
    int getLineNumber();

    // optional int32 column_position = 2;
    boolean hasColumnPosition();
    int getColumnPosition();

    // optional .sourcemap.OriginalMapping original_mapping = 3;
    boolean hasOriginalMapping();
    com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping();
    com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder();
  }
  public static final class LineMapping extends
      com.google.protobuf.GeneratedMessage
      implements LineMappingOrBuilder {
    // Use LineMapping.newBuilder() to construct.
    private LineMapping(Builder builder) {
      super(builder);
    }
    private LineMapping(boolean noInit) {}

    private static final LineMapping defaultInstance;
    public static LineMapping getDefaultInstance() {
      return defaultInstance;
    }

    public LineMapping getDefaultInstanceForType() {
      return defaultInstance;
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_fieldAccessorTable;
    }

    private int bitField0_;
    // optional int32 line_number = 1;
    public static final int LINE_NUMBER_FIELD_NUMBER = 1;
    private int lineNumber_;
    public boolean hasLineNumber() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    public int getLineNumber() {
      return lineNumber_;
    }

    // optional int32 column_position = 2;
    public static final int COLUMN_POSITION_FIELD_NUMBER = 2;
    private int columnPosition_;
    public boolean hasColumnPosition() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    public int getColumnPosition() {
      return columnPosition_;
    }

    // optional .sourcemap.OriginalMapping original_mapping = 3;
    public static final int ORIGINAL_MAPPING_FIELD_NUMBER = 3;
    private com.google.debugging.sourcemap.proto.Mapping.OriginalMapping originalMapping_;
    public boolean hasOriginalMapping() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping() {
      return originalMapping_;
    }
    public com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder() {
      return originalMapping_;
    }

    private void initFields() {
      lineNumber_ = 0;
      columnPosition_ = 0;
      originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, lineNumber_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt32(2, columnPosition_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeMessage(3, originalMapping_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, lineNumber_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, columnPosition_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, originalMapping_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      Builder builder = newBuilder();
      if (builder.mergeDelimitedFrom(input)) {
        return builder.buildParsed();
      } else {
        return null;
      }
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      Builder builder = newBuilder();
      if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
        return builder.buildParsed();
      } else {
        return null;
      }
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.LineMapping parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.google.debugging.sourcemap.proto.Mapping.LineMapping prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder>
       implements com.google.debugging.sourcemap.proto.Mapping.LineMappingOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_LineMapping_fieldAccessorTable;
      }

      // Construct using com.google.debugging.sourcemap.proto.Mapping.LineMapping.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getOriginalMappingFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        lineNumber_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        columnPosition_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        if (originalMappingBuilder_ == null) {
          originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
        } else {
          originalMappingBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.debugging.sourcemap.proto.Mapping.LineMapping.getDescriptor();
      }

      public com.google.debugging.sourcemap.proto.Mapping.LineMapping getDefaultInstanceForType() {
        return com.google.debugging.sourcemap.proto.Mapping.LineMapping.getDefaultInstance();
      }

      public com.google.debugging.sourcemap.proto.Mapping.LineMapping build() {
        com.google.debugging.sourcemap.proto.Mapping.LineMapping result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      private com.google.debugging.sourcemap.proto.Mapping.LineMapping buildParsed()
          throws com.google.protobuf.InvalidProtocolBufferException {
        com.google.debugging.sourcemap.proto.Mapping.LineMapping result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(
            result).asInvalidProtocolBufferException();
        }
        return result;
      }

      public com.google.debugging.sourcemap.proto.Mapping.LineMapping buildPartial() {
        com.google.debugging.sourcemap.proto.Mapping.LineMapping result = new com.google.debugging.sourcemap.proto.Mapping.LineMapping(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.lineNumber_ = lineNumber_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.columnPosition_ = columnPosition_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        if (originalMappingBuilder_ == null) {
          result.originalMapping_ = originalMapping_;
        } else {
          result.originalMapping_ = originalMappingBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.debugging.sourcemap.proto.Mapping.LineMapping) {
          return mergeFrom((com.google.debugging.sourcemap.proto.Mapping.LineMapping)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.debugging.sourcemap.proto.Mapping.LineMapping other) {
        if (other == com.google.debugging.sourcemap.proto.Mapping.LineMapping.getDefaultInstance()) return this;
        if (other.hasLineNumber()) {
          setLineNumber(other.getLineNumber());
        }
        if (other.hasColumnPosition()) {
          setColumnPosition(other.getColumnPosition());
        }
        if (other.hasOriginalMapping()) {
          mergeOriginalMapping(other.getOriginalMapping());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder(
            this.getUnknownFields());
        while (true) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              this.setUnknownFields(unknownFields.build());
              onChanged();
              return this;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                this.setUnknownFields(unknownFields.build());
                onChanged();
                return this;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              lineNumber_ = input.readInt32();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              columnPosition_ = input.readInt32();
              break;
            }
            case 26: {
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder subBuilder = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.newBuilder();
              if (hasOriginalMapping()) {
                subBuilder.mergeFrom(getOriginalMapping());
              }
              input.readMessage(subBuilder, extensionRegistry);
              setOriginalMapping(subBuilder.buildPartial());
              break;
            }
          }
        }
      }

      private int bitField0_;

      // optional int32 line_number = 1;
      private int lineNumber_ ;
      public boolean hasLineNumber() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      public int getLineNumber() {
        return lineNumber_;
      }
      public Builder setLineNumber(int value) {
        bitField0_ |= 0x00000001;
        lineNumber_ = value;
        onChanged();
        return this;
      }
      public Builder clearLineNumber() {
        bitField0_ = (bitField0_ & ~0x00000001);
        lineNumber_ = 0;
        onChanged();
        return this;
      }

      // optional int32 column_position = 2;
      private int columnPosition_ ;
      public boolean hasColumnPosition() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      public int getColumnPosition() {
        return columnPosition_;
      }
      public Builder setColumnPosition(int value) {
        bitField0_ |= 0x00000002;
        columnPosition_ = value;
        onChanged();
        return this;
      }
      public Builder clearColumnPosition() {
        bitField0_ = (bitField0_ & ~0x00000002);
        columnPosition_ = 0;
        onChanged();
        return this;
      }

      // optional .sourcemap.OriginalMapping original_mapping = 3;
      private com.google.debugging.sourcemap.proto.Mapping.OriginalMapping originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
      private com.google.protobuf.SingleFieldBuilder<
          com.google.debugging.sourcemap.proto.Mapping.OriginalMapping, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder, com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder> originalMappingBuilder_;
      public boolean hasOriginalMapping() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getOriginalMapping() {
        if (originalMappingBuilder_ == null) {
          return originalMapping_;
        } else {
          return originalMappingBuilder_.getMessage();
        }
      }
      public Builder setOriginalMapping(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping value) {
        if (originalMappingBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          originalMapping_ = value;
          onChanged();
        } else {
          originalMappingBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      public Builder setOriginalMapping(
          com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder builderForValue) {
        if (originalMappingBuilder_ == null) {
          originalMapping_ = builderForValue.build();
          onChanged();
        } else {
          originalMappingBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      public Builder mergeOriginalMapping(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping value) {
        if (originalMappingBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004) &&
              originalMapping_ != com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance()) {
            originalMapping_ =
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.newBuilder(originalMapping_).mergeFrom(value).buildPartial();
          } else {
            originalMapping_ = value;
          }
          onChanged();
        } else {
          originalMappingBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      public Builder clearOriginalMapping() {
        if (originalMappingBuilder_ == null) {
          originalMapping_ = com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
          onChanged();
        } else {
          originalMappingBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }
      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder getOriginalMappingBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getOriginalMappingFieldBuilder().getBuilder();
      }
      public com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder getOriginalMappingOrBuilder() {
        if (originalMappingBuilder_ != null) {
          return originalMappingBuilder_.getMessageOrBuilder();
        } else {
          return originalMapping_;
        }
      }
      private com.google.protobuf.SingleFieldBuilder<
          com.google.debugging.sourcemap.proto.Mapping.OriginalMapping, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder, com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder>
          getOriginalMappingFieldBuilder() {
        if (originalMappingBuilder_ == null) {
          originalMappingBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping, com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder, com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder>(
                  originalMapping_,
                  getParentForChildren(),
                  isClean());
          originalMapping_ = null;
        }
        return originalMappingBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:sourcemap.LineMapping)
    }

    static {
      defaultInstance = new LineMapping(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:sourcemap.LineMapping)
  }

  public interface OriginalMappingOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // optional string original_file = 1;
    boolean hasOriginalFile();
    String getOriginalFile();

    // optional int32 line_number = 2;
    boolean hasLineNumber();
    int getLineNumber();

    // optional int32 column_position = 3;
    boolean hasColumnPosition();
    int getColumnPosition();

    // optional string identifier = 4;
    boolean hasIdentifier();
    String getIdentifier();
  }
  public static final class OriginalMapping extends
      com.google.protobuf.GeneratedMessage
      implements OriginalMappingOrBuilder {
    // Use OriginalMapping.newBuilder() to construct.
    private OriginalMapping(Builder builder) {
      super(builder);
    }
    private OriginalMapping(boolean noInit) {}

    private static final OriginalMapping defaultInstance;
    public static OriginalMapping getDefaultInstance() {
      return defaultInstance;
    }

    public OriginalMapping getDefaultInstanceForType() {
      return defaultInstance;
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_fieldAccessorTable;
    }

    private int bitField0_;
    // optional string original_file = 1;
    public static final int ORIGINAL_FILE_FIELD_NUMBER = 1;
    private java.lang.Object originalFile_;
    public boolean hasOriginalFile() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    public String getOriginalFile() {
      java.lang.Object ref = originalFile_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        if (com.google.protobuf.Internal.isValidUtf8(bs)) {
          originalFile_ = s;
        }
        return s;
      }
    }
    private com.google.protobuf.ByteString getOriginalFileBytes() {
      java.lang.Object ref = originalFile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((String) ref);
        originalFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    // optional int32 line_number = 2;
    public static final int LINE_NUMBER_FIELD_NUMBER = 2;
    private int lineNumber_;
    public boolean hasLineNumber() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    public int getLineNumber() {
      return lineNumber_;
    }

    // optional int32 column_position = 3;
    public static final int COLUMN_POSITION_FIELD_NUMBER = 3;
    private int columnPosition_;
    public boolean hasColumnPosition() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    public int getColumnPosition() {
      return columnPosition_;
    }

    // optional string identifier = 4;
    public static final int IDENTIFIER_FIELD_NUMBER = 4;
    private java.lang.Object identifier_;
    public boolean hasIdentifier() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    public String getIdentifier() {
      java.lang.Object ref = identifier_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        if (com.google.protobuf.Internal.isValidUtf8(bs)) {
          identifier_ = s;
        }
        return s;
      }
    }
    private com.google.protobuf.ByteString getIdentifierBytes() {
      java.lang.Object ref = identifier_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((String) ref);
        identifier_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private void initFields() {
      originalFile_ = "";
      lineNumber_ = 0;
      columnPosition_ = 0;
      identifier_ = "";
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeBytes(1, getOriginalFileBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt32(2, lineNumber_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeInt32(3, columnPosition_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeBytes(4, getIdentifierBytes());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, getOriginalFileBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, lineNumber_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, columnPosition_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(4, getIdentifierBytes());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return newBuilder().mergeFrom(data, extensionRegistry)
               .buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      Builder builder = newBuilder();
      if (builder.mergeDelimitedFrom(input)) {
        return builder.buildParsed();
      } else {
        return null;
      }
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      Builder builder = newBuilder();
      if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
        return builder.buildParsed();
      } else {
        return null;
      }
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input).buildParsed();
    }
    public static com.google.debugging.sourcemap.proto.Mapping.OriginalMapping parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return newBuilder().mergeFrom(input, extensionRegistry)
               .buildParsed();
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder>
       implements com.google.debugging.sourcemap.proto.Mapping.OriginalMappingOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.debugging.sourcemap.proto.Mapping.internal_static_sourcemap_OriginalMapping_fieldAccessorTable;
      }

      // Construct using com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        originalFile_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        lineNumber_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        columnPosition_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        identifier_ = "";
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDescriptor();
      }

      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getDefaultInstanceForType() {
        return com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance();
      }

      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping build() {
        com.google.debugging.sourcemap.proto.Mapping.OriginalMapping result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      private com.google.debugging.sourcemap.proto.Mapping.OriginalMapping buildParsed()
          throws com.google.protobuf.InvalidProtocolBufferException {
        com.google.debugging.sourcemap.proto.Mapping.OriginalMapping result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(
            result).asInvalidProtocolBufferException();
        }
        return result;
      }

      public com.google.debugging.sourcemap.proto.Mapping.OriginalMapping buildPartial() {
        com.google.debugging.sourcemap.proto.Mapping.OriginalMapping result = new com.google.debugging.sourcemap.proto.Mapping.OriginalMapping(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.originalFile_ = originalFile_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.lineNumber_ = lineNumber_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.columnPosition_ = columnPosition_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.identifier_ = identifier_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.debugging.sourcemap.proto.Mapping.OriginalMapping) {
          return mergeFrom((com.google.debugging.sourcemap.proto.Mapping.OriginalMapping)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.debugging.sourcemap.proto.Mapping.OriginalMapping other) {
        if (other == com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.getDefaultInstance()) return this;
        if (other.hasOriginalFile()) {
          setOriginalFile(other.getOriginalFile());
        }
        if (other.hasLineNumber()) {
          setLineNumber(other.getLineNumber());
        }
        if (other.hasColumnPosition()) {
          setColumnPosition(other.getColumnPosition());
        }
        if (other.hasIdentifier()) {
          setIdentifier(other.getIdentifier());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder(
            this.getUnknownFields());
        while (true) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              this.setUnknownFields(unknownFields.build());
              onChanged();
              return this;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                this.setUnknownFields(unknownFields.build());
                onChanged();
                return this;
              }
              break;
            }
            case 10: {
              bitField0_ |= 0x00000001;
              originalFile_ = input.readBytes();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              lineNumber_ = input.readInt32();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              columnPosition_ = input.readInt32();
              break;
            }
            case 34: {
              bitField0_ |= 0x00000008;
              identifier_ = input.readBytes();
              break;
            }
          }
        }
      }

      private int bitField0_;

      // optional string original_file = 1;
      private java.lang.Object originalFile_ = "";
      public boolean hasOriginalFile() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      public String getOriginalFile() {
        java.lang.Object ref = originalFile_;
        if (!(ref instanceof String)) {
          String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
          originalFile_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      public Builder setOriginalFile(String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        originalFile_ = value;
        onChanged();
        return this;
      }
      public Builder clearOriginalFile() {
        bitField0_ = (bitField0_ & ~0x00000001);
        originalFile_ = getDefaultInstance().getOriginalFile();
        onChanged();
        return this;
      }
      void setOriginalFile(com.google.protobuf.ByteString value) {
        bitField0_ |= 0x00000001;
        originalFile_ = value;
        onChanged();
      }

      // optional int32 line_number = 2;
      private int lineNumber_ ;
      public boolean hasLineNumber() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      public int getLineNumber() {
        return lineNumber_;
      }
      public Builder setLineNumber(int value) {
        bitField0_ |= 0x00000002;
        lineNumber_ = value;
        onChanged();
        return this;
      }
      public Builder clearLineNumber() {
        bitField0_ = (bitField0_ & ~0x00000002);
        lineNumber_ = 0;
        onChanged();
        return this;
      }

      // optional int32 column_position = 3;
      private int columnPosition_ ;
      public boolean hasColumnPosition() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      public int getColumnPosition() {
        return columnPosition_;
      }
      public Builder setColumnPosition(int value) {
        bitField0_ |= 0x00000004;
        columnPosition_ = value;
        onChanged();
        return this;
      }
      public Builder clearColumnPosition() {
        bitField0_ = (bitField0_ & ~0x00000004);
        columnPosition_ = 0;
        onChanged();
        return this;
      }

      // optional string identifier = 4;
      private java.lang.Object identifier_ = "";
      public boolean hasIdentifier() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      public String getIdentifier() {
        java.lang.Object ref = identifier_;
        if (!(ref instanceof String)) {
          String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
          identifier_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      public Builder setIdentifier(String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        identifier_ = value;
        onChanged();
        return this;
      }
      public Builder clearIdentifier() {
        bitField0_ = (bitField0_ & ~0x00000008);
        identifier_ = getDefaultInstance().getIdentifier();
        onChanged();
        return this;
      }
      void setIdentifier(com.google.protobuf.ByteString value) {
        bitField0_ |= 0x00000008;
        identifier_ = value;
        onChanged();
      }

      // @@protoc_insertion_point(builder_scope:sourcemap.OriginalMapping)
    }

    static {
      defaultInstance = new OriginalMapping(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:sourcemap.OriginalMapping)
  }

  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_sourcemap_LineMapping_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_sourcemap_LineMapping_fieldAccessorTable;
  private static com.google.protobuf.Descriptors.Descriptor
    internal_static_sourcemap_OriginalMapping_descriptor;
  private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_sourcemap_OriginalMapping_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n2com/google/debugging/sourcemap/proto/m" +
      "apping.proto\022\tsourcemap\"q\n\013LineMapping\022\023" +
      "\n\013line_number\030\001 \001(\005\022\027\n\017column_position\030\002" +
      " \001(\005\0224\n\020original_mapping\030\003 \001(\0132\032.sourcem" +
      "ap.OriginalMapping\"j\n\017OriginalMapping\022\025\n" +
      "\roriginal_file\030\001 \001(\t\022\023\n\013line_number\030\002 \001(" +
      "\005\022\027\n\017column_position\030\003 \001(\005\022\022\n\nidentifier" +
      "\030\004 \001(\tB&\n$com.google.debugging.sourcemap" +
      ".proto"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
      new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
        public com.google.protobuf.ExtensionRegistry assignDescriptors(
            com.google.protobuf.Descriptors.FileDescriptor root) {
          descriptor = root;
          internal_static_sourcemap_LineMapping_descriptor =
            getDescriptor().getMessageTypes().get(0);
          internal_static_sourcemap_LineMapping_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_sourcemap_LineMapping_descriptor,
              new java.lang.String[] { "LineNumber", "ColumnPosition", "OriginalMapping", },
              com.google.debugging.sourcemap.proto.Mapping.LineMapping.class,
              com.google.debugging.sourcemap.proto.Mapping.LineMapping.Builder.class);
          internal_static_sourcemap_OriginalMapping_descriptor =
            getDescriptor().getMessageTypes().get(1);
          internal_static_sourcemap_OriginalMapping_fieldAccessorTable = new
            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_sourcemap_OriginalMapping_descriptor,
              new java.lang.String[] { "OriginalFile", "LineNumber", "ColumnPosition", "Identifier", },
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.class,
              com.google.debugging.sourcemap.proto.Mapping.OriginalMapping.Builder.class);
          return null;
        }
      };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
  }

  // @@protoc_insertion_point(outer_class_scope)
}


text:
.question-list li {
    background-color: #fff;
    transition: background-color 4s ease-out;
}

.question-list li.new {
    background-color: #e0f5ff;
}

redpajama_set_name: RedPajamaGithub


text:
namespace cc {

// TODO(skaslev, danakj) Rename this class more apropriately since now it
// can hold a shared memory resource as well as a texture mailbox.
class CC_EXPORT TextureMailbox {
 public:
  TextureMailbox();
  explicit TextureMailbox(const gpu::MailboxHolder& mailbox_holder);
  TextureMailbox(const gpu::Mailbox& mailbox, uint32 target, uint32 sync_point);
  TextureMailbox(base::SharedMemory* shared_memory, const gfx::Size& size);

  ~TextureMailbox();

  bool IsValid() const { return IsTexture() || IsSharedMemory(); }
  bool IsTexture() const { return !mailbox_holder_.mailbox.IsZero(); }
  bool IsSharedMemory() const { return shared_memory_ != NULL; }

  bool Equals(const TextureMailbox&) const;

  const gpu::Mailbox& mailbox() const { return mailbox_holder_.mailbox; }
  const int8* name() const { return mailbox().name; }
  uint32 target() const { return mailbox_holder_.texture_target; }
  uint32 sync_point() const { return mailbox_holder_.sync_point; }
  void set_sync_point(int32 sync_point) {
    mailbox_holder_.sync_point = sync_point;
  }

  base::SharedMemory* shared_memory() const { return shared_memory_; }
  gfx::Size shared_memory_size() const { return shared_memory_size_; }
  size_t shared_memory_size_in_bytes() const;

 private:
  gpu::MailboxHolder mailbox_holder_;
  base::SharedMemory* shared_memory_;
  gfx::Size shared_memory_size_;
};

}  // namespace cc

#endif  // CC_RESOURCES_TEXTURE_MAILBOX_H_


text:
using System;
using System.Collections.Generic;
using System.Runtime.ExceptionServices;
using NiL.JS.BaseLibrary;
using NiL.JS.Core.Interop;

namespace NiL.JS.Core
{
    /// <summary>
    /// Представляет ошибки, возникшие во время выполнения скрипта.
    /// </summary>
#if !(PORTABLE || NETCORE)
    [Serializable]
#endif
    public sealed class JSException : Exception
    {
        private ExceptionHelper.StackTraceState _stackTraceData;

        public JSValue Error { get; }
        public CodeNode ExceptionMaker { get; }
        public string Code { get; internal set; }
        public CodeCoordinates CodeCoordinates { get; internal set; }

        private JSException()
        {
            _stackTraceData = ExceptionHelper.GetStackTrace(1);
        }

        public JSException(Error data)
            : this()
        {
            Error = Context.CurrentGlobalContext.ProxyValue(data);
        }

        public JSException(Error data, CodeNode exceptionMaker, string code)
            : this(Context.CurrentGlobalContext.ProxyValue(data), exceptionMaker, code)
        {
        }

        public JSException(JSValue data, CodeNode exceptionMaker, string code)
            : this()
        {
            Error = data;
            ExceptionMaker = exceptionMaker;
            Code = code;
            if (code != null)
            {
                CodeCoordinates = CodeCoordinates.FromTextPosition(code, exceptionMaker.Position, exceptionMaker.Length);
            }
        }

        public JSException(JSValue data, Exception innerException)
            : base("External error", innerException)
        {
            Error = data;

            _stackTraceData = ExceptionHelper.GetStackTrace(1);
        }

        public JSException(Error avatar, Exception innerException)
            : this(Context.CurrentGlobalContext.ProxyValue(avatar), innerException)
        {
        }

        public override string StackTrace => _stackTraceData?.ToString(this) ?? base.StackTrace;

        public override string Message
        {
            get
            {
                var result = CodeCoordinates != null ? " at " + CodeCoordinates : null as string;
                if (Error?._oValue is Error)
                {
                    var n = Error.GetProperty("name");
                    if (n._valueType == JSValueType.Property)
                        n = (n._oValue as PropertyPair).getter.Call(Error, null).ToString();

                    var m = Error.GetProperty("message");
                    if (m._valueType == JSValueType.Property)
                        result = n + ": " + (m._oValue as PropertyPair).getter.Call(Error, null) + result;
                    else
                        result = n + ": " + m + result;
                }
                else
                {
                    result = Error?.ToString() + result;
                }

                return result ?? "JavaScript Error";
            }
        }
    }
}


text:
<?php

namespace anli\user\models;

use anli\user\models\TenantUser;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;

/**
 * TenantUserSearch represents the model behind the search form about `app\models\TenantUser`.
 */
class TenantUserSearch extends TenantUser
{
    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['id', 'tenant_id', 'user_id', 'create_user_id', 'update_user_id'], 'integer'],
            [['created_at', 'updated_at'], 'safe'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function scenarios()
    {
        // bypass scenarios() implementation in the parent class
        return Model::scenarios();
    }

    /**
     * Creates data provider instance with search query applied
     *
     * @param array $params
     *
     * @return ActiveDataProvider
     */
    public function search($params)
    {
        $query = TenantUser::find();

        $dataProvider = new ActiveDataProvider([
            'query' => $query,
        ]);

        $this->load($params);

        if (!$this->validate()) {
            // uncomment the following line if you do not want to return any records when validation fails
            // $query->where('0=1');
            return $dataProvider;
        }

        $query->andFilterWhere([
            'id' => $this->id,
            'tenant_id' => $this->tenant_id,
            'user_id' => $this->user_id,
            'created_at' => $this->created_at,
            'updated_at' => $this->updated_at,
            'create_user_id' => $this->create_user_id,
            'update_user_id' => $this->update_user_id,
        ]);

        return $dataProvider;
    }
}


text:
using System.Collections.Generic;
using System.Linq;
using NBitcoin.DataEncoders;

namespace NBitcoin
{
    public class BitcoinSecret : Base58Data, IDestination, ISecret
    {
        public BitcoinSecret(Key key, Network network)
            : base(ToBytes(key), network)
        {
        }

        private static byte[] ToBytes(Key key)
        {
            byte[] keyBytes = key.ToBytes();
            if(!key.IsCompressed)
                return keyBytes;
            else
                return keyBytes.Concat(new byte[] { 0x01 }).ToArray();
        }
        public BitcoinSecret(string base58, Network expectedAddress = null)
            : base(base58, expectedAddress)
        {
        }

        private BitcoinPubKeyAddress _address;

        public BitcoinPubKeyAddress GetAddress()
        {
            return this._address ?? (this._address = this.PrivateKey.PubKey.GetAddress(this.Network));
        }

        public virtual KeyId PubKeyHash
        {
            get
            {
                return this.PrivateKey.PubKey.Hash;
            }
        }

        public PubKey PubKey
        {
            get
            {
                return this.PrivateKey.PubKey;
            }
        }

        #region ISecret Members

        private Key _Key;
        public Key PrivateKey
        {
            get
            {
                return this._Key ?? (this._Key = new Key(this.vchData, 32, this.IsCompressed));
            }
        }
        #endregion

        protected override bool IsValid
        {
            get
            {
                if(this.vchData.Length != 33 && this.vchData.Length != 32)
                    return false;

                if(this.vchData.Length == 33 && this.IsCompressed)
                    return true;
                if(this.vchData.Length == 32 && !this.IsCompressed)
                    return true;
                return false;
            }
        }

        public BitcoinEncryptedSecret Encrypt(string password)
        {
            return this.PrivateKey.GetEncryptedBitcoinSecret(password, this.Network);
        }

        public BitcoinSecret Copy(bool? compressed)
        {
            if(compressed == null)
                compressed = this.IsCompressed;

            if(compressed.Value && this.IsCompressed)
            {
                return new BitcoinSecret(this.wifData, this.Network);
            }
            else
            {
                byte[] result = Encoders.Base58Check.DecodeData(this.wifData);
                List<byte> resultList = result.ToList();

                if(compressed.Value)
                {
                    resultList.Insert(resultList.Count, 0x1);
                }
                else
                {
                    resultList.RemoveAt(resultList.Count - 1);
                }
                return new BitcoinSecret(Encoders.Base58Check.EncodeData(resultList.ToArray()), this.Network);
            }
        }

        public bool IsCompressed
        {
            get
            {
                return this.vchData.Length > 32 && this.vchData[32] == 1;
            }
        }

        public override Base58Type Type
        {
            get
            {
                return Base58Type.SECRET_KEY;
            }
        }

        #region IDestination Members

        public Script ScriptPubKey
        {
            get
            {
                return GetAddress().ScriptPubKey;
            }
        }

        #endregion

    }
}


text:
.class Landroid/support/v17/leanback/app/BaseFragment$3;
.super Landroid/support/v17/leanback/util/StateMachine$State;
.source "BaseFragment.java"

# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Landroid/support/v17/leanback/app/BaseFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

# instance fields
.field final synthetic this$0:Landroid/support/v17/leanback/app/BaseFragment;

# direct methods
.method constructor <init>(Landroid/support/v17/leanback/app/BaseFragment;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Landroid/support/v17/leanback/app/BaseFragment$3;->this$0:Landroid/support/v17/leanback/app/BaseFragment;

    invoke-direct {p0, p2}, Landroid/support/v17/leanback/util/StateMachine$State;-><init>(Ljava/lang/String;)V

    return-void
.end method

# virtual methods
.method public run()V
    .locals 1

    iget-object v0, p0, Landroid/support/v17/leanback/app/BaseFragment$3;->this$0:Landroid/support/v17/leanback/app/BaseFragment;

    iget-object v0, v0, Landroid/support/v17/leanback/app/BaseFragment;->mProgressBarManager:Landroid/support/v17/leanback/app/ProgressBarManager;

    invoke-virtual {v0}, Landroid/support/v17/leanback/app/ProgressBarManager;->hide()V

    iget-object v0, p0, Landroid/support/v17/leanback/app/BaseFragment$3;->this$0:Landroid/support/v17/leanback/app/BaseFragment;

    invoke-virtual {v0}, Landroid/support/v17/leanback/app/BaseFragment;->onExecuteEntranceTransition()V

    return-void
.end method


text:
"""
Mixin for gate operator interface.
"""

from abc import ABC, abstractmethod
from numbers import Integral

from qiskit.exceptions import QiskitError

class GroupMixin(ABC):
    """Abstract Mixin for operator group operations.

    This class defines the following methods

        - :meth:`compose`
        - :meth:`dot`
        - :meth:`tensor`
        - :meth:`expand`
        - :meth:`power`

    And the following operator overloads:

        - ``&``, ``__and__`` -> :meth:`compose`
        - ``@``, ``__matmul__`` -> :meth:`dot`
        - ``^``, ``__xor__`` -> `:meth:`tensor`
        - ``**``, ``__pow__`` -> :meth:`power`

    The following abstract methods must be implemented by subclasses
    using this mixin

        - ``compose(self, other, qargs=None, inplace=False)``
        - ``tensor(self, other)``
        - ``expand(self, other)``
    """

    def __and__(self, other):
        return self.compose(other)

    def __pow__(self, n):
        return self.power(n)

    def __xor__(self, other):
        return self.tensor(other)

    def __matmul__(self, other):
        return self.dot(other)

    @abstractmethod
    def tensor(self, other):
        r"""Return the tensor product with another CLASS.

        Args:
            other (CLASS): a CLASS object.

        Returns:
            CLASS: the tensor product :math:`a \otimes b`, where :math:`a`
                is the current CLASS, and :math:`b` is the other CLASS.

        .. note::
            The tensor product can be obtained using the ``^`` binary operator.
            Hence ``a.tensor(b)`` is equivalent to ``a ^ b``.

        .. note:
            Tensor uses reversed operator ordering to :meth:`expand`.
            For two operators of the same type ``a.tensor(b) = b.expand(a)``.
        """

    @abstractmethod
    def expand(self, other):
        r"""Return the reverse-order tensor product with another CLASS.

        Args:
            other (CLASS): a CLASS object.

        Returns:
            CLASS: the tensor product :math:`b \otimes a`, where :math:`a`
                is the current CLASS, and :math:`b` is the other CLASS.

        .. note:
            Expand is the opposite operator ordering to :meth:`tensor`.
            For two operators of the same type ``a.expand(b) = b.tensor(a)``.
        """

    @abstractmethod
    def compose(self, other, qargs=None, front=False):
        """Return the operator composition with another CLASS.

        Args:
            other (CLASS): a CLASS object.
            qargs (list or None): Optional, a list of subsystem positions to
                                  apply other on. If None apply on all
                                  subsystems (default: None).
            front (bool): If True compose using right operator multiplication,
                          instead of left multiplication [default: False].

        Returns:
            CLASS: The composed CLASS.

        Raises:
            QiskitError: if other cannot be converted to an operator, or has
                         incompatible dimensions for specified subsystems.

        .. note::
            Composition (``&``) by default is defined as `left` matrix multiplication for
            matrix operators, while ``@`` (equivalent to :meth:`dot`) is defined as `right` matrix
            multiplication. That is that ``A & B == A.compose(B)`` is equivalent to
            ``B @ A == B.dot(A)`` when ``A`` and ``B`` are of the same type.

            Setting the ``front=True`` kwarg changes this to `right` matrix
            multiplication and is equivalent to the :meth:`dot` method
            ``A.dot(B) == A.compose(B, front=True)``.
        """

    def dot(self, other, qargs=None):
        """Return the right multiplied operator self * other.

        Args:
            other (CLASS): an operator object.
            qargs (list or None): Optional, a list of subsystem positions to
                                  apply other on. If None apply on all
                                  subsystems (default: None).

        Returns:
            CLASS: The right matrix multiplied CLASS.

        .. note::
            The dot product can be obtained using the ``@`` binary operator.
            Hence ``a.dot(b)`` is equivalent to ``a @ b``.
        """
        return self.compose(other, qargs=qargs, front=True)

    def power(self, n):
        """Return the compose of a operator with itself n times.

        Args:
            n (int): the number of times to compose with self (n>0).

        Returns:
            CLASS: the n-times composed operator.

        Raises:
            QiskitError: if the input and output dimensions of the operator
                         are not equal, or the power is not a positive integer.
        """
        # NOTE: if a subclass can have negative or non-integer powers
        # this method should be overridden in that class.
        if not isinstance(n, Integral) or n < 1:
            raise QiskitError("Can only power with positive integer powers.")
        ret = self
        for _ in range(1, n):
            ret = ret.dot(self)
        return ret


text:
export * from "./content-type-unsupported.js";
export * from "./request-pending.js";
export * from "./session-description-handler.js";
export * from "./session-terminated.js";
export * from "./state-transition.js";


text:
<!DOCTYPE html>
<title>CSS Masking: clip path with floated element</title>
<link rel="author" title="Fredrik Söderquist" href="mailto:fs@opera.com">
<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#the-clip-path">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=418484">
<link rel="match" href="reference/clip-path-reference-box-002-ref.html">
<meta name="assert" content="Check that the 'clip-path' property uses the border box as the reference box.">


text:
<?php
/**
 * Function that creates the "Basic Information" submenu page
 *
 * @since v.2.0
 *
 * @return void
 */
function wppb_register_basic_info_submenu_page() {
	add_submenu_page( 'profile-builder', __( 'Basic Information', 'profilebuilder' ), __( 'Basic Information', 'profilebuilder' ), 'manage_options', 'profile-builder-basic-info', 'wppb_basic_info_content' );
}
add_action( 'admin_menu', 'wppb_register_basic_info_submenu_page', 2 );

/**
 * Function that adds content to the "Basic Information" submenu page
 *
 * @since v.2.0
 *
 * @return string
 */
function wppb_basic_info_content() {

	$version = 'Free';
	$version = ( ( PROFILE_BUILDER == 'Profile Builder Pro' ) ? 'Pro' : $version );
	$version = ( ( PROFILE_BUILDER == 'Profile Builder Hobbyist' ) ? 'Hobbyist' : $version );

?>

		<div class="wppb-badge <?php echo $version; ?>"><?php printf( __( 'Version %s' ), PROFILE_BUILDER_VERSION ); ?>

<?php printf( __( 'Profile Builder ' . $version . ' v.%s', 'profilebuilder' ), PROFILE_BUILDER_VERSION ); ?>

<?php printf( __( 'The best way to add front-end registration, edit profile and login forms.', 'profilebuilder' ) ); ?>

<?php _e( 'For Modern User Interaction', 'profilebuilder' ); ?>

<?php _e( 'Login', 'profilebuilder' ); ?>

<?php _e( 'Friction-less login using [wppb-login] shortcode or a widget.', 'profilebuilder' ); ?>

<?php _e( 'Registration', 'profilebuilder'  ); ?>

<?php _e( 'Beautiful registration forms fully customizable using the [wppb-register] shortcode.', 'profilebuilder' ); ?>

<?php _e( 'Edit Profile', 'profilebuilder' ); ?>

<?php _e( 'Straight forward edit profile forms using [wppb-edit-profile] shortcode.', 'profilebuilder' ); ?>

		<?php ob_start(); ?>

<?php _e( 'Extra Features', 'profilebuilder' );?>

<?php _e( 'Features that give you more control over your users, increased security and help you fight user registration spam.', 'profilebuilder' ); ?>

<?php _e( 'Enable extra features', 'profilebuilder' ); ?>

<?php _e( 'Recover Password', 'profilebuilder' ); ?>

<?php _e( 'Allow users to recover their password in the front-end using the [wppb-recover-password].', 'profilebuilder' ); ?>

<?php _e( 'Admin Approval (*)', 'profilebuilder' ); ?>

<?php _e( 'You decide who is a user on your website. Get notified via email or approve multiple users at once from the WordPress UI.', 'profilebuilder' ); ?>

<?php _e( 'Email Confirmation', 'profilebuilder' ); ?>

<?php _e( 'Make sure users sign up with genuine emails. On registration users will receive a notification to confirm their email address.', 'profilebuilder' ); ?>

<?php _e( 'Minimum Password Length and Strength Meter', 'profilebuilder' ); ?>

<?php _e( 'Eliminate weak passwords altogether by setting a minimum password length and enforcing a certain password strength.', 'profilebuilder' ); ?>

<?php _e( 'Login with Email or Username', 'profilebuilder' ); ?>

<?php _e( 'Allow users to log in with their email or username when accessing your site.', 'profilebuilder' ); ?>

		<?php
		// Output here the Extra Features html for the Free version
		$extra_features_html = ob_get_contents();
		ob_end_clean();
		if ( $version == 'Free' ) echo $extra_features_html; ?>

<?php _e( 'Customize Your Forms The Way You Want (*)', 'profilebuilder' ); ?>

<?php _e( 'With Extra Profile Fields you can create the exact registration form your project needs.', 'profilebuilder' ); ?>

				<?php if ($version == 'Free'){ ?>

<?php _e( 'Extra Profile Fields are available in Hobbyist or PRO versions', 'profilebuilder' ); ?>

				<?php } else {?>

<?php _e( 'Get started with extra fields', 'profilebuilder' ); ?>

				<?php } ?>

<?php _e( 'Avatar Upload', 'profilebuilder' ); ?>

<?php _e( 'Generic Uploads', 'profilebuilder' ); ?>

<?php _e( 'Agree To Terms Checkbox', 'profilebuilder' ); ?>

<?php _e( 'Datepicker', 'profilebuilder' ); ?>

<?php _e( 'reCAPTCHA', 'profilebuilder' ); ?>

<?php _e( 'Country Select', 'profilebuilder' ); ?>

<?php _e( 'Timezone Select', 'profilebuilder' ); ?>

<?php _e( 'Input / Hidden Input', 'profilebuilder' ); ?>

<?php _e( 'Checkbox', 'profilebuilder' ); ?>

<?php _e( 'Select', 'profilebuilder' ); ?>

<?php _e( 'Radio Buttons', 'profilebuilder' ); ?>

<?php _e( 'Textarea', 'profilebuilder' ); ?>

				<img src="<?php echo WPPB_PLUGIN_URL; ?>assets/images/pb_fields.png" alt="Profile Builder Extra Fields" class="wppb-fields-image" />

<?php _e( 'Powerful Modules (**)', 'profilebuilder' );?>

<?php _e( 'Everything you will need to manage your users is probably already available using the Pro Modules.', 'profilebuilder' ); ?>

            <?php if( file_exists ( WPPB_PLUGIN_DIR.'/modules/modules.php' ) ): ?>

<?php _e( 'Enable your modules', 'profilebuilder' ); ?>

            <?php endif; ?>
			<?php if ($version == 'Free'){ ?>

<?php _e( 'Find out more about PRO Modules', 'profilebuilder' ); ?>

			<?php }?>

<?php _e( 'User Listing', 'profilebuilder' ); ?>

				<?php if ($version == 'Free'): ?>

<?php _e( 'Easy to edit templates for listing your website users as well as creating single user pages. Shortcode based, offering many options to customize your listings.', 'profilebuilder' ); ?>

				<?php else : ?>

<?php _e( 'To create a page containing the users registered to this current site/blog, insert the following shortcode in a page of your chosing: [wppb-list-users].', 'profilebuilder' ); ?>

				<?php endif;?>

<?php _e( 'Email Customizer', 'profilebuilder' ); ?>

<?php _e( 'Personalize all emails sent to your users or admins. On registration, email confirmation, admin approval / un-approval.', 'profilebuilder' ); ?>

<?php _e( 'Custom Redirects', 'profilebuilder' ); ?>

<?php _e( 'Keep your users out of the WordPress dashboard, redirect them to the front-page after login or registration, everything is just a few clicks away.', 'profilebuilder' ); ?>

<?php _e( 'Multiple Registration Forms', 'profilebuilder' ); ?>

<?php _e( 'Set up multiple registration forms with different fields for certain user roles. Capture different information from different types of users.', 'profilebuilder' ); ?>

<?php _e( 'Multiple Edit-profile Forms', 'profilebuilder' ); ?>

<?php _e( 'Allow different user roles to edit their specific information. Set up multiple edit-profile forms with different fields for certain user roles.', 'profilebuilder' ); ?>

		<?php
		//Output here Extra Features html for Hobbyist or Pro versions
		if ( $version != 'Free' ) echo $extra_features_html; ?>

Extra Notes

<?php printf( __( ' * only available in the %1$sHobbyist and Pro versions%2$s.', 'profilebuilder' ) ,'', '' );?>

<?php printf( __( '** only available in the %1$sPro version%2$s.', 'profilebuilder' ), '', '' );?>

<?php
}


text:
#include <mitsuba/core/plugin.h>
#include <mitsuba/core/statistics.h>
#include <mitsuba/render/range.h>
#include "irrproc.h"

MTS_NAMESPACE_BEGIN

/* Parallel irradiance sampling implementation (worker) */
class IrradianceSamplingWorker : public WorkProcessor {
public:
	IrradianceSamplingWorker(int irrSamples, bool irrIndirect, Float time)
		: m_irrSamples(irrSamples), m_irrIndirect(irrIndirect), m_time(time) {
	}

	IrradianceSamplingWorker(Stream *stream, InstanceManager *manager) {
		m_irrSamples = stream->readInt();
		m_irrIndirect = stream->readBool();
		m_time = stream->readFloat();
	}

	void serialize(Stream *stream, InstanceManager *manager) const {
		stream->writeInt(m_irrSamples);
		stream->writeBool(m_irrIndirect);
		stream->writeFloat(m_time);
	}

	ref<WorkUnit> createWorkUnit() const {
		return new PositionSampleVector();
	}

	ref<WorkResult> createWorkResult() const {
		return new IrradianceSampleVector();
	}

	void prepare() {
		m_scene = static_cast<Scene *>(getResource("scene"));
		m_sampler = static_cast<Sampler *>(getResource("sampler"));
		m_integrator = static_cast<SamplingIntegrator *>(getResource("integrator"));
		m_scene->wakeup(NULL, m_resources);
		m_integrator->wakeup(NULL, m_resources);
	}

	void process(const WorkUnit *workUnit, WorkResult *workResult,
		const bool &stop) {
		const PositionSampleVector &positions = *static_cast<const PositionSampleVector *>(workUnit);
		IrradianceSampleVector *result = static_cast<IrradianceSampleVector *>(workResult);
		const SamplingIntegrator *integrator = m_integrator.get();

		result->clear();

		for (size_t i=0; i<positions.size(); ++i) {
			/* Create a fake intersection record */
			const PositionSample &sample = positions[i];
			Intersection its;
			its.p = sample.p;
			its.shFrame = Frame(sample.n);
			its.shape = m_scene->getShapes()[sample.shapeIndex].get();
			its.time = m_time;
			its.hasUVPartials = false;

			result->put(IrradianceSample(
				its.p,
				integrator->E(m_scene.get(), its, its.shape->getExteriorMedium(), m_sampler,
					m_irrSamples, m_irrIndirect)
			));
		}
	}

	ref<WorkProcessor> clone() const {
		return new IrradianceSamplingWorker(m_irrSamples, m_irrIndirect, m_time);
	}

	MTS_DECLARE_CLASS()
protected:
	virtual ~IrradianceSamplingWorker() { }
private:
	ref<Scene> m_scene;
	ref<Sampler> m_sampler;
	ref<SamplingIntegrator> m_integrator;
	int m_irrSamples;
	bool m_irrIndirect;
	Float m_time;
};

void PositionSampleVector::load(Stream *stream) {
	clear();
	size_t count = stream->readSize();
	m_samples.resize(count);
	for (size_t i=0; i<count; ++i)
		m_samples[i] = PositionSample(stream);
}

void PositionSampleVector::save(Stream *stream) const {
	stream->writeSize(m_samples.size());
	for (size_t i=0; i<m_samples.size(); ++i)
		m_samples[i].serialize(stream);
}

void PositionSampleVector::set(const WorkUnit *workUnit) {
	m_samples = ((PositionSampleVector *) workUnit)->m_samples;
}

std::string PositionSampleVector::toString() const {
	std::ostringstream oss;
	oss << "PositionSampleVector[size="
		<< m_samples.size() << "]";
	return oss.str();
}

void IrradianceSampleVector::load(Stream *stream) {
	clear();
	size_t count = stream->readSize();
	m_samples.resize(count);
	for (size_t i=0; i<count; ++i)
		m_samples[i] = IrradianceSample(stream);
}

void IrradianceSampleVector::save(Stream *stream) const {
	stream->writeSize(m_samples.size());
	for (size_t i=0; i<m_samples.size(); ++i)
		m_samples[i].serialize(stream);
}

std::string IrradianceSampleVector::toString() const {
	std::ostringstream oss;
	oss << "IrradianceSampleVector[size="
		<< m_samples.size() << "]";
	return oss.str();
}

IrradianceSamplingProcess::IrradianceSamplingProcess(PositionSampleVector *positions,
		size_t granularity, int irrSamples, bool irrIndirect, Float time,
		const void *data)
	: m_positionSamples(positions), m_granularity(granularity),
	  m_irrSamples(irrSamples), m_irrIndirect(irrIndirect), m_time(time) {
	m_resultMutex = new Mutex();
	m_irradianceSamples = new IrradianceSampleVector();
	m_irradianceSamples->reserve(positions->size());
	m_samplesRequested = 0;
	m_progress = new ProgressReporter("Sampling irradiance", positions->size(), data);
}

IrradianceSamplingProcess::~IrradianceSamplingProcess() {
	if (m_progress)
		delete m_progress;
}

ref<WorkProcessor> IrradianceSamplingProcess::createWorkProcessor() const {
	return new IrradianceSamplingWorker(m_irrSamples, m_irrIndirect, m_time);
}

ParallelProcess::EStatus IrradianceSamplingProcess::generateWork(WorkUnit *unit, int worker) {
	if (m_samplesRequested == m_positionSamples->size())
		return EFailure;

	/* Reserve a sequence of at most 'granularity' samples */
	size_t workSize = std::min(m_granularity, m_positionSamples->size() - m_samplesRequested);

	std::vector<PositionSample> &samples = static_cast<PositionSampleVector *>(unit)->get();
	const std::vector<PositionSample> &source = m_positionSamples->get();

	samples.clear();
	samples.insert(samples.begin(),
			source.begin() + m_samplesRequested,
			source.begin() + m_samplesRequested + workSize);
	m_samplesRequested += workSize;

	return ESuccess;
}

void IrradianceSamplingProcess::processResult(const WorkResult *wr, bool cancelled) {
	const IrradianceSampleVector *result = static_cast<const IrradianceSampleVector *>(wr);
	LockGuard lock(m_resultMutex);
	for (size_t i=0; i<result->size(); ++i)
		m_irradianceSamples->put((*result)[i]);
	m_progress->update(m_irradianceSamples->size());
}

MTS_IMPLEMENT_CLASS(PositionSampleVector, false, WorkUnit);
MTS_IMPLEMENT_CLASS(IrradianceSampleVector, false, WorkResult);
MTS_IMPLEMENT_CLASS_S(IrradianceSamplingWorker, false, WorkProcessor);
MTS_IMPLEMENT_CLASS(IrradianceSamplingProcess, false, ParallelProcess);
MTS_NAMESPACE_END


text:
<?php
use yii\helpers\Html;

?>

            <input type="radio" id="allProvinces" name="allProvinces" class="" value="all"/> 全部省份
            <input type="radio" id="" name="quality[]" class="filterProvince" value="北京"/> 北京
            <input type="radio" id="" name="quality[]" class="filterProvince" value="上海"/> 上海

            <input type="radio" id="" name="quality[]" class="filterProvince" value="广东"/> 广东

            <input type="radio" id="" name="quality[]" class="filterProvince" value="天津"/> 天津

            <input type="radio" id="" name="quality[]" class="filterProvince" value="重庆"/> 重庆

            <input type="radio" id="" name="quality[]" class="filterProvince" value="江苏"/> 江苏

            <input type="radio" id="" name="quality[]" class="filterProvince" value="浙江"/> 浙江

            <input type="radio" id="" name="quality[]" class="filterProvince" value="安徽"/> 安徽
            <input type="radio" id="" name="quality[]" class="filterProvince" value="福建"/> 福建

            <input type="radio" id="" name="quality[]" class="filterProvince" value="江西"/> 江西

            <input type="radio" id="" name="quality[]" class="filterProvince" value="山东"/> 山东

            <input type="radio" id="" name="quality[]" class="filterProvince" value="河南"/> 河南

            <input type="radio" id="" name="quality[]" class="filterProvince" value="湖北"/> 湖北

            <input type="radio" id="" name="quality[]" class="filterProvince" value="湖南"/> 湖南

            <input type="radio" id="" name="quality[]" class="filterProvince" value="广西"/> 广西

            <input type="radio" id="" name="quality[]" class="filterProvince" value="海南"/> 海南

            <input type="radio" id="" name="quality[]" class="filterProvince" value="河北"/> 河北

            <input type="radio" id="" name="quality[]" class="filterProvince" value="山西"/> 山西

            <input type="radio" id="" name="quality[]" class="filterProvince" value="内蒙"/> 内蒙

            <input type="radio" id="" name="quality[]" class="filterProvince" value="辽宁"/> 辽宁

            <input type="radio" id="" name="quality[]" class="filterProvince" value="吉林"/> 吉林

            <input type="radio" id="" name="quality[]" class="filterProvince" value="黑龙江"/> 黑龙江

            <input type="radio" id="" name="quality[]" class="filterProvince" value="四川"/> 四川

            <input type="radio" id="" name="quality[]" class="filterProvince" value="贵州"/> 贵州

            <input type="radio" id="" name="quality[]" class="filterProvince" value="云南"/> 云南

            <input type="radio" id="" name="quality[]" class="filterProvince" value="西藏"/> 西藏

            <input type="radio" id="" name="quality[]" class="filterProvince" value="甘肃"/> 甘肃

            <input type="radio" id="" name="quality[]" class="filterProvince" value="青海"/> 青海

            <input type="radio" id="" name="quality[]" class="filterProvince" value="宁夏"/> 宁夏

            <input type="radio" id="" name="quality[]" class="filterProvince" value="新疆"/> 新疆

                    <input type="checkbox" id="" name="schoolLevels[]" class="ace input-lg filterSchoolLevel"
                           value="普通院校"/>
                      普通院校&nbsp

                    <input type="checkbox" id="" name="schoolLevels[]" class="ace input-lg filterSchoolLevel"
                           value="高职高专"/>
                     高职高专&nbsp

                    <input type="checkbox" id="" name="schoolLevels[]"  class="ace input-lg filterSchoolLevel" value="独立学院"/>
                     独立学院&nbsp

                    <input type="checkbox" id="" name="schoolLevels[]"
                           class="ace input-lg filterSchoolLevel" value="高校分校"/>
                     高校分校 &nbsp

                    <input type="checkbox" id="" name="schoolLevels[]"
                           class="ace input-lg filterSchoolLevel" value="短期职大"/>
                     短期职大&nbsp

                    <input type="checkbox" id="" name="schoolLevels[]"
                           class="ace input-lg filterSchoolLevel" value="成人高校"/>
                     成人高校&nbsp

                    <input type="checkbox" id="" name="schoolLevels[]"
                           class="ace input-lg filterSchoolLevel" value="干管学院"/>
                     干管学院&nbsp

                    <input name="is985"
                           id="isNineEightFive"
                           type="checkbox" class="ace input-lg">
                     985

                    <input name="is211" id="isTwoEleven" type="checkbox" class="ace input-lg">
                     211

                    <input type="checkbox" id="" name="schoolType[]" class="ace input-lg filterSchoolType"
                           value="综合"/>
                    综合&nbsp

                    <input type="checkbox" id="" name="schoolType[]" class="ace input-lg filterSchoolType"
                           value="理工"/>
                    理工&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType" value="财经"/>
                    财经&nbsp

                    <input type="checkbox" id="" name="schoolType[]" class="ace input-lg filterSchoolType"
                           value="医药"/>
                    医药&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType" value="农林"/>
                    农林&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType" value="师范 "/>
                    师范&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType" value="语言"/>
                    语言&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType" value="政法"/>
                    政法&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType" value="体育"/>
                    体育&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType" value="艺术"/>
                    艺术&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType"
                           value="民族"/>
                    民族&nbsp

                    <input type="checkbox" id="" name="schoolType[]"
                           class="ace input-lg filterSchoolType"
                           value="军事"/>
                    军事&nbsp


text:
package es.ucm.fdi.tp.views.swing.controlpanel.colorchooser;

import java.awt.Color;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import javax.swing.border.TitledBorder;

import es.ucm.fdi.tp.basecode.bgame.model.Board;
import es.ucm.fdi.tp.basecode.bgame.model.Game.State;
import es.ucm.fdi.tp.views.swing.controlpanel.ControlPanelObserver;
import es.ucm.fdi.tp.basecode.bgame.model.GameObserver;
import es.ucm.fdi.tp.basecode.bgame.model.Observable;
import es.ucm.fdi.tp.basecode.bgame.model.Piece;

/**
 * A panel containing a list of players and a button. When the button is
 *  pressed the user is able to choose a new color for the selected player
 *  from a modal dialog.
 * @author german
 *
 */
public class ColorChooserPanel extends JPanel implements ActionListener, Observable<ControlPanelObserver>, GameObserver {

	private static final long serialVersionUID = 111272096861569383L;

	protected Map<Piece, Color> colorList;

	private JComboBox<Piece> piecesCombo;
	private final JButton changeColorBtn;

	private List<Piece> pieces;

	/**
	 * List of observers.
	 */
	private ArrayList<ControlPanelObserver> observers = new ArrayList<ControlPanelObserver>(4);

	/**
	 * Creates a panel to change the players' color.
	 * @param pieceColors - players' colors.
	 */
	public ColorChooserPanel(Map<Piece, Color> pieceColors) {
		this.colorList = pieceColors;

		piecesCombo = new JComboBox<Piece>();
		this.add(piecesCombo);

		changeColorBtn = new JButton("Choose color");
		changeColorBtn.addActionListener(this);
		this.add(changeColorBtn);

		this.setBorder(new TitledBorder("Piece Colors"));
	}

	/**
	 * Fires when the button is pressed.
	 * Launches a dialog to choose a new color.
	 */
	@Override
	public void actionPerformed(ActionEvent e) {
		Piece selected = (Piece) piecesCombo.getSelectedItem();
		Window parent = SwingUtilities.getWindowAncestor(this);

		ColorChooserDialog chooser = new ColorChooserDialog(parent, "Choose your color", colorList.get(selected));
		Color color = chooser.getColor();

		if (color != null) {
			colorList.put(selected, color);
			notifyColorChange(selected, color);
		}

	}

	/**
	 * Enables or disables the button and the list inside the panel.
	 */
	@Override
	public void setEnabled(boolean enabled) {
		super.setEnabled(enabled);
		this.changeColorBtn.setEnabled(enabled);
		this.piecesCombo.setEnabled(enabled);
	}

	/**
	 * Refresh pieces list (combobox).
	 */
	public void refresh() {
		piecesCombo.removeAllItems();
		for(Piece p : pieces) {
			piecesCombo.addItem(p);
		}
	}

	/**
	 * Adds a color change observer. When the color of a player is changed all
	 * observers are notified.
	 */
	@Override
	public void addObserver(ControlPanelObserver o) {
		observers.add(o);

	}

	@Override
	public void removeObserver(ControlPanelObserver o) {
		observers.remove(o);
	}

	private void notifyColorChange(Piece player, Color newColor) {
		for (ControlPanelObserver o : observers) {
			o.onColorChange(player,newColor);
		}
	}

	@Override
	public void onGameStart(Board board, String gameDesc, List<Piece> pieces, Piece turn) {
		this.pieces = pieces;
		this.refresh();
		this.setEnabled(true);
	}

	@Override
	public void onGameOver(Board board, State state, Piece winner) {
		this.setEnabled(false);
	}

	@Override
	public void onMoveStart(Board board, Piece turn) {}

	@Override
	public void onMoveEnd(Board board, Piece turn, boolean success) {}

	@Override
	public void onChangeTurn(Board board, Piece turn) {
		this.refresh();
	}

	@Override
	public void onError(String msg) {}

}


text:
package com.microsoft.azure.management.compute.v2019_03_01.implementation;

import com.microsoft.azure.management.compute.v2019_03_01.GalleryImage;
import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl;
import rx.Observable;
import java.util.Map;
import com.microsoft.azure.management.compute.v2019_03_01.OperatingSystemTypes;
import com.microsoft.azure.management.compute.v2019_03_01.OperatingSystemStateTypes;
import org.joda.time.DateTime;
import com.microsoft.azure.management.compute.v2019_03_01.GalleryImageIdentifier;
import com.microsoft.azure.management.compute.v2019_03_01.RecommendedMachineConfiguration;
import com.microsoft.azure.management.compute.v2019_03_01.Disallowed;
import com.microsoft.azure.management.compute.v2019_03_01.ImagePurchasePlan;

class GalleryImageImpl extends CreatableUpdatableImpl<GalleryImage, GalleryImageInner, GalleryImageImpl> implements GalleryImage, GalleryImage.Definition, GalleryImage.Update {
    private final ComputeManager manager;
    private String resourceGroupName;
    private String galleryName;
    private String galleryImageName;

    GalleryImageImpl(String name, ComputeManager manager) {
        super(name, new GalleryImageInner());
        this.manager = manager;
        // Set resource name
        this.galleryImageName = name;
        //
    }

    GalleryImageImpl(GalleryImageInner inner, ComputeManager manager) {
        super(inner.name(), inner);
        this.manager = manager;
        // Set resource name
        this.galleryImageName = inner.name();
        // set resource ancestor and positional variables
        this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
        this.galleryName = IdParsingUtils.getValueFromIdByName(inner.id(), "galleries");
        this.galleryImageName = IdParsingUtils.getValueFromIdByName(inner.id(), "images");
        //
    }

    @Override
    public ComputeManager manager() {
        return this.manager;
    }

    @Override
    public Observable<GalleryImage> createResourceAsync() {
        GalleryImagesInner client = this.manager().inner().galleryImages();
        return client.createOrUpdateAsync(this.resourceGroupName, this.galleryName, this.galleryImageName, this.inner())
            .map(innerToFluentMap(this));
    }

    @Override
    public Observable<GalleryImage> updateResourceAsync() {
        GalleryImagesInner client = this.manager().inner().galleryImages();
        return client.createOrUpdateAsync(this.resourceGroupName, this.galleryName, this.galleryImageName, this.inner())
            .map(innerToFluentMap(this));
    }

    @Override
    protected Observable<GalleryImageInner> getInnerAsync() {
        GalleryImagesInner client = this.manager().inner().galleryImages();
        return client.getAsync(this.resourceGroupName, this.galleryName, this.galleryImageName);
    }

    @Override
    public boolean isInCreateMode() {
        return this.inner().id() == null;
    }

    @Override
    public String description() {
        return this.inner().description();
    }

    @Override
    public Disallowed disallowed() {
        return this.inner().disallowed();
    }

    @Override
    public DateTime endOfLifeDate() {
        return this.inner().endOfLifeDate();
    }

    @Override
    public String eula() {
        return this.inner().eula();
    }

    @Override
    public String id() {
        return this.inner().id();
    }

    @Override
    public GalleryImageIdentifier identifier() {
        return this.inner().identifier();
    }

    @Override
    public String location() {
        return this.inner().location();
    }

    @Override
    public String name() {
        return this.inner().name();
    }

    @Override
    public OperatingSystemStateTypes osState() {
        return this.inner().osState();
    }

    @Override
    public OperatingSystemTypes osType() {
        return this.inner().osType();
    }

    @Override
    public String privacyStatementUri() {
        return this.inner().privacyStatementUri();
    }

    @Override
    public String provisioningState() {
        return this.inner().provisioningState();
    }

    @Override
    public ImagePurchasePlan purchasePlan() {
        return this.inner().purchasePlan();
    }

    @Override
    public RecommendedMachineConfiguration recommended() {
        return this.inner().recommended();
    }

    @Override
    public String releaseNoteUri() {
        return this.inner().releaseNoteUri();
    }

    @Override
    public Map<String, String> tags() {
        return this.inner().getTags();
    }

    @Override
    public String type() {
        return this.inner().type();
    }

    @Override
    public GalleryImageImpl withExistingGallery(String resourceGroupName, String galleryName) {
        this.resourceGroupName = resourceGroupName;
        this.galleryName = galleryName;
        return this;
    }

    @Override
    public GalleryImageImpl withIdentifier(GalleryImageIdentifier identifier) {
        this.inner().withIdentifier(identifier);
        return this;
    }

    @Override
    public GalleryImageImpl withLocation(String location) {
        this.inner().withLocation(location);
        return this;
    }

    @Override
    public GalleryImageImpl withOsState(OperatingSystemStateTypes osState) {
        this.inner().withOsState(osState);
        return this;
    }

    @Override
    public GalleryImageImpl withOsType(OperatingSystemTypes osType) {
        this.inner().withOsType(osType);
        return this;
    }

    @Override
    public GalleryImageImpl withDescription(String description) {
        this.inner().withDescription(description);
        return this;
    }

    @Override
    public GalleryImageImpl withDisallowed(Disallowed disallowed) {
        this.inner().withDisallowed(disallowed);
        return this;
    }

    @Override
    public GalleryImageImpl withEndOfLifeDate(DateTime endOfLifeDate) {
        this.inner().withEndOfLifeDate(endOfLifeDate);
        return this;
    }

    @Override
    public GalleryImageImpl withEula(String eula) {
        this.inner().withEula(eula);
        return this;
    }

    @Override
    public GalleryImageImpl withPrivacyStatementUri(String privacyStatementUri) {
        this.inner().withPrivacyStatementUri(privacyStatementUri);
        return this;
    }

    @Override
    public GalleryImageImpl withPurchasePlan(ImagePurchasePlan purchasePlan) {
        this.inner().withPurchasePlan(purchasePlan);
        return this;
    }

    @Override
    public GalleryImageImpl withRecommended(RecommendedMachineConfiguration recommended) {
        this.inner().withRecommended(recommended);
        return this;
    }

    @Override
    public GalleryImageImpl withReleaseNoteUri(String releaseNoteUri) {
        this.inner().withReleaseNoteUri(releaseNoteUri);
        return this;
    }

    @Override
    public GalleryImageImpl withTags(Map<String, String> tags) {
        this.inner().withTags(tags);
        return this;
    }

}


text:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="colorPrimary">#388E3C</color>
    <color name="colorPrimaryDark">#1B5E20</color>
    <color name="colorAccent">#FF9100</color>
    <color name="account_status_ok">#4CAF50</color>
    <color name="account_status_only_acknowledged">#89AF4C</color>
    <color name="account_status_breached">#F44336</color>
    <color name="account_status_unknown">#9E9E9E</color>
    <color name="green">#007900</color>
    <color name="hibp_info_bg_light">#eeffffff</color>
    <color name="hibp_info_bg">#E8777777</color>
    <color name="bg_notification">#FFE8D0</color>
    <color name="textHighEmphasis">#DD000000</color>
    <color name="textMediumEmphasis">#99000000</color>
    <color name="textDisabledEmphasis">#60000000</color>
    <color name="background_between_cards">#ccc</color>
    <color name="selectedCard">#dddddd</color>
</resources>


text:
import java.io.IOException
import java.util.concurrent.TimeoutException

object IAE {
  def unapply(e: Exception): Option[String] =
    if (e.isInstanceOf[IllegalArgumentException] && e.getMessage != null) Some(e.getMessage)
    else None
}

object EX extends Exception {
  val msg = "a"
  class InnerException extends Exception(msg)
}

trait ExceptionTrait extends Exception

trait TestTrait {
  type ExceptionType <: Exception

  def traitTest(): Unit = {
    try {
      throw new IOException
    } catch {
      case _: ExceptionType => println("success 9.2")
      case _                => println("failed 9.2")
    }
  }
}

object Test extends TestTrait {
  type ExceptionType = IOException

  def main(args: Array[String]): Unit = {
    var a: Int = 1

    try {
      throw new Exception("abc")
    } catch {
      case _: Exception => println("success 1")
      case _            => println("failed 1")
    }

    try {
      throw new Exception("abc")
    } catch {
      case e: Exception => println("success 2")
      case _            => println("failed 2")
    }

    try {
      throw new Exception("abc")
    } catch {
      case e: Exception if e.getMessage == "abc" => println("success 3")
      case _                                     => println("failed 3")
    }

    try {
      throw new Exception("abc")
    } catch {
      case e: Exception if e.getMessage == "" => println("failed 4")
      case _                                  => println("success 4")
    }

    try {
      throw EX
    } catch {
      case EX => println("success 5")
      case _  => println("failed 5")
    }

    try {
      throw new EX.InnerException
    } catch {
      case _: EX.InnerException => println("success 6")
      case _                    => println("failed 6")
    }

    try {
      throw new NullPointerException
    } catch {
      case _: NullPointerException | _:IOException => println("success 7")
      case _                                       => println("failed 7")
    }

    try {
      throw new ExceptionTrait {}
    } catch {
      case _: ExceptionTrait => println("success 8")
      case _                 => println("failed 8")
    }

    try {
      throw new IOException
    } catch {
      case _: ExceptionType => println("success 9.1")
      case _                => println("failed 9.1")
    }

    traitTest() // test 9.2

    def testThrow(throwIt: => Unit): Unit = {
      try {
        throwIt
      } catch {
        // These cases will be compiled as catch cases
        case e: NullPointerException                 => println("NullPointerException")
        case e: IndexOutOfBoundsException            => println("IndexOutOfBoundsException")
        case _: NoSuchElementException               => println("NoSuchElementException")
        case _: EX.InnerException                    => println("InnerException")
        // All the following will be compiled as a match
        case IAE(msg)                                => println("IllegalArgumentException: " + msg)
        case _: ExceptionTrait                       => println("ExceptionTrait")
        case e: IOException if e.getMessage == null  => println("IOException")
        case _: NullPointerException | _:IOException => println("NullPointerException | IOException")
//        case `a`                                     => println("`a`")
        case EX                                      => println("EX")
        case e: IllegalArgumentException             => println("IllegalArgumentException")
        case _: ClassCastException                   => println("ClassCastException")
      }
    }

    testThrow(throw new IllegalArgumentException("abc"))
    testThrow(throw new IllegalArgumentException())
    testThrow(throw new IOException("abc"))
    testThrow(throw new NoSuchElementException())
    testThrow(throw EX)
    testThrow(throw new EX.InnerException)
    testThrow(throw new NullPointerException())
    testThrow(throw new ExceptionTrait {})
    testThrow(throw a.asInstanceOf[Throwable])
    try {
      testThrow(throw new TimeoutException)
      println("TimeoutException did not escape")
    } catch {
      case _: TimeoutException => println("TimeoutException escaped")
    }
  }

}