Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 1,428 for cast (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            testData.add(createRelatedContent("Java", "Java Programming", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.load();
    
            // Test case insensitive matching
            String[] results = relatedContentHelper.getRelatedContents("java");
            assertEquals(1, results.length);
            assertEquals("Java Programming", results[0]);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbSessionTest.java

                assertNull(mockSession.getContext()); // Default mock behavior
                assertNull(mockSession.unwrap(SmbSession.class)); // Default mock behavior
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTest {
    
            @Test
            @DisplayName("Should handle repeated method calls consistently")
            void shouldHandleRepeatedMethodCallsConsistently() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
        @DisplayName("Should handle edge case structure sizes")
        void testEdgeCaseStructureSizes() {
            // Test minimum invalid size (0)
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(0, buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingMap.java

     * methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change the
     * behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardPutAll} method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * StackOverflowError: We can't reliably call setException(error).
         *
         * - Any kind of Error from a listener. Even if we could distinguish that case (by exposing some
         * extra state from AbstractFuture), our options are limited: A call to setException() would be
         * a no-op. We could log, but if that's what we really want, we should modify
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. docs/distributed/DESIGN.md

                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
            }
            // Should not happen, but print values just in case.
            panic(fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose))
    }
    ```
    
    ## Other usages
    
    ### Advanced use cases with multiple ellipses
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (1)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

     * </p>
     *
     * <p>
     * It handles potential exceptions during file creation and storage, throwing
     * {@link org.codelibs.fess.crawler.exception.CrawlerSystemException} in case of errors.
     * </p>
     *
     * <p>
     * The {@link #storeData(ResponseData, ResultData)} method is the main entry point for storing
     * the content of a crawled resource. The {@link #getData(AccessResultData)} method retrieves
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

     *
     * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12
     *
     * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic
     * entries are added to the array, starting in the last position moving forward. When the array
     * fills, it is doubled.
     */
    @Suppress("NAME_SHADOWING")
    object Hpack {
      private const val PREFIX_4_BITS = 0x0f
      private const val PREFIX_5_BITS = 0x1f
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	if objInfo.ETag != "" && !del {
    		w.Header()[xhttp.ETag] = []string{`"` + objInfo.ETag + `"`}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top