Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for fopacity (0.26 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller.go

    				if err != nil {
    					logger.Info("Parsing pre-resize-capacity from PV failed", "volumeName", volume.Name, "err", err)
    					preQty = volume.Spec.Capacity[v1.ResourceStorage]
    				}
    				if claimClone.Status.Capacity == nil {
    					claimClone.Status.Capacity = make(map[v1.ResourceName]resource.Quantity)
    				}
    				claimClone.Status.Capacity[v1.ResourceStorage] = preQty
    				dirty = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/defaults_test.go

    	}{{ // Everything set, no defaulting.
    		capacity:            capacity,
    		allocatable:         allocatable,
    		expectedAllocatable: allocatable,
    	}, { // Allocatable set, no defaulting.
    		capacity:            nil,
    		allocatable:         allocatable,
    		expectedAllocatable: allocatable,
    	}, { // Capacity set, allocatable defaults to capacity.
    		capacity:            capacity,
    		allocatable:         nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    }
    
    func (env *testEnv) addCSIStorageCapacities(capacities []*storagev1.CSIStorageCapacity) {
    	csiStorageCapacityInformer := env.internalCSIStorageCapacityInformer.Informer()
    	for _, capacity := range capacities {
    		csiStorageCapacityInformer.GetIndexer().Add(capacity)
    	}
    }
    
    func (env *testEnv) initClaims(cachedPVCs []*v1.PersistentVolumeClaim, apiPVCs []*v1.PersistentVolumeClaim) {
    	for _, pvc := range cachedPVCs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    	q        *list.List
    	capacity int
    }
    
    type lruSessionCacheEntry struct {
    	sessionKey string
    	state      *ClientSessionState
    }
    
    // NewLRUClientSessionCache returns a [ClientSessionCache] with the given
    // capacity that uses an LRU strategy. If capacity is < 1, a default capacity
    // is used instead.
    func NewLRUClientSessionCache(capacity int) ClientSessionCache {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param <E>
         *            {@link ArrayBlockingQueue}の要素型
         * @param capacity
         *            キューの容量
         * @return {@link ArrayBlockingQueue}の新しいインスタンス
         * @see ArrayBlockingQueue#ArrayBlockingQueue(int)
         */
        public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(final int capacity) {
            return new ArrayBlockingQueue<>(capacity);
        }
    
        /**
         * {@link ArrayBlockingQueue}の新しいインスタンスを作成して返します。
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. pkg/volume/testing/testing.go

    				Requests: v1.ResourceList{
    					v1.ResourceName(v1.ResourceStorage): resource.MustParse(capacity),
    				},
    			},
    		},
    	}
    	return &claim
    }
    
    func MetricsEqualIgnoreTimestamp(a *volume.Metrics, b *volume.Metrics) bool {
    	available := a.Available == b.Available
    	capacity := a.Capacity == b.Capacity
    	used := a.Used == b.Used
    	inodes := a.Inodes == b.Inodes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storage/v1alpha1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.Capacity == nil {
    				m.Capacity = &resource.Quantity{}
    			}
    			if err := m.Capacity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 5:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 76.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

              Integer.MAX_VALUE - 1,
              Integer.MAX_VALUE
            };
        for (int expectedSize : largeExpectedSizes) {
          int capacity = Maps.capacity(expectedSize);
          assertTrue(
              "capacity (" + capacity + ") must be >= expectedSize (" + expectedSize + ")",
              capacity >= expectedSize);
        }
      }
    
      public void testLinkedHashMap() {
        LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller_test.go

    	}, {
    		desc:             "total ready endpoints < max capacity, but total endpoints > max capacity",
    		subsetsReady:     []int{90, 110, 50, 10, 20},
    		subsetsNotReady:  []int{101, 200, 200, 201, 298},
    		expectedReady:    []int{90, 110, 50, 10, 20},
    		expectedNotReady: []int{73, 144, 144, 145, 214},
    	}, {
    		desc:             "total ready endpoints > max capacity",
    		subsetsReady:     []int{205, 400, 402, 400, 693},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		if fullCapacityBite > capacity {
    			break
    		}
    		prevAlloc = demand
    		alloc[idx] = demand
    		capacity -= fullCapacityBite
    	}
    	for j := next; j < count; j++ {
    		alloc[indices[j]] = prevAlloc + capacity/float64(count-next)
    	}
    	return alloc
    }
    
    func TestFairAlloc(t *testing.T) {
    	if e, a := []float64{0, 0}, fairAlloc([]float64{0, 0}, 42); !reflect.DeepEqual(e, a) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
Back to top