Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for expectClose (0.28 sec)

  1. tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc

          new XlaHostRecvDeviceContext(stream.get(), gpu_dst, shape, done_event);
      TF_ASSERT_OK(device_context->CopyDeviceTensorToCPUSync(
          &device_tensor, "", device_.get(), &dest_cpu_tensor));
    
      tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor);
      device_context->Unref();
    }
    
    TEST_F(XlaHostSendRecvDeviceContextTest, CopyCPUTensorToDevice) {
      SetDevice("GPU");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SftpResource.groovy

        }
    
        void expectOpen() {
            server.expectOpen(pathOnServer)
        }
    
        def allowWrite() {
            server.allowWrite(pathOnServer)
        }
    
        void expectClose() {
            server.expectClose(pathOnServer)
        }
    
        void expectFileDownload() {
            // TODO - should not do this stat request
            server.expectStat(pathOnServer)
            server.expectFileDownload(pathOnServer)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

            expectations << new SftpAllowHandle(SftpConstants.SSH_FXP_READ, path)
        }
    
        void expectClose(String path) {
            expectations << new SftpExpectOneHandle(SftpConstants.SSH_FXP_CLOSE, "CLOSE", path)
        }
    
        void expectFileDownload(String path) {
            expectOpen(path)
            allowRead(path)
            expectClose(path)
        }
    
        void expectFileUpload(String path) {
            expectOpen(path)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top