Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 85 for S1 (0.23 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                }
            }
    
            return location != null ? new org.apache.maven.model.InputLocation(location) : null;
        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuildingRequest request, int errorThreshold) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  2. src/go/types/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)
  3. doc/go1.17_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
    </pre>
    
    
    <h4>Full slice expressions</h4>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/runtime/arena.go

    		// Not stored in a user arena chunk.
    		return s
    	}
    	// Heap-allocate storage for a copy.
    	var x any
    	switch t.Kind_ & abi.KindMask {
    	case abi.String:
    		s1 := s.(string)
    		s2, b := rawstring(len(s1))
    		copy(b, s1)
    		x = s2
    	case abi.Slice:
    		len := (*slice)(e.data).len
    		et := (*slicetype)(unsafe.Pointer(t)).Elem
    		sl := new(slice)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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 (0)
  10. 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)
Back to top