Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 217 for mincore (0.15 sec)

  1. internal/disk/stat_linux.go

    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. doc/README.md

    concatenated in sorted order by pathname. Files in the directory matching the
    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    corresponding to standard library package paths, and headings for those package
    paths will be generated automatically.
    
    Files in this repo's `api/next` directory must have corresponding files in
    `doc/next/*stdlib/*minor`.
    The files should be in the subdirectory for the package with the new
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        return parentFile.isDescendentOf(directory)
      }
    
      /**
       * See FinalizationTester for discussion on how to best trigger GC in tests.
       * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/
       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
      fun awaitGarbageCollection() {
        Runtime.getRuntime().gc()
        Thread.sleep(100)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/internal/buildcfg/cfg.go

    		return false
    	}
    
    	major := s[1]
    	minor := s[3]
    
    	// We only accept "v{8-9}.{0-9}. Everything else is malformed.
    	if major < '8' || major > '9' ||
    		minor < '0' || minor > '9' ||
    		s[0] != 'v' || s[2] != '.' {
    		return false
    	}
    
    	g_major := g.Version[1]
    	g_minor := g.Version[3]
    
    	if major == g_major {
    		return minor <= g_minor
    	} else if g_major == '9' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/swig/swig_test.go

    	atoi := func(s string) int {
    		x, err := strconv.Atoi(s)
    		if err != nil && parseError == nil {
    			parseError = err
    		}
    		return x
    	}
    	var major, minor, patch int
    	major = atoi(string(matches[1]))
    	if len(matches[2]) > 0 {
    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    		patch = atoi(string(matches[3][1:]))
    	}
    	if parseError != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admission/v1/zz_generated.prerelease-lifecycle.go

    package v1
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *AdmissionReview) APILifecycleIntroduced() (major, minor int) {
    	return 1, 19
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. pkg/proxy/winkernel/hns_test.go

    		IpAddress: epIpv6Address,
    	}
    	Endpoint := &hcn.HostComputeEndpoint{
    		IpConfigurations: []hcn.IpConfig{*ipv4Config, *ipv6Config},
    		MacAddress:       epMacAddress,
    		SchemaVersion: hcn.SchemaVersion{
    			Major: 2,
    			Minor: 0,
    		},
    	}
    	Endpoint, err := Network.CreateEndpoint(Endpoint)
    	if err != nil {
    		t.Error(err)
    	}
    
    	mapEndpointsInfo, err := hns.getAllEndpointsByNetwork(Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. tests/integration/helm/upgrade/helm_upgrade_test.go

    		return err
    	}
    
    	previousVersion := semver.New(v.Major(), v.Minor()-1, v.Patch(), v.Prerelease(), v.Metadata())
    
    	// If the previous version is not published yet, use the latest one
    	if exists, err := image.Exists(imageToCheck + ":" + previousVersion.String()); err != nil {
    		return err
    	} else if !exists {
    		previousVersion = semver.New(v.Major(), v.Minor()-2, v.Patch(), v.Prerelease(), v.Metadata())
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 20:31:47 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. pkg/kube/version.go

    		return -1
    	}
    	v, err := strconv.Atoi(clusterVersion.Major + clusterVersion.Minor)
    	if err != nil {
    		// Apparently some clusters don't put proper numbers here. Try GitVersion
    		vp, err := version.ParseGeneric(clusterVersion.GitVersion)
    		if err != nil {
    			// no good
    			return -1
    		}
    		np, err := strconv.Atoi(fmt.Sprintf("%d%d", vp.Major(), vp.Minor()))
    		if err != nil {
    			// no good...
    			return -1
    		}
    		return np
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. internal/disk/disk.go

    // Ffree - free inodes available
    // FSType - file system type
    // Major - major dev id
    // Minor - minor dev id
    // Devname - device name
    type Info struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	Files      uint64
    	Ffree      uint64
    	FSType     string
    	Major      uint32
    	Minor      uint32
    	Name       string
    	Rotational *bool
    	NRRequests uint64
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top