Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for lookupName (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/net/lookup_windows_test.go

    		}
    	})
    }
    
    func TestNSLookupCNAME(t *testing.T) {
    	testenv.MustHaveExternalNetwork(t)
    
    	testLookup(t, func(t *testing.T, r *Resolver, server string) {
    		cname, err := r.LookupCNAME(context.Background(), server)
    		if err != nil {
    			t.Fatalf("failed %s: %s", server, err)
    		}
    		if cname == "" {
    			t.Fatalf("no result %s", server)
    		}
    		expected, err := nslookupCNAME(server)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top