Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for Message (0.21 sec)

  1. internal/s3select/message.go

    	207, 151, 211, 146, // message crc.
    }
    
    // newErrorMessage - creates new Request Level Error Message. S3 sends this message if the request failed for any reason.
    // It contains the error code and error message for the failure. If S3 sends a RequestLevelError message,
    // it doesn't send an End message.
    //
    // Header specification:
    // Request-level error messages contain three headers, as follows:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  2. internal/s3select/genmessage.go

    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude))
    	buf.Write(header)
    	message := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message))
    
    	fmt.Println(buf.Bytes())
    }
    
    func genProgressHeader() {
    	buf := new(bytes.Buffer)
    
    	buf.WriteByte(13)
    	buf.WriteString(":message-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 5})
    	buf.WriteString("event")
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    	v, ok := c.inStream.Load(m.MuxID)
    	if !ok {
    		if debugPrint {
    			fmt.Println(c.Local, "OpMuxClientMsg: Unknown Mux:", m.MuxID)
    		}
    		gridLogIf(ctx, c.queueMsg(message{Op: OpDisconnectClientMux, MuxID: m.MuxID}, nil))
    		PutByteBuffer(m.Payload)
    		return
    	}
    	v.message(m)
    }
    
    func (c *Connection) handleResponse(m message) {
    	if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. internal/s3select/errors.go

    	Error() string
    }
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    		}
    		if errorResponse.Message != testCase.errorResponse.Message {
    			t.Errorf("Test %d: %s: Expected the error message to be `%s`, but instead found `%s`", i+1, instanceType, testCase.errorResponse.Message, errorResponse.Message)
    		}
    		if errorResponse.Code != testCase.errorResponse.Code {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. internal/bucket/replication/datatypes_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z StatusType) Msgsize() (s int) {
    	s = msgp.StringPrefixSize + len(string(z))
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *Type) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. cmd/os-reliable.go

    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    			// This is a special case should be handled only for
    			// windows, because windows API does not return "not a
    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns
    // syscall.ENOTEMPTY (children has files).
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "ExpressionTooLong",
    		message:    "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errColumnTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ColumnTooLong",
    		message:    "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. internal/grid/muxserver.go

    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    func (m *muxServer) message(msg message) {
    	if debugPrint {
    		fmt.Printf("muxServer: received message %d, length %d\n", msg.Seq, len(msg.Payload))
    	}
    	m.recvMu.Lock()
    	defer m.recvMu.Unlock()
    	if cap(m.inbound) == 0 {
    		m.disconnect("did not expect inbound message")
    		return
    	}
    	if !m.checkSeq(msg.Seq) {
    		return
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. cmd/consolelogger.go

    	"github.com/minio/minio/internal/logger/target/console"
    	"github.com/minio/minio/internal/logger/target/types"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v2/logger/message/log"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // number of log messages to buffer
    const defaultLogBufferCount = 10000
    
    // HTTPConsoleLoggerSys holds global console logger state
    type HTTPConsoleLoggerSys struct {
    	totalMessages  int64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top