Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for supply (1.36 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        @Override
        public O apply(I input) {
          applyCount++;
          return delegate.apply(input);
        }
    
        void verifyCallCount(int expected) {
          assertThat(applyCount).isEqualTo(expected);
        }
      }
    
      private static <X extends Throwable, V> Function<X, V> unexpectedFunction() {
        return new Function<X, V>() {
          @Override
          public V apply(X t) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        @Override
        public O apply(I input) {
          applyCount++;
          return delegate.apply(input);
        }
    
        void verifyCallCount(int expected) {
          assertThat(applyCount).isEqualTo(expected);
        }
      }
    
      private static <X extends Throwable, V> Function<X, V> unexpectedFunction() {
        return new Function<X, V>() {
          @Override
          public V apply(X t) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        KEY {
          @Override
          @CheckForNull
          public Object apply(Entry<?, ?> entry) {
            return entry.getKey();
          }
        },
        VALUE {
          @Override
          @CheckForNull
          public Object apply(Entry<?, ?> entry) {
            return entry.getValue();
          }
        };
      }
    
      @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  4. src/cmd/go/alldocs.go

    //			significantly more expensive.
    //		Sets -cover.
    //	-coverpkg pattern1,pattern2,pattern3
    //		For a build that targets package 'main' (e.g. building a Go
    //		executable), apply coverage analysis to each package matching
    //		the patterns. The default is to apply coverage analysis to
    //		packages in the main Go module. See 'go help packages' for a
    //		description of package patterns.  Sets -cover.
    //	-v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        return compute(key, (k, oldValue) -> (oldValue == null) ? function.apply(key) : oldValue);
      }
    
      @Override
      @CheckForNull
      public V computeIfPresent(
          K key, BiFunction<? super K, ? super V, ? extends @Nullable V> function) {
        checkNotNull(key);
        checkNotNull(function);
        return compute(key, (k, oldValue) -> (oldValue == null) ? null : function.apply(k, oldValue));
      }
    
      @Override
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          return autoDelegate.getAll(keys);
        }
    
        @Override
        public V apply(K key) {
          return autoDelegate.apply(key);
        }
    
        @Override
        public void refresh(K key) {
          autoDelegate.refresh(key);
        }
    
        private Object readResolve() {
          return autoDelegate;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    	StaleReason string `json:",omitempty"` // why is Stale true?
    
    	// Source files
    	// If you add to this list you MUST add to p.AllFiles (below) too.
    	// Otherwise file name security lists will not apply to any new additions.
    	GoFiles           []string `json:",omitempty"` // .go source files (excluding CgoFiles, TestGoFiles, XTestGoFiles)
    	CgoFiles          []string `json:",omitempty"` // .go source files that import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/generic.rules

    // Simplifications that apply to all backend architectures. As an example, this
    // Go source code
    //
    // y := 0 * x
    //
    // can be translated into y := 0 without losing any information, which saves a
    // pointless multiplication instruction. Other .rules files in this directory
    // (for example AMD64.rules) contain rules specific to the architecture in the
    // filename. The rules here apply to every architecture.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/exec.go

    		//
    		// b.WorkDir is always either trimmed or rewritten to
    		// the literal string "/tmp/go-build".
    	} else if !strings.HasPrefix(p.Dir, b.WorkDir) {
    		// -trimpath is not set and no other rewrite rules apply,
    		// so the object file may refer to the absolute directory
    		// containing the package.
    		fmt.Fprintf(h, "dir %s\n", p.Dir)
    	}
    
    	if p.Module != nil {
    		fmt.Fprintf(h, "go %s\n", p.Module.GoVersion)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top