Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for head (0.16 sec)

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

        Node<K, V> head;
        Node<K, V> tail;
        int count;
    
        KeyList(Node<K, V> firstNode) {
          this.head = firstNode;
          this.tail = firstNode;
          firstNode.previousSibling = null;
          firstNode.nextSibling = null;
          this.count = 1;
        }
      }
    
      @CheckForNull private transient Node<K, V> head; // the head for all keys
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EvictingQueue.java

       * of the queue is evicted to make room.
       *
       * @return {@code true} always
       */
      @Override
      @CanIgnoreReturnValue
      public boolean offer(E e) {
        return add(e);
      }
    
      /**
       * Adds the given element to this queue. If the queue is currently full, the element at the head
       * of the queue is evicted to make room.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:52:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

        public void clear() {
          ReferenceEntry<K, V> e = head.getNextInWriteQueue();
          while (e != head) {
            ReferenceEntry<K, V> next = e.getNextInWriteQueue();
            nullifyWriteOrder(e);
            e = next;
          }
    
          head.setNextInWriteQueue(head);
          head.setPreviousInWriteQueue(head);
        }
    
        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/ReferenceEntry.java

      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedListMultimap.java

        Node<K, V> head;
        Node<K, V> tail;
        int count;
    
        KeyList(Node<K, V> firstNode) {
          this.head = firstNode;
          this.tail = firstNode;
          firstNode.previousSibling = null;
          firstNode.nextSibling = null;
          this.count = 1;
        }
      }
    
      @CheckForNull private transient Node<K, V> head; // the head for all keys
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        //    executing listeners in the order they were added
        // 3. push all the items onto 'onto' and return the new head of the stack
        Listener head = ATOMIC_HELPER.gasListeners(this, Listener.TOMBSTONE);
        Listener reversedList = onto;
        while (head != null) {
          Listener tmp = head;
          head = head.next;
          tmp.next = reversedList;
          reversedList = tmp;
        }
        return reversedList;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFuture.java

        //    executing listeners in the order they were added
        // 3. push all the items onto 'onto' and return the new head of the stack
        Listener head = ATOMIC_HELPER.gasListeners(this, Listener.TOMBSTONE);
        Listener reversedList = onto;
        while (head != null) {
          Listener tmp = head;
          head = head.next;
          tmp.next = reversedList;
          reversedList = tmp;
        }
        return reversedList;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

            ImmutableList.of(
                ListTestSuiteBuilder.using(new LongsAsListGenerator()).named("Longs.asList"),
                ListTestSuiteBuilder.using(new LongsAsListHeadSubListGenerator())
                    .named("Longs.asList, head subList"),
                ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator())
                    .named("Longs.asList, tail subList"),
                ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

            ImmutableList.of(
                ListTestSuiteBuilder.using(new ShortsAsListGenerator()).named("Shorts.asList"),
                ListTestSuiteBuilder.using(new ShortsAsListHeadSubListGenerator())
                    .named("Shorts.asList, head subList"),
                ListTestSuiteBuilder.using(new ShortsAsListTailSubListGenerator())
                    .named("Shorts.asList, tail subList"),
                ListTestSuiteBuilder.using(new ShortsAsListMiddleSubListGenerator())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

        for (int i = 0; i < length; i++) {
          Object key = new Object();
          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
          // held
          chain = segment.newEntry(key, cache.hash(key), chain);
          if (i == 0) {
            head = chain;
          }
        }
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top