Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 593 for format (0.09 sec)

  1. src/archive/tar/format.go

    	FormatGNU
    
    	// Schily's tar format, which is incompatible with USTAR.
    	// This does not cover STAR extensions to the PAX format; these fall under
    	// the PAX format.
    	formatSTAR
    
    	formatMax
    )
    
    func (f Format) has(f2 Format) bool   { return f&f2 != 0 }
    func (f *Format) mayBe(f2 Format)     { *f |= f2 }
    func (f *Format) mayOnlyBe(f2 Format) { *f &= f2 }
    func (f *Format) mustNotBe(f2 Format) { *f &^= f2 }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. cmd/format-erasure_test.go

    			t.Fatal(err)
    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 8)
    
    	for j := 0; j < 8; j++ {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	formats[1] = nil
    	expThis := formats[2].Erasure.This
    	formats[2].Erasure.This = ""
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    			osErrToFileErr(err)))
    	}
    
    	// format-V2 struct is exactly same as format-V1 except that version is "3"
    	// which indicates the simplified multipart backend.
    	formatV3 := formatErasureV3{}
    	formatV3.Version = formatV2.Version
    	formatV3.Format = formatV2.Format
    	formatV3.Erasure = formatV2.Erasure
    	formatV3.Erasure.Version = formatErasureVersionV3
    
    	return json.Marshal(formatV3)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1_gen.go

    		case "Version":
    			z.Version, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "Format":
    			z.Format, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Format")
    				return
    			}
    		case "Stat":
    			err = z.Stat.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Stat")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen_test.go

    Klaus Post <******@****.***> 1637266522 -0800
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 18 20:15:22 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v1_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1618853442 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_test.go

    Klaus Post <******@****.***> 1709920248 +0100
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    		return nil, errFirstDiskWait
    	}
    
    	format, err = getFormatErasureInQuorum(formatConfigs)
    	if err != nil {
    		var drivesNotFound int
    		for _, format := range formatConfigs {
    			if format != nil {
    				continue
    			}
    			drivesNotFound++
    		}
    		return nil, fmt.Errorf("%w (offline-drives=%d/%d)", err, drivesNotFound, len(formatConfigs))
    	}
    
    	if format.ID == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("0 kB", format.format(_0_bytes, ScaleUnit.KILOBYTE));
            assertEquals("0 MB", format.format(_0_bytes, ScaleUnit.MEGABYTE));
            assertEquals("0 GB", format.format(_0_bytes, ScaleUnit.GIGABYTE));
    
            long _5_bytes = 5L;
            assertEquals("5 B", format.format(_5_bytes));
            assertEquals("5 B", format.format(_5_bytes, ScaleUnit.BYTE));
            assertEquals("0 kB", format.format(_5_bytes, ScaleUnit.KILOBYTE));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. cmd/erasure-sets.go

    			}
    		}
    
    		// Save new formats `format.json` on unformatted disks.
    		for index, format := range tmpNewFormats {
    			if storageDisks[index] == nil || format == nil {
    				continue
    			}
    			if err := saveFormatErasure(storageDisks[index], format, formatOpID); err != nil {
    				healingLogIf(ctx, fmt.Errorf("Drive %s failed to write updated 'format.json': %v", storageDisks[index], err))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
Back to top