Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,922 for Try (0.01 sec)

  1. guava/src/com/google/common/hash/MacHashFunction.java

      public int bits() {
        return bits;
      }
    
      private static boolean supportsClone(Mac mac) {
        try {
          Object unused = mac.clone();
          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      private static Mac getMac(String algorithmName, Key key) {
        try {
          Mac mac = Mac.getInstance(algorithmName);
          mac.init(key);
          return mac;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

    
        private void loop () {
            while ( this.thread == Thread.currentThread() ) {
                try {
                    synchronized ( this.inLock ) {
                        Long key;
                        try {
                            key = peekKey();
                        }
                        catch ( SocketTimeoutException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @return {@link ResourceBundle}
         * @see ResourceBundle#getBundle(String)
         */
        public static final ResourceBundle getBundle(final String name) {
            assertArgumentNotEmpty("name", name);
    
            try {
                return ResourceBundle.getBundle(name);
            } catch (final MissingResourceException ignore) {
                return null;
            }
        }
    
        /**
         * バンドルを返します。 見つからない場合は、<code>null</code>を返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Name.java

            this.srcHashCode = 0;
        }
    
        int writeWireFormat( byte[] dst, int dstIndex ) {
            // write 0x20 in first byte
            dst[dstIndex] = 0x20;
    
            // write name
            try {
                byte tmp[] = name.getBytes( Name.OEM_ENCODING );
                int i;
                for( i = 0; i < tmp.length; i++ ) {
                    dst[dstIndex + ( 2 * i + 1 )] = (byte)((( tmp[i] & 0xF0 ) >> 4 ) + 0x41 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/BadWordService.java

            // search
    
        }
    
        public void importCsv(final Reader reader) {
            @SuppressWarnings("resource")
            final CsvReader csvReader = new CsvReader(reader, new CsvConfig());
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
                    String targetWord = getValue(list, 0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        assertThat(e).hasCauseThat().isInstanceOf(InterruptedException.class);
      }
    
      public void testAwait_countDownLatch_interrupted() {
        Interruptenator interruptenator = new Interruptenator(Thread.currentThread());
        try {
          final CountDownLatch latch = new CountDownLatch(1);
          RuntimeException expected =
              assertThrows(RuntimeException.class, () -> GcFinalization.await(latch));
          assertWrapsInterruptedException(expected);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

            final DOMParser parser = getDomParser();
            try (final Reader reader = new StringReader(content)) {
                parser.parse(new InputSource(reader));
            } catch (final Exception e) {
                logger.warn("Failed to parse the content.", e);
                return new ExtractData(extractString(content));
            }
    
            final Document document = parser.getDocument();
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    return;
                try {
                    session.transport.wait();
                } catch (InterruptedException ie) {
                    throw new SmbException(ie.getMessage(), ie);
                }
            }
            connectionState = 1; // trying ...
    
            try {
                /* The hostname to use in the path is only known for
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  9. bin/init.sh

    DOWNLOAD_COMMAND=""
    function set_download_command () {
      # Try curl.
      if command -v curl > /dev/null; then
        if curl --version | grep Protocols  | grep https > /dev/null; then
          DOWNLOAD_COMMAND="curl -fLSs --retry 5 --retry-delay 1 --retry-connrefused"
          return
        fi
        echo curl does not support https, will try wget for downloading files.
      else
        echo curl is not installed, will try wget for downloading files.
      fi
    
      # Try wget.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jan 25 19:11:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON);
            final JsonRequestParams params = new JsonRequestParams(request, fessConfig);
            try {
                response.setContentType("application/x-ndjson; charset=UTF-8");
                final long count = searchHelper.scrollSearch(params, doc -> {
                    buf.setLength(0);
                    buf.append('{');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top