Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for Schenk (0.14 sec)

  1. internal/http/check_port_linux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. cmd/xl-storage-errors.go

    	return errors.Is(err, syscall.EIO)
    }
    
    // Check if the given error corresponds to EISDIR (is a directory).
    func isSysErrIsDir(err error) bool {
    	return errors.Is(err, syscall.EISDIR)
    }
    
    // Check if the given error corresponds to ENOTDIR (is not a directory).
    func isSysErrNotDir(err error) bool {
    	return errors.Is(err, syscall.ENOTDIR)
    }
    
    // Check if the given error corresponds to the ENAMETOOLONG (name too long).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject.go

    	
      # Check the injection status of a pod under a deployment
      istioctl x check-inject deployment/details-v1
    
      # Check the injection status of a pod under a deployment in namespace test
      istioctl x check-inject deployment/details-v1 -n test
    
      # Check the injection status of label pairs in a specific namespace before actual injection 
      istioctl x check-inject -n test -l app=helloworld,version=v1
    `,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. internal/s3select/errors.go

    		message:    "The value of a parameter in SelectRequest element is invalid. Check the service API documentation and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidScanRangeParameter(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidRequestParameter",
    		message:    "The value of a parameter in ScanRange element is invalid. Check the service API documentation and try again.",
    		statusCode: 400,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. cmd/net.go

    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	if host2 == "" {
    		// If empty host means it is localhost
    		addr2Local = true
    	} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	// If both of addresses point to the same machine, check if
    	// have the same port
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/etcd.go

    )
    
    var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints")
    
    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    	case context.DeadlineExceeded:
    		return fmt.Errorf("%w %s", errEtcdUnreachable, etcdEndpoints)
    	default:
    		return fmt.Errorf("unexpected error %w from etcd, please check your endpoints %s", err, etcdEndpoints)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. internal/config/cache/cache.go

    	ErrInvalidArgument = errors.New("invalid argument")
    	ErrKeyMissing      = errors.New("key is missing")
    )
    
    const (
    	mcacheV1Check  = "/_mcache/v1/check"
    	mcacheV1Update = "/_mcache/v1/update"
    	mcacheV1Delete = "/_mcache/v1/delete"
    )
    
    // Get performs conditional check and returns the cached object info if any.
    func (c Config) Get(r *CondCheck) (*ObjectInfo, error) {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. cmd/dynamic-timeouts_test.go

    	const successTimeout = 20 * time.Second
    	for l := 0; l < 100; l++ {
    		for i := 0; i < dynamicTimeoutLogSize; i++ {
    			timeout.LogSuccess(successTimeout)
    		}
    	}
    
    	adjusted := timeout.Timeout()
    	// Check whether eventual timeout is between initial value and success timeout
    	if initial <= adjusted || adjusted <= successTimeout {
    		t.Errorf("Failure to decrease timeout appropriately")
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  9. cmd/speedtest.go

    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    				concurrency = globalEndpoints.NEndpoints()
    			}
    
    			// Check if we have local disks per pool less than
    			// the concurrency make sure we choose only the "start"
    			// concurrency to be equal to the lowest number of
    			// local disks per server.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. cmd/copy-part-range.go

    	if err != nil {
    		return nil, err
    	}
    	if hrange.IsSuffixLength || hrange.Start < 0 || hrange.End < 0 {
    		return nil, errInvalidRange
    	}
    	return hrange, nil
    }
    
    // checkCopyPartRangeWithSize adds more check to the range string in case of
    // copy object part. This API requires having specific start and end  range values
    // e.g. 'bytes=3-10'. Other use cases will be rejected.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 18 03:27:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top