Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 218 for S1 (0.06 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptorTest.groovy

            WeaklyTypeReferencingMethod.of(declaringType, ModelType.of(method.returnType), method)
        }
    
        def noArgs() {}
    
        def oneArg(String s1) {}
    
        def twoArgs(String s1, String s2) {}
    
        def genericArgs(List<String> list, Map<Integer, List<String>> map) {}
    
        class Outer {
            static class Inner {
                def noArgs() {}
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. test/fixedbugs/bug479.dir/b.go

    // Copyright 2013 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 main
    
    import "./a"
    
    type S3 struct {
    	p.S1
    }
    
    func main() {
    	var i interface{} = S3{}
    	_ = i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 263 bytes
    - Viewed (0)
  3. test/typeparam/mapsimp.dir/a.go

    package a
    
    // SliceEqual reports whether two slices are equal: the same length and all
    // elements equal. All floating point NaNs are considered equal.
    func SliceEqual[Elem comparable](s1, s2 []Elem) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	for i, v1 := range s1 {
    		v2 := s2[i]
    		if v1 != v2 {
    			isNaN := func(f Elem) bool { return f != f }
    			if !isNaN(v1) || !isNaN(v2) {
    				return false
    			}
    		}
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 24 22:17:33 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. test/typeparam/list.go

    	if got, want := f1.Largest(), 13.5; got != want {
    		panic(fmt.Sprintf("got %f, want %f", got, want))
    	}
    
    	s3 := &_List[string]{nil, "dd"}
    	s2 := &_List[string]{s3, "aa"}
    	s1 := &_List[string]{s2, "bb"}
    	if got, want := s1.Largest(), "dd"; got != want {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    
    	j3 := &_ListNum[int]{nil, 1}
    	j2 := &_ListNum[int]{j3, 32}
    	j1 := &_ListNum[int]{j2, 2}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/util/BinaryDiffUtils.groovy

                cost[i] = i
            }
    
            // dynamically computing the array of distances
    
            // transformation cost for each letter in s1
            for (int j = 1; j < len1; j++) {
                // initial cost of skipping prefix in byte[] s1
                newcost[0] = j;
    
                // transformation cost for each letter in s0
                for (int i = 1; i < len0; i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 14 11:47:34 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/p/p.go

    package p
    
    var S1 string
    var S2 string
    var S3 string
    var S4 string
    var S5 string
    var S6 string
    var S7 string
    var S8 string
    var S9 string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 152 bytes
    - Viewed (0)
  7. test/fixedbugs/bug437.dir/two.go

    // Copyright 2012 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 two
    
    import "./one"
    
    type S2 struct {
    	one.S1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 216 bytes
    - Viewed (0)
  8. src/crypto/elliptic/nistec.go

    	}
    	return curve.pointToAffine(p)
    }
    
    // CombinedMult returns [s1]G + [s2]P where G is the generator. It's used
    // through an interface upgrade in crypto/ecdsa.
    func (curve *nistCurve[Point]) CombinedMult(Px, Py *big.Int, s1, s2 []byte) (x, y *big.Int) {
    	s1 = curve.normalizeScalar(s1)
    	q, err := curve.newPoint().ScalarBaseMult(s1)
    	if err != nil {
    		panic("crypto/elliptic: nistec rejected normalized scalar")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 16:19:34 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/builtins1.go

    	_ = make(S1, 10, 20)
    	_ = make /* ERROR "expects 2 or 3 arguments" */ (S1, 10, 20, 30)
    	_ = make(S2 /* ERROR "cannot make S2: no core type" */ , 10)
    
    	type M0 map[string]int
    	_ = make(map[string]int)
    	_ = make(M0)
    	_ = make(M1)
    	_ = make(M1, 10)
    	_ = make/* ERROR "expects 1 or 2 arguments" */(M1, 10, 20)
    	_ = make(M2 /* ERROR "cannot make M2: no core type" */ )
    
    	type C0 chan int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 21:16:29 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. src/internal/types/testdata/examples/functions.go

    func _() {
    	type intSlice []int
    	g1([]int{})
    	g1(intSlice{})
    	g2(nil, 0)
    
    	type myString string
    	var s1 string
    	g3(nil, "1", myString("2"), "3")
    	g3(& /* ERROR "cannot use &s1 (value of type *string) as *myString value in argument to g3" */ s1, "1", myString("2"), "3")
    	_ = s1
    
    	type myStruct struct{x int}
    	var s2 myStruct
    	g3(nil, struct{x int}{}, myStruct{})
    	g3(&s2, struct{x int}{}, myStruct{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top