- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,204 for read1 (0.09 sec)
-
guava-tests/test/com/google/common/io/RandomAmountInputStream.java
public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in)); this.random = checkNotNull(random); } @Override public int read(byte[] b, int off, int len) throws IOException { return super.read(b, off, random.nextInt(len) + 1); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
} copy(objectEncryptionKey[:], key) partEncryptionKey := objectEncryptionKey.DerivePartKey(uint32(partID)) in := io.Reader(hashReader) if size > encryptBufferThreshold { // The encryption reads in blocks of 64KB. // We add a buffer on bigger files to reduce the number of syscalls upstream. in = bufio.NewReaderSize(hashReader, encryptBufferSize) } var nonce [12]byte
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Read the data int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify results assertEquals(20, bytesRead); assertEquals(fileAttributes, response.getAttributes()); assertEquals(fileSize, response.getSize()); // Verify time was read correctly (accounting for UTime conversion)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
docs/es/docs/tutorial/request-files.md
* `write(data)`: Escribe `data` (`str` o `bytes`) en el archivo. * `read(size)`: Lee `size` (`int`) bytes/caracteres del archivo. * `seek(offset)`: Va a la posición de bytes `offset` (`int`) en el archivo. * Por ejemplo, `await myfile.seek(0)` iría al inicio del archivo. * Esto es especialmente útil si ejecutas `await myfile.read()` una vez y luego necesitas leer el contenido nuevamente. * `close()`: Cierra el archivo.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
/** Permission to read file attributes */ public static final int FILE_READ_ATTRIBUTES = 0x00000080; // 8 /** Permission to write file attributes */ public static final int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9 /** Standard delete permission */ public static final int DELETE = 0x00010000; // 16 /** Permission to read the security descriptor */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
as := bytes.Repeat(alphabets, multiply) b := as[skipOffset : skipOffset+int64(len(alphabets)*(multiply-1))] return &DummyDataGen{ length: totalLength, b: b, } } func (d *DummyDataGen) Read(b []byte) (n int, err error) { k := len(b) numLetters := int64(len(d.b)) for k > 0 && d.idx < d.length { w := copy(b[len(b)-k:], d.b[d.idx%numLetters:]) k -= w d.idx += int64(w) n += w }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
* ServerMessageBlock would have to perform the same read * operation on the input stream, we might as will pull that * common functionality into the superclass and read wordCount * and byteCount worth of data. * * We will still use the readXxxWireFormat return values to * indicate how many bytes(note: readParameterWordsWireFormat * returns bytes read and not the number of words(but the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.18.md
- Containers which specify a `startupProbe` but not a `readinessProbe` were previously considered "ready" before the `startupProbe` completed, but are now considered "not-ready". ([#92196](https://github.com/kubernetes/kubernetes/pull/92196), [@thockin](https://github.com/thockin)) [SIG Node]
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Jun 16 17:18:28 UTC 2021 - 373.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
*/ @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0; // The method should return 0 as it reads no parameter words int result = smbComNegotiate.readParameterWordsWireFormat(buffer, bufferIndex); assertEquals(0, result, "readParameterWordsWireFormat should return 0."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.assertFailure( SocketTimeoutException::class.java, "timeout", "Read timed out", ) assertThat(webSocket.close(1000, null)).isFalse() } /** * There's no read timeout when reading the first byte of a new frame. But as soon as we start * reading a frame we enable the read timeout. In this test we have the server returning the first * byte of a frame but no more frames. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0)