Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for disposed (0.32 sec)

  1. src/main/java/org/codelibs/core/misc/DisposableUtil.java

            disposables.remove(disposable);
        }
    
        /**
         * Disposes of all registered resources.
         */
        public static synchronized void dispose() {
            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SSPContextTest.java

            public String getNetbiosName() {
                return this.nbName;
            }
    
            @Override
            public void dispose() throws CIFSException {
                if (this.disposed) {
                    throw new CIFSException("already disposed");
                }
                this.disposed = true;
                this.established = false;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Disposable.java

     * <p>
     * If there are resources that must be disposed of when the S2 container shuts down,
     * create a class that implements this interface and register it with {@link DisposableUtil}.
     * </p>
     *
     * @author koichik
     */
    public interface Disposable {
    
        /**
         * Disposes of the resources held by this object.
         *
         */
        void dispose();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SSPContext.java

         * @return the name of the remote endpoint
         */
        String getNetbiosName();
    
        /**
         * Disposes of the security context and releases any associated resources.
         * @throws CIFSException if an error occurs during disposal
         */
        void dispose() throws CIFSException;
    
        /**
         * Checks whether the specified security mechanism is supported.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Nested
        @DisplayName("Dispose Tests")
        class DisposeTests {
            @Test
            @DisplayName("dispose delegates to GSSContext")
            void dispose_success() throws Exception {
                assertDoesNotThrow(() -> ctx.dispose());
                verify(gssContext, times(1)).dispose();
            }
    
            @Test
            @DisplayName("dispose wraps GSSException into SmbException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

                return super.toString();
            }
        }
    
        @Override
        public void dispose() throws SmbException {
            if (this.gssContext != null) {
                try {
                    this.gssContext.dispose();
                } catch (GSSException e) {
                    throw new SmbException("Context disposal failed", e);
                }
            }
        }
    
        /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  7. src/main/webapp/js/bootstrap.min.js

    e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void F.one(this._element,it,(()=>this.to(t)));const s=this._getItemIndex(this._getActive());if(s===t)return;const i=t>s?Z:tt;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&F.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(F.on(this._ele...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 58.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

         */
        @Test
        public void testDispose() throws Exception {
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
    
            MessageFormatter.getMessage("EMSG0000");
            assertThat(MessageFormatter.initialized, is(true));
    
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
            assertThat(names, is("a"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SpnegoContextTest.java

            verify(this.mechContext, times(1)).getFlags();
        }
    
        @Test
        @DisplayName("dispose delegates to underlying mechanism context")
        void testDisposeDelegates() throws Exception {
            SpnegoContext ctx = newContext();
            ctx.dispose();
            verify(this.mechContext, times(1)).dispose();
        }
    
        @Test
        @DisplayName("calculateMIC throws when context not established")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top