Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 94 for Position (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      public final int length() {
        return longs.length();
      }
    
      /**
       * Gets the current value at position {@code i}.
       *
       * @param i the index
       * @return the current value
       */
      public final double get(int i) {
        return longBitsToDouble(longs.get(i));
      }
    
      /**
       * Atomically sets the element at position {@code i} to the given value.
       *
       * @param i the index
       * @param newValue the new value
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          stackWithLastReturnedElementAtTop.pop();
          stackWithLastReturnedElementAtTop.push(e);
        }
    
        /**
         * Moves the given element from its current position in {@link #nextElements} to the top of the
         * stack so that it is returned by the next call to {@link Iterator#next()}. If the element is
         * not in {@link #nextElements}, this method throws an {@link UnknownElementException}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      abstract ImmutableSortedSet<E> createDescendingSet();
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      public abstract UnmodifiableIterator<E> descendingIterator();
    
      /** Returns the position of an element within the set, or -1 if not present. */
      abstract int indexOf(@CheckForNull Object target);
    
      /*
       * This class is used to serialize all ImmutableSortedSet instances,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Splitter.java

                    int separatorLength = separator.length();
    
                    positions:
                    for (int p = start, last = toSplit.length() - separatorLength; p <= last; p++) {
                      for (int i = 0; i < separatorLength; i++) {
                        if (toSplit.charAt(i + p) != separator.charAt(i)) {
                          continue positions;
                        }
                      }
                      return p;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

            for (PrimitiveSink sink : sinks) {
              ByteBuffer buffer = ByteBuffer.wrap(value);
              Java8Compatibility.position(buffer, pos);
              Java8Compatibility.limit(buffer, limit);
              sink.putBytes(buffer);
              assertEquals(limit, buffer.limit());
              assertEquals(limit, buffer.position());
            }
          }
        },
        PUT_STRING() {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

            return Iterators.forArray(1, 2, 3);
          }
        }.test();
      }
    
      /*
       * TODO(cpovirk): Test forArray with ListIteratorTester (not just IteratorTester), including with
       * a start position other than 0.
       */
    
      public void testForEnumerationEmpty() {
        Enumeration<Integer> enumer = enumerate();
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Stats.java

       *     {@link ByteOrder#LITTLE_ENDIAN}, to which a BYTES-long byte representation of this instance
       *     is written. In the process increases the position of {@link ByteBuffer} by BYTES.
       */
      void writeTo(ByteBuffer buffer) {
        checkNotNull(buffer);
        checkArgument(
            buffer.remaining() >= BYTES,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/PrimitiveSink.java

       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(byte[] bytes, int off, int len);
    
      /**
       * Puts the remaining bytes of a byte buffer into this sink. {@code bytes.position()} is the first
       * byte written, {@code bytes.limit() - 1} is the last. The position of the buffer will be equal
       * to the limit when this method returns.
       *
       * @param bytes a byte buffer
       * @return this instance
       * @since 23.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

        return indexIn(sequence, 0);
      }
    
      /**
       * Returns the index of the first matching BMP character in a character sequence, starting from a
       * given position, or {@code -1} if no character matches after that position.
       *
       * <p>The default implementation iterates over the sequence in forward order, beginning at {@code
       * start}, calling {@link #matches} for each character.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top