Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 573 for _attributes (0.2 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int FILE_EXECUTE          = 0x00000020; // 6
        static final int FILE_DELETE           = 0x00000040; // 7
        static final int FILE_READ_ATTRIBUTES  = 0x00000080; // 8
        static final int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        static final int DELETE                = 0x00010000; // 16
        static final int READ_CONTROL          = 0x00020000; // 17
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            this.object_attributes.length = 24;
            lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
            qos.length = 12;
            qos.impersonation_level = 2;
            qos.context_mode = 1;
            qos.effective_only = 0;
            this.object_attributes.security_quality_of_service = qos;
            this.ptype = 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            object_attributes.length = 24;
    lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
    qos.length = 12;
    qos.impersonation_level = 2;
    qos.context_mode = 1;
    qos.effective_only = 0;
    object_attributes.security_quality_of_service = qos;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/WatchTest.java

    import jcifs.SmbResource;
    import jcifs.SmbWatchHandle;
    import jcifs.smb.SmbFile;
    
    
    /**
     * 
     * 
     * Compatability notes:
     * - windows 2k12 will not trigger with FILE_NOTIFY_CHANGE_ATTRIBUTES if the file contents are modified (modtime
     * changes)
     * 
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    public class WatchTest extends BaseCIFSTest {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  5. tests/test_read_with_orm_mode.py

            def full_name(self) -> str:
                return f"{self.name} {self.lastname}"
    
            model_config = ConfigDict(from_attributes=True)
    
        class PersonCreate(PersonBase):
            pass
    
        class PersonRead(PersonBase):
            full_name: str
    
            model_config = {"from_attributes": True}
    
        app = FastAPI()
    
        @app.post("/people/", response_model=PersonRead)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/OplockTests.java

                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
                    int access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.FILE_WRITE_ATTRIBUTES
                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
                    int options = 0;
                    String uncPath = "foo-oplock";
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        static final int FILE_WRITE_EA = 0x00000010; // 5
        static final int FILE_EXECUTE = 0x00000020; // 6
        static final int FILE_DELETE = 0x00000040; // 7
        static final int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        static final int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        static final int DELETE = 0x00010000; // 16
        static final int READ_CONTROL = 0x00020000; // 17
        static final int WRITE_DAC = 0x00040000; // 18
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  8. tests/test_compat.py

    
    @needs_pydanticv2
    def test_get_model_config():
        # For coverage in Pydantic v2
        class Foo(BaseModel):
            model_config = ConfigDict(from_attributes=True)
    
        foo = Foo()
        config = _get_model_config(foo)
        assert config == {"from_attributes": True}
    
    
    def test_complex():
        app = FastAPI()
    
        @app.post("/")
        def foo(foo: Union[str, List[int]]):
            return foo
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/Gradle.xml

        <inspection_tool class="62125fc1-a999-3cf1-9b9b-a30b4375d9bf" enabled="true" level="WARNING" enabled_by_default="true" />
        <inspection_tool class="73cd39e8-e54e-3a38-ad1b-b883fff4b1eb" enabled="true" level="WEAK WARNING" enabled_by_default="true" editorAttributes="INFO_ATTRIBUTES" />
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbCopyUtil.java

            try {
                return dest.openUnshared(
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
                    SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES | ( alsoRead ? SmbConstants.FILE_READ_DATA : 0 ),
                    SmbConstants.FILE_NO_SHARE,
                    attrs,
                    0);
            }
            catch ( SmbAuthException sae ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
Back to top