- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 181 for Embed0 (0.17 sec)
-
src/encoding/json/decode_test.go
Level1e int `json:"x"` // annihilated by Embed0a.Level1e } type Embed0a struct { Level1a int `json:"Level1a,omitempty"` Level1b int `json:"LEVEL1B,omitempty"` Level1c int `json:"-"` Level1d int // annihilated by Embed0's Level1d Level1f int `json:"x"` // annihilated by Embed0's Level1e } type Embed0b Embed0 type Embed0c Embed0 type Embed0p struct { image.Point }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
test/fixedbugs/notinheap2.go
// Heap allocation is not okay. var y *nih var y2 *struct{ x nih } var y3 *[1]nih var z []nih var w []nih var n int var sink interface{} type embed1 struct { // implicitly notinheap x nih } type embed2 [1]nih // implicitly notinheap type embed3 struct { // implicitly notinheap x [1]nih } // Type aliases inherit the go:notinheap-ness of the type they alias. type nihAlias = nih
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 17:46:15 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/embed.go
have := make(map[string]bool) var list []string for _, e := range *v.Embed { for _, pattern := range e.Patterns { files, ok := base.Flag.Cfg.Embed.Patterns[pattern] if !ok { base.ErrorfAt(e.Pos, 0, "invalid go:embed: build system did not map pattern: %s", pattern) } for _, file := range files { if base.Flag.Cfg.Embed.Files[file] == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 10 18:22:02 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor_embed.txt
cmp vendor/example.com/a/subdir/embed.txt a/subdir/embed.txt cmp vendor/example.com/a/subdir/test/embed.txt a/subdir/test/embed.txt cmp vendor/example.com/a/subdir/test/xtest/embed.txt a/subdir/test/xtest/embed.txt cd broken_no_matching_files ! go mod vendor stderr '^go: resolving embeds in example.com/brokendep: pattern foo.txt: no matching files found$' go mod vendor -e
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:14:55 UTC 2024 - 4.2K bytes - Viewed (0) -
manifests/manifest.go
// See the License for the specific language governing permissions and // limitations under the License. package manifests import ( "embed" "io/fs" "os" ) // FS embeds the manifests // //go:embed all:charts/* profiles/* var FS embed.FS // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in // FS will be used func BuiltinOrDir(dir string) fs.FS {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 15 02:30:16 UTC 2023 - 935 bytes - Viewed (0) -
pkg/ctrlz/assets/assets.go
// See the License for the specific language governing permissions and // limitations under the License. package assets import ( "embed" "html/template" ) // FS embeds the templates // //go:embed templates/* static/* var FS embed.FS func ParseTemplate(l *template.Template, name string) *template.Template { b, err := FS.ReadFile(name) if err != nil { panic(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 900 bytes - Viewed (0) -
test/fixedbugs/notinheap.go
// license that can be found in the LICENSE file. // Test type-checking errors for go:notinheap. package p //go:notinheap type nih struct{} type embed4 map[nih]int // ERROR "incomplete \(or unallocatable\) map key not allowed" type embed5 map[int]nih // ERROR "incomplete \(or unallocatable\) map value not allowed" type emebd6 chan nih // ERROR "chan of incomplete \(or unallocatable\) type not allowed"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 17:46:15 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
} rf.imports = append(rf.imports, rawImport{path: imp.path, position: fset.Position(imp.pos)}) } rf.cgoDirectives = strings.Join(cgoDirectives, "\n") for _, emb := range info.embeds { rf.embeds = append(rf.embeds, embed{emb.pattern, emb.pos}) } } return p } // extractCgoDirectives filters only the lines containing #cgo directives from the input, // which is the comment on import "C".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/embed/embed.go
// //go:embed image template html/index.html // var content embed.FS // // The difference is that ‘image/*’ embeds ‘image/.tempfile’ while ‘image’ does not. // Neither embeds ‘image/dir/.tempfile’. // // If a pattern begins with the prefix ‘all:’, then the rule for walking directories is changed // to include those files beginning with ‘.’ or ‘_’. For example, ‘all:image’ embeds // both ‘image/.tempfile’ and ‘image/dir/.tempfile’. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:42:51 UTC 2024 - 13.5K bytes - Viewed (0) -
tensorflow/compiler/aot/embedded_protocol_buffers.h
const ::tensorflow::protobuf::MessageLite* message; }; // Embeds a sequence of protocol buffers into an object file. // // `target_triple` is the target triple for the target architecture for the // generated object file. // // `protobufs_to_embed` describes the protocol buffers to embed into the // resulting object file. The C++ shim for protobufs_to_embed[i] is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 10 18:19:50 UTC 2024 - 3.8K bytes - Viewed (0)