Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for STRONG (0.15 sec)

  1. src/bytes/bytes_test.go

    				ToValidUTF8(test.input, replacement)
    			}
    		})
    	}
    }
    
    func makeBenchInputHard() []byte {
    	tokens := [...]string{
    		"<a>", "<p>", "<b>", "<strong>",
    		"</a>", "</p>", "</b>", "</strong>",
    		"hello", "world",
    	}
    	x := make([]byte, 0, 1<<20)
    	for {
    		i := rand.Intn(len(tokens))
    		if len(x)+len(tokens[i]) >= 1<<20 {
    			break
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-utils.go

    		// branch
    		fi.Data = inData.find(fi.DataDir)
    	}
    	return fi, nil
    }
    
    // hashDeterministicString will return a deterministic hash for the map values.
    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    	for k, v := range m {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top