- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,678 for mangled (0.31 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.h
// Return a TensorProto mangled as a string. string MangleTensor(const TensorProto& tensor); // Demangle a string mangled with MangleTensor. Status DemangleTensor(absl::string_view str, TensorProto* proto); // Return a DataType mangled as a string. string MangleDataType(const DataType& dtype); // Demangle a string mangled with MangleDataType. Status DemangleDataType(absl::string_view str, DataType* proto);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 28 22:08:30 UTC 2020 - 2.4K bytes - Viewed (0) -
src/cmd/internal/pkgpath/pkgpath_test.go
testenv.MustHaveExec(t) const input = "pä世🜃" tests := []struct { env string fail bool mangled string }{ { env: "v1", mangled: "p___", }, { env: "v2", mangled: "p..u00e4..u4e16..U0001f703", }, { env: "v3", mangled: "p_u00e4_u4e16_U0001f703", }, { env: "error", fail: true, }, } cmd := os.Args[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 18:26:59 UTC 2022 - 2.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/issue44031/a/a.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a type ATypeWithALoooooongName interface { // a long name, so the type descriptor symbol name is mangled M()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 281 bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/testdata/issue28721.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // cgo should reject the use of mangled C names. package main /* typedef struct a { int i; } a; void fn(void) {} */ import "C" type B _Ctype_struct_a // ERROR HERE var a _Ctype_struct_a // ERROR HERE type A struct { a *_Ctype_struct_a // ERROR HERE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 506 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/mangle/plugin.go
package main import ( "fmt" "strings" ) // Issue 58800: // Instantiated function name may contain weird characters // that confuse the external linker, so it needs to be // mangled. type S struct { X int `parser:"|@@)"` } //go:noinline func F[T any]() {} func P() { F[S]() } // Issue 62098: the name mangling code doesn't handle some string // symbols correctly.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 18 15:53:47 UTC 2023 - 722 bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
} } if !found { log.Fatalf("%s emit to bad dir: got error:\n %v\nwanted error with one of:\n %+v", which, got, want) } } // Mangle the output directory to produce something nonexistent. mangled := *outdirflag + "_MANGLED" if err := coverage.WriteMetaDir(mangled); err == nil { log.Fatal("expected error from WriteMetaDir to nonexistent dir") } else { got := fmt.Sprintf("%v", err) checkWant("meta data", got)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0) -
test/fixedbugs/issue8158.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 767 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/constant_utils.cc
content.assign(reinterpret_cast<const char*>(&complex_value), sizeof(complex_value)); repr.set_tensor_content(content); std::string mangled = tensorflow::mangling_util::MangleTensor(repr); return mlir::TF::TensorProtoAttr::get(shaped_type, mangled); } else { return tensorflow::Status(absl::StatusCode::kInvalidArgument, "Unsupported type"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.5K bytes - Viewed (0) -
test/nul1.go
var u = "\xab\x00\xfc" if len(s) != 2 || s[0] != 0xc2 || s[1] != 0xff || len(t) != 2 || t[0] != 0xd0 || t[1] != 0xfe || len(u) != 3 || u[0] != 0xab || u[1] != 0x00 || u[2] != 0xfc { println("BUG: non-UTF-8 string mangled") os.Exit(2) } fmt.Print(` package main var x = "in string ` + "\x00" + `" // ERROR "NUL" var y = ` + "`in raw string \x00 foo`" + ` // ERROR "NUL" // in comment ` + "\x00" + ` // ERROR "NUL"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 22:28:40 UTC 2016 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
absl::string_view pbtxt; TF_RETURN_IF_ERROR(ConsumePrefix(str, kDataTypePrefix, &pbtxt)); if (!DataType_Parse(string(pbtxt), proto)) { return errors::FailedPrecondition( "Could not parse TFDataType mangled proto"); } return absl::OkStatus(); } } // namespace mangling_util
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0)