Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 97 for lastIndexOf (0.08 sec)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        public int indexOf(@Nullable Object o) {
          refreshIfEmpty();
          return getListDelegate().indexOf(o);
        }
    
        @Override
        public int lastIndexOf(@Nullable Object o) {
          refreshIfEmpty();
          return getListDelegate().lastIndexOf(o);
        }
    
        @Override
        public ListIterator<V> listIterator() {
          refreshIfEmpty();
          return new WrappedListIterator();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

       *
       * @since 11.0
       */
      public static String getFileExtension(String fullName) {
        checkNotNull(fullName);
        String fileName = new File(fullName).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. lib/wasm/wasm_exec.js

    			constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1, O_DIRECTORY: -1 }, // unused
    			writeSync(fd, buf) {
    				outputBuf += decoder.decode(buf);
    				const nl = outputBuf.lastIndexOf("\n");
    				if (nl != -1) {
    					console.log(outputBuf.substring(0, nl));
    					outputBuf = outputBuf.substring(nl + 1);
    				}
    				return buf.length;
    			},
    			write(fd, buf, offset, length, position, callback) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        ImmutableList<String> list = multiset.asList();
        assertEquals(ImmutableList.of("a", "a", "b", "b", "b"), list);
        assertEquals(2, list.indexOf("b"));
        assertEquals(4, list.lastIndexOf("b"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_asList() {
        ImmutableMultiset<String> multiset = ImmutableMultiset.of("a", "a", "b", "b", "b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      @Override
      public int indexOf(@Nullable Object object) {
        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@Nullable Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      @Override
      public final boolean addAll(int index, Collection<? extends E> newElements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            if (name == null || enc == null) {
                return null;
            }
    
            name = name.replaceAll("/+$", StringUtil.EMPTY);
            final int idx = name.lastIndexOf('/');
            if (idx >= 0) {
                name = name.substring(idx + 1);
            }
            try {
                return URLDecoder.decode(name, enc);
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                if (expectedChecksum.regionMatches(true, 0, "MD", 0, 2)
                        || expectedChecksum.regionMatches(true, 0, "SHA", 0, 3)) {
                    int lastSpacePos = expectedChecksum.lastIndexOf(' ');
                    expectedChecksum = expectedChecksum.substring(lastSpacePos + 1);
                } else {
                    // remove everything after the first space (if available)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

            // Clean up counters from previous windows to prevent memory leaks
            rateLimitCounters.entrySet().removeIf(entry -> {
                String key = entry.getKey();
                int lastUnderscore = key.lastIndexOf('_');
                if (lastUnderscore > 0) {
                    try {
                        long window = Long.parseLong(key.substring(lastUnderscore + 1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

        protected boolean pathNamesPossiblyEqual(final String path1, final String path2) {
            int p1, p2, l1, l2;
    
            // if unsure return this method returns true
    
            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          // '/foo/bar' for a URL like 'http://example.com/foo/bar/baz'. It always starts with '/'.
          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,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top