Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 441 for newsize (0.31 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. pkg/volume/csi/expander.go

    		}
    	}
    
    	opts := csiResizeOptions{
    		volumePath:        resizeOptions.DeviceMountPath,
    		stagingTargetPath: resizeOptions.DeviceStagePath,
    		volumeID:          csiSource.VolumeHandle,
    		newSize:           resizeOptions.NewSize,
    		fsType:            csiSource.FSType,
    		accessMode:        api.ReadWriteOnce,
    		mountOptions:      pv.Spec.MountOptions,
    		secrets:           nodeExpandSecrets,
    	}
    
    	if !fsVolume {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/sync/poolqueue.go

    		return
    	}
    
    	// The current dequeue is full. Allocate a new one of twice
    	// the size.
    	newSize := len(d.vals) * 2
    	if newSize >= dequeueLimit {
    		// Can't make it any bigger.
    		newSize = dequeueLimit
    	}
    
    	d2 := &poolChainElt{}
    	d2.prev.Store(d)
    	d2.vals = make([]eface, newSize)
    	c.head = d2
    	d.next.Store(d2)
    	d2.pushHead(val)
    }
    
    func (c *poolChain) popHead() (any, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/node_expander.go

    // testResponseData is merely used for doing sanity checks in unit tests
    type testResponseData struct {
    	// indicates that resize operation was called on underlying volume driver
    	// mainly useful for testing.
    	resizeCalledOnPlugin bool
    
    	// Indicates whether kubelet should assume resize operation as finished.
    	// For kubelet - resize operation could be assumed as finished even if
    	// actual resizing is *not* finished. This can happen, because certain prechecks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/operation_generator.go

    		migrated := false
    
    		newSize := pvc.Spec.Resources.Requests[v1.ResourceStorage]
    		statusSize := pvc.Status.Capacity[v1.ResourceStorage]
    		pvSize := pv.Spec.Capacity[v1.ResourceStorage]
    		if pvSize.Cmp(newSize) < 0 {
    			updatedSize, expandErr := volumePlugin.ExpandVolumeDevice(
    				volumeSpec,
    				newSize,
    				statusSize)
    			if expandErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
          boolean changed = delegate.addAll(collection);
          if (changed) {
            int newSize = delegate.size();
            totalSize += (newSize - oldSize);
            if (oldSize == 0) {
              addToMap();
            }
          }
          return changed;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
          boolean changed = delegate.addAll(collection);
          if (changed) {
            int newSize = delegate.size();
            totalSize += (newSize - oldSize);
            if (oldSize == 0) {
              addToMap();
            }
          }
          return changed;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  9. src/strings/replace.go

    const countCutOff = 8
    
    func (r *byteStringReplacer) Replace(s string) string {
    	newSize := len(s)
    	anyChanges := false
    	// Is it faster to use Count?
    	if len(r.toReplace)*countCutOff <= len(s) {
    		for _, x := range r.toReplace {
    			if c := Count(s, x); c != 0 {
    				// The -1 is because we are replacing 1 byte with len(replacements[b]) bytes.
    				newSize += c * (len(r.replacements[x[0]]) - 1)
    				anyChanges = true
    			}
    
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

        int newSize = newEntryIndex + 1;
        int hash = smearedHash(key);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
Back to top