Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 2,057 for Boolean (0.05 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

        void testConcurrentAccess() throws InterruptedException, CIFSException {
            // Given
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            try (EmptyIterator sharedIterator = new EmptyIterator()) {
                // When
                for (int i = 0; i < threadCount; i++) {
                    final int index = i;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          return inline.submit(Iterables.get(tasks, 0)).get(timeout, unit);
        }
    
        @Override
        public boolean isShutdown() {
          lastMethodCalled = "isShutdown";
          return false;
        }
    
        @Override
        public boolean isTerminated() {
          lastMethodCalled = "isTerminated";
          return false;
        }
    
        @Override
        public void shutdown() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      /** Returns the number of values in this array. */
      public int length() {
        return end - start;
      }
    
      /** Returns {@code true} if there are no values in this array ({@link #length} is zero). */
      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code long} value present at the given index.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

      /** Returns the number of values in this array. */
      public int length() {
        return end - start;
      }
    
      /** Returns {@code true} if there are no values in this array ({@link #length} is zero). */
      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code int} value present at the given index.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

      }
    
      override fun noNewExchanges(connection: RealConnection) {
        connection.connectionListener.noNewExchanges(connection)
      }
    
      override fun doExtensiveHealthChecks(): Boolean = chain.request.method != "GET"
    
      override fun isCanceled(): Boolean = call.isCanceled()
    
      override fun candidateConnection(): RealConnection? = call.connection
    
      override fun proxySelectStart(url: HttpUrl) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

     */
    public class FileStandardInfo implements BasicFileInformation {
    
        private long allocationSize;
        private long endOfFile;
        private int numberOfLinks;
        private boolean deletePending;
        private boolean directory;
    
        /**
         * Default constructor for decoding file standard information.
         */
        public FileStandardInfo() {
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            case Number n -> n.longValue();
            case String s -> toLong(s);
            case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
            };
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @param cap the capability flag to check
         * @return whether the capability is present
         * @throws CIFSException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws CIFSException;
    
        /**
         * Gets the send buffer size of the underlying SMB connection
         * @return the send buffer size of the underlying connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
     *     String name = header.getName();
     *     String value = header.getValue();
     *     boolean isValid = header.isValid();
     * </pre>
     *
     * <p>Note: The name should not be blank and the value should not be null for the header to be considered valid.</p>
     *
     * @see java.io.Serializable
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. 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();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top