Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for ignoreCase (0.16 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        BaseEncoding ignoreCase = base16().ignoreCase();
        assertThat(ignoreCase).isNotSameInstanceAs(base16());
        assertThat(ignoreCase).isSameInstanceAs(base16().ignoreCase());
        testEncodingWithCasing(ignoreCase, "foobar", "666F6F626172");
        testDecodes(ignoreCase, "666F6F626172", "foobar");
        testDecodes(ignoreCase, "666f6f626172", "foobar");
        testDecodes(ignoreCase, "666F6f626172", "foobar");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java

        private final CharArraySet stopWords;
    
        private final boolean ignoreCase;
    
        private final boolean removeTrailing;
    
        public JapaneseStopTokenFilterFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
            super(indexSettings, name, settings);
            this.ignoreCase = settings.getAsBoolean("ignore_case", false);
            this.removeTrailing = settings.getAsBoolean("remove_trailing", true);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenPrefixFilterFactory.java

                stopwords = wordList.toArray(new String[wordList.size()]);
            } else {
                stopwords = new String[0];
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", Boolean.FALSE).booleanValue();
            if (ignoreCase) {
                for (int i = 0; i < stopwords.length; i++) {
                    stopwords[i] = stopwords[i].toLowerCase(Locale.ROOT);
                }
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt

      val encoding = response.header("Content-Encoding") ?: return response
    
      val decompressedSource =
        when {
          encoding.equals("br", ignoreCase = true) ->
            BrotliInputStream(body.source().inputStream()).source().buffer()
          encoding.equals("gzip", ignoreCase = true) ->
            GzipSource(body.source()).buffer()
          else -> return response
        }
    
      return response.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 13:19:01 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

          when {
            "no-cache".equals(directive, ignoreCase = true) -> {
              noCache = true
            }
            "no-store".equals(directive, ignoreCase = true) -> {
              noStore = true
            }
            "max-age".equals(directive, ignoreCase = true) -> {
              maxAgeSeconds = parameter.toNonNegativeInt(-1)
            }
            "s-maxage".equals(directive, ignoreCase = true) -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenSuffixFilterFactory.java

                stopwords = wordList.toArray(new String[wordList.size()]);
            } else {
                stopwords = new String[0];
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", Boolean.FALSE).booleanValue();
            if (ignoreCase) {
                for (int i = 0; i < stopwords.length; i++) {
                    stopwords[i] = stopwords[i].toLowerCase(Locale.ROOT);
                }
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/BaseEncoding.java

          }
          return result;
        }
    
        @Override
        public BaseEncoding ignoreCase() {
          BaseEncoding result = ignoreCase;
          if (result == null) {
            Alphabet ignore = alphabet.ignoreCase();
            result = ignoreCase = (ignore == alphabet) ? this : newInstance(ignore, paddingChar);
          }
          return result;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        BaseEncoding ignoreCase = base16().ignoreCase();
        assertThat(ignoreCase).isNotSameInstanceAs(base16());
        assertThat(ignoreCase).isSameInstanceAs(base16().ignoreCase());
        testEncodingWithCasing(ignoreCase, "foobar", "666F6F626172");
        testDecodes(ignoreCase, "666F6F626172", "foobar");
        testDecodes(ignoreCase, "666f6f626172", "foobar");
        testDecodes(ignoreCase, "666F6f626172", "foobar");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java

                final Settings settings) {
            super(indexSettings, settings, name);
            ignoreCase = settings.getAsBoolean("ignore_case", true);
            n = settings.getAsInt("n", NGramSynonymTokenizer.DEFAULT_N_SIZE);
            delimiters = settings.get("delimiters", NGramSynonymTokenizer.DEFAULT_DELIMITERS);
            expand = settings.getAsBoolean("expand", true);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      return result
    }
    
    internal fun canonicalUrl(url: String): String {
      // Silently replace web socket URLs with HTTP URLs.
      return when {
        url.startsWith("ws:", ignoreCase = true) -> {
          "http:${url.substring(3)}"
        }
        url.startsWith("wss:", ignoreCase = true) -> {
          "https:${url.substring(4)}"
        }
        else -> url
      }
    }
    
    fun Request.Builder.commonHeader(
      name: String,
      value: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top