Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,635 for constant (0.05 seconds)

  1. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val s = "hello zstd world".encodeUtf8().zstdCompress()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "zstd")
          }
    
        val decompressed = zstdInterceptor.decompress(response)
        assertThat(decompressed.header("Content-Encoding")).isNull()
    
        val responseString = decompressed.body.string()
        assertThat(responseString).isEqualTo("hello zstd world")
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 4.8K bytes
    - Click Count (1)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

         *
         * @param content The String representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
         */
        public StringSource(CharSequence content, String location) {
            this.content = (content != null) ? content.toString() : "";
            this.location = (location != null) ? location : "(memory)";
            this.hashCode = this.content.hashCode();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/StandardSystemProperty.java

       *   <li>Unusual environments like GWT may have their own special handling of system properties.
       * </ul>
       *
       * <p>Note that {@code StandardSystemProperty} does not provide constants for more recently added
       * properties, including:
       *
       * <ul>
       *   <li>{@code java.vendor.version} (added in Java 11, listed as optional as of Java 13)
       *   <li>{@code jdk.module.*} (added in Java 9, optional)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

    package org.codelibs.fess.suggest.entity;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.codelibs.fess.suggest.constants.SuggestConstants;
    
    /**
     * Utility class for merging SuggestItem objects.
     * Centralizes merge logic to reduce complexity in SuggestItem.
     *
     * <p>This class provides methods for merging two SuggestItem instances,
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    
    import org.codelibs.fess.suggest.Suggester;
    import org.codelibs.fess.suggest.constants.SuggestConstants;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.junit.AfterClass;
    import org.junit.Before;
    import org.junit.BeforeClass;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsRelatedContentCQ.java

            return this;
        }
    
        public void setContent_Equal(String content) {
            setContent_Term(content, null);
        }
    
        public void setContent_Equal(String content, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setContent_Term(content, opLambda);
        }
    
        public void setContent_Term(String content) {
            setContent_Term(content, null);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 63.8K bytes
    - Click Count (1)
  7. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/plain")
            .build(),
        )
        newEventSource()
        listener.assertFailure("Invalid content-type: text/plain")
      }
    
      @Test
      fun badResponseCode() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertTrue(content.contains("<html lang=\"ja\">"));
        }
    
        @Test
        public void test_exportDocument_createsDirectories() {
            final Map<String, Object> source = new LinkedHashMap<>();
            source.put("url", "https://example.com/a/b/c/deep.html");
            source.put("title", "Deep");
            source.put("content", "Content");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/validation/CronExpression.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    /**
     * Validation constraint to ensure that a string is a valid cron expression.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    public @interface CronExpression {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/RoleTypeService.java

            roleTypeBhv.insertOrUpdate(roleType, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Deletes a role type.
         * @param roleType The role type to delete.
         */
        public void delete(final RoleType roleType) {
    
            roleTypeBhv.delete(roleType, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top