Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 82 for _isValid (0.08 sec)

  1. cmd/bucket-replication-utils.go

    	// ResyncStarted -  resync in progress
    	ResyncStarted
    	// ResyncCompleted -  resync finished
    	ResyncCompleted
    	// ResyncFailed -  resync failed
    	ResyncFailed
    )
    
    func (rt ResyncStatusType) isValid() bool {
    	return rt != NoResync
    }
    
    func (rt ResyncStatusType) String() string {
    	switch rt {
    	case ResyncStarted:
    		return "Ongoing"
    	case ResyncCompleted:
    		return "Completed"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. statement.go

    									}
    								}
    							}
    						}
    					}
    				}
    
    				if restricted {
    					break
    				}
    			} else if !reflectValue.IsValid() {
    				stmt.AddError(ErrInvalidData)
    			} else if len(conds) == 0 {
    				if len(args) == 1 {
    					switch reflectValue.Kind() {
    					case reflect.Slice, reflect.Array:
    						// optimize reflect value length
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. finisher_api.go

    		tx.AddError(err)
    	}
    	tx.Statement.Dest = dest
    	tx.Statement.ReflectValue = reflect.ValueOf(dest)
    	for tx.Statement.ReflectValue.Kind() == reflect.Ptr {
    		elem := tx.Statement.ReflectValue.Elem()
    		if !elem.IsValid() {
    			elem = reflect.New(tx.Statement.ReflectValue.Type().Elem())
    			tx.Statement.ReflectValue.Set(elem)
    		}
    		tx.Statement.ReflectValue = elem
    	}
    	Scan(rows, tx, ScanInitialized)
    	return tx.Error
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            final RequestHeader[] requestHeaders = getInitParameter(REQUERT_HEADERS_PROPERTY, new RequestHeader[0], RequestHeader[].class);
            for (final RequestHeader requestHeader : requestHeaders) {
                if (requestHeader.isValid()) {
                    requestHeaderList.add(new BasicHeader(requestHeader.getName(), requestHeader.getValue()));
                }
            }
    
            // do not redirect
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. cmd/iam.go

    	atomic.StoreUint64(&sys.LastRefreshTimeUnixNano, uint64(loadStartTime.Add(loadDuration).UnixNano()))
    	atomic.AddUint64(&sys.TotalRefreshSuccesses, 1)
    
    	if !globalSiteReplicatorCred.IsValid() {
    		sa, _, err := sys.getServiceAccount(ctx, siteReplicatorSvcAcc)
    		if err == nil {
    			globalSiteReplicatorCred.Set(sa.Credentials.SecretKey)
    		}
    	}
    
    	if firstTime {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		return
    	}
    
    	// Validate storage class metadata if present
    	dstSc := r.Header.Get(xhttp.AmzStorageClass)
    	if dstSc != "" && !storageclass.IsValid(dstSc) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidStorageClass), r.URL)
    		return
    	}
    
    	// Check if bucket encryption is enabled
    	sseConfig, _ := globalBucketSSEConfigSys.Get(dstBucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    	sseConfig.Apply(r.Header, sse.ApplyOptions{
    		AutoEncrypt: globalAutoEncryption,
    	})
    
    	// Validate storage class metadata if present
    	if sc := r.Header.Get(xhttp.AmzStorageClass); sc != "" {
    		if !storageclass.IsValid(sc) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidStorageClass), r.URL)
    			return
    		}
    	}
    
    	encMetadata := map[string]string{}
    
    	if crypto.Requested(r.Header) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		fi.SetDataMov()
    	}
    
    	// Update all erasure metadata, make sure to not modify fields like
    	// checksum which are different on each disks.
    	for index := range partsMetadata {
    		if partsMetadata[index].IsValid() {
    			partsMetadata[index].Size = fi.Size
    			partsMetadata[index].ModTime = fi.ModTime
    			partsMetadata[index].Metadata = fi.Metadata
    			partsMetadata[index].Parts = fi.Parts
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
    
            if ( log.isDebugEnabled() ) {
                log.debug("Negotiation response on " + this.name + " :" + resp);
            }
    
            if ( !resp.getResponse().isValid(getContext(), resp.getRequest()) ) {
                throw new SmbException("This client is not compatible with the server.");
            }
    
            boolean serverRequireSig = resp.getResponse().isSigningRequired();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    		return madmin.ReplicateAddStatus{
    			Status:    madmin.ReplicateAddStatusPartial,
    			ErrDetail: fmt.Sprintf("unable to save cluster-replication state on local: %v", err),
    		}, nil
    	}
    
    	if !globalSiteReplicatorCred.IsValid() {
    		globalSiteReplicatorCred.Set(svcCred.SecretKey)
    	}
    	result := madmin.ReplicateAddStatus{
    		Success: true,
    		Status:  madmin.ReplicateAddStatusSuccess,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top