Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for duplicates (0.18 sec)

  1. tests/test_dependency_duplicates.py

    ):
        return [item, sub_item]
    
    
    @app.post("/with-duplicates")
    async def with_duplicates(item: Item, item2: Item = Depends(duplicate_dependency)):
        return [item, item2]
    
    
    @app.post("/no-duplicates")
    async def no_duplicates(item: Item, item2: Item = Depends(dependency)):
        return [item, item2]
    
    
    @app.post("/with-duplicates-sub")
    async def no_duplicates_sub(
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    		var res *Checksum
    		for _, header := range trailing {
    			var duplicates bool
    			switch {
    			case strings.EqualFold(header, ChecksumCRC32C.Key()):
    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumCRC32C|ChecksumTrailing, "")
    			case strings.EqualFold(header, ChecksumCRC32.Key()):
    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumCRC32|ChecksumTrailing, "")
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/object-api-options_test.go

    				xhttp.AmzObjectAttributes: []string{"test1,test2"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {},
    			},
    		},
    		{
    			name: "multiple header lines with some duplicates",
    			headers: http.Header{
    				xhttp.AmzObjectAttributes: []string{"test1,test2", "test3,test4", "test4,test3"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {}, "test3": {}, "test4": {},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/authorization/v1/generated.proto

      // The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
      repeated ResourceRule resourceRules = 1;
    
      // NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
      // The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
      repeated NonResourceRule nonResourceRules = 2;
    
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
      repeated ResourceRule resourceRules = 1;
    
      // NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
      // The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
      repeated NonResourceRule nonResourceRules = 2;
    
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/extra-data-types.md

    * `frozenset`:
        * In requests and responses, treated the same as a `set`:
            * In requests, a list will be read, eliminating duplicates and converting it to a `set`.
            * In responses, the `set` will be converted to a `list`.
            * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`).
    * `bytes`:
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Mixed Duplicates",
    			args: args{ports: []string{"1234", "2345", "1234", "2345"}},
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/node/v1/generated.proto

      // be rejected in admission.
      // +optional
      // +mapType=atomic
      map<string, string> nodeSelector = 1;
    
      // tolerations are appended (excluding duplicates) to pods running with this
      // RuntimeClass during admission, effectively unioning the set of nodes
      // tolerated by the pod and the RuntimeClass.
      // +optional
      // +listType=atomic
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/node/v1beta1/generated.proto

      // be rejected in admission.
      // +optional
      // +mapType=atomic
      map<string, string> nodeSelector = 1;
    
      // tolerations are appended (excluding duplicates) to pods running with this
      // RuntimeClass during admission, effectively unioning the set of nodes
      // tolerated by the pod and the RuntimeClass.
      // +optional
      // +listType=atomic
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/node/v1alpha1/generated.proto

      // be rejected in admission.
      // +optional
      // +mapType=atomic
      map<string, string> nodeSelector = 1;
    
      // tolerations are appended (excluding duplicates) to pods running with this
      // RuntimeClass during admission, effectively unioning the set of nodes
      // tolerated by the pod and the RuntimeClass.
      // +optional
      // +listType=atomic
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top