Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Price (0.14 sec)

  1. tests/hooks_test.go

    	// will set all product's price to last product's price + 10
    	for idx, value := range []int64{410, 410, 410} {
    		if products[idx].Price != value {
    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price)
    		}
    	}
    
    	products2 := []Product3{
    		{Name: "Product-1", Price: 100},
    		{Name: "Product-2", Price: 200},
    		{Name: "Product-3", Price: 300},
    	}
    
    	DB.Create(&products2)
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	if !disk.ODirectPlatform {
    		return errUnsupportedDisk
    	}
    
    	// We know XFS already supports O_DIRECT no need to check.
    	if fsType == "XFS" {
    		return nil
    	}
    
    	// For all other FS pay the price of not using our recommended filesystem.
    
    	// Check if backend is writable and supports O_DIRECT
    	uuid := mustGetUUID()
    	filePath := pathJoin(s.drivePath, minioMetaTmpDeletedBucket, ".writable-check-"+uuid+".tmp")
    
    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)
Back to top