Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 91 for recv_a (0.53 sec)

  1. test/chan/select5.go

    }
    `
    
    func parse(name, s string) *template.Template {
    	t, err := template.New(name).Parse(s)
    	if err != nil {
    		panic(fmt.Sprintf("%q: %s", name, err))
    	}
    	return t
    }
    
    var recv = parse("recv", `
    	{{/*  Send n, receive it one way or another into x, check that they match. */}}
    	c <- n
    	{{if .Maybe}}
    	x = <-c
    	{{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)
  2. src/syscall/zsyscall_windows.go

    }
    
    func AcceptEx(ls Handle, as Handle, buf *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, recvd *uint32, overlapped *Overlapped) (err error) {
    	r1, _, e1 := Syscall9(procAcceptEx.Addr(), 8, uintptr(ls), uintptr(as), uintptr(unsafe.Pointer(buf)), uintptr(rxdatalen), uintptr(laddrlen), uintptr(raddrlen), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(overlapped)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (1)
  3. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

        // CHECK:           %[[RECV0:.+]] = "tf._XlaRecvAtHost"(%[[PROGRAM0]])
        // CHECK-SAME:        device_ordinal = 0
        // CHECK-SAME:        key = "host_compute_channel_0_args"
        // CHECK-SAME:        _xla_has_host_transfer = true
        // CHECK:           %[[B0:.+]] = "tf.OpB"(%[[RECV0]]) : (tensor<2x2xi64>) -> tensor<2x2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K 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. docs/pt/docs/tutorial/body-nested-models.md

    Então podemos importar `Set` e declarar `tags` como um `set` de `str`s:
    
    
    ```Python hl_lines="1  14"
    {!../../../docs_src/body_nested_models/tutorial003.py!}
    ```
    
    Com isso, mesmo que você receba uma requisição contendo dados duplicados, ela será convertida em um conjunto de itens exclusivos.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. 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)
  7. docs/es/docs/tutorial/first-steps.md

    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Esto es una función de Python.
    
    Esta función será llamada por **FastAPI** cada vez que reciba un request en la URL "`/`" usando una operación `GET`.
    
    En este caso es una función `async`.
    
    ---
    
    También podrías definirla como una función estándar en lugar de `async def`:
    
    ```Python hl_lines="7"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. 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)
  9. docs/pt/docs/help-fastapi.md

    Nas questões do GitHub o template irá te guiar para que você faça a sua pergunta de um jeito mais correto, fazendo com que você receba respostas mais completas, e até mesmo que você mesmo resolva o problema antes de perguntar. E no GitHub eu garanto que sempre irei responder todas as perguntas, mesmo que leve um tempo. Eu pessoalmente não consigo fazer isso via chat. 😅
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/go/types/methodset_test.go

    	T := pkg.Scope().Lookup("T").Type()
    	name := "m"
    	for _, recv := range []Type{T, NewPointer(T)} {
    		// LookupFieldOrMethod and NewMethodSet must match:
    		// either both find m or neither finds it.
    		obj1, _, _ := LookupFieldOrMethod(recv, false, pkg, name)
    		mset := NewMethodSet(recv)
    		if (obj1 != nil) != (mset.Len() == 1) {
    			t.Fatalf("lookup(%v.%s): got obj = %v, mset = %v", recv, name, obj1, mset)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 08 15:27:57 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top