Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 82 for _isValid (0.11 sec)

  1. cmd/erasure-metadata.go

    }
    
    // ShardSize - returns actual shared size from erasure blockSize.
    func (e ErasureInfo) ShardSize() int64 {
    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

            this.name = name;
        }
    
        public String getValue() {
            return value;
        }
    
        public void setValue(final String value) {
            this.value = value;
        }
    
        public boolean isValid() {
            if (StringUtil.isBlank(name) || value == null) {
                return false;
            }
    
            return true;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. api/go1.15.txt

    pkg database/sql, method (*Row) Err() error
    pkg database/sql, type DBStats struct, MaxIdleTimeClosed int64
    pkg database/sql/driver, type Validator interface { IsValid }
    pkg database/sql/driver, type Validator interface, IsValid() bool
    pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_APPCONTAINER = 4096
    pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_APPCONTAINER ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

    public class CronExpressionValidator implements ConstraintValidator<CronExpression, String> {
    
        @Override
        public void initialize(final CronExpression constraintAnnotation) {
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            return determineValid(value);
        }
    
        protected boolean determineValid(final String value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbFileHandle.java

    public interface SmbFileHandle extends AutoCloseable {
    
        /**
         * @return the tree
         */
        SmbTreeHandle getTree ();
    
    
        /**
         * @return whether the file descriptor is valid
         */
        boolean isValid ();
    
    
        /**
         * @param lastWriteTime
         * @throws CIFSException
         */
        void close ( long lastWriteTime ) throws CIFSException;
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  6. api/go1.18.txt

    pkg net/netip, method (Addr) IsLoopback() bool
    pkg net/netip, method (Addr) IsMulticast() bool
    pkg net/netip, method (Addr) IsPrivate() bool
    pkg net/netip, method (Addr) IsUnspecified() bool
    pkg net/netip, method (Addr) IsValid() bool
    pkg net/netip, method (Addr) Less(Addr) bool
    pkg net/netip, method (Addr) MarshalBinary() ([]uint8, error)
    pkg net/netip, method (Addr) MarshalText() ([]uint8, error)
    pkg net/netip, method (Addr) Next() Addr
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

                try (final InputStream is = responseData.getResponseBody()) {
                    final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper");
                    return sitemapsHelper.isValid(is);
                } catch (final CrawlingAccessException e) {
                    throw e;
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. internal/auth/credentials_test.go

    		}
    	}
    }
    
    func TestGetNewCredentials(t *testing.T) {
    	cred, err := GetNewCredentials()
    	if err != nil {
    		t.Fatalf("Failed to get a new credential")
    	}
    	if !cred.IsValid() {
    		t.Fatalf("Failed to get new valid credential")
    	}
    	if len(cred.AccessKey) != accessKeyMaxLen {
    		t.Fatalf("access key length: expected: %v, got: %v", secretKeyMaxLen, len(cred.AccessKey))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. schema/field.go

    	valuer, isValuer := fieldValue.Interface().(driver.Valuer)
    	if isValuer {
    		if _, ok := fieldValue.Interface().(GormDataTypeInterface); !ok {
    			if v, err := valuer.Value(); reflect.ValueOf(v).IsValid() && err == nil {
    				fieldValue = reflect.ValueOf(v)
    			}
    
    			// Use the field struct's first field type as data type, e.g: use `string` for sql.NullString
    			var getRealFieldValue func(reflect.Value)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * 
         * @param cifsContext
         * @param singingEnforced
         * @param request
         * @return whether the protocol negotiation was successful
         */
        boolean isValid ( CIFSContext cifsContext, SmbNegotiationRequest request );
    
    
        /**
         * 
         * @return selected dialect
         */
        DialectVersion getSelectedDialect ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
Back to top