Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 126 for goTo (0.06 sec)

  1. src/runtime/malloc.go

    		//
    		// Only do this if we're using the regular heap arena hints.
    		// This behavior is only for the heap.
    		v = h.arena.alloc(n, heapArenaBytes, &gcController.heapReleased)
    		if v != nil {
    			size = n
    			goto mapped
    		}
    	}
    
    	// Try to grow the heap at a hint address.
    	for *hintList != nil {
    		hint := *hintList
    		p := hint.addr
    		if hint.down {
    			p -= n
    		}
    		if p+n < p {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stmt.go

    				case ctxt&inTypeSwitch != 0:
    					msg = "cannot fallthrough in type switch"
    				default:
    					msg = "fallthrough statement out of place"
    				}
    				check.error(s, MisplacedFallthrough, msg)
    			}
    		case syntax.Goto:
    			// goto's must have labels, should have been caught above
    			fallthrough
    		default:
    			check.errorf(s, InvalidSyntaxTree, "branch statement: %s", s.Tok)
    		}
    
    	case *syntax.BlockStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/runtime/stack.go

    					print("adjust ptr ", hex(p), " ", funcname(f), "\n")
    				}
    				if useCAS {
    					ppu := (*unsafe.Pointer)(unsafe.Pointer(pp))
    					if !atomic.Casp1(ppu, unsafe.Pointer(p), unsafe.Pointer(p+delta)) {
    						goto retry
    					}
    				} else {
    					*pp = p + delta
    				}
    			}
    		}
    	}
    }
    
    // Note: the argument/return area is adjusted by the callee.
    func adjustframe(frame *stkframe, adjinfo *adjustinfo) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. src/strings/strings.go

    // form of case-insensitivity.
    func EqualFold(s, t string) bool {
    	// ASCII fast path
    	i := 0
    	for ; i < len(s) && i < len(t); i++ {
    		sr := s[i]
    		tr := t[i]
    		if sr|tr >= utf8.RuneSelf {
    			goto hasUnicode
    		}
    
    		// Easy case.
    		if tr == sr {
    			continue
    		}
    
    		// Make sr < tr to simplify what follows.
    		if tr < sr {
    			tr, sr = sr, tr
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/runtime/mgcsweep.go

    		if sweepone() == ^uintptr(0) {
    			mheap_.sweepPagesPerByte = 0
    			break
    		}
    		if mheap_.pagesSweptBasis.Load() != sweptBasis {
    			// Sweep pacing changed. Recompute debt.
    			goto retry
    		}
    	}
    
    	trace = traceAcquire()
    	if trace.ok() {
    		trace.GCSweepDone()
    		traceRelease(trace)
    	}
    }
    
    // clobberfree sets the memory content at x to bad content, for debugging
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    								combineSharedBlocks[block] = combineShared
    								fmt.Println("Retrying with merged data")
    								if addedFiles >= len(files[partIdx]) {
    									attempt++
    									goto nextAttempt
    								}
    							}
    						}
    					}
    				}
    				if m.blockOffset != len(combined) {
    					return fmt.Errorf("Block offset mismatch. Expected %d got %d", m.blockOffset, len(combined))
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. src/runtime/trace.go

    				printlock()
    				println("runtime: got trace reader", g2, g2.goid)
    				throw("unexpected trace reader")
    			}
    
    			return true
    		}, nil, waitReasonTraceReaderBlocked, traceBlockSystemGoroutine, 2)
    		goto top
    	}
    
    	return buf
    }
    
    // readTrace0 is ReadTrace's continuation on g0. This must run on the
    // system stack because it acquires trace.lock.
    //
    //go:systemstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. src/net/http/h2_bundle.go

    			v = d - 'A' + 10
    		default:
    			n = 0
    			err = strconv.ErrSyntax
    			goto Error
    		}
    		if int(v) >= base {
    			n = 0
    			err = strconv.ErrSyntax
    			goto Error
    		}
    
    		if n >= cutoff {
    			// n*base overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n *= uint64(base)
    
    		n1 := n + uint64(v)
    		if n1 < n || n1 > maxVal {
    			// n+v overflows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  9. src/runtime/panic.go

    			return *(*func())(add(p.slotsPtr, i*goarch.PtrSize)), true
    		}
    
    	Recheck:
    		if d := gp._defer; d != nil && d.sp == uintptr(p.sp) {
    			if d.rangefunc {
    				deferconvert(d)
    				popDefer(gp)
    				goto Recheck
    			}
    
    			fn := d.fn
    
    			// TODO(mdempsky): Instead of having each deferproc call have
    			// its own "deferreturn(); return" sequence, we should just make
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/obj.go

    	// unnecessarily. See issue #35470.
    	p = ctxt.StartUnsafePoint(p, newprog)
    
    	var to_done, to_more *obj.Prog
    
    	if framesize <= abi.StackSmall {
    		// small stack
    		//	// if SP > stackguard { goto done }
    		//	BLTU	stackguard, SP, done
    		p = obj.Appendp(p, newprog)
    		p.As = ABLTU
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = REG_X6
    		p.Reg = REG_SP
    		p.To.Type = obj.TYPE_BRANCH
    		to_done = p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top