Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 258 for timeEnd (0.29 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        val readTimeout = soTimeout
        try {
          soTimeout = 1
          !source.exhausted()
        } finally {
          soTimeout = readTimeout
        }
      } catch (_: SocketTimeoutException) {
        true // Read timed out; socket is good.
      } catch (_: IOException) {
        false // Couldn't read; socket is closed.
      }
    }
    
    internal inline fun threadName(
      name: String,
      block: () -> Unit,
    ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/net/net.go

    	Err         string // description of the error
    	Name        string // name looked for
    	Server      string // server used
    	IsTimeout   bool   // if true, timed out; not all timeouts set this
    	IsTemporary bool   // if true, error is temporary; not all errors set this
    
    	// IsNotFound is set to true when the requested name does not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    		deviceState            operationexecutor.DeviceMountState
    		unmountDeviceCallCount int
    		volumeName             string
    		supportRemount         bool
    	}{
    		{
    			name:                   "timed out operations should result in device marked as uncertain",
    			deviceState:            operationexecutor.DeviceMountUncertain,
    			unmountDeviceCallCount: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  4. pilot/pkg/xds/pushqueue_test.go

    		result <- con
    	}()
    	select {
    	case got := <-result:
    		if got != expected {
    			t.Fatalf("Expected proxy %v, got %v", expected, got)
    		}
    	case <-time.After(time.Millisecond * 500):
    		t.Fatalf("Timed out")
    	}
    }
    
    func TestProxyQueue(t *testing.T) {
    	proxies := make([]*Connection, 0, 100)
    	for p := 0; p < 100; p++ {
    		conn := newConnection("", nil)
    		conn.SetID(fmt.Sprintf("proxy-%d", p))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    	klog.Infof("Starting OpenAPI controller")
    
    	c.staticSpec = staticSpec
    	c.openAPIService = openAPIService
    
    	if !cache.WaitForCacheSync(stopCh, c.crdsSynced) {
    		utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// create initial spec to avoid merging once per CRD on startup
    	crds, err := c.crdLister.List(labels.Everything())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. pkg/registry/flowcontrol/rest/storage_flowcontrol.go

    		ctx, cancel := contextFromChannelAndMaxWaitDuration(hookContext.StopCh, 5*time.Minute)
    		defer cancel()
    
    		if !cache.WaitForCacheSync(ctx.Done(), bce.informersSynced...) {
    			return fmt.Errorf("APF bootstrap ensurer timed out waiting for cache sync")
    		}
    
    		err = wait.PollImmediateUntilWithContext(
    			ctx,
    			time.Second,
    			func(context.Context) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    					}
    					klog.ErrorS(restartErr, "Retrying after error")
    					lastErr = restartErr
    					return false, nil
    				})
    				if err != nil {
    					klog.ErrorS(err, "Unable to restart server: wait timed out", "lastErr", lastErr.Error())
    					panic(err)
    				}
    
    				if ok := m.registerControlFunc(); ok {
    					if err := m.Register(kubeletEndpoint, resourceName, pluginSockDir); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top