Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,182 for delegate (0.04 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        void getTreeId_noTree() {
            SmbTreeConnection c = newConn();
            assertEquals(-1, c.getTreeId());
        }
    
        @Test
        @DisplayName("getTreeType and getConnectedShare delegate to tree")
        void getters_delegateToTree() {
            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
          // forward map is a view, don't make a copy of the non-view delegate map
          if (!bimap.isPartialView()) {
            return bimap;
          }
        }
        return copyOf(map.entrySet());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top