Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Hb (0.06 sec)

  1. test/ken/slicearray.go

    	tstf()
    	fy = fx[2:8]
    	tstf()
    }
    
    func tstb() {
    	t++
    	if len(by) != hb-lb {
    		println("t=", t, "lb=", lb, "hb=", hb,
    			"len=", len(by), "hb-lb=", hb-lb)
    		panic("fail")
    	}
    	if cap(by) != len(bx)-lb {
    		println("t=", t, "lb=", lb, "hb=", hb,
    			"cap=", cap(by), "len(bx)-lb=", len(bx)-lb)
    		panic("fail")
    	}
    	for i := lb; i < hb; i++ {
    		if bx[i] != by[i-lb] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Dec 05 12:50:44 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  2. test/ken/sliceslice.go

    		println("t=", t, "lb=", lb, "hb=", hb,
    			"len=", len(by), "hb-lb=", hb-lb)
    		panic("fail")
    	}
    	if cap(by) != len(bx)-lb {
    		println("t=", t, "lb=", lb, "hb=", hb,
    			"cap=", cap(by), "len(bx)-lb=", len(bx)-lb)
    		panic("fail")
    	}
    	for i := lb; i < hb; i++ {
    		if bx[i] != by[i-lb] {
    			println("t=", t, "lb=", lb, "hb=", hb,
    				"bx[", i, "]=", bx[i],
    				"by[", i-lb, "]=", by[i-lb])
    			panic("fail")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.7K bytes
    - Viewed (0)
  3. test/ken/array.go

    	t := 0
    	for i := 0; i < len(a); i++ {
    		t += a[i]
    	}
    	//	print("sumpf t=", t, "\n");
    	return t
    }
    
    func res(t int, lb, hb int) {
    	sb := (hb - lb) * (hb + lb - 1) / 2
    	if t != sb {
    		print("lb=", lb,
    			"; hb=", hb,
    			"; t=", t,
    			"; sb=", sb,
    			"\n")
    		panic("res")
    	}
    }
    
    // call ptr dynamic with ptr dynamic
    func testpdpd() {
    	a := make([]int, 10, 100)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.3K bytes
    - Viewed (0)
  4. src/mime/quotedprintable/reader.go

    }
    
    func readHexByte(v []byte) (b byte, err error) {
    	if len(v) < 2 {
    		return 0, io.ErrUnexpectedEOF
    	}
    	var hb, lb byte
    	if hb, err = fromHex(v[0]); err != nil {
    		return 0, err
    	}
    	if lb, err = fromHex(v[1]); err != nil {
    		return 0, err
    	}
    	return hb<<4 | lb, nil
    }
    
    func isQPDiscardWhitespace(r rune) bool {
    	switch r {
    	case '\n', '\r', ' ', '\t':
    		return true
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 27 17:00:08 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  5. src/go/doc/comment/old_test.go

    	{"http://golang.org/)", "http://golang.org/"},
    	{"http://golang.org/hello())", "http://golang.org/hello()"},
    	{"http://git.qemu.org/?p=qemu.git;a=blob;f=qapi-schema.json;hb=HEAD", "http://git.qemu.org/?p=qemu.git;a=blob;f=qapi-schema.json;hb=HEAD"},
    	{"https://foo.bar/bal/x(])", "https://foo.bar/bal/x"}, // inner ] causes (]) to be cut off from URL
    	{"http://bar(])", "http://bar"},                       // same
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:36 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

            succeeds()
        }
    
        @Issue("https://github.com/gradle/gradle/issues/2891")
        def "can apply script with URI containing a query string"() {
            when:
            def queryString = 'p=foo;a=blob_plain;f=bar;hb=foo/bar/foo'
            def script = file('external.gradle')
            server.expectGetWithQueryString('/external.gradle', queryString, script)
    
            script << """
                task doStuff
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. src/mime/encodedword.go

    }
    
    // readHexByte returns the byte from its quoted-printable representation.
    func readHexByte(a, b byte) (byte, error) {
    	var hb, lb byte
    	var err error
    	if hb, err = fromHex(a); err != nil {
    		return 0, err
    	}
    	if lb, err = fromHex(b); err != nil {
    		return 0, err
    	}
    	return hb<<4 | lb, nil
    }
    
    func fromHex(b byte) (byte, error) {
    	switch {
    	case b >= '0' && b <= '9':
    		return b - '0', nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/compress/flate/deflate.go

    func bulkHash4(b []byte, dst []uint32) {
    	if len(b) < minMatchLength {
    		return
    	}
    	hb := uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24
    	dst[0] = (hb * hashmul) >> (32 - hashBits)
    	end := len(b) - minMatchLength + 1
    	for i := 1; i < end; i++ {
    		hb = (hb << 8) | uint32(b[i+3])
    		dst[i] = (hb * hashmul) >> (32 - hashBits)
    	}
    }
    
    // matchLen returns the number of matching bytes in a and b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/range.go

    		hv1.SetTypecheck(1)
    		if t.Elem().HasPointers() {
    			init = append(init, ir.NewAssignStmt(base.Pos, hv1, nil))
    		}
    		hb := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TBOOL])
    
    		nfor.Cond = ir.NewBinaryExpr(base.Pos, ir.ONE, hb, ir.NewBool(base.Pos, false))
    		lhs := []ir.Node{hv1, hb}
    		rhs := []ir.Node{ir.NewUnaryExpr(base.Pos, ir.ORECV, ha)}
    		a := ir.NewAssignListStmt(base.Pos, ir.OAS2RECV, lhs, rhs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  10. test/codegen/memcombine.go

    	// ppc64le:`MOVWBR`,-`MOV[HB]Z`
    	// ppc64:`MOVWZ`,-`MOV[HB]Z`
    	return uint32(s[0])<<24 | uint32(s[1])<<16 | uint32(s[2])<<8 | uint32(s[3])
    }
    
    func load_be_byte4_uint32_inv(s []byte) uint32 {
    	// arm64:`MOVWU\t\(R[0-9]+\)`,`REVW`,-`ORR`,-`REV16W`,-`MOV[BH]`
    	// amd64/v1,amd64/v2:`MOVL\s\([A-Z]+\)`,`BSWAPL`,-`MOV[BW]`,-`OR`
    	// amd64/v3: `MOVBEL`
    	// ppc64le:`MOVWBR`,-`MOV[HB]Z`
    	// ppc64:`MOVWZ`,-`MOV[HB]Z`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top