- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 439 for dst1 (0.09 seconds)
-
internal/ringbuffer/ring_buffer.go
// 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() getDst := func(n int) []byte { if cap(dst) < n { return make([]byte, n) } return dst[:n] } if r.w == r.r { if r.isFull { buf := getDst(r.size)
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) -
src/archive/zip/writer_test.go
testReadFile(t, src.File[i], &wt) } // make a new zip file copying the old compressed data. buf2 := new(bytes.Buffer) dst := NewWriter(buf2) for _, f := range src.File { if err := dst.Copy(f); err != nil { t.Fatal(err) } } if err := dst.Close(); err != nil { t.Fatal(err) } // read the new one back r, err := NewReader(bytes.NewReader(buf2.Bytes()), int64(buf2.Len()))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
incorrect length IV") } copy(x.iv[:], iv) } func cryptBlocksEncGeneri(b *Block, civ *[BlockSize]byte, dst, src []byte) { iv := civ[:] for len(src) > 0 { // Write the xor to dst, then encrypt in place. subtle.XORBytes(dst[:BlockSize], src[:BlockSize], iv) encryptBlock(b, dst[:BlockSize], dst[:BlockSize]) // Move to the next block with this block as the next iv. iv = dst[:BlockSize] src = src[BlockSize:] dst = dst[BlockSize:] } // Save the iv for the next CryptBlocks call. copy(civ[:], iv) } type CBCDecrypter...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if an error occurs during decoding *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
} @Override protected int writeSetupWireFormat(byte[] dst, int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(byte[] dst, int dstIndex) { return 0; } @Override protected int writeDataWireFormat(byte[] dst, int dstIndex) { return 0; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
internal/s3select/parquet/reader.go
fr, err := parquetgo.NewFileReader(rsc) if err != nil { return nil, errParquetParsingError(err) } return &Reader{Closer: rsc, r: fr}, nil } func (pr *Reader) Read(dst sql.Record) (rec sql.Record, rerr error) { nextRow, err := pr.r.NextRow() if err != nil { if err == io.EOF { return nil, err } return nil, errParquetParsingError(err) } kvs := jstream.KVS{}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
void testWriteBytesWireFormatReturnsZero() throws Exception { Smb2SessionSetupResponse resp = newResponse(); byte[] dst = new byte[32]; int written = resp.writeBytesWireFormat(dst, 0); assertEquals(0, written); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
@Override int writeSetupWireFormat(byte[] dst, int dstIndex) { return 0; } @Override int writeParametersWireFormat(byte[] dst, int dstIndex) { return 0; } @Override int writeDataWireFormat(byte[] dst, int dstIndex) { return 0; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException * If there is an error decoding the response *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0)