Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for tree (0.14 sec)

  1. src/archive/tar/writer.go

    	if isHeaderOnlyType(flag) {
    		size = 0
    	}
    	tw.curr = &regFileWriter{tw.w, size}
    	tw.pad = blockPadding(size)
    	return nil
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the tar archive while maintaining the directory structure.
    func (tw *Writer) AddFS(fsys fs.FS) error {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/expr_test.go

    	{"2|5", 2 | 5, true},
    	{"3^4", 3 ^ 4, true},
    	{"3*4", 3 * 4, true},
    	{"14/4", 14 / 4, true},
    	{"3<<4", 3 << 4, true},
    	{"48>>3", 48 >> 3, true},
    	{"3&9", 3 & 9, true},
    	// General
    	{"3*2+3", 3*2 + 3, true},
    	{"3+2*3", 3 + 2*3, true},
    	{"3*(2+3)", 3 * (2 + 3), true},
    	{"3*-(2+3)", 3 * -(2 + 3), true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<(2+4)", 3 << (2 + 4), true},
    	// Junk at EOF.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/bytes/example_test.go

    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "fÄo!"))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "去是伟大的."))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), ""))
    	fmt.Println(bytes.ContainsAny([]byte(""), ""))
    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. src/cmd/asm/internal/arch/arch.go

    	// Avoid unintentionally clobbering RSB using R28.
    	delete(register, "R28")
    	register["RSB"] = mips.REG_R28
    	registerPrefix := map[string]bool{
    		"F":   true,
    		"FCR": true,
    		"M":   true,
    		"R":   true,
    		"W":   true,
    	}
    
    	instructions := make(map[string]obj.As)
    	for i, s := range obj.Anames {
    		instructions[s] = obj.As(i)
    	}
    	for i, s := range mips.Anames {
    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)
  5. src/bufio/scan.go

    		switch r {
    		case ' ', '\t', '\n', '\v', '\f', '\r':
    			return true
    		case '\u0085', '\u00A0':
    			return true
    		}
    		return false
    	}
    	// High-valued ones.
    	if '\u2000' <= r && r <= '\u200a' {
    		return true
    	}
    	switch r {
    	case '\u1680', '\u2028', '\u2029', '\u202f', '\u205f', '\u3000':
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  6. misc/linkcheck/linkcheck.go

    // urlFrag is a URL and its optional #fragment (without the #)
    type urlFrag struct {
    	url, frag string
    }
    
    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 (
    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)
  7. src/bytes/bytes_test.go

    var EqualFoldTests = []struct {
    	s, t string
    	out  bool
    }{
    	{"abc", "abc", true},
    	{"ABcd", "ABcd", true},
    	{"123abc", "123ABC", true},
    	{"αβδ", "ΑΒΔ", true},
    	{"abc", "xyz", false},
    	{"abc", "XYZ", false},
    	{"abcdefghijk", "abcdefghijX", false},
    	{"abcdefghijk", "abcdefghij\u212A", true},
    	{"abcdefghijK", "abcdefghij\u212A", true},
    	{"abcdefghijkz", "abcdefghij\u212Ay", false},
    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)
  8. src/cmd/asm/main.go

    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    	ctxt.IsAsm = true
    	ctxt.Pkgpath = *flags.Importpath
    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    			if name == "" {
    				continue
    			}
    
    			if idx, ok := files[name]; ok {
    				r.fileList[idx].isDup = true
    				continue
    			}
    			if idx, ok := knownDirs[name]; ok {
    				r.fileList[idx].isDup = true
    				continue
    			}
    
    			for dir := path.Dir(name); dir != "."; dir = path.Dir(dir) {
    				dirs[dir] = true
    			}
    
    			idx := len(r.fileList)
    			entry := fileListEntry{
    				name:  name,
    				file:  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)
  10. src/cmd/asm/internal/arch/riscv64.go

    		riscv.AAMOMINW, riscv.AAMOMIND, riscv.AAMOMINUW, riscv.AAMOMINUD,
    		riscv.AAMOMAXW, riscv.AAMOMAXD, riscv.AAMOMAXUW, riscv.AAMOMAXUD:
    		return true
    	}
    	return false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 15 08:13:28 GMT 2020
    - 943 bytes
    - Viewed (0)
Back to top