Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for S1 (0.12 sec)

  1. src/cmd/compile/internal/types2/issues_test.go

    	//         }
    	// }
    	n1 := NewTypeName(nopos, nil, "T1", nil)
    	T1 := NewNamed(n1, nil, nil)
    	n2 := NewTypeName(nopos, nil, "T2", nil)
    	T2 := NewNamed(n2, nil, nil)
    	s1 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
    	T1.SetUnderlying(s1)
    	s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
    	s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil)
    	T2.SetUnderlying(s3)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/cmd/cover/cover.go

    }
    
    // addCounters takes a list of statements and adds counters to the beginning of
    // each basic block at the top level of that list. For instance, given
    //
    //	S1
    //	if cond {
    //		S2
    //	}
    //	S3
    //
    // counters will be added before S1 and before S3. The block containing S2
    // will be visited in a separate call.
    // TODO: Nested simple blocks get unnecessary (but correct) counters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		{`package g3; type N[A any] int; func (N[_]) m() {}`, `N`, `type g3.N[A any] int`},
    
    		// Uses of fields are instantiated.
    		{`package s1; type N[A any] struct{ a A }; var f = N[int]{}.a`, `a`, `field a int`},
    		{`package s1; type N[A any] struct{ a A }; func (r N[B]) m(b B) { r.a = b }`, `a`, `field a B`},
    
    		// Uses of methods are uses of the instantiated method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    		{`package g3; type N[A any] int; func (N[_]) m() {}`, `N`, `type g3.N[A any] int`},
    
    		// Uses of fields are instantiated.
    		{`package s1; type N[A any] struct{ a A }; var f = N[int]{}.a`, `a`, `field a int`},
    		{`package s1; type N[A any] struct{ a A }; func (r N[B]) m(b B) { r.a = b }`, `a`, `field a B`},
    
    		// Uses of methods are uses of the instantiated method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. doc/go_spec.html

    array with the operand.
    </p>
    
    <pre>
    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &amp;s1[2] == &amp;a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &amp;s2[1] == &amp;a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    
    var s []int
    s3 := s[:0]    // s3 == nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  6. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (SelectN [0] call:(CALLstatic {sym} s1:(MOVDstore _ (MOVDconst [sz]) s2:(MOVDstore  _ src s3:(MOVDstore {t} _ dst mem)))))
            && sz >= 0
            && isSameCall(sym, "runtime.memmove")
            && s1.Uses == 1 && s2.Uses == 1 && s3.Uses == 1
            && isInlinableMemmove(dst, src, sz, config)
            && clobber(s1, s2, s3, call)
            => (Move [sz] dst src mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                                    shape_inference::ShapeHandle s1) -> bool {
        if (s0.SameHandle(s1) || (!c->RankKnown(s0) && !c->RankKnown(s1))) {
          return true;
        }
        if (c->Rank(s0) != c->Rank(s1)) {
          return false;
        }
        for (int i = 0; i < c->Rank(s0); ++i) {
          if (!c->Dim(s0, i).SameHandle(c->Dim(s1, i))) {
            int64_t val0 = c->Value(c->Dim(s0, i));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_server_test.go

    		t.Errorf("Error expected, but no error returned")
    	}
    }
    
    func TestCloneHash(t *testing.T) {
    	h1 := crypto.SHA256.New()
    	h1.Write([]byte("test"))
    	s1 := h1.Sum(nil)
    	h2 := cloneHash(h1, crypto.SHA256)
    	s2 := h2.Sum(nil)
    	if !bytes.Equal(s1, s2) {
    		t.Error("cloned hash generated a different sum")
    	}
    }
    
    func expectError(t *testing.T, err error, sub string) {
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // podAntiAffinityLabelSelector:
      //  - key: security
      //    operator: In
      //    values: S1,S2
      //    topologyKey: "kubernetes.io/hostname"
      //  This pod anti-affinity rule says that the pod requires not to be scheduled
      //  onto a node if that node is already running a pod with label having key
      //  “security” and value “S1”.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one_test.go

    			},
    		},
    	}
    
    	cmpOpts := []cmp.Option{
    		cmp.Comparer(func(s1 framework.Status, s2 framework.Status) bool {
    			return s1.Code() == s2.Code() && reflect.DeepEqual(s1.Reasons(), s2.Reasons())
    		}),
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top