Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for blocked (0.39 sec)

  1. src/runtime/proc.go

    		pp, _ = pidleget(0)
    	}
    	var locked bool
    	if pp == nil {
    		globrunqput(gp)
    
    		// Below, we stoplockedm if gp is locked. globrunqput releases
    		// ownership of gp, so we must check if gp is locked prior to
    		// committing the release by unlocking sched.lock, otherwise we
    		// could race with another M transitioning gp from unlocked to
    		// locked.
    		locked = gp.lockedm != 0
    	} else if sched.sysmonwait.Load() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/garbagecollector_test.go

    	time.Sleep(1 * time.Second)
    
    	err = expectSyncNotBlocked(fakeDiscoveryClient, &gc.workerLock)
    	if err != nil {
    		t.Fatalf("Expected garbagecollector.Sync to be running but it is blocked: %v", err)
    	}
    	assertMonitors(t, gc, "pods", "deployments")
    
    	// Simulate the discovery client returning an error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier_test.go

    		},
    		{
    			name:     "blocked external to LB1",
    			sourceIP: testExternalClientBlocked,
    			destIP:   svcLBIP1,
    			destPort: svcPort,
    			output:   "DROP",
    		},
    		{
    			name:     "blocked external to LB2",
    			sourceIP: testExternalClientBlocked,
    			destIP:   svcLBIP2,
    			destPort: svcPort,
    			output:   "DROP",
    		},
    		{
    			name:     "pod to LB1 (blocked by LoadBalancerSourceRanges)",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    			cases[i], cases[j] = cases[j], cases[i]
    			info[i], info[j] = info[j], info[i]
    		}
    
    		if helper != nil {
    			// We wait before kicking off a goroutine to satisfy a blocked select.
    			// The pause needs to be big enough to let the select block before
    			// we run the helper, but if we lose that race once in a while it's okay: the
    			// select will just proceed immediately. Not a big deal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. src/database/sql/sql.go

    	Idle            int // The number of idle connections.
    
    	// Counters
    	WaitCount         int64         // The total number of connections waited for.
    	WaitDuration      time.Duration // The total time blocked waiting for a new connection.
    	MaxIdleClosed     int64         // The total number of connections closed due to SetMaxIdleConns.
    	MaxIdleTimeClosed int64         // The total number of connections closed due to SetConnMaxIdleTime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    		_, err = conn.Write([]byte("POST / HTTP/1.1\r\nConnection: close\r\nHost: foo\r\nContent-Length: 100000\r\n\r\n"))
    		if err != nil {
    			errCh <- err
    			return
    		}
    		// And now just block, making the server block on our
    		// 100000 bytes of body that will never arrive.
    		<-closeConn
    	}()
    	select {
    	case err := <-readErrCh:
    		if err == nil {
    			t.Error("Read was nil. Expected error.")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. src/database/sql/sql_test.go

    		}
    		r.Close()
    		wg.Done()
    	}()
    	// Wait until the goroutine we've just created has started waiting.
    	<-drv.waitingCh
    	// Now close the busy connections. This provides a connection for
    	// the blocked goroutine and then fills up the idle queue.
    	for _, v := range rows {
    		v.Close()
    	}
    	// At this point we give the new connection to DB. This connection is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    			apiPodStatus.Phase = v1.PodPending
    		}
    		apiPodStatus.Reason = runnable.Reason
    		apiPodStatus.Message = runnable.Message
    		// Waiting containers are not creating.
    		const waitingReason = "Blocked"
    		for _, cs := range apiPodStatus.InitContainerStatuses {
    			if cs.State.Waiting != nil {
    				cs.State.Waiting.Reason = waitingReason
    			}
    		}
    		for _, cs := range apiPodStatus.ContainerStatuses {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. src/net/http/server.go

    }
    
    // connReader is the io.Reader wrapper used by *conn. It combines a
    // selectively-activated io.LimitedReader (to bound request header
    // read sizes) with support for selectively keeping an io.Reader.Read
    // call blocked in a background goroutine to wait for activity and
    // trigger a CloseNotifier channel.
    type connReader struct {
    	conn *conn
    
    	mu      sync.Mutex // guards following
    	hasByte bool
    	byteBuf [1]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    //	    calling runtime.SetBlockProfileRate with n.
    //	    See 'go doc runtime.SetBlockProfileRate'.
    //	    The profiler aims to sample, on average, one blocking event every
    //	    n nanoseconds the program spends blocked. By default,
    //	    if -test.blockprofile is set without this flag, all blocking events
    //	    are recorded, equivalent to -test.blockprofilerate=1.
    //
    //	-coverprofile cover.out
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top