- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,599 for 1byte (0.02 seconds)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
} @Override public byte[] getSessionKey() throws CIFSException { return sessionKey; } @Override protected void doSendFragment(byte[] buf, int off, int length) throws IOException { // Mock implementation for testing } @Override protected int doReceiveFragment(byte[] buf) throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
<-done } testCancel(func() { rb.Write([]byte{sz + 5: 1}) }) testCancel(func() { rb.Write(make([]byte, sz)) rb.WriteByte(0) }) testCancel(func() { rb.Read([]byte{10: 1}) }) testCancel(func() { rb.ReadByte() }) testCancel(func() { rb.Write(make([]byte, sz)) rb.Flush() }) } func TestWriteAfterWriterClose(t *testing.T) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
cmd/xl-storage-format-v2_gen.go
func (z xlMetaBuf) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendBytes(o, []byte(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *xlMetaBuf) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 []byte zb0001, bts, err = msgp.ReadBytesBytes(bts, []byte((*z))) if err != nil { err = msgp.WrapError(err)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 55.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
@Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (useUnicode) { dst[dstIndex] = (byte) '\0'; dstIndex++; } dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
} @Test public void testBufferTooSmall() throws Exception { byte[] buffer = new byte[50]; assertThrows(SmbException.class, () -> { validator.validateBuffer(buffer, 100, 1024); }); } @Test public void testBufferTooLarge() throws Exception { byte[] buffer = new byte[2048]; assertThrows(SmbException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
h := [3]uintptr{x[0], x[1], x[1]} buf := *(*[]byte)(unsafe.Pointer(&h)) return r.Write(buf) } // Bytes returns all available read bytes. // It does not move the read pointer and only copy the available data. // If the dst is big enough it will be used as destination, // otherwise a new buffer will be allocated. func (r *RingBuffer) Bytes(dst []byte) []byte { r.mu.Lock() defer r.mu.Unlock()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
cmd/batch-rotate_gen.go
} // MarshalMsg implements msgp.Marshaler func (z BatchKeyRotationType) 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 *BatchKeyRotationType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 27.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
/** * Deserializes a byte array using Kryo deserialization. * <p> * Uses the thread-local Kryo instance to read both the class information * and object data from the byte array input stream. * </p> * * @param bytes the byte array to deserialize * @return the deserialized object */ protected Object deserializeWithKryo(final byte[] bytes) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
@Test @DisplayName("Should decode buffer with no referrals") void testDecodeNoReferrals() { // Prepare test data: pathConsumed=0, numReferrals=0, tflags=0 byte[] testBuffer = new byte[8]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumed (will be divided by 2) bb.putShort((short) 0); // numReferralsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
out.write(b); verify(hashFunction).newHasher(); verify(hasher).putByte((byte) b); verifyNoMoreInteractions(hashFunction, hasher); } public void testWrite_putByteArray() throws Exception { byte[] buf = new byte[] {'y', 'a', 'm', 's'}; HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); out.write(buf);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0)