Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for 0xfff0 (0.02 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          0x2c,
          0x8,
          0x9,
          0x2d,
          0x77,
          0x78,
          0x79,
          0x7a,
          0x7b,
          0x7ffe,
          0x7fc,
          0x3ffd,
          0x1ffd,
          0xffffffc,
          0xfffe6,
          0x3fffd2,
          0xfffe7,
          0xfffe8,
          0x3fffd3,
          0x3fffd4,
          0x3fffd5,
          0x7fffd9,
          0x3fffd6,
          0x7fffda,
          0x7fffdb,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            notifyChange = new NtTransNotifyChange(mockConfig, fid, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] dst = new byte[10];
    
            notifyChange.writeSetupWireFormat(dst, 0);
    
            // Should write as 0xFFFF (65535 in unsigned)
            assertEquals(0xFFFF, SMBUtil.readInt2(dst, 4));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
            byte[] dst = new byte[10];
    
            querySecurityDesc.writeParametersWireFormat(dst, 0);
    
            // Should write as 0xFFFF (65535 in unsigned)
            assertEquals(0xFFFF, SMBUtil.readInt2(dst, 0));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        private static Stream<Arguments> provideFidTestCases() {
            return Stream.of(Arguments.of(0x0000, (byte) 0x00, (byte) 0x00), Arguments.of(0x00FF, (byte) 0xFF, (byte) 0x00),
                    Arguments.of(0xFF00, (byte) 0x00, (byte) 0xFF), Arguments.of(0xFFFF, (byte) 0xFF, (byte) 0xFF),
                    Arguments.of(0x1234, (byte) 0x34, (byte) 0x12));
        }
    
        @Test
        @DisplayName("readSetupWireFormat should return 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should handle ciphers with maximum value")
            void testMaximumCipherValues() throws SMBProtocolDecodingException {
                int[] ciphers = { 0xFFFF, 0x0000, 0x7FFF };
                EncryptionNegotiateContext originalContext = new EncryptionNegotiateContext(mockConfig, ciphers);
    
                int encoded = originalContext.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        val flags = buf.readShort().toInt() and 0xffff
        require(flags shr 15 != 0) { "not a response" }
    
        val responseCode = flags and 0xf
    
        if (responseCode == NXDOMAIN) {
          throw UnknownHostException("$hostname: NXDOMAIN")
        } else if (responseCode == SERVFAIL) {
          throw UnknownHostException("$hostname: SERVFAIL")
        }
    
        val questionCount = buf.readShort().toInt() and 0xffff
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals((byte) ((value >> 8) & 0xFF), dst[0]);
            assertEquals((byte) (value & 0xFF), dst[1]);
        }
    
        @Test
        @DisplayName("writeInt2 with offset should write at correct position")
        void testWriteInt2WithOffset() {
            byte[] dst = new byte[10];
            dst[2] = (byte) 0xFF; // Mark position
            dst[3] = (byte) 0xFF;
    
            SessionServicePacket.writeInt2(0xABCD, dst, 4);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            buffer.putShort(0, (short) 0xFFFF);
            assertEquals(0xFFFF, NtlmMessage.readUShort(data, 0), "Should read max UShort correctly.");
    
            // Test with a negative short (should be interpreted as unsigned positive)
            buffer.putShort(0, (short) -1); // -1 is 0xFFFF
            assertEquals(0xFFFF, NtlmMessage.readUShort(data, 0), "Should interpret -1 as unsigned max UShort.");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top