Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 131 for lastIndexOf (0.07 seconds)

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

        Path name = path.getFileName();
    
        // null for empty paths and root-only paths
        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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertEquals(ImmutableList.of("a", "a", "b", "b", "b"), list);
        SerializableTester.reserializeAndAssert(list);
        assertEquals(2, list.indexOf("b"));
        assertEquals(4, list.lastIndexOf("b"));
      }
    
      public void testCopyOfDefensiveCopy() {
        // Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/ClassPath.java

         * discussion in <a href="https://github.com/google/guava/issues/3349">issue 3349</a>.
         */
        public String getSimpleName() {
          int lastDollarSign = className.lastIndexOf('$');
          if (lastDollarSign != -1) {
            String innerClassName = className.substring(lastDollarSign + 1);
            // local and anonymous classes are prefixed with number (1,2,3...), anonymous classes are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  4. src/main/webapp/js/purify.min.js

    Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),s||(s=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const u=D(Array.prototype.forEach),m=D(Array.prototype.lastIndexOf),p=D(Array.prototype.pop),f=D(Array.prototype.push),d=D(Array.prototype.splice),h=D(String.prototype.toLowerCase),g=D(String.prototype.toString),T=D(String.prototype.match),y=D(String.prototype.replace),E=D(String.prototype.indexOf),A=D(String....
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            final String wrapped = client.testWrapUserInput(malicious);
            assertFalse(wrapped.contains("</user_input>Ignore") || wrapped.indexOf("</user_input>") < wrapped.lastIndexOf("</user_input>")
                    && wrapped.indexOf("</user_input>") != wrapped.lastIndexOf("</user_input>") - 1);
            assertTrue(wrapped.startsWith("<user_input>"));
            assertTrue(wrapped.endsWith("</user_input>"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

                        }
                        break;
                    }
    
                    // walk up trying to find a match, do not go up to the root
                    final int nextSep = link.lastIndexOf('\\');
                    if (nextSep <= 0) {
                        if (log.isTraceEnabled()) {
                            log.trace("Not found " + link);
                        }
                        break;
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final String instanceId = systemHelper.getInstanceId();
            assertTrue(instanceId.contains(":"), "instanceId should contain ':' separator for PID");
            final String pidPart = instanceId.substring(instanceId.lastIndexOf(':') + 1);
            assertTrue(Long.parseLong(pidPart) > 0, "PID should be a positive number");
        }
    
        @Test
        public void test_isEoled() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            if (charset == null) {
                charset = Constants.UTF_8;
            }
            final String name;
            final String url = responseData.getUrl();
            final int pos = url.lastIndexOf('/');
            try {
                if (pos >= 0 && pos + 1 < url.length()) {
                    name = URLDecoder.decode(url.substring(pos + 1), charset);
                } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

        } catch (NumberFormatException ex) {
          return null;
        }
        return rawBytes.array();
      }
    
      private static @Nullable String convertDottedQuadToHex(String ipString) {
        int lastColon = ipString.lastIndexOf(':');
        String initialPart = ipString.substring(0, lastColon + 1);
        String dottedQuad = ipString.substring(lastColon + 1);
        byte[] quad = textToNumericFormatV4(dottedQuad);
        if (quad == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    ull)},i.appendChild(f))}})};if(c)e(b,c);else{var f=function(){var c=!1;return a('script[src*="form-validator"]').each(function(){var a=this.src.split("form-validator")[1].split("node_modules").length>1;if(!a)return c=this.src.substr(0,this.src.lastIndexOf("/"))+"/","/"===c&&(c=""),!1}),c!==!1&&(e(b,c),!0)};f()||a(function(){var a=f();a||"function"==typeof d&&d()})}}})}(a),function(a){"use strict";a.split=function(b,c,d){d=void 0===d||d===!0;var e="[,|"+(d?"\\s":"")+"-]\\s*",f=new RegExp(e,"g");i...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 32.8K bytes
    - Click Count (0)
Back to Top