Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for 0x1fff (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            // Test maximum unsigned 16-bit value (65535)
            SMBUtil.writeInt2(0xFFFF, buffer, 0);
            TransPeekNamedPipeResponse response2 = new TransPeekNamedPipeResponse(mockConfig);
            response2.readParametersWireFormat(buffer, 0, 6);
            assertEquals(0xFFFF, response2.getAvailable());
        }
    
        @Test
        @DisplayName("Test large buffer handling")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            try {
                System.arraycopy(this.sbuf, 0, buffer, 0, 4 + SMB1_HEADER_LENGTH);
                final int size = Encdec.dec_uint16be(buffer, 2) & 0xFFFF;
                if (size < SMB1_HEADER_LENGTH + 1 || 4 + size > Math.min(0xFFFF, getContext().getConfig().getMaximumBufferSize())) {
                    throw new IOException("Invalid payload size: " + size);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/xml/XmlEscapers.java

       * element content or {@link #xmlAttributeEscaper} in attribute values.
       *
       * <p>This escaper substitutes {@code 0xFFFD} for non-whitespace control characters and the
       * character values {@code 0xFFFE} and {@code 0xFFFF} which are not permitted in XML. For more
       * detail see section <a href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> of
       * the XML specification.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(30000, SmbConstants.DEFAULT_RESPONSE_TIMEOUT);
            assertEquals(35000, SmbConstants.DEFAULT_SO_TIMEOUT);
            assertEquals(0xFFFF, SmbConstants.DEFAULT_RCV_BUF_SIZE);
            assertEquals(0xFFFF, SmbConstants.DEFAULT_SND_BUF_SIZE);
            assertEquals(1024, SmbConstants.DEFAULT_NOTIFY_BUF_SIZE);
            assertEquals(250, SmbConstants.DEFAULT_SSN_LIMIT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        // we can get away with i++ because the whole point of this method is to return false if we find
        // a code point that doesn't fit in a char.
        for (int i = 0; i < string.length(); i++) {
          if (string.codePointAt(i) > 0xffff) {
            return false;
          }
        }
        return true;
      }
    
      @SuppressWarnings("deprecation")
      public void testSimpleStringUtf8() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

                        } else if (this.largeReadX) {
                            // Optimize large read requests
                            request.setMaxCount(r & 0xFFFF);
                            request.setOpenTimeout(r >> 16 & 0xFFFF);
                        }
    
                        th.send(request, response, RequestParam.NO_RETRY);
                        n = response.getDataLength();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            int len = cmd.writeParametersWireFormat(buffer, 0);
            assertTrue(len >= 2);
            // writeInt2 writes in little-endian format (LSB first)
            int written = (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8);
            int expected = level & 0xFFFF;
            assertEquals(expected, written);
        }
    
        // Helper method to extract string from buffer
        private String extractStringFromBuffer(byte[] buffer, int offset, int maxLen) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                int length = testBlock.encode(buffer, 0);
    
                assertTrue(length > 0);
                assertEquals(length, testBlock.getLength());
                // SMB_HEADER is {0xFF, 'S', 'M', 'B'}
                byte[] expectedHeader = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B' };
                assertArrayEquals(expectedHeader, java.util.Arrays.copyOfRange(buffer, 0, 4));
                assertEquals(0, buffer[SmbConstants.CMD_OFFSET]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComWriteAndXResponse.java

            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            count = readInt2(buffer, bufferIndex) & 0xFFFFL;
            return 8;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            int bufferIndex = 0;
    
            // Set maximum values
            int testCapabilities = 0xFFFFFFFF;
            byte[] testGuid = new byte[16];
            Arrays.fill(testGuid, (byte) 0xFF);
            int testSecurityMode = 0xFFFF;
            int testDialect = 0xFFFF;
    
            // Write to buffer
            SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex);
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top