Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 126 for truncate (0.19 sec)

  1. cmd/storage-datatypes.go

    	Files        []string // Individual files to read.
    	MaxSize      int64    // Return error if size is exceed.
    	MetadataOnly bool     // Read as XL meta and truncate data.
    	AbortOn404   bool     // Stop reading after first file not found.
    	MaxResults   int      // Stop after this many successful results. <= 0 means all.
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    type ListObjectVersionsInfo struct {
    	// Indicates whether the returned list objects response is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of objects exceeds the limit allowed or specified
    	// by max keys.
    	IsTruncated bool
    
    	// When response is truncated (the IsTruncated element value in the response is true),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-ldap.sh

    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc mb minio1/newbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    expected_checksum=$(cat ./lrgfile | md5sum)
    
    ./mc cp ./lrgfile minio1/newbucket
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    sleep 5
    ./mc stat minio2/newbucket
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
  4. internal/hash/reader_test.go

    		},
    		{
    			desc:       "Correct sha256, nested, truncated",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd-more-stuff-to-be ignored")), 4, "", "", 4),
    			size:       4,
    			actualSize: -1,
    			sha256hex:  "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589",
    			err:        ioutil.ErrOverread,
    		},
    		7: {
    			desc:       "Correct sha256, nested, truncated, swapped",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc mb minio1/newbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    expected_checksum=$(cat ./lrgfile | md5sum)
    
    ./mc cp ./lrgfile minio1/newbucket
    
    sleep 5
    ./mc stat minio2/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. cmd/erasure-common.go

    					continue
    				}
    				quorum++
    				if toAdd.Modtime.After(gotFile.Modtime) || len(gotFile.Data) < len(toAdd.Data) {
    					// Pick latest, or largest to avoid possible truncated entries.
    					continue
    				}
    				toAdd = gotFile
    			}
    		}
    		if quorum < readQuorum {
    			toAdd.Exists = false
    			toAdd.Error = errErasureReadQuorum.Error()
    			toAdd.Data = nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    				missing = 0
    			} else {
    				fmt.Println("Could NOT reconstruct:", err)
    			}
    		}
    	}
    	if lastValid == 0 {
    		return errors.New("no valid data found")
    	}
    	if missing > 0 {
    		out += ".truncated"
    	} else {
    		out += ".complete"
    	}
    	fmt.Println(missing, "bytes missing. Truncating", len(filled)-lastValid-1, "from end.")
    	mapped = mapped[:lastValid+1]
    	err := os.WriteFile(out, mapped, os.ModePerm)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  8. internal/s3select/sql/funceval.go

    			return int64(f), true
    		}
    		return 0, false
    	}
    
    	switch x := v.value.(type) {
    	case float64:
    		// Truncate fractional part
    		return int64(x), nil
    	case int64:
    		return x, nil
    	case string:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(x))
    		if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  9. internal/s3select/csv/reader_contrib_test.go

    			}
    			opts := sql.WriteCSVOpts{
    				FieldDelimiter: []rune(c.fieldDelimiter)[0],
    				Quote:          '"',
    				QuoteEscape:    '"',
    				AlwaysQuote:    false,
    			}
    			record.WriteCSV(&result, opts)
    			result.Truncate(result.Len() - 1)
    			result.WriteString(c.recordDelimiter)
    		}
    		r.Close()
    		if err != io.EOF {
    			t.Fatalf("Case %d failed with %s", i, err)
    		}
    
    		if result.String() != c.content {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  10. helm-releases/minio-3.5.0.tgz

    {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "minio.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). If release name contains chart name it will be used as a full name. */}} {{- define "minio.fullname" -}} {{- if .Values.fullnameOverride -}} {{- .Values.fullnameOverride...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 02 00:16:41 GMT 2022
    - 15.2K bytes
    - Viewed (0)
Back to top