Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 5,001 for fstring (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            }
            String longMessage = sb.toString();
    
            ThemeException exception = new ThemeException(longMessage);
    
            assertNotNull(exception);
            assertEquals(longMessage, exception.getMessage());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Theme loading error";
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

      }
    
      public void testMarkAndReset() throws IOException {
        String string = "abcdefghijklmnopqrstuvwxyz";
        CharSequenceReader reader = new CharSequenceReader(string);
        assertTrue(reader.markSupported());
    
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset and read again
        reader.reset();
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbException.java

        }
    
        private final int errorCode;
        private final Severity severity;
        private final Category category;
        private final Map<String, Object> context;
        private final long timestamp;
        private String recoveryHint;
    
        /**
         * Creates an SMB exception with detailed context
         *
         * @param message the error message
         * @param errorCode the SMB error code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

        private PlexusContainer container;
    
        @Override
        public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException {
            return factory.getLayout(layoutId);
        }
    
        @Override
        public ArtifactRepository createDeploymentArtifactRepository(
                String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         */
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            return InetAddress.getAllByName(toAscii(host));
        }
    
        /**
         * Decodes the given host string using the specified encoding.
         *
         * @param host the host string to decode
         * @return the decoded host string
         */
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

        random.nextBytes(bytes);
        String string = new String(bytes, US_ASCII);
        assertEquals(
            hashFunction.hashUnencodedChars(string),
            hashFunction.newHasher().putUnencodedChars(string).hash());
        for (Charset charset : CHARSETS) {
          assertEquals(
              hashFunction.hashString(string, charset),
              hashFunction.newHasher().putString(string, charset).hash());
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_toString() {
            // Test toString method
            String message = "Dictionary parse error";
            Exception cause = new NullPointerException("NPE occurred");
            DictionaryException exception = new DictionaryException(message, cause);
    
            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      private static final long[] divisors = new long[ARRAY_SIZE];
      private static final String[] decimalStrings = new String[ARRAY_SIZE];
      private static final String[] binaryStrings = new String[ARRAY_SIZE];
      private static final String[] hexStrings = new String[ARRAY_SIZE];
      private static final String[] prefixedHexStrings = new String[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfigWrapper.java

        }
    
        @Override
        public String getId() {
            return crawlingConfig.getId();
        }
    
        @Override
        public String getName() {
            return crawlingConfig.getName();
        }
    
        @Override
        public String[] getPermissions() {
            return crawlingConfig.getPermissions();
        }
    
        @Override
        public String[] getVirtualHosts() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            assertNotNull(negativeProvider);
        }
    
        // Test getTimeAdjustTimeMillis string values
        public void test_getTimeAdjustTimeMillis_stringValues() {
            // Test various string formats
            String[] testValues = { "0", "1000", "-1000", "999999999", "-999999999", "1", "-1" };
    
            for (String value : testValues) {
                FessConfig testConfig = new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top