Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for makeTempdir (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

        ctx_.loadDialect<mlir::func::FuncDialect, mlir::TF::TensorFlowDialect,
                         mlir::tf_saved_model::TensorFlowSavedModelDialect>();
      }
    
      absl::StatusOr<std::string> MakeTempDir() {
        std::string tmp_dir{};
        if (!env_->LocalTempFilename(&tmp_dir)) {
          return absl::InternalError("Failed to create temp file.");
        }
    
        TF_CHECK_OK(env_->CreateDir(tmp_dir));
        return tmp_dir;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	}
    	tg.must(robustio.RemoveAll(path))
    	tg.temps = append(tg.temps, path)
    }
    
    // makeTempdir makes a temporary directory for a run of testgo. If
    // the temporary directory was already created, this does nothing.
    func (tg *testgoData) makeTempdir() {
    	tg.t.Helper()
    	if tg.tempdir == "" {
    		var err error
    		tg.tempdir, err = os.MkdirTemp("", "gotest")
    		tg.must(err)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top