Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 191 for Ints (0.03 sec)

  1. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Interaction: sendrecv invoked exactly once
            verify(handle, times(1)).sendrecv(any(jcifs.dcerpc.msrpc.MsrpcLookupSids.class));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_NONE_MAPPED, 0x00000107 })
        @DisplayName("resolveSids(DcerpcHandle,...) accepts success/none/some-not-mapped codes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @ParameterizedTest
        @DisplayName("Test writeBytesWireFormat with different info sizes")
        @ValueSource(ints = { 0, 10, 50, 100, 255 })
        void testWriteBytesWireFormatWithDifferentSizes(int infoSize) {
            request = new Smb2SetInfoRequest(mockConfig, testFileId);
    
            Encodable mockInfo = mock(Encodable.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertTrue(output.contains(" AB~"));
            // High bytes should be dots
            assertTrue(output.contains("..."));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 15, 16, 17, 31, 32, 33, 64, 128 })
        @DisplayName("Should handle various data sizes in hexdump")
        void testHexdumpVariousSizes(int size) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 })
            @DisplayName("Should throw exception for various invalid structure sizes")
            void testReadBytesWireFormatVariousInvalidSizes(int structureSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            assertEquals(testSessionId, decodedHeader.getSessionId());
        }
    
        // Duplicate testFlags method removed - keeping the first one
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 })
        @DisplayName("Should handle various message sizes")
        void testVariousMessageSizes(int messageSize) {
            // When
            transformHeader.setOriginalMessageSize(messageSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(domain.toUpperCase(), writtenDomain);
        }
    
        @ParameterizedTest
        @DisplayName("Test writeParametersWireFormat with various server types")
        @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000801, 0x80000000, 0xFFFFFFFF })
        void testWriteParametersWireFormatVariousServerTypes(int serverType) {
            String domain = "DOMAIN";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Verify fail counts incremented
            assertEquals(1, pool.failCounts.get("10.0.0.1"));
            assertEquals(1, pool.failCounts.get("10.0.0.2"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, -1 })
        @DisplayName("Should default to port 445 when port <= 0")
        void testDefaultPort(int invalidPort) throws Exception {
            // Given: Create a new pool for this test to ensure isolation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                assertEquals(expectedResult, buffer.getPathConsumed());
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various tflags values")
            @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })
            void testTflagsValues(int tflagsValue) {
                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                // Should complete quickly (under 1ms)
                assertTrue((endTime - startTime) < 1_000_000);
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 24, 32, 100, 1000, 10000 })
            @DisplayName("Should handle various buffer sizes correctly")
            void testVariousBufferSizes(int bufferSize) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

     *
     * <h3>Common ways to use</h3>
     *
     * <p>Getting a converter:
     *
     * <ul>
     *   <li>Use a provided converter implementation, such as {@link Enums#stringConverter}, {@link
     *       com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain
     *       #reverse reverse} views of these.
     *   <li>Convert between specific preset values using {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top