Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for conditional (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertTrue(testRule.match(responseData)); // Always matches when set to true
    
            // Both should inherit same property behavior
            conditionalRule.setRuleId("conditional");
            testRule.setRuleId("test");
    
            assertEquals("conditional", conditionalRule.getRuleId());
            assertEquals("test", testRule.getRuleId());
        }
    
        /**
         * Test protected field access
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertTrue(CrawlerStatus.INITIALIZING.ordinal() < CrawlerStatus.RUNNING.ordinal());
            assertTrue(CrawlerStatus.RUNNING.ordinal() < CrawlerStatus.DONE.ordinal());
        }
    
        /**
         * Test usage in conditional statements
         */
        public void test_conditionalStatements() {
            CrawlerStatus status = CrawlerStatus.RUNNING;
    
            // Test with if-else
            if (status == CrawlerStatus.INITIALIZING) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                return ruleId;
            }
    
            @Override
            public ResponseProcessor getResponseProcessor() {
                return responseProcessor;
            }
        }
    
        /**
         * Conditional test rule that matches based on URL pattern
         */
        public static class UrlPatternRule implements Rule {
            private static final long serialVersionUID = 1L;
            private final String ruleId;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    		}
    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return nil, err
    		}
    
    		// if object doesn't exist and not a replication request return error for If-Match conditional requests
    		// If-None-Match should be allowed to proceed for non-existent objects
    		if err != nil && !opts.ReplicationRequest && opts.HasIfMatch && (isErrObjectNotFound(err) || isErrVersionNotFound(err)) {
    			return nil, err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return objInfo, err
    		}
    
    		// if object doesn't exist and not a replication request return error for If-Match conditional requests
    		// If-None-Match should be allowed to proceed for non-existent objects
    		if err != nil && !opts.ReplicationRequest && opts.HasIfMatch && (isErrObjectNotFound(err) || isErrVersionNotFound(err)) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    * Allow disabling docs UIs by just disabling OpenAPI with `openapi_url=None`. New example in docs: [Advanced: Conditional OpenAPI](https://fastapi.tiangolo.com/advanced/conditional-openapi/). PR [#1421](https://github.com/tiangolo/fastapi/pull/1421).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	} else {
    		api.headObjectHandler(ctx, objectAPI, bucket, object, w, r)
    	}
    }
    
    // Extract metadata relevant for an CopyObject operation based on conditional
    // header values specified in X-Amz-Metadata-Directive.
    func getCpObjMetadataFromHeader(ctx context.Context, r *http.Request, userMeta map[string]string) (map[string]string, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            responseData.setUrl("http://example.com");
            responseData.setMimeType("image/png");
    
            // Should not match with conditions
            assertFalse(rule.match(responseData));
    
            // Clear conditions
            rule.clearConditions();
    
            // Should match after clearing conditions
            assertTrue(rule.match(responseData));
        }
    
        /**
         * Test rule matching with various ResponseData states
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.filter;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. dbflute.xml

    	<property name="mydbflute.url" value="https://github.com/lastaflute/lastaflute-example-waterfront/archive/${branch.name}.zip" />
    
    	<target name="mydbflute.check">
    		<condition property="mydbflute.exists">
    			<available file="${mydbflute.dir}" type="dir" />
    		</condition>
    	</target>
    
    	<target name="download.dbflute" depends="mydbflute.check" unless="mydbflute.exists">
    		<mkdir dir="${mydbflute.dir}" />
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:20:20 UTC 2025
    - 999 bytes
    - Viewed (0)
Back to top