Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for nstk (0.05 sec)

  1. src/encoding/xml/xml.go

    func (d *Decoder) autoClose(t Token) (Token, bool) {
    	if d.stk == nil || d.stk.kind != stkStart {
    		return nil, false
    	}
    	for _, s := range d.AutoClose {
    		if strings.EqualFold(s, d.stk.name.Local) {
    			// This one should be auto closed if t doesn't close it.
    			et, ok := t.(EndElement)
    			if !ok || !strings.EqualFold(et.Name.Local, d.stk.name.Local) {
    				return EndElement{d.stk.name}, true
    			}
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. src/go/doc/comment/parse.go

    	stk := []byte{}
    	end = i
    Path:
    	for ; i < len(s); i++ {
    		if isPunct(s[i]) {
    			continue
    		}
    		if !isPath(s[i]) {
    			break
    		}
    		switch s[i] {
    		case '(':
    			stk = append(stk, ')')
    		case '{':
    			stk = append(stk, '}')
    		case '[':
    			stk = append(stk, ']')
    		case ')', '}', ']':
    			if len(stk) == 0 || stk[len(stk)-1] != s[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    const pathBase = 1000
    
    // Path returns a tile coordinate path describing t.
    func (t Tile) Path() string {
    	n := t.N
    	nStr := fmt.Sprintf("%03d", n%pathBase)
    	for n >= pathBase {
    		n /= pathBase
    		nStr = fmt.Sprintf("x%03d/%s", n%pathBase, nStr)
    	}
    	pStr := ""
    	if t.W != 1<<uint(t.H) {
    		pStr = fmt.Sprintf(".p/%d", t.W)
    	}
    	var L string
    	if t.L == -1 {
    		L = "data"
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidStudioPerformanceTest.groovy

            }
    
            @Override
            void beforeScenario(ScenarioContext context) {
                def localProperties = new File(invocation.projectDir, "local.properties")
                localProperties << "\nsdk.dir=$androidSdkRootPath\n"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/runtime/pprof/runtime.go

    //
    //go:noescape
    func runtime_FrameSymbolName(f *runtime.Frame) string
    
    // runtime_expandFinalInlineFrame is defined in runtime/symtab.go.
    func runtime_expandFinalInlineFrame(stk []uintptr) []uintptr
    
    // runtime_setProfLabel is defined in runtime/proflabel.go.
    func runtime_setProfLabel(labels unsafe.Pointer)
    
    // runtime_getProfLabel is defined in runtime/proflabel.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/metrics_test.go

    					}
    				}
    				stks = append(stks, have)
    				for i, stk := range acceptStacks {
    					if slices.Equal(have, stk) {
    						values[i][0] += s.Value[0]
    						values[i][1] += s.Value[1]
    					}
    				}
    			}
    			for i, stk := range acceptStacks {
    				n += values[i][0]
    				value += values[i][1]
    				t.Logf("stack %v has samples totaling n=%d value=%d", stk, values[i][0], values[i][1])
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/action.go

    		// vet expects to be able to import "fmt".
    		var stk load.ImportStack
    		stk.Push("vet")
    		p1, err := load.LoadImportWithFlags("fmt", p.Dir, p, &stk, nil, 0)
    		if err != nil {
    			base.Fatalf("unexpected error loading fmt package from package %s: %v", p.ImportPath, err)
    		}
    		stk.Pop()
    		aFmt := b.CompileAction(ModeBuild, depMode, p1)
    
    		var deps []*Action
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. src/runtime/profbuf_test.go

    	. "runtime"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func TestProfBuf(t *testing.T) {
    	const hdrSize = 2
    
    	write := func(t *testing.T, b *ProfBuf, tag unsafe.Pointer, now int64, hdr []uint64, stk []uintptr) {
    		b.Write(&tag, now, hdr, stk)
    	}
    	read := func(t *testing.T, b *ProfBuf, data []uint64, tags []unsafe.Pointer) {
    		rdata, rtags, eof := b.Read(ProfBufNonBlocking)
    		if !reflect.DeepEqual(rdata, data) || !reflect.DeepEqual(rtags, tags) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 20:04:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. src/runtime/string.go

    // stringDataOnStack reports whether the string's data is
    // stored on the current goroutine's stack.
    func stringDataOnStack(s string) bool {
    	ptr := uintptr(unsafe.Pointer(unsafe.StringData(s)))
    	stk := getg().stack
    	return stk.lo <= ptr && ptr < stk.hi
    }
    
    func rawstringtmp(buf *tmpBuf, l int) (s string, b []byte) {
    	if buf != nil && l <= len(buf) {
    		b = buf[:l]
    		s = slicebytetostringtmp(&b[0], len(b))
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/runtime/mgcmark.go

    				p := *(*uintptr)(unsafe.Pointer(b + i))
    				if p != 0 {
    					if obj, span, objIndex := findObject(p, b, i); obj != 0 {
    						greyobject(obj, b, i, span, gcw, objIndex)
    					} else if stk != nil && p >= stk.stack.lo && p < stk.stack.hi {
    						stk.putPtr(p, false)
    					}
    				}
    			}
    			bits >>= 1
    			i += goarch.PtrSize
    		}
    	}
    }
    
    // scanobject scans the object starting at b, adding pointers to gcw.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top