Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 986 for handler1 (0.05 sec)

  1. 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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Request Create Context (DHnQ)
     *
     * MS-SMB2 Section 2.2.13.2.3
     */
    public class DurableHandleRequest implements CreateContextRequest {
    
        /**
         * Context name for durable handle request
         */
        public static final String CONTEXT_NAME = "DHnQ";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	[op(0x01)]
    	int SamrCloseHandle([in] policy_handle *handle);
    
    	[op(0x39)]
    	int SamrConnect2([in,string,unique] wchar_t *system_name,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        setDefault(Dispatcher.class, Dispatcher.immediate());
      }
    
      private static class DummySubscriber {
    
        private final EventBus eventBus = new EventBus();
    
        @Subscribe
        public void handle(@Nullable Object unused) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest));
        }
    
        @Test
        @DisplayName("fetchMore() handles NT_STATUS_NO_MORE_FILES via exception")
        void fetchMore_handles_no_more_files_exception() throws Exception {
            // Setup required for this test
            when(parent.getLocator()).thenReturn(locator);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/rpc.java

                for (int _i = 0; _i < _nodes; _i++) {
                    node[_i] = (byte) _src.dec_ndr_small();
                }
            }
        }
    
        /**
         * Policy handle structure for DCE/RPC operations.
         * Represents a handle to a policy object on the server.
         */
        public static class policy_handle extends NdrObject {
    
            /**
             * Default constructor for policy_handle.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @Test
            @DisplayName("Should handle empty buffer encoding")
            void testEmptyBufferEncoding() {
                byte[] buffer = new byte[256];
                testMessage.setBytesWritten(0);
                int len = testMessage.encode(buffer, 0);
                assertTrue(len >= Smb2Constants.SMB2_HEADER_LENGTH);
            }
    
            @Test
            @DisplayName("Should handle large MID values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import java.io.Closeable
    
    /** Handler for mock server requests. */
    public abstract class Dispatcher : Closeable {
      /**
       * Returns a response to satisfy `request`. This method may block (for instance, to wait on
       * a CountdownLatch).
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertNotNull(type3.getNTResponse());
            assertTrue(type3.getLMResponse().length > 0);
            assertTrue(type3.getNTResponse().length > 0);
        }
    
        @Test
        @DisplayName("Should handle Unicode strings")
        void testUnicodeStrings() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String unicodeDomain = "TËSTDØMÄIN";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertArrayEquals(new int[] { 1, 2 }, context.getHashAlgos());
                assertArrayEquals(new byte[] { 0x0A, 0x0B, 0x0C, 0x0D }, context.getSalt());
            }
    
            @Test
            @DisplayName("Should handle empty arrays in decode")
            void testDecodeEmptyArrays() throws SMBProtocolDecodingException {
                // Arrange
                context = new PreauthIntegrityNegotiateContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top