Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 190 for jorn (0.01 sec)

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

        void waitUntilHoldingLock() throws InterruptedException {
          locked.await(1, MINUTES);
        }
    
        void releaseLockAndFinish() throws InterruptedException {
          finishLatch.countDown();
          this.join(10000);
          assertFalse(this.isAlive());
        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                  assertSame(Boolean.TRUE, memoizedSupplier.get());
                }
              };
        }
        for (Thread t : threads) {
          t.start();
        }
        for (Thread t : threads) {
          t.join();
        }
    
        if (thrown.get() != null) {
          throw thrown.get();
        }
        assertEquals(1, count.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

                final float boost, final String field, final String[] texts) {
            final String text = String.join(" ", texts);
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            Map<String, Object> paramMap = new HashMap<>();
            TestUser user = new TestUser("John", 30);
            paramMap.put("user", user);
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("User: John, Age: 30", result);
        }
    
        // Test evaluate method with special characters in template
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          }
        }
      }
    
      /** Invokes {@code toJoin.}{@link Thread#join() join()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void joinUninterruptibly(Thread toJoin) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              toJoin.join();
              return;
            } catch (InterruptedException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testJoin() {
        assertThat(Booleans.join(",", EMPTY)).isEmpty();
        assertThat(Booleans.join(",", ARRAY_FALSE)).isEqualTo("false");
        assertThat(Booleans.join(",", false, true)).isEqualTo("false,true");
        assertThat(Booleans.join("", false, true, false)).isEqualTo("falsetruefalse");
      }
    
      public void testLexicographicalComparator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter1.interrupt();
    
        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
      public void testRemoveWaiter_polling() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testJoin() {
        assertThat(Longs.join(",", EMPTY)).isEmpty();
        assertThat(Longs.join(",", ARRAY1)).isEqualTo("1");
        assertThat(Longs.join(",", 1L, 2L)).isEqualTo("1,2");
        assertThat(Longs.join("", 1L, 2L, 3L)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<long[]> ordered =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testJoin() {
        assertThat(Shorts.join(",", EMPTY)).isEmpty();
        assertThat(Shorts.join(",", ARRAY1)).isEqualTo("1");
        assertThat(Shorts.join(",", (short) 1, (short) 2)).isEqualTo("1,2");
        assertThat(Shorts.join("", (short) 1, (short) 2, (short) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
                Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
          }
        }
      }
    
      private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) {
        testEncodes(encoding, decoded, encoded);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
Back to top