Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 447 for handlePing (0.07 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    
    /**
     * Shared methods of the repository metadata handling.
     *
     */
    @Deprecated
    public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
        private static final String LS = System.lineSeparator();
    
        private Metadata metadata;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    这是一种相对高级的技巧,在大多数情况下你并不需要使用它,因为你可以在其他代码中抛出异常(包括 `HTTPException` ),例如在 *路由函数* 中。
    
    但是如果你需要,你也可以在依赖项中做到这一点。🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *}
    
    你还可以创建一个 [自定义异常处理器](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank} 用于捕获异常(同时也可以抛出另一个 `HTTPException`)。
    
    ## 包含 `yield` 和 `except` 的依赖项
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <p>
     * <strong>Key Features:</strong>
     * </p>
     * <ul>
     * <li>Thread-safe cipher pooling using {@link ConcurrentLinkedQueue}</li>
     * <li>Configurable encryption algorithms (default: Blowfish)</li>
     * <li>Proper charset handling for key generation (UTF-8 by default)</li>
     * <li>Base64 encoding for text operations</li>
     * </ul>
     * <p>
     * <strong>Security Considerations:</strong>
     * </p>
     * <ul>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.SchemaLocations.MAVEN_4_1_0_SCHEMA_LOCATION;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.SchemaLocations.MAVEN_4_2_0_SCHEMA_LOCATION;
    
    /**
     * Utility class for handling Maven model version operations during upgrades.
     *
     * <p>This class uses domtrip internally for superior formatting preservation
     * and simplified API while maintaining the same external interface.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/jar/JarFileUtil.java

    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.log.Logger;
    import org.codelibs.core.net.JarURLConnectionUtil;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * Utility class for handling {@link java.util.jar.JarFile}.
     *
     * @author higa
     */
    public abstract class JarFileUtil {
    
        /**
         * Do not instantiate.
         */
        protected JarFileUtil() {
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            }
        }
    
        private static int invokeProtectedInt(Object target, String name, Object... params) {
            try {
                var cls = target.getClass();
                // Build proper parameter types array, handling primitive types
                Class<?>[] paramTypes = new Class<?>[params.length];
                for (int i = 0; i < params.length; i++) {
                    if (params[i] instanceof byte[]) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

                    logger.warn("Error closing pooled object for component: {}", componentName, e);
                    throw e;
                }
            }
        }
    
        /**
         * Listener interface for handling object destruction events.
         *
         * @param <T> The type of the pooled object
         */
        @FunctionalInterface
        public interface OnDestroyListener<T> {
            /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for StaticJAASConfiguration.
     *
     * Coverage goals:
     * - Happy path with default and custom options.
     * - Null/empty/ignored name parameter handling.
     * - Null options edge case.
     * - Repeated calls equivalence and instance separation.
     * - Interaction check that passed options are not mutated.
     */
    @ExtendWith(MockitoExtension.class)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/context/SingletonContextTest.java

            assertNotNull(context);
            assertEquals("CustomOS", context.getConfig().getNativeOs());
        }
    
        @Test
        void testInitIOExceptionHandling(@TempDir Path tempDir) {
            // Test handling IOException when loading jcifs.properties
            Path nonExistentPath = tempDir.resolve("nonexistent.properties");
            System.setProperty("jcifs.properties", nonExistentPath.toString());
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. internal/http/listener.go

    	"slices"
    	"syscall"
    	"time"
    
    	"github.com/minio/minio/internal/deadlineconn"
    )
    
    type acceptResult struct {
    	conn net.Conn
    	err  error
    	lidx int
    }
    
    // httpListener - HTTP listener capable of handling multiple server addresses.
    type httpListener struct {
    	opts        TCPOptions
    	listeners   []net.Listener    // underlying TCP listeners.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top