Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 772 for tlen (0.03 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

                when(mockAllocInfo.getCapacity()).thenReturn(expectedCapacity);
    
                // When
                long actualCapacity = mockAllocInfo.getCapacity();
    
                // Then
                assertEquals(expectedCapacity, actualCapacity);
                verify(mockAllocInfo, times(1)).getCapacity();
            }
    
            @Test
            @DisplayName("Should return mocked free space value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            int expectedLength = 100;
    
            when(messageBlock.decode(buffer, bufferIndex)).thenReturn(expectedLength);
    
            // When
            int actualLength = messageBlock.decode(buffer, bufferIndex);
    
            // Then
            assertEquals(expectedLength, actualLength);
            verify(messageBlock).decode(buffer, bufferIndex);
        }
    
        @Test
        @DisplayName("Test decode method throws SMBProtocolDecodingException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtStatusTest.java

            // When/Then
            assertEquals((int) 0x80000005L, infoStatus);
            // Should be an informational/warning status (0x8 prefix)
            assertTrue((infoStatus & (int) 0x80000000L) == (int) 0x80000000L);
        }
    
        @Test
        @DisplayName("Should handle pending status")
        void testPendingStatus() {
            // Given
            int pendingStatus = NtStatus.NT_STATUS_PENDING;
    
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                lenient().when(mockBuffer.align(anyInt())).thenReturn(0);
    
                // When
                bind.decode_out(mockBuffer);
    
                // Then
                verify(mockBuffer, times(5)).dec_ndr_short(); // max xmit, max recv, addr len, result, final short
                verify(mockBuffer).dec_ndr_long(); // assoc group
                verify(mockBuffer).advance(10); // secondary addr (length 10)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should return correct OVERHEAD constant value")
        void testOverheadConstant() {
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-minio-idp.sh

    sleep 10
    
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio3 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/buildall.bash

    #
    # Options:
    #   -e: stop at first failure
    
    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Apr 23 17:45:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
        @DisplayName("Should handle null message gracefully")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. buildscripts/verify-healing.sh

    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "minio server 1 is not running" && fail
    	fi
    
    	if ! ps -p $pid2 1>&2 >/dev/null; then
    		echo "minio server 2 is not running" && fail
    	fi
    
    	if ! ps -p $pid3 1>&2 >/dev/null; then
    		echo "minio server 3 is not running" && fail
    	fi
    
    	if ! pkill minio; then
    		fail
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            int cipherId = encryptionContext.getCipherId();
    
            // Then
            assertEquals(1, cipherId, "Should return the cipher ID set in constructor");
        }
    
        @Test
        @DisplayName("Should return correct dialect version")
        void testGetDialect() {
            // When
            DialectVersion dialect = encryptionContext.getDialect();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top