Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,073 for iguals (0.09 sec)

  1. src/test/java/jcifs/SIDTest.java

         */
        @Test
        void testToByteArray() {
            SID sid = new SID(adminSidBytes, 0);
            assertArrayEquals(adminSidBytes, sid.toByteArray());
        }
    
        /**
         * Test the equals method.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testEquals() throws SmbException {
            SID sid1 = new SID(adminSidString);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    // fid based equality (null fileId, same fid and tree id)
                    Arguments.of(null, null, 200L, true));
        }
    
        @ParameterizedTest(name = "equals/hashCode consistent for treeId={2}")
        @MethodSource("equalsHashParams")
        void equalsAndHashCode_consistency(byte[] id1, byte[] id2, long treeId, boolean expectEqual) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            // Check no duplicate queries added to FacetInfo
            List<String> addedQueries = testFacetInfo.getAddedQueries();
            long pdfCount = addedQueries.stream().filter(q -> q.equals("filetype:pdf")).count();
            assertEquals(1, pdfCount);
        }
    
        // Test init() with empty file types
        public void test_init_withEmptyFileTypes() {
            testFileTypeHelper.setTypes(new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/Utf8Test.java

          assertEquals(isRoundTrippable, Utf8.isWellFormed(bytes, 0, numBytes));
          String s = new String(bytes, UTF_8);
          byte[] bytesReencoded = s.getBytes(UTF_8);
          boolean bytesEqual = Arrays.equals(bytes, bytesReencoded);
    
          if (bytesEqual != isRoundTrippable) {
            fail();
          }
          if (isRoundTrippable) {
            countRoundTripped++;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

            return ImmutableList.this.get(index);
          }
        };
      }
    
      @Override
      public ImmutableList<E> asList() {
        return this;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return Lists.hashCodeImpl(this);
      }
    
      public ImmutableList<E> reverse() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

                        this.requireMic = true;
                    }
                    this.firstResponse = false;
                } else if (targ.getMechanism() != null && !targ.getMechanism().equals(this.selectedMech)) {
                    throw new SmbException("Server switched mechanism");
                }
                inputToken = targ.getMechanismToken();
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

            if (dataClass == null) {
                return super.getData(accessResultData);
            }
    
            final Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData);
            if (Map.class.equals(dataClass)) {
                return dataMap;
            }
    
            try {
                final Object obj = dataClass.getDeclaredConstructor().newInstance();
                BeanUtil.copyMapToBean(dataMap, obj);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          this.value = value;
        }
    
        @Override
        public int compareTo(ClassWithTerribleHashCode that) {
          return Integer.compare(this.value, that.value);
        }
    
        @Override
        public boolean equals(@Nullable Object x) {
          return x instanceof ClassWithTerribleHashCode
              && ((ClassWithTerribleHashCode) x).value == value;
        }
    
        @Override
        public int hashCode() {
          return 23;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        public Object load(Object key) {
          return new Object();
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return o instanceof SerializableCacheLoader;
        }
      }
    
      private static class SerializableRemovalListener<K, V>
          implements RemovalListener<K, V>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractService.java

       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
         * The internal state, which equals external state unless shutdownWhenStartupFinishes is true.
         */
        final State state;
    
        /** If true, the user requested a shutdown while the service was still starting up. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top