- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 285 for diag (4.79 sec)
-
src/net/external_test.go
} } } var dialGoogleTests = []struct { dial func(string, string) (Conn, error) unreachableNetwork string networks []string addrs []string }{ { dial: (&Dialer{DualStack: true}).Dial, networks: []string{"tcp", "tcp4", "tcp6"}, addrs: []string{"www.google.com:http"}, }, { dial: Dial, unreachableNetwork: "tcp6",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.1K bytes - Viewed (0) -
src/net/net_fake_test.go
// all 65535 valid (fake) ports. The listener is already using one, so // we should be able to Dial the remaining 65534. for len(dialed) < (1<<16)-2 { c, err := Dial(ln.Addr().Network(), ln.Addr().String()) if err != nil { t.Fatalf("unexpected error from Dial with %v connections: %v", len(dialed), err) } dialed = append(dialed, c) if testing.Verbose() && len(dialed)%(1<<12) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2.8K bytes - Viewed (0) -
src/net/http/transport_dial_test.go
} // wantDial waits for the Transport to start a Dial. func (dt *transportDialTester) wantDial() *transportDialTesterConn { c := <-dt.dials c.connID = dt.dialCount dt.dialCount++ dt.t.Logf("Dial %v: started", c.connID) return c } // finish completes a Dial. func (c *transportDialTesterConn) finish(err error) { c.t.Logf("Dial %v: finished (err:%v)", c.connID, err) c.ready <- err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/net/dial_unix_test.go
if err == nil { c.Close() t.Fatal("unexpected successful dial; want context canceled error") } select { case <-ctx.Done(): case <-time.After(5 * time.Second): t.Fatal("expected context to be canceled") } oe, ok := err.(*OpError) if !ok || oe.Op != "dial" { t.Fatalf("Dial error = %#v; want dial *OpError", err) } if oe.Err != errCanceled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 2.8K bytes - Viewed (0) -
pkg/test/echo/common/dialer.go
) var ( // DefaultGRPCDialFunc just calls grpc.Dial directly, with no alterations to the arguments. DefaultGRPCDialFunc = grpc.DialContext // DefaultWebsocketDialFunc just calls dialer.Dial, with no alterations to the arguments. DefaultWebsocketDialFunc = func(dialer *websocket.Dialer, urlStr string, requestHeader http.Header) (*websocket.Conn, *http.Response, error) { return dialer.Dial(urlStr, requestHeader) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 07 15:55:42 UTC 2020 - 3K bytes - Viewed (0) -
src/log/syslog/syslog_test.go
if testing.Short() { t.Skip("skipping syslog test during -short") } f, err := Dial("", "", (LOG_LOCAL7|LOG_DEBUG)+1, "syslog_test") if f != nil { t.Fatalf("Should have trapped bad priority") } f, err = Dial("", "", -1, "syslog_test") if f != nil { t.Fatalf("Should have trapped bad priority") } l, err := Dial("", "", LOG_USER|LOG_ERR, "syslog_test") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 16:09:24 UTC 2023 - 9.6K bytes - Viewed (0) -
pkg/util/filesystem/util_windows.go
// on the Unix Domain socket working on the very first try, hence the potential need to // dial multiple times var lastSocketErr error err := wait.PollImmediate(socketDialRetryPeriod, socketDialTimeout, func() (bool, error) { klog.V(6).InfoS("Dialing the socket", "filePath", filePath) var c net.Conn c, lastSocketErr = net.Dial("unix", filePath) if lastSocketErr == nil { c.Close()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 4K bytes - Viewed (0) -
src/crypto/sha512/sha512block.go
0x431d67c49c100d4c, 0x4cc5d4becb3e42b6, 0x597f299cfc657e2a, 0x5fcb6fab3ad6faec, 0x6c44198c4a475817, } func blockGeneric(dig *digest, p []byte) { var w [80]uint64 h0, h1, h2, h3, h4, h5, h6, h7 := dig.h[0], dig.h[1], dig.h[2], dig.h[3], dig.h[4], dig.h[5], dig.h[6], dig.h[7] for len(p) >= chunk { for i := 0; i < 16; i++ { j := i * 8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:17:08 UTC 2023 - 3.3K bytes - Viewed (0) -
src/crypto/sha256/sha256block.go
0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2, } func blockGeneric(dig *digest, p []byte) { var w [64]uint32 h0, h1, h2, h3, h4, h5, h6, h7 := dig.h[0], dig.h[1], dig.h[2], dig.h[3], dig.h[4], dig.h[5], dig.h[6], dig.h[7] for len(p) >= chunk { // Can interlace the computation of w with the // rounds below if needed for speed. for i := 0; i < 16; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:21:42 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/third_party/svgpan/svgpan.js
if( evt.target.tagName == "svg" || !enableDrag // Pan anyway when drag is disabled and the user clicked on an element ) { // Pan mode state = 'pan'; stateTf = g.getCTM().inverse(); stateOrigin = getEventPoint(evt).matrixTransform(stateTf); } else { // Drag mode state = 'drag'; stateTarget = evt.target; stateTf = g.getCTM().inverse();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 7K bytes - Viewed (0)