Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 112 for S1 (0.38 sec)

  1. src/hash/adler32/adler32.go

    func update(d digest, p []byte) digest {
    	s1, s2 := uint32(d&0xffff), uint32(d>>16)
    	for len(p) > 0 {
    		var q []byte
    		if len(p) > nmax {
    			p, q = p[:nmax], p[nmax:]
    		}
    		for len(p) >= 4 {
    			s1 += uint32(p[0])
    			s2 += s1
    			s1 += uint32(p[1])
    			s2 += s1
    			s1 += uint32(p[2])
    			s2 += s1
    			s1 += uint32(p[3])
    			s2 += s1
    			p = p[4:]
    		}
    		for _, x := range p {
    			s1 += uint32(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apimachinery/pkg/util/sets/byte.go

    // s2.SymmetricDifference(s1) = {a3, a4, a5}
    func (s1 Byte) SymmetricDifference(s2 Byte) Byte {
    	return Byte(cast(s1).SymmetricDifference(cast(s2)))
    }
    
    // Union returns a new set which includes items in either s1 or s2.
    // For example:
    // s1 = {a1, a2}
    // s2 = {a3, a4}
    // s1.Union(s2) = {a1, a2, a3, a4}
    // s2.Union(s1) = {a1, a2, a3, a4}
    func (s1 Byte) Union(s2 Byte) Byte {
    	return Byte(cast(s1).Union(cast(s2)))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/sets/int64.go

    // s2.SymmetricDifference(s1) = {a3, a4, a5}
    func (s1 Int64) SymmetricDifference(s2 Int64) Int64 {
    	return Int64(cast(s1).SymmetricDifference(cast(s2)))
    }
    
    // Union returns a new set which includes items in either s1 or s2.
    // For example:
    // s1 = {a1, a2}
    // s2 = {a3, a4}
    // s1.Union(s2) = {a1, a2, a3, a4}
    // s2.Union(s1) = {a1, a2, a3, a4}
    func (s1 Int64) Union(s2 Int64) Int64 {
    	return Int64(cast(s1).Union(cast(s2)))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/sets/string.go

    // s2.SymmetricDifference(s1) = {a3, a4, a5}
    func (s1 String) SymmetricDifference(s2 String) String {
    	return String(cast(s1).SymmetricDifference(cast(s2)))
    }
    
    // Union returns a new set which includes items in either s1 or s2.
    // For example:
    // s1 = {a1, a2}
    // s2 = {a3, a4}
    // s1.Union(s2) = {a1, a2, a3, a4}
    // s2.Union(s1) = {a1, a2, a3, a4}
    func (s1 String) Union(s2 String) String {
    	return String(cast(s1).Union(cast(s2)))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. 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)
  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. 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)
  9. src/runtime/libfuzzer.go

    //  2. s1: first string used in the comparison
    //  3. s2: second string used in the comparison
    //  4. result: an integer representing the comparison result. 0 indicates
    //     equality (comparison will ignored by libfuzzer), non-zero indicates a
    //     difference (comparison will be taken into consideration).
    //
    //go:nosplit
    func libfuzzerHookStrCmp(s1, s2 string, fakePC int) {
    	if s1 != s2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/decls3.go

    	_ = struct{}{}.Foo /* ERROR "no field or method" */
    	_ = S0{}.A
    	_ = S0{}.D /* ERROR "no field or method" */
    	_ = S1{}.A
    	_ = S1{}.B
    	_ = S1{}.S0
    	_ = S1{}.C
    	_ = S2{}.A
    	_ = S2{}.S1
    	_ = S2{}.B
    	_ = S2{}.C
    	_ = S2{}.D /* ERROR "no field or method" */
    	_ = S3{}.S1 /* ERROR "ambiguous selector S3{}.S1" */
    	_ = S3{}.A
    	_ = S3{}.B /* ERROR "ambiguous selector S3{}.B" */
    	_ = S3{}.D
    	_ = S3{}.E
    	_ = S4{}.A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top