Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 1,994 for size8 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/path_params_numeric_validations/tutorial006_py310.py

    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 397 bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Preconditions.java

        } else if (size < 0) {
          throw new IllegalArgumentException("negative size: " + size);
        } else { // index >= size
          return lenientFormat("%s (%s) must be less than size (%s)", desc, index, size);
        }
      }
    
      /**
       * Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1L << 62) - 1, -1, Long.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
        assertMean(-3, -4, -1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  4. docs_src/path_params_numeric_validations/tutorial006_an_py310.py

    async def read_items(
        *,
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 447 bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/Hexdump.java

         * @return a hexadecimal string representation of the byte array
         */
        public static String toHexString(final byte[] src, final int srcIndex, int size) {
            final char[] c = new char[size];
            size = size % 2 == 0 ? size / 2 : size / 2 + 1;
            for (int i = 0, j = 0; i < size; i++) {
                c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F];
                j++;
                if (j == c.length) {
                    break;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CartesianList.java

        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            }
            List<LogNotificationEvent> events = helper.drainAll();
            // Should be capped at buffer size (1000)
            assertTrue(events.size() <= 1000);
            assertTrue(events.size() > 0);
        }
    
        @Test
        public void test_offer_bufferCapacity_dropsOldest() {
            LogNotificationHelper helper = new LogNotificationHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
          assertEquals(size + 1, multimap().size());
        }
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullFirst_unsupported() {
        int size = getNumElements();
    
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/CartesianList.java

        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Negative values will be cast to unsigned when encoded
                assertEquals(4 + 2 * path.length(), buffer.size());
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeTests {
    
            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top