Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for itor (0.34 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        if (!tensor_list_index.count(i)) {
          updated_types->push_back(std::get<0>(it));
          ++i;
          continue;
        }
        auto iter = tensor_list_map.find(i);
        if (iter != tensor_list_map.end()) {
          int arg_idx = iter->second;
          if (!resized_tensor_list_index.count(arg_idx)) {
            // If the mapped tensorlist argument's size isn't changed, we will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    	if c := in.GetRoute().GetCluster(); model.IsValidSubsetKey(c) {
    		// Parse host and port from cluster name.
    		_, _, h, p := model.ParseSubsetKey(c)
    		return string(h) + ":" + strconv.Itoa(p) + path
    	}
    	return vsName + ":" + strconv.Itoa(port) + path
    }
    
    // BuildDefaultHTTPInboundRoute builds a default inbound route.
    func BuildDefaultHTTPInboundRoute(clusterName string, operation string) *route.Route {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    			},
    			Spec: &networking.Sidecar{
    				Ingress: []*networking.IstioIngressListener{
    					{
    						Port: &networking.SidecarPort{
    							Number:   port,
    							Protocol: "HTTP",
    							Name:     strconv.Itoa(int(port)),
    						},
    						DefaultEndpoint: "127.0.0.1:8080",
    					},
    				},
    			},
    		}
    		return buildListeners(t, TestOptions{
    			Configs: []config.Config{sidecarConfig},
    		}, proxy)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  4. cmd/kubelet/app/server.go

    			if s.KubeReserved != nil {
    				delete(s.KubeReserved, "cpu")
    			}
    			if s.SystemReserved == nil {
    				s.SystemReserved = make(map[string]string)
    			}
    			s.SystemReserved["cpu"] = strconv.Itoa(reservedSystemCPUs.Size())
    			klog.InfoS("After cpu setting is overwritten", "kubeReserved", s.KubeReserved, "systemReserved", s.SystemReserved)
    		}
    
    		kubeReserved, err := parseResourceList(s.KubeReserved)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    		return err
    	}
    
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    	core := &miniogo.Core{Client: c}
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_REPLICATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    	if err != nil {
    		return err
    	}
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	retryAttempts := ri.RetryAttempts
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    				res["free-versions"] = strconv.Itoa(len(fivs.FreeVersions))
    			}
    
    			if sizeS.versions > 0 {
    				res["versions"] = strconv.FormatUint(sizeS.versions, 10)
    			}
    			res["size"] = strconv.FormatInt(sizeS.totalSize, 10)
    			for name, tier := range sizeS.tiers {
    				res["tier-size-"+name] = strconv.FormatUint(tier.TotalSize, 10)
    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  7. src/net/http/fs_test.go

    	contents := []byte("content")
    	ts := newClientServerTest(t, http1Mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Header().Set("Content-Type", "application/octet-stream")
    		w.Header().Set("Content-Length", strconv.Itoa(len(contents)))
    		w.Header().Set("Content-Encoding", "gzip")
    		w.Header().Set("Etag", `"abcdefgh"`)
    		w.Header().Set("Last-Modified", "Wed, 21 Oct 2015 07:28:00 GMT")
    		w.Header().Set("Cache-Control", "immutable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  8. src/net/http/httputil/reverseproxy_test.go

    	const size = 1234
    	rp.BufferPool = bufferPool{
    		get: func() []byte {
    			addLog("getBuf")
    			return make([]byte, size)
    		},
    		put: func(p []byte) {
    			addLog("putBuf-" + strconv.Itoa(len(p)))
    		},
    	}
    	frontend := httptest.NewServer(rp)
    	defer frontend.Close()
    
    	req, _ := http.NewRequest("GET", frontend.URL, nil)
    	req.Close = true
    	res, err := frontend.Client().Do(req)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  9. src/crypto/x509/x509.go

    	return crypto.Hash(0)
    }
    
    func (algo SignatureAlgorithm) String() string {
    	for _, details := range signatureAlgorithmDetails {
    		if details.algo == algo {
    			return details.name
    		}
    	}
    	return strconv.Itoa(int(algo))
    }
    
    type PublicKeyAlgorithm int
    
    const (
    	UnknownPublicKeyAlgorithm PublicKeyAlgorithm = iota
    	RSA
    	DSA // Only supported for parsing.
    	ECDSA
    	Ed25519
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conversion.go

    	vs := &istio.HTTPRoute{}
    	// Auto-name the route. If upstream defines an explicit name, will use it instead
    	// The position within the route is unique
    	vs.Name = obj.Namespace + "." + obj.Name + "." + strconv.Itoa(pos) // format: %s.%s.%d
    
    	for _, match := range r.Matches {
    		uri, err := createURIMatch(match)
    		if err != nil {
    			return nil, err
    		}
    		headers, err := createHeadersMatch(match)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top