- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 283 for empty (0.14 sec)
-
cmd/is-dir-empty_linux.go
Harshavardhana <******@****.***> 1712330228 -0700
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 15:17:08 GMT 2024 - 1.4K bytes - Viewed (0) -
cmd/is-dir-empty_other.go
Harshavardhana <******@****.***> 1712330228 -0700
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 15:17:08 GMT 2024 - 1K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration.go
type DelMarkerExpiration struct { XMLName xml.Name `xml:"DelMarkerExpiration"` Days int `xml:"Days,omitempty"` } // Empty returns if a DelMarkerExpiration XML element is empty. // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element. func (de DelMarkerExpiration) Empty() bool { return de.Days == 0 } // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 2.3K bytes - Viewed (0) -
src/bufio/scan.go
// [Scanner] to read more data into the slice and try again with a // longer slice starting at the same point in the input. // // The function is never called with an empty data slice unless atEOF // is true. If atEOF is true, however, data may be non-empty and, // as always, holds unprocessed text. type SplitFunc func(data []byte, atEOF bool) (advance int, token []byte, err error) // Errors returned by Scanner. var (
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
cmd/net.go
return false, err } var addr1Local, addr2Local bool if host1 == "" { // If empty host means it is localhost addr1Local = true } else if addr1Local, err = isLocalHost(host1, port1, port1); err != nil { // Host not empty, check if it is local return false, err } if host2 == "" { // If empty host means it is localhost addr2Local = true
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0) -
src/bufio/example_test.go
} // Use a Scanner with a custom split function to parse a comma-separated // list with an empty final value. func ExampleScanner_emptyFinalToken() { // Comma-separated list; last entry is empty. const input = "1,2,3,4," scanner := bufio.NewScanner(strings.NewReader(input)) // Define a split function that separates on commas.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
cmd/xl-storage-errors.go
func isSysErrTooManySymlinks(err error) bool { return errors.Is(err, syscall.ELOOP) } // Check if the given error corresponds to ENOTEMPTY for unix, // EEXIST for solaris variants, // and ERROR_DIR_NOT_EMPTY for windows (directory not empty). func isSysErrNotEmpty(err error) bool { if errors.Is(err, syscall.ENOTEMPTY) { return true } if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" { return true }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Viewed (0) -
internal/config/compress/compress.go
if compress == "" { compress = env.Get(EnvCompress, "") } cfg.Enabled, err = config.ParseBool(compress) if err != nil { // Parsing failures happen due to empty KVS, ignore it. if kvs.Empty() { return cfg, nil } return cfg, err } if !cfg.Enabled { return cfg, nil } allowEnc := env.Get(EnvCompressAllowEncryption, kvs.Get(AllowEncrypted))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 5K bytes - Viewed (0) -
cmd/handler-utils_test.go
"x-amz-meta-key": []string{"amz-meta1", "amz-meta2"}, }, metadata: map[string]string{ "x-amz-meta-key": "amz-meta1,amz-meta2", }, shouldFail: false, }, // Empty header input returns empty metadata. { header: nil, metadata: nil, shouldFail: true, }, } // Validate if the extracting headers. for i, testCase := range testCases {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 6.1K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
predCount++ } if f.ObjectSizeLessThan != 0 { pType = sizeLtPred predCount++ } // Note: S3 supports empty <Filter></Filter>, so predCount == 0 is // valid. if predCount > 1 { return errInvalidFilter } var err error switch pType { case nonePred: // S3 supports empty <Filter></Filter> case prefixPred: case andPred: err = f.And.Validate() case tagPred:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 6.2K bytes - Viewed (0)