Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 241 for normalise (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      while (!bufferA.exhausted()) {
        val codePoint = bufferA.readUtf8CodePoint()
        if (!IDNA_MAPPING_TABLE.map(codePoint, bufferB)) return null
      }
    
      // 2. Normalize, from bufferB to bufferA.
      val normalized = normalizeNfc(bufferB.readUtf8())
      bufferA.writeUtf8(normalized)
    
      // 3. For each label, convert/validate Punycode.
      val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null
    
      // 4.1 Validate.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
     * <ol>
     *   <li>ASCII uppercase characters are converted to lowercase.
     *   <li>Unicode dot separators other than the ASCII period ({@code '.'}) are converted to the ASCII
     *       period.
     * </ol>
     *
     * <p>The normalized values will be returned from {@link #toString()} and {@link #parts()}, and will
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
        void testBuildSource() {
            Path path = Paths.get("/tmp");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
            assertInstanceOf(Sources.BuildPathSource.class, source);
            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

            return this;
        }
    
        /**
         * Sets the normalizer.
         * @param normalizer The normalizer.
         * @return This builder instance.
         */
        public SuggesterBuilder normalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
            return this;
        }
    
        /**
         * Sets the analyzer.
         * @param analyzer The analyzer.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

         * @param normalizer the normalizer to use for normalizing values
         * @return a list of suggest items parsed from the query log
         */
        List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName,
                ReadingConverter readingConverter, Normalizer normalizer);
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            operationsStale = true;
            return this;
        }
    
        /**
         * Sets the normalizer.
         * @param normalizer The normalizer.
         * @return This SuggestIndexer instance.
         */
        public SuggestIndexer setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
            operationsStale = true;
            return this;
        }
    
        /**
         * Sets the analyzer.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            this.readingConverter = readingConverter;
        }
    
        /**
         * Sets the normalizer.
         * @param normalizer The normalizer.
         */
        public void setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        /**
         * Sets the prefix match weight.
         * @param prefixMatchWeight The prefix match weight.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

                    indexExportJob.buildFilePath(tempDir.toString(), "http://example.com/foo/../../etc/passwd", new HtmlIndexExportFormatter());
            assertNotNull(result);
            assertTrue(result.normalize().startsWith(tempDir.normalize()), "Path must stay within base directory: " + result);
        }
    
        @Test
        public void test_buildFilePath_dotDotStripped() {
            final Path result =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/Suggester.java

         */
        public ReadingConverter getReadingConverter() {
            return readingConverter;
        }
    
        /**
         * Returns the Normalizer instance.
         * @return The Normalizer instance.
         */
        public Normalizer getNormalizer() {
            return normalizer;
        }
    
        /**
         * Creates a default SuggestIndexer instance.
         * @return A SuggestIndexer instance.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.6K bytes
    - Click Count (3)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

         * @param readingConverter The reading converter.
         * @param normalizer The normalizer.
         */
        public SuggestRequestBuilder(final Client client, final ReadingConverter readingConverter, final Normalizer normalizer) {
            super(client, new SuggestRequest());
            request.setReadingConverter(readingConverter);
            request.setNormalizer(normalizer);
        }
    
        /**
         * Sets the index for the request.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top