Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Truth (6.65 sec)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    func (*common) OnBothTandBPtr() {}
    func (common) OnBothTandBVal()  {}
    
    type EmbedSelector struct {
    	Time
    }
    
    const (
    	foo          = "foo"
    	foo2  string = "foo2"
    	truth        = foo == "foo" || foo2 == "foo2"
    )
    
    func ellipsis(...string) {}
    
    func Now() Time {
    	var now Time
    	return now
    }
    
    var x = &S{
    	Public:     nil,
    	private:    nil,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    	}
    }
    
    // #ifdef and #ifndef processing.
    func (in *Input) ifdef(truth bool) {
    	name := in.macroName()
    	in.expectNewline("#if[n]def")
    	if !in.enabled() {
    		truth = false
    	} else if _, defined := in.macros[name]; !defined {
    		truth = !truth
    	}
    	in.ifdefStack = append(in.ifdefStack, truth)
    }
    
    // #else processing
    func (in *Input) else_() {
    	in.expectNewline("#else")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    }
    
    // indexFunc is the same as IndexFunc except that if
    // truth==false, the sense of the predicate function is
    // inverted.
    func indexFunc(s []byte, f func(r rune) bool, truth bool) int {
    	start := 0
    	for start < len(s) {
    		wid := 1
    		r := rune(s[start])
    		if r >= utf8.RuneSelf {
    			r, wid = utf8.DecodeRune(s[start:])
    		}
    		if f(r) == truth {
    			return start
    		}
    		start += wid
    	}
    	return -1
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    <code>cap</code> or <code>len</code> applied to
    <a href="#Length_and_capacity">some expressions</a>,
    <code>real</code> and <code>imag</code> applied to a complex constant
    and <code>complex</code> applied to numeric constants.
    The boolean truth values are represented by the predeclared constants
    <code>true</code> and <code>false</code>. The predeclared identifier
    <a href="#Iota">iota</a> denotes an integer constant.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    <code>cap</code> or <code>len</code> applied to
    <a href="#Length_and_capacity">some expressions</a>,
    <code>real</code> and <code>imag</code> applied to a complex constant
    and <code>complex</code> applied to numeric constants.
    The boolean truth values are represented by the predeclared constants
    <code>true</code> and <code>false</code>. The predeclared identifier
    <a href="#Iota">iota</a> denotes an integer constant.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top