Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 373 for 13 (0.03 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testAsList_subList_toArray_roundTrip() {
        float[] array = {(float) 0, (float) 1, (float) 2, (float) 3};
        List<Float> list = Floats.asList(array);
        assertThat(Floats.toArray(list.subList(1, 3))).isEqualTo(new float[] {(float) 1, (float) 2});
        assertThat(Floats.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      public void testAsList_subList_toArray_roundTrip() {
        int[] array = {(int) 0, (int) 1, (int) 2, (int) 3};
        List<Integer> list = Ints.asList(array);
        assertThat(Ints.toArray(list.subList(1, 3))).isEqualTo(new int[] {(int) 1, (int) 2});
        assertThat(Ints.toArray(list.subList(2, 2))).isEqualTo(new int[] {});
      }
    
      public void testAsListEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertToStringWorks("CharMatcher.anyOf(\"\\u0031\\u0032\\u0033\")", CharMatcher.anyOf("321"));
        assertToStringWorks("CharMatcher.inRange('\\u0031', '\\u0033')", CharMatcher.inRange('1', '3'));
      }
    
      private static void assertToStringWorks(String expected, CharMatcher matcher) {
        assertEquals(expected, matcher.toString());
        assertEquals(expected, matcher.precomputed().toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testAsList_subList_toArray_roundTrip() {
        double[] array = {(double) 0, (double) 1, (double) 2, (double) 3};
        List<Double> list = Doubles.asList(array);
        assertThat(Doubles.toArray(list.subList(1, 3)))
            .isEqualTo(new double[] {(double) 1, (double) 2});
        assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testAsList_subList_toArray_roundTrip() {
        float[] array = {(float) 0, (float) 1, (float) 2, (float) 3};
        List<Float> list = Floats.asList(array);
        assertThat(Floats.toArray(list.subList(1, 3))).isEqualTo(new float[] {(float) 1, (float) 2});
        assertThat(Floats.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/LongsTest.java

      public void testAsList_subList_toArray_roundTrip() {
        long[] array = {(long) 0, (long) 1, (long) 2, (long) 3};
        List<Long> list = Longs.asList(array);
        assertThat(Longs.toArray(list.subList(1, 3))).isEqualTo(new long[] {(long) 1, (long) 2});
        assertThat(Longs.toArray(list.subList(2, 2))).isEqualTo(new long[] {});
      }
    
      public void testAsListEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. cmd/batch-rotate_gen.go

    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BatchKeyRotateFilter) Msgsize() (s int) {
    	s = 1 + 10 + msgp.DurationSize + 10 + msgp.DurationSize + 13 + msgp.TimeSize + 14 + msgp.TimeSize + 5 + msgp.ArrayHeaderSize
    	for za0001 := range z.Tags {
    		s += z.Tags[za0001].Msgsize()
    	}
    	s += 9 + msgp.ArrayHeaderSize
    	for za0002 := range z.Metadata {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.24.md

        - [Source Code](#source-code-13)
        - [Client Binaries](#client-binaries-13)
        - [Server Binaries](#server-binaries-13)
        - [Node Binaries](#node-binaries-13)
        - [Container Images](#container-images-13)
      - [Changelog since v1.24.3](#changelog-since-v1243)
      - [Changes by Kind](#changes-by-kind-13)
        - [Feature](#feature-12)
        - [Bug or Regression](#bug-or-regression-13)
      - [Dependencies](#dependencies-13)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                this.setEndDate(end);
                this.updateView();
            },
    
            keydown: function(e) {
                //hide on tab or enter
                if ((e.keyCode === 9) || (e.keyCode === 13)) {
                    this.hide();
                }
    
                //hide on esc and prevent propagation
                if (e.keyCode === 27) {
                    e.preventDefault();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/bigger-applications.md

    你希望将与用户相关的*路径操作*与其他代码分开,以使其井井有条。
    
    但它仍然是同一 **FastAPI** 应用程序/web API 的一部分(它是同一「Python 包」的一部分)。
    
    你可以使用 `APIRouter` 为该模块创建*路径操作*。
    
    ### 导入 `APIRouter`
    
    你可以导入它并通过与 `FastAPI` 类相同的方式创建一个「实例」:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### 使用 `APIRouter` 的*路径操作*
    
    然后你可以使用它来声明*路径操作*。
    
    使用方式与 `FastAPI` 类相同:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top