Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2181 - 2190 of 4,265 for Avoid (0.16 sec)

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

    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(immediateVoidFuture())).isEqualTo(null);
      }
    
      public void testFailed() {
        Exception failureCause = new Exception();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          assertThat(cache.size()).isEqualTo(WARMUP_SIZE);
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                }
                // If no credentials path, uses default credentials (GOOGLE_APPLICATION_CREDENTIALS env var)
            }
    
            this.storage = builder.build().getService();
        }
    
        @Override
        public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) {
            try {
                final BlobId blobId = BlobId.of(bucket, objectName);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/rpc.java

             */
            public byte clock_seq_low;
            /**
             * The spatially unique node identifier (6 bytes).
             */
            public byte[] node;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(time_low);
                _dst.enc_ndr_short(time_mid);
                _dst.enc_ndr_short(time_hi_and_version);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

    @DisplayName("UpgradeResult")
    class UpgradeResultTest {
    
        @Nested
        @DisplayName("Result Creation")
        class ResultCreationTests {
    
            @Test
            @DisplayName("should create empty result")
            void shouldCreateEmptyResult() {
                UpgradeResult result = UpgradeResult.empty();
    
                assertTrue(result.success(), "Empty result should be successful");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                }
            }
        }
    
        private void sendKeepAlive(ChannelInfo channel) throws IOException {
            // Send echo request as keep-alive
            // This would need to be implemented with actual echo request/response
            log.debug("Sending keep-alive for channel {}", channel.getChannelId());
            channel.updateActivity();
        }
    
        private void discoverInterfaces() {
            if (!multiChannelEnabled)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class RegexRuleTest extends PlainTestCase {
    
        public void test_match_default() {
            final RegexRule regexRule = new RegexRule();
            regexRule.defaultRule = true;
            regexRule.allRequired = true;
            regexRule.addRule("url", Pattern.compile("http:.*"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java

         */
        @Override
        public void addIncludeUrlFilter(final String sessionId, final String url) {
            dataHelper.addIncludeUrlPattern(sessionId, url);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.impl.UrlFilterService#addIncludeUrlFilter(java
         * .lang.String, java.util.List)
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      }
    
      @Override
      protected void setUp() throws Exception {
        sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
          out.close();
        }
    
        assertContainsExpectedBytes();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testElementSetReflectsAddAbsent() {
        Set<E> elementSet = getMultiset().elementSet();
        assertFalse(elementSet.contains(e3()));
        getMultiset().add(e3(), 4);
        assertTrue(elementSet.contains(e3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetReflectsRemove() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top