Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 7,250 for return (0.06 sec)

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    i--;
                }
                return urlpath.substring(i + 1);
            }
            else if ( shr != null ) {
                return shr + '/';
            }
            else if ( this.url.getHost().length() > 0 ) {
                return this.url.getHost() + '/';
            }
            else {
                return "smb://";
            }
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    					switch err.(type) {
    					case ObjectNotFound, BucketNotFound:
    						return false, nil
    					case InsufficientReadQuorum, StorageErr:
    						return true, nil
    					}
    					return false, err
    				}
    				err = d.deserialize(r)
    				r.Close()
    				return err != nil, nil
    			case InsufficientReadQuorum, StorageErr:
    				return true, nil
    			}
    			return false, err
    		}
    		err = d.deserialize(r)
    		r.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  3. cmd/xl-storage-meta-inline.go

    const xlMetaInlineDataVer = 1
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    	return x[0] > 0 && x[0] <= xlMetaInlineDataVer
    }
    
    // afterVersion returns the payload after the version, if any.
    func (x xlMetaInlineData) afterVersion() []byte {
    	if len(x) == 0 {
    		return x
    	}
    	return x[1:]
    }
    
    // find the data with key s.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    	return "Object name invalid: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameTooLong) Error() string {
    	return "Object name too long: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNamePrefixAsSlash) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/rule.go

    	return r.Expiration.Validate()
    }
    
    func (r Rule) validateNoncurrentExpiration() error {
    	return r.NoncurrentVersionExpiration.Validate()
    }
    
    func (r Rule) validatePrefixAndFilter() error {
    	if !r.Prefix.set && r.Filter.IsEmpty() || r.Prefix.set && !r.Filter.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	if !r.Prefix.set {
    		return r.Filter.Validate()
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            /**
             * @return URL
             */
            public URL getURL() {
                return url_;
            }
    
            /**
             * @param url
             */
            public void setURL(final URL url) {
                url_ = url;
            }
    
            /**
             * @return Returns the cal.
             */
            public Calendar getCal() {
                return cal;
            }
    
            /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. cmd/object-api-interface_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "NoMetadata")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BucketOptions) Msgsize() (s int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. cmd/update.go

    	// Check if we are in DCOS environment, return
    	// deployment guide for update procedures.
    	if IsDCOS() {
    		return mesosDeploymentDoc
    	}
    
    	// Check if we are in kubernetes environment, return
    	// deployment guide for update procedures.
    	if IsKubernetes() {
    		return kubernetesDeploymentDoc
    	}
    
    	// Check if we are docker environment, return docker update command
    	if IsDocker() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. internal/dsync/lock-args_gen.go

    		err = msgp.WrapError(err, "Source")
    		return
    	}
    	// write "Quorum"
    	err = en.Append(0xa6, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d)
    	if err != nil {
    		return
    	}
    	if z.Quorum == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteInt(*z.Quorum)
    		if err != nil {
    			err = msgp.WrapError(err, "Quorum")
    			return
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    		return cred, ErrSignatureVersionNotSupported
    	}
    
    	cred, _, apiErr := getReqAccessKeyV2(r)
    	if apiErr != ErrNone {
    		return cred, apiErr
    	}
    
    	return cred, ErrNone
    }
    
    func doesSignV2Match(r *http.Request) APIErrorCode {
    	v2Auth := r.Header.Get(xhttp.Authorization)
    	cred, apiError := validateV2AuthHeader(r)
    	if apiError != ErrNone {
    		return apiError
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top