Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 2,945 for methods (0.14 seconds)

  1. src/test/java/jcifs/SmbTransportPoolTest.java

        private static final int LOCAL_PORT = 12345;
    
        @BeforeEach
        void setUp() {
            // Common setup for all tests
        }
    
        @Nested
        @DisplayName("GetSmbTransport Methods")
        class GetSmbTransportTests {
    
            @Test
            @DisplayName("Should get transport by name with default parameters")
            void testGetSmbTransportByName() throws UnknownHostException, IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/escape/Escapers.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Escaper} instances.
     *
     * @author Sven Mawson
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class Escapers {
      private Escapers() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test isEditable returns false
            assertFalse(emptyBean.isEditable());
    
            // Test getFessUser returns null
            assertNull(emptyBean.getFessUser());
    
            // Test hasRole and hasGroup methods with null user
            assertFalse(emptyBean.hasRole("admin"));
            assertFalse(emptyBean.hasGroup("developers"));
            assertFalse(emptyBean.hasGroups(new String[] { "developers" }));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/NameServiceClient.java

         * "freto" or an IP address like "192.168.1.15". It cannot be a DNS name;
         * the analygous {@link jcifs.netbios.UniAddress} or {@link java.net.InetAddress}
         * <code>getByName</code> methods can be used for that.
         *
         * @param host
         *            hostname to resolve
         * @return the resolved address
         * @throws java.net.UnknownHostException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * elements than this queue), the element in the array immediately following the end of the queue
       * is set to {@code null}.
       *
       * <p>Like the {@link #toArray()} method, this method acts as bridge between array-based and
       * collection-based APIs. Further, this method allows precise control over the runtime type of the
       * output array, and may, under certain circumstances, be used to save allocation costs.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          computeIsReachabilityFenceMethodUsable();
    
      private static boolean computeIsReachabilityFenceMethodUsable() {
        try {
          Method method = Reference.class.getMethod("reachabilityFence", Object.class);
          method.invoke(null, GcFinalizationTest.class); // to make sure the method is accessible
          return true;
        } catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) {
          /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractIterator.java

       * result in an {@link IllegalStateException}.
       *
       * <p>The implementation of this method may not invoke the {@code hasNext}, {@code next}, or
       * {@link #peek()} methods on this instance; if it does, an {@code IllegalStateException} will
       * result.
       *
       * @return the next element if there was one. If {@code endOfData} was called during execution,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        } else {
          return ~index;
        }
      }
    
      // Pretend the comparator can compare anything. If it turns out it can't
      // compare two elements, it'll throw a CCE. Only methods that are specified to
      // throw CCE should call this.
      @SuppressWarnings("unchecked")
      Comparator<Object> unsafeComparator() {
        return (Comparator<Object>) comparator;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

     * Number} to allow uniform access by tools and utilities that deal with numerically-based classes.
     *
     * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as
     * {@link #compareAndSet} by comparing their bitwise representation using {@link
     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            void testIOExceptionBehavior() {
                String message = "IO operation failed";
                TransportException exception = new TransportException(message);
    
                // Test standard IOException methods
                assertEquals(message, exception.getMessage());
                assertNotNull(exception.getStackTrace());
                assertTrue(exception.getStackTrace().length > 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top