Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for star (0.15 sec)

  1. internal/event/name.go

    }
    
    // MarshalXML - encodes to XML data.
    func (name Name) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	return e.EncodeElement(name.String(), start)
    }
    
    // UnmarshalXML - decodes XML data.
    func (name *Name) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    	eventName, err := ParseName(s)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    						}
    
    						// For providing ranged content
    						start, rangeLen, err := rs.GetOffsetLength(ci.Size)
    						if err != nil {
    							start, rangeLen = 0, ci.Size
    						}
    
    						// Set content length.
    						w.Header().Set(xhttp.ContentLength, strconv.FormatInt(rangeLen, 10))
    						if rs != nil {
    							contentRange := fmt.Sprintf("bytes %d-%d/%d", start, start+rangeLen-1, ci.Size)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    			}
    			sys.hMutex.RUnlock()
    
    			if len(eps) > 0 {
    				cctx, cancel := context.WithTimeout(ctx, 30*time.Second)
    				m := make(map[string]epHealth, len(eps))
    				start := time.Now()
    
    				for result := range sys.hcClient.Alive(cctx, madmin.AliveOpts{}, eps...) {
    					var lastOnline time.Time
    					var offline time.Duration
    					//	var deploymentID string
    					sys.hMutex.RLock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    				updates := make(chan dataUsageCache, 1)
    				defer xioutil.SafeClose(updates)
    				// Start update collector.
    				go func() {
    					defer wg.Done()
    					for info := range updates {
    						mu.Lock()
    						results[i] = info
    						mu.Unlock()
    					}
    				}()
    				// Start scanner. Blocks until done.
    				err := erObj.nsScanner(ctx, allBuckets, wantCycle, updates, healScanMode)
    				if err != nil {
    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)
  5. cmd/erasure-object.go

    	}
    
    	// Reply back invalid range if the input offset and length fall out of range.
    	if startOffset > fi.Size || startOffset+length > fi.Size {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Get start part index and offset.
    	partIndex, partOffset, err := fi.ObjectToPartOffset(ctx, startOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Calculate endOffset according to length
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/api-errors.go

    		Description:    "Client token mismatch",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrHealMissingBucket: {
    		Code:           "XMinioHealMissingBucket",
    		Description:    "A heal start request with a non-empty object-prefix parameter requires a bucket to be specified.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrHealAlreadyRunning: {
    		Code:           "XMinioHealAlreadyRunning",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. internal/grid/grid_test.go

    		start := time.Now()
    		resp, err := remoteConn.Request(context.Background(), handlerTest2, []byte(testPayload))
    		t.Log("Roundtrip:", time.Since(start))
    		if len(resp) != 0 {
    			t.Errorf("want nil, got %q", string(resp))
    		}
    		if err != RemoteErr(testPayload) {
    			t.Errorf("want error %v(%T), got %v(%T)", RemoteErr(testPayload), RemoteErr(testPayload), err, err)
    		}
    		t.Log("Roundtrip:", time.Since(start))
    	})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. cmd/sftp-server.go

    		}
    	}
    	if len(filteredAlgos) == 0 {
    		logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    	}
    	return filteredAlgos
    }
    
    func startSFTPServer(args []string) {
    	var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top