Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 621 for takeIf (0.5 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            // Value taken from p2
            // ----------------------------------------------------------------------
    
            assertEquals("mailing-list", project4.getMailingLists().get(0).getName());
    
            // ----------------------------------------------------------------------
            // Value taken from p1
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          }
        };
      }
    
      /**
       * Shuts down the given executor service gradually, first disabling new submissions and later, if
       * necessary, cancelling remaining tasks.
       *
       * <p>The method takes the following steps:
       *
       * <ol>
       *   <li>calls {@link ExecutorService#shutdown()}, disabling acceptance of new submitted tasks.
       *   <li>awaits executor service termination for half of the specified timeout.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

      @Deprecated
      public static <V extends @Nullable Object> FluentFuture<V> from(FluentFuture<V> future) {
        return checkNotNull(future);
      }
    
      /**
       * Returns a {@code Future} whose result is taken from this {@code Future} or, if this {@code
       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

         * and the arithmetic mean is always higher than the geometric mean.
         *
         * b) this iteration converges to floor(sqrt(x)). In fact, the number of correct digits doubles
         * with each iteration, so this algorithm takes O(log(digits)) iterations.
         *
         * We start out with a double-precision approximation, which may be higher or lower than the
         * true value. Therefore, we perform at least one Newton iteration to get a guess that's
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. impl/maven-core/plugin-manager.txt

    Plexus component which can itself have a reference to the host application in order to perform its work. This may not occur in the first versions of the plugin API but a resource needs to simply become the mapping mechanism by which parameters are taken from the REST side of the application and mapped into a method call within a given Plexus component. Whether that be the core Nexus application or a component provided by a plugin.
    
    At the very least in the short term the resource needs to...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    on:  `But why did they live at the bottom of a well?'
    
      `Take some more tea,' the March Hare said to Alice, very
    earnestly.
    
      `I've had nothing yet,' Alice replied in an offended tone, `so
    I can't take more.'
    
      `You mean you can't take LESS,' said the Hatter:  `it's very
    easy to take MORE than nothing.'
    
      `Nobody asked YOUR opinion,' said Alice.
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        }
    
        taskFaker.runTasks()
        assertEvents(
          "take plan 0",
          "plan 0 TCP connecting...",
        )
    
        taskFaker.advanceUntil(250.ms)
        assertEvents(
          "take plan 1",
          "plan 1 TCP connecting...",
        )
    
        taskFaker.advanceUntil(500.ms)
        assertEvents(
          "take plan 2",
          "plan 0 cancel",
          "plan 1 cancel",
        )
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. cmd/namespace-lock.go

    		delete(n.lockMap, resource)
    	}
    }
    
    // dsync's distributed lock instance.
    type distLockInstance struct {
    	rwMutex *dsync.DRWMutex
    	opsID   string
    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<First<String>> tokenF = new TypeToken<First<String>>() {};
        assertTrue(tokenF.isSupertypeOf(new TypeToken<Second<String>>() {}));
        assertTrue(tokenF.isSupertypeOf(new TypeToken<Third<String, Integer>>() {}));
        assertFalse(tokenF.isSupertypeOf(new TypeToken<Third<Integer, String>>() {}));
        assertTrue(tokenF.isSupertypeOf(new TypeToken<Fourth<Integer, String>>() {}));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
  10. internal/handlers/proxy_test.go

    			xForwardedFor: []string{"8.8.8.8"},
    			xRealIP:       []string{"1.1.1.1"},
    		},
    	}
    	// When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence.
    	res := GetSourceIP(req)
    	if res != "8.8.8.8" {
    		t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res)
    	}
    
    	// When explicitly disabled, the XFF header is ignored and X-Real-IP is used.
    	enableXFFHeader = false
    	defer func() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 26 19:25:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top