- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 1,317 for bytesB (0.34 seconds)
-
src/archive/zip/reader_test.go
} _, err = NewReader(bytes.NewReader(b), size) if err != ErrFormat { t.Errorf("sigs: error=%v, want %v", err, ErrFormat) } // negative size _, err = NewReader(bytes.NewReader([]byte("foobar")), -1) if err == nil { t.Errorf("archive/zip.NewReader: expected error when negative size is passed") } } func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 57.9K bytes - Click Count (0) -
internal/config/crypto.go
// The context is bound to the returned ciphertext. // // The same context must be provided when decrypting the // ciphertext. func EncryptBytes(k *kms.KMS, plaintext []byte, context kms.Context) ([]byte, error) { ciphertext, err := Encrypt(k, bytes.NewReader(plaintext), context) if err != nil { return nil, err } return io.ReadAll(ciphertext) } // DecryptBytes decrypts the ciphertext using a key managed by the KMS.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Given byte[] buffer = new byte[60]; int bufferIndex = 0; // Structure Size (2 bytes) - must be 60 SMBUtil.writeInt2(60, buffer, bufferIndex); // Flags (2 bytes) SMBUtil.writeInt2(SMB2_CLOSE_FLAG_POSTQUERY_ATTIB, buffer, bufferIndex + 2); // Reserved (4 bytes) SMBUtil.writeInt4(0, buffer, bufferIndex + 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
/** * Channel type for RDMA version 1 with invalidate */ public static int SMB2_CHANNEL_RDMA_V1_INVALIDATE = 0x2; private byte[] fileId; private final byte[] outputBuffer; private final int outputBufferOffset; private byte padding; private byte readFlags; private int readLength; private long offset; private int minimumCount; private int channel; private int remainingBytes;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
*/ @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.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
// Mock attributes (4 bytes) buffer[32] = 0x01; buffer[33] = 0x00; buffer[34] = 0x00; buffer[35] = 0x00; return buffer; } private byte[] createMockFileStandardInfoBuffer() { // Create a buffer that represents FileStandardInfo data byte[] buffer = new byte[24]; // Mock allocation size (8 bytes) for (int i = 0; i < 8; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteProcessor.java
@J2ktIncompatible @GwtIncompatible public interface ByteProcessor<T extends @Nullable Object> { /** * This method will be called for each chunk of bytes in an input stream. The implementation * should process the bytes from {@code buf[off]} through {@code buf[off + len - 1]} (inclusive). * * @param buf the byte array containing the data to process * @param off the initial offset into the array * @param len the length of data to be processed
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0)