Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 982 for Close (1.54 sec)

  1. src/main/java/jcifs/smb/SmbCopyUtil.java

                throw e;
            } catch (final IOException se) {
                throw new CIFSException("Server side copy failed", se);
            } finally {
                if (dfd != null) {
                    dfd.close();
                }
            }
        }
    
        /**
         * @param dest
         * @param b
         * @param bsize
         * @param w
         * @param dh
         * @param sh
         * @param req
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/advanced-dependencies.md

    But as `generate_stream()` doesn't use the database session, it is not really necessary to keep the session open while sending the response.
    
    If you have this specific use case using SQLModel (or SQLAlchemy), you could explicitly close the session after you don't need it anymore:
    
    {* ../../docs_src/dependencies/tutorial014_an_py310.py ln[24:28] hl[28] *}
    
    That way the session would release the database connection, so other requests could use it.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Nov 13 07:37:15 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. schema/schema.go

    		cacheStore:       cacheStore,
    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    	defer close(schema.initialized)
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Oct 31 12:13:56 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                counter++;
            }
    
            @Override
            public void close() {
                if (counter > 1) {
                    counter--;
                } else {
                    try {
                        if (context != null) {
                            try {
                                context.close();
                            } catch (final NamingException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
  5. docs/ru/docs/help-fastapi.md

    * Во многих случаях лучше понять **исходную проблему или кейс**, потому что может существовать способ решить её лучше, чем то, что пытаются сделать.
    
    ### Попросить закрыть { #ask-to-close }
    
    Если Вам ответили, велика вероятность, что Вы решили их проблему, поздравляю, **Вы — герой**! 🦸
    
    * Теперь, если проблема решена, можно попросить их:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. cmd/erasure.go

    					if !cache.Info.LastUpdate.IsZero() && cache.Info.LastUpdate.After(before) {
    						scannerLogIf(ctx, cache.save(ctx, er, cacheName))
    					} else {
    						scannerLogIf(ctx, err)
    					}
    					// This ensures that we don't close
    					// bucketResults channel while the
    					// updates-collector goroutine still
    					// holds a reference to this.
    					wg.Wait()
    					continue
    				}
    
    				wg.Wait()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

            ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null);
        }
    
        @AfterEach
        void tearDown() {
            if (mockedStatic != null) {
                mockedStatic.close();
            }
        }
    
        private static void setPrivateField(Object target, String name, Object value) throws Exception {
            Field f = target.getClass().getDeclaredField(name);
            f.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. callbacks/create.go

    			}
    
    			rows, err := db.Statement.ConnPool.QueryContext(
    				db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...,
    			)
    			if db.AddError(err) == nil {
    				defer func() {
    					db.AddError(rows.Close())
    				}()
    				gorm.Scan(rows, db, mode)
    
    				if db.Statement.Result != nil {
    					db.Statement.Result.RowsAffected = db.RowsAffected
    				}
    			}
    
    			return
    		}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

            try {
                props.load(is);
                return props;
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * Returns the extension of the path.
         *
         * @param path
         *            The path. Must not be {@literal null}.
         * @return The extension.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

         */
        @Test
        public void testSecurityBufferIntegerOverflow() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Set security buffer offset close to Integer.MAX_VALUE to test overflow protection
            SMBUtil.writeInt2(32767, buffer, 56); // Large offset (will be added to header start)
            SMBUtil.writeInt2(1000, buffer, 58); // Some length
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top