Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 226 for Embed0 (0.11 sec)

  1. test/interface/embed.go

    Rob Pike <******@****.***> 1329633221 +1100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 924 bytes
    - Viewed (0)
  2. test/ken/embed.go

    Eric Engestrom <******@****.***> 1459683807 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go

    		{map[string]embed{"key": teb}, "(map[string]dump.embed) (len=1) {\n  (string) (len=3) \"key\": (dump.embed) {\n    s: (string) (len=4) \"test\"\n  }\n}\n"},
    		{map[string]embedwrap{"key": tebw}, "(map[string]dump.embedwrap) (len=1) {\n  (string) (len=3) \"key\": (dump.embedwrap) {\n    embed: (dump.embed) {\n      s: (string) (len=4) \"test\"\n    },\n    e: (*dump.embed)({\n      s: (string) (len=4) \"test\"\n    })\n  }\n}\n"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue42881.go

    type (
    	T1 interface{ comparable }
    	T2 interface{ int }
    )
    
    var (
    	_ comparable // ERROR "cannot use type comparable outside a type constraint: interface is (or embeds) comparable"
    	_ T1         // ERROR "cannot use type T1 outside a type constraint: interface is (or embeds) comparable"
    	_ T2         // ERROR "cannot use type T2 outside a type constraint: interface contains type constraints"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 567 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/embed_fmt.txt

    ! go build xnofmt.go
    stderr 'xnofmt.go:5:12: pattern missing.txt: no matching files found'
    
    -- xnofmt.go --
    package p
    
    import "embed"
    
    //go:embed missing.txt
    var X  embed.FS
    -- xfmt.ref --
    package p
    
    import "embed"
    
    //go:embed missing.txt
    var X embed.FS
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 19 20:58:35 UTC 2021
    - 348 bytes
    - Viewed (0)
  10. 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)
Back to top