Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 251 for aframe (0.16 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read the remaining frame
    	buf = make([]byte, 2)
    	if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read with buffer equal to frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != nil && n != 3 && bytes.Equal(buf, []byte{0x05, 0x06, 0x07}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. test/stackobj2.go

    			// Make sure x.data hasn't been collected.
    			if got := *x.data; got != i {
    				panic(fmt.Sprintf("bad data want %d, got %d", i, got))
    			}
    		}
    		return
    	}
    	// Put 2 objects in each frame, to test intra-frame pointers.
    	// Use both orderings to ensure the linked list isn't always in address order.
    	var a, b T
    	if n%3 == 0 {
    		a.data = newInt(n)
    		a.next = x
    		a.next2 = x
    		b.data = newInt(n - 1)
    		b.next = &a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:29 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/format/format.go

    // throw. go_bootstrap cannot depend on the cgo version of package net in ./make.bash.
    package format
    
    type Data struct {
    	Events   []*Event         `json:"traceEvents"`
    	Frames   map[string]Frame `json:"stackFrames"`
    	TimeUnit string           `json:"displayTimeUnit"`
    }
    
    type Event struct {
    	Name      string  `json:"name,omitempty"`
    	Phase     string  `json:"ph"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/Failure.java

         *
         * @see Throwable#toString()
         */
        String getHeader();
    
        /**
         * Stack frames from the original exception.
         */
        List<StackTraceElement> getStackTrace();
    
        /**
         * Relevance of a given stack frame in the {@link #getStackTrace() stack trace}.
         */
        StackTraceRelevance getStackTraceRelevance(int frameIndex);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/internal/trace/raw/reader.go

    	if err != nil {
    		return Event{}, err
    	}
    	if spec.IsStack {
    		len := int(args[1])
    		for i := 0; i < len; i++ {
    			// Each stack frame has four args: pc, func ID, file ID, line number.
    			frame, err := r.readArgs(4)
    			if err != nil {
    				return Event{}, err
    			}
    			args = append(args, frame...)
    		}
    	}
    	var data []byte
    	if spec.HasData {
    		data, err = r.readData()
    		if err != nil {
    			return Event{}, err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/CompositeStackTraceClassifier.java

            this.classifiers = ImmutableList.copyOf(classifiers);
        }
    
        @Nullable
        @Override
        public StackTraceRelevance classify(StackTraceElement frame) {
            for (StackTraceClassifier classifier : classifiers) {
                StackTraceRelevance relevance = classifier.classify(frame);
                if (relevance != null) {
                    return relevance;
                }
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:15:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/runtime/sys_windows_arm64.s

    TEXT runtime·sigresume(SB),NOSPLIT|NOFRAME,$0
    	// Important: do not smash LR,
    	// which is set to a live value when handling
    	// a signal by pushing a call to sigpanic onto the stack.
    	MOVD	R0, RSP
    	B	(R1)
    
    TEXT runtime·exceptiontramp(SB),NOSPLIT|NOFRAME,$0
    	MOVD	$const_callbackVEH, R1
    	B	sigtramp<>(SB)
    
    TEXT runtime·firstcontinuetramp(SB),NOSPLIT|NOFRAME,$0
    	MOVD	$const_callbackFirstVCH, R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. test/heapsampling.go

    	// allocations are from the same leaf, so pick the first one.
    	var firstLine int
    	for ln := range allocObjects(records, frames[0]) {
    		if firstLine == 0 || firstLine > ln {
    			firstLine = ln
    		}
    	}
    	for _, frame := range frames {
    		var objectCount int64
    		a := allocObjects(records, frame)
    		for s := range size {
    			// Allocations of size size[s] should be on line firstLine + s.
    			ln := firstLine + s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  9. src/runtime/testdata/testprogcgo/tracebackctxt.go

    //export G1
    func G1() {
    	C.C2()
    }
    
    //export G2
    func G2() {
    	pc := make([]uintptr, 32)
    	n := runtime.Callers(0, pc)
    	cf := runtime.CallersFrames(pc[:n])
    	var frames []runtime.Frame
    	for {
    		frame, more := cf.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    
    	want := []struct {
    		function string
    		line     int
    	}{
    		{"main.G2", 0},
    		{"cFunction", 0x10200},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. test/fixedbugs/issue17381.go

    // run
    
    // Copyright 2016 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 17381: make sure leave function with non-empty frame
    // saves link register, so that traceback will work.
    
    package main
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    func main() {
    	defer func() {
    		if recover() == nil {
    			panic("did not panic")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 21:44:32 UTC 2016
    - 1K bytes
    - Viewed (0)
Back to top