Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for Goff (0.33 sec)

  1. cmd/bucket-lifecycle.go

    		return nil, fmt.Errorf("transition storage class not configured: %w", err)
    	}
    
    	fn, off, length, err := NewGetObjectReader(rs, oi, opts)
    	if err != nil {
    		return nil, ErrorRespToObjectError(err, bucket, object)
    	}
    	gopts := WarmBackendGetOpts{}
    
    	// get correct offsets for object
    	if off >= 0 && length >= 0 {
    		gopts.startOffset = off
    		gopts.length = length
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		}
    		help = append(help, config.HelpKV{
    			Key:         key,
    			Description: fmt.Sprintf("enable %s target, default is 'off'", subSys),
    			Optional:    false,
    			Type:        "on|off",
    		})
    	}
    
    	for _, hkv := range h {
    		key := hkv.Key
    		if envOnly {
    			key = config.EnvPrefix + strings.ToTitle(subSys) + config.EnvWordDelimiter + strings.ToTitle(hkv.Key)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    		// don't spend all our time copying.
    		copy(b.buf, b.buf[b.off:])
    	} else if c > maxInt-c-n {
    		panic(ErrTooLarge)
    	} else {
    		// Add b.off to account for b.buf[:b.off] being sliced off the front.
    		b.buf = growSlice(b.buf[b.off:], b.off+n)
    	}
    	// Restore b.off and len(b.buf).
    	b.off = 0
    	b.buf = b.buf[:m+n]
    	return m
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. cmd/veeam-sos-api.go

    	default:
    		return nil, errFileNotFound
    	}
    
    	etag := getMD5Hash(buf)
    	r := bytes.NewReader(buf)
    
    	off, length := int64(0), r.Size()
    	if rs != nil {
    		off, length, err = rs.GetOffsetLength(r.Size())
    		if err != nil {
    			return nil, err
    		}
    	}
    	r.Seek(off, io.SeekStart)
    
    	return NewGetObjectReaderFromReader(io.LimitReader(r, length), ObjectInfo{
    		Bucket:      bucket,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  6. internal/config/cache/help.go

    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help - provides help for cache config
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Enable,
    			Type:        "on|off",
    			Description: "set to enable remote cache plugin" + defaultHelpPostfix(Enable),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         Endpoint,
    			Type:        "string",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:57:13 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. cmd/api-headers.go

    func setEventStreamHeaders(w http.ResponseWriter) {
    	w.Header().Set(xhttp.ContentType, "text/event-stream")
    	w.Header().Set(xhttp.CacheControl, "no-cache") // nginx to turn off buffering
    	w.Header().Set("X-Accel-Buffering", "no")      // nginx to turn off buffering
    }
    
    // Write http common headers
    func setCommonHeaders(w http.ResponseWriter) {
    	// Set the "Server" http header.
    	w.Header().Set(xhttp.ServerInfo, MinioStoreName)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  8. internal/store/store.go

    			}
    
    			logger(
    				context.Background(),
    				fmt.Errorf("unable to send webhook log entry to '%s' err '%w'", target.Name(), err),
    				target.Name(),
    			)
    
    			select {
    			// Retrying after 3secs back-off
    			case <-retryTicker.C:
    			case <-doneCh:
    				return false
    			}
    		}
    		return true
    	}
    
    	for {
    		select {
    		case key, ok := <-keyCh:
    			if !ok {
    				return
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			// structs are in system headers that cannot be corrected.
    			continue
    		}
    
    		// Round off up to talign, assumed to be a power of 2.
    		off = (off + talign - 1) &^ (talign - 1)
    
    		if f.ByteOffset > off {
    			fld, sizes = c.pad(fld, sizes, f.ByteOffset-off)
    			off = f.ByteOffset
    		}
    		if f.ByteOffset < off {
    			// Drop a packed field that we can't represent.
    			continue
    		}
    
    		n := len(fld)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. cmd/bucket-notification-handlers.go

    			for i, queue := range config.QueueList {
    				// Remove ARN not found queues, because we previously allowed
    				// adding unexpected entries into the config.
    				//
    				// With newer config disallowing changing / turning off
    				// notification targets without removing ARN in notification
    				// configuration we won't see this problem anymore.
    				if reflect.DeepEqual(queue.ARN, arnErr.ARN) && i < len(config.QueueList) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top