Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for ctan (0.15 sec)

  1. test/fixedbugs/issue25055.dir/a.go

    // 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 a
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 06 20:25:52 UTC 2018
    - 195 bytes
    - Viewed (0)
  2. test/nil.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test nil.
    
    package main
    
    import (
    	"fmt"
    	"time"
    )
    
    type T struct {
    	i int
    }
    
    type IN interface{}
    
    func main() {
    	var i *int
    	var f *float32
    	var s *string
    	var m map[float32]*int
    	var c chan int
    	var t *T
    	var in IN
    	var ta []IN
    
    	i = nil
    	f = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 2.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/watch/streamwatcher_test.go

    */
    
    package watch_test
    
    import (
    	"fmt"
    	"io"
    	"reflect"
    	"testing"
    	"time"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	. "k8s.io/apimachinery/pkg/watch"
    )
    
    type fakeDecoder struct {
    	items chan Event
    	err   error
    }
    
    func (f fakeDecoder) Decode() (action EventType, object runtime.Object, err error) {
    	if f.err != nil {
    		return "", nil, f.err
    	}
    	item, open := <-f.items
    	if !open {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 06 13:42:59 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. test/typeparam/mdempsky/3.dir/a.go

    // Copyright 2021 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 a
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 07 11:12:24 UTC 2021
    - 211 bytes
    - Viewed (0)
  5. test/torture.go

    }
    
    func ChainMulBytes(a, b, c byte) byte {
    	return a*(a*(a*(a*(a*(a*(a*(a*(a*b+c)+c)+c)+c)+c)+c)+c)+c) + c
    }
    
    func ChainCap() {
    	select {
    	case <-make(chan int, cap(make(chan int, cap(make(chan int, cap(make(chan int, cap(make(chan int))))))))):
    	default:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 01 07:20:51 UTC 2014
    - 7.7K bytes
    - Viewed (0)
  6. test/fixedbugs/issue31053.dir/f1.go

    // 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.
    
    package f1
    
    type Foo struct {
    	doneChan chan bool
    	Name     string
    	fOO      int
    	hook     func()
    }
    
    func (f *Foo) Exported() {
    }
    
    func (f *Foo) unexported() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 08 20:44:01 UTC 2020
    - 322 bytes
    - Viewed (0)
  7. test/fixedbugs/issue65593.go

    // compile
    
    // Copyright 2024 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 p
    
    const run = false
    
    func f() {
    	if !run {
    		return
    	}
    
    	messages := make(chan struct{}, 1)
    main:
    	for range messages {
    		break main
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 21:07:10 UTC 2024
    - 319 bytes
    - Viewed (0)
  8. internal/bpool/bpool.go

    package bpool
    
    import "github.com/klauspost/reedsolomon"
    
    // BytePoolCap implements a leaky pool of []byte in the form of a bounded channel.
    type BytePoolCap struct {
    	c    chan []byte
    	w    int
    	wcap int
    }
    
    // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new
    // byte arrays sized based on width.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. test/typeparam/issue48609.go

    // compile
    
    // Copyright 2021 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 p
    
    func f[T ~chan E, E any](e E) T {
    	ch := make(T)
    	go func() {
    		defer close(ch)
    		ch <- e
    	}()
    	return ch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 291 bytes
    - Viewed (0)
  10. test/fixedbugs/bug071.go

    // compile
    
    // 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 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)
Back to top