Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,579 for indexOf (0.05 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. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final String escaped = LaFunctions.h(text);
            final String value;
            if (ComponentUtil.getFessConfig().isQueryHighlightBoundaryPositionDetect()) {
                int pos = escaped.indexOf(escapedHighlightPre);
                while (pos >= 0) {
                    final int c = escaped.codePointAt(pos);
                    if (Character.isISOControl(c) || highlightTerminalCharSet.contains(c)) {
                        break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            if (username != null) {
                int 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: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      protected final void expectAdded(int index, E... elements) {
        expectAdded(index, asList(elements));
      }
    
      protected final void expectAdded(int index, Collection<E> elements) {
        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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. 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)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @ParametricNullness
        public V get(int index) {
          refreshIfEmpty();
          return getListDelegate().get(index);
        }
    
        @Override
        @ParametricNullness
        public V set(int index, @ParametricNullness V element) {
          refreshIfEmpty();
          return getListDelegate().set(index, element);
        }
    
        @Override
        public void add(int index, @ParametricNullness V element) {
          refreshIfEmpty();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top