- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 68 for fi (0.01 seconds)
-
cmd/xl-storage-format-v2.go
} // If asked to save data. if len(fi.Data) > 0 || fi.Size == 0 { x.data.replace(fi.VersionID, fi.Data) } if fi.TransitionStatus != "" { ventry.ObjectV2.MetaSys[metaTierStatus] = []byte(fi.TransitionStatus) } if fi.TransitionedObjName != "" { ventry.ObjectV2.MetaSys[metaTierObjName] = []byte(fi.TransitionedObjName) } if fi.TransitionVersionID != "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1) -
cmd/storage-datatypes.go
lastShardSize := ceilFrac(lastBlockSize, int64(fi.Erasure.DataBlocks)) return numShards*fi.shardSize() + lastShardSize } // ShallowCopy - copies minimal information for READ MRF checks. func (fi FileInfo) ShallowCopy() (n FileInfo) { n.Volume = fi.Volume n.Name = fi.Name n.VersionID = fi.VersionID n.Deleted = fi.Deleted n.Erasure = fi.Erasure return n }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0) -
ci/official/utilities/setup_docker.sh
docker pull "$TFCI_DOCKER_IMAGE" || sleep 60 docker pull "$TFCI_DOCKER_IMAGE" fi if [[ "$TFCI_DOCKER_REBUILD_ENABLE" == 1 ]]; then DOCKER_BUILDKIT=1 docker build --cache-from "$TFCI_DOCKER_IMAGE" -t "$TFCI_DOCKER_IMAGE" $TFCI_DOCKER_REBUILD_ARGS if [[ "$TFCI_DOCKER_REBUILD_UPLOAD_ENABLE" == 1 ]]; then docker push "$TFCI_DOCKER_IMAGE" fi fi # Keep the existing "tf" container if it's already present.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Nov 20 17:33:55 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/erasure-multipart.go
case size >= fi.Erasure.BlockSize || size == -1: if int64(globalBytePoolCap.Load().Width()) < fi.Erasure.BlockSize { buffer = make([]byte, fi.Erasure.BlockSize, 2*fi.Erasure.BlockSize) } else { buffer = globalBytePoolCap.Load().Get() defer globalBytePoolCap.Load().Put(buffer) } case size < fi.Erasure.BlockSize:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
src/cmd/api/api_test.go
if err != nil { t.Fatal(err) } for _, fi := range fis { if !fi.IsDir() { continue } // TODO(gri) remove extra pkg directory eventually goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt") w := NewWalker(nil, "testdata/src/pkg") pkg, err := w.import_(fi.Name()) if err != nil { t.Fatalf("import %s: %v", fi.Name(), err) } w.export(pkg) if *updateGolden {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri May 02 17:06:27 GMT 2025 - 7.6K bytes - Click Count (0) -
src/archive/tar/common.go
h *Header } func (fi headerFileInfo) Size() int64 { return fi.h.Size } func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() } func (fi headerFileInfo) ModTime() time.Time { return fi.h.ModTime } func (fi headerFileInfo) Sys() any { return fi.h } // Name returns the base name of the file. func (fi headerFileInfo) Name() string { if fi.IsDir() {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
cmd/xl-storage-format-utils_test.go
for i := range 5 { fi := basefi fi.VersionID = mustGetUUID() fi.DataDir = mustGetUUID() fi.ModTime = basefi.ModTime.Add(time.Duration(i) * time.Second) if err := xl.AddVersion(fi); err != nil { t.Fatalf("%d: Failed to add version %v", i+1, err) } if i > 3 { // Simulate transition of a version transfi := fi transfi.TransitionStatus = lifecycle.TransitionCompleteCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.1K bytes - Click Count (0) -
cmd/storage-interface.go
// Metadata operations DeleteVersion(ctx context.Context, volume, path string, fi FileInfo, forceDelMarker bool, opts DeleteOptions) error DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) []error DeleteBulk(ctx context.Context, volume string, paths ...string) error WriteMetadata(ctx context.Context, origvolume, volume, path string, fi FileInfo) error
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/metacache-set.go
return nil } // Update block 0 metadata. var retries int for { meta := b.headerKV() fi := FileInfo{ Metadata: make(map[string]string, len(meta)), } maps.Copy(fi.Metadata, meta) err := er.updateObjectMetaWithOpts(ctx, minioMetaBucket, o.objectPath(0), fi, er.getDisks(), UpdateMetadataOpts{NoPersistence: true}) if err == nil { break } switch err.(type) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 30.7K bytes - Click Count (0) -
ci/official/utilities/rename_and_verify_wheels.sh
python="$venv_dir/Scripts/python.exe" fi # TODO(b/366266944) Remove the check after tf docker image upgrade for NumPy 2 # and numpy 1 support is dropped b/361369076. if [[ "$TFCI_WHL_NUMPY_VERSION" == 1 ]]; then if [[ "$TFCI_PYTHON_VERSION" == "3.13" ]]; then "$python" -m pip install numpy==1.26.4 else "$python" -m pip install numpy==1.26.0 fi fi if [[ "$TFCI_BAZEL_COMMON_ARGS" =~ gpu|cuda ]]; then
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0)