Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sendZero (0.15 sec)

  1. src/encoding/gob/encode.go

    	b := v.Bool()
    	if b || state.sendZero {
    		state.update(i)
    		if b {
    			state.encodeUint(1)
    		} else {
    			state.encodeUint(0)
    		}
    	}
    }
    
    // encInt encodes the signed integer (int int8 int16 int32 int64) referenced by v.
    func encInt(i *encInstr, state *encoderState, v reflect.Value) {
    	value := v.Int()
    	if value != 0 || state.sendZero {
    		state.update(i)
    		state.encodeInt(value)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/runtime/chan.go

    			}
    			return true, false
    		}
    		// The channel has been closed, but the channel's buffer have data.
    	} else {
    		// Just found waiting sender with not closed.
    		if sg := c.sendq.dequeue(); sg != nil {
    			// Found a waiting sender. If buffer is size 0, receive value
    			// directly from sender. Otherwise, receive from head of queue
    			// and add sender's value to the tail of the queue (both map to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-ldap.go

    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	var (
    		targetGroups []string
    		err          error
    	)
    
    	// If we are creating svc account for request sender, ensure that targetUser
    	// is a real user (i.e. not derived credentials).
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/net/smtp/smtp_test.go

    250-mx.google.com at your service
    250 FEATURE
    `
    
    var helloServer = []string{
    	"",
    	"502 Not implemented\n",
    	"250 User is valid\n",
    	"235 Accepted\n",
    	"250 Sender ok\n",
    	"",
    	"250 Reset ok\n",
    	"221 Goodbye\n",
    	"250 Sender ok\n",
    	"250 ok\n",
    }
    
    var baseHelloClient = `EHLO customhost
    HELO customhost
    `
    
    var helloClient = []string{
    	"",
    	"STARTTLS\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top