Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,808 for try (0.23 sec)

  1. android/guava/src/com/google/common/collect/TreeRangeSet.java

        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
    
        @Override
        public @Nullable Range<C> get(@Nullable Object key) {
          if (key instanceof Cut) {
            try {
              @SuppressWarnings("unchecked") // we catch CCEs
              Cut<C> cut = (Cut<C>) key;
              if (!upperBoundWindow.contains(cut)) {
                return null;
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            }
            esCb.request().build(builder);
            SearchResponse response = esCb.build(builder).execute().actionGet(scrollSearchTimeout);
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            TestHttpServletRequest request = new TestHttpServletRequest();
            TestHttpServletResponse response = new TestHttpServletResponse();
            TestFilterChain chain = new TestFilterChain();
    
            try {
                manager.process(request, response, chain);
                fail("Expected ServletException");
            } catch (ServletException e) {
                assertEquals("Test error", e.getMessage());
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1") };
                }
            });
    
            try {
                HtmlNext result = virtualHostHelper.getVirtualHostPath(null);
                // If it doesn't throw an exception, the test passes
                assertTrue(true);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

                return fromClassNameToSuffix(componentName);
            }
    
            @Override
            public Class<?> fromComponentNameToClass(String componentName) {
                try {
                    return Class.forName(componentName);
                } catch (ClassNotFoundException e) {
                    return null;
                }
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. cmd/speedtest.go

    				if result.Error != "" {
    					// Break out on errors.
    					sendResult()
    					return
    				}
    			}
    
    			sendResult()
    			if !opts.autotune {
    				break
    			}
    
    			// Try with a higher concurrency to see if we get better throughput
    			concurrency += (concurrency + 1) / 2
    		}
    	}()
    	return ch
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       */
      @JvmName("uri")
      fun toUri(): URI {
        val uri = newBuilder().reencodeForUri().toString()
        return try {
          URI(uri)
        } catch (e: URISyntaxException) {
          // Unlikely edge case: the URI has a forbidden character in the fragment. Strip it & retry.
          try {
            val stripped = uri.replace(Regex("[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"), "")
            URI.create(stripped)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

                final int maxSymbolTermSize, final boolean removeDuplication) {
            if (str == null) {
                return StringUtil.EMPTY;
            }
            try (final Reader reader = new StringReader(str)) {
                return normalizeText(reader, initialCapacity, maxAlphanumTermSize, maxSymbolTermSize, removeDuplication);
            } catch (final IOException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
            final int which = getSubCommand() == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBadWordBhv.java

            return BadWordDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends BadWord> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top