Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,428 for handle_ (0.05 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                int result = upgradeGoal.testExecuteWithTargetModel(context, "4.0.0");
    
                // The exact behavior depends on implementation, but it should handle gracefully
                // and not crash the entire upgrade process
                assertTrue(result >= 0, "Should handle .mvn creation failure gracefully");
            }
        }
    
        /**
         * Testable subclass that exposes protected methods for testing.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_experimental_reader.h

    //
    // auto* reader = TFE_MonitoringNewCounterReader("name");
    // test();
    // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value");
    
    // Opaque handle to a reader.
    typedef struct TFE_MonitoringCounterReader TFE_MonitoringCounterReader;
    
    // Returns a handle to be used for reading values from streamz counter. The
    // counter can have been created with any number of labels.
    TF_CAPI_EXPORT extern TFE_MonitoringCounterReader*
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 20 03:41:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_02_py310.py hl[8,10:11] *}
    
    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         */
        @Test
        void testIsCredentialTypeCorrectWithNullData() {
            // The constructor check `if (!isCredentialTypeCorrect())` handles the null case.
            // We verify that the constructor throws an exception, which indirectly tests the desired logic.
            assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. docs/smb3-features/03-multi-channel-design.md

            return message instanceof Smb2QueryInfoRequest
                || message instanceof Smb2SetInfoRequest
                || message instanceof Smb2QueryDirectoryRequest;
        }
    }
    ```
    
    ### 4.5 Channel Failover Handler
    ```java
    package jcifs.internal.smb2.multichannel;
    
    import java.util.concurrent.*;
    
    public class ChannelFailover {
        private final ChannelManager manager;
        private final ExecutorService executor;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            context.warning("Test warning message");
            context.detail("Test detail message");
            context.action("Test action message");
        }
    
        @Test
        @DisplayName("should handle indentation correctly")
        void shouldHandleIndentationCorrectly() {
            UpgradeContext context = TestUtils.createMockContext(Paths.get("/test"));
    
            // Test indentation methods don't throw exceptions
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbResourceLocatorTest.java

                return 0;
            }
    
            @Override
            public URL getURL() {
                try {
                    // Create URL with custom protocol handler for SMB
                    return new URL(null, urlStr, new jcifs.smb.Handler());
                } catch (Exception e) {
                    // Return null if URL creation fails
                    return null;
                }
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      }
    
      public static class StringSubscriber {
    
        @Subscribe
        public void handle(String s) {}
      }
    
      public static class IntegerSubscriber {
    
        @Subscribe
        public void handle(Integer i) {}
      }
    
      public static class ObjectSubscriber {
    
        @Subscribe
        public void handle(Object o) {}
      }
    
      public void testFlattenHierarchy() {
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            }
        }
    
        @Nested
        @DisplayName("Message Encoding Tests")
        class MessageEncodingTests {
    
            @Test
            @DisplayName("encode should handle REQUEST ptype correctly")
            void testEncodeRequestPtype() throws NdrException {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST; // 0
                message.call_id = 1;
                message.opnumValue = 5;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        @DisplayName("Constructor with null pipe name should handle gracefully")
        void testConstructorWithNullPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, null);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
        @DisplayName("Constructor with empty pipe name should handle gracefully")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top