Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for 0x1fff (1.55 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          0x1ffb,
          0x7fff0,
          0x1ffc,
          0x3ffc,
          0x22,
          0x7ffd,
          0x3,
          0x23,
          0x4,
          0x24,
          0x5,
          0x25,
          0x26,
          0x27,
          0x6,
          0x74,
          0x75,
          0x28,
          0x29,
          0x2a,
          0x7,
          0x2b,
          0x76,
          0x2c,
          0x8,
          0x9,
          0x2d,
          0x77,
          0x78,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K 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/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/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)
  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. android/guava/src/com/google/common/net/PercentEscaper.java

          cp >>>= 4;
          dest[4] = upperHexDigits[0x8 | (cp & 0x3)];
          cp >>>= 2;
          dest[2] = upperHexDigits[cp];
          return dest;
        } else if (cp <= 0x10ffff) {
          char[] dest = new char[12];
          // Four byte UTF-8 characters [cp >= 0xffff && cp <= 0x10ffff]
          // Start with "%F-%--%--%--" and fill in the blanks
          dest[0] = '%';
          dest[1] = 'F';
          dest[3] = '%';
          dest[6] = '%';
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

                    Arguments.of(0xFFFF, true) // All flags including DFS
            );
        }
    
        @Test
        @DisplayName("Should handle maximum values for all fields")
        void testMaximumValues() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) 0xFF; // Max share type
            buffer[3] = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(0, reserved);
        }
    
        @DisplayName("Test writeParametersWireFormat with different FIDs")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 0xFFFF, 0x8000, 0x7FFF })
        void testWriteParametersWireFormatWithDifferentFids(int fid) {
            when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
    
                // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE
                if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) {
                    this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
                }
    
                this.fp = 0L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top