Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,657 for Try (0.04 sec)

  1. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            assertEquals(expected, options.toString());
        }
    
        public void test_initializeProbes() {
            // Test that initializeProbes doesn't throw exception
            try {
                ThumbnailGenerator.initializeProbes();
                // If no exception thrown, test passes
                assertTrue(true);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

        try {
          getMap().replace(k0(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
          // the operation would be a no-op, so exceptions are allowed but not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testReplaceEntry_unsupportedAbsentKey() {
        try {
          getMap().replace(k3(), v3(), v4());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        public void test_rethrow() {
            // Test rethrowing the exception
            DictionaryExpiredException originalException = null;
            DictionaryExpiredException rethrownException = null;
    
            try {
                try {
                    throw new DictionaryExpiredException();
                } catch (DictionaryExpiredException e) {
                    originalException = e;
                    throw e;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        monitor.enter();
        try {
          return q.poll();
        } finally {
          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException {
        Monitor monitor = this.monitor;
        if (monitor.enterWhen(notEmpty, timeout, unit)) {
          try {
            return q.poll();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            int max = this.transportContext.getConfig().getWinsServers().length;
    
            if (max == 0) {
                max = 1; /* No WINs, try only bcast addr */
            }
    
            synchronized (response) {
                while (max-- > 0) {
                    try {
                        synchronized (this.LOCK) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = request.nameTrnId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                if (log.isDebugEnabled()) {
                    log.debug("Trying address {}", addr);
                }
                try (SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class)) {
                    try {
                        trans.ensureConnected();
                    } catch (final IOException e) {
                        removeTransport(trans);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
        // bound.  But these ideas are harder to implement.  We do not try to detect or handle a
        // user-specified -XX:+DisableExplicitGC.
        //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNull(result);
        }
    
        @Test
        void testGetByNameWithValidEntry() throws IOException {
            // Create a temporary lmhosts file
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.100 TESTHOST\n");
                writer.write("10.0.0.1      SERVER01\n");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            final ZipEntry entry = new ZipEntry(id + "/es_" + v1 + "_" + v2 + ".json");
            try {
                zos.putNextEntry(entry);
                try (CurlResponse response = ComponentUtil.getCurlHelper().get("/_" + v1 + "/" + v2).execute()) {
                    CopyUtil.copy(response.getContentAsStream(), zos);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

        }
    
        @Override
        public synchronized void insert(final StemmerOverrideItem item) {
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StemmerOverrideItem item) {
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top