Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for Invert (0.14 sec)

  1. src/reflect/value.go

    }
    
    // Convert returns the value v converted to type t.
    // If the usual Go conversion rules do not allow conversion
    // of the value v to type t, or if converting v to type t panics, Convert panics.
    func (v Value) Convert(t Type) Value {
    	if v.flag&flagMethod != 0 {
    		v = makeMethodValue("Convert", v)
    	}
    	op := convertOp(t.common(), v.typ())
    	if op == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		// has recently been restarted.
    		podStatus = pod.Status
    	}
    
    	// TODO: Consolidate the logic here with kuberuntime.GetContainerLogs, here we convert container name to containerID,
    	// but inside kuberuntime we convert container id back to container name and restart count.
    	// TODO: After separate container log lifecycle management, we should get log based on the existing log files
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      TF_ASSIGN_OR_RETURN(Node * if_node, host_graph.AddNode(if_def));
      host_graph.AddEdge(recv_pred_node, 0, if_node, 0);
      host_graph.AddEdge(key_placeholder, 0, if_node, 1);
    
      // Convert `host_graph` to function.
      FunctionDef oc_host_graph_fdef;
      TF_RETURN_IF_ERROR(GraphToFunctionDef(host_graph, host_graph_func_name,
                                            &oc_host_graph_fdef));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers.go

    	ingress := s.Ingress
    	result := sets.NewString()
    	for i := range ingress {
    		if ingress[i].IP != "" {
    			result.Insert(ingress[i].IP)
    		} else if ingress[i].Hostname != "" {
    			result.Insert(ingress[i].Hostname)
    		}
    	}
    
    	r := strings.Join(result.List(), ",")
    	if !wide && len(r) > loadBalancerWidth {
    		r = r[0:(loadBalancerWidth-3)] + "..."
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  5. pkg/config/validation/validation.go

    	validCiphers := sets.New[string]()
    	duplicateCiphers := sets.New[string]()
    	for _, cs := range tls.CipherSuites {
    		if !security.IsValidCipherSuite(cs) {
    			invalidCiphers.Insert(cs)
    		} else if validCiphers.InsertContains(cs) {
    			duplicateCiphers.Insert(cs)
    		}
    	}
    
    	if len(invalidCiphers) > 0 {
    		v = AppendWarningf(v, "ignoring invalid cipher suites: %v", sets.SortedList(invalidCiphers))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation_test.go

    			indexesString: "-1,0",
    			completions:   6,
    			wantTotal:     0,
    			wantError:     errors.New(`cannot convert string to integer for index: ""`),
    		},
    		"invalid due to ending with '-'": {
    			indexesString: "0,1-",
    			completions:   6,
    			wantTotal:     0,
    			wantError:     errors.New(`cannot convert string to integer for index: ""`),
    		},
    		"invalid due to repeated '-'": {
    			indexesString: "0,1--3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  7. pkg/controller/garbagecollector/garbagecollector_test.go

    	expectedActionSet := sets.NewString()
    	expectedActionSet.Insert("GET=/api/v1/namespaces/ns1/replicationcontrollers/owner1")
    	expectedActionSet.Insert("DELETE=/api/v1/namespaces/ns1/pods/ToBeDeletedPod")
    	expectedActionSet.Insert("GET=/api/v1/namespaces/ns1/pods/ToBeDeletedPod")
    
    	actualActionSet := sets.NewString()
    	for _, action := range testHandler.actions {
    		actualActionSet.Insert(action.String())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder_test.go

    			ips := sets.New[string]()
    			ips.Insert(passthrough.GetUpstreamBindConfig().GetSourceAddress().Address)
    			for _, extra := range passthrough.GetUpstreamBindConfig().GetExtraSourceAddresses() {
    				ips.Insert(extra.GetAddress().GetAddress())
    			}
    			want := sets.New[string]()
    			if tt.ipv4Expected {
    				want.Insert("127.0.0.6")
    			}
    			if tt.ipv6Expected {
    				want.Insert("::6")
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__storage.k8s.io__v1alpha1_openapi.json

            "properties": {
              "apiVersion": {
                "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
                "type": "string"
              },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 117.5K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__storagemigration.k8s.io__v1alpha1_openapi.json

            "properties": {
              "apiVersion": {
                "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
                "type": "string"
              },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 133.3K bytes
    - Viewed (0)
Back to top