- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for refcount (0.2 sec)
-
plugin/pkg/auth/authorizer/node/intset.go
} // reset removes all ids, effectively setting their refcounts to 0. // it is not thread-safe. func (s *intSet) reset() { for k := range s.members { delete(s.members, k) } } // increment adds one to the refcount of the specified id. // it is not thread-safe. func (s *intSet) increment(i int) { s.members[i]++ } // decrement removes one from the refcount of the specified id,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 10 18:24:13 UTC 2020 - 1.6K 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/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) -
pkg/kubelet/util/manager/manager.go
// in the implementations and effectively treated as refcounted. AddReference(namespace, name string, referencedFrom types.UID) // DeleteReference deletes a reference from referencedFrom to the object from the store. // Note that object should be deleted only when there was a // corresponding Delete call for each of Add calls (effectively // when refcount of every referenceFrom was reduced to zero).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 02:22:52 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
#include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/refcount.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { // Abstract interface to a Tensor handle in either tracing or immediate // execution mode. class AbstractTensorHandle : public core::RefCounted { protected: enum AbstractTensorHandleKind { kGraph, kMlir, kEager, kTfrt, kCustomDevice };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 00:30:36 UTC 2023 - 3K bytes - Viewed (0)