Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,381 for then (0.02 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

        void testNextReturnsNull() {
            // When
            SmbResource result = emptyIterator.next();
    
            // Then
            assertNull(result, "next() should return null for empty iterator");
        }
    
        @Test
        @DisplayName("next should not throw NoSuchElementException")
        void testNextDoesNotThrowException() {
            // When & Then
            assertDoesNotThrow(() -> {
                emptyIterator.next();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/test/java/jcifs/AddressTest.java

        }
    
        @Test
        @DisplayName("unwrap method should return correct type when supported")
        void testUnwrapMethodContract() throws Exception {
            // Given
            when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress);
    
            // When & Then
            Address unwrapped = mockAddress.unwrap(Address.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/behind-a-proxy.md

    That demonstrates how the Proxy (Traefik) uses the path prefix and how the server (Uvicorn) uses the `root_path` from the option `--root-path`.
    
    ### Check the docs UI { #check-the-docs-ui }
    
    But here's the fun part. ✨
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`.
    * If you need to send *Form Data* instead of JSON, use the `data` parameter instead.
    * To pass *headers*, use a `dict` in the `headers` parameter.
    * For *cookies*, a `dict` in the `cookies` parameter.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/EncdecTest.java

        void testInt16Operations() {
            // Given
            short value = 0x1234;
            byte[] buffer = new byte[2];
    
            // When - encode little endian
            Encdec.enc_uint16le(value, buffer, 0);
            short decoded = (short) Encdec.dec_uint16le(buffer, 0);
    
            // Then
            assertEquals(value, decoded);
            assertEquals(0x34, buffer[0] & 0xFF);
            assertEquals(0x12, buffer[1] & 0xFF);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

      /**
       * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more
       * than the given time.
       *
       * @param timeout the maximum time to wait
       * @param unit the time unit of the timeout argument
       * @throws TimeoutException if the service has not reached the given state within the deadline
       * @throws IllegalStateException if the service reaches a state from which it is not possible to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. lib/time/update.bash

    #
    # That will prepare the files and create the commit.
    #
    # To review such a commit (as the reviewer), use:
    #
    #	git codereview change NNNNNN   # CL number
    #	cd lib/time
    #	./update.bash
    #
    # If it prints "No updates needed.", then the generated files
    # in the CL match the update.bash in the CL.
    
    # Versions to use.
    CODE=2025b
    DATA=2025b
    
    set -e
    
    cd $(dirname $0)
    rm -rf work
    mkdir work
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 28 16:03:11 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Given
                long sourceOffset = 1024L;
                long targetOffset = 2048L;
                int length = 4096;
    
                // When
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
    
                // Then
                assertNotNull(chunk);
            }
    
            @ParameterizedTest
            @DisplayName("Should create instance with various offset values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

            verify(mockBuffer).dec_ndr_long();
        }
    
        /**
         * Test case for the encode method when it throws an NdrException.
         * Verifies that the exception is correctly propagated.
         */
        @Test
        void testEncodeThrowsNdrException() {
            // Given
            ndrObject.setThrowOnEncode(true);
    
            // When & Then
            assertThrows(NdrException.class, () -> {
                ndrObject.encode(mockBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Write negative times (as they would appear in the buffer)
                SMBUtil.writeInt8(-1L, buffer, 8);
                SMBUtil.writeInt8(-1000L, buffer, 16);
                SMBUtil.writeInt8(-2000L, buffer, 24);
                SMBUtil.writeInt8(-3000L, buffer, 32);
    
                // When
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                // Then
                assertEquals(60, bytesRead);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top