Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for Inlined (0.08 sec)

  1. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

    import java.util.Comparator;
    import java.util.Random;
    
    /**
     * A benchmark to determine the overhead of sorting with {@link Ordering#from(Comparator)}, or with
     * {@link Ordering#natural()}, as opposed to using the inlined {@link Arrays#sort(Object[])}
     * implementation, which uses {@link Comparable#compareTo} directly.
     *
     * @author Louis Wasserman
     */
    public class ComparatorDelegationOverheadBenchmark {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    	NumVersions int
    	//  The modtime of the successor object version if any
    	SuccessorModTime time.Time
    
    	// Checksums added on upload.
    	// Encoded, maybe encrypted.
    	Checksum []byte
    
    	// Inlined
    	Inlined bool
    
    	DataBlocks   int
    	ParityBlocks int
    }
    
    // ExpiresStr returns a stringified version of Expires header in http.TimeFormat
    func (o ObjectInfo) ExpiresStr() string {
    	var expires string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    	return ok
    }
    
    // InlineData returns true if object contents are inlined alongside its metadata.
    func (fi FileInfo) InlineData() bool {
    	_, ok := fi.Metadata[ReservedMetadataPrefixLower+"inline-data"]
    	// Earlier MinIO versions didn't reset "x-minio-internal-inline-data"
    	// from fi.Metadata when the object was tiered. So, tiered objects
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    			metaArr[index].ModTime = modTime
    			metaArr[index].VersionID = versionID
    			if !metaArr[index].InlineData() {
    				// If the data is not inlined, we may end up incorrectly
    				// inlining the data here, that leads to an inconsistent
    				// situation where some objects are were not inlined
    				// were now inlined, make sure to `nil` the Data such
    				// that xl.meta is written as expected.
    				metaArr[index].Data = nil
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    			z.Checksum, bts, err = msgp.ReadBytesBytes(bts, z.Checksum)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksum")
    				return
    			}
    		case "Inlined":
    			z.Inlined, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Inlined")
    				return
    			}
    		case "DataBlocks":
    			z.DataBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			partPath := fmt.Sprintf("part.%d", fi.Parts[0].Number)
    			dataPath := pathJoin(path, fi.DataDir, partPath)
    			_, lerr := Lstat(pathJoin(volumeDir, dataPath))
    			if lerr != nil {
    				// Set the inline header, our inlined data is fine.
    				fi.SetInlineData()
    				return fi, nil
    			}
    			// Data exists on disk, remove the version from metadata.
    			fi.Data = nil
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    			objInfo.RestoreOngoing = restoreStatus.Ongoing()
    			objInfo.RestoreExpires, _ = restoreStatus.Expiry()
    		}
    	}
    	objInfo.Checksum = fi.Checksum
    	objInfo.decryptPartsChecksums(nil)
    	objInfo.Inlined = fi.InlineData()
    	// Success.
    	return objInfo
    }
    
    // TransitionInfoEquals returns true if transition related information are equal, false otherwise.
    func (fi FileInfo) TransitionInfoEquals(ofi FileInfo) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       *     Iterables#getLast} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> last() {
        // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE
    
        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    				result.After.Drives[i].State = madmin.DriveStateOk
    			}
    		}
    	}
    
    	return result, nil
    }
    
    // checkAbandonedParts will check if an object has abandoned parts,
    // meaning data-dirs or inlined data that are no longer referenced by the xl.meta
    // Errors are generally ignored by this function.
    func (er *erasureObjects) checkAbandonedParts(ctx context.Context, bucket string, object string, opts madmin.HealOpts) (err 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)
  10. cmd/xl-storage-format-v2.go

    }
    
    // InlineData returns whether inline data has been set.
    // Note that false does not mean there is no inline data,
    // only that it is unlikely.
    func (j xlMetaV2Object) InlineData() bool {
    	_, ok := j.MetaSys[ReservedMetadataPrefixLower+"inline-data"]
    	return ok
    }
    
    func (j *xlMetaV2Object) ResetInlineData() {
    	delete(j.MetaSys, ReservedMetadataPrefixLower+"inline-data")
    }
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top