Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for fromValues (0.05 seconds)

  1. 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)
  2. 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)
  3. cmd/signature-v2_test.go

    	}
    	for i, test := range testCases {
    		formValues := make(http.Header)
    		formValues.Set("Awsaccesskeyid", test.accessKey)
    		formValues.Set("Signature", test.signature)
    		formValues.Set("Policy", test.policy)
    		_, errCode := doesPolicySignatureV2Match(formValues)
    		if errCode != test.errCode {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
Back to Top