Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,014 for call1 (0.12 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // Act
            session.treeConnectLogon();
    
            // Assert: treeConnect invoked once with null params
            verify(tree, times(1)).treeConnect(isNull(), isNull());
            // Close of try-with-resources should call close on the mock
            verify(tree, times(1)).close();
        }
    
        @Test
        @DisplayName("unwrap: returns self for compatible type and throws for incompatible")
        @SuppressWarnings({ "rawtypes", "unchecked" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtStatus.java

        int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016;
        /** Access is denied */
        int NT_STATUS_ACCESS_DENIED = 0xC0000022;
        /** The data area passed to a system call is too small */
        int NT_STATUS_BUFFER_TOO_SMALL = 0xC0000023;
        /** The object name is invalid */
        int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033;
        /** The object was not found */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // First call should read the file
            NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result1);
    
            // Second call should use cached data (file not modified)
            NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

    import okhttp3.internal.toHostHeader
    import okio.GzipSource
    import okio.buffer
    
    /**
     * Bridges from application code to network code. First it builds a network request from a user
     * request. Then it proceeds to call the network. Finally it builds a user response from the network
     * response.
     */
    class BridgeInterceptor(
      private val cookieJar: CookieJar,
    ) : Interceptor {
      @Throws(IOException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
            // subsequent call will cancel
            assertThrows(
                    TransferCancelledException.class,
                    () -> listener.transferStarted(event(session, resource, TransferEvent.EventType.STARTED)));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // we cannot directly verify them here without reflection or extending SamrOpenAlias for testing.
            // However, the primary responsibility of MsrpcSamrOpenAlias's constructor is to call the super constructor
            // and set its own specific fields (ptype, flags).
            // The fact that the object is successfully created implies the super constructor was called.
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    import jcifs.smb1.dcerpc.ndr.NdrObject;
    import jcifs.smb1.dcerpc.ndr.NdrSmall;
    
    /**
     * LSA RPC (Local Security Authority Remote Procedure Call) definitions.
     * Provides interface definitions and data structures for LSA RPC operations.
     */
    public class lsarpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Assert - fields preserved
            assertSame(cause, ex.getCause());
            assertEquals(message, ex.getMessage());
    
            // Since message is explicitly provided, constructor should not need to call methods on cause
            Mockito.verifyNoInteractions(cause);
    
            // toString should include provided message
            assertEquals(SMBProtocolDowngradeException.class.getName() + ": " + message, ex.toString());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            }
        }
    
        @Test
        @DisplayName("customizeCreate sets required flags and extended mode")
        void customizeCreateSetsFlagsAndExtended() throws Exception {
            // Arrange: real instance to call protected method; collaborators mocked for interaction verification
            SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

    import kotlin.reflect.KClass
    
    /**
     * An immutable collection of key-value pairs implemented as a singly-linked list.
     *
     * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call
     * returns a new instance.
     *
     * This collection is optimized for safe concurrent access over a very small number of elements.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top