Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,462 for unpresent (0.34 sec)

  1. android/guava/src/com/google/common/base/Optional.java

      }
    
      Optional() {}
    
      /**
       * Returns {@code true} if this holder contains a (non-null) instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      public abstract boolean isPresent();
    
      /**
       * Returns the contained instance, which must be present. If the instance might be absent, use
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Optional.java

     * the reference is "absent"); it is never said to "contain {@code null}".
     *
     * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
     * reference. It allows you to represent "a {@code T} that must be present" and a "a {@code T} that
     * might be absent" as two distinct types in your program, which can aid clarity.
     *
     * <p>Some uses of this class include
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    // out. It stores whether an element with the tag was found in outPresent,
    // unless outPresent is nil. It reports whether the read was successful.
    func (s *String) ReadOptionalASN1(out *String, outPresent *bool, tag asn1.Tag) bool {
    	present := s.PeekASN1Tag(tag)
    	if outPresent != nil {
    		*outPresent = present
    	}
    	if present && !s.ReadASN1(out, tag) {
    		return false
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. internal/kms/config.go

    		}
    		return ParseSecretKey(s)
    	}
    }
    
    // IsPresent reports whether a KMS configuration is present.
    // It returns an error if multiple KMS configurations are
    // present or if one configuration is incomplete.
    func IsPresent() (bool, error) {
    	// isPresent reports whether at least one of the
    	// given env. variables is present.
    	isPresent := func(vars ...string) bool {
    		for _, v := range vars {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/provider/Provider.java

        /**
         * Returns {@code true} if there is a value present, otherwise {@code false}.
         *
         * @return {@code true} if there is a value present, otherwise {@code false}
         */
        boolean isPresent();
    
        /**
         * Returns a {@link Provider} whose value is the value of this provider, if present, otherwise the
         * given default value.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 09:14:21 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) {
                    typeMetaData.setWildcard();
                } else {
                    wildcardType.getExtendedType().ifPresent(referenceType -> typeMetaData.setUpperBounds(extractTypeName(referenceType)));
                    wildcardType.getSuperType().ifPresent(referenceType -> typeMetaData.setLowerBounds(extractTypeName(referenceType)));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 21 13:27:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            expect:
            property.present
            property.get() == 13
    
            when:
            property.convention((Number) null)
            property.get()
    
            then:
            def e = thrown(MissingValueException)
            e.message == "Cannot query the value of ${displayName} because it has no value available."
    
            and:
            !property.present
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            ex.cause.message == "Failing constructor"
    
            and:
            provider.isPresent()
    
            and:
            container.withType(DefaultTask).named("task").isPresent()
    
            and:
            container.named("task").isPresent()
    
            when:
            container.findByName("task")
    
            then:
            def ex2 = thrown(GradleException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

     * </p>
     *     <ul>
     *         <li>{@link SingleElement} to represent a single element addition
     *         <li>{@link ElementFromProvider} to represent a single element added as a provider
     *         <li>{@link ElementsFromArray} to represent a single element added as an array</li>
     *         <li>{@link ElementsFromCollection} to represent a batch of elements added (or set wholesale) as an <code>Iterable</code>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteSource.java

            Optional<Long> sizeIfKnown = source.sizeIfKnown();
            if (!sizeIfKnown.isPresent()) {
              return Optional.absent();
            }
            result += sizeIfKnown.get();
            if (result < 0) {
              // Overflow (or one or more sources that returned a negative size, but all bets are off in
              // that case)
              // Can't represent anything higher, and realistically there probably isn't anything that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
Back to top