Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 226 for from (0.13 sec)

  1. cmd/erasure-healing-common_test.go

    	}
    
    	reducedErr := reduceReadQuorumErrs(ctx, errs, objectOpIgnoredErrs, expectedRQuorum)
    	if reducedErr != nil {
    		return FileInfo{}, reducedErr
    	}
    
    	// List all the file commit ids from parts metadata.
    	modTimes := listObjectModtimes(partsMetadata, errs)
    
    	// Count all latest updated FileInfo values
    	var count int
    	var latestFileInfo FileInfo
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. tests/hooks_test.go

    		t.Fatalf("An error from before save callbacks happened when update with invalid value")
    	}
    
    	p3 := Product{Code: "dont_delete", Price: 100}
    	DB.Save(&p3)
    	if DB.Delete(&p3).Error == nil {
    		t.Fatalf("An error from before delete callbacks happened when delete")
    	}
    
    	if DB.Where("Code = ?", "dont_delete").First(&p3).Error != nil {
    		t.Fatalf("An error from before delete callbacks happened")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	ErrAlgorithm    = errors.New("zip: unsupported compression algorithm")
    	ErrChecksum     = errors.New("zip: checksum error")
    	ErrInsecurePath = errors.New("zip: insecure file path")
    )
    
    // A Reader serves content from a ZIP archive.
    type Reader struct {
    	r             io.ReaderAt
    	File          []*File
    	Comment       string
    	decompressors map[uint16]Decompressor
    
    	// Some JAR files are zip files with a prefix that is a bash script.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    // UTF-8-encoded rune as a token. The sequence of runes returned is
    // equivalent to that from a range loop over the input as a string, which
    // means that erroneous UTF-8 encodings translate to U+FFFD = "\xef\xbf\xbd".
    // Because of the Scan interface, this makes it impossible for the client to
    // distinguish correctly encoded replacement runes from encoding errors.
    func ScanRunes(data []byte, atEOF bool) (advance int, token []byte, err error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  5. cmd/common-main.go

    }
    
    func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
    	// Get "json" flag from command line argument and
    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    	ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet")
    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. internal/dsync/dsync_test.go

    		t.Fatal("Unlock timed out, which should not happen")
    	case <-timer.C:
    	}
    }
    
    // Borrowed from mutex_test.go
    func HammerMutex(m *DRWMutex, loops int, cdone chan bool) {
    	for i := 0; i < loops; i++ {
    		m.Lock(id, source)
    		m.Unlock(context.Background())
    	}
    	cdone <- true
    }
    
    // Borrowed from mutex_test.go
    func TestMutex(t *testing.T) {
    	loops := 200
    	if testing.Short() {
    		loops = 5
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    var ErrInvalidChecksum = errors.New("invalid checksum")
    
    // SetExpectedMin set expected minimum data expected from reader
    func (r *Reader) SetExpectedMin(expectedMin int64) {
    	r.expectedMin = expectedMin
    }
    
    // SetExpectedMax set expected max data expected from reader
    func (r *Reader) SetExpectedMax(expectedMax int64) {
    	r.expectedMax = expectedMax
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. cmd/metacache-server-pool.go

    // The listPathOptions given will be checked and modified internally.
    // Required important fields are Bucket, Prefix, Separator.
    // Other important fields are Limit, Marker.
    // List ID always derived from the Marker.
    func (z *erasureServerPools) listPath(ctx context.Context, o *listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	if err := checkListObjsArgs(ctx, o.Bucket, o.Prefix, o.Marker); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    		"-j", "CONNMARK",
    		"--set-xmark", inpodTproxyMark)
    
    	// Handle healthcheck probes from the host node. In the host netns, before the packet enters the pod, we SNAT
    	// the healthcheck packet to a fixed IP if the packet is coming from a node-local process with a socket.
    	//
    	// We do this so we can exempt this traffic from ztunnel capture/proxy - otherwise both kube-proxy (legit)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. cmd/tier.go

    		Help:      "Distribution of time to last byte for objects downloaded from warm tier",
    		Type:      gaugeMetric,
    	}
    
    	// {minio_node}_{tier}_{requests_success}
    	tierRequestsSuccessMD = MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: tierSubsystem,
    		Name:      tierRequestsSuccess,
    		Help:      "Number of requests to download object from warm tier that were successful",
    		Type:      counterMetric,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top