Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 551 for ensures (0.14 sec)

  1. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    		if grpsIs, ok := grpsVal.([]interface{}); ok {
    			grps := []string{}
    			for _, gI := range grpsIs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/bitrot.go

    			return errFileCorrupt
    		}
    
    		left -= read
    		if !bytes.Equal(h.Sum(nil), hashBuf[:n]) {
    			return errFileCorrupt
    		}
    	}
    	return nil
    }
    
    // bitrotSelfTest performs a self-test to ensure that bitrot
    // algorithms compute correct checksums. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // bitrotSelfTest tries to catch any issue in the bitrot implementation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. internal/grid/grid.go

    	case <-w.ctx.Done():
    		return 0, context.Cause(w.ctx)
    	}
    }
    
    // WriterToChannel will return an io.Writer that writes to the given channel.
    // The context both allows returning errors on writes and to ensure that
    // this isn't abandoned if the channel is no longer being read from.
    func WriterToChannel(ctx context.Context, ch chan<- []byte) io.Writer {
    	return &writerWrapper{ch: ch, ctx: ctx}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/bin/mvn

    saveddir=`pwd`
    
    MAVEN_HOME=`dirname "$PRG"`/..
    
    # make it fully qualified
    MAVEN_HOME=`cd "$MAVEN_HOME" && pwd`
    
    cd "$saveddir"
    
    CLASSWORLDS_CONF="$MAVEN_HOME/bin/m2.conf"
    
    # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched
    if $cygwin || $mingw ; then
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
    fi
    
    if [ -n "$JAVA_HOME" ] ; then
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will fail.
          safeMax = -1;
          safeMin = Integer.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/README.md

    Prometheus sets the `Host` header to `domain:port` as part of HTTP operations against the MinIO metrics endpoint. For MinIO deployments behind a load balancer, reverse proxy, or other control plane (HAProxy, nginx, pfsense, opnsense, etc.), ensure the network service supports routing these requests to the deployment.
    
    ### 6. Configure Grafana
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 12 15:49:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	// Proceed to creating a bucket.
    	if err := objectAPI.MakeBucket(ctx, bucket, opts); err != nil {
    		if _, ok := err.(BucketExists); ok {
    			// Though bucket exists locally, we send the site-replication
    			// hook to ensure all sites have this bucket. If the hook
    			// succeeds, the client will still receive a bucket exists
    			// message.
    			globalSiteReplicationSys.MakeBucketHook(ctx, bucket, opts)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

        this.replacements = escaperMap.getReplacementArray();
        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will (almost certainly) fail.
          safeMax = Character.MIN_VALUE;
          safeMin = Character.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top