Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for unwrap (0.22 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

      tensorflow::unwrap(ctx)->SetExecutorForThread(executor->executor());
    }
    
    TFE_Executor* TFE_ContextGetExecutorForThread(TFE_Context* ctx) {
      return new TFE_Executor(&tensorflow::unwrap(ctx)->Executor());
    }
    
    void TFE_HostAddressSpace(TFE_Context* ctx, TF_Buffer* buf) {
      auto address_space = tensorflow::DeviceNameUtils::AddressSpace(
          tensorflow::unwrap(ctx)->HostCPUParsedName());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

      tensorflow::unwrap(ctx)->StartStep();
    }
    
    void TFE_ContextEndStep(TFE_Context* ctx) {
      tensorflow::unwrap(ctx)->EndStep();
    }
    
    const TFE_OpAttrs* TFE_OpGetAttrs(const TFE_Op* op) {
      return tensorflow::wrap(tensorflow::unwrap(op)->GetOpAttrs());
    }
    
    void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs) {
      tensorflow::unwrap(op)->AddAttrs(tensorflow::unwrap(attrs));
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ContextConfigTest.java

                Assert.assertEquals("b@r", na.getPassword());
            }
    
            try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) {
                Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
                NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                        SmbTransportInternal trans = this.exclusiveTransport;
                        try ( SmbSessionInternal smbSession = trans.getSmbSession(this.ctx, host, targetDomain).unwrap(SmbSessionInternal.class);
                              SmbTreeImpl uct = smbSession.getSmbTree(share, null).unwrap(SmbTreeImpl.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    .unwrap(SmbTransportInternal.class);
                  SmbSessionInternal smbSession = smbTransport.getSmbSession(tf, dc.getHostName(), null).unwrap(SmbSessionInternal.class);
                  SmbTreeInternal tree = smbSession.getSmbTree(tf.getConfig().getLogonShare(), null).unwrap(SmbTreeInternal.class) ) {
                tree.connectLogon(tf);
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/SessionTest.java

                      SmbSessionInternal session = treeHandle.getSession().unwrap(SmbSessionInternal.class) ) {
                    assertNotNull(session);
                    try ( SmbTransportInternal transport = session.getTransport().unwrap(SmbTransportInternal.class) ) {
                        assertNotNull(transport);
                        transport.disconnect(true, true);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      int real_num_outputs = expected_max_outputs;
      TFE_OpSetCancellationManager(op_.get(), wrap(cancellation_manager_), status);
      if (TF_GetCode(status) != TF_OK) return;
    
      // unwrap op_ and set step_id only if valid step id value was set.
      // Currently only required for non-TFRT use cases, e.g., EagerOp.
      if (step_id_.has_value()) {
        tensorflow::unwrap(op_.get())->SetStepId(step_id_.value());
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

                break;
            default:
                throw new SmbException(rpc.retval, false);
            }
    
            for ( int si = 0; si < sids.length; si++ ) {
                SID out = sids[ si ].unwrap(SID.class);
                LsarTranslatedName resp = rpc.names.names[ si ];
                out.domainName = null;
                switch ( resp.sid_type ) {
                case jcifs.SID.SID_TYPE_USER:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                    DfsReferralData initial = null;
                    @SuppressWarnings ( "resource" )
                    SmbTransportInternal trans = dc != null ? dc.unwrap(SmbTransportInternal.class) : null;
                    if ( trans != null ) {
                        // get domain referral
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/TimeoutTest.java

                    try ( SmbTreeHandleInternal th = (SmbTreeHandleInternal) f.getTreeHandle();
                          SmbSessionInternal session = th.getSession().unwrap(SmbSessionInternal.class);
                          SmbTransportInternal trans = session.getTransport().unwrap(SmbTransportInternal.class) ) {
                        t = trans;
                    }
                    f.close();
    
                    Thread.sleep(2 * soTimeout);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
Back to top