Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 631 for sessionID (0.05 seconds)

  1. docs/zh-hant/docs/advanced/testing-websockets.md

    為此,你可以在 `with` 陳述式中使用 `TestClient`,連線到該 WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | 注意
    
    想了解更多,請參考 Starlette 的[測試 WebSocket](https://www.starlette.dev/testclient/#testing-websocket-sessions)文件。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 420 bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/AuthenticationProvider.java

         * @throws CIFSException if authentication fails
         */
        byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException;
    
        /**
         * Gets the session key after successful authentication
         *
         * @return the session key or null if not available
         */
        byte[] getSessionKey();
    
        /**
         * Gets the signing key for SMB2/3
         *
         * @return the signing key or null if not available
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  3. callbacks/preload.go

    						return err
    					}
    				default:
    					return gorm.ErrInvalidData
    				}
    			} else {
    				tx := db.Table("").Session(&gorm.Session{Context: db.Statement.Context, SkipHooks: db.Statement.SkipHooks})
    				tx.Statement.ReflectValue = db.Statement.ReflectValue
    				tx.Statement.Unscoped = db.Statement.Unscoped
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. tests/scanner_valuer_test.go

    	}
    }
    
    func TestGORMValuer(t *testing.T) {
    	type UserWithPoint struct {
    		Name  string
    		Point Point
    	}
    
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    	stmt := dryRunDB.Create(&UserWithPoint{
    		Name:  "jinzhu",
    		Point: Point{X: 100, Y: 100},
    	}).Statement
    
    	if stmt.SQL.String() == "" || len(stmt.Vars) != 2 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  5. 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)
  6. migrator/migrator.go

    		}
    	}
    
    	return
    }
    
    func (m Migrator) GetQueryAndExecTx() (queryTx, execTx *gorm.DB) {
    	queryTx = m.DB.Session(&gorm.Session{})
    	execTx = queryTx
    	if m.DB.DryRun {
    		queryTx.DryRun = false
    		execTx = m.DB.Session(&gorm.Session{Logger: &printSQLLogger{Interface: m.DB.Logger}})
    	}
    	return queryTx, execTx
    }
    
    // AutoMigrate auto migrate values
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void getSession_returnsMock() {
            // Arrange
            SmbSession session = mock(SmbSession.class);
            when(handle.getSession()).thenReturn(session);
    
            // Act
            SmbSession result = handle.getSession();
    
            // Assert
            assertSame(session, result);
            verify(handle).getSession();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

        }
    
        @Test
        void specials() {
            InvokerRequest invokerRequest = subject.parseInvocation(ParserRequest.mvn(
                            Arrays.asList("-Dfoo=${session.rootDirectory}", "-X"), mock(MessageBuilderFactory.class))
                    .cwd(Path.of(System.getProperty("userDir")))
                    .userHome(Path.of(System.getProperty("userHome")))
                    .build());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/testing-websockets.md

    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note
    
    For more details, check Starlette's documentation for [testing WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 411 bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/testing-websockets.md

    为此,在 `with` 语句中使用 `TestClient` 连接到 WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | 注意
    
    更多细节请查看 Starlette 的文档:[测试 WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 403 bytes
    - Click Count (0)
Back to Top