Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for 0xfffd (0.08 sec)

  1. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertEquals("The Quick Brown Fox", escaper.escape("The Quick Brown Fox"));
      }
    
      public void testBuilderInitialStateNoneUnsafe() {
        // No characters are unsafe by default (safeMin == 0, safeMax == 0xFFFF).
        Escaper escaper = Escapers.builder().setUnsafeReplacement("X").build();
        assertEquals("\0\uFFFF", escaper.escape("\0\uFFFF"));
      }
    
      public void testBuilderRetainsState() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

          checkArgument(
              (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
          checkArgument(
              (flags >= 0) && (flags <= 0xffff),
              "flags '%s' is out of range (0 <= flags <= 0xffff)",
              flags);
    
          this.server = MoreObjects.firstNonNull(server, ANY4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

          checkArgument(
              (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
          checkArgument(
              (flags >= 0) && (flags <= 0xffff),
              "flags '%s' is out of range (0 <= flags <= 0xffff)",
              flags);
    
          this.server = MoreObjects.firstNonNull(server, ANY4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        // we can get away with i++ because the whole point of this method is to return false if we find
        // a code point that doesn't fit in a char.
        for (int i = 0; i < string.length(); i++) {
          if (string.codePointAt(i) > 0xffff) {
            return false;
          }
        }
        return true;
      }
    
      @SuppressWarnings("deprecation")
      public void testSimpleStringUtf8() {
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

          byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8) {
        return (b1 & 0xFFL) << 56
            | (b2 & 0xFFL) << 48
            | (b3 & 0xFFL) << 40
            | (b4 & 0xFFL) << 32
            | (b5 & 0xFFL) << 24
            | (b6 & 0xFFL) << 16
            | (b7 & 0xFFL) << 8
            | (b8 & 0xFFL);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Longs.java

          byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8) {
        return (b1 & 0xFFL) << 56
            | (b2 & 0xFFL) << 48
            | (b3 & 0xFFL) << 40
            | (b4 & 0xFFL) << 32
            | (b5 & 0xFFL) << 24
            | (b6 & 0xFFL) << 16
            | (b7 & 0xFFL) << 8
            | (b8 & 0xFFL);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LittleEndianByteArray.java

      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
            | ((source[offset + 3] & 0xFF) << 24);
      }
    
      /**
       * Indicates that the loading of Unsafe was successful and the load and store operations will be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(converter.reverse().convert(-1L)).isEqualTo("-1");
        assertThat(converter.reverse().convert(0xffL)).isEqualTo("255");
        assertThat(converter.reverse().convert(0xFFL)).isEqualTo("255");
        assertThat(converter.reverse().convert(-0xFFL)).isEqualTo("-255");
        assertThat(converter.reverse().convert(0666L)).isEqualTo("438");
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            for (int i = 0; i < sz; i++) {
                char ch = str.charAt(i);
                // handle unicode
                if (ch > 0xfff) {
                    out.append("\\u").append(hex(ch));
                } else if (ch > 0xff) {
                    out.append("\\u0").append(hex(ch));
                } else if (ch > 0x7f) {
                    out.append("\\u00").append(hex(ch));
                } else if (ch < 32) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/HashCode.java

              bytes.length >= 4,
              "HashCode#asInt() requires >= 4 bytes (it only has %s bytes).",
              bytes.length);
          return (bytes[0] & 0xFF)
              | ((bytes[1] & 0xFF) << 8)
              | ((bytes[2] & 0xFF) << 16)
              | ((bytes[3] & 0xFF) << 24);
        }
    
        @Override
        public long asLong() {
          checkState(
              bytes.length >= 8,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top