Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for iB (0.03 sec)

  1. test/ken/interbasic.go

    type I0 interface{}
    
    func f() {
    	var ia, ib I0
    	var i myint
    	var s mystring
    
    	if ia != ib {
    		panic("1")
    	}
    
    	i = 1
    	ia = i
    	ib = i
    	if ia != ib {
    		panic("2")
    	}
    	if ia == nil {
    		panic("3")
    	}
    
    	i = 2
    	ia = i
    	if ia == ib {
    		panic("4")
    	}
    
    	ia = nil
    	if ia == ib {
    		panic("5")
    	}
    
    	ib = nil
    	if ia != ib {
    		panic("6")
    	}
    
    	if ia != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.2K bytes
    - Viewed (0)
  2. test/cmp.go

    	istrue(ia != ic)
    	istrue(ia != id)
    	istrue(ib != ic)
    	istrue(ib != id)
    	isfalse(ic != id)
    	isfalse(ie != ie)
    
    	// these are not okay, because there is no comparison on slices or maps.
    	//isfalse(a == ib)
    	//isfalse(a == ic)
    	//isfalse(a == id)
    	//isfalse(b == ic)
    	//isfalse(b == id)
    
    	istrue(c == id)
    	istrue(e == ie)
    
    	//isfalse(ia == b)
    	isfalse(ia == c)
    	isfalse(ia == d)
    	isfalse(ib == c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 26 03:38:21 UTC 2015
    - 7.6K bytes
    - Viewed (0)
  3. test/ken/mfunc.go

    // Test simple multi-argument multi-valued function.
    
    package main
    
    func
    main() {
    	var x,y int;
    
    	x,y = simple(10,20,30);
    	if x+y != 65 { panic(x+y); }
    }
    
    func
    simple(ia,ib,ic int) (oa,ob int) {
    	return ia+5, ib+ic;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 386 bytes
    - Viewed (0)
  4. test/ken/simpfun.go

    // Test simple functions.
    
    package main
    
    func
    main() {
    	var x int;
    
    	x = fun(10,20,30);
    	if x != 60 { panic(x); }
    }
    
    func
    fun(ia,ib,ic int)int {
    	var o int;
    
    	o = ia+ib+ic;
    	if o != 60 { panic(o); }
    	return o;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 380 bytes
    - Viewed (0)
  5. test/float_lit.go

    var bad bool
    
    func pow10(pow int) float64 {
    	if pow < 0 {
    		return 1 / pow10(-pow)
    	}
    	if pow > 0 {
    		return pow10(pow-1) * 10
    	}
    	return 1
    }
    
    func close(da float64, ia, ib int64, pow int) bool {
    	db := float64(ia) / float64(ib)
    	db *= pow10(pow)
    
    	if da == 0 || db == 0 {
    		if da == 0 && db == 0 {
    			return true
    		}
    		return false
    	}
    
    	de := (da - db) / da
    	if de < 0 {
    		de = -de
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 4K bytes
    - Viewed (0)
  6. src/crypto/sha1/sha1block_arm.s

    	ADD	Rdata, Rt0
    	MOVW	Rt0, p_end	// pointer to end of data
    
    	// Load up initial SHA-1 accumulator
    	MOVW	dig+0(FP), Rt0
    	MOVM.IA (Rt0), [Ra,Rb,Rc,Rd,Re]
    
    loop:
    	// Save registers at SP+4 onwards
    	MOVM.IB [Ra,Rb,Rc,Rd,Re], (R13)
    
    	MOVW	$w_buf, Rw
    	MOVW	$0x5A827999, Rconst
    	MOVW	$3, Rctr
    loop1:	ROUND1(Ra, Rb, Rc, Rd, Re)
    	ROUND1(Re, Ra, Rb, Rc, Rd)
    	ROUND1(Rd, Re, Ra, Rb, Rc)
    	ROUND1(Rc, Rd, Re, Ra, Rb)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. test/convT2X.go

    var (
    	iu16  interface{} = u16
    	iu32  interface{} = u32
    	iu64  interface{} = u64
    	iu128 interface{} = u128
    	if32  interface{} = f32
    	if64  interface{} = f64
    	ic128 interface{} = c128
    	is    interface{} = s
    	ib    interface{} = b
    	im    interface{} = m
    	ic    interface{} = c
    	iz    interface{} = z
    	ip    interface{} = p
    	ipp   interface{} = pp
    
    	ju16  J = u16
    	ju32  J = u32
    	ju64  J = u64
    	ju128 J = u128
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 02 23:09:05 UTC 2012
    - 3.3K bytes
    - Viewed (0)
  8. src/regexp/backtrack.go

    func (re *Regexp) backtrack(ib []byte, is string, pos int, ncap int, dstCap []int) []int {
    	startCond := re.cond
    	if startCond == ^syntax.EmptyOp(0) { // impossible
    		return nil
    	}
    	if startCond&syntax.EmptyBeginText != 0 && pos != 0 {
    		// Anchored match, past beginning of text.
    		return nil
    	}
    
    	b := newBitState()
    	i, end := b.inputs.init(nil, ib, is)
    	b.reset(re.prog, end, ncap)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arm.go

    	"PW":  arm.C_WBIT | arm.C_PBIT,
    	"WP":  arm.C_WBIT | arm.C_PBIT,
    	"F":   arm.C_FBIT,
    	"IBW": arm.C_WBIT | arm.C_PBIT | arm.C_UBIT,
    	"IAW": arm.C_WBIT | arm.C_UBIT,
    	"DBW": arm.C_WBIT | arm.C_PBIT,
    	"DAW": arm.C_WBIT,
    	"IB":  arm.C_PBIT | arm.C_UBIT,
    	"IA":  arm.C_UBIT,
    	"DB":  arm.C_PBIT,
    	"DA":  0,
    }
    
    var armJump = map[string]bool{
    	"B":    true,
    	"BL":   true,
    	"BX":   true,
    	"BEQ":  true,
    	"BNE":  true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. src/crypto/tls/testdata/Client-TLSv12-ALPN

    000002c0  db fe 3d 13 60 84 5c 21  d3 3b e9 fa e7 16 03 03  |..=.`.\!.;......|
    000002d0  00 ac 0c 00 00 a8 03 00  1d 20 76 16 ff 2a 83 9a  |......... v..*..|
    000002e0  07 b0 01 f6 1e 3e 4b c1  69 62 9b 00 38 35 c5 4f  |.....>K.ib..85.O|
    000002f0  d3 2c db 50 16 9d 26 b1  cc 28 08 04 00 80 56 73  |.,.P..&..(....Vs|
    00000300  39 4d ab f4 68 92 14 6d  d5 75 db 10 4b 0c a4 19  |9M..h..m.u..K...|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top