Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Kent (0.14 sec)

  1. internal/grid/handlers.go

    	// Buffers sent on out can not be referenced once sent.
    	StreamHandlerFn func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr
    
    	// StreamHandler handles fully bidirectional streams,
    	// There is flow control in both directions.
    	StreamHandler struct {
    		// Handle an incoming request. Initial payload is sent.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  2. internal/bpool/bpool.go

    		}
    	}
    	return
    }
    
    // Put returns the given Buffer to the BytePool.
    func (bp *BytePoolCap) Put(b []byte) {
    	if bp == nil {
    		return
    	}
    	select {
    	case bp.c <- b:
    		// buffer went back into pool
    	default:
    		// buffer didn't go back into pool, just discard
    	}
    }
    
    // Width returns the width of the byte arrays in this pool.
    func (bp *BytePoolCap) Width() (n int) {
    	if bp == nil {
    		return 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. cmd/bucket-versioning-handler.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	bucketVersioningConfig = "versioning.xml"
    
    	// Maximum size of bucket versioning configuration payload sent to the PutBucketVersioningHandler.
    	maxBucketVersioningConfigSize = 1 * humanize.MiByte
    )
    
    // PutBucketVersioningHandler - PUT Bucket Versioning.
    // ----------
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. internal/http/listener.go

    func (listener *httpListener) start() {
    	// Closure to send acceptResult to acceptCh.
    	// It returns true if the result is sent else false if returns when doneCh is closed.
    	send := func(result acceptResult) bool {
    		select {
    		case listener.acceptCh <- result:
    			// Successfully written to acceptCh
    			return true
    		case <-listener.ctx.Done():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    	kexAlgoDH1SHA1,
    }
    
    // supportedPubKeyAuthAlgos specifies the supported client public key
    // authentication algorithms. Note that this doesn't include certificate types
    // since those use the underlying algorithm. This list is sent to the client if
    // it supports the server-sig-algs extension. Order is irrelevant.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=142
    var supportedPubKeyAuthAlgos = []string{
    	ssh.KeyAlgoED25519,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    func (c *SiteReplicationSys) PeerAddPolicyHandler(ctx context.Context, policyName string, p *policy.Policy, updatedAt time.Time) error {
    	var err error
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if p, err := globalIAMSys.store.GetPolicyDoc(policyName); err == nil && p.UpdateDate.After(updatedAt) {
    			return nil
    		}
    	}
    	if p == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/test-utils_test.go

    // need a sample HTTP request to be sent as argument so that the relevant handler is called, the handler registration is expected
    // to be done since its called from within the API handler tests, the reference to the registered HTTP handler has to be sent
    // as an argument.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/metacache-entries.go

    			case out <- *best:
    				last = best.name
    			}
    		} else if serverDebugLog {
    			console.Debugln("mergeEntryChannels: discarding duplicate", best.name, "<=", last)
    		}
    		// Replace entry we just sent.
    		if err := selectFrom(bestIdx); err != nil {
    			return err
    		}
    	}
    }
    
    // merge will merge other into m.
    // If the same entries exists in both and metadata matches only one is added,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. internal/event/target/postgresql.go

    			}
    			return err
    		}
    	}
    
    	eventData, eErr := target.store.Get(key.Name)
    	if eErr != nil {
    		// The last event key in a successful batch will be sent in the channel atmost once by the replayEvents()
    		// Such events will not exist and wouldve been already been sent successfully.
    		if os.IsNotExist(eErr) {
    			return nil
    		}
    		return eErr
    	}
    
    	if err := target.send(eventData); err != nil {
    		if IsConnErr(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top