Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for Embed0 (0.12 sec)

  1. test/interface/embed1.dir/embed0.go

    Russ Cox <******@****.***> 1646781395 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:31:58 UTC 2022
    - 411 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/go/testdata/script/embed.txt

    import "embed"
    
    //go:embed z*t*t
    var Z string
    
    -- x.go2 --
    package p
    
    import "embed"
    
    //go:embed *t
    var X embed.FS
    
    -- x.go3 --
    package p
    
    import "embed"
    
    //go:embed all:t
    var X embed.FS
    
    -- x.txt --
    hello
    
    -- y.txt --
    -- z.txt --
    -- x.txt2 --
    not hello
    
    -- use/use.go --
    package use
    
    import _ "m"
    -- go.mod --
    module m
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. 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)
  6. src/time/embed.go

    // Copyright 2020 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.
    
    // This file is used with build tag timetzdata to embed tzdata into
    // the binary.
    
    //go:build timetzdata
    
    package time
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 304 bytes
    - Viewed (0)
  7. 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)
  8. pkg/test/datasets/validation/dataset.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package validation
    
    import "embed"
    
    // FS embeds the manifests
    //
    //go:embed dataset/*
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 689 bytes
    - Viewed (0)
  9. src/go/build/read_test.go

    	},
    	{
    		"package p\nimport \"embed\"\nvar s = \"/*\"\n//go:embed x\nvar files embed.FS",
    		`test:4:12:x`,
    	},
    	{
    		`package p
    		 import "embed"
    		 var s = "\"\\\\"
    		 //go:embed x
    		 var files embed.FS`,
    		`test:4:15:x`,
    	},
    	{
    		"package p\nimport \"embed\"\nvar s = `/*`\n//go:embed x\nvar files embed.FS",
    		`test:4:12:x`,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. 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)
Back to top