Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for HEAD (0.14 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        }
    
        public void execute() {
          RunnableExecutorPair stack;
          do {
            stack = head;
            if (stack == null) {
              // If head == null then execute() has been called so we should just return
              return;
            }
            // try to swap null into head.
          } while (!UNSAFE.compareAndSwapObject(this, HEAD_OFFSET, stack, null));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        List<E> head = list.subList(0, size - 1);
        List<E> tail = list.subList(1, size);
        assertEquals(list.get(0), copy.get(0));
        assertEquals(list.get(size - 1), copy.get(size - 1));
        assertEquals(list.get(1), tail.get(0));
        assertEquals(list.get(size - 1), tail.get(size - 2));
        assertEquals(list.get(0), head.get(0));
        assertEquals(list.get(size - 2), head.get(size - 2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        List<E> head = list.subList(0, size - 1);
        List<E> tail = list.subList(1, size);
        assertEquals(list.get(0), copy.get(0));
        assertEquals(list.get(size - 1), copy.get(size - 1));
        assertEquals(list.get(1), tail.get(0));
        assertEquals(list.get(size - 1), tail.get(size - 2));
        assertEquals(list.get(0), head.get(0));
        assertEquals(list.get(size - 2), head.get(size - 2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        testSubMultisetEntrySet(SubMultisetSpec.HEAD_CLOSED);
      }
    
      public void testHeadClosedSize() {
        testSubMultisetSize(SubMultisetSpec.HEAD_CLOSED);
      }
    
      public void testHeadClosedDistinctElements() {
        testSubMultisetDistinctElements(SubMultisetSpec.HEAD_CLOSED);
      }
    
      public void testHeadOpenEntrySet() {
        testSubMultisetEntrySet(SubMultisetSpec.HEAD_OPEN);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

                    .named("ImmutableDoubleArray.asList"),
                ListTestSuiteBuilder.using(new ImmutableDoubleArrayHeadSubListAsListGenerator())
                    .named("ImmutableDoubleArray.asList, head subList"),
                ListTestSuiteBuilder.using(new ImmutableDoubleArrayTailSubListAsListGenerator())
                    .named("ImmutableDoubleArray.asList, tail subList"),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

                    .named("ImmutableLongArray.asList"),
                ListTestSuiteBuilder.using(new ImmutableLongArrayHeadSubListAsListGenerator())
                    .named("ImmutableLongArray.asList, head subList"),
                ListTestSuiteBuilder.using(new ImmutableLongArrayTailSubListAsListGenerator())
                    .named("ImmutableLongArray.asList, tail subList"),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.newEntryForTesting(keyThree, hashThree, entryTwo);
        segment.setValueForTesting(entryThree, valueThree);
    
        // alone
        assertNull(segment.removeFromChainForTesting(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeFromChainForTesting(entryTwo, entryTwo));
    
        // middle
        InternalEntry<Object, Object, ?> newFirst =
            segment.removeFromChainForTesting(entryThree, entryTwo);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.newEntryForTesting(keyThree, hashThree, entryTwo);
        segment.setValueForTesting(entryThree, valueThree);
    
        // alone
        assertNull(segment.removeFromChainForTesting(entryOne, entryOne));
    
        // head
        assertSame(entryOne, segment.removeFromChainForTesting(entryTwo, entryTwo));
    
        // middle
        InternalEntry<Object, Object, ?> newFirst =
            segment.removeFromChainForTesting(entryThree, entryTwo);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        }
    
        public void execute() {
          RunnableExecutorPair stack;
          do {
            stack = head;
            if (stack == null) {
              // If head == null then execute() has been called so we should just return
              return;
            }
            // try to swap null into head.
          } while (!UNSAFE.compareAndSwapObject(this, HEAD_OFFSET, stack, null));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top