Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 231 for usable (0.03 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: Sat Dec 20 13:44:44 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: Sat Dec 20 09:19:18 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    
                assertTrue(context instanceof NegotiateContextResponse);
            }
    
            @Test
            @DisplayName("Should be usable as both request and response")
            void testDualInterfaceUsage() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    
                NegotiateContextRequest request = context;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertSame(STRING_LENGTH, set.comparator());
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSortedSet once CollectorTester is usable.
      public void testToImmutableSortedSet_java7() {
        // Note that a Collector should generally enforce consistent comparator between builders
        ImmutableSortedSet.Builder<String> zis =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("b", "c", "d");
        assertEquals(4, builder.size);
        Object[] table = builder.hashTable;
        assertNotNull(table);
        assertSame(table, ((RegularImmutableSet<String>) builder.build()).table);
      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderForceCopy() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top