Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,853 for breathe (0.2 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Platform.java

       * for insertions.
       */
      static <E extends @Nullable Object> Set<E> preservesInsertionOrderOnAddsSet() {
        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb1.Config;
    
    /**
     * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we
     * create a lightweight concrete subclass only to exercise the inherited
     * behaviour. The tests cover flag manipulation, byte‑buffer operations and
     * static helpers. Edge cases such as null or short arrays and negative
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      }
    
      open class Factory
        @JvmOverloads
        constructor(
          private val logger: HttpLoggingInterceptor.Logger = HttpLoggingInterceptor.Logger.DEFAULT,
        ) : EventListener.Factory {
          override fun create(call: Call): EventListener = LoggingEventListener(logger)
        }
    
      companion object
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/https/HandlerTest.java

        @BeforeEach
        void setUp() {
            handler = new Handler();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with default constructor")
            void testDefaultConstructor() {
                // When
                Handler testHandler = new Handler();
    
                // Then
                assertNotNull(testHandler);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

    import jcifs.internal.util.SMBUtil;
    
    @ExtendWith(MockitoExtension.class)
    class Smb2LogoffRequestTest {
    
        @Mock
        Configuration configuration;
    
        @Mock
        CIFSContext cifsContext;
    
        // Helper to create a fresh request under test
        private Smb2LogoffRequest newRequest() {
            return new Smb2LogoffRequest(configuration);
        }
    
        @Test
        @DisplayName("size() returns 8-byte aligned value (header + 4)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SmbCircuitBreaker.java

        /**
         * Create a circuit breaker with default settings
         *
         * @param name circuit breaker name for logging
         */
        public SmbCircuitBreaker(String name) {
            this(name, 5, 3, 60000, 3, false, false, 100);
        }
    
        /**
         * Create a circuit breaker with custom settings
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            when(mockConfig.getSendBufferSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
        void testConstructor() {
            // When
            Smb2NegotiateResponse resp = new Smb2NegotiateResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. cmd/peer-s3-client.go

    			}
    		}
    		poolErr := reduceWriteQuorumErrs(ctx, perPoolErrs, bucketOpIgnoredErrs, len(perPoolErrs)/2+1)
    		if poolErr != nil && !errors.Is(poolErr, errVolumeNotFound) {
    			if !opts.NoRecreate {
    				// re-create successful deletes, since we are return an error.
    				sys.MakeBucket(ctx, bucket, MakeBucketOptions{})
    			}
    			return toObjectErr(poolErr, bucket)
    		}
    	}
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

        //                                                                       =============
        /**
         * Creates a user bean from the given user entity.
         *
         * @param user the user entity to create a bean from
         * @return the created user bean
         */
        @Override
        protected FessUserBean createUserBean(final FessUser user) {
            return new FessUserBean(user);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top