Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for S1 (0.04 sec)

  1. 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)
  2. test/escape2n.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)
  3. pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go

    	}
    	labelAzAz2 := map[string]string{
    		"az": "az2",
    	}
    	labelRgChinaAzAz1 := map[string]string{
    		"region": "China",
    		"az":     "az1",
    	}
    	podLabelSecurityS1 := map[string]string{
    		"security": "S1",
    	}
    	podLabelSecurityS2 := map[string]string{
    		"security": "S2",
    	}
    	// considered only preferredDuringSchedulingIgnoredDuringExecution in pod affinity
    	stayWithS1InRegion := &v1.Affinity{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 44.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top