- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for current_pos (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc
} ~WritableFileRawStream() override = default; uint64_t current_pos() const override { int64_t position; if (file->Tell(&position).ok()) { return position; } else { // MLIR uses os.tell() to determine whether something was written by // a subroutine or not, so it's important we have a working current_pos(). LOG(WARNING)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 03:03:46 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc
struct WritableFileRawStream : public llvm::raw_ostream { explicit WritableFileRawStream(WritableFile* file) : file(file) { SetUnbuffered(); } ~WritableFileRawStream() override = default; uint64_t current_pos() const override { return 0; } void write_impl(const char* ptr, size_t size) override { // If an error is encountered, null out the file. if (file) { Status s = file->Append(StringPiece(ptr, size));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc
static const char* kTestInstrumentationSearch = "tf.Identity"; struct StringStream : public llvm::raw_ostream { StringStream() { SetUnbuffered(); } ~StringStream() override = default; uint64_t current_pos() const override { return 0; } void write_impl(const char* ptr, size_t size) override { ss.write(ptr, size); } std::stringstream ss; }; class TestPassInstrumentation : public ::testing::Test {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 19 22:54:26 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug.cc
} ~WritableFileRawStream() override = default; uint64_t current_pos() const override { int64_t position; if (file->Tell(&position).ok()) { return position; } else { // MLIR uses os.tell() to determine whether something was written by // a subroutine or not, so it's important we have a working current_pos(). LOG(WARNING)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 10 02:44:52 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
} private: explicit WritableFileWrapper(std::unique_ptr<tsl::WritableFile> file) : file_(std::move(file)) { SetBuffered(); } uint64_t current_pos() const override { int64_t position; if (file_->Tell(&position).ok()) { return position; } else { return -1; } } void write_impl(const char* ptr, size_t size) override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:38:57 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/internal/DefaultOperatingSystem.java
import org.gradle.internal.os.OperatingSystem; import org.gradle.nativeplatform.OperatingSystemFamily; public class DefaultOperatingSystem implements OperatingSystemInternal { private static final OperatingSystem CURRENT_OS = OperatingSystem.current(); private final String name; private final OperatingSystem internalOs; public DefaultOperatingSystem(String name) { this(name, OperatingSystem.forName(name)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0) -
internal/disk/stat_test.go
ReadMerges: 420084, ReadSectors: 66247626, ReadTicks: 2398227, WriteIOs: 7077314, WriteMerges: 8720147, WriteSectors: 157049224, WriteTicks: 7469810, CurrentIOs: 0, TotalTicks: 7580552, ReqTicks: 9869354, DiscardIOs: 46037, DiscardMerges: 0, DiscardSectors: 41695120, DiscardTicks: 1315, FlushIOs: 0,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 11.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java
} public static OperatingSystem current() { if (currentOs == null) { currentOs = forName(System.getProperty("os.name")); } return currentOs; } // for testing current() static void resetCurrent() { currentOs = null; } public static OperatingSystem forName(String os) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 11.1K bytes - Viewed (0)