Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 127 for hashOf (0.23 sec)

  1. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

        }
    
        /**
         * Hash the given {@code hashable} instance with the default hash function.
         */
        public static HashCode hashHashable(Hashable hashable) {
            Hasher hasher = newHasher();
            hasher.put(hashable);
            return hasher.hash();
        }
    
        /**
         * The default hashing function.
         */
        public static HashFunction defaultFunction() {
            return DEFAULT;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    	if contentHashSection(s) != 0 {
    		panic("short hash of non-default-section sym " + s.Name)
    	}
    	var b goobj.Hash64Type
    	copy(b[:], s.P)
    	return b
    }
    
    // Compute the content hash for a content-addressable symbol.
    // We build a content hash based on its content and relocations.
    // Depending on the category of the referenced symbol, we choose
    // different hash algorithms such that the hash is globally
    // consistent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/crypto/rsa/pkcs1v15.go

    			return nil, err
    		}
    		return boring.SignRSAPKCS1v15(bkey, hash, hashed)
    	}
    
    	return decrypt(priv, em, withCheck)
    }
    
    func pkcs1v15ConstructEM(pub *PublicKey, hash crypto.Hash, hashed []byte) ([]byte, error) {
    	// Special case: crypto.Hash(0) is used to indicate that the data is
    	// signed directly.
    	var prefix []byte
    	if hash != 0 {
    		if len(hashed) != hash.Size() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java

                }
            }
            return false;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/crypto/rsa/pss_test.go

    		0x0a, 0x37, 0x9c, 0x69,
    	}
    
    	if err := VerifyPSS(&rsaPrivateKey.PublicKey, hash, hashed, sig, nil); err != nil {
    		t.Error(err)
    	}
    }
    
    func TestPSSNilOpts(t *testing.T) {
    	hash := crypto.SHA256
    	h := hash.New()
    	h.Write([]byte("testing"))
    	hashed := h.Sum(nil)
    
    	SignPSS(rand.Reader, rsaPrivateKey, hash, hashed, nil)
    }
    
    func TestPSSSigning(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

                return this;
            }
            return snapshot;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/EnumValueSnapshot.java

            }
            return false;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            hasher.putString(className);
            hasher.putString(name);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc

    ====
    <1> Apply the `base` plugin so that you'll have a `clean` task to use to remove the output.
    <2> MD5 hash files will be written to `build/md5`.
    <3> This task will generate MD5 hash files for every file in the `src` directory.
    
    You will need some source to generate MD5 hashes from.
    Create three files in the `src` directory:
    
    .src/einstein.txt
    [source,text]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 13:41:08 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileSystemLocationFingerprint.java

        }
    
        @Override
        public final void appendToHasher(Hasher hasher) {
            hasher.putString(getNormalizedPath());
            hasher.putHash(getNormalizedContentHash());
        }
    
        @Override
        public FileType getType() {
            if (normalizedContentHash.equals(DIR_SIGNATURE)) {
                return FileType.Directory;
            } else if (normalizedContentHash.equals(MISSING_FILE_SIGNATURE)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	}
    
    	hashes, err := r.ReadHashes(indexes)
    	if err != nil {
    		return nil, err
    	}
    	if len(hashes) != len(indexes) {
    		return nil, fmt.Errorf("tlog: ReadHashes(%d indexes) = %d hashes", len(indexes), len(hashes))
    	}
    
    	tile := make([]byte, size*HashSize)
    	for i := 0; i < size; i++ {
    		copy(tile[i*HashSize:], hashes[i][:])
    	}
    	return tile, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top