Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,629 for Booleans (0.4 seconds)

  1. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        // Happy path: shouldForceSigning returns the configured value
        @ParameterizedTest
        @ValueSource(booleans = { true, false })
        @DisplayName("shouldForceSigning returns stubbed boolean value")
        void shouldForceSigningReturns(boolean expected) {
            when(locator.shouldForceSigning()).thenReturn(expected);
    
            boolean result = locator.shouldForceSigning();
    
            assertEquals(expected, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/package-info.java

     *   <li>{@link ImmutableLongArray}
     *   <li>{@link UnsignedInteger}
     *   <li>{@link UnsignedLong}
     * </ul>
     *
     * <h3>Per-type static utilities</h3>
     *
     * <ul>
     *   <li>{@link Booleans}
     *   <li>{@link Bytes}
     *       <ul>
     *         <li>{@link SignedBytes}
     *         <li>{@link UnsignedBytes}
     *       </ul>
     *   <li>{@link Chars}
     *   <li>{@link Doubles}
     *   <li>{@link Floats}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 03 15:30:05 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        }
    
        @ParameterizedTest
        @ValueSource(booleans = { true, false })
        @DisplayName("isOpen delegates to handle.isOpen")
        void isOpen_delegates(boolean state) throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
            when(handle.isOpen()).thenReturn(state);
    
            // Act
            boolean result = out.isOpen();
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        // Happy path: isInUse returns the mocked state
        @ParameterizedTest
        @DisplayName("isInUse reflects current mocked state")
        @ValueSource(booleans = { true, false })
        void isInUse_variants(boolean inUse) {
            when(session.isInUse()).thenReturn(inUse);
    
            boolean result = session.isInUse();
    
            assertEquals(inUse, result);
            verify(session, times(1)).isInUse();
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/resources/forbidden/es-all-signatures.txt

    # This method is misleading, and uses lenient boolean parsing under the hood. If you intend to parse
    # a system property as a boolean, use
    # org.elasticsearch.core.Booleans#parseBoolean(java.lang.String) on the result of
    # java.lang.SystemProperty#getProperty(java.lang.String) instead. If you were not intending to parse
    # a system property as a boolean, but instead parse a string to a boolean, use
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 15:21:26 GMT 2021
    - 3.8K bytes
    - Click Count (0)
  6. 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
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        delegate!!.startHandshake()
      }
    
      override fun setUseClientMode(mode: Boolean) {
        delegate!!.useClientMode = mode
      }
    
      override fun getUseClientMode(): Boolean = delegate!!.useClientMode
    
      override fun setNeedClientAuth(need: Boolean) {
        delegate!!.needClientAuth = need
      }
    
      override fun setWantClientAuth(want: Boolean) {
        delegate!!.wantClientAuth = want
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      public NavigableSet<E> subSet(
          @ParametricNullness E fromElement,
          boolean fromInclusive,
          @ParametricNullness E toElement,
          boolean toInclusive) {
        return delegate().subSet(fromElement, fromInclusive, toElement, toInclusive);
      }
    
      /**
       * A sensible definition of {@link #subSet(Object, boolean, Object, boolean)} in terms of the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        @Override
        public boolean canDetermineActivation(Profile profile) {
            Activation activation = profile.getActivation();
            return activation != null && activation.getOs() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
            ActivationOS os = activation.getOs();
    
            boolean result = ensureAtLeastOneNonNull(os);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        }
    
        @Override
        public Optional<Boolean> suppressSnapshotUpdates() {
            return returnFirstPresentOrEmpty(MavenOptions::suppressSnapshotUpdates);
        }
    
        @Override
        public Optional<Boolean> strictChecksums() {
            return returnFirstPresentOrEmpty(MavenOptions::strictChecksums);
        }
    
        @Override
        public Optional<Boolean> relaxedChecksums() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top