Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 2,390 for when (0.01 sec)

  1. src/test/java/jcifs/smb/DfsReferralTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.DfsReferralData;
    
    /**
     * Tests for the DfsReferral class.
     */
    class DfsReferralTest {
    
        /**
         * Test the constructor and the getData method.
         */
        @Test
        void testConstructorAndGetData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // This should throw an ArrayIndexOutOfBoundsException when trying to read beyond array
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                msrpcShareGetInfo.getSecurity();
            });
        }
    
        @Test
        void testGetSecurityWithWrongInfoType() throws Exception {
            // Test when info is not ShareInfo502
            srvsvc.ShareInfo0 info0 = new srvsvc.ShareInfo0();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    *   Include unit tests when you contribute new features, as they help to a)
        prove that your code works correctly, and b) guard against future breaking
        changes to lower the maintenance cost.
    *   Bug fixes also generally require unit tests, because the presence of bugs
        usually indicates insufficient test coverage.
    *   Keep API compatibility in mind when you change code in core TensorFlow,
        e.g., code in
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Jan 11 04:47:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

     * <p>
     * This annotation can be used on static methods to programmatically create and configure
     * beans that will be managed by the dependency injection container. It's particularly
     * useful when the bean creation requires complex logic or when the bean needs to be
     * configured based on runtime conditions.
     * <p>
     * Example usage:
     * <pre>
     * public class Providers {
     *     {@literal @}Provides
     *     {@literal @}Singleton
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        /**
         * The name of the component to be retrieved from the CrawlerContainer.
         */
        protected String componentName;
    
        /**
         * The listener that is called when a pooled object is destroyed.
         */
        protected OnDestroyListener<T> onDestroyListener;
    
        /**
         * Creates a new object instance from the crawler container.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

            source.skip(crlfDashDashBoundary.size.toLong())
          }
    
          // Read either \r\n or --\r\n to determine if there is another part.
          var whitespace = false
          afterBoundaryLoop@while (true) {
            when (source.select(afterBoundaryOptions)) {
              0 -> {
                // "\r\n": We've found a new part.
                partCount++
                break@afterBoundaryLoop
              }
    
              1 -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals(1, item.getInputs().length);
            assertEquals("input", item.getInputs()[0]);
            assertEquals("output", item.getOutput());
        }
    
        public void test_constructor_withIdZero() {
            // Test when id is 0 (create mode)
            String[] inputs = { "x", "y" };
            CharMappingItem item = new CharMappingItem(0L, inputs, "result");
    
            assertEquals(0L, item.getId());
            assertNotNull(item.getNewInputs());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed
        // then we're on the hook to close it.
        val healthy = candidate.isHealthy(connectionUser.doExtensiveHealthChecks())
        var noNewExchangesEvent = false
        val toClose: Socket? =
          candidate.withLock {
            when {
              !healthy -> {
                noNewExchangesEvent = !candidate.noNewExchanges
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils.go

    	cred := globalActiveCred
    	if cred.AccessKey != accessKey {
    		if !globalIAMSys.Initialized() {
    			// Check if server has initialized, then only proceed
    			// to check for IAM users otherwise its okay for clients
    			// to retry with 503 errors when server is coming up.
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    
    		// Check if the access key is part of users credentials.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top