Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 159 for Esterror (0.15 sec)

  1. 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)
  2. cmd/sts-errors.go

    	ErrSTSIAMNotInitialized
    	ErrSTSUpstreamError
    	ErrSTSInternalError
    )
    
    type stsErrorCodeMap map[STSErrorCode]STSError
    
    func (e stsErrorCodeMap) ToSTSErr(errCode STSErrorCode) STSError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		return e[ErrSTSInternalError]
    	}
    	return apiErr
    }
    
    // error code to STSError structure, these fields carry respective
    // descriptions for all the error responses.
    var stsErrCodes = stsErrorCodeMap{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/apiclient/wait.go

    			if err != nil {
    				lastError = formatError(fmt.Sprintf("error: %v", err))
    				return false, err
    			}
    			resp, err := client.Do(req)
    			if err != nil {
    				lastError = formatError(fmt.Sprintf("error: %v", err))
    				return false, nil
    			}
    			defer func() {
    				_ = resp.Body.Close()
    			}()
    			if resp.StatusCode != http.StatusOK {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. 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)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java

            String gradleStderr = result.getError();
            if (!outputs.isEmpty()) {
                gradleStdout = fileContents(outputs.get(0).stdout);
                gradleStderr = fileContents(outputs.get(0).stderr);
            }
            System.out.println(result.getOut());
            System.out.println(gradleStdout);
            System.out.println(gradleStderr);
            System.out.println(result.getError());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testOnSuccessThrowsError() throws Exception {
        class TestError extends Error {}
        TestError error = new TestError();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Nov 15 16:33:21 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprogcgo/deadlock.go

    package main
    
    /*
    char *geterror() {
    	return "cgo error";
    }
    */
    import "C"
    import (
    	"fmt"
    )
    
    func init() {
    	register("CgoPanicDeadlock", CgoPanicDeadlock)
    }
    
    type cgoError struct{}
    
    func (cgoError) Error() string {
    	fmt.Print("") // necessary to trigger the deadlock
    	return C.GoString(C.geterror())
    }
    
    func CgoPanicDeadlock() {
    	panic(cgoError{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 509 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        public static void setError(final int statusCode, final String message) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message)));
        }
    
        public static void setError(final int statusCode, final Exception e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_darwin_amd64.c

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <string.h> /* for strerror */
    #include <pthread.h>
    #include <signal.h>
    #include "libcgo.h"
    #include "libcgo_unix.h"
    
    static void* threadentry(void*);
    static void (*setg_gcc)(void*);
    
    void
    x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase)
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/policy_options_test.go

    			policyOpt, _ := NewStaticPolicyOptions(testCase.policyOption)
    			err := ValidateStaticPolicyOptions(policyOpt, testCase.topology, topoMgrStore)
    			gotError := (err != nil)
    			if gotError != testCase.expectedErr {
    				t.Errorf("testCase %q failed, got %v expected %v", testCase.description, gotError, testCase.expectedErr)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top