Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for valid (0.15 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

    import org.apache.maven.model.v4.MavenTransformer;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultModelValidator implements ModelValidator {
    
        public static final List<String> VALID_MODEL_VERSIONS =
                Collections.unmodifiableList(Arrays.asList("4.0.0", "4.1.0"));
    
        private static final Pattern EXPRESSION_NAME_PATTERN = Pattern.compile("\\$\\{(.+?)}");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			},
    		},
    		// inputParts - 3.
    		// Case with valid parts,but parts are unsorted.
    		// Part size greater than 5 MiB.
    		{
    			[]CompletePart{
    				{ETag: validPartMD5, PartNumber: 6},
    				{ETag: validPartMD5, PartNumber: 5},
    			},
    		},
    		// inputParts - 4.
    		// Case with valid part.
    		// Part size greater than 5 MiB.
    		{
    			[]CompletePart{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    }
    
    func (er erasureObjects) getMultipartSHADir(bucket, object string) string {
    	return getSHA256Hash([]byte(pathJoin(bucket, object)))
    }
    
    // checkUploadIDExists - verify if a given uploadID exists and is valid.
    func (er erasureObjects) checkUploadIDExists(ctx context.Context, bucket, object, uploadID string, write bool) (fi FileInfo, metArr []FileInfo, err error) {
    	defer func() {
    		if errors.Is(err, errFileNotFound) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/websockets.md

        You can use a closing code from the <a href="https://tools.ietf.org/html/rfc6455#section-7.4.1" class="external-link" target="_blank">valid codes defined in the specification</a>.
    
    ### Try the WebSockets with dependencies
    
    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			// Skip if entry is neither a directory not a valid volume name.
    			continue
    		}
    		volsInfo = append(volsInfo, VolInfo{
    			Name: pathutil.Clean(entry),
    		})
    	}
    	return volsInfo, nil
    }
    
    // StatVol - get volume info.
    func (s *xlStorage) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	// Verify if volume is valid and it exists.
    	volumeDir, err := s.getVolDir(volume)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    			}
    		}
    		return ObjectInfo{}, toObjectErr(err, srcBucket, srcObject)
    	}
    
    	// List all online disks.
    	onlineDisks, modTime, etag := listOnlineDisks(storageDisks, metaArr, errs, readQuorum)
    
    	// Pick latest valid metadata.
    	fi, err := pickValidFileInfo(ctx, metaArr, modTime, etag, readQuorum)
    	if err != nil {
    		return oi, toObjectErr(err, srcBucket, srcObject)
    	}
    	if fi.Deleted {
    		if srcOpts.VersionID == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  8. istioctl/pkg/waypoint/waypoint.go

    		// as the waypoint-for traffic type.
    		if !validTrafficTypes.Contains(trafficType) {
    			return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String())
    		}
    
    		if gw.Labels == nil {
    			gw.Labels = map[string]string{}
    		}
    		gw.Labels[constants.AmbientWaypointForTrafficType] = trafficType
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            ModelData resultData = new ModelData(request.getSource(), inputModel);
            String superModelVersion = inputModel.getModelVersion() != null ? inputModel.getModelVersion() : "4.0.0";
            if (!VALID_MODEL_VERSIONS.contains(superModelVersion)) {
                // Maven 3.x is always using 4.0.0 version to load the supermodel, so
                // do the same when loading a dependency.  The model validator will also
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    	}
    
    	if p.health.status.Load() != diskHealthOK {
    		return ctx, done, errFaultyDisk
    	}
    
    	// Verify if the disk is not stale
    	// - missing format.json (unformatted drive)
    	// - format.json is valid but invalid 'uuid'
    	if err = p.checkDiskStale(); err != nil {
    		return ctx, done, err
    	}
    
    	// Disallow recursive tracking to avoid deadlocks.
    	if ctx.Value(healthDiskCtxKey{}) != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top