Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3181 - 3190 of 3,237 for get2 (0.05 sec)

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

        // Make sure it returned a copy
        list.set(0, (float) 4);
        assertThat(newArray).isEqualTo(new float[] {(float) 0, (float) 1, (float) 2});
        newArray[1] = (float) 5;
        assertThat((float) list.get(1)).isEqualTo((float) 1);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        float[] array = {(float) 0, (float) 1, (float) 2, (float) 3};
    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. guava-tests/test/com/google/common/primitives/LongsTest.java

        // Make sure it returned a copy
        list.set(0, (long) 4);
        assertThat(newArray).isEqualTo(new long[] {(long) 0, (long) 1, (long) 2});
        newArray[1] = (long) 5;
        assertThat((long) list.get(1)).isEqualTo((long) 1);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        long[] array = {(long) 0, (long) 1, (long) 2, (long) 3};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. docs/ko/docs/deployment/docker.md

    * 빈 파일 `__init__.py`을 생성합니다.
    * 다음과 같은 `main.py`을 생성합니다:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### 도커파일
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    		if len(tag) != 0 {
    			allEmpty = false
    			break
    		}
    	}
    	if allEmpty {
    		c.PartETags = nil
    	}
    	if len(c.PartActualSizes) == 0 {
    		c.PartActualSizes = nil
    	}
    
    	// Get a 64 bit CRC
    	crc := hashDeterministicString(c.MetaUser)
    	crc ^= hashDeterministicBytes(c.MetaSys)
    
    	// Nil fields.
    	c.MetaSys = nil
    	c.MetaUser = nil
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. docs/zh/docs/tutorial/bigger-applications.md

    ```Python hl_lines="5-10  16  21" title="app/routers/items.py"
    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    由于每个*路径操作*的路径都必须以 `/` 开头,例如:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...前缀不能以 `/` 作为结尾。
    
    因此,本例中的前缀为 `/items`。
    
    我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/storage/v1/generated.proto

      // with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod.
      // A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.
      //
      // For more information about implementing this mode, see
      // https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader_contrib_test.go

    		},
    	}
    
    	for i, c := range cases {
    		t.Run(c.file, func(t *testing.T) {
    			var err error
    			var record sql.Record
    			var result bytes.Buffer
    			input := openTestFile(t, c.file)
    			// Get above block size.
    			input = append(input, input...)
    			args := ReaderArgs{
    				FileHeaderInfo:             use,
    				RecordDelimiter:            c.recordDelimiter,
    				FieldDelimiter:             c.fieldDelimiter,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/TraverserTest.java

                graphMap.containsKey(node) || graphMap.containsValue(node),
                "Node %s is not an element of this graph",
                node);
            return Ordering.natural().immutableSortedCopy(graphMap.get(node));
          }
        };
      }
    
      private static ImmutableGraph<Character> createSingleRootGraph() {
        MutableGraph<Character> graph = GraphBuilder.directed().build();
        graph.addNode('a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // helper for toImmutableSortedMultiset
      /*
       * If we make these calls inline inside toImmutableSortedMultiset, we get an Animal Sniffer error,
       * despite the @IgnoreJRERequirement annotation there. My assumption is that, because javac
       * generates a synthetic method for the body of the lambda, the actual method calls that Animal
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TraverserTest.java

                graphMap.containsKey(node) || graphMap.containsValue(node),
                "Node %s is not an element of this graph",
                node);
            return Ordering.natural().immutableSortedCopy(graphMap.get(node));
          }
        };
      }
    
      private static ImmutableGraph<Character> createSingleRootGraph() {
        MutableGraph<Character> graph = GraphBuilder.directed().build();
        graph.addNode('a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top