Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 481 for Primes (0.62 sec)

  1. docs/distributed/DESIGN.md

    - We limited the number of drives to 16 for erasure set because, erasure code shards more than 16 can become chatty and do not have any performance advantages. Additionally since 16 drive erasure set gives you tolerance of 8 drives per object by default which is plenty in any practical scenario.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/tracebackctxt.go

    		{"main.TracebackContext", 0},
    	}
    
    	ok := true
    	i := 0
    wantLoop:
    	for _, w := range want {
    		for ; i < len(frames); i++ {
    			if w.function == frames[i].Function {
    				if w.line != 0 && w.line != frames[i].Line {
    					fmt.Printf("found function %s at wrong line %#x (expected %#x)\n", w.function, frames[i].Line, w.line)
    					ok = false
    				}
    				i++
    				continue wantLoop
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue19799.go

    	return x + 1
    }
    
    func test() {
    	defer func() {
    		if r := recover(); r != nil {
    			pcs := make([]uintptr, 10)
    			n := runtime.Callers(0, pcs)
    			pcs = pcs[:n]
    			frames := runtime.CallersFrames(pcs)
    			for {
    				f, more := frames.Next()
    				if f.Function == "main.foo" {
    					println("did not expect to see call to foo in stack trace")
    					os.Exit(1)
    				}
    				if !more {
    					break
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 13:41:01 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/traceback_test.go

    						break
    					}
    					i++
    				}
    				tb.frames = tb.frames[1:]
    			}
    			if !t.Failed() && len(tb.frames) > 0 {
    				t.Errorf("got %d more frames than expected", len(tb.frames))
    			}
    			if t.Failed() {
    				t.Logf("traceback diverged at frame %d", i)
    				off := len(stack)
    				if len(tb.frames) > 0 {
    					off = tb.frames[0].off
    				}
    				t.Logf("traceback before error:\n%s", stack[:off])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  5. 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)
  6. docs/erasure/storage-class/README.md

    on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB
    file will take 200 MiB space. But, if you use ten data and six parity drives, same 100 MiB file takes around 160 MiB. If you use 14 data and
    two parity drives, 100 MiB file takes only approximately 114 MiB.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. src/runtime/example_test.go

    			// otherwise be returned by frames.Next below.
    			return
    		}
    
    		pc = pc[:n] // pass only valid pcs to runtime.CallersFrames
    		frames := runtime.CallersFrames(pc)
    
    		// Loop to get frames.
    		// A fixed number of PCs can expand to an indefinite number of Frames.
    		for {
    			frame, more := frames.Next()
    
    			// Process this frame.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 18 22:05:09 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/pprof/proto.go

    func (d *pcDeck) tryAdd(pc uintptr, frames []runtime.Frame, symbolizeResult symbolizeFlag) (success bool) {
    	if existing := len(d.frames); existing > 0 {
    		// 'd.frames' are all expanded from one 'pc' and represent all
    		// inlined functions so we check only the last one.
    		newFrame := frames[0]
    		last := d.frames[existing-1]
    		if last.Func != nil { // the last frame can't be inlined. Flush.
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. test/fixedbugs/issue19467.dir/z.go

    	var wg mysync.WaitGroup
    	wg.Done()
    	ci := runtime.CallersFrames(wg.Callers)
    	frames := make([]runtime.Frame, 0, 4)
    	for {
    		frame, more := ci.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    	expecting := []string{
    		"test/mysync.(*WaitGroup).Add",
    		"test/mysync.(*WaitGroup).Done",
    	}
    	for i := 0; i < 2; i++ {
    		if frames[i].Function != expecting[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 696 bytes
    - Viewed (0)
  10. src/runtime/tracestack.go

    // pcBuf and dst should not overlap.
    //
    // fpunwindExpand checks if pcBuf contains logical frames (which include inlined
    // frames) or physical frames (produced by frame pointer unwinding) using a
    // sentinel value in pcBuf[0]. Logical frames are simply returned without the
    // sentinel. Physical frames are turned into logical frames via inline unwinding
    // and by applying the skip value that's stored in pcBuf[0].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top