Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for live1 (0.04 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. src/internal/zstd/testdata/1890a371.gettysburg.txt-100x.zst

    whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this. But, in a larger sense, we can not dedicate - we can not consecrate - we can not hallow - this ground. The brave men, living and dead, who struggled here, have consecrated it,...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 14:35:13 UTC 2023
    - 826 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache_test.go

    	c := NewLRUExpireCache(10)
    	c.Add("long-lived", "12345", 10*time.Hour)
    
    	assertKeys(t, c.Keys(), []interface{}{"long-lived"})
    
    	expectEntry(t, c, "long-lived", "12345")
    }
    
    func TestSimpleRemove(t *testing.T) {
    	c := NewLRUExpireCache(10)
    	c.Add("long-lived", "12345", 10*time.Hour)
    	c.Remove("long-lived")
    
    	assertKeys(t, c.Keys(), []interface{}{})
    
    	expectNotEntry(t, c, "long-lived")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    }
    
    // AddBootSequenceHealthChecks adds health checks to the old healthz endpoint (for backwards compatibility reasons)
    // as well as livez and readyz. The livez grace period is defined by the value of the
    // command-line flag --livez-grace-period; before the grace period elapses, the livez health checks
    // will default to healthy. One may want to set a grace period in order to prevent the kubelet from restarting
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15747.go

    var b bool
    
    func f1(q *Q, xx []byte) interface{} { // ERROR "live at call to newobject: xx$" "live at entry to f1: xx$"
    	// xx was copied from the stack to the heap on the previous line:
    	// xx was live for the first two prints but then it switched to &xx
    	// being live. We should not see plain xx again.
    	if b {
    		global = &xx
    	}
    	xx, _, err := f2(xx, 5) // ERROR "live at call to f2: &xx$"
    	if err != nil {
    		return err
    	}
    	return nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtilsTest.groovy

            given:
            def logFile = log("""\
                line1
                line2
                line3""")
    
            expect:
            DaemonLogFileUtils.tail(logFile, 1) == "line3"
        }
    
        def "input-ending eoln is ignored"() {
            given:
            def logFile = log("""\
                line1
                line2
                line3
            """)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/deadcode.go

    func liveValues(f *Func, reachable []bool) (live []bool, liveOrderStmts []*Value) {
    	live = f.Cache.allocBoolSlice(f.NumValues())
    	liveOrderStmts = f.Cache.allocValueSlice(f.NumValues())[:0]
    
    	// After regalloc, consider all values to be live.
    	// See the comment at the top of regalloc.go and in deadcode for details.
    	if f.RegAlloc != nil {
    		for i := range live {
    			live[i] = true
    		}
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top