Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for rack (0.24 sec)

  1. cmd/endpoint-ellipses_test.go

    				[][]uint64{{16, 16, 16, 16}},
    			},
    			true,
    		},
    		{
    			"http://rack{1...4}.mydomain.minio{1...16}/data",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "/data",
    							Seq:    getSequences(1, 16, 0),
    						},
    						{
    							Prefix: "http://rack",
    							Suffix: ".mydomain.minio",
    							Seq:    getSequences(1, 4, 0),
    						},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  2. cmd/metacache-entries.go

    	if !isXL2V1Format(e.metadata) {
    		return false
    	}
    	if meta, _, err := isIndexedMetaV2(e.metadata); meta != nil {
    		return meta.IsLatestDeleteMarker()
    	} else if err != nil {
    		return true
    	}
    	// Fall back...
    	xlMeta, err := e.xlmeta()
    	if err != nil || len(xlMeta.versions) == 0 {
    		return true
    	}
    	return xlMeta.versions[0].header.Type == DeleteType
    }
    
    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)
  3. src/archive/zip/struct.go

    type FileHeader struct {
    	// Name is the name of the file.
    	//
    	// It must be a relative path, not start with a drive letter (such as "C:"),
    	// and must use forward slashes instead of back slashes. A trailing slash
    	// indicates that this file is a directory and should have no data.
    	Name string
    
    	// Comment is any arbitrary user-defined string shorter than 64KiB.
    	Comment string
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    			decLength = length
    			length = oi.Size - off
    			// For negative length we read everything.
    			if decLength < 0 {
    				decLength = actualSize - decOff
    			}
    
    			// Reply back invalid range if the input offset and length fall out of range.
    			if decOff > actualSize || decOff+decLength > actualSize {
    				return nil, 0, 0, errInvalidRange
    			}
    		}
    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)
  5. internal/grid/connection.go

    			}
    		}
    	}
    }
    
    /*
    var ErrDone = errors.New("done for now")
    
    var ErrRemoteRestart = errors.New("remote restarted")
    
    
    // Stateless connects to the remote handler and return all packets sent back.
    // If the remote is restarted will return ErrRemoteRestart.
    // If nil will be returned remote call sent EOF or ErrDone is returned by the callback.
    // If ErrDone is returned on cb nil will be returned.
    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)
  6. internal/grid/muxclient.go

    		h := xxh3.Hash(dst)
    		dst = binary.LittleEndian.AppendUint32(dst, uint32(h))
    	}
    	return m.parent.send(m.ctx, dst)
    }
    
    // RequestStateless will send a single payload request and stream back results.
    // req may not be read/written to after calling.
    // TODO: Not implemented
    func (m *muxClient) RequestStateless(h HandlerID, req []byte, out chan<- Response) {
    	if m.init {
    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)
  7. cmd/storage-rest-server.go

    		// See https://github.com/golang/go/blob/f7c5cbb82087c55aa82081e931e0142783700ce8/src/net/sendfile_linux.go#L20
    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    			// for most setups.
    			_, err = rf.ReadFrom(sr.Reader)
    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)
  8. src/archive/zip/zip_test.go

    var errDiscardedBytes = errors.New("ReadAt of discarded bytes")
    
    func (ss *suffixSaver) ReadAt(p []byte, off int64) (n int, err error) {
    	back := ss.size - off
    	if back > int64(ss.keep) {
    		return 0, errDiscardedBytes
    	}
    	suf := ss.Suffix()
    	n = copy(p, suf[len(suf)-int(back):])
    	if n != len(p) {
    		err = io.EOF
    	}
    	return
    }
    
    func (ss *suffixSaver) Suffix() []byte {
    	if len(ss.buf) < ss.keep {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. internal/grid/grid_test.go

    	st, err := remoteConn.NewStream(ctx, handlerTest, []byte(testPayload))
    	errFatal(err)
    
    	// Wait for the server to send the first response.
    	<-serverSent
    
    	// Read back from the stream and block.
    	nowBlocking := make(chan struct{})
    	stopBlocking := make(chan struct{})
    	defer close(stopBlocking)
    	go func() {
    		st.Results(func(b []byte) error {
    			close(nowBlocking)
    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)
  10. istioctl/pkg/dashboard/dashboard.go

    func portForward(podName, namespace, flavor, urlFormat, localAddress string, remotePort int,
    	client kube.CLIClient, writer io.Writer, browser bool,
    ) error {
    	// port preference:
    	// - If --listenPort is specified, use it
    	// - without --listenPort, prefer the remotePort but fall back to a random port
    	var portPrefs []int
    	if listenPort != 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top