Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 383 for flive (0.06 sec)

  1. test/live2.go

    // errorcheck -0 -live -wb=0
    
    // Copyright 2014 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.
    
    // liveness tests with inlining ENABLED
    // see also live.go.
    
    package main
    
    // issue 8142: lost 'addrtaken' bit on inlined variables.
    
    func printnl()
    
    //go:noescape
    func useT40(*T40)
    
    type T40 struct {
    	m map[int]int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 23:29:33 UTC 2023
    - 953 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. test/live1.go

    // Test that code compiles without
    // "internal error: ... recorded as live on entry" errors
    // from the liveness code.
    //
    // This code contains methods or other construct that
    // trigger the generation of wrapper functions with no
    // clear line number (they end up using line 1), and those
    // would have annotations printed if we used -live=1,
    // like the live.go test does.
    // Instead, this test relies on the fact that the liveness
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.3K 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/runtime/mfinal_test.go

    	xs := x[objsize:] // change objsize to objsize-1 and the test passes
    
    	fin := make(chan bool, 1)
    	runtime.SetFinalizer(y, func(z *objtype) { fin <- true })
    	runtime.GC()
    	<-fin
    	xsglobal = xs // keep empty slice alive until here
    }
    
    var xsglobal []byte
    
    func adjStringChunk() (string, *objtype) {
    	b := make([]byte, objsize)
    	for {
    		s := string(b)
    		t := new(objtype)
    		p := *(*uintptr)(unsafe.Pointer(&s))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.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/interface/convert.go

    	hello(t.String())
    
    	// T2E
    	e = t
    
    	// E2T
    	t = e.(T)
    	hello(t.String())
    
    	// T2I again
    	sl = t
    	hello(sl.String())
    	five(sl.Length())
    
    	// I2I static
    	s = sl
    	hello(s.String())
    
    	// I2I dynamic
    	sl = s.(StringLengther)
    	hello(sl.String())
    	five(sl.Length())
    
    	// I2E (and E2T)
    	e = s
    	hello(e.(T).String())
    
    	// E2I
    	s = e.(Stringer)
    	hello(s.String())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 1.9K bytes
    - Viewed (0)
Back to top