Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for S1 (0.02 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "R1", "p1")));
            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "r1", "P1")));
        }
    
        public void test_toLineString() {
            assertEquals("t1,s1,r1,p1", new KuromojiItem(1, "t1", "s1", "r1", "p1").toLineString());
            assertEquals("t\"\"1,s\"\"1,r\"\"1,p\"\"1", new KuromojiItem(1, "t\"1", "s\"1", "r\"1", "p\"1").toLineString());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/AbstractStringVersionSelectorTest.groovy

        def accept(String s1, String s2) {
            return getSelector(s1).accept(s2)
        }
    
        def accept(String s1, ComponentMetadata cmd) {
            return getSelector(s1).accept(cmd)
        }
    
        def isDynamic(String s1) {
            return getSelector(s1).isDynamic()
        }
    
        def requiresMetadata(String s1) {
            return getSelector(s1).requiresMetadata()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testgodefs/testdata/fieldtypedef.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    /*
    struct S1 { int f1; };
    struct S2 { struct S1 s1; };
    typedef struct S1 S1Type;
    typedef struct S2 S2Type;
    */
    import "C"
    
    type S1 C.S1Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 349 bytes
    - Viewed (0)
  4. pkg/util/sets/set_test.go

    		{New(elements2...), New(elements...)},
    	} {
    		s1, s2 := sets[0], sets[1]
    		if got := s1.Union(s2); !got.Equals(want) {
    			t.Errorf("expected %v; got %v", want, got)
    		}
    	}
    }
    
    func TestDifference(t *testing.T) {
    	s1 := New("a", "b", "c", "d")
    	s2 := New("a", "b", "e")
    	want := New("c", "d")
    
    	t.Run("difference", func(t *testing.T) {
    		d := s1.Difference(s2)
    		if !want.Equals(d) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/sets/set.go

    // For example:
    // s1 = {a1, a2, a3}
    // s2 = {a1, a2, a4, a5}
    // s1.SymmetricDifference(s2) = {a3, a4, a5}
    // s2.SymmetricDifference(s1) = {a3, a4, a5}
    func (s1 Set[T]) SymmetricDifference(s2 Set[T]) Set[T] {
    	return s1.Difference(s2).Union(s2.Difference(s1))
    }
    
    // Union returns a new set which includes items in either s1 or s2.
    // For example:
    // s1 = {a1, a2}
    // s2 = {a3, a4}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:51:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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. src/cmd/compile/internal/ssa/fuse.go

    		s1, ss1 = b, s1
    	} else {
    		ss1 = s1.Succs[0].b
    		i1 = s1.Succs[0].i
    	}
    	if ss0 != ss1 {
    		if s0.Kind == BlockPlain && isEmpty(s0) && s1.Kind == BlockPlain && isEmpty(s1) {
    			// Two special cases where both s0, s1 and ss are empty blocks.
    			if s0 == ss1 {
    				s0, ss0 = b, ss1
    			} else if ss0 == s1 {
    				s1, ss1 = b, ss0
    			} else {
    				return false
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top