Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for firstSep (0.16 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

            URI dfsRoot = new URI(getDFSRootURL());
            String dfsRootPath = dfsRoot.getPath();
            int firstSep = dfsRootPath.indexOf('/', 1);
            String dfsShare;
            if ( firstSep > 0 ) {
                dfsShare = dfsRootPath.substring(1, firstSep);
            }
            else {
                dfsShare = dfsRootPath.substring(1, dfsRootPath.length() - 1);
            }
            return dfsShare;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            if ( prefixLen > 1 ) {
                prefixLen--;
                int firstSep = this.canon.indexOf('/', 1);
                if ( firstSep < 0 ) {
                    this.share = this.canon.substring(1);
                    this.unc = "\\";
                }
                else if ( firstSep == prefixLen ) {
                    this.share = this.canon.substring(1, firstSep);
                    this.unc = "\\";
                }
                else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

                Set<String> listLinks = new HashSet<>(Arrays.asList(list));
                int firstSep = link.indexOf('/');
                if ( firstSep == link.length() - 1 ) {
                    // single level
                    assertTrue("Link not found " + link, listLinks.contains(link));
                }
                else {
                    link = link.substring(0, firstSep + 1);
                    // single level
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

            long firstKey = prepareRequests(request, response, params, timeout);
            doSend(request);
            return firstKey;
        }
    
    
        /**
         * @param request
         * @param response
         * @param params
         * @param timeout
         * @param firstKey
         * @return
         * @throws IOException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertThrows(NoSuchElementException.class, () -> navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapLast() {
        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingSortedMap.java

      @Override
      @CheckForNull
      public Comparator<? super K> comparator() {
        return delegate().comparator();
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        return delegate().firstKey();
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertThrows(NoSuchElementException.class, () -> navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapLast() {
        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

      @Override
      @CheckForNull
      public Comparator<? super K> comparator() {
        return delegate().comparator();
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        return delegate().firstKey();
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

        }
    
        @Override
        @CheckForNull
        public Comparator<? super R> comparator() {
          return sortedBackingMap().comparator();
        }
    
        @Override
        public R firstKey() {
          return sortedBackingMap().firstKey();
        }
    
        @Override
        public R lastKey() {
          return sortedBackingMap().lastKey();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> headMap(R toKey) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        public Comparator<? super K> comparator() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().comparator();
        }
    
        @Override
        public K firstKey() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().firstKey();
        }
    
        @Override
        public K lastKey() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lastKey();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top