Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for get$index (0.17 sec)

  1. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            indexingHelper.deleteDocumentsByDocId(client, docList);
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(0, ((List<String>) resultMap.get("ids")).size());
    
            docList.add("001");
            indexingHelper.deleteDocumentsByDocId(client, docList);
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(1, ((List<String>) resultMap.get("ids")).size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

            lowerBound = (index == 0) ? Cut.<C>belowAll() : ranges.get(index - 1).upperBound;
          } else {
            lowerBound = ranges.get(index).upperBound;
          }
    
          Cut<C> upperBound;
          if (positiveBoundedAbove && index == size - 1) {
            upperBound = Cut.<C>aboveAll();
          } else {
            upperBound = ranges.get(index + (positiveBoundedBelow ? 0 : 1)).lowerBound;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

                KeyPresentBehavior.ANY_PRESENT,
                KeyAbsentBehavior.NEXT_LOWER);
        if (index == -1) {
          return null;
        } else {
          Range<K> range = ranges.get(index);
          return range.contains(key) ? values.get(index) : null;
        }
      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        int index =
            SortedLists.binarySearch(
                ranges,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

          if (size != Integer.MAX_VALUE) {
            Preconditions.checkElementIndex(index, size());
          } // else no check necessary, all index values are valid
          ArrayReference<? extends L> existingRef = locks.get(index);
          L existing = existingRef == null ? null : existingRef.get();
          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

        Itr(ImmutableList<E> list, int index) {
          super(list.size(), index);
          this.list = list;
        }
    
        @Override
        protected E get(int index) {
          return list.get(index);
        }
      }
    
      @Override
      public int indexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                if (value.getClass().isArray()) {
                    return Array.get(value, index);
                }
    
                if (value instanceof List) {
                    return ((List) value).get(index);
                }
            } catch (NumberFormatException | IndexOutOfBoundsException e) {
                return null;
            }
    
            final String message = String.format(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        // True if getValue never returns null.
        private boolean isFull() {
          return size == keyToIndex().size();
        }
    
        K getKey(int index) {
          return keyToIndex().keySet().asList().get(index);
        }
    
        @CheckForNull
        abstract V getValue(int keyIndex);
    
        @Override
        ImmutableSet<K> createKeySet() {
          return isFull() ? keyToIndex().keySet() : super.createKeySet();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                    if (index.intValue() < 0) {
                        location = sourceLocations.get(Integer.valueOf(~index.intValue()));
                    } else {
                        location = targetLocations.get(index);
                    }
                    locations.put(Integer.valueOf(locations.size()), location);
                }
            }
            result.setLocations(locations);
    
            return result;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        }
      }
    
      @Test fun nullHostileProtocolList() {
        val nullHostileProtocols =
          object : AbstractList<Protocol?>() {
            override val size: Int = 1
    
            override fun get(index: Int) = Protocol.HTTP_1_1
    
            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/DenseImmutableTable.java

        // True if getValue never returns null.
        private boolean isFull() {
          return size == keyToIndex().size();
        }
    
        K getKey(int index) {
          return keyToIndex().keySet().asList().get(index);
        }
    
        @CheckForNull
        abstract V getValue(int keyIndex);
    
        @Override
        ImmutableSet<K> createKeySet() {
          return isFull() ? keyToIndex().keySet() : super.createKeySet();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top