Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,406 for indexIn (0.07 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

    @ElementTypesAreNonnullByDefault
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            AtomicReferenceArray<E> table = this.table;
            int index = hash & (table.length() - 1);
            E first = table.get(index);
    
            for (E e = first; e != null; e = e.getNext()) {
              if (e == entry) {
                ++modCount;
                E newFirst = removeFromChain(first, e);
                newCount = this.count - 1;
                table.set(index, newFirst);
                this.count = newCount; // write-volatile
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

      public final <K> ImmutableListMultimap<K, @NonNull E> index(Function<? super E, K> keyFunction) {
        return Multimaps.index((Iterable<@NonNull E>) getDelegate(), keyFunction);
      }
    
      /**
       * Returns a map with the contents of this {@code FluentIterable} as its {@code values}, indexed
       * by keys derived from those values. In other words, each input value produces an entry in the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                final String[] lines = value.split("[\r\n]");
                for (final String line : lines) {
                    if (StringUtil.isNotBlank(line)) {
                        final int pos = line.indexOf('=');
                        if (pos == 0) {
                            paramMap.put("unknown." + (unknownKey + 1), line.substring(pos + 1).trim());
                            unknownKey++;
                        } else if (pos > 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
              || (c >= 'A' && c <= 'Z')
              || "+*/-".indexOf(c) >= 0) {
            assertUnescaped(e, c);
          } else {
            assertEscaping(e, escapeAscii(c), c);
          }
        }
      }
    
      /** Tests that if specify '%' as safe the result is an idempotent escaper. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                                if (isPrefix || "xmlns".equals(aname)) {
                                    final int index = aname.indexOf(':');
                                    final String p = isPrefix ? aname.substring(index + 1) : StringUtil.EMPTY;
                                    if (p.equals(prefix)) {
                                        namespace = attr.getNodeValue();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.indexOf(array, "222"), is(1));
            assertThat(ArrayUtil.indexOf(array, "222", 2), is(3));
            assertThat(ArrayUtil.indexOf(array, new Object()), is(-1));
            assertThat(ArrayUtil.indexOf(array, null), is(-1));
            array[1] = null;
            assertThat(ArrayUtil.indexOf(array, null), is(1));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

            String result = original;
    
            // Unquote
            if (result.indexOf('\"') >= 0) {
                final Matcher m = QUOTE_REPLACE_PATTERN.matcher(original);
                if (m.matches()) {
                    result = m.group(1);
                }
    
                // Unescape
                if (result.indexOf(ESCAPED_QUOTE) >= 0) {
                    result = result.replace(ESCAPED_QUOTE, "\"");
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.indexOf(1)).isEqualTo(0);
        assertThat(iia.indexOf(8)).isEqualTo(5);
        assertThat(iia.indexOf(4)).isEqualTo(-1);
        assertThat(ImmutableDoubleArray.of(13).indexOf(13)).isEqualTo(0);
        assertThat(ImmutableDoubleArray.of().indexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0);
      }
    
      public void testIndexOf_specialValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        sink: BufferedSink,
      ): Boolean {
        val index =
          mappings.binarySearch {
            when {
              it.sourceCodePoint1 < codePoint -> -1
              it.sourceCodePoint0 > codePoint -> 1
              else -> 0
            }
          }
    
        // Code points must be in 0..0x10ffff.
        require(index in mappings.indices) { "unexpected code point: $codePoint" }
    
        val mapping = mappings[index]
        var result = true
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top