Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 367 for exactly (0.26 sec)

  1. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

                  int oldValue = multiset.remove(key, delta);
                  deltas[keyIndex] -= Math.min(delta, oldValue);
                  break;
                }
              case REMOVE_EXACTLY:
                {
                  int delta = random.nextInt(5); // [0, 4]
                  if (multiset.removeExactly(key, delta)) {
                    deltas[keyIndex] -= delta;
                  }
                  break;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

                  int oldValue = multiset.remove(key, delta);
                  deltas[keyIndex] -= Math.min(delta, oldValue);
                  break;
                }
              case REMOVE_EXACTLY:
                {
                  int delta = random.nextInt(5); // [0, 4]
                  if (multiset.removeExactly(key, delta)) {
                    deltas[keyIndex] -= delta;
                  }
                  break;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.8K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/equal-plugin-deps/pom.xml

          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
            <artifactId>maven-it-plugin-a</artifactId>
            <version>1.0-SNAPSHOT</version>
            <dependencies>
              <!-- NOTE: That's exactly the same dependency as for the other plugin. -->
              <dependency>
                <groupId>org.apache.maven.its.mng3838</groupId>
                <artifactId>dep</artifactId>
                <version>123</version>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MoreCollectors.java

       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
       *     {@code null}) and returns {@code Optional.empty()} if it has none.
       */
      @SuppressWarnings("unchecked")
      public static <T> Collector<T, ?, Optional<T>> toOptional() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/testing-database.md

    You could want to set up a different database for testing, rollback the data after the tests, pre-fill it with some testing data, etc.
    
    The main idea is exactly the same you saw in that previous chapter.
    
    ## Add tests for the SQL app
    
    Let's update the example from [SQL (Relational) Databases](../tutorial/sql-databases.md){.internal-link target=_blank} to use a testing database.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
      public void testAnonymous() {
        final AtomicReference<String> holder = new AtomicReference<>();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      protected final void expectContents(E... elements) {
        expectContents(Arrays.asList(elements));
      }
    
      /**
       * Asserts that the collection under test contains exactly the given elements, respecting
       * cardinality but not order. Subclasses may override this method to provide stronger assertions,
       * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/filter.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"io"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a lifecycle configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter"`
    	set     bool
    
    	Prefix Prefix
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // +optional
      optional string failurePolicy = 4;
    
      // matchPolicy defines how the "rules" list is used to match incoming requests.
      // Allowed values are "Exact" or "Equivalent".
      //
      // - Exact: match a request only if it exactly matches a specified rule.
      // For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1,
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      protected final void expectContents(E... elements) {
        expectContents(Arrays.asList(elements));
      }
    
      /**
       * Asserts that the collection under test contains exactly the given elements, respecting
       * cardinality but not order. Subclasses may override this method to provide stronger assertions,
       * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top