Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 284 for 0xFF (0.01 sec)

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

            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            for (int i = 0; i < 4; i++) {
                dst[dstIndex++] = (byte) 0xFF;
            }
            SMBUtil.writeInt2(this.writeMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Manually verify the encoded bytes
                assertEquals(buffer.size(), bytesEncoded);
    
                // Check referral level (little-endian)
                assertEquals(4, dst[0] & 0xFF);
                assertEquals(0, dst[1] & 0xFF);
    
                // Check path starts at byte 2
                byte[] expectedPathBytes = path.getBytes(StandardCharsets.UTF_16LE);
                byte[] actualPathBytes = new byte[expectedPathBytes.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            byte[] buffer = new byte[512];
            // Fill buffer with non-zero values to ensure padding writes zeros
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) 0xFF;
            }
    
            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += this.wordCount;
            this.wordCount /= 2;
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex++] = (byte) (this.byteCount & 0xFF);
            dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF);
            dstIndex += this.byteCount;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. 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: 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/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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        }
        return headerEntries(*nameValues)
      }
    
      private fun writeMedium(
        sink: BufferedSink,
        i: Int,
      ) {
        sink.writeByte(i ushr 16 and 0xff)
        sink.writeByte(i ushr 8 and 0xff)
        sink.writeByte(i and 0xff)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/UUID.java

                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);
        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top