Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 211 for refcount (0.14 sec)

  1. pkg/kubelet/util/manager/watch_based_manager_test.go

    			steps: []step{
    				{"delete", "ns1", "secret1", "pod1"},
    			},
    			expects: []expect{
    				{"ns1", "secret1", "pod1", 0},
    			},
    		},
    		{
    			desc: "deleting more than adding should not lead to negative refcount",
    			steps: []step{
    				{"add", "ns1", "secret1", "pod1"},
    				{"delete", "ns1", "secret1", "pod1"},
    				{"delete", "ns1", "secret1", "pod1"},
    			},
    			expects: []expect{
    				{"ns1", "secret1", "pod1", 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. src/os/exec.go

    		if refs == 0 {
    			// This should never happen because
    			// handleTransientRelease is always paired with
    			// handleTransientAcquire.
    			panic("release of handle with refcount 0")
    		}
    		if refs == 1 && status == statusOK {
    			// Process holds a persistent reference and always sets
    			// a status when releasing that reference
    			// (handlePersistentRelease). Thus something has gone
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_platform_info.h

      // is placed on a regular CPU or GPU device then device_allocator_ is null.
      // The allocator is of unknown provenance; keep it in a shared pointer to
      // set an artificial refcount of one.
      std::shared_ptr<se::DeviceMemoryAllocator> device_allocator_;
    
      XlaPlatformInfo(const XlaPlatformInfo&) = delete;
      void operator=(const XlaPlatformInfo&) = delete;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/variable_info_util.cc

    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/framework/resource_mgr.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/lib/core/errors.h"
    #include "tensorflow/core/lib/core/refcount.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tsl/platform/status.h"
    
    namespace tensorflow {
    
    Status GetVariableInfosFromInputs(ResourceMgr* rm, DeviceBase* dev,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/syscall/ztypes_darwin_arm64.go

    	Pad_cgo_0 [2]byte
    }
    
    type IfmaMsghdr2 struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Refcount  int32
    }
    
    type RtMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Addrs     int32
    	Pid       int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_platform_info_test.cc

    #include "tensorflow/core/framework/device_base.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/platform/status_matchers.h"
    #include "tensorflow/core/platform/statusor.h"
    #include "tensorflow/core/protobuf/error_codes.pb.h"
    #include "tensorflow/core/tfrt/common/create_pjrt_client_util.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    	Flags   int32
    	Index   uint16
    	_       [2]byte
    }
    
    type IfmaMsghdr2 struct {
    	Msglen   uint16
    	Version  uint8
    	Type     uint8
    	Addrs    int32
    	Flags    int32
    	Index    uint16
    	Refcount int32
    }
    
    type RtMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Flags   int32
    	Addrs   int32
    	Pid     int32
    	Seq     int32
    	Errno   int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. pkg/controller/util/selectors/bimultimap_test.go

    			}
    			if k2 == emptyKey {
    				return fmt.Errorf("Found empty key for object in labeledBySelecting under key %+v", k)
    			}
    		}
    		if v.refCount < 1 {
    			return fmt.Errorf("Found labeledBySelecting entry with no references (orphaned) under key %q", k)
    		}
    	}
    	for k, v := range m.selectingByLabeled {
    		if v == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 01:56:36 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    #include "tensorflow/core/framework/resource_handle.h"
    #include "tensorflow/core/framework/resource_mgr.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/tfrt/common/pjrt_util.h"
    
    TF_Device* TF_GetDevice(TF_OpKernelContext* ctx) {
      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. pkg/kubelet/util/manager/cache_based_manager_test.go

    	}
    
    	refs := func(ns, name string) int {
    		store.lock.Lock()
    		defer store.lock.Unlock()
    		item, ok := store.items[objectKey{namespace: ns, name: name}]
    		if !ok {
    			return 0
    		}
    		return item.refCount
    	}
    
    	manager.RegisterPod(podWithSecrets("ns1", "name1", s1))
    	assert.Equal(t, 1, refs("ns1", "s1"))
    	manager.RegisterPod(podWithSecrets("ns1", "name1", s1))
    	assert.Equal(t, 1, refs("ns1", "s1"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top