Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 6,777 for RETURN (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
        } catch (UnsupportedOperationException ok) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_0() {
        int oldCount = getMultiset().count(e0());
        assertEquals(
            "multiset.remove(E, 0) didn't return the old count",
            oldCount,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

                new CountDownLatch(1).await(); // the interrupt will wake us up
                return null;
              }
    
              @Override
              boolean isDone() {
                return false;
              }
    
              @Override
              String toPendingString() {
                return "";
              }
    
              @Override
              void afterRanInterruptiblySuccess(@Nullable Void result) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

          if (Objects.equal(array[entry], o)) {
            return entry;
          }
        }
        return ABSENT;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return findEntryByKey(key) != ABSENT;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return false;
          }
          if ((i > 2) && (compareElements(getGrandparentIndex(i), i) > 0)) {
            return false;
          }
          return true;
        }
    
        // These would be static if inner classes could have static members.
    
        private int getLeftChildIndex(int i) {
          return i * 2 + 1;
        }
    
        private int getRightChildIndex(int i) {
          return i * 2 + 2;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

            return userLocalArtifactRepository.getReleases();
        }
    
        @Override
        public ArtifactRepositoryPolicy getSnapshots() {
            return userLocalArtifactRepository.getSnapshots();
        }
    
        @Override
        public String getKey() {
            return userLocalArtifactRepository.getKey();
        }
    
        @Override
        public String getUrl() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                return convertPrefixQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (DEFAULT_FIELD.equals(field)) {
                return convertDefaultTermQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (SORT_FIELD.equals(field)) {
                return convertSortQuery(fessConfig, context, termQuery, boost, field, text);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteStreams.java

          if (read == -1) {
            // end of stream before reading expectedSize bytes
            // just return the bytes read so far
            return Arrays.copyOf(bytes, off);
          }
          remaining -= read;
        }
    
        // bytes is now full
        int b = in.read();
        if (b == -1) {
          return bytes;
        }
    
        // the stream was longer, so read the rest normally
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

                return false;
              }
            }
            return true;
          } catch (ClassCastException e) {
            return false;
          } catch (NoSuchElementException e) {
            return false; // concurrent change to other set
          }
        }
        return containsAll(that);
      }
    
      @Override
      public E first() {
        if (isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                authInfo.setPassphrase(server.getPassphrase());
    
                                return authInfo;
                            }
                        }
                    }
                }
            }
    
            // empty one to prevent NPE
            return new AuthenticationInfo();
        }
    
        public ProxyInfo getProxy(String protocol) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * {@link RemoteRepository#getUrl()} root.
         *
         * @return the string if operation succeeded, {@code null} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        default Optional<String> getString(@Nonnull URI relativeSource) {
            return getString(relativeSource, StandardCharsets.UTF_8);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top