Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for HashString (0.09 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt

            secondStageScriptText.length >= 16 * 1024
    
        private
        fun storeStringToResource(secondStageScriptText: String): String {
            val hash = Hashing.hashString(secondStageScriptText)
            val resourcePath = "scripts/$hash.gradle.kts"
            writeResourceFile(resourcePath, secondStageScriptText)
            return resourcePath
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

        assertEquals(
            hashFunction.hashUnencodedChars(string),
            hashFunction.newHasher().putUnencodedChars(string).hash());
        for (Charset charset : CHARSETS) {
          assertEquals(
              hashFunction.hashString(string, charset),
              hashFunction.newHasher().putString(string, charset).hash());
        }
      }
    
      /**
       * This verifies that putUnencodedChars(String) and hashUnencodedChars(String) are equivalent,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    // It should be 50% chance of any host initiating the connection.
    func (c *Connection) shouldConnect() bool {
    	// The remote should have the opposite result.
    	h0 := xxh3.HashString(c.Local + c.Remote)
    	h1 := xxh3.HashString(c.Remote + c.Local)
    	if h0 == h1 {
    		return c.Local < c.Remote
    	}
    	return h0 < h1
    }
    
    func (c *Connection) send(ctx context.Context, msg []byte) error {
    	select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top