Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 291 for live0 (0.08 sec)

  1. test/uintptrescapes2.go

    	F4(0, 1, uintptr(unsafe.Pointer(&v2)), 2) // ERROR "live at call to newobject: .?autotmp" "live at call to F4: .?autotmp" "escapes to heap" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    func TestM2() {
    	var t T
    	var v int                                  // ERROR "moved to heap"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 24 18:24:24 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. test/abi/result_live.go

    // errorcheck -0 -live
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type T struct { a, b, c, d string } // pass in registers, not SSA-able
    
    //go:registerparams
    func F() (r T) {
    	r.a = g(1) // ERROR "live at call to g: r"
    	r.b = g(2) // ERROR "live at call to g: r"
    	r.c = g(3) // ERROR "live at call to g: r"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 19 14:51:24 UTC 2021
    - 510 bytes
    - Viewed (0)
  3. test/fixedbugs/issue20250.go

    	var e interface{} // ERROR "stack object e interface \{\}$"
    	func() {          // ERROR "live at entry to f.func1: &e a$"
    		e = a.s // ERROR "live at call to convT: &e$" "stack object a T$"
    	}()
    	// Before the fix, both a and e were live at the previous line.
    	_ = e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 727 bytes
    - Viewed (0)
  4. test/live_uintptrkeepalive.go

    func autotmpImplicit() { // ERROR "can inline autotmpImplicit"
    	var t int
    	implicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to implicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    func autotmpExplicit() { // ERROR "can inline autotmpExplicit"
    	var t int
    	explicit(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to explicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/print.go

    		}
    		linenumber = fmt.Sprintf("(%s%d) ", pfx, p.Line())
    	}
    	return linenumber
    }
    
    func (p stringFuncPrinter) value(v *Value, live bool) {
    	if !p.printDead && !live {
    		return
    	}
    	fmt.Fprintf(p.w, "    %s", StmtString(v.Pos))
    	fmt.Fprint(p.w, v.LongString())
    	if !live {
    		fmt.Fprint(p.w, " DEAD")
    	}
    	fmt.Fprintln(p.w)
    }
    
    func (p stringFuncPrinter) startDepCycle() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/status/ready/probe.go

    }
    
    // isEnvoyReady checks to ensure that Envoy is in the LIVE state and workers have started.
    func (p *Probe) isEnvoyReady() error {
    	if p.NoEnvoy {
    		return nil
    	}
    	if p.Context == nil {
    		return p.checkEnvoyReadiness()
    	}
    	select {
    	case <-p.Context.Done():
    		return fmt.Errorf("server is not live, current state is: %s", StateString(Draining))
    	default:
    		return p.checkEnvoyReadiness()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/sort/example_wrapper_test.go

    	printOrgans(s)
    
    	// Output:
    	// Organs by weight:
    	// prostate (62g)
    	// pancreas (131g)
    	// spleen   (162g)
    	// heart    (290g)
    	// brain    (1340g)
    	// liver    (1494g)
    	// Organs by name:
    	// brain    (1340g)
    	// heart    (290g)
    	// liver    (1494g)
    	// pancreas (131g)
    	// prostate (62g)
    	// spleen   (162g)
    }
    
    func printOrgans(s []*Organ) {
    	for _, o := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java

         *
         * The collection is live, so that the contents are queried as required on query of the collection.
         */
        FileCollectionInternal create(MinimalFileSet contents);
    
        /**
         * Creates a {@link FileCollection} with the given contents, and built by the given tasks.
         *
         * The collection is live, so that the contents are queried as required on query of the collection.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue32477.go

    // run
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure we use the deferreturn live map instead of
    // the entry live map when handling a segv in a function
    // that defers.
    
    package main
    
    import "runtime"
    
    var finalized bool
    var err string
    
    type HeapObj [8]int64
    
    const filler int64 = 0x123456789abcdef0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:51:04 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue27518a.go

    	defer func() {
    		// Ignore the panic.
    		recover()
    		// Force a stack walk. Go 1.11 will fail because x is now
    		// considered live again.
    		runtime.GC()
    	}()
    	// Make x live at the defer's PC.
    	runtime.KeepAlive(x)
    
    	// x is no longer live. Garbage collect the [32]*int on the
    	// heap.
    	runtime.GC()
    	// At this point x's dead stack slot points to dead memory.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:23 UTC 2018
    - 1.1K bytes
    - Viewed (0)
Back to top