Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 112 for flag (0.16 sec)

  1. internal/lock/lock_solaris.go

    	return lockedOpenFile(path, flag, perm, syscall.F_SETLKW)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// The assertion is removed from this block since the purpose of this block is to find races
    	// The purpose this block is not to check for correctness of functionality
    	// Run the test with -race flag to utilize this
    	var wg sync.WaitGroup
    	for i := 0; i < testConcurrencyLevel; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. docs/sts/ldap.go

    	// Session policy file
    	sessionPolicyFile string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&ldapUsername, "u", "", "AD/LDAP Username")
    	flag.StringVar(&ldapPassword, "p", "", "AD/LDAP Password")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    	flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. cmd/batch-replicate_gen.go

    					err = z.Flags.Filter.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Filter")
    						return
    					}
    				case "Notify":
    					err = z.Flags.Notify.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Notify")
    						return
    					}
    				case "Retry":
    					err = z.Flags.Retry.DecodeMsg(dc)
    					if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  5. internal/grid/msg_gen.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *Flags) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = Flags(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z Flags) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 18.8K bytes
    - Viewed (0)
  6. docs/sts/client-grants.go

    	idpEndpoint  string
    	clientID     string
    	clientSecret string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&idpEndpoint, "idp-ep", "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token", "IDP token endpoint")
    	flag.StringVar(&clientID, "cid", "", "Client ID")
    	flag.StringVar(&clientSecret, "csec", "", "Client secret")
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top