Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for dumphdr (0.09 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc

        const absl::string_view dump_file_name) {
      const absl::StatusOr<std::string> dump_dir = GetMlirDumpDir();
      if (!dump_dir.ok()) {
        return dump_dir.status();
      }
    
      auto* env = tsl::Env::Default();
      TF_RETURN_IF_ERROR(env->RecursivelyCreateDir(*dump_dir));
    
      const std::string dump_file_path =
          tsl::io::JoinPath(*dump_dir, dump_file_name);
      TF_ASSIGN_OR_RETURN(std::unique_ptr<llvm::raw_ostream> file,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:38:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/encoding/hex/hex_test.go

    		}
    	}
    }
    
    func TestDumper_doubleclose(t *testing.T) {
    	var out strings.Builder
    	dumper := Dumper(&out)
    
    	dumper.Write([]byte(`gopher`))
    	dumper.Close()
    	dumper.Close()
    	dumper.Write([]byte(`gopher`))
    	dumper.Close()
    
    	expected := "00000000  67 6f 70 68 65 72                                 |gopher|\n"
    	if out.String() != expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/debug/debug_test.cc

      pm.addPass(std::make_unique<AlwaysFailPass>());
      ASSERT_TRUE(mlir::failed(pm.run(*module_)));
    
      std::string dump_dir;
      TF_ASSERT_OK(GetDumpDir(&dump_dir));
    
      std::string mlir_dump;
      TF_ASSERT_OK(tsl::ReadFileToString(
          tsl::Env::Default(),
          tsl::io::JoinPath(dump_dir, "tfl_mlir_crash_repro.mlir"), &mlir_dump));
      EXPECT_THAT(mlir_dump, Not(IsEmpty()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/encoding/hex/hex.go

    	if len(data) == 0 {
    		return ""
    	}
    
    	var buf strings.Builder
    	// Dumper will write 79 bytes per complete 16 byte chunk, and at least
    	// 64 bytes for whatever remains. Round the allocation up, since only a
    	// maximum of 15 bytes will be wasted.
    	buf.Grow((1 + ((len(data) - 1) / 16)) * 79)
    
    	dumper := Dumper(&buf)
    	dumper.Write(data)
    	dumper.Close()
    	return buf.String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules.kt

    // WITH_FIR_TEST_COMPILER_PLUGIN
    // DUMP_IR
    
    // MODULE: lib
    // MODULE_KIND: LibraryBinary
    // FILE: p3/foo.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    
    @MyComposable
    public fun Foo(
        text: @MyComposable () -> Unit,
    ) {}
    
    // MODULE: main(lib)
    // FILE: main.kt
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    import p3.Foo
    
    @MyComposable
    public fun Bar() {
        Foo(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 26 21:57:23 UTC 2024
    - 506 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableInlineFunctionExpressionParameter.kt

    // WITH_FIR_TEST_COMPILER_PLUGIN
    // DUMP_IR
    
    // MODULE: lib
    // MODULE_KIND: LibraryBinary
    // FILE: p2/foo.kt
    package p2
    
    class A {
        fun callA() {}
    }
    
    class B {
        fun callB() {}
    }
    // MODULE: lib2(lib)
    // MODULE_KIND: LibraryBinary
    // FILE: p3/bar.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    import p2.A
    
    interface RowScope
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 20:08:24 UTC 2024
    - 639 bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/bugsFromRealComposeApps/constExprLateInitializer.kt

    // WITH_FIR_TEST_COMPILER_PLUGIN
    // DUMP_IR
    
    // FILE: data/PodcastWithExtraInfo.kt
    package data
    
    class PodcastWithExtraInfo {
        lateinit var url: String
        lateinit var lastEpisodeDate: kotlin.time.TimeSource?
            set(value) {
                field = value
            }
        init {
            lastEpisodeDate = null
            url = ""
        }
    
        operator fun component1() = url
        operator fun component2() = lastEpisodeDate
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 18 11:28:11 UTC 2024
    - 595 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/annotationForFunctionOutOfCodeGenTarget.kt

    // WITH_FIR_TEST_COMPILER_PLUGIN
    // DUMP_IR
    // CHECK_CALLS_WITH_ANNOTATION: org.jetbrains.kotlin.fir.plugin.MyComposable
    
    // MODULE: main
    // FILE: main.kt
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    import p3.BookmarkButton
    
    @MyComposable
    fun PostCardSimple(
        navigateToArticle: (String) -> Unit,
        isFavorite: Boolean,
        onToggleFavorite: () -> Unit
    ) {
        BookmarkButton(
            isBookmarked = isFavorite,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Mar 26 07:06:11 UTC 2024
    - 656 bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules2.kt

    // WITH_FIR_TEST_COMPILER_PLUGIN
    // DUMP_IR
    
    // MODULE: lib
    // MODULE_KIND: LibraryBinary
    // FILE: p3/foo.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    
    fun setContent(content: @MyComposable () -> Unit): Int {
        content()
        return 3
    }
    
    // MODULE: main(lib)
    // FILE: main.kt
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    import p3.setContent
    
    fun test(): Int {
        return setContent {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 26 21:57:23 UTC 2024
    - 542 bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule.kt

    // WITH_FIR_TEST_COMPILER_PLUGIN
    // DUMP_IR
    
    // MODULE: lib
    // MODULE_KIND: LibraryBinary
    // FILE: p3/foo.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    
    @MyComposable
    fun Scaffold(topBar: @MyComposable () -> Unit, bottomBar: @MyComposable () -> Unit) {
    }
    
    // MODULE: main(lib)
    // FILE: main.kt
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    import p3.Scaffold
    
    @MyComposable
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 12:26:50 UTC 2024
    - 633 bytes
    - Viewed (0)
Back to top