Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,803 for checkEq (0.08 sec)

  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)))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 1.8K bytes
    - Viewed (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() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			if !monitor() {
    				return
    			}
    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *   {@literal @Override} public int hashCode() {...}
     *   ...
     * }
     * </pre>
     *
     * <p>No cascading checks are performed against the return values of methods unless the method is a
     * static factory method. Neither are semantics of mutation methods such as {@code
     * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see
     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (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
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 1.7K bytes
    - Viewed (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.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *   {@literal @Override} public int hashCode() {...}
     *   ...
     * }
     * </pre>
     *
     * <p>No cascading checks are performed against the return values of methods unless the method is a
     * static factory method. Neither are semantics of mutation methods such as {@code
     * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see
     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            throw new UnsupportedOperationException("checkUserLoginable is not supported.");
        }
    
        /**
         * Checks the credential using the provided credential checker.
         * This method is not supported in the Fess implementation.
         *
         * @param checker the credential checker to use
         * @throws UnsupportedOperationException always thrown as this method is not supported
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top