Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for live0 (0.51 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/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)
  3. test/fixedbugs/issue42944.go

    // errorcheck -0 -live
    
    // Copyright 2020 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.
    
    // Issue 42944: address of callee args area should only be short-lived
    // and never across a call.
    
    package p
    
    type T [10]int // trigger DUFFCOPY when passing by value, so it uses the address
    
    func F() {
    	var x T
    	var i int
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 03 21:34:39 UTC 2020
    - 513 bytes
    - Viewed (0)
  4. 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)
  5. src/compress/testdata/gettysburg.txt

    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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 15:46:44 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/bootstraptoken/v1/types.go

    // for both validation of the practically of the API server from a joining node's point
    // of view and as an authentication method for the node in the bootstrap phase of
    // "kubeadm join". This token is and should be short-lived
    type BootstrapTokenString struct {
    	ID     string `json:"-"`
    	Secret string `json:"-" datapolicy:"token"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 01 21:11:49 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top