Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for expvar (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/kubelet/cm/cpumanager/policy_static_test.go

    		containerName:   spt.containerName,
    		stAssignments:   spt.stAssignments.Clone(),
    		stDefaultCPUSet: spt.stDefaultCPUSet.Clone(),
    		pod:             spt.pod, // accessed in read-only
    		expErr:          spt.expErr,
    		expCPUAlloc:     spt.expCPUAlloc,
    		expCSet:         spt.expCSet.Clone(),
    	}
    }
    
    func TestStaticPolicyName(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/envcmd/env.go

    	}
    	ar, arChanged := cfg.EnvOrAndChanged("AR", "ar")
    	env = append(env, cfg.EnvVar{Name: "AR", Value: ar, Changed: arChanged})
    	env = append(env, cfg.EnvVar{Name: "CC", Value: cc, Changed: ccChanged})
    	env = append(env, cfg.EnvVar{Name: "CXX", Value: cxx, Changed: cxxChanged})
    
    	if cfg.BuildContext.CgoEnabled {
    		env = append(env, cfg.EnvVar{Name: "CGO_ENABLED", Value: "1", Changed: cfg.CGOChanged})
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. pkg/kubelet/container/helpers_test.go

    		name            string
    		container       *v1.Container
    		envs            []EnvVar
    		expectedCommand []string
    		expectedArgs    []string
    	}{
    		{
    			name:      "none",
    			container: &v1.Container{},
    		},
    		{
    			name: "command expanded",
    			container: &v1.Container{
    				Command: []string{"foo", "$(VAR_TEST)", "$(VAR_TEST2)"},
    			},
    			envs: []EnvVar{
    				{
    					Name:  "VAR_TEST",
    					Value: "zoo",
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		EnvVar: "MINIO_LISTENERS",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "console-address",
    		Usage:  "bind to a specific ADDRESS:PORT for embedded Console UI, ADDRESS can be an IP or hostname",
    		EnvVar: "MINIO_CONSOLE_ADDRESS",
    	},
    	cli.DurationFlag{
    		Name:   "shutdown-timeout",
    		Value:  xhttp.DefaultShutdownTimeout,
    		Usage:  "shutdown timeout to gracefully shutdown server",
    		EnvVar: "MINIO_SHUTDOWN_TIMEOUT",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (1)
  9. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

                    commandLine './sample'
                    environment ${envVar}: '`\$(touch "${exploit.absolutePath}")`'
                }
            """
            fails('execStartScript')
    
            then:
            result.assertTaskExecuted(":execStartScript")
            !exploit.exists()
    
            where:
            envVar << ["JAVA_OPTS", "SAMPLE_OPTS"]
        }
    
        @Requires(UnitTestPreconditions.UnixDerivative)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go

    func (in *EnvVar) DeepCopyInto(out *EnvVar) {
    	*out = *in
    	in.EnvVar.DeepCopyInto(&out.EnvVar)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
    func (in *EnvVar) DeepCopy() *EnvVar {
    	if in == nil {
    		return nil
    	}
    	out := new(EnvVar)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top