Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 145 for 0xffff (1.24 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. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test default buffer size constant")
        void testBufferSizeConstant() {
            assertEquals(0xFFFF, SmbComTransaction.TRANSACTION_BUF_SIZE, "TRANSACTION_BUF_SIZE should be 0xFFFF");
        }
    
        @Test
        @DisplayName("Test transaction subcommand constants")
        void testSubcommandConstants() {
            // Test Trans2 subcommands
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/rpc.java

                final int _nodes = 6;
                final int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if (this.node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) {
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    }
                    this.node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertNotNull(trans);
            assertEquals(0, trans.maxParameterCount);
            assertEquals(0xFFFF, trans.maxDataCount);
            assertEquals(0x00, trans.maxSetupCount);
            assertEquals(2, trans.setupCount);
            assertEquals("\\PIPE\\", trans.name);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                    final int _ss = _src.dec_ndr_long();
                    final int _si = _src.index;
                    _src.advance(4 * _ss);
    
                    if (s == null) {
                        if (_ss < 0 || _ss > 0xFFFF) {
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        }
                        s = new DfsInfo1[_ss];
                    }
                    _src = _src.derive(_si);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

        @Test
        void testDecNdrStringInvalidConformance() {
            // Simulate a string with invalid size
            ndrBuffer.setIndex(0);
            Encdec.enc_uint32le(0xFFFF + 1, buffer, 0); // len = 0xFFFF + 1
            Encdec.enc_uint32le(0, buffer, 4);
            Encdec.enc_uint32le(0xFFFF + 1, buffer, 8);
    
            ndrBuffer.setIndex(0);
            NdrException thrown = assertThrows(NdrException.class, () -> {
                ndrBuffer.dec_ndr_string();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            assertEquals(0xFFFFFFFF, transCallNamedPipe.timeout);
            assertEquals(0, transCallNamedPipe.maxParameterCount);
            assertEquals(0xFFFF, transCallNamedPipe.maxDataCount);
            assertEquals((byte) 0x00, transCallNamedPipe.maxSetupCount);
            assertEquals(2, transCallNamedPipe.setupCount);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        void testReadBytesWireFormatNegativeStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to -1 (0xFFFF when read as unsigned)
            SMBUtil.writeInt2(0xFFFF, buffer, bufferIndex);
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top