Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 660 for handling (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

    class WebSocketRecorder(
      private val name: String,
    ) : WebSocketListener() {
      private val events = LinkedBlockingQueue<Any>()
      private var delegate: WebSocketListener? = null
    
      /** Sets a delegate for handling the next callback to this listener. Cleared after invoked.  */
      fun setNextEventDelegate(delegate: WebSocketListener?) {
        this.delegate = delegate
      }
    
      override fun onOpen(
        webSocket: WebSocket,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. cmd/metacache-manager.go

    		return errFileNotFound
    	}
    	if cache.status == scanStateSuccess || cache.status == scanStateStarted {
    		if time.Since(cache.lastUpdate) > metacacheMaxRunningAge {
    			// We got a stale entry, mark error on handling server.
    			err := fmt.Errorf("timeout: list %s not updated", cache.id)
    			cache.error = err.Error()
    			cache.status = scanStateError
    			rpc.UpdateMetacacheListing(ctx, cache)
    			return err
    		}
    		return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            checkVersionParsing("RELEASE", 0, 0, 0, 0, "RELEASE");
            checkVersionParsing("2.0-1", 2, 0, 0, 1, null);
    
            // 0 at the beginning of a number has a special handling
            checkVersionParsing("02", 0, 0, 0, 0, "02");
            checkVersionParsing("0.09", 0, 0, 0, 0, "0.09");
            checkVersionParsing("0.2.09", 0, 0, 0, 0, "0.2.09");
            checkVersionParsing("2.0-01", 2, 0, 0, 0, "01");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rerun/InternalTestRerunPluginFuncTest.groovy

                            Files.write(executionLogPath, "Test executed\\n".getBytes(), StandardOpenOption.CREATE, StandardOpenOption.APPEND);
                        } catch (IOException e) {
                            // exception handling
                        }
                    }
                }
            """
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 8.9K bytes
    - Click Count (0)
  5. .github/DISCUSSION_TEMPLATE/questions.yml

            I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception innerCause = new IllegalArgumentException("Invalid LDAP parameter");
            RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/SmbException.java

     */
    
    package jcifs;
    
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Base exception class for all SMB-related exceptions
     *
     * This class provides a consistent exception handling mechanism
     * with proper error context and recovery information.
     */
    public class SmbException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Error severity levels
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // Test that it can be caught specifically
            assertThrows(RuntimeCIFSException.class, () -> {
                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test exception handling behavior
            try {
                throw new RuntimeCIFSException("Original message", new IllegalStateException("Cause"));
            } catch (RuntimeCIFSException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. 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: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            });
            assertEquals("Invalid state", e.getMessage());
        }
    
        @Test
        void testInitSecContext_malformedType2Message() throws SmbException {
            // Test handling of a malformed Type 2 message
            when(mockAuth.getDomain()).thenReturn(domain);
    
            NtlmContext context = new NtlmContext(mockAuth, true);
            context.initSecContext(new byte[0], 0, 0); // state -> 2
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top