Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setValueReference (0.37 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          entryOne.setValueReference(map.newValueReference(entryOne, valueOne, 1));
    
          Object keyTwo = new Object();
          Object valueTwo = new Object();
          int hashTwo = map.hash(keyTwo);
          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          entryOne.setValueReference(map.newValueReference(entryOne, valueOne, 1));
    
          Object keyTwo = new Object();
          Object valueTwo = new Object();
          int hashTwo = map.hash(keyTwo);
          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/ReferenceEntry.java

    interface ReferenceEntry<K, V> {
      /** Returns the value reference from this entry. */
      @CheckForNull
      ValueReference<K, V> getValueReference();
    
      /** Sets the value reference for this entry. */
      void setValueReference(ValueReference<K, V> valueReference);
    
      /** Returns the next entry in the chain. */
      @CheckForNull
      ReferenceEntry<K, V> getNext();
    
      /** Returns the entry's hash. */
      int getHash();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

              loadingValueReference = new LoadingValueReference<>();
    
              if (e == null) {
                e = newEntry(key, hash, first);
                e.setValueReference(loadingValueReference);
                table.set(index, e);
              } else {
                e.setValueReference(loadingValueReference);
              }
            }
          } finally {
            unlock();
            postWriteCleanup();
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/ReferenceEntry.java

    interface ReferenceEntry<K, V> {
      /** Returns the value reference from this entry. */
      @CheckForNull
      ValueReference<K, V> getValueReference();
    
      /** Sets the value reference for this entry. */
      void setValueReference(ValueReference<K, V> valueReference);
    
      /** Returns the next entry in the chain. */
      @CheckForNull
      ReferenceEntry<K, V> getNext();
    
      /** Returns the entry's hash. */
      int getHash();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

              loadingValueReference = new LoadingValueReference<>();
    
              if (e == null) {
                e = newEntry(key, hash, first);
                e.setValueReference(loadingValueReference);
                table.set(index, e);
              } else {
                e.setValueReference(loadingValueReference);
              }
            }
          } finally {
            unlock();
            postWriteCleanup();
          }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top