Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for nmap (0.15 sec)

  1. src/cmd/asm/internal/arch/arch.go

    type Arch struct {
    	*obj.LinkArch
    	// Map of instruction names to enumeration.
    	Instructions map[string]obj.As
    	// Map of register names to enumeration.
    	Register map[string]int16
    	// Table of register prefix names. These are things like R for R(0) and SPR for SPR(268).
    	RegisterPrefix map[string]bool
    	// RegisterNumber converts R(10) into arm.REG_R10.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    	//	// +godefs map struct_in_addr6 [16]byte
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. misc/linkcheck/linkcheck.go

    }
    
    var (
    	mu          sync.Mutex
    	crawled     = make(map[string]bool)      // URL without fragment -> true
    	neededFrags = make(map[urlFrag][]string) // URL#frag -> who needs it
    )
    
    var aRx = regexp.MustCompile(`<a href=['"]?(/[^\s'">]+)`)
    
    // Owned by crawlLoop goroutine:
    var (
    	linkSources = make(map[string][]string) // url no fragment -> sources
    	fragExists  = make(map[urlFrag]bool)
    	problems    []string
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/addr2line/addr2line_test.go

    	addr2lineExePath  string
    	addr2linePathErr  error
    )
    
    func loadSyms(t *testing.T, dbgExePath string) map[string]string {
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dbgExePath)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, string(out))
    	}
    	syms := make(map[string]string)
    	scanner := bufio.NewScanner(bytes.NewReader(out))
    	for scanner.Scan() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    	r.fileListOnce.Do(func() {
    		// files and knownDirs map from a file/directory name
    		// to an index into the r.fileList entry that we are
    		// building. They are used to mark duplicate entries.
    		files := make(map[string]int)
    		knownDirs := make(map[string]int)
    
    		// dirs[name] is true if name is known to be a directory,
    		// because it appears as a prefix in a path.
    		dirs := make(map[string]bool)
    
    		for _, file := range r.File {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  6. lib/time/mkzip.go

    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    	seen := make(map[string]bool)
    	err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error {
    		if d.IsDir() {
    			return nil
    		}
    		data, err := os.ReadFile(path)
    		if err != nil {
    			log.Fatal(err)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/archive/tar/format.go

    	// own keys and assigning certain semantic meaning to the associated values.
    	// For example, sparse file support in PAX is implemented using keys
    	// defined by the GNU manual (e.g., "GNU.sparse.map").
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/009695399/utilities/pax.html
    	FormatPAX
    
    	// FormatGNU represents the GNU header format.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    	// 1.  Grow. This triggers two reallocations in Map.
    	maxRune := func(r rune) rune { return unicode.MaxRune }
    	m := Map(maxRune, []byte(a))
    	expect := tenRunes(unicode.MaxRune)
    	if string(m) != expect {
    		t.Errorf("growing: expected %q got %q", expect, m)
    	}
    
    	// 2. Shrink
    	minRune := func(r rune) rune { return 'a' }
    	m = Map(minRune, []byte(tenRunes(unicode.MaxRune)))
    	expect = a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  9. src/bytes/example_test.go

    	rot13 := func(r rune) rune {
    		switch {
    		case r >= 'A' && r <= 'Z':
    			return 'A' + (r-'A'+13)%26
    		case r >= 'a' && r <= 'z':
    			return 'a' + (r-'a'+13)%26
    		}
    		return r
    	}
    	fmt.Printf("%s\n", bytes.Map(rot13, []byte("'Twas brillig and the slithy gopher...")))
    	// Output:
    	// 'Gjnf oevyyvt naq gur fyvgul tbcure...
    }
    
    func ExampleReader_Len() {
    	fmt.Println(bytes.NewReader([]byte("Hi!")).Len())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  10. src/builtin/builtin.go

    // (m[key]) from the map. If m is nil or there is no such element, delete
    // is a no-op.
    func delete(m map[Type]Type1, key Type)
    
    // The len built-in function returns the length of v, according to its type:
    //
    //	Array: the number of elements in v.
    //	Pointer to array: the number of elements in *v (even if v is nil).
    //	Slice, or map: the number of elements in v; if v is nil, len(v) is zero.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top