Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for mincore (0.19 sec)

  1. cmd/xl-storage-format-v2.go

    	buf, major, minor, err := checkXL2V1(buf)
    	if err != nil {
    		return fmt.Errorf("xlMetaV2.Load %w", err)
    	}
    	var allMeta []byte
    	switch major {
    	case 1:
    		switch minor {
    		case 0:
    			allMeta = buf
    		case 1, 2:
    			v, buf, err := msgp.ReadBytesZC(buf)
    			if err != nil {
    				return fmt.Errorf("xlMetaV2.Load version(%d), bufLen(%d) %w", minor, len(buf), err)
    			}
    			if minor >= 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/net/http/request.go

    		}
    		r2.otherValues = s2
    	}
    	return r2
    }
    
    // ProtoAtLeast reports whether the HTTP protocol used
    // in the request is at least major.minor.
    func (r *Request) ProtoAtLeast(major, minor int) bool {
    	return r.ProtoMajor > major ||
    		r.ProtoMajor == major && r.ProtoMinor >= minor
    }
    
    // UserAgent returns the client's User-Agent, if sent in the request.
    func (r *Request) UserAgent() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	if err != nil {
    		s.drivePath = ep.Path
    		return s, err
    	}
    
    	info, err := disk.GetInfo(s.drivePath, true)
    	if err != nil {
    		return s, err
    	}
    	s.major = info.Major
    	s.minor = info.Minor
    	s.fsType = info.FSType
    
    	if !globalIsCICD && !globalIsErasureSD {
    		var rootDrive bool
    		if globalRootDiskThreshold > 0 {
    			// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    	}
    
    	// Linux [5.9,5.16) has a kernel bug that can break CPU timers on newly
    	// created threads, breaking our CPU accounting.
    	major, minor := unix.KernelVersion()
    	t.Logf("Running on Linux %d.%d", major, minor)
    	defer func() {
    		if t.Failed() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. src/cmd/go/go_test.go

    	}
    
    	major, err1 := strconv.Atoi(upxVersion[1])
    	minor, err2 := strconv.Atoi(upxVersion[2])
    	if err1 != nil || err2 != nil {
    		t.Fatalf("bad upx version string: %s", upxVersion[0])
    	}
    
    	// Anything below 3.94 is known not to work with go binaries
    	if (major < 3) || (major == 3 && minor < 94) {
    		t.Skipf("skipping because upx version %v.%v is too old", major, minor)
    	}
    
    	tg := testgo(t)
    	defer tg.cleanup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route_test.go

    			IPAddresses: []string{"1.1.1.1"},
    			ID:          "someID",
    			DNSDomain:   "foo.com",
    			IstioVersion: &model.IstioVersion{
    				Major: 1,
    				Minor: 20,
    			},
    		})
    	}
    
    	nodeWithExtended := func(cg *core.ConfigGenTest) *model.Proxy {
    		out := node(cg)
    		out.IstioVersion.Minor = 21
    		return out
    	}
    
    	gatewayNames := sets.New("some-gateway")
    
    	t.Run("for virtual service", func(t *testing.T) {
    		g := NewWithT(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls_test.go

    				}
    			},
    		},
    	}
    
    	proxy := &model.Proxy{
    		Type:         model.SidecarProxy,
    		Metadata:     &model.NodeMetadata{},
    		IstioVersion: &model.IstioVersion{Major: 1, Minor: 5},
    	}
    	push := model.NewPushContext()
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			cb := NewClusterBuilder(proxy, &model.PushRequest{Push: push}, model.DisabledCache{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/route/route.go

    	// Start from Envoy 1.30(istio 1.22), cors filter will not forward preflight requests to upstream by default.
    	// Istio start support this feature from 1.23.
    	if proxy.VersionGreaterAndEqual(&model.IstioVersion{Major: 1, Minor: 23, Patch: -1}) {
    		out.ForwardNotMatchingPreflights = forwardNotMatchingPreflights(in)
    	}
    
    	// nolint: staticcheck
    	if in.AllowOrigins != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/lib.go

    		argv = append(argv, fmt.Sprintf("-Wl,--major-os-version=%d", PeMinimumTargetMajorVersion))
    		argv = append(argv, fmt.Sprintf("-Wl,--minor-os-version=%d", PeMinimumTargetMinorVersion))
    		argv = append(argv, fmt.Sprintf("-Wl,--major-subsystem-version=%d", PeMinimumTargetMajorVersion))
    		argv = append(argv, fmt.Sprintf("-Wl,--minor-subsystem-version=%d", PeMinimumTargetMinorVersion))
    	case objabi.Haix:
    		argv = append(argv, "-pthread")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    			// Note: this may perhaps keep return variables alive longer than
    			// strictly necessary, as we are using "function has a defer statement"
    			// as a proxy for "function actually deferred something". It seems
    			// to be a minor drawback. (We used to actually look through the
    			// gp._defer for a defer corresponding to this function, but that
    			// is hard to do with defer records on the stack during a stack copy.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top