Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 101 for Cap (0.04 sec)

  1. cmd/metacache-entries.go

    // Names must match on all entries in m.
    func (m metaCacheEntries) resolve(r *metadataResolutionParams) (selected *metaCacheEntry, ok bool) {
    	if len(m) == 0 {
    		return nil, false
    	}
    
    	dirExists := 0
    	if cap(r.candidates) < len(m) {
    		r.candidates = make([][]xlMetaV2ShallowVersion, 0, len(m))
    	}
    	r.candidates = r.candidates[:0]
    	objsAgree := 0
    	objsValid := 0
    	for i := range m {
    		entry := &m[i]
    		// Empty entry
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        // Enlarge to contain initial contents
        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = max(result, initialSize);
        }
    
        // Now cap it at maxSize + 1
        return capAtMaximumSize(result, maximumSize);
      }
    
      private void growIfNeeded() {
        if (size > queue.length) {
          int newCapacity = calculateNewCapacity();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Targets":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Targets")
    				return
    			}
    			if cap(z.Targets) >= int(zb0002) {
    				z.Targets = (z.Targets)[:zb0002]
    			} else {
    				z.Targets = make([]ResyncTarget, zb0002)
    			}
    			for za0001 := range z.Targets {
    				err = z.Targets[za0001].DecodeMsg(dc)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 59.3K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    			close(nowBlocking)
    			// Block until test is done.
    			<-stopBlocking
    			return nil
    		})
    	}()
    
    	<-nowBlocking
    	// Wait for the receiver channel to fill.
    	for len(st.responses) != cap(st.responses) {
    		time.Sleep(time.Millisecond)
    	}
    	cancel()
    	<-serverCanceled
    	local.debugMsg(debugIsOutgoingClosed, st.muxID, func(closed bool) {
    		if !closed {
    			t.Error("expected outgoing closed")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    		sizeS.replicaSize += oi.Size
    		sizeS.replicaCount++
    	}
    }
    
    type dynamicSleeper struct {
    	mu sync.RWMutex
    
    	// Sleep factor
    	factor float64
    
    	// maximum sleep cap,
    	// set to <= 0 to disable.
    	maxSleep time.Duration
    
    	// Don't sleep at all, if time taken is below this value.
    	// This is to avoid too small costly sleeps.
    	minSleep time.Duration
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg bufio, method (*Reader) Discard(int) (int, error)
    pkg bufio, method (ReadWriter) Discard(int) (int, error)
    pkg bytes, func LastIndexByte([]uint8, uint8) int
    pkg bytes, method (*Buffer) Cap() int
    pkg bytes, method (*Reader) Size() int64
    pkg crypto, const SHA512_224 = 14
    pkg crypto, const SHA512_224 Hash
    pkg crypto, const SHA512_256 = 15
    pkg crypto, const SHA512_256 Hash
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_gen.go

    			}
    		case "cycleCompleted":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "cycleCompleted")
    				return
    			}
    			if cap(z.cycleCompleted) >= int(zb0002) {
    				z.cycleCompleted = (z.cycleCompleted)[:zb0002]
    			} else {
    				z.cycleCompleted = make([]time.Time, zb0002)
    			}
    			for za0001 := range z.cycleCompleted {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 85.5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.29.md

    - Fixed a regression since `v1.27.0` in the scheduler framework when running score plugins. 
      The `skippedScorePlugins` number might be greater than `enabledScorePlugins`, 
      so when initializing a slice the `cap(len(skippedScorePlugins) - len(enabledScorePlugins))` is negative, 
      which is not allowed. ([#121632](https://github.com/kubernetes/kubernetes/pull/121632), [@kerthcet](https://github.com/kerthcet))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Mar 12 00:36:01 UTC 2025
    - 429.6K bytes
    - Viewed (1)
  9. src/main/webapp/css/admin/bootstrap.min.css.map

    margin-bottom: 0; // Removes the default margin-bottom of <hN>\n  color: $card-cap-color;\n  background-color: $card-cap-bg;\n  border-bottom: $card-border-width solid $card-border-color;\n\n  &:first-child {\n    @include border-radius($card-inner-border-radius $card-inner-border-radius 0 0);\n  }\n}\n\n.card-footer {\n  padding: $card-spacer-y $card-spacer-x;\n  color: $card-cap-color;\n  background-color: $card-cap-bg;\n  border-top: $card-border-width solid $card-border-color;\n\n  &:last-child...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 639.3K bytes
    - Viewed (1)
  10. lib/fips140/v1.1.0-rc1.zip

    expand(n int) *Nat { if len(x.limbs) > n { panic("bigmod: internal error: shrinking nat") } if cap(x.limbs) < n { newLimbs := make([]uint, n) copy(newLimbs, x.limbs) x.limbs = newLimbs return x } extraLimbs := x.limbs[len(x.limbs):n] clear(extraLimbs) x.limbs = x.limbs[:n] return x } // reset returns a zero nat of n limbs, reusing x's storage if n <= cap(x.limbs). func (x *Nat) reset(n int) *Nat { if cap(x.limbs) < n { x.limbs = make([]uint, n) return x } // Clear both the returned limbs and the previously...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top