Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for sendZero (0.17 sec)

  1. 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)
  2. src/net/http/fs.go

    	if !isZeroTime(modtime) {
    		w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
    	}
    }
    
    func writeNotModified(w ResponseWriter) {
    	// RFC 7232 section 4.1:
    	// a sender SHOULD NOT generate representation metadata other than the
    	// above listed fields unless said metadata exists for the purpose of
    	// guiding cache updates (e.g., Last-Modified might be useful if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. src/net/http/h2_bundle.go

    	}
    
    	// Sender sending more than they'd declared?
    	if st.declBodyBytes != -1 && st.bodyBytes+int64(len(data)) > st.declBodyBytes {
    		if !sc.inflow.take(f.Length) {
    			return sc.countError("data_flow", http2streamError(id, http2ErrCodeFlowControl))
    		}
    		sc.sendWindowUpdate(nil, int(f.Length)) // conn-level
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_client.go

    		if err != nil {
    			return nil, nil, nil, err
    		}
    	}
    
    	return hello, keyShareKeys, ech, nil
    }
    
    type echContext struct {
    	config          *echConfig
    	hpkeContext     *hpke.Sender
    	encapsulatedKey []byte
    	innerHello      *clientHelloMsg
    	innerTranscript hash.Hash
    	kdfID           uint16
    	aeadID          uint16
    	echRejected     bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener.go

    	httpOpts := &httpListenerOpts{
    		// Set useRemoteAddress to true for sidecar outbound listeners so that it picks up the localhost address of the sender,
    		// which is an internal address, so that trusted headers are not sanitized. This helps to retain the timeout headers
    		// such as "x-envoy-upstream-rq-timeout-ms" set by the calling application.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // ListBucketsHandler - GET Service.
    // -----------
    // This implementation of the GET operation returns a list of all buckets
    // owned by the authenticated sender of the request.
    func (api objectAPIHandlers) ListBucketsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListBuckets")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. src/runtime/export_test.go

    	ch := make(chan int)
    	go func(ch chan int) {
    		ch <- 5
    		LockOSThread()
    	}(ch)
    
    	g1 := getg()
    
    	// Block on a receive. This is likely to get us a thread
    	// switch. If we yield to the sender goroutine, it will
    	// lock the thread, forcing us to resume on a different
    	// thread.
    	<-ch
    
    	g2 := getg()
    	if g1 != g2 {
    		panic("g1 != g2")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    				// should probably start a goroutine to read from req. This best
    				// effort select existed before the change to check 'deleted'.
    				// But if we know for sure it wasn't deleted and a sender is
    				// outstanding, we should probably block on req (in a new
    				// goroutine) to get the connection back.
    				select {
    				default:
    				case ret, ok := <-req:
    					if ok && ret.conn != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. doc/go_spec.html

    make(chan int, 100)
    </pre>
    
    <p>
    The capacity, in number of elements, sets the size of the buffer in the channel.
    If the capacity is zero or absent, the channel is unbuffered and communication
    succeeds only when both a sender and receiver are ready. Otherwise, the channel
    is buffered and communication succeeds without blocking if the buffer
    is not full (sends) or not empty (receives).
    A <code>nil</code> channel is never ready for communication.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top