Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,189 for boolean (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        GcFinalization.awaitClear(ref);
      }
    
      public void testDefaultBehaviorOfPeekForEmptyIteration() {
    
        AbstractIterator<Integer> empty =
            new AbstractIterator<Integer>() {
              private boolean alreadyCalledEndOfData;
    
              @Override
              public @Nullable Integer computeNext() {
                if (alreadyCalledEndOfData) {
                  fail("Should not have been invoked again");
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        GcFinalization.awaitClear(ref);
      }
    
      public void testDefaultBehaviorOfPeekForEmptyIteration() {
    
        AbstractIterator<Integer> empty =
            new AbstractIterator<Integer>() {
              private boolean alreadyCalledEndOfData;
    
              @Override
              public @Nullable Integer computeNext() {
                if (alreadyCalledEndOfData) {
                  fail("Should not have been invoked again");
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        fun matchesCertificate(certificate: X509Certificate): Boolean {
          return when (hashAlgorithm) {
            "sha256" -> hash == certificate.sha256Hash()
            "sha1" -> hash == certificate.sha1Hash()
            else -> false
          }
        }
    
        override fun toString(): String = "$hashAlgorithm/${hash.base64()}"
    
        override fun equals(other: Any?): Boolean {
          if (this === other) return true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableTable.java

        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) object;
            Object value = RegularImmutableTable.this.get(cell.getRowKey(), cell.getColumnKey());
            return value != null && value.equals(cell.getValue());
          }
          return false;
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        }
    
    
        @Override
        public boolean hasCapability ( int cap ) throws SmbException {
            return this.treeConnection.hasCapability(cap);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#isConnected()
         */
        @Override
        public boolean isConnected () {
            return this.treeConnection.isConnected();
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      private var uncaughtException: Throwable? = null
      private lateinit var testName: String
      private var defaultUncaughtExceptionHandler: Thread.UncaughtExceptionHandler? = null
      private var taskQueuesWereIdle: Boolean = false
      val connectionListener = RecordingConnectionListener()
    
      var logger: Logger? = null
    
      var recordEvents = true
      var recordTaskRunner = false
      var recordFrames = false
      var recordSslDebug = false
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            Boolean isRunning = false;
            int count = 0;
    
            while (count < 300 && !isRunning) { // Wait until the crawler starts
                ThreadUtil.sleep(500);
                count++;
                final Map<String, Object> scheduler = getSchedulerItem(namePrefix);
                assertTrue(scheduler.containsKey("running"));
                isRunning = (Boolean) scheduler.get("running");
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Cut.java

        if (result != 0) {
          return result;
        }
        // same value. below comes before above
        return Boolean.compare(this instanceof AboveValue, that instanceof AboveValue);
      }
    
      C endpoint() {
        return endpoint;
      }
    
      @SuppressWarnings("unchecked") // catching CCE
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Cut) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/QueuesTest.java

        for (BlockingQueue<Object> q : blockingQueues()) {
          testMultipleProducers(q);
        }
      }
    
      private void testMultipleProducers(BlockingQueue<Object> q) throws InterruptedException {
        for (boolean interruptibly : new boolean[] {true, false}) {
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError = threadPool.submit(new Producer(q, 20));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        while (!buffer.exhausted()) {
          val box = Buffer()
          box.write(buffer, 1)
          result.write(box.copy(), 1)
        }
        return result
      }
    
      tailrec fun File.isDescendentOf(directory: File): Boolean {
        val parentFile = parentFile ?: return false
        if (parentFile == directory) return true
        return parentFile.isDescendentOf(directory)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top