Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for trigger (0.41 sec)

  1. src/bytes/bytes_test.go

    			{"TrimRightFunc", TrimRightFunc, tc.rightOut},
    		}
    		for _, trimmer := range trimmers {
    			actual := trimmer.trim([]byte(tc.in), tc.f.f)
    			if actual == nil && trimmer.out != nil {
    				t.Errorf("%s(%q, %q) = nil; want %q", trimmer.name, tc.in, tc.f.name, trimmer.out)
    			}
    			if actual != nil && trimmer.out == nil {
    				t.Errorf("%s(%q, %q) = %q; want nil", trimmer.name, tc.in, tc.f.name, actual)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ppc64/ssa.go

    			p.To.Type = obj.TYPE_CONST
    			p.To.Offset = 0
    
    			// BNE 2(PC)
    			p2 := s.Prog(ppc64.ABNE)
    			p2.To.Type = obj.TYPE_BRANCH
    
    			// STW R0, 0(R0)
    			// Write at 0 is forbidden and will trigger a SIGSEGV
    			p = s.Prog(ppc64.AMOVW)
    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = ppc64.REG_R0
    			p.To.Type = obj.TYPE_MEM
    			p.To.Reg = ppc64.REG_R0
    
    			// NOP (so the BNE has somewhere to land)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    func F[P any](fParam P) (fResult P){ return }
    
    type I[P any] interface {
    	interfaceMethod(P)
    }
    
    type R[P any] T[P]
    
    func (R[P]) m() {} // having a method triggers expansion of R
    
    var (
    	t T[int]
    	ft FT[int]
    	f = F[int]
    	i I[int]
    )
    
    func fn() {
    	var r R[int]
    	_ = r
    }
    `
    	info := &Info{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    			if goos != "android" {
    				cgoTest("static", "testnocgo", "external", "static", staticCheck)
    				cgoTest("static", "test", "external", "static", staticCheck)
    				// -static in CGO_LDFLAGS triggers a different code path
    				// than -static in -extldflags, so test both.
    				// See issue #16651.
    				if goarch != "loong64" {
    					// TODO(#56623): Why does this fail on loong64?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    // canRotate reports whether the architecture supports
    // rotates of integer registers with the given number of bits.
    func canRotate(c *Config, bits int64) bool {
    	if bits > c.PtrSize*8 {
    		// Don't rewrite to rotates bigger than the machine word.
    		return false
    	}
    	switch c.arch {
    	case "386", "amd64", "arm64", "riscv64":
    		return true
    	case "arm", "s390x", "ppc64", "ppc64le", "wasm", "loong64":
    		return bits >= 32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/type.go

    // values of type Object to ir.Node or a more specific type.
    type Object interface {
    	Pos() src.XPos
    	Sym() *Sym
    	Type() *Type
    }
    
    //go:generate stringer -type Kind -trimprefix T type.go
    
    // Kind describes a kind of type.
    type Kind uint8
    
    const (
    	Txxx Kind = iota
    
    	TINT8
    	TUINT8
    	TINT16
    	TUINT16
    	TINT32
    	TUINT32
    	TINT64
    	TUINT64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top