Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,040 for handler1 (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        /**
         * Get failure count for a handle
         *
         * @param handle notification handle
         * @return number of consecutive failures
         */
        private int getFailureCount(ChangeNotificationHandle handle) {
            return failureCounts.getOrDefault(handle.getDirectoryPath(), 0);
        }
    
        /**
         * Increment failure count for a handle
         *
         * @param handle notification handle
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

     * such as the base path, replacement strings for special characters in URLs,
     * the maximum number of duplicated paths to attempt, and the character set for encoding the file path.
     * </p>
     *
     * <p>
     * It handles potential exceptions during file creation and storage, throwing
     * {@link org.codelibs.fess.crawler.exception.CrawlerSystemException} in case of errors.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

    import java.net.UnknownHostException;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    
    /**
     * <p>
     * Under normal conditions it is not necessary to use
     * this class to use jCIFS properly. Name resolusion is
     * handled internally to the <code>jcifs.smb</code> package.
     * <p>
     * This class is a wrapper for both {@link jcifs.netbios.NbtAddress}
     * and {@link java.net.InetAddress}. The name resolution mechanisms
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * In the case of Java tools, the map may also contain {@code --patch-module} options, which are
         * {@linkplain org.apache.maven.api.JavaPathType#patchModule(String) handled in a special way}.
         *
         * <h4>Design note</h4>
         * All types of path are determined together because they are sometime mutually exclusive.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * <p>This method is similar to {@link java.util.concurrent.CompletableFuture#exceptionally}. It
       * can also serve some of the use cases of {@link java.util.concurrent.CompletableFuture#handle}
       * and {@link java.util.concurrent.CompletableFuture#handleAsync} when used along with {@link
       * #transform}.
       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        // Test MappingUpdater close method with error in writer
        public void test_mappingUpdater_closeWithError() throws Exception {
            writeTestFile("a,b => c\n");
    
            // This test verifies that close() handles errors gracefully
            CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z");
    
            // Insert will trigger MappingUpdater which will be closed automatically
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

    @ExtendWith(MockitoExtension.class)
    class SmbTreeConnectionTraceTest {
    
        // Helper to build a minimal smb URL
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, new Handler());
            } catch (MalformedURLException e) {
                throw new AssertionError("Failed to create SMB URL: " + spec, e);
            }
        }
    
        // Utility to build a minimal locator for connect tests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    func metricsBucketHandler() http.Handler {
    	return metricsHTTPHandler(bucketCollector, "handler.MetricsBucket")
    }
    
    func metricsServerHandler() http.Handler {
    	registry := prometheus.NewRegistry()
    
    	// Report all other metrics
    	logger.CriticalIf(GlobalContext, registry.Register(clusterCollector))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/BufferCacheTest.java

            doNothing().when(mockBufferCache).releaseBuffer(buffer);
    
            // When & Then
            assertDoesNotThrow(() -> {
                mockBufferCache.releaseBuffer(buffer);
            }, "releaseBuffer should handle valid buffers");
        }
    
        @Test
        @DisplayName("getBuffer should return buffers for use")
        void testGetBufferBasicUsage() {
            // When
            byte[] buffer1 = testCache.getBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Configure transport to throw exception on release
            Mockito.doThrow(new RuntimeException("Test exception")).when(mockTransport).release();
    
            session.acquire();
    
            // Should handle exceptions gracefully
            assertDoesNotThrow(() -> session.release());
        }
    
        /**
         * Test AutoCloseable pattern
         */
        @Test
        @Timeout(5)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top