Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for item$ (0.06 sec)

  1. tests/test_generate_unique_id_function.py

        @app.post("/", response_model=List[Item], responses={404: {"model": List[Message]}})
        def post_root(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @router.post(
            "/router", response_model=List[Item], responses={404: {"model": List[Message]}}
        )
        def post_router(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        app.include_router(router)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	}
    
    	for _, item := range table {
    		if cmp := item.a.Cmp(item.b); cmp != item.cmp {
    			t.Errorf("%#v: unexpected Cmp: %d", item, cmp)
    		}
    		if cmp := item.b.Cmp(item.a); cmp != -item.cmp {
    			t.Errorf("%#v: unexpected inverted Cmp: %d", item, cmp)
    		}
    	}
    
    	for _, item := range table {
    		a, b := item.a.DeepCopy(), item.b.DeepCopy()
    		a.AsDec()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. tests/test_application.py

                                        "anyOf": [{"type": "string"}, {"type": "null"}],
                                        "title": "Item Id",
                                    }
                                )
                                # TODO: remove when deprecating Pydantic v1
                                | IsDict({"title": "Item Id", "type": "string"}),
                            }
                        ],
                    }
                },
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers_test.go

    	queue int
    }
    
    func (item *WorkChannelItem) Handle() {
    	item.lock.Lock()
    	defer item.lock.Unlock()
    	if item.pause {
    		item.queue++
    		return
    	}
    	item.out <- struct{}{}
    }
    
    func (item *WorkChannelItem) Hold() {
    	item.lock.Lock()
    	defer item.lock.Unlock()
    	item.pause = true
    }
    
    func (item *WorkChannelItem) Close() {
    	item.lock.Lock()
    	defer item.lock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      // |item| is expanded to have the same dimension as input_handle and
      // |index| is expanded to [index, 0, 0, ...] as the indices to input_handle.
      // On a high level, it's doing something like:
      // def : Pat<(TensorListSetItem($input_handle, $index, $item)),
      //           (XlaDynamicUpdateSlice($input_handle, ExpandDims($item, 0),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    	switch kind {
    	case reflect.Map:
    		getValFn = func(item interface{}) interface{} {
    			typedItem, ok := item.(map[string]interface{})
    			if !ok {
    				return nil
    			}
    			val := typedItem[mergeKey]
    			return val
    		}
    	default:
    		getValFn = func(item interface{}) interface{} {
    			return item
    		}
    	}
    
    	for i, v := range l {
    		if getValFn(valToLookUp) == getValFn(v) {
    			return i
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

      tar xzvf $tmp_dir\$filename -C $tmp_dir
      Move-Item -Force $tmp_dir\kubernetes\node\bin\* ${env:NODE_DIR}\
      Move-Item -Force `
          $tmp_dir\kubernetes\LICENSES ${env:LICENSE_DIR}\LICENSES_kubernetes
    
      # Clean up the temporary directory
      Remove-Item -Force -Recurse $tmp_dir
    }
    
    # Downloads the csi-proxy binaries from kube-env's CSI_PROXY_STORAGE_PATH and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            }
    
            def "calling #consumer is safe even if added item provider references the property"(
                Consumer<ProviderInternal<?>> consumer
            ) {
                given:
                def property = property()
                Provider<T> item = property.map { items -> items.iterator().next() }
                property.add(item)
    
                when:
                consumer.accept(property)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            }
    
            def "calling #consumer throws exception if added item provider references the property"(
                Consumer<ProviderInternal<?>> consumer
            ) {
                given:
                def property = property()
                Provider<String> item = property.map { it.toString() }
                property.put("item", item)
    
                when:
                consumer.accept(property)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  10. src/encoding/xml/marshal_test.go

    			`<item1>A</item1>` +
    			`</Items>` +
    			`</result>`,
    	},
    	{
    		Value: &NestedItems{Items: []string{"A", "B"}, Item1: nil},
    		ExpectXML: `<result>` +
    			`<Items>` +
    			`<item>A</item>` +
    			`<item>B</item>` +
    			`</Items>` +
    			`</result>`,
    	},
    	{
    		Value: &NestedItems{Items: []string{"A", "B"}, Item1: []string{"C"}},
    		ExpectXML: `<result>` +
    			`<Items>` +
    			`<item>A</item>` +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
Back to top