Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 344 for 0xff (0.01 sec)

  1. src/main/java/jcifs/smb1/dcerpc/UUID.java

            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            this.path = path;
            this.service = service;
            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        @Override
        int getBatchLimit(final byte command) {
            final int c = command & 0xFF;
            // why isn't this just return batchLimits[c]?
            switch (c) {
            case SMB_COM_CHECK_DIRECTORY:
                return batchLimits[0];
            case SMB_COM_CREATE_DIRECTORY:
                return batchLimits[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

                    Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"),
                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
                    Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff"));
        }
    
        // Verifies that toString() formats bytes as lower-case hex with zero-padding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top