Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 359 for strvalue (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            if (config.getChildCount() > 0) {
                return true;
            }
    
            String strValue = config.getValue();
    
            if (strValue == null || strValue.isEmpty()) {
                return false;
            }
    
            if (isIgnoredProperty(strValue)) {
                return false;
            }
    
            // for declaration like @Parameter( property = "config.property" )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/PropertyReportRenderer.java

            String strValue;
            try {
                strValue = String.valueOf(value);
            } catch (Exception e) {
                String valueClass = value != null ? String.valueOf(value.getClass()) : "null";
                LOGGER.warn("Rendering of the property '{}' with value type '{}' failed with exception", name, valueClass, e);
                strValue = valueClass + " [Rendering failed]";
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 24 15:02:02 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/PropertyReportTask.java

                String strValue;
                try {
                    strValue = String.valueOf(value);
                } catch (Exception e) {
                    String valueClass = value != null ? String.valueOf(value.getClass()) : "null";
                    warnings.add(new PropertyWarning(name, valueClass, e));
                    strValue = valueClass + " [Rendering failed]";
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java

            super(pluginValidationManager);
        }
    
        @Override
        protected boolean isIgnoredProperty(String strValue) {
            if (!strValue.startsWith("${")) {
                return false;
            }
    
            String propertyName = strValue.replace("${", "").replace("}", "");
    
            if (IGNORED_PROPERTY_VALUES.contains(propertyName)) {
                return true;
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/labels.go

    	return ""
    }
    
    func getIntValueFromLabel(labels map[string]string, label string) (int, error) {
    	if strValue, found := labels[label]; found {
    		intValue, err := strconv.Atoi(strValue)
    		if err != nil {
    			// This really should not happen. Just set value to 0 to handle this abnormal case
    			return 0, err
    		}
    		return intValue, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        }
    
        public Object get(final String key) {
            return params.get(key);
        }
    
        public String getAsString(final String key) {
            if (params.get(key) instanceof final String strValue) {
                return strValue;
            }
            final Object value = params.get(key);
            if (value != null) {
                return value.toString();
            }
            return null;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributesToMapConverter.java

            ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
            for (Attribute<?> attribute : attributes.keySet()) {
                String strValue = getAttributeValueAsString(attributes, attribute);
                builder.put(attribute.getName(), strValue);
            }
            return builder.build();
        }
    
        private static String getAttributeValueAsString(AttributeContainer attributeContainer, Attribute<?> attribute) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/database/sql/fakedb_test.go

    		}
    		var val any
    		if strvalue, ok := s.colValue[n].(string); ok && strings.HasPrefix(strvalue, "?") {
    			if strvalue == "?" {
    				val = args[argPos].Value
    			} else {
    				// Assign value from argument placeholder name.
    				if v := valueFromPlaceholderName(args, strvalue[1:]); v != nil {
    					val = v
    				}
    			}
    			argPos++
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    		}
    
    		// There should be only one strValue in r.strValues, and can be converted to an integer.
    		if len(r.strValues) != 1 {
    			klog.V(10).Infof("Invalid values count %+v of requirement %#v, for 'Gt', 'Lt' operators, exactly one value is required", len(r.strValues), r)
    			return false
    		}
    
    		var rValue int64
    		for i := range r.strValues {
    			rValue, err = strconv.ParseInt(r.strValues[i], 10, 64)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/labels/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *Requirement) DeepCopyInto(out *Requirement) {
    	*out = *in
    	if in.strValues != nil {
    		in, out := &in.strValues, &out.strValues
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirement.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.2K bytes
    - Viewed (0)
Back to top