Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 135 for S1 (0.02 sec)

  1. 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)
  2. android/guava/src/com/google/common/collect/TableCollectors.java

                state.put(
                    rowFunction.apply(input),
                    columnFunction.apply(input),
                    valueFunction.apply(input),
                    mergeFunction),
            (s1, s2) -> s1.combine(s2, mergeFunction),
            state -> state.toTable());
      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
              C extends @Nullable Object,
              V,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. 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)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    // as different.  Two NULLs are equal.
    //
    //    * {ASSERT|EXPECT}_STREQ(s1, s2):     Tests that s1 == s2
    //    * {ASSERT|EXPECT}_STRNE(s1, s2):     Tests that s1 != s2
    //    * {ASSERT|EXPECT}_STRCASEEQ(s1, s2): Tests that s1 == s2, ignoring case
    //    * {ASSERT|EXPECT}_STRCASENE(s1, s2): Tests that s1 != s2, ignoring case
    //
    // For wide or narrow string objects, you can use the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  5. pkg/proxy/config/api_test.go

    	_, ctx := klogtesting.NewTestContext(t)
    	service1v1 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 10}}}}
    	service1v2 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 20}}}}
    	service2 := &v1.Service{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/strings/strings_test.go

    	for times := 0; times < 10; times++ {
    		for strLen := 5 + rand.Intn(5); strLen < 140; strLen += 10 { // Arbitrary
    			s1 := make([]byte, strLen)
    			for i := range s1 {
    				s1[i] = chars[rand.Intn(len(chars))]
    			}
    			s := string(s1)
    			for i := 0; i < 50; i++ {
    				begin := rand.Intn(len(s) + 1)
    				end := begin + rand.Intn(len(s)+1-begin)
    				sep := s[begin:end]
    				if i%4 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/slices/example_test.go

    	fmt.Println(clip)
    	fmt.Println(len(clip))
    	fmt.Println(cap(clip))
    	// Output:
    	// 10
    	// [0 1 2 3]
    	// 4
    	// 4
    }
    
    func ExampleConcat() {
    	s1 := []int{0, 1, 2, 3}
    	s2 := []int{4, 5, 6}
    	concat := slices.Concat(s1, s2)
    	fmt.Println(concat)
    	// Output:
    	// [0 1 2 3 4 5 6]
    }
    
    func ExampleContains() {
    	numbers := []int{0, 1, 2, 3}
    	fmt.Println(slices.Contains(numbers, 2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K 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