Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 288 for combinations (0.1 sec)

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

                      public boolean apply(Set<Integer> input) {
                        return input.size() == size;
                      }
                    });
            assertWithMessage("Sets.combinations(%s, %s)", sampleSet, k)
                .that(Sets.combinations(sampleSet, k))
                .containsExactlyElementsIn(expected)
                .inOrder();
          }
        }
      }
    
      private static <E> Set<E> set(E... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       * - scale with indexes taking integer-collection with compute taking a double-collection and with
       *   computeInPlace;
       * - (except that, for non-finite values, we don't do all combinations exhaustively);
       * - percentiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace.
       */
    
      private static final double ALLOWED_ERROR = 1.0e-10;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/settings.md

    So, the function below it will be executed once for each combination of arguments. And then the values returned by each of those combinations of arguments will be used again and again whenever the function is called with exactly the same combination of arguments.
    
    For example, if you have a function:
    
    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    And you could have a single dependency that requires several other dependencies with `yield`, etc.
    
    You can have any combinations of dependencies that you want.
    
    **FastAPI** will make sure everything is run in the correct order.
    
    /// note | "Technical Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/concepts.md

    Here are some possible combinations and strategies:
    
    * **Uvicorn** with `--workers`
        * One Uvicorn **process manager** would listen on the **IP** and **port**, and it would start **multiple Uvicorn worker processes**.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        double actualReportedFpp = bf.expectedFpp();
        assertThat(actualReportedFpp).isWithin(0.00033).of(expectedReportedFpp);
      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            builder.append("\tat ").append(trace).append('\n');
          }
          fail(builder.toString());
        }
      }
    
      /**
       * Returns an iterable containing all combinations of maximumSize, expireAfterAccess/Write,
       * weakKeys and weak/softValues.
       */
      private static Iterable<CacheBuilder<Object, Object>> allEntryTypeMakers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            builder.append("\tat ").append(trace).append('\n');
          }
          fail(builder.toString());
        }
      }
    
      /**
       * Returns an iterable containing all combinations of maximumSize, expireAfterAccess/Write,
       * weakKeys and weak/softValues.
       */
      private static Iterable<CacheBuilder<Object, Object>> allEntryTypeMakers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        return suite;
      }
    
      // Overkill alert!  Test all combinations of 0-2 options during creation.
    
      public void testCreation_simple() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    		{"abc/def/..", "abc"},
    		{"abc/def/../..", "."},
    		{"/abc/def/../..", "/"},
    		{"abc/def/../../..", ".."},
    		{"/abc/def/../../..", "/"},
    		{"abc/def/../../../ghi/jkl/../../../mno", "../../mno"},
    
    		// Combinations
    		{"abc/./../def", "def"},
    		{"abc//./../def", "def"},
    		{"abc/../../././../def", "../../def"},
    	}
    	for _, test := range cleantests {
    		want := test.path != test.result
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top