Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2851 - 2860 of 4,456 for override1 (0.1 seconds)

  1. android/guava/src/com/google/common/base/SmallCharMatcher.java

              break;
            }
            // Linear probing.
            index = (index + 1) & mask;
          }
        }
        return new SmallCharMatcher(table, filter, containsZero, description);
      }
    
      @Override
      public boolean matches(char c) {
        if (c == 0) {
          return containsZero;
        }
        if (!checkFilter(c)) {
          return false;
        }
        int mask = table.length - 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

            }
        }
    
        /**
         * Returns the default HTTP port.
         *
         * @return An <code>int</code> containing the default HTTP port.
         */
        @Override
        protected int getDefaultPort() {
            return DEFAULT_HTTP_PORT;
        }
    
        @Override
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol()));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

        public ContainerCapsule containerCapsule;
        public Lookup lookup;
        public EventSpyDispatcher eventSpyDispatcher;
    
        public BuildEventListener buildEventListener;
    
        // paths user can override from CLI, and we need to set on MavenExReq
        public Path installationSettingsPath;
        public Path projectSettingsPath;
        public Path userSettingsPath;
        public boolean interactive;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java

         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
         * @throws UnknownHostException if the host name cannot be resolved
         */
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            // Handle IPv6 addresses in bracket notation
            if (host != null && host.length() > 2 && host.startsWith("[") && host.endsWith("]")) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/testing-dependencies.md

    # 오버라이드로 의존성 테스트하기 { #testing-dependencies-with-overrides }
    
    ## 테스트 중 의존성 오버라이드하기 { #overriding-dependencies-during-testing }
    
    테스트를 진행하다 보면 테스트 중에 의존성을 오버라이드해야 하는 경우가 있습니다.
    
    원래 의존성을 실행하고 싶지 않을 수도 있습니다(또는 그 의존성이 가지고 있는 하위 의존성까지도 실행되지 않길 원할 수 있습니다).
    
    대신, 테스트 동안(특정 테스트에서만) 사용될 다른 의존성을 제공하고, 원래 의존성이 사용되던 곳에서 사용할 수 있는 값을 제공하기를 원할 수 있습니다.
    
    ### 사용 사례: 외부 서비스 { #use-cases-external-service }
    
    예를 들어, 외부 인증 제공자를 호출해야 하는 경우를 생각해봅시다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 00:15:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        var bytesLeft = byteCount
    
        while (bytesLeft > 0) {
          if (bytesWrittenSinceLastDelay == bytesPerPeriod) {
            flush()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    /**
     * @author Gregory Kick
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private RuntimeWrapper runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(RuntimeWrapper.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.5K bytes
    - Click Count (0)
Back to Top