Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 325 for substring (0.09 sec)

  1. android/guava/src/com/google/common/io/MoreFiles.java

        if (name == null) {
          return "";
        }
    
        String fileName = name.toString();
        int dotIndex = fileName.lastIndexOf('.');
        return dotIndex == -1 ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/MoreFiles.java

        if (name == null) {
          return "";
        }
    
        String fileName = name.toString();
        int dotIndex = fileName.lastIndexOf('.');
        return dotIndex == -1 ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          if (path == null || !path.startsWith("/")) {
            val encodedPath = url.encodedPath
            val lastSlash = encodedPath.lastIndexOf('/')
            path = if (lastSlash != 0) encodedPath.substring(0, lastSlash) else "/"
          }
    
          return Cookie(
            cookieName, cookieValue, expiresAt, domain, path, secureOnly, httpOnly,
            persistent, hostOnly, sameSite,
          )
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

    namespace tensorflow {
    namespace {
    
    static bool HasSubstr(absl::string_view base, absl::string_view substr) {
      bool ok = absl::StrContains(base, substr);
      EXPECT_TRUE(ok) << base << ", expected substring " << substr;
      return ok;
    }
    
    TEST(CAPI, MonitoringCounter0) {
      TF_Status* status = TF_NewStatus();
      auto* counter =
          TFE_MonitoringNewCounter0("test/counter", status, "description");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * @return 削った結果
         */
        protected String trimPrefix(final String propertyName) {
            if (prefix == null) {
                return propertyName;
            }
            return propertyName.substring(prefix.length());
        }
    
        /**
         * 値を変換します。
         *
         * @param value
         *            値
         * @param destPropertyName
         *            コピー先のプロパティ名
         * @param destPropertyClass
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
                return Optional.of(str.substring(0, str.length() - suffix.length()));
              } else {
                return Optional.absent();
              }
            }
          };
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Collector<String, ?, ImmutableListMultimap<Character, Character>> collector =
            flatteningToImmutableListMultimap(
                str -> str.charAt(0), str -> Chars.asList(str.substring(1).toCharArray()).stream());
        BiPredicate<Multimap<?, ?>, Multimap<?, ?>> equivalence =
            Equivalence.equals()
                .onResultOf((Multimap<?, ?> mm) -> ImmutableList.copyOf(mm.asMap().entrySet()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
        }
    
        protected int calculateDegreeOfConcurrency(String threadConfiguration) {
            try {
                if (threadConfiguration.endsWith("C")) {
                    String str = threadConfiguration.substring(0, threadConfiguration.length() - 1);
                    float coreMultiplier = Float.parseFloat(str);
    
                    if (coreMultiplier <= 0.0f) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. manifests/charts/base/files/crd-all.gen.yaml

                          x-kubernetes-validations:
                          - message: UDS must be an absolute path or abstract socket
                            rule: 'self.startsWith(''unix://'') ? (self.substring(7,8)
                              == ''/'' || self.substring(7,8) == ''@'') : true'
                          - message: UDS may not be a dir
                            rule: 'self.startsWith(''unix://'') ? !self.endsWith(''/'')
                              : true'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Lists.java

        }
    
        @Override
        public ImmutableList<Character> subList(int fromIndex, int toIndex) {
          checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
          return charactersOf(string.substring(fromIndex, toIndex));
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
        public Character get(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top