Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 205 for objs (0.15 sec)

  1. src/main/java/org/codelibs/fess/util/MemoryUtil.java

         *
         * @param obj the object to calculate size for
         * @return estimated size in bytes
         */
        public static long sizeOf(final Object obj) {
            if (obj == null) {
                return 0L;
            }
            if (obj instanceof String) {
                return ((String) obj).length() + 56L;
            }
            if (obj instanceof Number) {
                return 24L;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(-1L, response.getSize());
        }
    
        // Helper methods for reflection
        private void setFieldValue(Object obj, String fieldName, Object value) {
            try {
                Field field = findField(obj.getClass(), fieldName);
                field.setAccessible(true);
                field.set(obj, value);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set field " + fieldName, e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        private static class Entry {
    
            public Entry(final int referent, final Object obj) {
                this.referent = referent;
                this.obj = obj;
            }
    
            final int referent;
    
            @SuppressWarnings("unused")
            private final Object obj;
        }
    
        /**
         * The underlying byte buffer containing the NDR data.
         */
        public byte[] buf;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!UrlSource.class.equals(obj.getClass())) {
                return false;
            }
    
            UrlSource other = (UrlSource) obj;
            return Objects.equals(url.toExternalForm(), other.url.toExternalForm());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

          typeSignature = new TypeSignature(method.getTypeParameters());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof MethodSignature) {
            MethodSignature other = (MethodSignature) obj;
            return name.equals(other.name)
                && parameterTypes.equals(other.parameterTypes)
                && typeSignature.equals(other.typeSignature);
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            when(auth.getUserDomain()).thenReturn("dom");
    
            // Construct
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, auth);
            String accountName = (String) getField(obj, "accountName");
            String primaryDomain = (String) getField(obj, "primaryDomain");
    
            // The actual implementation keeps lowercase for guest when Unicode is not enabled
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      /** Test proper handling of case where an object is not equal to itself */
      public void testNonReflexiveEquals() {
        Object obj = new NonReflexiveObject();
        equalsTester.addEqualityGroup(obj);
        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, obj + " must be Object#equals to itself");
          return;
        }
        fail("Should get non-reflexive error");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!FileSource.class.equals(obj.getClass())) {
                return false;
            }
    
            FileSource other = (FileSource) obj;
            return this.path.equals(other.path);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/StandardTable.java

            super(Column.this);
          }
    
          @Override
          public boolean contains(@Nullable Object obj) {
            return StandardTable.this.contains(obj, columnKey);
          }
    
          @Override
          public boolean remove(@Nullable Object obj) {
            return StandardTable.this.remove(obj, columnKey) != null;
          }
    
          @Override
          public boolean retainAll(Collection<?> c) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

        }
    
        @Override
        public int hashCode() {
          return ~predicate.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof NotPredicate) {
            NotPredicate<?> that = (NotPredicate<?>) obj;
            return predicate.equals(that.predicate);
          }
          return false;
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top