Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 797 for sampla (0.04 sec)

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

        }
      }
    
      public static class ImmutableMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

     * interfere with session-based authentication schemes that require cookies.
     *
     * As persistence, implementations of this interface must also provide storage of cookies. Simple
     * implementations may store cookies in memory; sophisticated ones may use the file system or
     * database to hold accepted cookies. The [cookie storage model][rfc_6265_53] specifies policies for
     * updating and expiring cookies.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

         */
        private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() {
            @Override
            public boolean accept(SmbFile file) throws SmbException {
                // Never inspect the file – simply accept.
                return true;
            }
        };
    
        /**
         * Helper filter that records the last file passed to it. Useful for
         * verifying interaction.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        }
      }
    
      public static class ImmutableMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        private ReserializedCollectionGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public Collection<E> create(Object... elements) {
          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

    /**
     * Benchmarks for various algorithms for computing the mean and/or variance.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class StatsBenchmark {
    
      enum MeanAlgorithm {
        SIMPLE {
          @Override
          double mean(double[] values) {
            double sum = 0.0;
            for (double value : values) {
              sum += value;
            }
            return sum / values.length;
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        }
    
        @Override
        public SampleElements<Entry<V, K>> samples() {
          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (2)
  8. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       * <ul>
       *   <li>The non-private constructor or non-private static factory method with the most parameters
       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        SortedMultiset<E> emptyMultiset = (SortedMultiset<E>) delegate.create();
        Comparator<? super E> comparator = emptyMultiset.comparator();
        SampleElements<E> samples = delegate.samples();
        List<E> samplesList =
            asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
    
        sort(samplesList, comparator);
        E firstInclusive = samplesList.get(0);
        E lastInclusive = samplesList.get(samplesList.size() - 1);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

    /**
     * Tests for SmbBasicFileInfo interface.
     * The tests exercise typical, edge, and null scenarios using a simple
     * implementation and a Mockito mock to verify interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbBasicFileInfoTest {
    
        /**
         * Simple concrete implementation used for testing return values.
         */
        private static class TestInfo implements SmbBasicFileInfo {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top