- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 396 for readings2 (0.06 seconds)
-
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
verify(locator, never()).locateExistingPom(any(Path.class)); } @Test void testStreamReading() throws IOException { // Test stream reading functionality Path testFile = tempDir.resolve("test.txt"); String content = "test content"; Files.writeString(testFile, content); Source source = Sources.fromPath(testFile);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test read string with odd Unicode alignment") void testReadStringUnicodeAlignment() { testBlock.setUseUnicode(true); // Test reading Unicode string with alignment byte[] buffer = new byte[100]; // Write "Test" in UTF-16LE directly at position 2 (even offset)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
Nevertheless, you still enforce those scopes, or any other security/authorization requirement, however you need, in your code. In many cases, OAuth2 with scopes can be an overkill. But if you know you need it, or you are curious, keep reading. /// ## OAuth2 scopes and OpenAPI { #oauth2-scopes-and-openapi } The OAuth2 specification defines "scopes" as a list of strings separated by spaces.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:49:48 GMT 2025 - 13.5K bytes - Click Count (0) -
docs/features/calls.md
Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled. ## Dispatch
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/netbios/Lmhosts.java
long lm = f.lastModified(); if (lm > this.lastModified) { if (log.isDebugEnabled()) { log.debug("Reading " + tc.getConfig().getLmHostsFileName()); } this.lastModified = lm; this.table.clear(); try (FileReader r = new FileReader(f)) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
return new String(buffer, 0, bufIndex); } // otherwise we got the size wrong. This can happen if the size changes between when // we called sizeIfKnown and when we started reading the file (or I guess if // maxCharsPerByte is wrong) // Fallback to an incremental approach StringBuilder builder = new StringBuilder(bufIndex + 32);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/storage-datatypes.go
MaxSize int64 `msg:"ms"` // Return error if size is exceed. MetadataOnly bool `msg:"mo"` // Read as XL meta and truncate data. AbortOn404 bool `msg:"ab"` // Stop reading after first file not found. MaxResults int `msg:"mr"` // Stop after this many successful results. <= 0 means all. } // ReadMultipleResp contains a single response from a ReadMultipleReq.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
public fun onRequestStart(socketEffect: SocketEffect?): Builder = apply { this.onRequestStart = socketEffect } /** * Process the response without even attempting to reading the request body. For HTTP/2 this * will close the response stream after the response body or trailers. For HTTP/1 this will * close the socket after the response body or trailers. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 17.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
"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. */ @Test fun readTimeoutAppliesWithinFrames() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
cmd/api-response_test.go
resp := rw.Result() if resp.StatusCode != 123 { t.Fatalf("unexpected status: %v", resp.StatusCode) } body, err := io.ReadAll(resp.Body) if err != nil { t.Fatalf("reading response body failed: %v", err) } if string(body) != "hello" { t.Fatalf("response body incorrect: %v", string(body)) } // Check that Unwrap works if trw.Unwrap() != rw {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 5.8K bytes - Click Count (0)