Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for Browne (0.19 sec)

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

        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
        assertEquals("Xhe_Xuick_Xrown_Xox_", builder.build().escape("The Quick Brown Fox!"));
        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  2. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            ComparableVersion version2 = new ComparableVersion("0.2");
            assertEquals("0.2", version2.getCanonical());
        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-5568">MNG-5568</a> edge case
         * which was showing transitive inconsistency: since A &gt; B and B &gt; C then we should have A &gt; C
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
        assertThrows(IllegalStateException.class, () -> hasher.putInt(42));
      }
    
      public void testHashTwice() {
        Hasher hasher = Hashing.hmacMd5(MD5_KEY).newHasher();
    
        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        assertHash(
            0, 0xe34bbc7bbc071b6cL, 0x7a433ca9c49a9347L, "The quick brown fox jumps over the lazy dog");
        assertHash(
            0, 0x658ca970ff85269aL, 0x43fee3eaa68e5c3eL, "The quick brown fox jumps over the lazy cog");
    
        // Known output from Python smhasher
        HashCode foxHash =
            murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

          }
        }
      }
    
      public void testPutAfterHash() {
        Hasher sha1 = Hashing.sha1().newHasher();
    
        assertEquals(
            "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
            sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8)
                .hash()
                .toString());
        assertThrows(IllegalStateException.class, () -> sha1.putInt(42));
      }
    
      public void testHashTwice() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        extends AtomicReference<@Nullable Runnable> implements Runnable {
      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.java.net/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
      private static final class DoNothingRunnable implements Runnable {
        @Override
        public void run() {}
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ParametricNullness.java

     *   <li>{@code NullPointerTester}, at least in the Android backport (where the type-use annotations
     *       {@code NullPointerTester} would need are not available) and in case of <a
     *       href="https://bugs.openjdk.java.net/browse/JDK-8202469">JDK-8202469</a>
     * </ul>
     *
     * <p>This annotation is a temporary hack. We will remove it after we're able to adopt the <a
     * href="https://jspecify.dev/">JSpecify</a> nullness annotations and <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/ParametricNullness.java

     *   <li>{@code NullPointerTester}, at least in the Android backport (where the type-use annotations
     *       {@code NullPointerTester} would need are not available) and in case of <a
     *       href="https://bugs.openjdk.java.net/browse/JDK-8202469">JDK-8202469</a>
     * </ul>
     *
     * <p>This annotation is a temporary hack. We will remove it after we're able to adopt the <a
     * href="https://jspecify.dev/">JSpecify</a> nullness annotations and <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
           * https://github.com/google/guava/blob/4f12c5891a7adedbaa1d99fc9f77d8cc4e9da206/guava-tests/test/com/google/common/reflect/TypeResolverTest.java#L201
           */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
           * https://github.com/google/guava/blob/4f12c5891a7adedbaa1d99fc9f77d8cc4e9da206/guava-tests/test/com/google/common/reflect/TypeResolverTest.java#L201
           */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top