Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for newTable (0.09 sec)

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

        int newThreshold = 1 + (int) (newCapacity * loadFactor);
        int[] newTable = newTable(newCapacity);
        long[] entries = this.entries;
    
        int mask = newTable.length - 1;
        for (int i = 0; i < size; i++) {
          long oldEntry = entries[i];
          int hash = getHash(oldEntry);
          int tableIndex = hash & mask;
          int next = newTable[tableIndex];
          newTable[tableIndex] = i;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

            int newNext = CompactHashing.tableGet(newTable, newTableIndex);
            CompactHashing.tableSet(newTable, newTableIndex, oldNext);
            entries[entryIndex] = CompactHashing.maskCombine(hash, newNext, newMask);
    
            oldNext = CompactHashing.getNext(oldEntry, oldMask);
          }
        }
    
        this.table = newTable;
        setHashTableMask(newMask);
        return newMask;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        AtomicReferenceArray<E> newEntryArray(int size) {
          return new AtomicReferenceArray<>(size);
        }
    
        void initTable(AtomicReferenceArray<E> newTable) {
          this.threshold = newTable.length() * 3 / 4; // 0.75
          this.table = newTable;
        }
    
        // Convenience methods for testing
    
        /**
         * Unsafe cast of the given entry to {@code E}, the type of the specific {@link InternalEntry}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

            int newNext = CompactHashing.tableGet(newTable, newTableIndex);
            CompactHashing.tableSet(newTable, newTableIndex, oldNext);
            entries[entryIndex] = CompactHashing.maskCombine(hash, newNext, newMask);
    
            oldNext = CompactHashing.getNext(oldEntry, oldMask);
          }
        }
    
        this.table = newTable;
        setHashTableMask(newMask);
        return newMask;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        AtomicReferenceArray<E> newEntryArray(int size) {
          return new AtomicReferenceArray<>(size);
        }
    
        void initTable(AtomicReferenceArray<E> newTable) {
          this.threshold = newTable.length() * 3 / 4; // 0.75
          this.table = newTable;
        }
    
        // Convenience methods for testing
    
        /**
         * Unsafe cast of the given entry to {@code E}, the type of the specific {@link InternalEntry}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. migrator/migrator.go

    	var oldTable, newTable interface{}
    	if v, ok := oldName.(string); ok {
    		oldTable = clause.Table{Name: v}
    	} else {
    		stmt := &gorm.Statement{DB: m.DB}
    		if err := stmt.Parse(oldName); err == nil {
    			oldTable = m.CurrentTable(stmt)
    		} else {
    			return err
    		}
    	}
    
    	if v, ok := newName.(string); ok {
    		newTable = clause.Table{Name: v}
    	} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

        }
    
        void initTable(AtomicReferenceArray<ReferenceEntry<K, V>> newTable) {
          this.threshold = newTable.length() * 3 / 4; // 0.75
          if (!map.customWeigher() && this.threshold == maxSegmentWeight) {
            // prevent spurious expansion before eviction
            this.threshold++;
          }
          this.table = newTable;
        }
    
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. cmd/metrics-v3-types.go

    			continue
    		}
    
    		labels := make([]string, 0, len(metric.VariableLabels)*2)
    		for k, v := range metric.VariableLabels {
    			if newLabel, ok := renameLabels[k]; ok {
    				labels = append(labels, newLabel, v)
    			} else {
    				labels = append(labels, k, v)
    			}
    		}
    		labels = append(labels, extraLabels...)
    		// If valid non zero value set the metrics
    		if metric.Value > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg go/types, func NewField(token.Pos, *Package, string, Type, bool) *Var
    pkg go/types, func NewFunc(token.Pos, *Package, string, *Signature) *Func
    pkg go/types, func NewInterface([]*Func, []*Named) *Interface
    pkg go/types, func NewLabel(token.Pos, *Package, string) *Label
    pkg go/types, func NewMap(Type, Type) *Map
    pkg go/types, func NewMethodSet(Type) *MethodSet
    pkg go/types, func NewNamed(*TypeName, Type, []*Func) *Named
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg debug/elf, type Symbol struct, Value uint64
    pkg debug/elf, type Type uint16
    pkg debug/elf, type Version uint8
    pkg debug/gosym, func NewLineTable([]uint8, uint64) *LineTable
    pkg debug/gosym, func NewTable([]uint8, *LineTable) (*Table, error)
    pkg debug/gosym, method (*DecodingError) Error() string
    pkg debug/gosym, method (*LineTable) LineToPC(int, uint64) uint64
    pkg debug/gosym, method (*LineTable) PCToLine(uint64) int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top