Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,112 for Returns (0.06 sec)

  1. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotNull("clazz", clazz);
    
            return clazz.getName().replace('.', '/') + ".class";
        }
    
        /**
         * Returns the context class loader.
         *
         * @return the context class loader
         */
        public static ClassLoader getClassLoader() {
            return Thread.currentThread().getContextClassLoader();
        }
    
        /**
         * Returns the resource from the context class loader.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedInteger.java

      /**
       * Returns the result of subtracting this and {@code val}. If the result would be negative,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedInteger minus(UnsignedInteger val) {
        return fromIntBits(value - checkNotNull(val).value);
      }
    
      /**
       * Returns the result of multiplying this and {@code val}. If the result would have more than 32
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         */
        public static char[] asCharArray(final char... elements) {
            return elements;
        }
    
        /**
         * Returns an array of {@literal byte}.
         *
         * @param elements the elements of the array
         * @return the array
         */
        public static byte[] asByteArray(final byte... elements) {
            return elements;
        }
    
        /**
         * Returns an array of {@literal short}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacLogonInfo.java

         * @return the logon count
         */
        public short getLogonCount() {
            return this.logonCount;
        }
    
        /**
         * Returns the number of failed password attempts for this user.
         * @return the bad password count
         */
        public short getBadPasswordCount() {
            return this.badPasswordCount;
        }
    
        /**
         * Returns the user's account name.
         * @return the user name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
            // Arrange: stub to return true regardless of input
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    		return `ongoing-request="true"`
    	}
    	return fmt.Sprintf(`ongoing-request="false", expiry-date="%s"`, r.expiry.Format(http.TimeFormat))
    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    // Otherwise returns zero value of time.Time and false.
    func (r restoreObjStatus) Expiry() (time.Time, bool) {
    	if r.Ongoing() {
    		return time.Time{}, false
    	}
    	return r.expiry, true
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ObjectUtil.java

                return false;
            }
            return object1.equals(object2);
        }
    
        /**
         * Returns the hash code of the specified object, or 0 if the object is null.
         *
         * @param obj the object
         * @return the hash code or 0
         */
        public static int hashCode(final Object obj) {
            return obj == null ? 0 : obj.hashCode();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * Returns whether the method is <code>public</code>.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @return <code>public</code> if the method is public
         */
        public static boolean isPublic(final Method method) {
            assertArgumentNotNull("method", method);
    
            return Modifier.isPublic(method.getModifiers());
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

         *            the substring to find
         * @return true if the string contains the substring, false otherwise
         */
        public static boolean contains(final String s1, final String s2) {
            if (isEmpty(s1)) {
                return false;
            }
            return s1.indexOf(s2) >= 0;
        }
    
        /**
         * Returns whether two strings are equal. If both are null, returns <code>true</code>.
         *
         * @param target1
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top