Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 248 for zeros (0.48 sec)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            this.leaseState = 0;
            this.leaseFlags = 0;
            this.epoch = 1;
        }
    
        /**
         * Create a new lease V2 context request with specified parameters
         *
         * @param leaseKey the lease key
         * @param leaseState requested lease state
         * @param parentLeaseKey parent lease key (can be null for zero key)
         * @param epoch lease epoch
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            }
        }
    
        @Test
        @DisplayName("Zero-length message is handled correctly")
        void zeroLengthMessageHandled() throws IOException {
            // Create a zero-length message followed by a normal message
            byte[] data = new byte[] { 10, 20 };
            byte[] fullData = concat(messageHeader(0), // Zero-length message
                    messageHeader(2), data);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            // Verify max capabilities value (comparing as unsigned long)
            assertEquals(0xFFFFFFFFL, SMBUtil.readInt4(buffer, 0) & 0xFFFFFFFFL);
        }
    
        @Test
        @DisplayName("Test encode with zero capabilities")
        void testEncodeWithZeroCapabilities() {
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(0, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(4, querySecurityDesc.getPadding());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns zero")
        void testWriteSetupWireFormat() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] dst = new byte[100];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand");
            assertEquals((byte) 0x00, buf[1], "second byte should be zero");
        }
    
        @Test
        @DisplayName("writeParametersWireFormat writes the information level as 2-byte little endian")
        void testWriteParametersWireFormat() {
            int level = 0x1234;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * signing and sealing authenticated communication.
         */
        int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * ??? According to spec this is a reserved bit and must be set to zero
         */
        int NTLMSSP_NEGOTIATE_NETWARE = 0x00000100;
    
        /**
         * Indicates support for NTLM authentication.
         */
        int NTLMSSP_NEGOTIATE_NTLM = 0x00000200;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top