- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,352 for BYTE (0.02 sec)
-
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
int b = in.read(); assertEquals('y', b); verify(hasher).putByte((byte) 'y'); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArray() throws Exception { HashingInputStream in = new HashingInputStream(hashFunction, buffer); byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(4, numOfByteRead);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
byte[] a = new byte[1]; byte[] c = new byte[2]; byte[] d = new byte[4]; impl.releaseBuffer(a); // goes to slot 0 impl.releaseBuffer(c); // goes to slot 1 impl.releaseBuffer(d); // dropped (cache full) byte[] first = impl.getBuffer(); // should return slot 0 -> a byte[] second = impl.getBuffer(); // then slot 1 -> c
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
assertEquals(1, response.setupCount); } // Helper method to write a 4-byte integer to a byte array. private void writeInt4(int val, byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dst[dstIndex + 1] = (byte) (val >> 8); dst[dstIndex + 2] = (byte) (val >> 16); dst[dstIndex + 3] = (byte) (val >> 24); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} @Test @DisplayName("Should decode at different buffer offset") void testDecodeWithOffset() throws SMBProtocolDecodingException { byte[] buffer = new byte[256]; int offset = 100; byte[] responseData = createValidCopyChunkResponse(10, 131072, 1310720); System.arraycopy(responseData, 0, buffer, offset, responseData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java
maxDataCount = 800; maxSetupCount = 0; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(informationLevel, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
cmd/bucket-stats_gen.go
} return } // MarshalMsg implements msgp.Marshaler func (z RMetricName) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *RMetricName) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 57.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
Smb2SessionSetupResponse resp = newResponse(); byte[] buf = new byte[256]; int headerStart = 0; long expectedSessionId = 0x1122334455667788L; buildHeader(buf, headerStart, NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, 0x0001, expectedSessionId); int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH; byte[] blob = new byte[] { 10, 20, 30, 40, 50 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
assertEquals(0, emptyRead); assertEquals(0, fullRead); } /** * Create a test byte array with specified size and pattern */ private byte[] createTestData(int size) { byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } return data; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusResponse.java
this.macAddress = new byte[6]; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readResourceRecordWireFormat(src, srcIndex); } @Override int writeRDataWireFormat(final byte[] dst, final int dstIndex) { return 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0)