Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 867 for VALID (0.12 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

         */
        protected void processRobotsTxt(final String url) {
            if (StringUtil.isBlank(url)) {
                throw new CrawlerSystemException("HTTP URL is null or empty. Cannot process robots.txt without a valid URL.");
            }
    
            if (robotsTxtHelper == null || !robotsTxtHelper.isEnabled()) {
                // not support robots.txt
                return;
            }
    
            // crawler context
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  2. src/archive/tar/strconv.go

    	if len(record) != size {
    		size = len(record)
    		record = strconv.Itoa(size) + " " + k + "=" + v + "\n"
    	}
    	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 more liberal.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext = new QueryContext("test", false);
            queryContext.addHighlightedQuery("text");
            // Should not throw exception
        }
    
        // Test addHighlightedQuery with valid set
        @Test
        public void test_addHighlightedQuery_validSet() {
            queryContext = new QueryContext("test", true);
            queryContext.addHighlightedQuery("text1");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          assertParseFails(Integer.toString(-128, radix), radix);
          assertParseFails(Integer.toString(256, radix), radix);
        }
      }
    
      public void testParseUnsignedByteThrowsExceptionForInvalidRadix() {
        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        assertThrows(
            NumberFormatException.class,
            () -> UnsignedBytes.parseUnsignedByte("0", Character.MIN_RADIX - 1));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

            } catch (final InterruptedException ie) {
                state = 0;
                thread = null;
                throw new TransportException(ie);
            } finally {
                /* This guarantees that we leave in a valid state
                 */
                if (state != 0 && state != 3 && state != 4) {
                    if (LogStream.level >= 1) {
                        log.println("Invalid state: " + state);
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            // Test argument parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNotNull(options);
        }
    
        // Test main method with valid arguments
        @Test
        public void test_main_validArguments() {
            // Cannot directly test main as it calls System.exit
            // Test options parsing instead
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      @VisibleForTesting
      static GetCheckedTypeValidator weakSetValidator() {
        return GetCheckedTypeValidatorHolder.WeakSetValidator.INSTANCE;
      }
    
      /**
       * Provides a check of whether an exception type is valid for use with {@link
       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. cmd/bootstrap-peer-server.go

    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    					logger.Info(fmt.Sprintf("Following servers are currently offline or unreachable %s", offlineEndpoints))
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 01 22:13:18 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  9. cmd/os-readdir_test.go

    	}
    	defer os.RemoveAll(file)
    
    	// Check if file is given.
    	if _, err := readDir(path.Join(file, "mydir")); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    	// Only valid for linux.
    	if runtime.GOOS == "linux" {
    		permDir := path.Join(os.TempDir(), "perm-dir")
    		if err := os.MkdirAll(permDir, os.FileMode(0o200)); err != nil {
    			t.Fatal(err)
    		}
    		defer os.RemoveAll(permDir)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/path-params.md

    ```JSON
    {
      "detail": [
        {
          "type": "int_parsing",
          "loc": [
            "path",
            "item_id"
          ],
          "msg": "Input should be a valid integer, unable to parse string as an integer",
          "input": "foo"
        }
      ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值(`"foo"`)的类型不是 `int`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top