Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for expvar (0.19 sec)

  1. src/expvar/expvar.go

    //
    // The package is sometimes only imported for the side effect of
    // registering its HTTP handler and the above variables. To use it
    // this way, link this package into your program:
    //
    //	import _ "expvar"
    package expvar
    
    import (
    	"encoding/json"
    	"internal/godebug"
    	"log"
    	"math"
    	"net/http"
    	"os"
    	"runtime"
    	"slices"
    	"strconv"
    	"sync"
    	"sync/atomic"
    	"unicode/utf8"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/go/doc/comment/std.go

    //go:generate ./mkstd.sh
    
    package comment
    
    var stdPkgs = []string{
    	"bufio",
    	"bytes",
    	"cmp",
    	"context",
    	"crypto",
    	"embed",
    	"encoding",
    	"errors",
    	"expvar",
    	"flag",
    	"fmt",
    	"hash",
    	"html",
    	"image",
    	"io",
    	"iter",
    	"log",
    	"maps",
    	"math",
    	"mime",
    	"net",
    	"os",
    	"path",
    	"plugin",
    	"reflect",
    	"regexp",
    	"runtime",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 671 bytes
    - Viewed (0)
  3. src/expvar/expvar_test.go

    // Copyright 2009 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 expvar
    
    import (
    	"bytes"
    	"crypto/sha1"
    	"encoding/json"
    	"fmt"
    	"net"
    	"net/http/httptest"
    	"reflect"
    	"runtime"
    	"strconv"
    	"sync"
    	"sync/atomic"
    	"testing"
    )
    
    // RemoveAll removes all exported variables.
    // This is for tests only.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/go/build/deps_test.go

    	net/http/internal,
    	net/http/internal/ascii,
    	net/http/internal/testcert,
    	net/http/httptrace,
    	mime/multipart,
    	log
    	< net/http;
    
    	# HTTP-aware packages
    
    	encoding/json, net/http
    	< expvar;
    
    	net/http, net/http/internal/ascii
    	< net/http/cookiejar, net/http/httputil;
    
    	net/http, flag
    	< net/http/httptest;
    
    	net/http, regexp
    	< net/http/cgi
    	< net/http/fcgi;
    
    	# Profiling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/expr.go

    			return n
    		}
    		a := ir.Copy(n).(*ir.UnaryExpr)
    		a.X = l
    		return walkExpr(typecheck.Expr(a), init)
    
    	case ir.ODOT, ir.ODOTPTR:
    		n := n.(*ir.SelectorExpr)
    		l := safeExpr(n.X, init)
    		if l == n.X {
    			return n
    		}
    		a := ir.Copy(n).(*ir.SelectorExpr)
    		a.X = l
    		return walkExpr(typecheck.Expr(a), init)
    
    	case ir.ODEREF:
    		n := n.(*ir.StarExpr)
    		l := safeExpr(n.X, init)
    		if l == n.X {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. operator/pkg/util/k8s_test.go

    		major        string
    		minor        string
    		expErr       bool
    		operatorYaml string
    	}{
    		{
    			major:        "1",
    			minor:        "16",
    			expErr:       false,
    			operatorYaml: o1,
    		},
    		{
    			major:        "1",
    			minor:        "22",
    			expErr:       true,
    			operatorYaml: o1,
    		},
    		{
    			major:        "1",
    			minor:        "23",
    			expErr:       false,
    			operatorYaml: o2,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/mergelocals_test.go

    			},
    			experr: true,
    		},
    	}
    
    	for k, testcase := range testcases {
    		mls, err := liveness.MakeMergeLocalsState(testcase.partition, testcase.vars)
    		t.Logf("tc %d err is %v\n", k, err)
    		if testcase.experr && err == nil {
    			t.Fatalf("tc:%d missing error mls %v", k, mls)
    		} else if !testcase.experr && err != nil {
    			t.Fatalf("tc:%d unexpected error mls %v", k, err)
    		}
    		if mls != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    func (check *Checker) binary(x *operand, e ast.Expr, lhs, rhs ast.Expr, op token.Token, opPos token.Pos) {
    	var y operand
    
    	check.expr(nil, x, lhs)
    	check.expr(nil, &y, rhs)
    
    	if x.mode == invalid {
    		return
    	}
    	if y.mode == invalid {
    		x.mode = invalid
    		x.expr = y.expr
    		return
    	}
    
    	if isShift(op) {
    		check.shift(x, &y, e, op)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op syntax.Operator) {
    	var y operand
    
    	check.expr(nil, x, lhs)
    	check.expr(nil, &y, rhs)
    
    	if x.mode == invalid {
    		return
    	}
    	if y.mode == invalid {
    		x.mode = invalid
    		x.expr = y.expr
    		return
    	}
    
    	if isShift(op) {
    		check.shift(x, &y, e, op)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/expr.go

    	}
    	return n
    }
    
    // tcSlice typechecks an OSLICE or OSLICE3 node.
    func tcSlice(n *ir.SliceExpr) ir.Node {
    	n.X = DefaultLit(Expr(n.X), nil)
    	n.Low = indexlit(Expr(n.Low))
    	n.High = indexlit(Expr(n.High))
    	n.Max = indexlit(Expr(n.Max))
    	hasmax := n.Op().IsSlice3()
    	l := n.X
    	if l.Type() == nil {
    		n.SetType(nil)
    		return n
    	}
    	if l.Type().IsArray() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top