Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for writeStringToFile (0.15 sec)

  1. platforms/documentation/docs/src/snippets/workerApi/md5CustomTask/groovy/buildSrc/src/main/java/CreateMD5.java

                    Thread.sleep(3000); // <4>
                    Provider<RegularFile> md5File = getDestinationDirectory().file(sourceFile.getName() + ".md5");  // <5>
                    FileUtils.writeStringToFile(md5File.get().getAsFile(), DigestUtils.md5Hex(stream), (String) null);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/io.h

    absl::StatusOr<std::string> CreateTmpDir();
    
    // Convenience function for writing string `data` to file without the need to
    // pass `tsl::Env` instance. Internally it uses the default `tsl::Env::Default`.
    absl::Status WriteStringToFile(absl::string_view file_path,
                                   absl::string_view data);
    
    // Convenience function for reading string data from file at `file_path` without
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/PCHUtils.java

            File headerFileCopy = new File(generatedSourceDir, sourceFile.getName());
            try {
                FileUtils.copyFile(sourceFile, headerFileCopy);
                FileUtils.writeStringToFile(generatedSource, "#include \"".concat(headerFileCopy.getName()).concat("\""), StandardCharsets.UTF_8);
                return generatedSource;
            } catch (IOException e) {
                throw new UncheckedIOException(e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/common/controller.cc

      BuildModel();
    }
    Controller::~Controller() { delete api_def_map_; }
    
    const void Controller::WriteFile(const string& file_path,
                                     const SourceCode& code) const {
      TF_CHECK_OK(WriteStringToFile(env_, file_path, code.Render())) << file_path;
    }
    
    const std::vector<OpSpec>& Controller::GetModelOps() const {
      return operators_;
    }
    
    void Controller::InitializeOpApi() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc

      //
      // bazel test --test_strategy=local \
      //   tensorflow/compiler/jit/tests:auto_clustering_test
      bool update_golden = false;
      if (update_golden) {
        TF_RETURN_IF_ERROR(WriteStringToFile(
            Env::Default(), string(golden_summary_file_path), clustering_summary));
      }
    
      string golden_file_contents;
      TF_RETURN_IF_ERROR(ReadFileToString(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 12:11:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top