Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 253 for zeroed (4.67 sec)

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

            ServerMessageBlock.writeUTime(sampleTimeMillis, buffer, 2);
            // File Size: 1024 bytes
            ServerMessageBlock.writeInt4(1024, buffer, 6);
    
            response.wordCount = 10; // Must be non-zero to read
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // Should read 20 bytes as per implementation
            assertEquals(20, bytesRead);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocList.java

        /**
         * Default constructor for DocList.
         * Creates a new empty document list with zero content size and processing time.
         */
        public DocList() {
            super();
        }
    
        /**
         * Clears all documents from the list and resets metrics.
         * Removes all documents and resets content size and processing time to zero.
         */
        @Override
        public void clear() {
            super.clear();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            assertEquals(0, cmd.readParametersWireFormat(buf, 0, buf.length));
            assertEquals(0, cmd.readDataWireFormat(buf, 0, buf.length));
        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
                "12345, 999" // arbitrary numbers
        })
        void toString_includesCorrectHexValues(int fid, int securityInformation) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            assertArrayEquals(clientChallenge, Arrays.copyOfRange(resp, 16, 24), "Client challenge must be copied to last 8 bytes");
            assertFalse(Arrays.equals(new byte[24], resp), "Response must not be all zeros");
        }
    
        @Test
        @DisplayName("getLMv2Response(byte[]): empty client data allowed")
        void testGetLMv2Response_bytes_emptyClientData() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/app/pager/JobLogPager.java

        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of items per page.
         * If the page size is not set or is zero or negative, returns the default page size.
         *
         * @return the number of items per page
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/FileEntryTest.java

                    Arguments.of((LongGetter) FileEntry::lastAccess, 0L, "zero lastAccess"),
                    Arguments.of((LongGetter) FileEntry::lastAccess, Long.MIN_VALUE, "min lastAccess"),
    
                    Arguments.of((LongGetter) FileEntry::length, -100L, "negative length"),
                    Arguments.of((LongGetter) FileEntry::length, 0L, "zero length"),
                    Arguments.of((LongGetter) FileEntry::length, 1L, "small length"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

            return c;
        }
    
        /**
         * Merges two characters, handling voiced and semi-voiced sound marks.
         * @param c1 The first character.
         * @param c2 The second character.
         * @return The merged character.
         */
        public static char mergeChar(final char c1, final char c2) {
            if (c2 == '゙') {
                if ("カキクケコサシスセソタチツテトハヒフヘホ".indexOf(c1) >= 0) {
                    switch (c1) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

    public class BigDecimalConversionUtilTest extends TestCase {
        private static final BigDecimal ZERO = new BigDecimal("0");
    
        /**
         * @throws Exception
         */
        public void testToBigDecimal() throws Exception {
            assertNull(BigDecimalConversionUtil.toBigDecimal(null));
            assertSame(ZERO, BigDecimalConversionUtil.toBigDecimal(ZERO));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        /**
         * Verify that writeParameterWordsWireFormat writes the file id and the
         * unsigned time correctly.  The last write time is zero which should be
         * encoded as four 0xFF bytes by {@code writeUTime}.
         */
        @ParameterizedTest(name = "fid={0}, lastWriteTime={1}")
        @MethodSource("validParams")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dstIndex += this.info.encode(dst, dstIndex);
    
            /* 6 zeros observed with NT */
            SMBUtil.writeInt8(0L, dst, dstIndex);
            dstIndex += 6;
    
            /*
             * Also observed 4 byte alignment but we stick
             * with the default for jCIFS which is 2
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top