Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/internal/types/testdata/check/init0.go

    	a3 = b3
    	b3 /* ERROR "initialization cycle for b3" */ int = c3
    	c3 = d3
    	d3 = b3
    )
    
    // cycles via struct fields
    
    type S1 struct {
    	f int
    }
    const cx3 S1 /* ERROR "invalid constant type" */ = S1{cx3.f}
    var vx3 /* ERROR "initialization cycle: vx3 refers to itself" */ S1 = S1{vx3.f}
    
    // cycles via functions
    
    var x4 = x5
    var x5 /* ERROR "initialization cycle for x5" */ = f1()
    func f1() int { return x5*10 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top