Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 521 for CSession (0.1 sec)

  1. tests/scopes_test.go

    	}
    
    	db := DB.Scopes(func(tx *gorm.DB) *gorm.DB {
    		return tx.Table("custom_table")
    	}).Session(&gorm.Session{})
    
    	db.AutoMigrate(&User{})
    	if db.Find(&User{}).Statement.Table != "custom_table" {
    		t.Errorf("failed to call Scopes")
    	}
    
    	result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB {
    		return tx.Session(&gorm.Session{})
    	}).Find(&users1)
    
    	if result.RowsAffected != 2 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

        /**
         * Test sessionId getter and setter
         */
        public void test_sessionId() {
            assertNull(crawlerContext.getSessionId());
    
            crawlerContext.setSessionId("test-session-001");
            assertEquals("test-session-001", crawlerContext.getSessionId());
    
            crawlerContext.setSessionId(null);
            assertNull(crawlerContext.getSessionId());
    
            crawlerContext.setSessionId("");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    
    /**
     * SMB1 Session Setup AndX request message.
     *
     * This command is used to authenticate a user session and
     * establish security context for subsequent operations.
     */
    public class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. docs/sts/assume-role.go

    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    			log.Fatalf("Unable to open session policy file: %v", err)
    		} else {
    			defer f.Close()
    			bs, err := io.ReadAll(f)
    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		stsOpts.Policy = policy
    	}
    	if expiryDuration != 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (1)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    injectMirror(repository, mirror);
                }
            }
        }
    
        private Mirror getMirror(RepositorySystemSession session, ArtifactRepository repository) {
            if (session != null) {
                org.eclipse.aether.repository.MirrorSelector selector = session.getMirrorSelector();
                if (selector != null) {
                    RemoteRepository repo = selector.getMirror(RepositoryUtils.toRepo(repository));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Service.java

    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * Marker interface for all services provided by the {@link Session}.
     * <p>
     * Services can be retrieved from the session using the
     * {@link Session#getService(Class)} method.
     *
     * @since 4.0.0
     * @see Session#getService(Class)
     */
    @Experimental
    @ThreadSafe
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. tests/hooks_test.go

    	}
    
    	DB.Model(&product).Session(&gorm.Session{SkipHooks: true}).Updates(Product3{Code: "L1216"})
    	if product.Price != 320 || product.Code != "L1216" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	var result2 Product3
    	DB.First(&result2, product.ID)
    
    	AssertEqual(t, result2, product)
    
    	product2 := Product3{Name: "Product", Price: 0}
    	DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
        /**
         * The real session key if the regular session key is actually
         * the encrypted version used for key exchange.
         *
         * @return A <code>byte[]</code> containing the session key.
         */
        public byte[] getMasterKey() {
            return this.masterKey;
        }
    
        /**
         * Returns the session key.
         *
         * This is the encrypted session key included in the message,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * Abstract base class for NetBIOS session service packets.
     * This class provides common functionality for session layer communication in SMB1.
     */
    public abstract class SessionServicePacket {
    
        /**
         * Default constructor for SessionServicePacket.
         * Creates a new session service packet instance.
         */
        public SessionServicePacket() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

     *
     * <p>The DataIndexHelper supports:</p>
     * <ul>
     *   <li>Concurrent crawling of multiple data configurations</li>
     *   <li>Thread pool management for crawler execution</li>
     *   <li>Session-based crawling with cleanup operations</li>
     *   <li>Old document deletion after successful crawling</li>
     *   <li>Crawling execution monitoring and timing</li>
     * </ul>
     */
    public class DataIndexHelper {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top