Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 3,261 for avoid (0.03 sec)

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

     */
    @NullUnmarked
    public class MoreExecutorsTest extends JSR166TestCase {
    
      private static final Runnable EMPTY_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      public void testDirectExecutorServiceServiceInThreadExecution() throws Exception {
        ListeningExecutorService executor = newDirectExecutorService();
        ThreadLocal<Integer> threadLocalCount =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      public void testConcurrentAutoIncrementStep() throws Exception {
        int incrementByNanos = 3;
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS);
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsDataConfigCB.java

            public void columnId() {
                doColumn("_id");
            }
    
            public void columnAvailable() {
                doColumn("available");
            }
    
            public void columnBoost() {
                doColumn("boost");
            }
    
            public void columnCreatedBy() {
                doColumn("createdBy");
            }
    
            public void columnCreatedTime() {
                doColumn("createdTime");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(long[] array, int distance) {
        rotate(array, distance, 0, array.length);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            public void setBytesWritten(int bytes) {
                this.bytesWritten = bytes;
            }
    
            public void setBytesRead(int bytes) {
                this.bytesRead = bytes;
            }
    
            public void setThrowOnRead(boolean throwOnRead) {
                this.throwOnRead = throwOnRead;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/ASN1UtilTest.java

    class ASN1UtilTest {
    
        // --- as(Class, Object) ---
    
        @Test
        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
            String result = ASN1Util.as(String.class, obj);
            assertSame(expected, result);
        }
    
        @Test
        void testAs_Object_Failure() {
            // Test failed casting
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      // retainAll(empty)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmpty() {
        expectReturnsFalse(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
        expectReturnsFalseOrThrows(empty);
        expectUnchanged();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * fails.
       */
      void awaitTermination(Thread t) {
        awaitTermination(t, LONG_DELAY_MS);
      }
    
      // Some convenient Runnable classes
    
      public abstract class CheckedRunnable implements Runnable {
        protected abstract void realRun() throws Throwable;
    
        @Override
        public final void run() {
          try {
            realRun();
          } catch (Throwable t) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/AllocInfoTest.java

            void shouldImplementFileSystemInformation() {
                // Verify that AllocInfo extends FileSystemInformation
                assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class));
            }
    
            @Test
            @DisplayName("Should implement Decodable interface through FileSystemInformation")
            void shouldImplementDecodableInterface() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top