Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 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/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)
  4. 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)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            assertEquals("0", mockConfig.getTimeAdjustTimeMillis());
            assertEquals(Long.valueOf(0L), mockConfig.getTimeAdjustTimeMillisAsLong());
    
            // Test multiple calls return same values
            for (int i = 0; i < 10; i++) {
                assertEquals("0", mockConfig.getTimeAdjustTimeMillis());
                assertEquals(Long.valueOf(0L), mockConfig.getTimeAdjustTimeMillisAsLong());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                if ((dattrs & SmbConstants.ATTR_READONLY) != 0) {
                    /*
                     * Remove READONLY and try again
                     */
                    dest.setPathInformation(dattrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L);
                    return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            for (int i = 0; i < 16; i++)
                fileId[i] = (byte) (0xF0 + i);
            byte[] header = buildSmb2Header();
            byte[] body = buildCreateBodyNoContexts((byte) 0, (byte) 0, 0, 0L, 0L, 0L, 0L, 0L, 0L, 0, fileId);
            byte[] packet = buildPacket(header, body, null, null);
            resp.decode(packet, 0, false); // marks as received
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      }
    
      public void testOf1() {
        assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L);
      }
    
      public void testOf2() {
        assertThat(ImmutableLongArray.of(0, 1).asList()).containsExactly(0L, 1L).inOrder();
      }
    
      public void testOf3() {
        assertThat(ImmutableLongArray.of(0, 1, 3).asList()).containsExactly(0L, 1L, 3L).inOrder();
      }
    
      public void testOf4() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top