Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3461 - 3470 of 3,747 for throwIf (0.04 seconds)

  1. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        private TestableAbstractLlmClient client;
    
        @Override
        protected void setUp(final TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            client = new TestableAbstractLlmClient();
        }
    
        @Override
        protected void tearDown(final TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // ========== P1: Intent detection request building tests ==========
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        // Test unescape method
        @ParameterizedTest
        @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" })
        void testUnescape(String input, String expected) throws Exception {
            assertEquals(expected, NtlmPasswordAuthentication.unescape(input));
        }
    
        // Test getAnsiHash always returns 24 bytes regardless of lmCompatibility
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * @return A function that applies each function in the collection in order until a non-null result is found.
         *         If all functions return null, the composite function returns null.
         *
         * @throws NullPointerException if the input collection is null or contains null elements.
         */
        static UnaryOperator<String> chain(Collection<? extends UnaryOperator<String>> functions) {
            return s -> {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(126)).isEqualTo("%7E")
        assertThat(formEncode(127)).isEqualTo("%7F")
        assertThat(formEncode(128)).isEqualTo("%C2%80")
        assertThat(formEncode(255)).isEqualTo("%C3%BF")
      }
    
      @Throws(IOException::class)
      private fun formEncode(codePoint: Int): String {
        // Wrap the codepoint with regular printable characters to prevent trimming.
        val body =
          FormBody
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy

                return "/java/GA/" + versionPath + "/GPL/" + filename;
            }
        }
    
        private static byte[] filebytes(final String vendor, final String platform) throws IOException {
            final String effectivePlatform = isMac(platform) ? "osx" : platform;
            if (vendor.equals(VENDOR_ADOPTIUM)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 10.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsAccessTokenBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends AccessToken> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordToLabelBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends ElevateWordToLabel> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsKeyMatchBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends KeyMatch> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRelatedContentBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends RelatedContent> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRelatedQueryBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends RelatedQuery> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top