Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 567 for apply (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

      // final fields.
      //
      // For simplicity the rest of this description will discuss Futures.catching since it is the
      // simplest instance, though very similar descriptions apply to many other classes in this file.
      //
      // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
      // 'inputFuture'. That field is non-final and non-volatile. There are 2 places where the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      // Keep references to loggers to prevent their configuration from being GC'd.
      private val configuredLoggers = CopyOnWriteArraySet<Logger>()
    
      private val knownLoggers =
        LinkedHashMap<String, String>()
          .apply {
            val packageName = OkHttpClient::class.java.`package`?.name
    
            if (packageName != null) {
              this[packageName] = "OkHttp"
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

       * ordering that spends a lot of cpu.
       */
      static class ExpensiveComputation implements Function<Integer, BigInteger> {
        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            }
    
            return result;
        }
    
        @Override
        public int available() throws IOException {
            if (LogStream.level >= 3) {
                SmbFile.log.println("Named Pipe available() does not apply to TRANSACT Named Pipes");
            }
            return 0;
        }
    
        int receive(final byte[] b, int off, final int len) {
            int i;
    
            if (len > pipe_buf.length - used) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
         * and its descendant will be checked.
         *
         * @param filter the filter to apply
         * @return a new filtered graph
         */
        @Nonnull
        Node filter(@Nonnull Predicate<Node> filter);
    
        /**
         * Returns a detailed string representation of this dependency node.
         * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

            if (data == null) {
                if (serializer == null || rawData == null) {
                    throw new CrawlerSystemException("serializer or rawData is null");
                }
                data = serializer.apply(rawData);
            }
            return data;
        }
    
        /**
         * Set the data.
         * @param data the byte array data to set
         */
        public void setData(final byte[] data) {
            this.data = data;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      // intentionally testing apply() and test() methods
      @SuppressWarnings({
        "deprecation",
        "InlineMeInliner",
      })
      private void reallyTestOneCharMatch(CharMatcher matcher, String s) {
        assertTrue(matcher.matches(s.charAt(0)));
        assertTrue(matcher.apply(s.charAt(0)));
        assertTrue(matcher.test(s.charAt(0)));
        assertEquals(0, matcher.indexIn(s));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

      rpm2cpio "devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" |cpio -idmv
      tar -xvf "gcc-9.3.1-20200408.tar.xz" --strip 1
      ;;
    esac
    
    # Apply the devtoolset patches to gcc.
    /rpm-patch.sh "gcc.spec"
    
    ./contrib/download_prerequisites
    
    mkdir -p "${TARGET}-build"
    cd "${TARGET}-build"
    
    "${TARGET}-src/configure" \
          --prefix=/"${TARGET}/usr" \
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top