Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Truth (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/erasure-multipart.go

    		if disk == nil {
    			continue
    		}
    		index := index
    		g.Go(func() error {
    			// Ignoring failure to remove parts that weren't present in CompleteMultipartUpload
    			// requests. xl.meta is the authoritative source of truth on which parts constitute
    			// the object. The presence of parts that don't belong in the object doesn't affect correctness.
    			_ = storageDisks[index].Delete(context.TODO(), minioMetaMultipartBucket, curpartPath, DeleteOptions{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top