Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 90 for sendErr (0.12 sec)

  1. internal/grid/muxserver.go

    	go func() {
    		wg.Wait()
    		defer xioutil.SafeClose(send)
    		err := m.handleRequests(ctx, msg, send, handler, handlerIn)
    		if err != nil {
    			handlerErr.Store(err)
    		}
    	}()
    
    	// Response sender goroutine...
    	go func(outBlock <-chan struct{}) {
    		wg.Wait()
    		defer m.parent.deleteMux(true, m.ID)
    		m.sendResponses(ctx, send, c, &handlerErr, outBlock)
    	}(m.outBlock)
    
    	// Remote aliveness check if needed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/internal/abi/type.go

    	}
    	return 0
    }
    
    func (t *Type) Common() *Type {
    	return t
    }
    
    type ChanDir int
    
    const (
    	RecvDir    ChanDir = 1 << iota         // <-chan
    	SendDir                                // chan<-
    	BothDir            = RecvDir | SendDir // chan
    	InvalidDir ChanDir = 0
    )
    
    // ChanType represents a channel type
    type ChanType struct {
    	Type
    	Elem *Type
    	Dir  ChanDir
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    			return
    		}
    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	// If we are creating svc account for request sender, ensure
    	// that targetUser is a real user (i.e. not derived
    	// credentials).
    	if isSvcAccForRequestor {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    	}
    	if !m.respMu.TryLock() {
    		// Cancel before locking - will unblock any pending sends.
    		if m.cancelFn != nil {
    			m.cancelFn(context.Canceled)
    		}
    		// Wait for senders to release.
    		m.respMu.Lock()
    	}
    
    	defer m.respMu.Unlock()
    	m.closeLocked()
    }
    
    func (m *muxClient) closeLocked() {
    	if m.closed {
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. src/os/signal/signal_test.go

    				close(sig)
    				return
    
    			default:
    				syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    				runtime.Gosched()
    			}
    		}
    	}()
    
    	for range sig {
    		// Receive signals until the sender closes sig.
    	}
    }
    
    func testCancel(t *testing.T, ignore bool) {
    	// Ask to be notified on c1 when a SIGWINCH is received.
    	c1 := make(chan os.Signal, 1)
    	Notify(c1, syscall.SIGWINCH)
    	defer Stop(c1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  6. src/reflect/value.go

    			ch.mustBeExported()
    			tt := (*chanType)(unsafe.Pointer(ch.typ()))
    			if ChanDir(tt.Dir)&SendDir == 0 {
    				panic("reflect.Select: SendDir case using recv-only channel")
    			}
    			rc.ch = ch.pointer()
    			rc.typ = toRType(&tt.Type)
    			v := c.Send
    			if !v.IsValid() {
    				panic("reflect.Select: SendDir case missing Send value")
    			}
    			v.mustBeExported()
    			v = v.assignTo("reflect.Select", tt.Elem, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go

    //   - oobn is the number of control data bytes read into oob; this may be interpreted using [ParseSocketControlMessage]
    //   - recvflags is flags returned by recvmsg
    //   - from is the address of the sender
    //
    // If the underlying socket type is not SOCK_DGRAM, a received message
    // containing oob data and a single '\0' of non-control data is treated as if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
          flowControlListener.receivingConnectionWindowChanged(readBytes)
        }
      }
    
      /**
       * Returns a new server-initiated stream.
       *
       * @param associatedStreamId the stream that triggered the sender to create this stream.
       * @param out true to create an output stream that we can use to send data to the remote peer.
       *     Corresponds to `FLAG_FIN`.
       */
      @Throws(IOException::class)
      fun pushStream(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. src/reflect/type.go

    type aTextOff = abi.TextOff
    
    // ChanDir represents a channel type's direction.
    type ChanDir int
    
    const (
    	RecvDir ChanDir             = 1 << iota // <-chan
    	SendDir                                 // chan<-
    	BothDir = RecvDir | SendDir             // chan
    )
    
    // arrayType represents a fixed array type.
    type arrayType = abi.ArrayType
    
    // chanType represents a channel type.
    type chanType = abi.ChanType
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		// Returning error here is too noisy.
    		return nil
    	case c.outQueue <- msg:
    		return nil
    	}
    }
    
    // queueMsg queues a message, with an optional payload.
    // sender should not reference msg.Payload
    func (c *Connection) queueMsg(msg message, payload sender) error {
    	// Add baseflags.
    	msg.Flags.Set(c.baseFlags)
    	// This cannot encode subroute.
    	msg.Flags.Clear(FlagSubroute)
    	if payload != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top