- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for addresses (0.18 sec)
-
tests/joins_table_test.go
t.Fatalf("Failed to setup join table for person, got error %v", err) } if err := DB.AutoMigrate(&Person{}, &Address{}); err != nil { t.Fatalf("Failed to migrate, got %v", err) } address1 := Address{Name: "address 1"} address2 := Address{Name: "address 2"} person := Person{Name: "person", Addresses: []Address{address1, address2}} DB.Create(&person) var addresses1 []Address
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Thu Sep 10 13:46:18 GMT 2020 - 3.5K bytes - Viewed (0) -
src/cmd/addr2line/main.go
// // Usage: // // go tool addr2line binary // // Addr2line reads hexadecimal addresses, one per line and with optional 0x prefix, // from standard input. For each input address, addr2line prints two output lines, // first the name of the function containing the address and second the file:line // of the source code corresponding to that address. // // This tool is intended for use only by pprof; its interface may change or
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 2.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
expected: "example.com", }, { desc: "test domains with ipv4 addresses", domains: []string{"example.com", "example.com:8080", "1.2.3.4", "1.2.3.4:8080"}, expected: "example.com, 1.2.3.4", }, { desc: "test domains with ipv6 addresses", domains: []string{"example.com", "example.com:8080", "[fd00:10:96::7fc7]", "[fd00:10:96::7fc7]:8080"},
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0) -
tests/scan_test.go
DB.Save(&person1).Save(&person2) address1 := Address{Name: "address 1"} address2 := Address{Name: "address 2"} DB.Save(&address1).Save(&address2) DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address1.ID)}) DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address2.ID)}) DB.Create(&PersonAddress{PersonID: person2.ID, AddressID: int(address1.ID)})
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Sat May 28 14:18:07 GMT 2022 - 8.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
found := false for _, address := range addresses { if strings.EqualFold(address, l.Address) { found = true } } if !found { return false } } if l.Port != 0 && retrieveListenerPort(listener) != l.Port { return false } if l.Type != "" && !strings.EqualFold(retrieveListenerType(listener), l.Type) { return false } return true }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
cmd/net.go
} } return ipList } // mustGetLocalIP4 returns IPv4 addresses of localhost. It panics on error. func mustGetLocalIP4() (ipList set.StringSet) { ipList = set.NewStringSet() for _, ip := range mustGetLocalIPs() { if ip.To4() != nil { ipList.Add(ip.String()) } } return } // mustGetLocalIP6 returns IPv6 addresses of localhost. It panics on error. func mustGetLocalIP6() (ipList set.StringSet) {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0) -
internal/http/listener_test.go
TCPOptions{}, ) for _, err := range errs { if err != nil { if strings.Contains(err.Error(), "The requested address is not valid in its context") { // Ignore if IP is unbindable. continue nextTest } if strings.Contains(err.Error(), "bind: address already in use") { continue nextTest } t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err) } }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Jun 12 16:09:28 GMT 2023 - 11.8K bytes - Viewed (0) -
istioctl/pkg/util/configdump/workload.go
} type ZtunnelService struct { Name string `json:"name"` Namespace string `json:"namespace"` Hostname string `json:"hostname"` Addresses []string `json:"addresses"` Ports map[string]int `json:"ports"` } type ZtunnelDump struct { Workloads map[string]*ZtunnelWorkload `json:"by_addr"` Services map[string]*ZtunnelService `json:"by_vip"`
Go - Registered: Wed Apr 10 22:53:08 GMT 2024 - Last Modified: Fri Mar 22 16:24:22 GMT 2024 - 2.1K bytes - Viewed (0) -
internal/http/listener.go
"time" "github.com/minio/minio/internal/deadlineconn" ) type acceptResult struct { conn net.Conn err error lidx int } // httpListener - HTTP listener capable of handling multiple server addresses. type httpListener struct { opts TCPOptions tcpListeners []*net.TCPListener // underlying TCP listeners. acceptCh chan acceptResult // channel where all TCP listeners write accepted connection.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Mar 01 16:00:42 GMT 2024 - 5.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
} return cmp.Compare(a.Hostname, b.Hostname) }) fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT") for _, svc := range svcs { var ip string if len(svc.Addresses) > 0 { _, ip, _ = strings.Cut(svc.Addresses[0], "/") } waypoint := serviceWaypointName(svc, zDump.Services) fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", svc.Namespace, svc.Name, ip, waypoint) } return w.Flush() }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0)