Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 751 for startTs (0.15 sec)

  1. docs/de/docs/advanced/testing-events.md

    # Events testen: Lifespan und Startup – Shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    Wenn Sie `lifespan` in Ihren Tests ausführen müssen, können Sie den `TestClient` mit einer `with`-Anweisung verwenden:
    
    {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 738 bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/events.md

    配置**启动**和**关闭**事件的推荐方法是使用 `FastAPI()` 应用的 `lifespan` 参数,如前所示。如果你提供了一个 `lifespan` 参数,启动(`startup`)和关闭(`shutdown`)事件处理器将不再生效。要么使用 `lifespan`,要么配置所有事件,两者不能共用。
    
    你可以跳过这一部分。
    
    ///
    
    有一种替代方法可以定义在**启动**和**关闭**期间执行的逻辑。
    
    **FastAPI** 支持定义在应用启动前,或应用关闭时执行的事件处理器(函数)。
    
    事件函数既可以声明为异步函数(`async def`),也可以声明为普通函数(`def`)。
    
    ### `startup` 事件
    
    使用 `startup` 事件声明 `app` 启动前运行的函数:
    
    {* ../../docs_src/events/tutorial001.py hl[8] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      public void testStart_failed() {
        Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                throw exception;
              }
            };
        assertEquals(0, service.startUpCalled);
        RuntimeException e =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        // Running the red task starts another thread, so the two can run in parallel.
        taskFaker.runNextTask()
        assertThat(log).containsExactly("red:starting@0")
        assertThat(taskFaker.executeCallCount).isEqualTo(2)
    
        // Next the blue task starts.
        taskFaker.runNextTask()
        assertThat(log).containsExactly(
          "red:starting@0",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. cmd/batch-handlers_gen.go

    				return
    			}
    		case "User":
    			z.User, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "User")
    				return
    			}
    		case "Started":
    			z.Started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Started")
    				return
    			}
    		case "Replicate":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Replicate")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            @SuppressWarnings("unchecked")
            final Map<String, StateData> states = (Map<String, StateData>) session.getAttribute(STATES);
            if (states != null) {
                final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                states.entrySet()
                        .stream()
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  7. buildscripts/upgrade-tests/compose.yml

    x-minio-common: &minio-common
      image: minio/minio:${MINIO_VERSION}
      command: server http://minio{1...4}/data{1...3}
      env_file:
        - ./minio.env
      expose:
        - "9000"
        - "9001"
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
        hostname: minio1
        volumes:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. docs/orchestration/docker-compose/docker-compose.yaml

      # environment:
        # MINIO_ROOT_USER: minioadmin
        # MINIO_ROOT_PASSWORD: minioadmin
      healthcheck:
        test: ["CMD", "mc", "ready", "local"]
        interval: 5s
        timeout: 5s
        retries: 5
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
        hostname: minio1
        volumes:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 07 05:14:10 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    				ss.HealPriority = "high"
    				status.HealDisks = append(status.HealDisks, disk.Endpoint)
    			}
    		}
    		sortDisks(ss.Disks)
    		status.Sets = append(status.Sets, ss)
    	}
    	sort.Slice(status.Sets, func(i, j int) bool {
    		return status.Sets[i].ID < status.Sets[j].ID
    	})
    
    	backendInfo := o.BackendInfo()
    	status.SCParity = make(map[string]int)
    	status.SCParity[storageclass.STANDARD] = backendInfo.StandardSCParity
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. docs/de/llm-prompt.md

    * «the return value»: «der Rückgabewert»
    * «the startup» (the event of the app): «der Startup»
    * «the shutdown» (the event of the app): «der Shutdown»
    * «the startup event»: «das Startup-Event»
    * «the shutdown event»: «das Shutdown-Event»
    * «the startup» (of the server): «das Hochfahren»
    * «the startup» (the company): «das Startup»
    * «the SDK»: «das SDK»
    * «the tag»: «der Tag»
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top