- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 5,630 for spring (0.96 sec)
-
src/cmd/compile/internal/abt/avlint32_test.go
assert(t, A, ada1_2, "ada1_2") } type sstring struct { s string } func (s *sstring) String() string { return s.s } func stringer(s string) interface{} { return &sstring{s} } // wellFormed ensures that a red-black tree meets // all of its invariants and returns a string identifying // the first problem encountered. If there is no problem
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 11 16:34:41 UTC 2022 - 20.3K bytes - Viewed (0) -
src/context/x_test.go
} } type key1 int type key2 int func (k key2) String() string { return fmt.Sprintf("%[1]T(%[1]d)", k) } var k1 = key1(1) var k2 = key2(1) // same int as k1, different type var k3 = key2(3) // same type as k2, different int func TestValues(t *testing.T) { check := func(c Context, nm, v1, v2, v3 string) { if v, ok := c.Value(k1).(string); ok == (len(v1) == 0) || v != v1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 26.3K bytes - Viewed (0) -
tests/create_test.go
} } func TestCreateOnConflictWithDefaultNull(t *testing.T) { type OnConflictUser struct { ID string Name string `gorm:"default:null"` Email string Mobile string `gorm:"default:'133xxxx'"` } err := DB.Migrator().DropTable(&OnConflictUser{}) AssertEqual(t, err, nil) err = DB.AutoMigrate(&OnConflictUser{})
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 26.4K bytes - Viewed (0) -
operator/pkg/tpath/tree.go
if len(sv) == 1 && strings.Contains(s.(string), ": ") || len(sv) > 1 && strings.Contains(s.(string), ":") { nv := make(map[string]any) if err := json.Unmarshal([]byte(vv.(string)), &nv); err == nil { // treat JSON as string return vv, false } if err := yaml2.Unmarshal([]byte(vv.(string)), &nv); err == nil { return nv, true } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 17.5K bytes - Viewed (0) -
src/go/build/deps_test.go
NET, log < net/mail; NONE < crypto/internal/boring/sig, crypto/internal/boring/syso; sync/atomic < crypto/internal/boring/bcache, crypto/internal/boring/fipstls; crypto/internal/boring/sig, crypto/internal/boring/fipstls < crypto/tls/fipsonly; # CRYPTO is core crypto algorithms - no cgo, fmt, net. crypto/internal/boring/sig, crypto/internal/boring/syso, golang.org/x/sys/cpu, hash, embed < crypto
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
src/internal/xcoff/file.go
} } return nil } // cstring converts ASCII byte sequence b to string. // It stops once it finds 0 or reaches end of b. func cstring(b []byte) string { var i int for i = 0; i < len(b) && b[i] != 0; i++ { } return string(b[:i]) } // getString extracts a string from an XCOFF string table. func getString(st []byte, offset uint32) (string, bool) { if offset < 4 || int(offset) >= len(st) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 14:42:29 UTC 2024 - 17.3K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
type test struct { name string want string wantAlt string } tests := []test{ { name: valueBuilders[0]().String(), want: "", wantAlt: "", }, { name: valueBuilders[1]().String(), want: "true", wantAlt: "false", }, { name: valueBuilders[2]().String(), want: "byte contents", wantAlt: "", },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
src/log/log.go
// Print calls Output to print to the standard logger. // Arguments are handled in the manner of [fmt.Print]. func Print(v ...any) { std.output(0, 2, func(b []byte) []byte { return fmt.Append(b, v...) }) } // Printf calls Output to print to the standard logger. // Arguments are handled in the manner of [fmt.Printf]. func Printf(format string, v ...any) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 12.9K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice_test.go
if err := cert.ExpectError(t); !strings.Contains(fmt.Sprint(err), "failed to generate secret") { t.Fatalf("didn't get expected error; got %v", err) } cert.Cleanup() s.UpdateSecret(testResourceName, pushSecret) // If the secret is added later, new connections will succeed cert = s.Connect()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 17 20:12:58 UTC 2024 - 11.6K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
BuildCoverPkg []string // -coverpkg flag BuildN bool // -n flag BuildO string // -o flag BuildP = runtime.GOMAXPROCS(0) // -p flag BuildPGO string // -pgo flag BuildPkgdir string // -pkgdir flag BuildRace bool // -race flag
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0)