Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Lspare0 (0.11 sec)

  1. src/encoding/xml/marshal_test.go

    			C1      string `xml:"space1 x>c"`
    			D1      string `xml:"space1 x>d"`
    		}{
    			XMLName: Name{
    				Space: "space0",
    				Local: "top",
    			},
    			A:  "a",
    			B:  "b",
    			C:  "c",
    			C1: "c1",
    			D1: "d1",
    		},
    		ExpectXML: `<top xmlns="space0">` +
    			`<x><a>a</a><b>b</b>` +
    			`<c xmlns="space">c</c>` +
    			`<c xmlns="space1">c1</c>` +
    			`<d xmlns="space1">d1</d>` +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    	//
    	// If this is >= 1<<63, the page reclaimer is done scanning
    	// the page marks.
    	reclaimIndex atomic.Uint64
    
    	// reclaimCredit is spare credit for extra pages swept. Since
    	// the page reclaimer works in large chunks, it may reclaim
    	// more than requested. Any spare pages released go to this
    	// credit pool.
    	reclaimCredit atomic.Uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. src/runtime/mgcpacer.go

    		println()
    		printunlock()
    	}
    }
    
    // enlistWorker encourages another dedicated mark worker to start on
    // another P if there are spare worker slots. It is used by putfull
    // when more work is made available.
    //
    //go:nowritebarrier
    func (c *gcControllerState) enlistWorker() {
    	// If there are idle Ps, wake one so it will run an idle worker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	{"banana", "a", "a", 1, "banana"},
    	{"☺☻☹", "", "<>", -1, "<>☺<>☻<>☹<>"},
    }
    
    func TestReplace(t *testing.T) {
    	for _, tt := range ReplaceTests {
    		in := append([]byte(tt.in), "<spare>"...)
    		in = in[:len(tt.in)]
    		out := Replace(in, []byte(tt.old), []byte(tt.new), tt.n)
    		if s := string(out); s != tt.out {
    			t.Errorf("Replace(%q, %q, %q, %d) = %q, want %q", tt.in, tt.old, tt.new, tt.n, s, tt.out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top