Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 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. src/slices/slices_test.go

    			t.Errorf("Equal(%v, %v, equalNaN[float64]) = %t, want %t", test.s1, test.s2, got, test.wantEqualNaN)
    		}
    	}
    
    	s1 := []int{1, 2, 3}
    	s2 := []int{2, 3, 4}
    	if EqualFunc(s1, s1, offByOne) {
    		t.Errorf("EqualFunc(%v, %v, offByOne) = true, want false", s1, s1)
    	}
    	if !EqualFunc(s1, s2, offByOne) {
    		t.Errorf("EqualFunc(%v, %v, offByOne) = false, want true", s1, s2)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/FileHierarchySetTest.groovy

            def single = from(dir1)
    
            expect:
            def s1 = single.plus(dir2)
            s1.contains(dir1)
            s1.contains(child)
            s1.contains(dir2)
            !s1.contains(dir3)
            !s1.contains(tooFew)
            !s1.contains(tooMany)
            !s1.contains(parent)
            flatten(s1) == [parent.path, "1:dir1", "1:dir2"]
    
            def s2 = single.plus(dir1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 12.6K 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. src/unicode/utf8/utf8.go

    	xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, // 0xA0-0xAF
    	xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, // 0xB0-0xBF
    	xx, xx, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, // 0xC0-0xCF
    	s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, // 0xD0-0xDF
    	s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s4, s3, s3, // 0xE0-0xEF
    	s5, s6, s6, s6, s7, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, // 0xF0-0xFF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/net/http/pattern.go

    			if s2.s == "/" {
    				if s1.s != "" {
    					b.WriteString(s1.s)
    				} else {
    					b.WriteString("x")
    				}
    			}
    			return b.String()
    		}
    		if !s1.multi && s2.multi {
    			writeSegment(&b, s1)
    		} else if s1.wild && s2.wild {
    			// Both patterns will match whatever we put here; use
    			// the first wildcard name.
    			writeSegment(&b, s1)
    		} else if s1.wild && !s2.wild {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/crypto/aes/block.go

    		t0 = xk[k+0] ^ te0[uint8(s0>>24)] ^ te1[uint8(s1>>16)] ^ te2[uint8(s2>>8)] ^ te3[uint8(s3)]
    		t1 = xk[k+1] ^ te0[uint8(s1>>24)] ^ te1[uint8(s2>>16)] ^ te2[uint8(s3>>8)] ^ te3[uint8(s0)]
    		t2 = xk[k+2] ^ te0[uint8(s2>>24)] ^ te1[uint8(s3>>16)] ^ te2[uint8(s0>>8)] ^ te3[uint8(s1)]
    		t3 = xk[k+3] ^ te0[uint8(s3>>24)] ^ te1[uint8(s0>>16)] ^ te2[uint8(s1>>8)] ^ te3[uint8(s2)]
    		k += 4
    		s0, s1, s2, s3 = t0, t1, t2, t3
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top