Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 320 for tokens (0.07 seconds)

  1. src/main/java/org/codelibs/fess/llm/LlmChatResponse.java

            this.finishReason = finishReason;
        }
    
        /**
         * Gets the number of prompt tokens.
         *
         * @return the prompt tokens count
         */
        public Integer getPromptTokens() {
            return promptTokens;
        }
    
        /**
         * Sets the number of prompt tokens.
         *
         * @param promptTokens the prompt tokens count
         */
        public void setPromptTokens(final Integer promptTokens) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/lex/input.go

    	var tokens []Token
    	for _, tok := range macro.tokens {
    		if tok.ScanToken != scanner.Ident {
    			tokens = append(tokens, tok)
    			continue
    		}
    		substitution := actuals[tok.text]
    		if substitution == nil {
    			tokens = append(tokens, tok)
    			continue
    		}
    		tokens = append(tokens, substitution...)
    	}
    	in.Push(NewSlice(in.Base(), in.Line(), tokens))
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/oauth2-jwt.md

    Update `get_current_user` to receive the same token as before, but this time, using JWT tokens.
    
    Decode the received token, verify it, and return the current user.
    
    If the token is invalid, return an HTTP error right away.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Update the `/token` *path operation* { #update-the-token-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            if (langs == null || langs.length == 0) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, "", null);
                return tokens == null || tokens.size() == 0;
            }
            for (final String lang : langs) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, field, lang);
                if (tokens != null && tokens.size() > 0) {
                    return false;
                }
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## Return the token { #return-the-token }
    
    The response of the `token` endpoint must be a JSON object.
    
    It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`".
    
    And it should have an `access_token`, with a string containing our access token.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

                <property name="option" value="statement"/>
                <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT"/>
            </module>
            <module name="EmptyBlock">
                <property name="option" value="text"/>
                <property name="tokens" value="LITERAL_CATCH"/>
            </module>
            <module name="AvoidNestedBlocks">
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            String text = "これはテストです。検索エンジン。";
    
            List<AnalyzeToken> tokens = defaultContentsParser.analyzeText(analyzer, "content", text, null);
    
            assertNotNull(tokens);
            assertTrue(tokens.size() > 0);
        }
    
        @Test
        public void test_analyzeTextByReading() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## 回傳 token { #return-the-token }
    
    `token` 端點的回應必須是 JSON 物件。
    
    它應該有一個 `token_type`。在本例中,我們使用「Bearer」tokenstoken 類型應該是「`bearer`」。
    
    而且它還應該有一個 `access_token`,其值為包含我們存取權杖的字串。
    
    在這個簡單示例中,我們會不安全地直接回傳相同的 `username` 當作 token。
    
    /// tip
    
    下一章你會看到真正安全的實作,包含密碼雜湊與 <abbr title="JSON Web Tokens - JSON 網頁權杖">JWT</abbr> tokens。
    
    但現在先把注意力放在我們需要的這些細節上。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

            return this;
        }
    
        /**
         * Gets the maximum tokens for the response.
         *
         * @return the maximum tokens
         */
        public Integer getMaxTokens() {
            return maxTokens;
        }
    
        /**
         * Sets the maximum tokens for the response.
         *
         * @param maxTokens the maximum tokens
         * @return this request for method chaining
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

        @PathSensitive(PathSensitivity.NONE)
        public abstract RegularFileProperty getBaseCssFile();
    
        /**
         * Key-value pairs that are replaced in the generated HTML.
         *
         * This uses Ant style replacement tokens.
         */
        @Input
        public abstract MapProperty<String, String> getReplacementTokens();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void transform() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:08:23 GMT 2026
    - 3.8K bytes
    - Click Count (0)
Back to Top