Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Only (0.17 sec)

  1. cmd/xl-storage.go

    	return buf, err
    }
    
    // ReadFile reads exactly len(buf) bytes into buf. It returns the
    // number of bytes copied. The error is EOF only if no bytes were
    // read. On return, n == len(buf) if and only if err == nil. n == 0
    // for io.EOF.
    //
    // If an EOF happens after reading some but not all the bytes,
    // ReadFile returns ErrUnexpectedEOF.
    //
    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)
  2. cmd/iam-store.go

    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// We should only update the in-memory cache if there were no changes
    	// to the in-memory cache since the disk loading began. If there
    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/api-errors.go

    	ErrInvalidDataSource: {
    		Code:           "InvalidDataSource",
    		Description:    "Invalid data source type. Only CSV and JSON are supported at this time.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidExpressionType: {
    		Code:           "InvalidExpressionType",
    		Description:    "The ExpressionType is invalid. Only SQL expressions are supported at this time.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBusy: {
    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)
  4. cmd/peer-rest-server.go

    // (only the config that are of concern to minio)
    func (s *peerRESTServer) GetSysConfigHandler(_ *grid.MSS) (*grid.JSON[madmin.SysConfig], *grid.RemoteErr) {
    	info := madmin.GetSysConfig(context.Background(), globalLocalNodeName)
    	return madminSysConfig.NewJSONWith(&info), nil
    }
    
    // GetSysServicesHandler - returns system services information.
    // (only the services that are of concern to minio)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    						res = append(res, disk)
    					}
    				}
    			}
    		}
    	}
    	return res
    }
    
    // GetRawData will return all files with a given raw path to the callback.
    // Errors are ignored, only errors from the callback are returned.
    // For now only direct file paths are supported.
    func (z *erasureServerPools) GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error {
    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. cmd/erasure-object.go

    		if onlineDisk != nil && onlineDisk.IsOnline() {
    			online++
    		}
    	}
    	return online
    }
    
    // CopyObject - copy object source object to destination object.
    // if source object and destination object are same we only
    // update metadata.
    func (er erasureObjects) CopyObject(ctx context.Context, srcBucket, srcObject, dstBucket, dstObject string, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (oi ObjectInfo, err error) {
    	if !dstOpts.NoAuditLog {
    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)
  7. cmd/test-utils_test.go

    	query.Set("X-Amz-Expires", strconv.FormatInt(expires, 10))
    	query.Set("X-Amz-SignedHeaders", "host")
    	query.Set("X-Amz-Credential", credential)
    	query.Set("X-Amz-Content-Sha256", unsignedPayload)
    
    	// "host" is the only header required to be signed for Presigned URLs.
    	extractedSignedHeaders := make(http.Header)
    	extractedSignedHeaders.Set("host", req.Host)
    
    	queryStr := strings.ReplaceAll(query.Encode(), "+", "%20")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/iam.go

    	TotalRefreshFailures            uint64
    
    	sync.Mutex
    
    	iamRefreshInterval time.Duration
    
    	LDAPConfig   xldap.Config  // only valid if usersSysType is LDAPUsers
    	OpenIDConfig openid.Config // only valid if OpenID is configured
    	STSTLSConfig xtls.Config   // only valid if STS TLS is configured
    
    	usersSysType UsersSysType
    
    	rolesMap map[arn.ARN]string
    
    	// Persistence layer for IAM subsystem
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/object-api-multipart_test.go

    		}
    
    	}
    
    	// Expected Results set for asserting ListObjectMultipart test.
    	listMultipartResults := []ListMultipartsInfo{
    		// listMultipartResults - 1.
    		// Used to check that the result produces only one output for the 4 parts uploaded in cases 1-4 of createPartCases above.
    		// ListMultipartUploads doesn't list the parts.
    		{
    			MaxUploads: 100,
    			Uploads: []MultipartInfo{
    				{
    					Object:   objectNames[0],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    		tin := []byte(tt.in)
    		a := Runes(tin)
    		if !runesEqual(a, tt.out) {
    			t.Errorf("Runes(%q) = %v; want %v", tin, a, tt.out)
    			continue
    		}
    		if !tt.lossy {
    			// can only test reassembly if we didn't lose information
    			s := string(a)
    			if s != tt.in {
    				t.Errorf("string(Runes(%q)) = %x; want %x", tin, s, tin)
    			}
    		}
    	}
    }
    
    type TrimTest struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top