Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 190 for IsSlice (0.1 sec)

  1. cmd/erasure-healing.go

    }
    
    func isAllVolumeNotFound(errs []error) bool {
    	return countErrs(errs, errVolumeNotFound) == len(errs)
    }
    
    // isAllNotFound will return if any element of the error slice is not
    // errFileNotFound, errFileVersionNotFound or errVolumeNotFound.
    // A 0 length slice will always return false.
    func isAllNotFound(errs []error) bool {
    	for _, err := range errs {
    		if err != nil {
    			switch err.Error() {
    			case errFileNotFound.Error():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    nt.getElementsByTagName("body")[0];a.each(e,function(b,d){if(d=a.trim(d),0===d.length||a.formUtils.hasLoadedModule(d))g();else{var e=c+d+(".js"===d.slice(-3)?"":".js"),f=document.createElement("SCRIPT");"function"==typeof define&&define.amd?require([e+(".dev.js"===e.slice(-7)?h:"")],g):(f.type="text/javascript",f.onload=g,f.src=e+(".dev.js"===e.slice(-7)?h:""),f.onerror=function(){a.formUtils.warn("Unable to load form validation module "+e,!0),g()},f.onreadystatechange=function(){"complete"!==th...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	return bucketName == minioReservedBucket
    }
    
    // returns a slice of hosts by reading a slice of DNS records
    func getHostsSlice(records []dns.SrvRecord) []string {
    	hosts := make([]string, len(records))
    	for i, r := range records {
    		hosts[i] = net.JoinHostPort(r.Host, string(r.Port))
    	}
    	return hosts
    }
    
    // returns an online host (and corresponding port) from a slice of DNS records
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. api/go1.18.txt

    pkg net/netip, method (Addr) AppendTo([]uint8) []uint8
    pkg net/netip, method (Addr) As16() [16]uint8
    pkg net/netip, method (Addr) As4() [4]uint8
    pkg net/netip, method (Addr) AsSlice() []uint8
    pkg net/netip, method (Addr) BitLen() int
    pkg net/netip, method (Addr) Compare(Addr) int
    pkg net/netip, method (Addr) Is4() bool
    pkg net/netip, method (Addr) Is4In6() bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    	FailureDetail string            `json:"Detail,omitempty"`
    	StartTime     time.Time         `json:"StartTime"`
    
    	// settings for the heal sequence
    	HealSettings madmin.HealOpts `json:"Settings"`
    
    	// slice of available heal result records
    	Items []madmin.HealResultItem `json:"Items"`
    }
    
    // structure to hold state of all heal sequences in server memory
    type allHealState struct {
    	sync.RWMutex
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    			fi.Parts[i] = partInfo
    			return
    		}
    	}
    
    	// Proceed to include new part info.
    	fi.Parts = append(fi.Parts, partInfo)
    
    	// Parts in FileInfo should be in sorted order by part number.
    	sort.Slice(fi.Parts, func(i, j int) bool { return fi.Parts[i].Number < fi.Parts[j].Number })
    }
    
    // ObjectToPartOffset - translate offset of an object to offset of its individual part.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. callbacks/query.go

    			queryFields := db.QueryFields
    			if !queryFields {
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Struct:
    					queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType
    				case reflect.Slice:
    					queryFields = db.Statement.ReflectValue.Type().Elem() != db.Statement.Schema.ModelType
    				}
    			}
    
    			if queryFields {
    				stmt := gorm.Statement{DB: db}
    				// smaller struct
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. api/go1.5.txt

    pkg go/types, method (*Signature) String() string
    pkg go/types, method (*Signature) Underlying() Type
    pkg go/types, method (*Signature) Variadic() bool
    pkg go/types, method (*Slice) Elem() Type
    pkg go/types, method (*Slice) String() string
    pkg go/types, method (*Slice) Underlying() Type
    pkg go/types, method (*StdSizes) Alignof(Type) int64
    pkg go/types, method (*StdSizes) Offsetsof([]*Var) []int64
    pkg go/types, method (*StdSizes) Sizeof(Type) int64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    }
    
    // BatchJobPrefix - to support prefix field yaml unmarshalling with string or slice of strings
    type BatchJobPrefix []string
    
    var _ yaml.Unmarshaler = &BatchJobPrefix{}
    
    // UnmarshalYAML - to support prefix field yaml unmarshalling with string or slice of strings
    func (b *BatchJobPrefix) UnmarshalYAML(value *yaml.Node) error {
    	// try slice first
    	tmpSlice := []string{}
    	if err := value.Decode(&tmpSlice); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/config.go

    		}
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   kvsrc.Key,
    			Value: kvsrc.Value,
    			IsCfg: true,
    			IsEnv: kvsrc.Src == config.ValueSourceEnv,
    		})
    	}
    
    	// sort the structs by the key
    	sort.Slice(res, func(i, j int) bool {
    		return res[i].Key < res[j].Key
    	})
    
    	return res, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top