Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for adir (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/is-dir-empty_linux.go

    Harshavardhana <******@****.***> 1712330228 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. cmd/is-dir-empty_other.go

    Harshavardhana <******@****.***> 1712330228 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. 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)
  7. src/net/netip/inlining_test.go

    	wantInlinable := []string{
    		"(*uint128).halves",
    		"Addr.BitLen",
    		"Addr.hasZone",
    		"Addr.Is4",
    		"Addr.Is4In6",
    		"Addr.Is6",
    		"Addr.IsInterfaceLocalMulticast",
    		"Addr.IsValid",
    		"Addr.IsUnspecified",
    		"Addr.Less",
    		"Addr.Unmap",
    		"Addr.Zone",
    		"Addr.v4",
    		"Addr.v6",
    		"Addr.v6u16",
    		"Addr.withoutZone",
    		"AddrPortFrom",
    		"AddrPort.Addr",
    		"AddrPort.Port",
    		"AddrPort.IsValid",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. pkg/util/net/ip_test.go

    			ipv4: func() []netip.Addr {
    				ip, _ := netip.ParseAddr("1.0.0.0")
    				ip2, _ := netip.ParseAddr("255.255.255.255")
    				return []netip.Addr{ip, ip2}
    			},
    			ipv6: func() []netip.Addr {
    				return []netip.Addr{}
    			},
    		},
    		{
    			name: "one ipv6",
    			ips:  []string{"::1"},
    			ipv4: func() []netip.Addr {
    				return []netip.Addr{}
    			},
    			ipv6: func() []netip.Addr {
    				ip, _ := netip.ParseAddr("::1")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_mipsx.go

    	*addr = new
    
    	unlock()
    	return
    }
    
    //go:nosplit
    func Xchg64(addr *uint64, new uint64) (old uint64) {
    	lockAndCheck(addr)
    
    	old = *addr
    	*addr = new
    
    	unlock()
    	return
    }
    
    //go:nosplit
    func Cas64(addr *uint64, old, new uint64) (swapped bool) {
    	lockAndCheck(addr)
    
    	if (*addr) == old {
    		*addr = new
    		unlock()
    		return true
    	}
    
    	unlock()
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 20:08:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/net/udpsock_posix.go

    		if err == nil {
    			ip := from.Addr // copy from.Addr; ip escapes, so this line allocates 16 bytes
    			*addr = UDPAddr{IP: ip[:], Port: from.Port, Zone: zoneCache.name(int(from.ZoneId))}
    		}
    	}
    	if err != nil {
    		// No sockaddr, so don't return UDPAddr.
    		addr = nil
    	}
    	return n, addr, err
    }
    
    func (c *UDPConn) readFromAddrPort(b []byte) (n int, addr netip.AddrPort, err error) {
    	var ip netip.Addr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top