Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,300 for empty (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

            }
        }
    
        public void addExtractor(final List<String> keyList, final Extractor extractor) {
            if (keyList == null || keyList.isEmpty()) {
                throw new CrawlerSystemException("The key list is empty.");
            }
            for (final String key : keyList) {
                addExtractor(key, extractor);
            }
        }
    
        public Extractor getExtractor(final String key) {
            return extractorMap.get(key);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	if isDirEmpty(dir2, true) {
    		t.Error("expected false for a file, got true")
    	}
    
    	// Should give true for a real empty directory.
    	dir3 := slashpath.Join(tmp, "empty")
    	err = os.Mkdir(dir3, 0o777)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if !isDirEmpty(dir3, true) {
    		t.Error("expected true for empty dir, got false")
    	}
    }
    
    func TestXLStorageReadVersionLegacy(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

    @ElementTypesAreNonnullByDefault
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

        public CharSource asCharSource(Charset charset) {
          checkNotNull(charset);
          return CharSource.empty();
        }
    
        @Override
        public byte[] read() {
          return bytes; // length is 0, no need to clone
        }
    
        @Override
        public String toString() {
          return "ByteSource.empty()";
        }
      }
    
      private static final class ConcatenatedByteSource extends ByteSource {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. cmd/api-datatypes.go

    }
    
    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if t.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(t.Time.Format(time.RFC3339), startElement)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. internal/event/rulesmap.go

    	return rulesMap[eventName].Match(objectName)
    }
    
    // NewRulesMap - creates new rules map with given values.
    func NewRulesMap(eventNames []Name, pattern string, targetID TargetID) RulesMap {
    	// If pattern is empty, add '*' wildcard to match all.
    	if pattern == "" {
    		pattern = "*"
    	}
    
    	rulesMap := make(RulesMap)
    	rulesMap.add(eventNames, pattern, targetID)
    	return rulesMap
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
            if (result == null) {
                return "";
            } else if (result.getEffectiveModel() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                if (dictFile.getId().equals(id)) {
                    return OptionalEntity.of(dictFile);
                }
            }
            return OptionalEntity.empty();
        }
    
        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         */
        @Nonnull
        InputStream openStream() throws IOException;
    
        /**
         * Provides a user-friendly hint about the location of the source.
         * This could be a local file path, a URI or just an empty string.
         * The intention is to assist users during error reporting.
         *
         * @return a user-friendly hint about the location of the source, never {@code null}
         */
        @Nonnull
        String getLocation();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. internal/config/config_test.go

    			expectedFields: map[string]struct{}{
    				`connection_string="host=localhost port=2832"`: {},
    				`comment="really long comment"`:                {},
    			},
    		},
    		// Incorrect delimiter, expected fields should be empty.
    		{
    			input:          `comment:"really long comment" connection_string:"host=localhost port=2832"`,
    			keys:           []string{"connection_string", "comment"},
    			expectedFields: map[string]struct{}{},
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 18 22:55:17 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top