Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Embed0 (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/noder/noder.go

    	for _, pos := range pragma.Pos {
    		if pos.Flag&pragma.Flag != 0 {
    			p.error(syntax.Error{Pos: pos.Pos, Msg: "misplaced compiler directive"})
    		}
    	}
    	if len(pragma.Embeds) > 0 {
    		for _, e := range pragma.Embeds {
    			p.error(syntax.Error{Pos: e.Pos, Msg: "misplaced go:embed directive"})
    		}
    	}
    	if pragma.WasmImport != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. src/go/build/read.go

    			// and we can pretend they are not there to help go list succeed with what it knows.
    			embs, err := parseGoEmbed(string(line), pos)
    			if err == nil {
    				info.embeds = append(info.embeds, embs...)
    			}
    		}
    	}
    
    	return nil
    }
    
    // isValidImport checks if the import is a valid import using the more strict
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/README.md

    ## Resources for Go's trace viewer
    
    Go execution trace UI (`go tool trace`) embeds
    Chrome's trace viewer (Catapult) following the
    [instructions](
    https://chromium.googlesource.com/catapult/+/refs/heads/master/tracing/docs/embedding-trace-viewer.md). This directory contains
    the helper files to embed Chrome's trace viewer.
    
    The current resources were generated/copied from
    [`Catapult@9508452e18f130c98499cb4c4f1e1efaedee8962`](
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/union.go

    				case t.typ == universeComparable.Type():
    					check.error(tlist[i], InvalidUnion, "cannot use comparable in union")
    				case tset.comparable:
    					check.errorf(tlist[i], InvalidUnion, "cannot use %s in union (%s embeds comparable)", t, t)
    				}
    				continue // terms with interface types are not subject to the no-overlap rule
    			}
    
    			// Report overlapping (non-disjoint) terms such as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/read.go

    		}
    		sf.savedImports = ret
    	})
    	return sf.savedImports
    }
    
    func (sf *sourceFile) embeds() []embed {
    	embedsOffset := sf.embedsOffset()
    	r := sf.d.readAt(embedsOffset)
    	numEmbeds := r.int()
    	ret := make([]embed, numEmbeds)
    	for i := range ret {
    		ret[i] = embed{r.string(), r.tokpos()}
    	}
    	return ret
    }
    
    func (sf *sourceFile) directives() []build.Directive {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top