Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,862 for 10 (0.01 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.20, R0.10, R0.10, R0.10", // #5
            "U4.10", // #6
            "R0.00, R0.94, R0.81, R0.69, R0.57, R0.44, R0.32", // #7
            "R0.20, R0.10, R0.10, R0.10"); // #7 (cont.), note, this matches #5
      }
    
      public void testBurstyAndUpdate() {
        RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
        rateLimiter.acquire(1); // no wait
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py

            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_q():
        from docs_src.dependency_testing.tutorial001_py310 import client
    
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": "foo", "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (1)
  3. compat/maven-resolver-provider/src/test/resources/repo/ut/simple/parent/maven-metadata.xml

      <groupId>ut.simple</groupId>
      <artifactId>parent</artifactId>
      <versioning>
        <latest>1.0</latest>
        <release>1.0</release>
        <versions>
          <version>1.0</version>
        </versions>
        <lastUpdated>20111123122038</lastUpdated>
      </versioning>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        val source1 = relay.newSource()!!.buffer()
        val source2 = relay.newSource()!!.buffer()
        assertThat(source1.readUtf8(10)).isEqualTo("abcdefghij")
        assertThat(source2.readUtf8(10)).isEqualTo("abcdefghij")
        assertThat(source2.readUtf8(10)).isEqualTo("klmnopqrst")
        assertThat(source1.readUtf8(10)).isEqualTo("klmnopqrst")
        assertThat(source1.exhausted()).isTrue()
        assertThat(source2.exhausted()).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. cni/test/install_k8s_test.go

    			chainedCNIPlugin:       true,
    			preConfFile:            "00-calico.conflist",
    			resultFileName:         "00-calico.conflist",
    			expectedOutputFile:     testDataDir + "/expected/10-calico.conflist-istioconfig",
    			expectedPostCleanFile:  testDataDir + "/pre/calico.conflist",
    			cniConfDirOrderedFiles: []string{"calico.conflist"},
    		},
    		{
    			name:                   "File without pre-plugins--.conf",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 23:59:49 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                create(
                    "a", 2, 'X', "a", 2, 'X', "b", 3, 'X', "b", 2, 'X', "c", 10, 'X', "c", 10, 'X', "c",
                    20, 'X', "d", 15, 'X', "d", 20, 'X', "d", 1, 'X', "e", 5, 'X');
        SortedMap<Integer, Character> row = sortedTable.row("c");
        Set<Entry<Integer, Character>> entrySet = row.entrySet();
        assertTrue(entrySet.contains(immutableEntry(10, 'X')));
        assertTrue(entrySet.contains(immutableEntry(20, 'X')));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
        }
    
        @Test
        public void test_doneAfterResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/authtype_string.go

    	_ = x[authTypePostPolicy-4]
    	_ = x[authTypeStreamingSigned-5]
    	_ = x[authTypeSigned-6]
    	_ = x[authTypeSignedV2-7]
    	_ = x[authTypeJWT-8]
    	_ = x[authTypeSTS-9]
    	_ = x[authTypeStreamingSignedTrailer-10]
    	_ = x[authTypeStreamingUnsignedTrailer-11]
    }
    
    const _authType_name = "UnknownAnonymousPresignedPresignedV2PostPolicyStreamingSignedSignedSignedV2JWTSTSStreamingSignedTrailerStreamingUnsignedTrailer"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/DoubleMathTest.java

        assertThat(DoubleMath.mean(11, -22, 44, -88)).isWithin(1.0e-10).of(-13.75);
        assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0);
      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_longVarargs() {
        assertThat(DoubleMath.mean(11L, -22L, 44L, -88L)).isWithin(1.0e-10).of(-13.75);
        assertThat(DoubleMath.mean(11L)).isWithin(1.0e-10).of(11.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/query-params.md

    ## 默认值
    
    查询参数不是路径的固定内容,它是可选的,还支持默认值。
    
    上例用 `skip=0` 和 `limit=10` 设定默认值。
    
    访问 URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    与访问以下地址相同:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    但如果访问:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    查询参数的值就是:
    
    * `skip=20`:在 URL 中设定的值
    * `limit=10`:使用默认值
    
    ## 可选参数
    
    同理,把默认值设为 `None` 即可声明**可选的**查询参数:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top