- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for lookupName (0.22 sec)
-
schema/relationship.go
for _, primaryField := range primaryFields { lookUpName := primarySchemaName + primaryField.Name if gl == guessBelongs { lookUpName = field.Name + primaryField.Name } lookUpNames := []string{lookUpName} if len(primaryFields) == 1 { lookUpNames = append(lookUpNames, strings.TrimSuffix(lookUpName, primaryField.Name)+"ID",
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 22.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 33.2K bytes - Viewed (0) -
src/net/cgo_unix.go
// blocking might not be executed when the context gets canceled early. func doBlockingWithCtx[T any](ctx context.Context, lookupName string, blocking func() (T, error)) (T, error) { if err := acquireThread(ctx); err != nil { var zero T return zero, &DNSError{ Name: lookupName, Err: mapErr(err).Error(), IsTimeout: err == context.DeadlineExceeded, } } if ctx.Done() == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 11.4K bytes - Viewed (0) -
src/time/zoneinfo.go
d++ } s = d * secondsPerDay } return s + r.time - off } // lookupName returns information about the time zone with // the given name (such as "EST") at the given pseudo-Unix time // (what the given time of day would be in UTC). func (l *Location) lookupName(name string, unix int64) (offset int, ok bool) { l = l.get() // First try for a zone with the right name that was actually
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 18.2K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/time.gox
func (l <type 15>) .time.lookupFirstZone () <type -11>; func (l <type 15>) .time.firstZoneUsed () <type -15>; func (l <type 15>) .time.lookupName (name <type -16>, unix <type -4>) (offset <type -11>, isDST <type -15>, ok <type -15>); >>; }> func (t <type 3>) String () <type -16>; func (t <type 3>) Format (layout <type -16>) <type -16>;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 7.3K bytes - Viewed (0) -
src/time/format.go
if zoneName != "" { t := Date(year, Month(month), day, hour, min, sec, nsec, UTC) // Look for local zone with the given offset. // If that zone was in effect at the given time, use it. offset, ok := local.lookupName(zoneName, t.unixSec()) if ok { t.addSec(-int64(offset)) t.setLoc(local) return t, nil } // Otherwise, create fake zone with unknown offset.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/methodsetcache.go
} cache.mu.Lock() defer cache.mu.Unlock() switch T := aliases.Unalias(T).(type) { case *types.Named: return cache.lookupNamed(T).value case *types.Pointer: if N, ok := aliases.Unalias(T.Elem()).(*types.Named); ok { return cache.lookupNamed(N).pointer } } // all other types // (The map uses pointer equivalence, not type identity.) mset := cache.others[T] if mset == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 18:08:27 UTC 2024 - 2.1K bytes - Viewed (0) -
src/net/lookup.go
// formatted presentation-format domain name. // // LookupCNAME uses [context.Background] internally; to specify the context, use // [Resolver.LookupCNAME]. func LookupCNAME(host string) (cname string, err error) { return DefaultResolver.LookupCNAME(context.Background(), host) } // LookupCNAME returns the canonical name for the given host.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 28.6K bytes - Viewed (0) -
src/net/lookup_unix.go
if port, err := goLookupPort(network, service); err == nil { return port, nil } } return port, err } return goLookupPort(network, service) } func (r *Resolver) lookupCNAME(ctx context.Context, name string) (string, error) { order, conf := systemConf().hostLookupOrder(r, name) if order == hostLookupCgo { if cname, err, ok := cgoLookupCNAME(ctx, name); ok { return cname, err } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 3.3K bytes - Viewed (0) -
src/net/lookup_test.go
break } } } cname, err := LookupCNAME("www.mit.edu") if err != nil { t.Errorf("LookupCNAME(www.mit.edu, mode=%v): %v", mode, err) } else if !strings.HasSuffix(cname, ".") { t.Errorf("LookupCNAME(www.mit.edu) = %v, want cname ending in . with trailing dot (mode=%v)", cname, mode) } mxs, err := LookupMX("google.com")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0)