- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 8,913 for with (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_deprecated_responses.py
app = _make_orjson_app() client = TestClient(app) with warnings.catch_warnings(): warnings.simplefilter("ignore", FastAPIDeprecationWarning) response = client.get("/items") assert response.status_code == 200 assert response.json() == {"name": "widget", "price": 9.99} def test_orjson_response_emits_deprecation_warning(): with pytest.warns(FastAPIDeprecationWarning, match="ORJSONResponse is deprecated"):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 2K bytes - Click Count (0) -
tests/table_test.go
t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
call.exitNetworkInterceptorExchange(closeActiveExchange) } } } /** * Report and attempt to recover from a failure to communicate with a server. Returns true if * `e` is recoverable, or false if the failure is permanent. Requests with a body can only * be recovered if the body is buffered or if the failure occurred before the request has been * sent. */ private fun recover(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
we ignored the problem at request-building time, only to crash later with a `NullPointerException`. * Fix: Include a backwards-compatible `OkHttp-Response-Source` header with `OkUrlFactory `responses. * Fix: Don't include a default User-Agent header in requests made with the Call API. Requests made with OkUrlFactory will continue to have a default user agent.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
assertNotNull(job); assertEquals(30L * 24 * 60 * 60 * 1000L, job.getExpiry()); } // Test getExpiry with default value @Test public void test_getExpiry_default() { assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry()); } // Test expiry setter with valid value @Test public void test_expiry_validValue() { long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
/* * Copyright 2012-2025 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Verifies that toString() formats bytes as lower-case hex with zero-padding @ParameterizedTest(name = "toString renders hex for {0}") @MethodSource("hexCases") @DisplayName("toString() renders lower-case hex with zero-padding") void toString_rendersHex(byte[] input, String expected) { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* Reduces fragment size for smaller screens. * * @param highlightInfo the highlight info to update * @param width the screen width */ protected void updateHighlightInfo(final HighlightInfo highlightInfo, final int width) { if (width < TABLET_WIDTH) { float ratio = (float) width / (float) TABLET_WIDTH; if (ratio < 0.5) { ratio = 0.5f; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
/** * Associates the specified session data with the given key. * * @param key the key under which to store the session data, must not be {@code null} * @param value the data to associate with the key, may be {@code null} to remove the mapping */ <T> void set(@Nonnull Key<T> key, @Nullable T value); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals("\\test\\path\\", trans2FindFirst2.getPath()); } @Test @DisplayName("Test constructor with path ending in backslash") void testConstructorWithPathEndingInBackslash() { // Test path already ending with backslash trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path\\", "*.doc", 0x16, 20, 2048);
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)