Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 149 for provider (0.12 sec)

  1. src/embed/embed.go

    // Copyright 2020 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 embed provides access to files embedded in the running Go program.
    //
    // Go source files that import "embed" can use the //go:embed directive
    // to initialize a variable of type string, []byte, or [FS] with the contents of
    // files read from the package directory or subdirectories at compile time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/block.go

    }
    
    // ReplaceControl exchanges the existing control value at the index provided
    // for the new value. The index must refer to a valid control value.
    func (b *Block) ReplaceControl(i int, v *Value) {
    	b.Controls[i].Uses--
    	b.Controls[i] = v
    	v.Uses++
    }
    
    // CopyControls replaces the controls for this block with those from the
    // provided block. The provided block is not modified.
    func (b *Block) CopyControls(from *Block) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/go/types/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 []ast.Expr) []Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/go/types/stmt.go

    		// they are handled explicitly by funcBody.
    		if !scope.isFunc {
    			check.usage(scope)
    		}
    	}
    }
    
    // stmtContext is a bitset describing which
    // control-flow statements are permissible,
    // and provides additional context information
    // for better error messages.
    type stmtContext uint
    
    const (
    	// permissible control-flow statements
    	breakOk stmtContext = 1 << iota
    	continueOk
    	fallthroughOk
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. src/net/http/request_test.go

    	if q := req.FormValue("q"); q != "foo" {
    		t.Errorf(`req.FormValue("q") = %q, want "foo"`, q)
    	}
    }
    
    // Issue #25192: Test that ParseForm fails but still parses the form when a URL
    // containing a semicolon is provided.
    func TestParseFormSemicolonSeparator(t *testing.T) {
    	for _, method := range []string{"POST", "PATCH", "PUT", "GET"} {
    		req, _ := NewRequest(method, "http://www.google.com/search?q=foo;q=bar&a=1",
    			strings.NewReader("q"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. src/encoding/json/decode.go

    	return strconv.ParseFloat(string(n), 64)
    }
    
    // Int64 returns the number as an int64.
    func (n Number) Int64() (int64, error) {
    	return strconv.ParseInt(string(n), 10, 64)
    }
    
    // An errorContext provides context for type errors during decoding.
    type errorContext struct {
    	Struct     reflect.Type
    	FieldStack []string
    }
    
    // decodeState represents the state while decoding a JSON value.
    type decodeState struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package profile provides a representation of profile.proto and
    // methods to encode/decode profiles in this format.
    package profile
    
    import (
    	"bytes"
    	"compress/gzip"
    	"fmt"
    	"io"
    	"math"
    	"path/filepath"
    	"regexp"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. src/flag/flag_test.go

    	ResetForTesting(DefaultUsage)
    	var buf strings.Builder
    	CommandLine.SetOutput(&buf)
    	defer func(old []string) { os.Args = old }(os.Args)
    	os.Args = []string{"app", "-i=1", "-unknown"}
    	Parse()
    	const want = "flag provided but not defined: -i\nUsage of app:\n"
    	if got := buf.String(); got != want {
    		t.Errorf("output = %q; want %q", got, want)
    	}
    }
    
    func TestGetters(t *testing.T) {
    	expectedName := "flag set"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. src/net/net.go

    // license that can be found in the LICENSE file.
    
    /*
    Package net provides a portable interface for network I/O, including
    TCP/IP, UDP, domain name resolution, and Unix domain sockets.
    
    Although the package provides access to low-level networking
    primitives, most clients will need only the basic interface provided
    by the [Dial], [Listen], and Accept functions and the associated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    //
    // If the hint is non-nil buts its first token does not match,
    // the new line is added after the block containing hint
    // (or hint itself, if not in a block).
    //
    // If no hint is provided, addLine appends the line to the end of
    // the last block with a matching first token,
    // or to the end of the file if no such block exists.
    func (x *FileSyntax) addLine(hint Expr, tokens ...string) *Line {
    	if hint == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top