Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 395 for usable (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            assertEquals(ipv6Address, info.getAddress());
            assertTrue(info.isIpv6());
        }
    
        @Test
        void testIsUsableForChannel() {
            NetworkInterfaceInfo usable = new NetworkInterfaceInfo(testAddress, 1000);
            assertTrue(usable.isUsableForChannel());
    
            NetworkInterfaceInfo loopback = new NetworkInterfaceInfo(loopbackAddress, 1000);
            assertFalse(loopback.isUsableForChannel());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                fsObj.path = f.getAbsolutePath();
                fsObj.free = f.getFreeSpace();
                fsObj.total = f.getTotalSpace();
                fsObj.usable = f.getUsableSpace();
                fsObj.used = fsObj.total - fsObj.usable;
                fsObj.percent = (short) (100 * fsObj.used / fsObj.total);
                return fsObj;
            }).toArray(n -> new FsObj[n]);
        }
    
        private JvmObj getJvmObj() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ResolverType.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    /**
     * Enumeration of usable resolver types
     *
     * @author mbechler
     *
     */
    public enum ResolverType {
        /**
         * Resolve using WINS server
         */
        RESOLVER_WINS,
    
        /**
         * NETBIOS broadcast
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableMap.java

      /** Makes an entry usable internally by a new ImmutableMap. */
      static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry) {
        return makeImmutable(entry, entry.getKey(), entry.getValue());
      }
    
      private RegularImmutableMap(
          Entry<K, V>[] entries, @Nullable ImmutableMapEntry<K, V> @Nullable [] table, int mask) {
        this.entries = entries;
        this.table = table;
        this.mask = mask;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         *
         * @return true if RDMA capable
         */
        public boolean isRdmaCapable() {
            return rdmaCapable;
        }
    
        /**
         * Check if this interface is usable for multi-channel
         *
         * @return true if usable
         */
        public boolean isUsableForChannel() {
            return address != null && !address.isLoopbackAddress() && !address.isLinkLocalAddress();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
       * A plan holds either an immediately-usable connection, or one that must be connected first.
       * These steps are split so callers can call [connectTcp] on a background thread if attempting
       * multiple plans concurrently.
       */
      interface Plan {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              }
            }
          }
        }
      }
    
      /**
       * This blocking queue hooks into a fake clock rather than using regular JVM timing for functions
       * like [poll]. It is only usable within task faker tasks.
       */
      private inner class TaskFakerBlockingQueue<T>(
        val delegate: BlockingQueue<T>,
      ) : AbstractQueue<T>(),
        BlockingQueue<T> {
        override val size: Int = delegate.size
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
        @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
        void testHandleSetsNameAndPasswordHappyPath() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            SmbRenewableCredentials impl = new SelfRenewingCreds();
    
            // Assert: the extended interface relationship holds
            assertTrue(impl instanceof CredentialsInternal, "Should be usable as CredentialsInternal");
    
            // Cast and check we can call clone() from CredentialsInternal contract
            CredentialsInternal ci = (CredentialsInternal) impl;
            CredentialsInternal cloned = ci.clone();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top