- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for isfat (0.07 sec)
-
src/net/interface_unix_test.go
if err != nil { ti.teardown() t.Fatal(err) } for _, ifi := range ift { if ti.name != ifi.Name { continue } ifat, err := ifi.Addrs() if err != nil { ti.teardown() t.Fatal(err) } for _, ifa := range ifat { if ip.Equal(ifa.(*IPNet).IP) { ti.teardown() t.Fatalf("got %v", ifa) } } } if err := ti.teardown(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 23:51:35 UTC 2023 - 4.9K bytes - Viewed (0) -
src/net/interface.go
if ifi == nil { return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: errInvalidInterface} } ifat, err := interfaceAddrTable(ifi) if err != nil { err = &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: err} } return ifat, err } // MulticastAddrs returns a list of multicast, joined group addresses // for a specific interface.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0) -
src/net/interface_aix.go
copy(ip, ipsa.Addr[:]) mask = make(IPMask, IPv6len) copy(mask, nmsa.Addr[:]) } ifa := &IPNet{IP: ip, Mask: mask} ifat = append(ifat, ifa) } } } tab = tab[ifm.Msglen:] } return ifat, nil } // interfaceMulticastAddrTable returns addresses for a specific // interface. func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 4.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/MetadataFetchingCost.java
*/ CHEAP, /** * Cannot return metadata without an expensive call, typically involving parsing a descriptor * or accessing the network */ EXPENSIVE; public boolean isFast() { return this == FAST; } public boolean isExpensive() { return this == EXPENSIVE; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/kubelet/stats/helper.go
inter := cstat.Network.Interfaces[i] iStat := statsapi.InterfaceStats{ Name: inter.Name, RxBytes: &inter.RxBytes, RxErrors: &inter.RxErrors, TxBytes: &inter.TxBytes, TxErrors: &inter.TxErrors, } if inter.Name == defaultNetworkInterfaceName { iStats.InterfaceStats = iStat } iStats.Interfaces = append(iStats.Interfaces, iStat) } return &iStats }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 23:40:02 UTC 2023 - 14.8K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider.go
if !found { return true } if cstat.Network != nil { iStats := cadvisorInfoToNetworkStats(info) if iStats != nil { for _, iStat := range iStats.Interfaces { if *iStat.RxErrors != 0 || *iStat.TxErrors != 0 || *iStat.RxBytes != 0 || *iStat.TxBytes != 0 { return false } } } } if cstat.CpuInst == nil || cstat.Memory == nil { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 16 13:34:22 UTC 2023 - 18.9K bytes - Viewed (0) -
src/vendor/golang.org/x/net/nettest/nettest.go
continue } return &ifi, nil } return nil, errNoAvailableInterface } func hasRoutableIP(network string, ifi *net.Interface) (net.IP, bool) { ifat, err := ifi.Addrs() if err != nil { return nil, false } for _, ifa := range ifat { switch ifa := ifa.(type) { case *net.IPAddr: if ip, ok := routableIP(network, ifa.IP); ok { return ip, true } case *net.IPNet:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit.go
return framework.QueueSkip, nil } // isFit checks if the pod fits the node. If the node is nil, it returns false. // It constructs a fake NodeInfo object for the node and checks if the pod fits the node. func isFit(pod *v1.Pod, node *v1.Node) bool { if node == nil { return false } nodeInfo := framework.NewNodeInfo()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 20.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryChainComponentMetaDataResolver.java
MetadataFetchingCost fetchingCost = localAccess.estimateMetadataFetchingCost((ModuleComponentIdentifier) identifier); if (fetchingCost.isFast()) { return true; } else if (fetchingCost.isExpensive()) { return false; } } } return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:24 UTC 2024 - 10K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0)