Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for S1 (0.12 sec)

  1. 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)
  2. src/cmd/link/internal/loader/loader_test.go

    	irm := ldr.IsReflectMethod(es1)
    	if 0 != es1val {
    		t.Errorf("expected IsReflectMethod(es1) value of 0, got %v", irm)
    	}
    }
    
    func sameRelocSlice(s1 *Relocs, s2 []Reloc) bool {
    	if s1.Count() != len(s2) {
    		return false
    	}
    	for i := 0; i < s1.Count(); i++ {
    		r1 := s1.At(i)
    		r2 := &s2[i]
    		if r1.Sym() != r2.Sym() ||
    			r1.Type() != r2.Type() ||
    			r1.Off() != r2.Off() ||
    			r1.Add() != r2.Add() ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

    func.func @testBroadcastGradientArgsSameShape() -> (tensor<0xi32>, tensor<0xi32>) {
      %s0 = "tf.Const"() {value = dense<[1, 2]> : tensor<2xi32>} : () -> tensor<2xi32>
      %s1 = "tf.Const"() {value = dense<[1, 2]> : tensor<2xi32>} : () -> tensor<2xi32>
      %r0, %r1 = "tf.BroadcastGradientArgs"(%s0, %s1) {} : (tensor<2xi32>, tensor<2xi32>) -> (tensor<0xi32>, tensor<0xi32>)
    
      // CHECK-DAG: %[[R:.*]] = "tf.Const"() <{value = dense<> : tensor<0xi32>}> : () -> tensor<0xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. pkg/spiffe/spiffe_test.go

    	// Create servers that will act as SPIFFE bundle endpoints.
    	s1 := httptest.NewTLSServer(h)
    	s2 := httptest.NewTLSServer(h)
    
    	// The system needs to trust these server certs to securely connect to
    	// the SPIFFE bundle endpoints.
    	serverCerts := []*x509.Certificate{s1.Certificate(), s2.Certificate()}
    
    	input1 := map[string]string{
    		"foo": s1.Listener.Addr().String(),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/elf_test.go

    			continue
    		}
    		if s.Addr == 0 || s.Size == 0 {
    			continue
    		}
    		secs = append(secs, s)
    	}
    
    	secOverlaps := func(s1, s2 *elf.Section) bool {
    		st1 := s1.Addr
    		st2 := s2.Addr
    		en1 := s1.Addr + s1.Size
    		en2 := s2.Addr + s2.Size
    		return max(st1, st2) < min(en1, en2)
    	}
    
    	// Sort by address
    	sort.SliceStable(secs, func(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

                    builder.append('\n');
                }
            }
    
            return builder.toString();
        }
    
        public static String shorterOf(String s1, String s2) {
            if (s2.length() >= s1.length()) {
                return s1;
            } else {
                return s2;
            }
        }
    
        /**
         * Same behavior as Groovy minus operator between Strings
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/crypto/ecdsa/ecdsa_test.go

    	if err != nil {
    		t.Errorf("error signing: %s", err)
    		return
    	}
    
    	hashed = []byte("testing...")
    	r1, s1, err := Sign(zeroReader, priv, hashed)
    	if err != nil {
    		t.Errorf("error signing: %s", err)
    		return
    	}
    
    	if s0.Cmp(s1) == 0 {
    		// This should never happen.
    		t.Errorf("the signatures on two different messages were the same")
    	}
    
    	if r0.Cmp(r1) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. pilot/pkg/model/sidecar.go

    	}
    }
    
    func canMergeServices(s1, s2 *Service) bool {
    	// Hostname has been compared in the caller `appendSidecarServices`, so we donot need to compare again.
    	if s1.Attributes.Namespace != s2.Attributes.Namespace {
    		return false
    	}
    	if s1.Resolution != s2.Resolution {
    		return false
    	}
    	// kuberneres service registry has been checked before
    	if s1.Attributes.ServiceRegistry != s2.Attributes.ServiceRegistry {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  9. src/image/gif/reader_test.go

    		t.Fatal("EncodeAll:", err)
    	}
    	s0, s1 := new(runtime.MemStats), new(runtime.MemStats)
    	runtime.GC()
    	defer debug.SetGCPercent(debug.SetGCPercent(5))
    	runtime.ReadMemStats(s0)
    	if _, err := Decode(buf); err != nil {
    		t.Fatal("Decode:", err)
    	}
    	runtime.ReadMemStats(s1)
    	if heapDiff := int64(s1.HeapAlloc - s0.HeapAlloc); heapDiff > 30<<20 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassUtil.java

        /**
         * クラス名の要素を結合します。
         *
         * @param s1
         *            クラス名の要素1
         * @param s2
         *            クラス名の要素2
         * @return 結合された名前
         */
        public static String concatName(final String s1, final String s2) {
            if (StringUtil.isEmpty(s1) && StringUtil.isEmpty(s2)) {
                return null;
            }
            if (!StringUtil.isEmpty(s1) && StringUtil.isEmpty(s2)) {
                return s1;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top