Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,612 for contain (0.28 sec)

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

        assertTrue("Heap contains 1", mmHeap.remove(1));
        assertFalse("Heap does not contain 1", mmHeap.contains(1));
        assertTrue("Heap contains 2", mmHeap.remove(2));
        assertEquals(0, mmHeap.size());
        assertFalse("Heap does not contain anything", mmHeap.contains(1));
        assertFalse("Heap does not contain anything", mmHeap.remove(2));
      }
    
      public void testIteratorPastEndException() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *     visit(t.getGenericComponentType());
     *   }
     *   protected void visitTypeVariable(TypeVariable<?> t) {
     *     throw new IllegalArgumentException("Cannot contain type variable.");
     *   }
     *   protected void visitWildcardType(WildcardType t) {
     *     throw new IllegalArgumentException("Cannot contain wildcard type.");
     *   }
     * }.visit(type);
     * }</pre>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

              return optional.orNull();
            }
          };
    
      /**
       * Sets.cartesianProduct doesn't allow sets that contain null, but we want null to mean "don't
       * call the associated CacheBuilder method" - that is, get the default CacheBuilder behavior. This
       * method wraps the elements in the input sets (which may contain null) as Optionals, calls
       * Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

        assertTrue(
            "addAll(somePresent) should return true",
            collection.addAll(MinimalCollection.of(e3(), e0())));
        assertTrue("should contain " + e3(), collection.contains(e3()));
        assertTrue("should contain " + e0(), collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedSomePresent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-diff_test.go

    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDiffTestcase struct {
    	args           string
    	shouldFail     bool
    	expectedString string // String output is expected to contain
    	notExpected    string // String the output must NOT contain
    }
    
    func TestProfileDiff(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    			args:       "profile diff demo default --unknown-flag",
    			shouldFail: true,
    		},
    		{
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * This map is usually either empty if no module was found, or a singleton map.
         * It may however contain more than one entry if module hierarchy was detected,
         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
         * parameter set to false. This is more efficient when only the module existence needs to
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 18:17:52 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. internal/s3select/message.go

    var bufLength = payloadLenForMsgLen(maxRecordMessageLength)
    
    // newRecordsMessage - creates new Records Message which can contain a single record, partial records,
    // or multiple records. Depending on the size of the result, a response can contain one or more of these messages.
    //
    // Header specification
    // Records messages contain three headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-record.png
    //
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         */
        @Nonnull
        List<Node> getNodes();
    
        /**
         * Returns the file paths of all dependencies, regardless on which tool option those paths should be placed.
         * The returned list may contain a mix of Java class-path, Java module-path, and other types of path elements.
         *
         * @return the paths of all dependencies
         */
        @Nonnull
        List<Path> getPaths();
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top