Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 235 for indexFor (0.06 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

            // Group archived keys by session
            for (String key : sessionKeys.keySet()) {
                if (key.contains(".v")) {
                    String baseSession = key.substring(0, key.indexOf(".v"));
                    sessionArchives.computeIfAbsent(baseSession, k -> new java.util.ArrayList<>()).add(key);
                }
            }
    
            // Remove old versions
            int removed = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Lists.java

        private final String string;
    
        StringAsImmutableList(String string) {
          this.string = string;
        }
    
        @Override
        public int indexOf(@Nullable Object object) {
          return (object instanceof Character) ? string.indexOf((Character) object) : -1;
        }
    
        @Override
        public int lastIndexOf(@Nullable Object object) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            for (User user : users) {
                chain.update(user);
                chain.changePassword(user.getName(), "newpass" + user.getName());
                chain.load(user);
                if (users.indexOf(user) % 2 == 0) {
                    chain.delete(user);
                }
            }
    
            // Verify all operations were tracked
            assertEquals(10, chain.updateCalls.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                System.clearProperty(Constants.FESS_CONF_PATH);
            }
    
            List<String> cmdList = mockProcessHelper.getLastCommandList();
            if (cmdList != null) {
                int cpIndex = cmdList.indexOf("-cp");
                if (cpIndex >= 0 && cpIndex + 1 < cmdList.size()) {
                    String classpath = cmdList.get(cpIndex + 1);
                    assertTrue(classpath.contains(confPath));
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            /*
             * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch (
             * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) <
             * e.getMessage().indexOf( "[1.0,)" ) ); }
             */
        }
    
        @Test
        @Disabled("that one does not work")
        @SuppressWarnings("checkstyle:UnusedLocalVariable")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         * @return the canonical session ID (portion before first hyphen, or original if no hyphen)
         */
        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        /**
         * Stores crawling information and parameters for the specified session.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        private String unescape(final String s) {
            if (s.indexOf('\\') >= 0) {
                final StringBuilder sb = new StringBuilder();
                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            int ci;
    
            if (username != null) {
                ci = username.indexOf('@');
                if (ci > 0) {
                    domain = username.substring(ci + 1);
                    username = username.substring(0, ci);
                } else {
                    ci = username.indexOf('\\');
                    if (ci > 0) {
                        domain = username.substring(0, ci);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(list.contains("the"));
        assertEquals(2, list.indexOf("the"));
        assertEquals(2, list.lastIndexOf("the"));
        assertFalse(list.contains("dog"));
        assertEquals(-1, list.indexOf("dog"));
        assertEquals(-1, list.lastIndexOf("dog"));
        assertFalse(list.contains("chicken"));
        assertEquals(-1, list.indexOf("chicken"));
        assertEquals(-1, list.lastIndexOf("chicken"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        List<E> expected = copyToList(getSampleElements());
        expected.addAll(index, elements);
        expectContents(expected);
      }
    
      /*
       * TODO: if we're testing a list, we could check indexOf(). (Doing it in
       * AbstractListTester isn't enough because many tests that run on lists don't
       * extends AbstractListTester.) We could also iterate over all elements to
       * verify absence
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top