Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 842 for held (0.08 sec)

  1. src/runtime/stack.go

    func stacklog2(n uintptr) int {
    	log2 := 0
    	for n > 1 {
    		n >>= 1
    		log2++
    	}
    	return log2
    }
    
    // Allocates a stack from the free pool. Must be called with
    // stackpool[order].item.mu held.
    func stackpoolalloc(order uint8) gclinkptr {
    	list := &stackpool[order].item.span
    	s := list.first
    	lockWithRankMayAcquire(&mheap_.lock, lockRankMheap)
    	if s == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. src/runtime/debug/garbage.go

    // external to Go, such as memory managed by the underlying system
    // on behalf of the process, or memory managed by non-Go code inside
    // the same process. Examples of excluded memory sources include: OS
    // kernel memory held on behalf of the process, memory allocated by
    // C code, and memory mapped by syscall.Mmap (because it is not
    // managed by the Go runtime).
    //
    // More specifically, the following expression accurately reflects
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		c.versioner,
    		deadline,
    		pred.AllowWatchBookmarks,
    		c.groupResource,
    		identifier,
    	)
    
    	// note that c.waitUntilWatchCacheFreshAndForceAllEvents must be called without
    	// the c.watchCache.RLock held otherwise we are at risk of a deadlock
    	// mainly because c.watchCache.processEvent method won't be able to make progress
    	//
    	// moreover even though the c.waitUntilWatchCacheFreshAndForceAllEvents acquires a lock
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. src/encoding/gob/type.go

    	if typ.Kind() == reflect.Chan || typ.Kind() == reflect.Func {
    		return false
    	}
    
    	return true
    }
    
    // getBaseType returns the Gob type describing the given reflect.Type's base type.
    // typeLock must be held.
    func getBaseType(name string, rt reflect.Type) (gobType, error) {
    	ut := userType(rt)
    	return getType(name, ut, ut.base)
    }
    
    // getType returns the Gob type describing the given reflect.Type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	fn        func()  // can be nil for open-coded defers
    	link      *_defer // next defer on G; can point to either heap or stack!
    
    	// If rangefunc is true, *head is the head of the atomic linked list
    	// during a range-over-func execution.
    	head *atomic.Pointer[_defer]
    }
    
    // A _panic holds information about an active panic.
    //
    // A _panic value must only ever live on the stack.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/runtime/preempt.go

    //
    // 2. gp has enough stack space to inject the asyncPreempt call.
    //
    // 3. It's generally safe to interact with the runtime, even if we're
    // in a signal handler stopped here. For example, there are no runtime
    // locks held, so acquiring a runtime lock won't self-deadlock.
    //
    // In some cases the PC is safe for asynchronous preemption but it
    // also needs to adjust the resumption PC. The new PC is returned in
    // the second result.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. internal/grid/muxclient.go

    	defer m.respMu.Unlock()
    	if m.closed {
    		return errors.New("mux client closed")
    	}
    	return m.sendLocked(msg)
    }
    
    // sendLocked the message. msg.Seq and msg.MuxID will be set.
    // m.respMu must be held.
    func (m *muxClient) sendLocked(msg message) error {
    	dst := GetByteBufferCap(msg.Msgsize())
    	msg.Seq = m.SendSeq
    	msg.MuxID = m.MuxID
    	msg.Flags |= m.BaseFlags
    	if debugPrint {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/internal/reflectlite/value.go

    	return 0
    }
    
    func (v Value) typ() *abi.Type {
    	// Types are either static (for compiler-created types) or
    	// heap-allocated but always reachable (for reflection-created
    	// types, held in the central map). So there is no need to
    	// escape types. noescape here help avoid unnecessary escape
    	// of v.
    	return (*abi.Type)(abi.NoEscape(unsafe.Pointer(v.typ_)))
    }
    
    // pointer returns the underlying pointer represented by v.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

                                           OpBuilder builder, Location loc) {
      return builder.create<TF::ConstOp>(loc, tensor_elements);
    }
    
    // Returns ElementsAttr which has the value held by 'resource_tensor'.
    ElementsAttr GetTensorValueAsElementsAttr(
        TF::VarHandleOp var_handle_op, const tensorflow::Tensor& resource_tensor,
        const tensorflow::DeviceMgr* mgr, OpBuilder builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. src/runtime/sema.go

    			// It would take O(N) time to calculate how long each goroutine
    			// has been waiting, so instead we charge avg(head-wait, tail-wait)*N.
    			// head-wait is the longest wait and tail-wait is the shortest.
    			// (When we do a lifo insertion, we preserve this property by
    			// copying the old head's acquiretime into the inserted new head.
    			// In that case the overall average may be slightly high, but that's fine:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top