Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for writeStringToFile (0.21 sec)

  1. tensorflow/compiler/aot/compile.cc

      TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_metadata_object,
                                           metadata_result.object_file_data));
      string header;
      TF_RETURN_IF_ERROR(GenerateHeader(codegen_opts, config, compile_result,
                                        metadata_result, &header));
      TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_header, header));
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/codegen_test.cc

      const bool update_golden = false;
      string golden_file_name =
          GetDataDependencyFilepath(tensorflow_relative_golden_file_name);
    
      if (update_golden) {
        TF_EXPECT_OK(
            WriteStringToFile(Env::Default(), golden_file_name, expected_contents));
      }
    
      string golden_file_contents;
      TF_ASSERT_OK(ReadFileToString(Env::Default(), golden_file_name,
                                    &golden_file_contents));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            writeFile(content, destination, Charset.defaultCharset().name());
        }
    
        public static void writeFile(String content, File destination, String encoding) {
            try {
                FileUtils.writeStringToFile(destination, content, encoding);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

        }
    
        public static void writeFile(String content, File destination, String encoding) {
            logDeprecation();
            try {
                FileUtils.writeStringToFile(destination, content, encoding);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        }
    
        public TestFile writelns(String... lines) {
            return writelns(Arrays.asList(lines));
        }
    
        public TestFile write(Object content) {
            try {
                FileUtils.writeStringToFile(this, content.toString(), StandardCharsets.UTF_8);
            } catch (IOException e) {
                throw new RuntimeException(String.format("Could not write to test file '%s'", this), e);
            }
            return this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top