Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for lookupCmd (0.33 sec)

  1. src/cmd/go/main.go

    	invoke(cmd, args[used-1:])
    	base.Exit()
    }
    
    // lookupCmd interprets the initial elements of args
    // to find a command to run (cmd.Runnable() == true)
    // or else a command group that ran out of arguments
    // or had an unknown subcommand (len(cmd.Commands) > 0).
    // It returns that command and the number of elements of args
    // that it took to arrive at that command.
    func lookupCmd(args []string) (cmd *base.Command, used int) {
    	cmd = base.Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/net/lookup_test.go

    				_, err := LookupHost(testNODATA)
    				return err
    			},
    		},
    		{
    			name: "LookupMX NXDOMAIN",
    			query: func() error {
    				_, err := LookupMX(testNXDOMAIN)
    				return err
    			},
    		},
    		{
    			name: "LookupMX NODATA",
    			query: func() error {
    				_, err := LookupMX(testNODATA)
    				return err
    			},
    		},
    		{
    			name: "LookupNS NXDOMAIN",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. src/net/lookup.go

    // [Resolver.LookupMX].
    func LookupMX(name string) ([]*MX, error) {
    	return DefaultResolver.LookupMX(context.Background(), name)
    }
    
    // LookupMX returns the DNS MX records for the given domain name sorted by preference.
    //
    // The returned mail server names are validated to be properly
    // formatted presentation-format domain names. If the response contains
    // invalid names, those records are filtered out and an error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. src/os/user/lookup_windows.go

    		return "", e
    	}
    	return dir, nil
    }
    
    // lookupGroupName accepts the name of a group and retrieves the group SID.
    func lookupGroupName(groupname string) (string, error) {
    	sid, _, t, e := syscall.LookupSID("", groupname)
    	if e != nil {
    		return "", e
    	}
    	// https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/7b2aeb27-92fc-41f6-8437-deb65d950921#gt_0387e636-5654-4910-9519-1f8326cf5ec0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/syscall/security_windows.go

    	if e != nil {
    		return nil, e
    	}
    	defer LocalFree((Handle)(unsafe.Pointer(sid)))
    	return sid.Copy()
    }
    
    // LookupSID retrieves a security identifier sid for the account
    // and the name of the domain on which the account was found.
    // System specify target computer to search.
    func LookupSID(system, account string) (sid *SID, domain string, accType uint32, err error) {
    	if len(account) == 0 {
    		return nil, "", 0, EINVAL
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. src/net/lookup_plan9.go

    		}
    		addrs = append(addrs, &SRV{absDomainName(f[5]), uint16(port), uint16(priority), uint16(weight)})
    		cname = absDomainName(f[0])
    	}
    	byPriorityWeight(addrs).sort()
    	return
    }
    
    func (r *Resolver) lookupMX(ctx context.Context, name string) (mx []*MX, err error) {
    	if systemConf().mustUseGoResolver(r) {
    		return r.goLookupMX(ctx, name)
    	}
    	lines, err := queryDNS(ctx, name, "mx")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/net/lookup_windows.go

    	}
    	byPriorityWeight(srvs).sort()
    	return absDomainName(target), srvs, nil
    }
    
    func (r *Resolver) lookupMX(ctx context.Context, name string) ([]*MX, error) {
    	if systemConf().mustUseGoResolver(r) {
    		return r.goLookupMX(ctx, name)
    	}
    	// TODO(bradfitz): finish ctx plumbing.
    	if err := acquireThread(ctx); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. api/go1.8.txt

    pkg net, method (*Resolver) LookupHost(context.Context, string) ([]string, error)
    pkg net, method (*Resolver) LookupIPAddr(context.Context, string) ([]IPAddr, error)
    pkg net, method (*Resolver) LookupMX(context.Context, string) ([]*MX, error)
    pkg net, method (*Resolver) LookupNS(context.Context, string) ([]*NS, error)
    pkg net, method (*Resolver) LookupPort(context.Context, string, string) (int, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
Back to top