Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for behaviour (0.16 sec)

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

         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
         */
        @SuppressWarnings("GuardedBy")
        boolean alreadyMarkedQueued = workerRunningState != QUEUING;
        if (alreadyMarkedQueued) {
          return;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

       * least one of the previous mean and the value is non-finite.
       */
      static double calculateNewMeanNonFinite(double previousMean, double value) {
        /*
         * Desired behaviour is to match the results of applying the naive mean formula. In particular,
         * the update formula can subtract infinities in cases where the naive formula would add them.
         *
         * Consequently:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * {@code delegate} has begun to reject execution, the previously submitted tasks may never run,
       * despite not throwing a RejectedExecutionException synchronously with the call to {@code
       * execute}. If this behaviour is problematic, use an Executor with a single thread (e.g. {@link
       * Executors#newSingleThreadExecutor}).
       *
       * @since 23.3 (since 23.1 as {@code sequentialExecutor})
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * <p>Unlike {@link Character#codePointAt(CharSequence, int)} or {@link String#codePointAt(int)}
       * this method will never fail silently when encountering an invalid surrogate pair.
       *
       * <p>The behaviour of this method is as follows:
       *
       * <ol>
       *   <li>If {@code index >= end}, {@link IndexOutOfBoundsException} is thrown.
       *   <li><b>If the character at the specified index is not a surrogate, it is returned.</b>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/SplitterTest.java

          COMMA_SPLITTER.withKeyValueSeparator("=").split("a=1,b,c=2");
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * Testing the behavior in https://github.com/google/guava/issues/1900 - this behavior may want to
       * be changed?
       */
      public void testMapSplitter_extraValueDelimiter() {
        try {
          COMMA_SPLITTER.withKeyValueSeparator("=").split("a=1,c=2=");
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <h3>Handling of non-finite values</h3>
     *
     * <p>If any values in the input are {@link Double#NaN NaN} then all values returned are {@link
     * Double#NaN NaN}. (This is the one occasion when the behaviour is not the same as you'd get from
     * sorting with {@link java.util.Arrays#sort(double[]) Arrays.sort(double[])} or {@link
     * java.util.Collections#sort(java.util.List) Collections.sort(List&lt;Double&gt;)} and selecting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

         *
         * @since 3.9.0
         */
        private static final String MAVEN_REPO_LOCAL_RECORD_REVERSE_TREE = "maven.repo.local.recordReverseTree";
    
        /**
         * User property for selecting dependency manager behaviour regarding transitive dependencies and dependency
         * management entries in their POMs. Maven 3 targeted full backward compatibility with Maven2, hence it ignored
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/SplitterTest.java

          COMMA_SPLITTER.withKeyValueSeparator("=").split("a=1,b,c=2");
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * Testing the behavior in https://github.com/google/guava/issues/1900 - this behavior may want to
       * be changed?
       */
      public void testMapSplitter_extraValueDelimiter() {
        try {
          COMMA_SPLITTER.withKeyValueSeparator("=").split("a=1,c=2=");
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraph.java

       * endpoints are unordered and the graph is directed; it simply returns {@code false}. This is for
       * consistency with the behavior of {@link Collection#contains(Object)} (which does not generally
       * throw if the object cannot be present in the collection), and the desire to have this method's
       * behavior be compatible with {@code edges().contains(endpoints)}.
       *
       * @since 27.1
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                int behavior = random.nextInt(4);
                if (behavior == 0) { // throw an exception
                  exceptionCount.incrementAndGet();
                  throw new RuntimeException("fake exception for test");
                } else if (behavior == 1) { // return null
                  computeNullCount.incrementAndGet();
                  return null;
                } else if (behavior == 2) { // slight delay before returning
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top