Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for 0xfff0 (0.06 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                    final int _arrayi = _src.index;
                    _src.advance(4 * _arrays);
    
                    if (array == null) {
                        if (_arrays < 0 || _arrays > 0xFFFF) {
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        }
                        array = new ShareInfo0[_arrays];
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                switch (sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (LogStream.level >= 4) {
                        log.println("session established ok with " + address);
                    }
                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                    final int errorCode = in.read() & 0xFF;
                    switch (errorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

        static Stream<org.junit.jupiter.params.provider.Arguments> validInputs() {
            return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000),
                    org.junit.jupiter.params.provider.Arguments.of(0xFFFF, 0x12345678),
                    org.junit.jupiter.params.provider.Arguments.of(-1, -123456));
        }
    
        @ParameterizedTest
        @MethodSource("validInputs")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            request.setCompletionFilter(0xFFF);
    
            // Second write
            byte[] buffer2 = new byte[512];
            request.writeBytesWireFormat(buffer2, 0);
    
            // Then
            assertEquals(0, SMBUtil.readInt2(buffer1, 2));
            assertEquals(0, SMBUtil.readInt4(buffer1, 24));
            assertEquals(0x0001, SMBUtil.readInt2(buffer2, 2));
            assertEquals(0xFFF, SMBUtil.readInt4(buffer2, 24));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, 0xFFFF, defaultDialects);
    
            byte[] buffer = new byte[request.size()];
            request.encode(buffer, 0);
    
            // Verify max security mode value (2 bytes)
            assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 20) & 0xFFFF);
        }
    
        @Test
        @DisplayName("Test encode with all zero GUID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

            byte[] src = new byte[] {
                    // 0x123456789ABCDEF0L
                    (byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, (byte) 0x78, (byte) 0x56, (byte) 0x34, (byte) 0x12,
                    // 0xFFFFFFFFFFFFFFFFL
                    (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                    // 0x0000000000000000L
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals((byte) 0xFF, originalFileId[0], "Original FileId should remain unchanged");
                assertArrayEquals(
                        new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                                (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF },
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                    final int _name_bufferi = _src.index;
                    _src.advance(2 * _name_bufferl);
    
                    if (name.buffer == null) {
                        if (_name_buffers < 0 || _name_buffers > 0xFFFF) {
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        }
                        name.buffer = new short[_name_buffers];
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            assertArrayEquals(new byte[] { (byte) 0xFF, (byte) 0xFF }, dst, "Negative sid should wrap to 0xFFFF");
        }
    
        @Test
        void testWriteParameterWordsWithOffset() {
            byte[] dst = new byte[5];
            int written = instance.writeParameterWordsWireFormat(dst, 3);
            assertEquals(2, written);
            assertEquals((byte) (TEST_SID & 0xFF), dst[3]);
            assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[4]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top