Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Value (0.18 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

            val constantValue = when {
                value == null -> KtConstantValue.KtNullConstantValue(expression)
                type == null -> KtConstantValueFactory.createConstantValue(value, psi as? KtElement)
                type.isBoolean -> KtConstantValue.KtBooleanConstantValue(value as Boolean, expression)
                type.isChar -> KtConstantValue.KtCharConstantValue((value as? Char) ?: (value as Number).toInt().toChar(), expression)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * acquire other locks, risking deadlocks.
       *
       * @param value the value to be used as the result
       * @return true if the attempt was accepted, completing the {@code Future}
       */
      @CanIgnoreReturnValue
      protected boolean set(@ParametricNullness V value) {
        Object valueToSet = value == null ? NULL : value;
        if (ATOMIC_HELPER.casValue(this, null, valueToSet)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            is CharValue -> KtConstantValue.KtCharConstantValue(value, sourcePsi = null)
            is IntValue -> KtConstantValue.KtIntConstantValue(value, sourcePsi = null)
            is LongValue -> KtConstantValue.KtLongConstantValue(value, sourcePsi = null)
            is ShortValue -> KtConstantValue.KtShortConstantValue(value, sourcePsi = null)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

        }
    
        private fun renderConstantValueDebug(value: KtAnnotationValue, printer: PrettyPrinter) {
            when (value) {
                is KtAnnotationApplicationValue -> {
                    renderAnnotationDebug(value.annotationValue.classId, value.annotationValue.arguments, printer)
                }
    
                is KtArrayAnnotationValue -> {
                    printer.printCollection(value.values, separator = ", ", prefix = "[", postfix = "]") {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. manifests/charts/base/crds/crd-all.gen.yaml

                              type: string
                            value:
                              description: Value for the environment variable.
                              maxLength: 2048
                              type: string
                            valueFrom:
                              description: |-
                                Source for the environment variable's value.
    
                                Valid Options: INLINE, HOST
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    					secret.Identity, "Cert Chain", secret.State, certNotExpired(ca), n, valueOrNA(ca.ExpirationTime), valueOrNA(ca.ValidFrom))
    			}
    		}
    	}
    	return w.Flush()
    }
    
    func valueOrNA(value string) string {
    	if value == "" {
    		return "NA"
    	}
    	return value
    }
    
    func certNotExpired(cert *Cert) bool {
    	// case where cert state is in either Initializing or Unavailable state
    	if cert.ExpirationTime == "" && cert.ValidFrom == "" {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                public String getSourceCompatibility() {
                                    return "";
                                }
                                public void setSourceCompatibility(String value) {
                                }
                            }
                        """
                    )
                },
                v2 = {
                    withFile(
                        "java/com/example/Task.java",
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  8. cmd/object-api-options.go

    	value := strings.TrimSpace(h.Get(headerName))
    	if value != "" {
    		switch value {
    		case "true":
    			return true, nil
    		case "false":
    		default:
    			return false, InvalidArgument{
    				Bucket: bucket,
    				Object: object,
    				Err:    fmt.Errorf("Unable to parse %s, value should be either 'true' or 'false'", headerName),
    			}
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

       * Object[])} comparator when comparing a value outside the set of values it can compare.
       * Extending {@link ClassCastException} may seem odd, but it is required.
       */
      @VisibleForTesting
      static class IncomparableValueException extends ClassCastException {
        final Object value;
    
        IncomparableValueException(Object value) {
          super("Cannot compare value: " + value);
          this.value = value;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * A transformation of the value of a key-value pair, using both key and value as inputs. To apply
       * the transformation to a map, use {@link Maps#transformEntries(Map, EntryTransformer)}.
       *
       * @param <K> the key type of the input and output entries
       * @param <V1> the value type of the input entry
       * @param <V2> the value type of the output entry
       * @since 7.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
Back to top