Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for Sewell (0.16 sec)

  1. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

              /*
               * And at least one of the classes inside TypeTokenTest ends up with a null value in
               * TypeMappingIntrospector.mappings. That happens only under older JDKs, too, so it may
               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
          /*
           * Luckily, we don't care about analyzing tests at all. We'd skip them all if we could do so
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

       * multimap to be a view, but it means that the function will be applied many times for bulk
       * operations like {@link Multimap#containsValue} and {@code Multimap.toString()}. For this to
       * perform well, {@code function} should be fast. To avoid lazy evaluation when the returned
       * multimap doesn't need to be a view, copy the returned multimap into a new multimap of your
       * choosing.
       *
       * @since 7.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * to the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
     * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardPutAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = newTestStream(0);
        byte[] b = ByteStreams.toByteArray(in);
        assertThat(b).isEqualTo(new byte[0]);
      }
    
      public void testToByteArray_largeStream() throws IOException {
        // well, large enough to require multiple buffers
        byte[] expected = newPreFilledByteArray(10000000);
        InputStream in = new ByteArrayInputStream(expected);
        byte[] b = ByteStreams.toByteArray(in);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       *
       * <p>This class would certainly be simpler and easier to reason about if it were built with
       * ThreadLocal; however, ThreadLocal is not well optimized for the case where the ThreadLocal is
       * non-static, and is initialized/removed frequently - this causes churn in the Thread specific
       * hashmaps. Using a static ThreadLocal to avoid that overhead would mean that different
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/SplitterTest.java

          return;
        }
        assertSplitterIterableIsLazy(Splitter.onPattern(","));
      }
    
      /**
       * This test really pushes the boundaries of what we support. In general the splitter's behaviour
       * is not well defined if the char sequence it's splitting is mutated during iteration.
       */
      private void assertSplitterIterableIsLazy(Splitter splitter) {
        StringBuilder builder = new StringBuilder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

    import com.google.thirdparty.publicsuffix.PublicSuffixPatterns;
    import com.google.thirdparty.publicsuffix.PublicSuffixType;
    import java.util.List;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only
     * syntactic analysis is performed; no DNS lookups or other network interactions take place. Thus
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

       *     {@code toIndex > fromIndex}
       * @since 32.0.0
       */
      public static void rotate(int[] array, int distance, int fromIndex, int toIndex) {
        // There are several well-known algorithms for rotating part of an array (or, equivalently,
        // exchanging two blocks of memory). This classic text by Gries and Mills mentions several:
        // https://ecommons.cornell.edu/bitstream/handle/1813/6292/81-452.pdf.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<Integer> result = Iterables.concat(input);
        assertEquals(asList(1, 4), newArrayList(result));
    
        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
Back to top