Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 110 for S1 (0.02 sec)

  1. 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)
  2. 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)
  3. src/go/printer/testdata/comments.input

    // The S0 struct; no field is exported.
    type S0 struct {
    	int
    	x, y, z int  // 3 unexported fields
    }
    
    // The S1 struct; some fields are not exported.
    type S1 struct {
    	S0
    	A, B, C float  // 3 exported fields
    	D, b, c int  // 2 unexported fields
    }
    
    // The S2 struct; all fields are exported.
    type S2 struct {
    	S1
    	A, B, C float  // 3 exported fields
    }
    
    // The IZ interface; it is empty.
    type SZ interface {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  4. test/newinline.go

    		x = x + 1
    	}
    	foo() // ERROR "inlining call to s0.func1"
    	return x
    }
    
    func s1(x int) int { // ERROR "can inline s1"
    	foo := func() int { // ERROR "can inline s1.func1" "func literal does not escape"
    		return x
    	}
    	x = x + 1
    	return foo() // ERROR "inlining call to s1.func1"
    }
    
    func switchBreak(x, y int) int { // ERROR "can inline switchBreak"
    	var n int
    	switch x {
    	case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/go/printer/testdata/comments.golden

    // The S0 struct; no field is exported.
    type S0 struct {
    	int
    	x, y, z	int	// 3 unexported fields
    }
    
    // The S1 struct; some fields are not exported.
    type S1 struct {
    	S0
    	A, B, C	float	// 3 exported fields
    	D, b, c	int	// 2 unexported fields
    }
    
    // The S2 struct; all fields are exported.
    type S2 struct {
    	S1
    	A, B, C	float	// 3 exported fields
    }
    
    // The IZ interface; it is empty.
    type SZ interface{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  6. test/inline.go

    		x = x + 1
    	}
    	foo() // ERROR "inlining call to s0.func1"
    	return x
    }
    
    func s1(x int) int { // ERROR "can inline s1"
    	foo := func() int { // ERROR "can inline s1.func1" "func literal does not escape"
    		return x
    	}
    	x = x + 1
    	return foo() // ERROR "inlining call to s1.func1"
    }
    
    func switchBreak(x, y int) int { // ERROR "can inline switchBreak"
    	var n int
    	switch x {
    	case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb/DfsImpl.java

            }
    
            int s1 = path.indexOf('\\', 1);
            int s2 = path.indexOf('\\', s1 + 1);
    
            if ( s1 < 0 || s2 < 0 ) {
                log.error("Invalid UNC path " + path);
                return;
            }
    
            String server = path.substring(1, s1).toLowerCase(Locale.ROOT);
            String share = path.substring(s1 + 1, s2);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  10. 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)
Back to top