Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for Inlined (0.13 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/erasure-object_test.go

    				t.Errorf("Expected Write Quorum %d, got %d", tt.expectedWriteQuorum, actualWriteQuorum)
    			}
    		})
    	}
    }
    
    // In some deployments, one object has data inlined in one disk and not inlined in other disks.
    func TestGetObjectInlineNotInline(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. 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)
  8. cmd/xl-storage-format-v2_test.go

    		restoreObjStatus string
    		expireRestored   bool
    		expectedDataDir  string
    	}{
    		{ // object versions with inlined data don't count towards shared data directory
    			versionID: mustGetUUID(),
    			dataDir:   d0,
    			data:      data,
    			shares:    0,
    		},
    		{ // object versions with inlined data don't count towards shared data directory
    			versionID: mustGetUUID(),
    			dataDir:   d1,
    			data:      data2,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top