Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for fixed (0.12 sec)

  1. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf));
        assertEquals(expected, new String(buf));
        assertFullyRead(reader);
    
        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>This method is called {@code murmur3_32_fixed} because it fixes a bug in the {@code
       * HashFunction} returned by the original {@code murmur3_32} method.
       *
       * @since 31.0
       */
      public static HashFunction murmur3_32_fixed() {
        return Murmur3_32HashFunction.MURMUR3_32_FIXED;
      }
    
      /**
       * Returns a hash function implementing the <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Ticker.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A time source; returns a time value representing the number of nanoseconds elapsed since some
     * fixed but arbitrary point in time. Note that most users should use {@link Stopwatch} instead of
     * interacting with this class directly.
     *
     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf));
        assertEquals(expected, new String(buf));
        assertFullyRead(reader);
    
        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ticker.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A time source; returns a time value representing the number of nanoseconds elapsed since some
     * fixed but arbitrary point in time. Note that most users should use {@link Stopwatch} instead of
     * interacting with this class directly.
     *
     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutAllNullKeyUnsupportedMethod() {
        return Helpers.getMethod(MapPutAllTester.class, "testPutAll_nullKeyUnsupported");
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

       * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddAllNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionAddAllTester.class, "testAddAll_nullUnsupported");
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.murmur3_32(), TQBFJOTLD, "23f74f2e")
              .put(Hashing.murmur3_32(), TQBFJOTLDP, "fc8bc4d5")
              .put(Hashing.murmur3_32_fixed(), EMPTY_STRING, "00000000")
              .put(Hashing.murmur3_32_fixed(), TQBFJOTLD, "23f74f2e")
              .put(Hashing.murmur3_32_fixed(), TQBFJOTLDP, "fc8bc4d5")
              .put(Hashing.sha1(), EMPTY_STRING, "da39a3ee5e6b4b0d3255bfef95601890afd80709")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableNetwork<Integer, Object> network =
              networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

       * tests of {@link CopyOnWriteArraySet} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570575">Sun bug 6570575</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getListIteratorFullyModifiableMethod() {
        return Helpers.getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top