Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for 0xffe3 (0.03 sec)

  1. 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)
  2. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          }
        }
    
        // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFE');
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertEquals(
            "0xFFFE is forbidden and should be replaced during escaping",
            "[\uFFFD]",
            xmlEscaper.escape("[\ufffe]"));
        assertEquals(
            "0xFFFF is forbidden and should be replaced during escaping",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        @Test
        @DisplayName("Should set and get lease key")
        void testLeaseKeyAccessors() {
            byte[] newKeyBytes = new byte[] { (byte) 0xFF, (byte) 0xFE, (byte) 0xFD, (byte) 0xFC, (byte) 0xFB, (byte) 0xFA, (byte) 0xF9,
                    (byte) 0xF8, (byte) 0xF7, (byte) 0xF6, (byte) 0xF5, (byte) 0xF4, (byte) 0xF3, (byte) 0xF2, (byte) 0xF1, (byte) 0xF0 };
            Smb2LeaseKey newKey = new Smb2LeaseKey(newKeyBytes);
    
            leaseContext.setLeaseKey(newKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            assertEquals(0xFFFF, pdis.readUnsignedShort());
        }
    
        @Test
        public void testReadUnsignedInt() throws IOException {
            // Little-endian 0xFFFFFFFF -> 0xFF 0xFF 0xFF 0xFF
            byte[] data = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(0xFFFFFFFFL, pdis.readUnsignedInt());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte) 0x00;
            b[off + 2] = (byte) (len >> 8 & 0xFF);
            b[off + 3] = (byte) (len & 0xFF);
    
            out.write(b, off, 4 + len);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/util/SMBUtil.java

         */
        public static int readInt4(final byte[] src, final int srcIndex) {
            return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8) + ((src[srcIndex + 2] & 0xFF) << 16)
                    + ((src[srcIndex + 3] & 0xFF) << 24);
        }
    
        /**
         * Reads a 64-bit integer value from a byte array in little-endian format
         * @param src the source byte array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K 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/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                e.versionMajor = buffer[bufferIndex] & 0xFF;
                bufferIndex++;
                e.versionMinor = buffer[bufferIndex++] & 0xFF;
                e.type = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = (off & 0xFFFF) - this.converter;
                off = start + off;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. cmd/erasure-sets_test.go

    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35},
    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    		{"/a/b/c", 96},
    		{string([]byte{0xff, 0xfe, 0xfd}), 147},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/MIEName.java

                if (TOK_ID[i] != buf[i]) {
                    throw new IllegalArgumentException();
                }
            }
            // MECH_OID_LEN
            len = 0xff00 & buf[i] << 8;
            i++;
            len |= 0xff & buf[i++];
    
            // MECH_OID
            if (buf.length < i + len) {
                throw new IllegalArgumentException();
            }
            final byte[] bo = new byte[len];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top