Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,627 for indexOf (0.07 sec)

  1. 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)
  2. src/main/webapp/js/admin/plugins/form-validator/file.js

    ddValidator({name:"mime",validatorFunction:function(b,f,g,h){if(c){var i=!0,j=f.get(0).files||[],k="",l=d(f);return j.length&&(a.each(j,function(b,c){return i=!1,k=c.type||c.name.substring(c.name.lastIndexOf(".")+1),a.each(l,function(a,b){if(i=k.indexOf(b)>-1)return!1}),i}),i||(a.formUtils.warn("Trying to upload a file with mime type "+k+" which is not allowed"),e(this,"wrongFileType",l.join(", "),h))),i}return a.formUtils.warn("FileReader not supported by browser, will check file extension"),a....
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  3. src/main/webapp/css/admin/respond.min.js

    ngth-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 08 12:14:13 UTC 2015
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        }
    
        @Override
        public Map<String, Object> get(final int index) {
            return parent.get(index);
        }
    
        @Override
        public int hashCode() {
            return parent.hashCode();
        }
    
        @Override
        public int indexOf(final Object o) {
            return parent.indexOf(o);
        }
    
        @Override
        public boolean isEmpty() {
            return parent.isEmpty();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            List<String> lifecycleIds = Arrays.asList(STANDARD_LIFECYCLES);
    
            Comparator<String> comparator = (l, r) -> {
                int lx = lifecycleIds.indexOf(l);
                int rx = lifecycleIds.indexOf(r);
    
                if (lx < 0 || rx < 0) {
                    return rx - lx;
                } else {
                    return lx - rx;
                }
            };
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray iia = ImmutableIntArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.indexOf(1)).isEqualTo(0);
        assertThat(iia.indexOf(8)).isEqualTo(5);
        assertThat(iia.indexOf(4)).isEqualTo(-1);
        assertThat(ImmutableIntArray.of(13).indexOf(13)).isEqualTo(0);
        assertThat(ImmutableIntArray.of().indexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0);
      }
    
      public void testLastIndexOf() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
        }
    
        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: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

                    int index = auth.indexOf(':');
                    String user = ( index != -1 ) ? auth.substring(0, index) : auth;
                    String password = ( index != -1 ) ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if ( index == -1 )
                        index = user.indexOf('/');
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                val line = it.trim()
                if (line.startsWith("\"version\"")) {
                    version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\""))
                }
                if (line.startsWith("\"buildTime\"")) {
                    var date = line.substring(line.indexOf("\"", 12) + 1, line.lastIndexOf("\""))
                    date = date.substring(0, 4) + "-" + date.substring(4, 6) + "-" + date.substring(6, 8)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. android/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: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top