Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for hashOf (0.47 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/execution/Interpreter.kt

                val programId = ProgramId(
                    scriptTemplateId,
                    sourceHash,
                    parentClassLoader,
                    host.hashOf(accessorsClassPath),
                    host.hashOf(compileClassPath),
                    host.compilerOptions
                )
    
                val cachedProgram = host.cachedClassFor(programId)
                if (cachedProgram != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. internal/jwt/parser.go

    }
    
    // HashBorrower keeps track of borrowed hashers and allows to return them all.
    type HashBorrower struct {
    	pool     *sync.Pool
    	borrowed []hash.Hash
    }
    
    // Borrow a single hasher.
    func (h *HashBorrower) Borrow() hash.Hash {
    	hasher := h.pool.Get().(hash.Hash)
    	h.borrowed = append(h.borrowed, hasher)
    	hasher.Reset()
    	return hasher
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy

            def hash1 = unfilteredHasher.hash(manifestEntry1)
            def hash2 = unfilteredHasher.hash(manifestEntry2)
            def hash3 = hasher.hash(manifestEntry1)
            def hash4 = hasher.hash(manifestEntry2)
    
            then:
            hash1 != hash2
            hash3 != hash4
    
            and:
            hash1 == hash3
            hash2 == hash4
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasherTest.groovy

            def hash1 = unfilteredHasher.hash(propertiesEntry1)
            def hash2 = unfilteredHasher.hash(propertiesEntry2)
            def hash3 = filteredHasher.hash(propertiesEntry1)
            def hash4 = filteredHasher.hash(propertiesEntry2)
    
            expect:
            hash1 != hash2
            hash2 != hash4
            hash3 != hash4
            hash1 != hash3
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  10. 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)
Back to top