Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for octal (0.15 sec)

  1. src/archive/tar/strconv.go

    			return 0
    		}
    		if inv == 0xff {
    			return ^int64(x)
    		}
    		return int64(x)
    	}
    
    	// Normal case is base-8 (octal) format.
    	return p.parseOctal(b)
    }
    
    // formatNumeric encodes x into b using base-8 (octal) encoding if possible.
    // Otherwise it will attempt to use base-256 (binary) encoding.
    func (f *formatter) formatNumeric(b []byte, x int64) {
    	if fitsInOctal(len(b), x) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        }
      }
    
      public void testDecodeLong() {
        assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL);
        assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        }
      }
    
      public void testDecodeLong() {
        assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL);
        assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    			// files generated by a pre-Go1.8 toolchain. If the generated file
    			// happened to have a prefix field that parses as valid
    			// atime and ctime fields (e.g., when they are valid octal strings),
    			// then it is impossible to distinguish between a valid GNU file
    			// and an invalid pre-Go1.8 file.
    			//
    			// See https://golang.org/issues/12594
    			// See https://golang.org/issues/21005
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

        return (int) (toLong(dividend) % toLong(divisor));
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given string.
       *
       * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix:
       *
       * <ul>
       *   <li>{@code 0x}<i>HexDigits</i>
       *   <li>{@code 0X}<i>HexDigits</i>
       *   <li>{@code #}<i>HexDigits</i>
       *   <li>{@code 0}<i>OctalDigits</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          value = (value * radix) + digit;
        }
    
        return value;
      }
    
      /**
       * Returns the unsigned {@code long} value represented by the given string.
       *
       * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix:
       *
       * <ul>
       *   <li>{@code 0x}<i>HexDigits</i>
       *   <li>{@code 0X}<i>HexDigits</i>
       *   <li>{@code #}<i>HexDigits</i>
       *   <li>{@code 0}<i>OctalDigits</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. doc/go_spec.html

    <pre class="ebnf">
    rune_lit         = "'" ( unicode_value | byte_value ) "'" .
    unicode_value    = unicode_char | little_u_value | big_u_value | escaped_char .
    byte_value       = octal_byte_value | hex_byte_value .
    octal_byte_value = `\` octal_digit octal_digit octal_digit .
    hex_byte_value   = `\` "x" hex_digit hex_digit .
    little_u_value   = `\` "u" hex_digit hex_digit hex_digit hex_digit .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    </p>
    <pre class="ebnf">
    rune_lit         = "'" ( unicode_value | byte_value ) "'" .
    unicode_value    = unicode_char | little_u_value | big_u_value | escaped_char .
    byte_value       = octal_byte_value | hex_byte_value .
    octal_byte_value = `\` octal_digit octal_digit octal_digit .
    hex_byte_value   = `\` "x" hex_digit hex_digit .
    little_u_value   = `\` "u" hex_digit hex_digit hex_digit hex_digit .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top