Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1581 - 1590 of 1,808 for Try (0.02 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMap.java

        if (n == 0) {
          @SuppressWarnings("unchecked") // it has no entries so the type variables don't matter
          ImmutableMap<K, V> empty = (ImmutableMap<K, V>) EMPTY;
          return empty;
        }
        try {
          return fromEntryArrayCheckingBucketOverflow(n, entryArray, throwIfDuplicateKeys);
        } catch (BucketOverflowException e) {
          // probable hash flooding attack, fall back to j.u.HM based implementation and use its
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertNull(result[1]);
            assertEquals("b", result[2]);
        }
    
        // Helper method to invoke the private distinct method
        private String[] invokeDistinct(String[] values) {
            try {
                java.lang.reflect.Method method = LdapUser.class.getDeclaredMethod("distinct", String[].class);
                method.setAccessible(true);
                return (String[]) method.invoke(null, (Object) values);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("test", new String[] { "updated" }, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.update();
            // Give a moment for async execution
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                // ignore
            }
    
            results = relatedQueryHelper.getRelatedQueries("test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

         * @param data the raw PAC logon info buffer data
         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                // Skip firsts
                pacStream.skipBytes(20);
    
                // Dates
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, () -> {
                TestIterator.staticThrowOnOpen = true; // Set flag before constructor
                try {
                    TestIterator.create(tree, parent, "*", null, 0, entry("first"), pages);
                } finally {
                    TestIterator.staticThrowOnOpen = false; // Reset flag
                }
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                toMinutes = tints[1];
                final String[] values = days.split(",");
                final List<Integer> list = new ArrayList<>();
                for (final String value : values) {
                    try {
                        list.add(Integer.parseInt(value.trim()));
                    } catch (final NumberFormatException e) {}
                }
                this.days = new int[list.size()];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

        // The test uses JDK default SSL Context instead of the Platform provided one
        // as Conscrypt seems to have some differences, we only want to test client side here.
        return try {
          val keyManager =
            newKeyManager(
              null,
              serverCert,
              serverIntermediateCa.certificate,
            )
          val trustManager =
            newTrustManager(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/Logger.java

         * </p>
         *
         * @return the logger adapter factory
         */
        protected static LoggerAdapterFactory getLoggerAdapterFactory() {
            // TODO
            try {
                Class.forName("org.apache.commons.logging.LogFactory");
                return new JclLoggerAdapterFactory();
            } catch (final Throwable ignore) {
                return new JulLoggerAdapterFactory();
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                    return fallback.call();
                }
                throw new CircuitBreakerOpenException("Circuit breaker " + name + " is open");
            }
    
            try {
                T result = callable.call();
                onSuccess();
                return result;
            } catch (Exception e) {
                onFailure();
                throw e;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

         *
         * @throws CIFSException if there is an error during initialization
         */
        protected void initDefaults() throws CIFSException {
    
            try {
                "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                throw new CIFSException(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top