Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 282 for indexFor (0.06 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      public List<String> order(List<String> insertionOrder) {
                        List<String> order = new ArrayList<>();
                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  3. 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")
        void testOverConstrainedVersionException()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        //    sub.test.example.com.
        // 3. Wildcard patterns for single-label domain names are not permitted.
    
        if (!pattern.startsWith("*.") || pattern.indexOf('*', 1) != -1) {
          // Asterisk (*) is only permitted in the left-most domain name label and must be the only
          // character in that label
          return false
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        val now = taskRunner.backend.nanoTime()
        val executeNanoTime = now + delayNanos
    
        // If the task is already scheduled, take the earlier of the two times.
        val existingIndex = futureTasks.indexOf(task)
        if (existingIndex != -1) {
          if (task.nextExecuteNanoTime <= executeNanoTime) {
            taskRunner.logger.taskLog(task, this) { "already scheduled" }
            return false
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        return intersectionInCurrentDomain(Range.downTo(fromElement, BoundType.forBoolean(inclusive)));
      }
    
      @GwtIncompatible // not used by GWT emulation
      @Override
      int indexOf(@CheckForNull Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains checkā€”at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asIndexHtml();
        }
    
        private HtmlResponse asIndexHtml() {
            return asHtml(path_AdminWizard_AdminWizardJsp).useForm(IndexForm.class);
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse crawlingConfigForm() {
            saveToken();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                for (final RequestData requestData : urlSet.toArray(new RequestData[urlSet.size()])) {
                    String url = requestData.getUrl();
                    if (url.indexOf(".svn") < 0) {
                        assertTrue(url.contains("test/dir1") || url.contains("test/dir2") || url.contains("test/text1.txt")
                                || url.contains("test/text2.txt") || url.contains("test/text%203.txt"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

        val socketOrderedByDefaults =
          handshakeEnabledCipherSuites.sortedBy { ConnectionSpec.MODERN_TLS.cipherSuitesAsString!!.indexOf(it) }
    
        assertThat(handshakeEnabledCipherSuites).containsExactly(
          *socketOrderedByDefaults.toTypedArray(),
        )
      }
    
      @Test
      fun advertisedOrderInRestricted() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

         * one byte left to read.
         */
        private fun currentPartBytesRemaining(maxResult: Long): Long {
          source.require(crlfDashDashBoundary.size.toLong())
    
          return when (val delimiterIndex = source.buffer.indexOf(crlfDashDashBoundary)) {
            -1L -> minOf(maxResult, source.buffer.size - crlfDashDashBoundary.size + 1)
            else -> minOf(maxResult, delimiterIndex)
          }
        }
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top