Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for defaultValues (0.46 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public File getFile() {
            return artifact.getFile();
        }
    
        @Override
        public String getProperty(String key, String defaultValue) {
            return artifact.getProperty(key, defaultValue);
        }
    
        @Override
        public Map<String, String> getProperties() {
            return artifact.getProperties();
        }
    
        public String getMessage() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         * @param clazz the class type to convert the value to
         * @param defaultValue the default value to return if the key is not found or conversion fails
         * @return the converted value or the default value if not found
         */
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) {
            final T value = getValue(doc, key, clazz);
            if (value == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Absent.java

        return false;
      }
    
      @Override
      public T get() {
        throw new IllegalStateException("Optional.get() cannot be called on an absent value");
      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

            override val currentFile: File,
    
            override val currentSourceRoot: File
    
        ) : ApiSourceFile()
    }
    
    
    internal
    data class JavaSourceQuery<T : Any?>(
        val defaultValue: T,
        val visitor: GenericVisitor<T, Unit?>
    )
    
    
    internal
    class SourcesRepository(
    
        private
        val sourceRoots: List<File>,
    
        private
        val compilationClasspath: List<File>
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Apr 28 14:56:52 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            // v1 == 0.
            .optional(defaultValue = 0),
          Adapters.INTEGER_AS_BIG_INTEGER,
          algorithmIdentifier,
          name,
          validity,
          name,
          subjectPublicKeyInfo,
          Adapters.BIT_STRING.withTag(tag = 1L).optional(),
          Adapters.BIT_STRING.withTag(tag = 2L).optional(),
          extension.asSequenceOf().withExplicitBox(tag = 3).optional(defaultValue = listOf()),
          decompose = {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

         * @param key The key of the parameter.
         * @param defaultValue The default value if the parameter is not found.
         * @param clazz The class type to convert the parameter to.
         * @return The parameter value, or the default value if not found.
         */
        protected <T> T getInitParameter(final String key, final T defaultValue, final Class<T> clazz) {
            if (initParamMap != null) {
                try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
  7. migrator/migrator.go

    				if !strings.EqualFold(strings.TrimSuffix(dv, "()"), strings.TrimSuffix(field.DefaultValue, "()")) {
    					alterColumn = true
    				}
    			case schema.Bool:
    				v1, _ := strconv.ParseBool(dv)
    				v2, _ := strconv.ParseBool(field.DefaultValue)
    				alterColumn = v1 != v2
    			case schema.String:
    				if dv != field.DefaultValue && dv != strings.Trim(field.DefaultValue, "'\"") {
    					alterColumn = true
    				}
    			default:
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:31:09 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                    String defaultValue = ce.getAttribute("default-value", null);
                    if (value != null || defaultValue != null) {
                        XmlNode e = XmlNode.newInstance(
                                ce.getName(),
                                value,
                                defaultValue != null ? Collections.singletonMap("default-value", defaultValue) : null,
                                null,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Present.java

      }
    
      @Override
      public boolean isPresent() {
        return true;
      }
    
      @Override
      public T get() {
        return reference;
      }
    
      @Override
      public T or(T defaultValue) {
        checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
        return reference;
      }
    
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        checkNotNull(secondChoice);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    	columnType, err := findColumnType(tableName, "content")
    	AssertEqual(t, err, nil)
    
    	defVal, ok := columnType.DefaultValue()
    	AssertEqual(t, defVal, "null")
    	AssertEqual(t, ok, true)
    
    	columnType2, err := findColumnType(tableName, "active")
    	AssertEqual(t, err, nil)
    
    	defVal, ok = columnType2.DefaultValue()
    	bv, _ := strconv.ParseBool(defVal)
    	AssertEqual(t, bv, false)
    	AssertEqual(t, ok, true)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
Back to top