Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Haddad (0.21 sec)

  1. docs/debugging/xl-meta/main.go

    	app.Usage = "xl.meta to JSON"
    	app.HideVersion = true
    	app.CustomAppHelpTemplate = `NAME:
      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} METAFILES...
    
    Multiple files can be added. Files ending in '.zip' will be searched
    for 'xl.meta' files. Wildcards are accepted: 'testdir/*.txt' will compress
    all files in testdir ending with '.txt', directories can be wildcards
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  2. internal/hash/checksum.go

    		return nil
    	}
    	return map[string]string{c.Type.String(): c.Encoded}
    }
    
    // TransferChecksumHeader will transfer any checksum value that has been checked.
    // If checksum was trailing, they must have been added to r.Trailer.
    func TransferChecksumHeader(w http.ResponseWriter, r *http.Request) {
    	c, err := GetContentChecksum(r.Header)
    	if err != nil || c == nil {
    		return
    	}
    	t, s := c.Type, c.Encoded
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    	Metrics bool   `msg:"m"`
    	NoOp    bool   `msg:"np"`
    }
    
    // DiskInfo is an extended type which returns current
    // disk usage per path.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    			return fmt.Errorf("internal error: subroute not defined on client")
    		}
    		hid := m.subroute.withHandler(msg.Handler)
    		before := len(dst)
    		dst = append(dst, hid[:]...)
    		if debugPrint {
    			fmt.Println("Added subroute", hid.String(), "to message", msg, "len", len(dst)-before)
    		}
    	}
    	if msg.Flags&FlagCRCxxh3 != 0 {
    		h := xxh3.Hash(dst)
    		dst = binary.LittleEndian.AppendUint32(dst, uint32(h))
    	}
    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)
  5. cmd/erasure-server-pool-decom.go

    				}
    			}
    		}()
    	}
    
    	return nil
    }
    
    func newPoolMeta(z *erasureServerPools, prevMeta poolMeta) poolMeta {
    	newMeta := poolMeta{} // to update write poolMeta fresh.
    	// looks like new pool was added we need to update,
    	// or this is a fresh installation (or an existing
    	// installation with pool removed)
    	newMeta.Version = poolMetaVersion
    	for idx, pool := range z.serverPools {
    		var skip bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  6. cmd/storage-rest-server.go

    		return errXLBackend
    	}
    
    	return nil
    }
    
    // A single function to write certain errors to be fatal
    // or informative based on the `exit` flag, please look
    // at each implementation of error for added hints.
    //
    // FIXME: This is an unusual function but serves its purpose for
    // now, need to revisit the overall erroring structure here.
    // Do not like it :-(
    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)
  7. cmd/object-api-utils.go

    	trailingSlash := len(elem) > 0 && hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar)
    	dst.Reset()
    	added := 0
    	for _, e := range elem {
    		if added > 0 || e != "" {
    			if added > 0 {
    				dst.WriteByte(SlashSeparatorChar)
    			}
    			dst.WriteString(e)
    			added += len(e)
    		}
    	}
    
    	if pathNeedsClean(dst.Bytes()) {
    		s := path.Clean(dst.String())
    		if trailingSlash {
    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)
  8. cmd/metacache-entries.go

    					// Discard current "best"
    					if err := selectFrom(bestIdx); err != nil {
    						return err
    					}
    					bestIdx = idx
    					best = other
    					xl = xl2
    				} else {
    					// Mark read, unless we added it as new "best".
    					if err := selectFrom(idx); err != nil {
    						return err
    					}
    				}
    				versions = append(versions, xl2.versions)
    			}
    
    			if xl != nil && len(versions) > 0 {
    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/signature-v4-utils_test.go

    		t.Errorf("transfer-encoding mismatch: expected %s, got %s", expectedTransferEncoding, extractedTransferEncoding)
    	}
    
    	// Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers.
    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    	cl.subroute = &c.subID
    	return cl, nil
    }
    
    // Request allows to do a single remote request.
    // 'req' will not be used after the call and caller can reuse.
    // If no deadline is set on ctx, a 1-minute deadline will be added.
    func (c *Connection) Request(ctx context.Context, h HandlerID, req []byte) ([]byte, 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)
Back to top