Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for formats (0.23 sec)

  1. 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)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K 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 = ""
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}}
    
    	for i, v := range vectors {
    		formats, paxHdrs, err := v.header.allowedFormats()
    		if formats != v.formats {
    			t.Errorf("test %d, allowedFormats(): got %v, want %v", i, formats, v.formats)
    		}
    		if formats&FormatPAX > 0 && !reflect.DeepEqual(paxHdrs, v.paxHdrs) && !(len(paxHdrs) == 0 && len(v.paxHdrs) == 0) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    		// Initialize erasure code format on disks
    		format, err = initFormatErasure(GlobalContext, storageDisks, setCount, setDriveCount, deploymentID, sErrs)
    		if err != nil {
    			return nil, nil, err
    		}
    
    		// Assign globalDeploymentID() on first run for the
    		// minio server managing the first disk
    		globalDeploymentIDPtr.Store(&format.ID)
    		return storageDisks, format, nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. 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))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  6. src/builtin/builtin.go

    func recover() any
    
    // The print built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    // Print is useful for bootstrapping and debugging; it is not guaranteed
    // to stay in the language.
    func print(args ...Type)
    
    // The println built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    			wantFormat.mayBe(FormatUSTAR) // PAX implies USTAR allowed too
    		}
    		format.mayOnlyBe(wantFormat) // Set union of formats allowed and format wanted
    	}
    	if format == FormatUnknown {
    		switch h.Format {
    		case FormatUSTAR:
    			err = headerError{"Format specifies USTAR", whyNoUSTAR, whyOnlyPAX, whyOnlyGNU}
    		case FormatPAX:
    			err = headerError{"Format specifies PAX", whyNoPAX, whyOnlyGNU}
    		case FormatGNU:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. src/archive/zip/writer.go

    		fh.ModifiedDate, fh.ModifiedTime = timeToMsDosTime(fh.Modified)
    
    		// Use "extended timestamp" format since this is what Info-ZIP uses.
    		// Nearly every major ZIP implementation uses a different format,
    		// but at least most seem to be able to understand the other formats.
    		//
    		// This format happens to be identical for both local and central header
    		// if modification time is the only timestamp being encoded.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. apache-maven/pom.xml

      </parent>
    
      <artifactId>apache-maven</artifactId>
      <packaging>pom</packaging>
    
      <name>Apache Maven Distribution</name>
      <description>The Apache Maven distribution, source and binary, in zip and tar.gz formats.</description>
    
      <properties>
        <distributionFileName>${distributionId}-${project.version}</distributionFileName>
      </properties>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. chainable_api.go

    	} else {
    		tx.Statement.Omits = columns
    	}
    	return
    }
    
    // Where add conditions
    //
    // See the [docs] for details on the various formats that where clauses can take. By default, where clauses chain with AND.
    //
    //	// Find the first user with name jinzhu
    //	db.Where("name = ?", "jinzhu").First(&user)
    //	// Find the first user with name jinzhu and age 20
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
Back to top