- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 97 for pmap (0.08 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/go/types/map.go
// Source: ../../cmd/compile/internal/types2/map.go // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types // 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} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 781 bytes - Viewed (0) -
pkg/test/framework/config/map.go
package config import ( "fmt" "istio.io/istio/pkg/test/scopes" ) type Map map[string]any func (m Map) Map(key string) Map { nested, ok := m[key] if !ok { return nil } out, ok := nested.(Map) if !ok { return nil } return out } func (m Map) String(key string) string { v, ok := m[key] if !ok || v == nil { return "" } str, ok := v.(string)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.2K bytes - Viewed (0)