Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 371 for frame_0 (0.18 sec)

  1. 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)
  2. 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)
  3. src/runtime/traceback_test.go

    			if !found {
    				fatal("missing (")
    			}
    			frame := parseFrame(funcName, args)
    			cur.frames = append(cur.frames, frame)
    		case elidedRe.MatchString(line):
    			// "...N frames elided..."
    			nStr := elidedRe.FindStringSubmatch(line)
    			n, _ := strconv.Atoi(nStr[1])
    			frame := &tbFrame{elided: n}
    			cur.frames = append(cur.frames, frame)
    		}
    	}
    	return tbs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

    import okio.ByteString
    import okio.Source
    import okio.Timeout
    
    /**
     * Reads HTTP/2 transport frames.
     *
     * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the
     * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE].
     */
    class Http2Reader(
      /** Creates a frame reader with max header table size of 4096. */
      private val source: BufferedSource,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      ): Boolean {
        // Don't send new frames after we've failed or enqueued a close frame.
        if (failed || enqueuedClose) return false
    
        // If this frame overflows the buffer, reject it and close the web socket.
        if (queueSize + data.size > MAX_QUEUE_SIZE) {
          close(CLOSE_CLIENT_GOING_AWAY, null)
          return false
        }
    
        // Enqueue the message frame.
        queueSize += data.size.toLong()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    				lastAddr = addr
    			} else if (addr-lastAddr <= neighborhood) && lastFrames != nil {
    				frames = lastFrames
    			}
    
    			sp.addStack(addr, frames)
    		}
    	}
    }
    
    func (sp *sourcePrinter) addStack(addr uint64, frames []plugin.Frame) {
    	// See if the stack contains a function we are interested in.
    	for i, f := range frames {
    		if !sp.interest[f.Func] {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

      }
    
      /** Maximum length of an outbound data frame.  */
      fun maxOutboundDataLength(): Int = writer.maxDataLength()
    
      /** Count of frames sent or received.  */
      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
        outFrames.add(OutFrame(frameCount++, bytesOut.size, false))
        return writer
      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top