Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for NEW (0.04 sec)

  1. src/runtime/proc.go

    	// Delicate dance: the semaphore implementation calls
    	// acquireSudog, acquireSudog calls new(sudog),
    	// new calls malloc, malloc can call the garbage collector,
    	// and the garbage collector calls the semaphore implementation
    	// in stopTheWorld.
    	// Break the cycle by doing acquirem/releasem around new(sudog).
    	// The acquirem/releasem increments m.locks during new(sudog),
    	// which keeps the garbage collector from being invoked.
    	mp := acquirem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    }
    
    func (c *concurrentRandomTest) init(t testing.TB, db *DB) {
    	c.tests = []concurrentTest{
    		new(concurrentDBQueryTest),
    		new(concurrentDBExecTest),
    		new(concurrentStmtQueryTest),
    		new(concurrentStmtExecTest),
    		new(concurrentTxQueryTest),
    		new(concurrentTxExecTest),
    		new(concurrentTxStmtQueryTest),
    		new(concurrentTxStmtExecTest),
    	}
    	for _, ct := range c.tests {
    		ct.init(t, db)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway_test.go

    			ExportTo:  sets.New(visibility.Private),
    		},
    	}
    	bazs2HostName := host.Name("bazs2.example.org")
    	bazs2ServiceInDefaultNamespace := &pilot_model.Service{
    		Hostname: bazs2HostName,
    		Ports: []*pilot_model.Port{{
    			Name:     "http",
    			Protocol: "HTTP",
    			Port:     8092,
    		}},
    		Attributes: pilot_model.ServiceAttributes{
    			Namespace: "default",
    			ExportTo:  sets.New(visibility.Private),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    			MaxConnections: 1,
    			ConnectTimeout: durationpb.New(2 * time.Second),
    			TcpKeepalive: &networking.ConnectionPoolSettings_TCPSettings_TcpKeepalive{
    				Probes:   3,
    				Time:     durationpb.New(4 * time.Second),
    				Interval: durationpb.New(5 * time.Second),
    			},
    			MaxConnectionDuration: durationpb.New(6 * time.Second),
    		},
    	}
    
    	overrideSettings := &networking.ConnectionPoolSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. tests/integration/pilot/common/routing.go

    kind: VirtualService
    metadata:
      name: default
    spec:
      hosts:
        - {{ .dstSvc }}
      http:
      - match:
        - uri:
            exact: /foo
        redirect:
          uri: /new/path
      - match:
        - uri:
            exact: /new/path
        route:
        - destination:
            host: {{ .dstSvc }}`,
    		opts: echo.CallOptions{
    			Port: echo.Port{
    				Name: "http",
    			},
    			HTTP: echo.HTTP{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  6. src/net/http/server.go

    	}
    }
    
    func (mux *ServeMux) registerErr(patstr string, handler Handler) error {
    	if patstr == "" {
    		return errors.New("http: invalid pattern")
    	}
    	if handler == nil {
    		return errors.New("http: nil handler")
    	}
    	if f, ok := handler.(HandlerFunc); ok && f == nil {
    		return errors.New("http: nil handler")
    	}
    
    	pat, err := parsePattern(patstr)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    			check: func(got, logs string) error {
    				if !strings.Contains(got, "Content-Length:") {
    					return errors.New("no content-length")
    				}
    				if !strings.Contains(got, "Content-Type: some/type") {
    					return errors.New("wrong content-type")
    				}
    				if strings.Contains(got, "Too-Late") {
    					return errors.New("don't want too-late header")
    				}
    				return nil
    			},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. pkg/registry/batch/job/strategy_test.go

    		enableJobSuccessPolicy        bool
    		job                           batch.Job
    		updatedJob                    batch.Job
    		wantJob                       batch.Job
    	}{
    		"update job with a new field; updated when JobSuccessPolicy enabled": {
    			enableJobSuccessPolicy: true,
    			job: batch.Job{
    				ObjectMeta: getValidObjectMeta(0),
    				Spec: batch.JobSpec{
    					Selector:      validSelector,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/runtime/framework_test.go

    }
    var nodes = []*v1.Node{
    	{ObjectMeta: metav1.ObjectMeta{Name: "node1"}},
    	{ObjectMeta: metav1.ObjectMeta{Name: "node2"}},
    }
    
    var (
    	errInjectedStatus       = errors.New(injectReason)
    	errInjectedFilterStatus = errors.New(injectFilterReason)
    )
    
    func newFrameworkWithQueueSortAndBind(ctx context.Context, r Registry, profile config.KubeSchedulerProfile, opts ...Option) (framework.Framework, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		byteData []byte
    		md5sum   string
    	}{
    		{byteData: generateBytesData(6 * humanize.KiByte)},
    	}
    	h := md5.New()
    	h.Write(bytesData[0].byteData)
    	bytesData[0].md5sum = hex.EncodeToString(h.Sum(nil))
    
    	buffers := []*bytes.Buffer{
    		new(bytes.Buffer),
    		new(bytes.Buffer),
    	}
    	bucketInfo, err := obj.GetBucketInfo(context.Background(), bucketName, BucketOptions{})
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top