Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 153 for ends_with (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        int num = Integer.parseInt(expression.substring(2, expression.length() - 1));
                        filters.add(new HighestVersionFilter(num));
                    } else if ("l".equals(expression)) {
                        filters.add(new LowestVersionFilter());
                    } else if (expression.startsWith("l(") && expression.endsWith(")")) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

         * this check is faster than converting them to Strings and using {@link String#endsWith(String)}.
         */
        public static boolean endsWith(CharSequence longer, CharSequence shorter) {
            if (longer instanceof String && shorter instanceof String) {
                return ((String) longer).endsWith((String) shorter);
            }
            int longerLength = longer.length();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertEquals(Constants.GET_METHOD, responseData.getMethod());
                assertEquals("text/plain", responseData.getMimeType());
                assertTrue(responseData.getUrl().endsWith("text1.txt"));
                final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
                assertEquals("test1", content.trim());
            } finally {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        MAVEN_METADATA_XML,
                        Metadata.Nature.RELEASE_OR_SNAPSHOT);
            } else if (version.endsWith(SNAPSHOT)) {
                WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace != null && workspace.findVersions(artifact).contains(version)) {
                    metadata = null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Strings.java

          p--;
        }
        return a.subSequence(0, p).toString();
      }
    
      /**
       * Returns the longest string {@code suffix} such that {@code a.toString().endsWith(suffix) &&
       * b.toString().endsWith(suffix)}, taking care not to split surrogate pairs. If {@code a} and
       * {@code b} have no common suffix, returns the empty string.
       *
       * @since 11.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 09 00:49:18 UTC 2021
    - 12.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

            when:
            file("a").touch()
            buildScript "task a { inputs.file 'a'; outputs.file 'b'; doLast {} }"
    
            then:
            succeeds "a"
            output.endsWith("(ctrl-d to exit)\n")
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def "exit hint mentions enter when on windows"() {
            when:
            file("a").touch()
            buildScript """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

                assert iml.component.content.excludeFolder.find { ******@****.***().endsWith(expectedExclusion) }
            }
            assert ******@****.***().endsWith('muchBetterOutputDir')
            assert iml.component."output-test"******@****.***().endsWith('muchBetterTestOutputDir')
            assert iml.component.orderEntry.any { ******@****.***() == 'jdk' && ******@****.***() == '1.6' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
            if (lineNum == 0 || list.isEmpty()) {
                return "<pre class=\"" + style + "\">" + input + "</pre>";
            }
            int lastIndex = list.size();
            if (list.get(list.size() - 1).endsWith("...")) {
                lastIndex--;
            }
            if (lastIndex <= 0) {
                lastIndex = 1;
            }
            final String content = list.subList(0, lastIndex).stream().collect(Collectors.joining("\n"));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          urlHost: String,
          domain: String,
        ): Boolean {
          if (urlHost == domain) {
            return true // As in 'example.com' matching 'example.com'.
          }
    
          return urlHost.endsWith(domain) &&
            urlHost[urlHost.length - domain.length - 1] == '.' &&
            !urlHost.canParseAsIpAddress()
        }
    
        private fun pathMatch(
          url: HttpUrl,
          path: String,
        ): Boolean {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

        const std::string& input_path, MLIRContext* context,
        llvm::SourceMgr* source_mgr,
        std::unique_ptr<tensorflow::SavedModelBundle>* saved_model_bundle) {
      if (absl::EndsWith(input_path, ".mlir")) {
        auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(input_path.c_str());
        if (std::error_code error = file_or_err.getError()) {
          return tensorflow::errors::InvalidArgument(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top