Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,013 for whistle (0.04 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    //// tab | Annotated
    
    ```Python
    q: Annotated[str | None, Query(min_length=3)] = None
    ```
    
    ////
    
    So, when you need to declare a value as required while using `Query`, you can simply not declare a default value:
    
    {* ../../docs_src/query_params_str_validations/tutorial006_an_py39.py hl[9] *}
    
    ### Required, can be `None` { #required-can-be-none }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        checkNotNull(comparator);
        if (!elements.hasNext()) {
          return emptySet(comparator);
        }
        SortedSet<E> delegate = new TreeSet<E>(comparator);
        while (elements.hasNext()) {
          E element = elements.next();
          checkNotNull(element);
          delegate.add(element);
        }
        return new RegularImmutableSortedSet<E>(delegate, false);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          File file = getFile();
          InputStream in = new FileInputStream(file);
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          byte[] buffer = new byte[100];
          int read;
          while ((read = in.read(buffer)) != -1) {
            out.write(buffer, 0, read);
          }
          return out.toByteArray();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            field.setAccessible(true);
            field.set(obj, value);
        }
    
        private Field getField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // 1. Asterisk (*) is only permitted in the left-most domain name label and must be the
        //    only character in that label (i.e., must match the whole left-most label).
        //    For example, *.example.com is permitted, while *a.example.com, a*.example.com,
        //    a*b.example.com, a.*.example.com are not permitted.
        // 2. Asterisk (*) cannot match across domain name labels.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

      }
    
      /** Returns a callable that reads all of source, closes it, and returns the bytes.  */
      private fun sourceReader(source: Source?): Callable<ByteString> =
        Callable {
          val buffer = Buffer()
          while (source!!.read(buffer, 16384) != -1L) {
          }
          source.close()
          buffer.readByteString()
        }
    
      private fun assertFile(
        prefix: ByteString,
        upstreamSize: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        for (int z = 0; z < 100; z++) {
          int[] codePoints = new int[rng.nextInt(8)];
          for (int i = 0; i < codePoints.length; i++) {
            do {
              codePoints[i] = rng.nextInt(0x800);
            } while (!Character.isValidCodePoint(codePoints[i])
                || (codePoints[i] >= Character.MIN_SURROGATE
                    && codePoints[i] <= Character.MAX_SURROGATE));
          }
          StringBuilder builder = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Fingerprint2011.java

          weakHashLength32WithSeeds(bytes, offset + 32, z + w[1], y, w);
          long tmp = z;
          z = x;
          x = tmp;
          offset += 64;
          length -= 64;
        } while (length != 0);
        return hash128to64(hash128to64(v[0], w[0]) + shiftMix(y) * K1 + z, hash128to64(v[1], w[1]) + x);
      }
    
      private static long hashLength33To64(byte[] bytes, int offset, int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/UniAddress.java

                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
                    if (i == len && dots == 3) {
                        // probably an IP address
                        return true;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                this.modelInterpolator = modelInterpolator;
                this.logger = logger;
            }
    
            @Override
            public ModelInterpolationException run() {
                while (!interpolationTargets.isEmpty()) {
                    Object obj = interpolationTargets.removeFirst();
    
                    try {
                        traverseObjectWithParents(obj.getClass(), obj);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top