Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for fromValues (0.06 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/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)
  3. 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)
  4. 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)
Back to Top