Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 600 for compact (0.05 seconds)

  1. fastapi/encoders.py

    from pydantic.color import Color  # ty: ignore[deprecated]
    from pydantic.networks import AnyUrl, NameEmail
    from pydantic.types import SecretBytes, SecretStr
    from pydantic_core import PydanticUndefinedType
    
    from ._compat import (
        Url,
        is_pydantic_v1_model_instance,
    )
    
    
    # Taken from Pydantic v1 as is
    def isoformat(o: datetime.date | datetime.time) -> str:
        return o.isoformat()
    
    
    # Adapted from Pydantic v1
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testCompare() {
        for (char x : VALUES) {
          for (char y : VALUES) {
            assertWithMessage("%s, %s", x, y)
                .that(Math.signum(Chars.compare(x, y)))
                .isEqualTo(Math.signum(Character.compare(x, y)));
          }
        }
      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
        assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, sorted according to their natural
       * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/IntsTest.java

      public void testCompare() {
        for (int x : VALUES) {
          for (int y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Ints.contains(EMPTY, (int) 1)).isFalse();
        assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  5. BUILDING.md

    The elasticsearch build usually uses the latest Gradle GA release. We stay as close to the
    latest Gradle releases as possible. In certain cases an update is blocked by a breaking behaviour
    in Gradle. We're usually in contact with the gradle team here or working on a fix
    in our build logic to resolve this.
    
    **The Elasticsearch build will fail if any deprecated Gradle API is used.**
    
    ### Make a change in the build
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will
     * not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(treeConnection).getTreeType();
            verify(treeConnection).getConnectedShare();
        }
    
        @Test
        @DisplayName("isSameTree: different types and delegated compare")
        void isSameTreeCoversBranches() {
            // Covers non-impl (false) and impl path delegating to connection comparison
            // Not an impl -> false
            assertFalse(handle.isSameTree(mock(SmbTreeHandle.class)));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/path-params.md

    ### 查看文档 { #check-the-docs }
    
    API 文档会显示预定义路径参数的可用值:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 使用 Python 枚举 { #working-with-python-enumerations }
    
    路径参数的值是一个枚举成员。
    
    #### 比较枚举成员 { #compare-enumeration-members }
    
    可以将其与枚举类 `ModelName` 中的枚举成员进行比较:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    #### 获取枚举值 { #get-the-enumeration-value }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  9. docs/smb3-features/03-multi-channel-design.md

                }
                
                if (next == 0) break;
                offset += next;
            }
            
            // Sort by score (best interfaces first)
            remoteInterfaces.sort((a, b) -> Integer.compare(b.getScore(), a.getScore()));
        }
        
        private void discoverLocalInterfaces() {
            localInterfaces.clear();
            
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return new NullFriendlyComparator<>();
      }
    
      private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable {
        @Override
        public int compare(T left, T right) {
          return String.valueOf(left).compareTo(String.valueOf(right));
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
Back to Top