Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fpmap (0.1 sec)

  1. src/mime/mediatype.go

    		}
    
    		pmap := params
    		if baseName, _, ok := strings.Cut(key, "*"); ok {
    			if continuation == nil {
    				continuation = make(map[string]map[string]string)
    			}
    			var ok bool
    			if pmap, ok = continuation[baseName]; !ok {
    				continuation[baseName] = make(map[string]string)
    				pmap = continuation[baseName]
    			}
    		}
    		if v, exists := pmap[key]; exists && v != value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. pkg/proxy/util/utils_test.go

    				otherIPFamily = v1.IPv4Protocol
    			}
    
    			ipMap := MapIPsByIPFamily(testcase.ipString)
    
    			var ipStr []string
    			for _, ip := range ipMap[ipFamily] {
    				ipStr = append(ipStr, ip.String())
    			}
    			if !reflect.DeepEqual(testcase.expectCorrect, ipStr) {
    				t.Errorf("Test %v failed: expected %v, got %v", testcase.desc, testcase.expectCorrect, ipMap[ipFamily])
    			}
    			ipStr = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/pod.go

    }
    
    func getPortMap(pod *v1.Pod) map[string]uint32 {
    	pmap := map[string]uint32{}
    	for _, c := range pod.Spec.Containers {
    		for _, port := range c.Ports {
    			if port.Name == "" || port.Protocol != v1.ProtocolTCP {
    				continue
    			}
    			// First port wins, per Kubernetes (https://github.com/kubernetes/kubernetes/issues/54213)
    			if _, f := pmap[port.Name]; !f {
    				pmap[port.Name] = uint32(port.ContainerPort)
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        TF_Tensor:$tensor
      );
    }
    
    def TFMapFnOp : TensorflowMlrt_Op<"tf_map_fn", [AttrSizedOperandSegments, Pure]> {
      let summary = "The Parallel Map for tf_mlrt dialect";
      let description = [{
        The Pmap executes body function in parallel for all ranges up to $max_iterations.
    
        The pseudo code:
          for(int i = 0; i < $max_iterations; i++) {
            body_fn(MlrtFture($tensor_list_or_flow_in[i]),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      }];
    }
    
    def MapFnOp : TensorflowMlrt_Op<"map_fn", [AttrSizedOperandSegments, Pure]> {
      let summary = "The Parallel Map for tf_mlrt dialect";
      let description = [{
        The Pmap executes body function in parallel for all ranges up to $max_iterations.
    
        The pseudo code:
          for(int i = 0; i < $max_iterations; i++) {
            body_fn(MlrtFture($tensor_list_or_flow_in[i]),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    }
    
    // resolveEmbed resolves //go:embed patterns to precise file lists.
    // It sets files to the list of unique files matched (for go list),
    // and it sets pmap to the more precise mapping from
    // patterns to files.
    func resolveEmbed(pkgdir string, patterns []string) (files []string, pmap map[string][]string, err error) {
    	var pattern string
    	defer func() {
    		if err != nil {
    			err = &EmbedError{
    				Pattern: pattern,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. pkg/config/validation/validation.go

    			headerMap[hkey] = hvalueMatch
    		}
    
    		// set QueryParams
    		QPMap := make(map[string]string)
    		for qpkey, qpvalue := range match.QueryParams {
    			qpvalueExact := qpvalue.GetExact()
    			qpvaluePrefix := qpvalue.GetPrefix()
    			qpvalueMatch := assignExactOrPrefix(qpvalueExact, qpvaluePrefix)
    			QPMap[qpkey] = qpvalueMatch
    		}
    
    		// set WithoutHeaders
    		noHeaderMap := make(map[string]string)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top