Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 2,175 for match (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            while (i < contentLength()) {
              sink.write(chunk!!)
              sink.flush()
              Thread.sleep(100)
              i += chunk.size
            }
          } catch (e: IOException) {
            ioe = e
          } catch (e: InterruptedException) {
            throw RuntimeException(e)
          }
        }
      }
    
      @Test
      fun requestBodyMultipleFailuresReportedOnlyOnce() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

            scoreBoosterList.forEach(b -> {
                try {
                    final long count = b.process();
                    resultBuf.append(b.getClass().getSimpleName()).append(" : ").append(count).append('\n');
                } catch (final Exception e) {
                    logger.warn("Failed to update scores.", e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
            return resultBuf.toString();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/net/UuidUtil.java

            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
                return InetAddress.getLocalHost().getAddress();
            } catch (final UnknownHostException ignore) {
                return DEFAULT_ADDRESS;
            }
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractorTest.java

            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
                msWordExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsPublisherExtractor.java

                @SuppressWarnings("resource")
                final PublisherTextExtractor publisherTextExtractor = new PublisherTextExtractor(in);
                return new ExtractData(publisherTextExtractor.getText());
            } catch (final IOException e) {
                throw new ExtractException(e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractor.java

                final org.apache.poi.hwpf.extractor.WordExtractor wordExtractor = new org.apache.poi.hwpf.extractor.WordExtractor(in);
                return new ExtractData(wordExtractor.getText());
            } catch (final IOException e) {
                throw new ExtractException(e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorTest.java

            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
                textExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            int expectedStatusCode = 403;
            String expectedMessage = "Access denied";
    
            try {
                throw new WebApiException(expectedStatusCode, expectedMessage);
            } catch (WebApiException e) {
                assertEquals(expectedStatusCode, e.getStatusCode());
                assertEquals(expectedMessage, e.getMessage());
            }
        }
    
        public void test_throwWithCauseAndCatch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. docs/debugging/pprofgoparser/main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            } catch (IllegalArgumentException e) {
                assertEquals("name or dataStore is null.", e.getMessage());
            }
        }
    
        // Test add method with both null parameters
        public void test_add_bothNull() {
            try {
                dataStoreFactory.add(null, null);
                fail("Should throw IllegalArgumentException");
            } catch (IllegalArgumentException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top