Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 717 for unapply (0.04 sec)

  1. 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. 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. 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)
  4. cmd/batch-job-common-types.go

    //     batch: 100 # upto this many objects per archive
    //     inmemory: true # indicates if the archive must be staged locally or in-memory
    //     compress: true # S2/Snappy compressed archive
    //     smallerThan: 5MiB # create archive for all objects smaller than 5MiB
    //     skipErrs: false # skips any source side read() errors
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                SortedSet.class,
                new Function<SortedSet, SortedSet>() {
                  @Override
                  public SortedSet apply(SortedSet delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Set.class,
                new Function<Set, Set>() {
                  @Override
                  public Set apply(Set delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Set<String> set1 = ImmutableSet.of("one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), Lists.newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullLast_unsupported() {
        int size = getNumElements();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top