Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for GetHandle (0.2 sec)

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

    
        /**
         * 
         */
        private SmbEnumerationUtil () {}
    
    
        private static DcerpcHandle getHandle ( CIFSContext ctx, SmbResourceLocator loc, Address address, String ep )
                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx);
        }
    
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SIDCacheImpl.java

        }
    
    
        void resolveSids0 ( String authorityServerName, CIFSContext tc, jcifs.SID[] sids ) throws CIFSException {
            synchronized ( this.sidCache ) {
                try ( DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\lsarpc]", tc) ) {
                    String server = authorityServerName;
                    int dot = server.indexOf('.');
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @return a DCERPC handle for the given url
         * @throws MalformedURLException
         * @throws DcerpcException
         */
        public static DcerpcHandle getHandle ( String url, CIFSContext tc ) throws MalformedURLException, DcerpcException {
            return getHandle(url, tc, false);
        }
    
    
        /**
         * Get a handle to a service
         * 
         * @param url
         * @param tc
         * @param unshared
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeOutputStream.java

        protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            return this.handle.ensureOpen();
        }
    
    
        /**
         * @return the handle
         */
        protected SmbPipeHandleImpl getHandle () {
            return this.handle;
        }
    
    
        @Override
        public void close () {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

                    SID[] sids) throws IOException {
            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    
    synchronized (sid_cache) {
            try {
                handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName +
                        "[\\PIPE\\lsarpc]", auth);
                String server = authorityServerName;
                int dot = server.indexOf('.');
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.cc

      if (isa<tracing::TracingOperation>(op.get())) {
        TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingOperation>(op.get())->SetOpName(
            absl::StrCat("OnesLike", ToId(t.GetHandle())).c_str()));
      }
      TF_RETURN_IF_ERROR(op->AddInput(t.GetHandle()));
      int num_outputs = 1;
      std::vector<AbstractTensorHandle*> outputs(num_outputs);
      TF_RETURN_IF_ERROR(
          op->Execute(absl::Span<AbstractTensorHandle*>(outputs), &num_outputs));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients.h

      TapeTensor(const TapeTensor& other);
      ~TapeTensor();
    
      int64_t GetID() const;
      tensorflow::DataType GetDType() const;
    
      AbstractTensorHandle* ZerosLike() const;
    
      AbstractTensorHandle* GetHandle() const;
    
     private:
      AbstractTensorHandle* handle_;
    };
    
    // A tracing/immediate-execution agnostic tape.
    //
    // Gradient functions defined for this tape must support handling null incoming
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        protected int max_recv = max_xmit;
        protected int state = 0;
        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        public static DcerpcHandle getHandle(String url,
                    NtlmPasswordAuthentication auth)
                    throws UnknownHostException, MalformedURLException, DcerpcException {
            if (url.startsWith("ncacn_np:")) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileLocationTest.java

            }
        }
    
    
        @Test
        public void testBindingAddress () throws DcerpcException, MalformedURLException, CIFSException, IOException {
            try ( DcerpcHandle h = DcerpcHandle
                    .getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", "testing", "\\pipe\\srvsvc", "1.2.3.4"), getContext()) ) {
    
                assertEquals("testing", h.getServer());
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
Back to top