Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for fsel (0.14 sec)

  1. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

    		return op + " " + args[0] + "," + args[1] + "," + args[2]
    	case SYNC:
    		if args[0] == "$1" {
    			return "LWSYNC"
    		}
    		return "HWSYNC"
    
    	case ISEL:
    		return "ISEL " + args[3] + "," + args[1] + "," + args[2] + "," + args[0]
    
    	// store instructions always have the memory operand at the end, no need to reorder
    	// indexed stores handled separately
    	case STB, STBU,
    		STH, STHU,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  2. src/internal/zstd/fse.go

    	}
    
    	return nil
    }
    
    // fseBaselineEntry is an entry in an FSE baseline table.
    // We use these for literal/match/length values.
    // Those require mapping the symbol to a baseline value,
    // and then reading zero or more bits and adding the value to the baseline.
    // Rather than looking these up in separate tables,
    // we convert the FSE table to an FSE baseline table.
    type fseBaselineEntry struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. test/codegen/shift.go

    		r1 = val64 >> shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSR",-"CSEL"
    		r2 = val32 >> shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSR",-"CSEL"
    		r3 = val16 >> shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSR",-"CSEL"
    		r4 = val8 >> shift
    	}
    	return r1, r2, r3, r4
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_asm_arm64.s

    		LDP.P	16(b_ptr), (acc0, acc1)
    		CSEL	EQ, acc0, x0, x0
    		CSEL	EQ, acc1, x1, x1
    		LDP.P	16(b_ptr), (acc2, acc3)
    		CSEL	EQ, acc2, x2, x2
    		CSEL	EQ, acc3, x3, x3
    		LDP.P	16(b_ptr), (acc4, acc5)
    		CSEL	EQ, acc4, y0, y0
    		CSEL	EQ, acc5, y1, y1
    		LDP.P	16(b_ptr), (acc6, acc7)
    		CSEL	EQ, acc6, y2, y2
    		CSEL	EQ, acc7, y3, y3
    		LDP.P	16(b_ptr), (acc0, acc1)
    		CSEL	EQ, acc0, t0, t0
    		CSEL	EQ, acc1, t1, t1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/go/scanner/scanner_test.go

    		if tokenclass(got) == literal && lit == "" {
    			t.Errorf("%s: for %s got empty literal string", fset.Position(pos), got)
    		}
    	}
    }
    
    func BenchmarkScan(b *testing.B) {
    	b.StopTimer()
    	fset := token.NewFileSet()
    	file := fset.AddFile("", fset.Base(), len(source))
    	var s Scanner
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		s.Init(file, source, nil, ScanComments)
    		for {
    			_, tok, _ := s.Scan()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    	if err != nil {
    		log.Fatal(err)
    	}
    
    	fset := token.NewFileSet()
    	results, err := run(fset, cfg, analyzers)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// In VetxOnly mode, the analysis is run only for facts.
    	if !cfg.VetxOnly {
    		if analysisflags.JSON {
    			// JSON output
    			tree := make(analysisflags.JSONTree)
    			for _, res := range results {
    				tree.Add(fset, cfg.ID, res.a.Name, res.diagnostics, res.err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. src/go/parser/parser_test.go

    		}
    
    		var sel *ast.SelectorExpr
    		ast.Inspect(f, func(n ast.Node) bool {
    			if n, ok := n.(*ast.SelectorExpr); ok {
    				sel = n
    			}
    			return true
    		})
    		if sel == nil {
    			t.Error("found no *ast.SelectorExpr")
    			continue
    		}
    		const wantSel = "&{fmt _}"
    		if fmt.Sprint(sel) != wantSel {
    			t.Errorf("found selector %s, want %s", sel, wantSel)
    			continue
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top