Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/reflect/Types.java

          ParameterizedType parameterizedType =
              requireNonNull((ParameterizedType) subclass.getGenericSuperclass());
          for (ClassOwnership behavior : ClassOwnership.values()) {
            if (behavior.getOwnerType(LocalClass.class) == parameterizedType.getOwnerType()) {
              return behavior;
            }
          }
          throw new AssertionError();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
       *
       * @deprecated Use {@link #throwIfInstanceOf}, which has the same behavior but rejects {@code
       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // throwIfInstanceOf
      public static <X extends Throwable> void propagateIfInstanceOf(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
       *
       * @deprecated Use {@link #throwIfInstanceOf}, which has the same behavior but rejects {@code
       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // throwIfInstanceOf
      public static <X extends Throwable> void propagateIfInstanceOf(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top