Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for lookupName (0.48 sec)

  1. 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)
  2. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    		},
    		{
    			name:       "node does not exist",
    			lookupName: "whale",
    			success:    false,
    		},
    		{
    			name:       "node not labelled yet",
    			lookupName: "robin",
    			node: v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "robin",
    				},
    			},
    			success: false,
    		},
    		{
    			name:       "patch node when timeout",
    			lookupName: "testnode",
    			node: v1.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. 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)
  4. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (l <esc:0x32> <type 24>) .time.lookup (sec <type -4>) (name <type -16>, offset <type -11>, isDST <type -15>, start <type -4>, end <type -4>);
     func (l <esc:0x1> <type 24>) .time.lookupName (name <esc:0x1> <type -16>, unix <type -4>) (offset <type -11>, ok <type -15>);
     func (l <esc:0x1> <type 24>) .time.firstZoneUsed () <type -15>;
    >>; }>
     func (t <esc:0x12> <type 12>) In (loc <type 14>) <type 12>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top