Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 139 for Synchronizer (0.23 sec)

  1. src/runtime/race_ppc64le.s

    	RET				//
    racecallatomic_ignore:
    	// Addr is outside the good range.
    	// Call __tsan_go_ignore_sync_begin to ignore synchronization during the atomic op.
    	// An attempt to synchronize on the address would cause crash.
    	MOVD	R8, R15	// save the original function
    	MOVD	R6, R17 // save the original arg list addr
    	MOVD	$__tsan_go_ignore_sync_begin(SB), R8 // func addr to call
    	MOVD    runtimeĀ·tls_g(SB), R10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    			// It's not safe for someone to shrink this stack while we're actively
    			// parking on a channel, but it is safe to grow since we do that
    			// ourselves and explicitly don't want to synchronize with channels
    			// since we could self-deadlock.
    			throw("racy sudog adjustment due to parking on channel")
    		}
    		adjustsudogs(gp, &adjinfo)
    	} else {
    		// sudogs may be pointing in to the stack and gp has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    //
    //go:nosplit
    func spanOfHeap(p uintptr) *mspan {
    	s := spanOf(p)
    	// s is nil if it's never been allocated. Otherwise, we check
    	// its state first because we don't trust this pointer, so we
    	// have to synchronize with span initialization. Then, it's
    	// still possible we picked up a stale span pointer, so we
    	// have to check the span's bounds.
    	if s == nil || s.state.get() != mSpanInUse || p < s.base() || p >= s.limit {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. src/go/token/position.go

    	return f.PositionFor(p, true)
    }
    
    // -----------------------------------------------------------------------------
    // FileSet
    
    // A FileSet represents a set of source files.
    // Methods of file sets are synchronized; multiple goroutines
    // may invoke them concurrently.
    //
    // The byte offsets for each file in a file set are mapped into
    // distinct (integer) intervals, one interval [base, base+size]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

       * {@code ImmutableList.of(list)} returns an {@code ImmutableList<List<String>>} containing one
       * element (the given list itself).
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	//   watchers on our watcher having a processing hiccup
    	chanSize := c.watchCache.suggestedWatchChannelSize(c.indexedTrigger != nil, triggerSupported)
    
    	// Determine the ResourceVersion to which the watch cache must be synchronized
    	requiredResourceVersion, err := c.getWatchCacheResourceVersion(ctx, requestedWatchRV, opts)
    	if err != nil {
    		return newErrWatcher(err), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. src/internal/trace/summary.go

    	return &Summary{
    		Goroutines: s.gs,
    		Tasks:      s.tasks,
    	}
    }
    
    // RelatedGoroutinesV2 finds a set of goroutines related to goroutine goid for v2 traces.
    // The association is based on whether they have synchronized with each other in the Go
    // scheduler (one has unblocked another).
    func RelatedGoroutinesV2(events []Event, goid GoID) map[GoID]struct{} {
    	// Process all the events, looking for transitions of goroutines
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_test.go

    	var wg sync.WaitGroup
    	ready := make(chan bool)
    	wg.Add(1)
    	go func() {
    		data := make([]byte, 1)
    
    		// To narrow the window we have to wait for this
    		// goroutine to block in read, synchronize just before
    		// calling read.
    		ready <- true
    
    		// We use syscall.Read directly to avoid the poller.
    		// This will return when the write side is closed.
    		n, err := syscall.Read(int(rd.Fd()), data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/syscall/zerrors_solaris_amd64.go

    	32:  "broken pipe",
    	33:  "argument out of domain",
    	34:  "result too large",
    	35:  "no message of desired type",
    	36:  "identifier removed",
    	37:  "channel number out of range",
    	38:  "level 2 not synchronized",
    	39:  "level 3 halted",
    	40:  "level 3 reset",
    	41:  "link number out of range",
    	42:  "protocol driver not attached",
    	43:  "no CSI structure available",
    	44:  "level 2 halted",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  10. src/crypto/tls/tls_test.go

    	// See Issue #15899.
    	const bufsize = 32 << 10
    
    	go func() {
    		buf := make([]byte, bufsize)
    		for i := 0; i < N; i++ {
    			sconn, err := ln.Accept()
    			if err != nil {
    				// panic rather than synchronize to avoid benchmark overhead
    				// (cannot call b.Fatal in goroutine)
    				panic(fmt.Errorf("accept: %v", err))
    			}
    			serverConfig := testConfig.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top