Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,098 for foo (0.02 sec)

  1. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
                    dispatcher.dispatch("foo", stringSubscribers.iterator());
                    latch.countDown();
                  }
                })
            .start();
    
        Uninterruptibles.awaitUninterruptibly(latch);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    
    /**
     * Benchmarks for various ways of writing the expression {@code foo + ((bar < baz) ? 1 : 0)}.
     *
     * @author Louis Wasserman
     */
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/OplockTests.java

                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
                    int options = 0;
                    String uncPath = "foo-oplock";
    
                    SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(sess.getConfig());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. istioctl/pkg/internaldebug/internal-debug_test.go

    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. docs_src/security/tutorial004.py

        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(current_user: User = Depends(get_current_active_user)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. docs_src/security/tutorial004_an_py310.py

    ):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

      }
    
      @Test fun readPaddedHeadersFrame() {
        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
        val headerBlock = literalHeaders(headerEntries("foo", "barrr", "baz", "qux"))
        writeMedium(frame, headerBlock.size.toInt() + paddingLength + 1)
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_END_HEADERS or FLAG_PADDED)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/handling-errors.md

    ```Python hl_lines="11"
    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### レスポンス結果
    
    クライアントが`http://example.com/items/foo`(`item_id` `"foo"`)をリクエストすると、HTTPステータスコードが200で、以下のJSONレスポンスが返されます:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    しかし、クライアントが`http://example.com/items/bar`(存在しない`item_id` `"bar"`)をリクエストした場合、HTTPステータスコード404("not found"エラー)と以下のJSONレスポンスが返されます:
    
    ```JSON
    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

       *
       * // Returns "MyObject{x=1}"
       * MoreObjects.toStringHelper("MyObject")
       *     .add("x", 1)
       *     .toString();
       *
       * // Returns "ClassName{x=1, y=foo}"
       * MoreObjects.toStringHelper(this)
       *     .add("x", 1)
       *     .add("y", "foo")
       *     .toString();
       *
       * // Returns "ClassName{x=1}"
       * MoreObjects.toStringHelper(this)
       *     .omitNullValues()
       *     .add("x", 1)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    ### 3 단계: *경로 작동* 생성
    
    #### 경로
    
    여기서 "경로"는 첫 번째 `/`부터 시작하는 URL의 뒷부분을 의미합니다.
    
    그러므로 아래와 같은 URL에서:
    
    ```
    https://example.com/items/foo
    ```
    
    ...경로는 다음과 같습니다:
    
    ```
    /items/foo
    ```
    
    /// info | "정보"
    
    "경로"는 일반적으로 "엔드포인트" 또는 "라우트"라고도 불립니다.
    
    ///
    
    API를 설계할 때 "경로"는 "관심사"와 "리소스"를 분리하기 위한 주요한 방법입니다.
    
    #### 작동
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top