Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for frame_0 (0.13 sec)

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

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package framer implements simple frame decoding techniques for an io.ReadCloser
    package framer
    
    import (
    	"encoding/binary"
    	"encoding/json"
    	"io"
    )
    
    type lengthDelimitedFrameWriter struct {
    	w io.Writer
    	h [4]byte
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

                int j2 = frames2.size() - 1;
                while (j1 >= 0 && j2 >= 0 && frames1.get(j1).equals(frames2.get(j2))) {
                    j1--;
                    j2--;
                }
                return frames1.size() - (j1 + 1);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/proxy/doc.go

    // SPDY connection.
    //
    // The stream tunnel proxy tunnels SPDY frames through a WebSocket
    // connection, and it is used for the PortForward subprotocol (e.g.
    // kubectl port-forward). This proxy implements tunneling by transparently
    // encoding and decoding SPDY framed data into and out of the payload of a
    // WebSocket data frame. The primary structure for this tunneling is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 17:56:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/trace/viewer.go

    	"internal/trace"
    	"internal/trace/traceviewer"
    	"time"
    )
    
    // viewerFrames returns the frames of the stack of ev. The given frame slice is
    // used to store the frames to reduce allocations.
    func viewerFrames(stk trace.Stack) []*trace.Frame {
    	var frames []*trace.Frame
    	stk.Frames(func(f trace.StackFrame) bool {
    		frames = append(frames, &trace.Frame{
    			PC:   f.PC,
    			Fn:   f.Func,
    			File: f.File,
    			Line: int(f.Line),
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/pprof/pprof.go

    	}
    
    	frames := f.dwarfSourceLine(addr)
    	if frames != nil {
    		return frames, nil
    	}
    
    	return nil, fmt.Errorf("no line information for PC=%#x", addr)
    }
    
    // dwarfSourceLine tries to get file/line information using DWARF.
    // This is for C functions that appear in the profile.
    // Returns nil if there is no information available.
    func (f *file) dwarfSourceLine(addr uint64) []driver.Frame {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. hack/lib/logging.sh

          local funcname=${FUNCNAME[${frame_no}]}
          echo "  ${i}: ${source_file}:${source_lineno} ${funcname}(...)" >&2
        done
      fi
    }
    
    # Log an error and exit.
    # Args:
    #   $1 Message to log with the error
    #   $2 The error code to return
    #   $3 The number of stack frames to skip when printing.
    kube::log::error_exit() {
      local message="${1:-}"
      local code="${2:-1}"
      local stack_skip="${3:-0}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 06 14:40:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. utils/utils.go

    	len := runtime.Callers(3, pcs[:])
    	frames := runtime.CallersFrames(pcs[:len])
    	for i := 0; i < len; i++ {
    		// second return value is "more", not "ok"
    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    			return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    		}
    	}
    
    	return ""
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/pkiutil/testing/testing.go

    	lock.Lock()
    	defer lock.Unlock()
    
    	var pcs [50]uintptr
    	nCallers := runtime.Callers(2, pcs[:])
    	frames := runtime.CallersFrames(pcs[:nCallers])
    	thisTest := ""
    	for {
    		frame, more := frames.Next()
    		if strings.HasSuffix(frame.File, "_test.go") && testFunction.MatchString(frame.Function) {
    			thisTest = frame.Function
    			break
    		}
    		if !more {
    			break
    		}
    	}
    
    	if len(thisTest) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/StackTraceClassifier.java

    /**
     * Classifies stack frames by their {@link StackTraceRelevance relevance}.
     * <p>
     * Classifiers are meant to be heuristic, determining the relevance on the best-effort basis.
     */
    public interface StackTraceClassifier {
    
        StackTraceClassifier USER_CODE = new StackTraceClassifier() {
            @Override
            public StackTraceRelevance classify(StackTraceElement frame) {
                return StackTraceRelevance.USER_CODE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:52:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. 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)
Back to top