Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for formato (0.2 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. scripts/format.sh

    #!/bin/sh -e
    set -x
    
    ruff check fastapi tests docs_src scripts --fix
    Shell Script
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 00:03:14 GMT 2024
    - 112 bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  4. 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)
  5. cmd/erasure-server-pool.go

    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    		}
    
    		bootstrapTrace(fmt.Sprintf("newErasureSets: initializing %s pool", humanize.Ordinal(i+1)), func() {
    			z.serverPools[i], err = newErasureSets(ctx, ep, storageDisks[i], formats[i], commonParityDrives, i)
    		})
    		if err != nil {
    			return nil, err
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. Makefile.core.mk

    #-----------------------------------------------------------------------------
    .PHONY: precommit format lint
    
    # Target run by the pre-commit script, to automate formatting and lint
    # If pre-commit script is not used, please run this manually.
    precommit: format lint
    
    format: fmt ## Auto formats all code. This should be run before sending a PR.
    
    fmt: format-go format-python tidy-go
    
    ifeq ($(DEBUG),1)
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		return s, err
    	}
    
    	if len(s.formatData) > 0 {
    		format := &formatErasureV3{}
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    		if err = json.Unmarshal(s.formatData, &format); err != nil {
    			return s, errCorruptedFormat
    		}
    		m, n, err := findDiskIndexByDiskID(format, format.Erasure.This)
    		if err != nil {
    			return s, err
    		}
    		diskID := format.Erasure.This
    		if m != ep.SetIdx || n != ep.DiskIdx {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    parseDouble(CharSequence) throws NumberFormatExceptio; public static StringBuffer format(boolean, StringBuffer); public static StringBuffer format(short, StringBuffer); public static StringBuffer format(short, int, StringBuffer); public static StringBuffer format(int, StringBuffer); public static StringBuffer format(int, int, StringBuffer); private static void format2(int, int, StringBuffer); public static StringBuffer format(long, StringBuffer); public static StringBuffer format(long, int, StringBuffer);...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  9. internal/event/target/postgresql.go

    		return fmt.Errorf("empty table name")
    	}
    	if err := validatePsqlTableName(p.Table); err != nil {
    		return err
    	}
    
    	if p.Format != "" {
    		f := strings.ToLower(p.Format)
    		if f != event.NamespaceFormat && f != event.AccessFormat {
    			return fmt.Errorf("unrecognized format value")
    		}
    	}
    
    	if p.ConnectionString != "" {
    		// No pq API doesn't help to validate connection string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadata.java

                utcDateFormatter.setCalendar(new GregorianCalendar());
                utcDateFormatter.setTimeZone(DEFAULT_SNAPSHOT_TIME_ZONE);
    
                snapshot = Snapshot.newBuilder()
                        .buildNumber(buildNumber != null ? buildNumber : getBuildNumber(recessive) + 1)
                        .timestamp(utcDateFormatter.format(this.timestamp))
                        .build();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top