Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1901 - 1910 of 2,098 for Instance (0.25 seconds)

  1. guava-testlib/src/com/google/common/testing/TearDownStack.java

    import java.util.List;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * A {@code TearDownStack} contains a stack of {@link TearDown} instances.
     *
     * <p>This class is thread-safe.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TearDownStack implements TearDownAccepter {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      private static void testRotate(char[] input, int distance, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          char[] input, int distance, int fromIndex, int toIndex, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

        getMultiset()
            .forEachEntry((element, count) -> actual.add(Multisets.immutableEntry(element, count)));
        assertEquals(expected, actual);
      }
    
      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

         * for the specific enum type, such as {@code language()}, {@code projectScope()}, or
         * {@code pathScope()}.
         *
         * @return a non-null collection of enum instances to register
         */
        @Nonnull
        Collection<T> provides();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

          this.forward = original;
          this.backward = original.inverse();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume that the inverse will be the same
       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

    import com.google.common.annotations.VisibleForTesting;
    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    
    /**
     * Factories for {@link UncaughtExceptionHandler} instances.
     *
     * @author Gregory Kick
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class UncaughtExceptionHandlers {
      private UncaughtExceptionHandlers() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 10 21:03:40 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          @Override
          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Verify that parent's toString is called (should contain standard fields)
            assertTrue(result.length() > "TransWaitNamedPipeResponse[]".length());
        }
    
        @Test
        @DisplayName("Multiple instances should be independent")
        void testMultipleInstances() {
            // Arrange
            TransWaitNamedPipeResponse response1 = new TransWaitNamedPipeResponse(mockConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformationManager.java

    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    
    /**
     * Manages multiple ArtifactTransformation instances and applies them in succession.
     */
    @Deprecated
    public interface ArtifactTransformationManager {
        String ROLE = ArtifactTransformationManager.class.getName();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  10. buildscripts/multipart-quorum-test.sh

    	exit 1
    fi
    
    trap 'catch $LINENO' ERR
    
    function purge() {
    	rm -rf "$1"
    }
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio || true
    	pkill -9 minio || true
    	purge "$WORK_DIR"
    	if [ $# -ne 0 ]; then
    		exit $#
    	fi
    }
    
    catch
    
    function start_minio_10drive() {
    	start_port=$1
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 10:51:23 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top