Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 287 for 0xFF (0.02 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

            bufferIndex += 2;
            this.deviceState = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.directory = (buffer[bufferIndex++] & 0xFF) > 0;
            return bufferIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            this.server = server;
            this.path = path;
            this.service = service;
        }
    
        @Override
        protected int getBatchLimit(final Configuration cfg, final byte cmd) {
            final int c = cmd & 0xFF;
            switch (c) {
            case SMB_COM_CHECK_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.CheckDirectory");
            case SMB_COM_CREATE_DIRECTORY:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                    log.println("session established ok with " + address);
                }
                return;
            case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                final int errorCode = in.read() & 0xFF;
                close();
                throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode);
            case -1:
                throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

                        break;
                    case ServerMessageBlock.SMB_COM_TRANSACTION:
                    case ServerMessageBlock.SMB_COM_TRANSACTION2:
                        switch (((SmbComTransaction) request).subCommand & 0xFF) {
                        case SmbComTransaction.NET_SHARE_ENUM:
                        case SmbComTransaction.NET_SERVER_ENUM2:
                        case SmbComTransaction.NET_SERVER_ENUM3:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertEquals(0x123, buf.dec_ndr_long()); // call_id
        }
    
        @Test
        void testEncodeWithDifferentFlags() throws Exception {
            for (int flag : new int[] { 0, 0xFF, 0x01, 0x80 }) {
                TestMessage m = new TestMessage();
                m.ptype = 0;
                m.flags = flag;
    
                NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
                m.encode(buf);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            void testSetWriteFlags() {
                assertDoesNotThrow(() -> request.setWriteFlags(0));
                assertDoesNotThrow(() -> request.setWriteFlags(0x01));
                assertDoesNotThrow(() -> request.setWriteFlags(0xFF));
                assertDoesNotThrow(() -> request.setWriteFlags(Integer.MAX_VALUE));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offset values")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
            }
        }
    
        @Override
        public int read() throws SmbException {
            if (read(this.tmp, 0, 1) == -1) {
                return -1;
            }
            return this.tmp[0] & 0xFF;
        }
    
        @Override
        public int read(final byte b[]) throws SmbException {
            return read(b, 0, b.length);
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/armerror.s

    	MOVB	[R0-R4], (R1)      // ERROR "illegal combination"
    	MOVH	(R1), [R0-R4]      // ERROR "illegal combination"
    	MOVH	[R0-R4], (R1)      // ERROR "illegal combination"
    	MOVB	$0xff(R0), R1      // ERROR "illegal combination"
    	MOVH	$0xff(R0), R1      // ERROR "illegal combination"
    	MOVB	$errors(SB), R2    // ERROR "illegal combination"
    	MOVH	$errors(SB), R2    // ERROR "illegal combination"
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            bufferIndex += 2;
            this.dataDisplacement = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
    
            return bufferIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils_test.go

    		{"a/b/c/", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}},
    		{"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}},
    		{string([]byte{0xff, 0xfe, 0xfd}), []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top