Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 311 for S1 (0.03 sec)

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

    	}
    
    	a.Delete("")
    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    }
    
    func TestStringUnion(t *testing.T) {
    	tests := []struct {
    		s1       String
    		s2       String
    		expected String
    	}{
    		{
    			NewString("1", "2", "3", "4"),
    			NewString("3", "4", "5", "6"),
    			NewString("1", "2", "3", "4", "5", "6"),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/reduce_while_operands.mlir

    // The original func we want to optimize is:
    //
    // func increase_3rd_operand_3_times():
    //   S = (1, 0, 0)
    //   whlie (S[2] < 3) {
    //     s0 = S[0] * 2
    //     s1 = S[0] + S[1]
    //     s2 = S[2] + 1
    //     S = (s0, s1, s2)
    //   }
    //   return S[2]
    // }
    //
    // Since only S[2] is returned and the computation of final S[2] does not depend
    // on S[0] and S[1]. The func can be optimized to
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. test/codegen/comparisons.go

    type T1 struct {
    	a [8]byte
    }
    
    func CompareStruct1(s1, s2 T1) bool {
    	// amd64:`CMPQ\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	// amd64:-`CALL`
    	return s1 == s2
    }
    
    type T2 struct {
    	a [16]byte
    }
    
    func CompareStruct2(s1, s2 T2) bool {
    	// amd64:`CMPQ\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	// amd64:-`CALL`
    	return s1 == s2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_asm_ppc64le.s

    	// X=Z1; Y=Z2; MUL; T-   // Z3 = Z1*Z2
    	// X=T ; Y=H ; MUL; Z3:=T// Z3 = Z3*H << store-out Z3 result reg.. could override Z1, if slices have same backing array
    	// X=Y1; Y=S1; MUL; S1=T // S1 = Y1*S1
    	// X=Y2; Y=R ; MUL; T-   // R  = Y2*R
    	// SUB(R<T-S1)           // R  = R-S1
    	// X=H ; Y=H ; MUL; T-   // T1 = H*H
    	// X-  ; Y=T ; MUL; T2=T // T2 = H*T1
    	// X=U1; Y-  ; MUL; U1=T // U1 = U1*T1
    	// X=R ; Y=R ; MUL; T-   // X3 = R*R
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. test/fixedbugs/issue52870.go

    // license that can be found in the LICENSE file.
    
    // Issue 52870: gofrontend gave incorrect error when incorrectly
    // compiling ambiguous promoted method.
    
    package p
    
    type S1 struct {
    	*S2
    }
    
    type S2 struct {
    	T3
    	T4
    }
    
    type T3 int32
    
    func (T3) M() {}
    
    type T4 int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 16 01:03:59 UTC 2022
    - 407 bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/p256_asm_s390x.s

    	// X=Z1; Y=Z2; MUL; T-   // Z3 = Z1*Z2
    	// X=T ; Y=H ; MUL; Z3:=T// Z3 = Z3*H << store-out Z3 result reg.. could override Z1, if slices have same backing array
    	// X=Y1; Y=S1; MUL; S1=T // S1 = Y1*S1
    	// X=Y2; Y=R ; MUL; T-   // R  = Y2*R
    	// SUB(R<T-S1)           // R  = R-S1
    	// X=H ; Y=H ; MUL; T-   // T1 = H*H
    	// X-  ; Y=T ; MUL; T2=T // T2 = H*T1
    	// X=U1; Y-  ; MUL; U1=T // U1 = U1*T1
    	// X=R ; Y=R ; MUL; T-   // X3 = R*R
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. test/escape2.go

    	s := string(b)        // ERROR "string\(b\) escapes to heap$"
    	s1 := s[0:1]
    	sink = s1 // ERROR "s1 escapes to heap$"
    }
    
    func addstr0() {
    	s0 := "a"
    	s1 := "b"
    	s := s0 + s1 // ERROR "s0 \+ s1 does not escape$"
    	_ = s
    }
    
    func addstr1() {
    	s0 := "a"
    	s1 := "b"
    	s := "c"
    	s += s0 + s1 // ERROR "s0 \+ s1 does not escape$"
    	_ = s
    }
    
    func addstr2() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. docs/sts/etcd.md

      --name etcd-gcr-v3.3.9 \
      gcr.io/etcd-development/etcd:v3.3.9 \
      /usr/local/bin/etcd \
      --name s1 \
      --data-dir /etcd-data \
      --listen-client-urls http://0.0.0.0:2379 \
      --advertise-client-urls http://0.0.0.0:2379 \
      --listen-peer-urls http://0.0.0.0:2380 \
      --initial-advertise-peer-urls http://0.0.0.0:2380 \
      --initial-cluster s1=http://0.0.0.0:2380 \
      --initial-cluster-token tkn \
      --initial-cluster-state new
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      protected void setUp() throws Exception {
        bus = new EventBus();
        methodCalled = false;
        methodArgument = null;
      }
    
      public void testCreate() {
        Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod"));
        assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class);
    
        // a thread-safe method should not create a synchronized subscriber
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go

    	}
    
    	a.Delete("")
    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    }
    
    func TestUnion(t *testing.T) {
    	tests := []struct {
    		s1       sets.Set[string]
    		s2       sets.Set[string]
    		expected sets.Set[string]
    	}{
    		{
    			sets.New("1", "2", "3", "4"),
    			sets.New("3", "4", "5", "6"),
    			sets.New("1", "2", "3", "4", "5", "6"),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 09:03:44 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top