Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 325 for undelegate (0.1 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                      if (!method.getDeclaringClass().equals(type)) {
                        return method.invoke(delegate, args);
                      }
                      checkState(started.getCount() == 1);
                      started.countDown();
                      try {
                        return method.invoke(delegate, args);
                      } catch (InvocationTargetException e) {
                        throw e.getCause();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

         * accessed by the connection closer task.
         */
        var concurrentCallCapacity: Int = 0
      }
    
      companion object {
        fun get(connectionPool: ConnectionPool): RealConnectionPool = connectionPool.delegate
    
        private var addressStatesUpdater =
          AtomicReferenceFieldUpdater.newUpdater(
            RealConnectionPool::class.java,
            Map::class.java,
            "addressStates",
          )
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        stream: Http2Stream? = null,
      ): Sink {
        var result: Sink = this
    
        if (policy.throttlePeriodNanos > 0L) {
          result =
            ThrottledSink(
              socket = socket,
              delegate = result,
              bytesPerPeriod = policy.throttleBytesPerPeriod,
              periodDelayNanos = policy.throttlePeriodNanos,
            )
        }
    
        if (socketEffect != null) {
          val halfwayByteCount =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            }
            assertThrows(ClassCastException.class, () -> {
                OtherPipeHandle result = handle.unwrap(OtherPipeHandle.class);
            });
        }
    
        @Test
        @DisplayName("getPipeType and getPipe delegate to SmbNamedPipe")
        void pipeType_and_getPipe() {
            when(pipe.getPipeType()).thenReturn(12345);
            SmbPipeHandleImpl handle = new SmbPipeHandleImpl(pipe);
            assertEquals(12345, handle.getPipeType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        public boolean equals(@Nullable Object object) {
          if (object instanceof AsList) {
            AsList that = (AsList) object;
            return this.parent.equals(that.parent);
          }
          // We could delegate to super now but it would still box too much
          if (!(object instanceof List)) {
            return false;
          }
          List<?> that = (List<?>) object;
          if (this.size() != that.size()) {
            return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/ImmutableIntArray.java

        public boolean equals(@Nullable Object object) {
          if (object instanceof AsList) {
            AsList that = (AsList) object;
            return this.parent.equals(that.parent);
          }
          // We could delegate to super now but it would still box too much
          if (!(object instanceof List)) {
            return false;
          }
          List<?> that = (List<?>) object;
          if (this.size() != that.size()) {
            return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         *
         * @return the input location object, or {@code null} if not available
         */
        @Nullable
        Object inputLocation();
    
        // Deprecated methods that delegate to new ones
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default String getName() {
            return name();
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

      public final <S extends @Nullable T> Wrapper<S> wrap(@ParametricNullness S reference) {
        return new Wrapper<>(this, reference);
      }
    
      /**
       * Wraps an object so that {@link #equals(Object)} and {@link #hashCode()} delegate to an {@link
       * Equivalence}.
       *
       * <p>For example, given an {@link Equivalence} for {@link String strings} named {@code equiv}
       * that tests equivalence using their lengths:
       *
       * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      val originalRequest: Request,
      val forWebSocket: Boolean,
    ) : Call,
      Cloneable,
      Lockable {
      private val connectionPool: RealConnectionPool = client.connectionPool.delegate
    
      internal val eventListener: EventListener = client.eventListenerFactory.create(this)
    
      private val timeout =
        object : AsyncTimeout() {
          override fun timedOut() {
            ******@****.***()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<?> deserialized = (ImmutableSet<?>) in.readObject();
        EnumSet<?> delegate = (EnumSet<?>) in.readObject();
    
        assertEquals(original, deserialized);
        assertTrue(delegate.remove(SomeEnum.A));
        assertTrue(deserialized.contains(SomeEnum.A));
      }
    
      @GwtIncompatible
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
Back to top