Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for source_line (0.12 sec)

  1. hack/lib/logging.sh

      local code="${2:-1}"
      local stack_skip="${3:-0}"
      stack_skip=$((stack_skip + 1))
    
      if [[ ${KUBE_VERBOSE} -ge 4 ]]; then
        local source_file=${BASH_SOURCE[${stack_skip}]}
        local source_line=${BASH_LINENO[$((stack_skip - 1))]}
        echo "!!! Error in ${source_file}:${source_line}" >&2
        [[ -z ${1-} ]] || {
          echo "  ${1}" >&2
        }
    
        kube::log::stack ${stack_skip}
    
        echo "Exiting with status ${code}" >&2
    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. cluster/gce/windows/k8s-node-setup.psm1

        Time_Key    time
        Time_Format %b %d %H:%M:%S
    
    [PARSER]
        Name        glog
        Format      regex
        Regex       ^(?<severity>\w)(?<time>\d{4} [^\s]*)\s+(?<pid>\d+)\s+(?<source_file>[^ \]]+)\:(?<source_line>\d+)\]\s(?<message>.*)$
        Time_Key    time
        Time_Format %m%d %H:%M:%S.%L
    
    [PARSER]
        Name        network-log
        Format      json
        Time_Key    timestamp
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

      key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text
      p.text = runfiles_matcher.sub("[testroot]/", p.text)
      source_file = p.getparent().getparent().get("source_file", "")
      p.text += f"\nNOTE: From {source_file}"
      if "bazel_pip" in source_file:
        p.text += (
            "\nNOTE: This is a --config=pip test. Remove 'bazel_pip' to find"
            " the file."
        )
      n_failures = seen[key]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	// BuildID returns the GNU build ID of the file, or an empty string.
    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    	// is in general a list of positions representing a call stack,
    	// with the leaf function first.
    	SourceLine(addr uint64) ([]Frame, error)
    
    	// Symbols returns a list of symbols in the object file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

              }
    
              val bufferPos = upstreamPos - buffer.size
    
              // Bytes of the read precede the buffer. Read from the file.
              if (sourcePos < bufferPos) {
                return@synchronized SOURCE_FILE
              }
    
              // The buffer has the data we need. Read from there and return immediately.
              val bytesToRead = minOf(byteCount, upstreamPos - sourcePos)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// BuildID returns the GNU build ID of the file, or an empty string.
    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    	// is in general a list of positions representing a call stack,
    	// with the leaf function first.
    	SourceLine(addr uint64) ([]Frame, error)
    
    	// Symbols returns a list of symbols in the object file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	if f.baseErr != nil {
    		return 0, f.baseErr
    	}
    	return addr - f.base, nil
    }
    
    func (f *file) BuildID() string {
    	return f.buildID
    }
    
    func (f *file) SourceLine(addr uint64) ([]plugin.Frame, error) {
    	f.baseOnce.Do(func() { f.baseErr = f.computeBase(addr) })
    	if f.baseErr != nil {
    		return nil, f.baseErr
    	}
    	return nil, nil
    }
    
    func (f *file) Close() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast.go

    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    // ParseGo populates f with information learned from the Go source code
    // which was read from the named file. It gathers the C preamble
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    	}
    	return nil
    }
    
    func symbolizeOneMapping(m *profile.Mapping, locs []*profile.Location, obj plugin.ObjFile, addFunction func(*profile.Function) *profile.Function) {
    	for _, l := range locs {
    		stack, err := obj.SourceLine(l.Address)
    		if err != nil || len(stack) == 0 {
    			// No answers from addr2line.
    			continue
    		}
    
    		l.Line = make([]profile.Line, len(stack))
    		l.IsFolded = false
    		for i, frame := range stack {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/cmd/pprof/pprof.go

    }
    
    func (f *file) ObjAddr(addr uint64) (uint64, error) {
    	return addr - f.offset, nil
    }
    
    func (f *file) BuildID() string {
    	// No support for build ID.
    	return ""
    }
    
    func (f *file) SourceLine(addr uint64) ([]driver.Frame, error) {
    	if f.pcln == nil {
    		pcln, err := f.file.PCLineTable()
    		if err != nil {
    			return nil, err
    		}
    		f.pcln = pcln
    	}
    	addr -= f.offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top