Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2521 - 2530 of 4,435 for Reject (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
            assertEquals(channel2, selected); // Should select less loaded channel
        }
    
        @Test
        void testWeightedRandomStrategy() {
            loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

    import okhttp3.internal.http2.ConnectionShutdownException
    import okhttp3.internal.skipAll
    import okio.buffer
    
    /** This is the last interceptor in the chain. It makes a network call to the server. */
    object CallServerInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.exchange!!
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

      "RedundantLambdaArrow",
      "RedundantExplicitType",
      "IMPLICIT_NOTHING_AS_TYPE_PARAMETER",
    )
    class KotlinSourceModernTest {
      @Test @Ignore
      fun dispatcherFromMockWebServer() {
        val dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse = TODO()
    
            override fun peek(): MockResponse = TODO()
    
            override fun shutdown() = TODO()
          }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

      }
    
      @CollectionFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_QUERIES)
      public void testRemoveAll_containsNullNo() {
        MinimalCollection<?> containsNull = MinimalCollection.of((Object) null);
        try {
          assertFalse(
              "removeAll(containsNull) should return false or throw",
              collection.removeAll(containsNull));
        } catch (NullPointerException tolerated) {
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

        other is AndroidCertificateChainCleaner &&
          other.trustManager === this.trustManager
    
      override fun hashCode(): Int = System.identityHashCode(trustManager)
    
      companion object {
        @SuppressSignatureCheck
        fun buildIfSupported(trustManager: X509TrustManager): AndroidCertificateChainCleaner? {
          val extensions =
            try {
              X509TrustManagerExtensions(trustManager)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

        @DisplayName("Mockito mock of WinError")
        void mockInterfaceNoOps() {
            WinError mock = Mockito.mock(WinError.class);
            assertNotNull(mock);
            assertTrue(Mockito.mockingDetails(mock).isMock(), "Object should be a Mockito mock");
            Mockito.verifyNoInteractions(mock);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListLastIndexOfTester<E> extends AbstractListIndexOfTester<E> {
      @Override
      protected int find(Object o) {
        return getList().lastIndexOf(o);
      }
    
      @Override
      protected String getMethodName() {
        return "lastIndexOf";
      }
    
      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. tests/test_response_model_sub_types.py

                },
            },
            "components": {
                "schemas": {
                    "Model": {
                        "title": "Model",
                        "required": ["name"],
                        "type": "object",
                        "properties": {"name": {"title": "Name", "type": "string"}},
                    }
                }
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. internal/http/check_port_linux.go

    //go:build linux
    // +build linux
    
    // Copyright (c) 2015-2023 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Click Count (0)
Back to Top