Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 498 for chain (0.02 seconds)

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

        firstException = expected;
        // Second time should also fail, with a cached causal chain.
        expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertThat(expected.getCause()).isEqualTo(firstException.getCause());
        // lockA should work after lockB is released.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        firstException = expected;
        // Second time should also fail, with a cached causal chain.
        expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertThat(expected.getCause()).isEqualTo(firstException.getCause());
        // lockA should work after lockB is released.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

      @BeforeEach
      fun setUp() {
        client =
          OkHttpClient
            .Builder()
            .addNetworkInterceptor(
              Interceptor { chain ->
                when {
                  extraNetworkInterceptor != null -> extraNetworkInterceptor!!.intercept(chain)
                  else -> chain.proceed(chain.request())
                }
              },
            ).addNetworkInterceptor(networkInterceptor)
            .addInterceptor(applicationInterceptor)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        private byte[] blob = null;
    
        /**
         * Constructs a session setup AndX response.
         *
         * @param config the configuration to use
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComSessionSetupAndXResponse(final Configuration config, final ServerMessageBlock andx) {
            super(config, andx);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

       */
      abstract fun <T : Any> plus(
        key: KClass<T>,
        value: T?,
      ): Tags
    
      abstract operator fun <T : Any> get(key: KClass<T>): T?
    }
    
    /** An empty tags. This is always the tail of a [LinkedTags] chain. */
    internal object EmptyTags : Tags() {
      override fun <T : Any> plus(
        key: KClass<T>,
        value: T?,
      ): Tags =
        when {
          value != null -> LinkedTags(key, value, this)
          else -> this
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertEquals(complexMessageCode, exception.getMessageCode());
        }
    
        @Test
        public void test_causeChainPropagation() {
            // Setup - create a chain of exceptions
            final IllegalArgumentException rootCause = new IllegalArgumentException("Invalid character in query");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        } catch (ignored: IllegalArgumentException) {
        }
      }
    
      @Test fun clonedInterceptorsListsAreIndependent() {
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            chain.proceed(chain.request())
          }
        val original = clientTestRule.newClient()
        original
          .newBuilder()
          .addInterceptor(interceptor)
          .addNetworkInterceptor(interceptor)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  8. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

        private String nativeFileSystem = "";
    
        /**
         * Constructs a tree connect AndX response.
         *
         * @param config the configuration to use
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComTreeConnectAndXResponse(final Configuration config, final ServerMessageBlock andx) {
            super(config, andx);
        }
    
        /**
         * @return the service
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            assertFalse(exception.aborted());
        }
    
        @Test
        public void test_constructorWithThrowableCause_ChainedErrorsAndExceptions() {
            // Test with mixed Errors and Exceptions in cause chain
            String url = "http://example.com/complex-error";
            String message = "Complex error during crawling";
    
            NullPointerException innerException = new NullPointerException("Null reference");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       * Contains the logical entries, in the range of [0, size()). The high 32 bits of each long is the
       * smeared hash of the element, whereas the low 32 bits is the "next" pointer (pointing to the
       * next entry in the bucket chain). The pointers in [size(), entries.length) are all "null"
       * (UNSET).
       */
      @VisibleForTesting transient long[] entries;
    
      /** The load factor. */
      private transient float loadFactor;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
Back to Top