Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 918 for checkEq (0.06 seconds)

  1. cmd/dummy-data-generator_test.go

    		b, _ := io.ReadAll(r)
    		return string(b)
    	}
    	checkEq := func(a, b string) {
    		if a != b {
    			t.Fatalf("Unexpected equality failure")
    		}
    	}
    
    	checkEq(readAll(NewDummyDataGen(0, 0)), "")
    
    	checkEq(readAll(NewDummyDataGen(10, 0)), readAll(NewDummyDataGen(10, int64(len(alphabets)))))
    
    	checkEq(readAll(NewDummyDataGen(100, 0)), readAll(NewDummyDataGen(50, 0))+readAll(NewDummyDataGen(50, 50)))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. internal/hash/checker.go

    )
    
    // Checker allows to verify the checksum of a reader.
    type Checker struct {
    	c io.Closer
    	r io.Reader
    	h hash.Hash
    
    	want []byte
    }
    
    // NewChecker ensures that content with the specified length is read from rc.
    // Calling Close on this will close upstream.
    func NewChecker(rc io.ReadCloser, h hash.Hash, wantSum []byte, length int64) *Checker {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Check.java

    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * The "check" goal implementation.
     */
    @Named("check")
    @Singleton
    public class Check extends AbstractUpgradeGoal {
    
        @Inject
        public Check(StrategyOrchestrator orchestrator) {
            super(orchestrator);
        }
    
        @Override
        protected boolean shouldSaveModifications() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. .github/workflows/check-commits.yml

                  body: output
                })
      # check that only released Gradle versions are used in the wrapper
      check_wrapper:
        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v6
            with:
              fetch-depth: 0
          - name: Check used wrapper
            run: |
              set -eu
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. cmd/object-api-input-checks.go

    import (
    	"context"
    	"encoding/base64"
    	"runtime"
    	"strings"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    )
    
    // Checks on CopyObject arguments, bucket and object.
    func checkCopyObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks on GetObject arguments, bucket and object.
    func checkGetObjArgs(ctx context.Context, bucket, object string) error {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  6. .github/workflows/check-markdown-links.yml

    name: "Check markdown links"
    
    on:
      push:
        branches:
          - master
      pull_request:
      workflow_dispatch:
    
    permissions: {}
    
    jobs:
      check-links:
        permissions:
          contents: read
        runs-on: ubuntu-latest
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Check links
            uses: lycheeverse/lychee-action@v2.7.0
            with:
              # excluded:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 920 bytes
    - Click Count (0)
  7. .github/DISCUSSION_TEMPLATE/translations.yml

            This structured process helps ensure translations can be properly maintained long-term.
      - type: checkboxes
        id: checks
        attributes:
          label: Initial Checks
          description: Please confirm and check all the following options.
          options:
            - label: I checked that this language is not already being translated in FastAPI docs.
              required: true
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jul 26 11:35:42 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         * Indicates whether remote repositories should be re-checked for updated artifacts/metadata regardless of their
         * configured update policy.
         *
         * @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
         *         otherwise.
         */
        boolean isForceUpdate();
    
        /**
         * Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. .github/DISCUSSION_TEMPLATE/questions.yml

              required: true
            - label: I already checked if it is not related to FastAPI but to [Pydantic](https://github.com/pydantic/pydantic).
              required: true
            - label: I already checked if it is not related to FastAPI but to [Swagger UI](https://github.com/swagger-api/swagger-ui).
              required: true
            - label: I already checked if it is not related to FastAPI but to [ReDoc](https://github.com/Redocly/redoc).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
Back to Top