Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for Don (0.15 sec)

  1. cmd/object-handlers-common.go

    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// Check if the part number is correct.
    	if opts.PartNumber > 1 && opts.PartNumber > len(objInfo.Parts) {
    		// According to S3 we don't need to set any object information here.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. cmd/erasure.go

    	// Start async collector/saver.
    	// This goroutine owns the cache.
    	var saverWg sync.WaitGroup
    	saverWg.Add(1)
    	go func() {
    		// Add jitter to the update time so multiple sets don't sync up.
    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  3. cmd/s3-zip-handlers.go

    			// permission.
    			// * If you have the s3:ListBucket permission
    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. internal/etag/reader.go

    //
    // If content implements Tagger then the returned Reader
    // returns ETag of the content. Otherwise, it returns
    // nil as ETag.
    //
    // Wrap provides an adapter for io.Reader implementations
    // that don't implement the Tagger interface.
    // It is mainly used to provide a high-level io.Reader
    // access to the ETag computed by a low-level io.Reader:
    //
    //	content := etag.NewReader(r.Body, nil)
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. internal/ioutil/read_file.go

    // as an error to be reported.
    //
    // passes NOATIME flag for reads on Unix systems to avoid atime updates.
    func ReadFile(name string) ([]byte, error) {
    	// Don't wrap with un-needed buffer.
    	// Don't use os.ReadFile, since it doesn't pass NO_ATIME when present.
    	f, err := OsOpenFile(name, readMode, 0o666)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    	st, err := f.Stat()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. cmd/os_windows.go

    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    	// Ensure we don't pick up files as directories.
    	globAll := filepath.Clean(dirPath) + `\*`
    	globAllP, err := syscall.UTF16PtrFromString(globAll)
    	if err != nil {
    		return errInvalidArgument
    	}
    	data := &syscall.Win32finddata{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. internal/kms/context.go

    			i += size
    			start = i
    			continue
    		}
    		// U+2028 is LINE SEPARATOR.
    		// U+2029 is PARAGRAPH SEPARATOR.
    		// They are both technically valid characters in JSON strings,
    		// but don't work in JSONP, which has to be evaluated as JavaScript,
    		// and can lead to security holes there. It is valid JSON to
    		// escape them, so we do so unconditionally.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_test.go

    		restoreObjStatus string
    		expireRestored   bool
    		expectedDataDir  string
    	}{
    		{ // object versions with inlined data don't count towards shared data directory
    			versionID: mustGetUUID(),
    			dataDir:   d0,
    			data:      data,
    			shares:    0,
    		},
    		{ // object versions with inlined data don't count towards shared data directory
    			versionID: mustGetUUID(),
    			dataDir:   d1,
    			data:      data2,
    			shares:    0,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    		return
    	}
    
    	// We have to establish a TLS connection and the
    	// client must provide exactly one client certificate.
    	// Otherwise, we don't have a certificate to verify or
    	// the policy lookup would ambiguous.
    	if r.TLS == nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInsecureConnection, errors.New("No TLS connection attempt"))
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  10. cmd/metacache-walk.go

    					entry = strings.TrimSuffix(entry, globalDirSuffixWithSlash) + slashSeparator
    					dirObjects[entry] = struct{}{}
    					entries[i] = entry
    					continue
    				}
    				// Trim slash, since we don't know if this is folder or object.
    				entries[i] = entries[i][:len(entry)-1]
    				continue
    			}
    			// Do not retain the file.
    			entries[i] = ""
    
    			if contextCanceled(ctx) {
    				return ctx.Err()
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top