Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2221 - 2230 of 2,451 for Booleans (0.04 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          yieldUntil()
        }
      }
    
      /** Process the queue until [condition] returns true. */
      private tailrec fun yieldUntil(
        strategy: ResumePriority = ResumePriority.AfterEnqueuedTasks,
        condition: () -> Boolean = { true },
      ) {
        taskRunner.assertLockHeld()
        val self = currentTask
    
        val yieldCompleteTask =
          object : SerialTask {
            override fun isReady() = condition()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

          object : AbstractList<Protocol?>() {
            override val size: Int = 1
    
            override fun get(index: Int) = Protocol.HTTP_1_1
    
            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 13.4K bytes
    - Click Count (1)
  3. impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java

    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    public class DiTest {
    
        // return true to run the test
        static boolean testShouldNotHaveDuplicates() {
            return true;
        }
    
        @Nested
        class DiTest1 {
    
            PlexusContainer container;
    
            @BeforeEach
            void setup() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 23:18:32 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

            if (metadata != null && metadata.getPath() != null && Files.isRegularFile(metadata.getPath())) {
                try {
                    Map<String, ?> options = Collections.singletonMap(MetadataReader.IS_STRICT, Boolean.FALSE);
    
                    Metadata pluginGroupMetadata =
                            metadataReader.read(metadata.getPath().toFile(), options);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 17 13:14:10 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            return createMavenSession(pom, executionProperties, false);
        }
    
        protected MavenSession createMavenSession(File pom, Properties executionProperties, boolean includeModules)
                throws Exception {
            MavenExecutionRequest request = createMavenExecutionRequest(pom);
    
            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

             * @param locale
             *            Locale
             */
            public DateFormatIterator(final Locale locale) {
                this.locale = locale;
            }
    
            @Override
            public boolean hasNext() {
                return index < STYLES.length;
            }
    
            @Override
            public DateFormat next() {
                if (!hasNext()) {
                    throw new NoSuchElementException();
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

             * @param locale
             *            Locale
             */
            public DateFormatIterator(final Locale locale) {
                this.locale = locale;
            }
    
            @Override
            public boolean hasNext() {
                return index < STYLES.length;
            }
    
            @Override
            public DateFormat next() {
                if (!hasNext()) {
                    throw new NoSuchElementException();
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ACETest.java

                assertEquals(ACE.FLAGS_INHERITED, flags);
                verify(ace).getFlags();
            }
    
            @Test
            @DisplayName("Should define isInherited method returning boolean")
            void shouldDefineIsInherited() {
                ACE inheritedAce = mock(ACE.class);
                ACE directAce = mock(ACE.class);
                when(inheritedAce.isInherited()).thenReturn(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         * @param file true if file protocol URLs should be included
         * @return a newline-separated string of filtered URL patterns
         */
        protected String parseFilterPaths(final String text, final boolean web, final boolean file) {
            return split(text, "\n")
                    .get(stream -> stream.map(String::trim).filter(StringUtil::isNotBlank).map(this::getFilterPath).filter(s -> {
                        if (StringUtil.isBlank(s)) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Optional.java

      Optional() {}
    
      /**
       * Returns {@code true} if this holder contains a (non-null) instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
      public abstract boolean isPresent();
    
      /**
       * Returns the contained instance, which must be present. If the instance might be absent, use
       * {@link #or(Object)} or {@link #orNull} instead.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top