Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,472 for implementation (0.61 sec)

  1. android/guava/src/com/google/common/annotations/GwtIncompatible.java

       * unsupported type/method. E.g. "Class.isInstance".
       *
       * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
       * API is {@code @GwtIncompatible} to instead leave an implementation comment.
       */
      String value() default "";
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

              // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
              // For these users fallback to a suboptimal implementation, based on synchronized. This
              // will be a definite performance hit to those users.
              thrownAtomicReferenceFieldUpdaterFailure = atomicReferenceFieldUpdaterFailure;
              helper = new SynchronizedHelper();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        fakeTicker.advance(500, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
      }
    
      @SuppressWarnings("ContainsEntryAfterGetInteger") // we are testing our implementation of Map.get
      @Test
      public void mapMethods() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        ConcurrentMap<Integer, Integer> asMap = cache.asMap();
    
        cache.put(10, 100);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

          value != null -> LinkedTags(key, value, this)
          else -> this
        }
    
      override fun <T : Any> get(key: KClass<T>): T? = null
    
      override fun toString() = "{}"
    }
    
    /**
     * An invariant of this implementation is that [next] must not contain a mapping for [key].
     * Otherwise, we would have two values for the same key.
     */
    private class LinkedTags<K : Any>(
      private val key: KClass<K>,
      private val value: K,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import java.util.Set;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
     */
    @GwtIncompatible
    public class SortedMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

        @Mock
        private SMB1SigningDigest mockDigest;
    
        @Mock
        private ServerMessageBlock mockResponse;
    
        private TestServerMessageBlock testBlock;
    
        /**
         * Test implementation of ServerMessageBlock for testing
         */
        private static class TestServerMessageBlock extends ServerMessageBlock {
    
            private int paramWordsWritten = 0;
            private int bytesWritten = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSinkTest.java

          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newInputStream() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractHasher.java

    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    abstract class AbstractHasher implements Hasher {
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

     */
    @Deprecated
    public interface WagonManager extends org.apache.maven.repository.legacy.WagonManager {
        /**
         * this method is only here for backward compat (project-info-reports:dependencies)
         * the default implementation will return an empty AuthenticationInfo
         *
         * @param id an id
         * @return corresponding authentication info
         */
        AuthenticationInfo getAuthenticationInfo(String id);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet
     * implementation.
     */
    @GwtIncompatible
    public final class NavigableSetTestSuiteBuilder<E> extends SortedSetTestSuiteBuilder<E> {
      public static <E> NavigableSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top