- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,160 for readn (0.02 sec)
-
buildscripts/checkdeps.sh
## ## check_minimum_version() { ## versions=($(echo -e "$1\n$2" | sort -V)) ## return [ "$1" == "${versions[0]}" ] ## } ## check_minimum_version() { IFS='.' read -r -a varray1 <<<"$1" IFS='.' read -r -a varray2 <<<"$2" for i in "${!varray1[@]}"; do if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then return 0 elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then return 1 fi done
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Jun 08 16:12:05 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertArrayEquals(originalBuffer, buffer); } } @Nested @DisplayName("Read Bytes Wire Format Tests") class ReadBytesWireFormatTests { @Test @DisplayName("Should read valid structure size of 4") void testReadBytesWireFormatValid() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/archive/tar/reader_test.go
// Read is never called with an empty buffer. type testNonEmptyReader struct{ io.Reader } func (r testNonEmptyReader) Read(b []byte) (int, error) { if len(b) == 0 { return 0, errors.New("unexpected empty Read call") } return r.Reader.Read(b) } func TestFileReader(t *testing.T) { type ( testRead struct { // Read(cnt) == (wantStr, wantErr) cnt int
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
bufferIndex += 2; // Read flags this.flags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // Validate remaining buffer size for algorithms if (len < 8 + (compressionCount * 2)) { throw new SMBProtocolDecodingException("Buffer too small for compression algorithms"); } // Read compression algorithms
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K 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) -
docs/en/docs/reference/testclient.md
# Test Client - `TestClient` You can use the `TestClient` class to test FastAPI applications without creating an actual HTTP and socket connection, just communicating directly with the FastAPI code. Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/). You can import it directly from `fastapi.testclient`: ```python from fastapi.testclient import TestClient ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 450 bytes - Viewed (0) -
cmd/storage-datatypes.go
// ReadMultipleReq contains information of multiple files to read from disk. type ReadMultipleReq struct { Bucket string `msg:"bk"` // Bucket. Can be empty if multiple buckets. Prefix string `msg:"pr,omitempty"` // Shared prefix of all files. Can be empty. Will be joined to filename without modification. Files []string `msg:"fl"` // Individual files to read.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
type diskHealthWrapper struct { tracker *healthDiskCtxValue r io.Reader w io.Writer } func (d *diskHealthWrapper) Read(p []byte) (int, error) { if d.r == nil { return 0, fmt.Errorf("diskHealthWrapper: Read with no reader") } n, err := d.r.Read(p) if err == nil || err == io.EOF && n > 0 { d.tracker.logSuccess() } return n, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 34.5K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
buildscripts/minio-iam-ldap-upgrade-import-test.sh
echo "Creating IAM content in old minio instance." MINIO_CI_CD=1 ./minio.${OLD_VERSION} server /tmp/data/{1...4} & sleep 5 set -x mc alias set old-minio http://localhost:9000 minioadmin minioadmin mc ready old-minio mc idp ldap add old-minio \ server_addr=localhost:389 \ server_insecure=on \ lookup_bind_dn=cn=admin,dc=min,dc=io \ lookup_bind_password=admin \ user_dn_search_base_dn=dc=min,dc=io \
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 11 15:01:29 UTC 2024 - 3.4K bytes - Viewed (0)