Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 1,492 for eles (0.04 sec)

  1. android/guava/src/com/google/common/io/Closeables.java

          return;
        }
        try {
          closeable.close();
        } catch (IOException e) {
          if (swallowIOException) {
            logger.log(Level.WARNING, "IOException thrown while closing Closeable.", e);
          } else {
            throw e;
          }
        }
      }
    
      /**
       * Closes the given {@link InputStream}, logging any {@code IOException} that's thrown rather than
       * propagating it.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          throws IOException {
        if (singleByte) {
          for (int i = off; i < off + len; i++) {
            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
      // TODO(chrisn): only works if we ensure we have crossed file threshold
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        protected String extractString(final String content) {
            String input = content.replaceAll("[\\r\\n]", " ");
            if (ignoreCommentTag) {
                input = input.replaceAll("<!--[^>]+-->", "");
            } else {
                input = input.replace("<!--", "").replace("-->", "");
            }
            final Matcher matcher = getTagPattern().matcher(input);
            final StringBuffer sb = new StringBuffer();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/FessBoot.java

                    .useTldDetect(); // for JSP
            final String varPath = System.getProperty(FESS_VAR_PATH);
            if (varPath != null) {
                tomcatBoot.atBaseDir(new File(varPath, "webapp").getAbsolutePath());
            } else if (tempPath != null) {
                tomcatBoot.atBaseDir(new File(tempPath, "webapp").getAbsolutePath());
            }
            final String tomcatConfigPath = getTomcatConfigPath();
            if (tomcatConfigPath != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
        String stringA = new String(charsA);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

      static int unsafeCompare(
          @CheckForNull Comparator<?> comparator, @CheckForNull Object o1, @CheckForNull Object o2) {
        if (comparator == null) {
          return ((Comparable<@Nullable Object>) o1).compareTo(o2);
        } else {
          return ((Comparator<@Nullable Object>) comparator).compare(o1, o2);
        }
      }
    
      /**
       * A sensible definition of {@link #containsKey} in terms of the {@code firstKey()} method of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Interners.java

              }
            }
    
            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CaseFormat.java

          if (i == 0) {
            // include some extra space for separators
            out = new StringBuilder(s.length() + 4 * format.wordSeparator.length());
            out.append(format.normalizeFirstWord(s.substring(i, j)));
          } else {
            requireNonNull(out).append(format.normalizeWord(s.substring(i, j)));
          }
          out.append(format.wordSeparator);
          i = j + wordSeparator.length();
        }
        return (i == 0)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/StandardValueGraph.java

        V value = (connectionsU == null) ? null : connectionsU.value(nodeV);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return defaultValue;
        } else {
          return value;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top