Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,210 for boolean (0.07 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

       * Boolean#hashCode(boolean)}.
       *
       * @param value a primitive {@code boolean} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Boolean.hashCode(value)")
      public static int hashCode(boolean value) {
        return Boolean.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code boolean} values in the standard way ({@code false} is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Booleans.java

       * Boolean#hashCode(boolean)}.
       *
       * @param value a primitive {@code boolean} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Boolean.hashCode(value)")
      public static int hashCode(boolean value) {
        return Boolean.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code boolean} values in the standard way ({@code false} is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

            case null -> null;
            case Boolean b -> b;
            case Number n -> n.intValue() != 0;
            case String s -> switch (s.toLowerCase()) {
            case "true" -> Boolean.TRUE;
            case "false", "0" -> Boolean.FALSE;
            default -> Boolean.TRUE;
            };
            default -> Boolean.TRUE;
            };
        }
    
        /**
         * Converts to {@literal boolean}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(new boolean[] {true}, 1, new boolean[] {true});
        testRotate(new boolean[] {true}, 2, new boolean[] {true});
    
        testRotate(new boolean[] {true, false}, -3, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -1, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -2, new boolean[] {true, false});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

        }
    
        // Test LdapManager implementation
        private static class TestLdapManager extends LdapManager {
            boolean insertCalled = false;
            boolean deleteCalled = false;
            boolean changePasswordCalled = false;
            boolean applyCalled = false;
            boolean applyModifiesUser = false;
    
            User insertedUser;
            User deletedUser;
            User appliedUser;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

         */
        private static class TestSmbNegotiationRequest implements SmbNegotiationRequest {
            private final boolean signingEnforced;
    
            TestSmbNegotiationRequest(boolean signingEnforced) {
                this.signingEnforced = signingEnforced;
            }
    
            @Override
            public boolean isSigningEnforced() {
                return signingEnforced;
            }
        }
    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. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        public String[] getGroups() {
            return user.getGroupNames();
        }
    
        public boolean isEditable() {
            return user.isEditable();
        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public boolean isRequestedSessionIdFromCookie() {
                return false;
            }
    
            @Override
            public boolean isRequestedSessionIdFromURL() {
                return false;
            }
    
            @Override
            public boolean authenticate(jakarta.servlet.http.HttpServletResponse response) {
                return false;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
            // Act
            boolean result = negotiationResponse.isValid(cifsContext, negotiationRequest);
    
            // Assert
            assertTrue(result);
            verify(negotiationResponse).isValid(cifsContext, negotiationRequest);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

     */
    public abstract class ServerMessageBlock2Response extends ServerMessageBlock2 implements CommonServerMessageBlockResponse {
    
        private boolean received;
        private boolean error;
        private Long expiration;
    
        private boolean verifyFailed;
        private Exception exception;
        private boolean asyncHandled;
    
        /**
         * Constructor for SMB2 response with configuration and command.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top