Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 274 for pmap (0.04 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. pilot/pkg/networking/core/envoyfilter/monitoring.go

    }
    
    func RecordMetrics() {
    	if !features.EnableEnvoyFilterMetrics {
    		return
    	}
    	envoyFilterMutex.RLock()
    	defer envoyFilterMutex.RUnlock()
    	for name, pmap := range envoyFilterStatusMap {
    		for pt, applied := range pmap {
    			if applied {
    				envoyFilterStatus.With(nameType.Value(name)).With(patchType.Value(pt)).
    					With(resultType.Value(string(Applied))).Record(1)
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.9K 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

        MlrtPromiseType:$promise,
        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++) {
    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/encoding/json/decode_test.go

    	PUint64  *uint64
    	PUintptr *uintptr
    	PFloat32 *float32
    	PFloat64 *float64
    
    	String  string
    	PString *string
    
    	Map   map[string]Small
    	MapP  map[string]*Small
    	PMap  *map[string]Small
    	PMapP *map[string]*Small
    
    	EmptyMap map[string]Small
    	NilMap   map[string]Small
    
    	Slice   []Small
    	SliceP  []*Small
    	PSlice  *[]Small
    	PSliceP *[]*Small
    
    	EmptySlice []Small
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    			}
    		}
    	}()
    
    	// TODO(rsc): All these messages need position information for better error reports.
    	pmap = make(map[string][]string)
    	have := make(map[string]int)
    	dirOK := make(map[string]bool)
    	pid := 0 // pattern ID, to allow reuse of have map
    	for _, pattern = range patterns {
    		pid++
    
    		glob := pattern
    		all := strings.HasPrefix(pattern, "all:")
    		if all {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. src/runtime/map.go

    		top += minTopHash
    	}
    	return top
    }
    
    func evacuated(b *bmap) bool {
    	h := b.tophash[0]
    	return h > emptyOne && h < minTopHash
    }
    
    func (b *bmap) overflow(t *maptype) *bmap {
    	return *(**bmap)(add(unsafe.Pointer(b), uintptr(t.BucketSize)-goarch.PtrSize))
    }
    
    func (b *bmap) setoverflow(t *maptype, ovf *bmap) {
    	*(**bmap)(add(unsafe.Pointer(b), uintptr(t.BucketSize)-goarch.PtrSize)) = ovf
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. src/runtime/mmap.go

    package runtime
    
    import "unsafe"
    
    // mmap calls the mmap system call. It is implemented in assembly.
    // We only pass the lower 32 bits of file offset to the
    // assembly routine; the higher bits (if required), should be provided
    // by the assembly routine as 0.
    // The err result is an OS error code such as ENOMEM.
    func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (p unsafe.Pointer, err int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 844 bytes
    - Viewed (0)
  10. src/cmd/go/internal/mmap/mmap.go

    // license that can be found in the LICENSE file.
    
    // This package is a lightly modified version of the mmap code
    // in github.com/google/codesearch/index.
    
    // The mmap package provides an abstraction for memory mapping files
    // on different platforms.
    package mmap
    
    import (
    	"os"
    )
    
    // Data is mmap'ed read-only data from a file.
    // The backing file is never closed, so Data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 754 bytes
    - Viewed (0)
Back to top