Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for hashOf (0.26 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                    .start(operationDescription, operationDescription)
                return AutoCloseable { operation.completed() }
            }
    
            override fun hashOf(classPath: ClassPath): HashCode =
                classpathHasher.hash(classPath)
    
            override fun applyPluginsTo(scriptHost: KotlinScriptHost<*>, pluginRequests: PluginRequests) {
                pluginRequestsHandler.handle(
                    pluginRequests,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    }
    
    // MakeHasher returns a new Hasher instance.
    func MakeHasher() Hasher {
    	return Hasher{
    		memo:       make(map[types.Type]uint32),
    		ptrMap:     make(map[any]uint32),
    		sigTParams: nil,
    	}
    }
    
    // Hash computes a hash value for the given type t such that
    // Identical(t, t') => Hash(t) == Hash(t').
    func (h Hasher) Hash(t types.Type) uint32 {
    	hash, ok := h.memo[t]
    	if !ok {
    		hash = h.hashFor(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/cmd/internal/goobj/objfile.go

    }
    
    // Hash64 returns the i-th short hashed symbol's hash.
    // Note: here i is the index of short hashed symbols, not all symbols
    // (unlike other accessors).
    func (r *Reader) Hash64(i uint32) uint64 {
    	off := r.h.Offsets[BlkHash64] + uint32(i*Hash64Size)
    	return r.uint64At(off)
    }
    
    // Hash returns a pointer to the i-th hashed symbol's hash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

        }
    
        /**
         * A heuristic to get the same hash for different instances of an exception
         * occurring at the same location.
         */
        private
        fun Failure.hashWithoutMessages(): HashCode {
            val root = this@hashWithoutMessages
            val hasher = Hashing.newHasher()
            for (failure in sequence { visitFailures(root) }) {
                hasher.putString(failure.exceptionType.name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/instantiate.go

    	}
    	if ctxt != nil {
    		ctxts = append(ctxts, ctxt)
    	}
    	assert(len(ctxts) > 0)
    
    	// Compute all hashes; hashes may differ across contexts due to different
    	// unique IDs for Named types within the hasher.
    	hashes := make([]string, len(ctxts))
    	for i, ctxt := range ctxts {
    		hashes[i] = ctxt.instanceHash(orig, targs)
    	}
    
    	// Record the result in all contexts.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/go/types/instantiate.go

    	}
    	if ctxt != nil {
    		ctxts = append(ctxts, ctxt)
    	}
    	assert(len(ctxts) > 0)
    
    	// Compute all hashes; hashes may differ across contexts due to different
    	// unique IDs for Named types within the hasher.
    	hashes := make([]string, len(ctxts))
    	for i, ctxt := range ctxts {
    		hashes[i] = ctxt.instanceHash(orig, targs)
    	}
    
    	// Record the result in all contexts.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top