- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 375 for adir (0.09 sec)
-
src/os/dir.go
slices.SortFunc(dirs, func(a, b DirEntry) int { return bytealg.CompareString(a.Name(), b.Name()) }) return dirs, err } // CopyFS copies the file system fsys into the directory dir, // creating dir if necessary. // // Newly created directories and files have their default modes // where any bits from the file in fsys that are not part of the // standard read, write, and execute permissions will be zeroed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/dir.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package telemetry import "golang.org/x/telemetry/internal/telemetry" // Dir returns the telemetry directory. func Dir() string { return telemetry.Default.Dir()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 14:38:01 UTC 2024 - 325 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go
upload: filepath.Join(dir, "upload"), debug: filepath.Join(dir, "debug"), modefile: filepath.Join(dir, "mode"), } } func init() { cfgDir, err := os.UserConfigDir() if err != nil { return } Default = NewDir(filepath.Join(cfgDir, "go", "telemetry")) } func (d Dir) Dir() string { return d.dir } func (d Dir) LocalDir() string { return d.local }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 4.8K bytes - Viewed (0) -
src/net/http/serve_test.go
})) if _, err := cst.c.Head(cst.ts.URL); err != nil { t.Fatal(err) } host := cst.ts.Listener.Addr().String() got := <-ch if addr, ok := got.(net.Addr); !ok { t.Errorf("local addr value = %T; want net.Addr", got) } else if fmt.Sprint(addr) != host { t.Errorf("local addr = %v; want %v", addr, host) } } // https://golang.org/issue/15960
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
} func mktestdirs(t *testing.T, tag, tp, dir string) (string, string) { t.Helper() rdir := mkdir(t, filepath.Join(dir, tp+"-rdir-"+tag)) edir := mkdir(t, filepath.Join(dir, tp+"-edir-"+tag)) return rdir, edir } func testEmitToDir(t *testing.T, harnessPath string, dir string) { withAndWithoutRunner(func(setGoCoverDir bool, tag string) { tp := "emitToDir" rdir, edir := mktestdirs(t, tag, tp, dir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0) -
src/net/netip/netip.go
func IPv4Unspecified() Addr { return AddrFrom4([4]byte{}) } // AddrFrom4 returns the address of the IPv4 address given by the bytes in addr. func AddrFrom4(addr [4]byte) Addr { return Addr{ addr: uint128{0, 0xffff00000000 | uint64(addr[0])<<24 | uint64(addr[1])<<16 | uint64(addr[2])<<8 | uint64(addr[3])}, z: z4, } } // AddrFrom16 returns the IPv6 address given by the bytes in addr.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_arm.go
} _ = *addr // if nil, fault before taking the lock var r uint64 addrLock(addr).lock() r = *addr addrLock(addr).unlock() return r } //go:nosplit func goStore64(addr *uint64, v uint64) { if uintptr(unsafe.Pointer(addr))&7 != 0 { *(*int)(nil) = 0 // crash on unaligned uint64 } _ = *addr // if nil, fault before taking the lock addrLock(addr).lock() *addr = v addrLock(addr).unlock() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go
func FlushFileBuffers(handle Handle) (err error) { r1, _, e1 := syscall.Syscall(procFlushFileBuffers.Addr(), 1, uintptr(handle), 0, 0) if r1 == 0 { err = errnoErr(e1) } return } func FlushViewOfFile(addr uintptr, length uintptr) (err error) { r1, _, e1 := syscall.Syscall(procFlushViewOfFile.Addr(), 2, uintptr(addr), uintptr(length), 0) if r1 == 0 { err = errnoErr(e1) } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 195.8K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo.go
type machoExe struct { f *macho.File } func (x *machoExe) ReadData(addr, size uint64) ([]byte, error) { for _, load := range x.f.Loads { seg, ok := load.(*macho.Segment) if !ok { continue } if seg.Addr <= addr && addr <= seg.Addr+seg.Filesz-1 { if seg.Name == "__PAGEZERO" { continue } n := seg.Addr + seg.Filesz - addr if n > size { n = size }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 12.6K bytes - Viewed (0) -
src/sync/atomic/doc.go
func SwapInt64(addr *int64, new int64) (old int64) // SwapUint32 atomically stores new into *addr and returns the previous *addr value. // Consider using the more ergonomic and less error-prone [Uint32.Swap] instead. func SwapUint32(addr *uint32, new uint32) (old uint32) // SwapUint64 atomically stores new into *addr and returns the previous *addr value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 11.7K bytes - Viewed (0)