Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for xorData (0.07 sec)

  1. src/vendor/golang.org/x/net/idna/trie13.0.0.go

    	}
    	b = append(b, s...)
    	if c&inlineXOR == inlineXOR {
    		// TODO: support and handle two-byte inline masks
    		b[len(b)-1] ^= byte(index)
    	} else {
    		for p := len(b) - int(xorData[index]); p < len(b); p++ {
    			index++
    			b[p] ^= xorData[index]
    		}
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 872 bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/idna/trie12.0.0.go

    	}
    	b = append(b, s...)
    	if c&inlineXOR == inlineXOR {
    		// TODO: support and handle two-byte inline masks
    		b[len(b)-1] ^= byte(index)
    	} else {
    		for p := len(b) - int(xorData[index]); p < len(b); p++ {
    			index++
    			b[p] ^= xorData[index]
    		}
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 852 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/cases/context.go

    		// TODO: test performance for unrolling this loop. Verify that we have
    		// at least two bytes and at most three.
    		idx := c.info >> xorShift
    		for p := c.pDst - 1; ; p-- {
    			c.dst[p] ^= xorData[idx]
    			idx--
    			if xorData[idx] == 0 {
    				break
    			}
    		}
    	}
    	return true
    }
    
    // hasPrefix returns true if src[pSrc:] starts with the given string.
    func (c *context) hasPrefix(s string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top