Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 194 for Stuart (3.01 sec)

  1. cmd/api-response.go

    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    		start.Name.Local = "DeleteMarker"
    	} else {
    		start.Name.Local = "Version"
    	}
    	type objectVersionWrapper ObjectVersion
    	return e.EncodeElement(objectVersionWrapper(o), start)
    }
    
    // DeleteMarkerVersion container for delete marker metadata
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. docs/debugging/hash-set/main.go

    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    var (
    	file, object, deploymentID, prefix string
    	setCount, shards                   int
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. internal/grid/muxclient.go

    		m.closed = true
    	}
    }
    
    // respHandler
    func (m *muxClient) handleOneWayStream(respHandler chan<- Response, respServer <-chan Response) {
    	if debugPrint {
    		start := time.Now()
    		defer func() {
    			fmt.Println("Mux", m.MuxID, "Request took", time.Since(start).Round(time.Millisecond))
    		}()
    	}
    	defer func() {
    		// addErrorNonBlockingClose will close the response channel
    		// - maybe async, so we shouldn't do it here.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  4. docs/erasure/README.md

    Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#quickstart-for-linux)
    
    ### 2. Run MinIO Server with Erasure Code
    
    Example: Start MinIO server in a 12 drives setup, using MinIO binary.
    
    ```sh
    minio server /data{1...12}
    ```
    
    Example: Start MinIO server in a 8 drives setup, using MinIO Docker image.
    
    ```sh
    podman run \
      -p 9000:9000 \
      -p 9001:9001 \
      --name minio \
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	}
    
    	if _, _, err := net.SplitHostPort(consoleAddr); err != nil {
    		logger.FatalIf(err, "Unable to start listening on console port")
    	}
    
    	if consoleAddr == addr {
    		logger.FatalIf(errors.New("--console-address cannot be same as --address"), "Unable to start the server")
    	}
    
    	globalMinioHost, globalMinioPort = mustSplitHostPort(addr)
    	if globalMinioPort == "0" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. docs/ftp/README.md

      use basic "readwrite" canned policy to test all the operations before you finalize on what level
      of restrictions are needed for a user.
    
    - No "admin:*" operations are needed for FTP/SFTP access to the bucket(s) and object(s), so you may
      skip them for restrictions.
    
    ## Usage
    
    Start MinIO in a distributed setup, with 'ftp/sftp' enabled.
    
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/tag.go

    	errDuplicatedXMLTag = Errorf("duplicated XML Tag")
    	errUnknownXMLTag    = Errorf("unknown XML Tag")
    )
    
    // UnmarshalXML - decodes XML data.
    func (tag *Tag) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var keyAlreadyParsed, valueAlreadyParsed bool
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux_test.go

    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    		msg := fmt.Sprintf("Cross-device mounts detected on path (/path/to/1) at following locations %s. Export path should not have any sub-mounts, refusing to start.", mp)
    		if err.Error() != msg {
    			t.Fatalf("Expected msg %s, got %s", msg, err)
    		}
    	}
    	// Failure case when input path is not absolute.
    	{
    		absPaths := []string{"."}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

            </JSON>
        </OutputSerialization>
        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    	<ScanRange><Start>56</Start><End>76</End></ScanRange>
    </SelectObjectContentRequest>`),
    		},
    		{
    			name:  "error-end-before-start",
    			input: testInput,
    			// Since we are doing offset, no headers are used.
    			wantResult: ``,
    			wantErr:    true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    // UnmarshalXML - decodes XML data.
    func (sp *SelectParameters) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Essentially the same as S3Select barring the xml name.
    	if start.Name.Local == selectParamsXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    	return sp.S3Select.UnmarshalXML(d, start)
    }
    
    // RestoreObjectRequest - xml to restore a transitioned object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top