Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getDest (0.11 sec)

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

      }
    
      public void testGetNext_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
        assertEquals("foo", Iterators.getNext(iterator, "x"));
      }
    
      public void testGetLast_basic() {
        List<String> list = newArrayList();
        list.add("a");
        list.add("b");
        assertEquals("b", getLast(list.iterator()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testGetNext_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
        assertEquals("foo", Iterators.getNext(iterator, "x"));
      }
    
      public void testGetLast_basic() {
        List<String> list = newArrayList();
        list.add("a");
        list.add("b");
        assertEquals("b", getLast(list.iterator()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        @GuardedBy("this")
        @CheckForNull
        E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
            E next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              newCount--;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        @GuardedBy("this")
        @CheckForNull
        E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
            E next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              newCount--;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       * @return the last element of {@code iterator}
       * @since 3.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(
          Iterator<? extends T> iterator, @ParametricNullness T defaultValue) {
        return iterator.hasNext() ? getLast(iterator) : defaultValue;
      }
    
      /**
       * Calls {@code next()} on {@code iterator}, either {@code numberToAdvance} times or until {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                while ( chain != null ) {
                    n++;
                    int size = chain.size();
                    int cost = chain.getCreditCost();
                    CommonServerMessageBlockRequest next = chain.getNext();
                    if ( log.isTraceEnabled() ) {
                        log.trace(
                            String.format("%s costs %d avail %d (%s)", chain.getClass().getName(), cost, this.credits.availablePermits(), this.name));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            this.isExists = false;
    
            try {
                if ( this.url.getHost().length() == 0 ) {}
                else if ( this.fileLocator.getShare() == null ) {
                    if ( this.fileLocator.getType() == TYPE_WORKGROUP ) {
                        getContext().getNameServiceClient().getByName(this.url.getHost(), true);
                    }
                    else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public E getFirst() {
          synchronized (mutex) {
            return delegate().getFirst();
          }
        }
    
        @Override
        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
        @Override
        @CheckForNull
        public E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Synchronized.java

        @Override
        public E getFirst() {
          synchronized (mutex) {
            return delegate().getFirst();
          }
        }
    
        @Override
        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
        @Override
        @CheckForNull
        public E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        if (!first) {
                            buf.append(',');
                        }
                        first = false;
    
                        buf.append("{\"text\":\"").append(StringEscapeUtils.escapeJson(item.getText())).append('\"');
                        buf.append(",\"labels\":[");
                        for (int i = 0; i < item.getTags().length; i++) {
                            if (i > 0) {
                                buf.append(',');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top