- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 285 for diag (0.65 sec)
-
src/cmd/internal/notsha256/sha256block_generic.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build purego || (!amd64 && !386 && !ppc64le && !ppc64) package notsha256 func block(dig *digest, p []byte) { blockGeneric(dig, p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 300 bytes - Viewed (0) -
src/crypto/sha512/sha512block_generic.go
// license that can be found in the LICENSE file. //go:build (!amd64 && !arm64 && !ppc64 && !ppc64le && !riscv64 && !s390x) || purego package sha512 func block(dig *digest, p []byte) { blockGeneric(dig, p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 321 bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress.go
c, err := ln.Accept() if err != nil { return } time.Sleep(time.Millisecond) var buf [1]byte c.Write(buf[:]) c.Close() }() c, err := net.Dial("tcp", ln.Addr().String()) if err != nil { log.Fatalf("dial failed: %v", err) } var tmp [1]byte c.Read(tmp[:]) c.Close() go func() { runtime.Gosched() select {} }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/crypto/md5/md5block_generic.go
// license that can be found in the LICENSE file. //go:build (!amd64 && !386 && !arm && !ppc64le && !ppc64 && !s390x && !arm64) || purego package md5 const haveAsm = false func block(dig *digest, p []byte) { blockGeneric(dig, p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 345 bytes - Viewed (0) -
src/net/rpc/client.go
} conn.Close() return nil, &net.OpError{ Op: "dial-http", Net: network + " " + address, Addr: nil, Err: err, } } // Dial connects to an RPC server at the specified network address. func Dial(network, address string) (*Client, error) { conn, err := net.Dial(network, address) if err != nil { return nil, err } return NewClient(conn), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 9K bytes - Viewed (0) -
src/net/http/httptest/server_test.go
w.Write([]byte("hello")) })) dial := func() net.Conn { c, err := net.Dial("tcp", ts.Listener.Addr().String()) if err != nil { t.Fatal(err) } return c } // Keep one connection in StateNew (connected, but not sending anything) cnew := dial() defer cnew.Close() // Keep one connection in StateIdle (idle after a request) cidle := dial() defer cidle.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:12 UTC 2024 - 7.4K bytes - Viewed (0) -
src/net/rawconn_test.go
t.Error(err) return } } ls := newLocalServer(t, "tcp") defer ls.teardown() if err := ls.buildup(handler); err != nil { t.Fatal(err) } c, err := Dial(ls.Listener.Addr().Network(), ls.Listener.Addr().String()) if err != nil { t.Fatal(err) } defer c.Close() cc, err := c.(*TCPConn).SyscallConn() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
src/net/main_conf_test.go
t.Run("default resolver", f) t.Run("forced go resolver", func(t *testing.T) { // On plan9 the forceGoDNS might not force the go resolver, currently // it is only forced when the Resolver.Dial field is populated. // See conf.go mustUseGoResolver. defer forceGoDNS()() f(t) }) t.Run("forced cgo resolver", func(t *testing.T) { defer forceCgoDNS()() f(t) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 20:29:27 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/dag/parse_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package dag import ( "reflect" "strings" "testing" ) const diamond = ` NONE < a < b, c < d; ` func mustParse(t *testing.T, dag string) *Graph { t.Helper() g, err := Parse(dag) if err != nil { t.Fatal(err) } return g } func wantEdges(t *testing.T, g *Graph, edges string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 04 15:31:42 UTC 2022 - 1.3K bytes - Viewed (0) -
src/crypto/tls/link_test.go
program: `package main import "crypto/tls" func main() { tls.Dial("", "", nil) tls.Server(nil, nil) } `, want: []string{ "crypto/tls.(*Conn).clientHandshake", "crypto/tls.(*Conn).serverHandshake", }, }, { name: "only_client", program: `package main import "crypto/tls" func main() { tls.Dial("", "", nil) } `, want: []string{ "crypto/tls.(*Conn).clientHandshake",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 11:28:56 UTC 2022 - 2.4K bytes - Viewed (0)