- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 133 for newB (0.03 sec)
-
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/sample.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 13:30:30 UTC 2024 - 425 bytes - Viewed (0) -
test/fixedbugs/issue46234.go
} type R struct { cM *CM } type CM int type A string func (m *CM) NewA(ctx context.Context, cN string, nn *nAO, opts ...NAO) (*A, error) { for _, o := range opts { o(nn) } s := A("foo") return &s, nil } func (r *R) CA(ctx context.Context, cN string, nn *nAO) (*int, error) { cA, err := r.cM.NewA(ctx, cN, nn, WEA(), WEA()) if err == nil { return nil, err } println(cA) x := int(42)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.7K bytes - Viewed (0) -
test/typeparam/sliceimp.dir/a.go
func Append[T any](s []T, t ...T) []T { lens := len(s) tot := lens + len(t) if tot <= cap(s) { s = s[:tot] } else { news := make([]T, tot, tot+tot/2) Copy(news, s) s = news } Copy(s[lens:tot], t) return s } // Copy copies values from t to s, stopping when either slice is full, // returning the number of values copied. This is like the predeclared
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 30 01:55:58 UTC 2021 - 3.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/config.go
} // DeepCopy creates a clone of IstioEndpoint. func (c Config) DeepCopy() Config { newc := c newc.Cluster = nil newc = copyInternal(newc).(Config) newc.Cluster = c.Cluster newc.Namespace = c.Namespace return newc } func (c Config) IsExternal() bool { return c.HostHeader() != c.ClusterLocalFQDN() } const ( defaultService = "echo"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0) -
tests/embedded_struct_test.go
} } // save embedded struct DB.Save(&HNPost{BasePost: BasePost{Title: "news"}}) DB.Save(&HNPost{BasePost: BasePost{Title: "hn_news"}}) var news HNPost if err := DB.First(&news, "title = ?", "hn_news").Error; err != nil { t.Errorf("no error should happen when query with embedded struct, but got %v", err) } else if news.Title != "hn_news" { t.Errorf("embedded struct's value should be scanned correctly") }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/AssignmentResolverDemo.kt
import org.gradle.internal.declarativedsl.demo.resolve object AssignmentResolverDemo { @JvmStatic fun main(args: Array<String>) { val resolution = schema.resolve( """ val myD = newD("shared") val c1 = c(1) c1.d = myD str = c1.d.id """.trimIndent() ) printResolutionResults(resolution) printResolvedAssignments(resolution)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:53:44 UTC 2024 - 647 bytes - Viewed (0) -
test/typeparam/issue50598.dir/a2.go
// Copyright 2022 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. package a2 import "./a0" func New() int { return a0.Builder[int]{}.New1()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 239 bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
} func newPreexistingExpressions() preexistingExpressions { return preexistingExpressions{ matchConditionExpressions: sets.New[string](), validationExpressions: sets.New[string](), validationMessageExpressions: sets.New[string](), auditAnnotationValuesExpressions: sets.New[string](), } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
pkg/config/mesh/kubemesh/watcher_test.go
stop := test.NewStop(t) w := NewConfigMapWatcher(client, namespace, name, key, false, stop) client.RunAndWait(stop) var mu sync.Mutex newM := mesh.DefaultMeshConfig() w.AddMeshHandler(func() { mu.Lock() defer mu.Unlock() newM = w.Mesh() }) steps := []struct { added *v1.ConfigMap updated *v1.ConfigMap deleted *v1.ConfigMap expect *meshconfig.MeshConfig
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go
if v, _, _, _ := current.lookup(name); v != nil { return v, nop } v, newM, err := current.newCounter(name) if err != nil { debugPrintf("newCounter %s: %v\n", name, err) return nil, nop } cleanup = nop if newM != nil { f.current.Store(newM) cleanup = f.invalidateCounters } return v, cleanup } // Open associates counting with the defaultFile.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 18.2K bytes - Viewed (0)