Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for fromValue (0.12 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessEventType.java

         *
         * @param value the numeric value
         * @return the corresponding WitnessEventType
         * @throws IllegalArgumentException if value is not recognized
         */
        public static WitnessEventType fromValue(int value) {
            for (WitnessEventType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

            return value;
        }
    
        /**
         * Get HandleType from numeric value
         * @param value the numeric value
         * @return the corresponding HandleType
         */
        public static HandleType fromValue(int value) {
            for (HandleType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/ChatIntent.java

         * Parses a string value to ChatIntent enum.
         *
         * @param value the string value to parse
         * @return the corresponding ChatIntent, defaults to UNCLEAR if not found
         */
        public static ChatIntent fromValue(final String value) {
            if (value == null) {
                return UNCLEAR;
            }
            for (final ChatIntent intent : values()) {
                if (intent.value.equalsIgnoreCase(value.trim())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            assertEquals(HandleType.NONE, HandleType.fromValue(0));
            assertEquals(HandleType.DURABLE_V1, HandleType.fromValue(1));
            assertEquals(HandleType.DURABLE_V2, HandleType.fromValue(2));
            assertEquals(HandleType.PERSISTENT, HandleType.fromValue(3));
    
            assertThrows(IllegalArgumentException.class, () -> {
                HandleType.fromValue(99);
            });
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

            assertEquals(ChatIntent.SEARCH, ChatIntent.fromValue("search"));
            assertEquals(ChatIntent.SEARCH, ChatIntent.fromValue("SEARCH"));
            assertEquals(ChatIntent.SEARCH, ChatIntent.fromValue("Search"));
        }
    
        @Test
        public void test_fromValue_summary() {
            assertEquals(ChatIntent.SUMMARY, ChatIntent.fromValue("summary"));
            assertEquals(ChatIntent.SUMMARY, ChatIntent.fromValue("SUMMARY"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            WitnessNotificationResponse notification = new WitnessNotificationResponse();
    
            // Notification type
            int notificationType = buf.dec_ndr_long();
            notification.setNotificationType(WitnessEventType.fromValue(notificationType));
    
            // Length
            int length = buf.dec_ndr_long();
            notification.setLength(length);
    
            // Number of messages
            int numberOfMessages = buf.dec_ndr_long();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            try {
                final String intentStr = extractJsonString(response, "intent");
                final ChatIntent intent = ChatIntent.fromValue(intentStr);
                final String query = extractJsonString(response, "query");
                final String reasoning = extractJsonString(response, "reasoning");
    
                if (intent == ChatIntent.SEARCH) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  8. docs/iam/identity-manager-plugin.go

    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"databases"},
    		},
    	},
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	token := r.FormValue("token")
    	if token == "" {
    		writeErrorResponse(w, errors.New("token parameter not given"))
    		return
    	}
    
    	rsp, ok := tokens[token]
    	if !ok {
    		w.WriteHeader(http.StatusForbidden)
    		return
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    return;
                }
                params.put("onelogin.saml2." + key.substring(SAML_PREFIX.length()), e.getValue());
            });
            return new SettingsBuilder().fromValues(params).build();
        }
    
        @Override
        public LoginCredential getLoginCredential() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
  10. api/go1.txt

    pkg net/http, method (*Request) Cookies() []*Cookie
    pkg net/http, method (*Request) FormFile(string) (multipart.File, *multipart.FileHeader, error)
    pkg net/http, method (*Request) FormValue(string) string
    pkg net/http, method (*Request) MultipartReader() (*multipart.Reader, error)
    pkg net/http, method (*Request) ParseForm() error
    pkg net/http, method (*Request) ParseMultipartForm(int64) error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top