Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Directive (1.31 sec)

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

         */
        public int getCrawlDelay(final String userAgent) {
            final Directive directive = getMatchedDirective(userAgent);
            if (directive == null) {
                return 0;
            }
            return directive.getCrawlDelay();
        }
    
        /**
         * Returns the most specific directive matching the given user agent.
         * The method finds the longest matching user agent pattern in the directives,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            Directive directive = new Directive("MyBot");
    
            assertNotNull(directive);
            assertEquals("MyBot", directive.getUserAgent());
            assertEquals(0, directive.getCrawlDelay());
        }
    
        public void test_directiveCrawlDelay() {
            // Test Directive crawl delay
            Directive directive = new Directive("MyBot");
    
            directive.setCrawlDelay(10);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                                for (final Directive directive : currentDirectiveList) {
                                    directive.addAllow(value);
                                }
                            }
                            continue;
                        }
    
                        // Try to parse as Crawl-delay directive
                        value = getValue(CRAWL_DELAY_RECORD, line);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. api/go1.26.txt

    pkg go/ast, func ParseDirective(token.Pos, string) (Directive, bool) #68021
    pkg go/ast, method (*Directive) End() token.Pos #68021
    pkg go/ast, method (*Directive) ParseArgs() ([]DirectiveArg, error) #68021
    pkg go/ast, method (*Directive) Pos() token.Pos #68021
    pkg go/ast, type BasicLit struct, ValueEnd token.Pos #76031
    pkg go/ast, type Directive struct #68021
    pkg go/ast, type Directive struct, Args string #68021
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 19:57:52 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      @get:JvmName("maxAgeSeconds") val maxAgeSeconds: Int,
      /**
       * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age"
       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. doc/asm.html

    </p>
    
    <p>
    Global data symbols are defined by a sequence of initializing
    <code>DATA</code> directives followed by a <code>GLOBL</code> directive.
    Each <code>DATA</code> directive initializes a section of the
    corresponding memory.
    The memory not explicitly initialized is zeroed.
    The general form of the <code>DATA</code> directive is
    
    <pre>
    DATA	symbol+offset(SB)/width, value
    </pre>
    
    <p>
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:09:46 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/input.go

    func (in *Input) enabled() bool {
    	return len(in.ifdefStack) == 0 || in.ifdefStack[len(in.ifdefStack)-1]
    }
    
    func (in *Input) expectNewline(directive string) {
    	tok := in.Stack.Next()
    	if tok != '\n' {
    		in.expectText("expected newline after", directive)
    	}
    }
    
    func (in *Input) Next() ScanToken {
    	if in.peek {
    		in.peek = false
    		tok := in.peekToken
    		in.text = in.peekText
    		return tok
    	}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 12 03:59:40 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    }
    
    // isDirectiveValid - check if tagging-directive is valid.
    func isDirectiveValid(v string) bool {
    	// Check if set metadata-directive is valid.
    	return isDirectiveCopy(v) || isDirectiveReplace(v)
    }
    
    // Check if the directive COPY is requested.
    func isDirectiveCopy(value string) bool {
    	// By default if directive is not set we
    	// treat it as 'COPY' this function returns true.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  9. api/go1.21.txt

    pkg go/build, type Directive struct #56986
    pkg go/build, type Directive struct, Pos token.Position #56986
    pkg go/build, type Directive struct, Text string #56986
    pkg go/build, type Package struct, Directives []Directive #56986
    pkg go/build, type Package struct, TestDirectives []Directive #56986
    pkg go/build, type Package struct, XTestDirectives []Directive #56986
    pkg go/token, method (*File) Lines() []int #57708
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/LmhostsTest.java

        }
    
        @Test
        void testPopulateWithInclude() throws Exception {
            // Test that include directives are processed (even if the include fails)
            // The main file content should still be loaded
    
            // Create a temporary lmhosts file with include directive
            File lmhostsFile = tempDir.resolve("lmhosts_include").toFile();
    
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top