Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 739 for apple (0.03 sec)

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

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ChainingFunction implements AsyncFunction<Integer, String> {
        @Override
        public ListenableFuture<String> apply(Integer input) throws Exception {
          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                SortedMultiset.class,
                new Function<SortedMultiset, SortedMultiset>() {
                  @Override
                  public SortedMultiset apply(SortedMultiset delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ChainingFunction implements AsyncFunction<Integer, String> {
        @Override
        public ListenableFuture<String> apply(Integer input) throws Exception {
          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                                    }
                                ),
                                ClassReader.EXPAND_FRAMES
                            )
    
                            classesDir.resolve(details.outputClassFilename).apply {
                                parentFile.mkdirs()
                                writeBytes(classWriter.toByteArray())
                            }
                        } catch (exception: Exception) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. internal/color/color.go

    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

        }
    
        /**
         * Create projects and files required for plugins applied to the project (including transitively applied plugins).
         * These files are not required to run the task itself, but are required to apply the binary-compatibility plugin.
         */
        protected
        fun setupPluginRequirements() {
            projectDir.resolve("version.txt").writeText("9999999.0") // All released versions should be lower than this
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        val implementation = PackageListGenerator.Implementation(DEFAULT_EXCLUDES_FOR_TEST, DEFAULT_INCLUDES_FOR_TEST)
    
        private
        fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply {
            implementation.collectPackages(files.toList()).dump(false, this::add)
        }
    
        @Test
        fun `generates a curated list of package prefixes from directories`() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top