Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,627 for indexOf (0.07 sec)

  1. test-site/app/models/ContentsCreator.java

            String h = html;
            final String tag = "<a href=\"";
            int linkPos;
            while((linkPos = h.indexOf(tag)) >=0) {
                h = h.substring(linkPos + tag.length());
                final int endpos = h.indexOf('"');
                String url = h.substring(0, endpos);
                if(url.contains("#")) {
                    continue;
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} value
       * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/WebApiRequest.java

            super(request);
            this.servletPath = servletPath;
        }
    
        @Override
        public String getServletPath() {
            if (getQueryString() != null && getQueryString().indexOf("SAStruts.method") != -1) {
                return super.getServletPath();
            }
            return servletPath;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/UniAddress.java

         * new String[] { "SRV" }
         * );
         * return name;
         * } catch (NameNotFoundException nnfe) {
         * uhe = new UnknownHostException(nnfe.getMessage());
         * }
         * int dot = name.indexOf('.');
         * if (dot == -1)
         * break;
         * name = name.substring(dot + 1);
         * }
         * } catch (NamingException ne) {
         * if (log.level > 1)
         * ne.printStackTrace(log);
         * }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf() throws Exception {
            assertThat(map.indexOf("test"), is(1));
            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        }
    
        @Override
        public Double get(int index) {
          return parent.get(index);
        }
    
        @Override
        public boolean contains(@CheckForNull Object target) {
          return indexOf(target) >= 0;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          return target instanceof Double ? parent.indexOf((Double) target) : -1;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            @Override
            public E get(final int index) {
                return parent.get(index);
            }
    
            @Override
            public E set(final int index, final E element) {
                return parent.set(index, element);
            }
    
            @Override
            public void add(final int index, final E element) {
                parent.add(index, element);
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

          }
        } else {
          this.handshake = null
          this.handshakeServerNames = listOf()
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
          val pathEnd = requestLine.indexOf(' ', methodEnd + 1)
          this.method = requestLine.substring(0, methodEnd)
          var path = requestLine.substring(methodEnd + 1, pathEnd)
          if (!path.startsWith("/")) {
            path = "/"
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Floats.java

       */
      public static int indexOf(float[] array, float target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(float[] array, float target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Doubles.java

       */
      public static int indexOf(double[] array, double target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(double[] array, double target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top