Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 385 for S1 (0.03 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleBindingTest.groovy

                new AmbiguousBindingReporter.Provider("s1", methodDescriptor(ProvidesStringOne, "s1").toString()),
            ]).asString()
    
            cause.message == message
    
            where:
            order << [ProvidesStringOne, ProvidesStringTwo, MutatesString].permutations()
        }
    
        static class MutatesS1AsInteger extends RuleSource {
            @Mutate
            void m(@Path("s1") Integer s1) {
    
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. test/ken/simparray.go

    package main
    
    var b[10] float32;
    
    func
    main() {
    	var a[10] float32;
    
    	for i:=int16(5); i<10; i=i+1 {
    		a[i] = float32(i);
    	}
    
    	s1 := float32(0);
    	for i:=5; i<10; i=i+1 {
    		s1 = s1 + a[i];
    	}
    
    	if s1 != 35 { panic(s1); }
    
    	for i:=int16(5); i<10; i=i+1 {
    		b[i] = float32(i);
    	}
    
    	s2 := float32(0);
    	for i:=5; i<10; i=i+1 {
    		s2 = s2 + b[i];
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 730 bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue51335.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type S1 struct{}
    type S2 struct{}
    
    func _[P *S1|*S2]() {
    	_= []P{{ /* ERROR "invalid composite literal element type P (no core type)" */ }}
    }
    
    func _[P *S1|S1]() {
    	_= []P{{ /* ERROR "invalid composite literal element type P (no core type)" */ }}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 420 bytes
    - Viewed (0)
  4. test/typeparam/ordered.go

    	s1 := make([]Elem, len(s))
    	copy(s1, s)
    	s2 := make([]Elem, len(s))
    	copy(s2, s)
    	_OrderedSlice(s1)
    	sorter(s2)
    	ok := true
    	if !sliceEq(s1, s2) {
    		fmt.Printf("%s: got %v, want %v", name, s1, s2)
    		ok = false
    	}
    	for i := len(s1) - 1; i > 0; i-- {
    		if s1[i] < s1[i-1] {
    			fmt.Printf("%s: element %d (%v) < element %d (%v)", name, i, s1[i], i-1, s1[i-1])
    			ok = false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. test/fixedbugs/bug253.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type S1 struct {
    	i int
    }
    type S2 struct {
    	i int
    }
    type S3 struct {
    	S1
    	S2
    }
    type S4 struct {
    	S3
    	S1
    }
    
    func main() {
    	var s4 S4
    	if s4.i != 0 { // .i refers to s4.S1.i, unambiguously
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 390 bytes
    - Viewed (0)
  6. pkg/kubelet/util/manager/cache_based_manager_test.go

    	assert.Equal(t, 1, refs("ns1", "s1"))
    	manager.RegisterPod(podWithSecrets("ns1", "name2", s1))
    	assert.Equal(t, 2, refs("ns1", "s1"))
    
    	manager.UnregisterPod(podWithSecrets("ns1", "name1", s1))
    	assert.Equal(t, 1, refs("ns1", "s1"))
    	manager.UnregisterPod(podWithSecrets("ns1", "name1", s1))
    	assert.Equal(t, 1, refs("ns1", "s1"))
    	manager.UnregisterPod(podWithSecrets("ns1", "name2", s1))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderFactoryTest.groovy

            def black = withValues("black")
            def cat = withValues("cat")
    
            when:
            def zipped = providerFactory.zip(
                    providerFactory.zip(big, black) { s1, s2 -> "$s1 $s2" } ,
                    cat) { s1, s2 -> "${s1.capitalize()} ${s2}"}
    
            then:
            zipped instanceof Provider
            zipped.get() == 'Big black cat'
        }
    
        def "can zip two providers and use null to remove the value"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int hashString_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2, S3, S4);
        }
        return dummy;
      }
    
      @Benchmark
      int hashMixed_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(I2, S1, D1, S2, I0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

        private static int compareStrings(String s1, String s2) {
            if (s1 == null && s2 == null) {
                return 0;
            }
    
            if (s1 == null /* && s2 != null */) {
                return -1;
            }
    
            if (
            /* s1 != null && */ s2 == null) {
                return 1;
            }
    
            return s1.compareTo(s2);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. pkg/kubelet/secret/secret_manager_test.go

    	}
    
    	// Create a pod with some secrets.
    	s1 := secretsToAttach{
    		imagePullSecretNames: []string{"s1"},
    		containerEnvSecrets: []envSecrets{
    			{envVarNames: []string{"s1"}},
    			{envVarNames: []string{"s2"}},
    			{envFromNames: []string{"s20"}},
    		},
    	}
    	manager.RegisterPod(podWithSecrets("ns1", "name1", s1))
    	// Update the pod with a different secrets.
    	s2 := secretsToAttach{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top