Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 145 for timediv (0.2 sec)

  1. internal/dsync/drwmutex.go

    			}
    		}(index, c)
    	}
    
    	// Wait until we have either
    	//
    	// a) received all refresh responses
    	// b) received too many refreshed for quorum to be still possible
    	// c) timed out
    	//
    	lockNotFound, lockRefreshed := 0, 0
    	done := false
    
    	for i := 0; i < len(restClnts); i++ {
    		select {
    		case refreshResult := <-ch:
    			if refreshResult.offline {
    				continue
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

            .socketPolicy(NoResponse)
            .build(),
        )
        val webSocket: WebSocket = newWebSocket()
        clientListener.assertFailure(
          SocketTimeoutException::class.java,
          "timeout",
          "Read timed out",
        )
        assertThat(webSocket.close(1000, null)).isFalse()
      }
    
      /**
       * There's no read timeout when reading the first byte of a new frame. But as soon as we start
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    	if fv.VolName == TimeoutAndFailOnMountDeviceVolumeName {
    		_, ok := fv.DeviceMountState[fv.VolName]
    		if !ok {
    			fv.DeviceMountState[fv.VolName] = deviceMountUncertain
    			return "", volumetypes.NewUncertainProgressError("timed out mounting error")
    		}
    		fv.DeviceMountState[fv.VolName] = deviceNotMounted
    		return "", fmt.Errorf("error mapping disk: %s", fv.VolName)
    	}
    
    	if fv.VolName == SuccessAndTimeoutDeviceName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                    }
                }
                LOGGER.debug("Cancel: daemon is still busy after grace period. Will force stop.");
                stopNow("cancel requested but timed out");
                return DaemonStopState.Forced;
            } finally {
                lock.unlock();
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    	}
    	// check client to make sure receive response.
    	select {
    	case <-graceCh:
    		t.Logf("server shutdown gracefully.")
    	case <-time.After(30 * time.Second):
    		t.Errorf("Timed out waiting for response.")
    	}
    }
    
    func TestWarningWithRequestTimeout(t *testing.T) {
    	type result struct {
    		err        interface{}
    		stackTrace string
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. src/net/http/client.go

    // was an HTTP protocol error. A non-2xx response doesn't cause an
    // error. Any returned error will be of type [*url.Error]. The url.Error
    // value's Timeout method will report true if the request timed out.
    //
    // When err is nil, resp always contains a non-nil resp.Body.
    // Caller should close resp.Body when done reading from it.
    //
    // Get is a wrapper around DefaultClient.Get.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. src/internal/trace/event/go122/event.go

    	},
    	EvExperimentalBatch: event.Spec{
    		Name:    "ExperimentalBatch",
    		Args:    []string{"exp", "gen", "m", "time"},
    		HasData: true, // Easier to represent for raw readers.
    	},
    
    	// "Timed" Events.
    	EvProcsChange: event.Spec{
    		Name:         "ProcsChange",
    		Args:         []string{"dt", "procs_value", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    	},
    	EvProcStart: event.Spec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. src/runtime/netpoll_solaris.go

    		r = 0
    	}
    	if r < 0 {
    		if e != _EINTR && e != _ETIME {
    			print("runtime: port_getn on fd ", portfd, " failed (errno=", e, ")\n")
    			throw("runtime: netpoll failed")
    		}
    		// If a timed sleep was interrupted and there are no events,
    		// just return to recalculate how long we should sleep now.
    		if delay > 0 {
    			return gList{}, 0
    		}
    		goto retry
    	}
    
    	var toRun gList
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. pkg/kube/multicluster/secretcontroller.go

    	// c.ConfigClusterHandler.HasSynced does not work; config cluster is handle specially
    	if !kube.AllSynced(c.configClusterSyncers) {
    		return false
    	}
    	// Check all remote clusters are synced (or timed out)
    	return c.cs.HasSynced()
    }
    
    func (c *Controller) processItem(key types.NamespacedName) error {
    	log.Infof("processing secret event for secret %s", key)
    	scrt := c.secrets.Get(key.Name, key.Namespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/cidrallocator.go

    	// Wait for all involved caches to be synced, before processing items from the queue is started
    	if !cache.WaitForCacheSync(c.internalStopCh, c.serviceCIDRSynced, c.ipAddressSynced) {
    		runtime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// this is single threaded only one serviceCIDR at a time
    	go wait.Until(c.runWorker, time.Second, c.internalStopCh)
    
    	<-c.internalStopCh
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top