Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Drive (0.04 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
                    // an ordinary relative path, align with project directory
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. cmd/config-current.go

    			}
    		}
    	case config.DriveSubSys:
    		driveConfig, err := drive.LookupConfig(s[config.DriveSubSys][config.Default])
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load drive config: %w", err))
    		} else {
    			if err = globalDriveConfig.Update(driveConfig); err != nil {
    				configLogIf(ctx, fmt.Errorf("Unable to update drive config: %v", err))
    			}
    		}
    	case config.BrowserSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops.go

    	if err != nil {
    		if errors.Is(err, errDriveIsRoot) {
    			// This is a root drive, ignore and move on
    			return nil
    		}
    		if !errors.Is(err, errUnformattedDisk) {
    			return err
    		}
    	}
    
    	// Prevent parallel erasure set healing
    	locker := z.NewNSLock(minioMetaBucket, fmt.Sprintf("new-drive-healing/%d/%d", poolIdx, setIdx))
    	lkctx, err := locker.GetLock(ctx, newDiskHealingTimeout)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    		t.Errorf("Unexpected number of drives: %d", len(filteredDisks))
    	}
    	for diskIndex, disk := range filteredDisks {
    		if diskIndex == 0 && disk != nil {
    			t.Errorf("Drive not filtered as expected, drive: %d", diskIndex)
    		}
    		if diskIndex != 0 && disk == nil {
    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    	partsMetadata[0] = partsMetadataBackup // Revert before going to the next test
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. cmd/globals.go

    	// The global subnet config
    	globalSubnetConfig subnet.Config
    
    	// The global callhome config
    	globalCallhomeConfig callhome.Config
    
    	// The global drive config
    	globalDriveConfig drive.Config
    
    	// Global server's network statistics
    	globalConnStats = newConnStats()
    
    	// Global HTTP request statistics
    	globalHTTPStats = newHTTPStats()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

                if (path.isAbsolute()) {
                    // path is already absolute, we're done
                } else if (path.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with base dir but with drive root
                    result = path.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with base dir
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    retValue = retValue.substring(2);
    
                    if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) {
                        // special case: if there is a windows drive letter, then keep the original return value
                        retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                    } else {
                        // Now we expect the host
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    			if currentDisk := s.erasureDisks[setIndex][diskIndex]; currentDisk != nil {
    				if !reflect.DeepEqual(currentDisk.Endpoint(), disk.Endpoint()) {
    					err = fmt.Errorf("Detected unexpected drive ordering refusing to use the drive: expecting %s, found %s, refusing to use the drive",
    						currentDisk.Endpoint(), disk.Endpoint())
    					printEndpointError(endpoint, err, false)
    					disk.Close()
    					s.erasureDisksMu.Unlock()
    					return
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  9. cmd/erasure-healing.go

    			hr.Before.Drives[i] = madmin.HealDriveInfo{Endpoint: drive, State: madmin.DriveStateMissing}
    			hr.After.Drives[i] = madmin.HealDriveInfo{Endpoint: drive, State: madmin.DriveStateMissing}
    		default:
    			hr.Before.Drives[i] = madmin.HealDriveInfo{Endpoint: drive, State: madmin.DriveStateCorrupt}
    			hr.After.Drives[i] = madmin.HealDriveInfo{Endpoint: drive, State: madmin.DriveStateCorrupt}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. internal/config/storageclass/storage-class.go

    	ssc := kvs.Get(ClassStandard)
    	rrsc := kvs.Get(ClassRRS)
    	return ssc != "" || rrsc != ""
    }
    
    // DefaultParityBlocks returns default parity blocks for 'drive' count
    func DefaultParityBlocks(drive int) int {
    	switch drive {
    	case 1:
    		return 0
    	case 3, 2:
    		return 1
    	case 4, 5:
    		return 2
    	case 6, 7:
    		return 3
    	default:
    		return 4
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top