Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 56 of 56 for HashString (0.15 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. cmd/admin-handlers.go

    			// We XOR, so order doesn't matter.
    			for _, v := range c.DNSNames {
    				check ^= xxh3.HashString(v)
    			}
    			for _, v := range c.EmailAddresses {
    				check ^= xxh3.HashString(v)
    			}
    			for _, v := range c.IPAddresses {
    				check ^= xxh3.HashString(v.String())
    			}
    			for _, v := range c.URIs {
    				check ^= xxh3.HashString(v.String())
    			}
    			tlsInfo.Certs = append(tlsInfo.Certs, madmin.TLSCert{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. cmd/bucket-replication.go

    // Must be able to grab read lock from p.
    
    func (p *ReplicationPool) getWorkerCh(bucket, object string, sz int64) chan<- ReplicationWorkerOperation {
    	h := xxh3.HashString(bucket + object)
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	if len(p.workers) == 0 {
    		return nil
    	}
    	return p.workers[h%uint64(len(p.workers))]
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation_test.go

    		{
    			name: "valid GitRepo",
    			vol: core.Volume{
    				Name: "git-repo",
    				VolumeSource: core.VolumeSource{
    					GitRepo: &core.GitRepoVolumeSource{
    						Repository: "my-repo",
    						Revision:   "hashstring",
    						Directory:  "target",
    					},
    				},
    			},
    		}, {
    			name: "valid GitRepo in .",
    			vol: core.Volume{
    				Name: "git-repo-dot",
    				VolumeSource: core.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top