Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 3,688 for finally (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        private static final Logger log = LoggerFactory.getLogger(DirFileEntryEnumIteratorBase.class);
    
        private final SmbTreeHandleImpl treeHandle;
        private final ResourceNameFilter nameFilter;
        private final SmbResource parent;
        private final String wildcard;
        private final int searchAttributes;
        private FileEntry next;
        private int ridx;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
       * fails.
       */
      final void awaitTermination(Thread t, long timeoutMillis) {
        try {
          t.join(timeoutMillis);
        } catch (InterruptedException ie) {
          threadUnexpectedException(ie);
        } finally {
          if (t.getState() != Thread.State.TERMINATED) {
            t.interrupt();
            fail("Test timed out");
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. clause/expression.go

    			builder.WriteString(string(name))
    		}
    	}
    }
    
    // processValue handles different value types appropriately for SQL parameter binding
    // It checks for driver.Valuer first, then handles slices/arrays, and finally adds single values
    func processValue(builder Builder, value interface{}) {
    	if _, ok := value.(driver.Valuer); ok {
    		builder.AddVar(builder, value)
    		return
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          barrier.await(1, SECONDS);
          executor.execute(barrierTask);
          // timeout means the second task wasn't even tried
          barrier.await(1, SECONDS);
        } finally {
          service.shutdown();
        }
      }
    
      public void testRejectedExecutionThrownWithMultipleCalls() throws Exception {
        CountDownLatch latch = new CountDownLatch(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  5. CLAUDE.md

      ├─ RobotsTxtException
      └─ SitemapsException
    ```
    
    ### Thread-Local Storage
    
    Use `CrawlingParameterUtil` to set/get `CrawlerContext` and `UrlQueue` in worker threads. Always clear in finally block with `CrawlingParameterUtil.clearAll()`.
    
    ### Resource Cleanup Pattern
    
    Always use try-with-resources for `ResponseData` - temp files are auto-deleted on close.
    
    ## Log Message Guidelines
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

      fun threadIsInterruptedOnFirstRead() {
        Thread.currentThread().interrupt()
        try {
          val result = publicSuffixDatabase.getEffectiveTldPlusOne("squareup.com")
          assertThat(result).isEqualTo("squareup.com")
        } finally {
          assertThat(Thread.interrupted()).isTrue()
        }
      }
    
      @Test
      fun secondReadFailsSameAsFirst() {
        val badPublicSuffixDatabase =
          PublicSuffixDatabase(
            ResourcePublicSuffixList(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                            }
                        }
                    }
                }
                generateTextReport(versionToIncubating)
                generateHtmlReport(versionToIncubating)
            } finally {
                JavaParserFacade.clearInstances()
            }
        }
    
        private
        fun generateHtmlReport(versionToIncubating: VersionsToIncubating) {
            val htmlReport = parameters.htmlReportFile.get().asFile
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                assertNull(sslSocketFactory);
    
            } catch (IOException e) {
                fail("Failed to create test certificate file: " + e.getMessage());
            } finally {
                if (invalidCertFile != null && invalidCertFile.exists()) {
                    invalidCertFile.delete();
                }
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

        public void test_poll_concurrentAccessTx() throws Exception {
            final String sessionId = "poll_session4";
            final int numThreads = 5;
            final int itemsPerThread = 10;
            final List<OpenSearchUrlQueue> urlQueueList = new ArrayList<>();
    
            // Insert items
            for (int i = 1; i <= itemsPerThread * numThreads; i++) {
                final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

            sendTestRequest(fbRequest)
            Thread.sleep(1000)
            sendTestRequest(twitterRequest)
            Thread.sleep(1000)
            sendTestRequest(googleRequest)
            Thread.sleep(2000)
          }
        } finally {
          client.connectionPool.evictAll()
          client.dispatcher.executorService.shutdownNow()
    
          if (launch == CommandLine) {
            process?.destroyForcibly()
          }
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
Back to Top