Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 2,749 for should (0.05 seconds)

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

        assertTrue(
            "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0())));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_withDuplicates() {
        MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4());
        assertTrue("add(hasDuplicates) should return true", getSet().addAll(elementsToAdd));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            return this;
        }
    
        /**
         * Gets the artifact filter that controls traversal of the dependency graph.
         *
         * @return The filter used to determine which of the artifacts in the dependency graph should be traversed or
         *         {@code null} to collect all transitive dependencies.
         */
        public ArtifactFilter getCollectionFilter() {
            return collectionFilter;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

            /**
             * Returns the file extension to be used for given checksum file (without leading dot), never {@code null}. The
             * extension should be file and URL path friendly, and may differ from algorithm name.
             * The checksum extension SHOULD NOT contain dot (".") character.
             * Example: "sha1".
             */
            @Nonnull
            String getFileExtension();
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      }
    
      public void testSetValue_simpleThreaded() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertTrue(future.set(42));
        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.create()));
        // Check that the future has been set properly.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

        MetadataResolutionRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories);
    
        /**
         * Determines whether the managed version information should be retrieved.
         *
         * @return {@code true} if the dependency management information should be retrieved, {@code false} otherwise.
         */
        boolean isResolveManagedVersions();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         * @return true if this strategy should be applied
         */
        boolean isApplicable(UpgradeContext context);
    
        /**
         * Helper method to check if a specific option is enabled, considering --all flag and defaults.
         *
         * @param options the upgrade options
         * @param specificOption the specific option to check
         * @param defaultWhenNoOptionsSpecified whether this option should be enabled by default
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. internal/grid/handlers.go

    		// Any non-nil error sent as response means no more responses are sent.
    		Handle StreamHandlerFn
    
    		// Subroute for handler.
    		// Subroute must be static and clients should specify a matching subroute.
    		// Should not be set unless there are different handlers for the same HandlerID.
    		Subroute string
    
    		// OutCapacity is the output capacity. If <= 0 capacity will be 1.
    		OutCapacity int
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                    this.managedDependencies.add(managedDependency);
                }
                return this;
            }
    
            /**
             * Specifies that the collection should be verbose.
             *
             * @param verbose whether the collection should be verbose or not
             * @return this request for chaining, never {@code null}
             */
            @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  9. internal/http/headers.go

    	// Create special flag to force create a bucket
    	MinIOForceCreate = "x-minio-force-create"
    
    	// Header indicates if the mtime should be preserved by client
    	MinIOSourceMTime = "x-minio-source-mtime"
    
    	// Header indicates if the etag should be preserved by client
    	MinIOSourceETag = "x-minio-source-etag"
    
    	// Writes expected write quorum
    	MinIOWriteQuorum = "x-minio-write-quorum"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top