Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for RANGE (0.22 sec)

  1. src/archive/zip/zip_test.go

    		if lastByte := rp.b; len(p) > 0 && p[0] == lastByte {
    			if bytes.Count(p, []byte{lastByte}) == len(p) {
    				rp.n += int64(len(p))
    				return len(p), nil
    			}
    		}
    	}
    
    	for _, b := range p {
    		if rp == nil || rp.b != b {
    			r.buf = append(r.buf, repeatedByte{r.Size(), b, 1})
    			rp = &r.buf[len(r.buf)-1]
    		} else {
    			rp.n++
    		}
    	}
    	return len(p), nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback_windows.go

    			break;
    		} else {
    			RtlVirtualUnwind(0, ImageBase, ControlPc, FunctionEntry, &context, &HandlerData, &EstablisherFrame, NULL);
    		}
    
    		ControlPc = context.Rip;
    		// Check if we left the user range.
    		if (ControlPc < 0x10000) {
    			break;
    		}
    
    		BackTrace[i] = (PVOID)(ControlPc);
    	}
    	return i;
    #else
    	return 0;
    #endif
    }
    */
    import "C"
    
    import (
    	"internal/testenv"
    	"reflect"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    	<li>the index <code>x</code> is <i>in range</i> if <code>0 &lt;= x &lt; len(a)</code>,
    	    otherwise it is <i>out of range</i></li>
    </ul>
    
    <p>
    For <code>a</code> of <a href="#Array_types">array type</a> <code>A</code>:
    </p>
    <ul>
    	<li>a <a href="#Constants">constant</a> index must be in range</li>
    	<li>if <code>x</code> is out of range at run time,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    		}
    	}
    	return word, cond, operands, true
    }
    
    func (p *Parser) instruction(op obj.As, word, cond string, operands [][]lex.Token) {
    	p.addr = p.addr[0:0]
    	p.isJump = p.arch.IsJump(word)
    	for _, op := range operands {
    		addr := p.address(op)
    		if !p.isJump && addr.Reg < 0 { // Jumps refer to PC, a pseudo.
    			p.errorf("illegal use of pseudo-register in %s", word)
    		}
    		p.addr = append(p.addr, addr)
    	}
    	if p.isJump {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. doc/asm.html

    <code>R15</code> points to the stack frame and should typically only be accessed using the
    virtual registers <code>SP</code> and <code>FP</code>.
    </p>
    
    <p>
    Load- and store-multiple instructions operate on a range of registers.
    The range of registers is specified by a start register and an end register.
    For example, <code>LMG</code> <code>(R9),</code> <code>R5,</code> <code>R7</code> would load
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/bytes/example_test.go

    	fmt.Printf("%s\n", bytes.ReplaceAll([]byte("oink oink oink"), []byte("oink"), []byte("moo")))
    	// Output:
    	// moo moo moo
    }
    
    func ExampleRunes() {
    	rs := bytes.Runes([]byte("go gopher"))
    	for _, r := range rs {
    		fmt.Printf("%#U\n", r)
    	}
    	// Output:
    	// U+0067 'g'
    	// U+006F 'o'
    	// U+0020 ' '
    	// U+0067 'g'
    	// U+006F 'o'
    	// U+0070 'p'
    	// U+0068 'h'
    	// U+0065 'e'
    	// U+0072 'r'
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. src/cmd/api/main_test.go

    	for _, w := range walkers {
    		for _, name := range w.stdPackages {
    			pkg, err := w.import_(name)
    			if _, nogo := err.(*build.NoGoError); nogo {
    				continue
    			}
    			if err != nil {
    				log.Fatalf("Import(%q): %v", name, err)
    			}
    			w.export(pkg)
    		}
    
    		ctxName := contextName(w.context)
    		for _, f := range w.Features() {
    			if featureCtx[f] == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VDUP	V8.B[17], V3.B8                                  // ERROR "register element index out of range 0 to 15"
    	VDUP	V8.H[9], V3.H4                                   // ERROR "register element index out of range 0 to 7"
    	VDUP	V8.H[9], V3.H8                                   // ERROR "register element index out of range 0 to 7"
    	VDUP	V8.S[4], V3.S2                                   // ERROR "register element index out of range 0 to 3"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    		if codeHex == "" {
    			codeHex = "empty"
    		}
    		ok := false
    		for _, hex := range strings.Split(hexes, " or ") {
    			if codeHex == hex {
    				ok = true
    				break
    			}
    		}
    		if !ok {
    			t.Errorf("%s: have encoding %s, want %s", p, codeHex, hexes)
    		}
    	}
    
    	if len(hexByLine) > 0 {
    		var missing []string
    		for key := range hexByLine {
    			missing = append(missing, key)
    		}
    		sort.Strings(missing)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/archive/tar/tar_test.go

    		}},
    	}}
    
    	b.Run("Writer", func(b *testing.B) {
    		for _, v := range vectors {
    			b.Run(v.label, func(b *testing.B) {
    				b.ReportAllocs()
    				for i := 0; i < b.N; i++ {
    					// Writing to io.Discard because we want to
    					// test purely the writer code and not bring in disk performance into this.
    					tw := NewWriter(io.Discard)
    					for _, file := range v.files {
    						if err := tw.WriteHeader(file.hdr); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top