Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,800 for constant (0.04 sec)

  1. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict;
    
    import java.util.Base64;
    import java.util.Date;
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.Constants;
    
    import jakarta.annotation.Resource;
    
    /**
     * Abstract base class for creating dictionary files from file paths.
     * Dictionary creators are responsible for recognizing specific file patterns
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Base64;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.user.bsentity.BsUser;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001_02.py

        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/form/FormSchemeTest.java

            String content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
            assertEquals("abcdefg", formScheme.getTokenValue(tokenPattern, content));
    
            tokenPattern = "name=\"authenticity_token\" +value=\"[^\"]+\"";
            content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
            assertNull(formScheme.getTokenValue(tokenPattern, content));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

      }
    
      private inline fun <T> assertOnFileDescriptor(
        content: String? = null,
        fn: (FileDescriptor) -> T,
      ): T =
        assertOnPath(content) {
          FileInputStream(filePath.toFile()).use { fis ->
            fn(fis.fd)
          }
        }
    
      private inline fun <T> assertOnPath(
        content: String? = null,
        fn: (okio.Path) -> T,
      ): T {
        FileSystem.SYSTEM.write(filePath) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:29 UTC 2025
    - 3.8K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                copyBeanToBean(form, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
                entity.setJobLogging(isCheckboxEnabled(form.jobLogging) ? Constants.T : Constants.F);
                entity.setCrawler(isCheckboxEnabled(form.crawler) ? Constants.T : Constants.F);
                entity.setAvailable(isCheckboxEnabled(form.available) ? Constants.T : Constants.F);
                return entity;
            });
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

            excludedDocPaths = fessConfig.getCrawlerDocumentFileDefaultExcludeSearchPatterns();
            boost = 1.0f;
            numOfThread = Constants.DEFAULT_NUM_OF_THREAD_FOR_FS;
            intervalTime = Constants.DEFAULT_INTERVAL_TIME_FOR_FS;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/annotation/Secured.java

     * <p>
     * For example:
     *
     * <pre>
     * &#064;Secured({ &quot;ROLE_USER&quot; })
     * public void create(Contact contact);
     *
     * &#064;Secured({ &quot;ROLE_USER&quot;, &quot;ROLE_ADMIN&quot; })
     * public void update(Contact contact);
     *
     * &#064;Secured({ &quot;ROLE_ADMIN&quot; })
     * public void delete(Contact contact);
     * </pre>
     */
    @Target({ ElementType.METHOD, ElementType.TYPE })
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_starlette_exception.py

        assert response.status_code == 204
        assert not response.content
    
    
    def test_no_body_status_code_with_detail_exception_handlers():
        response = client.get("/http-no-body-statuscode-with-detail-exception")
        assert response.status_code == 204
        assert not response.content
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

     */
    package org.codelibs.fess.app.service;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.ProtwordsPager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.dict.protwords.ProtwordsFile;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top