Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 638 for samples (0.11 sec)

  1. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

            readmeTemplates.convention(layout.projectDirectory.dir("src/samples/readme-templates"))
            target.convention(layout.buildDirectory.dir("generated-samples/$buildInitType" + if (modularizationOption.isMulti()) "-with-libraries" else ""))
            type = buildInitType
            modularization = modularizationOption
        }
        samples.publishedSamples.create(sampleName) {
            dsls = setOf(Dsl.GROOVY, Dsl.KOTLIN)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          this.entryComparator = entryComparator(emptyMap.comparator());
    
          // derive values for inclusive filtering from the input samples
          SampleElements<Entry<K, V>> samples = delegate.samples();
          List<Entry<K, V>> samplesList =
              asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
          sort(samplesList, entryComparator);
          this.firstInclusive = samplesList.get(0).getKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

      SortedMap<K, V> create(Object... elements);
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key
       * of {@link #belowSamplesGreater()}.
       */
      Entry<K, V> belowSamplesLesser();
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the
       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        return generator.create(elements.toArray());
      }
    
      @Override
      public Collection<E> getSampleElements(int howMany) {
        SampleElements<E> samples = samples();
        List<E> allSampleElements =
            asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
        return new ArrayList<>(allSampleElements.subList(0, howMany));
      }
    
      @Override
      public CollectionSize getCollectionSize() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

      /**
       * Returns an element less than the {@link #samples()} but greater than {@link
       * #belowSamplesLesser()}.
       */
      E belowSamplesGreater();
    
      /**
       * Returns an element greater than the {@link #samples()} but less than {@link
       * #aboveSamplesGreater()}.
       */
      E aboveSamplesLesser();
    
      /**
       * Returns an element greater than the {@link #samples()} and greater than {@link
       * #aboveSamplesLesser()}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

      /**
       * Returns an element less than the {@link #samples()} but greater than {@link
       * #belowSamplesLesser()}.
       */
      E belowSamplesGreater();
    
      /**
       * Returns an element greater than the {@link #samples()} but less than {@link
       * #aboveSamplesGreater()}.
       */
      E aboveSamplesLesser();
    
      /**
       * Returns an element greater than the {@link #samples()} and greater than {@link
       * #aboveSamplesLesser()}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

        getList().replaceAll(e -> samples.e3());
        expectContents(nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. docs/recipes.md

     [AccessHeadersJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
     [AccessHeadersKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
     [PostStringJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PostString.java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        public SampleElements<Multiset.Entry<E>> samples() {
          SampleElements<E> samples = gen.samples();
          return new SampleElements<>(
              Multisets.immutableEntry(samples.e0(), 3),
              Multisets.immutableEntry(samples.e1(), 4),
              Multisets.immutableEntry(samples.e2(), 1),
              Multisets.immutableEntry(samples.e3(), 5),
              Multisets.immutableEntry(samples.e4(), 2));
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top