- Sort Score
- Result 10 results
- Languages All
Results 1831 - 1840 of 2,385 for When (0.12 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(status == nullStatus); assertFalse(status.equals(nullStatus)); // null == Enum should be false assertFalse(nullStatus == status); // Verify no NullPointerException when comparing with == boolean result = (nullStatus == CrawlerStatus.INITIALIZING); assertFalse(result); } /** * Test thread safety of enum */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
If you want to override the response from inside of the function but at the same time document the "media type" in OpenAPI, you can use the `response_class` parameter AND return a `Response` object. The `response_class` will then be used only to document the OpenAPI *path operation*, but your `Response` will be used as is. #### Return an `HTMLResponse` directly { #return-an-htmlresponse-directly } For example, it could be something like:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/bytes/buffer_test.go
type panicReader struct{ panic bool } func (r panicReader) Read(p []byte) (int, error) { if r.panic { panic("oops") } return 0, io.EOF } // Make sure that an empty Buffer remains empty when // it is "grown" before a Read that panics func TestReadFromPanicReader(t *testing.T) { // First verify non-panic behaviour var buf Buffer i, err := buf.ReadFrom(panicReader{}) if err != nil {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0) -
src/archive/tar/tar_test.go
} if g, e := h.ModTime, fi.ModTime(); !g.Equal(e) { t.Errorf("ModTime = %v; want %v", g, e) } // FileInfoHeader should error when passing nil FileInfo if _, err := FileInfoHeader(nil, ""); err == nil { t.Fatalf("Expected error when passing nil to FileInfoHeader") } } func TestFileInfoHeaderDir(t *testing.T) { fi, err := os.Stat("testdata") if err != nil { t.Fatal(err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/resources/fess_config.properties
api.search.scroll=false # Headers for API JSON response. api.json.response.headers=Referrer-Policy:strict-origin-when-cross-origin # Whether to include exceptions in API JSON response. api.json.response.exception.included=false # Headers for API GSA response. api.gsa.response.headers=Referrer-Policy:strict-origin-when-cross-origin # Whether to include exceptions in API GSA response. api.gsa.response.exception.included=false
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 14:45:37 UTC 2025 - 54.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
server.enqueue(MockResponse(body = "Page 2")) // when val response = client .newCall( Request .Builder() .url(server.url("/page1")) .method("PROPFIND", "Request Body".toRequestBody("text/plain".toMediaType())) .build(), ).execute() // then assertThat(response.body.string()).isEqualTo("Page 2")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
if err == io.EOF { break } if err != nil { log.Fatalf("go list: invalid output: %v", err) } // - Package "unsafe" contains special signatures requiring // extra care when printing them - ignore since it is not // going to change w/o a language change. // - Internal and vendored packages do not contribute to our // API surface. (If we are running within the "std" module,Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
|| validSurrogatePairAt(b, b.length() - s - 1)) { s--; } return a.subSequence(a.length() - s, a.length()).toString(); } /** * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}. * Out-of-range indexes return false. */ @VisibleForTesting static boolean validSurrogatePairAt(CharSequence string, int index) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
} public void testWildcardSubtypes() throws Exception { new WildcardSubtypingTests().testAllDeclarations(); } /** * This test reproduces the bug in canonicalizeWildcardType() when the type variable is * recursively bounded. */ public void testRecursiveWildcardSubtypeBug() throws Exception { Exception e = assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* changes to it will <i>not</i> be reflected in this {@code HashCode} object or any other arrays * returned by this method. */ // TODO(user): consider ByteString here, when that is available public abstract byte[] asBytes(); /** * Copies bytes from this hash code into {@code dest}. * * @param dest the byte array into which the hash code will be written
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0)