Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 265 for 0L (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Test default attributes value
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
            assertEquals(0x0000, response.getAttributes());
        }
    
        @Test
        void testGetSizeDefault() {
            // Test default file size value
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
            assertEquals(0, response.getSize());
        }
    
        @Test
        void testTimeConversionMethods() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            // Initial value
            assertEquals(0L, item.getId());
    
            // First modification
            item.id = 50L;
            assertEquals(50L, item.getId());
    
            // Second modification
            item.id = 100L;
            assertEquals(100L, item.getId());
    
            // Third modification back to 0
            item.id = 0L;
            assertEquals(0L, item.getId());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // When
            Integer timeout = request.getOverrideTimeout();
    
            // Then
            assertNull(timeout, "Cancel requests should not override timeout");
        }
    
        @Test
        @DisplayName("Test allowChain returns false")
        void testAllowChain() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

        }
    
        @Test
        @DisplayName("Test with zero times and attributes")
        void testWithZeroValues() throws SMBProtocolDecodingException {
            FileBasicInfo info = new FileBasicInfo(0L, 0L, 0L, 0L, 0);
    
            // Encode
            byte[] buffer = new byte[50];
            int encodedBytes = info.encode(buffer, 0);
    
            // Decode
            FileBasicInfo decoded = new FileBasicInfo();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        mockResponse.http2ErrorCode = 0
        mockResponse = mockResponse.throttleBody(0L, 0L, TimeUnit.SECONDS)
        var throttleBytesPerPeriod: Long = mockResponse.throttleBytesPerPeriod
        throttleBytesPerPeriod = mockResponse.throttleBytesPerPeriod
        var throttlePeriod: Long = mockResponse.getThrottlePeriod(TimeUnit.SECONDS)
        mockResponse = mockResponse.setBodyDelay(0L, TimeUnit.SECONDS)
        val bodyDelay: Long = mockResponse.getBodyDelay(TimeUnit.SECONDS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            // Default instance
            assertEquals(0L, shareInfo.createTime());
            assertEquals(0L, shareInfo.lastModified());
            assertEquals(0L, shareInfo.lastAccess());
    
            // Instance with values - times are still 0
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertEquals(0L, info.createTime());
            assertEquals(0L, info.lastModified());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbFileHandleImpl hA = id1 != null ? new SmbFileHandleImpl(cfg, id1, tA, "//eq/a", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tA, "//eq/a", 0, 0, 0, 0, 0L);
    
            SmbFileHandleImpl hB = id2 != null ? new SmbFileHandleImpl(cfg, id2, tB, "//eq/b", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L);
    
            if (expectEqual) {
                assertEquals(hA, hB);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        builder = builder.callTimeout(0L, TimeUnit.SECONDS)
        builder = builder.callTimeout(Duration.ofSeconds(0L))
        builder = builder.connectTimeout(0L, TimeUnit.SECONDS)
        builder = builder.connectTimeout(Duration.ofSeconds(0L))
        builder = builder.readTimeout(0L, TimeUnit.SECONDS)
        builder = builder.readTimeout(Duration.ofSeconds(0L))
        builder = builder.writeTimeout(0L, TimeUnit.SECONDS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/SMBUtilTest.java

            }
    
            // Test with zero
            SMBUtil.writeInt8(0L, dst, 16);
            for (int i = 16; i < 24; i++) {
                assertEquals((byte) 0x00, dst[i]);
            }
        }
    
        @Test
        void testReadTime() {
            byte[] src = new byte[16];
    
            // Test with zero time
            SMBUtil.writeInt8(0L, src, 0);
            long time = SMBUtil.readTime(src, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top