Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 625 for bundle (0.04 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        /**
         * Gets a DCERPC handle for the specified URL and authentication
         * @param url the DCERPC URL to connect to
         * @param auth the NTLM authentication credentials
         * @return a DCERPC handle for the connection
         * @throws UnknownHostException if the host cannot be resolved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbSessionTest.java

            @Test
            @DisplayName("Should handle self unwrap")
            void shouldHandleSelfUnwrap() {
                SmbSession mockSession = mock(SmbSession.class);
                when(mockSession.unwrap(SmbSession.class)).thenReturn(mockSession);
    
                SmbSession result = mockSession.unwrap(SmbSession.class);
                assertSame(mockSession, result, "unwrap should handle self unwrapping");
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

            void testConstructorAndOpnum() {
                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
                assertEquals(mockPolicyHandle, message.handle);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/internal/witness/WitnessRegistration.java

            this.flags = flags;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle;
        }
    
        /**
         * Sets the context handle.
         *
         * @param contextHandle the context handle
         */
        public void setContextHandle(byte[] contextHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @Test
        @DisplayName("Should handle empty notification list")
        void testEmptyNotificationList() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int offset = 0;
    
            setHeaderStart(response, 64);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Just verify that contexts were written
            assertTrue(bytesWritten > 60); // Should be larger than basic negotiate request
        }
    
        @Test
        @DisplayName("Should handle empty negotiate contexts array")
        void testWriteBytesWireFormatEmptyContexts() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should handle different cipher IDs")
        void testDifferentCipherIds() {
            // Test cipher ID 1 (AES-CCM)
            Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
            assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1");
    
            // Test cipher ID 2 (AES-GCM)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top