Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,206 for fields (0.05 sec)

  1. utils/utils_test.go

    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestIsValidDBNameChar(t *testing.T) {
    	for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} {
    		if fields := strings.FieldsFunc(db, IsValidDBNameChar); len(fields) != 1 {
    			t.Fatalf("failed to parse db name %v", db)
    		}
    	}
    }
    
    func TestCheckTruth(t *testing.T) {
    	checkTruthTests := []struct {
    		v   string
    		out bool
    	}{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. mockwebserver-junit5/README.md

    This module integrates mockwebserver3.MockWebServer with JUnit 5.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.1.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 665 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            errorResponse.message(testMessage);
            errorResponse.status(Status.BAD_REQUEST);
            ApiResult result = errorResponse.result();
    
            assertNotNull(result);
            // Cannot directly access protected fields, just verify the result is not null
        }
    
        // Test configuration for JSON response
        public void test_configurationSettings() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Test adding single condition
            generator.addCondition("field1", "value1");
    
            // Test adding multiple conditions for same field
            generator.addCondition("field1", "value2");
    
            // Test adding conditions for different fields
            generator.addCondition("field2", "pattern.*");
    
            // Verify conditions can be added without errors
            assertNotNull(generator);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         * @return the request trace, or {@code null} if no trace information is available
         */
        @Nullable
        RequestTrace getTrace();
    
        /**
         * Returns a hashcode value for this request, based on all significant fields.
         * Implementations must ensure that if two requests are equal according to
         * {@link #equals(Object)}, they have the same hashcode.
         *
         * @return a hash code value for this request
         */
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. docs/distributed/CONFIG.md

          - "https://server4-pool1:9000/mnt/disk{1...4}/"
        set-drive-count: 4 # Advanced option, must be used under guidance from MinIO team.
    ```
    
    ### Things to know
    
    - Fields such as `version` and `pools` are mandatory, however all other fields are optional.
    - Each pool expects a minimum of 2 nodes per pool, and unique non-repeating hosts for each argument.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 25 02:30:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/DeleteForm.java

        }
    
        /**
         * The search query used to find the document.
         * Optional field with maximum length of 1000 characters.
         */
        @Size(max = 1000)
        public String q;
    
        /**
         * The document ID of the document to delete.
         * Required field for identifying the specific document.
         */
        @Required
        public String docId;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/QueryContext.java

        }
    
        /**
         * Adds a field and text pair to the field log for tracking query terms.
         * @param field The field name.
         * @param text The query text for this field.
         */
        public void addFieldLog(final String field, final String text) {
            if (fieldLogMap == null) {
                return;
            }
    
            List<String> list = fieldLogMap.get(field);
            if (list == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/archive/tar/strconv.go

    		return
    	}
    
    	f.formatOctal(b, 0) // Last resort, just write zero
    	f.err = ErrFieldTooLong
    }
    
    func (p *parser) parseOctal(b []byte) int64 {
    	// Because unused fields are filled with NULs, we need
    	// to skip leading NULs. Fields may also be padded with
    	// spaces or NULs.
    	// So we remove leading and trailing NULs and spaces to
    	// be sure.
    	b = bytes.Trim(b, " \x00")
    
    	if len(b) == 0 {
    		return 0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

            assertNotNull(result);
    
        }
    
        // Test with various field names
        public void test_convertFuzzyQuery_withVariousFields() {
            QueryContext context = new QueryContext("test", false);
            String[] fields = { "title", "content", "url", "site", "host", "mimetype" };
    
            for (String field : fields) {
                Term term = new Term(field, "fuzzy");
                FuzzyQuery fuzzyQuery = new FuzzyQuery(term);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top