Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 929 for flen (0.03 sec)

  1. cmd/xl-storage-free-version_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	// Add a version with tiered content, one with local content
    	xl := xlMetaV2{}
    	counter := 1
    	report := func() {
    		t.Helper()
    		// t.Logf("versions (%d): len = %d", counter, len(xl.versions))
    		counter++
    	}
    	fi := FileInfo{
    		Volume:           "volume",
    		Name:             "object-name",
    		VersionID:        "00000000-0000-0000-0000-000000000001",
    		IsLatest:         true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/metacache-bucket.go

    		}
    	}
    
    	// If above limit, remove the caches with the oldest handout time.
    	if len(caches)-len(remove) > metacacheMaxEntries {
    		remainCaches := make([]metacache, 0, len(caches)-len(remove))
    		for id, cache := range caches {
    			if _, ok := remove[id]; ok {
    				continue
    			}
    			remainCaches = append(remainCaches, cache)
    		}
    		if len(remainCaches) > metacacheMaxEntries {
    			// Sort oldest last...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. bin/diff_yaml.py

            if q0[k] != q1[k]:
                changed += 1
    
        print("## +++ ", args.new)
        print("## --- ", args.orig)
        print("## Added:", len(added))
        print("## Removed:", len(removed))
        print("## Updated:", changed)
        print("## Unchanged:", len(common) - changed)
    
        for k in sorted(added):
            print("+", k)
    
        for k in sorted(removed):
            print("-", k)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. internal/hash/checksum.go

    			checksums = 0
    			parts = nil
    		} else if len(parts) > 0 {
    			checksums = len(parts) / c.Type.RawByteLen()
    		}
    		if !c.Type.Is(ChecksumIncludesMultipart) {
    			parts = nil
    		}
    		n := binary.PutUvarint(tmp[:], uint64(checksums))
    		b = append(b, tmp[:n]...)
    		if len(parts) > 0 {
    			b = append(b, parts...)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server.go

    		}
    	}
    	msg := "Expected MINIO_* environment name and values across all servers to be same: "
    	if len(missing) > 0 {
    		msg += fmt.Sprintf(`Missing environment values: %v. `, missing)
    	}
    	if len(mismatching) > 0 {
    		msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching)
    	}
    	if len(extra) > 0 {
    		msg += fmt.Sprintf(`Extra environment values: %v. `, extra)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/configdump.go

    		tw = tabwriter.NewWriter(c.Stdout, 0, 8, 1, ' ', 0)
    	)
    
    	if len(istioVersion) > 0 {
    		fmt.Fprintf(tw, "Istio Version:\t%s\n", istioVersion)
    	}
    	if len(istioProxySha) > 0 {
    		fmt.Fprintf(tw, "Istio Proxy Version:\t%s\n", istioProxySha)
    	}
    	if len(envoyVersion) > 0 {
    		fmt.Fprintf(tw, "Envoy Version:\t%s\n", envoyVersion)
    	}
    
    	return tw.Flush()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. cmd/api-utils.go

    	spaceCount, hexCount := 0, 0
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    				spaceCount++
    			} else {
    				hexCount++
    			}
    		}
    	}
    
    	if spaceCount == 0 && hexCount == 0 {
    		return s
    	}
    
    	var buf [64]byte
    	var t []byte
    
    	required := len(s) + 2*hexCount
    	if required <= len(buf) {
    		t = buf[:required]
    	} else {
    		t = make([]byte, required)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 04 18:05:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. internal/store/batch.go

    		}
    	}
    
    	b.items = append(b.items, item)
    	return nil
    }
    
    // Len returns the no of items in the batch
    func (b *Batch[_]) Len() int {
    	b.Lock()
    	defer b.Unlock()
    
    	return len(b.items)
    }
    
    func (b *Batch[_]) isFull() bool {
    	return len(b.items) >= int(b.limit)
    }
    
    func (b *Batch[I]) commit() error {
    	switch len(b.items) {
    	case 0:
    		return nil
    	case 1:
    		_, err := b.store.Put(b.items[0])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. callbacks/callbacks.go

    	enableTransaction := func(db *gorm.DB) bool {
    		return !db.SkipDefaultTransaction
    	}
    
    	if len(config.CreateClauses) == 0 {
    		config.CreateClauses = createClauses
    	}
    	if len(config.QueryClauses) == 0 {
    		config.QueryClauses = queryClauses
    	}
    	if len(config.DeleteClauses) == 0 {
    		config.DeleteClauses = deleteClauses
    	}
    	if len(config.UpdateClauses) == 0 {
    		config.UpdateClauses = updateClauses
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. internal/ringbuffer/ring_buffer_test.go

    	if readBytes != wroteBytes {
    		a, b := readBuf.Bytes(), wroteBuf.Bytes()
    		if debug && !bytes.Equal(a, b) {
    			common := len(a)
    			for i := range a {
    				if a[i] != b[i] {
    					common = i
    					break
    				}
    			}
    			a, b = a[common:], b[common:]
    			if len(a) > 64 {
    				a = a[:64]
    			}
    			if len(b) > 64 {
    				b = b[:64]
    			}
    			t.Errorf("after %d common bytes, difference \nread: %x\nwrote:%x", common, a, b)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top