- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,021 for Initialize$ (0.29 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) -
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/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) -
src/cmd/compile/internal/walk/temp.go
// allocated temporary variable of type [len]elem. This variable is // initialized, and elem must not contain pointers. func stackBufAddr(len int64, elem *types.Type) *ir.AddrExpr { if elem.HasPointers() { base.FatalfAt(base.Pos, "%v has pointers", elem) } tmp := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(elem, len)) return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
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) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java
new SimpleModelRuleDescriptor("initialize binary " + binaryPath), new BiAction<MutableModelNode, NativeBinarySpec>() { @Override public void execute(MutableModelNode mutableModelNode, NativeBinarySpec nativeBinarySpec) { initialize(nativeBinarySpec, namingScheme, resolver, fileCollectionFactory, platform, buildType, flavor);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K 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) -
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)