- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for refcount (0.16 sec)
-
pkg/proxy/winkernel/proxier_test.go
} } if *epInfo.refCount != 1 { t.Errorf("Incorrect Refcount. Current value: %v", *epInfo.refCount) } if *proxier.endPointsRefCount[endpointGuid1] != *epInfo.refCount { t.Errorf("Global refCount: %v does not match endpoint refCount: %v", *proxier.endPointsRefCount[endpointGuid1], *epInfo.refCount) } } func TestSharedRemoteEndpointUpdate(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 28 14:30:51 UTC 2024 - 30.2K bytes - Viewed (0) -
pkg/controller/util/selectors/bimultimap.go
objects map[Key]*selectingObject refCount int } type labelsKey struct { key string namespace string } type labeledObject struct { key Key labels map[string]string // labelsKey is a stable serialization of labels for association // caching. labelsKey labelsKey } type labeledObjects struct { objects map[Key]*labeledObject refCount int }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 21:41:32 UTC 2023 - 9.6K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier.go
func (ep *endpointInfo) DecrementRefCount() { klog.V(3).InfoS("Decrementing Endpoint RefCount", "endpointInfo", ep) if !ep.IsLocal() && ep.refCount != nil && *ep.refCount > 0 { *ep.refCount-- } } func (ep *endpointInfo) Cleanup() { klog.V(3).InfoS("Endpoint cleanup", "endpointInfo", ep) if !ep.IsLocal() && ep.refCount != nil { *ep.refCount-- // Remove the remote hns endpoint, if no service is referring it
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 59K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager.go
// Thus Add() is only increasing refCount and generation of a given object. // Then Get() is responsible for fetching if needed. s.lock.Lock() defer s.lock.Unlock() item, exists := s.items[key] if !exists { item = &objectStoreItem{ refCount: 0, data: &objectData{}, } s.items[key] = item } item.refCount++ // This will trigger fetch on the next Get() operation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 8.3K bytes - Viewed (0) -
src/internal/poll/fd_wasip1.go
// underlying file descriptor with reference counting. RefCountPtr *int32 // RefCount is the reference count of Sysfd. When a copy of an FD is made, // it points to the reference count of the original FD instance. RefCount int32 // Cache for the file type, lazily initialized when Seek is called. Filetype uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:14:02 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_ops.cc
core::RefCountPtr<Var> variable; const Tensor& value = context->input(1); // Note: every resource-variable-manipulating op assumes copy-on-write // semantics, and creates a copy of the variable's Tensor if its refcount is // bigger than 1 when we try to modify it. This means we never need to copy // the original tensor for AssignVariableOp; even if there are other live // users of it we know none can modify it so this is always safe (even in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/c/eager/graph_function.h
#ifndef TENSORFLOW_C_EAGER_GRAPH_FUNCTION_H_ #define TENSORFLOW_C_EAGER_GRAPH_FUNCTION_H_ #include "tensorflow/c/eager/abstract_function.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/platform/refcount.h" namespace tensorflow { namespace tracing { namespace graph { using tensorflow::AbstractFunction; // Thin wrapper around a FunctionDef. class GraphFunction : public AbstractFunction { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 04 19:49:06 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
#include "tensorflow/core/platform/refcount.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { class FunctionRecord; // A traced function: this hides the complexity of converting the serialized // representation between various supported formats e.g. FunctionDef and Mlir // function. class AbstractFunction : public core::RefCounted { protected: enum AbstractFunctionKind { kGraph, kMlir };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 04 19:49:06 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info.cc
#include <set> #include <utility> #include <vector> #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/refcount.h" #include "tsl/platform/status.h" namespace tensorflow { VariableInfo::VariableInfo( int index, absl::string_view name, Var* var, const std::optional<ManagedStackTrace>& definition_stack_trace)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_compile_util.cc
#include "tensorflow/core/framework/device_base.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/resource_mgr.h" #include "tensorflow/core/lib/core/refcount.h" #include "tensorflow/core/platform/status.h" #include "tsl/platform/errors.h" #include "tsl/platform/statusor.h" namespace tensorflow { using PjRtDeviceCompiler =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3.8K bytes - Viewed (0)