Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 152 for provider (0.13 sec)

  1. src/cmd/compile/internal/types2/infer.go

    	errorf := func(tpar, targ Type, arg *operand) {
    		// provide a better error message if we can
    		targs := u.inferred(tparams)
    		if targs[0] == nil {
    			// The first type parameter couldn't be inferred.
    			// If none of them could be inferred, don't try
    			// to provide the inferred type in the error msg.
    			allFailed := true
    			for _, targ := range targs {
    				if targ != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    duration of a C function call. Memory may be pinned more than once and
    must be unpinned exactly the same number of times it has been pinned.
    
    Go code may pass a Go pointer to C provided the memory to which it
    points does not contain any Go pointers to memory that is unpinned. When
    passing a pointer to a field in a struct, the Go memory in question is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    package tar
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"slices"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/typexpr.go

    	if isInteger(x.typ) {
    		msg = "invalid array length %s"
    	} else {
    		msg = "array length %s must be integer"
    	}
    	check.errorf(&x, InvalidArrayLen, msg, &x)
    	return -1
    }
    
    // typeList provides the list of types corresponding to the incoming expression list.
    // If an error occurred, the result is nil, but all list elements were type-checked.
    func (check *Checker) typeList(list []syntax.Expr) []Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/named.go

    //    type or methods, so that we may resolve recursive references.
    //  - When loading from export data, we may load its methods and underlying
    //    type lazily using a provided load function.
    //  - After instantiating, we lazily expand the underlying type and methods
    //    (note that instances may be created while still in the process of
    //    type-checking the original type declaration).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/go/types/named.go

    //    type or methods, so that we may resolve recursive references.
    //  - When loading from export data, we may load its methods and underlying
    //    type lazily using a provided load function.
    //  - After instantiating, we lazily expand the underlying type and methods
    //    (note that instances may be created while still in the process of
    //    type-checking the original type declaration).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. src/net/http/fs.go

    }
    
    // ServeFile replies to the request with the contents of the named
    // file or directory.
    //
    // If the provided file or directory name is a relative path, it is
    // interpreted relative to the current directory and may ascend to
    // parent directories. If the provided name is constructed from user
    // input, it should be sanitized before calling [ServeFile].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/call.go

    	"strings"
    )
    
    // funcInst type-checks a function instantiation.
    // The incoming x must be a generic function.
    // If inst != nil, it provides some or all of the type arguments (inst.Index).
    // If target != nil, it may be used to infer missing type arguments of x, if any.
    // At least one of T or inst must be provided.
    //
    // There are two modes of operation:
    //
    //  1. If infer == true, funcInst infers missing type arguments as needed and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/instantiate.go

    		}
    	}
    
    	inst := (*Checker)(nil).instance(nopos, orig_, targs, nil, ctxt)
    	return inst, nil
    }
    
    // instance instantiates the given original (generic) function or type with the
    // provided type arguments and returns the resulting instance. If an identical
    // instance exists already in the given contexts, it returns that instance,
    // otherwise it creates a new one.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/go/types/call.go

    	"strings"
    )
    
    // funcInst type-checks a function instantiation.
    // The incoming x must be a generic function.
    // If ix != nil, it provides some or all of the type arguments (ix.Indices).
    // If target != nil, it may be used to infer missing type arguments of x, if any.
    // At least one of T or ix must be provided.
    //
    // There are two modes of operation:
    //
    //  1. If infer == true, funcInst infers missing type arguments as needed and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top