Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for s1 (0.02 sec)

  1. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Ascii.java

       */
      public static boolean equalsIgnoreCase(CharSequence s1, CharSequence s2) {
        // Calling length() is the null pointer check (so do it before we can exit early).
        int length = s1.length();
        if (s1 == s2) {
          return true;
        }
        if (length != s2.length()) {
          return false;
        }
        for (int i = 0; i < length; i++) {
          char c1 = s1.charAt(i);
          char c2 = s2.charAt(i);
          if (c1 == c2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            }
    
            ArtifactRepository other = (ArtifactRepository) obj;
    
            return eq(getId(), other.getId());
        }
    
        protected static <T> boolean eq(T s1, T s2) {
            return Objects.equals(s1, s2);
        }
    
        public Authentication getAuthentication() {
            return authentication;
        }
    
        public void setAuthentication(Authentication authentication) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                }
            }
    
            return location != null ? new org.apache.maven.model.InputLocation(location) : null;
        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuildingRequest request, int errorThreshold) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    	}
    	return strings.HasSuffix(s, suffix)
    }
    
    // Validates if two strings are equal.
    func isStringEqual(s1 string, s2 string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return strings.EqualFold(s1, s2)
    	}
    	return s1 == s2
    }
    
    // Ignores all reserved bucket names or invalid bucket names.
    func isReservedOrInvalidBucket(bucketEntry string, strict bool) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    array with the operand.
    </p>
    
    <pre>
    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &amp;s1[2] == &amp;a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &amp;s2[1] == &amp;a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    </pre>
    
    
    <h4>Full slice expressions</h4>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function_test.cc

    }
    
    void AssertEqual(TF_Function* f1, TF_Function* f2) {
      string s1, s2;
      tensorflow::FunctionDef fdef1, fdef2;
      ASSERT_TRUE(GetFunctionDef(f1, &fdef1));
      ASSERT_TRUE(GetFunctionDef(f2, &fdef2));
      SerializeToStringDeterministic(fdef1, &s1);
      SerializeToStringDeterministic(fdef2, &s2);
      ASSERT_EQ(s1, s2);
    }
    
    string GetName(TF_Function* func) {
      tensorflow::FunctionDef fdef;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arch.go

    	register["GP"] = riscv.REG_GP
    	register["TP"] = riscv.REG_TP
    	register["T0"] = riscv.REG_T0
    	register["T1"] = riscv.REG_T1
    	register["T2"] = riscv.REG_T2
    	register["S0"] = riscv.REG_S0
    	register["S1"] = riscv.REG_S1
    	register["A0"] = riscv.REG_A0
    	register["A1"] = riscv.REG_A1
    	register["A2"] = riscv.REG_A2
    	register["A3"] = riscv.REG_A3
    	register["A4"] = riscv.REG_A4
    	register["A5"] = riscv.REG_A5
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. doc/go_spec.html

    array with the operand.
    </p>
    
    <pre>
    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &amp;s1[2] == &amp;a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &amp;s2[1] == &amp;a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    
    var s []int
    s3 := s[:0]    // s3 == nil
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top