Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 321 for Bharat (0.06 seconds)

  1. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            char lastChar = value.charAt(value.length() - 1);
            TimeUnit timeUnit;
            switch (lastChar) {
              case 'd':
                timeUnit = DAYS;
                break;
              case 'h':
                timeUnit = HOURS;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/cache/CacheBuilderSpec.java

          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            char lastChar = value.charAt(value.length() - 1);
            TimeUnit timeUnit;
            switch (lastChar) {
              case 'd':
                timeUnit = DAYS;
                break;
              case 'h':
                timeUnit = HOURS;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00)
            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
                    assertEquals(c, buffer[pathStart + i * 2]);
                    assertEquals(0, buffer[pathStart + i * 2 + 1]);
                }
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * {@snippet :
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        }
    
        int maxSafePos = ParseOverflowDetection.maxSafeDigits[radix] - 1;
        long value = 0;
        for (int pos = 0; pos < string.length(); pos++) {
          int digit = Character.digit(string.charAt(pos), radix);
          if (digit == -1) {
            throw new NumberFormatException(string);
          }
          if (pos > maxSafePos && ParseOverflowDetection.overflowInParse(value, digit, radix)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        protected static String toPlainPattern(final String pattern) {
            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
                if (Character.isLetterOrDigit(ch) || Character.isWhitespace(ch)) {
                    buf.append(ch);
                }
            }
            if (buf.indexOf("yy") == -1) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

            if (utf8Length != Utf8.encodedLength(sb)) {
              StringBuilder repro = new StringBuilder();
              for (int j = 0; j < sb.length(); j++) {
                repro.append(" ").append((int) sb.charAt(j)); // GWT compatible
              }
              assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb));
            }
          }
        }
      }
    
      public void testEncodedLength_invalidStrings() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

                    String server = authorityServerName;
                    final int dot = server.indexOf('.');
                    if (dot > 0 && !Character.isDigit(server.charAt(0))) {
                        server = server.substring(0, dot);
                    }
                    try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
                if (c == '\\') {
                    buf.append('/');
                } else if (c == ' ') {
                    buf.append("%20");
                } else if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

                throw new SmbException(fieldName + " contains null bytes");
            }
    
            // Check for control characters
            for (int i = 0; i < str.length(); i++) {
                char c = str.charAt(i);
                if (c < 0x20 && c != '\t' && c != '\r' && c != '\n') {
                    failedValidations.incrementAndGet();
                    log.warn("{} contains control characters", fieldName);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
Back to Top