Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for goTo (0.04 sec)

  1. src/internal/trace/gc.go

    		// worse.
    		for i, ui := range acc.wHeap {
    			if time+int64(window) > ui.Time && ui.Time+int64(window) > time {
    				if ui.MutatorUtil <= mu {
    					// Keep the first window.
    					goto keep
    				} else {
    					// Replace it with this window.
    					heap.Remove(&acc.wHeap, i)
    					break
    				}
    			}
    		}
    
    		heap.Push(&acc.wHeap, UtilWindow{time, mu})
    		if len(acc.wHeap) > acc.nWorst {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K 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/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)
  9. pkg/config/model.go

    package config
    
    import (
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"reflect"
    	"time"
    
    	gogojsonpb "github.com/gogo/protobuf/jsonpb" // nolint: depguard
    	gogoproto "github.com/gogo/protobuf/proto"   // nolint: depguard
    	gogotypes "github.com/gogo/protobuf/types"   // nolint: depguard
    	"google.golang.org/protobuf/proto"
    	"google.golang.org/protobuf/reflect/protoreflect"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. hack/unwanted-dependencies.json

          "github.com/go-openapi/validate": "use k8s.io/kube-openapi/pkg/validation/validate instead",
          "github.com/gogo/googleapis": "depends on unmaintained github.com/gogo/protobuf",
          "github.com/gogo/protobuf": "unmaintained",
          "github.com/golang/mock": "unmaintained, archive mode",
          "github.com/google/gofuzz": "unmaintained, archive mode",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 12:31:38 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top