Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 394 for inInts (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            assertEquals("Payload exceeds buffer size", exception.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 10, 100, 500, 1024 })
        void testReadDataWireFormatWithVariousSizes(int dataSize) throws SMBProtocolDecodingException {
            if (dataSize > outputBuffer.length) {
                return; // Skip sizes larger than buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableTable.java

       * input element is mapped to one cell in the returned table, with the rows, columns, and values
       * generated by applying the specified functions. If multiple inputs are mapped to the same row
       * and column pair, they will be combined with the specified merging function in encounter order.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            assertEquals("Expected structureSize = 2", exception.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 3, 4, 5, 10, 100, 255, 256, 1000, 65535 })
        @DisplayName("Test readBytesWireFormat with various invalid structure sizes")
        void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    					DeleteMarker: false,
    				},
    				{
    					Name:         "unique/folder/1.txt",
    					DeleteMarker: false,
    				},
    			},
    		},
    	}
    
    	testCases := []struct {
    		// Inputs to ListObjects.
    		bucketName string
    		prefix     string
    		marker     string
    		delimiter  string
    		maxKeys    int
    		versioned  bool
    		// Expected output of ListObjects.
    		resultL ListObjectsInfo
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(1, SMBUtil.readInt4(smallBuffer, 16));
            }
    
            @ParameterizedTest
            @DisplayName("Should encode consistently with various flag values")
            @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 })
            void testEncodingWithVariousFlags(int flags) {
                lock = new Smb2Lock(1024L, 2048L, flags);
                int encoded = lock.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // When
                int result = response.writeBytesWireFormat(dst, dstIndex);
    
                // Then
                assertEquals(0, result);
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 10, 50, 99 })
            @DisplayName("Should return 0 regardless of destination index")
            void testWriteBytesWireFormatWithDifferentIndices(int index) {
                // Given
                byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, response.getSubCommand());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO,
                FileSystemInformation.FS_FULL_SIZE_INFO })
        void testConstructorWithDifferentInformationLevels(int informationLevel) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            verify(fd, times(1)).close();
            verify(tree, times(1)).close();
        }
    
        @ParameterizedTest
        @ValueSource(ints = { TransPeekNamedPipeResponse.STATUS_DISCONNECTED, TransPeekNamedPipeResponse.STATUS_SERVER_END_CLOSED })
        @DisplayName("available() on SMB1 returns 0 and marks closed on disconnected statuses")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.contains("remark=null"));
            assertTrue(str.endsWith("]"));
        }
    
        @ParameterizedTest
        @DisplayName("Test toString with various type values")
        @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000003, 0x80000000, 0x80000001, 0xFFFFFFFF })
        void testToStringWithVariousTypes(int type) {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, type, TEST_REMARK);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            // Then
            // Note: getType() method does not exist in Type1Message
            assertEquals(original.getFlags(), parsed.getFlags());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, NtlmFlags.NTLMSSP_NEGOTIATE_OEM, NtlmFlags.NTLMSSP_NEGOTIATE_NTLM,
                NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED, NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top