Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2331 - 2340 of 3,988 for true (0.03 sec)

  1. android/guava/src/com/google/common/primitives/Doubles.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}. Note
       * that this always returns {@code false} when {@code target} is {@code NaN}.
       *
       * @param array an array of {@code double} values, possibly empty
       * @param target a primitive {@code double} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    		disk.Close()
    		return nil, nil, fmt.Errorf("Drive: %s returned %w", disk, err) // make sure to '%w' to wrap the error
    	}
    
    	disk.Close()
    	disk, err = newStorageAPI(endpoint, storageOpts{
    		cleanUp:     true,
    		healthCheck: true,
    	})
    	if err != nil {
    		return nil, nil, err
    	}
    
    	return disk, format, nil
    }
    
    // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

     * and {@link java.util.concurrent.ThreadFactory}.
     *
     * @author Eric Fellheimer
     * @author Kyle Littlefield
     * @author Justin Mahoney
     * @since 3.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class MoreExecutors {
      private MoreExecutors() {}
    
      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		{sr("a", nameSize) + "/a", sr("a", nameSize), "a", true},
    		{sr("a", prefixSize) + "/", "", "", false},
    		{sr("a", prefixSize) + "/a", sr("a", prefixSize), "a", true},
    		{sr("a", nameSize+1), "", "", false},
    		{sr("/", nameSize+1), sr("/", nameSize-1), "/", true},
    		{sr("a", prefixSize) + "/" + sr("b", nameSize),
    			sr("a", prefixSize), sr("b", nameSize), true},
    		{sr("a", prefixSize) + "//" + sr("b", nameSize), "", "", false},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
       * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/openapi-callbacks.md

    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    JSON 请求体包含如下内容:
    
    ```JSON
    {
        "description": "Payment celebration",
        "paid": true
    }
    ```
    
    它会预期*外部 API* 的响应包含如下 JSON 请求体:
    
    ```JSON
    {
        "ok": true
    }
    ```
    
    /// tip | "提示"
    
    注意,回调 URL包含 `callback_url` (`https://www.external.org/events`)中的查询参数,还有 JSON 请求体内部的发票 ID(`2expen51ve`)。
    
    ///
    
    ### 添加回调路由
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/query-params.md

    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    もしくは、
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    もしくは、他の大文字小文字のバリエーション (アッパーケース、最初の文字だけアッパーケース、など)で、関数は `short` パラメータを `True` な `bool` 値として扱います。それ以外は `False` になります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            if (!isInit.get()) {
                synchronized (isInit) {
                    if (!isInit.get()) {
                        init();
                        isInit.set(true);
                    }
                }
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. tests/test_security_oauth2_authorization_code_bearer_description.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        description="OAuth2 Code Bearer",
        auto_error=True,
    )
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

        val rule = MockWebServerRule()
        val called = AtomicBoolean()
        val statement: Statement =
          rule.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                rule.server.url("/").toUrl().openConnection().connect()
              }
            },
            Description.EMPTY,
          )
        statement.evaluate()
        assertThat(called.get()).isTrue()
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top