Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for undefined (0.33 sec)

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

        return -1;
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      @Override
      public void testContainsKey() {
        try {
          super.testContainsKey();
        } catch (ClassCastException tolerated) {
        }
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      @Override
      public void testEntrySetContainsEntryIncompatibleKey() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MapIteratorCache.java

     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    class MapIteratorCache<K, V> {
      private final Map<K, V> backingMap;
    
      /*
       * Per JDK: "the behavior of a map entry is undefined if the backing map has been modified after
       * the entry was returned by the iterator, except through the setValue operation on the map entry"
       * As such, this field must be cleared before every map mutation.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/StandardTable.java

           *   to iterate it to exhaustion. Then we can apply the logic above about an empty
           *   columnIterator. (This assumes no concurrent modification, but behavior under concurrent
           *   modification is undefined, anyway.)
           */
          requireNonNull(rowEntry);
          Entry<C, V> columnEntry = columnIterator.next();
          return Tables.immutableCell(rowEntry.getKey(), columnEntry.getKey(), columnEntry.getValue());
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Cache.java

       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
       * if the specified map is modified while the operation is in progress.
       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned either a cached or
       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned either a cached or
       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
          if (finished) {
            throw new IllegalStateException(
                "The behavior of calling any method after calling hash() is undefined.");
          }
          while (bb.remaining() >= 16) {
            crc0 = computeForWord(crc0);
            crc1 = computeForWord(crc1);
            crc2 = computeForWord(crc2);
            crc3 = computeForWord(crc3);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException expected) {
          }
        }
        assertInvariants(map);
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      public void testContainsKey() {
        Map<K, V> map;
        K unmappedKey;
        try {
          map = makePopulatedMap();
          unmappedKey = getKeyNotInPopulatedMap();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

     *       returns {@code true}.
     *   <li>A class which implements {@code Comparable<UnrelatedType>} is very broken, and will cause
     *       undefined horrible things to happen in {@code Range}. For now, the Range API does not
     *       prevent its use, because this would also rule out all ungenerified (pre-JDK1.5) data types.
     *       <b>This may change in the future.</b>
     * </ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top