Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shareFlags (0.07 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test with DFS flag
                setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS);
                assertTrue(response.isShareDfs(), "Should detect DFS from DFS flag");
    
                // Test with DFS_ROOT flag
                setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS_ROOT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            return this.shareType;
        }
    
        /**
         * Returns the flags describing characteristics of the connected share.
         *
         * @return the shareFlags
         */
        public int getShareFlags() {
            return this.shareFlags;
        }
    
        /**
         * Returns the capabilities of the connected share.
         *
         * @return the capabilities
         */
        public int getCapabilities() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

         */
        private byte[] createValidResponseBuffer(int shareType, int shareFlags, int capabilities, int maxAccess) {
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) shareType;
            buffer[3] = 0;
            SMBUtil.writeInt4(shareFlags, buffer, 4);
            SMBUtil.writeInt4(capabilities, buffer, 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. tests/multi_primary_keys_test.go

    	DB.Model(&blog).Association("SharedTags").Append([]*Tag{tag3})
    	if !compareTags(blog.SharedTags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog).Association("SharedTags").Count() != 3 {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog2).Association("SharedTags").Count() != 3 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. schema/relationship_test.go

    	}
    
    	type Blog struct {
    		ID         uint   `gorm:"primary_key"`
    		Locale     string `gorm:"primary_key"`
    		Subject    string
    		Body       string
    		Tags       []Tag `gorm:"many2many:blog_tags;"`
    		SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
    		LocaleTags []Tag `gorm:"many2many:locale_blog_tags;ForeignKey:id,locale;References:id"`
    	}
    
    	checkStructRelation(t, &Blog{},
    		Relation{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
Back to top