- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 162 for asName (0.17 sec)
-
cmd/net.go
} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil { // Host not empty, check if it is local return false, err } // If both of addresses point to the same machine, check if // have the same port if addr1Local && addr2Local { if port1 == port2 { return true, nil } } return false, nil } // CheckLocalServerAddr - checks if serverAddr is valid and local host.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
// Service:*:istio-pilot - compare Services called "istio-pilot" in all namespaces. selectResources string // ignoreResources ignores all listed items during comparison. It uses the same list format as selectResources. ignoreResources string // renameResources identifies renamed resources before comparison. // The format of each renaming pair is A->B, all renaming pairs are comma separated.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
cmd/object-api-utils.go
case path[r] == '/': // multiple / elements return true case path[r] == '.' && (r+1 == n || path[r+1] == '/'): // . element - assume it has to be cleaned. return true case path[r] == '.' && path[r+1] == '.' && (r+2 == n || path[r+2] == '/'): // .. element: remove to last / - assume it has to be cleaned. return true default: // real path element. // add slash if needed
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
internal/bucket/lifecycle/delmarker-expiration.go
import ( "encoding/xml" "time" ) var errInvalidDaysDelMarkerExpiration = Errorf("Days must be a positive integer with DelMarkerExpiration") // DelMarkerExpiration used to xml encode/decode ILM action by the same name type DelMarkerExpiration struct { XMLName xml.Name `xml:"DelMarkerExpiration"` Days int `xml:"Days,omitempty"` } // Empty returns if a DelMarkerExpiration XML element is empty.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 2.3K bytes - Viewed (0) -
internal/s3select/csv/reader.go
} } r := &Reader{ args: args, buf: bufio.NewReaderSize(csvIn, csvSplitSize*2), readCloser: readCloser, close: make(chan struct{}), } // Assume args are validated by ReaderArgs.UnmarshalXML() newCsvReader := func(r io.Reader) *csv.Reader { ret := csv.NewReader(r) ret.Comma = []rune(args.FieldDelimiter)[0] ret.Comment = []rune(args.CommentCharacter)[0]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 8.9K bytes - Viewed (0) -
cmd/metacache-entries.go
} // hasPrefix returns whether an entry has a specific prefix func (e metaCacheEntry) hasPrefix(s string) bool { return strings.HasPrefix(e.name, s) } // matches returns if the entries have the same versions. // If strict is false we allow signatures to mismatch. func (e *metaCacheEntry) matches(other *metaCacheEntry, strict bool) (prefer *metaCacheEntry, matches bool) { if e == nil && other == nil { return nil, true
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 23.2K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
srcPath = filepath.FromSlash(srcPath) fi2, err := os.Stat(srcPath) if err != nil { t.Fatalf("Stat failed: %v", err) } if !os.SameFile(fi1, fi2) { t.Fatalf("addr2line_test.go and %s are not same file", srcPath) } if want := "124"; srcLineNo != want { t.Fatalf("line number = %v; want %s", srcLineNo, want) } } // This is line 123. The test depends on that. func TestAddr2Line(t *testing.T) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
internal/http/listener.go
for idx, tcpListener := range listener.listeners { go handleListener(idx, tcpListener) } } // Accept - reads from httpListener.acceptCh for one of previously accepted TCP connection and returns the same. func (listener *httpListener) Accept() (conn net.Conn, err error) { select { case result, ok := <-listener.acceptCh: if ok { return deadlineconn.New(result.conn).
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 5.6K bytes - Viewed (0) -
cni/pkg/repair/netns.go
if err != nil { return "", fmt.Errorf("read procs: %v", err) } oldest := uint64(math.MaxUint64) best := "" // We will iterate over all processes. Our goal is to find a process with the same network ID as we found above. // There should be 1 or 2 processes that match: the pause container should always be there, and the istio-validation *might*.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
centralOpts.AttachControlPlaneFlags(debugCommand) debugCommand.Long += "\n\n" + util.ExperimentalMsg debugCommand.PersistentFlags().BoolVar(&internalDebugAllIstiod, "all", false, "Send the same request to all instances of Istiod. Only applicable for in-cluster deployment.") return debugCommand } var internalDebugAllIstiod bool type DebugWriter struct { Writer io.Writer
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0)