Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,724 for select64 (0.11 sec)

  1. src/cmd/compile/internal/ssa/tuple.go

    			if t := selectors[key]; t != nil {
    				if selector != t {
    					selector.copyOf(t)
    				}
    				continue
    			}
    
    			// If the selector is in the wrong block copy it into the target
    			// block.
    			if selector.Block != tuple.Block {
    				t := selector.copyInto(tuple.Block)
    				selector.copyOf(t)
    				selectors[key] = t
    				continue
    			}
    
    			// The selector is in the target block. Add it to the map so it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 02:52:33 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. test/chan/select.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test simple select.
    
    package main
    
    var counter uint
    var shift uint
    
    func GetValue() uint {
    	counter++
    	return 1 << shift
    }
    
    func Send(a, b chan uint) int {
    	var i int
    
    LOOP:
    	for {
    		select {
    		case a <- GetValue():
    			i++
    			a = nil
    		case b <- GetValue():
    			i++
    			b = nil
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 913 bytes
    - Viewed (0)
  3. test/chan/select5.go

    	order = 0
    	c <- n
    	{{if .Maybe}}
    	{{/*  Outside of select, left-to-right rule applies. */}}
    	{{/*  (Inside select, assignment waits until case is chosen, */}}
    	{{/*  so right hand side happens before anything on left hand side. */}}
    	*fp(&x, 1) = <-fc(c, 2)
    	{{else}}{{if .Maybe}}
    	m[fn(13, 1)] = <-fc(c, 2)
    	x = m[13]
    	{{else}}
    	select {
    	{{/*  Blocking or non-blocking, before the receive. */}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10K bytes
    - Viewed (0)
  4. test/chan/select7.go

    // license that can be found in the LICENSE file.
    
    // Test select when discarding a value.
    
    package main
    
    import "runtime"
    
    func recv1(c <-chan int) {
    	<-c
    }
    
    func recv2(c <-chan int) {
    	select {
    	case <-c:
    	}
    }
    
    func recv3(c <-chan int) {
    	c2 := make(chan int)
    	select {
    	case <-c:
    	case <-c2:
    	}
    }
    
    func send1(recv func(<-chan int)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 932 bytes
    - Viewed (0)
  5. test/chan/select8.go

    // Test break statements in a select.
    // Gccgo had a bug in handling this.
    // Test 1,2,3-case selects, so it covers both the general
    // code path and the specialized optimizations for one-
    // and two-case selects.
    
    package main
    
    var ch = make(chan int)
    
    func main() {
    	go func() {
    		for {
    			ch <- 5
    		}
    	}()
    
    	select {
    	case <-ch:
    		break
    		panic("unreachable")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 10 18:02:11 UTC 2019
    - 826 bytes
    - Viewed (0)
  6. test/codegen/select.go

    // license that can be found in the LICENSE file.
    
    package codegen
    
    func f() {
    	ch1 := make(chan int)
    	ch2 := make(chan int)
    	for {
    		// amd64:-`MOVQ\t[$]0, command-line-arguments..autotmp_3`
    		select {
    		case <-ch1:
    		case <-ch2:
    		default:
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 18:19:47 UTC 2022
    - 373 bytes
    - Viewed (0)
  7. docs/select/select.py

                      region_name='us-east-1')
    
    r = s3.select_object_content(
        Bucket='mycsvbucket',
        Key='sampledata/TotalPopulation.csv.gz',
        ExpressionType='SQL',
        Expression="select * from s3object s where s.Location like '%United States%'",
        InputSerialization={
            'CSV': {
                "FileHeaderInfo": "USE",
            },
            'CompressionType': 'GZIP',
        },
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Aug 18 00:11:39 UTC 2018
    - 1K bytes
    - Viewed (0)
  8. clause/select.go

    package clause
    
    // Select select attrs when querying, updating, creating
    type Select struct {
    	Distinct   bool
    	Columns    []Column
    	Expression Expression
    }
    
    func (s Select) Name() string {
    	return "SELECT"
    }
    
    func (s Select) Build(builder Builder) {
    	if len(s.Columns) > 0 {
    		if s.Distinct {
    			builder.WriteString("DISTINCT ")
    		}
    
    		for idx, column := range s.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jul 14 07:51:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/toolchain/select.go

    var counterErrorsInvalidToolchainInFile = telemetry.NewCounter("go/errors:invalid-toolchain-in-file")
    
    // Select invokes a different Go toolchain if directed by
    // the GOTOOLCHAIN environment variable or the user's configuration
    // or go.mod file.
    // It must be called early in startup.
    // See https://go.dev/doc/toolchain#select.
    func Select() {
    	log.SetPrefix("go: ")
    	defer log.SetPrefix("")
    
    	if !modload.WillBeEnabled() {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. test/typeparam/select.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 187 bytes
    - Viewed (0)
Back to top