Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 188 for ctan (0.07 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    		//
    		//   <-(chan E)   =>  (<-chan E)
    		//   <-(chan<-E)  =>  (<-chan (<-E))
    
    		if _, ok := x.(*ChanType); ok {
    			// x is a channel type => re-associate <-
    			dir := SendOnly
    			t := x
    			for dir == SendOnly {
    				c, ok := t.(*ChanType)
    				if !ok {
    					break
    				}
    				dir = c.Dir
    				if dir == RecvOnly {
    					// t is type <-chan E but <-<-chan E is not permitted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    			return true
    		}
    		// A boolean type can only convert to another boolean type.
    		if allBoolean(x.typ) != allBoolean(y.typ) {
    			return false
    		}
    		// A string type can only convert to another string type.
    		if allString(x.typ) != allString(y.typ) {
    			return false
    		}
    		// Untyped nil can only convert to a type that has a nil.
    		if x.isNil() {
    			return hasNil(y.typ)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. plugin/pkg/admission/resourcequota/admission_test.go

    	return createHandlerWithConfig(kubeClient, informerFactory, nil, stopCh)
    }
    
    func createHandlerWithConfig(kubeClient kubernetes.Interface, informerFactory informers.SharedInformerFactory, config *resourcequotaapi.Configuration, stopCh chan struct{}) (*resourcequota.QuotaAdmission, error) {
    	if config == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    	// we can go ahead and publish the heap profile.
    	//
    	// First, wait for sweeping to finish. (We know there are no
    	// more spans on the sweep queue, but we may be concurrently
    	// sweeping spans, so we have to wait.)
    	for work.cycles.Load() == n+1 && !isSweepDone() {
    		Gosched()
    	}
    
    	// Now we're really done with sweeping, so we can publish the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. src/testing/testing.go

    	// function - which runs in a separate stack - is marked as a helper, we can
    	// continue walking the stack into the parent test.
    	var pc [maxStackLen]uintptr
    	n := runtime.Callers(2, pc[:])
    	t = &T{
    		common: common{
    			barrier: make(chan bool),
    			signal:  make(chan bool, 1),
    			name:    testName,
    			parent:  &t.common,
    			level:   t.level + 1,
    			creator: pc[:n],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  6. src/crypto/tls/tls_test.go

    	}
    	return nil
    }
    
    func TestTLSUniqueMatches(t *testing.T) {
    	ln := newLocalListener(t)
    	defer ln.Close()
    
    	serverTLSUniques := make(chan []byte)
    	parentDone := make(chan struct{})
    	childDone := make(chan struct{})
    	defer close(parentDone)
    	go func() {
    		defer close(childDone)
    		for i := 0; i < 2; i++ {
    			sconn, err := ln.Accept()
    			if err != nil {
    				t.Error(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  7. pkg/controller/replicaset/replica_set_test.go

    	fakePodControl := controller.FakePodControl{}
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    	manager, informers := testNewReplicaSetControllerFromClient(t, client, stopCh, BurstReplicas)
    	manager.podControl = &fakePodControl
    
    	received := make(chan string)
    	manager.syncHandler = func(ctx context.Context, key string) error {
    		received <- key
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_client_test.go

    // when certain messages are seen.
    type opensslOutputSink struct {
    	handshakeComplete chan struct{}
    	readKeyUpdate     chan struct{}
    	all               []byte
    	line              []byte
    }
    
    func newOpensslOutputSink() *opensslOutputSink {
    	return &opensslOutputSink{make(chan struct{}), make(chan struct{}), nil, nil}
    }
    
    // opensslEndOfHandshake is a message that the “openssl s_server” tool will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    You can do many of the same things with file trees that you can with file collections:
    
    * iterate over them (depth first)
    * filter them (using link:{javadocPath}/org/gradle/api/file/FileTree.html#matching-org.gradle.api.Action-[FileTree.matching(org.gradle.api.Action)] and Ant-style patterns)
    * merge them
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
Back to top