Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for visits (0.18 sec)

  1. callbacks/visit_map_test.go

    chenrui <******@****.***> 1647532411 +0800
    Go
    - Registered: Sun Feb 25 09:35:10 GMT 2024
    - Last Modified: Thu Mar 17 15:53:31 GMT 2022
    - 780 bytes
    - Viewed (0)
  2. internal/event/target/postgresql.go

    	if match, err := regexp.MatchString("^\"[^\"]+\"$", name); err != nil {
    		return err
    	} else if match {
    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    		case unicode.IsLetter(r):
    			return 'a'
    		case unicode.IsDigit(r):
    			return '0'
    		case r == '_', r == '$':
    			return r
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    	}
    	if meta.Format != formatBackendErasure && meta.Format != formatBackendErasureSingle {
    		return "", fmt.Errorf(`found backend type %s, expected %s or %s - to migrate to a supported backend visit https://min.io/docs/minio/linux/operations/install-deploy-manage/migrate-fs-gateway.html`, meta.Format, formatBackendErasure, formatBackendErasureSingle)
    	}
    	// Erasure backend found, proceed to detect version.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  4. cmd/routers.go

    	// prefix.
    	setBrowserRedirectMiddleware,
    	// Adds 'crossdomain.xml' policy middleware to serve legacy flash clients.
    	setCrossDomainPolicyMiddleware,
    	// Limits all body and header sizes to a maximum fixed limit
    	setRequestLimitMiddleware,
    	// Validate all the incoming requests.
    	setRequestValidityMiddleware,
    	// Add upload forwarding middleware for site replication
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  5. cmd/metrics-v3-system-process.go

    	} else {
    		loadProcStatMetrics(ctx, stat, m)
    	}
    
    	io, err := p.IO()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		loadProcIOMetrics(ctx, io, m)
    	}
    
    	l, err := p.Limits()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		if l.OpenFiles > 0 {
    			m.Set(processFileDescriptorLimitTotal, float64(l.OpenFiles))
    		}
    
    		if l.AddressSpace > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	// Apple OS X path length is limited to 1016
    	if runtime.GOOS == "darwin" && len(pathName) > 1016 {
    		return errFileNameTooLong
    	}
    
    	// Disallow more than 1024 characters on windows, there
    	// are no known name_max limits on Windows.
    	if runtime.GOOS == "windows" && len(pathName) > 1024 {
    		return errFileNameTooLong
    	}
    
    	// On Unix we reject paths if they are just '.', '..' or '/'
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    				usersize += length
    				break
    			}
    		}
    		if usersize > maxUserDataSize || size > maxHeaderSize {
    			return true
    		}
    	}
    	return false
    }
    
    // Limits body and header to specific allowed maximum limits as per S3/MinIO API requirements.
    func setRequestLimitMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast_go1.go

    // license that can be found in the LICENSE file.
    
    //go:build compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	error_(token.NoPos, "unexpected type %T in walk", x)
    	panic("unexpected type")
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 30 21:45:10 GMT 2022
    - 578 bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    func TestRoundTrip(t *testing.T) {
    	data := []byte("some file contents")
    
    	var b bytes.Buffer
    	tw := NewWriter(&b)
    	hdr := &Header{
    		Name:       "file.txt",
    		Uid:        1 << 21, // Too big for 8 octal digits
    		Size:       int64(len(data)),
    		ModTime:    time.Now().Round(time.Second),
    		PAXRecords: map[string]string{"uid": "2097152"},
    		Format:     FormatPAX,
    		Typeflag:   TypeReg,
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. cmd/handler-api.go

    		// integer (2^63-1), rounded down to multiples of 4096 (2^12),
    		// the most common page size on x86 systems - for cgroup_limits.
    		return 0
    	}
    	return limit
    }
    
    func availableMemory() (available uint64) {
    	available = 2048 * blockSizeV2 * 2 // Default to 4 GiB when we can't find the limits.
    
    	if runtime.GOOS == "linux" {
    		// Useful in container mode
    		limit := cgroupMemLimit()
    		if limit > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top