Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 164 for switches$ (0.15 sec)

  1. src/cmd/link/internal/ld/dwarf.go

    	gs.AddUint8(GdbScriptPythonFileId)
    	gs.Addstring(gdbscript)
    	return dwarfSecInfo{syms: []loader.Sym{gs.Sym()}}
    }
    
    // FIXME: might be worth looking replacing this map with a function
    // that switches based on symbol instead.
    
    var prototypedies map[string]*dwarf.DWDie
    
    func dwarfEnabled(ctxt *Link) bool {
    	if *FlagW { // disable dwarf
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/init.go

    					// Report this more specific error, unless we are a command like 'go work use'
    					// or 'go work sync', which will fix the problem after the caller sees the TooNewError
    					// and switches to a newer toolchain.
    					err = errWorkTooOld(gomod, workFile, tooNew.GoVersion)
    				} else {
    					err = fmt.Errorf("cannot load module %s listed in go.work file: %w",
    						base.ShortPath(filepath.Dir(gomod)), err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  3. doc/go_spec.html

    inside the "switch" to determine which branch
    to execute.
    </p>
    
    <pre class="ebnf">
    SwitchStmt = ExprSwitchStmt | TypeSwitchStmt .
    </pre>
    
    <p>
    There are two forms: expression switches and type switches.
    In an expression switch, the cases contain expressions that are compared
    against the value of the switch expression.
    In a type switch, the cases contain types that are compared against the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  4. src/net/http/transport.go

    	// waiting for the server to approve.
    	// This time does not include the time to send the request header.
    	ExpectContinueTimeout time.Duration
    
    	// TLSNextProto specifies how the Transport switches to an
    	// alternate protocol (such as HTTP/2) after a TLS ALPN
    	// protocol negotiation. If Transport dials a TLS connection
    	// with a non-empty protocol name and TLSNextProto contains a
    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/internal/types/testdata/check/stmt0.go

    	}
    }
    
    func returns3() (_ int) {
    	return
    	{
    		var _ int // blank (_) identifiers never shadow since they are in no scope
    		return
    	}
    }
    
    func switches0() {
    	var x int
    
    	switch x {
    	}
    
    	switch x {
    	default:
    	default /* ERROR "multiple defaults" */ :
    	}
    
    	switch {
    	case 1  /* ERROR "cannot convert" */ :
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/cmd/go/internal/gover/toolchain.go

    }
    
    var ErrTooNew = errors.New("module too new")
    
    func (e *TooNewError) Is(err error) bool {
    	return err == ErrTooNew
    }
    
    // A Switcher provides the ability to switch to a new toolchain in response to TooNewErrors.
    // See [cmd/go/internal/toolchain.Switcher] for documentation.
    type Switcher interface {
    	Error(err error)
    	Switch(ctx context.Context)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    						SchemaProps: spec.SchemaProps{
    							Description: "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.",
    							Type:        []string{"boolean"},
    							Format:      "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  8. releasenotes/notes/gogo-protobuf.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: extensibility
    issue:
    - 26751
    
    upgradeNotes:
    - title: gogo/protobuf library migration
      content: |
        The `istio.io/api` and `istio.io/client-go` libraries have switched from using the [gogo/protobuf](https://github.com/gogo/protobuf)
        to using the [golang/protobuf](https://github.com/golang/protobuf) library for API types.
        
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 25 00:08:22 UTC 2022
    - 775 bytes
    - Viewed (0)
  9. releasenotes/notes/revision-tag-default-validation.yaml

        through the default tag will also win leader elections and assume singleton cluster responsibilities.
    
    upgradeNotes:
      - title: Default revision must be switched when performing a revision-based upgrade.
        content: |
          When installing a new Istio control plane revision the previous resource validator will remain unchanged to prevent
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 956 bytes
    - Viewed (0)
  10. test/fixedbugs/issue15747.go

    func f1(q *Q, xx []byte) interface{} { // ERROR "live at call to newobject: xx$" "live at entry to f1: xx$"
    	// xx was copied from the stack to the heap on the previous line:
    	// xx was live for the first two prints but then it switched to &xx
    	// being live. We should not see plain xx again.
    	if b {
    		global = &xx
    	}
    	xx, _, err := f2(xx, 5) // ERROR "live at call to f2: &xx$"
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top