Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 151 for endswith (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                if (Strings.isNullOrEmpty(q)) {
                    queryBuilder = QueryBuilders.matchAllQuery();
                } else {
                    final boolean prefixQuery = !q.endsWith(" ") && !q.endsWith(" ");
                    List<String> readingList = new ArrayList<>();
    
                    final String[] langsArray = languages.toArray(new String[languages.size()]);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

        )
    
        val excludes = listOf("**/internal/**")
    
        private val includePackagePatterns: List<Pattern> by lazy {
            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

        protected
        fun loadChanges(): Map<File, List<AcceptedApiChange>> {
            return apiChangesDirectory.get().asFile.listFiles()
                ?.filter {
                    it.name.endsWith(".json")
                }?.associate {
                    it to it.readAcceptedChanges()
                }?.filterValues {
                    it.acceptedApiChanges != null
                }?.mapValues {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            assertNotNull(responseData.getLastModified());
            assertEquals(Constants.GET_METHOD, responseData.getMethod());
            assertEquals("text/plain", responseData.getMimeType());
            assertTrue(responseData.getUrl().endsWith("test/text1.txt"));
            final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
            assertEquals("test1", content.trim());
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

                    String shortName = zipEntry.name
                    if (shortName.contains('/')) {
                        shortName = shortName.substring(shortName.lastIndexOf('/') + 1)
                    }
                    if (shortName.endsWith('.jar')) {
                        def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies
                        def out = new File(outputDir, shortName)
                        Files.copy(zin, out.toPath())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 08 13:44:59 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

          when {
            token == null -> {
              // Value is "double-quoted". That's valid and our regex group already strips the quotes.
              parameter.groups[3]!!.value
            }
            token.startsWith("'") && token.endsWith("'") && token.length > 2 -> {
              // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
              token.substring(1, token.length - 1)
            }
            else -> token
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

        private long transferStartTime;
    
        MavenArtifact(String repositoryUrl, Resource resource) {
            if (repositoryUrl == null) {
                this.repositoryUrl = "";
            } else if (!repositoryUrl.endsWith("/") && !repositoryUrl.isEmpty()) {
                this.repositoryUrl = repositoryUrl + '/';
            } else {
                this.repositoryUrl = repositoryUrl;
            }
            this.resource = resource;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                    addedToBuffer = true;
                }
    
                // this has to be a separate "if" statement, to capture the case of: "-Dfoo=bar"
                if (addedToBuffer && arg.endsWith("\"")) {
                    // if we're building an argument, keep doing so.
                    // if this is the case of "-Dfoo=bar", then we need to adjust the buffer.
                    if (!currentArg.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            assert linkErrors.text.stripTrailing().endsWith('All clear!')
        }
    
        private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) {
            assert linkErrors.exists()
    
            def lines = linkErrors.readLines()
            deadLinks.each { deadLink ->
                String errorStart = "ERROR: ${deadLink.file.name}:"
                assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) }
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
                        .collect(Collectors.toList());
            }
        }
    
        @Benchmark
        public int readWithStax(AdditionState state) throws IOException, XMLStreamException {
            int i = 0;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top