Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 614 for compares (0.06 seconds)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        }
        return null;
      }
    
      final void testAllDeclarations() throws Exception {
        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(methods, (a, b) -> a.getName().compareTo(b.getName()));
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
            method.setAccessible(true);
            SubtypeTester tester = (SubtypeTester) clone();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        }
        return null;
      }
    
      final void testAllDeclarations() throws Exception {
        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(methods, (a, b) -> a.getName().compareTo(b.getName()));
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
            method.setAccessible(true);
            SubtypeTester tester = (SubtypeTester) clone();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            return toolchains;
        }
    
        private boolean hasErrors(List<Problem> problems) {
            if (problems != null) {
                for (Problem problem : problems) {
                    if (Problem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
                        return true;
                    }
                }
            }
    
            return false;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. docs/de/docs/tutorial/path-params.md

    Der *Pfad-Parameter* wird ein *<abbr title="Member – Mitglied: Einer der möglichen Werte einer Enumeration">Member</abbr> einer Enumeration* sein.
    
    #### *Enumeration-Member* vergleichen { #compare-enumeration-members }
    
    Sie können ihn mit einem Member Ihrer Enumeration `ModelName` vergleichen:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. tests/gaussdb_test.go

    	}
    }
    
    func TestGaussDBAlterColumnDataType(t *testing.T) {
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    	DB.Migrator().DropTable(&Company{})
    	DB.AutoMigrate(Company{})
    	if err := DB.Table("companies").Migrator().AlterColumn(CompanyNew{}, "name"); err != nil {
    		t.Fatalf("failed to alter column from string to int, got error %v", err)
    	}
    
    	DB.AutoMigrate(Company{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top