Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,683 for dosplit (0.83 sec)

  1. test/fixedbugs/bug071.go

    // license that can be found in the LICENSE file.
    
    package bug071
    
    type rat struct  {
    	den  int;
    }
    
    func (u *rat) pr() {
    }
    
    type dch struct {
    	dat chan  *rat;
    }
    
    func dosplit(in *dch){
    	dat := <-in.dat;
    	_ = dat;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 336 bytes
    - Viewed (0)
  2. test/fixedbugs/bug078.go

    // run
    
    // Copyright 2009 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.
    
    package main
    
    func dosplit(wait chan int ){
    	select {
    	case <-wait:
    	}
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 258 bytes
    - Viewed (0)
  3. test/chan/powser1.go

    // generation to begin servicing out[1].
    
    func dosplit(in *dch, out *dch2, wait chan int) {
    	both := false // do not service both channels
    
    	select {
    	case <-out[0].req:
    
    	case <-wait:
    		both = true
    		select {
    		case <-out[0].req:
    
    		case <-out[1].req:
    			out[0], out[1] = out[1], out[0]
    		}
    	}
    
    	seqno++
    	in.req <- seqno
    	release := make(chan int)
    	go dosplit(in, out, release)
    	dat := <-in.dat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 12.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	}
    	for _, uc := range us.clients {
    		uss.doSplit = uss.doSplit || uc.split
    	}
    	uss.exercise()
    }
    
    type uniformScenarioState struct {
    	t *testing.T
    	uniformScenario
    	startTime                                                                              time.Time
    	doSplit                                                                                bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  5. test/chan/powser2.go

    func dosplit(in *dch, out *dch2, wait chan int) {
    	both := false // do not service both channels
    
    	select {
    	case <-out[0].req:
    
    	case <-wait:
    		both = true
    		select {
    		case <-out[0].req:
    
    		case <-out[1].req:
    			out[0], out[1] = out[1], out[0]
    		}
    	}
    
    	seqno++
    	in.req <- seqno
    	release := make(chan int)
    	go dosplit(in, out, release)
    	dat := <-in.dat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 13.3K bytes
    - Viewed (0)
  6. test/nosplit.go

    start 96 nosplit call f; f 0 nosplit
    start 100 nosplit call f; f 0 nosplit; REJECT ppc64 ppc64le
    start 104 nosplit call f; f 0 nosplit; REJECT ppc64 ppc64le arm64
    start 108 nosplit call f; f 0 nosplit; REJECT ppc64 ppc64le
    start 112 nosplit call f; f 0 nosplit; REJECT ppc64 ppc64le amd64 arm64
    start 116 nosplit call f; f 0 nosplit; REJECT ppc64 ppc64le amd64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/debug/dwarf/testdata/split.c

    // gcc -gsplit-dwarf split.c -o split.elf
    
    int main() 
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 15 17:57:56 UTC 2015
    - 59 bytes
    - Viewed (0)
  8. src/go/printer/testdata/complit.x

    package complit
    
    var (
    	// Multi-line declarations
    	V1	= T{
    		F1: "hello",
    		// contains filtered or unexported fields
    	}
    	V2	= T{
    
    		F1: "hello",
    		// contains filtered or unexported fields
    	}
    	V3	= T{
    		F1:	"hello",
    		F2: T2{
    			A: "world",
    			// contains filtered or unexported fields
    		},
    		// contains filtered or unexported fields
    	}
    	V4	= T{
    		// contains filtered or unexported fields
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 01 19:53:32 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  9. src/go/printer/testdata/complit.input

    // Copyright 2018 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.
    
    package complit
    
    var (
    	// Multi-line declarations
    	V1 = T{
    		F1: "hello",
    		f2: 1,
    	}
    	V2 = T{
    		f2: 1,
    		F1: "hello",
    	}
    	V3 = T{
    		F1: "hello",
    		F2: T2{
    			A: "world",
    			b: "hidden",
    		},
    		f3: T2{
    			A: "world",
    		},
    	}
    	V4 = T{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 01 19:53:32 UTC 2018
    - 912 bytes
    - Viewed (0)
  10. test/ken/complit.go

    Rob Pike <******@****.***> 1330061064 +1100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.3K bytes
    - Viewed (0)
Back to top