Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 899 for exist (0.03 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

         * @param url The URL to check.
         * @return true if the URL exists in the queue, false otherwise.
         */
        @Override
        protected boolean exists(final String sessionId, final String url) {
            final boolean ret = super.exists(sessionId, url);
            if (!ret) {
                final QueueHolder queueHolder = getQueueHolder(sessionId);
                final Queue<OpenSearchUrlQueue> waitingQueue = queueHolder.waitingQueue;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                assertEquals(expectedValue, result);
            }
        }
    
        // Test with non-existent config
        public void test_initialize_invalidConfigFile() {
            // Test getting a property that doesn't exist
            FessConfigImpl invalidConfig = new FessConfigImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String get(String propertyKey) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. tests/lru_test.go

    	lc.Add("key1", nil)
    
    	value, exists := lc.Get("key1")
    	if value != nil || !exists {
    		t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists)
    	}
    
    	// Adding an entry with the same key but different value
    	newVal := "val1"
    	lc.Add("key1", &newVal)
    
    	value, exists = lc.Get("key1")
    	if value != &newVal || !exists {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableMap.java

    import java.util.function.BiConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableMap} used for 0 entries and for 2+ entries. Additional
     * implementations exist for particular cases, like {@link ImmutableTable} views and hash flooding.
     * (This doc discusses {@link ImmutableMap} subclasses only for the JRE flavor; the Android flavor
     * differs.)
     *
     * @author Jesse Wilson
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    if (pomFile.canRead()) {
                        return length != pomFile.length() || timestamp != pomFile.lastModified();
                    } else {
                        // if the POM didn't exist, retry if any repo is configured to always update
                        boolean snapshot = pomArtifact.isSnapshot();
                        for (ArtifactRepository repository : remoteRepositories) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * If the given language is {@code null}, then this method returns the enabled sources for all languages.
         * An arbitrary number of source roots may exist for the same scope and language.
         * It may be, for example, the case of a multi-versions project.
         * The iteration order is the order in which the sources are declared in the POM file.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            final ProtocolHelper protocolHelper = new ProtocolHelper();
    
            // Should not throw exception with invalid package
            protocolHelper.loadProtocols("org.invalid.package.does.not.exist");
    
            // Should have empty arrays initially
            assertEquals(0, protocolHelper.getWebProtocols().length);
            assertEquals(0, protocolHelper.getFileProtocols().length);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

     * <li>{@link #deleteFromArray(String, String, String)}: Deletes a specific entry from the array index based on the ID.</li>
     * <li>{@link #createMappingIfEmpty(String, String, Client)}: Creates the index mapping if it does not exist.</li>
     * <li>{@link #loadIndexSettings()}: Loads the index settings from a JSON file.</li>
     * </ul>
     *
     * <p>Fields:
     * <ul>
     * <li>{@link #logger}: Logger instance for logging debug information.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. cmd/os_unix.go

    	}
    
    	return consumed, nameBuf[:nameLen], typ, nil
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, fn func(name string, typ os.FileMode) error) error {
    	fd, err := openFileWithFD(dirPath, readMode, 0o666)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. cmd/server_test.go

    	response, err = s.client.Get(getGetObjectURL(s.endPoint, bucketName, objectName+".1"))
    	c.Assert(err, nil)
    	// assert the http response status code.
    	verifyError(c, response, "AccessDenied", "Access Denied.", http.StatusForbidden)
    
    	// initiate anonymous HTTP request to fetch the object which does exist. We need to return AccessDenied.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top