Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for transform (0.16 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            when(sessionDataMock.get(any())).thenReturn(new NoTransformerContext());
    
            Path beforePomFile =
                    Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath();
            Path afterPomFile =
                    Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath();
            Path tempFile = Files.createTempFile("", ".pom");
            Files.delete(tempFile);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
        Set<List<Optional<?>>> cartesianProduct = Sets.cartesianProduct(optionalSets);
        return Iterables.transform(
            cartesianProduct,
            new Function<List<Optional<?>>, List<Object>>() {
              @Override
              public List<Object> apply(List<Optional<?>> objs) {
                return Lists.transform(objs, OPTIONAL_TO_NULLABLE);
              }
            });
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

     * limitations under the License.
     */
    package gradlebuild.docs;
    
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.stream.StreamSource;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                            keys ->
                                path.create(
                                    Lists.transform(
                                        keys, key -> Maps.immutableEntry(key, new Object()))),
                            keys ->
                                path.create(
                                    Lists.transform(
                                        keys, key -> Maps.immutableEntry(new Object(), key))),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transform = Lists.transform(listIteratorOnlyList, SOME_FUNCTION);
        assertTrue(
            Iterables.elementsEqual(transform, Lists.transform(randomAccessList, SOME_FUNCTION)));
      }
    
      private static class ListIterationOnlyList<E> extends ForwardingList<E> {
        private final List<E> realDelegate;
    
        private ListIterationOnlyList(List<E> realDelegate) {
          this.realDelegate = realDelegate;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
                    new ClosingFunction<TestCloseable, String>() {
                      @Override
                      public String apply(DeferredCloser closer, TestCloseable v) throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            output.cancel(false);
            throw new MyRuntimeException();
          }
        }
        Transformer transformer = new Transformer();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = transform(input, transformer, directExecutor());
        transformer.output = output;
    
        input.set("foo");
        assertTrue(output.isCancelled());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

            for (ArtifactTransformation transform : artifactTransformations) {
                transform.transformForResolve(artifact, remoteRepositories, localRepository);
            }
        }
    
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
            for (ArtifactTransformation transform : artifactTransformations) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FauxveridesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Lists.transform;
    import static com.google.common.collect.Sets.difference;
    import static com.google.common.collect.Sets.newHashSet;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
Back to top