Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for nDests (0.13 sec)

  1. src/os/os_test.go

    	from, to := "renameFROM", "RENAMEfrom"
    	tests := []struct {
    		name   string
    		create func() error
    	}{
    		{"dir", func() error {
    			return Mkdir(from, 0777)
    		}},
    		{"file", func() error {
    			fd, err := Create(from)
    			if err != nil {
    				return err
    			}
    			return fd.Close()
    		}},
    	}
    
    	for _, test := range tests {
    		pt.Run(test.name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    				}),
    				cmp.Comparer(func(a, b *kmsv2PluginProbe) bool {
    					return *a == *b
    				}),
    			); d != "" {
    				t.Fatalf("HealthzConfig mismatch (-want +got):\n%s", d)
    			}
    		})
    	}
    }
    
    // tests for masking rules
    func TestWildcardMasking(t *testing.T) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.KMSv1, true)
    
    	testCases := []struct {
    		desc          string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  3. src/go/printer/nodes.go

    // any control chars. Otherwise, the result is > maxSize.
    func (p *printer) nodeSize(n ast.Node, maxSize int) (size int) {
    	// nodeSize invokes the printer, which may invoke nodeSize
    	// recursively. For deep composite literal nests, this can
    	// lead to an exponential algorithm. Remember previous
    	// results to prune the recursion (was issue 1628).
    	if size, found := p.nodeSizes[n]; found {
    		return size
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. src/regexp/syntax/parse.go

    	ErrTrailingBackslash     ErrorCode = "trailing backslash at end of expression"
    	ErrUnexpectedParen       ErrorCode = "unexpected )"
    	ErrNestingDepth          ErrorCode = "expression nests too deeply"
    	ErrLarge                 ErrorCode = "expression too large"
    )
    
    func (e ErrorCode) String() string {
    	return string(e)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. pkg/kubelet/pod_workers_test.go

    	for i := 0; i < item.queue; i++ {
    		item.out <- struct{}{}
    	}
    	item.queue = 0
    }
    
    // WorkChannel intercepts podWork channels between the pod worker and its child
    // goroutines and allows tests to pause or release the flow of podWork to the
    // workers.
    type WorkChannel struct {
    	lock     sync.Mutex
    	channels map[types.UID]*WorkChannelItem
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    }
    
    // We can't test this together with the other Exp tests above because
    // it requires a different receiver setup.
    func TestIssue22830(t *testing.T) {
    	one := new(Int).SetInt64(1)
    	base, _ := new(Int).SetString("84555555300000000000", 10)
    	mod, _ := new(Int).SetString("66666670001111111111", 10)
    	want, _ := new(Int).SetString("17888885298888888889", 10)
    
    	var tests = []int64{
    		0, 1, -1,
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/unroll-batch-matmul.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tf-unroll-batch-matmul %s | FileCheck %s
    
    //==== V1 tests ====
    
    func.func @batchMatMulTwoDim(%arg0: tensor<2x3x4x5xf32>, %arg1: tensor<2x3x5x6xf32>) -> tensor<2x3x4x6xf32> {
      %0 = "tf.BatchMatMul"(%arg0, %arg1) : (tensor<2x3x4x5xf32>, tensor<2x3x5x6xf32>) -> tensor<2x3x4x6xf32>
      func.return %0 : tensor<2x3x4x6xf32>
    
      // CHECK-LABEL: batchMatMulTwoDim
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 63.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // bidirectional communication between a hypervisor and its guest virtual
    // machines.
    type SockaddrVM struct {
    	// CID and Port specify a context ID and port address for a VM socket.
    	// Guests have a unique CID, and hosts may have a well-known CID of:
    	//  - VMADDR_CID_HYPERVISOR: refers to the hypervisor process.
    	//  - VMADDR_CID_LOCAL: refers to local communication (loopback).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			Name:      "foo",
    			Namespace: "bar",
    		},
    		Spec: corev1.ServiceSpec{
    			Ports: []corev1.ServicePort{{Port: 80, TargetPort: intstr.FromInt32(8081)}},
    		},
    	}
    	tests = append(tests,
    		testcase{
    			name:     "target ports changed",
    			prev:     &svc,
    			curr:     &updatedSvc,
    			prevConv: kube.ConvertService(svc, constants.DefaultClusterLocalDomain, "", nil),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  10. cluster/gce/windows/k8s-node-setup.psm1

      Configure-WindowsDefender
    }
    
    # Creates directories where other functions in this module will read and write
    # data.
    # Note: C:\tmp is required for running certain kubernetes tests.
    #       C:\var\log is used by kubelet to stored container logs and also
    #       hard-coded in the fluentd/stackdriver config for log collection.
    function Create-Directories {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top