Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for allowing (0.19 sec)

  1. cmd/crossdomain-xml-handler.go

    // directed towards a domain other than its own, the remote domain needs to host a cross-domain
    // policy file that grants access to the source domain, allowing the client to continue the transaction.
    func setCrossDomainPolicyMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		cxml := crossDomainXML
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. internal/hash/reader.go

    type Options struct {
    	MD5Hex     string
    	SHA256Hex  string
    	Size       int64
    	ActualSize int64
    	DisableMD5 bool
    	ForceMD5   []byte
    }
    
    // NewReaderWithOpts is like NewReader but takes `Options` as argument, allowing
    // callers to indicate if they want to disable md5sum checksum.
    func NewReaderWithOpts(ctx context.Context, src io.Reader, opts Options) (*Reader, error) {
    	// return hard limited reader
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    //   - on xl.meta (array of versions) on disk to check for version disparity
    //   - on rewrite dataDir on disk that must be additionally purged
    //     only after as a 2-phase call, allowing the older dataDir to
    //     hang-around in-case we need some form of recovery.
    type RenameDataResp struct {
    	Sign       []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    	}
    }
    
    type repeatedByte struct {
    	off int64
    	b   byte
    	n   int64
    }
    
    // rleBuffer is a run-length-encoded byte buffer.
    // It's an io.Writer (like a bytes.Buffer) and also an io.ReaderAt,
    // allowing random-access reads.
    type rleBuffer struct {
    	buf []repeatedByte
    }
    
    func (r *rleBuffer) Size() int64 {
    	if len(r.buf) == 0 {
    		return 0
    	}
    	last := &r.buf[len(r.buf)-1]
    	return last.off + last.n
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/arena/arena.go

    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    that use-after-free bugs are possible with regular Go values. This package
    limits the impact of these use-after-free bugs by preventing reuse of freed
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	// Use the maximum parity (N/2), used when saving server configuration files
    	MaxParity bool
    
    	// Provides a per object encryption function, allowing metadata encryption.
    	EncryptFn objectMetaEncryptFn
    
    	// SkipDecommissioned set to 'true' if the call requires skipping the pool being decommissioned.
    	// mainly set for certain WRITE operations.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. internal/config/compress/compress.go

    			return cfg, nil
    		}
    		return cfg, err
    	}
    	if !cfg.Enabled {
    		return cfg, nil
    	}
    
    	allowEnc := env.Get(EnvCompressAllowEncryption, kvs.Get(AllowEncrypted))
    	if allowEnc == "" {
    		allowEnc = env.Get(EnvCompressAllowEncryptionLegacy, "")
    	}
    
    	cfg.AllowEncrypted, err = config.ParseBool(allowEnc)
    	if err != nil {
    		return cfg, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. cmd/data-usage-utils.go

    }
    
    // BucketUsageInfo - bucket usage info provides
    // - total size of the bucket
    // - total objects in a bucket
    // - object size histogram per bucket
    type BucketUsageInfo struct {
    	Size uint64 `json:"size"`
    	// Following five fields suffixed with V1 are here for backward compatibility
    	// Total Size for objects that have not yet been replicated
    	ReplicationPendingSizeV1 uint64 `json:"objectsPendingReplicationTotalSize"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. istioctl/cmd/options.go

    	retval := &cobra.Command{
    		Use:   "options",
    		Short: "Displays istioctl global options",
    		Args:  cobra.ExactArgs(0),
    	}
    
    	retval.SetHelpFunc(func(c *cobra.Command, args []string) {
    		c.Printf("The following options can be passed to any command:\n")
    		// (Currently the only global options we show are help options)
    		rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) {
    			if _, ok := helpFlags[flag.Name]; ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. cmd/net.go

    			ipV4s = append(ipV4s, nip)
    		} else {
    			nonIPs = append(nonIPs, ip)
    		}
    	}
    
    	sort.Slice(ipV4s, func(i, j int) bool {
    		// This case is needed when all ips in the list
    		// have same last octets, Following just ensures that
    		// 127.0.0.1 is moved to the end of the list.
    		if ipV4s[i].IsLoopback() {
    			return false
    		}
    		if ipV4s[j].IsLoopback() {
    			return 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)
Back to top