Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Ix (0.06 sec)

  1. test/cmp.go

    		istrue(ix == z)
    		istrue(iz == x)
    
    		istrue(ix != iy)
    		istrue(iy != ix)
    		istrue(iy != iz)
    		istrue(iz != iy)
    		isfalse(ix != iz)
    		isfalse(iz != ix)
    
    		istrue(x != iy)
    		istrue(y != ix)
    		istrue(y != iz)
    		istrue(z != iy)
    		isfalse(x != iz)
    		isfalse(z != ix)
    
    		istrue(ix != y)
    		istrue(iy != x)
    		istrue(iy != z)
    		istrue(iz != y)
    		isfalse(ix != z)
    		isfalse(iz != x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 26 03:38:21 UTC 2015
    - 7.6K bytes
    - Viewed (0)
  2. src/math/sqrt.go

    		return x
    	case x < 0:
    		return NaN()
    	}
    	ix := Float64bits(x)
    	// normalize x
    	exp := int((ix >> shift) & mask)
    	if exp == 0 { // subnormal x
    		for ix&(1<<shift) == 0 {
    			ix <<= 1
    			exp--
    		}
    		exp++
    	}
    	exp -= bias // unbias exponent
    	ix &^= mask << shift
    	ix |= 1 << shift
    	if exp&1 == 1 { // odd exp, double x to make it even
    		ix <<= 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 15 17:07:57 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue9537.dir/b.go

    	RetPtr(int)  *int
    	RetRPtr(int) (int, *int)
    }
    
    func main() {
    	x := &a.X{T: [32]byte{1, 2, 3, 4}}
    	var ix Intf = X{x}
    	t1 := ix.Get()
    	t2 := x.Get()
    	if !bytes.Equal(t1, t2) {
    		panic(t1)
    	}
    
    	p1 := ix.RetPtr(5)
    	p2 := x.RetPtr(7)
    	if *p1 != 6 || *p2 != 8 {
    		panic(*p1)
    	}
    
    	r1, r2 := ix.RetRPtr(10)
    	r3, r4 := x.RetRPtr(13)
    	if r1 != 11 || *r2 != 11 || r3 != 14 || *r4 != 14 {
    		panic("bad RetRPtr")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 22 03:25:12 UTC 2015
    - 678 bytes
    - Viewed (0)
  4. test/fixedbugs/issue33062.go

    	int
    	string
    }
    
    type complexStruct struct {
    	int
    	simpleStruct
    }
    
    func main() {
    	x := complexStruct{1, simpleStruct{2, "xxx"}}
    	ix := interface{}(x)
    	y := complexStruct{1, simpleStruct{2, "yyy"}}
    	iy := interface{}(y)
    	if ix != ix {
    		panic("FAIL")
    	}
    	if ix == iy {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 11 22:30:42 UTC 2019
    - 568 bytes
    - Viewed (0)
  5. src/math/trig_reduce.go

    func trigReduce(x float64) (j uint64, z float64) {
    	const PI4 = Pi / 4
    	if x < PI4 {
    		return 0, x
    	}
    	// Extract out the integer and exponent such that,
    	// x = ix * 2 ** exp.
    	ix := Float64bits(x)
    	exp := int(ix>>shift&mask) - bias - shift
    	ix &^= mask << shift
    	ix |= 1 << shift
    	// Use the exponent to extract the 3 appropriate uint64 digits from mPi4,
    	// B ~ (z0, z1, z2), such that the product leading digit has the exponent -61.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. pkg/credentialprovider/plugins.go

    	keyring := &providersDockerKeyring{
    		Providers: make([]DockerConfigProvider, 0),
    	}
    
    	keys := reflect.ValueOf(providers).MapKeys()
    	stringKeys := make([]string, len(keys))
    	for ix := range keys {
    		stringKeys[ix] = keys[ix].String()
    	}
    	sort.Strings(stringKeys)
    
    	for _, key := range stringKeys {
    		provider := providers[key]
    		if provider.Enabled() {
    			klog.V(4).Infof("Registering credential provider: %v", key)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 22:01:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/regexp/onepass_test.go

    		[]uint32{mergeFailed},
    		1, 2,
    	},
    }
    
    func TestMergeRuneSet(t *testing.T) {
    	for ix, test := range runeMergeTests {
    		merged, next := mergeRuneSets(&test.left, &test.right, test.leftPC, test.rightPC)
    		if !slices.Equal(merged, test.merged) {
    			t.Errorf("mergeRuneSet :%d (%v, %v) merged\n have\n%v\nwant\n%v", ix, test.left, test.right, merged, test.merged)
    		}
    		if !slices.Equal(next, test.next) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/math/cmplx/tan.go

    		mask     = 0x7FF
    		shift    = 64 - 11 - 1
    		bias     = 1023
    		fracMask = 1<<shift - 1
    	)
    	// Extract out the integer and exponent such that,
    	// x = ix * 2 ** exp.
    	ix := math.Float64bits(x)
    	exp := int(ix>>shift&mask) - bias - shift
    	ix &= fracMask
    	ix |= 1 << shift
    
    	// mPi is the binary digits of 1/Pi as a uint64 array,
    	// that is, 1/Pi = Sum mPi[i]*2^(-64*i).
    	// 19 64-bit digits give 1216 bits of precision
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/inl.go

    // outermost position for those nodes is line 2.
    func (ctxt *Link) OutermostPos(xpos src.XPos) src.Pos {
    	pos := ctxt.InnermostPos(xpos)
    
    	outerxpos := xpos
    	for ix := pos.Base().InliningIndex(); ix >= 0; {
    		call := ctxt.InlTree.nodes[ix]
    		ix = call.Parent
    		outerxpos = call.Pos
    	}
    	return ctxt.PosTable.Pos(outerxpos)
    }
    
    // InnermostPos returns the innermost position corresponding to xpos,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 22:47:15 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. src/go/types/exprstring.go

    	case *ast.SelectorExpr:
    		WriteExpr(buf, x.X)
    		buf.WriteByte('.')
    		buf.WriteString(x.Sel.Name)
    
    	case *ast.IndexExpr, *ast.IndexListExpr:
    		ix := typeparams.UnpackIndexExpr(x)
    		WriteExpr(buf, ix.X)
    		buf.WriteByte('[')
    		writeExprList(buf, ix.Indices)
    		buf.WriteByte(']')
    
    	case *ast.SliceExpr:
    		WriteExpr(buf, x.X)
    		buf.WriteByte('[')
    		if x.Low != nil {
    			WriteExpr(buf, x.Low)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 19:31:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top