Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for sendZero (0.18 sec)

  1. src/crypto/internal/hpke/hpke.go

    	if err != nil {
    		return nil, nil, err
    	}
    
    	return encapsulatedKey, &Sender{
    		kem:            kem,
    		aead:           aead,
    		sharedSecret:   sharedSecret,
    		suiteID:        suiteID,
    		key:            key,
    		baseNonce:      baseNonce,
    		exporterSecret: exporterSecret,
    	}, nil
    }
    
    func (s *Sender) nextNonce() []byte {
    	nonce := s.seqNum.bytes()[16-s.aead.NonceSize():]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go

    	var sendErr error
    	var evIndex int
    
    	// If the delegateBackend was shutdown and the buffer channel was closed, an
    	// attempt to add an event to it will result in panic that we should
    	// recover from.
    	defer func() {
    		if err := recover(); err != nil {
    			sendErr = fmt.Errorf("audit backend shut down")
    		}
    		if sendErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/finisher/finisher.go

    		return result.Return()
    	case <-ctx.Done():
    		// we are going to send a timeout response to the caller, but the asynchronous goroutine
    		// (sender) is still executing the ResultFunc function.
    		// kick off a goroutine (receiver) here to wait for the sender (goroutine executing ResultFunc)
    		// to send the result and then log details of the result.
    		defer func() {
    			go func() {
    				timedOutAt := time.Now()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 14:20:33 UTC 2021
    - 6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/parallelize/error_channel.go

    // again.
    type ErrorChannel struct {
    	errCh chan error
    }
    
    // SendError sends an error without blocking the sender.
    func (e *ErrorChannel) SendError(err error) {
    	select {
    	case e.errCh <- err:
    	default:
    	}
    }
    
    // SendErrorWithCancel sends an error without blocking the sender and calls
    // cancel function.
    func (e *ErrorChannel) SendErrorWithCancel(err error, cancel context.CancelFunc) {
    	e.SendError(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 17:39:23 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. test/typeparam/orderedmap.go

    				return false
    			}
    		}
    	}
    	return true
    }
    
    // Ranger returns a Sender and a Receiver. The Receiver provides a
    // Next method to retrieve values. The Sender provides a Send method
    // to send values and a Close method to stop sending values. The Next
    // method indicates when the Sender has been closed, and the Send
    // method indicates when the Receiver has been freed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. src/internal/bytealg/count_amd64.s

    	PCMPEQB	X0, X1
    	PMOVMSKB X1, DX
    	// Apply mask
    	ANDQ R10, DX
    	POPCNTL DX, DX
    	ADDQ DX, R12
    end:
    	MOVQ R12, (R8)
    	RET
    
    // handle for lengths < 16
    small:
    	TESTQ	BX, BX
    	JEQ	endzero
    
    	// Check if we'll load across a page boundary.
    	LEAQ	16(SI), AX
    	TESTW	$0xff0, AX
    	JEQ	endofpage
    
    	// We must ignore high bytes as they aren't part of our slice.
    	// Create mask.
    	MOVB BX, CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/net/http/internal/chunked.go

    	if cr.err != nil {
    		return
    	}
    	cr.n, cr.err = parseHexUint(line)
    	if cr.err != nil {
    		return
    	}
    	// A sender who sends one byte per chunk will send 5 bytes of overhead
    	// for every byte of data. ("1\r\nX\r\n" to send "X".)
    	// We want to allow this, since streaming a byte at a time can be legitimate.
    	//
    	// A sender can use chunk extensions to add arbitrary amounts of additional
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. internal/event/targetlist_test.go

    package event
    
    import (
    	"context"
    	"crypto/rand"
    	"errors"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/store"
    )
    
    type ExampleTarget struct {
    	id       TargetID
    	sendErr  bool
    	closeErr bool
    }
    
    func (target ExampleTarget) ID() TargetID {
    	return target.id
    }
    
    // Save - Sends event directly without persisting.
    func (target ExampleTarget) Save(eventData Event) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        const val MAX_CONCURRENT_STREAMS = 4
    
        /** HTTP/2: Size in bytes of the largest frame payload the sender will accept. */
        const val MAX_FRAME_SIZE = 5
    
        /** HTTP/2: Advisory only. Size in bytes of the largest header list the sender will accept. */
        const val MAX_HEADER_LIST_SIZE = 6
    
        /** Window size in bytes. */
        const val INITIAL_WINDOW_SIZE = 7
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

        public static final int DCERPC_LAST_FRAG       = 0x02; /* Last fragment */
        public static final int DCERPC_PENDING_CANCEL  = 0x04; /* Cancel was pending at sender */
        public static final int DCERPC_RESERVED_1      = 0x08;
        public static final int DCERPC_CONC_MPX        = 0x10; /* supports concurrent multiplexing */
        public static final int DCERPC_DID_NOT_EXECUTE = 0x20;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
Back to top