- Sort Score
- Num 10 results
- Language All
Results 721 - 730 of 1,309 for non (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
} else { frameCallback.onReadMessage(messageFrameBuffer.readByteString()) } } /** Read headers and process any control frames until we reach a non-control frame. */ @Throws(IOException::class) private fun readUntilNonControlFrame() { while (!receivedCloseFrame) { readHeader() if (!isControlFrame) { break }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
@Test @DisplayName("Test readDataWireFormat with error code returns 4") void testReadDataWireFormatWithErrorCode() throws Exception { byte[] buffer = new byte[100]; // Set error code to non-zero setErrorCode(response, 1); int result = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(4, result); assertNull(response.getSecurityDescriptor()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@Test @DisplayName("Should not modify reserved field bytes") void testReservedFieldNotModified() { lock = new Smb2Lock(999L, 888L, 0xFF); // Fill buffer with non-zero values Arrays.fill(buffer, (byte) 0xFF); lock.encode(buffer, 0); // Reserved field bytes are not modified by the encode methodCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/stream-data.md
如果在你的路徑操作函式中宣告 `response_class=StreamingResponse`,就可以用 `yield` 逐一送出每個資料區塊。 {* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *} FastAPI 會如實將每個資料區塊交給 `StreamingResponse`,不會嘗試將其轉換為 JSON 或其他格式。 ### 非 async 路徑操作函式 { #non-async-path-operation-functions } 你也可以使用一般的 `def` 函式(沒有 `async`),並以相同方式使用 `yield`。 {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *} ### 不需要型別註解 { #no-annotation } 對於串流二進位資料,其實不需要宣告回傳型別註解。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java
// Longest sequence of zeros compressed (3 zeros at end vs 1 zero at start) assertEquals("2001:db8:0:1::1", method.invoke(null, "2001:0db8:0:1:0:0:0:1")); // No compression when all segments are non-zero (just remove leading zeros) assertEquals("2001:db8:1:2:3:4:5:6", method.invoke(null, "2001:0db8:0001:0002:0003:0004:0005:0006")); // Single zero should not be compressed
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ImmutableGraph.java
} /** * Adds {@code node} if it is not already present. * * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null. * * @return this {@code Builder} object */ @CanIgnoreReturnValue public Builder<N> addNode(N node) { mutableGraph.addNode(node); return this; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 7.2K bytes - Click Count (0) -
internal/logger/logrotate.go
// or when files are being rotated. f *os.File pw *xioutil.PipeWriter pr *xioutil.PipeReader } // Write writes p into the current file, rotating if necessary. // Write is non-blocking, if the writer's queue is not full. // Write is blocking otherwise. func (w *Writer) Write(p []byte) (n int, err error) { return w.pw.Write(p) } // Close closes the writer.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertThat(MediaType.parse("text/plain").charset()).isAbsent(); assertThat(MediaType.parse("text/plain; charset=utf-8").charset()).hasValue(UTF_8); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testGetCharset_utf16() { assertThat(MediaType.parse("text/plain; charset=utf-16").charset()).hasValue(UTF_16); } public void testGetCharset_tooMany() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 20.4K bytes - Click Count (0) -
cmd/server_test.go
} // TestHeader - Validates the error response for an attempt to fetch non-existent object. func (s *TestSuiteCommon) TestHeader(c *check) { // generate a random bucket name. bucketName := getRandomBucketName() // obtain HTTP request to fetch an object from non-existent bucket/object. request, err := newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, "testObject"),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
// Remove the child entry.removeChild(childName); assertFalse(entry.hasChild(childName)); assertTrue(entry.hasChanges()); // Remove non-existent child - should not change state entry.removeChild("nonexistent.txt"); assertTrue(entry.hasChanges()); // Still has changes from previous removal } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0)