Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 2,267 for Methods (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    import java.io.IOException;
    import java.io.StringReader;
    import java.io.Writer;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class MathBenchmarking {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

        @Mock
        private NdrObject mockNdrObject;
    
        private MsrpcQueryInformationPolicy queryPolicy;
    
        @BeforeEach
        void setUp() {
            // Setup is done through individual test methods
        }
    
        @Test
        void constructor_shouldInitializeWithValidParameters() {
            // Arrange
            short level = 3;
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertTrue(result.contains("003"));
        }
    
        @Test
        @DisplayName("Test with null buffer in read methods")
        void testReadMethodsWithNullBuffer() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // All read methods should handle null buffer gracefully by returning 0
            assertEquals(0, trans2QueryFSInfo.readSetupWireFormat(null, 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http;
    
    import java.util.Date;
    
    import org.apache.http.client.methods.HttpUriRequest;
    import org.codelibs.fess.crawler.CrawlerContext;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.entity.ResponseData;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * java.util.concurrent.atomic} package specification for description of the properties of atomic
     * variables.
     *
     * <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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Platform.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.ref.WeakReference;
    import java.util.Locale;
    import java.util.regex.Pattern;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public Strings() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super("b", "a", "c", "d", "e");
        }
    
        // for testing SortedSet and SortedMap methods
        public static final String BEFORE_FIRST = "\0";
        public static final String BEFORE_FIRST_2 = "\0\0";
        public static final String MIN_ELEMENT = "a";
        public static final String AFTER_LAST = "z";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

            builder.put(i, elements[i]);
          }
          return builder.build().values().asList();
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public SortedMapGenerators() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            // Assert cause propagation
            assertSame(mockCause, ex.getCause(), "Cause should be exactly the provided instance");
    
            // Access common Throwable methods to exercise paths without touching the cause
            assertNotNull(ex.toString(), "toString should be non-null");
            ex.getMessage(); // don't assert content to avoid implementation assumptions
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top