Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 634 for tail (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        List<E> copy = list.subList(0, size);
        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));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        if (head == null) { // empty list
          head = tail = node;
          keyToKeyList.put(key, new KeyList<K, V>(node));
          modCount++;
        } else if (nextSibling == null) { // non-empty list, add to tail
          // requireNonNull is safe because the list is non-empty.
          requireNonNull(tail).next = node;
          node.previous = tail;
          tail = node;
          KeyList<K, V> keyList = keyToKeyList.get(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * elements FIFO (first-in-first-out). The head of the queue is that element that has been
     * on the queue the longest time. The tail of the queue is that element that has been on
     * the queue the shortest time. New elements are inserted at the tail of the queue, and the queue
     * retrieval operations obtain elements at the head of the queue.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/MD4.java

            // padding is alwas binary 1 followed by binary 0s
            final byte[] tail = new byte[padLen + 8];
            tail[0] = (byte) 0x80;
    
            // append length before final transform:
            // save number of bits, casting the long to an array of 8 bytes
            // save low-order byte first.
            for (int i = 0; i < 8; i++) {
                tail[padLen + i] = (byte) (count * 8 >>> 8 * i);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> tail = skip(set, 1);
        set.remove("b");
        set.addAll(newArrayList("A", "B", "C"));
        assertThat(tail).containsExactly("c", "A", "B", "C").inOrder();
      }
    
      public void testSkip_structurallyModifiedSkipSomeList() throws Exception {
        List<String> list = newArrayList("a", "b", "c");
        Iterable<String> tail = skip(list, 1);
        list.subList(1, 3).clear();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

              RunnableExecutorPair newTail = new RunnableExecutorPair(runnable, executor);
              if (head == null) {
                head = newTail;
                tail = newTail;
              } else {
                tail.next = newTail;
                tail = newTail;
              }
              return;
            }
          }
          executeListener(runnable, executor);
        }
    
        void execute() {
          RunnableExecutorPair list;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. ci/official/utilities/rename_and_verify_wheels.sh

      # List all .whl files by their modification time (ls -t) and move anything
      # other than the most recently-modified one (the newest one).
      mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
      ls -t *.whl | tail -n +2 | xargs mv -t $TFCI_OUTPUT_DIR/extra_wheels
    fi
    
    # Repair wheels with auditwheel and delete the old one.
    if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Apr 25 00:22:38 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> tail = skip(set, 1);
        set.remove("b");
        set.addAll(newArrayList("A", "B", "C"));
        assertThat(tail).containsExactly("c", "A", "B", "C").inOrder();
      }
    
      public void testSkip_structurallyModifiedSkipSomeList() throws Exception {
        List<String> list = newArrayList("a", "b", "c");
        Iterable<String> tail = skip(list, 1);
        list.subList(1, 3).clear();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        public static final String MAVEN_VERSION_FILTER = "maven.session.versionFilter";
    
        /**
         * User property for chained LRM: the new "head" local repository to use, and "push" the existing into tail.
         * Similar to <code>maven.repo.local.tail</code>, this property may contain comma separated list of paths to be
         * used as local repositories (combine with chained local repository), but while latter is "appending" this
         * one is "prepending".
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 25 11:08:20 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. .teamcity/scripts/update_wrapper_and_create_pr.sh

            -H "Content-Type: application/json" \
            "https://api.github.com/repos/gradle/gradle$endpoint" \
            -d "$data" \
            -w "\n%{http_code}" \
            2>/dev/null)
    
        local http_code=$(echo "$response" | tail -n1)
        local body=$(echo "$response" | head -n -1)
    
        if [[ "$http_code" -ge 400 ]]; then
            printf "Error: HTTP %s - %s\n" "$http_code" "$body" >&2
            exit 1
        fi
    
        echo "$body"
    }
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:20:20 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top