Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,434 for Errors (0.23 sec)

  1. internal/dsync/dsync-client_test.go

    func (restClient *ReconnectRESTClient) Close() error {
    	return nil
    }
    
    var (
    	errLockConflict = errors.New("lock conflict")
    	errLockNotFound = errors.New("lock not found")
    )
    
    func toLockError(err error) error {
    	if err == nil {
    		return nil
    	}
    
    	switch err.Error() {
    	case errLockConflict.Error():
    		return errLockConflict
    	case errLockNotFound.Error():
    		return errLockNotFound
    	}
    	return err
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. cni/pkg/util/executil.go

    package util
    
    import (
    	"bytes"
    	"errors"
    	"os/exec"
    	"strings"
    
    	"istio.io/istio/pkg/log"
    )
    
    type ExecList struct {
    	Cmd  string
    	Args []string
    }
    
    func NewExec(cmd string, args []string) *ExecList {
    	return &ExecList{
    		Cmd:  cmd,
    		Args: args,
    	}
    }
    
    func ExecuteOutput(cmd string, args ...string) (string, error) {
    	externalCommand := exec.Command(cmd, args...)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. internal/disk/stat_linux_32bit.go

    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/list.md

    | `minio_s3_requests_5xx_errors_total`          | Total number S3 requests with (5xx) errors.              |
    | `minio_s3_requests_canceled_total`            | Total number S3 requests canceled by the client.         |
    | `minio_s3_requests_errors_total`              | Total number S3 requests with (4xx and 5xx) errors.      |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  5. tests/soft_delete_test.go

    	age = 0
    	if DB.Unscoped().Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	DB.Unscoped().Delete(&user)
    	if err := DB.Unscoped().First(&User{}, "name = ?", user.Name).Error; !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("Can't find permanently deleted record")
    	}
    }
    
    func TestDeletedAtUnMarshal(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    	driveTimeoutErrorsMD = NewCounterMD(driveTimeoutErrorsTotal,
    		"Total timeout errors on a drive", allDriveLabels...)
    	driveIOErrorsMD = NewCounterMD(driveIOErrorsTotal,
    		"Total I/O errors on a drive", allDriveLabels...)
    	driveAvailabilityErrorsMD = NewCounterMD(driveAvailabilityErrorsTotal,
    		"Total availability errors (I/O errors, timeouts) on a drive",
    		allDriveLabels...)
    	driveWaitingIOMD = NewGaugeMD(driveWaitingIO,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    /// tip
    
    Some editors check for unused function parameters, and show them as errors.
    
    Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors.
    
    It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary.
    
    ///
    
    /// info
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            if (messages.size() == 0) {
                return indentation + "There were no validation errors.";
            }
    
            StringBuilder message = new StringBuilder();
    
            //        if ( messages.size() == 1 )
            //        {
            //            message.append( "There was 1 validation error: " );
            //        }
            //        else
            //        {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil_test.go

    	}
    	if written != 5 {
    		t.Errorf("Expected written to be '5', but got %v", written)
    	}
    
    	f.Seek(0, io.SeekStart)
    	r.Seek(0, io.SeekStart)
    
    	written, err = CopyAligned(f, r, *bufp, r.Size(), f)
    	if !errors.Is(err, nil) {
    		t.Errorf("Expected nil, but got %v", err)
    	}
    	if written != r.Size() {
    		t.Errorf("Expected written to be '%v', but got %v", r.Size(), written)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. cmd/dummy-data-generator_test.go

    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    		if d.length+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = d.length + offset
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top