Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for offcut (0.34 sec)

  1. android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

      }
    
      public void testLongsOffset() {
        assertEquals(1, DiscreteDomain.longs().offset(0L, 1).longValue());
        assertEquals(Long.MAX_VALUE, DiscreteDomain.longs().offset(0L, Long.MAX_VALUE).longValue());
      }
    
      public void testLongsOffsetExceptions() {
        assertThrows(IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(0L, -1));
        assertThrows(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        this.elementSet = elementSet;
        this.cumulativeCounts = cumulativeCounts;
        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
        int getCharacterOffset();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            if (stemmerOverrideItemList == null) {
                reload(null);
            }
    
            if (offset >= stemmerOverrideItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<StemmerOverrideItem> emptyList(), offset, size, stemmerOverrideItemList.size());
            }
    
            int toIndex = offset + size;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        System.arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        byte[] expected = newPreFilledByteArray(offset, expectRead);
    
        ByteSource source = new TestByteSource(newPreFilledByteArray(input));
        ByteSource slice = source.slice(offset, length);
    
        assertArrayEquals(expected, slice.read());
      }
    
      public void testCopyToStream_doesNotCloseThatStream() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            }
            return start;
        }
    
        @Override
        public int getOffset() {
            if (offset == null) {
                offset = 0;
            }
            return offset;
        }
    
        @Override
        public int getPageSize() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (num == null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DiscreteDomain.java

      /** Private constructor for built-in DiscreteDomains supporting fast offset. */
      private DiscreteDomain(boolean supportsFastOffset) {
        this.supportsFastOffset = supportsFastOffset;
      }
    
      /**
       * Returns, conceptually, "origin + distance", or equivalently, the result of calling {@link
       * #next} on {@code origin} {@code distance} times.
       */
      C offset(C origin, long distance) {
        C current = origin;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSet.java

        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        System.arraycopy(elements, 0, dst, offset, size);
        return offset + size;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return ImmutableList.asImmutableList(elements, size);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/IndexedImmutableSet.java

      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      @GwtIncompatible
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return asList().copyIntoArray(dst, offset);
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return new ImmutableList<E>() {
          @Override
          public E get(int index) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top