Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 45 for disposed (0.06 seconds)

  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) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (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();
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1K bytes
    - Click Count (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.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            Disposer.newDisposable().let { disposable ->
                ParsedKotlinFiles(disposable.parseKotlinFiles(sourceRoots, compilationClasspath), disposable)
            }
    
        private
        fun <T : Any?> withParsedKotlinSource(sourceRoots: List<File>, block: (List<KtFile>) -> T) =
            Disposer.newDisposable().use {
                parseKotlinFiles(sourceRoots, emptyList()).let(block)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 18 05:37:07 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/body-nested-models.md

    Outre les types singuliers normaux comme `str`, `int`, `float`, etc. vous pouvez utiliser des types singuliers plus complexes qui héritent de `str`.
    
    Pour voir toutes les options dont vous disposez, consultez [l’aperçu des types de Pydantic](https://docs.pydantic.dev/latest/concepts/types/). Vous verrez quelques exemples au chapitre suivant.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. 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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. 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);
                }
            }
        }
    
        /*
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  9. docs/fr/docs/deployment/https.md

    Maintenant, du point de vue d'un développeur, voici plusieurs choses à avoir en tête en pensant au HTTPS :
    
    * Pour le HTTPS, **le serveur** doit **disposer de « certificats »** générés par une **tierce partie**.
        * Ces certificats sont en réalité **acquis** auprès de la tierce partie, et non « générés ».
    * Les certificats ont une **durée de vie**.
        * Ils **expirent**.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. 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"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top