Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 259 for recv3 (0.08 sec)

  1. src/go/doc/doc.go

    //
    // If recv == "", HasSym reports whether the package has a top-level
    // const, func, type, or var named name.
    //
    // If recv != "", HasSym reports whether the package has a type
    // named recv with a method named name.
    func (p *Package) lookupSym(recv, name string) bool {
    	if recv != "" {
    		return p.syms[recv+"."+name]
    	}
    	return p.syms[name]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/go/doc/comment/print.go

    			baseURL += "/"
    		}
    		switch {
    		case l.Name == "":
    			return baseURL + l.ImportPath + slash
    		case l.Recv != "":
    			return baseURL + l.ImportPath + slash + "#" + l.Recv + "." + l.Name
    		default:
    			return baseURL + l.ImportPath + slash + "#" + l.Name
    		}
    	}
    	if l.Recv != "" {
    		return "#" + l.Recv + "." + l.Name
    	}
    	return "#" + l.Name
    }
    
    // DefaultID returns the default anchor ID for the heading h.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go

    		return
    	}
    
    	// Special case: Is, As and Unwrap only apply when type
    	// implements error.
    	if id.Name == "Is" || id.Name == "As" || id.Name == "Unwrap" {
    		if recv := sign.Recv(); recv == nil || !implementsError(recv.Type()) {
    			return
    		}
    	}
    
    	// Special case: Unwrap has two possible signatures.
    	// Check for Unwrap() []error here.
    	if id.Name == "Unwrap" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. src/net/rpc/client_test.go

    	}
    }
    
    // Test that errors in gob shut down the connection. Issue 7689.
    
    type R struct {
    	msg []byte // Not exported, so R does not work with gob.
    }
    
    type S struct{}
    
    func (s *S) Recv(nul *struct{}, reply *R) error {
    	*reply = R{[]byte("foo")}
    	return nil
    }
    
    func TestGobError(t *testing.T) {
    	defer func() {
    		err := recover()
    		if err == nil {
    			t.Fatal("no error")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  5. src/runtime/sigqueue.go

    //
    //go:linkname signal_recv os/signal.signal_recv
    func signal_recv() uint32 {
    	for {
    		// Serve any signals from local copy.
    		for i := uint32(0); i < _NSIG; i++ {
    			if sig.recv[i/32]&(1<<(i&31)) != 0 {
    				sig.recv[i/32] &^= 1 << (i & 31)
    				return i
    			}
    		}
    
    		// Wait for updates to be available from signal sender.
    	Receive:
    		for {
    			switch sig.state.Load() {
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            if ( fraglen > getMaxRecv() ) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
            while ( have < fraglen ) {
                int r = this.handle.recv(inB, have, fraglen - have);
                if ( r == 0 ) {
                    throw new IOException("Unexpected EOF");
                }
                have += r;
            }
    
            return have;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  7. src/runtime/runtime-gdb.py

    		return str(self.val.type)
    
    	def children(self):
    		# see chan.c chanbuf(). et is the type stolen from hchan<T>::recvq->first->elem
    		et = [x.type for x in self.val['recvq']['first'].type.target().fields() if x.name == 'elem'][0]
    		ptr = (self.val.address["buf"]).cast(et)
    		for i in range(self.val["qcount"]):
    			j = (self.val["recvx"] + i) % self.val["dataqsiz"]
    			yield ('[{0}]'.format(i), (ptr + j).dereference())
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. pkg/istio-agent/tap_proxy.go

    }
    
    const (
    	TypeDebugPrefix = "istio.io/debug/"
    )
    
    func (p *tapProxy) StreamAggregatedResources(downstream DiscoveryStream) error {
    	timeout := time.Second * 15
    	req, err := downstream.Recv()
    	if err != nil {
    		log.Errorf("failed to recv: %v", err)
    		return err
    	}
    	if strings.HasPrefix(req.TypeUrl, TypeDebugPrefix) {
    		if resp, err := p.xdsProxy.tapRequest(req, timeout); err == nil {
    			err := downstream.Send(resp)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. pkg/istio-agent/xds_proxy_delta.go

    	con := &ProxyConnection{
    		conID:             connectionNumber.Inc(),
    		upstreamError:     make(chan error), // can be produced by recv and send
    		downstreamError:   make(chan error), // can be produced by recv and send
    		deltaRequestsChan: channels.NewUnbounded[*discovery.DeltaDiscoveryRequest](),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. test/chan/nonblock.go

    					panic("fail")
    				}
    				sleep()
    			}
    		}
    		<-sync
    
    		go i32sender(c32, sync)
    		if buffer > 0 {
    			<-sync
    		}
    		try = 0
    	Recv32:
    		for {
    			select {
    			case i32 = <-c32:
    				break Recv32
    			default:
    				try++
    				if try > maxTries {
    					println("i32sender buffer=", buffer)
    					panic("fail")
    				}
    				sleep()
    			}
    		}
    		if i32 != 234 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 3.9K bytes
    - Viewed (0)
Back to top