Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for HashString (0.33 sec)

  1. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/tasks/GenerateKotlinExtensionsForGradleApi.kt

        outputDir.resolve("$kotlinDslPackagePath/BuiltinPluginIdExtensions.kt").apply {
            parentFile.mkdirs()
        }
    
    
    private
    fun hashTypeSourceName(typeSourceName: String): String =
        Hashing.hashString(typeSourceName).toCompactString()
    
    
    private
    val GradleApiMetadata.apiSpec: (String) -> Boolean
        get() = { sourceName ->
            val relativeSourcePath = relativeSourcePathOf(sourceName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 15:02:26 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/testsupport.go

    	// hash (just in case there are multiple instrumented executables
    	// in play). See issue #57924 for more on this.
    	hashstring := fmt.Sprintf("%x", finalHash)
    	importpaths := make(map[string]struct{})
    	for _, p := range podlist {
    		if !strings.Contains(p.MetaFile, hashstring) {
    			continue
    		}
    		if err := ts.processPod(p, importpaths); err != nil {
    			return err
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/DefaultArtifactMetadataSource.java

            // For empty metadata, we use a hash based on the identifier
            HashCode descriptorHash = Hashing.md5().hashString(moduleComponentIdentifier.toString());
            metadata.getSources().add(new ModuleDescriptorHashModuleSource(descriptorHash, false));
            return metadata;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/BuildScriptTransformerSpec.groovy

        }
    
        private CompiledScript<Script, BuildScriptData> parse(String script) {
            def source = new TextResourceScriptSource(new StringTextResource("test script", script))
            def sourceHashCode = Hashing.hashString(script)
            def target = Mock(ScriptTarget) {
                getClasspathBlockName() >> "buildscript"
            }
            def targetScope = Stub(ClassLoaderScope) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/PrecompiledScriptPlugin.kt

        val compiledScriptTypeName by lazy {
            packagePrefixed(scriptClassNameForFile(scriptFile))
        }
    
        val packageName: String? by lazy {
            packageNameOf(scriptText)
        }
    
        val hashString by lazy {
            PrecompiledScriptDependenciesResolver.hashOfNormalisedString(scriptText)
        }
    
        val scriptText: String
            get() = convertLineSeparatorsToUnix(scriptFile.readText())
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    	return xxh3.HashString(f.TransitionedObject.Tier + f.TransitionedObject.Name)
    }
    
    func (n newerNoncurrentTask) OpHash() uint64 {
    	return xxh3.HashString(n.bucket + n.versions[0].ObjectV.ObjectName)
    }
    
    func (j jentry) OpHash() uint64 {
    	return xxh3.HashString(j.TierName + j.ObjName)
    }
    
    func (e expiryTask) OpHash() uint64 {
    	return xxh3.HashString(e.objInfo.Bucket + e.objInfo.Name)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

          process(readBuffer);
        }
    
        // Finally stick the remainder back in our usual buffer
        buffer.put(readBuffer);
        return this;
      }
    
      /*
       * Note: hashString(CharSequence, Charset) is intentionally not overridden.
       *
       * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    		// differently on each nodes, update skipEnvs()
    		// map if there are such environment values
    		if _, ok := skipEnvs[envK]; ok {
    			continue
    		}
    		envValues[envK] = logger.HashString(env.Get(envK, ""))
    	}
    	scfg := &ServerSystemConfig{NEndpoints: globalEndpoints.NEndpoints(), MinioEnv: envValues}
    	var cmdLines []string
    	for _, ep := range globalEndpoints {
    		cmdLines = append(cmdLines, ep.CmdLine)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt

        fun eval(script: String, target: Any, topLevelScript: Boolean = false) {
            Interpreter(InterpreterHost()).eval(
                target,
                scriptSourceFor(script),
                Hashing.md5().hashString(script),
                mock(),
                targetScope,
                baseScope,
                topLevelScript
            )
        }
    
        override fun close() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/AbstractStreamingHasher.java

          process(readBuffer);
        }
    
        // Finally stick the remainder back in our usual buffer
        buffer.put(readBuffer);
        return this;
      }
    
      /*
       * Note: hashString(CharSequence, Charset) is intentionally not overridden.
       *
       * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
Back to top