Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 259 for fsel (0.14 sec)

  1. src/cmd/internal/obj/arm64/doc.go

    	CCMPW HS, R19, R14, $11    <=>    ccmp w19, w14, #0xb, cs
    
    (9) CSEL, CSELW, CSNEG, CSNEGW, CSINC, CSINCW <cond>, <Rn>, <Rm>, <Rd> ;
    FCSELD, FCSELS <cond>, <Fn>, <Fm>, <Fd>
    
    Examples:
    
    	CSEL GT, R0, R19, R1        <=>    csel x1, x0, x19, gt
    	CSNEGW GT, R7, R17, R8      <=>    csneg w8, w7, w17, gt
    	FCSELD EQ, F15, F18, F16    <=>    fcsel d16, d15, d18, eq
    
    (10) TBNZ, TBZ $<imm>, <Rt>, <label>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. test/codegen/bool.go

    	// ppc64x/power9:"FCMP","ISEL",-"SETBC\tCR0LT"
    	// ppc64x/power8:"FCMP","ISEL",-"SETBC\tCR0LT"
    	b := x < y
    	return b
    }
    func TestSetLeFp64(x float64, y float64) bool {
    	// ppc64x/power10:"SETBC\tCR0LT","SETBC\tCR0EQ","OR",-"ISEL",-"ISEL"
    	// ppc64x/power9:"ISEL","ISEL",-"SETBC\tCR0LT",-"SETBC\tCR0EQ","OR"
    	// ppc64x/power8:"ISEL","ISEL",-"SETBC\tCR0LT",-"SETBC\tCR0EQ","OR"
    	b := x <= y
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 22:12:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/go/printer/printer_test.go

    	const src = `// comment 1
    	// comment 2
    	// comment 3
    	package main
    	`
    
    	fset := token.NewFileSet()
    	f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
    	if err != nil {
    		panic(err) // error in test
    	}
    
    	var buf bytes.Buffer
    	fset = token.NewFileSet() // use the wrong file set
    	Fprint(&buf, fset, f)
    
    	nlines := 0
    	for _, ch := range buf.Bytes() {
    		if ch == '\n' {
    			nlines++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. src/go/token/position_test.go

    func TestFileSetPastEnd(t *testing.T) {
    	fset := NewFileSet()
    	for _, test := range tests {
    		fset.AddFile(test.filename, fset.Base(), test.size)
    	}
    	if f := fset.File(Pos(fset.Base())); f != nil {
    		t.Errorf("got %v, want nil", f)
    	}
    }
    
    func TestFileSetCacheUnlikely(t *testing.T) {
    	fset := NewFileSet()
    	offsets := make(map[string]int)
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    					}
    				}
    				for _, cg := range f.Comments {
    					if cg.End() < spec.Pos() && fset.Position(cg.End()).Line == fset.Position(spec.Pos()).Line {
    						for fset.Position(gen.TokPos).Line+1 < fset.Position(spec.Pos()).Line {
    							fset.File(gen.TokPos).MergeLine(fset.Position(gen.TokPos).Line)
    						}
    						break
    					}
    				}
    			}
    			if j > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  6. src/go/parser/error_test.go

    func getFile(fset *token.FileSet, filename string) (file *token.File) {
    	fset.Iterate(func(f *token.File) bool {
    		if f.Name() == filename {
    			if file != nil {
    				panic(filename + " used multiple times")
    			}
    			file = f
    		}
    		return true
    	})
    	return file
    }
    
    func getPos(fset *token.FileSet, filename string, offset int) token.Pos {
    	if f := getFile(fset, filename); f != nil {
    		return f.Pos(offset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  7. src/go/ast/print.go

    // struct fields are never printed.
    func Fprint(w io.Writer, fset *token.FileSet, x any, f FieldFilter) error {
    	return fprint(w, fset, x, f)
    }
    
    func fprint(w io.Writer, fset *token.FileSet, x any, f FieldFilter) (err error) {
    	// setup printer
    	p := printer{
    		output: w,
    		fset:   fset,
    		filter: f,
    		ptrmap: make(map[any]int),
    		last:   '\n', // force printing of line number on first line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/go/doc/testdata/template.txt

    {{range .}}	{{synopsis .Doc}}
    	{{node .Decl $.FSet}}
    
    {{end}}{{end}}{{/*
    
    */}}{{with .Vars}}
    VARIABLES
    {{range .}}	{{synopsis .Doc}}
    	{{node .Decl $.FSet}}
    
    {{end}}{{end}}{{/*
    
    */}}{{with .Funcs}}
    FUNCTIONS
    {{range .}}	{{synopsis .Doc}}
    	{{node .Decl $.FSet}}
    
    {{end}}{{end}}{{/*
    
    */}}{{with .Types}}
    TYPES
    {{range .}}	{{synopsis .Doc}}
    	{{node .Decl $.FSet}}
    
    {{range .Consts}}	{{synopsis .Doc}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.1K bytes
    - Viewed (0)
  9. src/go/doc/example_test.go

    func ExampleGreet_world() {
    	Greet("world")
    }
    `
    
    	// Create the AST by parsing src and test.
    	fset := token.NewFileSet()
    	files := []*ast.File{
    		mustParse(fset, "src.go", src),
    		mustParse(fset, "src_test.go", test),
    	}
    
    	// Compute package documentation with examples.
    	p, err := doc.NewFromFiles(fset, files, "example.com/p")
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  10. src/runtime/align_test.go

    	conf := types.Config{Importer: importer.Default()}
    	_, err = conf.Check("runtime", fset, files, &info)
    	if err != nil {
    		t.Fatalf("typechecking runtime failed: %v", err)
    	}
    
    	// Analyze all atomic.*64 callsites.
    	v := Visitor{t: t, fset: fset, types: info.Types, checked: checked}
    	ast.Walk(&v, pkg)
    }
    
    type Visitor struct {
    	fset    *token.FileSet
    	types   map[ast.Expr]types.TypeAndValue
    	checked map[string]bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top