Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 823 for existing (0.45 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/StorageTests.java

                    "Status code should be 200, 400 or 500, but was " + statusCode);
        }
    
        @Test
        void testDownload_notFound() {
            // Try to download a non-existent file
            Response response =
                    given().header("Authorization", getTestToken()).when().get(getApiPath() + "/download/nonexistent_file_12345.txt");
    
            int statusCode = response.getStatusCode();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * Form class for editing job log entries in the admin interface.
     * This form handles the editing of system job execution logs,
     * providing details about scheduled tasks and their execution status.
     */
    public class EditForm {
    
        /**
         * Creates a new EditForm instance.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. .github/workflows/multipart/migrate.sh

    		echo "Outputs are consistent."
    		break
    	fi
    
    	remaining_attempts=$((max_wait_attempts - attempt))
    	if ((attempt >= max_wait_attempts)); then
    		echo "Outputs remain inconsistent after $max_wait_attempts attempts. Exiting with error."
    		exit 1
    	else
    		echo "Outputs are inconsistent. Waiting for $wait_interval seconds (attempt $attempt/$max_wait_attempts)."
    		sleep $wait_interval
    	fi
    
    	((attempt++))
    done
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

            // Check if we can use cached directory listing
            if (dirManager.canCacheDirectoryListing(directoryPath)) {
                List<SmbFile> cachedFiles = dirManager.getCachedDirectoryListing(directoryPath);
                if (cachedFiles != null) {
                    log.debug("Using cached directory listing for: {}", directoryPath);
                    return cachedFiles.toArray(new SmbFile[0]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/additional-status-codes.md

    Por ejemplo, supongamos que quieres tener una *path operation* que permita actualizar elementos, y devuelva códigos de estado HTTP de 200 "OK" cuando sea exitoso.
    
    Pero también quieres que acepte nuevos elementos. Y cuando los elementos no existían antes, los crea y devuelve un código de estado HTTP de 201 "Created".
    
    Para lograr eso, importa `JSONResponse`, y devuelve tu contenido allí directamente, configurando el `status_code` que deseas:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
        @Test
        public void testKeyAgeNonExistent() {
            assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age");
        }
    
        @Test
        public void testConfigureKeyRotation() {
            // Test that configuration doesn't throw
            keyManager.configureKeyRotation(60000);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. tests/test_security_oauth2_authorization_code_bearer.py

        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Non-existent testtoken"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_token():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                }
            }
        }
    
        @Test
        public void test_init_withNonExistentSSLCertificate() {
            setupMockConfig("localhost:9200", "", "", "/non/existent/cert.crt");
    
            curlHelper.init();
    
            // Should handle non-existent certificate gracefully
            SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
            assertNull(sslSocketFactory);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. buildscripts/disable-root.sh

    ./mc ready minioadm
    
    ./mc ls minioadm/
    
    ./mc admin config set minioadm/ api root_access=off
    
    sleep 3s # let things settle a little
    
    ./mc ls minioadm/
    if [ $? -eq 0 ]; then
    	echo "listing succeeded, 'minioadmin' was not disabled"
    	exit 1
    fi
    
    set -e
    
    killall -9 minio
    
    export MINIO_API_ROOT_ACCESS=on
    for ((i = 0; i < $((nr_servers)); i++)); do
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 22 23:07:14 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing failure URL records in the admin interface.
     * This form handles the editing of URLs that failed during crawling operations,
     * providing details about the failure for debugging and troubleshooting purposes.
     */
    public class EditForm {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top