Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,179 for match2 (0.09 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

      private final CountDownLatch latch;
    
      public ListenableFutureTester(ListenableFuture<?> future) {
        this.exec = newCachedThreadPool();
        this.future = checkNotNull(future);
        this.latch = new CountDownLatch(1);
      }
    
      public void setUp() {
        future.addListener(
            new Runnable() {
              @Override
              public void run() {
                latch.countDown();
              }
            },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    exitCode.set(1);
                    latch.countDown();
                });
    
                try {
                    latch.await();
                } catch (final InterruptedException ignore) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Interrupted.", ignore);
                    }
                    exitCode.set(1);
                }
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Path exceeds maximum length: " + path.length());
            }
            if (PATH_TRAVERSAL.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains directory traversal sequences: " + path);
            }
            if (INVALID_PATH_CHARS.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains invalid characters: " + path);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/PathValidator.java

            }
    
            // Check for null bytes
            if (NULL_BYTE.matcher(path).find()) {
                log.warn("Path contains null bytes: {}", sanitizeForLog(path));
                throw new SmbException("Path contains null bytes");
            }
    
            // Check for control characters
            if (strictMode && CONTROL_CHARS.matcher(path).find()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

            try {
              result = invokeMethod(request.methodName, request.arguments);
            } catch (ThreadDeath death) {
              return;
            } catch (InvocationTargetException exception) {
              responseQueue.put(new Response(request.methodName, null, exception.getTargetException()));
              continue;
            } catch (Throwable throwable) {
              responseQueue.put(new Response(request.methodName, null, throwable));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            // Assert
            assertEquals(fid, getFieldValue(write, "fid"), "FID should match constructor arg");
            assertEquals(offset, getFieldValue(write, "offset"), "Offset should match constructor arg");
            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

        private static String unQuoteUnEscape(final String original) {
            String result = original;
    
            // Unquote
            if (result.indexOf('\"') >= 0) {
                final Matcher m = QUOTE_REPLACE_PATTERN.matcher(original);
                if (m.matches()) {
                    result = m.group(1);
                }
    
                // Unescape
                if (result.indexOf(ESCAPED_QUOTE) >= 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

    @Deprecated(since = "4.0.0")
    public interface ToolchainPrivate extends Toolchain {
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         * @param requirements Map&lt;String, String&gt; key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top