Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 2,073 for catch (0.03 sec)

  1. guava-tests/test/com/google/common/primitives/FloatsTest.java

        // it's shared to avoid using too much memory in tests
        float[] sharedArray = new float[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Floats.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Floats.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (final SmbException se) {}
        }
    
        static Map sid_cache = new HashMap();
    
        static void resolveSids(final DcerpcHandle handle, final LsaPolicyHandle policyHandle, final SID[] sids) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          if (connection !in connections) {
            connection.withLock { put(connection) }
          }
    
          return 0L // run again immediately to create more connections if needed
        } catch (e: IOException) {
          // No need to log, user.connectFailed() will already have been called. Just try again later.
          return state.policy.backoffDelayMillis.jitterBy(state.policy.backoffJitterMillis) * 1_000_000
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                engineObj.numberOfInFlightFetch = response.getNumberOfInFlightFetch();
                engineObj.status = response.getStatus().name().toLowerCase(Locale.ROOT);
            } catch (final Exception e) {
                engineObj.status = "red";
                engineObj.exception = e.getMessage();
            }
            return engineObj;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        @SuppressWarnings("EffectivelyPrivate")
        public final void tearDown() throws IOException {
          try {
            java.nio.file.Files.delete(fileThreadLocal.get());
          } catch (IOException e) {
            logger.log(Level.WARNING, "Unable to delete file: " + fileThreadLocal.get(), e);
          }
          fileThreadLocal.remove();
        }
      }
    
      @AndroidIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            synchronized (this) {
                try {
                    this.state = 1;
                    final DcerpcMessage bind = new DcerpcBind(this.binding, this);
                    sendrecv(bind);
                } catch (final IOException ioe) {
                    this.state = 0;
                    throw ioe;
                }
            }
        }
    
        /**
         * Send and receive a DCE/RPC message
         *
         * @param msg
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/NotifyResponseTest.java

            try {
                notifications.clear();
                // If this succeeds, the implementation allows modification
                assertTrue(notifications.isEmpty());
            } catch (UnsupportedOperationException e) {
                // If this throws, the implementation returned an immutable list
                assertEquals(2, notifications.size());
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    if (ctx != null) {
                        try {
                            ctx.decode(buffer, ncpos, dataLen);
                            contexts[i] = ctx;
                        } catch (Exception e) {
                            throw new SMBProtocolDecodingException(
                                    "Failed to decode negotiate context at position " + i + ": " + e.getMessage(), e);
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                assertEquals("abc", getIdMethod.invoke(crawlingConfigHelper, "Fabc"));
                assertEquals("xyz", getIdMethod.invoke(crawlingConfigHelper, "Dxyz"));
            } catch (Exception e) {
                fail("Failed to test getId method: " + e.getMessage());
            }
        }
    
        public void test_getCrawlingConfig_cacheExceptionHandling() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

         */
        @Override
        public void testRemove() {
          Map<String, Map<Integer, Character>> map;
          try {
            map = makePopulatedMap();
          } catch (UnsupportedOperationException e) {
            return;
          }
          String keyToRemove = map.keySet().iterator().next();
          if (supportsRemove) {
            int initialSize = map.size();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top