Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 412 for move (0.13 sec)

  1. android/guava/src/com/google/common/io/ReaderInputStream.java

          if (charBuffer.position() > 0) {
            // (2) There is room in the buffer. Move existing bytes to the beginning.
            Java8Compatibility.flip(charBuffer.compact());
          } else {
            // (3) Entire buffer is full, need bigger buffer.
            charBuffer = grow(charBuffer);
          }
        }
    
        // (1) Read more characters into free space at end of array.
        int limit = charBuffer.limit();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/EndpointPairTest.java

            .addEqualityGroup(orderedMirror)
            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
      // Tests for Graph.edges() and Network.asGraph().edges() methods
      // TODO(user): Move these to a more appropriate location in the test suite.
    
      @Test
      public void endpointPair_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

            .addEqualityGroup(orderedMirror)
            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
      // Tests for Graph.edges() and Network.asGraph().edges() methods
      // TODO(user): Move these to a more appropriate location in the test suite.
    
      @Test
      public void endpointPair_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapsTransformValuesUnmodifiableIteratorTest extends MapInterfaceTest<String, String> {
      // TODO(jlevy): Move shared code of this class and MapsTransformValuesTest
      // to a superclass.
    
      public MapsTransformValuesUnmodifiableIteratorTest() {
        super(true, true, false /*supportsPut*/, true, true, false);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

        return true;
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * {@code expectContents()} invokes this version</strong>.
       *
       * @param expected expected value of {@link #container}
       */
      /*
       * TODO: improve this and other implementations and move out of this framework
       * for wider use
       *
       * TODO: could we incorporate the overriding logic from AbstractListTester, by
       * examining whether the features include KNOWN_ORDER?
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       */
      public static MappedByteBuffer map(File file, MapMode mode, long size) throws IOException {
        checkArgument(size >= 0, "size (%s) may not be negative", size);
        return mapInternal(file, mode, size);
      }
    
      private static MappedByteBuffer mapInternal(File file, MapMode mode, long size)
          throws IOException {
        checkNotNull(file);
        checkNotNull(mode);
    
        Closer closer = Closer.create();
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapsTransformValuesUnmodifiableIteratorTest extends MapInterfaceTest<String, String> {
      // TODO(jlevy): Move shared code of this class and MapsTransformValuesTest
      // to a superclass.
    
      public MapsTransformValuesUnmodifiableIteratorTest() {
        super(true, true, false /*supportsPut*/, true, true, false);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Collections2.java

          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
              if (permutations == Integer.MAX_VALUE) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. android/guava/pom.xml

                </tag>
                <tag>
                  <name>spec</name>
                  <placement>X</placement>
                </tag>
              </tags>
    
              <!-- TODO(cpovirk): Move this to the parent after making the package-list files available there. -->
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top