Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for Errorf (0.21 sec)

  1. cmd/erasure-object.go

    //
    //	  errs: errors from reading xl.meta in all disks
    //	   err: reduced errs
    //	bucket: the object name in question
    func shouldCheckForDangling(err error, errs []error, bucket string) bool {
    	// Avoid data in .minio.sys for now
    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    	case errors.Is(err, errErasureReadQuorum):
    		return true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/admin-handlers-users.go

    		func() (DataUsageInfo, error) {
    			ctx, done := context.WithTimeout(context.Background(), 2*time.Second)
    			defer done()
    
    			return loadDataUsageFromBackend(ctx, objectAPI)
    		},
    	)
    
    	dataUsageInfo, _ := bucketStorageCache.Get()
    
    	// If etcd, dns federation configured list buckets from etcd.
    	var err error
    	var buckets []BucketInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    	// Errors that are generated by net.Conn and any context errors must be handled here.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. cmd/sts-handlers_test.go

    		// even if LDAP is enabled.
    		userPolicyMappingsFile: `{
      "foo": {
        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    		// 2. non-LDAP group mapping, we should not error out;
    		groupPolicyMappingsFile: `{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	//
    	// If we see an error at not-declared:xxx, the corresponding name is not declared.
    	// If we see an error at not-type:xxx, the corresponding name is not a type.
    	// If we see an error at not-int-const:xxx, the corresponding name is not an integer constant.
    	// If we see an error at not-num-const:xxx, the corresponding name is not a number constant.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// Filesystems may choose to ignore configuration errors but should at least
      /// display a warning or error message to warn the users.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if options are updated.
      ///   * Might use any other error value for `status` to signal other errors.
      ///
      /// DEFAULT IMPLEMENTATION: return `TF_NOT_FOUND`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  7. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // still succeed if there are no other errors, and will only persist
      // the last of any duplicate fields. This is the default in v1.23+
      // - Strict: This will fail the request with a BadRequest error if
      // any unknown fields would be dropped from the object, or if any
      // duplicate fields are present. The error returned from the server
      // will contain all unknown and duplicate fields encountered.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        if (errors.isEmpty()) {
          assertThat(bodies.remove()).isEqualTo("ABC")
          assertThat(server.requestCount).isEqualTo(2)
        } else {
          // https://github.com/square/okhttp/issues/4836
          // As documented in SocketPolicy, this is known to be flaky.
          val error = errors[0]
          if (error !is StreamResetException) {
            throw error!!
          }
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. configure.py

          contain a complex error message if error_msg does not provide enough
          information. In that case, set suppress_default_error to True.
        error_msg: (String) String with one and only one '%s'. Formatted with each
          invalid response upon check_success(input) failure.
        suppress_default_error: (Bool) Suppress the above error message in favor of
          one from the check_success function.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

          throw new AssertionError();
        }
      }
    
      private static void wrapAndThrowUnchecked(Throwable cause) {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        /*
         * It's an Exception. (Or it's a non-Error, non-Exception Throwable. From my survey of such
         * classes, I believe that most users intended to extend Exception, so we'll treat it like an
         * Exception.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top