Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 989 for handler3 (0.65 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @Test
            @DisplayName("Should handle null buffer in decode")
            void testNullBuffer() {
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                assertThrows(NullPointerException.class, () -> {
                    info.decode(null, 0, 0);
                });
            }
    
            @Test
            @DisplayName("Should handle insufficient buffer length")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.create.CreateContextResponse;
    
    /**
     * SMB2 Durable Handle Response Create Context
     *
     * MS-SMB2 Section 2.2.14.2.3
     */
    public class DurableHandleResponse implements CreateContextResponse {
    
        /**
         * Context name for durable handle response
         */
        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
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java

            this.registrationId = registrationId;
        }
    
        /**
         * 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: Sun Aug 24 00:12:28 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. 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)
  6. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
       * multiple cookies in a single request header, which [Cookie.parse] doesn't support.
       */
      private fun decodeHeaderAsJavaNetCookies(
        url: HttpUrl,
        header: String,
      ): List<Cookie> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

     */
    package org.apache.maven.artifact.repository.layout;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * FlatRepositoryLayout
     */
    @Named("flat")
    @Singleton
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for opening an LSA policy handle.
     * This class provides functionality to open a handle to the LSA policy
     * database on a remote server using the LSA RPC interface.
     */
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Should handle empty session key");
            assertEquals(16, signingKey.length, "Should still produce 16-byte key");
        }
    
        @Test
        @DisplayName("Should handle null preauth integrity for SMB 3.0.0")
        void testDeriveKeys_NullPreauthForSMB300() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. 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)
Back to top