Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4591 - 4600 of 5,965 for public (0.08 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

     * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    import java.util.zip.DataFormatException;
    import javax.security.auth.RefreshFailedException;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Microbenchmark for {@link Futures#getChecked}. */
    @NullUnmarked
    public class FuturesGetCheckedBenchmark {
      private enum Validator {
        NON_CACHING_WITH_CONSTRUCTOR_CHECK(nonCachingWithConstructorCheckValidator()),
        NON_CACHING_WITHOUT_CONSTRUCTOR_CHECK(nonCachingWithoutConstructorCheckValidator()),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. cmd/object-lambda-handlers_test.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        @Inject
        protected MavenRepositorySystem mavenRepositorySystem;
    
        @Inject
        protected PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. cmd/dynamic-timeouts_test.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

    package org.codelibs.fess.crawler;
    
    import java.util.List;
    import java.util.regex.Pattern;
    
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessCrawlerThreadTest extends UnitFessTestCase {
    
        public void test_getClientRuleList() {
            FessCrawlerThread crawlerThread = new FessCrawlerThread();
    
            List<Pair<String, Pattern>> list = crawlerThread.getClientRuleList(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java

     * AbstractFutureFallbackAtomicHelperTest}. The advantage to this test is that it can run under
     * Android.
     */
    @NullUnmarked
    public class AbstractFutureDefaultAtomicHelperTest extends TestCase {
      public void testUsingExpectedAtomicHelper() throws Exception {
        if (isAndroid()) {
          assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper");
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 13:08:45 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

     * iterator to an {@code UnmodifiableIterator} using {@link Iterators#unmodifiableIterator}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public abstract class UnmodifiableIterator<E extends @Nullable Object> implements Iterator<E> {
      /** Constructor for use by subclasses. */
      protected UnmodifiableIterator() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MultiIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final List<String> list1 = asList("Foo", "Bar");
            final List<String> list2 = asList("Baz");
    
            @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test dataCount property - using public method
            response.setDataCount(100);
            // Note: getDataCount() is protected, so we can't test it directly
    
            // Test subCommand property
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.getSubCommand());
    
            // Test status property - getStatus() is public
            assertEquals(0, response.getStatus());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top