Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 1,021 for session (0.06 seconds)

  1. docs/zh-hant/docs/tutorial/sql-databases.md

    別擔心,依照我們的程式結構,稍後我們會確保「每個請求只使用單一 SQLModel 的 session」,這其實就是 `check_same_thread` 想要達成的事。
    
    ### 建立資料表 { #create-the-tables }
    
    接著我們新增一個函式,使用 `SQLModel.metadata.create_all(engine)` 為所有「資料表模型」建立資料表。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### 建立 Session 依賴 { #create-a-session-dependency }
    
    「`Session`」會在記憶體中保存物件並追蹤資料需要的任何變更,然後透過「`engine`」與資料庫溝通。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/netbios/UniAddress.java

     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/MojoExecutor.java

                    eventCatapult,
                    mojosExecutionStrategy,
                    messageBuilderFactory);
        }
    
        @Override
        protected boolean useProjectLock(MavenSession session) {
            return false;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
            options.sessionId = "test-session";
            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
            assertEquals(expected, options.toString());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            mockTransport.capabilities = SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS;
            mockTransport.snd_buf_size = 16644;
            mockTransport.maxMpxCount = 50;
    
            // Configure mock session
            mockSession.transport = mockTransport;
    
            // Configure authentication - set fields directly since NtlmPasswordAuthentication is final
            mockAuth.username = "testuser";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.util.LogStream;
    
    /**
     * The SmbSession class represents an SMB session established with a server.
     * It provides methods for authentication and session management.
     */
    public final class SmbSession {
    
        private static final String LOGON_SHARE = Config.getProperty("jcifs.smb1.smb.client.logonShare", null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

                packet.readTrailerWireFormat(mockInputStream, buffer, 0);
            });
            assertTrue(thrown.getMessage().contains("unexpected EOF reading netbios retarget session response"));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int DEFAULT_SO_TIMEOUT = 35000;
        /** Default receive buffer size in bytes */
        int DEFAULT_RCV_BUF_SIZE = 60416;
        /** Default send buffer size in bytes */
        int DEFAULT_SND_BUF_SIZE = 16644;
        /** Default session limit */
        int DEFAULT_SSN_LIMIT = 250;
        /** Default connection timeout in milliseconds */
        int DEFAULT_CONN_TIMEOUT = 35000;
    
        /** Local address to bind to */
        InetAddress LADDR = Config.getLocalHost();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

                }
            }
            assertThrows(ClassCastException.class, () -> transport.unwrap(OtherTransport.class));
        }
    
        @Test
        @DisplayName("getSmbSession creates and then reuses matching session")
        void getSmbSession_createAndReuse() {
            // Arrange: minimal credentials chain so SmbSessionImpl constructor succeeds
            CredentialsInternal creds = mock(CredentialsInternal.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top