Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,723 for booleans (0.13 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        override val call: Call,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call
      }
    
      data class CallFailed(
        override val timestampNs: Long,
        override val call: Call,
        val ioe: IOException,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call
      }
    
      data class Canceled(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportInternal.java

         */
        boolean disconnect(boolean hard, boolean inuse) throws IOException;
    
        /**
         * Ensures the transport is connected to the remote server.
         *
         * @return whether the transport was connected
         * @throws SmbException if an SMB error occurs
         * @throws IOException if an I/O error occurs
         */
        boolean ensureConnected() throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            verify(handle).getMaximumBufferSize();
        }
    
        @Test
        @DisplayName("areSignaturesActive(): returns configured boolean true")
        void areSignaturesActive_true() throws Exception {
            // Arrange
            when(handle.areSignaturesActive()).thenReturn(true);
    
            // Act
            boolean result = handle.areSignaturesActive();
    
            // Assert
            assertTrue(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        @Override
        public boolean hasCapability(int cap) throws SmbException {
            return delegate.hasCapability(cap);
        }
    
        @Override
        public boolean isDisconnected() {
            return delegate.isDisconnected();
        }
    
        @Override
        public boolean disconnect(boolean hard, boolean inuse) throws IOException {
            synchronized (connectionLock) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            int offset = 0;
            int length = testData.length;
            int extraPad = 0;
            when(signingDigest.verify(testData, offset, length, extraPad, message)).thenReturn(true);
    
            // Act
            boolean result = signingDigest.verify(testData, offset, length, extraPad, message);
    
            // Assert
            assertTrue(result, "Verify should return true for valid signature");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

        /**
         * The URL where the crawling error occurred.
         */
        private final String url;
    
        /**
         * Flag indicating whether the crawling process should be aborted.
         */
        private final boolean abort;
    
        /**
         * Creates a new DataStoreCrawlingException with the specified URL, message, and cause.
         * The abort flag is set to false by default.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        private final TimeoutTarget timeoutTarget;
    
        private final long timeoutMillis;
    
        private final boolean permanent;
    
        private long startTime;
    
        private int status = ACTIVE;
    
        TimeoutTask(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) {
            this.timeoutTarget = timeoutTarget;
            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       * uninterruptibly.
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static boolean awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

            assertThat(ObjectUtil.equals("", ""), is(true));
            assertThat(ObjectUtil.equals(Boolean.TRUE, null), is(false));
            assertThat(ObjectUtil.equals(Boolean.TRUE, "true"), is(false));
            assertThat(ObjectUtil.equals(Boolean.TRUE, Boolean.TRUE), is(true));
            assertThat(ObjectUtil.equals(Boolean.TRUE, Boolean.FALSE), is(false));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top