Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for void (0.13 sec)

  1. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    		return
    	}
    
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, VersionNotFound{
    				Bucket:    srcBucket,
    				Object:    srcObject,
    				VersionID: vid,
    			}), r.URL)
    			return
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/os-dirent_namelen_linux.go

    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    	// https://github.com/golang/tools/commit/5f9a5413737ba4b4f692214aebee582b47c8be74
    	nameLen := bytes.IndexByte(nameBuf[:limit], 0)
    	if nameLen < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  3. internal/bucket/replication/sourceselectioncriteria.go

    	}
    	return nil
    }
    
    // UnmarshalXML - decodes XML data.
    func (s *SourceSelectionCriteria) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type sourceSelectionCriteria SourceSelectionCriteria
    	ssc := sourceSelectionCriteria{}
    	if err := dec.DecodeElement(&ssc, &start); err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. cmd/license-update.go

    			// license update stopped for some reason.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func licenceUpdaterLoop(ctx context.Context, objAPI ObjectLayer) {
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    		return
    	}
    
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, VersionNotFound{
    				Bucket:    srcBucket,
    				Object:    srcObject,
    				VersionID: vid,
    			}), r.URL)
    			return
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/api-utils.go

    	}
    
    	switch c {
    	case '-', '_', '.', '/', '*':
    		return false
    	}
    	return true
    }
    
    // s3URLEncode is based on Golang's url.QueryEscape() code,
    // while considering some S3 exceptions:
    //   - Avoid encoding '/' and '*'
    //   - Force encoding of '~'
    func s3URLEncode(s string) string {
    	spaceCount, hexCount := 0, 0
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. internal/bucket/replication/destination.go

    		}
    	}
    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // UnmarshalXML - decodes XML data.
    func (d *Destination) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type destination Destination
    	dest := destination{}
    
    	if err := dec.DecodeElement(&dest, &start); err != nil {
    		return err
    	}
    	parsedDest, err := parseDestination(dest.Bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  8. internal/s3select/select.go

    	return !input.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (input *InputSerialization) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subInputSerialization InputSerialization
    	parsedInput := subInputSerialization{}
    	if err := d.DecodeElement(&parsedInput, &start); err != nil {
    		return errMalformedXML(err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  9. cmd/erasure-common.go

    					continue
    				}
    				quorum++
    				if toAdd.Modtime.After(gotFile.Modtime) || len(gotFile.Data) < len(toAdd.Data) {
    					// Pick latest, or largest to avoid possible truncated entries.
    					continue
    				}
    				toAdd = gotFile
    			}
    		}
    		if quorum < readQuorum {
    			toAdd.Exists = false
    			toAdd.Error = errErasureReadQuorum.Error()
    			toAdd.Data = nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. internal/mountinfo/mountinfo_linux.go

    	}
    	var crossMounts mountInfos
    	for _, mount := range mts {
    		// Add a separator to indicate that this is a proper mount-point.
    		// This is to avoid a situation where prefix is '/tmp/fsmount'
    		// and mount path is /tmp/fs. In such a scenario we need to check for
    		// `/tmp/fs/` to be a common prefix amount other mounts.
    		mpath := strings.TrimSuffix(mount.Path, "/") + "/"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
Back to top