Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 122 for lastIndexOf (0.14 sec)

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

          return standardHashCode();
        }
    
        @Override
        public int indexOf(Object element) {
          return standardIndexOf(element);
        }
    
        @Override
        public int lastIndexOf(Object element) {
          return standardLastIndexOf(element);
        }
    
        @Override
        public Iterator<T> iterator() {
          return listIterator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

        public void testForEachFile() throws Exception {
            final File rootDir = ResourceUtil.getBuildDir(getClass());
            final String path = ResourceUtil.getResourcePath(getClass());
            final int pos = path.lastIndexOf("/");
            final String baseDirectory = path.substring(0, pos);
            ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {
                try {
                    if (count < 10) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
            f2name = f2.getName();
            if( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase( f2name );
            }
            i = f1name.lastIndexOf( '.' );
            t1 = i == -1 ? "" : f1name.substring( i + 1 );
            i = f2name.lastIndexOf( '.' );
            t2 = i == -1 ? "" : f2name.substring( i + 1 );
    
            i = t1.compareToIgnoreCase( t2 );
            if( i == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
                        parent--;
                    }
                    parent = result.lastIndexOf('/', parent);
                    if (parent < 0) {
                        result = result.substring(idx + 4);
                    } else {
                        result = result.substring(0, parent) + result.substring(idx + 3);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/form-validator/file.js

    ion(){e()},g.src=c.target.result}};a.formUtils.addValidator({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...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                }
            }
    
            @Throws(IOException::class)
            private
            fun processClassFile(zipEntry: ZipEntry, builder: Trie.Builder) {
                val endIndex = zipEntry.name.lastIndexOf("/")
                if (endIndex > 0) {
                    val packageName = zipEntry.name.substring(0, endIndex)
                    if (shouldInclude(packageName, excludes, includes)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        /**
         *
         */
        public ArtifactMetadata(String name) {
            if (name == null) {
                return;
            }
            int ind1 = name.indexOf(':');
            int ind2 = name.lastIndexOf(':');
    
            if (ind1 == -1 || ind2 == -1) {
                return;
            }
    
            this.groupId = name.substring(0, ind1);
            if (ind1 == ind2) {
                this.artifactId = name.substring(ind1 + 1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

          return forwardList.contains(object);
        }
    
        @Override
        public int indexOf(@CheckForNull Object object) {
          int index = forwardList.lastIndexOf(object);
          return (index >= 0) ? reverseIndex(index) : -1;
        }
    
        @Override
        public int lastIndexOf(@CheckForNull Object object) {
          int index = forwardList.indexOf(object);
          return (index >= 0) ? reverseIndex(index) : -1;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String adocFileName = adocFile.getName();
                // getting_started.adoc -> getting_started-docinfo.html
                String docInfoName = adocFileName.substring(0, adocFileName.lastIndexOf('.')) + "-docinfo.html";
                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> actual = cartesianProduct(list(1, 1), list(2, 3));
        assertThat(actual.lastIndexOf(list(1, 2))).isEqualTo(2);
        assertThat(actual.lastIndexOf(list(1, 3))).isEqualTo(3);
        assertThat(actual.lastIndexOf(list(1, 1))).isEqualTo(-1);
    
        assertThat(actual.lastIndexOf(list(1))).isEqualTo(-1);
        assertThat(actual.lastIndexOf(list(1, 1, 1))).isEqualTo(-1);
      }
    
      public void testCartesianProduct_unrelatedTypes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top