- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,268 for 1byte (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
// Test reading a single byte while we're in the right state assertEquals(-1, counter.read()); assertEquals(20, counter.getCount()); } public void testReadArrayEOF() throws IOException { assertEquals(20, counter.read(new byte[30])); assertEquals(20, counter.getCount()); assertEquals(-1, counter.read(new byte[30])); assertEquals(20, counter.getCount()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
this.maxParameterCount = 6; this.maxDataCount = 1; this.maxSetupCount = (byte) 0x00; this.setupCount = 2; } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmonCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
byte[] buffer = new byte[10]; int bytesWritten = echoRequest.writeBytesWireFormat(buffer, 0); assertEquals(4, bytesWritten); assertEquals(4, SMBUtil.readInt2(buffer, 0)); } @Test @DisplayName("Should handle maximum offset") void testWriteBytesAtMaxOffset() { byte[] buffer = new byte[1000];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
this.leaseState = leaseState; this.leaseFlags = 0; this.parentLeaseKey = parentLeaseKey != null ? parentLeaseKey : new Smb2LeaseKey(new byte[16]); this.epoch = epoch; } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this V2 lease request * @return the lease key */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
src/bytes/buffer_test.go
var testString string // test data for write tests var testBytes []byte // test data; same as testString but as a slice. type negativeReader struct{} func (r *negativeReader) Read([]byte) (int, error) { return -1, nil } func init() { testBytes = make([]byte, N) for i := 0; i < N; i++ { testBytes[i] = 'a' + byte(i%26) } testString = string(testBytes) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
*/ protected SpnegoToken() { } private byte[] mechanismToken; private byte[] mechanismListMIC; /** * Gets the inner mechanism token wrapped in this SPNEGO token * @return the mechanism token bytes */ public byte[] getMechanismToken() { return this.mechanismToken; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (2) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
* * @author mbechler * */ public class Smb2SetInfoRequest extends ServerMessageBlock2Request<Smb2SetInfoResponse> implements RequestWithFileId { private byte[] fileId; private byte infoType; private byte fileInfoClass; private int additionalInformation; private Encodable info; /** * Constructs a SMB2 set info request with the specified configuration *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java
command = SMB_COM_CREATE_DIRECTORY; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
batchLimits[2] = Byte.parseByte(s); } if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.Delete")) != null) { batchLimits[3] = Byte.parseByte(s); } if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.DeleteDirectory")) != null) { batchLimits[4] = Byte.parseByte(s); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.6K bytes - Click Count (0)