Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 461 for HANDLE (0.04 sec)

  1. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

        private final SmbFileHandleImpl handle;
        private final int filter;
        private final boolean recursive;
    
    
        /**
         * @param fh
         * @param filter
         * @param recursive
         * 
         */
        public SmbWatchHandleImpl ( SmbFileHandleImpl fh, int filter, boolean recursive ) {
            this.handle = fh;
            this.filter = filter;
            this.recursive = recursive;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

    public class LsaPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        public LsaPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException {
            this.handle = handle;
            if (server == null)
                server = "\\\\";
            MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                this.output = null;
            }
    
            try {
                if ( wasOpen ) {
                    this.handle.close();
                }
                else if ( this.handle != null ) {
                    this.handle.release();
                }
                this.handle = null;
            }
            finally {
                if ( this.treeHandle != null ) {
                    this.treeHandle.release();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            return this.handle.getSessionKey();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.dcerpc.DcerpcHandle#doSendReceiveFragment(byte[], int, int, byte[])
         */
        @Override
        protected int doSendReceiveFragment ( byte[] buf, int off, int length, byte[] inB ) throws IOException {
            if ( this.handle.isStale() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

    public class SamrPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        public SamrPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException {
            this.handle = handle;
            if (server == null)
                server = "\\\\";
            MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this);
            try {
                handle.sendrecv(rpc);
            } catch (DcerpcException de) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PipeTest.java

    
        @Test
        public void testSRVS () throws DcerpcException, IOException {
            try ( DcerpcHandle handle = DcerpcHandle
                    .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) {
                MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs());
                handle.sendrecv(rpc);
                assertEquals(0, rpc.retval);
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SIDCacheImpl.java

            synchronized ( this.sidCache ) {
                try ( DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", tc) ) {
                    SamrPolicyHandle policyHandle = new SamrPolicyHandle(handle, authorityServerName, 0x00000030);
                    SamrDomainHandle domainHandle = new SamrDomainHandle(handle, policyHandle, 0x00000200, domsid.unwrap(sid_t.class));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

        DcerpcHandle handle;
    
        public SamrDomainHandle(DcerpcHandle handle,
                    SamrPolicyHandle policyHandle,
                    int access,
                    rpc.sid_t sid) throws IOException {
            this.handle = handle;
            MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

                policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800);
                SID.resolveSids(handle, policyHandle, sids);
            } finally {
                if (handle != null) {
                    if (policyHandle != null) {
                        policyHandle.close();
                    }
                    handle.close();
                }
            }
    }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_debug.cc

    std::vector<int64_t> TensorShapeAsVector(const tensorflow::TensorHandle& handle,
                                             absl::Status* status) {
      std::vector<int64_t> shape;
      int rank = -1;
      *status = handle.NumDims(&rank);
      if (!status->ok()) {
        return shape;
      }
      shape.reserve(rank);
      for (int i = 0; i < rank; ++i) {
        int64_t dim;
        *status = handle.Dim(i, &dim);
        if (!status->ok()) {
          return shape;
        }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top