Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 154 for blockdev (0.55 sec)

  1. src/cmd/trace/gstate.go

    // and orthogonal to syscallEnd; both must be called if the syscall blocked. This sets up an instant
    // to emit a flow event from, indicating explicitly that this goroutine was unblocked by the system.
    func (gs *gState[R]) blockedSyscallEnd(ts trace.Time, stack trace.Stack, ctx *traceContext) {
    	name := "exit blocked syscall"
    	gs.setStartCause(ts, name, trace.SyscallP, stack)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    		// is safe.
    		if ii.combinesBackward() {
    			cccB := b[k-1].ccc
    			cccC := ii.ccc
    			blocked := false // b[i] blocked by starter or greater or equal CCC?
    			if cccB == 0 {
    				s = k - 1
    			} else {
    				blocked = s != k-1 && cccB >= cccC
    			}
    			if !blocked {
    				combined := combine(rb.runeAt(s), rb.runeAt(i))
    				if combined != 0 {
    					rb.assignRune(s, combined)
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/norm/composition.go

    		// is safe.
    		if ii.combinesBackward() {
    			cccB := b[k-1].ccc
    			cccC := ii.ccc
    			blocked := false // b[i] blocked by starter or greater or equal CCC?
    			if cccB == 0 {
    				s = k - 1
    			} else {
    				blocked = s != k-1 && cccB >= cccC
    			}
    			if !blocked {
    				combined := combine(rb.runeAt(s), rb.runeAt(i))
    				if combined != 0 {
    					rb.assignRune(s, combined)
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	// Check that remote is canceled.
    	<-serverCanceled
    	close(nowBlocking)
    }
    
    // testServerStreamPingRunning will test if server and client handle ping even when blocked.
    func testServerStreamPingRunning(t *testing.T, local, remote *Manager, inCap int, blockResp, blockReq bool) {
    	defer testlogger.T.SetErrorTB(t)()
    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. src/net/net.go

    listed in /etc/resolv.conf, or it can use a cgo-based resolver that calls C
    library routines such as getaddrinfo and getnameinfo.
    
    On Unix the pure Go resolver is preferred over the cgo resolver, because a blocked DNS
    request consumes only a goroutine, while a blocked C call consumes an operating system thread.
    When cgo is available, the cgo-based resolver is used instead under a variety of
    conditions: on systems that do not let programs make direct DNS requests (OS X),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/runtime/netpoll.go

    	pd := pollcache.alloc()
    	lock(&pd.lock)
    	wg := pd.wg.Load()
    	if wg != pdNil && wg != pdReady {
    		throw("runtime: blocked write on free polldesc")
    	}
    	rg := pd.rg.Load()
    	if rg != pdNil && rg != pdReady {
    		throw("runtime: blocked read on free polldesc")
    	}
    	pd.fd = fd
    	if pd.fdseq.Load() == 0 {
    		// The value 0 is special in setEventErr, so don't use it.
    		pd.fdseq.Store(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	// May sure that the watch will not be blocked on Stop.
    	for i := 0; i < maxRetriesToProduceTheRaceCondition; i++ {
    		w = newCacheWatcher(0, filter, forget, storage.APIObjectVersioner{}, time.Now(), false, schema.GroupResource{Resource: "pods"}, "")
    		go w.Stop()
    		select {
    		case <-done:
    		case <-time.After(time.Second):
    			t.Fatal("stop is blocked when the timer is fired concurrently")
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. src/runtime/time.go

    	if !t.isChan || t.blocked == 0 {
    		badTimer()
    	}
    	t.blocked--
    	if t.blocked == 0 && t.state&timerHeaped != 0 && t.state&timerZombie == 0 {
    		// Last goroutine that was blocked on this timer.
    		// Mark for removal from heap but do not clear t.when,
    		// so that we know what time it is still meant to trigger.
    		t.state |= timerZombie
    		t.ts.zombies.Add(1)
    	}
    	t.unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

                    setState(State.Blocking, State.Blocked);
                    waitForState(State.Unblocked, State.Failed);
                } catch (InterruptedException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            }
    
            public void expectUnblocks(Closure action) {
                try {
                    waitForState(State.Blocked);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static final long SMALL_TIMEOUT_MILLIS = 10;
    
      /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */
      private static final long EXPECTED_HANG_DELAY_MILLIS = 75;
    
      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
      private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top