Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 533 for tail (0.05 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. .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)
  9. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

                    .named("Doubles.asList, head subList"),
                ListTestSuiteBuilder.using(new DoublesAsListTailSubListGenerator())
                    .named("Doubles.asList, tail subList"),
                ListTestSuiteBuilder.using(new DoublesAsListMiddleSubListGenerator())
                    .named("Doubles.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         *
         * @return the buffer capacity
         */
        public int getCapacity() {
            return buf.length - start;
        }
    
        /**
         * Returns the available space at the tail of the buffer.
         *
         * @return the available tail space
         */
        public int getTailSpace() {
            return buf.length - index;
        }
    
        /**
         * Returns the underlying byte buffer.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top