Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 600 for compact (0.06 seconds)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

      public void testCompare() {
        for (long x : VALUES) {
          for (long y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y).that(Longs.compare(x, y)).isEqualTo(Long.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Longs.contains(EMPTY, 1L)).isFalse();
        assertThat(Longs.contains(ARRAY1, 2L)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return suite;
      }
    
      // enum singleton pattern
      private enum StringLengthComparator implements Comparator<String> {
        INSTANCE;
    
        @Override
        public int compare(String a, String b) {
          return a.length() - b.length();
        }
      }
    
      private static final Comparator<String> STRING_LENGTH = StringLengthComparator.INSTANCE;
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return suite;
      }
    
      // enum singleton pattern
      private enum StringLengthComparator implements Comparator<String> {
        INSTANCE;
    
        @Override
        public int compare(String a, String b) {
          return a.length() - b.length();
        }
      }
    
      private static final Comparator<String> STRING_LENGTH = StringLengthComparator.INSTANCE;
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/path-params.md

    ### Trabajando con *enumeraciones* de Python { #working-with-python-enumerations }
    
    El valor del *path parameter* será un *miembro* de enumeración.
    
    #### Comparar *miembros* de enumeraciones { #compare-enumeration-members }
    
    Puedes compararlo con el *miembro* de enumeración en tu enum creada `ModelName`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. api/go1.18.txt

    pkg net/netip, method (Addr) As16() [16]uint8
    pkg net/netip, method (Addr) As4() [4]uint8
    pkg net/netip, method (Addr) AsSlice() []uint8
    pkg net/netip, method (Addr) BitLen() int
    pkg net/netip, method (Addr) Compare(Addr) int
    pkg net/netip, method (Addr) Is4() bool
    pkg net/netip, method (Addr) Is4In6() bool
    pkg net/netip, method (Addr) Is6() bool
    pkg net/netip, method (Addr) IsGlobalUnicast() bool
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/path-params.md

    因為「路徑參數」的可用值是預先定義的,互動式文件可以很漂亮地顯示它們:
    
    <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:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

              castOrCopyToList(mapGenerator.order(castOrCopyToList(mapGenerator.getSampleElements(5))));
          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  8. cmd/utils.go

    	// short-circuit single-element list
    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    		// short-circuit empty strings
    		if xfixl == 0 || strl == 0 {
    			return ""
    		}
    		// maximum possible length
    		maxl := min(strl, xfixl)
    		// compare letters
    		if pre {
    			// prefix, iterate left to right
    			for i := range maxl {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  9. src/main/resources/fess_label.properties

    labels.searchoptions_num={0} results
    labels.searchoptions_menu_lang=Language
    labels.searchoptions_menu_labels=Labels
    labels.error_title=Error
    labels.system_error_title=System Error
    labels.contact_site_admin=Please contact your site administrator.
    labels.request_error_title=Invalid Request Format.
    labels.bad_request=Your request to the URL is invalid.
    labels.page_not_found_title=Page Not Found.
    labels.check_url=Please check the URL.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 48.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class CrawlJobTest extends UnitFessTestCase {
    
        private CrawlJob crawlJob;
    
        // Helper method to compare arrays
        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
            if (expected == null || actual == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
Back to Top