Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for value1 (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java

        }
    
        /**
         * Puts multiple values for a given key in the metadata.
         *
         * @param key the metadata key
         * @param values the values to associate with the key
         */
        public void putValues(final String key, final String[] values) {
            metadata.put(key, values);
        }
    
        /**
         * Puts a single value for a given key in the metadata.
         *
         * @param key the metadata key
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    	}
    	return record, nil
    }
    
    // validPAXRecord reports whether the key-value pair is valid where each
    // record is formatted as:
    //
    //	"%d %s=%s\n" % (size, key, value)
    //
    // Keys and values should be UTF-8, but the number of bad writers out there
    // forces us to be a more liberal.
    // Thus, we only reject all keys with NUL, and only reject NULs in values
    // for the PAX version of the USTAR string fields.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. cmd/object-api-options.go

    		return
    	}
    	value, err = strconv.Atoi(stringInt)
    	if err != nil {
    		return 0, InvalidArgument{
    			Bucket: bucket,
    			Object: object,
    			Err:    fmt.Errorf("Unable to parse %s, value should be an integer", headerName),
    		}
    	}
    	return
    }
    
    func parseBoolHeader(bucket, object string, h http.Header, headerName string) (bool, error) {
    	value := strings.TrimSpace(h.Get(headerName))
    	if value != "" {
    		switch value {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/archive/tar/strconv_test.go

    		}
    	}
    }
    
    func TestParseNumeric(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want int64
    		ok   bool
    	}{
    		// Test base-256 (binary) encoded values.
    		{"", 0, true},
    		{"\x80", 0, true},
    		{"\x80\x00", 0, true},
    		{"\x80\x00\x00", 0, true},
    		{"\xbf", (1 << 6) - 1, true},
    		{"\xbf\xff", (1 << 14) - 1, true},
    		{"\xbf\xff\xff", (1 << 22) - 1, true},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            value = "ftp://123.123.123.123:9999/";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals(value, ftpInfo.toUrl());
            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                }
            } else if (clazz.isAssignableFrom(Float.class)) {
                if (!(value instanceof Float)) {
                    return (T) Float.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Boolean.class) && !(value instanceof Boolean)) {
                return (T) Boolean.valueOf(value.toString());
            }
            return (T) value;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        public void test_preprocessUri() {
            String value;
            String result;
    
            value = "file://test.txt";
            result = "file://test.txt";
            assertEquals(result, fsClient.preprocessUri(value));
    
            value = "file://test test.txt";
            result = "file://test%20test.txt";
            assertEquals(result, fsClient.preprocessUri(value));
    
            value = "file://ใƒ†ใ‚นใƒˆ.txt";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            } finally {
                server.stop();
            }
        }
    
        public void test_parseLastModified() {
            final String value = "Mon, 01 Jun 2009 21:02:45 GMT";
            final Date date = httpClient.parseLastModifiedDate(value);
            assertNotNull(date);
        }
    
        public void test_processRobotsTxt() {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(100, crawlerContext.getRobotsTxtUrlSet().size());
            assertNotNull(crawlerContext.removeSitemaps());
        }
    
        /**
         * Test boundary values
         */
        public void test_boundaryValues() {
            // Test with maximum values
            crawlerContext.setActiveThreadCount(Integer.MAX_VALUE);
            assertEquals(Integer.MAX_VALUE, crawlerContext.getActiveThreadCount().intValue());
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            // if multiple test tasks run in parallel. We also pass it to the Gradle build as a maximum (maxParallelForks)
            // for each test task, such that we are independent of whatever default value is defined in the build itself.
            "-Dorg.gradle.workers.max=$maxParallelForks",
            "-PmaxParallelForks=$maxParallelForks",
            PLUGINS_PORTAL_URL_OVERRIDE,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Sep 10 01:37:13 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top