Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for pmap (0.03 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. 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)
  4. 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)
  5. 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)
  6. src/runtime/cgo/mmap.go

    import _ "unsafe"
    
    // When using cgo, call the C library for mmap, so that we call into
    // any sanitizer interceptors. This supports using the memory
    // sanitizer with Go programs. The memory sanitizer only applies to
    // C/C++ code; this permits that code to see the Go code as normal
    // program addresses that have been initialized.
    
    // To support interceptors that look for both mmap and munmap,
    // also call the C library for munmap.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/map.go

    package types2
    
    // A Map represents a map type.
    type Map struct {
    	key, elem Type
    }
    
    // NewMap returns a new map for the given key and element types.
    func NewMap(key, elem Type) *Map {
    	return &Map{key: key, elem: elem}
    }
    
    // Key returns the key type of map m.
    func (m *Map) Key() Type { return m.key }
    
    // Elem returns the element type of map m.
    func (m *Map) Elem() Type { return m.elem }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 659 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/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"
    )
    
    // The backing file is never closed, so Data
    // remains valid for the lifetime of the process.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 21:40:49 UTC 2024
    - 1002 bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/util/workloadinstances/map.go

    )
    
    // MultiValueMap represents a map where each key might be associated with
    // multiple values.
    type MultiValueMap map[string]sets.String
    
    // Insert adds given (key, value) pair into the map.
    func (m MultiValueMap) Insert(key, value string) MultiValueMap {
    	sets.InsertOrNew(m, key, value)
    	return m
    }
    
    // Delete removes given (key, value) pair out of the map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 08 02:49:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/runtime/pprof/map.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package pprof
    
    import "unsafe"
    
    // A profMap is a map from (stack, tag) to mapEntry.
    // It grows without bound, but that's assumed to be OK.
    type profMap struct {
    	hash    map[uintptr]*profMapEntry
    	all     *profMapEntry
    	last    *profMapEntry
    	free    []profMapEntry
    	freeStk []uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 21:51:02 UTC 2020
    - 1.9K bytes
    - Viewed (0)
Back to top