Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apimachinery/pkg/util/sets/int.go

    // s2.SymmetricDifference(s1) = {a3, a4, a5}
    func (s1 Int) SymmetricDifference(s2 Int) Int {
    	return Int(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 Int) Union(s2 Int) Int {
    	return Int(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.8K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue51229.go

    func f07[S2 ~[]E2, E2 ~byte, S1 ~[]E1, E1 ~byte](S1, S2) {}
    func f08[S1 ~[]E1, E2 ~byte, S2 ~[]E2, E1 ~byte](S1, S2) {}
    func f09[E2 ~byte, S1 ~[]E1, S2 ~[]E2, E1 ~byte](S1, S2) {}
    func f10[S2 ~[]E2, S1 ~[]E1, E2 ~byte, E1 ~byte](S1, S2) {}
    func f11[S1 ~[]E1, S2 ~[]E2, E2 ~byte, E1 ~byte](S1, S2) {}
    func f12[S1 ~[]E1, E1 ~byte, E2 ~byte, S2 ~[]E2](S1, S2) {}
    func f13[E1 ~byte, S1 ~[]E1, E2 ~byte, S2 ~[]E2](S1, S2) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/sets/int32.go

    // s2.SymmetricDifference(s1) = {a3, a4, a5}
    func (s1 Int32) SymmetricDifference(s2 Int32) Int32 {
    	return Int32(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 Int32) Union(s2 Int32) Int32 {
    	return Int32(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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/debug/gosym/symtab_test.go

    	}
    }
    
    func TestStandardLibPackage(t *testing.T) {
    	s1 := Sym{Name: "io.(*LimitedReader).Read"}
    	s2 := Sym{Name: "io.NewSectionReader"}
    	assertString(t, fmt.Sprintf("package of %q", s1.Name), s1.PackageName(), "io")
    	assertString(t, fmt.Sprintf("package of %q", s2.Name), s2.PackageName(), "io")
    	assertString(t, fmt.Sprintf("receiver of %q", s1.Name), s1.ReceiverName(), "(*LimitedReader)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 11:28:56 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top