Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 551 for ensures (0.06 sec)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     * </ul>
     *
     * @author Colin Decker
     */
    public class ChecksumBenchmark {
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      private byte[] testBytes;
    
      @BeforeExperiment
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ExecutionError.java

       * and https://github.com/jspecify/jspecify/issues/490.
       *
       * (That would also have ensured that its cause was always an Error, rather than possibly another
       * kind of Throwable that was later passed to initCause. Then we could have declared the override
       * `public final Error getCause()`.)
       */
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/packaging/rpm/init.d/fess

            echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
            exit 1
        fi
    }
    
    start() {
        checkJava
        [ -x $exec ] || exit 5
    
        # Ensure that the PID_DIR exists (it is cleaned at OS startup time)
        if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
            mkdir -p "$PID_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$PID_DIR"
        fi
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. tests/test_multi_body_errors.py

            {
                "detail": [
                    {
                        "ctx": {"limit_value": 0.0},
                        "loc": ["body", 0, "age"],
                        "msg": "ensure this value is greater than 0",
                        "type": "value_error.number.not_gt",
                    }
                ]
            }
        )
    
    
    def test_put_incorrect_body_multiple():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. misc/ios/README

    Setting CC is not necessary if the toolchain is built with CC_FOR_TARGET set.
    
    To use the go tool to run individual programs and tests, put $GOROOT/bin into PATH to ensure
    the go_ios_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests:
    
    	export PATH=$GOROOT/bin:$PATH
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 go test archive/tar
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  7. SECURITY.md

    Every effort will be made to handle the bug in as timely a manner as possible, however it's important that we
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

        @Inject
        private RepositorySystem repoSystem;
    
        @Inject
        private LegacySupport legacySupport;
    
        /** @deprecated we want to use the artifact method only, and ensure artifact.file is set correctly. */
        @Deprecated
        public void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. helm/minio/templates/_helper_create_bucket.txt

    # Check if the bucket exists, by using the exit code of `mc ls`
    checkBucketExists() {
    	BUCKET=$1
    	CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1)
    	return $?
    }
    
    # createBucket ($bucket, $policy, $purge)
    # Ensure bucket exists, purging if asked to
    createBucket() {
    	BUCKET=$1
    	POLICY=$2
    	PURGE=$3
    	VERSIONING=$4
    	OBJECTLOCKING=$5
    
    	# Purge the bucket, if set & exists
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/reader.go

    			need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload
    			tokens = need + hdr
    
    		} else { // part of header can be accommodated
    			r.opts.HeaderSize -= b - 1
    			need = 1 // to ensure we read at least one byte for every Read
    			tokens = b
    		}
    	} else { // all tokens go towards payload
    		need = int(math.Min(float64(b), float64(need)))
    		tokens = need
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top