- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 838 for scond (0.02 seconds)
-
tests/update_test.go
var user1, user2 User DB.First(&user1, users[0].ID) DB.First(&user2, users[1].ID) CheckUser(t, user1, *users[0]) CheckUser(t, user2, *users[1]) // update with struct time.Sleep(1 * time.Second) DB.Table("users").Where("name in ?", []string{users[1].Name}).Updates(User{Name: "updates_02_newname"}) var user3 User if err := DB.First(&user3, "name = ?", "updates_02_newname").Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
cmd/data-usage-cache.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertThat(response1.body.string()).isEqualTo("first") // Second request hits the network again because the first entry was not cacheable val response2 = client.newCall(Request(server.url("/"))).execute() assertThat(response2.body.string()).isEqualTo("second") assertThat(response2.cacheResponse).isNull() } @Test fun responseCachingAndRedirects() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/ChatSessionTest.java
assertEquals(0, session.getMessageCount()); session.addUserMessage("First"); assertEquals(1, session.getMessageCount()); session.addAssistantMessage("Second"); assertEquals(2, session.getMessageCount()); } @Test public void test_getMessageCountWithNullMessages() { final ChatSession session = new ChatSession();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 12.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java
RankFusionProcessor processor = new RankFusionProcessor(); processor.setSearcher(new TestSearcher(100)); processor.init(); // First close processor.close(); // Second close - should not throw exception processor.close(); } /** * Test searcher that returns configurable number of documents. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
* @return polling interval in milliseconds */ private long determinePollInterval(ChangeNotificationHandle handle) { int failures = getFailureCount(handle); // Base interval starts at 1 second, increases with failures // Max interval is 30 seconds for inactive directories return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000)); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
fastapi/security/http.py
The HTTP authorization credentials in the result of using `HTTPBearer` or `HTTPDigest` in a dependency. The HTTP authorization header value is split by the first space. The first part is the `scheme`, the second part is the `credentials`. For example, in an HTTP Bearer token scheme, the client will send a header like: ``` Authorization: Bearer deadbeef12346 ``` In this case:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
assertNotNull(polled); assertEquals("http://www.example.com/page1", polled.getUrl()); assertEquals(sessionId, polled.getSessionId()); // Second poll should return null (queue is empty) final OpenSearchUrlQueue polled2 = urlQueueService.poll(sessionId); assertNull(polled2); urlQueueService.delete(sessionId); } @Test
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 14.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java
List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs"); logger.info("Page 1: {}", page1); // Get second page searchBody.put("page", 2); response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString(); List<Map<String, Object>> page2 = JsonPath.from(response).getList("response.logs");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
} } if (!acquired) continue // Confirm the connection is healthy and return it. if (connection.isHealthy(doExtensiveHealthChecks)) return connection // In the second synchronized block, release the unhealthy acquired connection. We're also on // the hook to close this connection if it's no longer in use. val noNewExchangesEvent: Boolean val toClose: Socket? =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (0)