Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for octal (0.04 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Short#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
       * value {@code 83}.
       *
       * @since 16.0
       */
      public static Converter<String, Short> stringConverter() {
        return ShortConverter.INSTANCE;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Integer#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
       * value {@code 83}.
       *
       * @since 16.0
       */
      public static Converter<String, Integer> stringConverter() {
        return IntConverter.INSTANCE;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    }
    
    func TestRoundTrip(t *testing.T) {
    	data := []byte("some file contents")
    
    	var b bytes.Buffer
    	tw := NewWriter(&b)
    	hdr := &Header{
    		Name:       "file.txt",
    		Uid:        1 << 21, // Too big for 8 octal digits
    		Size:       int64(len(data)),
    		ModTime:    time.Now().Round(time.Second),
    		PAXRecords: map[string]string{"uid": "2097152"},
    		Format:     FormatPAX,
    		Typeflag:   TypeReg,
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Longs.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Long#decode} to understand exactly how strings are parsed.
       * For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the value
       * {@code 83L}.
       *
       * @since 16.0
       */
      public static Converter<String, Long> stringConverter() {
        return LongConverter.INSTANCE;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Longs.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Long#decode} to understand exactly how strings are parsed.
       * For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the value
       * {@code 83L}.
       *
       * @since 16.0
       */
      public static Converter<String, Long> stringConverter() {
        return LongConverter.INSTANCE;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
        int octet = 0;
        for (int i = start; i < end; i++) {
          octet *= 10;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
        int octet = 0;
        for (int i = start; i < end; i++) {
          octet *= 10;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    <code>\U</code> followed by exactly eight hexadecimal digits, and a
    plain backslash <code>\</code> followed by exactly three octal digits.
    In each case the value of the literal is the value represented by
    the digits in the corresponding base.
    </p>
    
    <p>
    Although these representations all result in an integer, they have
    different valid ranges.  Octal escapes must represent a value between
    0 and 255 inclusive.  Hexadecimal escapes satisfy this condition
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://[0:0:0:0:0:1:0.0.0.0]/").host).isEqualTo("::1:0:0")
      }
    
      @Test
      fun hostIpv6WithIpv4SuffixWithOctalPrefix() {
        // Chrome interprets a leading '0' as octal; Firefox rejects them. (We reject them.)
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0.0.000000]/",
          "Invalid URL host: \"[0:0:0:0:0:1:0.0.0.000000]\"",
        )
        assertInvalid(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  10. doc/go_spec.html

    <code>\U</code> followed by exactly eight hexadecimal digits, and a
    plain backslash <code>\</code> followed by exactly three octal digits.
    In each case the value of the literal is the value represented by
    the digits in the corresponding base.
    </p>
    
    <p>
    Although these representations all result in an integer, they have
    different valid ranges.  Octal escapes must represent a value between
    0 and 255 inclusive.  Hexadecimal escapes satisfy this condition
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top