- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,048 for Initialize (0.15 sec)
-
tensorflow/c/experimental/ops/gen/README.md
* Call `tensorflow::port::InitMain` and parse any flags * Initialize config objects (e.g. `PathConfig`, `LangConfig` from flags) * Initialize a new `LangGenerator` from these config objects * Call this generator to create/write `SourceCode` to a file In class `LangGenerator` in *lang_generator.cc*: * Initialize a new `Controller` from the config objects
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 18:51:25 UTC 2021 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/issue57434_test.go
) var output int type Object struct { Val int } func (o *Object) Initialize() *Object { o.Val = 5 return o } func (o *Object) Update() *Object { o.Val = o.Val + 1 return o } func TestAutotmpLoopDepth(t *testing.T) { f := func() { for i := 0; i < 10; i++ { var obj Object obj.Initialize().Update() output = obj.Val } } if n := testing.AllocsPerRun(10, f); n > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 20:24:18 UTC 2023 - 619 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugins.go
} if !found { return nil, fmt.Errorf("unknown admission plugin: %s", name) } pluginInitializer.Initialize(plugin) // ensure that plugins have been properly initialized if err := ValidateInitialization(plugin); err != nil { return nil, fmt.Errorf("failed to initialize admission plugin %q: %v", name, err) } return plugin, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 6K bytes - Viewed (0) -
test/fixedbugs/issue59709.dir/cmem.go
var G int type memResource struct { x *int } func (m *memResource) initialize(*int) (res *int, err error) { return nil, nil } func (m *memResource) teardown() { } func NewResource(cfg *aconfig.Config) *bresource.Resource[*int] { res := &memResource{ x: &G, } return bresource.New("Mem", res.initialize, bresource.ResConfig{ // We always would want to retry the Memcache initialization.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 21:04:28 UTC 2023 - 714 bytes - Viewed (0) -
src/cmd/compile/internal/walk/temp.go
package walk import ( "cmd/compile/internal/base" "cmd/compile/internal/ir" "cmd/compile/internal/typecheck" "cmd/compile/internal/types" ) // initStackTemp appends statements to init to initialize the given // temporary variable to val, and then returns the expression &tmp. func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr { if val != nil && !types.Identical(tmp.Type(), val.Type()) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 1.5K bytes - Viewed (0) -
cluster/images/etcd/migrate/data_dir_test.go
} exists, err := d.versionFile.Exists() if err != nil { t.Fatal(err) } if exists { t.Errorf("Expected version file %s not to exist", d.versionFile.path) } err = d.Initialize(targetVersion) if err != nil { t.Fatalf("Failed initialize data directory %s: %v", d.path, err) } exists, err = d.versionFile.Exists() if err != nil { t.Fatal(err) } if exists {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 28 07:33:23 UTC 2022 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/transport/transport.go
ca: flagset.String("tls_ca", "", "TLS CA certs file for fetching profile and symbols"), } } // initialize uses the cert, key, and ca to initialize the certs // to use these when making requests. func (tr *transport) initialize() error { var cert, key, ca string if tr.cert != nil { cert = *tr.cert } if tr.key != nil { key = *tr.key } if tr.ca != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 3.8K bytes - Viewed (0) -
src/cmd/go/testdata/vcstest/git/insecurerepo.txt
git init at 2019-04-03T13:30:35-04:00 git add go.mod git commit -m 'all: initialize module' git branch -m master at 2019-09-04T14:39:48-04:00 git add main.go git commit -m 'main: add Go source file' git log --oneline --decorate=short cmp stdout .git-log -- .git-log -- 6fecd21 (HEAD -> master) main: add Go source file d1a15cd all: initialize module -- go.mod -- module vcs-test.golang.org/insecure/go/insecure
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 15:36:24 UTC 2022 - 641 bytes - Viewed (0) -
test/fixedbugs/issue27595.go
var b, c, d = twoResults() // ERROR "assignment mismatch: 3 variables but twoResults returns 2 values|cannot initialize" var e, f = oneResult() // ERROR "assignment mismatch: 2 variables but oneResult returns 1 value|cannot initialize" func twoResults() (int, int) { return 1, 2 } func oneResult() int { return 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 23 19:41:41 UTC 2021 - 670 bytes - Viewed (0) -
pkg/cmd/flag_test.go
) func TestInitializeIntFlag(t *testing.T) { cmd := &cobra.Command{} var testInt int flag.IntVar(&testInt, "testint", defaultInt, "test int flag") AddFlags(cmd) testName := "Initialize int Flag" if !flag.Parsed() { t.Errorf("%s: flag.Parsed() returns false, should be true", testName) } cmd.Flags().VisitAll(func(f *pflag.Flag) { if f.Name != "testint" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3.4K bytes - Viewed (0)