Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for trigger (0.32 sec)

  1. src/cmd/compile/internal/types2/initorder.go

    			// in the cycle.
    			// Furthermore, once an object in the cycle is encountered,
    			// the cycle will be broken (dependency count will be reduced
    			// below), and so the remaining nodes in the cycle don't trigger
    			// another error (unless they are part of multiple cycles).
    			if cycle != nil {
    				check.reportCycle(cycle)
    			}
    			// Ok to continue, but the variable initialization order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/abi.go

    	// the ABI0 call, meaning that they will always need to allocate
    	// stack space. If the compiler marks them as NOSPLIT this seems
    	// as though it could lead to situations where the linker's
    	// nosplit-overflow analysis would trigger a link failure. On the
    	// other hand if they not tagged NOSPLIT then this could cause
    	// problems when building the runtime (since there may be calls to
    	// asm routine in cases where it's not safe to grow the stack). In
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/schedule.go

    	order := make([]*Value, len(values))
    	for _, v := range values {
    		s := storeNumber[v.ID]
    		order[count[s-1]] = v
    		count[s-1]++
    	}
    
    	// Order nil checks in source order. We want the first in source order to trigger.
    	// If two are on the same line, we don't really care which happens first.
    	// See issue 18169.
    	if hasNilCheck {
    		start := -1
    		for i, v := range order {
    			if v.Op == OpNilCheck {
    				if start == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/named_test.go

    		{"src instance", SrcInst},
    		{"user instance", UserInst},
    	}
    
    	b.Run("Underlying", func(b *testing.B) {
    		for _, test := range tests {
    			b.Run(test.name, func(b *testing.B) {
    				// Access underlying once, to trigger any lazy calculation.
    				_ = test.typ.Underlying()
    				b.ResetTimer()
    				for i := 0; i < b.N; i++ {
    					_ = test.typ.Underlying()
    				}
    			})
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/fmahash_test.go

    	t.Logf("%v", cmd)
    	t.Logf("%v", cmd.Env)
    	b, e := cmd.CombinedOutput()
    	if e != nil {
    		t.Errorf("build failed: %v\n%s", e, b)
    	}
    	s := string(b) // Looking for "GOFMAHASH triggered main.main:24"
    	re := "fmahash(0?) triggered .*fma.go:29:..;.*fma.go:18:.."
    	match := regexp.MustCompile(re)
    	if !match.MatchString(s) {
    		t.Errorf("Expected to match '%s' with \n-----\n%s-----", re, s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/rangefunc/rewrite.go

    		//		}
    		// 		return false // or handle returns and gotos
    		//	}
    
    		if loop.checkRet {
    			// Note: next < 0 also handles gotos handled by outer loops.
    			// We set checkRet in that case to trigger this check.
    			if r.checkFuncMisuse() {
    				list = append(list, r.ifNext(syntax.Lss, 0, false, r.setStateAt(curLoopIndex, abi.RF_DONE), retStmt(r.useObj(r.false))))
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/helpdoc.go

    	.go
    		Go source files.
    	.c, .h
    		C source files.
    		If the package uses cgo or SWIG, these will be compiled with the
    		OS-native compiler (typically gcc); otherwise they will
    		trigger an error.
    	.cc, .cpp, .cxx, .hh, .hpp, .hxx
    		C++ source files. Only useful with cgo or SWIG, and always
    		compiled with the OS-native compiler.
    	.m
    		Objective-C source files. Only useful with cgo, and always
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    		b := s.endBlock()
    		b.Kind = ssa.BlockIf
    		b.SetControl(cmp)
    		b.AddEdgeTo(jt)             // in range - use jump table
    		b.AddEdgeTo(bEnd)           // out of range - no case in the jump table will trigger
    		b.Likely = ssa.BranchLikely // TODO: assumes missing the table entirely is unlikely. True?
    
    		// Build jump table block.
    		s.startBlock(jt)
    		jt.Pos = n.Pos()
    		if base.Flag.Cfg.SpectreIndex {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  10. 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)
Back to top