Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Wong (0.15 sec)

  1. cmd/object-api-errors.go

    	return "Bucket name invalid: " + e.Bucket
    }
    
    // Object related errors.
    
    // ObjectNameInvalid - object name provided is invalid.
    type ObjectNameInvalid GenericError
    
    // ObjectNameTooLong - object name too long.
    type ObjectNameTooLong GenericError
    
    // ObjectNamePrefixAsSlash - object name has a slash as prefix.
    type ObjectNamePrefixAsSlash GenericError
    
    // Error returns string an error formatted as the given text.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    // If the pointer sent to done is non-nil AND the error
    // is either nil or io.EOF the disk is considered good.
    // So if unsure if the disk status is ok, return nil as a parameter to done.
    // Shadowing will work as long as return error is named: https://go.dev/play/p/sauq86SsTN2
    func (p *xlStorageDiskIDCheck) TrackDiskHealth(ctx context.Context, s storageMetric, paths ...string) (c context.Context, done func(*error), err error) {
    	done = noopDoneFunc
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    }
    
    func (c *Connection) handlePong(ctx context.Context, m message) {
    	var pong pongMsg
    	_, err := pong.UnmarshalMsg(m.Payload)
    	PutByteBuffer(m.Payload)
    	gridLogIf(ctx, err)
    	if m.MuxID == 0 {
    		atomic.StoreInt64(&c.LastPong, time.Now().Unix())
    		return
    	}
    	if v, ok := c.outgoing.Load(m.MuxID); ok {
    		v.pong(pong)
    	} else {
    		// We don't care if the client was removed in the meantime,
    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/admin-heal-ops.go

    	// nopHeal is a no operating healing action to
    	// wait for the current healing operation to finish
    	nopHeal = ""
    )
    
    var (
    	errHealIdleTimeout   = fmt.Errorf("healing results were not consumed for too long")
    	errHealStopSignalled = fmt.Errorf("heal stop signaled")
    
    	errFnHealFromAPIErr = func(ctx context.Context, err error) error {
    		apiErr := toAdminAPIErr(ctx, err)
    		return fmt.Errorf("Heal internal error: %s: %s",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/erasure-decode_test.go

    					t.Errorf("Test %d: read returns wrong file content", i)
    				}
    			}
    		}
    	}
    }
    
    // Test erasureDecode with random offset and lengths.
    // This test is t.Skip()ed as it a long time to run, hence should be run
    // explicitly after commenting out t.Skip()
    func TestErasureDecodeRandomOffsetLength(t *testing.T) {
    	if testing.Short() {
    		t.Skip()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  6. cmd/object-api-utils.go

    	return strings.HasPrefix(bucket, minioMetaBucket)
    }
    
    // IsValidBucketName verifies that a bucket name is in accordance with
    // Amazon's requirements (i.e. DNS naming conventions). It must be 3-63
    // characters long, and it must be a sequence of one or more labels
    // separated by periods. Each label can contain lowercase ascii
    // letters, decimal digits and hyphens, but must not begin or end with
    // a hyphen. See:
    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)
  7. internal/grid/muxclient.go

    	case m.outBlock <- struct{}{}:
    	default:
    		gridLogIf(m.ctx, errors.New("output unblocked overflow"))
    	}
    }
    
    func (m *muxClient) pong(msg pongMsg) {
    	if msg.NotFound || msg.Err != nil {
    		err := errors.New("remote terminated call")
    		if msg.Err != nil {
    			err = fmt.Errorf("remove pong failed: %v", &msg.Err)
    		}
    		m.addResponse(Response{Err: err})
    		return
    	}
    	atomic.StoreInt64(&m.LastPong, time.Now().Unix())
    }
    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)
  8. cmd/metacache-stream_test.go

    man-zero.golden", "src/compress/flate/testdata/huffman-zero.in", "src/compress/flate/testdata/huffman-zero.wb.expect", "src/compress/flate/testdata/huffman-zero.wb.expect-noinput", "src/compress/flate/testdata/null-long-match.dyn.expect-noinput", "src/compress/flate/testdata/null-long-match.wb.expect-noinput", "src/compress/flate/token.go", "src/compress/flate/writer_test.go", "src/compress/gzip/", "src/compress/gzip/example_test.go", "src/compress/gzip/gunzip.go", "src/compress/gzip/gunzip_test.go",...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 15K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    }
    
    const maxLineLength = 4 * humanize.KiByte // assumed <= bufio.defaultBufSize 4KiB
    
    // lineTooLong is generated as chunk header is bigger than 4KiB.
    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    }
    
    func (c *closeNotifier) Close() error {
    	if c.done != nil {
    		xioutil.SafeClose(c.done)
    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    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)
Back to top