Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 282 for Messages (0.19 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix.go

    		i += cmsgAlignOf(int(h.Len))
    	}
    	return msgs, nil
    }
    
    // ParseOneSocketControlMessage parses a single socket control message from b, returning the message header,
    // message data (a slice of b), and the remainder of b after that single message.
    // When there are no remaining messages, len(remainder) == 0.
    func ParseOneSocketControlMessage(b []byte) (hdr Cmsghdr, data []byte, remainder []byte, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/errsupport.go

    // license that can be found in the LICENSE file.
    
    // This file implements support functions for error messages.
    
    package types2
    
    // lookupError returns a case-specific error when a lookup of selector sel in the
    // given type fails but an object with alternative spelling (case folding) is found.
    // If structLit is set, the error message is specifically for struct literal fields.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_json_issue35169.txt

    ! go test -json .
    
    	# We should see only JSON output on stdout, no non-JSON.
    	# To simplify the check, we just look for non-curly-braces, since
    	# every JSON entry has them and they're unlikely to occur
    	# in other error messages.
    ! stdout '^[^{]'
    ! stdout '[^}]\n$'
    
    	# Since the only test we requested failed to build, we should
    	# not see any "pass" actions in the JSON stream.
    ! stdout '\{.*"Action":"pass".*\}'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:29:21 UTC 2023
    - 804 bytes
    - Viewed (0)
  4. src/crypto/tls/prf.go

    	}
    
    	return finishedHash{sha1.New(), sha1.New(), md5.New(), md5.New(), buffer, version, prf}
    }
    
    // A finishedHash calculates the hash of a set of handshake messages suitable
    // for including in a Finished message.
    type finishedHash struct {
    	client hash.Hash
    	server hash.Hash
    
    	// Prior to TLS 1.2, an additional MD5 hash is required.
    	clientMD5 hash.Hash
    	serverMD5 hash.Hash
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/crypto/rsa/example_test.go

    		return
    	}
    
    	fmt.Printf("Plaintext: %s\n", plaintext)
    }
    
    func ExampleSignPKCS1v15() {
    	message := []byte("message to be signed")
    
    	// Only small messages can be signed directly; thus the hash of a
    	// message, rather than the message itself, is signed. This requires
    	// that the hash function be collision resistant. SHA-256 is the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/interface.go

    	methods   []*Func       // ordered list of explicitly declared methods
    	embeddeds []Type        // ordered list of explicitly embedded elements
    	embedPos  *[]syntax.Pos // positions of embedded elements; or nil (for error messages) - use pointer to save space
    	implicit  bool          // interface is wrapper for type set literal (non-interface T, ~T, or A|B)
    	complete  bool          // indicates that all fields (except for tset) are set up
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. src/crypto/ed25519/ed25519.go

    	return bytes.Clone(priv[:SeedSize])
    }
    
    // Sign signs the given message with priv. rand is ignored and can be nil.
    //
    // If opts.HashFunc() is [crypto.SHA512], the pre-hashed variant Ed25519ph is used
    // and message is expected to be a SHA-512 hash, otherwise opts.HashFunc() must
    // be [crypto.Hash](0) and the message must not be hashed, as Ed25519 performs two
    // passes over messages to be signed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/crypto/tls/conn.go

    	// hasVers indicates we're past the first message, forcing someone trying to
    	// make us just allocate a large buffer to at least do the initial part of
    	// the handshake first.
    	if c.haveVers && data[0] == typeCertificate {
    		// Since certificate messages are likely to be the only messages that
    		// can be larger than maxHandshake, we use a special limit for just
    		// those messages.
    		maxHandshakeSize = maxHandshakeCertificateMsg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_zos.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Socket control messages
    
    package unix
    
    import "unsafe"
    
    // UnixCredentials encodes credentials into a socket control message
    // for sending to another process. This can be used for
    // authentication.
    func UnixCredentials(ucred *Ucred) []byte {
    	b := make([]byte, CmsgSpace(SizeofUcred))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/errors/example_test.go

    	if err != nil {
    		fmt.Print(err)
    	}
    	// Output: emit macho dwarf: elf header corrupted
    }
    
    // The fmt package's Errorf function lets us use the package's formatting
    // features to create descriptive error messages.
    func ExampleNew_errorf() {
    	const name, id = "bimmler", 17
    	err := fmt.Errorf("user %q (id %d) not found", name, id)
    	if err != nil {
    		fmt.Print(err)
    	}
    	// Output: user "bimmler" (id 17) not found
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 02:08:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top