- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 102 for flag (1.28 sec)
-
internal/s3select/sql/jsonpath.go
) // jsonpathEval evaluates a JSON path and returns the value at the path. // If the value should be considered flat (from wildcards) any array returned should be considered individual values. func jsonpathEval(p []*JSONPathElement, v interface{}) (r interface{}, flat bool, err error) { // fmt.Printf("JPATHexpr: %v jsonobj: %v\n\n", p, v) if len(p) == 0 || v == nil { return v, false, nil } switch {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 3.4K bytes - Viewed (0) -
cmd/data-usage_test.go
} t.Fatal("got nil root.") } // Test dirs want := []struct { path string isNil bool size, objs int oSizes sizeHistogram }{ { path: "flat", size: 1322310 + expectSize, objs: 8 + expectSize, oSizes: sizeHistogram{0: 2 + expectSize, 1: 3, 2: 2, 4: 1}, }, { path: "bucket/", size: 20000, objs: 2,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Mar 27 15:10:40 GMT 2024 - 14.1K bytes - Viewed (0) -
cmd/test-utils_test.go
"crypto/hmac" crand "crypto/rand" "crypto/rsa" "crypto/sha1" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "encoding/base64" "encoding/hex" "encoding/pem" "encoding/xml" "errors" "flag" "fmt" "io" "math/big" "math/rand" "net" "net/http" "net/http/httptest" "net/url" "os" "path" "path/filepath" "reflect" "sort" "strconv" "strings" "sync"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
return } z.Type = VersionType(zb0002) } { var zb0003 uint8 zb0003, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err, "Flags") return } z.Flags = xlFlags(zb0003) } z.EcM, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err, "EcM") return } z.EcN, err = dc.ReadUint8() if err != nil {
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) -
cmd/erasure-object_test.go
Standard: storageclass.StorageClass{ Parity: 6, }, } // Object for test case 5 - RRS StorageClass defined as Parity 2, MetaData in PutObject requesting RRS Class // Reset global storage class flags object5 := "object5" metadata5 := make(map[string]string) metadata5["x-amz-storage-class"] = storageclass.RRS globalStorageClass.Update(storageclass.Config{ RRS: storageclass.StorageClass{ Parity: 2,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 36.8K bytes - Viewed (0) -
cmd/main.go
"github.com/minio/pkg/v2/console" "github.com/minio/pkg/v2/env" "github.com/minio/pkg/v2/trie" "github.com/minio/pkg/v2/words" ) // GlobalFlags - global flags for minio. var GlobalFlags = []cli.Flag{ // Deprecated flag, so its hidden now - existing deployments will keep working. cli.StringFlag{ Name: "config-dir, C", Value: defaultConfigDir.Get(),
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/bucket/replication/README.md
target to the srcbucket on myminio.By default, if --replicate flag is not specified, replication of delete marker, permanent deletes, existing object replication and replica modification sync are all enabled. If you are using older mc versions, the ARN needs to be generated as a separate step before adding a replication rule. > NOTE: If you are using a mc version below `RELEASE.2022-12-24T15-21-38Z`, the --remote-bucket flag needs an ARN generated by `mc admin bucket remote add` command....
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 24 23:46:33 GMT 2023 - 18.2K bytes - Viewed (0) -
docs/auditlog/auditlog-echo.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "encoding/json" "flag" "fmt" "io" "log" "net/http" ) var port int func init() { flag.IntVar(&port, "port", 8080, "Port to listen on") } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) defer r.Body.Close()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 1.5K bytes - Viewed (0) -
cmd/site-replication.go
return []byte{}, err } return finalConfigData, nil } func ilmExpiryReplicationEnabled(sites map[string]madmin.PeerInfo) bool { flag := true for _, pi := range sites { flag = flag && pi.ReplicateILMExpiry } return flag } type siteReplicatorCred struct { Creds auth.Credentials sync.RWMutex } // Get or attempt to load site replicator credentials from disk.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:09:56 GMT 2024 - 184.2K bytes - Viewed (1) -
internal/disk/directio_darwin.go
) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = true // OpenFileDirectIO - bypass kernel cache. func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) } // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() _, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0) return err
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.4K bytes - Viewed (0)