Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 566 for checkPub (0.29 sec)

  1. src/hash/adler32/adler32.go

    	nmax = 5552
    )
    
    // The size of an Adler-32 checksum in bytes.
    const Size = 4
    
    // digest represents the partial evaluation of a checksum.
    // The low 16 bits are s1, the high 16 bits are s2.
    type digest uint32
    
    func (d *digest) Reset() { *d = 1 }
    
    // New returns a new hash.Hash32 computing the Adler-32 checksum. Its
    // Sum method will lay the value out in big-endian byte order. The
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. .github/workflows/build.yml

    jobs:
      publish:
        runs-on: ubuntu-latest
        if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
    
        steps:
          - name: Checkout
            uses: actions/checkout@v4
    
          - name: Configure JDK
            uses: actions/setup-java@v4
            with:
              distribution: 'zulu'
              java-version: 11
    
          - name: Configure JDK
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 01:51:50 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/compress/zlib/reader.go

    		return n, z.err
    	}
    
    	// Finished file; check checksum.
    	if _, err := io.ReadFull(z.r, z.scratch[0:4]); err != nil {
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    		z.err = err
    		return n, z.err
    	}
    	// ZLIB (RFC 1950) is big-endian, unlike GZIP (RFC 1952).
    	checksum := binary.BigEndian.Uint32(z.scratch[:4])
    	if checksum != z.digest.Sum32() {
    		z.err = ErrChecksum
    		return n, z.err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/internal/notsha256/sha256.go

    	"hash"
    )
    
    // The size of a checksum in bytes.
    const Size = 32
    
    // The blocksize in bytes.
    const BlockSize = 64
    
    const (
    	chunk = 64
    	init0 = 0x6A09E667
    	init1 = 0xBB67AE85
    	init2 = 0x3C6EF372
    	init3 = 0xA54FF53A
    	init4 = 0x510E527F
    	init5 = 0x9B05688C
    	init6 = 0x1F83D9AB
    	init7 = 0x5BE0CD19
    )
    
    // digest represents the partial evaluation of a checksum.
    type digest struct {
    	h   [8]uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    import java.util.zip.Adler32;
    import java.util.zip.CRC32;
    import java.util.zip.Checksum;
    
    /**
     * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     * </ul>
     *
     * @author Colin Decker
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 13 16:19:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    	HostIP string
    }
    
    // CheckpointData is a sample example structure to be used in test cases for checkpointing
    type CheckpointData struct {
    	Version  string
    	Name     string
    	Data     *Data
    	Checksum checksum.Checksum
    }
    
    func newFakeCheckpointV1(name string, portMappings []*PortMapping, hostNetwork bool) FakeCheckpoint {
    	return &CheckpointData{
    		Version: "v1",
    		Name:    name,
    		Data: &Data{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/filestore/TwoStageArtifactIdentifierFileStoreTest.groovy

            1 * writeStore.whereIs(key, "checksum") >> { missing }
            1 * readStore.whereIs(key, "checksum") >> { found }
    
            expect:
            twoStageStore.whereIs(key, "checksum") == found
        }
    
        def "whereIs uses file found in write store"() {
            def found = Stub(File) {
                exists() >> true
            }
    
            1 * writeStore.whereIs(key, "checksum") >> { found }
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

             */
            @Nonnull
            String getName();
    
            /**
             * Returns the file extension to be used for given checksum file (without leading dot), never {@code null}. The
             * extension should be file and URL path friendly, and may differ from algorithm name.
             * The checksum extension SHOULD NOT contain dot (".") character.
             * Example: "sha1".
             */
            @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 21 08:05:10 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/antLoadfileWithMethod/groovy/build.gradle

    tasks.register('checksum') {
        doLast {
            fileList('./antLoadfileResources').each { File file ->
                ant.checksum(file: file, property: "cs_$file.name")
                println "$file.name Checksum: ${ant.properties["cs_$file.name"]}"
            }
        }
    }
    
    tasks.register('loadfile') {
        doLast {
            fileList('./antLoadfileResources').each { File file ->
                ant.loadfile(srcFile: file, property: file.name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 599 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/antLoadfileWithMethod/kotlin/build.gradle.kts

    tasks.register("checksum") {
        doLast {
            fileList("./antLoadfileResources").forEach { file ->
                ant.withGroovyBuilder {
                    "checksum"("file" to file, "property" to "cs_${file.name}")
                }
                println("$file.name Checksum: ${ant.properties["cs_${file.name}"]}")
            }
        }
    }
    
    tasks.register("loadfile") {
        doLast {
            fileList("./antLoadfileResources").forEach { file ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 723 bytes
    - Viewed (0)
Back to top