Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for equalTo (0.8 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// extensions. Equals max lang (3) + script (4) + max reg (3) + 2 dashes.
    	maxCoreSize = 12
    
    	// max99thPercentileSize is a somewhat arbitrary buffer size that presumably
    	// is large enough to hold at least 99% of the BCP 47 tags.
    	max99thPercentileSize = 32
    
    	// maxSimpleUExtensionSize is the maximum size of a -u extension with one
    	// key-type pair. Equals len("-u-") + key (2) + dash + max value (8).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go

    		// BI fields rename as follows:
    		// less than            : lt BI%4==0 && test == t
    		// less than or equal   : le BI%4==1 && test == f
    		// equal 		: eq BI%4==2 && test == t
    		// greater than or equal: ge BI%4==0 && test == f
    		// greater than		: gt BI%4==1 && test == t
    		// not less than	: nl BI%4==0 && test == f
    		// not equal		: ne BI%4==2 && test == f
    		// not greater than	: ng BI%4==1 && test == f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/trace/pprof.go

    	// it is insufficient for deduplication because trace.Stack
    	// equality is only optimistic. If two trace.Stacks are equal,
    	// then they are guaranteed to be equal in content. If they are
    	// not equal, then they might still be equal in content.
    	stacks map[trace.Stack]*traceviewer.ProfileRecord
    
    	// pcs is the source-of-truth for deduplication. It is a map of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/unify.go

    			xset := xi.typeSet()
    			yset := yi.typeSet()
    			if xset.comparable != yset.comparable {
    				return false
    			}
    			// For now we require terms to be equal.
    			// We should be able to relax this as well, eventually.
    			if !xset.terms.equal(yset.terms) {
    				return false
    			}
    			// Interface types are the only types where cycles can occur
    			// that are not "terminated" via named types; and such cycles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/poset.go

    	return i1 == i2 || po.reaches(i1, i2, false)
    }
    
    // Equal reports whether n1==n2. It returns false either when it is
    // certain that n1==n2 is false, or if there is not enough information
    // to tell.
    // Complexity is O(1).
    func (po *poset) Equal(n1, n2 *Value) bool {
    	if debugPoset {
    		defer po.CheckIntegrity()
    	}
    	if n1.ID == n2.ID {
    		panic("should not call Equal with n1==n2")
    	}
    
    	i1, f1 := po.lookup(n1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader_test.go

    		rsl := sb.Relocs()
    		exp := expRel[k]
    		if !sameRelocSlice(&rsl, exp) {
    			t.Errorf("expected relocs %v, got %v", exp, rsl)
    		}
    	}
    
    	// ... then data.
    	dat := sb2.Data()
    	if !bytes.Equal(dat, d2) {
    		t.Errorf("expected es2 data %v, got %v", d2, dat)
    	}
    
    	// Nameless symbol should still be nameless.
    	es3name := ldr.SymName(es3)
    	if "" != es3name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. src/cmd/internal/test2json/test2json.go

    	if bytes.Equal(trim, emptyName) {
    		line = emptyNameLine
    		trim = line[:len(line)-1]
    	}
    
    	// Final PASS or FAIL.
    	if bytes.Equal(trim, bigPass) || bytes.Equal(trim, bigFail) || bytes.HasPrefix(trim, bigFailErrorPrefix) {
    		c.flushReport(0)
    		c.testName = ""
    		c.needMarker = sawMarker
    		c.output.write(line)
    		if bytes.Equal(trim, bigPass) {
    			c.result = "pass"
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sccp.go

    	constCnt, rewireCnt := t.replaceConst()
    	if f.pass.debug > 0 {
    		if constCnt > 0 || rewireCnt > 0 {
    			fmt.Printf("Phase SCCP for %v : %v constants, %v dce\n", f.Name, constCnt, rewireCnt)
    		}
    	}
    }
    
    func equals(a, b lattice) bool {
    	if a == b {
    		// fast path
    		return true
    	}
    	if a.tag != b.tag {
    		return false
    	}
    	if a.tag == constant {
    		// The same content of const value may be different, we should
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    	b := rb.rune[:]
    	bn := rb.nrune
    	for ; i < bn; i++ {
    		cccB := b[k-1].ccc
    		cccC := b[i].ccc
    		if cccB == 0 {
    			s = k - 1
    		}
    		if s != k-1 && cccB >= cccC {
    			// b[i] is blocked by greater-equal cccX below it
    			b[k] = b[i]
    			k++
    		} else {
    			l := rb.runeAt(s) // also used to compare to hangulBase
    			v := rb.runeAt(i) // also used to compare to jamoT
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. tests/scanner_valuer_test.go

    	}
    
    	if result.ExampleStructPtr.Val != "value2" {
    		t.Errorf(`ExampleStructPtr.Val should equal to "value2", but got %v`, result.ExampleStructPtr.Val)
    	}
    
    	if result.ExampleStruct.Val != "value1" {
    		t.Errorf(`ExampleStruct.Val should equal to "value1", but got %#v`, result.ExampleStruct)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top