Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for conker (0.16 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testStringConverter_convert() {
        Converter<String, Short> converter = Shorts.stringConverter();
        assertThat(converter.convert("1")).isEqualTo((Short) (short) 1);
        assertThat(converter.convert("0")).isEqualTo((Short) (short) 0);
        assertThat(converter.convert("-1")).isEqualTo((Short) (short) (-1));
        assertThat(converter.convert("0xff")).isEqualTo((Short) (short) 255);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              if (newValue == 0) {
                // Just CASed to 0; remove the entry to clean up the map. If the removal fails,
                // another thread has already replaced it with a new counter, which is fine.
                countMap.remove(element, existingCounter);
              }
              return oldValue;
            }
          } else {
            return 0;
          }
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * context (such as an XML document). Typically (but not always), the inverse process of
     * "unescaping" the text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

      }
    
      @J2ktIncompatible // MapMaker
      @VisibleForTesting
      static class ArbitraryOrdering extends Ordering<@Nullable Object> {
    
        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/ClassPath.java

         * '$' in the name. This method may return false for a top-level class that's intentionally
         * named with the '$' character. If this is a concern, you could use {@link #load} and then
         * check on the loaded {@link Class} object instead.
         *
         * @since 30.1
         */
        public boolean isTopLevel() {
          return className.indexOf('$') == -1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/primitives/Chars.java

       * {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code
       * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
       * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

       * {@code ByteBuffer.allocate(4).putInt(value).array()}. For example, the input value {@code
       * 0x12131415} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
       * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testStringConverter_convert() {
        Converter<String, Integer> converter = Ints.stringConverter();
        assertThat(converter.convert("1")).isEqualTo((Integer) 1);
        assertThat(converter.convert("0")).isEqualTo((Integer) 0);
        assertThat(converter.convert("-1")).isEqualTo((Integer) (-1));
        assertThat(converter.convert("0xff")).isEqualTo((Integer) 255);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        /**
         * In the event of a setCount(elem, 0) call, we may need to remove elements, which destroys the
         * insertion order property of ObjectCountHashMap. In that event, we need to convert to a
         * ObjectCountLinkedHashMap, but we need to know we did that so we can convert back.
         */
        boolean isLinkedHash = false;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top