- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 164 for elseif (0.15 sec)
-
cmd/xl-storage-format-v2_gen.go
s = 1 + 5 + msgp.Uint8Size + 6 if z.ObjectV1 == nil { s += msgp.NilSize } else { s += z.ObjectV1.Msgsize() } s += 6 if z.ObjectV2 == nil { s += msgp.NilSize } else { s += z.ObjectV2.Msgsize() } s += 7 if z.DeleteMarker == nil { s += msgp.NilSize } else { s += z.DeleteMarker.Msgsize() } s += 2 + msgp.Uint64Size return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 53.8K bytes - Viewed (0) -
internal/logger/console.go
errMsg = errorFmtFunc(fmt.Sprintf(msg, data...), err, jsonFlag) } else { errMsg = err.Error() } consoleLog(fatalMessage, errMsg) } var fatalMessage fatalMsg type fatalMsg struct{} func (f fatalMsg) json(msg string, args ...interface{}) { var message string if msg != "" { message = fmt.Sprintf(msg, args...) } else { message = fmt.Sprint(args...) } logJSON, err := json.Marshal(&log.Entry{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 5.8K bytes - Viewed (0) -
cmd/auth-handler.go
return authTypeSignedV2 } else if isRequestPresignedSignatureV2(r) { return authTypePresignedV2 } else if isRequestSignStreamingV4(r) { return authTypeStreamingSigned } else if isRequestSignStreamingTrailerV4(r) { return authTypeStreamingSignedTrailer } else if isRequestUnsignedTrailerV4(r) { return authTypeStreamingUnsignedTrailer } else if isRequestSignatureV4(r) { return authTypeSigned
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 26K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
o = msgp.AppendNil(o) } else { o, err = z.ReplicationStats.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "ReplicationStats") return } } } if (zb0001Mask & 0x100) == 0 { // if not omitted // string "ats" o = append(o, 0xa3, 0x61, 0x74, 0x73) if z.AllTierStats == nil { o = msgp.AppendNil(o) } else { o, err = z.AllTierStats.MarshalMsg(o)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 21 17:21:35 GMT 2024 - 100.8K bytes - Viewed (0) -
cmd/erasure-object.go
} else if shardFileSize < inlineBlock/8 { inlineBuffers = make([]*bytes.Buffer, len(onlineDisks)) } } else { // If compressed, use actual size to determine. if sz := erasure.ShardFileSize(data.ActualSize()); sz > 0 { if !opts.Versioned && sz < inlineBlock { inlineBuffers = make([]*bytes.Buffer, len(onlineDisks)) } else if sz < inlineBlock/8 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 77.2K bytes - Viewed (2) -
internal/grid/types.go
val, bytes, err := msgp.ReadBytesZC(bytes) if err != nil { return bytes, err } if cap(*b) >= len(val) { *b = (*b)[:len(val)] copy(*b, val) } else { if cap(*b) == 0 && len(val) <= maxBufferSize { *b = GetByteBufferCap(len(val)) } else { PutByteBuffer(*b) *b = make([]byte, 0, len(val)) } in := *b in = append(in[:0], val...) *b = in } return bytes, nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 01 23:42:09 GMT 2024 - 15.4K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
} plSize += len(found) + msgp.StringPrefixSize + msgp.ArrayHeaderSize keys = append(keys, found) if string(found) == key { vals = append(vals, value) plSize += len(value) replaced = true } else { vals = append(vals, foundVal) plSize += len(foundVal) } } // Add one more. if !replaced { keys = append(keys, []byte(key)) vals = append(vals, value)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.5K bytes - Viewed (0) -
cmd/mrf.go
scan = u.scanMode } if u.object == "" { healBucket(u.bucket, scan) } else { if len(u.versions) > 0 { vers := len(u.versions) / 16 if vers > 0 { for i := 0; i < vers; i++ { healObject(u.bucket, u.object, uuid.UUID(u.versions[16*i:]).String(), scan) } } } else { healObject(u.bucket, u.object, u.versionID, scan) } } wait() }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
copy(mapped[start:], data) } lastValid = size - 1 missing = 0 } else { fmt.Println("Could NOT reconstruct:", err) } } } if lastValid == 0 { return errors.New("no valid data found") } if missing > 0 { out += ".truncated" } else { out += ".complete" } fmt.Println(missing, "bytes missing. Truncating", len(filled)-lastValid-1, "from end.")
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) -
cmd/bootstrap-peer-server.go
incorrectConfigs = append(incorrectConfigs, fmt.Errorf("%s has incorrect configuration: %w", clnt, err)) } else { offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, err)) } } else { onlineServers++ } mu.Unlock() }(clnt) } wg.Wait() select { case <-ctx.Done(): return ctx.Err()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 7.5K bytes - Viewed (0)