- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 570 for Ok (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/s3-zip-handlers.go
gr.Close() if err != nil { return nil, ObjectInfo{}, err } if size > len(b) { size = len(b) } // Calculate the object real size if encrypted if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok { objSize, err = gr.ObjInfo.DecryptedSize() if err != nil { return nil, ObjectInfo{}, err } } else { objSize = gr.ObjInfo.Size }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/response-status-code.md
/// 在 HTTP 中,你會在回應的一部分傳回 3 位數的狀態碼。 這些狀態碼有對應的名稱以便辨識,但重點是數字本身。 簡而言之: * `100 - 199` 表示「資訊」。你很少會直接使用它們。這些狀態碼的回應不可包含本文。 * **`200 - 299`** 表示「成功」。這是你最常使用的一組。 * `200` 是預設狀態碼,表示一切「OK」。 * 另一個例子是 `201`,代表「已建立」。常用於在資料庫中建立新紀錄之後。 * 一個特殊情況是 `204`,代表「無內容」。當沒有內容要回傳給用戶端時使用,因此回應不得有本文。 * **`300 - 399`** 表示「重新導向」。這些狀態碼的回應可能有或沒有本文,唯獨 `304`(「未修改」)必須沒有本文。 * **`400 - 499`** 表示「用戶端錯誤」。這大概是你第二常用的一組。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
* keyword depends on the language and sometimes the context in which a keyword is used. For example, * `delete` is an operator in JavaScript, but it isn't in the keywords list for JavaScript or * TypeScript because it's OK to use `delete` as a method name. */ public class ValidateJsonNoKeywordsTask extends DefaultTask { private final ObjectMapper mapper = new ObjectMapper().configure(JsonParser.Feature.ALLOW_COMMENTS, true);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
internal/s3select/message.go
quitFlag = true // Flush collected records before sending error message if !writer.flushRecords() { break } writer.write(data) case payload, ok := <-writer.payloadCh: if !ok { // payloadCh is closed by caller to // indicate finish with success quitFlag = true if !writer.flushRecords() { break }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
RdmaMemoryRegion region2 = bufferManager.getSendRegion(1024); assertNotNull(region2); // Both regions should be valid assertTrue(region1.isValid() || !region1.isValid()); // Either state is OK after release assertTrue(region2.isValid(), "New region should be valid"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
Headers.Builder().add("foo bar") } } @Test fun addThrowsOnMultiColon() { assertFailsWith<IllegalArgumentException> { Headers.Builder().add(":status: 200 OK") } } @Test fun addUnsafeNonAsciiRejectsUnicodeName() { assertFailsWith<IllegalArgumentException> { Headers .Builder() .addUnsafeNonAscii("héader1", "value1")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
Set<String> roleSet; try { roleSet = buildByHeader(roleQueryHelperImpl, getMockRequest()); fail(); } catch (final NullPointerException e) { //ok } roleQueryHelperImpl.headerKey = "fess1"; getMockRequest().addHeader("aaa", "bbb"); roleSet = buildByHeader(roleQueryHelperImpl, getMockRequest());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
apply { this.status = status } fun setResponseCode(code: Int): MockResponse { val reason = when (code) { in 100..199 -> "Informational" in 200..299 -> "OK" in 300..399 -> "Redirection" in 400..499 -> "Client Error" in 500..599 -> "Server Error" else -> "Mock Response" } return apply { status = "HTTP/1.1 $code $reason" } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
source.copyTo(out); assertExpectedBytes(out.toByteArray()); } public void testCopyTo_byteSink() throws IOException { ByteArrayOutputStream out = new ByteArrayOutputStream(); // HERESY! but it's ok just for this I guess source.copyTo( new ByteSink() { @Override public OutputStream openStream() throws IOException { return out; } });
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
cmd/object-api-putobject_test.go
continue } // Test passes as expected, but the output values are verified for correctness here. if actualErr == nil { // Asserting whether the md5 output is correct. if expectedMD5, ok := testCase.inputMeta["etag"]; ok && expectedMD5 != objInfo.ETag { t.Errorf("Test %d: %s: Calculated Md5 different from the actual one %s.", i, instanceType, objInfo.ETag) continue } } } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 25.8K bytes - Click Count (0)