Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for unwrap (0.19 sec)

  1. cmd/object-api-errors.go

    }
    
    // Unwrap the error.
    func (e InsufficientWriteQuorum) Unwrap() error {
    	return errErasureWriteQuorum
    }
    
    // GenericError - generic object layer error.
    type GenericError struct {
    	Bucket    string
    	Object    string
    	VersionID string
    	Err       error
    }
    
    // Unwrap the error to its underlying error.
    func (e GenericError) Unwrap() error {
    	return e.Err
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            else -> null
        }
    }
    
    /**
     * This logic should be equivalent to
     * [org.jetbrains.kotlin.analysis.api.fir.KtSymbolByFirBuilder.unwrapSubstitutionOverrideIfNeeded]. But this method unwrap all fake
     * overrides that do not change the signature.
     */
    internal fun CallableDescriptor.unwrapFakeOverrideIfNeeded(): CallableDescriptor {
        val useSiteUnwrapped = unwrapUseSiteSubstitutionOverride()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

            }
        }
    
        private fun Fe10AnalysisContext.renderType(type: KotlinType, printer: PrettyPrinter) {
            renderTypeAnnotationsDebug(type, printer)
            when (val unwrappedType = type.unwrap()) {
                is DynamicType -> printer.append("dynamic")
                is FlexibleType -> renderFlexibleType(unwrappedType, printer)
                is DefinitelyNotNullType -> renderDefinitelyNotNullType(unwrappedType, printer)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		},
    		configureReplication,
    	)
    
    	if err := errors.Unwrap(makeBucketConcErr); err != nil {
    		return err
    	}
    
    	if err := errors.Unwrap(makeRemotesConcErr); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // DeleteBucketHook - called during a regular delete bucket call when cluster
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  5. cmd/utils.go

    		return "", fmt.Errorf("id_token not found!")
    	}
    
    	// fmt.Printf("TOKEN: %s\n", rawIDToken)
    	return rawIDToken, nil
    }
    
    // unwrapAll will unwrap the returned error completely.
    func unwrapAll(err error) error {
    	for {
    		werr := errors.Unwrap(err)
    		if werr == nil {
    			return err
    		}
    		err = werr
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

       * that tests equivalence using their lengths:
       *
       * <pre>{@code
       * equiv.wrap("a").equals(equiv.wrap("b")) // true
       * equiv.wrap("a").equals(equiv.wrap("hello")) // false
       * }</pre>
       *
       * <p>Note in particular that an equivalence wrapper is never equal to the object it wraps.
       *
       * <pre>{@code
       * equiv.wrap(obj).equals(obj) // always false
       * }</pre>
       *
       * @since 10.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    func diskHealthReader(ctx context.Context, r io.Reader) io.Reader {
    	// Check if context has a disk health check.
    	tracker, ok := ctx.Value(healthDiskCtxKey{}).(*healthDiskCtxValue)
    	if !ok {
    		// No need to wrap
    		return r
    	}
    	return &diskHealthWrapper{r: r, tracker: tracker}
    }
    
    // diskHealthWriter provides a wrapper that will update disk health on
    // ctx, on every successful write.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    }
    
    func initConfigSubsystem(ctx context.Context, newObject ObjectLayer) error {
    	// %w is used by all error returns here to make sure
    	// we wrap the underlying error, make sure when you
    	// are modifying this code that you do so, if and when
    	// you want to add extra context to your error. This
    	// ensures top level retry works accordingly.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  9. cmd/iam-store.go

    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    // defaultPolicyDoc - used to wrap a default policy as PolicyDoc.
    func defaultPolicyDoc(p policy.Policy) PolicyDoc {
    	return PolicyDoc{
    		Version: 1,
    		Policy:  p,
    	}
    }
    
    func (d *PolicyDoc) update(p policy.Policy) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p>Whether the input {@code iterable} is a {@link Queue} or not, the returned {@code Iterable}
       * is not thread-safe.
       *
       * @param iterable the iterable to wrap
       * @return a view of the supplied iterable that wraps each generated iterator through {@link
       *     Iterators#consumingIterator(Iterator)}; for queues, an iterable that generates iterators
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
Back to top