Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,891 for instanceOf (1.53 sec)

  1. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

              /*
               * We avoid reflecting on NullMarked because its @Target(..., MODULE) causes problems
               * under JDK 8.
               */
              if (!(a instanceof NullMarked)
                  && a.annotationType().isAnnotationPresent(TesterAnnotation.class)) {
                annotations.add(a);
              }
            }
            annotations = unmodifiableList(annotations);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

        return Objects.hash(
            hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof CacheStats) {
          CacheStats other = (CacheStats) object;
          return hitCount == other.hitCount
              && missCount == other.missCount
              && loadSuccessCount == other.loadSuccessCount
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

         * is based on the integer IP address and not the string representation.
         */
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof NbtAddress && ((NbtAddress) obj).address == this.address;
        }
    
        /**
         * Returns the {@link java.lang.String} representaion of this address.
         */
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testCopyEntry_computing() {
        CountDownLatch startSignal = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

        public void test_crawl_with_force_stop() {
            // Set force stop to true immediately to avoid thread operations
            SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            if (systemHelper instanceof org.codelibs.fess.helper.DataIndexHelperTest.TestSystemHelper) {
                ((org.codelibs.fess.helper.DataIndexHelperTest.TestSystemHelper) systemHelper).setForceStop(true);
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            // Should not match second excluded path
            assertFalse(pattern.match("/deny/path"));
        }
    
        public void test_labelTypeHelper_inheritance() {
            assertTrue(labelTypeHelper instanceof AbstractConfigHelper);
        }
    
        public void test_load_returnValue() {
            int result = labelTypeHelper.load();
            assertEquals(2, result); // Based on mock data
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestTest.java

            // Test initResponse
            CommonServerMessageBlockResponse testResponse = testRequest.initResponse(context);
            assertNotNull(testResponse);
            assertTrue(testResponse instanceof TestResponse);
    
            // Test getResponse
            assertNotNull(testRequest.getResponse());
            assertEquals(testResponse, testRequest.getResponse());
    
            // Test ignoreDisconnect
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(AccessTokenService.class).getAccessToken(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals(mockConfig, response.getConfig());
            }
    
            @Test
            @DisplayName("Should extend ServerMessageBlock2Response")
            void testInheritance() {
                assertTrue(echoResponse instanceof ServerMessageBlock2Response);
            }
        }
    
        @Nested
        @DisplayName("Write Bytes Wire Format Tests")
        class WriteBytesWireFormatTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top