Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for yielded (0.03 sec)

  1. docs/ja/docs/tutorial/middleware.md

    * 次に、アプリケーションの残りの部分に**リクエスト**を渡して (*path operation* によって) 処理させます。
    * 次に、ミドルウェアはアプリケーション (の *path operation*) によって生成された**レスポンス**を受け取ります。
    * その**レスポンス**に対して何かを実行したり、必要なコードを実行したりできます。
    * そして、**レスポンス**を返します。
    
    /// note | 技術詳細
    
    `yield` を使った依存関係をもつ場合は、終了コードはミドルウェアの *後に* 実行されます。
    
    バックグラウンドタスク (後述) がある場合は、それらは全てのミドルウェアの *後に* 実行されます。
    
    ///
    
    ## ミドルウェアの作成
    
    ミドルウェアを作成するには、関数の上部でデコレータ `@app.middleware("http")` を使用します。
    
    ミドルウェア関数は以下を受け取ります:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                }
    
                return switch (item.getType()) {
                    case INT_ITEM -> {
                        int itemValue = ((IntItem) item).value;
                        yield Integer.compare(value, itemValue);
                    }
                    case LONG_ITEM, BIGINTEGER_ITEM -> -1;
                    case STRING_ITEM -> 1;
                    case COMBINATION_ITEM -> 1; // 1.1 > 1-sp
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        }
    
        static Stream<String> wildcardProvider() {
            return Stream.of(null, "", "*");
        }
    
        @ParameterizedTest
        @MethodSource("wildcardProvider")
        @DisplayName("open() happy path: yields entries and closes with Smb2CloseRequest on close()")
        void happyPath_enumerates_and_closes(String wildcard) throws Exception {
            // Setup required for this test
            when(parent.getLocator()).thenReturn(locator);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

            localhostIpv6,
            TestUtil.UNREACHABLE_ADDRESS_IPV4.address,
          )
        serverIpv4.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
        serverIpv6.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
    
        // Yield the first IP address so the second IP address completes first.
        val firstConnectLatch = CountDownLatch(1)
        val socketFactory =
          object : DelegatingSocketFactory(SocketFactory.getDefault()) {
            var first = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RangeMap.java

       * merge does not affect its value. For example, if {@code rangeMap} had one entry {@code [1, 5]
       * => 3} then {@code rangeMap.merge(Range.closed(0,2), 3, Math::max)} could yield a map with the
       * entries {@code [0, 1) => 3, [1, 2] => 3, (2, 5] => 3}.
       *
       * @since 28.1
       */
      void merge(
          Range<K> range,
          @Nullable V value,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/en/mkdocs.yml

          - tutorial/dependencies/sub-dependencies.md
          - tutorial/dependencies/dependencies-in-path-operation-decorators.md
          - tutorial/dependencies/global-dependencies.md
          - tutorial/dependencies/dependencies-with-yield.md
        - Security:
          - tutorial/security/index.md
          - tutorial/security/first-steps.md
          - tutorial/security/get-current-user.md
          - tutorial/security/simple-oauth2.md
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

            ASN1ObjectIdentifier[] mechs = ctx.getSupportedMechs();
            assertNotNull(mechs);
            assertArrayEquals(Kerb5Context.SUPPORTED_MECHS, mechs);
        }
    
        @Test
        @DisplayName("getFlags with all false yields 0")
        void getFlags_allFalse() {
            when(gssContext.getCredDelegState()).thenReturn(false);
            when(gssContext.getMutualAuthState()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          // (in startSignal.await()), and the others waiting for that thread's result.
          while (thread.isAlive() && thread.getState() != Thread.State.WAITING) {
            Thread.yield();
          }
        }
        gettersStartedSignal.countDown();
        gettersComplete.await();
    
        List<Object> resultList = Lists.newArrayListWithExpectedSize(nThreads);
        for (int i = 0; i < nThreads; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  9. src/bytes/reader_test.go

    			defer wg.Done()
    			var buf [1]byte
    			r.ReadAt(buf[:], int64(i))
    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestEmptyReaderConcurrent(t *testing.T) {
    	// Test for the race detector, to verify a Read that doesn't yield any bytes
    	// is okay to use from multiple goroutines. This was our historic behavior.
    	// See golang.org/issue/7856
    	r := NewReader([]byte{})
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(2)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/QueuesTest.java

        assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
        // wait for interrupted status and clear it
        while (!Thread.interrupted()) {
          Thread.yield();
        }
      }
    
      private static class Producer implements Callable<@Nullable Void> {
        final BlockingQueue<Object> q;
        final int elements;
        final CountDownLatch beganProducing = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top