Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 2,316 for Booleans (0.05 sec)

  1. android/guava/src/com/google/common/collect/Hashing.java

        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
          return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE;
        }
        return tableSize;
      }
    
      static boolean needsResizing(int size, int tableSize, double loadFactor) {
        return size > loadFactor * tableSize && tableSize < MAX_TABLE_SIZE;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

         *
         * @param metadata the metadata
         */
        void setMetadata(Metadata metadata);
    
        /**
         * Whether this represents a snapshot.
         *
         * @return if it is a snapshot
         */
        boolean isSnapshot();
    
        /**
         * Gets the artifact quality this metadata refers to. One of {@link #RELEASE}, {@link #SNAPSHOT} or
         * {@link #RELEASE_OR_SNAPSHOT}.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

        }
    
        @Override
        public Optional<String> module() {
            return Optional.ofNullable(moduleName);
        }
    
        @Override
        public PathMatcher matcher(Collection<String> defaultIncludes, boolean useDefaultExcludes) {
            return null; // Not used for this test.
        }
    
        @Test
        void testDirectory() {
            assertEquals(Path.of("src", "main", "java"), directory());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Oct 26 17:22:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean =
        when (className) {
          "okhttp3.recipes.CheckHandshake" -> true // by design
          "okhttp3.recipes.RequestBodyCompression" -> true // expired token
          else -> false
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeParameter.java

        this.typeVariable = (TypeVariable<?>) type;
      }
    
      @Override
      public final int hashCode() {
        return typeVariable.hashCode();
      }
    
      @Override
      public final boolean equals(@Nullable Object o) {
        if (o instanceof TypeParameter) {
          TypeParameter<?> that = (TypeParameter<?>) o;
          return typeVariable.equals(that.typeVariable);
        }
        return false;
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

        }
    
        public String getVersion() {
            return version;
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
    
            if (!ArtifactModelSource.class.equals(obj.getClass())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

            }
    
            return null;
        }
    
        @Override
        public URI getLocationURI() {
            return getFile().toURI();
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof FileModelSource)) {
                return false;
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            // execute
            reader.readArtifactDescriptor(session, request);
    
            // verify
            verify(eventDispatcher).dispatch(event.capture());
    
            boolean missingArtifactDescriptor = false;
    
            for (RepositoryEvent evt : event.getAllValues()) {
                if (EventType.ARTIFACT_DESCRIPTOR_MISSING.equals(evt.getType())) {
                    assertEquals(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RelatedContentDbm.java

        //                                                                         ===========
        @Override
        public boolean hasPrimaryKey() {
            return false;
        }
    
        @Override
        public boolean hasCompoundPrimaryKey() {
            return false;
        }
    
        @Override
        protected UniqueInfo cpui() {
            return null;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

                this.errors.addAll(errors);
            }
        }
    
        /**
         * Checks if the response has any errors.
         * @return True if there are errors, false otherwise.
         */
        public boolean hasError() {
            return !errors.isEmpty();
        }
    
        /**
         * Returns the list of errors.
         * @return The list of errors.
         */
        public List<Throwable> getErrors() {
            return errors;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top