Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 261 for S1 (0.02 sec)

  1. statement_test.go

    				s.AddClause(clause.Where{
    					Exprs: s.BuildCondition(fmt.Sprintf("where%d", w)),
    				})
    			}
    
    			s1 := s.clone()
    			s1.AddClause(clause.Where{
    				Exprs: s.BuildCondition("FINAL1"),
    			})
    			s2 := s.clone()
    			s2.AddClause(clause.Where{
    				Exprs: s.BuildCondition("FINAL2"),
    			})
    
    			if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) {
    				t.Errorf("Where conditions should be different")
    			}
    		})
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Dec 23 13:19:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/go/ast/commentmap_test.go

    	z    complex128 // complex value
    }
    // also associated with T
    
    // x
    var x = 0 // x = 0
    // also associated with x
    
    // f1
    func f1() {
    	/* associated with s1 */
    	s1()
    	// also associated with s1
    	
    	// associated with s2
    	
    	// also associated with s2
    	s2() // line comment for s2
    }
    // associated with f1
    // also associated with f1
    
    // associated with f2
    
    // f2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:35:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/abiutils_test.go

    }
    
    func TestABIUtilsMethod(t *testing.T) {
    	// type s1 struct { f1 int16; f2 int16; f3 int16 }
    	// func(p1 *s1, p2 [7]*s1, p3 float64, p4 int16, p5 int16, p6 int16)
    	//   (r1 [7]*s1, r2 float64, r3 int64)
    	i16 := types.Types[types.TINT16]
    	i64 := types.Types[types.TINT64]
    	f64 := types.Types[types.TFLOAT64]
    	s1 := mkstruct(i16, i16, i16)
    	ps1 := types.NewPtr(s1)
    	a7 := types.NewArray(ps1, 7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue48951.go

    type (
            A1[P any] [10]A1 /* ERROR "invalid recursive type" */ [P]
            A2[P any] [10]A2 /* ERROR "invalid recursive type" */ [*P]
            A3[P any] [10]*A3[P]
    
            L1[P any] []L1[P]
    
            S1[P any] struct{ f S1 /* ERROR "invalid recursive type" */ [P] }
            S2[P any] struct{ f S2 /* ERROR "invalid recursive type" */ [*P] } // like example in issue
            S3[P any] struct{ f *S3[P] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 822 bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/AccessorsClassPathModelCrossVersionSpec.groovy

            def s1 = setOfAutomaticAccessorsFor(["application"])
            def s2 = setOfAutomaticAccessorsFor(["java"])
            def s3 = setOfAutomaticAccessorsFor(["application"])
            def s4 = setOfAutomaticAccessorsFor(["application", "java"])
            def s5 = setOfAutomaticAccessorsFor(["java"])
    
            expect:
            assertThat(s1, not(equalTo(s2))) // application ≠ java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. src/encoding/json/encode_test.go

    		CaseName: Name("DominantField"),
    		// Both S1 and S2 have a field named X, but since S has an X field as
    		// well, it takes precedence over S1.X and S2.X.
    		makeInput: func() any {
    			type (
    				S1 struct{ x, X int }
    				S2 struct{ x, X int }
    				S  struct {
    					S1
    					S2
    					x, X int
    				}
    			)
    			return S{S1{1, 2}, S2{3, 4}, 5, 6}
    		},
    		want: `{"X":6}`,
    	}, {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. pkg/slices/slices_test.go

    			},
    			want: []*string{},
    		},
    		{
    			name: "slice with 1 element",
    			args: args[string]{
    				[]string{s1},
    			},
    			want: []*string{&s1},
    		},
    		{
    			name: "slice with many elements",
    			args: args[string]{
    				[]string{s1, s2, s3},
    			},
    			want: []*string{&s1, &s2, &s3},
    		},
    	}
    	intTests := []testCase[int]{
    		{
    			name: "empty slice",
    			args: args[int]{
    				[]int{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/runtime/rand.go

    	// http://simul.iro.umontreal.ca/testu01/tu01.html
    	t := (*[2]uint32)(unsafe.Pointer(&mp.cheaprand))
    	s1, s0 := t[0], t[1]
    	s1 ^= s1 << 17
    	s1 = s1 ^ s0 ^ s1>>7 ^ s0>>16
    	t[0], t[1] = s0, s1
    	return s0 + s1
    }
    
    // cheaprand64 is a non-cryptographic-quality 63-bit random generator
    // suitable for calling at very high frequency (such as during sampling decisions).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/typeparams.go

            var s0 []int
            for range s0 {}
            for _ = range s0 {}
            for _, _ = range s0 {}
    
            var s1 S1
            for range s1 {}
            for _ = range s1 {}
            for _, _ = range s1 {}
    
            var s2 S2
            for range s2 /* ERRORx `cannot range over s2.*no core type` */ {}
    
            var a0 []int
            for range a0 {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  10. src/internal/bytealg/equal_ppc64x.s

    	BR	memeqbody<>(SB)
    eq:
    	MOVD	$1, R3
    	RET
    
    // Do an efficient memequal for ppc64
    // R3 = s1
    // R4 = s2
    // R5 = len
    // On exit:
    // R3 = return value
    TEXT memeqbody<>(SB),NOSPLIT|NOFRAME,$0-0
    	MOVD	R3, R8		// Move s1 into R8
    	ADD	R5, R3, R9	// &s1[len(s1)]
    	ADD	R5, R4, R10	// &s2[len(s2)]
    	MOVD	$1, R11
    	CMP	R5, $16		// Use GPR checks for check for len <= 16
    	BLE	check0_16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top