Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for switches$ (0.2 sec)

  1. src/cmd/go/internal/toolchain/switch.go

    // Otherwise Switch prints all the errors using base.Error.
    //
    // See https://go.dev/doc/toolchain#switch.
    type Switcher struct {
    	TooNew *gover.TooNewError // max go requirement observed
    	Errors []error            // errors collected so far
    }
    
    // Error reports the error to the Switcher,
    // which saves it for processing during Switch.
    func (s *Switcher) Error(err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/runtime/coro.go

    	mcall(coroswitch_m)
    }
    
    //go:linkname coroswitch
    
    // coroswitch switches to the goroutine blocked on c
    // and then blocks the current goroutine on c.
    func coroswitch(c *coro) {
    	gp := getg()
    	gp.coroarg = c
    	mcall(coroswitch_m)
    }
    
    // coroswitch_m is the implementation of coroswitch
    // that runs on the m stack.
    //
    // Note: Coroutine switches are expected to happen at
    // an order of magnitude (or more) higher frequency
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. tools/bug-report/pkg/testdata/output/format_txt_with_time_filter.log

    2020-06-29T23:37:27.336155Z	info	Channel switches to new LB policy "pick_first"
    2020-06-29T23:37:27.336189Z	info	Subchannel Connectivity change to CONNECTING
    2020-06-29T23:37:27.336222Z	info	Starting gateway SDS
    2020-06-29T23:37:27.336491Z	info	pickfirstBalancer: HandleSubConnStateChange: 0xc00087d1e0, {CONNECTING <nil>}
    2020-06-29T23:37:27.336645Z	info	Channel Connectivity change to CONNECTING
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 578 bytes
    - Viewed (0)
  4. test/typeswitch2b.go

    // errorcheck
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Verify that various erroneous type switches are caught by the compiler.
    // Does not compile.
    
    package main
    
    func notused(x interface{}) {
    	// The first t is in a different scope than the 2nd t; it cannot
    	// be accessed (=> declared and not used error); but it is legal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:10:19 UTC 2022
    - 598 bytes
    - Viewed (0)
  5. tools/bug-report/pkg/testdata/input/format_txt.log

    2020-06-29T23:37:27.336149Z	info	ClientConn switching balancer to "pick_first"
    2020-06-29T23:37:27.336155Z	info	Channel switches to new LB policy "pick_first"
    2020-06-29T23:37:27.336189Z	info	Subchannel Connectivity change to CONNECTING
    2020-06-29T23:37:27.336222Z	info	Starting gateway SDS
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. test/codegen/switch.go

    		return "C"
    	// amd64: `CMPL\s\(.*\), \$1718907950$`
    	// arm64: `MOVD\s\$1718907950`, `CMPW\sR.*, R.*$`
    	case ".ttf":
    		return "D"
    	default:
    		return ""
    	}
    }
    
    // use jump tables for type switches to concrete types.
    func typeSwitch(x any) int {
    	// amd64:`JMP\s\(.*\)\(.*\)$`
    	// arm64:`MOVD\s\(R.*\)\(R.*<<3\)`,`JMP\s\(R.*\)$`
    	switch x.(type) {
    	case int:
    		return 0
    	case int8:
    		return 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 18:39:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/internal/abi/iface.go

    // is implementing (Inter), and some ancillary information.
    //
    // allocated in non-garbage-collected memory
    type ITab struct {
    	Inter *InterfaceType
    	Type  *Type
    	Hash  uint32     // copy of Type.Hash. Used for type switches.
    	Fun   [1]uintptr // variable sized. fun[0]==0 means Type does not implement Inter.
    }
    
    // EmptyInterface describes the layout of a "interface{}" or a "any."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 895 bytes
    - Viewed (0)
  8. tools/bug-report/pkg/testdata/output/format_txt_no_time_filter.log

    2020-06-29T23:37:27.336149Z	info	ClientConn switching balancer to "pick_first"
    2020-06-29T23:37:27.336155Z	info	Channel switches to new LB policy "pick_first"
    2020-06-29T23:37:27.336189Z	info	Subchannel Connectivity change to CONNECTING
    2020-06-29T23:37:27.336222Z	info	Starting gateway SDS
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/gotoolchain_loop.txt

    env TESTGO_VERSION_SWITCH=loop
    ! go version
    stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
    stderr -count=1 '^go: switching from go1.21.1 to go1.21.99 \[depth 100\]$'
    stderr '^go: too many toolchain switches$'
    
    [short] skip
    
    # Internal env vars should not leak to go test or go run.
    env TESTGO_VERSION_SWITCH=switch
    go version
    stdout go1.21.99
    go test
    stdout clean
    go run .
    stdout clean
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:20:23 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/sync/mutex.go

    	// already running on CPU and there can be lots of them, so a woken up
    	// waiter has good chances of losing. In such case it is queued at front
    	// of the wait queue. If a waiter fails to acquire the mutex for more than 1ms,
    	// it switches mutex to the starvation mode.
    	//
    	// In starvation mode ownership of the mutex is directly handed off from
    	// the unlocking goroutine to the waiter at the front of the queue.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top