- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 1,385 for BYTE (0.02 sec)
- 
				
				src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java@DisplayName("Should return server GUID") void testGetServerGuid() throws Exception { // Given byte[] guid = new byte[16]; for (int i = 0; i < 16; i++) { guid[i] = (byte) i; } setPrivateField(response, "serverGuid", guid); // When byte[] result = response.getServerGuid(); // Then assertArrayEquals(guid, result); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java} @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { int start = bufferIndex; if (len < 32) { throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len); } // Read lease V1 data (32 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java* Default constructor for ValidateNegotiateInfoResponse */ public ValidateNegotiateInfoResponse() { // Default constructor } private int capabilities; private final byte[] serverGuid = new byte[16]; private int securityMode; private int dialect; /** * Gets the server capabilities * * @return the capabilities flags from the server */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb1/com/SmbComDelete.java} @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); return 2; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.javapublic long getFree() { return this.free * this.sectPerAlloc * this.bytesPerSect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; // Read total allocation units. Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0)
- 
				
				src/bufio/bufio.go} // ReadByte reads and returns a single byte. // If no byte is available, returns an error. func (b *Reader) ReadByte() (byte, error) { b.lastRuneSize = -1 for b.r == b.w { if b.err != nil { return 0, b.readErr() } b.fill() // buffer is empty } c := b.buf[b.r] b.r++ b.lastByte = int(c) return c, nil } // UnreadByte unreads the last byte. Only the most recently read byte can be unread. Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0)
- 
				
				cmd/object_api_suite_test.go) // Return pointer to testOneByteReadEOF{} func newTestReaderEOF(data []byte) io.Reader { return &testOneByteReadEOF{false, data} } // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error. type testOneByteReadEOF struct { eof bool data []byte } func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0)
- 
				
				cmd/streaming-signature-v4.go// For example, // // "10000;chunk-signature=..." => "10000", "chunk-signature=..." func parseS3ChunkExtension(buf []byte) ([]byte, []byte) { buf = trimTrailingWhitespace(buf) semi := bytes.Index(buf, []byte(s3ChunkSignatureStr)) // Chunk signature not found, return the whole buffer. if semi == -1 { return buf, nil } return buf[:semi], parseChunkSignature(buf[semi:]) Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java@Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java} } @Override protected int getBatchLimit(final Configuration cfg, final byte cmd) { return cmd == SMB_COM_READ_ANDX ? cfg.getBatchLimit("OpenAndX.ReadAndX") : 0; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.tflags, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)