- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 244 for Hero (0.03 sec)
-
docs/debugging/xattr/main.go
flag.BoolVar(&set, "set", false, "this is a set attribute operation") flag.Parse() if set && value == 0 { log.Fatalln("setting an attribute requires a non-zero value") } if !set && value > 0 { log.Fatalln("to set a value please specify --set along with --value") } table := tablewriter.NewWriter(os.Stdout) table.SetHeader([]string{"Name", "Value"})
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
"fmt" "testing" ) // appropriate errors on validation func TestInvalidExpiration(t *testing.T) { testCases := []struct { inputXML string expectedErr error }{ { // Expiration with zero days inputXML: ` <Expiration> <Days>0</Days> </Expiration>`, expectedErr: errLifecycleInvalidDays, }, { // Expiration with invalid date
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/warm-backend.go
"context" "errors" "fmt" "io" "strings" "github.com/minio/madmin-go/v3" xhttp "github.com/minio/minio/internal/http" ) // WarmBackendGetOpts is used to express byte ranges within an object. The zero // value represents the entire byte range of an object. type WarmBackendGetOpts struct { startOffset int64 length int64 } // WarmBackend provides interface to be implemented by remote tier backends
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Jul 03 07:17:20 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
flag.BoolVar(&verbose, "v", false, "Display all objects") flag.Parse() if deploymentID == "" { log.Fatalln("deployment ID is mandatory") } if setCount == 0 { log.Fatalln("set count cannot be zero") } id := uuid.MustParse(deploymentID) if file != "" { distrib := make([][]string, setCount) b, err := os.ReadFile(file) if err != nil { log.Fatalln(err) }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
cmd/rebalance-admin.go
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0) -
callbacks/helper.go
func ConvertSliceOfMapToValuesForCreate(stmt *gorm.Statement, mapValues []map[string]interface{}) (values clause.Values) { columns := make([]string, 0, len(mapValues)) // when the length of mapValues is zero,return directly here // no need to call stmt.SelectAndOmitColumns method if len(mapValues) == 0 { stmt.AddError(gorm.ErrEmptySlice) return } var (
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Thu Apr 14 12:32:57 UTC 2022 - 3.7K bytes - Viewed (0) -
internal/pubsub/pubsub.go
func (ps *PubSub[T, M]) Subscribers() int32 { return atomic.LoadInt32(&ps.numSubscribers) } // New inits a PubSub system with a limit of maximum // subscribers unless zero is specified func New[T Maskable, M Maskable](maxSubscribers int32) *PubSub[T, M] { return &PubSub[T, M]{maxSubscribers: maxSubscribers}
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
return true } if !rule.Transition.IsDateNull() && rule.Transition.Date.Before(time.Now().UTC()) { return true } if !rule.Transition.IsNull() { // this allows for Transition.Days to be zero. return true } } return false } // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns // unique id to rules with empty ID.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
docs/es/docs/features.md
### Corto Tiene **configuraciones por defecto** razonables para todo, con configuraciones opcionales en todas partes. Todos los parámetros pueden ser ajustados para tus necesidades y las de tu API. Pero, todo **simplemente funciona** por defecto. ### Validación * Validación para la mayoría (¿o todos?) los **tipos de datos** de Python incluyendo: * Objetos JSON (`dict`).
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Mon Aug 19 18:15:21 UTC 2024 - 10.9K bytes - Viewed (0) -
src/archive/zip/struct.go
// automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings. NonUTF8 bool CreatorVersion uint16 ReaderVersion uint16 Flags uint16 // Method is the compression method. If zero, Store is used. Method uint16 // Modified is the modified time of the file. // // When reading, an extended timestamp is preferred over the legacy MS-DOS
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0)