Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,181 for _context (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

                final AccessContext context = new AccessContext();
                context.setAccessLocalDateTimeProvider(() -> timeManager.currentDateTime());
                context.setAccessUserProvider(() -> "unused");
                return context;
            };
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

    public class SmbComCloseTest {
    
        private CIFSContext context;
        private PropertyConfiguration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            // Create a mock configuration for testing
            Properties properties = new Properties();
            config = new PropertyConfiguration(properties);
            context = mock(CIFSContext.class);
            when(context.getConfig()).thenReturn(config);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/AbstractCIFSContext.java

            return this.getDefaultCredentials() != null && !this.getDefaultCredentials().isAnonymous();
        }
    
        /**
         * Gets the default credentials for this context.
         *
         * @return the default credentials for this context
         */
        protected abstract Credentials getDefaultCredentials();
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Context Managers
    
    ### QuƩ son los "Context Managers"
    
    Los "Context Managers" son aquellos objetos de Python que puedes usar en una declaración `with`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

         */
        public SmbFile(final SmbResource context, final String name) throws MalformedURLException, UnknownHostException {
            this(isWorkgroup(context) ? new URL(null, "smb://" + checkName(name), context.getContext().getUrlHandler())
                    : new URL(context.getLocator().getURL(), encodeRelativePath(checkName(name)), context.getContext().getUrlHandler()),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K 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/smb/SmbTreeInternalTest.java

            // Arrange
            doThrow(new SmbException("login failed")).when(tree).connectLogon(context);
    
            // Act + Assert
            SmbException ex = assertThrows(SmbException.class, () -> tree.connectLogon(context));
            assertEquals("login failed", ex.getMessage());
            verify(tree).connectLogon(context);
        }
    
        @Test
        @DisplayName("send without params returns the stubbed response")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

     */
    package jcifs.context;
    
    import jcifs.CIFSContext;
    import jcifs.Credentials;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.NtlmAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbRenewableCredentials;
    
    /**
     * Context wrapper supplying alternate credentials
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/RequestTest.java

            when(request.initResponse(context)).thenReturn(response);
    
            // When
            CommonServerMessageBlockResponse result = request.initResponse(context);
    
            // Then
            assertNotNull(result);
            assertEquals(response, result);
            verify(request, times(1)).initResponse(context);
        }
    
        @Test
        @DisplayName("Test initResponse with null context")
        void testInitResponseWithNullContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java

    import jcifs.Encodable;
    
    /**
     * SMB2 Create Context request interface. This interface defines the contract for
     * context data included in SMB2 Create requests.
     *
     * @author mbechler
     *
     */
    public interface CreateContextRequest extends Encodable {
    
        /**
         * Get the name of this create context.
         * @return context name as byte array
         */
        byte[] getName();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top