Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for LastError (0.11 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformErrorHandler.java

            ClassNotFoundException lastError = getLastErrorAndClear();
            if (lastError != null) {
                throw new ClassNotFoundException(
                    "A pending instrumentation exception prevented loading a class " + className + " in " + classLoaderName, lastError);
            }
        }
    
        /**
         * Call this when an error occurs during class loading.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go

    	maxDurationBeforeRetry = 2*time.Minute + 2*time.Second
    )
    
    // ExponentialBackoff contains the last occurrence of an error and the duration
    // that retries are not permitted.
    type ExponentialBackoff struct {
    	lastError           error
    	lastErrorTime       time.Time
    	durationBeforeRetry time.Duration
    }
    
    // SafeToRetry returns an error if the durationBeforeRetry period for the given
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 19 03:30:46 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/upgrade/health.go

    		if err != nil {
    			klog.V(2).Infof("Could not list Nodes with field selector %q: %v", fieldSelector, err)
    			lastError = err
    			return false, nil
    		}
    		return true, nil
    	})
    	if err != nil {
    		return errors.Wrap(lastError, "could not check if there is at least one Node that can schedule a test Pod")
    	}
    
    	if len(nodes.Items) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/bootstraptoken/node/token.go

    		var lastError error
    		err = wait.PollUntilContextTimeout(
    			context.Background(),
    			kubeadmconstants.KubernetesAPICallRetryInterval,
    			kubeadmapi.GetActiveTimeouts().KubernetesAPICall.Duration,
    			true, func(_ context.Context) (bool, error) {
    				if err := apiclient.CreateOrUpdateSecret(client, updatedOrNewSecret); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. pkg/wasm/httpfetcher.go

    	b := backoff.NewExponentialBackOff(o)
    	var lastError error
    	for attempts < f.requestMaxRetry {
    		attempts++
    		req, err := http.NewRequestWithContext(ctx, http.MethodGet, url, nil)
    		if err != nil {
    			wasmLog.Debugf("wasm module download request failed: %v", err)
    			return nil, err
    		}
    		resp, err := c.Do(req)
    		if err != nil {
    			lastError = err
    			wasmLog.Debugf("wasm module download request failed: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/discovery/file/file.go

    	var clusterinfoCM *v1.ConfigMap
    
    	var lastError error
    	err = wait.PollUntilContextTimeout(context.Background(),
    		constants.DiscoveryRetryInterval, discoveryTimeout,
    		true, func(_ context.Context) (bool, error) {
    			clusterinfoCM, lastError = client.CoreV1().ConfigMaps(metav1.NamespacePublic).Get(context.TODO(), bootstrapapi.ConfigMapClusterInfo, metav1.GetOptions{})
    			if lastError != nil {
    				if apierrors.IsForbidden(lastError) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager.go

    		failureThreshold:     defaultFailureThreshold,
    		bootstrapRetries:     defaultBootstrapRetries,
    		bootstrapGracePeriod: defaultBootstrapGraceperiod,
    	}
    	return &p
    }
    
    func (a *poller) lastError(err error) {
    	a.lock.Lock()
    	defer a.lock.Unlock()
    	a.lastErr = err
    }
    
    func (a *poller) notReady() {
    	a.lock.Lock()
    	defer a.lock.Unlock()
    	a.ready = false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 02:02:38 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  8. cluster/gce/windows/testonly/user-profile.psm1

     
        $script:nativeMethods += [PSCustomObject]@{ Dll = $dll; Signature = $methodSignature; }
    }
    function Get-Win32LastError
    {
        [CmdletBinding()]
        [Alias()]
        [OutputType([int])]
        Param($typeName = 'LastError')
     if (-not ([System.Management.Automation.PSTypeName]$typeName).Type)
        {
        $lasterrorCode = $script:lasterror | ForEach-Object{
            '[DllImport("kernel32.dll", SetLastError = true)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:44:57 UTC 2019
    - 9.4K bytes
    - Viewed (0)
Back to top