- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,269 for afterFn (0.06 sec)
-
cmd/bootstrap-peer-server.go
if newObjectLayerFn() != nil { return nil } recvCfg, err := serverVerifyHandler.Call(ctx, client.gridConn, grid.NewMSS()) if err != nil { return err } // We do not need the response after returning. defer serverVerifyHandler.PutResponse(recvCfg) return srcCfg.Diff(recvCfg) } // Stringer provides a canonicalized representation of node. func (client *bootstrapRESTClient) String() string {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
import java.io.InputStream; import java.nio.file.Files; import org.codelibs.curl.Curl; import org.junit.After; import org.junit.Test; /** * Test class for ContentCache. * Tests memory-based and file-based content caching. */ public class ContentCacheTest { private File tempFile; @After public void tearDown() { if (tempFile != null && tempFile.exists()) { tempFile.delete();Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
fastapi/middleware/asyncexitstack.py
from contextlib import AsyncExitStack from starlette.types import ASGIApp, Receive, Scope, Send # Used mainly to close files after the request is done, dependencies are closed # in their own AsyncExitStack class AsyncExitStackMiddleware: def __init__( self, app: ASGIApp, context_name: str = "fastapi_middleware_astack" ) -> None: self.app = app self.context_name = context_nameRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 637 bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
class TimeConsistencyTests { @Test @DisplayName("Current time should be after start time") void testCurrentTimeAfterStart() { Instant now = MonotonicClock.now(); Instant start = MonotonicClock.start(); assertTrue(now.isAfter(start), "Current time should be after start time"); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
internal/s3select/csv/record.go
// converted based on the query. func (r *Record) Get(name string) (*sql.Value, error) { index, found := r.nameIndexMap[name] if !found { // Check if index. if after, ok := strings.CutPrefix(name, "_"); ok { idx, err := strconv.Atoi(after) if err != nil { return nil, fmt.Errorf("column %v not found", name) } // The position count starts at 1. idx-- if idx >= len(r.csvRecord) || idx < 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true"); when(smbTreeHandle.isConnected()).thenReturn(false); assertFalse(smbTreeHandle.isConnected(), "isConnected() should return false after status change"); } /** * Test for getServerTimeZoneOffset() method. * Verifies that the method returns the correct time zone offset. * @throws CIFSException */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
dbflute_fess/playsql/_readme.txt
replace-schema-*.sql: DDL statements for creation of your schema. You should write your own DDL statements in this file. (A SQL separator is semicolon ";") take-finally-*.sql: SQL statements for check loaded data (or DDL after data loading) You should write your own SQL statements in this file. (basically same specifications as replace-schema.sql) The "data" directory is for data loading like this: /- - - - - - - - - - - - - - - - - - - -
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jul 04 22:46:31 UTC 2015 - 1.3K bytes - Viewed (0) -
docs_src/app_testing/tutorial004_py39.py
response = client.get("/items/foo") assert response.status_code == 200 assert response.json() == {"name": "Fighters"} # After the requests is done, the items are still there assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}} # The end of the "with TestClient" block simulates terminating the app, soRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.2K bytes - Viewed (0) -
tests/create_test.go
t.Fatalf("failed to query data after create from slice of map, got error %v", err) } var result3 User if err := DB.Where("name = ?", "create_from_map_3").First(&result3).Error; err != nil || result3.Age != 20 { t.Fatalf("failed to query data after create from slice of map, got error %v", err) } } func TestCreateWithAssociations(t *testing.T) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
tests/test_openapi_model_description_trim_on_formfeed.py
from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class MyModel(BaseModel): """ A model with a form feed character in the title. \f Text after form feed character. """ @app.get("/foo") def foo(v: MyModel): # pragma: no cover pass client = TestClient(app) def test_openapi(): response = client.get("/openapi.json")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Jun 17 07:46:27 UTC 2025 - 660 bytes - Viewed (0)