Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for interfaces (0.73 sec)

  1. doc/next/6-stdlib/99-minor/crypto/x509/66249.md

    The new [ParseOID] function parses a dot-encoded ASN.1 Object Identifier string.
    The [OID] type now implements the [encoding.BinaryMarshaler],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:53:51 UTC 2024
    - 238 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    // specified position and formatted error message.
    func (pass *Pass) Reportf(pos token.Pos, format string, args ...interface{}) {
    	msg := fmt.Sprintf(format, args...)
    	pass.Report(Diagnostic{Pos: pos, Message: msg})
    }
    
    // The Range interface provides a range. It's equivalent to and satisfied by
    // ast.Node.
    type Range interface {
    	Pos() token.Pos // position of first character belonging to the node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/conversions.go

    	// conversion provides the type, per the spec: "A constant may be
    	// given a type explicitly by a constant declaration or conversion,...".
    	if isUntyped(x.typ) {
    		final := T
    		// - For conversions to interfaces, except for untyped nil arguments
    		//   and isTypes2, use the argument's default type.
    		// - For conversions of untyped constants to non-constant types, also
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    }
    
    // Writer provides a mechanism to write data under a certain name,
    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/type.go

    package syntax
    
    import "go/constant"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    // (This type originally lived in types2. We moved it here
    // so we could depend on it from other packages without
    // introducing an import cycle.)
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/crypto/aes/gcm_ppc64x.go

    	gcmBlockSize         = 16
    	gcmTagSize           = 16
    	gcmStandardNonceSize = 12
    )
    
    var errOpen = errors.New("cipher: message authentication failed")
    
    // Assert that aesCipherGCM implements the gcmAble interface.
    var _ gcmAble = (*aesCipherAsm)(nil)
    
    type gcmAsm struct {
    	cipher *aesCipherAsm
    	// ks is the key schedule, the length of which depends on the size of
    	// the AES key.
    	ks []uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/testdata/issue52391.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type _ interface {
    	int
    	(int)
    	(*int)
    	*([]byte)
    	~(int)
    	(int) | (string)
    	(int) | ~(string)
    	(/* ERROR unexpected ~ */ ~int)
    	(int /* ERROR unexpected \| */ | /* ERROR unexpected name string */ string /* ERROR unexpected \) */ )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 405 bytes
    - Viewed (0)
  8. src/cmd/asm/main.go

    		}
    	}
    
    	var ok, diag bool
    	var failedFile string
    	for _, f := range flag.Args() {
    		lexer := lex.NewLexer(f)
    		parser := asm.NewParser(ctxt, architecture, lexer)
    		ctxt.DiagFunc = func(format string, args ...interface{}) {
    			diag = true
    			log.Printf(format, args...)
    		}
    		if *flags.SymABIs {
    			ok = parser.ParseSymABIs(buf)
    		} else {
    			pList := new(obj.Plist)
    			pList.Firstpc, ok = parser.Parse()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/crypto/aes/ctr_s390x.go

    //go:build !purego
    
    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"internal/byteorder"
    )
    
    // Assert that aesCipherAsm implements the ctrAble interface.
    var _ ctrAble = (*aesCipherAsm)(nil)
    
    // xorBytes xors the contents of a and b and places the resulting values into
    // dst. If a and b are not the same length then the number of bytes processed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/covdata/covdata.go

    }
    
    func dbgtrace(vlevel int, s string, a ...interface{}) {
    	if *verbflag >= vlevel {
    		fmt.Printf(s, a...)
    		fmt.Printf("\n")
    	}
    }
    
    func warn(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    	fmt.Fprintf(os.Stderr, "\n")
    	if *hwflag {
    		panic("unexpected warning")
    	}
    }
    
    func fatal(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "error: ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top