Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 215 for sticky (0.12 sec)

  1. src/archive/tar/reader.go

    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    	// It is only the responsibility of every exported method of Reader to
    	// ensure that this error is sticky.
    	err error
    }
    
    type fileReader interface {
    	io.Reader
    	fileState
    
    	WriteTo(io.Writer) (int64, error)
    }
    
    // NewReader creates a new [Reader] reading from r.
    func NewReader(r io.Reader) *Reader {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/os/file.go

    	e := ignoringEINTR(func() error {
    		return syscall.Mkdir(longName, syscallMode(perm))
    	})
    
    	if e != nil {
    		return &PathError{Op: "mkdir", Path: name, Err: e}
    	}
    
    	// mkdir(2) itself won't handle the sticky bit on *BSD and Solaris
    	if !supportsCreateWithStickyBit && perm&ModeSticky != 0 {
    		e = setStickyBit(name)
    
    		if e != nil {
    			Remove(name)
    			return e
    		}
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            workingDir = null;
            projectDir = null;
            buildScript = null;
            settingsFile = null;
            ignoreMissingSettingsFile = false;
            // ignoreCleanupAssertions is intentionally sticky
            // ignoreCleanupAssertions = false;
            quiet = false;
            taskList = false;
            dependencyList = false;
            executable = null;
            javaHome = null;
            environmentVars.clear();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    type bodyEOFSignal struct {
    	body         io.ReadCloser
    	mu           sync.Mutex        // guards following 4 fields
    	closed       bool              // whether Close has been called
    	rerr         error             // sticky Read error
    	fn           func(error) error // err will be nil on Read io.EOF
    	earlyCloseFn func() error      // optional alt Close func used if io.EOF not seen
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    				inlined := (j != len(loc.Line)-1)
    				stack.Sources = append(stack.Sources, getSrc(line, inlined))
    			}
    		}
    
    		leaf := stack.Sources[len(stack.Sources)-1]
    		s.Sources[leaf].Self += value
    		s.Stacks = append(s.Stacks, stack)
    	}
    }
    
    func (s *StackSet) fillPlaces() {
    	for i, stack := range s.Stacks {
    		seenSrcs := map[int]bool{}
    		for j, src := range stack.Sources {
    			if seenSrcs[src] {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    		return // error already reported
    	}
    
    	// Make stack data and generate corresponding JSON.
    	stacks := rpt.Stacks()
    	b, err := json.Marshal(stacks)
    	if err != nil {
    		http.Error(w, "error serializing stacks for flame graph",
    			http.StatusInternalServerError)
    		ui.options.UI.PrintErr(err)
    		return
    	}
    
    	nodes := make([]string, len(stacks.Sources))
    	for i, src := range stacks.Sources {
    		nodes[i] = src.FullName
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      // listed in places.
      function totalValue(places) {
        const seen = new Set();
        let pos = 0;
        let neg = 0;
        for (const place of places) {
          if (seen.has(place.Stack)) continue; // Do not double-count stacks
          seen.add(place.Stack);
          const stack = stacks.Stacks[place.Stack];
          if (stack.Value < 0) {
    	neg += -stack.Value;
          } else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. src/net/http/request.go

    type maxBytesReader struct {
    	w   ResponseWriter
    	r   io.ReadCloser // underlying reader
    	i   int64         // max bytes initially, for MaxBytesError
    	n   int64         // max bytes remaining
    	err error         // sticky error
    }
    
    func (l *maxBytesReader) Read(p []byte) (n int, err error) {
    	if l.err != nil {
    		return 0, l.err
    	}
    	if len(p) == 0 {
    		return 0, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.html

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">
      <title>{{.Title}}</title>
      {{template "css" .}}
      {{template "stacks_css"}}
    </head>
    <body>
      {{template "header" .}}
      <div id="stack-holder">
        <div id="stack-chart"></div>
        <div id="current-details"></div>
      </div>
      <div id="action-menu" class="submenu">
        <span id="action-title"></span>
        <hr>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/runtime/stack.go

    	// allocation.
    	if newsize < fixedStack {
    		return
    	}
    	// Compute how much of the stack is currently in use and only
    	// shrink the stack if gp is using less than a quarter of its
    	// current stack. The currently used stack includes everything
    	// down to the SP plus the stack guard space that ensures
    	// there's room for nosplit functions.
    	avail := gp.stack.hi - gp.stack.lo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top