Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for hashOf (0.14 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt

    
    private
    fun implicitImportsFrom(file: File): List<String> =
        file.takeIf { it.isFile }?.readLines() ?: emptyList()
    
    
    private
    fun hashOf(scriptFile: File) =
        PrecompiledScriptDependenciesResolver.hashOf(scriptFile.readText())
    
    
    private
    fun projectScriptModelBuilder(
        scriptFile: File?,
        project: ProjectInternal
    ) = KotlinScriptTargetModelBuilder(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt

    }
    
    
    private
    fun MethodVisitor.invokeRuntime(function: String, desc: String) {
        INVOKESTATIC(InternalName("org/gradle/kotlin/dsl/accessors/runtime/RuntimeKt"), function, desc)
    }
    
    
    private
    fun hashOf(accessorSpec: TypedAccessorSpec) =
        hashString(accessorSpec.toString()).toCompactString()
    
    
    private
    fun TypeAccessibility.Accessible.internalName() =
        type.value.concreteClass.internalName
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. docs/de/docs/tutorial/security/oauth2-jwt.md

        Und mit allen gleichzeitig kompatibel sein.
    
    Erstellen Sie eine Hilfsfunktion, um ein vom Benutzer stammendes Passwort zu hashen.
    
    Und eine weitere, um zu überprüfen, ob ein empfangenes Passwort mit dem gespeicherten Hash übereinstimmt.
    
    Und noch eine, um einen Benutzer zu authentifizieren und zurückzugeben.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:06 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top