Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for straum (0.14 sec)

  1. internal/grid/handlers.go

    			for req := range reqT {
    				b, err := req.MarshalMsg(GetByteBufferCap(req.Msgsize()))
    				if err != nil {
    					gridLogOnceIf(ctx, err, err.Error())
    				}
    				h.PutRequest(req)
    				stream.Requests <- b
    			}
    		}()
    	} else if stream.Requests != nil {
    		xioutil.SafeClose(stream.Requests)
    	}
    
    	return &TypedStream[Req, Resp]{responses: stream, newResp: h.NewResponse, Requests: reqT}, nil
    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. cmd/object-api-utils.go

    			var dopts []s2.ReaderOption
    			if off > 0 || decOff > 0 {
    				// We are not starting at the beginning, so ignore stream identifiers.
    				dopts = append(dopts, s2.ReaderIgnoreStreamIdentifier())
    			}
    			s2Reader := s2.NewReader(inputReader, dopts...)
    			// Apply the skipLen and limit on the decompressed stream.
    			if decOff > 0 {
    				if err = s2Reader.Skip(decOff); err != nil {
    					// Call the cleanup funcs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. internal/grid/connection.go

    		c.outgoing.Delete(client.MuxID)
    	}()
    	return client.traceRoundtrip(ctx, c.trace, h, req)
    }
    
    // NewStream creates a new stream.
    // Initial payload can be reused by the caller.
    func (c *Connection) NewStream(ctx context.Context, h HandlerID, payload []byte) (st *Stream, err error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    	}
    	if c.State() != StateConnected {
    		return nil, ErrDisconnected
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    		ModTime:        time.Date(2023, time.March, 15, 11, 18, 4, 989906961, time.UTC),
    		Size:           329289, Mode: 0x0, WrittenByVersion: 0x63c77756,
    		Metadata: map[string]string{
    			"content-type": "application/octet-stream", "etag": "f205307ef9f50594c4b86d9c246bee86", "x-minio-internal-erasure-upgraded": "5->6", "x-minio-internal-inline-data": "true",
    		},
    		Parts: []ObjectPartInfo{
    			{
    				ETag:       "",
    				Number:     1,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  5. src/archive/tar/format.go

    	magicUSTAR, versionUSTAR = "ustar\x00", "00"
    	trailerSTAR              = "tar\x00"
    )
    
    // Size constants from various tar specifications.
    const (
    	blockSize  = 512 // Size of each block in a tar stream
    	nameSize   = 100 // Max length of the name field in USTAR format
    	prefixSize = 155 // Max length of the prefix field in USTAR format
    
    	// Max length of a special file (PAX header, GNU long name or link).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  6. cmd/metacache-stream_test.go

    Klaus Post <******@****.***> 1663610716 +0200
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 15K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    	start := time.Now()
    	stream, err := handler.Call(context.Background(), remoteConn, &testRequest{Num: 1, String: testPayload})
    	errFatal(err)
    	go func() {
    		defer close(stream.Requests)
    		for i := 0; i < payloads; i++ {
    			// t.Log("sending new client request")
    			stream.Requests <- &testRequest{Num: i, String: testPayload}
    		}
    	}()
    	var n int
    	err = stream.Results(func(resp *testResponse) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. internal/grid/muxclient.go

    	m.respWait = out
    }
    
    // RequestStream will send a single payload request and stream back results.
    // 'requests' can be nil, in which case only req is sent as input.
    // It will however take less resources.
    func (m *muxClient) RequestStream(h HandlerID, payload []byte, requests chan []byte, responses chan Response) (*Stream, error) {
    	if m.init {
    		return nil, errors.New("mux client already used")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. cmd/metacache-server-pool.go

    	o.SetFilter()
    	if o.Transient {
    		o.Create = false
    	}
    
    	// We have 2 cases:
    	// 1) Cold listing, just list.
    	// 2) Returning, but with no id. Start async listing.
    	// 3) Returning, with ID, stream from list.
    	//
    	// If we don't have a list id we must ask the server if it has a cache or create a new.
    	if o.ID != "" && !o.Transient {
    		// Create or ping with handout...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    	if err != nil {
    		return encryptedETag
    	}
    	return hex.EncodeToString(etagBytes)
    }
    
    // GetDecryptedRange - To decrypt the range (off, length) of the
    // decrypted object stream, we need to read the range (encOff,
    // encLength) of the encrypted object stream to decrypt it, and
    // compute skipLen, the number of bytes to skip in the beginning of
    // the encrypted range.
    //
    // In addition we also compute the object part number for where the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
Back to top