Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isRTL (0.02 sec)

  1. src/vendor/golang.org/x/text/secure/bidirule/bidirule.go

    	seen   uint16
    }
    
    // A rule can only be violated for "Bidi Domain names", meaning if one of the
    // following categories has been observed.
    func (t *Transformer) isRTL() bool {
    	const isRTL = 1<<bidi.R | 1<<bidi.AL | 1<<bidi.AN
    	return t.seen&isRTL != 0
    }
    
    // Reset implements transform.Transformer.
    func (t *Transformer) Reset() { *t = Transformer{} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !go1.10
    
    package bidirule
    
    func (t *Transformer) isFinal() bool {
    	if !t.isRTL() {
    		return true
    	}
    	return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 358 bytes
    - Viewed (0)
Back to top