Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 2,155 for minval (0.05 sec)

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

     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class ByteSinkTester extends SourceSinkTester<ByteSink, byte[], ByteSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(ByteSinkTester.class);
    
      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/testing-dependencies.md

    app.dependency_overrides = {}
    ```
    
    /// tip | "Dica"
    
    Se você quer sobrepor uma dependência apenas para alguns testes, você pode definir a sobreposição no início do testes (dentro da função de teste) e reiniciá-la ao final (no final da função de teste).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

            sink.assertInvariants(expected.length);
            sink.assertBytes(expected);
          }
        }
      }
    
      private static class Sink extends AbstractStreamingHasher {
        final int chunkSize;
        final int bufferSize;
        final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        int processCalled = 0;
        boolean remainingCalled = false;
    
        Sink(int chunkSize, int bufferSize) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

    /**
     * Tests for {@code UnsignedLong}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class UnsignedLongTest extends TestCase {
      private static final ImmutableSet<Long> TEST_LONGS;
      private static final ImmutableSet<BigInteger> TEST_BIG_INTEGERS;
    
      static {
        ImmutableSet.Builder<Long> testLongsBuilder = ImmutableSet.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/Stats.java

     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Stats implements Serializable {
    
      private final long count;
      private final double mean;
      private final double sumOfSquaresOfDeltas;
      private final double min;
      private final double max;
    
      /**
       * Internal constructor. Users should use {@link #of} or {@link StatsAccumulator#snapshot}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(final String[] elements) {
                    // For this test we trust ArrayList works
                    final List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    		if opts.EncryptFn != nil {
    			fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    		}
    	}
    	delete(fi.Metadata, hash.MinIOMultipartChecksum) // Not needed in final object.
    
    	// Save the final object size and modtime.
    	fi.Size = objectSize
    	fi.ModTime = opts.MTime
    	if opts.MTime.IsZero() {
    		fi.ModTime = UTCNow()
    	}
    
    	// Save successfully calculated md5sum.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

    import java.nio.CharBuffer;
    import java.util.List;
    
    /**
     * Unit test for {@link CharStreams}.
     *
     * @author Chris Nokleberg
     */
    public class CharStreamsTest extends IoTestCase {
    
      private static final String TEXT = "The quick brown fox jumped over the lazy dog.";
    
      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

     * don't.
     */
    public final class FilteredCollectionsTestUtil {
      private static final Predicate<Integer> EVEN =
          new Predicate<Integer>() {
            @Override
            public boolean apply(Integer input) {
              return input % 2 == 0;
            }
          };
    
      private static final Predicate<Integer> PRIME_DIGIT = Predicates.in(ImmutableSet.of(2, 3, 5, 7));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharStreamsTest.java

    import java.nio.CharBuffer;
    import java.util.List;
    
    /**
     * Unit test for {@link CharStreams}.
     *
     * @author Chris Nokleberg
     */
    public class CharStreamsTest extends IoTestCase {
    
      private static final String TEXT = "The quick brown fox jumped over the lazy dog.";
    
      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top